Skip to content

A free open source IT asset/license management system

Upgrade bs tables

snipe68083cbe9bb9
diff --git a/package-lock.json b/package-lock.json
index 49d3937178..50b05552ef 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,7 +14,7 @@
"bootstrap": "^3.4.1",
"bootstrap-colorpicker": "^2.5.3",
"bootstrap-less": "^3.3.8",
- "bootstrap-table": "1.24.2",
+ "bootstrap-table": "1.27.3",
"canvas-confetti": "^1.9.3",
"chart.js": "^2.9.4",
"clipboard": "^2.0.11",
@@ -3056,11 +3056,12 @@
"license": "MIT"
},
"node_modules/bootstrap-table": {
- "version": "1.24.2",
- "resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.24.2.tgz",
- "integrity": "sha512-h/09vDvypSssCdL9BlLg+o5UWBR5+0DTGZBJkeathz3h/DSbH1A+vunZcatYDFTVsLJiKYiT7o6AjGG8fW+nzA==",
+ "version": "1.27.3",
+ "resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.27.3.tgz",
+ "integrity": "sha512-XB+8E5g72tdd18qcoV00pnz5PDl/w+sAaDrliJy11YZrJp3nj3Uw1KogblHYMsbeQW+FhAMJOu9HG8l0M8LyQA==",
+ "license": "MIT",
"peerDependencies": {
- "jquery": "3"
+ "jquery": "3 || 4"
}
},
"node_modules/brace-expansion": {
diff --git a/package.json b/package.json
index 718f3f319b..b859e740a0 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"bootstrap": "^3.4.1",
"bootstrap-colorpicker": "^2.5.3",
"bootstrap-less": "^3.3.8",
- "bootstrap-table": "1.24.2",
+ "bootstrap-table": "1.27.3",
"canvas-confetti": "^1.9.3",
"chart.js": "^2.9.4",
"clipboard": "^2.0.11",
diff --git a/public/css/dist/all.css b/public/css/dist/all.css
index bbb34a316c..c235097dc4 100644
--- a/public/css/dist/all.css
+++ b/public/css/dist/all.css
@@ -20874,11 +20874,23 @@ hr {
@charset "UTF-8";
/**
* @author zhixin wen <[email protected]>
- * version: 1.24.2
+ * version: 1.27.3
* https://github.com/wenzhixin/bootstrap-table/
*/
/* stylelint-disable annotation-no-unknown, max-line-length */
/* stylelint-enable annotation-no-unknown, max-line-length */
+html {
+ --bt-table-border-color: #dee2e6;
+ --bt-table-loading-bg: #fff;
+ --bt-table-loading-color: #212529;
+}
+
+html[data-bs-theme=dark] {
+ --bt-table-border-color: #32383e;
+ --bt-table-loading-bg: #212529;
+ --bt-table-loading-color: #fff;
+}
+
.bootstrap-table .fixed-table-toolbar::after {
content: "";
display: block;
@@ -21025,18 +21037,18 @@ hr {
padding: 0.25rem;
}
.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
- border-bottom: 1px solid #dee2e6;
+ border-bottom: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height.has-card-view {
- border-top: 1px solid #dee2e6;
- border-bottom: 1px solid #dee2e6;
+ border-top: 1px solid var(--bt-table-border-color);
+ border-bottom: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
- border-left: 1px solid #dee2e6;
- border-right: 1px solid #dee2e6;
+ border-left: 1px solid var(--bt-table-border-color);
+ border-right: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height .table thead th {
- border-bottom: 1px solid #dee2e6;
+ border-bottom: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
border-bottom: 1px solid #32383e;
@@ -21050,7 +21062,7 @@ hr {
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
align-items: center;
- background: #fff;
+ background: var(--bt-table-loading-bg);
display: flex;
justify-content: center;
position: absolute;
@@ -21067,7 +21079,7 @@ hr {
opacity: 1;
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
- align-items: baseline;
+ align-items: center;
display: flex;
justify-content: center;
}
@@ -21086,13 +21098,13 @@ hr {
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-name: loading;
- background: #212529;
+ background: var(--bt-table-loading-color);
border-radius: 50%;
display: block;
- height: 5px;
- margin: 0 4px;
+ height: 0.3em;
+ margin: 0 0.2em;
opacity: 0;
- width: 5px;
+ width: 0.3em;
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
animation-delay: 0.3s;
@@ -21101,12 +21113,12 @@ hr {
animation-delay: 0.6s;
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
- background: #212529;
+ background: var(--bt-table-loading-color);
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
- background: #fff;
+ background: var(--bt-table-loading-bg);
}
.bootstrap-table .fixed-table-container .fixed-table-footer {
overflow: hidden;
@@ -21198,6 +21210,14 @@ div.fixed-table-scroll-outer {
opacity: 0;
}
}
+@media (prefers-reduced-motion: reduce) {
+ .bootstrap-table .fixed-table-loading .animation-dot,
+ .bootstrap-table .fixed-table-loading .animation-wrap::after,
+ .bootstrap-table .fixed-table-loading .animation-wrap::before {
+ animation: none !important;
+ opacity: 1 !important;
+ }
+}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
diff --git a/public/css/dist/bootstrap-table.css b/public/css/dist/bootstrap-table.css
index ee9e0bed30..9833eba4bf 100644
--- a/public/css/dist/bootstrap-table.css
+++ b/public/css/dist/bootstrap-table.css
@@ -1,11 +1,23 @@
@charset "UTF-8";
/**
* @author zhixin wen <[email protected]>
- * version: 1.24.2
+ * version: 1.27.3
* https://github.com/wenzhixin/bootstrap-table/
*/
/* stylelint-disable annotation-no-unknown, max-line-length */
/* stylelint-enable annotation-no-unknown, max-line-length */
+html {
+ --bt-table-border-color: #dee2e6;
+ --bt-table-loading-bg: #fff;
+ --bt-table-loading-color: #212529;
+}
+
+html[data-bs-theme=dark] {
+ --bt-table-border-color: #32383e;
+ --bt-table-loading-bg: #212529;
+ --bt-table-loading-color: #fff;
+}
+
.bootstrap-table .fixed-table-toolbar::after {
content: "";
display: block;
@@ -152,18 +164,18 @@
padding: 0.25rem;
}
.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
- border-bottom: 1px solid #dee2e6;
+ border-bottom: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height.has-card-view {
- border-top: 1px solid #dee2e6;
- border-bottom: 1px solid #dee2e6;
+ border-top: 1px solid var(--bt-table-border-color);
+ border-bottom: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
- border-left: 1px solid #dee2e6;
- border-right: 1px solid #dee2e6;
+ border-left: 1px solid var(--bt-table-border-color);
+ border-right: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height .table thead th {
- border-bottom: 1px solid #dee2e6;
+ border-bottom: 1px solid var(--bt-table-border-color);
}
.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
border-bottom: 1px solid #32383e;
@@ -177,7 +189,7 @@
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
align-items: center;
- background: #fff;
+ background: var(--bt-table-loading-bg);
display: flex;
justify-content: center;
position: absolute;
@@ -194,7 +206,7 @@
opacity: 1;
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
- align-items: baseline;
+ align-items: center;
display: flex;
justify-content: center;
}
@@ -213,13 +225,13 @@
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-name: loading;
- background: #212529;
+ background: var(--bt-table-loading-color);
border-radius: 50%;
display: block;
- height: 5px;
- margin: 0 4px;
+ height: 0.3em;
+ margin: 0 0.2em;
opacity: 0;
- width: 5px;
+ width: 0.3em;
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
animation-delay: 0.3s;
@@ -228,12 +240,12 @@
animation-delay: 0.6s;
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
- background: #212529;
+ background: var(--bt-table-loading-color);
}
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
- background: #fff;
+ background: var(--bt-table-loading-bg);
}
.bootstrap-table .fixed-table-container .fixed-table-footer {
overflow: hidden;
@@ -325,6 +337,14 @@ div.fixed-table-scroll-outer {
opacity: 0;
}
}
+@media (prefers-reduced-motion: reduce) {
+ .bootstrap-table .fixed-table-loading .animation-dot,
+ .bootstrap-table .fixed-table-loading .animation-wrap::after,
+ .bootstrap-table .fixed-table-loading .animation-wrap::before {
+ animation: none !important;
+ opacity: 1 !important;
+ }
+}
/**
* @author vincent loh <[email protected]>
@@ -372,6 +392,12 @@ div.fixed-table-scroll-outer {
overflow-x: hidden !important;
}
+.fixed-columns .table-hover .hover-row,
+.fixed-columns-right .table-hover .hover-row,
+.fixed-table-container > .fixed-table-body .table-hover .hover-row {
+ background-color: var(--bt-table-hover-bg, var(--bs-table-hover-bg, rgba(0, 0, 0, 0.075)));
+}
+
/*
* dragtable
*
diff --git a/public/js/dist/bootstrap-table-en-US.min.js b/public/js/dist/bootstrap-table-en-US.min.js
index e51e1d599c..87170664fb 100644
--- a/public/js/dist/bootstrap-table-en-US.min.js
+++ b/public/js/dist/bootstrap-table-en-US.min.js
@@ -1,10 +1,10 @@
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
- * @version v1.24.2
+ * @version v1.27.3
* @homepage https://bootstrap-table.com
* @author wenzhixin <[email protected]> (http://wenzhixin.net.cn/)
* @license MIT
*/
-!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((r="undefined"!=typeof globalThis?globalThis:r||self).jQuery)}(this,(function(r){"use strict";var n,t,e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o={};function u(){if(t)return n;t=1;var r=function(r){return r&&r.Math===Math&&r};return n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var i,f,c,a,l,s,v,p,g={};function m(){return f?i:(f=1,i=function(r){try{return!!r()}catch(r){return!0}})}function y(){if(a)return c;a=1;var r=m();return c=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function b(){if(s)return l;s=1;var r=m();return l=!r((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))}function h(){if(p)return v;p=1;var r=b(),n=Function.prototype.call;return v=r?n.bind(n):function(){return n.apply(n,arguments)},v}var d,w,S,O,j,P,T,C,A,E,x,F,R,M,D,L,k,I,N,z,H,B,G,U,_,q,V,W,$,J,K,Q,X,Y,Z,rr,nr,tr,er,or,ur,ir={};function fr(){if(d)return ir;d=1;var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,t=n&&!r.call({1:2},1);return ir.f=t?function(r){var t=n(this,r);return!!t&&t.enumerable}:r,ir}function cr(){return S?w:(S=1,w=function(r,n){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:n}})}function ar(){if(j)return O;j=1;var r=b(),n=Function.prototype,t=n.call,e=r&&n.bind.bind(t,t);return O=r?e:function(r){return function(){return t.apply(r,arguments)}},O}function lr(){if(T)return P;T=1;var r=ar(),n=r({}.toString),t=r("".slice);return P=function(r){return t(n(r),8,-1)}}function sr(){if(A)return C;A=1;var r=ar(),n=m(),t=lr(),e=Object,o=r("".split);return C=n((function(){return!e("z").propertyIsEnumerable(0)}))?function(r){return"String"===t(r)?o(r,""):e(r)}:e}function vr(){return x?E:(x=1,E=function(r){return null==r})}function pr(){if(R)return F;R=1;var r=vr(),n=TypeError;return F=function(t){if(r(t))throw new n("Can't call method on "+t);return t}}function gr(){if(D)return M;D=1;var r=sr(),n=pr();return M=function(t){return r(n(t))}}function mr(){if(k)return L;k=1;var r="object"==typeof document&&document.all;return L=void 0===r&&void 0!==r?function(n){return"function"==typeof n||n===r}:function(r){return"function"==typeof r}}function yr(){if(N)return I;N=1;var r=mr();return I=function(n){return"object"==typeof n?null!==n:r(n)}}function br(){if(H)return z;H=1;var r=u(),n=mr();return z=function(t,e){return arguments.length<2?(o=r[t],n(o)?o:void 0):r[t]&&r[t][e];var o},z}function hr(){if(V)return q;V=1;var r,n,t=u(),e=function(){if(_)return U;_=1;var r=u().navigator,n=r&&r.userAgent;return U=n?String(n):""}(),o=t.process,i=t.Deno,f=o&&o.versions||i&&i.version,c=f&&f.v8;return c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(n=+r[1]),q=n}function dr(){if($)return W;$=1;var r=hr(),n=m(),t=u().String;return W=!!Object.getOwnPropertySymbols&&!n((function(){var n=Symbol("symbol detection");return!t(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&r&&r<41}))}function wr(){if(K)return J;K=1;var r=dr();return J=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Sr(){if(X)return Q;X=1;var r=br(),n=mr(),t=function(){if(G)return B;G=1;var r=ar();return B=r({}.isPrototypeOf)}(),e=wr(),o=Object;return Q=e?function(r){return"symbol"==typeof r}:function(e){var u=r("Symbol");return n(u)&&t(u.prototype,o(e))}}function Or(){if(Z)return Y;Z=1;var r=String;return Y=function(n){try{return r(n)}catch(r){return"Object"}}}function jr(){if(nr)return rr;nr=1;var r=mr(),n=Or(),t=TypeError;return rr=function(e){if(r(e))return e;throw new t(n(e)+" is not a function")}}function Pr(){if(er)return tr;er=1;var r=jr(),n=vr();return tr=function(t,e){var o=t[e];return n(o)?void 0:r(o)}}function Tr(){if(ur)return or;ur=1;var r=h(),n=mr(),t=yr(),e=TypeError;return or=function(o,u){var i,f;if("string"===u&&n(i=o.toString)&&!t(f=r(i,o)))return f;if(n(i=o.valueOf)&&!t(f=r(i,o)))return f;if("string"!==u&&n(i=o.toString)&&!t(f=r(i,o)))return f;throw new e("Can't convert object to primitive value")}}var Cr,Ar,Er,xr,Fr,Rr,Mr,Dr,Lr,kr,Ir,Nr,zr,Hr,Br,Gr,Ur,_r,qr,Vr,Wr,$r,Jr,Kr,Qr={exports:{}};function Xr(){if(xr)return Er;xr=1;var r=u(),n=Object.defineProperty;return Er=function(t,e){try{n(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}}function Yr(){if(Fr)return Qr.exports;Fr=1;var r=Ar?Cr:(Ar=1,Cr=!1),n=u(),t=Xr(),e="__core-js_shared__",o=Qr.exports=n[e]||t(e,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Qr.exports}function Zr(){if(Mr)return Rr;Mr=1;var r=Yr();return Rr=function(n,t){return r[n]||(r[n]=t||{})}}function rn(){if(Lr)return Dr;Lr=1;var r=pr(),n=Object;return Dr=function(t){return n(r(t))}}function nn(){if(Ir)return kr;Ir=1;var r=ar(),n=rn(),t=r({}.hasOwnProperty);return kr=Object.hasOwn||function(r,e){return t(n(r),e)}}function tn(){if(zr)return Nr;zr=1;var r=ar(),n=0,t=Math.random(),e=r(1.1.toString);return Nr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++n+t,36)}}function en(){if(Br)return Hr;Br=1;var r=u(),n=Zr(),t=nn(),e=tn(),o=dr(),i=wr(),f=r.Symbol,c=n("wks"),a=i?f.for||f:f&&f.withoutSetter||e;return Hr=function(r){return t(c,r)||(c[r]=o&&t(f,r)?f[r]:a("Symbol."+r)),c[r]}}function on(){if(Ur)return Gr;Ur=1;var r=h(),n=yr(),t=Sr(),e=Pr(),o=Tr(),u=en(),i=TypeError,f=u("toPrimitive");return Gr=function(u,c){if(!n(u)||t(u))return u;var a,l=e(u,f);if(l){if(void 0===c&&(c="default"),a=r(l,u,c),!n(a)||t(a))return a;throw new i("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(u,c)}}function un(){if(qr)return _r;qr=1;var r=on(),n=Sr();return _r=function(t){var e=r(t,"string");return n(e)?e:e+""}}function fn(){if(Jr)return $r;Jr=1;var r=y(),n=m(),t=function(){if(Wr)return Vr;Wr=1;var r=u(),n=yr(),t=r.document,e=n(t)&&n(t.createElement);return Vr=function(r){return e?t.createElement(r):{}}}();return $r=!r&&!n((function(){return 7!==Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a}))}function cn(){if(Kr)return g;Kr=1;var r=y(),n=h(),t=fr(),e=cr(),o=gr(),u=un(),i=nn(),f=fn(),c=Object.getOwnPropertyDescriptor;return g.f=r?c:function(r,a){if(r=o(r),a=u(a),f)try{return c(r,a)}catch(r){}if(i(r,a))return e(!n(t.f,r,a),r[a])},g}var an,ln,sn,vn,pn,gn,mn,yn={};function bn(){if(vn)return sn;vn=1;var r=yr(),n=String,t=TypeError;return sn=function(e){if(r(e))return e;throw new t(n(e)+" is not an object")}}function hn(){if(pn)return yn;pn=1;var r=y(),n=fn(),t=function(){if(ln)return an;ln=1;var r=y(),n=m();return an=r&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}(),e=bn(),o=un(),u=TypeError,i=Object.defineProperty,f=Object.getOwnPropertyDescriptor,c="enumerable",a="configurable",l="writable";return yn.f=r?t?function(r,n,t){if(e(r),n=o(n),e(t),"function"==typeof r&&"prototype"===n&&"value"in t&&l in t&&!t[l]){var u=f(r,n);u&&u[l]&&(r[n]=t.value,t={configurable:a in t?t[a]:u[a],enumerable:c in t?t[c]:u[c],writable:!1})}return i(r,n,t)}:i:function(r,t,f){if(e(r),t=o(t),e(f),n)try{return i(r,t,f)}catch(r){}if("get"in f||"set"in f)throw new u("Accessors not supported");return"value"in f&&(r[t]=f.value),r},yn}function dn(){if(mn)return gn;mn=1;var r=y(),n=hn(),t=cr();return gn=r?function(r,e,o){return n.f(r,e,t(1,o))}:function(r,n,t){return r[n]=t,r}}var wn,Sn,On,jn,Pn,Tn,Cn,An,En,xn,Fn,Rn,Mn,Dn,Ln,kn={exports:{}};function In(){if(jn)return On;jn=1;var r=ar(),n=mr(),t=Yr(),e=r(Function.toString);return n(t.inspectSource)||(t.inspectSource=function(r){return e(r)}),On=t.inspectSource}function Nn(){if(An)return Cn;An=1;var r=Zr(),n=tn(),t=r("keys");return Cn=function(r){return t[r]||(t[r]=n(r))}}function zn(){return xn?En:(xn=1,En={})}function Hn(){if(Rn)return Fn;Rn=1;var r,n,t,e=function(){if(Tn)return Pn;Tn=1;var r=u(),n=mr(),t=r.WeakMap;return Pn=n(t)&&/native code/.test(String(t))}(),o=u(),i=yr(),f=dn(),c=nn(),a=Yr(),l=Nn(),s=zn(),v="Object already initialized",p=o.TypeError,g=o.WeakMap;if(e||a.state){var m=a.state||(a.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,r=function(r,n){if(m.has(r))throw new p(v);return n.facade=r,m.set(r,n),n},n=function(r){return m.get(r)||{}},t=function(r){return m.has(r)}}else{var y=l("state");s[y]=!0,r=function(r,n){if(c(r,y))throw new p(v);return n.facade=r,f(r,y,n),n},n=function(r){return c(r,y)?r[y]:{}},t=function(r){return c(r,y)}}return Fn={set:r,get:n,has:t,enforce:function(e){return t(e)?n(e):r(e,{})},getterFor:function(r){return function(t){var e;if(!i(t)||(e=n(t)).type!==r)throw new p("Incompatible receiver, "+r+" required");return e}}}}function Bn(){if(Mn)return kn.exports;Mn=1;var r=ar(),n=m(),t=mr(),e=nn(),o=y(),u=function(){if(Sn)return wn;Sn=1;var r=y(),n=nn(),t=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=n(t,"name"),u=o&&"something"===function(){}.name,i=o&&(!r||r&&e(t,"name").configurable);return wn={EXISTS:o,PROPER:u,CONFIGURABLE:i}}().CONFIGURABLE,i=In(),f=Hn(),c=f.enforce,a=f.get,l=String,s=Object.defineProperty,v=r("".slice),p=r("".replace),g=r([].join),b=o&&!n((function(){return 8!==s((function(){}),"length",{value:8}).length})),h=String(String).split("String"),d=kn.exports=function(r,n,t){"Symbol("===v(l(n),0,7)&&(n="["+p(l(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!e(r,"name")||u&&r.name!==n)&&(o?s(r,"name",{value:n,configurable:!0}):r.name=n),b&&t&&e(t,"arity")&&r.length!==t.arity&&s(r,"length",{value:t.arity});try{t&&e(t,"constructor")&&t.constructor?o&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var i=c(r);return e(i,"source")||(i.source=g(h,"string"==typeof n?n:"")),r};return Function.prototype.toString=d((function(){return t(this)&&a(this).source||i(this)}),"toString"),kn.exports}function Gn(){if(Ln)return Dn;Ln=1;var r=mr(),n=hn(),t=Bn(),e=Xr();return Dn=function(o,u,i,f){f||(f={});var c=f.enumerable,a=void 0!==f.name?f.name:u;if(r(i)&&t(i,a,f),f.global)c?o[u]=i:e(u,i);else{try{f.unsafe?o[u]&&(c=!0):delete o[u]}catch(r){}c?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return o}}var Un,_n,qn,Vn,Wn,$n,Jn,Kn,Qn,Xn,Yn,Zn,rt,nt,tt,et,ot,ut={};function it(){if(Vn)return qn;Vn=1;var r=function(){if(_n)return Un;_n=1;var r=Math.ceil,n=Math.floor;return Un=Math.trunc||function(t){var e=+t;return(e>0?n:r)(e)}}();return qn=function(n){var t=+n;return t!=t||0===t?0:r(t)}}function ft(){if($n)return Wn;$n=1;var r=it(),n=Math.max,t=Math.min;return Wn=function(e,o){var u=r(e);return u<0?n(u+o,0):t(u,o)}}function ct(){if(Kn)return Jn;Kn=1;var r=it(),n=Math.min;return Jn=function(t){var e=r(t);return e>0?n(e,9007199254740991):0}}function at(){if(Xn)return Qn;Xn=1;var r=ct();return Qn=function(n){return r(n.length)}}function lt(){if(nt)return rt;nt=1;var r=ar(),n=nn(),t=gr(),e=function(){if(Zn)return Yn;Zn=1;var r=gr(),n=ft(),t=at(),e=function(e){return function(o,u,i){var f=r(o),c=t(f);if(0===c)return!e&&-1;var a,l=n(i,c);if(e&&u!=u){for(;c>l;)if((a=f[l++])!=a)return!0}else for(;c>l;l++)if((e||l in f)&&f[l]===u)return e||l||0;return!e&&-1}};return Yn={includes:e(!0),indexOf:e(!1)}}().indexOf,o=zn(),u=r([].push);return rt=function(r,i){var f,c=t(r),a=0,l=[];for(f in c)!n(o,f)&&n(c,f)&&u(l,f);for(;i.length>a;)n(c,f=i[a++])&&(~e(l,f)||u(l,f));return l}}function st(){return et?tt:(et=1,tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var vt,pt,gt,mt,yt,bt,ht,dt,wt,St,Ot,jt,Pt,Tt,Ct,At,Et,xt,Ft,Rt,Mt,Dt,Lt,kt,It,Nt,zt,Ht,Bt={};function Gt(){return vt||(vt=1,Bt.f=Object.getOwnPropertySymbols),Bt}function Ut(){if(gt)return pt;gt=1;var r=br(),n=ar(),t=function(){if(ot)return ut;ot=1;var r=lt(),n=st().concat("length","prototype");return ut.f=Object.getOwnPropertyNames||function(t){return r(t,n)},ut}(),e=Gt(),o=bn(),u=n([].concat);return pt=r("Reflect","ownKeys")||function(r){var n=t.f(o(r)),i=e.f;return i?u(n,i(r)):n}}function _t(){if(yt)return mt;yt=1;var r=nn(),n=Ut(),t=cn(),e=hn();return mt=function(o,u,i){for(var f=n(u),c=e.f,a=t.f,l=0;l<f.length;l++){var s=f[l];r(o,s)||i&&r(i,s)||c(o,s,a(u,s))}}}function qt(){if(wt)return dt;wt=1;var r=u(),n=cn().f,t=dn(),e=Gn(),o=Xr(),i=_t(),f=function(){if(ht)return bt;ht=1;var r=m(),n=mr(),t=/#|\.prototype\./,e=function(t,e){var c=u[o(t)];return c===f||c!==i&&(n(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(t,".").toLowerCase()},u=e.data={},i=e.NATIVE="N",f=e.POLYFILL="P";return bt=e}();return dt=function(u,c){var a,l,s,v,p,g=u.target,m=u.global,y=u.stat;if(a=m?r:y?r[g]||o(g,{}):r[g]&&r[g].prototype)for(l in c){if(v=c[l],s=u.dontCallGetSet?(p=n(a,l))&&p.value:a[l],!f(m?l:g+(y?".":"#")+l,u.forced)&&void 0!==s){if(typeof v==typeof s)continue;i(v,s)}(u.sham||s&&s.sham)&&t(v,"sham",!0),e(a,l,v,u)}}}function Vt(){if(Ot)return St;Ot=1;var r=lr();return St=Array.isArray||function(n){return"Array"===r(n)}}function Wt(){if(Pt)return jt;Pt=1;var r=TypeError;return jt=function(n){if(n>9007199254740991)throw r("Maximum allowed index exceeded");return n}}function $t(){if(Ct)return Tt;Ct=1;var r=y(),n=hn(),t=cr();return Tt=function(e,o,u){r?n.f(e,o,t(0,u)):e[o]=u}}function Jt(){if(Ft)return xt;Ft=1;var r=function(){if(Et)return At;Et=1;var r={};return r[en()("toStringTag")]="z",At="[object z]"===String(r)}(),n=mr(),t=lr(),e=en()("toStringTag"),o=Object,u="Arguments"===t(function(){return arguments}());return xt=r?t:function(r){var i,f,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,n){try{return r[n]}catch(r){}}(i=o(r),e))?f:u?t(i):"Object"===(c=t(i))&&n(i.callee)?"Arguments":c}}function Kt(){if(Mt)return Rt;Mt=1;var r=ar(),n=m(),t=mr(),e=Jt(),o=br(),u=In(),i=function(){},f=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,a=r(c.exec),l=!c.test(i),s=function(r){if(!t(r))return!1;try{return f(i,[],r),!0}catch(r){return!1}},v=function(r){if(!t(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!a(c,u(r))}catch(r){return!0}};return v.sham=!0,Rt=!f||n((function(){var r;return s(s.call)||!s(Object)||!s((function(){r=!0}))||r}))?v:s}function Qt(){if(Lt)return Dt;Lt=1;var r=Vt(),n=Kt(),t=yr(),e=en()("species"),o=Array;return Dt=function(u){var i;return r(u)&&(i=u.constructor,(n(i)&&(i===o||r(i.prototype))||t(i)&&null===(i=i[e]))&&(i=void 0)),void 0===i?o:i}}function Xt(){if(It)return kt;It=1;var r=Qt();return kt=function(n,t){return new(r(n))(0===t?0:t)}}function Yt(){if(zt)return Nt;zt=1;var r=m(),n=en(),t=hr(),e=n("species");return Nt=function(n){return t>=51||!r((function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[n](Boolean).foo}))}}!function(){if(Ht)return o;Ht=1;var r=qt(),n=m(),t=Vt(),e=yr(),u=rn(),i=at(),f=Wt(),c=$t(),a=Xt(),l=Yt(),s=en(),v=hr(),p=s("isConcatSpreadable"),g=v>=51||!n((function(){var r=[];return r[p]=!1,r.concat()[0]!==r})),y=function(r){if(!e(r))return!1;var n=r[p];return void 0!==n?!!n:t(r)};r({target:"Array",proto:!0,arity:1,forced:!g||!l("concat")},{concat:function(r){var n,t,e,o,l,s=u(this),v=a(s,0),p=0;for(n=-1,e=arguments.length;n<e;n++)if(y(l=-1===n?s:arguments[n]))for(o=i(l),f(p+o),t=0;t<o;t++,p++)t in l&&c(v,p,l[t]);else f(p+1),c(v,p++,l);return v.length=p,v}})}();var Zt,re,ne,te,ee,oe={};function ue(){if(re)return Zt;re=1;var r=lt(),n=st();return Zt=Object.keys||function(t){return r(t,n)}}!function(){if(ee)return oe;ee=1;var r=qt(),n=function(){if(te)return ne;te=1;var r=y(),n=ar(),t=h(),e=m(),o=ue(),u=Gt(),i=fr(),f=rn(),c=sr(),a=Object.assign,l=Object.defineProperty,s=n([].concat);return ne=!a||e((function(){if(r&&1!==a({b:1},a(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var n={},t={},e=Symbol("assign detection"),u="abcdefghijklmnopqrst";return n[e]=7,u.split("").forEach((function(r){t[r]=r})),7!==a({},n)[e]||o(a({},t)).join("")!==u}))?function(n,e){for(var a=f(n),l=arguments.length,v=1,p=u.f,g=i.f;l>v;)for(var m,y=c(arguments[v++]),b=p?s(o(y),p(y)):o(y),h=b.length,d=0;h>d;)m=b[d++],r&&!t(g,y,m)||(a[m]=y[m]);return a}:a,ne}();r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})}(),r.fn.bootstrapTable.locales["en-US"]=r.fn.bootstrapTable.locales.en={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(r){return"Showing ".concat(r," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Loading, please wait"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No matching records found"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(r){return"".concat(r," rows per page")},formatRefresh:function(){return"Refresh"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(r){return"to page ".concat(r)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Search"},formatShowingRows:function(r,n,t,e){return void 0!==e&&e>0&&e>t?"Showing ".concat(r," to ").concat(n," of ").concat(t," rows (filtered from ").concat(e," total rows)"):"Showing ".concat(r," to ").concat(n," of ").concat(t," rows")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(r.fn.bootstrapTable.defaults,r.fn.bootstrapTable.locales["en-US"])}));
+!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((r="undefined"!=typeof globalThis?globalThis:r||self).jQuery)}(this,function(r){"use strict";var n,t,e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o={};function u(){if(t)return n;t=1;var r=function(r){return r&&r.Math===Math&&r};return n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var i,f,c,a,l,s,v,p,g={};function y(){return f?i:(f=1,i=function(r){try{return!!r()}catch(r){return!0}})}function m(){if(a)return c;a=1;var r=y();return c=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function h(){if(s)return l;s=1;var r=y();return l=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function b(){if(p)return v;p=1;var r=h(),n=Function.prototype.call;return v=r?n.bind(n):function(){return n.apply(n,arguments)},v}var d,w,S,O,j,P,T,C,A,E,x,F,R,D,M,L,k,I,N,z,H,B,G,U,_,q,V,W,J,$,K,Q,X,Y,Z,rr,nr,tr,er,or,ur,ir={};function fr(){if(d)return ir;d=1;var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,t=n&&!r.call({1:2},1);return ir.f=t?function(r){var t=n(this,r);return!!t&&t.enumerable}:r,ir}function cr(){return S?w:(S=1,w=function(r,n){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:n}})}function ar(){if(j)return O;j=1;var r=h(),n=Function.prototype,t=n.call,e=r&&n.bind.bind(t,t);return O=r?e:function(r){return function(){return t.apply(r,arguments)}},O}function lr(){if(T)return P;T=1;var r=ar(),n=r({}.toString),t=r("".slice);return P=function(r){return t(n(r),8,-1)}}function sr(){if(A)return C;A=1;var r=ar(),n=y(),t=lr(),e=Object,o=r("".split);return C=n(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===t(r)?o(r,""):e(r)}:e}function vr(){return x?E:(x=1,E=function(r){return null==r})}function pr(){if(R)return F;R=1;var r=vr(),n=TypeError;return F=function(t){if(r(t))throw new n("Can't call method on "+t);return t}}function gr(){if(M)return D;M=1;var r=sr(),n=pr();return D=function(t){return r(n(t))}}function yr(){if(k)return L;k=1;var r="object"==typeof document&&document.all;return L=void 0===r&&void 0!==r?function(n){return"function"==typeof n||n===r}:function(r){return"function"==typeof r}}function mr(){if(N)return I;N=1;var r=yr();return I=function(n){return"object"==typeof n?null!==n:r(n)}}function hr(){if(H)return z;H=1;var r=u(),n=yr();return z=function(t,e){return arguments.length<2?(o=r[t],n(o)?o:void 0):r[t]&&r[t][e];var o},z}function br(){if(V)return q;V=1;var r,n,t=u(),e=function(){if(_)return U;_=1;var r=u().navigator,n=r&&r.userAgent;return U=n?String(n):""}(),o=t.process,i=t.Deno,f=o&&o.versions||i&&i.version,c=f&&f.v8;return c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(n=+r[1]),q=n}function dr(){if(J)return W;J=1;var r=br(),n=y(),t=u().String;return W=!!Object.getOwnPropertySymbols&&!n(function(){var n=Symbol("symbol detection");return!t(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function wr(){if(K)return $;K=1;var r=dr();return $=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Sr(){if(X)return Q;X=1;var r=hr(),n=yr(),t=function(){if(G)return B;G=1;var r=ar();return B=r({}.isPrototypeOf)}(),e=wr(),o=Object;return Q=e?function(r){return"symbol"==typeof r}:function(e){var u=r("Symbol");return n(u)&&t(u.prototype,o(e))}}function Or(){if(Z)return Y;Z=1;var r=String;return Y=function(n){try{return r(n)}catch(r){return"Object"}}}function jr(){if(nr)return rr;nr=1;var r=yr(),n=Or(),t=TypeError;return rr=function(e){if(r(e))return e;throw new t(n(e)+" is not a function")}}function Pr(){if(er)return tr;er=1;var r=jr(),n=vr();return tr=function(t,e){var o=t[e];return n(o)?void 0:r(o)}}function Tr(){if(ur)return or;ur=1;var r=b(),n=yr(),t=mr(),e=TypeError;return or=function(o,u){var i,f;if("string"===u&&n(i=o.toString)&&!t(f=r(i,o)))return f;if(n(i=o.valueOf)&&!t(f=r(i,o)))return f;if("string"!==u&&n(i=o.toString)&&!t(f=r(i,o)))return f;throw new e("Can't convert object to primitive value")}}var Cr,Ar,Er,xr,Fr,Rr,Dr,Mr,Lr,kr,Ir,Nr,zr,Hr,Br,Gr,Ur,_r,qr,Vr,Wr,Jr,$r,Kr,Qr={exports:{}};function Xr(){if(xr)return Er;xr=1;var r=u(),n=Object.defineProperty;return Er=function(t,e){try{n(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}}function Yr(){if(Fr)return Qr.exports;Fr=1;var r=Ar?Cr:(Ar=1,Cr=!1),n=u(),t=Xr(),e="__core-js_shared__",o=Qr.exports=n[e]||t(e,{});return(o.versions||(o.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Qr.exports}function Zr(){if(Dr)return Rr;Dr=1;var r=Yr();return Rr=function(n,t){return r[n]||(r[n]=t||{})}}function rn(){if(Lr)return Mr;Lr=1;var r=pr(),n=Object;return Mr=function(t){return n(r(t))}}function nn(){if(Ir)return kr;Ir=1;var r=ar(),n=rn(),t=r({}.hasOwnProperty);return kr=Object.hasOwn||function(r,e){return t(n(r),e)}}function tn(){if(zr)return Nr;zr=1;var r=ar(),n=0,t=Math.random(),e=r(1.1.toString);return Nr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++n+t,36)}}function en(){if(Br)return Hr;Br=1;var r=u(),n=Zr(),t=nn(),e=tn(),o=dr(),i=wr(),f=r.Symbol,c=n("wks"),a=i?f.for||f:f&&f.withoutSetter||e;return Hr=function(r){return t(c,r)||(c[r]=o&&t(f,r)?f[r]:a("Symbol."+r)),c[r]}}function on(){if(Ur)return Gr;Ur=1;var r=b(),n=mr(),t=Sr(),e=Pr(),o=Tr(),u=en(),i=TypeError,f=u("toPrimitive");return Gr=function(u,c){if(!n(u)||t(u))return u;var a,l=e(u,f);if(l){if(void 0===c&&(c="default"),a=r(l,u,c),!n(a)||t(a))return a;throw new i("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(u,c)}}function un(){if(qr)return _r;qr=1;var r=on(),n=Sr();return _r=function(t){var e=r(t,"string");return n(e)?e:e+""}}function fn(){if($r)return Jr;$r=1;var r=m(),n=y(),t=function(){if(Wr)return Vr;Wr=1;var r=u(),n=mr(),t=r.document,e=n(t)&&n(t.createElement);return Vr=function(r){return e?t.createElement(r):{}}}();return Jr=!r&&!n(function(){return 7!==Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a})}function cn(){if(Kr)return g;Kr=1;var r=m(),n=b(),t=fr(),e=cr(),o=gr(),u=un(),i=nn(),f=fn(),c=Object.getOwnPropertyDescriptor;return g.f=r?c:function(r,a){if(r=o(r),a=u(a),f)try{return c(r,a)}catch(r){}if(i(r,a))return e(!n(t.f,r,a),r[a])},g}var an,ln,sn,vn,pn,gn,yn,mn={};function hn(){if(vn)return sn;vn=1;var r=mr(),n=String,t=TypeError;return sn=function(e){if(r(e))return e;throw new t(n(e)+" is not an object")}}function bn(){if(pn)return mn;pn=1;var r=m(),n=fn(),t=function(){if(ln)return an;ln=1;var r=m(),n=y();return an=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}(),e=hn(),o=un(),u=TypeError,i=Object.defineProperty,f=Object.getOwnPropertyDescriptor,c="enumerable",a="configurable",l="writable";return mn.f=r?t?function(r,n,t){if(e(r),n=o(n),e(t),"function"==typeof r&&"prototype"===n&&"value"in t&&l in t&&!t[l]){var u=f(r,n);u&&u[l]&&(r[n]=t.value,t={configurable:a in t?t[a]:u[a],enumerable:c in t?t[c]:u[c],writable:!1})}return i(r,n,t)}:i:function(r,t,f){if(e(r),t=o(t),e(f),n)try{return i(r,t,f)}catch(r){}if("get"in f||"set"in f)throw new u("Accessors not supported");return"value"in f&&(r[t]=f.value),r},mn}function dn(){if(yn)return gn;yn=1;var r=m(),n=bn(),t=cr();return gn=r?function(r,e,o){return n.f(r,e,t(1,o))}:function(r,n,t){return r[n]=t,r}}var wn,Sn,On,jn,Pn,Tn,Cn,An,En,xn,Fn,Rn,Dn,Mn,Ln,kn={exports:{}};function In(){if(jn)return On;jn=1;var r=ar(),n=yr(),t=Yr(),e=r(Function.toString);return n(t.inspectSource)||(t.inspectSource=function(r){return e(r)}),On=t.inspectSource}function Nn(){if(An)return Cn;An=1;var r=Zr(),n=tn(),t=r("keys");return Cn=function(r){return t[r]||(t[r]=n(r))}}function zn(){return xn?En:(xn=1,En={})}function Hn(){if(Rn)return Fn;Rn=1;var r,n,t,e=function(){if(Tn)return Pn;Tn=1;var r=u(),n=yr(),t=r.WeakMap;return Pn=n(t)&&/native code/.test(String(t))}(),o=u(),i=mr(),f=dn(),c=nn(),a=Yr(),l=Nn(),s=zn(),v="Object already initialized",p=o.TypeError,g=o.WeakMap;if(e||a.state){var y=a.state||(a.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,r=function(r,n){if(y.has(r))throw new p(v);return n.facade=r,y.set(r,n),n},n=function(r){return y.get(r)||{}},t=function(r){return y.has(r)}}else{var m=l("state");s[m]=!0,r=function(r,n){if(c(r,m))throw new p(v);return n.facade=r,f(r,m,n),n},n=function(r){return c(r,m)?r[m]:{}},t=function(r){return c(r,m)}}return Fn={set:r,get:n,has:t,enforce:function(e){return t(e)?n(e):r(e,{})},getterFor:function(r){return function(t){var e;if(!i(t)||(e=n(t)).type!==r)throw new p("Incompatible receiver, "+r+" required");return e}}}}function Bn(){if(Dn)return kn.exports;Dn=1;var r=ar(),n=y(),t=yr(),e=nn(),o=m(),u=function(){if(Sn)return wn;Sn=1;var r=m(),n=nn(),t=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=n(t,"name"),u=o&&"something"===function(){}.name,i=o&&(!r||r&&e(t,"name").configurable);return wn={EXISTS:o,PROPER:u,CONFIGURABLE:i}}().CONFIGURABLE,i=In(),f=Hn(),c=f.enforce,a=f.get,l=String,s=Object.defineProperty,v=r("".slice),p=r("".replace),g=r([].join),h=o&&!n(function(){return 8!==s(function(){},"length",{value:8}).length}),b=String(String).split("String"),d=kn.exports=function(r,n,t){"Symbol("===v(l(n),0,7)&&(n="["+p(l(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!e(r,"name")||u&&r.name!==n)&&(o?s(r,"name",{value:n,configurable:!0}):r.name=n),h&&t&&e(t,"arity")&&r.length!==t.arity&&s(r,"length",{value:t.arity});try{t&&e(t,"constructor")&&t.constructor?o&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var i=c(r);return e(i,"source")||(i.source=g(b,"string"==typeof n?n:"")),r};return Function.prototype.toString=d(function(){return t(this)&&a(this).source||i(this)},"toString"),kn.exports}function Gn(){if(Ln)return Mn;Ln=1;var r=yr(),n=bn(),t=Bn(),e=Xr();return Mn=function(o,u,i,f){f||(f={});var c=f.enumerable,a=void 0!==f.name?f.name:u;if(r(i)&&t(i,a,f),f.global)c?o[u]=i:e(u,i);else{try{f.unsafe?o[u]&&(c=!0):delete o[u]}catch(r){}c?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return o}}var Un,_n,qn,Vn,Wn,Jn,$n,Kn,Qn,Xn,Yn,Zn,rt,nt,tt,et,ot,ut={};function it(){if(Vn)return qn;Vn=1;var r=function(){if(_n)return Un;_n=1;var r=Math.ceil,n=Math.floor;return Un=Math.trunc||function(t){var e=+t;return(e>0?n:r)(e)}}();return qn=function(n){var t=+n;return t!=t||0===t?0:r(t)}}function ft(){if(Jn)return Wn;Jn=1;var r=it(),n=Math.max,t=Math.min;return Wn=function(e,o){var u=r(e);return u<0?n(u+o,0):t(u,o)}}function ct(){if(Kn)return $n;Kn=1;var r=it(),n=Math.min;return $n=function(t){var e=r(t);return e>0?n(e,9007199254740991):0}}function at(){if(Xn)return Qn;Xn=1;var r=ct();return Qn=function(n){return r(n.length)}}function lt(){if(nt)return rt;nt=1;var r=ar(),n=nn(),t=gr(),e=function(){if(Zn)return Yn;Zn=1;var r=gr(),n=ft(),t=at(),e=function(e){return function(o,u,i){var f=r(o),c=t(f);if(0===c)return!e&&-1;var a,l=n(i,c);if(e&&u!=u){for(;c>l;)if((a=f[l++])!=a)return!0}else for(;c>l;l++)if((e||l in f)&&f[l]===u)return e||l||0;return!e&&-1}};return Yn={includes:e(!0),indexOf:e(!1)}}().indexOf,o=zn(),u=r([].push);return rt=function(r,i){var f,c=t(r),a=0,l=[];for(f in c)!n(o,f)&&n(c,f)&&u(l,f);for(;i.length>a;)n(c,f=i[a++])&&(~e(l,f)||u(l,f));return l}}function st(){return et?tt:(et=1,tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var vt,pt,gt,yt,mt,ht,bt,dt,wt,St,Ot,jt,Pt,Tt,Ct,At,Et,xt,Ft,Rt,Dt,Mt,Lt,kt,It,Nt,zt,Ht,Bt,Gt,Ut={};function _t(){return vt||(vt=1,Ut.f=Object.getOwnPropertySymbols),Ut}function qt(){if(gt)return pt;gt=1;var r=hr(),n=ar(),t=function(){if(ot)return ut;ot=1;var r=lt(),n=st().concat("length","prototype");return ut.f=Object.getOwnPropertyNames||function(t){return r(t,n)},ut}(),e=_t(),o=hn(),u=n([].concat);return pt=r("Reflect","ownKeys")||function(r){var n=t.f(o(r)),i=e.f;return i?u(n,i(r)):n}}function Vt(){if(mt)return yt;mt=1;var r=nn(),n=qt(),t=cn(),e=bn();return yt=function(o,u,i){for(var f=n(u),c=e.f,a=t.f,l=0;l<f.length;l++){var s=f[l];r(o,s)||i&&r(i,s)||c(o,s,a(u,s))}}}function Wt(){if(wt)return dt;wt=1;var r=u(),n=cn().f,t=dn(),e=Gn(),o=Xr(),i=Vt(),f=function(){if(bt)return ht;bt=1;var r=y(),n=yr(),t=/#|\.prototype\./,e=function(t,e){var c=u[o(t)];return c===f||c!==i&&(n(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(t,".").toLowerCase()},u=e.data={},i=e.NATIVE="N",f=e.POLYFILL="P";return ht=e}();return dt=function(u,c){var a,l,s,v,p,g=u.target,y=u.global,m=u.stat;if(a=y?r:m?r[g]||o(g,{}):r[g]&&r[g].prototype)for(l in c){if(v=c[l],s=u.dontCallGetSet?(p=n(a,l))&&p.value:a[l],!f(y?l:g+(m?".":"#")+l,u.forced)&&void 0!==s){if(typeof v==typeof s)continue;i(v,s)}(u.sham||s&&s.sham)&&t(v,"sham",!0),e(a,l,v,u)}}}function Jt(){if(Ot)return St;Ot=1;var r=lr();return St=Array.isArray||function(n){return"Array"===r(n)}}function $t(){if(Pt)return jt;Pt=1;var r=TypeError;return jt=function(n){if(n>9007199254740991)throw new r("Maximum allowed index exceeded");return n}}function Kt(){if(Ct)return Tt;Ct=1;var r=m(),n=bn(),t=cr();return Tt=function(e,o,u){r?n.f(e,o,t(0,u)):e[o]=u}}function Qt(){if(Dt)return Rt;Dt=1;var r=function(){if(Ft)return xt;Ft=1;var r={};return r[en()("toStringTag")]="z",xt="[object z]"===String(r)}(),n=yr(),t=lr(),e=en()("toStringTag"),o=Object,u="Arguments"===t(function(){return arguments}());return Rt=r?t:function(r){var i,f,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,n){try{return r[n]}catch(r){}}(i=o(r),e))?f:u?t(i):"Object"===(c=t(i))&&n(i.callee)?"Arguments":c}}function Xt(){if(Lt)return Mt;Lt=1;var r=ar(),n=y(),t=yr(),e=Qt(),o=hr(),u=In(),i=function(){},f=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,a=r(c.exec),l=!c.test(i),s=function(r){if(!t(r))return!1;try{return f(i,[],r),!0}catch(r){return!1}},v=function(r){if(!t(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!a(c,u(r))}catch(r){return!0}};return v.sham=!0,Mt=!f||n(function(){var r;return s(s.call)||!s(Object)||!s(function(){r=!0})||r})?v:s}function Yt(){if(It)return kt;It=1;var r=Jt(),n=Xt(),t=mr(),e=en()("species"),o=Array;return kt=function(u){var i;return r(u)&&(i=u.constructor,(n(i)&&(i===o||r(i.prototype))||t(i)&&null===(i=i[e]))&&(i=void 0)),void 0===i?o:i}}function Zt(){if(zt)return Nt;zt=1;var r=Yt();return Nt=function(n,t){return new(r(n))(0===t?0:t)}}function re(){if(Bt)return Ht;Bt=1;var r=y(),n=en(),t=br(),e=n("species");return Ht=function(n){return t>=51||!r(function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[n](Boolean).foo})}}!function(){if(Gt)return o;Gt=1;var r=Wt(),n=y(),t=Jt(),e=mr(),u=rn(),i=at(),f=$t(),c=Kt(),a=function(){if(Et)return At;Et=1;var r=m(),n=Jt(),t=TypeError,e=Object.getOwnPropertyDescriptor,o=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return At=o?function(r,o){if(n(r)&&!e(r,"length").writable)throw new t("Cannot set read only .length");return r.length=o}:function(r,n){return r.length=n}}(),l=Zt(),s=re(),v=en(),p=br(),g=v("isConcatSpreadable"),h=p>=51||!n(function(){var r=[];return r[g]=!1,r.concat()[0]!==r}),b=function(r){if(!e(r))return!1;var n=r[g];return void 0!==n?!!n:t(r)};r({target:"Array",proto:!0,arity:1,forced:!h||!s("concat")},{concat:function(r){var n,t,e,o,s,v=u(this),p=l(v,0),g=0;for(n=-1,e=arguments.length;n<e;n++)if(b(s=-1===n?v:arguments[n]))for(o=i(s),f(g+o),t=0;t<o;t++,g++)t in s&&c(p,g,s[t]);else f(g+1),c(p,g++,s);return a(p,g),p}})}();var ne,te,ee,oe,ue,ie={};function fe(){if(te)return ne;te=1;var r=lt(),n=st();return ne=Object.keys||function(t){return r(t,n)}}!function(){if(ue)return ie;ue=1;var r=Wt(),n=function(){if(oe)return ee;oe=1;var r=m(),n=ar(),t=b(),e=y(),o=fe(),u=_t(),i=fr(),f=rn(),c=sr(),a=Object.assign,l=Object.defineProperty,s=n([].concat);return ee=!a||e(function(){if(r&&1!==a({b:1},a(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var n={},t={},e=Symbol("assign detection"),u="abcdefghijklmnopqrst";return n[e]=7,u.split("").forEach(function(r){t[r]=r}),7!==a({},n)[e]||o(a({},t)).join("")!==u})?function(n,e){for(var a=f(n),l=arguments.length,v=1,p=u.f,g=i.f;l>v;)for(var y,m=c(arguments[v++]),h=p?s(o(m),p(m)):o(m),b=h.length,d=0;b>d;)y=h[d++],r&&!t(g,m,y)||(a[y]=m[y]);return a}:a,ee}();r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})}(),r.fn.bootstrapTable.locales["en-US"]=r.fn.bootstrapTable.locales.en={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(r){return"Showing ".concat(r," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Loading, please wait"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No matching records found"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(r){return"".concat(r," rows per page")},formatRefresh:function(){return"Refresh"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(r){return"to page ".concat(r)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Search"},formatShowingRows:function(r,n,t,e){return void 0!==e&&e>0&&e>t?"Showing ".concat(r," to ").concat(n," of ").concat(t," rows (filtered from ").concat(e," total rows)"):"Showing ".concat(r," to ").concat(n," of ").concat(t," rows")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(r.fn.bootstrapTable.defaults,r.fn.bootstrapTable.locales["en-US"])});
diff --git a/public/js/dist/bootstrap-table-locale-all.min.js b/public/js/dist/bootstrap-table-locale-all.min.js
index 4fe0b087c6..081a4a1e7a 100644
--- a/public/js/dist/bootstrap-table-locale-all.min.js
+++ b/public/js/dist/bootstrap-table-locale-all.min.js
@@ -1,10 +1,10 @@
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
- * @version v1.24.2
+ * @version v1.27.3
* @homepage https://bootstrap-table.com
* @author wenzhixin <[email protected]> (http://wenzhixin.net.cn/)
* @license MIT
*/
-!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";var n,r,o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function a(){if(r)return n;r=1;var t=function(t){return t&&t.Math===Math&&t};return n=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o&&o)||t("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var u,i,c,f,l,m,s,g,d={};function p(){return i?u:(i=1,u=function(t){try{return!!t()}catch(t){return!0}})}function S(){if(f)return c;f=1;var t=p();return c=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function h(){if(m)return l;m=1;var t=p();return l=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function w(){if(g)return s;g=1;var t=h(),n=Function.prototype.call;return s=t?n.bind(n):function(){return n.apply(n,arguments)},s}var v,T,C,P,b,A,R,O,y,D,x,M,k,L,F,H,j,B,V,N,E,z,U,G,J,Z,I,K,q,W,Y,_,X,Q,$,tt,nt,rt,ot,et,at,ut={};function it(){if(v)return ut;v=1;var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);return ut.f=r?function(t){var r=n(this,t);return!!r&&r.enumerable}:t,ut}function ct(){return C?T:(C=1,T=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}})}function ft(){if(b)return P;b=1;var t=h(),n=Function.prototype,r=n.call,o=t&&n.bind.bind(r,r);return P=t?o:function(t){return function(){return r.apply(t,arguments)}},P}function lt(){if(R)return A;R=1;var t=ft(),n=t({}.toString),r=t("".slice);return A=function(t){return r(n(t),8,-1)}}function mt(){if(y)return O;y=1;var t=ft(),n=p(),r=lt(),o=Object,e=t("".split);return O=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?e(t,""):o(t)}:o}function st(){return x?D:(x=1,D=function(t){return null==t})}function gt(){if(k)return M;k=1;var t=st(),n=TypeError;return M=function(r){if(t(r))throw new n("Can't call method on "+r);return r}}function dt(){if(F)return L;F=1;var t=mt(),n=gt();return L=function(r){return t(n(r))}}function pt(){if(j)return H;j=1;var t="object"==typeof document&&document.all;return H=void 0===t&&void 0!==t?function(n){return"function"==typeof n||n===t}:function(t){return"function"==typeof t}}function St(){if(V)return B;V=1;var t=pt();return B=function(n){return"object"==typeof n?null!==n:t(n)}}function ht(){if(E)return N;E=1;var t=a(),n=pt();return N=function(r,o){return arguments.length<2?(e=t[r],n(e)?e:void 0):t[r]&&t[r][o];var e},N}function wt(){if(I)return Z;I=1;var t,n,r=a(),o=function(){if(J)return G;J=1;var t=a().navigator,n=t&&t.userAgent;return G=n?String(n):""}(),e=r.process,u=r.Deno,i=e&&e.versions||u&&u.version,c=i&&i.v8;return c&&(n=(t=c.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!n&&o&&(!(t=o.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=o.match(/Chrome\/(\d+)/))&&(n=+t[1]),Z=n}function vt(){if(q)return K;q=1;var t=wt(),n=p(),r=a().String;return K=!!Object.getOwnPropertySymbols&&!n((function(){var n=Symbol("symbol detection");return!r(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Tt(){if(Y)return W;Y=1;var t=vt();return W=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ct(){if(X)return _;X=1;var t=ht(),n=pt(),r=function(){if(U)return z;U=1;var t=ft();return z=t({}.isPrototypeOf)}(),o=Tt(),e=Object;return _=o?function(t){return"symbol"==typeof t}:function(o){var a=t("Symbol");return n(a)&&r(a.prototype,e(o))}}function Pt(){if($)return Q;$=1;var t=String;return Q=function(n){try{return t(n)}catch(t){return"Object"}}}function bt(){if(nt)return tt;nt=1;var t=pt(),n=Pt(),r=TypeError;return tt=function(o){if(t(o))return o;throw new r(n(o)+" is not a function")}}function At(){if(ot)return rt;ot=1;var t=bt(),n=st();return rt=function(r,o){var e=r[o];return n(e)?void 0:t(e)}}function Rt(){if(at)return et;at=1;var t=w(),n=pt(),r=St(),o=TypeError;return et=function(e,a){var u,i;if("string"===a&&n(u=e.toString)&&!r(i=t(u,e)))return i;if(n(u=e.valueOf)&&!r(i=t(u,e)))return i;if("string"!==a&&n(u=e.toString)&&!r(i=t(u,e)))return i;throw new o("Can't convert object to primitive value")}}var Ot,yt,Dt,xt,Mt,kt,Lt,Ft,Ht,jt,Bt,Vt,Nt,Et,zt,Ut,Gt,Jt,Zt,It,Kt,qt,Wt,Yt,_t={exports:{}};function Xt(){if(xt)return Dt;xt=1;var t=a(),n=Object.defineProperty;return Dt=function(r,o){try{n(t,r,{value:o,configurable:!0,writable:!0})}catch(n){t[r]=o}return o}}function Qt(){if(Mt)return _t.exports;Mt=1;var t=yt?Ot:(yt=1,Ot=!1),n=a(),r=Xt(),o="__core-js_shared__",e=_t.exports=n[o]||r(o,{});return(e.versions||(e.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),_t.exports}function $t(){if(Lt)return kt;Lt=1;var t=Qt();return kt=function(n,r){return t[n]||(t[n]=r||{})}}function tn(){if(Ht)return Ft;Ht=1;var t=gt(),n=Object;return Ft=function(r){return n(t(r))}}function nn(){if(Bt)return jt;Bt=1;var t=ft(),n=tn(),r=t({}.hasOwnProperty);return jt=Object.hasOwn||function(t,o){return r(n(t),o)}}function rn(){if(Nt)return Vt;Nt=1;var t=ft(),n=0,r=Math.random(),o=t(1.1.toString);return Vt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++n+r,36)}}function on(){if(zt)return Et;zt=1;var t=a(),n=$t(),r=nn(),o=rn(),e=vt(),u=Tt(),i=t.Symbol,c=n("wks"),f=u?i.for||i:i&&i.withoutSetter||o;return Et=function(t){return r(c,t)||(c[t]=e&&r(i,t)?i[t]:f("Symbol."+t)),c[t]}}function en(){if(Gt)return Ut;Gt=1;var t=w(),n=St(),r=Ct(),o=At(),e=Rt(),a=on(),u=TypeError,i=a("toPrimitive");return Ut=function(a,c){if(!n(a)||r(a))return a;var f,l=o(a,i);if(l){if(void 0===c&&(c="default"),f=t(l,a,c),!n(f)||r(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),e(a,c)}}function an(){if(Zt)return Jt;Zt=1;var t=en(),n=Ct();return Jt=function(r){var o=t(r,"string");return n(o)?o:o+""}}function un(){if(Wt)return qt;Wt=1;var t=S(),n=p(),r=function(){if(Kt)return It;Kt=1;var t=a(),n=St(),r=t.document,o=n(r)&&n(r.createElement);return It=function(t){return o?r.createElement(t):{}}}();return qt=!t&&!n((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function cn(){if(Yt)return d;Yt=1;var t=S(),n=w(),r=it(),o=ct(),e=dt(),a=an(),u=nn(),i=un(),c=Object.getOwnPropertyDescriptor;return d.f=t?c:function(t,f){if(t=e(t),f=a(f),i)try{return c(t,f)}catch(t){}if(u(t,f))return o(!n(r.f,t,f),t[f])},d}var fn,ln,mn,sn,gn,dn,pn,Sn={};function hn(){if(sn)return mn;sn=1;var t=St(),n=String,r=TypeError;return mn=function(o){if(t(o))return o;throw new r(n(o)+" is not an object")}}function wn(){if(gn)return Sn;gn=1;var t=S(),n=un(),r=function(){if(ln)return fn;ln=1;var t=S(),n=p();return fn=t&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}(),o=hn(),e=an(),a=TypeError,u=Object.defineProperty,i=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",l="writable";return Sn.f=t?r?function(t,n,r){if(o(t),n=e(n),o(r),"function"==typeof t&&"prototype"===n&&"value"in r&&l in r&&!r[l]){var a=i(t,n);a&&a[l]&&(t[n]=r.value,r={configurable:f in r?r[f]:a[f],enumerable:c in r?r[c]:a[c],writable:!1})}return u(t,n,r)}:u:function(t,r,i){if(o(t),r=e(r),o(i),n)try{return u(t,r,i)}catch(t){}if("get"in i||"set"in i)throw new a("Accessors not supported");return"value"in i&&(t[r]=i.value),t},Sn}function vn(){if(pn)return dn;pn=1;var t=S(),n=wn(),r=ct();return dn=t?function(t,o,e){return n.f(t,o,r(1,e))}:function(t,n,r){return t[n]=r,t}}var Tn,Cn,Pn,bn,An,Rn,On,yn,Dn,xn,Mn,kn,Ln,Fn,Hn,jn={exports:{}};function Bn(){if(bn)return Pn;bn=1;var t=ft(),n=pt(),r=Qt(),o=t(Function.toString);return n(r.inspectSource)||(r.inspectSource=function(t){return o(t)}),Pn=r.inspectSource}function Vn(){if(yn)return On;yn=1;var t=$t(),n=rn(),r=t("keys");return On=function(t){return r[t]||(r[t]=n(t))}}function Nn(){return xn?Dn:(xn=1,Dn={})}function En(){if(kn)return Mn;kn=1;var t,n,r,o=function(){if(Rn)return An;Rn=1;var t=a(),n=pt(),r=t.WeakMap;return An=n(r)&&/native code/.test(String(r))}(),e=a(),u=St(),i=vn(),c=nn(),f=Qt(),l=Vn(),m=Nn(),s="Object already initialized",g=e.TypeError,d=e.WeakMap;if(o||f.state){var p=f.state||(f.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,n){if(p.has(t))throw new g(s);return n.facade=t,p.set(t,n),n},n=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var S=l("state");m[S]=!0,t=function(t,n){if(c(t,S))throw new g(s);return n.facade=t,i(t,S,n),n},n=function(t){return c(t,S)?t[S]:{}},r=function(t){return c(t,S)}}return Mn={set:t,get:n,has:r,enforce:function(o){return r(o)?n(o):t(o,{})},getterFor:function(t){return function(r){var o;if(!u(r)||(o=n(r)).type!==t)throw new g("Incompatible receiver, "+t+" required");return o}}}}function zn(){if(Ln)return jn.exports;Ln=1;var t=ft(),n=p(),r=pt(),o=nn(),e=S(),a=function(){if(Cn)return Tn;Cn=1;var t=S(),n=nn(),r=Function.prototype,o=t&&Object.getOwnPropertyDescriptor,e=n(r,"name"),a=e&&"something"===function(){}.name,u=e&&(!t||t&&o(r,"name").configurable);return Tn={EXISTS:e,PROPER:a,CONFIGURABLE:u}}().CONFIGURABLE,u=Bn(),i=En(),c=i.enforce,f=i.get,l=String,m=Object.defineProperty,s=t("".slice),g=t("".replace),d=t([].join),h=e&&!n((function(){return 8!==m((function(){}),"length",{value:8}).length})),w=String(String).split("String"),v=jn.exports=function(t,n,r){"Symbol("===s(l(n),0,7)&&(n="["+g(l(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!o(t,"name")||a&&t.name!==n)&&(e?m(t,"name",{value:n,configurable:!0}):t.name=n),h&&r&&o(r,"arity")&&t.length!==r.arity&&m(t,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?e&&m(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=c(t);return o(u,"source")||(u.source=d(w,"string"==typeof n?n:"")),t};return Function.prototype.toString=v((function(){return r(this)&&f(this).source||u(this)}),"toString"),jn.exports}function Un(){if(Hn)return Fn;Hn=1;var t=pt(),n=wn(),r=zn(),o=Xt();return Fn=function(e,a,u,i){i||(i={});var c=i.enumerable,f=void 0!==i.name?i.name:a;if(t(u)&&r(u,f,i),i.global)c?e[a]=u:o(a,u);else{try{i.unsafe?e[a]&&(c=!0):delete e[a]}catch(t){}c?e[a]=u:n.f(e,a,{value:u,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}}var Gn,Jn,Zn,In,Kn,qn,Wn,Yn,_n,Xn,Qn,$n,tr,nr,rr,or,er,ar={};function ur(){if(In)return Zn;In=1;var t=function(){if(Jn)return Gn;Jn=1;var t=Math.ceil,n=Math.floor;return Gn=Math.trunc||function(r){var o=+r;return(o>0?n:t)(o)}}();return Zn=function(n){var r=+n;return r!=r||0===r?0:t(r)}}function ir(){if(qn)return Kn;qn=1;var t=ur(),n=Math.max,r=Math.min;return Kn=function(o,e){var a=t(o);return a<0?n(a+e,0):r(a,e)}}function cr(){if(Yn)return Wn;Yn=1;var t=ur(),n=Math.min;return Wn=function(r){var o=t(r);return o>0?n(o,9007199254740991):0}}function fr(){if(Xn)return _n;Xn=1;var t=cr();return _n=function(n){return t(n.length)}}function lr(){if(nr)return tr;nr=1;var t=ft(),n=nn(),r=dt(),o=function(){if($n)return Qn;$n=1;var t=dt(),n=ir(),r=fr(),o=function(o){return function(e,a,u){var i=t(e),c=r(i);if(0===c)return!o&&-1;var f,l=n(u,c);if(o&&a!=a){for(;c>l;)if((f=i[l++])!=f)return!0}else for(;c>l;l++)if((o||l in i)&&i[l]===a)return o||l||0;return!o&&-1}};return Qn={includes:o(!0),indexOf:o(!1)}}().indexOf,e=Nn(),a=t([].push);return tr=function(t,u){var i,c=r(t),f=0,l=[];for(i in c)!n(e,i)&&n(c,i)&&a(l,i);for(;u.length>f;)n(c,i=u[f++])&&(~o(l,i)||a(l,i));return l}}function mr(){return or?rr:(or=1,rr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var sr,gr,dr,pr,Sr,hr,wr,vr,Tr,Cr,Pr,br,Ar,Rr,Or,yr,Dr,xr,Mr,kr,Lr,Fr,Hr,jr,Br,Vr,Nr,Er,zr={};function Ur(){return sr||(sr=1,zr.f=Object.getOwnPropertySymbols),zr}function Gr(){if(dr)return gr;dr=1;var t=ht(),n=ft(),r=function(){if(er)return ar;er=1;var t=lr(),n=mr().concat("length","prototype");return ar.f=Object.getOwnPropertyNames||function(r){return t(r,n)},ar}(),o=Ur(),e=hn(),a=n([].concat);return gr=t("Reflect","ownKeys")||function(t){var n=r.f(e(t)),u=o.f;return u?a(n,u(t)):n}}function Jr(){if(Sr)return pr;Sr=1;var t=nn(),n=Gr(),r=cn(),o=wn();return pr=function(e,a,u){for(var i=n(a),c=o.f,f=r.f,l=0;l<i.length;l++){var m=i[l];t(e,m)||u&&t(u,m)||c(e,m,f(a,m))}}}function Zr(){if(Tr)return vr;Tr=1;var t=a(),n=cn().f,r=vn(),o=Un(),e=Xt(),u=Jr(),i=function(){if(wr)return hr;wr=1;var t=p(),n=pt(),r=/#|\.prototype\./,o=function(r,o){var c=a[e(r)];return c===i||c!==u&&(n(o)?t(o):!!o)},e=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",i=o.POLYFILL="P";return hr=o}();return vr=function(a,c){var f,l,m,s,g,d=a.target,p=a.global,S=a.stat;if(f=p?t:S?t[d]||e(d,{}):t[d]&&t[d].prototype)for(l in c){if(s=c[l],m=a.dontCallGetSet?(g=n(f,l))&&g.value:f[l],!i(p?l:d+(S?".":"#")+l,a.forced)&&void 0!==m){if(typeof s==typeof m)continue;u(s,m)}(a.sham||m&&m.sham)&&r(s,"sham",!0),o(f,l,s,a)}}}function Ir(){if(Pr)return Cr;Pr=1;var t=lt();return Cr=Array.isArray||function(n){return"Array"===t(n)}}function Kr(){if(Ar)return br;Ar=1;var t=TypeError;return br=function(n){if(n>9007199254740991)throw t("Maximum allowed index exceeded");return n}}function qr(){if(Or)return Rr;Or=1;var t=S(),n=wn(),r=ct();return Rr=function(o,e,a){t?n.f(o,e,r(0,a)):o[e]=a}}function Wr(){if(Mr)return xr;Mr=1;var t=function(){if(Dr)return yr;Dr=1;var t={};return t[on()("toStringTag")]="z",yr="[object z]"===String(t)}(),n=pt(),r=lt(),o=on()("toStringTag"),e=Object,a="Arguments"===r(function(){return arguments}());return xr=t?r:function(t){var u,i,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,n){try{return t[n]}catch(t){}}(u=e(t),o))?i:a?r(u):"Object"===(c=r(u))&&n(u.callee)?"Arguments":c}}function Yr(){if(Lr)return kr;Lr=1;var t=ft(),n=p(),r=pt(),o=Wr(),e=ht(),a=Bn(),u=function(){},i=e("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=t(c.exec),l=!c.test(u),m=function(t){if(!r(t))return!1;try{return i(u,[],t),!0}catch(t){return!1}},s=function(t){if(!r(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!f(c,a(t))}catch(t){return!0}};return s.sham=!0,kr=!i||n((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?s:m}function _r(){if(Hr)return Fr;Hr=1;var t=Ir(),n=Yr(),r=St(),o=on()("species"),e=Array;return Fr=function(a){var u;return t(a)&&(u=a.constructor,(n(u)&&(u===e||t(u.prototype))||r(u)&&null===(u=u[o]))&&(u=void 0)),void 0===u?e:u}}function Xr(){if(Br)return jr;Br=1;var t=_r();return jr=function(n,r){return new(t(n))(0===r?0:r)}}function Qr(){if(Nr)return Vr;Nr=1;var t=p(),n=on(),r=wt(),o=n("species");return Vr=function(n){return r>=51||!t((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[n](Boolean).foo}))}}!function(){if(Er)return e;Er=1;var t=Zr(),n=p(),r=Ir(),o=St(),a=tn(),u=fr(),i=Kr(),c=qr(),f=Xr(),l=Qr(),m=on(),s=wt(),g=m("isConcatSpreadable"),d=s>=51||!n((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),S=function(t){if(!o(t))return!1;var n=t[g];return void 0!==n?!!n:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var n,r,o,e,l,m=a(this),s=f(m,0),g=0;for(n=-1,o=arguments.length;n<o;n++)if(S(l=-1===n?m:arguments[n]))for(e=u(l),i(g+e),r=0;r<e;r++,g++)r in l&&c(s,g,l[r]);else i(g+1),c(s,g++,l);return s.length=g,s}})}();var $r,to,no,ro,oo,eo={};function ao(){if(to)return $r;to=1;var t=lr(),n=mr();return $r=Object.keys||function(r){return t(r,n)}}!function(){if(oo)return eo;oo=1;var t=Zr(),n=function(){if(ro)return no;ro=1;var t=S(),n=ft(),r=w(),o=p(),e=ao(),a=Ur(),u=it(),i=tn(),c=mt(),f=Object.assign,l=Object.defineProperty,m=n([].concat);return no=!f||o((function(){if(t&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var n={},r={},o=Symbol("assign detection"),a="abcdefghijklmnopqrst";return n[o]=7,a.split("").forEach((function(t){r[t]=t})),7!==f({},n)[o]||e(f({},r)).join("")!==a}))?function(n,o){for(var f=i(n),l=arguments.length,s=1,g=a.f,d=u.f;l>s;)for(var p,S=c(arguments[s++]),h=g?m(e(S),g(S)):e(S),w=h.length,v=0;w>v;)p=h[v++],t&&!r(d,S,p)||(f[p]=S[p]);return f}:f,no}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})}(),t.fn.bootstrapTable.locales["af-ZA"]=t.fn.bootstrapTable.locales.af={formatAddLevel:function(){return"Voeg 'n vlak by"},formatAdvancedCloseButton:function(){return"Maak"},formatAdvancedSearch:function(){return"Gevorderde soektog"},formatAllRows:function(){return"Alles"},formatAutoRefresh:function(){return"Verfris outomaties"},formatCancel:function(){return"Kanselleer"},formatClearSearch:function(){return"Duidelike soektog"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolomme"},formatColumnsToggleAll:function(){return"Wys alles"},formatCopyRows:function(){return"Kopieer lyne"},formatDeleteLevel:function(){return"Vee 'n vlak uit"},formatDetailPagination:function(t){return"".concat(t,"-reël vertoon")},formatDuplicateAlertDescription:function(){return"Verwyder of wysig asseblief duplikaatinskrywings"},formatDuplicateAlertTitle:function(){return"Duplikaatinskrywings is gevind!"},formatExport:function(){return"Voer data uit"},formatFilterControlSwitch:function(){return"Versteek/Wys kontroles"},formatFilterControlSwitchHide:function(){return"Versteek kontroles"},formatFilterControlSwitchShow:function(){return"Wys kontroles"},formatFullscreen:function(){return"Volskerm"},formatJumpTo:function(){return"Gaan na"},formatLoadingMessage:function(){return"Laai tans"},formatMultipleSort:function(){return"Multi-sorteer"},formatNoMatches:function(){return"Geen resultate nie"},formatOrder:function(){return"Bestelling"},formatPaginationSwitch:function(){return"Versteek/Wys paginasie"},formatPaginationSwitchDown:function(){return"Wys paginasie"},formatPaginationSwitchUp:function(){return"Versteek paginasie"},formatPrint:function(){return"Druk uit"},formatRecordsPerPage:function(t){return"".concat(t," reëls per bladsy")},formatRefresh:function(){return"Verfris"},formatSRPaginationNextText:function(){return"volgende bladsy"},formatSRPaginationPageText:function(t){return"na bladsy ".concat(t)},formatSRPaginationPreText:function(){return"vorige bladsy"},formatSearch:function(){return"Navorsing"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Wys ".concat(t," tot ").concat(n," van ").concat(r," lyne (gefiltreer vanaf ").concat(o," lyne)"):"Wys ".concat(t," tot ").concat(n," van ").concat(r," lyne")},formatSort:function(){return"Rangskik"},formatSortBy:function(){return"Sorteer volgens"},formatSortOrders:function(){return{asc:"Stygende",desc:"Dalende"}},formatThenBy:function(){return"Dan deur"},formatToggleCustomViewOff:function(){return"Versteek pasgemaakte aansig"},formatToggleCustomViewOn:function(){return"Wys pasgemaakte aansig"},formatToggleOff:function(){return"Versteek kaartaansig"},formatToggleOn:function(){return"Wys kaartaansig"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["af-ZA"]),t.fn.bootstrapTable.locales["ca-ES"]=t.fn.bootstrapTable.locales.ca={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Tanca"},formatAdvancedSearch:function(){return"Cerca avançada"},formatAllRows:function(){return"Tots"},formatAutoRefresh:function(){return"Auto Refresca"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Neteja cerca"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnes"},formatColumnsToggleAll:function(){return"Alterna totes"},formatCopyRows:function(){return"Copia resultats"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrant ".concat(t," resultats")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exporta dades"},formatFilterControlSwitch:function(){return"Mostra/Amaga controls"},formatFilterControlSwitchHide:function(){return"Mostra controls"},formatFilterControlSwitchShow:function(){return"Amaga controls"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Espereu, si us plau"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No s'han trobat resultats"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Amaga/Mostra paginació"},formatPaginationSwitchDown:function(){return"Mostra paginació"},formatPaginationSwitchUp:function(){return"Amaga paginació"},formatPrint:function(){return"Imprimeix"},formatRecordsPerPage:function(t){return"".concat(t," resultats per pàgina")},formatRefresh:function(){return"Refresca"},formatSRPaginationNextText:function(){return"Pàgina següent"},formatSRPaginationPageText:function(t){return"A la pàgina ".concat(t)},formatSRPaginationPreText:function(){return"Pàgina anterior"},formatSearch:function(){return"Cerca"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrant resultats ".concat(t," fins ").concat(n," - ").concat(r," resultats (filtrats d'un total de ").concat(o," resultats)"):"Mostrant resultats ".concat(t," fins ").concat(n," - ").concat(r," resultats en total")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Amaga vista de tarjeta"},formatToggleOn:function(){return"Mostra vista de tarjeta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ca-ES"]),t.fn.bootstrapTable.locales["ar-SA"]=t.fn.bootstrapTable.locales.ar={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"إغلاق"},formatAdvancedSearch:function(){return"بحث متقدم"},formatAllRows:function(){return"الكل"},formatAutoRefresh:function(){return"تحديث تلقائي"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"مسح مربع البحث"},formatColumn:function(){return"Column"},formatColumns:function(){return"أعمدة"},formatColumnsToggleAll:function(){return"تبديل الكل"},formatCopyRows:function(){return"نسخ الصفوف"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"عرض ".concat(t," أعمدة")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"تصدير البيانات"},formatFilterControlSwitch:function(){return"عرض/إخفاء عناصر التصفية"},formatFilterControlSwitchHide:function(){return"إخفاء عناصر التصفية"},formatFilterControlSwitchShow:function(){return"عرض عناصر التصفية"},formatFullscreen:function(){return"الشاشة كاملة"},formatJumpTo:function(){return"قفز"},formatLoadingMessage:function(){return"جارٍ التحميل، يرجى الانتظار..."},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"لا توجد نتائج مطابقة للبحث"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"إخفاء/إظهار ترقيم الصفحات"},formatPaginationSwitchDown:function(){return"إظهار ترقيم الصفحات"},formatPaginationSwitchUp:function(){return"إخفاء ترقيم الصفحات"},formatPrint:function(){return"طباعة"},formatRecordsPerPage:function(t){return"".concat(t," صف لكل صفحة")},formatRefresh:function(){return"تحديث"},formatSRPaginationNextText:function(){return"الصفحة التالية"},formatSRPaginationPageText:function(t){return"إلى الصفحة ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"بحث"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"الظاهر ".concat(t," إلى ").concat(n," من ").concat(r," سجل ").concat(o," إجمالي الصفوف)"):"الظاهر ".concat(t," إلى ").concat(n," من ").concat(r," سجل")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"إلغاء البطاقات"},formatToggleOn:function(){return"إظهار كبطاقات"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ar-SA"]),t.fn.bootstrapTable.locales["de-DE"]=t.fn.bootstrapTable.locales.de={formatAddLevel:function(){return"Ebene hinzufügen"},formatAdvancedCloseButton:function(){return"Schließen"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisches Neuladen"},formatCancel:function(){return"Abbrechen"},formatClearSearch:function(){return"Lösche Filter"},formatColumn:function(){return"Spalte"},formatColumns:function(){return"Spalten"},formatColumnsToggleAll:function(){return"Alle umschalten"},formatCopyRows:function(){return"Zeilen kopieren"},formatDeleteLevel:function(){return"Ebene entfernen"},formatDetailPagination:function(t){return"Zeige ".concat(t," Zeile").concat(t>1?"n":"",".")},formatDuplicateAlertDescription:function(){return"Bitte doppelte Spalten entfenen oder ändern"},formatDuplicateAlertTitle:function(){return"Doppelte Einträge gefunden!"},formatExport:function(){return"Datenexport"},formatFilterControlSwitch:function(){return"Verstecke/Zeige Filter"},formatFilterControlSwitchHide:function(){return"Verstecke Filter"},formatFilterControlSwitchShow:function(){return"Zeige Filter"},formatFullscreen:function(){return"Vollbild"},formatJumpTo:function(){return"Springen"},formatLoadingMessage:function(){return"Lade, bitte warten"},formatMultipleSort:function(){return"Mehrfachsortierung"},formatNoMatches:function(){return"Keine passenden Ergebnisse gefunden"},formatOrder:function(){return"Reihenfolge"},formatPaginationSwitch:function(){return"Verstecke/Zeige Nummerierung"},formatPaginationSwitchDown:function(){return"Zeige Nummerierung"},formatPaginationSwitchUp:function(){return"Verstecke Nummerierung"},formatPrint:function(){return"Drucken"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen pro Seite.")},formatRefresh:function(){return"Neu laden"},formatSRPaginationNextText:function(){return"Nächste Seite"},formatSRPaginationPageText:function(t){return"Zu Seite ".concat(t)},formatSRPaginationPreText:function(){return"Vorherige Seite"},formatSearch:function(){return"Suchen"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(r," Zeile").concat(r>1?"n":""," (Gefiltert von ").concat(o," Zeile").concat(o>1?"n":"",")"):"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(r," Zeile").concat(r>1?"n":"",".")},formatSort:function(){return"Sortieren"},formatSortBy:function(){return"Sortieren nach"},formatSortOrders:function(){return{asc:"Aufsteigend",desc:"Absteigend"}},formatThenBy:function(){return"anschließend"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Kartenansicht"},formatToggleOn:function(){return"Normale Ansicht"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["de-DE"]),t.fn.bootstrapTable.locales["cs-CZ"]=t.fn.bootstrapTable.locales.cs={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zavřít"},formatAdvancedSearch:function(){return"Pokročilé hledání"},formatAllRows:function(){return"Vše"},formatAutoRefresh:function(){return"Automatické obnovení"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Smazat hledání"},formatColumn:function(){return"Column"},formatColumns:function(){return"Sloupce"},formatColumnsToggleAll:function(){return"Zobrazit/Skrýt vše"},formatCopyRows:function(){return"Kopírovat řádky"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Zobrazuji ".concat(t," řádek")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export dat"},formatFilterControlSwitch:function(){return"Skrýt/Zobrazit ovladače"},formatFilterControlSwitchHide:function(){return"Skrýt ovladače"},formatFilterControlSwitchShow:function(){return"Zobrazit ovladače"},formatFullscreen:function(){return"Zapnout/Vypnout fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Čekejte, prosím"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skrýt/Zobrazit stránkování"},formatPaginationSwitchDown:function(){return"Zobrazit stránkování"},formatPaginationSwitchUp:function(){return"Skrýt stránkování"},formatPrint:function(){return"Tisk"},formatRecordsPerPage:function(t){return"".concat(t," položek na stránku")},formatRefresh:function(){return"Aktualizovat"},formatSRPaginationNextText:function(){return"další strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationPreText:function(){return"předchozí strana"},formatSearch:function(){return"Vyhledávání"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(r," (filtered from ").concat(o," total rows)"):"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Zobrazit tabulku"},formatToggleOn:function(){return"Zobrazit karty"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["cs-CZ"]),t.fn.bootstrapTable.locales["el-GR"]=t.fn.bootstrapTable.locales.el={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Φορτώνει, παρακαλώ περιμένετε"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Δεν βρέθηκαν αποτελέσματα"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," αποτελέσματα ανά σελίδα")},formatRefresh:function(){return"Refresh"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Αναζητήστε"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(r," σειρών (filtered from ").concat(o," total rows)"):"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(r," σειρών")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["el-GR"]),t.fn.bootstrapTable.locales["bg-BG"]=t.fn.bootstrapTable.locales.bg={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Затваряне"},formatAdvancedSearch:function(){return"Разширено търсене"},formatAllRows:function(){return"Всички"},formatAutoRefresh:function(){return"Автоматично обновяване"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Изчистване на търсенето"},formatColumn:function(){return"Column"},formatColumns:function(){return"Колони"},formatColumnsToggleAll:function(){return"Превключване на всички"},formatCopyRows:function(){return"Копиране на редове"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Показани ".concat(t," реда")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Експорт на данни"},formatFilterControlSwitch:function(){return"Скрива/показва контроли"},formatFilterControlSwitchHide:function(){return"Скрива контроли"},formatFilterControlSwitchShow:function(){return"Показва контроли"},formatFullscreen:function(){return"Цял екран"},formatJumpTo:function(){return"ОТИДИ"},formatLoadingMessage:function(){return"Зареждане, моля изчакайте"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Не са намерени съвпадащи записи"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Скриване/Показване на странициране"},formatPaginationSwitchDown:function(){return"Показване на странициране"},formatPaginationSwitchUp:function(){return"Скриване на странициране"},formatPrint:function(){return"Печат"},formatRecordsPerPage:function(t){return"".concat(t," реда на страница")},formatRefresh:function(){return"Обновяване"},formatSRPaginationNextText:function(){return"следваща страница"},formatSRPaginationPageText:function(t){return"до страница ".concat(t)},formatSRPaginationPreText:function(){return"предишна страница"},formatSearch:function(){return"Търсене"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Показани редове от ".concat(t," до ").concat(n," от ").concat(r," (филтрирани от общо ").concat(o,")"):"Показани редове от ".concat(t," до ").concat(n," от общо ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Скриване на изглед карта"},formatToggleOn:function(){return"Показване на изглед карта"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["bg-BG"]),t.fn.bootstrapTable.locales["es-AR"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatCopyRows:function(){return"Copiar Filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," columnas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar datos"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"Ir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatRefresh:function(){return"Recargar"},formatSRPaginationNextText:function(){return"siguiente página"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando desde ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(o," columnas totales)"):"Mostrando desde ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista de carta"},formatToggleOn:function(){return"Mostrar vista de carta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-AR"]),t.fn.bootstrapTable.locales["es-CL"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatCopyRows:function(){return"Copiar Filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar datos"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"IR"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatRefresh:function(){return"Refrescar"},formatSRPaginationNextText:function(){return"siguiente página"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(o," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista de carta"},formatToggleOn:function(){return"Mostrar vista de carta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-CL"]),t.fn.bootstrapTable.locales["en-US"]=t.fn.bootstrapTable.locales.en={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Loading, please wait"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No matching records found"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatRefresh:function(){return"Refresh"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Search"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Showing ".concat(t," to ").concat(n," of ").concat(r," rows (filtered from ").concat(o," total rows)"):"Showing ".concat(t," to ").concat(n," of ").concat(r," rows")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["en-US"]),t.fn.bootstrapTable.locales["es-CR"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todas las filas"},formatAutoRefresh:function(){return"Actualización automática"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Alternar todo"},formatCopyRows:function(){return"Copiar filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar"},formatFilterControlSwitch:function(){return"Mostrar/ocultar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"Ver"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron resultados"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Mostrar/ocultar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"página siguiente"},formatSRPaginationPageText:function(t){return"ir a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de un total de ").concat(o," filas)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista en tarjetas"},formatToggleOn:function(){return"Mostrar vista en tarjetas"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-CR"]),t.fn.bootstrapTable.locales["es-ES"]=t.fn.bootstrapTable.locales.es={formatAddLevel:function(){return"Agregar nivel"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todos"},formatAutoRefresh:function(){return"Auto Recargar"},formatCancel:function(){return"Cancelar"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Columna"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatCopyRows:function(){return"Copiar filas"},formatDeleteLevel:function(){return"Eliminar nivel"},formatDetailPagination:function(t){return"Mostrando ".concat(t," fila").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Por favor, elimine o modifique las columnas duplicadas"},formatDuplicateAlertTitle:function(){return"¡Se encontraron entradas duplicadas!"},formatExport:function(){return"Exportar los datos"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"IR"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatMultipleSort:function(){return"Ordenación múltiple"},formatNoMatches:function(){return"No se encontraron resultados coincidentes"},formatOrder:function(){return"Orden"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatRefresh:function(){return"Recargar"},formatSRPaginationNextText:function(){return"siguiente página"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){var e=r>1?"s":"";return void 0!==o&&o>0&&o>r?"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(r," resultado").concat(e," (filtrado de un total de ").concat(o," fila").concat(e,")"):"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(r," resultado").concat(e)},formatSort:function(){return"Ordenar"},formatSortBy:function(){return"Ordenar por"},formatSortOrders:function(){return{asc:"Ascendente",desc:"Descendente"}},formatThenBy:function(){return"a continuación"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista de carta"},formatToggleOn:function(){return"Mostrar vista de carta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-ES"]),t.fn.bootstrapTable.locales["es-MX"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto actualizar"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Alternar todo"},formatCopyRows:function(){return"Copiar Filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar datos"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"IR"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros que coincidan"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Mostrar/ocultar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"página siguiente"},formatSRPaginationPageText:function(t){return"ir a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(o," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista"},formatToggleOn:function(){return"Mostrar vista"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-MX"]),t.fn.bootstrapTable.locales["es-SP"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Cargando, por favor espera"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se han encontrado registros."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," registros por p&#225;gina.")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(t," - ").concat(n," de ").concat(r," registros (filtered from ").concat(o," total rows)"):"".concat(t," - ").concat(n," de ").concat(r," registros.")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-SP"]),t.fn.bootstrapTable.locales["et-EE"]=t.fn.bootstrapTable.locales.et={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Kõik"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Veerud"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Päring käib, palun oota"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Päringu tingimustele ei vastanud ühtegi tulemust"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Näita/Peida lehtedeks jagamine"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rida lehe kohta")},formatRefresh:function(){return"Värskenda"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Otsi"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(r," tulemust (filtered from ").concat(o," total rows)"):"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(r," tulemust")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["et-EE"]),t.fn.bootstrapTable.locales["eu-EU"]=t.fn.bootstrapTable.locales.eu={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Guztiak"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Zutabeak"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Itxaron mesedez"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ez da emaitzarik aurkitu"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ezkutatu/Erakutsi orrikatzea"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," emaitza orriko.")},formatRefresh:function(){return"Eguneratu"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Bilatu"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(r," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten (filtered from ").concat(o," total rows)"):"".concat(r," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten.")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["eu-EU"]),t.fn.bootstrapTable.locales["es-NI"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatRefresh:function(){return"Refrescar"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(r," registros en total (filtered from ").concat(o," total rows)"):"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(r," registros en total")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-NI"]),t.fn.bootstrapTable.locales["fa-IR"]=t.fn.bootstrapTable.locales.fa={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"بستن"},formatAdvancedSearch:function(){return"جستجوی پیشرفته"},formatAllRows:function(){return"همه"},formatAutoRefresh:function(){return"رفرش اتوماتیک"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"پاک کردن جستجو"},formatColumn:function(){return"Column"},formatColumns:function(){return"سطر ها"},formatColumnsToggleAll:function(){return"تغییر وضعیت همه"},formatCopyRows:function(){return"کپی ردیف ها"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"نمایش ".concat(t," سطرها")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"خروجی دیتا"},formatFilterControlSwitch:function(){return"پنهان/نمایش دادن کنترل ها"},formatFilterControlSwitchHide:function(){return"پنهان کردن کنترل ها"},formatFilterControlSwitchShow:function(){return"نمایش کنترل ها"},formatFullscreen:function(){return"تمام صفحه"},formatJumpTo:function(){return"برو"},formatLoadingMessage:function(){return"در حال بارگذاری, لطفا صبر کنید"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"رکوردی یافت نشد."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"نمایش/مخفی صفحه بندی"},formatPaginationSwitchDown:function(){return"نمایش صفحه بندی"},formatPaginationSwitchUp:function(){return"پنهان کردن صفحه بندی"},formatPrint:function(){return"پرینت"},formatRecordsPerPage:function(t){return"".concat(t," رکورد در صفحه")},formatRefresh:function(){return"به روز رسانی"},formatSRPaginationNextText:function(){return"صفحه بعدی"},formatSRPaginationPageText:function(t){return"به صفحه ".concat(t)},formatSRPaginationPreText:function(){return"صفحه قبلی"},formatSearch:function(){return"جستجو"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"نمایش ".concat(t," تا ").concat(n," از ").concat(r," ردیف (filtered from ").concat(o," total rows)"):"نمایش ".concat(t," تا ").concat(n," از ").concat(r," ردیف")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fa-IR"]),t.fn.bootstrapTable.locales["fi-FI"]=t.fn.bootstrapTable.locales.fi={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Kaikki"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Poista suodattimet"},formatColumn:function(){return"Column"},formatColumns:function(){return"Sarakkeet"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Vie tiedot"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Ladataan, ole hyvä ja odota"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Hakuehtoja vastaavia tuloksia ei löytynyt"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Näytä/Piilota sivutus"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," riviä sivulla")},formatRefresh:function(){return"Päivitä"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Hae"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(r," (filtered from ").concat(o," total rows)"):"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fi-FI"]),t.fn.bootstrapTable.locales["fr-BE"]={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-BE"]),t.fn.bootstrapTable.locales["fr-CH"]={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-CH"]),t.fn.bootstrapTable.locales["da-DK"]=t.fn.bootstrapTable.locales.da={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Ryd filtre"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Viser ".concat(t," række").concat(t>1?"r":"")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksporter"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Indlæser, vent venligst"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ingen poster fundet"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skjul/vis nummerering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatRefresh:function(){return"Opdater"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Søg"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Viser ".concat(t," til ").concat(n," af ").concat(r," række").concat(r>1?"r":""," (filtered from ").concat(o," total rows)"):"Viser ".concat(t," til ").concat(n," af ").concat(r," række").concat(r>1?"r":"")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["da-DK"]),t.fn.bootstrapTable.locales["he-IL"]=t.fn.bootstrapTable.locales.he={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"הכל"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"עמודות"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"טוען, נא להמתין"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"לא נמצאו רשומות תואמות"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"הסתר/הצג מספור דפים"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," שורות בעמוד")},formatRefresh:function(){return"רענן"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"חיפוש"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"מציג ".concat(t," עד ").concat(n," מ-").concat(r,"שורות").concat(o," total rows)"):"מציג ".concat(t," עד ").concat(n," מ-").concat(r," שורות")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["he-IL"]),t.fn.bootstrapTable.locales["fr-LU"]={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-LU"]),t.fn.bootstrapTable.locales["fr-FR"]=t.fn.bootstrapTable.locales.fr={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-FR"]),t.fn.bootstrapTable.locales["hr-HR"]=t.fn.bootstrapTable.locales.hr={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Molimo pričekajte"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nije pronađen niti jedan zapis"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Prikaži/sakrij stranice"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," broj zapisa po stranici")},formatRefresh:function(){return"Osvježi"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Pretraži"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(r," (filtered from ").concat(o," total rows)"):"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hr-HR"]),t.fn.bootstrapTable.locales["hi-IN"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"बंद करे"},formatAdvancedSearch:function(){return"एडवांस सर्च"},formatAllRows:function(){return"सब"},formatAutoRefresh:function(){return"ऑटो रिफ्रेश"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"सर्च क्लिअर करें"},formatColumn:function(){return"Column"},formatColumns:function(){return"कॉलम"},formatColumnsToggleAll:function(){return"टॉगल आल"},formatCopyRows:function(){return"पंक्तियों की कॉपी करें"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"".concat(t," पंक्तियां")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"एक्सपोर्ट डाटा"},formatFilterControlSwitch:function(){return"छुपाओ/दिखाओ कंट्रोल्स"},formatFilterControlSwitchHide:function(){return"छुपाओ कंट्रोल्स"},formatFilterControlSwitchShow:function(){return"दिखाओ कंट्रोल्स"},formatFullscreen:function(){return"पूर्ण स्क्रीन"},formatJumpTo:function(){return"जाओ"},formatLoadingMessage:function(){return"लोड हो रहा है कृपया प्रतीक्षा करें"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"मेल खाते रिकॉर्ड नही मिले"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"छुपाओ/दिखाओ पृष्ठ संख्या"},formatPaginationSwitchDown:function(){return"दिखाओ पृष्ठ संख्या"},formatPaginationSwitchUp:function(){return"छुपाओ पृष्ठ संख्या"},formatPrint:function(){return"प्रिंट"},formatRecordsPerPage:function(t){return"".concat(t," प्रति पृष्ठ पंक्तियाँ")},formatRefresh:function(){return"रिफ्रेश"},formatSRPaginationNextText:function(){return"अगला पृष्ठ"},formatSRPaginationPageText:function(t){return"".concat(t," पृष्ठ पर")},formatSRPaginationPreText:function(){return"पिछला पृष्ठ"},formatSearch:function(){return"सर्च"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(t," - ").concat(n," पक्तिया ").concat(r," में से ( ").concat(o," पक्तिया)"):"".concat(t," - ").concat(n," पक्तिया ").concat(r," में से")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"कार्ड दृश्य छुपाएं"},formatToggleOn:function(){return"कार्ड दृश्य दिखाएं"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hi-IN"]),t.fn.bootstrapTable.locales["hu-HU"]=t.fn.bootstrapTable.locales.hu={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Összes"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Oszlopok"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Betöltés, kérem várjon"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nincs találat"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Lapozó elrejtése/megjelenítése"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rekord per oldal")},formatRefresh:function(){return"Frissítés"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Keresés"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Megjelenítve ".concat(t," - ").concat(n," / ").concat(r," összesen (filtered from ").concat(o," total rows)"):"Megjelenítve ".concat(t," - ").concat(n," / ").concat(r," összesen")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hu-HU"]),t.fn.bootstrapTable.locales["ja-JP"]=t.fn.bootstrapTable.locales.ja={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"すべて"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"読み込み中です。少々お待ちください。"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"該当するレコードが見つかりません"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"ページ数を表示・非表示"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"ページ当たり最大".concat(t,"件")},formatRefresh:function(){return"更新"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"検索"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"全".concat(r,"件から、").concat(t,"から").concat(n,"件目まで表示しています (filtered from ").concat(o," total rows)"):"全".concat(r,"件から、").concat(t,"から").concat(n,"件目まで表示しています")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ja-JP"]),t.fn.bootstrapTable.locales["ka-GE"]=t.fn.bootstrapTable.locales.ka={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"სვეტები"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"იტვირთება, გთხოვთ მოიცადოთ"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"მონაცემები არ არის"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"გვერდების გადამრთველის დამალვა/გამოჩენა"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," ჩანაწერი თითო გვერდზე")},formatRefresh:function(){return"განახლება"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"ძებნა"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(r,"-დან (filtered from ").concat(o," total rows)"):"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(r,"-დან")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ka-GE"]),t.fn.bootstrapTable.locales["id-ID"]=t.fn.bootstrapTable.locales.id={formatAddLevel:function(){return"Menambahkan level"},formatAdvancedCloseButton:function(){return"Tutup"},formatAdvancedSearch:function(){return"Pencarian lanjutan"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Penyegaran otomatis"},formatCancel:function(){return"Batal"},formatClearSearch:function(){return"Menghapus pencarian"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolom"},formatColumnsToggleAll:function(){return"Tampilkan semua"},formatCopyRows:function(){return"Salin baris"},formatDeleteLevel:function(){return"Menghapus level"},formatDetailPagination:function(t){return"Tampilan ".concat(t," baris")},formatDuplicateAlertDescription:function(){return"Harap hapus atau ubah entri duplikat"},formatDuplicateAlertTitle:function(){return"Entri duplikat telah ditemukan!"},formatExport:function(){return"Mengekspor data"},formatFilterControlSwitch:function(){return"Menyembunyikan/Menampilkan kontrol"},formatFilterControlSwitchHide:function(){return"Menyembunyikan kontrol"},formatFilterControlSwitchShow:function(){return"Menampilkan kontrol"},formatFullscreen:function(){return"Layar penuh"},formatJumpTo:function(){return"Pergi ke"},formatLoadingMessage:function(){return"Pemuatan sedang berlangsung"},formatMultipleSort:function(){return"Penyortiran ganda"},formatNoMatches:function(){return"Tidak ada hasil"},formatOrder:function(){return"Urutan"},formatPaginationSwitch:function(){return"Sembunyikan/Tampilkan penomoran halaman"},formatPaginationSwitchDown:function(){return"Tampilkan penomoran halaman"},formatPaginationSwitchUp:function(){return"Sembunyikan penomoran halaman"},formatPrint:function(){return"Mencetak"},formatRecordsPerPage:function(t){return"".concat(t," baris per halaman")},formatRefresh:function(){return"Segarkan"},formatSRPaginationNextText:function(){return"halaman berikutnya"},formatSRPaginationPageText:function(t){return"ke halaman ".concat(t)},formatSRPaginationPreText:function(){return"halaman sebelumnya"},formatSearch:function(){return"Pencarian"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Menampilkan dari ".concat(t," hingga ").concat(n," pada ").concat(r," baris (difilter dari ").concat(o," baris)"):"Menampilkan dari ".concat(t," hingga ").concat(n," pada ").concat(r," baris")},formatSort:function(){return"Penyortiran"},formatSortBy:function(){return"Urutkan berdasarkan"},formatSortOrders:function(){return{asc:"Menaik",desc:"Menurun"}},formatThenBy:function(){return"Kemudian oleh"},formatToggleCustomViewOff:function(){return"Menyembunyikan tampilan khusus"},formatToggleCustomViewOn:function(){return"Menampilkan tampilan khusus"},formatToggleOff:function(){return"Menyembunyikan tampilan peta"},formatToggleOn:function(){return"Menampilkan tampilan peta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["id-ID"]),t.fn.bootstrapTable.locales["ko-KR"]=t.fn.bootstrapTable.locales.ko={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"닫기"},formatAdvancedSearch:function(){return"심화 검색"},formatAllRows:function(){return"전체"},formatAutoRefresh:function(){return"자동 갱신"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"검색 초기화"},formatColumn:function(){return"Column"},formatColumns:function(){return"컬럼 필터링"},formatColumnsToggleAll:function(){return"전체 토글"},formatCopyRows:function(){return"행 복사"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"".concat(t," 행들 표시 중")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"데이터 추출"},formatFilterControlSwitch:function(){return"컨트롤 보기/숨기기"},formatFilterControlSwitchHide:function(){return"컨트롤 숨기기"},formatFilterControlSwitchShow:function(){return"컨트롤 보기"},formatFullscreen:function(){return"전체 화면"},formatJumpTo:function(){return"이동"},formatLoadingMessage:function(){return"데이터를 불러오는 중입니다"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"조회된 데이터가 없습니다."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"페이지 넘버 보기/숨기기"},formatPaginationSwitchDown:function(){return"페이지 넘버 보기"},formatPaginationSwitchUp:function(){return"페이지 넘버 숨기기"},formatPrint:function(){return"프린트"},formatRecordsPerPage:function(t){return"페이지 당 ".concat(t,"개 데이터 출력")},formatRefresh:function(){return"새로 고침"},formatSRPaginationNextText:function(){return"다음 페이지"},formatSRPaginationPageText:function(t){return"".concat(t," 페이지로 이동")},formatSRPaginationPreText:function(){return"이전 페이지"},formatSearch:function(){return"검색"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"전체 ".concat(r,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력, (전체 ").concat(o," 행에서 필터됨)"):"전체 ".concat(r,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력,")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"카드뷰 숨기기"},formatToggleOn:function(){return"카드뷰 보기"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ko-KR"]),t.fn.bootstrapTable.locales["lb-LU"]=t.fn.bootstrapTable.locales.lb={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zoumaachen"},formatAdvancedSearch:function(){return"Erweidert Sich"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Automatescht neilueden"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Sich réckgängeg maachen"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolonnen"},formatColumnsToggleAll:function(){return"All ëmschalten"},formatCopyRows:function(){return"Zeilen kopéieren"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Weist ".concat(t," Zeilen")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Daten exportéieren"},formatFilterControlSwitch:function(){return"Schaltelementer uweisen/verstoppen"},formatFilterControlSwitchHide:function(){return"Schaltelementer verstoppen"},formatFilterControlSwitchShow:function(){return"Schaltelementer uweisen"},formatFullscreen:function(){return"Vollbild"},formatJumpTo:function(){return"Sprangen"},formatLoadingMessage:function(){return"Gëtt gelueden, gedellëgt Iech wannechgelift ee Moment"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Keng passend Anträg fonnt"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Paginatioun uweisen/verstoppen"},formatPaginationSwitchDown:function(){return"Paginatioun uweisen"},formatPaginationSwitchUp:function(){return"Paginatioun verstoppen"},formatPrint:function(){return"Drécken"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen per Säit")},formatRefresh:function(){return"Nei lueden"},formatSRPaginationNextText:function(){return"nächst Säit"},formatSRPaginationPageText:function(t){return"op Säit ".concat(t)},formatSRPaginationPreText:function(){return"viregt Säit"},formatSearch:function(){return"Sich"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(r," Zeil").concat(r>1?"en":""," (gefiltert vun insgesamt ").concat(o," Zeil").concat(r>1?"en":"",")"):"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(r," Zeil").concat(r>1?"en":"")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Kaartenusiicht verstoppen"},formatToggleOn:function(){return"Kaartenusiicht uweisen"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["lb-LU"]),t.fn.bootstrapTable.locales["ms-MY"]=t.fn.bootstrapTable.locales.ms={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Lajur"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Permintaan sedang dimuatkan. Sila tunggu sebentar"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Tiada rekod yang menyamai permintaan"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Tunjuk/sembunyi muka surat"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rekod setiap muka surat")},formatRefresh:function(){return"Muatsemula"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Cari"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(r," rekod (filtered from ").concat(o," total rows)"):"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(r," rekod")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ms-MY"]),t.fn.bootstrapTable.locales["lt-LT"]=t.fn.bootstrapTable.locales.lt={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Uždaryti"},formatAdvancedSearch:function(){return"Išplėstinė paieška"},formatAllRows:function(){return"Viskas"},formatAutoRefresh:function(){return"Automatinis atnaujinimas"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Išvalyti paiešką"},formatColumn:function(){return"Column"},formatColumns:function(){return"Stulpeliai"},formatColumnsToggleAll:function(){return"Perjungti viską"},formatCopyRows:function(){return"Kopijuoti eilutes"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Rodomos ".concat(t," eilutės (-čių)")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksportuoti duomenis"},formatFilterControlSwitch:function(){return"Slėpti/rodyti valdiklius"},formatFilterControlSwitchHide:function(){return"Slėpti valdiklius"},formatFilterControlSwitchShow:function(){return"Rodyti valdiklius"},formatFullscreen:function(){return"Visame ekrane"},formatJumpTo:function(){return"Eiti"},formatLoadingMessage:function(){return"Įkeliama, palaukite"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Atitinkančių įrašų nerasta"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Slėpti/rodyti puslapių rūšiavimą"},formatPaginationSwitchDown:function(){return"Rodyti puslapių rūšiavimą"},formatPaginationSwitchUp:function(){return"Slėpti puslapių rūšiavimą"},formatPrint:function(){return"Spausdinti"},formatRecordsPerPage:function(t){return"".concat(t," eilučių puslapyje")},formatRefresh:function(){return"Atnaujinti"},formatSRPaginationNextText:function(){return"sekantis puslapis"},formatSRPaginationPageText:function(t){return"į puslapį ".concat(t)},formatSRPaginationPreText:function(){return"ankstesnis puslapis"},formatSearch:function(){return"Ieškoti"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Rodomos eilutės nuo ".concat(t," iki ").concat(n," iš ").concat(r," eilučių (atrinktos iš visų ").concat(o," eilučių)"):"Rodomos eilutės nuo ".concat(t," iki ").concat(n," iš ").concat(r," eilučių")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Slėpti kortelių rodinį"},formatToggleOn:function(){return"Rodyti kortelių rodinį"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["lt-LT"]),t.fn.bootstrapTable.locales["nb-NO"]=t.fn.bootstrapTable.locales.nb={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Oppdaterer, vennligst vent"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ingen poster funnet"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatRefresh:function(){return"Oppdater"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Søk"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Viser ".concat(t," til ").concat(n," av ").concat(r," rekker (filtered from ").concat(o," total rows)"):"Viser ".concat(t," til ").concat(n," av ").concat(r," rekker")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nb-NO"]),t.fn.bootstrapTable.locales["nl-BE"]={formatAddLevel:function(){return"Niveau toevoegen"},formatAdvancedCloseButton:function(){return"Sluiten"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatCancel:function(){return"Annuleren"},formatClearSearch:function(){return"Verwijder filters"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Niveau verwijderen"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Gelieve dubbele kolommen te verwijderen of wijzigen"},formatDuplicateAlertTitle:function(){return"Duplicaten gevonden!"},formatExport:function(){return"Exporteer gegevens"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"},formatFullscreen:function(){return"Volledig scherm"},formatJumpTo:function(){return"GA"},formatLoadingMessage:function(){return"Laden, even geduld"},formatMultipleSort:function(){return"Meervoudige sortering"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatOrder:function(){return"Volgorde"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatRefresh:function(){return"Vernieuwen"},formatSRPaginationNextText:function(){return"volgende pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationPreText:function(){return"vorige pagina"},formatSearch:function(){return"Zoeken"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":""," (gefilterd van ").concat(o," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":"")},formatSort:function(){return"Sorteren"},formatSortBy:function(){return"Sorteren op"},formatSortOrders:function(){return{asc:"Oplopend",desc:"Aflopend"}},formatThenBy:function(){return"vervolgens"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Verberg kaartweergave"},formatToggleOn:function(){return"Toon kaartweergave"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nl-BE"]),t.fn.bootstrapTable.locales["it-IT"]=t.fn.bootstrapTable.locales.it={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Chiudi"},formatAdvancedSearch:function(){return"Filtri avanzati"},formatAllRows:function(){return"Tutto"},formatAutoRefresh:function(){return"Auto Aggiornamento"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Pulisci filtri"},formatColumn:function(){return"Column"},formatColumns:function(){return"Colonne"},formatColumnsToggleAll:function(){return"Mostra tutte"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," elementi")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Esporta dati"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Schermo intero"},formatJumpTo:function(){return"VAI"},formatLoadingMessage:function(){return"Caricamento in corso"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nessun elemento trovato"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Nascondi/Mostra paginazione"},formatPaginationSwitchDown:function(){return"Mostra paginazione"},formatPaginationSwitchUp:function(){return"Nascondi paginazione"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," elementi per pagina")},formatRefresh:function(){return"Aggiorna"},formatSRPaginationNextText:function(){return"pagina successiva"},formatSRPaginationPageText:function(t){return"alla pagina ".concat(t)},formatSRPaginationPreText:function(){return"pagina precedente"},formatSearch:function(){return"Cerca"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(r," elementi (filtrati da ").concat(o," elementi totali)"):"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(r," elementi")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Nascondi visuale a scheda"},formatToggleOn:function(){return"Mostra visuale a scheda"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["it-IT"]),t.fn.bootstrapTable.locales["nl-NL"]=t.fn.bootstrapTable.locales.nl={formatAddLevel:function(){return"Niveau toevoegen"},formatAdvancedCloseButton:function(){return"Sluiten"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatCancel:function(){return"Annuleren"},formatClearSearch:function(){return"Verwijder filters"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Niveau verwijderen"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Gelieve dubbele kolommen te verwijderen of wijzigen"},formatDuplicateAlertTitle:function(){return"Duplicaten gevonden!"},formatExport:function(){return"Exporteer gegevens"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"},formatFullscreen:function(){return"Volledig scherm"},formatJumpTo:function(){return"GA"},formatLoadingMessage:function(){return"Laden, even geduld"},formatMultipleSort:function(){return"Meervoudige sortering"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatOrder:function(){return"Volgorde"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatRefresh:function(){return"Vernieuwen"},formatSRPaginationNextText:function(){return"volgende pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationPreText:function(){return"vorige pagina"},formatSearch:function(){return"Zoeken"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":""," (gefilterd van ").concat(o," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":"")},formatSort:function(){return"Sorteren"},formatSortBy:function(){return"Sorteren op"},formatSortOrders:function(){return{asc:"Oplopend",desc:"Aflopend"}},formatThenBy:function(){return"vervolgens"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Verberg kaartweergave"},formatToggleOn:function(){return"Toon kaartweergave"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nl-NL"]),t.fn.bootstrapTable.locales["pl-PL"]=t.fn.bootstrapTable.locales.pl={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zamknij"},formatAdvancedSearch:function(){return"Wyszukiwanie zaawansowane"},formatAllRows:function(){return"Wszystkie"},formatAutoRefresh:function(){return"Auto odświeżanie"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Wyczyść wyszukiwanie"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolumny"},formatColumnsToggleAll:function(){return"Zaznacz wszystko"},formatCopyRows:function(){return"Kopiuj wiersze"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Wyświetla ".concat(t," wierszy")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksport danych"},formatFilterControlSwitch:function(){return"Pokaż/Ukryj"},formatFilterControlSwitchHide:function(){return"Pokaż"},formatFilterControlSwitchShow:function(){return"Ukryj"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"Przejdź"},formatLoadingMessage:function(){return"Ładowanie, proszę czekać"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Niestety, nic nie znaleziono"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Pokaż/ukryj stronicowanie"},formatPaginationSwitchDown:function(){return"Pokaż stronicowanie"},formatPaginationSwitchUp:function(){return"Ukryj stronicowanie"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rekordów na stronę")},formatRefresh:function(){return"Odśwież"},formatSRPaginationNextText:function(){return"następna strona"},formatSRPaginationPageText:function(t){return"z ".concat(t)},formatSRPaginationPreText:function(){return"poprzednia strona"},formatSearch:function(){return"Szukaj"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(r," (filtered from ").concat(o," total rows)"):"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ukryj układ karty"},formatToggleOn:function(){return"Pokaż układ karty"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pl-PL"]),t.fn.bootstrapTable.locales["pt-BR"]=t.fn.bootstrapTable.locales.br={formatAddLevel:function(){return"Adicionar nível"},formatAdvancedCloseButton:function(){return"Fechar"},formatAdvancedSearch:function(){return"Pesquisa Avançada"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Atualização Automática"},formatCancel:function(){return"Cancelar"},formatClearSearch:function(){return"Limpar Pesquisa"},formatColumn:function(){return"Coluna"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Alternar tudo"},formatCopyRows:function(){return"Copiar linhas"},formatDeleteLevel:function(){return"Remover nível"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linha").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Por favor, remova ou altere as colunas duplicadas"},formatDuplicateAlertTitle:function(){return"Encontradas entradas duplicadas!"},formatExport:function(){return"Exportar dados"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Exibir controles"},formatFullscreen:function(){return"Tela cheia"},formatJumpTo:function(){return"Ir"},formatLoadingMessage:function(){return"Carregando, aguarde"},formatMultipleSort:function(){return"Ordenação múltipla"},formatNoMatches:function(){return"Nenhum registro encontrado"},formatOrder:function(){return"Ordem"},formatPaginationSwitch:function(){return"Ocultar/Exibir paginação"},formatPaginationSwitchDown:function(){return"Mostrar Paginação"},formatPaginationSwitchUp:function(){return"Esconder Paginação"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatRefresh:function(){return"Recarregar"},formatSRPaginationNextText:function(){return"próxima página"},formatSRPaginationPageText:function(t){return"ir para a página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Pesquisar"},formatShowingRows:function(t,n,r,o){var e=r>1?"s":"";return void 0!==o&&o>0&&o>r?"Exibindo ".concat(t," até ").concat(n," de ").concat(r," linha").concat(e," (filtrado de um total de ").concat(o," linha").concat(e,")"):"Exibindo ".concat(t," até ").concat(n," de ").concat(r," linha").concat(e)},formatSort:function(){return"Ordenar"},formatSortBy:function(){return"Ordenar por"},formatSortOrders:function(){return{asc:"Crescente",desc:"Decrescente"}},formatThenBy:function(){return"em seguida"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Mostrar visualização de cartão"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pt-BR"]),t.fn.bootstrapTable.locales["ro-RO"]=t.fn.bootstrapTable.locales.ro={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Toate"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Coloane"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Se incarca, va rugam asteptati"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nu au fost gasite inregistrari"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ascunde/Arata paginatia"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," inregistrari pe pagina")},formatRefresh:function(){return"Reincarca"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Cauta"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Arata de la ".concat(t," pana la ").concat(n," din ").concat(r," randuri (filtered from ").concat(o," total rows)"):"Arata de la ".concat(t," pana la ").concat(n," din ").concat(r," randuri")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ro-RO"]),t.fn.bootstrapTable.locales["pt-PT"]=t.fn.bootstrapTable.locales.pt={formatAddLevel:function(){return"Adicionar nível"},formatAdvancedCloseButton:function(){return"Fechar"},formatAdvancedSearch:function(){return"Pesquisa avançada"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Actualização autmática"},formatCancel:function(){return"Cancelar"},formatClearSearch:function(){return"Limpar Pesquisa"},formatColumn:function(){return"Coluna"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Activar tudo"},formatCopyRows:function(){return"Copiar Linhas"},formatDeleteLevel:function(){return"Remover nível"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linha").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Por favor, remova ou altere as colunas duplicadas"},formatDuplicateAlertTitle:function(){return"Foram encontradas entradas duplicadas!"},formatExport:function(){return"Exportar dados"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Esconder controlos"},formatFilterControlSwitchShow:function(){return"Exibir controlos"},formatFullscreen:function(){return"Ecrã completo"},formatJumpTo:function(){return"Avançar"},formatLoadingMessage:function(){return"A carregar, por favor aguarde"},formatMultipleSort:function(){return"Ordenação múltipla"},formatNoMatches:function(){return"Nenhum registo encontrado"},formatOrder:function(){return"Ordem"},formatPaginationSwitch:function(){return"Esconder/Mostrar paginação"},formatPaginationSwitchDown:function(){return"Mostrar página"},formatPaginationSwitchUp:function(){return"Esconder página"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," registos por página")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"próxima página"},formatSRPaginationPageText:function(t){return"ir para página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Pesquisa"},formatShowingRows:function(t,n,r,o){var e=r>1?"s":"";return void 0!==o&&o>0&&o>r?"A mostrar ".concat(t," at&eacute; ").concat(n," de ").concat(r," linha").concat(e," (filtrado de um total de ").concat(o," linha").concat(e,")"):"A mostrar ".concat(t," até ").concat(n," de ").concat(r," linha").concat(e)},formatSort:function(){return"Ordenar"},formatSortBy:function(){return"Ordenar por"},formatSortOrders:function(){return{asc:"Ascendente",desc:"Descendente"}},formatThenBy:function(){return"em seguida"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Esconder vista em forma de cartão"},formatToggleOn:function(){return"Mostrar vista em forma de cartão"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pt-PT"]),t.fn.bootstrapTable.locales["ru-RU"]=t.fn.bootstrapTable.locales.ru={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Закрыть"},formatAdvancedSearch:function(){return"Расширенный поиск"},formatAllRows:function(){return"Все"},formatAutoRefresh:function(){return"Автоматическое обновление"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Очистить фильтры"},formatColumn:function(){return"Column"},formatColumns:function(){return"Колонки"},formatColumnsToggleAll:function(){return"Выбрать все"},formatCopyRows:function(){return"Скопировать строки"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Загружено ".concat(t," строк")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Экспортировать данные"},formatFilterControlSwitch:function(){return"Скрыть/Показать панель инструментов"},formatFilterControlSwitchHide:function(){return"Скрыть панель инструментов"},formatFilterControlSwitchShow:function(){return"Показать панель инструментов"},formatFullscreen:function(){return"Полноэкранный режим"},formatJumpTo:function(){return"Стр."},formatLoadingMessage:function(){return"Пожалуйста, подождите, идёт загрузка"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ничего не найдено"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Скрыть/Показать постраничную навигацию"},formatPaginationSwitchDown:function(){return"Показать постраничную навигацию"},formatPaginationSwitchUp:function(){return"Скрыть постраничную навигацию"},formatPrint:function(){return"Печать"},formatRecordsPerPage:function(t){return"".concat(t," записей на страницу")},formatRefresh:function(){return"Обновить"},formatSRPaginationNextText:function(){return"следующая страница"},formatSRPaginationPageText:function(t){return"перейти к странице ".concat(t)},formatSRPaginationPreText:function(){return"предыдущая страница"},formatSearch:function(){return"Поиск"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Записи с ".concat(t," по ").concat(n," из ").concat(r," (отфильтровано, всего на сервере ").concat(o," записей)"):"Записи с ".concat(t," по ").concat(n," из ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Табличный режим просмотра"},formatToggleOn:function(){return"Показать записи в виде карточек"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ru-RU"]),t.fn.bootstrapTable.locales["sk-SK"]=t.fn.bootstrapTable.locales.sk={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zatvoriť"},formatAdvancedSearch:function(){return"Pokročilé vyhľadávanie"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Automatické obnovenie"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Odstráň filtre"},formatColumn:function(){return"Column"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Prepnúť všetky"},formatCopyRows:function(){return"Skopírovať riadky"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Zobrazuje sa ".concat(t," riadkov")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportuj dáta"},formatFilterControlSwitch:function(){return"Zobraziť/Skryť tlačidlá"},formatFilterControlSwitchHide:function(){return"Skryť tlačidlá"},formatFilterControlSwitchShow:function(){return"Zobraziť tlačidlá"},formatFullscreen:function(){return"Celá obrazovka"},formatJumpTo:function(){return"Ísť"},formatLoadingMessage:function(){return"Prosím čakajte"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nenájdená žiadna vyhovujúca položka"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skry/Zobraz stránkovanie"},formatPaginationSwitchDown:function(){return"Zobraziť stránkovanie"},formatPaginationSwitchUp:function(){return"Skryť stránkovanie"},formatPrint:function(){return"Vytlačiť"},formatRecordsPerPage:function(t){return"".concat(t," záznamov na stranu")},formatRefresh:function(){return"Obnoviť"},formatSRPaginationNextText:function(){return"Nasledujúca strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationPreText:function(){return"Predchádzajúca strana"},formatSearch:function(){return"Vyhľadávanie"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r," (filtered from ").concat(o," total rows)"):"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"skryť kartové zobrazenie"},formatToggleOn:function(){return"Zobraziť kartové zobrazenie"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sk-SK"]),t.fn.bootstrapTable.locales["sl-SI"]=t.fn.bootstrapTable.locales.sl={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zapri"},formatAdvancedSearch:function(){return"Napredno iskanje"},formatAllRows:function(){return"Vse"},formatAutoRefresh:function(){return"Samodejna osvežitev"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Počisti"},formatColumn:function(){return"Column"},formatColumns:function(){return"Stolpci"},formatColumnsToggleAll:function(){return"Preklopi vse"},formatCopyRows:function(){return"Kopiraj vrstice"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Prikaz ".concat(t," vrstic")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Izvoz podatkov"},formatFilterControlSwitch:function(){return"Skrij/Pokaži kontrole"},formatFilterControlSwitchHide:function(){return"Skrij kontrole"},formatFilterControlSwitchShow:function(){return"Pokaži kontrole"},formatFullscreen:function(){return"Celozaslonski prikaz"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Prosim počakajte..."},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ni najdenih rezultatov"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skrij/Pokaži oštevilčevanje strani"},formatPaginationSwitchDown:function(){return"Pokaži oštevilčevanje strani"},formatPaginationSwitchUp:function(){return"Skrij oštevilčevanje strani"},formatPrint:function(){return"Natisni"},formatRecordsPerPage:function(t){return"".concat(t," vrstic na stran")},formatRefresh:function(){return"Osveži"},formatSRPaginationNextText:function(){return"na slednja stran"},formatSRPaginationPageText:function(t){return"na stran ".concat(t)},formatSRPaginationPreText:function(){return"prejšnja stran"},formatSearch:function(){return"Iskanje"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Prikaz ".concat(t," do ").concat(n," od ").concat(r," vrstic (filtrirano od skupno ").concat(o," vrstic)"):"Prikaz ".concat(t," do ").concat(n," od ").concat(r," vrstic")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Skrij kartični pogled"},formatToggleOn:function(){return"Prikaži kartični pogled"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sl-SI"]),t.fn.bootstrapTable.locales["sr-Cyrl-RS"]=t.fn.bootstrapTable.locales.sr={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Затвори"},formatAdvancedSearch:function(){return"Напредна претрага"},formatAllRows:function(){return"Све"},formatAutoRefresh:function(){return"Аутоматско освежавање"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Обриши претрагу"},formatColumn:function(){return"Column"},formatColumns:function(){return"Колоне"},formatColumnsToggleAll:function(){return"Прикажи/сакриј све"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Приказано ".concat(t," редова")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Извези податке"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Цео екран"},formatJumpTo:function(){return"Иди"},formatLoadingMessage:function(){return"Молим сачекај"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Није пронађен ни један податак"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Прикажи/сакриј пагинацију"},formatPaginationSwitchDown:function(){return"Прикажи пагинацију"},formatPaginationSwitchUp:function(){return"Сакриј пагинацију"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," редова по страни")},formatRefresh:function(){return"Освежи"},formatSRPaginationNextText:function(){return"следећа страна"},formatSRPaginationPageText:function(t){return"на страну ".concat(t)},formatSRPaginationPreText:function(){return"претходна страна"},formatSearch:function(){return"Пронађи"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r," (филтрирано од ").concat(o,")"):"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Сакриј картице"},formatToggleOn:function(){return"Прикажи картице"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sr-Cyrl-RS"]),t.fn.bootstrapTable.locales["sv-SE"]=t.fn.bootstrapTable.locales.sv={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"kolumn"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Laddar, vänligen vänta"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Inga matchande resultat funna."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rader per sida")},formatRefresh:function(){return"Uppdatera"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Sök"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Visa ".concat(t," till ").concat(n," av ").concat(r," rader (filtered from ").concat(o," total rows)"):"Visa ".concat(t," till ").concat(n," av ").concat(r," rader")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sv-SE"]),t.fn.bootstrapTable.locales["sr-Latn-RS"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zatvori"},formatAdvancedSearch:function(){return"Napredna pretraga"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Automatsko osvežavanje"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Obriši pretragu"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Prikaži/sakrij sve"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Prikazano ".concat(t," redova")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Izvezi podatke"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Ceo ekran"},formatJumpTo:function(){return"Idi"},formatLoadingMessage:function(){return"Molim sačekaj"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nije pronađen ni jedan podatak"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Prikaži/sakrij paginaciju"},formatPaginationSwitchDown:function(){return"Prikaži paginaciju"},formatPaginationSwitchUp:function(){return"Sakrij paginaciju"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," redova po strani")},formatRefresh:function(){return"Osveži"},formatSRPaginationNextText:function(){return"sledeća strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationPreText:function(){return"prethodna strana"},formatSearch:function(){return"Pronađi"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(r," (filtrirano od ").concat(o,")"):"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Sakrij kartice"},formatToggleOn:function(){return"Prikaži kartice"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sr-Latn-RS"]),t.fn.bootstrapTable.locales["th-TH"]=t.fn.bootstrapTable.locales.th={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"คอลัมน์"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"กำลังโหลดข้อมูล, กรุณารอสักครู่"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"ไม่พบรายการที่ค้นหา !"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," รายการต่อหน้า")},formatRefresh:function(){return"รีเฟรส"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"ค้นหา"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(r," รายการ (filtered from ").concat(o," total rows)"):"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(r," รายการ")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["th-TH"]),t.fn.bootstrapTable.locales["tr-TR"]=t.fn.bootstrapTable.locales.tr={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Kapat"},formatAdvancedSearch:function(){return"Gelişmiş Arama"},formatAllRows:function(){return"Tüm Satırlar"},formatAutoRefresh:function(){return"Otomatik Yenileme"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Aramayı Temizle"},formatColumn:function(){return"Column"},formatColumns:function(){return"Sütunlar"},formatColumnsToggleAll:function(){return"Tümünü Kapat"},formatCopyRows:function(){return"Satırları Kopyala"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"".concat(t," satır gösteriliyor")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Verileri Dışa Aktar"},formatFilterControlSwitch:function(){return"Kontrolleri Gizle/Göster"},formatFilterControlSwitchHide:function(){return"Kontrolleri Gizle"},formatFilterControlSwitchShow:function(){return"Kontrolleri Göster"},formatFullscreen:function(){return"Tam Ekran"},formatJumpTo:function(){return"Git"},formatLoadingMessage:function(){return"Yükleniyor, lütfen bekleyin"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Eşleşen kayıt bulunamadı."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Sayfalamayı Gizle/Göster"},formatPaginationSwitchDown:function(){return"Sayfalamayı Göster"},formatPaginationSwitchUp:function(){return"Sayfalamayı Gizle"},formatPrint:function(){return"Yazdır"},formatRecordsPerPage:function(t){return"Sayfa başına ".concat(t," kayıt.")},formatRefresh:function(){return"Yenile"},formatSRPaginationNextText:function(){return"sonraki sayfa"},formatSRPaginationPageText:function(t){return"sayfa ".concat(t)},formatSRPaginationPreText:function(){return"önceki sayfa"},formatSearch:function(){return"Ara"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(r," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor (").concat(o," toplam satır filtrelendi)."):"".concat(r," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor.")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Kart Görünümünü Gizle"},formatToggleOn:function(){return"Kart Görünümünü Göster"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["tr-TR"]),t.fn.bootstrapTable.locales["uk-UA"]=t.fn.bootstrapTable.locales.uk={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Закрити"},formatAdvancedSearch:function(){return"Розширений пошук"},formatAllRows:function(){return"Усі"},formatAutoRefresh:function(){return"Автооновлення"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Скинути фільтри"},formatColumn:function(){return"Column"},formatColumns:function(){return"Стовпці"},formatColumnsToggleAll:function(){return"Переключити усі"},formatCopyRows:function(){return"Скопіювати рядки"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Відображено ".concat(t," рядків")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Експортувати дані"},formatFilterControlSwitch:function(){return"Сховати/Відобразити елементи керування"},formatFilterControlSwitchHide:function(){return"Сховати елементи керування"},formatFilterControlSwitchShow:function(){return"Відобразити елементи керування"},formatFullscreen:function(){return"Повноекранний режим"},formatJumpTo:function(){return"Швидкий перехід до"},formatLoadingMessage:function(){return"Завантаження, будь ласка, зачекайте"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Не знайдено жодного запису"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Сховати/Відобразити пагінацію"},formatPaginationSwitchDown:function(){return"Відобразити пагінацію"},formatPaginationSwitchUp:function(){return"Сховати пагінацію"},formatPrint:function(){return"Друк"},formatRecordsPerPage:function(t){return"".concat(t," рядків на сторінку")},formatRefresh:function(){return"Оновити"},formatSRPaginationNextText:function(){return"наступна сторінка"},formatSRPaginationPageText:function(t){return"до сторінки ".concat(t)},formatSRPaginationPreText:function(){return"попередня сторінка"},formatSearch:function(){return"Пошук"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Відображено рядки з ".concat(t," по ").concat(n," з ").concat(r," загалом (відфільтровано з ").concat(o," рядків)"):"Відображено рядки з ".concat(t," по ").concat(n," з ").concat(r," загалом")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Вимкнути формат карток"},formatToggleOn:function(){return"Відобразити у форматі карток"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["uk-UA"]),t.fn.bootstrapTable.locales["ur-PK"]=t.fn.bootstrapTable.locales.ur={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"کالم"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"براۓ مہربانی انتظار کیجئے"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"کوئی ریکارڈ نہیں ملا"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," ریکارڈز فی صفہ ")},formatRefresh:function(){return"تازہ کریں"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"تلاش"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(r,"ریکارڈز (filtered from ").concat(o," total rows)"):"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(r,"ریکارڈز")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ur-PK"]),t.fn.bootstrapTable.locales["vi-VN"]=t.fn.bootstrapTable.locales.vi={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Đóng"},formatAdvancedSearch:function(){return"Tìm kiếm nâng cao"},formatAllRows:function(){return"Tất cả"},formatAutoRefresh:function(){return"Tự động làm mới"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Xoá tìm kiếm"},formatColumn:function(){return"Column"},formatColumns:function(){return"Cột"},formatColumnsToggleAll:function(){return"Hiện tất cả"},formatCopyRows:function(){return"Sao chép hàng"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Đang hiện ".concat(t," hàng")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Xuất dữ liệu"},formatFilterControlSwitch:function(){return"Ẩn/Hiện điều khiển"},formatFilterControlSwitchHide:function(){return"Ẩn điều khiển"},formatFilterControlSwitchShow:function(){return"Hiện điều khiển"},formatFullscreen:function(){return"Toàn màn hình"},formatJumpTo:function(){return"Đến"},formatLoadingMessage:function(){return"Đang tải"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Không có dữ liệu"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ẩn/Hiện phân trang"},formatPaginationSwitchDown:function(){return"Hiện phân trang"},formatPaginationSwitchUp:function(){return"Ẩn phân trang"},formatPrint:function(){return"In"},formatRecordsPerPage:function(t){return"".concat(t," bản ghi mỗi trang")},formatRefresh:function(){return"Làm mới"},formatSRPaginationNextText:function(){return"trang sau"},formatSRPaginationPageText:function(t){return"đến trang ".concat(t)},formatSRPaginationPreText:function(){return"trang trước"},formatSearch:function(){return"Tìm kiếm"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(r," bản ghi (được lọc từ tổng ").concat(o," hàng)"):"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(r," bản ghi")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ẩn các thẻ"},formatToggleOn:function(){return"Hiển thị các thẻ"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["vi-VN"]),t.fn.bootstrapTable.locales["zh-CN"]=t.fn.bootstrapTable.locales.zh={formatAddLevel:function(){return"增加层级"},formatAdvancedCloseButton:function(){return"关闭"},formatAdvancedSearch:function(){return"高级搜索"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自动刷新"},formatCancel:function(){return"取消"},formatClearSearch:function(){return"清空过滤"},formatColumn:function(){return"列"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切换所有"},formatCopyRows:function(){return"复制行"},formatDeleteLevel:function(){return"删除层级"},formatDetailPagination:function(t){return"总共 ".concat(t," 条记录")},formatDuplicateAlertDescription:function(){return"请删除或修改重复的列。"},formatDuplicateAlertTitle:function(){return"检测到重复项!"},formatExport:function(){return"导出数据"},formatFilterControlSwitch:function(){return"隐藏/显示过滤控制"},formatFilterControlSwitchHide:function(){return"隐藏过滤控制"},formatFilterControlSwitchShow:function(){return"显示过滤控制"},formatFullscreen:function(){return"全屏"},formatJumpTo:function(){return"跳转"},formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候"},formatMultipleSort:function(){return"多重排序"},formatNoMatches:function(){return"没有找到匹配的记录"},formatOrder:function(){return"排序"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatPaginationSwitchDown:function(){return"显示分页"},formatPaginationSwitchUp:function(){return"隐藏分页"},formatPrint:function(){return"打印"},formatRecordsPerPage:function(t){return"每页显示 ".concat(t," 条记录")},formatRefresh:function(){return"刷新"},formatSRPaginationNextText:function(){return"下一页"},formatSRPaginationPageText:function(t){return"第".concat(t,"页")},formatSRPaginationPreText:function(){return"上一页"},formatSearch:function(){return"搜索"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(r," 条记录(从 ").concat(o," 总记录中过滤)"):"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(r," 条记录")},formatSort:function(){return"排序"},formatSortBy:function(){return"排序依据"},formatSortOrders:function(){return{asc:"升序",desc:"降序"}},formatThenBy:function(){return"然后按"},formatToggleCustomViewOff:function(){return"隐藏自定义视图"},formatToggleCustomViewOn:function(){return"显示自定义视图"},formatToggleOff:function(){return"隐藏卡片视图"},formatToggleOn:function(){return"显示卡片视图"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["zh-CN"]),t.fn.bootstrapTable.locales["zh-TW"]={formatAddLevel:function(){return"增加層級"},formatAdvancedCloseButton:function(){return"關閉"},formatAdvancedSearch:function(){return"高級搜尋"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自動刷新"},formatCancel:function(){return"取消"},formatClearSearch:function(){return"清空過濾"},formatColumn:function(){return"列"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切換所有"},formatCopyRows:function(){return"複製行"},formatDeleteLevel:function(){return"刪除層級"},formatDetailPagination:function(t){return"總共 ".concat(t," 項記錄")},formatDuplicateAlertDescription:function(){return"請刪除或修改重複的列。"},formatDuplicateAlertTitle:function(){return"檢測到重複項!"},formatExport:function(){return"導出數據"},formatFilterControlSwitch:function(){return"隱藏/顯示過濾控制"},formatFilterControlSwitchHide:function(){return"隱藏過濾控制"},formatFilterControlSwitchShow:function(){return"顯示過濾控制"},formatFullscreen:function(){return"全屏"},formatJumpTo:function(){return"跳轉"},formatLoadingMessage:function(){return"正在努力地載入資料,請稍候"},formatMultipleSort:function(){return"多重排序"},formatNoMatches:function(){return"沒有找到符合的結果"},formatOrder:function(){return"排序"},formatPaginationSwitch:function(){return"隱藏/顯示分頁"},formatPaginationSwitchDown:function(){return"顯示分頁"},formatPaginationSwitchUp:function(){return"隱藏分頁"},formatPrint:function(){return"列印"},formatRecordsPerPage:function(t){return"每頁顯示 ".concat(t," 項記錄")},formatRefresh:function(){return"重新整理"},formatSRPaginationNextText:function(){return"下一頁"},formatSRPaginationPageText:function(t){return"第".concat(t,"頁")},formatSRPaginationPreText:function(){return"上一頁"},formatSearch:function(){return"搜尋"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(r," 項記錄(從 ").concat(o," 總記錄中過濾)"):"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(r," 項記錄")},formatSort:function(){return"排序"},formatSortBy:function(){return"排序依據"},formatSortOrders:function(){return{asc:"升序",desc:"降序"}},formatThenBy:function(){return"然後按"},formatToggleCustomViewOff:function(){return"隱藏自定義視圖"},formatToggleCustomViewOn:function(){return"顯示自定義視圖"},formatToggleOff:function(){return"隱藏卡片視圖"},formatToggleOn:function(){return"顯示卡片視圖"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["zh-TW"]),t.fn.bootstrapTable.locales["uz-Latn-UZ"]=t.fn.bootstrapTable.locales.uz={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Hammasi"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Filtrlarni tozalash"},formatColumn:function(){return"Column"},formatColumns:function(){return"Ustunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksport"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Yuklanyapti, iltimos kuting"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Hech narsa topilmadi"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Sahifalashni yashirish/ko'rsatish"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," qator har sahifada")},formatRefresh:function(){return"Yangilash"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Qidirish"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(r," qatorlarni (filtered from ").concat(o," total rows)"):"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(r," qatorlarni")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["uz-Latn-UZ"])}));
+!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,function(t){"use strict";var n,r,o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function a(){if(r)return n;r=1;var t=function(t){return t&&t.Math===Math&&t};return n=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o&&o)||t("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var u,i,c,f,l,m,s,g,d={};function p(){return i?u:(i=1,u=function(t){try{return!!t()}catch(t){return!0}})}function h(){if(f)return c;f=1;var t=p();return c=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function S(){if(m)return l;m=1;var t=p();return l=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function w(){if(g)return s;g=1;var t=S(),n=Function.prototype.call;return s=t?n.bind(n):function(){return n.apply(n,arguments)},s}var v,T,C,P,b,A,R,O,y,D,x,M,k,L,F,H,j,B,V,N,E,z,U,G,J,Z,I,K,q,W,Y,_,X,Q,$,tt,nt,rt,ot,et,at,ut={};function it(){if(v)return ut;v=1;var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);return ut.f=r?function(t){var r=n(this,t);return!!r&&r.enumerable}:t,ut}function ct(){return C?T:(C=1,T=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}})}function ft(){if(b)return P;b=1;var t=S(),n=Function.prototype,r=n.call,o=t&&n.bind.bind(r,r);return P=t?o:function(t){return function(){return r.apply(t,arguments)}},P}function lt(){if(R)return A;R=1;var t=ft(),n=t({}.toString),r=t("".slice);return A=function(t){return r(n(t),8,-1)}}function mt(){if(y)return O;y=1;var t=ft(),n=p(),r=lt(),o=Object,e=t("".split);return O=n(function(){return!o("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?e(t,""):o(t)}:o}function st(){return x?D:(x=1,D=function(t){return null==t})}function gt(){if(k)return M;k=1;var t=st(),n=TypeError;return M=function(r){if(t(r))throw new n("Can't call method on "+r);return r}}function dt(){if(F)return L;F=1;var t=mt(),n=gt();return L=function(r){return t(n(r))}}function pt(){if(j)return H;j=1;var t="object"==typeof document&&document.all;return H=void 0===t&&void 0!==t?function(n){return"function"==typeof n||n===t}:function(t){return"function"==typeof t}}function ht(){if(V)return B;V=1;var t=pt();return B=function(n){return"object"==typeof n?null!==n:t(n)}}function St(){if(E)return N;E=1;var t=a(),n=pt();return N=function(r,o){return arguments.length<2?(e=t[r],n(e)?e:void 0):t[r]&&t[r][o];var e},N}function wt(){if(I)return Z;I=1;var t,n,r=a(),o=function(){if(J)return G;J=1;var t=a().navigator,n=t&&t.userAgent;return G=n?String(n):""}(),e=r.process,u=r.Deno,i=e&&e.versions||u&&u.version,c=i&&i.v8;return c&&(n=(t=c.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!n&&o&&(!(t=o.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=o.match(/Chrome\/(\d+)/))&&(n=+t[1]),Z=n}function vt(){if(q)return K;q=1;var t=wt(),n=p(),r=a().String;return K=!!Object.getOwnPropertySymbols&&!n(function(){var n=Symbol("symbol detection");return!r(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Tt(){if(Y)return W;Y=1;var t=vt();return W=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ct(){if(X)return _;X=1;var t=St(),n=pt(),r=function(){if(U)return z;U=1;var t=ft();return z=t({}.isPrototypeOf)}(),o=Tt(),e=Object;return _=o?function(t){return"symbol"==typeof t}:function(o){var a=t("Symbol");return n(a)&&r(a.prototype,e(o))}}function Pt(){if($)return Q;$=1;var t=String;return Q=function(n){try{return t(n)}catch(t){return"Object"}}}function bt(){if(nt)return tt;nt=1;var t=pt(),n=Pt(),r=TypeError;return tt=function(o){if(t(o))return o;throw new r(n(o)+" is not a function")}}function At(){if(ot)return rt;ot=1;var t=bt(),n=st();return rt=function(r,o){var e=r[o];return n(e)?void 0:t(e)}}function Rt(){if(at)return et;at=1;var t=w(),n=pt(),r=ht(),o=TypeError;return et=function(e,a){var u,i;if("string"===a&&n(u=e.toString)&&!r(i=t(u,e)))return i;if(n(u=e.valueOf)&&!r(i=t(u,e)))return i;if("string"!==a&&n(u=e.toString)&&!r(i=t(u,e)))return i;throw new o("Can't convert object to primitive value")}}var Ot,yt,Dt,xt,Mt,kt,Lt,Ft,Ht,jt,Bt,Vt,Nt,Et,zt,Ut,Gt,Jt,Zt,It,Kt,qt,Wt,Yt,_t={exports:{}};function Xt(){if(xt)return Dt;xt=1;var t=a(),n=Object.defineProperty;return Dt=function(r,o){try{n(t,r,{value:o,configurable:!0,writable:!0})}catch(n){t[r]=o}return o}}function Qt(){if(Mt)return _t.exports;Mt=1;var t=yt?Ot:(yt=1,Ot=!1),n=a(),r=Xt(),o="__core-js_shared__",e=_t.exports=n[o]||r(o,{});return(e.versions||(e.versions=[])).push({version:"3.49.0",mode:t?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),_t.exports}function $t(){if(Lt)return kt;Lt=1;var t=Qt();return kt=function(n,r){return t[n]||(t[n]=r||{})}}function tn(){if(Ht)return Ft;Ht=1;var t=gt(),n=Object;return Ft=function(r){return n(t(r))}}function nn(){if(Bt)return jt;Bt=1;var t=ft(),n=tn(),r=t({}.hasOwnProperty);return jt=Object.hasOwn||function(t,o){return r(n(t),o)}}function rn(){if(Nt)return Vt;Nt=1;var t=ft(),n=0,r=Math.random(),o=t(1.1.toString);return Vt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++n+r,36)}}function on(){if(zt)return Et;zt=1;var t=a(),n=$t(),r=nn(),o=rn(),e=vt(),u=Tt(),i=t.Symbol,c=n("wks"),f=u?i.for||i:i&&i.withoutSetter||o;return Et=function(t){return r(c,t)||(c[t]=e&&r(i,t)?i[t]:f("Symbol."+t)),c[t]}}function en(){if(Gt)return Ut;Gt=1;var t=w(),n=ht(),r=Ct(),o=At(),e=Rt(),a=on(),u=TypeError,i=a("toPrimitive");return Ut=function(a,c){if(!n(a)||r(a))return a;var f,l=o(a,i);if(l){if(void 0===c&&(c="default"),f=t(l,a,c),!n(f)||r(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),e(a,c)}}function an(){if(Zt)return Jt;Zt=1;var t=en(),n=Ct();return Jt=function(r){var o=t(r,"string");return n(o)?o:o+""}}function un(){if(Wt)return qt;Wt=1;var t=h(),n=p(),r=function(){if(Kt)return It;Kt=1;var t=a(),n=ht(),r=t.document,o=n(r)&&n(r.createElement);return It=function(t){return o?r.createElement(t):{}}}();return qt=!t&&!n(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function cn(){if(Yt)return d;Yt=1;var t=h(),n=w(),r=it(),o=ct(),e=dt(),a=an(),u=nn(),i=un(),c=Object.getOwnPropertyDescriptor;return d.f=t?c:function(t,f){if(t=e(t),f=a(f),i)try{return c(t,f)}catch(t){}if(u(t,f))return o(!n(r.f,t,f),t[f])},d}var fn,ln,mn,sn,gn,dn,pn,hn={};function Sn(){if(sn)return mn;sn=1;var t=ht(),n=String,r=TypeError;return mn=function(o){if(t(o))return o;throw new r(n(o)+" is not an object")}}function wn(){if(gn)return hn;gn=1;var t=h(),n=un(),r=function(){if(ln)return fn;ln=1;var t=h(),n=p();return fn=t&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}(),o=Sn(),e=an(),a=TypeError,u=Object.defineProperty,i=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",l="writable";return hn.f=t?r?function(t,n,r){if(o(t),n=e(n),o(r),"function"==typeof t&&"prototype"===n&&"value"in r&&l in r&&!r[l]){var a=i(t,n);a&&a[l]&&(t[n]=r.value,r={configurable:f in r?r[f]:a[f],enumerable:c in r?r[c]:a[c],writable:!1})}return u(t,n,r)}:u:function(t,r,i){if(o(t),r=e(r),o(i),n)try{return u(t,r,i)}catch(t){}if("get"in i||"set"in i)throw new a("Accessors not supported");return"value"in i&&(t[r]=i.value),t},hn}function vn(){if(pn)return dn;pn=1;var t=h(),n=wn(),r=ct();return dn=t?function(t,o,e){return n.f(t,o,r(1,e))}:function(t,n,r){return t[n]=r,t}}var Tn,Cn,Pn,bn,An,Rn,On,yn,Dn,xn,Mn,kn,Ln,Fn,Hn,jn={exports:{}};function Bn(){if(bn)return Pn;bn=1;var t=ft(),n=pt(),r=Qt(),o=t(Function.toString);return n(r.inspectSource)||(r.inspectSource=function(t){return o(t)}),Pn=r.inspectSource}function Vn(){if(yn)return On;yn=1;var t=$t(),n=rn(),r=t("keys");return On=function(t){return r[t]||(r[t]=n(t))}}function Nn(){return xn?Dn:(xn=1,Dn={})}function En(){if(kn)return Mn;kn=1;var t,n,r,o=function(){if(Rn)return An;Rn=1;var t=a(),n=pt(),r=t.WeakMap;return An=n(r)&&/native code/.test(String(r))}(),e=a(),u=ht(),i=vn(),c=nn(),f=Qt(),l=Vn(),m=Nn(),s="Object already initialized",g=e.TypeError,d=e.WeakMap;if(o||f.state){var p=f.state||(f.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,n){if(p.has(t))throw new g(s);return n.facade=t,p.set(t,n),n},n=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var h=l("state");m[h]=!0,t=function(t,n){if(c(t,h))throw new g(s);return n.facade=t,i(t,h,n),n},n=function(t){return c(t,h)?t[h]:{}},r=function(t){return c(t,h)}}return Mn={set:t,get:n,has:r,enforce:function(o){return r(o)?n(o):t(o,{})},getterFor:function(t){return function(r){var o;if(!u(r)||(o=n(r)).type!==t)throw new g("Incompatible receiver, "+t+" required");return o}}}}function zn(){if(Ln)return jn.exports;Ln=1;var t=ft(),n=p(),r=pt(),o=nn(),e=h(),a=function(){if(Cn)return Tn;Cn=1;var t=h(),n=nn(),r=Function.prototype,o=t&&Object.getOwnPropertyDescriptor,e=n(r,"name"),a=e&&"something"===function(){}.name,u=e&&(!t||t&&o(r,"name").configurable);return Tn={EXISTS:e,PROPER:a,CONFIGURABLE:u}}().CONFIGURABLE,u=Bn(),i=En(),c=i.enforce,f=i.get,l=String,m=Object.defineProperty,s=t("".slice),g=t("".replace),d=t([].join),S=e&&!n(function(){return 8!==m(function(){},"length",{value:8}).length}),w=String(String).split("String"),v=jn.exports=function(t,n,r){"Symbol("===s(l(n),0,7)&&(n="["+g(l(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!o(t,"name")||a&&t.name!==n)&&(e?m(t,"name",{value:n,configurable:!0}):t.name=n),S&&r&&o(r,"arity")&&t.length!==r.arity&&m(t,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?e&&m(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=c(t);return o(u,"source")||(u.source=d(w,"string"==typeof n?n:"")),t};return Function.prototype.toString=v(function(){return r(this)&&f(this).source||u(this)},"toString"),jn.exports}function Un(){if(Hn)return Fn;Hn=1;var t=pt(),n=wn(),r=zn(),o=Xt();return Fn=function(e,a,u,i){i||(i={});var c=i.enumerable,f=void 0!==i.name?i.name:a;if(t(u)&&r(u,f,i),i.global)c?e[a]=u:o(a,u);else{try{i.unsafe?e[a]&&(c=!0):delete e[a]}catch(t){}c?e[a]=u:n.f(e,a,{value:u,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}}var Gn,Jn,Zn,In,Kn,qn,Wn,Yn,_n,Xn,Qn,$n,tr,nr,rr,or,er,ar={};function ur(){if(In)return Zn;In=1;var t=function(){if(Jn)return Gn;Jn=1;var t=Math.ceil,n=Math.floor;return Gn=Math.trunc||function(r){var o=+r;return(o>0?n:t)(o)}}();return Zn=function(n){var r=+n;return r!=r||0===r?0:t(r)}}function ir(){if(qn)return Kn;qn=1;var t=ur(),n=Math.max,r=Math.min;return Kn=function(o,e){var a=t(o);return a<0?n(a+e,0):r(a,e)}}function cr(){if(Yn)return Wn;Yn=1;var t=ur(),n=Math.min;return Wn=function(r){var o=t(r);return o>0?n(o,9007199254740991):0}}function fr(){if(Xn)return _n;Xn=1;var t=cr();return _n=function(n){return t(n.length)}}function lr(){if(nr)return tr;nr=1;var t=ft(),n=nn(),r=dt(),o=function(){if($n)return Qn;$n=1;var t=dt(),n=ir(),r=fr(),o=function(o){return function(e,a,u){var i=t(e),c=r(i);if(0===c)return!o&&-1;var f,l=n(u,c);if(o&&a!=a){for(;c>l;)if((f=i[l++])!=f)return!0}else for(;c>l;l++)if((o||l in i)&&i[l]===a)return o||l||0;return!o&&-1}};return Qn={includes:o(!0),indexOf:o(!1)}}().indexOf,e=Nn(),a=t([].push);return tr=function(t,u){var i,c=r(t),f=0,l=[];for(i in c)!n(e,i)&&n(c,i)&&a(l,i);for(;u.length>f;)n(c,i=u[f++])&&(~o(l,i)||a(l,i));return l}}function mr(){return or?rr:(or=1,rr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var sr,gr,dr,pr,hr,Sr,wr,vr,Tr,Cr,Pr,br,Ar,Rr,Or,yr,Dr,xr,Mr,kr,Lr,Fr,Hr,jr,Br,Vr,Nr,Er,zr,Ur,Gr={};function Jr(){return sr||(sr=1,Gr.f=Object.getOwnPropertySymbols),Gr}function Zr(){if(dr)return gr;dr=1;var t=St(),n=ft(),r=function(){if(er)return ar;er=1;var t=lr(),n=mr().concat("length","prototype");return ar.f=Object.getOwnPropertyNames||function(r){return t(r,n)},ar}(),o=Jr(),e=Sn(),a=n([].concat);return gr=t("Reflect","ownKeys")||function(t){var n=r.f(e(t)),u=o.f;return u?a(n,u(t)):n}}function Ir(){if(hr)return pr;hr=1;var t=nn(),n=Zr(),r=cn(),o=wn();return pr=function(e,a,u){for(var i=n(a),c=o.f,f=r.f,l=0;l<i.length;l++){var m=i[l];t(e,m)||u&&t(u,m)||c(e,m,f(a,m))}}}function Kr(){if(Tr)return vr;Tr=1;var t=a(),n=cn().f,r=vn(),o=Un(),e=Xt(),u=Ir(),i=function(){if(wr)return Sr;wr=1;var t=p(),n=pt(),r=/#|\.prototype\./,o=function(r,o){var c=a[e(r)];return c===i||c!==u&&(n(o)?t(o):!!o)},e=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",i=o.POLYFILL="P";return Sr=o}();return vr=function(a,c){var f,l,m,s,g,d=a.target,p=a.global,h=a.stat;if(f=p?t:h?t[d]||e(d,{}):t[d]&&t[d].prototype)for(l in c){if(s=c[l],m=a.dontCallGetSet?(g=n(f,l))&&g.value:f[l],!i(p?l:d+(h?".":"#")+l,a.forced)&&void 0!==m){if(typeof s==typeof m)continue;u(s,m)}(a.sham||m&&m.sham)&&r(s,"sham",!0),o(f,l,s,a)}}}function qr(){if(Pr)return Cr;Pr=1;var t=lt();return Cr=Array.isArray||function(n){return"Array"===t(n)}}function Wr(){if(Ar)return br;Ar=1;var t=TypeError;return br=function(n){if(n>9007199254740991)throw new t("Maximum allowed index exceeded");return n}}function Yr(){if(Or)return Rr;Or=1;var t=h(),n=wn(),r=ct();return Rr=function(o,e,a){t?n.f(o,e,r(0,a)):o[e]=a}}function _r(){if(Lr)return kr;Lr=1;var t=function(){if(Mr)return xr;Mr=1;var t={};return t[on()("toStringTag")]="z",xr="[object z]"===String(t)}(),n=pt(),r=lt(),o=on()("toStringTag"),e=Object,a="Arguments"===r(function(){return arguments}());return kr=t?r:function(t){var u,i,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,n){try{return t[n]}catch(t){}}(u=e(t),o))?i:a?r(u):"Object"===(c=r(u))&&n(u.callee)?"Arguments":c}}function Xr(){if(Hr)return Fr;Hr=1;var t=ft(),n=p(),r=pt(),o=_r(),e=St(),a=Bn(),u=function(){},i=e("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=t(c.exec),l=!c.test(u),m=function(t){if(!r(t))return!1;try{return i(u,[],t),!0}catch(t){return!1}},s=function(t){if(!r(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!f(c,a(t))}catch(t){return!0}};return s.sham=!0,Fr=!i||n(function(){var t;return m(m.call)||!m(Object)||!m(function(){t=!0})||t})?s:m}function Qr(){if(Br)return jr;Br=1;var t=qr(),n=Xr(),r=ht(),o=on()("species"),e=Array;return jr=function(a){var u;return t(a)&&(u=a.constructor,(n(u)&&(u===e||t(u.prototype))||r(u)&&null===(u=u[o]))&&(u=void 0)),void 0===u?e:u}}function $r(){if(Nr)return Vr;Nr=1;var t=Qr();return Vr=function(n,r){return new(t(n))(0===r?0:r)}}function to(){if(zr)return Er;zr=1;var t=p(),n=on(),r=wt(),o=n("species");return Er=function(n){return r>=51||!t(function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[n](Boolean).foo})}}!function(){if(Ur)return e;Ur=1;var t=Kr(),n=p(),r=qr(),o=ht(),a=tn(),u=fr(),i=Wr(),c=Yr(),f=function(){if(Dr)return yr;Dr=1;var t=h(),n=qr(),r=TypeError,o=Object.getOwnPropertyDescriptor,e=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return yr=e?function(t,e){if(n(t)&&!o(t,"length").writable)throw new r("Cannot set read only .length");return t.length=e}:function(t,n){return t.length=n}}(),l=$r(),m=to(),s=on(),g=wt(),d=s("isConcatSpreadable"),S=g>=51||!n(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),w=function(t){if(!o(t))return!1;var n=t[d];return void 0!==n?!!n:r(t)};t({target:"Array",proto:!0,arity:1,forced:!S||!m("concat")},{concat:function(t){var n,r,o,e,m,s=a(this),g=l(s,0),d=0;for(n=-1,o=arguments.length;n<o;n++)if(w(m=-1===n?s:arguments[n]))for(e=u(m),i(d+e),r=0;r<e;r++,d++)r in m&&c(g,d,m[r]);else i(d+1),c(g,d++,m);return f(g,d),g}})}();var no,ro,oo,eo,ao,uo={};function io(){if(ro)return no;ro=1;var t=lr(),n=mr();return no=Object.keys||function(r){return t(r,n)}}!function(){if(ao)return uo;ao=1;var t=Kr(),n=function(){if(eo)return oo;eo=1;var t=h(),n=ft(),r=w(),o=p(),e=io(),a=Jr(),u=it(),i=tn(),c=mt(),f=Object.assign,l=Object.defineProperty,m=n([].concat);return oo=!f||o(function(){if(t&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var n={},r={},o=Symbol("assign detection"),a="abcdefghijklmnopqrst";return n[o]=7,a.split("").forEach(function(t){r[t]=t}),7!==f({},n)[o]||e(f({},r)).join("")!==a})?function(n,o){for(var f=i(n),l=arguments.length,s=1,g=a.f,d=u.f;l>s;)for(var p,h=c(arguments[s++]),S=g?m(e(h),g(h)):e(h),w=S.length,v=0;w>v;)p=S[v++],t&&!r(d,h,p)||(f[p]=h[p]);return f}:f,oo}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})}(),t.fn.bootstrapTable.locales["af-ZA"]=t.fn.bootstrapTable.locales.af={formatAddLevel:function(){return"Voeg 'n vlak by"},formatAdvancedCloseButton:function(){return"Maak"},formatAdvancedSearch:function(){return"Gevorderde soektog"},formatAllRows:function(){return"Alles"},formatAutoRefresh:function(){return"Verfris outomaties"},formatCancel:function(){return"Kanselleer"},formatClearSearch:function(){return"Duidelike soektog"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolomme"},formatColumnsToggleAll:function(){return"Wys alles"},formatCopyRows:function(){return"Kopieer lyne"},formatDeleteLevel:function(){return"Vee 'n vlak uit"},formatDetailPagination:function(t){return"".concat(t,"-reël vertoon")},formatDuplicateAlertDescription:function(){return"Verwyder of wysig asseblief duplikaatinskrywings"},formatDuplicateAlertTitle:function(){return"Duplikaatinskrywings is gevind!"},formatExport:function(){return"Voer data uit"},formatFilterControlSwitch:function(){return"Versteek/Wys kontroles"},formatFilterControlSwitchHide:function(){return"Versteek kontroles"},formatFilterControlSwitchShow:function(){return"Wys kontroles"},formatFullscreen:function(){return"Volskerm"},formatJumpTo:function(){return"Gaan na"},formatLoadingMessage:function(){return"Laai tans"},formatMultipleSort:function(){return"Multi-sorteer"},formatNoMatches:function(){return"Geen resultate nie"},formatOrder:function(){return"Bestelling"},formatPaginationSwitch:function(){return"Versteek/Wys paginasie"},formatPaginationSwitchDown:function(){return"Wys paginasie"},formatPaginationSwitchUp:function(){return"Versteek paginasie"},formatPrint:function(){return"Druk uit"},formatRecordsPerPage:function(t){return"".concat(t," reëls per bladsy")},formatRefresh:function(){return"Verfris"},formatSRPaginationNextText:function(){return"volgende bladsy"},formatSRPaginationPageText:function(t){return"na bladsy ".concat(t)},formatSRPaginationPreText:function(){return"vorige bladsy"},formatSearch:function(){return"Navorsing"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Wys ".concat(t," tot ").concat(n," van ").concat(r," lyne (gefiltreer vanaf ").concat(o," lyne)"):"Wys ".concat(t," tot ").concat(n," van ").concat(r," lyne")},formatSort:function(){return"Rangskik"},formatSortBy:function(){return"Sorteer volgens"},formatSortOrders:function(){return{asc:"Stygende",desc:"Dalende"}},formatThenBy:function(){return"Dan deur"},formatToggleCustomViewOff:function(){return"Versteek pasgemaakte aansig"},formatToggleCustomViewOn:function(){return"Wys pasgemaakte aansig"},formatToggleOff:function(){return"Versteek kaartaansig"},formatToggleOn:function(){return"Wys kaartaansig"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["af-ZA"]),t.fn.bootstrapTable.locales["ar-SA"]=t.fn.bootstrapTable.locales.ar={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"إغلاق"},formatAdvancedSearch:function(){return"بحث متقدم"},formatAllRows:function(){return"الكل"},formatAutoRefresh:function(){return"تحديث تلقائي"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"مسح مربع البحث"},formatColumn:function(){return"Column"},formatColumns:function(){return"أعمدة"},formatColumnsToggleAll:function(){return"تبديل الكل"},formatCopyRows:function(){return"نسخ الصفوف"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"عرض ".concat(t," أعمدة")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"تصدير البيانات"},formatFilterControlSwitch:function(){return"عرض/إخفاء عناصر التصفية"},formatFilterControlSwitchHide:function(){return"إخفاء عناصر التصفية"},formatFilterControlSwitchShow:function(){return"عرض عناصر التصفية"},formatFullscreen:function(){return"الشاشة كاملة"},formatJumpTo:function(){return"قفز"},formatLoadingMessage:function(){return"جارٍ التحميل، يرجى الانتظار..."},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"لا توجد نتائج مطابقة للبحث"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"إخفاء/إظهار ترقيم الصفحات"},formatPaginationSwitchDown:function(){return"إظهار ترقيم الصفحات"},formatPaginationSwitchUp:function(){return"إخفاء ترقيم الصفحات"},formatPrint:function(){return"طباعة"},formatRecordsPerPage:function(t){return"".concat(t," صف لكل صفحة")},formatRefresh:function(){return"تحديث"},formatSRPaginationNextText:function(){return"الصفحة التالية"},formatSRPaginationPageText:function(t){return"إلى الصفحة ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"بحث"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"الظاهر ".concat(t," إلى ").concat(n," من ").concat(r," سجل ").concat(o," إجمالي الصفوف)"):"الظاهر ".concat(t," إلى ").concat(n," من ").concat(r," سجل")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"إلغاء البطاقات"},formatToggleOn:function(){return"إظهار كبطاقات"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ar-SA"]),t.fn.bootstrapTable.locales["bg-BG"]=t.fn.bootstrapTable.locales.bg={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Затваряне"},formatAdvancedSearch:function(){return"Разширено търсене"},formatAllRows:function(){return"Всички"},formatAutoRefresh:function(){return"Автоматично обновяване"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Изчистване на търсенето"},formatColumn:function(){return"Column"},formatColumns:function(){return"Колони"},formatColumnsToggleAll:function(){return"Превключване на всички"},formatCopyRows:function(){return"Копиране на редове"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Показани ".concat(t," реда")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Експорт на данни"},formatFilterControlSwitch:function(){return"Скрива/показва контроли"},formatFilterControlSwitchHide:function(){return"Скрива контроли"},formatFilterControlSwitchShow:function(){return"Показва контроли"},formatFullscreen:function(){return"Цял екран"},formatJumpTo:function(){return"ОТИДИ"},formatLoadingMessage:function(){return"Зареждане, моля изчакайте"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Не са намерени съвпадащи записи"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Скриване/Показване на странициране"},formatPaginationSwitchDown:function(){return"Показване на странициране"},formatPaginationSwitchUp:function(){return"Скриване на странициране"},formatPrint:function(){return"Печат"},formatRecordsPerPage:function(t){return"".concat(t," реда на страница")},formatRefresh:function(){return"Обновяване"},formatSRPaginationNextText:function(){return"следваща страница"},formatSRPaginationPageText:function(t){return"до страница ".concat(t)},formatSRPaginationPreText:function(){return"предишна страница"},formatSearch:function(){return"Търсене"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Показани редове от ".concat(t," до ").concat(n," от ").concat(r," (филтрирани от общо ").concat(o,")"):"Показани редове от ".concat(t," до ").concat(n," от общо ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Скриване на изглед карта"},formatToggleOn:function(){return"Показване на изглед карта"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["bg-BG"]),t.fn.bootstrapTable.locales["ca-ES"]=t.fn.bootstrapTable.locales.ca={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Tanca"},formatAdvancedSearch:function(){return"Cerca avançada"},formatAllRows:function(){return"Tots"},formatAutoRefresh:function(){return"Auto Refresca"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Neteja cerca"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnes"},formatColumnsToggleAll:function(){return"Alterna totes"},formatCopyRows:function(){return"Copia resultats"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrant ".concat(t," resultats")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exporta dades"},formatFilterControlSwitch:function(){return"Mostra/Amaga controls"},formatFilterControlSwitchHide:function(){return"Mostra controls"},formatFilterControlSwitchShow:function(){return"Amaga controls"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Espereu, si us plau"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No s'han trobat resultats"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Amaga/Mostra paginació"},formatPaginationSwitchDown:function(){return"Mostra paginació"},formatPaginationSwitchUp:function(){return"Amaga paginació"},formatPrint:function(){return"Imprimeix"},formatRecordsPerPage:function(t){return"".concat(t," resultats per pàgina")},formatRefresh:function(){return"Refresca"},formatSRPaginationNextText:function(){return"Pàgina següent"},formatSRPaginationPageText:function(t){return"A la pàgina ".concat(t)},formatSRPaginationPreText:function(){return"Pàgina anterior"},formatSearch:function(){return"Cerca"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrant resultats ".concat(t," fins ").concat(n," - ").concat(r," resultats (filtrats d'un total de ").concat(o," resultats)"):"Mostrant resultats ".concat(t," fins ").concat(n," - ").concat(r," resultats en total")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Amaga vista de tarjeta"},formatToggleOn:function(){return"Mostra vista de tarjeta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ca-ES"]),t.fn.bootstrapTable.locales["cs-CZ"]=t.fn.bootstrapTable.locales.cs={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zavřít"},formatAdvancedSearch:function(){return"Pokročilé hledání"},formatAllRows:function(){return"Vše"},formatAutoRefresh:function(){return"Automatické obnovení"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Smazat hledání"},formatColumn:function(){return"Column"},formatColumns:function(){return"Sloupce"},formatColumnsToggleAll:function(){return"Zobrazit/Skrýt vše"},formatCopyRows:function(){return"Kopírovat řádky"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Zobrazuji ".concat(t," řádek")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export dat"},formatFilterControlSwitch:function(){return"Skrýt/Zobrazit ovladače"},formatFilterControlSwitchHide:function(){return"Skrýt ovladače"},formatFilterControlSwitchShow:function(){return"Zobrazit ovladače"},formatFullscreen:function(){return"Zapnout/Vypnout fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Čekejte, prosím"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skrýt/Zobrazit stránkování"},formatPaginationSwitchDown:function(){return"Zobrazit stránkování"},formatPaginationSwitchUp:function(){return"Skrýt stránkování"},formatPrint:function(){return"Tisk"},formatRecordsPerPage:function(t){return"".concat(t," položek na stránku")},formatRefresh:function(){return"Aktualizovat"},formatSRPaginationNextText:function(){return"další strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationPreText:function(){return"předchozí strana"},formatSearch:function(){return"Vyhledávání"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(r," (filtered from ").concat(o," total rows)"):"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Zobrazit tabulku"},formatToggleOn:function(){return"Zobrazit karty"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["cs-CZ"]),t.fn.bootstrapTable.locales["da-DK"]=t.fn.bootstrapTable.locales.da={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Ryd filtre"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Viser ".concat(t," række").concat(t>1?"r":"")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksporter"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Indlæser, vent venligst"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ingen poster fundet"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skjul/vis nummerering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatRefresh:function(){return"Opdater"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Søg"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Viser ".concat(t," til ").concat(n," af ").concat(r," række").concat(r>1?"r":""," (filtered from ").concat(o," total rows)"):"Viser ".concat(t," til ").concat(n," af ").concat(r," række").concat(r>1?"r":"")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["da-DK"]),t.fn.bootstrapTable.locales["de-DE"]=t.fn.bootstrapTable.locales.de={formatAddLevel:function(){return"Ebene hinzufügen"},formatAdvancedCloseButton:function(){return"Schließen"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisches Neuladen"},formatCancel:function(){return"Abbrechen"},formatClearSearch:function(){return"Lösche Filter"},formatColumn:function(){return"Spalte"},formatColumns:function(){return"Spalten"},formatColumnsToggleAll:function(){return"Alle umschalten"},formatCopyRows:function(){return"Zeilen kopieren"},formatDeleteLevel:function(){return"Ebene entfernen"},formatDetailPagination:function(t){return"Zeige ".concat(t," Zeile").concat(t>1?"n":"",".")},formatDuplicateAlertDescription:function(){return"Bitte doppelte Spalten entfenen oder ändern"},formatDuplicateAlertTitle:function(){return"Doppelte Einträge gefunden!"},formatExport:function(){return"Datenexport"},formatFilterControlSwitch:function(){return"Verstecke/Zeige Filter"},formatFilterControlSwitchHide:function(){return"Verstecke Filter"},formatFilterControlSwitchShow:function(){return"Zeige Filter"},formatFullscreen:function(){return"Vollbild"},formatJumpTo:function(){return"Springen"},formatLoadingMessage:function(){return"Lade, bitte warten"},formatMultipleSort:function(){return"Mehrfachsortierung"},formatNoMatches:function(){return"Keine passenden Ergebnisse gefunden"},formatOrder:function(){return"Reihenfolge"},formatPaginationSwitch:function(){return"Verstecke/Zeige Nummerierung"},formatPaginationSwitchDown:function(){return"Zeige Nummerierung"},formatPaginationSwitchUp:function(){return"Verstecke Nummerierung"},formatPrint:function(){return"Drucken"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen pro Seite.")},formatRefresh:function(){return"Neu laden"},formatSRPaginationNextText:function(){return"Nächste Seite"},formatSRPaginationPageText:function(t){return"Zu Seite ".concat(t)},formatSRPaginationPreText:function(){return"Vorherige Seite"},formatSearch:function(){return"Suchen"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(r," Zeile").concat(r>1?"n":""," (Gefiltert von ").concat(o," Zeile").concat(o>1?"n":"",")"):"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(r," Zeile").concat(r>1?"n":"",".")},formatSort:function(){return"Sortieren"},formatSortBy:function(){return"Sortieren nach"},formatSortOrders:function(){return{asc:"Aufsteigend",desc:"Absteigend"}},formatThenBy:function(){return"anschließend"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Kartenansicht"},formatToggleOn:function(){return"Normale Ansicht"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["de-DE"]),t.fn.bootstrapTable.locales["el-GR"]=t.fn.bootstrapTable.locales.el={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Φορτώνει, παρακαλώ περιμένετε"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Δεν βρέθηκαν αποτελέσματα"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," αποτελέσματα ανά σελίδα")},formatRefresh:function(){return"Refresh"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Αναζητήστε"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(r," σειρών (filtered from ").concat(o," total rows)"):"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(r," σειρών")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["el-GR"]),t.fn.bootstrapTable.locales["en-US"]=t.fn.bootstrapTable.locales.en={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Loading, please wait"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No matching records found"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatRefresh:function(){return"Refresh"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Search"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Showing ".concat(t," to ").concat(n," of ").concat(r," rows (filtered from ").concat(o," total rows)"):"Showing ".concat(t," to ").concat(n," of ").concat(r," rows")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["en-US"]),t.fn.bootstrapTable.locales["es-AR"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatCopyRows:function(){return"Copiar Filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," columnas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar datos"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"Ir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatRefresh:function(){return"Recargar"},formatSRPaginationNextText:function(){return"siguiente página"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando desde ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(o," columnas totales)"):"Mostrando desde ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista de carta"},formatToggleOn:function(){return"Mostrar vista de carta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-AR"]),t.fn.bootstrapTable.locales["es-CL"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatCopyRows:function(){return"Copiar Filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar datos"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"IR"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatRefresh:function(){return"Refrescar"},formatSRPaginationNextText:function(){return"siguiente página"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(o," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista de carta"},formatToggleOn:function(){return"Mostrar vista de carta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-CL"]),t.fn.bootstrapTable.locales["es-CR"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todas las filas"},formatAutoRefresh:function(){return"Actualización automática"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Alternar todo"},formatCopyRows:function(){return"Copiar filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar"},formatFilterControlSwitch:function(){return"Mostrar/ocultar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"Ver"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron resultados"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Mostrar/ocultar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"página siguiente"},formatSRPaginationPageText:function(t){return"ir a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de un total de ").concat(o," filas)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista en tarjetas"},formatToggleOn:function(){return"Mostrar vista en tarjetas"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-CR"]),t.fn.bootstrapTable.locales["es-ES"]=t.fn.bootstrapTable.locales.es={formatAddLevel:function(){return"Agregar nivel"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todos"},formatAutoRefresh:function(){return"Auto Recargar"},formatCancel:function(){return"Cancelar"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Columna"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatCopyRows:function(){return"Copiar filas"},formatDeleteLevel:function(){return"Eliminar nivel"},formatDetailPagination:function(t){return"Mostrando ".concat(t," fila").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Por favor, elimine o modifique las columnas duplicadas"},formatDuplicateAlertTitle:function(){return"¡Se encontraron entradas duplicadas!"},formatExport:function(){return"Exportar los datos"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"IR"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatMultipleSort:function(){return"Ordenación múltiple"},formatNoMatches:function(){return"No se encontraron resultados coincidentes"},formatOrder:function(){return"Orden"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatRefresh:function(){return"Recargar"},formatSRPaginationNextText:function(){return"siguiente página"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){var e=r>1?"s":"";return void 0!==o&&o>0&&o>r?"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(r," resultado").concat(e," (filtrado de un total de ").concat(o," fila").concat(e,")"):"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(r," resultado").concat(e)},formatSort:function(){return"Ordenar"},formatSortBy:function(){return"Ordenar por"},formatSortOrders:function(){return{asc:"Ascendente",desc:"Descendente"}},formatThenBy:function(){return"a continuación"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista de carta"},formatToggleOn:function(){return"Mostrar vista de carta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-ES"]),t.fn.bootstrapTable.locales["es-MX"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Cerrar"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto actualizar"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Alternar todo"},formatCopyRows:function(){return"Copiar Filas"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportar datos"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Pantalla completa"},formatJumpTo:function(){return"IR"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros que coincidan"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Mostrar/ocultar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"página siguiente"},formatSRPaginationPageText:function(t){return"ir a la página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(o," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ocultar vista"},formatToggleOn:function(){return"Mostrar vista"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-MX"]),t.fn.bootstrapTable.locales["es-NI"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se encontraron registros"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatRefresh:function(){return"Refrescar"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(r," registros en total (filtered from ").concat(o," total rows)"):"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(r," registros en total")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-NI"]),t.fn.bootstrapTable.locales["es-SP"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Limpiar búsqueda"},formatColumn:function(){return"Column"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Cargando, por favor espera"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"No se han encontrado registros."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," registros por p&#225;gina.")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Buscar"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(t," - ").concat(n," de ").concat(r," registros (filtered from ").concat(o," total rows)"):"".concat(t," - ").concat(n," de ").concat(r," registros.")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-SP"]),t.fn.bootstrapTable.locales["et-EE"]=t.fn.bootstrapTable.locales.et={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Kõik"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Veerud"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Päring käib, palun oota"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Päringu tingimustele ei vastanud ühtegi tulemust"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Näita/Peida lehtedeks jagamine"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rida lehe kohta")},formatRefresh:function(){return"Värskenda"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Otsi"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(r," tulemust (filtered from ").concat(o," total rows)"):"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(r," tulemust")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["et-EE"]),t.fn.bootstrapTable.locales["eu-EU"]=t.fn.bootstrapTable.locales.eu={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Guztiak"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Zutabeak"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Itxaron mesedez"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ez da emaitzarik aurkitu"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ezkutatu/Erakutsi orrikatzea"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," emaitza orriko.")},formatRefresh:function(){return"Eguneratu"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Bilatu"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(r," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten (filtered from ").concat(o," total rows)"):"".concat(r," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten.")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["eu-EU"]),t.fn.bootstrapTable.locales["fa-IR"]=t.fn.bootstrapTable.locales.fa={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"بستن"},formatAdvancedSearch:function(){return"جستجوی پیشرفته"},formatAllRows:function(){return"همه"},formatAutoRefresh:function(){return"رفرش اتوماتیک"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"پاک کردن جستجو"},formatColumn:function(){return"Column"},formatColumns:function(){return"سطر ها"},formatColumnsToggleAll:function(){return"تغییر وضعیت همه"},formatCopyRows:function(){return"کپی ردیف ها"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"نمایش ".concat(t," سطرها")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"خروجی دیتا"},formatFilterControlSwitch:function(){return"پنهان/نمایش دادن کنترل ها"},formatFilterControlSwitchHide:function(){return"پنهان کردن کنترل ها"},formatFilterControlSwitchShow:function(){return"نمایش کنترل ها"},formatFullscreen:function(){return"تمام صفحه"},formatJumpTo:function(){return"برو"},formatLoadingMessage:function(){return"در حال بارگذاری, لطفا صبر کنید"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"رکوردی یافت نشد."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"نمایش/مخفی صفحه بندی"},formatPaginationSwitchDown:function(){return"نمایش صفحه بندی"},formatPaginationSwitchUp:function(){return"پنهان کردن صفحه بندی"},formatPrint:function(){return"پرینت"},formatRecordsPerPage:function(t){return"".concat(t," رکورد در صفحه")},formatRefresh:function(){return"به روز رسانی"},formatSRPaginationNextText:function(){return"صفحه بعدی"},formatSRPaginationPageText:function(t){return"به صفحه ".concat(t)},formatSRPaginationPreText:function(){return"صفحه قبلی"},formatSearch:function(){return"جستجو"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"نمایش ".concat(t," تا ").concat(n," از ").concat(r," ردیف (filtered from ").concat(o," total rows)"):"نمایش ".concat(t," تا ").concat(n," از ").concat(r," ردیف")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fa-IR"]),t.fn.bootstrapTable.locales["fi-FI"]=t.fn.bootstrapTable.locales.fi={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Kaikki"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Poista suodattimet"},formatColumn:function(){return"Column"},formatColumns:function(){return"Sarakkeet"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Vie tiedot"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Ladataan, ole hyvä ja odota"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Hakuehtoja vastaavia tuloksia ei löytynyt"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Näytä/Piilota sivutus"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," riviä sivulla")},formatRefresh:function(){return"Päivitä"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Hae"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(r," (filtered from ").concat(o," total rows)"):"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fi-FI"]),t.fn.bootstrapTable.locales["fr-BE"]={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-BE"]),t.fn.bootstrapTable.locales["fr-CH"]={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-CH"]),t.fn.bootstrapTable.locales["fr-FR"]=t.fn.bootstrapTable.locales.fr={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-FR"]),t.fn.bootstrapTable.locales["fr-LU"]={formatAddLevel:function(){return"Ajouter un niveau"},formatAdvancedCloseButton:function(){return"Fermer"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualiser automatiquement"},formatCancel:function(){return"Annuler"},formatClearSearch:function(){return"Effacer la recherche"},formatColumn:function(){return"Colonne"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout afficher"},formatCopyRows:function(){return"Copier les lignes"},formatDeleteLevel:function(){return"Supprimer un niveau"},formatDetailPagination:function(t){return"Affichage de ".concat(t," lignes")},formatDuplicateAlertDescription:function(){return"Veuillez supprimer ou modifier les entrées en double"},formatDuplicateAlertTitle:function(){return"Des entrées en double ont été trouvées !"},formatExport:function(){return"Exporter"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"},formatFullscreen:function(){return"Plein écran"},formatJumpTo:function(){return"Aller à"},formatLoadingMessage:function(){return"Chargement en cours"},formatMultipleSort:function(){return"Tri multiple"},formatNoMatches:function(){return"Aucun résultat"},formatOrder:function(){return"Ordre"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatPrint:function(){return"Imprimer"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatRefresh:function(){return"Actualiser"},formatSRPaginationNextText:function(){return"page suivante"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationPreText:function(){return"page précédente"},formatSearch:function(){return"Rechercher"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrées à partir de ").concat(o," lignes)"):"Affichage de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSort:function(){return"Trier"},formatSortBy:function(){return"Trier par"},formatSortOrders:function(){return{asc:"Ascendant",desc:"Descendant"}},formatThenBy:function(){return"Puis par"},formatToggleCustomViewOff:function(){return"Cacher la vue personnalisée"},formatToggleCustomViewOn:function(){return"Afficher la vue personnalisée"},formatToggleOff:function(){return"Cacher la vue en cartes"},formatToggleOn:function(){return"Afficher la vue en cartes"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-LU"]),t.fn.bootstrapTable.locales["he-IL"]=t.fn.bootstrapTable.locales.he={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"הכל"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"עמודות"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"טוען, נא להמתין"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"לא נמצאו רשומות תואמות"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"הסתר/הצג מספור דפים"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," שורות בעמוד")},formatRefresh:function(){return"רענן"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"חיפוש"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"מציג ".concat(t," עד ").concat(n," מ-").concat(r,"שורות").concat(o," total rows)"):"מציג ".concat(t," עד ").concat(n," מ-").concat(r," שורות")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["he-IL"]),t.fn.bootstrapTable.locales["hi-IN"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"बंद करे"},formatAdvancedSearch:function(){return"एडवांस सर्च"},formatAllRows:function(){return"सब"},formatAutoRefresh:function(){return"ऑटो रिफ्रेश"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"सर्च क्लिअर करें"},formatColumn:function(){return"Column"},formatColumns:function(){return"कॉलम"},formatColumnsToggleAll:function(){return"टॉगल आल"},formatCopyRows:function(){return"पंक्तियों की कॉपी करें"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"".concat(t," पंक्तियां")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"एक्सपोर्ट डाटा"},formatFilterControlSwitch:function(){return"छुपाओ/दिखाओ कंट्रोल्स"},formatFilterControlSwitchHide:function(){return"छुपाओ कंट्रोल्स"},formatFilterControlSwitchShow:function(){return"दिखाओ कंट्रोल्स"},formatFullscreen:function(){return"पूर्ण स्क्रीन"},formatJumpTo:function(){return"जाओ"},formatLoadingMessage:function(){return"लोड हो रहा है कृपया प्रतीक्षा करें"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"मेल खाते रिकॉर्ड नही मिले"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"छुपाओ/दिखाओ पृष्ठ संख्या"},formatPaginationSwitchDown:function(){return"दिखाओ पृष्ठ संख्या"},formatPaginationSwitchUp:function(){return"छुपाओ पृष्ठ संख्या"},formatPrint:function(){return"प्रिंट"},formatRecordsPerPage:function(t){return"".concat(t," प्रति पृष्ठ पंक्तियाँ")},formatRefresh:function(){return"रिफ्रेश"},formatSRPaginationNextText:function(){return"अगला पृष्ठ"},formatSRPaginationPageText:function(t){return"".concat(t," पृष्ठ पर")},formatSRPaginationPreText:function(){return"पिछला पृष्ठ"},formatSearch:function(){return"सर्च"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(t," - ").concat(n," पक्तिया ").concat(r," में से ( ").concat(o," पक्तिया)"):"".concat(t," - ").concat(n," पक्तिया ").concat(r," में से")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"कार्ड दृश्य छुपाएं"},formatToggleOn:function(){return"कार्ड दृश्य दिखाएं"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hi-IN"]),t.fn.bootstrapTable.locales["hr-HR"]=t.fn.bootstrapTable.locales.hr={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Molimo pričekajte"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nije pronađen niti jedan zapis"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Prikaži/sakrij stranice"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," broj zapisa po stranici")},formatRefresh:function(){return"Osvježi"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Pretraži"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(r," (filtered from ").concat(o," total rows)"):"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hr-HR"]),t.fn.bootstrapTable.locales["hu-HU"]=t.fn.bootstrapTable.locales.hu={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Összes"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Oszlopok"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Betöltés, kérem várjon"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nincs találat"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Lapozó elrejtése/megjelenítése"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rekord per oldal")},formatRefresh:function(){return"Frissítés"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Keresés"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Megjelenítve ".concat(t," - ").concat(n," / ").concat(r," összesen (filtered from ").concat(o," total rows)"):"Megjelenítve ".concat(t," - ").concat(n," / ").concat(r," összesen")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hu-HU"]),t.fn.bootstrapTable.locales["id-ID"]=t.fn.bootstrapTable.locales.id={formatAddLevel:function(){return"Menambahkan level"},formatAdvancedCloseButton:function(){return"Tutup"},formatAdvancedSearch:function(){return"Pencarian lanjutan"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Penyegaran otomatis"},formatCancel:function(){return"Batal"},formatClearSearch:function(){return"Menghapus pencarian"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolom"},formatColumnsToggleAll:function(){return"Tampilkan semua"},formatCopyRows:function(){return"Salin baris"},formatDeleteLevel:function(){return"Menghapus level"},formatDetailPagination:function(t){return"Tampilan ".concat(t," baris")},formatDuplicateAlertDescription:function(){return"Harap hapus atau ubah entri duplikat"},formatDuplicateAlertTitle:function(){return"Entri duplikat telah ditemukan!"},formatExport:function(){return"Mengekspor data"},formatFilterControlSwitch:function(){return"Menyembunyikan/Menampilkan kontrol"},formatFilterControlSwitchHide:function(){return"Menyembunyikan kontrol"},formatFilterControlSwitchShow:function(){return"Menampilkan kontrol"},formatFullscreen:function(){return"Layar penuh"},formatJumpTo:function(){return"Pergi ke"},formatLoadingMessage:function(){return"Pemuatan sedang berlangsung"},formatMultipleSort:function(){return"Penyortiran ganda"},formatNoMatches:function(){return"Tidak ada hasil"},formatOrder:function(){return"Urutan"},formatPaginationSwitch:function(){return"Sembunyikan/Tampilkan penomoran halaman"},formatPaginationSwitchDown:function(){return"Tampilkan penomoran halaman"},formatPaginationSwitchUp:function(){return"Sembunyikan penomoran halaman"},formatPrint:function(){return"Mencetak"},formatRecordsPerPage:function(t){return"".concat(t," baris per halaman")},formatRefresh:function(){return"Segarkan"},formatSRPaginationNextText:function(){return"halaman berikutnya"},formatSRPaginationPageText:function(t){return"ke halaman ".concat(t)},formatSRPaginationPreText:function(){return"halaman sebelumnya"},formatSearch:function(){return"Pencarian"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Menampilkan dari ".concat(t," hingga ").concat(n," pada ").concat(r," baris (difilter dari ").concat(o," baris)"):"Menampilkan dari ".concat(t," hingga ").concat(n," pada ").concat(r," baris")},formatSort:function(){return"Penyortiran"},formatSortBy:function(){return"Urutkan berdasarkan"},formatSortOrders:function(){return{asc:"Menaik",desc:"Menurun"}},formatThenBy:function(){return"Kemudian oleh"},formatToggleCustomViewOff:function(){return"Menyembunyikan tampilan khusus"},formatToggleCustomViewOn:function(){return"Menampilkan tampilan khusus"},formatToggleOff:function(){return"Menyembunyikan tampilan peta"},formatToggleOn:function(){return"Menampilkan tampilan peta"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["id-ID"]),t.fn.bootstrapTable.locales["it-IT"]=t.fn.bootstrapTable.locales.it={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Chiudi"},formatAdvancedSearch:function(){return"Filtri avanzati"},formatAllRows:function(){return"Tutto"},formatAutoRefresh:function(){return"Auto Aggiornamento"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Pulisci filtri"},formatColumn:function(){return"Column"},formatColumns:function(){return"Colonne"},formatColumnsToggleAll:function(){return"Mostra tutte"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Mostrando ".concat(t," elementi")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Esporta dati"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Schermo intero"},formatJumpTo:function(){return"VAI"},formatLoadingMessage:function(){return"Caricamento in corso"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nessun elemento trovato"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Nascondi/Mostra paginazione"},formatPaginationSwitchDown:function(){return"Mostra paginazione"},formatPaginationSwitchUp:function(){return"Nascondi paginazione"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," elementi per pagina")},formatRefresh:function(){return"Aggiorna"},formatSRPaginationNextText:function(){return"pagina successiva"},formatSRPaginationPageText:function(t){return"alla pagina ".concat(t)},formatSRPaginationPreText:function(){return"pagina precedente"},formatSearch:function(){return"Cerca"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(r," elementi (filtrati da ").concat(o," elementi totali)"):"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(r," elementi")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Nascondi visuale a scheda"},formatToggleOn:function(){return"Mostra visuale a scheda"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["it-IT"]),t.fn.bootstrapTable.locales["ja-JP"]=t.fn.bootstrapTable.locales.ja={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"すべて"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"読み込み中です。少々お待ちください。"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"該当するレコードが見つかりません"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"ページ数を表示・非表示"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"ページ当たり最大".concat(t,"件")},formatRefresh:function(){return"更新"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"検索"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"全".concat(r,"件から、").concat(t,"から").concat(n,"件目まで表示しています (filtered from ").concat(o," total rows)"):"全".concat(r,"件から、").concat(t,"から").concat(n,"件目まで表示しています")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ja-JP"]),t.fn.bootstrapTable.locales["ka-GE"]=t.fn.bootstrapTable.locales.ka={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"სვეტები"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"იტვირთება, გთხოვთ მოიცადოთ"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"მონაცემები არ არის"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"გვერდების გადამრთველის დამალვა/გამოჩენა"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," ჩანაწერი თითო გვერდზე")},formatRefresh:function(){return"განახლება"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"ძებნა"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(r,"-დან (filtered from ").concat(o," total rows)"):"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(r,"-დან")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ka-GE"]),t.fn.bootstrapTable.locales["ko-KR"]=t.fn.bootstrapTable.locales.ko={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"닫기"},formatAdvancedSearch:function(){return"심화 검색"},formatAllRows:function(){return"전체"},formatAutoRefresh:function(){return"자동 갱신"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"검색 초기화"},formatColumn:function(){return"Column"},formatColumns:function(){return"컬럼 필터링"},formatColumnsToggleAll:function(){return"전체 토글"},formatCopyRows:function(){return"행 복사"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"".concat(t," 행들 표시 중")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"데이터 추출"},formatFilterControlSwitch:function(){return"컨트롤 보기/숨기기"},formatFilterControlSwitchHide:function(){return"컨트롤 숨기기"},formatFilterControlSwitchShow:function(){return"컨트롤 보기"},formatFullscreen:function(){return"전체 화면"},formatJumpTo:function(){return"이동"},formatLoadingMessage:function(){return"데이터를 불러오는 중입니다"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"조회된 데이터가 없습니다."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"페이지 넘버 보기/숨기기"},formatPaginationSwitchDown:function(){return"페이지 넘버 보기"},formatPaginationSwitchUp:function(){return"페이지 넘버 숨기기"},formatPrint:function(){return"프린트"},formatRecordsPerPage:function(t){return"페이지 당 ".concat(t,"개 데이터 출력")},formatRefresh:function(){return"새로 고침"},formatSRPaginationNextText:function(){return"다음 페이지"},formatSRPaginationPageText:function(t){return"".concat(t," 페이지로 이동")},formatSRPaginationPreText:function(){return"이전 페이지"},formatSearch:function(){return"검색"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"전체 ".concat(r,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력, (전체 ").concat(o," 행에서 필터됨)"):"전체 ".concat(r,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력,")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"카드뷰 숨기기"},formatToggleOn:function(){return"카드뷰 보기"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ko-KR"]),t.fn.bootstrapTable.locales["lb-LU"]=t.fn.bootstrapTable.locales.lb={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zoumaachen"},formatAdvancedSearch:function(){return"Erweidert Sich"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Automatescht neilueden"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Sich réckgängeg maachen"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolonnen"},formatColumnsToggleAll:function(){return"All ëmschalten"},formatCopyRows:function(){return"Zeilen kopéieren"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Weist ".concat(t," Zeilen")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Daten exportéieren"},formatFilterControlSwitch:function(){return"Schaltelementer uweisen/verstoppen"},formatFilterControlSwitchHide:function(){return"Schaltelementer verstoppen"},formatFilterControlSwitchShow:function(){return"Schaltelementer uweisen"},formatFullscreen:function(){return"Vollbild"},formatJumpTo:function(){return"Sprangen"},formatLoadingMessage:function(){return"Gëtt gelueden, gedellëgt Iech wannechgelift ee Moment"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Keng passend Anträg fonnt"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Paginatioun uweisen/verstoppen"},formatPaginationSwitchDown:function(){return"Paginatioun uweisen"},formatPaginationSwitchUp:function(){return"Paginatioun verstoppen"},formatPrint:function(){return"Drécken"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen per Säit")},formatRefresh:function(){return"Nei lueden"},formatSRPaginationNextText:function(){return"nächst Säit"},formatSRPaginationPageText:function(t){return"op Säit ".concat(t)},formatSRPaginationPreText:function(){return"viregt Säit"},formatSearch:function(){return"Sich"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(r," Zeil").concat(r>1?"en":""," (gefiltert vun insgesamt ").concat(o," Zeil").concat(r>1?"en":"",")"):"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(r," Zeil").concat(r>1?"en":"")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Kaartenusiicht verstoppen"},formatToggleOn:function(){return"Kaartenusiicht uweisen"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["lb-LU"]),t.fn.bootstrapTable.locales["lt-LT"]=t.fn.bootstrapTable.locales.lt={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Uždaryti"},formatAdvancedSearch:function(){return"Išplėstinė paieška"},formatAllRows:function(){return"Viskas"},formatAutoRefresh:function(){return"Automatinis atnaujinimas"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Išvalyti paiešką"},formatColumn:function(){return"Column"},formatColumns:function(){return"Stulpeliai"},formatColumnsToggleAll:function(){return"Perjungti viską"},formatCopyRows:function(){return"Kopijuoti eilutes"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Rodomos ".concat(t," eilutės (-čių)")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksportuoti duomenis"},formatFilterControlSwitch:function(){return"Slėpti/rodyti valdiklius"},formatFilterControlSwitchHide:function(){return"Slėpti valdiklius"},formatFilterControlSwitchShow:function(){return"Rodyti valdiklius"},formatFullscreen:function(){return"Visame ekrane"},formatJumpTo:function(){return"Eiti"},formatLoadingMessage:function(){return"Įkeliama, palaukite"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Atitinkančių įrašų nerasta"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Slėpti/rodyti puslapių rūšiavimą"},formatPaginationSwitchDown:function(){return"Rodyti puslapių rūšiavimą"},formatPaginationSwitchUp:function(){return"Slėpti puslapių rūšiavimą"},formatPrint:function(){return"Spausdinti"},formatRecordsPerPage:function(t){return"".concat(t," eilučių puslapyje")},formatRefresh:function(){return"Atnaujinti"},formatSRPaginationNextText:function(){return"sekantis puslapis"},formatSRPaginationPageText:function(t){return"į puslapį ".concat(t)},formatSRPaginationPreText:function(){return"ankstesnis puslapis"},formatSearch:function(){return"Ieškoti"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Rodomos eilutės nuo ".concat(t," iki ").concat(n," iš ").concat(r," eilučių (atrinktos iš visų ").concat(o," eilučių)"):"Rodomos eilutės nuo ".concat(t," iki ").concat(n," iš ").concat(r," eilučių")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Slėpti kortelių rodinį"},formatToggleOn:function(){return"Rodyti kortelių rodinį"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["lt-LT"]),t.fn.bootstrapTable.locales["ms-MY"]=t.fn.bootstrapTable.locales.ms={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Lajur"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Permintaan sedang dimuatkan. Sila tunggu sebentar"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Tiada rekod yang menyamai permintaan"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Tunjuk/sembunyi muka surat"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rekod setiap muka surat")},formatRefresh:function(){return"Muatsemula"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Cari"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(r," rekod (filtered from ").concat(o," total rows)"):"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(r," rekod")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ms-MY"]),t.fn.bootstrapTable.locales["nb-NO"]=t.fn.bootstrapTable.locales.nb={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Oppdaterer, vennligst vent"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ingen poster funnet"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatRefresh:function(){return"Oppdater"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Søk"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Viser ".concat(t," til ").concat(n," av ").concat(r," rekker (filtered from ").concat(o," total rows)"):"Viser ".concat(t," til ").concat(n," av ").concat(r," rekker")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nb-NO"]),t.fn.bootstrapTable.locales["nl-BE"]={formatAddLevel:function(){return"Niveau toevoegen"},formatAdvancedCloseButton:function(){return"Sluiten"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatCancel:function(){return"Annuleren"},formatClearSearch:function(){return"Verwijder filters"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Niveau verwijderen"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Gelieve dubbele kolommen te verwijderen of wijzigen"},formatDuplicateAlertTitle:function(){return"Duplicaten gevonden!"},formatExport:function(){return"Exporteer gegevens"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"},formatFullscreen:function(){return"Volledig scherm"},formatJumpTo:function(){return"GA"},formatLoadingMessage:function(){return"Laden, even geduld"},formatMultipleSort:function(){return"Meervoudige sortering"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatOrder:function(){return"Volgorde"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatRefresh:function(){return"Vernieuwen"},formatSRPaginationNextText:function(){return"volgende pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationPreText:function(){return"vorige pagina"},formatSearch:function(){return"Zoeken"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":""," (gefilterd van ").concat(o," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":"")},formatSort:function(){return"Sorteren"},formatSortBy:function(){return"Sorteren op"},formatSortOrders:function(){return{asc:"Oplopend",desc:"Aflopend"}},formatThenBy:function(){return"vervolgens"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Verberg kaartweergave"},formatToggleOn:function(){return"Toon kaartweergave"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nl-BE"]),t.fn.bootstrapTable.locales["nl-NL"]=t.fn.bootstrapTable.locales.nl={formatAddLevel:function(){return"Niveau toevoegen"},formatAdvancedCloseButton:function(){return"Sluiten"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatCancel:function(){return"Annuleren"},formatClearSearch:function(){return"Verwijder filters"},formatColumn:function(){return"Kolom"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Niveau verwijderen"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Gelieve dubbele kolommen te verwijderen of wijzigen"},formatDuplicateAlertTitle:function(){return"Duplicaten gevonden!"},formatExport:function(){return"Exporteer gegevens"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"},formatFullscreen:function(){return"Volledig scherm"},formatJumpTo:function(){return"GA"},formatLoadingMessage:function(){return"Laden, even geduld"},formatMultipleSort:function(){return"Meervoudige sortering"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatOrder:function(){return"Volgorde"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatRefresh:function(){return"Vernieuwen"},formatSRPaginationNextText:function(){return"volgende pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationPreText:function(){return"vorige pagina"},formatSearch:function(){return"Zoeken"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":""," (gefilterd van ").concat(o," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":"")},formatSort:function(){return"Sorteren"},formatSortBy:function(){return"Sorteren op"},formatSortOrders:function(){return{asc:"Oplopend",desc:"Aflopend"}},formatThenBy:function(){return"vervolgens"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Verberg kaartweergave"},formatToggleOn:function(){return"Toon kaartweergave"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nl-NL"]),t.fn.bootstrapTable.locales["pl-PL"]=t.fn.bootstrapTable.locales.pl={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zamknij"},formatAdvancedSearch:function(){return"Wyszukiwanie zaawansowane"},formatAllRows:function(){return"Wszystkie"},formatAutoRefresh:function(){return"Auto odświeżanie"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Wyczyść wyszukiwanie"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolumny"},formatColumnsToggleAll:function(){return"Zaznacz wszystko"},formatCopyRows:function(){return"Kopiuj wiersze"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Wyświetla ".concat(t," wierszy")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksport danych"},formatFilterControlSwitch:function(){return"Pokaż/Ukryj"},formatFilterControlSwitchHide:function(){return"Pokaż"},formatFilterControlSwitchShow:function(){return"Ukryj"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"Przejdź"},formatLoadingMessage:function(){return"Ładowanie, proszę czekać"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Niestety, nic nie znaleziono"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Pokaż/ukryj stronicowanie"},formatPaginationSwitchDown:function(){return"Pokaż stronicowanie"},formatPaginationSwitchUp:function(){return"Ukryj stronicowanie"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rekordów na stronę")},formatRefresh:function(){return"Odśwież"},formatSRPaginationNextText:function(){return"następna strona"},formatSRPaginationPageText:function(t){return"z ".concat(t)},formatSRPaginationPreText:function(){return"poprzednia strona"},formatSearch:function(){return"Szukaj"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(r," (filtered from ").concat(o," total rows)"):"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ukryj układ karty"},formatToggleOn:function(){return"Pokaż układ karty"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pl-PL"]),t.fn.bootstrapTable.locales["pt-BR"]=t.fn.bootstrapTable.locales.br={formatAddLevel:function(){return"Adicionar nível"},formatAdvancedCloseButton:function(){return"Fechar"},formatAdvancedSearch:function(){return"Pesquisa Avançada"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Atualização Automática"},formatCancel:function(){return"Cancelar"},formatClearSearch:function(){return"Limpar Pesquisa"},formatColumn:function(){return"Coluna"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Alternar tudo"},formatCopyRows:function(){return"Copiar linhas"},formatDeleteLevel:function(){return"Remover nível"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linha").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Por favor, remova ou altere as colunas duplicadas"},formatDuplicateAlertTitle:function(){return"Encontradas entradas duplicadas!"},formatExport:function(){return"Exportar dados"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Exibir controles"},formatFullscreen:function(){return"Tela cheia"},formatJumpTo:function(){return"Ir"},formatLoadingMessage:function(){return"Carregando, aguarde"},formatMultipleSort:function(){return"Ordenação múltipla"},formatNoMatches:function(){return"Nenhum registro encontrado"},formatOrder:function(){return"Ordem"},formatPaginationSwitch:function(){return"Ocultar/Exibir paginação"},formatPaginationSwitchDown:function(){return"Mostrar Paginação"},formatPaginationSwitchUp:function(){return"Esconder Paginação"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatRefresh:function(){return"Recarregar"},formatSRPaginationNextText:function(){return"próxima página"},formatSRPaginationPageText:function(t){return"ir para a página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Pesquisar"},formatShowingRows:function(t,n,r,o){var e=r>1?"s":"";return void 0!==o&&o>0&&o>r?"Exibindo ".concat(t," até ").concat(n," de ").concat(r," linha").concat(e," (filtrado de um total de ").concat(o," linha").concat(e,")"):"Exibindo ".concat(t," até ").concat(n," de ").concat(r," linha").concat(e)},formatSort:function(){return"Ordenar"},formatSortBy:function(){return"Ordenar por"},formatSortOrders:function(){return{asc:"Crescente",desc:"Decrescente"}},formatThenBy:function(){return"em seguida"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Mostrar visualização de cartão"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pt-BR"]),t.fn.bootstrapTable.locales["pt-PT"]=t.fn.bootstrapTable.locales.pt={formatAddLevel:function(){return"Adicionar nível"},formatAdvancedCloseButton:function(){return"Fechar"},formatAdvancedSearch:function(){return"Pesquisa avançada"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Actualização autmática"},formatCancel:function(){return"Cancelar"},formatClearSearch:function(){return"Limpar Pesquisa"},formatColumn:function(){return"Coluna"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Activar tudo"},formatCopyRows:function(){return"Copiar Linhas"},formatDeleteLevel:function(){return"Remover nível"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linha").concat(t>1?"s":"")},formatDuplicateAlertDescription:function(){return"Por favor, remova ou altere as colunas duplicadas"},formatDuplicateAlertTitle:function(){return"Foram encontradas entradas duplicadas!"},formatExport:function(){return"Exportar dados"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Esconder controlos"},formatFilterControlSwitchShow:function(){return"Exibir controlos"},formatFullscreen:function(){return"Ecrã completo"},formatJumpTo:function(){return"Avançar"},formatLoadingMessage:function(){return"A carregar, por favor aguarde"},formatMultipleSort:function(){return"Ordenação múltipla"},formatNoMatches:function(){return"Nenhum registo encontrado"},formatOrder:function(){return"Ordem"},formatPaginationSwitch:function(){return"Esconder/Mostrar paginação"},formatPaginationSwitchDown:function(){return"Mostrar página"},formatPaginationSwitchUp:function(){return"Esconder página"},formatPrint:function(){return"Imprimir"},formatRecordsPerPage:function(t){return"".concat(t," registos por página")},formatRefresh:function(){return"Actualizar"},formatSRPaginationNextText:function(){return"próxima página"},formatSRPaginationPageText:function(t){return"ir para página ".concat(t)},formatSRPaginationPreText:function(){return"página anterior"},formatSearch:function(){return"Pesquisa"},formatShowingRows:function(t,n,r,o){var e=r>1?"s":"";return void 0!==o&&o>0&&o>r?"A mostrar ".concat(t," at&eacute; ").concat(n," de ").concat(r," linha").concat(e," (filtrado de um total de ").concat(o," linha").concat(e,")"):"A mostrar ".concat(t," até ").concat(n," de ").concat(r," linha").concat(e)},formatSort:function(){return"Ordenar"},formatSortBy:function(){return"Ordenar por"},formatSortOrders:function(){return{asc:"Ascendente",desc:"Descendente"}},formatThenBy:function(){return"em seguida"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Esconder vista em forma de cartão"},formatToggleOn:function(){return"Mostrar vista em forma de cartão"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pt-PT"]),t.fn.bootstrapTable.locales["ro-RO"]=t.fn.bootstrapTable.locales.ro={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Toate"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"Coloane"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Se incarca, va rugam asteptati"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nu au fost gasite inregistrari"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ascunde/Arata paginatia"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," inregistrari pe pagina")},formatRefresh:function(){return"Reincarca"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Cauta"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Arata de la ".concat(t," pana la ").concat(n," din ").concat(r," randuri (filtered from ").concat(o," total rows)"):"Arata de la ".concat(t," pana la ").concat(n," din ").concat(r," randuri")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ro-RO"]),t.fn.bootstrapTable.locales["ru-RU"]=t.fn.bootstrapTable.locales.ru={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Закрыть"},formatAdvancedSearch:function(){return"Расширенный поиск"},formatAllRows:function(){return"Все"},formatAutoRefresh:function(){return"Автоматическое обновление"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Очистить фильтры"},formatColumn:function(){return"Column"},formatColumns:function(){return"Колонки"},formatColumnsToggleAll:function(){return"Выбрать все"},formatCopyRows:function(){return"Скопировать строки"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Загружено ".concat(t," строк")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Экспортировать данные"},formatFilterControlSwitch:function(){return"Скрыть/Показать панель инструментов"},formatFilterControlSwitchHide:function(){return"Скрыть панель инструментов"},formatFilterControlSwitchShow:function(){return"Показать панель инструментов"},formatFullscreen:function(){return"Полноэкранный режим"},formatJumpTo:function(){return"Стр."},formatLoadingMessage:function(){return"Пожалуйста, подождите, идёт загрузка"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ничего не найдено"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Скрыть/Показать постраничную навигацию"},formatPaginationSwitchDown:function(){return"Показать постраничную навигацию"},formatPaginationSwitchUp:function(){return"Скрыть постраничную навигацию"},formatPrint:function(){return"Печать"},formatRecordsPerPage:function(t){return"".concat(t," записей на страницу")},formatRefresh:function(){return"Обновить"},formatSRPaginationNextText:function(){return"следующая страница"},formatSRPaginationPageText:function(t){return"перейти к странице ".concat(t)},formatSRPaginationPreText:function(){return"предыдущая страница"},formatSearch:function(){return"Поиск"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Записи с ".concat(t," по ").concat(n," из ").concat(r," (отфильтровано, всего на сервере ").concat(o," записей)"):"Записи с ".concat(t," по ").concat(n," из ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Табличный режим просмотра"},formatToggleOn:function(){return"Показать записи в виде карточек"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ru-RU"]),t.fn.bootstrapTable.locales["sk-SK"]=t.fn.bootstrapTable.locales.sk={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zatvoriť"},formatAdvancedSearch:function(){return"Pokročilé vyhľadávanie"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Automatické obnovenie"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Odstráň filtre"},formatColumn:function(){return"Column"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Prepnúť všetky"},formatCopyRows:function(){return"Skopírovať riadky"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Zobrazuje sa ".concat(t," riadkov")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Exportuj dáta"},formatFilterControlSwitch:function(){return"Zobraziť/Skryť tlačidlá"},formatFilterControlSwitchHide:function(){return"Skryť tlačidlá"},formatFilterControlSwitchShow:function(){return"Zobraziť tlačidlá"},formatFullscreen:function(){return"Celá obrazovka"},formatJumpTo:function(){return"Ísť"},formatLoadingMessage:function(){return"Prosím čakajte"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nenájdená žiadna vyhovujúca položka"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skry/Zobraz stránkovanie"},formatPaginationSwitchDown:function(){return"Zobraziť stránkovanie"},formatPaginationSwitchUp:function(){return"Skryť stránkovanie"},formatPrint:function(){return"Vytlačiť"},formatRecordsPerPage:function(t){return"".concat(t," záznamov na stranu")},formatRefresh:function(){return"Obnoviť"},formatSRPaginationNextText:function(){return"Nasledujúca strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationPreText:function(){return"Predchádzajúca strana"},formatSearch:function(){return"Vyhľadávanie"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r," (filtered from ").concat(o," total rows)"):"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"skryť kartové zobrazenie"},formatToggleOn:function(){return"Zobraziť kartové zobrazenie"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sk-SK"]),t.fn.bootstrapTable.locales["sl-SI"]=t.fn.bootstrapTable.locales.sl={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zapri"},formatAdvancedSearch:function(){return"Napredno iskanje"},formatAllRows:function(){return"Vse"},formatAutoRefresh:function(){return"Samodejna osvežitev"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Počisti"},formatColumn:function(){return"Column"},formatColumns:function(){return"Stolpci"},formatColumnsToggleAll:function(){return"Preklopi vse"},formatCopyRows:function(){return"Kopiraj vrstice"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Prikaz ".concat(t," vrstic")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Izvoz podatkov"},formatFilterControlSwitch:function(){return"Skrij/Pokaži kontrole"},formatFilterControlSwitchHide:function(){return"Skrij kontrole"},formatFilterControlSwitchShow:function(){return"Pokaži kontrole"},formatFullscreen:function(){return"Celozaslonski prikaz"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Prosim počakajte..."},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Ni najdenih rezultatov"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Skrij/Pokaži oštevilčevanje strani"},formatPaginationSwitchDown:function(){return"Pokaži oštevilčevanje strani"},formatPaginationSwitchUp:function(){return"Skrij oštevilčevanje strani"},formatPrint:function(){return"Natisni"},formatRecordsPerPage:function(t){return"".concat(t," vrstic na stran")},formatRefresh:function(){return"Osveži"},formatSRPaginationNextText:function(){return"na slednja stran"},formatSRPaginationPageText:function(t){return"na stran ".concat(t)},formatSRPaginationPreText:function(){return"prejšnja stran"},formatSearch:function(){return"Iskanje"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Prikaz ".concat(t," do ").concat(n," od ").concat(r," vrstic (filtrirano od skupno ").concat(o," vrstic)"):"Prikaz ".concat(t," do ").concat(n," od ").concat(r," vrstic")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Skrij kartični pogled"},formatToggleOn:function(){return"Prikaži kartični pogled"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sl-SI"]),t.fn.bootstrapTable.locales["sr-Cyrl-RS"]=t.fn.bootstrapTable.locales.sr={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Затвори"},formatAdvancedSearch:function(){return"Напредна претрага"},formatAllRows:function(){return"Све"},formatAutoRefresh:function(){return"Аутоматско освежавање"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Обриши претрагу"},formatColumn:function(){return"Column"},formatColumns:function(){return"Колоне"},formatColumnsToggleAll:function(){return"Прикажи/сакриј све"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Приказано ".concat(t," редова")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Извези податке"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Цео екран"},formatJumpTo:function(){return"Иди"},formatLoadingMessage:function(){return"Молим сачекај"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Није пронађен ни један податак"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Прикажи/сакриј пагинацију"},formatPaginationSwitchDown:function(){return"Прикажи пагинацију"},formatPaginationSwitchUp:function(){return"Сакриј пагинацију"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," редова по страни")},formatRefresh:function(){return"Освежи"},formatSRPaginationNextText:function(){return"следећа страна"},formatSRPaginationPageText:function(t){return"на страну ".concat(t)},formatSRPaginationPreText:function(){return"претходна страна"},formatSearch:function(){return"Пронађи"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r," (филтрирано од ").concat(o,")"):"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Сакриј картице"},formatToggleOn:function(){return"Прикажи картице"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sr-Cyrl-RS"]),t.fn.bootstrapTable.locales["sr-Latn-RS"]={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Zatvori"},formatAdvancedSearch:function(){return"Napredna pretraga"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Automatsko osvežavanje"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Obriši pretragu"},formatColumn:function(){return"Column"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Prikaži/sakrij sve"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Prikazano ".concat(t," redova")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Izvezi podatke"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Ceo ekran"},formatJumpTo:function(){return"Idi"},formatLoadingMessage:function(){return"Molim sačekaj"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Nije pronađen ni jedan podatak"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Prikaži/sakrij paginaciju"},formatPaginationSwitchDown:function(){return"Prikaži paginaciju"},formatPaginationSwitchUp:function(){return"Sakrij paginaciju"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," redova po strani")},formatRefresh:function(){return"Osveži"},formatSRPaginationNextText:function(){return"sledeća strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationPreText:function(){return"prethodna strana"},formatSearch:function(){return"Pronađi"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(r," (filtrirano od ").concat(o,")"):"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(r)},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Sakrij kartice"},formatToggleOn:function(){return"Prikaži kartice"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sr-Latn-RS"]),t.fn.bootstrapTable.locales["sv-SE"]=t.fn.bootstrapTable.locales.sv={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"kolumn"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Laddar, vänligen vänta"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Inga matchande resultat funna."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," rader per sida")},formatRefresh:function(){return"Uppdatera"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Sök"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Visa ".concat(t," till ").concat(n," av ").concat(r," rader (filtered from ").concat(o," total rows)"):"Visa ".concat(t," till ").concat(n," av ").concat(r," rader")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sv-SE"]),t.fn.bootstrapTable.locales["th-TH"]=t.fn.bootstrapTable.locales.th={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"คอลัมน์"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"กำลังโหลดข้อมูล, กรุณารอสักครู่"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"ไม่พบรายการที่ค้นหา !"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," รายการต่อหน้า")},formatRefresh:function(){return"รีเฟรส"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"ค้นหา"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(r," รายการ (filtered from ").concat(o," total rows)"):"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(r," รายการ")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["th-TH"]),t.fn.bootstrapTable.locales["tr-TR"]=t.fn.bootstrapTable.locales.tr={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Kapat"},formatAdvancedSearch:function(){return"Gelişmiş Arama"},formatAllRows:function(){return"Tüm Satırlar"},formatAutoRefresh:function(){return"Otomatik Yenileme"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Aramayı Temizle"},formatColumn:function(){return"Column"},formatColumns:function(){return"Sütunlar"},formatColumnsToggleAll:function(){return"Tümünü Kapat"},formatCopyRows:function(){return"Satırları Kopyala"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"".concat(t," satır gösteriliyor")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Verileri Dışa Aktar"},formatFilterControlSwitch:function(){return"Kontrolleri Gizle/Göster"},formatFilterControlSwitchHide:function(){return"Kontrolleri Gizle"},formatFilterControlSwitchShow:function(){return"Kontrolleri Göster"},formatFullscreen:function(){return"Tam Ekran"},formatJumpTo:function(){return"Git"},formatLoadingMessage:function(){return"Yükleniyor, lütfen bekleyin"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Eşleşen kayıt bulunamadı."},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Sayfalamayı Gizle/Göster"},formatPaginationSwitchDown:function(){return"Sayfalamayı Göster"},formatPaginationSwitchUp:function(){return"Sayfalamayı Gizle"},formatPrint:function(){return"Yazdır"},formatRecordsPerPage:function(t){return"Sayfa başına ".concat(t," kayıt.")},formatRefresh:function(){return"Yenile"},formatSRPaginationNextText:function(){return"sonraki sayfa"},formatSRPaginationPageText:function(t){return"sayfa ".concat(t)},formatSRPaginationPreText:function(){return"önceki sayfa"},formatSearch:function(){return"Ara"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"".concat(r," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor (").concat(o," toplam satır filtrelendi)."):"".concat(r," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor.")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Kart Görünümünü Gizle"},formatToggleOn:function(){return"Kart Görünümünü Göster"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["tr-TR"]),t.fn.bootstrapTable.locales["uk-UA"]=t.fn.bootstrapTable.locales.uk={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Закрити"},formatAdvancedSearch:function(){return"Розширений пошук"},formatAllRows:function(){return"Усі"},formatAutoRefresh:function(){return"Автооновлення"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Скинути фільтри"},formatColumn:function(){return"Column"},formatColumns:function(){return"Стовпці"},formatColumnsToggleAll:function(){return"Переключити усі"},formatCopyRows:function(){return"Скопіювати рядки"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Відображено ".concat(t," рядків")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Експортувати дані"},formatFilterControlSwitch:function(){return"Сховати/Відобразити елементи керування"},formatFilterControlSwitchHide:function(){return"Сховати елементи керування"},formatFilterControlSwitchShow:function(){return"Відобразити елементи керування"},formatFullscreen:function(){return"Повноекранний режим"},formatJumpTo:function(){return"Швидкий перехід до"},formatLoadingMessage:function(){return"Завантаження, будь ласка, зачекайте"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Не знайдено жодного запису"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Сховати/Відобразити пагінацію"},formatPaginationSwitchDown:function(){return"Відобразити пагінацію"},formatPaginationSwitchUp:function(){return"Сховати пагінацію"},formatPrint:function(){return"Друк"},formatRecordsPerPage:function(t){return"".concat(t," рядків на сторінку")},formatRefresh:function(){return"Оновити"},formatSRPaginationNextText:function(){return"наступна сторінка"},formatSRPaginationPageText:function(t){return"до сторінки ".concat(t)},formatSRPaginationPreText:function(){return"попередня сторінка"},formatSearch:function(){return"Пошук"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Відображено рядки з ".concat(t," по ").concat(n," з ").concat(r," загалом (відфільтровано з ").concat(o," рядків)"):"Відображено рядки з ".concat(t," по ").concat(n," з ").concat(r," загалом")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Вимкнути формат карток"},formatToggleOn:function(){return"Відобразити у форматі карток"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["uk-UA"]),t.fn.bootstrapTable.locales["ur-PK"]=t.fn.bootstrapTable.locales.ur={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Clear Search"},formatColumn:function(){return"Column"},formatColumns:function(){return"کالم"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Export data"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"براۓ مہربانی انتظار کیجئے"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"کوئی ریکارڈ نہیں ملا"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," ریکارڈز فی صفہ ")},formatRefresh:function(){return"تازہ کریں"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"تلاش"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(r,"ریکارڈز (filtered from ").concat(o," total rows)"):"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(r,"ریکارڈز")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ur-PK"]),t.fn.bootstrapTable.locales["uz-Latn-UZ"]=t.fn.bootstrapTable.locales.uz={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Close"},formatAdvancedSearch:function(){return"Advanced search"},formatAllRows:function(){return"Hammasi"},formatAutoRefresh:function(){return"Auto Refresh"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Filtrlarni tozalash"},formatColumn:function(){return"Column"},formatColumns:function(){return"Ustunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatCopyRows:function(){return"Copy Rows"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Eksport"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"},formatFullscreen:function(){return"Fullscreen"},formatJumpTo:function(){return"GO"},formatLoadingMessage:function(){return"Yuklanyapti, iltimos kuting"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Hech narsa topilmadi"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Sahifalashni yashirish/ko'rsatish"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatPrint:function(){return"Print"},formatRecordsPerPage:function(t){return"".concat(t," qator har sahifada")},formatRefresh:function(){return"Yangilash"},formatSRPaginationNextText:function(){return"next page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationPreText:function(){return"previous page"},formatSearch:function(){return"Qidirish"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(r," qatorlarni (filtered from ").concat(o," total rows)"):"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(r," qatorlarni")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Hide card view"},formatToggleOn:function(){return"Show card view"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["uz-Latn-UZ"]),t.fn.bootstrapTable.locales["vi-VN"]=t.fn.bootstrapTable.locales.vi={formatAddLevel:function(){return"Add Level"},formatAdvancedCloseButton:function(){return"Đóng"},formatAdvancedSearch:function(){return"Tìm kiếm nâng cao"},formatAllRows:function(){return"Tất cả"},formatAutoRefresh:function(){return"Tự động làm mới"},formatCancel:function(){return"Cancel"},formatClearSearch:function(){return"Xoá tìm kiếm"},formatColumn:function(){return"Column"},formatColumns:function(){return"Cột"},formatColumnsToggleAll:function(){return"Hiện tất cả"},formatCopyRows:function(){return"Sao chép hàng"},formatDeleteLevel:function(){return"Delete Level"},formatDetailPagination:function(t){return"Đang hiện ".concat(t," hàng")},formatDuplicateAlertDescription:function(){return"Please remove or change any duplicate column."},formatDuplicateAlertTitle:function(){return"Duplicate(s) detected!"},formatExport:function(){return"Xuất dữ liệu"},formatFilterControlSwitch:function(){return"Ẩn/Hiện điều khiển"},formatFilterControlSwitchHide:function(){return"Ẩn điều khiển"},formatFilterControlSwitchShow:function(){return"Hiện điều khiển"},formatFullscreen:function(){return"Toàn màn hình"},formatJumpTo:function(){return"Đến"},formatLoadingMessage:function(){return"Đang tải"},formatMultipleSort:function(){return"Multiple Sort"},formatNoMatches:function(){return"Không có dữ liệu"},formatOrder:function(){return"Order"},formatPaginationSwitch:function(){return"Ẩn/Hiện phân trang"},formatPaginationSwitchDown:function(){return"Hiện phân trang"},formatPaginationSwitchUp:function(){return"Ẩn phân trang"},formatPrint:function(){return"In"},formatRecordsPerPage:function(t){return"".concat(t," bản ghi mỗi trang")},formatRefresh:function(){return"Làm mới"},formatSRPaginationNextText:function(){return"trang sau"},formatSRPaginationPageText:function(t){return"đến trang ".concat(t)},formatSRPaginationPreText:function(){return"trang trước"},formatSearch:function(){return"Tìm kiếm"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(r," bản ghi (được lọc từ tổng ").concat(o," hàng)"):"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(r," bản ghi")},formatSort:function(){return"Sort"},formatSortBy:function(){return"Sort by"},formatSortOrders:function(){return{asc:"Ascending",desc:"Descending"}},formatThenBy:function(){return"Then by"},formatToggleCustomViewOff:function(){return"Hide custom view"},formatToggleCustomViewOn:function(){return"Show custom view"},formatToggleOff:function(){return"Ẩn các thẻ"},formatToggleOn:function(){return"Hiển thị các thẻ"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["vi-VN"]),t.fn.bootstrapTable.locales["zh-CN"]=t.fn.bootstrapTable.locales.zh={formatAddLevel:function(){return"增加层级"},formatAdvancedCloseButton:function(){return"关闭"},formatAdvancedSearch:function(){return"高级搜索"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自动刷新"},formatCancel:function(){return"取消"},formatClearSearch:function(){return"清空过滤"},formatColumn:function(){return"列"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切换所有"},formatCopyRows:function(){return"复制行"},formatDeleteLevel:function(){return"删除层级"},formatDetailPagination:function(t){return"总共 ".concat(t," 条记录")},formatDuplicateAlertDescription:function(){return"请删除或修改重复的列。"},formatDuplicateAlertTitle:function(){return"检测到重复项!"},formatExport:function(){return"导出数据"},formatFilterControlSwitch:function(){return"隐藏/显示过滤控制"},formatFilterControlSwitchHide:function(){return"隐藏过滤控制"},formatFilterControlSwitchShow:function(){return"显示过滤控制"},formatFullscreen:function(){return"全屏"},formatJumpTo:function(){return"跳转"},formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候"},formatMultipleSort:function(){return"多重排序"},formatNoMatches:function(){return"没有找到匹配的记录"},formatOrder:function(){return"排序"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatPaginationSwitchDown:function(){return"显示分页"},formatPaginationSwitchUp:function(){return"隐藏分页"},formatPrint:function(){return"打印"},formatRecordsPerPage:function(t){return"每页显示 ".concat(t," 条记录")},formatRefresh:function(){return"刷新"},formatSRPaginationNextText:function(){return"下一页"},formatSRPaginationPageText:function(t){return"第".concat(t,"页")},formatSRPaginationPreText:function(){return"上一页"},formatSearch:function(){return"搜索"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(r," 条记录(从 ").concat(o," 总记录中过滤)"):"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(r," 条记录")},formatSort:function(){return"排序"},formatSortBy:function(){return"排序依据"},formatSortOrders:function(){return{asc:"升序",desc:"降序"}},formatThenBy:function(){return"然后按"},formatToggleCustomViewOff:function(){return"隐藏自定义视图"},formatToggleCustomViewOn:function(){return"显示自定义视图"},formatToggleOff:function(){return"隐藏卡片视图"},formatToggleOn:function(){return"显示卡片视图"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["zh-CN"]),t.fn.bootstrapTable.locales["zh-TW"]={formatAddLevel:function(){return"增加層級"},formatAdvancedCloseButton:function(){return"關閉"},formatAdvancedSearch:function(){return"高級搜尋"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自動刷新"},formatCancel:function(){return"取消"},formatClearSearch:function(){return"清空過濾"},formatColumn:function(){return"列"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切換所有"},formatCopyRows:function(){return"複製行"},formatDeleteLevel:function(){return"刪除層級"},formatDetailPagination:function(t){return"總共 ".concat(t," 項記錄")},formatDuplicateAlertDescription:function(){return"請刪除或修改重複的列。"},formatDuplicateAlertTitle:function(){return"檢測到重複項!"},formatExport:function(){return"導出數據"},formatFilterControlSwitch:function(){return"隱藏/顯示過濾控制"},formatFilterControlSwitchHide:function(){return"隱藏過濾控制"},formatFilterControlSwitchShow:function(){return"顯示過濾控制"},formatFullscreen:function(){return"全屏"},formatJumpTo:function(){return"跳轉"},formatLoadingMessage:function(){return"正在努力地載入資料,請稍候"},formatMultipleSort:function(){return"多重排序"},formatNoMatches:function(){return"沒有找到符合的結果"},formatOrder:function(){return"排序"},formatPaginationSwitch:function(){return"隱藏/顯示分頁"},formatPaginationSwitchDown:function(){return"顯示分頁"},formatPaginationSwitchUp:function(){return"隱藏分頁"},formatPrint:function(){return"列印"},formatRecordsPerPage:function(t){return"每頁顯示 ".concat(t," 項記錄")},formatRefresh:function(){return"重新整理"},formatSRPaginationNextText:function(){return"下一頁"},formatSRPaginationPageText:function(t){return"第".concat(t,"頁")},formatSRPaginationPreText:function(){return"上一頁"},formatSearch:function(){return"搜尋"},formatShowingRows:function(t,n,r,o){return void 0!==o&&o>0&&o>r?"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(r," 項記錄(從 ").concat(o," 總記錄中過濾)"):"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(r," 項記錄")},formatSort:function(){return"排序"},formatSortBy:function(){return"排序依據"},formatSortOrders:function(){return{asc:"升序",desc:"降序"}},formatThenBy:function(){return"然後按"},formatToggleCustomViewOff:function(){return"隱藏自定義視圖"},formatToggleCustomViewOn:function(){return"顯示自定義視圖"},formatToggleOff:function(){return"隱藏卡片視圖"},formatToggleOn:function(){return"顯示卡片視圖"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["zh-TW"])});
diff --git a/public/js/dist/bootstrap-table.js b/public/js/dist/bootstrap-table.js
index 86ec09ce3c..0497944d8c 100644
--- a/public/js/dist/bootstrap-table.js
+++ b/public/js/dist/bootstrap-table.js
@@ -428,7 +428,7 @@
}
}
function _createClass(e, r, t) {
- return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
writable: false
}), e;
}
@@ -556,7 +556,7 @@
if ("object" != typeof i) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
- return (String )(t);
+ return ("string" === r ? String : Number)(t);
}
function _toPropertyKey(t) {
var i = _toPrimitive(t, "string");
@@ -651,7 +651,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -845,18 +845,18 @@
return isCallable;
}
- var isObject;
+ var isObject$1;
var hasRequiredIsObject;
function requireIsObject () {
- if (hasRequiredIsObject) return isObject;
+ if (hasRequiredIsObject) return isObject$1;
hasRequiredIsObject = 1;
var isCallable = requireIsCallable();
- isObject = function (it) {
+ isObject$1 = function (it) {
return typeof it == 'object' ? it !== null : isCallable(it);
};
- return isObject;
+ return isObject$1;
}
var getBuiltIn;
@@ -1130,10 +1130,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -1486,7 +1486,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -1509,7 +1509,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -2124,7 +2124,7 @@
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
doesNotExceedSafeInteger = function (it) {
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
return it;
};
return doesNotExceedSafeInteger;
@@ -2147,6 +2147,41 @@
return createProperty;
}
+ var arraySetLength;
+ var hasRequiredArraySetLength;
+
+ function requireArraySetLength () {
+ if (hasRequiredArraySetLength) return arraySetLength;
+ hasRequiredArraySetLength = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var isArray = requireIsArray();
+
+ var $TypeError = TypeError;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+ // Safari < 13 does not throw an error in this case
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
+ // makes no sense without proper strict mode support
+ if (this !== undefined) return true;
+ try {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
+ } catch (error) {
+ return error instanceof TypeError;
+ }
+ }();
+
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
+ throw new $TypeError('Cannot set read only .length');
+ } return O.length = length;
+ } : function (O, length) {
+ return O.length = length;
+ };
+ return arraySetLength;
+ }
+
var toStringTagSupport;
var hasRequiredToStringTagSupport;
@@ -2157,7 +2192,7 @@
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -2350,6 +2385,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var arraySpeciesCreate = requireArraySpeciesCreate();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var wellKnownSymbol = requireWellKnownSymbol();
@@ -2395,7 +2431,7 @@
createProperty(A, n++, E);
}
}
- A.length = n;
+ setArrayLength(A, n);
return A;
}
});
@@ -2404,155 +2440,7 @@
requireEs_array_concat();
- var es_array_filter = {};
-
- var functionUncurryThisClause;
- var hasRequiredFunctionUncurryThisClause;
-
- function requireFunctionUncurryThisClause () {
- if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
- hasRequiredFunctionUncurryThisClause = 1;
- var classofRaw = requireClassofRaw();
- var uncurryThis = requireFunctionUncurryThis();
-
- functionUncurryThisClause = function (fn) {
- // Nashorn bug:
- // https://github.com/zloirock/core-js/issues/1128
- // https://github.com/zloirock/core-js/issues/1130
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
- };
- return functionUncurryThisClause;
- }
-
- var functionBindContext;
- var hasRequiredFunctionBindContext;
-
- function requireFunctionBindContext () {
- if (hasRequiredFunctionBindContext) return functionBindContext;
- hasRequiredFunctionBindContext = 1;
- var uncurryThis = requireFunctionUncurryThisClause();
- var aCallable = requireACallable();
- var NATIVE_BIND = requireFunctionBindNative();
-
- var bind = uncurryThis(uncurryThis.bind);
-
- // optional / simple context binding
- functionBindContext = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
- return fn.apply(that, arguments);
- };
- };
- return functionBindContext;
- }
-
- var arrayIteration;
- var hasRequiredArrayIteration;
-
- function requireArrayIteration () {
- if (hasRequiredArrayIteration) return arrayIteration;
- hasRequiredArrayIteration = 1;
- var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
- var IndexedObject = requireIndexedObject();
- var toObject = requireToObject();
- var lengthOfArrayLike = requireLengthOfArrayLike();
- var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
-
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
- var createMethod = function (TYPE) {
- var IS_MAP = TYPE === 1;
- var IS_FILTER = TYPE === 2;
- var IS_SOME = TYPE === 3;
- var IS_EVERY = TYPE === 4;
- var IS_FIND_INDEX = TYPE === 6;
- var IS_FILTER_REJECT = TYPE === 7;
- var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
- var O = toObject($this);
- var self = IndexedObject(O);
- var length = lengthOfArrayLike(self);
- var boundFunction = bind(callbackfn, that);
- var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
- var value, result;
- for (;length > index; index++) if (NO_HOLES || index in self) {
- value = self[index];
- result = boundFunction(value, index, O);
- if (TYPE) {
- if (IS_MAP) target[index] = result; // map
- else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
- } else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
- }
- }
- }
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
- };
- };
-
- arrayIteration = {
- // `Array.prototype.forEach` method
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
- forEach: createMethod(0),
- // `Array.prototype.map` method
- // https://tc39.es/ecma262/#sec-array.prototype.map
- map: createMethod(1),
- // `Array.prototype.filter` method
- // https://tc39.es/ecma262/#sec-array.prototype.filter
- filter: createMethod(2),
- // `Array.prototype.some` method
- // https://tc39.es/ecma262/#sec-array.prototype.some
- some: createMethod(3),
- // `Array.prototype.every` method
- // https://tc39.es/ecma262/#sec-array.prototype.every
- every: createMethod(4),
- // `Array.prototype.find` method
- // https://tc39.es/ecma262/#sec-array.prototype.find
- find: createMethod(5),
- // `Array.prototype.findIndex` method
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
- findIndex: createMethod(6),
- // `Array.prototype.filterReject` method
- // https://github.com/tc39/proposal-array-filtering
- filterReject: createMethod(7)
- };
- return arrayIteration;
- }
-
- var hasRequiredEs_array_filter;
-
- function requireEs_array_filter () {
- if (hasRequiredEs_array_filter) return es_array_filter;
- hasRequiredEs_array_filter = 1;
- var $ = require_export();
- var $filter = requireArrayIteration().filter;
- var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
-
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
-
- // `Array.prototype.filter` method
- // https://tc39.es/ecma262/#sec-array.prototype.filter
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
- filter: function filter(callbackfn /* , thisArg */) {
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- return es_array_filter;
- }
-
- requireEs_array_filter();
-
- var es_array_find = {};
+ var es_array_includes = {};
var objectDefineProperties = {};
@@ -2736,72 +2624,6 @@
return addToUnscopables;
}
- var hasRequiredEs_array_find;
-
- function requireEs_array_find () {
- if (hasRequiredEs_array_find) return es_array_find;
- hasRequiredEs_array_find = 1;
- var $ = require_export();
- var $find = requireArrayIteration().find;
- var addToUnscopables = requireAddToUnscopables();
-
- var FIND = 'find';
- var SKIPS_HOLES = true;
-
- // Shouldn't skip holes
- // eslint-disable-next-line es/no-array-prototype-find -- testing
- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
-
- // `Array.prototype.find` method
- // https://tc39.es/ecma262/#sec-array.prototype.find
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
- find: function find(callbackfn /* , that = undefined */) {
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
-
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables(FIND);
- return es_array_find;
- }
-
- requireEs_array_find();
-
- var es_array_findIndex = {};
-
- var hasRequiredEs_array_findIndex;
-
- function requireEs_array_findIndex () {
- if (hasRequiredEs_array_findIndex) return es_array_findIndex;
- hasRequiredEs_array_findIndex = 1;
- var $ = require_export();
- var $findIndex = requireArrayIteration().findIndex;
- var addToUnscopables = requireAddToUnscopables();
-
- var FIND_INDEX = 'findIndex';
- var SKIPS_HOLES = true;
-
- // Shouldn't skip holes
- // eslint-disable-next-line es/no-array-prototype-findindex -- testing
- if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
-
- // `Array.prototype.findIndex` method
- // https://tc39.es/ecma262/#sec-array.prototype.findindex
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
- findIndex: function findIndex(callbackfn /* , that = undefined */) {
- return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
-
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables(FIND_INDEX);
- return es_array_findIndex;
- }
-
- requireEs_array_findIndex();
-
- var es_array_includes = {};
-
var hasRequiredEs_array_includes;
function requireEs_array_includes () {
@@ -2818,9 +2640,15 @@
return !Array(1).includes();
});
+ // Safari 26.4- bug
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
+ return [, 1].includes(undefined, 1);
+ });
+
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
@@ -2833,2519 +2661,3464 @@
requireEs_array_includes();
- var es_array_indexOf = {};
+ var es_object_assign = {};
- var arrayMethodIsStrict;
- var hasRequiredArrayMethodIsStrict;
+ var objectAssign;
+ var hasRequiredObjectAssign;
- function requireArrayMethodIsStrict () {
- if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
- hasRequiredArrayMethodIsStrict = 1;
+ function requireObjectAssign () {
+ if (hasRequiredObjectAssign) return objectAssign;
+ hasRequiredObjectAssign = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var uncurryThis = requireFunctionUncurryThis();
+ var call = requireFunctionCall();
var fails = requireFails();
+ var objectKeys = requireObjectKeys();
+ var getOwnPropertySymbolsModule = requireObjectGetOwnPropertySymbols();
+ var propertyIsEnumerableModule = requireObjectPropertyIsEnumerable();
+ var toObject = requireToObject();
+ var IndexedObject = requireIndexedObject();
- arrayMethodIsStrict = function (METHOD_NAME, argument) {
- var method = [][METHOD_NAME];
- return !!method && fails(function () {
- // eslint-disable-next-line no-useless-call -- required for testing
- method.call(null, argument || function () { return 1; }, 1);
- });
- };
- return arrayMethodIsStrict;
+ // eslint-disable-next-line es/no-object-assign -- safe
+ var $assign = Object.assign;
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
+ var defineProperty = Object.defineProperty;
+ var concat = uncurryThis([].concat);
+
+ // `Object.assign` method
+ // https://tc39.es/ecma262/#sec-object.assign
+ objectAssign = !$assign || fails(function () {
+ // should have correct order of operations (Edge bug)
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
+ enumerable: true,
+ get: function () {
+ defineProperty(this, 'b', {
+ value: 3,
+ enumerable: false
+ });
+ }
+ }), { b: 2 })).b !== 1) return true;
+ // should work with symbols and should have deterministic property order (V8 bug)
+ var A = {};
+ var B = {};
+ // eslint-disable-next-line es/no-symbol -- safe
+ var symbol = Symbol('assign detection');
+ var alphabet = 'abcdefghijklmnopqrst';
+ A[symbol] = 7;
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
+ return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
+ var T = toObject(target);
+ var argumentsLength = arguments.length;
+ var index = 1;
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
+ while (argumentsLength > index) {
+ var S = IndexedObject(arguments[index++]);
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
+ var length = keys.length;
+ var j = 0;
+ var key;
+ while (length > j) {
+ key = keys[j++];
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
+ }
+ } return T;
+ } : $assign;
+ return objectAssign;
}
- var hasRequiredEs_array_indexOf;
+ var hasRequiredEs_object_assign;
- function requireEs_array_indexOf () {
- if (hasRequiredEs_array_indexOf) return es_array_indexOf;
- hasRequiredEs_array_indexOf = 1;
- /* eslint-disable es/no-array-prototype-indexof -- required for testing */
+ function requireEs_object_assign () {
+ if (hasRequiredEs_object_assign) return es_object_assign;
+ hasRequiredEs_object_assign = 1;
var $ = require_export();
- var uncurryThis = requireFunctionUncurryThisClause();
- var $indexOf = requireArrayIncludes().indexOf;
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
-
- var nativeIndexOf = uncurryThis([].indexOf);
-
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
- var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
+ var assign = requireObjectAssign();
- // `Array.prototype.indexOf` method
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
- $({ target: 'Array', proto: true, forced: FORCED }, {
- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
- var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
- return NEGATIVE_ZERO
- // convert -0 to +0
- ? nativeIndexOf(this, searchElement, fromIndex) || 0
- : $indexOf(this, searchElement, fromIndex);
- }
+ // `Object.assign` method
+ // https://tc39.es/ecma262/#sec-object.assign
+ // eslint-disable-next-line es/no-object-assign -- required for testing
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
+ assign: assign
});
- return es_array_indexOf;
+ return es_object_assign;
}
- requireEs_array_indexOf();
-
- var iterators;
- var hasRequiredIterators;
+ requireEs_object_assign();
- function requireIterators () {
- if (hasRequiredIterators) return iterators;
- hasRequiredIterators = 1;
- iterators = {};
- return iterators;
- }
+ var es_object_keys = {};
- var correctPrototypeGetter;
- var hasRequiredCorrectPrototypeGetter;
+ var hasRequiredEs_object_keys;
- function requireCorrectPrototypeGetter () {
- if (hasRequiredCorrectPrototypeGetter) return correctPrototypeGetter;
- hasRequiredCorrectPrototypeGetter = 1;
+ function requireEs_object_keys () {
+ if (hasRequiredEs_object_keys) return es_object_keys;
+ hasRequiredEs_object_keys = 1;
+ var $ = require_export();
+ var toObject = requireToObject();
+ var nativeKeys = requireObjectKeys();
var fails = requireFails();
- correctPrototypeGetter = !fails(function () {
- function F() { /* empty */ }
- F.prototype.constructor = null;
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
- return Object.getPrototypeOf(new F()) !== F.prototype;
+ var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
+
+ // `Object.keys` method
+ // https://tc39.es/ecma262/#sec-object.keys
+ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
+ keys: function keys(it) {
+ return nativeKeys(toObject(it));
+ }
});
- return correctPrototypeGetter;
+ return es_object_keys;
}
- var objectGetPrototypeOf;
- var hasRequiredObjectGetPrototypeOf;
+ requireEs_object_keys();
- function requireObjectGetPrototypeOf () {
- if (hasRequiredObjectGetPrototypeOf) return objectGetPrototypeOf;
- hasRequiredObjectGetPrototypeOf = 1;
- var hasOwn = requireHasOwnProperty();
- var isCallable = requireIsCallable();
- var toObject = requireToObject();
- var sharedKey = requireSharedKey();
- var CORRECT_PROTOTYPE_GETTER = requireCorrectPrototypeGetter();
+ var es_regexp_exec = {};
- var IE_PROTO = sharedKey('IE_PROTO');
- var $Object = Object;
- var ObjectPrototype = $Object.prototype;
+ var toString;
+ var hasRequiredToString;
- // `Object.getPrototypeOf` method
- // https://tc39.es/ecma262/#sec-object.getprototypeof
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
- objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
- var object = toObject(O);
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
- var constructor = object.constructor;
- if (isCallable(constructor) && object instanceof constructor) {
- return constructor.prototype;
- } return object instanceof $Object ? ObjectPrototype : null;
+ function requireToString () {
+ if (hasRequiredToString) return toString;
+ hasRequiredToString = 1;
+ var classof = requireClassof();
+
+ var $String = String;
+
+ toString = function (argument) {
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
+ return $String(argument);
};
- return objectGetPrototypeOf;
+ return toString;
}
- var iteratorsCore;
- var hasRequiredIteratorsCore;
+ var regexpFlags;
+ var hasRequiredRegexpFlags;
- function requireIteratorsCore () {
- if (hasRequiredIteratorsCore) return iteratorsCore;
- hasRequiredIteratorsCore = 1;
- var fails = requireFails();
- var isCallable = requireIsCallable();
- var isObject = requireIsObject();
- var create = requireObjectCreate();
- var getPrototypeOf = requireObjectGetPrototypeOf();
- var defineBuiltIn = requireDefineBuiltIn();
- var wellKnownSymbol = requireWellKnownSymbol();
- var IS_PURE = requireIsPure();
+ function requireRegexpFlags () {
+ if (hasRequiredRegexpFlags) return regexpFlags;
+ hasRequiredRegexpFlags = 1;
+ var anObject = requireAnObject();
- var ITERATOR = wellKnownSymbol('iterator');
- var BUGGY_SAFARI_ITERATORS = false;
+ // `RegExp.prototype.flags` getter implementation
+ // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
+ regexpFlags = function () {
+ var that = anObject(this);
+ var result = '';
+ if (that.hasIndices) result += 'd';
+ if (that.global) result += 'g';
+ if (that.ignoreCase) result += 'i';
+ if (that.multiline) result += 'm';
+ if (that.dotAll) result += 's';
+ if (that.unicode) result += 'u';
+ if (that.unicodeSets) result += 'v';
+ if (that.sticky) result += 'y';
+ return result;
+ };
+ return regexpFlags;
+ }
- // `%IteratorPrototype%` object
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
+ var regexpStickyHelpers;
+ var hasRequiredRegexpStickyHelpers;
- /* eslint-disable es/no-array-prototype-keys -- safe */
- if ([].keys) {
- arrayIterator = [].keys();
- // Safari 8 has buggy iterators w/o `next`
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
- else {
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
- }
- }
+ function requireRegexpStickyHelpers () {
+ if (hasRequiredRegexpStickyHelpers) return regexpStickyHelpers;
+ hasRequiredRegexpStickyHelpers = 1;
+ var fails = requireFails();
+ var globalThis = requireGlobalThis();
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
- var test = {};
- // FF44- legacy iterators case
- return IteratorPrototype[ITERATOR].call(test) !== test;
- });
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
+ var $RegExp = globalThis.RegExp;
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
- else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
+ var UNSUPPORTED_Y = fails(function () {
+ var re = $RegExp('a', 'y');
+ re.lastIndex = 2;
+ return re.exec('abcd') !== null;
+ });
- // `%IteratorPrototype%[@@iterator]()` method
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
- if (!isCallable(IteratorPrototype[ITERATOR])) {
- defineBuiltIn(IteratorPrototype, ITERATOR, function () {
- return this;
- });
- }
+ // UC Browser bug
+ // https://github.com/zloirock/core-js/issues/1008
+ var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
+ return !$RegExp('a', 'y').sticky;
+ });
- iteratorsCore = {
- IteratorPrototype: IteratorPrototype,
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
+ var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
+ var re = $RegExp('^r', 'gy');
+ re.lastIndex = 2;
+ return re.exec('str') !== null;
+ });
+
+ regexpStickyHelpers = {
+ BROKEN_CARET: BROKEN_CARET,
+ MISSED_STICKY: MISSED_STICKY,
+ UNSUPPORTED_Y: UNSUPPORTED_Y
};
- return iteratorsCore;
+ return regexpStickyHelpers;
}
- var setToStringTag;
- var hasRequiredSetToStringTag;
+ var regexpUnsupportedDotAll;
+ var hasRequiredRegexpUnsupportedDotAll;
- function requireSetToStringTag () {
- if (hasRequiredSetToStringTag) return setToStringTag;
- hasRequiredSetToStringTag = 1;
- var defineProperty = requireObjectDefineProperty().f;
- var hasOwn = requireHasOwnProperty();
- var wellKnownSymbol = requireWellKnownSymbol();
+ function requireRegexpUnsupportedDotAll () {
+ if (hasRequiredRegexpUnsupportedDotAll) return regexpUnsupportedDotAll;
+ hasRequiredRegexpUnsupportedDotAll = 1;
+ var fails = requireFails();
+ var globalThis = requireGlobalThis();
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
+ var $RegExp = globalThis.RegExp;
- setToStringTag = function (target, TAG, STATIC) {
- if (target && !STATIC) target = target.prototype;
- if (target && !hasOwn(target, TO_STRING_TAG)) {
- defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
- }
- };
- return setToStringTag;
+ regexpUnsupportedDotAll = fails(function () {
+ var re = $RegExp('.', 's');
+ return !(re.dotAll && re.test('\n') && re.flags === 's');
+ });
+ return regexpUnsupportedDotAll;
}
- var iteratorCreateConstructor;
- var hasRequiredIteratorCreateConstructor;
+ var regexpUnsupportedNcg;
+ var hasRequiredRegexpUnsupportedNcg;
- function requireIteratorCreateConstructor () {
- if (hasRequiredIteratorCreateConstructor) return iteratorCreateConstructor;
- hasRequiredIteratorCreateConstructor = 1;
- var IteratorPrototype = requireIteratorsCore().IteratorPrototype;
- var create = requireObjectCreate();
- var createPropertyDescriptor = requireCreatePropertyDescriptor();
- var setToStringTag = requireSetToStringTag();
- var Iterators = requireIterators();
+ function requireRegexpUnsupportedNcg () {
+ if (hasRequiredRegexpUnsupportedNcg) return regexpUnsupportedNcg;
+ hasRequiredRegexpUnsupportedNcg = 1;
+ var fails = requireFails();
+ var globalThis = requireGlobalThis();
- var returnThis = function () { return this; };
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
+ var $RegExp = globalThis.RegExp;
- iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
- var TO_STRING_TAG = NAME + ' Iterator';
- IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
- setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
- Iterators[TO_STRING_TAG] = returnThis;
- return IteratorConstructor;
- };
- return iteratorCreateConstructor;
+ regexpUnsupportedNcg = fails(function () {
+ var re = $RegExp('(?<a>b)', 'g');
+ return re.exec('b').groups.a !== 'b' ||
+ 'b'.replace(re, '$<a>c') !== 'bc';
+ });
+ return regexpUnsupportedNcg;
}
- var functionUncurryThisAccessor;
- var hasRequiredFunctionUncurryThisAccessor;
+ var regexpExec;
+ var hasRequiredRegexpExec;
- function requireFunctionUncurryThisAccessor () {
- if (hasRequiredFunctionUncurryThisAccessor) return functionUncurryThisAccessor;
- hasRequiredFunctionUncurryThisAccessor = 1;
+ function requireRegexpExec () {
+ if (hasRequiredRegexpExec) return regexpExec;
+ hasRequiredRegexpExec = 1;
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
+ /* eslint-disable regexp/no-useless-quantifier -- testing */
+ var call = requireFunctionCall();
var uncurryThis = requireFunctionUncurryThis();
- var aCallable = requireACallable();
-
- functionUncurryThisAccessor = function (object, key, method) {
- try {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
- } catch (error) { /* empty */ }
- };
- return functionUncurryThisAccessor;
- }
-
- var isPossiblePrototype;
- var hasRequiredIsPossiblePrototype;
+ var toString = requireToString();
+ var regexpFlags = requireRegexpFlags();
+ var stickyHelpers = requireRegexpStickyHelpers();
+ var shared = requireShared();
+ var create = requireObjectCreate();
+ var getInternalState = requireInternalState().get;
+ var UNSUPPORTED_DOT_ALL = requireRegexpUnsupportedDotAll();
+ var UNSUPPORTED_NCG = requireRegexpUnsupportedNcg();
- function requireIsPossiblePrototype () {
- if (hasRequiredIsPossiblePrototype) return isPossiblePrototype;
- hasRequiredIsPossiblePrototype = 1;
- var isObject = requireIsObject();
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
+ var nativeExec = RegExp.prototype.exec;
+ var patchedExec = nativeExec;
+ var charAt = uncurryThis(''.charAt);
+ var indexOf = uncurryThis(''.indexOf);
+ var replace = uncurryThis(''.replace);
+ var stringSlice = uncurryThis(''.slice);
- isPossiblePrototype = function (argument) {
- return isObject(argument) || argument === null;
- };
- return isPossiblePrototype;
- }
+ var UPDATES_LAST_INDEX_WRONG = (function () {
+ var re1 = /a/;
+ var re2 = /b*/g;
+ call(nativeExec, re1, 'a');
+ call(nativeExec, re2, 'a');
+ return re1.lastIndex !== 0 || re2.lastIndex !== 0;
+ })();
- var aPossiblePrototype;
- var hasRequiredAPossiblePrototype;
+ var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
- function requireAPossiblePrototype () {
- if (hasRequiredAPossiblePrototype) return aPossiblePrototype;
- hasRequiredAPossiblePrototype = 1;
- var isPossiblePrototype = requireIsPossiblePrototype();
+ // nonparticipating capturing group, copied from es5-shim's String#split patch.
+ var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
- var $String = String;
- var $TypeError = TypeError;
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
- aPossiblePrototype = function (argument) {
- if (isPossiblePrototype(argument)) return argument;
- throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
+ var setGroups = function (re, groups) {
+ var object = re.groups = create(null);
+ for (var i = 0; i < groups.length; i++) {
+ var group = groups[i];
+ object[group[0]] = re[group[1]];
+ }
};
- return aPossiblePrototype;
- }
-
- var objectSetPrototypeOf;
- var hasRequiredObjectSetPrototypeOf;
-
- function requireObjectSetPrototypeOf () {
- if (hasRequiredObjectSetPrototypeOf) return objectSetPrototypeOf;
- hasRequiredObjectSetPrototypeOf = 1;
- /* eslint-disable no-proto -- safe */
- var uncurryThisAccessor = requireFunctionUncurryThisAccessor();
- var isObject = requireIsObject();
- var requireObjectCoercible = requireRequireObjectCoercible();
- var aPossiblePrototype = requireAPossiblePrototype();
-
- // `Object.setPrototypeOf` method
- // https://tc39.es/ecma262/#sec-object.setprototypeof
- // Works with __proto__ only. Old v8 can't work with null proto objects.
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
- objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
- var CORRECT_SETTER = false;
- var test = {};
- var setter;
- try {
- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
- setter(test, []);
- CORRECT_SETTER = test instanceof Array;
- } catch (error) { /* empty */ }
- return function setPrototypeOf(O, proto) {
- requireObjectCoercible(O);
- aPossiblePrototype(proto);
- if (!isObject(O)) return O;
- if (CORRECT_SETTER) setter(O, proto);
- else O.__proto__ = proto;
- return O;
- };
- }() : undefined);
- return objectSetPrototypeOf;
- }
-
- var iteratorDefine;
- var hasRequiredIteratorDefine;
-
- function requireIteratorDefine () {
- if (hasRequiredIteratorDefine) return iteratorDefine;
- hasRequiredIteratorDefine = 1;
- var $ = require_export();
- var call = requireFunctionCall();
- var IS_PURE = requireIsPure();
- var FunctionName = requireFunctionName();
- var isCallable = requireIsCallable();
- var createIteratorConstructor = requireIteratorCreateConstructor();
- var getPrototypeOf = requireObjectGetPrototypeOf();
- var setPrototypeOf = requireObjectSetPrototypeOf();
- var setToStringTag = requireSetToStringTag();
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
- var defineBuiltIn = requireDefineBuiltIn();
- var wellKnownSymbol = requireWellKnownSymbol();
- var Iterators = requireIterators();
- var IteratorsCore = requireIteratorsCore();
-
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
- var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
- var IteratorPrototype = IteratorsCore.IteratorPrototype;
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
- var ITERATOR = wellKnownSymbol('iterator');
- var KEYS = 'keys';
- var VALUES = 'values';
- var ENTRIES = 'entries';
- var returnThis = function () { return this; };
+ if (PATCH) {
+ patchedExec = function exec(string) {
+ var re = this;
+ var state = getInternalState(re);
+ var str = toString(string);
+ var raw = state.raw;
+ var result, reCopy, lastIndex;
- iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
- createIteratorConstructor(IteratorConstructor, NAME, next);
+ if (raw) {
+ raw.lastIndex = re.lastIndex;
+ result = call(patchedExec, raw, str);
+ re.lastIndex = raw.lastIndex;
- var getIterationMethod = function (KIND) {
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
- if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
+ if (result && state.groups) setGroups(result, state.groups);
- switch (KIND) {
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
+ return result;
}
- return function () { return new IteratorConstructor(this); };
- };
+ var groups = state.groups;
+ var sticky = UNSUPPORTED_Y && re.sticky;
+ var flags = call(regexpFlags, re);
+ var source = re.source;
+ var charsAdded = 0;
+ var strCopy = str;
- var TO_STRING_TAG = NAME + ' Iterator';
- var INCORRECT_VALUES_NAME = false;
- var IterablePrototype = Iterable.prototype;
- var nativeIterator = IterablePrototype[ITERATOR]
- || IterablePrototype['@@iterator']
- || DEFAULT && IterablePrototype[DEFAULT];
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
- var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
- var CurrentIteratorPrototype, methods, KEY;
+ if (sticky) {
+ flags = replace(flags, 'y', '');
+ if (indexOf(flags, 'g') === -1) {
+ flags += 'g';
+ }
- // fix native
- if (anyNativeIterator) {
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
- if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
- if (setPrototypeOf) {
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
- } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
- defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
- }
+ strCopy = stringSlice(str, re.lastIndex);
+ // Support anchored sticky behavior.
+ var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
+ if (re.lastIndex > 0 &&
+ (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
+ source = '(?: (?:' + source + '))';
+ strCopy = ' ' + strCopy;
+ charsAdded++;
}
- // Set @@toStringTag to native iterators
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
- if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
+ // ^(? + rx + ) is needed, in combination with some str slicing, to
+ // simulate the 'y' flag.
+ reCopy = new RegExp('^(?:' + source + ')', flags);
}
- }
- // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
- if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
- createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
- } else {
- INCORRECT_VALUES_NAME = true;
- defaultIterator = function values() { return call(nativeIterator, this); };
+ if (NPCG_INCLUDED) {
+ reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
}
- }
+ if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- // export additional methods
- if (DEFAULT) {
- methods = {
- values: getIterationMethod(VALUES),
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
- entries: getIterationMethod(ENTRIES)
- };
- if (FORCED) for (KEY in methods) {
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
- defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
- }
- } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
- }
+ var match = call(nativeExec, sticky ? reCopy : re, strCopy);
- // define iterator
- if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
- defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
- }
- Iterators[NAME] = defaultIterator;
+ if (sticky) {
+ if (match) {
+ match.input = str;
+ match[0] = stringSlice(match[0], charsAdded);
+ match.index = re.lastIndex;
+ re.lastIndex += match[0].length;
+ } else re.lastIndex = 0;
+ } else if (UPDATES_LAST_INDEX_WRONG && match) {
+ re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
+ }
+ if (NPCG_INCLUDED && match && match.length > 1) {
+ // Fix browsers whose `exec` methods don't consistently return `undefined`
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
+ call(nativeReplace, match[0], reCopy, function () {
+ for (var i = 1; i < arguments.length - 2; i++) {
+ if (arguments[i] === undefined) match[i] = undefined;
+ }
+ });
+ }
- return methods;
- };
- return iteratorDefine;
- }
+ if (match && groups) setGroups(match, groups);
- var createIterResultObject;
- var hasRequiredCreateIterResultObject;
+ return match;
+ };
+ }
- function requireCreateIterResultObject () {
- if (hasRequiredCreateIterResultObject) return createIterResultObject;
- hasRequiredCreateIterResultObject = 1;
- // `CreateIterResultObject` abstract operation
- // https://tc39.es/ecma262/#sec-createiterresultobject
- createIterResultObject = function (value, done) {
- return { value: value, done: done };
- };
- return createIterResultObject;
+ regexpExec = patchedExec;
+ return regexpExec;
}
- var es_array_iterator;
- var hasRequiredEs_array_iterator;
-
- function requireEs_array_iterator () {
- if (hasRequiredEs_array_iterator) return es_array_iterator;
- hasRequiredEs_array_iterator = 1;
- var toIndexedObject = requireToIndexedObject();
- var addToUnscopables = requireAddToUnscopables();
- var Iterators = requireIterators();
- var InternalStateModule = requireInternalState();
- var defineProperty = requireObjectDefineProperty().f;
- var defineIterator = requireIteratorDefine();
- var createIterResultObject = requireCreateIterResultObject();
- var IS_PURE = requireIsPure();
- var DESCRIPTORS = requireDescriptors();
-
- var ARRAY_ITERATOR = 'Array Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
-
- // `Array.prototype.entries` method
- // https://tc39.es/ecma262/#sec-array.prototype.entries
- // `Array.prototype.keys` method
- // https://tc39.es/ecma262/#sec-array.prototype.keys
- // `Array.prototype.values` method
- // https://tc39.es/ecma262/#sec-array.prototype.values
- // `Array.prototype[@@iterator]` method
- // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
- // `CreateArrayIterator` internal method
- // https://tc39.es/ecma262/#sec-createarrayiterator
- es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
- setInternalState(this, {
- type: ARRAY_ITERATOR,
- target: toIndexedObject(iterated), // target
- index: 0, // next index
- kind: kind // kind
- });
- // `%ArrayIteratorPrototype%.next` method
- // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
- }, function () {
- var state = getInternalState(this);
- var target = state.target;
- var index = state.index++;
- if (!target || index >= target.length) {
- state.target = null;
- return createIterResultObject(undefined, true);
- }
- switch (state.kind) {
- case 'keys': return createIterResultObject(index, false);
- case 'values': return createIterResultObject(target[index], false);
- } return createIterResultObject([index, target[index]], false);
- }, 'values');
-
- // argumentsList[@@iterator] is %ArrayProto_values%
- // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
- // https://tc39.es/ecma262/#sec-createmappedargumentsobject
- var values = Iterators.Arguments = Iterators.Array;
+ var hasRequiredEs_regexp_exec;
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables('keys');
- addToUnscopables('values');
- addToUnscopables('entries');
+ function requireEs_regexp_exec () {
+ if (hasRequiredEs_regexp_exec) return es_regexp_exec;
+ hasRequiredEs_regexp_exec = 1;
+ var $ = require_export();
+ var exec = requireRegexpExec();
- // V8 ~ Chrome 45- bug
- if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
- defineProperty(values, 'name', { value: 'values' });
- } catch (error) { /* empty */ }
- return es_array_iterator;
+ // `RegExp.prototype.exec` method
+ // https://tc39.es/ecma262/#sec-regexp.prototype.exec
+ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
+ exec: exec
+ });
+ return es_regexp_exec;
}
- requireEs_array_iterator();
-
- var es_array_join = {};
+ requireEs_regexp_exec();
- var hasRequiredEs_array_join;
+ var es_string_includes = {};
- function requireEs_array_join () {
- if (hasRequiredEs_array_join) return es_array_join;
- hasRequiredEs_array_join = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var IndexedObject = requireIndexedObject();
- var toIndexedObject = requireToIndexedObject();
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
+ var isRegexp;
+ var hasRequiredIsRegexp;
- var nativeJoin = uncurryThis([].join);
+ function requireIsRegexp () {
+ if (hasRequiredIsRegexp) return isRegexp;
+ hasRequiredIsRegexp = 1;
+ var isObject = requireIsObject();
+ var classof = requireClassofRaw();
+ var wellKnownSymbol = requireWellKnownSymbol();
- var ES3_STRINGS = IndexedObject !== Object;
- var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
+ var MATCH = wellKnownSymbol('match');
- // `Array.prototype.join` method
- // https://tc39.es/ecma262/#sec-array.prototype.join
- $({ target: 'Array', proto: true, forced: FORCED }, {
- join: function join(separator) {
- return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
- }
- });
- return es_array_join;
+ // `IsRegExp` abstract operation
+ // https://tc39.es/ecma262/#sec-isregexp
+ isRegexp = function (it) {
+ var isRegExp;
+ return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
+ };
+ return isRegexp;
}
- requireEs_array_join();
-
- var es_array_map = {};
-
- var hasRequiredEs_array_map;
+ var notARegexp;
+ var hasRequiredNotARegexp;
- function requireEs_array_map () {
- if (hasRequiredEs_array_map) return es_array_map;
- hasRequiredEs_array_map = 1;
- var $ = require_export();
- var $map = requireArrayIteration().map;
- var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
+ function requireNotARegexp () {
+ if (hasRequiredNotARegexp) return notARegexp;
+ hasRequiredNotARegexp = 1;
+ var isRegExp = requireIsRegexp();
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
+ var $TypeError = TypeError;
- // `Array.prototype.map` method
- // https://tc39.es/ecma262/#sec-array.prototype.map
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
- map: function map(callbackfn /* , thisArg */) {
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- return es_array_map;
+ notARegexp = function (it) {
+ if (isRegExp(it)) {
+ throw new $TypeError("The method doesn't accept regular expressions");
+ } return it;
+ };
+ return notARegexp;
}
- requireEs_array_map();
+ var correctIsRegexpLogic;
+ var hasRequiredCorrectIsRegexpLogic;
- var es_array_reverse = {};
+ function requireCorrectIsRegexpLogic () {
+ if (hasRequiredCorrectIsRegexpLogic) return correctIsRegexpLogic;
+ hasRequiredCorrectIsRegexpLogic = 1;
+ var wellKnownSymbol = requireWellKnownSymbol();
- var hasRequiredEs_array_reverse;
+ var MATCH = wellKnownSymbol('match');
- function requireEs_array_reverse () {
- if (hasRequiredEs_array_reverse) return es_array_reverse;
- hasRequiredEs_array_reverse = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var isArray = requireIsArray();
-
- var nativeReverse = uncurryThis([].reverse);
- var test = [1, 2];
-
- // `Array.prototype.reverse` method
- // https://tc39.es/ecma262/#sec-array.prototype.reverse
- // fix for Safari 12.0 bug
- // https://bugs.webkit.org/show_bug.cgi?id=188794
- $({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
- reverse: function reverse() {
- // eslint-disable-next-line no-self-assign -- dirty hack
- if (isArray(this)) this.length = this.length;
- return nativeReverse(this);
- }
- });
- return es_array_reverse;
- }
-
- requireEs_array_reverse();
-
- var es_array_slice = {};
-
- var arraySlice;
- var hasRequiredArraySlice;
-
- function requireArraySlice () {
- if (hasRequiredArraySlice) return arraySlice;
- hasRequiredArraySlice = 1;
- var uncurryThis = requireFunctionUncurryThis();
-
- arraySlice = uncurryThis([].slice);
- return arraySlice;
+ correctIsRegexpLogic = function (METHOD_NAME) {
+ var regexp = /./;
+ try {
+ '/./'[METHOD_NAME](regexp);
+ } catch (error1) {
+ try {
+ regexp[MATCH] = false;
+ return '/./'[METHOD_NAME](regexp);
+ } catch (error2) { /* empty */ }
+ } return false;
+ };
+ return correctIsRegexpLogic;
}
- var hasRequiredEs_array_slice;
+ var hasRequiredEs_string_includes;
- function requireEs_array_slice () {
- if (hasRequiredEs_array_slice) return es_array_slice;
- hasRequiredEs_array_slice = 1;
+ function requireEs_string_includes () {
+ if (hasRequiredEs_string_includes) return es_string_includes;
+ hasRequiredEs_string_includes = 1;
var $ = require_export();
- var isArray = requireIsArray();
- var isConstructor = requireIsConstructor();
- var isObject = requireIsObject();
- var toAbsoluteIndex = requireToAbsoluteIndex();
- var lengthOfArrayLike = requireLengthOfArrayLike();
- var toIndexedObject = requireToIndexedObject();
- var createProperty = requireCreateProperty();
- var wellKnownSymbol = requireWellKnownSymbol();
- var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
- var nativeSlice = requireArraySlice();
-
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
+ var uncurryThis = requireFunctionUncurryThis();
+ var notARegExp = requireNotARegexp();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var toString = requireToString();
+ var correctIsRegExpLogic = requireCorrectIsRegexpLogic();
- var SPECIES = wellKnownSymbol('species');
- var $Array = Array;
- var max = Math.max;
+ var stringIndexOf = uncurryThis(''.indexOf);
- // `Array.prototype.slice` method
- // https://tc39.es/ecma262/#sec-array.prototype.slice
- // fallback for not array-like ES3 strings and DOM objects
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
- slice: function slice(start, end) {
- var O = toIndexedObject(this);
- var length = lengthOfArrayLike(O);
- var k = toAbsoluteIndex(start, length);
- var fin = toAbsoluteIndex(end === undefined ? length : end, length);
- // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
- var Constructor, result, n;
- if (isArray(O)) {
- Constructor = O.constructor;
- // cross-realm fallback
- if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {
- Constructor = undefined;
- } else if (isObject(Constructor)) {
- Constructor = Constructor[SPECIES];
- if (Constructor === null) Constructor = undefined;
- }
- if (Constructor === $Array || Constructor === undefined) {
- return nativeSlice(O, k, fin);
- }
- }
- result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
- for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
- result.length = n;
- return result;
+ // `String.prototype.includes` method
+ // https://tc39.es/ecma262/#sec-string.prototype.includes
+ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
+ includes: function includes(searchString /* , position = 0 */) {
+ return !!~stringIndexOf(
+ toString(requireObjectCoercible(this)),
+ toString(notARegExp(searchString)),
+ arguments.length > 1 ? arguments[1] : undefined
+ );
}
});
- return es_array_slice;
+ return es_string_includes;
}
- requireEs_array_slice();
-
- var es_array_sort = {};
+ requireEs_string_includes();
- var deletePropertyOrThrow;
- var hasRequiredDeletePropertyOrThrow;
+ var es_array_find = {};
- function requireDeletePropertyOrThrow () {
- if (hasRequiredDeletePropertyOrThrow) return deletePropertyOrThrow;
- hasRequiredDeletePropertyOrThrow = 1;
- var tryToString = requireTryToString();
+ var functionUncurryThisClause;
+ var hasRequiredFunctionUncurryThisClause;
- var $TypeError = TypeError;
+ function requireFunctionUncurryThisClause () {
+ if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
+ hasRequiredFunctionUncurryThisClause = 1;
+ var classofRaw = requireClassofRaw();
+ var uncurryThis = requireFunctionUncurryThis();
- deletePropertyOrThrow = function (O, P) {
- if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
+ functionUncurryThisClause = function (fn) {
+ // Nashorn bug:
+ // https://github.com/zloirock/core-js/issues/1128
+ // https://github.com/zloirock/core-js/issues/1130
+ if (classofRaw(fn) === 'Function') return uncurryThis(fn);
};
- return deletePropertyOrThrow;
+ return functionUncurryThisClause;
}
- var toString;
- var hasRequiredToString;
+ var functionBindContext;
+ var hasRequiredFunctionBindContext;
- function requireToString () {
- if (hasRequiredToString) return toString;
- hasRequiredToString = 1;
- var classof = requireClassof();
+ function requireFunctionBindContext () {
+ if (hasRequiredFunctionBindContext) return functionBindContext;
+ hasRequiredFunctionBindContext = 1;
+ var uncurryThis = requireFunctionUncurryThisClause();
+ var aCallable = requireACallable();
+ var NATIVE_BIND = requireFunctionBindNative();
- var $String = String;
+ var bind = uncurryThis(uncurryThis.bind);
- toString = function (argument) {
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
- return $String(argument);
+ // optional / simple context binding
+ functionBindContext = function (fn, that) {
+ aCallable(fn);
+ return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
+ return fn.apply(that, arguments);
+ };
};
- return toString;
+ return functionBindContext;
}
- var arraySort;
- var hasRequiredArraySort;
-
- function requireArraySort () {
- if (hasRequiredArraySort) return arraySort;
- hasRequiredArraySort = 1;
- var arraySlice = requireArraySlice();
-
- var floor = Math.floor;
-
- var sort = function (array, comparefn) {
- var length = array.length;
+ var arrayIteration;
+ var hasRequiredArrayIteration;
- if (length < 8) {
- // insertion sort
- var i = 1;
- var element, j;
+ function requireArrayIteration () {
+ if (hasRequiredArrayIteration) return arrayIteration;
+ hasRequiredArrayIteration = 1;
+ var bind = requireFunctionBindContext();
+ var IndexedObject = requireIndexedObject();
+ var toObject = requireToObject();
+ var lengthOfArrayLike = requireLengthOfArrayLike();
+ var arraySpeciesCreate = requireArraySpeciesCreate();
+ var createProperty = requireCreateProperty();
- while (i < length) {
- j = i;
- element = array[i];
- while (j && comparefn(array[j - 1], element) > 0) {
- array[j] = array[--j];
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
+ var createMethod = function (TYPE) {
+ var IS_MAP = TYPE === 1;
+ var IS_FILTER = TYPE === 2;
+ var IS_SOME = TYPE === 3;
+ var IS_EVERY = TYPE === 4;
+ var IS_FIND_INDEX = TYPE === 6;
+ var IS_FILTER_REJECT = TYPE === 7;
+ var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
+ return function ($this, callbackfn, that) {
+ var O = toObject($this);
+ var self = IndexedObject(O);
+ var length = lengthOfArrayLike(self);
+ var boundFunction = bind(callbackfn, that);
+ var index = 0;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
+ var value, result;
+ for (;length > index; index++) if (NO_HOLES || index in self) {
+ value = self[index];
+ result = boundFunction(value, index, O);
+ if (TYPE) {
+ if (IS_MAP) createProperty(target, index, result); // map
+ else if (result) switch (TYPE) {
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
+ } else switch (TYPE) {
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
+ }
}
- if (j !== i++) array[j] = element;
- }
- } else {
- // merge sort
- var middle = floor(length / 2);
- var left = sort(arraySlice(array, 0, middle), comparefn);
- var right = sort(arraySlice(array, middle), comparefn);
- var llength = left.length;
- var rlength = right.length;
- var lindex = 0;
- var rindex = 0;
-
- while (lindex < llength || rindex < rlength) {
- array[lindex + rindex] = (lindex < llength && rindex < rlength)
- ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
- : lindex < llength ? left[lindex++] : right[rindex++];
}
- }
-
- return array;
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
+ };
};
- arraySort = sort;
- return arraySort;
+ arrayIteration = {
+ // `Array.prototype.forEach` method
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
+ forEach: createMethod(0),
+ // `Array.prototype.map` method
+ // https://tc39.es/ecma262/#sec-array.prototype.map
+ map: createMethod(1),
+ // `Array.prototype.filter` method
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
+ filter: createMethod(2),
+ // `Array.prototype.some` method
+ // https://tc39.es/ecma262/#sec-array.prototype.some
+ some: createMethod(3),
+ // `Array.prototype.every` method
+ // https://tc39.es/ecma262/#sec-array.prototype.every
+ every: createMethod(4),
+ // `Array.prototype.find` method
+ // https://tc39.es/ecma262/#sec-array.prototype.find
+ find: createMethod(5),
+ // `Array.prototype.findIndex` method
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
+ findIndex: createMethod(6),
+ // `Array.prototype.filterReject` method
+ // https://github.com/tc39/proposal-array-filtering
+ filterReject: createMethod(7)
+ };
+ return arrayIteration;
}
- var environmentFfVersion;
- var hasRequiredEnvironmentFfVersion;
-
- function requireEnvironmentFfVersion () {
- if (hasRequiredEnvironmentFfVersion) return environmentFfVersion;
- hasRequiredEnvironmentFfVersion = 1;
- var userAgent = requireEnvironmentUserAgent();
+ var hasRequiredEs_array_find;
- var firefox = userAgent.match(/firefox\/(\d+)/i);
+ function requireEs_array_find () {
+ if (hasRequiredEs_array_find) return es_array_find;
+ hasRequiredEs_array_find = 1;
+ var $ = require_export();
+ var $find = requireArrayIteration().find;
+ var addToUnscopables = requireAddToUnscopables();
- environmentFfVersion = !!firefox && +firefox[1];
- return environmentFfVersion;
- }
+ var FIND = 'find';
+ var SKIPS_HOLES = true;
- var environmentIsIeOrEdge;
- var hasRequiredEnvironmentIsIeOrEdge;
+ // Shouldn't skip holes
+ // eslint-disable-next-line es/no-array-prototype-find -- testing
+ if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
- function requireEnvironmentIsIeOrEdge () {
- if (hasRequiredEnvironmentIsIeOrEdge) return environmentIsIeOrEdge;
- hasRequiredEnvironmentIsIeOrEdge = 1;
- var UA = requireEnvironmentUserAgent();
+ // `Array.prototype.find` method
+ // https://tc39.es/ecma262/#sec-array.prototype.find
+ $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
+ find: function find(callbackfn /* , that = undefined */) {
+ return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+ }
+ });
- environmentIsIeOrEdge = /MSIE|Trident/.test(UA);
- return environmentIsIeOrEdge;
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
+ addToUnscopables(FIND);
+ return es_array_find;
}
- var environmentWebkitVersion;
- var hasRequiredEnvironmentWebkitVersion;
-
- function requireEnvironmentWebkitVersion () {
- if (hasRequiredEnvironmentWebkitVersion) return environmentWebkitVersion;
- hasRequiredEnvironmentWebkitVersion = 1;
- var userAgent = requireEnvironmentUserAgent();
-
- var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
+ requireEs_array_find();
- environmentWebkitVersion = !!webkit && +webkit[1];
- return environmentWebkitVersion;
- }
+ var es_object_entries = {};
- var hasRequiredEs_array_sort;
+ var correctPrototypeGetter;
+ var hasRequiredCorrectPrototypeGetter;
- function requireEs_array_sort () {
- if (hasRequiredEs_array_sort) return es_array_sort;
- hasRequiredEs_array_sort = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var aCallable = requireACallable();
- var toObject = requireToObject();
- var lengthOfArrayLike = requireLengthOfArrayLike();
- var deletePropertyOrThrow = requireDeletePropertyOrThrow();
- var toString = requireToString();
+ function requireCorrectPrototypeGetter () {
+ if (hasRequiredCorrectPrototypeGetter) return correctPrototypeGetter;
+ hasRequiredCorrectPrototypeGetter = 1;
var fails = requireFails();
- var internalSort = requireArraySort();
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
- var FF = requireEnvironmentFfVersion();
- var IE_OR_EDGE = requireEnvironmentIsIeOrEdge();
- var V8 = requireEnvironmentV8Version();
- var WEBKIT = requireEnvironmentWebkitVersion();
- var test = [];
- var nativeSort = uncurryThis(test.sort);
- var push = uncurryThis(test.push);
-
- // IE8-
- var FAILS_ON_UNDEFINED = fails(function () {
- test.sort(undefined);
- });
- // V8 bug
- var FAILS_ON_NULL = fails(function () {
- test.sort(null);
+ correctPrototypeGetter = !fails(function () {
+ function F() { /* empty */ }
+ F.prototype.constructor = null;
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
+ return Object.getPrototypeOf(new F()) !== F.prototype;
});
- // Old WebKit
- var STRICT_METHOD = arrayMethodIsStrict('sort');
+ return correctPrototypeGetter;
+ }
- var STABLE_SORT = !fails(function () {
- // feature detection can be too slow, so check engines versions
- if (V8) return V8 < 70;
- if (FF && FF > 3) return;
- if (IE_OR_EDGE) return true;
- if (WEBKIT) return WEBKIT < 603;
+ var objectGetPrototypeOf;
+ var hasRequiredObjectGetPrototypeOf;
- var result = '';
- var code, chr, value, index;
+ function requireObjectGetPrototypeOf () {
+ if (hasRequiredObjectGetPrototypeOf) return objectGetPrototypeOf;
+ hasRequiredObjectGetPrototypeOf = 1;
+ var hasOwn = requireHasOwnProperty();
+ var isCallable = requireIsCallable();
+ var toObject = requireToObject();
+ var sharedKey = requireSharedKey();
+ var CORRECT_PROTOTYPE_GETTER = requireCorrectPrototypeGetter();
- // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
- for (code = 65; code < 76; code++) {
- chr = String.fromCharCode(code);
+ var IE_PROTO = sharedKey('IE_PROTO');
+ var $Object = Object;
+ var ObjectPrototype = $Object.prototype;
- switch (code) {
- case 66: case 69: case 70: case 72: value = 3; break;
- case 68: case 71: value = 4; break;
- default: value = 2;
- }
+ // `Object.getPrototypeOf` method
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
+ objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
+ var object = toObject(O);
+ if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
+ var constructor = object.constructor;
+ if (isCallable(constructor) && object instanceof constructor) {
+ return constructor.prototype;
+ } return object instanceof $Object ? ObjectPrototype : null;
+ };
+ return objectGetPrototypeOf;
+ }
- for (index = 0; index < 47; index++) {
- test.push({ k: chr + index, v: value });
- }
- }
+ var objectToArray;
+ var hasRequiredObjectToArray;
- test.sort(function (a, b) { return b.v - a.v; });
+ function requireObjectToArray () {
+ if (hasRequiredObjectToArray) return objectToArray;
+ hasRequiredObjectToArray = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var fails = requireFails();
+ var uncurryThis = requireFunctionUncurryThis();
+ var objectGetPrototypeOf = requireObjectGetPrototypeOf();
+ var objectKeys = requireObjectKeys();
+ var toIndexedObject = requireToIndexedObject();
+ var $propertyIsEnumerable = requireObjectPropertyIsEnumerable().f;
- for (index = 0; index < test.length; index++) {
- chr = test[index].k.charAt(0);
- if (result.charAt(result.length - 1) !== chr) result += chr;
- }
+ var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
+ var push = uncurryThis([].push);
- return result !== 'DGBEFHACIJK';
+ // in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys
+ // of `null` prototype objects
+ var IE_BUG = DESCRIPTORS && fails(function () {
+ // eslint-disable-next-line es/no-object-create -- safe
+ var O = Object.create(null);
+ O[2] = 2;
+ return !propertyIsEnumerable(O, 2);
});
- var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
-
- var getSortCompare = function (comparefn) {
- return function (x, y) {
- if (y === undefined) return -1;
- if (x === undefined) return 1;
- if (comparefn !== undefined) return +comparefn(x, y) || 0;
- return toString(x) > toString(y) ? 1 : -1;
+ // `Object.{ entries, values }` methods implementation
+ var createMethod = function (TO_ENTRIES) {
+ return function (it) {
+ var O = toIndexedObject(it);
+ var keys = objectKeys(O);
+ var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;
+ var length = keys.length;
+ var i = 0;
+ var result = [];
+ var key;
+ while (length > i) {
+ key = keys[i++];
+ if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {
+ push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
+ }
+ }
+ return result;
};
};
- // `Array.prototype.sort` method
- // https://tc39.es/ecma262/#sec-array.prototype.sort
- $({ target: 'Array', proto: true, forced: FORCED }, {
- sort: function sort(comparefn) {
- if (comparefn !== undefined) aCallable(comparefn);
-
- var array = toObject(this);
-
- if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
-
- var items = [];
- var arrayLength = lengthOfArrayLike(array);
- var itemsLength, index;
-
- for (index = 0; index < arrayLength; index++) {
- if (index in array) push(items, array[index]);
- }
-
- internalSort(items, getSortCompare(comparefn));
+ objectToArray = {
+ // `Object.entries` method
+ // https://tc39.es/ecma262/#sec-object.entries
+ entries: createMethod(true),
+ // `Object.values` method
+ // https://tc39.es/ecma262/#sec-object.values
+ values: createMethod(false)
+ };
+ return objectToArray;
+ }
- itemsLength = lengthOfArrayLike(items);
- index = 0;
+ var hasRequiredEs_object_entries;
- while (index < itemsLength) array[index] = items[index++];
- while (index < arrayLength) deletePropertyOrThrow(array, index++);
+ function requireEs_object_entries () {
+ if (hasRequiredEs_object_entries) return es_object_entries;
+ hasRequiredEs_object_entries = 1;
+ var $ = require_export();
+ var $entries = requireObjectToArray().entries;
- return array;
+ // `Object.entries` method
+ // https://tc39.es/ecma262/#sec-object.entries
+ $({ target: 'Object', stat: true }, {
+ entries: function entries(O) {
+ return $entries(O);
}
});
- return es_array_sort;
+ return es_object_entries;
}
- requireEs_array_sort();
+ requireEs_object_entries();
- var es_array_splice = {};
+ var es_object_toString = {};
- var arraySetLength;
- var hasRequiredArraySetLength;
+ var objectToString;
+ var hasRequiredObjectToString;
- function requireArraySetLength () {
- if (hasRequiredArraySetLength) return arraySetLength;
- hasRequiredArraySetLength = 1;
- var DESCRIPTORS = requireDescriptors();
- var isArray = requireIsArray();
-
- var $TypeError = TypeError;
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
- // Safari < 13 does not throw an error in this case
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
- // makes no sense without proper strict mode support
- if (this !== undefined) return true;
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).length = 1;
- } catch (error) {
- return error instanceof TypeError;
- }
- }();
+ function requireObjectToString () {
+ if (hasRequiredObjectToString) return objectToString;
+ hasRequiredObjectToString = 1;
+ var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
+ var classof = requireClassof();
- arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
- throw new $TypeError('Cannot set read only .length');
- } return O.length = length;
- } : function (O, length) {
- return O.length = length;
+ // `Object.prototype.toString` method implementation
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
+ objectToString = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
+ return '[object ' + classof(this) + ']';
};
- return arraySetLength;
+ return objectToString;
}
- var hasRequiredEs_array_splice;
-
- function requireEs_array_splice () {
- if (hasRequiredEs_array_splice) return es_array_splice;
- hasRequiredEs_array_splice = 1;
- var $ = require_export();
- var toObject = requireToObject();
- var toAbsoluteIndex = requireToAbsoluteIndex();
- var toIntegerOrInfinity = requireToIntegerOrInfinity();
- var lengthOfArrayLike = requireLengthOfArrayLike();
- var setArrayLength = requireArraySetLength();
- var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
- var arraySpeciesCreate = requireArraySpeciesCreate();
- var createProperty = requireCreateProperty();
- var deletePropertyOrThrow = requireDeletePropertyOrThrow();
- var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
-
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
+ var hasRequiredEs_object_toString;
- var max = Math.max;
- var min = Math.min;
+ function requireEs_object_toString () {
+ if (hasRequiredEs_object_toString) return es_object_toString;
+ hasRequiredEs_object_toString = 1;
+ var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
+ var defineBuiltIn = requireDefineBuiltIn();
+ var toString = requireObjectToString();
- // `Array.prototype.splice` method
- // https://tc39.es/ecma262/#sec-array.prototype.splice
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
- splice: function splice(start, deleteCount /* , ...items */) {
- var O = toObject(this);
- var len = lengthOfArrayLike(O);
- var actualStart = toAbsoluteIndex(start, len);
- var argumentsLength = arguments.length;
- var insertCount, actualDeleteCount, A, k, from, to;
- if (argumentsLength === 0) {
- insertCount = actualDeleteCount = 0;
- } else if (argumentsLength === 1) {
- insertCount = 0;
- actualDeleteCount = len - actualStart;
- } else {
- insertCount = argumentsLength - 2;
- actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
- }
- doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
- A = arraySpeciesCreate(O, actualDeleteCount);
- for (k = 0; k < actualDeleteCount; k++) {
- from = actualStart + k;
- if (from in O) createProperty(A, k, O[from]);
- }
- A.length = actualDeleteCount;
- if (insertCount < actualDeleteCount) {
- for (k = actualStart; k < len - actualDeleteCount; k++) {
- from = k + actualDeleteCount;
- to = k + insertCount;
- if (from in O) O[to] = O[from];
- else deletePropertyOrThrow(O, to);
- }
- for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
- } else if (insertCount > actualDeleteCount) {
- for (k = len - actualDeleteCount; k > actualStart; k--) {
- from = k + actualDeleteCount - 1;
- to = k + insertCount - 1;
- if (from in O) O[to] = O[from];
- else deletePropertyOrThrow(O, to);
- }
- }
- for (k = 0; k < insertCount; k++) {
- O[k + actualStart] = arguments[k + 2];
- }
- setArrayLength(O, len - actualDeleteCount + insertCount);
- return A;
- }
- });
- return es_array_splice;
+ // `Object.prototype.toString` method
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
+ if (!TO_STRING_TAG_SUPPORT) {
+ defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
+ }
+ return es_object_toString;
}
- requireEs_array_splice();
+ requireEs_object_toString();
- var es_date_toJson = {};
+ var es_string_split = {};
- var hasRequiredEs_date_toJson;
+ var fixRegexpWellKnownSymbolLogic;
+ var hasRequiredFixRegexpWellKnownSymbolLogic;
- function requireEs_date_toJson () {
- if (hasRequiredEs_date_toJson) return es_date_toJson;
- hasRequiredEs_date_toJson = 1;
- var $ = require_export();
+ function requireFixRegexpWellKnownSymbolLogic () {
+ if (hasRequiredFixRegexpWellKnownSymbolLogic) return fixRegexpWellKnownSymbolLogic;
+ hasRequiredFixRegexpWellKnownSymbolLogic = 1;
+ // TODO: Remove from `core-js [at] 4` since it's moved to entry points
+ requireEs_regexp_exec();
+ var call = requireFunctionCall();
+ var defineBuiltIn = requireDefineBuiltIn();
+ var regexpExec = requireRegexpExec();
var fails = requireFails();
- var toObject = requireToObject();
- var toPrimitive = requireToPrimitive();
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
- var FORCED = fails(function () {
- return new Date(NaN).toJSON() !== null
- || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
- });
+ var SPECIES = wellKnownSymbol('species');
+ var RegExpPrototype = RegExp.prototype;
- // `Date.prototype.toJSON` method
- // https://tc39.es/ecma262/#sec-date.prototype.tojson
- $({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars -- required for `.length`
- toJSON: function toJSON(key) {
- var O = toObject(this);
- var pv = toPrimitive(O, 'number');
- return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
- }
- });
- return es_date_toJson;
- }
+ fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
+ var SYMBOL = wellKnownSymbol(KEY);
- requireEs_date_toJson();
+ var DELEGATES_TO_SYMBOL = !fails(function () {
+ // String methods call symbol-named RegExp methods
+ var O = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ O[SYMBOL] = function () { return 7; };
+ return ''[KEY](O) !== 7;
+ });
- var es_number_constructor = {};
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
+ // Symbol-named RegExp methods call .exec
+ var execCalled = false;
+ var re = /a/;
- var path;
- var hasRequiredPath;
+ if (KEY === 'split') {
+ // We can't use real regex here since it causes deoptimization
+ // and serious performance degradation in V8
+ // https://github.com/zloirock/core-js/issues/306
+ // RegExp[@@split] doesn't call the regex's exec method, but first creates
+ // a new one. We need to return the patched regex when creating the new one.
+ var constructor = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ constructor[SPECIES] = function () { return re; };
+ re = { constructor: constructor, flags: '' };
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ re[SYMBOL] = /./[SYMBOL];
+ }
- function requirePath () {
- if (hasRequiredPath) return path;
- hasRequiredPath = 1;
- var globalThis = requireGlobalThis();
+ re.exec = function () {
+ execCalled = true;
+ return null;
+ };
- path = globalThis;
- return path;
- }
+ re[SYMBOL]('');
+ return !execCalled;
+ });
- var inheritIfRequired;
- var hasRequiredInheritIfRequired;
+ if (
+ !DELEGATES_TO_SYMBOL ||
+ !DELEGATES_TO_EXEC ||
+ FORCED
+ ) {
+ var nativeRegExpMethod = /./[SYMBOL];
+ var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
+ var $exec = regexp.exec;
+ if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
+ if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
+ // The native String method already delegates to @@method (this
+ // polyfilled function), leasing to infinite recursion.
+ // We avoid it by directly calling the native @@method method.
+ return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };
+ }
+ return { done: true, value: call(nativeMethod, str, regexp, arg2) };
+ }
+ return { done: false };
+ });
- function requireInheritIfRequired () {
- if (hasRequiredInheritIfRequired) return inheritIfRequired;
- hasRequiredInheritIfRequired = 1;
- var isCallable = requireIsCallable();
- var isObject = requireIsObject();
- var setPrototypeOf = requireObjectSetPrototypeOf();
+ defineBuiltIn(String.prototype, KEY, methods[0]);
+ defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
+ }
- // makes subclassing work correct for wrapped built-ins
- inheritIfRequired = function ($this, dummy, Wrapper) {
- var NewTarget, NewTargetPrototype;
- if (
- // it can work only with native `setPrototypeOf`
- setPrototypeOf &&
- // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
- isCallable(NewTarget = dummy.constructor) &&
- NewTarget !== Wrapper &&
- isObject(NewTargetPrototype = NewTarget.prototype) &&
- NewTargetPrototype !== Wrapper.prototype
- ) setPrototypeOf($this, NewTargetPrototype);
- return $this;
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
};
- return inheritIfRequired;
+ return fixRegexpWellKnownSymbolLogic;
}
- var thisNumberValue;
- var hasRequiredThisNumberValue;
+ var aConstructor;
+ var hasRequiredAConstructor;
- function requireThisNumberValue () {
- if (hasRequiredThisNumberValue) return thisNumberValue;
- hasRequiredThisNumberValue = 1;
- var uncurryThis = requireFunctionUncurryThis();
+ function requireAConstructor () {
+ if (hasRequiredAConstructor) return aConstructor;
+ hasRequiredAConstructor = 1;
+ var isConstructor = requireIsConstructor();
+ var tryToString = requireTryToString();
- // `thisNumberValue` abstract operation
- // https://tc39.es/ecma262/#sec-thisnumbervalue
- thisNumberValue = uncurryThis(1.1.valueOf);
- return thisNumberValue;
+ var $TypeError = TypeError;
+
+ // `Assert: IsConstructor(argument) is true`
+ aConstructor = function (argument) {
+ if (isConstructor(argument)) return argument;
+ throw new $TypeError(tryToString(argument) + ' is not a constructor');
+ };
+ return aConstructor;
}
- var whitespaces;
- var hasRequiredWhitespaces;
+ var speciesConstructor;
+ var hasRequiredSpeciesConstructor;
- function requireWhitespaces () {
- if (hasRequiredWhitespaces) return whitespaces;
- hasRequiredWhitespaces = 1;
- // a string of all valid unicode whitespaces
- whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
- return whitespaces;
+ function requireSpeciesConstructor () {
+ if (hasRequiredSpeciesConstructor) return speciesConstructor;
+ hasRequiredSpeciesConstructor = 1;
+ var anObject = requireAnObject();
+ var aConstructor = requireAConstructor();
+ var isNullOrUndefined = requireIsNullOrUndefined();
+ var wellKnownSymbol = requireWellKnownSymbol();
+
+ var SPECIES = wellKnownSymbol('species');
+
+ // `SpeciesConstructor` abstract operation
+ // https://tc39.es/ecma262/#sec-speciesconstructor
+ speciesConstructor = function (O, defaultConstructor) {
+ var C = anObject(O).constructor;
+ var S;
+ return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
+ };
+ return speciesConstructor;
}
- var stringTrim;
- var hasRequiredStringTrim;
+ var stringMultibyte;
+ var hasRequiredStringMultibyte;
- function requireStringTrim () {
- if (hasRequiredStringTrim) return stringTrim;
- hasRequiredStringTrim = 1;
+ function requireStringMultibyte () {
+ if (hasRequiredStringMultibyte) return stringMultibyte;
+ hasRequiredStringMultibyte = 1;
var uncurryThis = requireFunctionUncurryThis();
- var requireObjectCoercible = requireRequireObjectCoercible();
+ var toIntegerOrInfinity = requireToIntegerOrInfinity();
var toString = requireToString();
- var whitespaces = requireWhitespaces();
+ var requireObjectCoercible = requireRequireObjectCoercible();
- var replace = uncurryThis(''.replace);
- var ltrim = RegExp('^[' + whitespaces + ']+');
- var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');
+ var charAt = uncurryThis(''.charAt);
+ var charCodeAt = uncurryThis(''.charCodeAt);
+ var stringSlice = uncurryThis(''.slice);
- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
- var createMethod = function (TYPE) {
- return function ($this) {
- var string = toString(requireObjectCoercible($this));
- if (TYPE & 1) string = replace(string, ltrim, '');
- if (TYPE & 2) string = replace(string, rtrim, '$1');
- return string;
+ var createMethod = function (CONVERT_TO_STRING) {
+ return function ($this, pos) {
+ var S = toString(requireObjectCoercible($this));
+ var position = toIntegerOrInfinity(pos);
+ var size = S.length;
+ var first, second;
+ if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
+ first = charCodeAt(S, position);
+ return first < 0xD800 || first > 0xDBFF || position + 1 === size
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
+ ? CONVERT_TO_STRING
+ ? charAt(S, position)
+ : first
+ : CONVERT_TO_STRING
+ ? stringSlice(S, position, position + 2)
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
};
};
- stringTrim = {
- // `String.prototype.{ trimLeft, trimStart }` methods
- // https://tc39.es/ecma262/#sec-string.prototype.trimstart
- start: createMethod(1),
- // `String.prototype.{ trimRight, trimEnd }` methods
- // https://tc39.es/ecma262/#sec-string.prototype.trimend
- end: createMethod(2),
- // `String.prototype.trim` method
- // https://tc39.es/ecma262/#sec-string.prototype.trim
- trim: createMethod(3)
+ stringMultibyte = {
+ // `String.prototype.codePointAt` method
+ // https://tc39.es/ecma262/#sec-string.prototype.codepointat
+ codeAt: createMethod(false),
+ // `String.prototype.at` method
+ // https://github.com/mathiasbynens/String.prototype.at
+ charAt: createMethod(true)
};
- return stringTrim;
+ return stringMultibyte;
}
- var hasRequiredEs_number_constructor;
+ var advanceStringIndex;
+ var hasRequiredAdvanceStringIndex;
- function requireEs_number_constructor () {
- if (hasRequiredEs_number_constructor) return es_number_constructor;
- hasRequiredEs_number_constructor = 1;
- var $ = require_export();
- var IS_PURE = requireIsPure();
- var DESCRIPTORS = requireDescriptors();
+ function requireAdvanceStringIndex () {
+ if (hasRequiredAdvanceStringIndex) return advanceStringIndex;
+ hasRequiredAdvanceStringIndex = 1;
+ var charAt = requireStringMultibyte().charAt;
+
+ // `AdvanceStringIndex` abstract operation
+ // https://tc39.es/ecma262/#sec-advancestringindex
+ advanceStringIndex = function (S, index, unicode) {
+ return index + (unicode ? charAt(S, index).length || 1 : 1);
+ };
+ return advanceStringIndex;
+ }
+
+ var regexpFlagsDetection;
+ var hasRequiredRegexpFlagsDetection;
+
+ function requireRegexpFlagsDetection () {
+ if (hasRequiredRegexpFlagsDetection) return regexpFlagsDetection;
+ hasRequiredRegexpFlagsDetection = 1;
var globalThis = requireGlobalThis();
- var path = requirePath();
- var uncurryThis = requireFunctionUncurryThis();
- var isForced = requireIsForced();
- var hasOwn = requireHasOwnProperty();
- var inheritIfRequired = requireInheritIfRequired();
- var isPrototypeOf = requireObjectIsPrototypeOf();
- var isSymbol = requireIsSymbol();
- var toPrimitive = requireToPrimitive();
var fails = requireFails();
- var getOwnPropertyNames = requireObjectGetOwnPropertyNames().f;
- var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
- var defineProperty = requireObjectDefineProperty().f;
- var thisNumberValue = requireThisNumberValue();
- var trim = requireStringTrim().trim;
- var NUMBER = 'Number';
- var NativeNumber = globalThis[NUMBER];
- var PureNumberNamespace = path[NUMBER];
- var NumberPrototype = NativeNumber.prototype;
- var TypeError = globalThis.TypeError;
- var stringSlice = uncurryThis(''.slice);
- var charCodeAt = uncurryThis(''.charCodeAt);
+ // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
+ var RegExp = globalThis.RegExp;
- // `ToNumeric` abstract operation
- // https://tc39.es/ecma262/#sec-tonumeric
- var toNumeric = function (value) {
- var primValue = toPrimitive(value, 'number');
- return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
- };
+ var FLAGS_GETTER_IS_CORRECT = !fails(function () {
+ var INDICES_SUPPORT = true;
+ try {
+ RegExp('.', 'd');
+ } catch (error) {
+ INDICES_SUPPORT = false;
+ }
- // `ToNumber` abstract operation
- // https://tc39.es/ecma262/#sec-tonumber
- var toNumber = function (argument) {
- var it = toPrimitive(argument, 'number');
- var first, third, radix, maxCode, digits, length, index, code;
- if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');
- if (typeof it == 'string' && it.length > 2) {
- it = trim(it);
- first = charCodeAt(it, 0);
- if (first === 43 || first === 45) {
- third = charCodeAt(it, 2);
- if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
- } else if (first === 48) {
- switch (charCodeAt(it, 1)) {
- // fast equal of /^0b[01]+$/i
- case 66:
- case 98:
- radix = 2;
- maxCode = 49;
- break;
- // fast equal of /^0o[0-7]+$/i
- case 79:
- case 111:
- radix = 8;
- maxCode = 55;
- break;
- default:
- return +it;
- }
- digits = stringSlice(it, 2);
- length = digits.length;
- for (index = 0; index < length; index++) {
- code = charCodeAt(digits, index);
- // parseInt parses a string to a first unavailable symbol
- // but ToNumber should return NaN if a string contains unavailable symbols
- if (code < 48 || code > maxCode) return NaN;
- } return parseInt(digits, radix);
- }
- } return +it;
- };
+ var O = {};
+ // modern V8 bug
+ var calls = '';
+ var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';
- var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));
+ var addGetter = function (key, chr) {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty(O, key, { get: function () {
+ calls += chr;
+ return true;
+ } });
+ };
- var calledWithNew = function (dummy) {
- // includes check on 1..constructor(foo) case
- return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });
- };
+ var pairs = {
+ dotAll: 's',
+ global: 'g',
+ ignoreCase: 'i',
+ multiline: 'm',
+ sticky: 'y'
+ };
- // `Number` constructor
- // https://tc39.es/ecma262/#sec-number-constructor
- var NumberWrapper = function Number(value) {
- var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
- return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;
- };
+ if (INDICES_SUPPORT) pairs.hasIndices = 'd';
- NumberWrapper.prototype = NumberPrototype;
- if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;
+ for (var key in pairs) addGetter(key, pairs[key]);
- $({ global: true, constructor: true, wrap: true, forced: FORCED }, {
- Number: NumberWrapper
- });
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var result = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call(O);
- // Use `internal/copy-constructor-properties` helper in `core-js@4`
- var copyConstructorProperties = function (target, source) {
- for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (
- // ES3:
- 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
- // ES2015 (in case, if modules with ES2015 Number statics required before):
- 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
- // ESNext
- 'fromString,range'
- ).split(','), j = 0, key; keys.length > j; j++) {
- if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- }
- };
+ return result !== expected || calls !== expected;
+ });
- if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);
- if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);
- return es_number_constructor;
+ regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
+ return regexpFlagsDetection;
}
- requireEs_number_constructor();
-
- var es_object_assign = {};
-
- var objectAssign;
- var hasRequiredObjectAssign;
+ var regexpGetFlags;
+ var hasRequiredRegexpGetFlags;
- function requireObjectAssign () {
- if (hasRequiredObjectAssign) return objectAssign;
- hasRequiredObjectAssign = 1;
- var DESCRIPTORS = requireDescriptors();
- var uncurryThis = requireFunctionUncurryThis();
+ function requireRegexpGetFlags () {
+ if (hasRequiredRegexpGetFlags) return regexpGetFlags;
+ hasRequiredRegexpGetFlags = 1;
var call = requireFunctionCall();
- var fails = requireFails();
- var objectKeys = requireObjectKeys();
- var getOwnPropertySymbolsModule = requireObjectGetOwnPropertySymbols();
- var propertyIsEnumerableModule = requireObjectPropertyIsEnumerable();
- var toObject = requireToObject();
- var IndexedObject = requireIndexedObject();
+ var hasOwn = requireHasOwnProperty();
+ var isPrototypeOf = requireObjectIsPrototypeOf();
+ var regExpFlagsDetection = requireRegexpFlagsDetection();
+ var regExpFlagsGetterImplementation = requireRegexpFlags();
- // eslint-disable-next-line es/no-object-assign -- safe
- var $assign = Object.assign;
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- var defineProperty = Object.defineProperty;
- var concat = uncurryThis([].concat);
+ var RegExpPrototype = RegExp.prototype;
- // `Object.assign` method
- // https://tc39.es/ecma262/#sec-object.assign
- objectAssign = !$assign || fails(function () {
- // should have correct order of operations (Edge bug)
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
- enumerable: true,
- get: function () {
- defineProperty(this, 'b', {
- value: 3,
- enumerable: false
- });
- }
- }), { b: 2 })).b !== 1) return true;
- // should work with symbols and should have deterministic property order (V8 bug)
- var A = {};
- var B = {};
- // eslint-disable-next-line es/no-symbol -- safe
- var symbol = Symbol('assign detection');
- var alphabet = 'abcdefghijklmnopqrst';
- A[symbol] = 7;
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
- return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
- var T = toObject(target);
- var argumentsLength = arguments.length;
- var index = 1;
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
- while (argumentsLength > index) {
- var S = IndexedObject(arguments[index++]);
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
- var length = keys.length;
- var j = 0;
- var key;
- while (length > j) {
- key = keys[j++];
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
- }
- } return T;
- } : $assign;
- return objectAssign;
+ regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
+ return it.flags;
+ } : function (it) {
+ return (!regExpFlagsDetection.correct && isPrototypeOf(RegExpPrototype, it) && !hasOwn(it, 'flags'))
+ ? call(regExpFlagsGetterImplementation, it)
+ : it.flags;
+ };
+ return regexpGetFlags;
}
- var hasRequiredEs_object_assign;
-
- function requireEs_object_assign () {
- if (hasRequiredEs_object_assign) return es_object_assign;
- hasRequiredEs_object_assign = 1;
- var $ = require_export();
- var assign = requireObjectAssign();
+ var regexpExecAbstract;
+ var hasRequiredRegexpExecAbstract;
- // `Object.assign` method
- // https://tc39.es/ecma262/#sec-object.assign
- // eslint-disable-next-line es/no-object-assign -- required for testing
- $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
- assign: assign
- });
- return es_object_assign;
- }
+ function requireRegexpExecAbstract () {
+ if (hasRequiredRegexpExecAbstract) return regexpExecAbstract;
+ hasRequiredRegexpExecAbstract = 1;
+ var call = requireFunctionCall();
+ var anObject = requireAnObject();
+ var isCallable = requireIsCallable();
+ var classof = requireClassofRaw();
+ var regexpExec = requireRegexpExec();
- requireEs_object_assign();
+ var $TypeError = TypeError;
- var es_object_entries = {};
+ // `RegExpExec` abstract operation
+ // https://tc39.es/ecma262/#sec-regexpexec
+ regexpExecAbstract = function (R, S) {
+ var exec = R.exec;
+ if (isCallable(exec)) {
+ var result = call(exec, R, S);
+ if (result !== null) anObject(result);
+ return result;
+ }
+ if (classof(R) === 'RegExp') return call(regexpExec, R, S);
+ throw new $TypeError('RegExp#exec called on incompatible receiver');
+ };
+ return regexpExecAbstract;
+ }
- var objectToArray;
- var hasRequiredObjectToArray;
+ var hasRequiredEs_string_split;
- function requireObjectToArray () {
- if (hasRequiredObjectToArray) return objectToArray;
- hasRequiredObjectToArray = 1;
- var DESCRIPTORS = requireDescriptors();
- var fails = requireFails();
+ function requireEs_string_split () {
+ if (hasRequiredEs_string_split) return es_string_split;
+ hasRequiredEs_string_split = 1;
+ var call = requireFunctionCall();
var uncurryThis = requireFunctionUncurryThis();
- var objectGetPrototypeOf = requireObjectGetPrototypeOf();
- var objectKeys = requireObjectKeys();
- var toIndexedObject = requireToIndexedObject();
- var $propertyIsEnumerable = requireObjectPropertyIsEnumerable().f;
+ var fixRegExpWellKnownSymbolLogic = requireFixRegexpWellKnownSymbolLogic();
+ var anObject = requireAnObject();
+ var isObject = requireIsObject();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var speciesConstructor = requireSpeciesConstructor();
+ var advanceStringIndex = requireAdvanceStringIndex();
+ var toLength = requireToLength();
+ var toString = requireToString();
+ var getMethod = requireGetMethod();
+ var getRegExpFlags = requireRegexpGetFlags();
+ var regExpExec = requireRegexpExecAbstract();
+ var stickyHelpers = requireRegexpStickyHelpers();
+ var fails = requireFails();
- var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
+ var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
+ var MAX_UINT32 = 0xFFFFFFFF;
+ var min = Math.min;
var push = uncurryThis([].push);
+ var stringSlice = uncurryThis(''.slice);
+ var stringIndexOf = uncurryThis(''.indexOf);
- // in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys
- // of `null` prototype objects
- var IE_BUG = DESCRIPTORS && fails(function () {
- // eslint-disable-next-line es/no-object-create -- safe
- var O = Object.create(null);
- O[2] = 2;
- return !propertyIsEnumerable(O, 2);
+ // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
+ // Weex JS has frozen built-in prototypes, so use try / catch wrapper
+ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
+ var re = /(?:)/;
+ var originalExec = re.exec;
+ re.exec = function () { return originalExec.apply(this, arguments); };
+ var result = 'ab'.split(re);
+ return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
});
- // `Object.{ entries, values }` methods implementation
- var createMethod = function (TO_ENTRIES) {
- return function (it) {
- var O = toIndexedObject(it);
- var keys = objectKeys(O);
- var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;
- var length = keys.length;
- var i = 0;
- var result = [];
- var key;
- while (length > i) {
- key = keys[i++];
- if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {
- push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
- }
- }
- return result;
- };
- };
+ var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
+ 'test'.split(/(?:)/, -1).length !== 4 ||
+ 'ab'.split(/(?:ab)*/).length !== 2 ||
+ '.'.split(/(.?)(.?)/).length !== 4 ||
+ // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
+ '.'.split(/()()/).length > 1 ||
+ ''.split(/.?/).length;
- objectToArray = {
- // `Object.entries` method
- // https://tc39.es/ecma262/#sec-object.entries
- entries: createMethod(true),
- // `Object.values` method
- // https://tc39.es/ecma262/#sec-object.values
- values: createMethod(false)
- };
- return objectToArray;
- }
+ // @@split logic
+ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
+ var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
+ return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
+ } : nativeSplit;
- var hasRequiredEs_object_entries;
+ return [
+ // `String.prototype.split` method
+ // https://tc39.es/ecma262/#sec-string.prototype.split
+ function split(separator, limit) {
+ var O = requireObjectCoercible(this);
+ var splitter = isObject(separator) ? getMethod(separator, SPLIT) : undefined;
+ return splitter
+ ? call(splitter, separator, O, limit)
+ : call(internalSplit, toString(O), separator, limit);
+ },
+ // `RegExp.prototype[@@split]` method
+ // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
+ //
+ // NOTE: This cannot be properly polyfilled in engines that don't support
+ // the 'y' flag.
+ function (string, limit) {
+ var rx = anObject(this);
+ var S = toString(string);
- function requireEs_object_entries () {
- if (hasRequiredEs_object_entries) return es_object_entries;
- hasRequiredEs_object_entries = 1;
- var $ = require_export();
- var $entries = requireObjectToArray().entries;
+ if (!BUGGY) {
+ var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
+ if (res.done) return res.value;
+ }
- // `Object.entries` method
- // https://tc39.es/ecma262/#sec-object.entries
- $({ target: 'Object', stat: true }, {
- entries: function entries(O) {
- return $entries(O);
- }
- });
- return es_object_entries;
+ var C = speciesConstructor(rx, RegExp);
+ var flags = toString(getRegExpFlags(rx));
+ var unicodeMatching = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
+ if (UNSUPPORTED_Y) {
+ if (!~stringIndexOf(flags, 'g')) flags += 'g';
+ } else if (!~stringIndexOf(flags, 'y')) flags += 'y';
+ // ^(? + rx + ) is needed, in combination with some S slicing, to
+ // simulate the 'y' flag.
+ var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
+ var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
+ if (lim === 0) return [];
+ if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
+ var p = 0;
+ var q = 0;
+ var A = [];
+ while (q < S.length) {
+ splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
+ var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
+ var e;
+ if (
+ z === null ||
+ (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
+ ) {
+ q = advanceStringIndex(S, q, unicodeMatching);
+ } else {
+ push(A, stringSlice(S, p, q));
+ if (A.length === lim) return A;
+ for (var i = 1; i <= z.length - 1; i++) {
+ push(A, z[i]);
+ if (A.length === lim) return A;
+ }
+ q = p = e;
+ }
+ }
+ push(A, stringSlice(S, p));
+ return A;
+ }
+ ];
+ }, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
+ return es_string_split;
}
- requireEs_object_entries();
-
- var es_object_keys = {};
-
- var hasRequiredEs_object_keys;
+ requireEs_string_split();
- function requireEs_object_keys () {
- if (hasRequiredEs_object_keys) return es_object_keys;
- hasRequiredEs_object_keys = 1;
- var $ = require_export();
- var toObject = requireToObject();
- var nativeKeys = requireObjectKeys();
- var fails = requireFails();
+ var es_string_trim = {};
- var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
+ var whitespaces;
+ var hasRequiredWhitespaces;
- // `Object.keys` method
- // https://tc39.es/ecma262/#sec-object.keys
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
- keys: function keys(it) {
- return nativeKeys(toObject(it));
- }
- });
- return es_object_keys;
+ function requireWhitespaces () {
+ if (hasRequiredWhitespaces) return whitespaces;
+ hasRequiredWhitespaces = 1;
+ // a string of all valid unicode whitespaces
+ whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
+ return whitespaces;
}
- requireEs_object_keys();
-
- var es_object_toString = {};
+ var stringTrim;
+ var hasRequiredStringTrim;
- var objectToString;
- var hasRequiredObjectToString;
+ function requireStringTrim () {
+ if (hasRequiredStringTrim) return stringTrim;
+ hasRequiredStringTrim = 1;
+ var uncurryThis = requireFunctionUncurryThis();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var toString = requireToString();
+ var whitespaces = requireWhitespaces();
- function requireObjectToString () {
- if (hasRequiredObjectToString) return objectToString;
- hasRequiredObjectToString = 1;
- var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
- var classof = requireClassof();
+ var replace = uncurryThis(''.replace);
+ var ltrim = RegExp('^[' + whitespaces + ']+');
+ var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');
- // `Object.prototype.toString` method implementation
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
- objectToString = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
- return '[object ' + classof(this) + ']';
+ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
+ var createMethod = function (TYPE) {
+ return function ($this) {
+ var string = toString(requireObjectCoercible($this));
+ if (TYPE & 1) string = replace(string, ltrim, '');
+ if (TYPE & 2) string = replace(string, rtrim, '$1');
+ return string;
+ };
};
- return objectToString;
- }
-
- var hasRequiredEs_object_toString;
-
- function requireEs_object_toString () {
- if (hasRequiredEs_object_toString) return es_object_toString;
- hasRequiredEs_object_toString = 1;
- var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
- var defineBuiltIn = requireDefineBuiltIn();
- var toString = requireObjectToString();
- // `Object.prototype.toString` method
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
- if (!TO_STRING_TAG_SUPPORT) {
- defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
- }
- return es_object_toString;
+ stringTrim = {
+ // `String.prototype.{ trimLeft, trimStart }` methods
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
+ start: createMethod(1),
+ // `String.prototype.{ trimRight, trimEnd }` methods
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
+ end: createMethod(2),
+ // `String.prototype.trim` method
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
+ trim: createMethod(3)
+ };
+ return stringTrim;
}
- requireEs_object_toString();
-
- var es_parseFloat = {};
-
- var numberParseFloat;
- var hasRequiredNumberParseFloat;
+ var stringTrimForced;
+ var hasRequiredStringTrimForced;
- function requireNumberParseFloat () {
- if (hasRequiredNumberParseFloat) return numberParseFloat;
- hasRequiredNumberParseFloat = 1;
- var globalThis = requireGlobalThis();
+ function requireStringTrimForced () {
+ if (hasRequiredStringTrimForced) return stringTrimForced;
+ hasRequiredStringTrimForced = 1;
+ var PROPER_FUNCTION_NAME = requireFunctionName().PROPER;
var fails = requireFails();
- var uncurryThis = requireFunctionUncurryThis();
- var toString = requireToString();
- var trim = requireStringTrim().trim;
var whitespaces = requireWhitespaces();
- var charAt = uncurryThis(''.charAt);
- var $parseFloat = globalThis.parseFloat;
- var Symbol = globalThis.Symbol;
- var ITERATOR = Symbol && Symbol.iterator;
- var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
- // MS Edge 18- broken with boxed symbols
- || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));
-
- // `parseFloat` method
- // https://tc39.es/ecma262/#sec-parsefloat-string
- numberParseFloat = FORCED ? function parseFloat(string) {
- var trimmedString = trim(toString(string));
- var result = $parseFloat(trimmedString);
- return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
- } : $parseFloat;
- return numberParseFloat;
- }
-
- var hasRequiredEs_parseFloat;
-
- function requireEs_parseFloat () {
- if (hasRequiredEs_parseFloat) return es_parseFloat;
- hasRequiredEs_parseFloat = 1;
- var $ = require_export();
- var $parseFloat = requireNumberParseFloat();
+ var non = '\u200B\u0085\u180E';
- // `parseFloat` method
- // https://tc39.es/ecma262/#sec-parsefloat-string
- $({ global: true, forced: parseFloat !== $parseFloat }, {
- parseFloat: $parseFloat
- });
- return es_parseFloat;
+ // check that a method works with the correct list
+ // of whitespaces and has a correct name
+ stringTrimForced = function (METHOD_NAME) {
+ return fails(function () {
+ return !!whitespaces[METHOD_NAME]()
+ || non[METHOD_NAME]() !== non
+ || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
+ });
+ };
+ return stringTrimForced;
}
- requireEs_parseFloat();
-
- var es_parseInt = {};
-
- var numberParseInt;
- var hasRequiredNumberParseInt;
-
- function requireNumberParseInt () {
- if (hasRequiredNumberParseInt) return numberParseInt;
- hasRequiredNumberParseInt = 1;
- var globalThis = requireGlobalThis();
- var fails = requireFails();
- var uncurryThis = requireFunctionUncurryThis();
- var toString = requireToString();
- var trim = requireStringTrim().trim;
- var whitespaces = requireWhitespaces();
+ var hasRequiredEs_string_trim;
- var $parseInt = globalThis.parseInt;
- var Symbol = globalThis.Symbol;
- var ITERATOR = Symbol && Symbol.iterator;
- var hex = /^[+-]?0x/i;
- var exec = uncurryThis(hex.exec);
- var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
- // MS Edge 18- broken with boxed symbols
- || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
-
- // `parseInt` method
- // https://tc39.es/ecma262/#sec-parseint-string-radix
- numberParseInt = FORCED ? function parseInt(string, radix) {
- var S = trim(toString(string));
- return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
- } : $parseInt;
- return numberParseInt;
- }
-
- var hasRequiredEs_parseInt;
-
- function requireEs_parseInt () {
- if (hasRequiredEs_parseInt) return es_parseInt;
- hasRequiredEs_parseInt = 1;
+ function requireEs_string_trim () {
+ if (hasRequiredEs_string_trim) return es_string_trim;
+ hasRequiredEs_string_trim = 1;
var $ = require_export();
- var $parseInt = requireNumberParseInt();
+ var $trim = requireStringTrim().trim;
+ var forcedStringTrimMethod = requireStringTrimForced();
- // `parseInt` method
- // https://tc39.es/ecma262/#sec-parseint-string-radix
- $({ global: true, forced: parseInt !== $parseInt }, {
- parseInt: $parseInt
+ // `String.prototype.trim` method
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
+ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
+ trim: function trim() {
+ return $trim(this);
+ }
});
- return es_parseInt;
+ return es_string_trim;
}
- requireEs_parseInt();
-
- var es_regexp_constructor = {};
-
- var isRegexp;
- var hasRequiredIsRegexp;
+ requireEs_string_trim();
- function requireIsRegexp () {
- if (hasRequiredIsRegexp) return isRegexp;
- hasRequiredIsRegexp = 1;
- var isObject = requireIsObject();
- var classof = requireClassofRaw();
- var wellKnownSymbol = requireWellKnownSymbol();
+ var web_domCollections_forEach = {};
- var MATCH = wellKnownSymbol('match');
+ var domIterables;
+ var hasRequiredDomIterables;
- // `IsRegExp` abstract operation
- // https://tc39.es/ecma262/#sec-isregexp
- isRegexp = function (it) {
- var isRegExp;
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
+ function requireDomIterables () {
+ if (hasRequiredDomIterables) return domIterables;
+ hasRequiredDomIterables = 1;
+ // iterable DOM collections
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
+ domIterables = {
+ CSSRuleList: 0,
+ CSSStyleDeclaration: 0,
+ CSSValueList: 0,
+ ClientRectList: 0,
+ DOMRectList: 0,
+ DOMStringList: 0,
+ DOMTokenList: 1,
+ DataTransferItemList: 0,
+ FileList: 0,
+ HTMLAllCollection: 0,
+ HTMLCollection: 0,
+ HTMLFormElement: 0,
+ HTMLSelectElement: 0,
+ MediaList: 0,
+ MimeTypeArray: 0,
+ NamedNodeMap: 0,
+ NodeList: 1,
+ PaintRequestList: 0,
+ Plugin: 0,
+ PluginArray: 0,
+ SVGLengthList: 0,
+ SVGNumberList: 0,
+ SVGPathSegList: 0,
+ SVGPointList: 0,
+ SVGStringList: 0,
+ SVGTransformList: 0,
+ SourceBufferList: 0,
+ StyleSheetList: 0,
+ TextTrackCueList: 0,
+ TextTrackList: 0,
+ TouchList: 0
};
- return isRegexp;
+ return domIterables;
}
- var regexpFlagsDetection;
- var hasRequiredRegexpFlagsDetection;
+ var domTokenListPrototype;
+ var hasRequiredDomTokenListPrototype;
- function requireRegexpFlagsDetection () {
- if (hasRequiredRegexpFlagsDetection) return regexpFlagsDetection;
- hasRequiredRegexpFlagsDetection = 1;
- var globalThis = requireGlobalThis();
- var fails = requireFails();
+ function requireDomTokenListPrototype () {
+ if (hasRequiredDomTokenListPrototype) return domTokenListPrototype;
+ hasRequiredDomTokenListPrototype = 1;
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
+ var documentCreateElement = requireDocumentCreateElement();
- // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
- var RegExp = globalThis.RegExp;
+ var classList = documentCreateElement('span').classList;
+ var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
- var FLAGS_GETTER_IS_CORRECT = !fails(function () {
- var INDICES_SUPPORT = true;
- try {
- RegExp('.', 'd');
- } catch (error) {
- INDICES_SUPPORT = false;
- }
+ domTokenListPrototype = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
+ return domTokenListPrototype;
+ }
- var O = {};
- // modern V8 bug
- var calls = '';
- var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';
-
- var addGetter = function (key, chr) {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty(O, key, { get: function () {
- calls += chr;
- return true;
- } });
- };
+ var arrayMethodIsStrict;
+ var hasRequiredArrayMethodIsStrict;
- var pairs = {
- dotAll: 's',
- global: 'g',
- ignoreCase: 'i',
- multiline: 'm',
- sticky: 'y'
- };
+ function requireArrayMethodIsStrict () {
+ if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
+ hasRequiredArrayMethodIsStrict = 1;
+ var fails = requireFails();
- if (INDICES_SUPPORT) pairs.hasIndices = 'd';
+ arrayMethodIsStrict = function (METHOD_NAME, argument) {
+ var method = [][METHOD_NAME];
+ return !!method && fails(function () {
+ // eslint-disable-next-line no-useless-call -- required for testing
+ method.call(null, argument || function () { return 1; }, 1);
+ });
+ };
+ return arrayMethodIsStrict;
+ }
- for (var key in pairs) addGetter(key, pairs[key]);
+ var arrayForEach;
+ var hasRequiredArrayForEach;
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- var result = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call(O);
+ function requireArrayForEach () {
+ if (hasRequiredArrayForEach) return arrayForEach;
+ hasRequiredArrayForEach = 1;
+ var $forEach = requireArrayIteration().forEach;
+ var arrayMethodIsStrict = requireArrayMethodIsStrict();
- return result !== expected || calls !== expected;
- });
+ var STRICT_METHOD = arrayMethodIsStrict('forEach');
- regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
- return regexpFlagsDetection;
+ // `Array.prototype.forEach` method implementation
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
+ arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
+ return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
+ } : [].forEach;
+ return arrayForEach;
}
- var regexpFlags;
- var hasRequiredRegexpFlags;
+ var hasRequiredWeb_domCollections_forEach;
- function requireRegexpFlags () {
- if (hasRequiredRegexpFlags) return regexpFlags;
- hasRequiredRegexpFlags = 1;
- var anObject = requireAnObject();
+ function requireWeb_domCollections_forEach () {
+ if (hasRequiredWeb_domCollections_forEach) return web_domCollections_forEach;
+ hasRequiredWeb_domCollections_forEach = 1;
+ var globalThis = requireGlobalThis();
+ var DOMIterables = requireDomIterables();
+ var DOMTokenListPrototype = requireDomTokenListPrototype();
+ var forEach = requireArrayForEach();
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
- // `RegExp.prototype.flags` getter implementation
- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
- regexpFlags = function () {
- var that = anObject(this);
- var result = '';
- if (that.hasIndices) result += 'd';
- if (that.global) result += 'g';
- if (that.ignoreCase) result += 'i';
- if (that.multiline) result += 'm';
- if (that.dotAll) result += 's';
- if (that.unicode) result += 'u';
- if (that.unicodeSets) result += 'v';
- if (that.sticky) result += 'y';
- return result;
+ var handlePrototype = function (CollectionPrototype) {
+ // some Chrome versions have non-configurable methods on DOMTokenList
+ if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
+ createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
+ } catch (error) {
+ CollectionPrototype.forEach = forEach;
+ }
};
- return regexpFlags;
+
+ for (var COLLECTION_NAME in DOMIterables) {
+ if (DOMIterables[COLLECTION_NAME]) {
+ handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);
+ }
+ }
+
+ handlePrototype(DOMTokenListPrototype);
+ return web_domCollections_forEach;
}
- var regexpGetFlags;
- var hasRequiredRegexpGetFlags;
+ requireWeb_domCollections_forEach();
- function requireRegexpGetFlags () {
- if (hasRequiredRegexpGetFlags) return regexpGetFlags;
- hasRequiredRegexpGetFlags = 1;
- var call = requireFunctionCall();
- var hasOwn = requireHasOwnProperty();
- var isPrototypeOf = requireObjectIsPrototypeOf();
- var regExpFlagsDetection = requireRegexpFlagsDetection();
- var regExpFlagsGetterImplementation = requireRegexpFlags();
+ var es_string_startsWith = {};
- var RegExpPrototype = RegExp.prototype;
+ var hasRequiredEs_string_startsWith;
- regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
- return it.flags;
- } : function (it) {
- return (!regExpFlagsDetection.correct && isPrototypeOf(RegExpPrototype, it) && !hasOwn(it, 'flags'))
- ? call(regExpFlagsGetterImplementation, it)
- : it.flags;
- };
- return regexpGetFlags;
+ function requireEs_string_startsWith () {
+ if (hasRequiredEs_string_startsWith) return es_string_startsWith;
+ hasRequiredEs_string_startsWith = 1;
+ var $ = require_export();
+ var uncurryThis = requireFunctionUncurryThisClause();
+ var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
+ var toLength = requireToLength();
+ var toString = requireToString();
+ var notARegExp = requireNotARegexp();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var correctIsRegExpLogic = requireCorrectIsRegexpLogic();
+ var IS_PURE = requireIsPure();
+
+ var stringSlice = uncurryThis(''.slice);
+ var min = Math.min;
+
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
+ // https://github.com/zloirock/core-js/pull/702
+ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
+ var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
+ return descriptor && !descriptor.writable;
+ }();
+
+ // `String.prototype.startsWith` method
+ // https://tc39.es/ecma262/#sec-string.prototype.startswith
+ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
+ startsWith: function startsWith(searchString /* , position = 0 */) {
+ var that = toString(requireObjectCoercible(this));
+ notARegExp(searchString);
+ var search = toString(searchString);
+ var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
+ return stringSlice(that, index, index + search.length) === search;
+ }
+ });
+ return es_string_startsWith;
}
- var regexpStickyHelpers;
- var hasRequiredRegexpStickyHelpers;
+ requireEs_string_startsWith();
- function requireRegexpStickyHelpers () {
- if (hasRequiredRegexpStickyHelpers) return regexpStickyHelpers;
- hasRequiredRegexpStickyHelpers = 1;
- var fails = requireFails();
- var globalThis = requireGlobalThis();
+ var es_array_filter = {};
- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
- var $RegExp = globalThis.RegExp;
+ var hasRequiredEs_array_filter;
- var UNSUPPORTED_Y = fails(function () {
- var re = $RegExp('a', 'y');
- re.lastIndex = 2;
- return re.exec('abcd') !== null;
- });
+ function requireEs_array_filter () {
+ if (hasRequiredEs_array_filter) return es_array_filter;
+ hasRequiredEs_array_filter = 1;
+ var $ = require_export();
+ var $filter = requireArrayIteration().filter;
+ var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
- // UC Browser bug
- // https://github.com/zloirock/core-js/issues/1008
- var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
- return !$RegExp('a', 'y').sticky;
- });
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
- var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
- var re = $RegExp('^r', 'gy');
- re.lastIndex = 2;
- return re.exec('str') !== null;
+ // `Array.prototype.filter` method
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
+ // with adding support of @@species
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ filter: function filter(callbackfn /* , thisArg */) {
+ return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+ }
});
+ return es_array_filter;
+ }
- regexpStickyHelpers = {
- BROKEN_CARET: BROKEN_CARET,
- MISSED_STICKY: MISSED_STICKY,
- UNSUPPORTED_Y: UNSUPPORTED_Y
+ requireEs_array_filter();
+
+ var es_array_from = {};
+
+ var iteratorClose;
+ var hasRequiredIteratorClose;
+
+ function requireIteratorClose () {
+ if (hasRequiredIteratorClose) return iteratorClose;
+ hasRequiredIteratorClose = 1;
+ var call = requireFunctionCall();
+ var anObject = requireAnObject();
+ var getMethod = requireGetMethod();
+
+ iteratorClose = function (iterator, kind, value) {
+ var innerResult, innerError;
+ anObject(iterator);
+ try {
+ innerResult = getMethod(iterator, 'return');
+ if (!innerResult) {
+ if (kind === 'throw') throw value;
+ return value;
+ }
+ innerResult = call(innerResult, iterator);
+ } catch (error) {
+ innerError = true;
+ innerResult = error;
+ }
+ if (kind === 'throw') throw value;
+ if (innerError) throw innerResult;
+ anObject(innerResult);
+ return value;
};
- return regexpStickyHelpers;
+ return iteratorClose;
}
- var proxyAccessor;
- var hasRequiredProxyAccessor;
+ var callWithSafeIterationClosing;
+ var hasRequiredCallWithSafeIterationClosing;
- function requireProxyAccessor () {
- if (hasRequiredProxyAccessor) return proxyAccessor;
- hasRequiredProxyAccessor = 1;
- var defineProperty = requireObjectDefineProperty().f;
+ function requireCallWithSafeIterationClosing () {
+ if (hasRequiredCallWithSafeIterationClosing) return callWithSafeIterationClosing;
+ hasRequiredCallWithSafeIterationClosing = 1;
+ var anObject = requireAnObject();
+ var iteratorClose = requireIteratorClose();
- proxyAccessor = function (Target, Source, key) {
- key in Target || defineProperty(Target, key, {
- configurable: true,
- get: function () { return Source[key]; },
- set: function (it) { Source[key] = it; }
- });
+ // call something on iterator step with safe closing on error
+ callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) {
+ try {
+ return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
+ } catch (error) {
+ iteratorClose(iterator, 'throw', error);
+ }
};
- return proxyAccessor;
+ return callWithSafeIterationClosing;
}
- var defineBuiltInAccessor;
- var hasRequiredDefineBuiltInAccessor;
+ var iterators;
+ var hasRequiredIterators;
- function requireDefineBuiltInAccessor () {
- if (hasRequiredDefineBuiltInAccessor) return defineBuiltInAccessor;
- hasRequiredDefineBuiltInAccessor = 1;
- var makeBuiltIn = requireMakeBuiltIn();
- var defineProperty = requireObjectDefineProperty();
+ function requireIterators () {
+ if (hasRequiredIterators) return iterators;
+ hasRequiredIterators = 1;
+ iterators = {};
+ return iterators;
+ }
- defineBuiltInAccessor = function (target, name, descriptor) {
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
- return defineProperty.f(target, name, descriptor);
+ var isArrayIteratorMethod;
+ var hasRequiredIsArrayIteratorMethod;
+
+ function requireIsArrayIteratorMethod () {
+ if (hasRequiredIsArrayIteratorMethod) return isArrayIteratorMethod;
+ hasRequiredIsArrayIteratorMethod = 1;
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var Iterators = requireIterators();
+
+ var ITERATOR = wellKnownSymbol('iterator');
+ var ArrayPrototype = Array.prototype;
+
+ // check on default Array iterator
+ isArrayIteratorMethod = function (it) {
+ return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
};
- return defineBuiltInAccessor;
+ return isArrayIteratorMethod;
}
- var setSpecies;
- var hasRequiredSetSpecies;
+ var getIteratorMethod;
+ var hasRequiredGetIteratorMethod;
- function requireSetSpecies () {
- if (hasRequiredSetSpecies) return setSpecies;
- hasRequiredSetSpecies = 1;
- var getBuiltIn = requireGetBuiltIn();
- var defineBuiltInAccessor = requireDefineBuiltInAccessor();
+ function requireGetIteratorMethod () {
+ if (hasRequiredGetIteratorMethod) return getIteratorMethod;
+ hasRequiredGetIteratorMethod = 1;
+ var classof = requireClassof();
+ var getMethod = requireGetMethod();
+ var isNullOrUndefined = requireIsNullOrUndefined();
+ var Iterators = requireIterators();
var wellKnownSymbol = requireWellKnownSymbol();
- var DESCRIPTORS = requireDescriptors();
- var SPECIES = wellKnownSymbol('species');
+ var ITERATOR = wellKnownSymbol('iterator');
- setSpecies = function (CONSTRUCTOR_NAME) {
- var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
+ getIteratorMethod = function (it) {
+ if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
+ || getMethod(it, '@@iterator')
+ || Iterators[classof(it)];
+ };
+ return getIteratorMethod;
+ }
- if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
- defineBuiltInAccessor(Constructor, SPECIES, {
- configurable: true,
- get: function () { return this; }
- });
+ var getIterator;
+ var hasRequiredGetIterator;
+
+ function requireGetIterator () {
+ if (hasRequiredGetIterator) return getIterator;
+ hasRequiredGetIterator = 1;
+ var call = requireFunctionCall();
+ var aCallable = requireACallable();
+ var anObject = requireAnObject();
+ var tryToString = requireTryToString();
+ var getIteratorMethod = requireGetIteratorMethod();
+
+ var $TypeError = TypeError;
+
+ getIterator = function (argument, usingIterator) {
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
+ if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
+ throw new $TypeError(tryToString(argument) + ' is not iterable');
+ };
+ return getIterator;
+ }
+
+ var arrayFrom;
+ var hasRequiredArrayFrom;
+
+ function requireArrayFrom () {
+ if (hasRequiredArrayFrom) return arrayFrom;
+ hasRequiredArrayFrom = 1;
+ var bind = requireFunctionBindContext();
+ var call = requireFunctionCall();
+ var toObject = requireToObject();
+ var callWithSafeIterationClosing = requireCallWithSafeIterationClosing();
+ var isArrayIteratorMethod = requireIsArrayIteratorMethod();
+ var isConstructor = requireIsConstructor();
+ var lengthOfArrayLike = requireLengthOfArrayLike();
+ var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
+ var getIterator = requireGetIterator();
+ var getIteratorMethod = requireGetIteratorMethod();
+ var iteratorClose = requireIteratorClose();
+
+ var $Array = Array;
+
+ // `Array.from` method implementation
+ // https://tc39.es/ecma262/#sec-array.from
+ arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
+ var IS_CONSTRUCTOR = isConstructor(this);
+ var argumentsLength = arguments.length;
+ var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
+ var mapping = mapfn !== undefined;
+ if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
+ var O = toObject(arrayLike);
+ var iteratorMethod = getIteratorMethod(O);
+ var index = 0;
+ var length, result, step, iterator, next, value;
+ // if the target is not iterable or it's an array with the default iterator - use a simple case
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
+ result = IS_CONSTRUCTOR ? new this() : [];
+ iterator = getIterator(O, iteratorMethod);
+ next = iterator.next;
+ for (;!(step = call(next, iterator)).done; index++) {
+ value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
+ try {
+ createProperty(result, index, value);
+ } catch (error) {
+ iteratorClose(iterator, 'throw', error);
+ }
+ }
+ } else {
+ length = lengthOfArrayLike(O);
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
+ for (;length > index; index++) {
+ value = mapping ? mapfn(O[index], index) : O[index];
+ createProperty(result, index, value);
+ }
}
+ setArrayLength(result, index);
+ return result;
};
- return setSpecies;
+ return arrayFrom;
}
- var regexpUnsupportedDotAll;
- var hasRequiredRegexpUnsupportedDotAll;
+ var checkCorrectnessOfIteration;
+ var hasRequiredCheckCorrectnessOfIteration;
- function requireRegexpUnsupportedDotAll () {
- if (hasRequiredRegexpUnsupportedDotAll) return regexpUnsupportedDotAll;
- hasRequiredRegexpUnsupportedDotAll = 1;
- var fails = requireFails();
- var globalThis = requireGlobalThis();
+ function requireCheckCorrectnessOfIteration () {
+ if (hasRequiredCheckCorrectnessOfIteration) return checkCorrectnessOfIteration;
+ hasRequiredCheckCorrectnessOfIteration = 1;
+ var wellKnownSymbol = requireWellKnownSymbol();
- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
- var $RegExp = globalThis.RegExp;
+ var ITERATOR = wellKnownSymbol('iterator');
+ var SAFE_CLOSING = false;
- regexpUnsupportedDotAll = fails(function () {
- var re = $RegExp('.', 's');
- return !(re.dotAll && re.test('\n') && re.flags === 's');
- });
- return regexpUnsupportedDotAll;
+ try {
+ var called = 0;
+ var iteratorWithReturn = {
+ next: function () {
+ return { done: !!called++ };
+ },
+ 'return': function () {
+ SAFE_CLOSING = true;
+ }
+ };
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ iteratorWithReturn[ITERATOR] = function () {
+ return this;
+ };
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
+ Array.from(iteratorWithReturn, function () { throw 2; });
+ } catch (error) { /* empty */ }
+
+ checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) {
+ try {
+ if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
+ } catch (error) { return false; } // workaround of old WebKit + `eval` bug
+ var ITERATION_SUPPORT = false;
+ try {
+ var object = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ object[ITERATOR] = function () {
+ return {
+ next: function () {
+ return { done: ITERATION_SUPPORT = true };
+ }
+ };
+ };
+ exec(object);
+ } catch (error) { /* empty */ }
+ return ITERATION_SUPPORT;
+ };
+ return checkCorrectnessOfIteration;
}
- var regexpUnsupportedNcg;
- var hasRequiredRegexpUnsupportedNcg;
+ var hasRequiredEs_array_from;
- function requireRegexpUnsupportedNcg () {
- if (hasRequiredRegexpUnsupportedNcg) return regexpUnsupportedNcg;
- hasRequiredRegexpUnsupportedNcg = 1;
- var fails = requireFails();
- var globalThis = requireGlobalThis();
+ function requireEs_array_from () {
+ if (hasRequiredEs_array_from) return es_array_from;
+ hasRequiredEs_array_from = 1;
+ var $ = require_export();
+ var from = requireArrayFrom();
+ var checkCorrectnessOfIteration = requireCheckCorrectnessOfIteration();
- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
- var $RegExp = globalThis.RegExp;
+ var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
+ // eslint-disable-next-line es/no-array-from -- required for testing
+ Array.from(iterable);
+ });
- regexpUnsupportedNcg = fails(function () {
- var re = $RegExp('(?<a>b)', 'g');
- return re.exec('b').groups.a !== 'b' ||
- 'b'.replace(re, '$<a>c') !== 'bc';
+ // `Array.from` method
+ // https://tc39.es/ecma262/#sec-array.from
+ $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
+ from: from
});
- return regexpUnsupportedNcg;
+ return es_array_from;
}
- var hasRequiredEs_regexp_constructor;
+ requireEs_array_from();
- function requireEs_regexp_constructor () {
- if (hasRequiredEs_regexp_constructor) return es_regexp_constructor;
- hasRequiredEs_regexp_constructor = 1;
- var DESCRIPTORS = requireDescriptors();
- var globalThis = requireGlobalThis();
- var uncurryThis = requireFunctionUncurryThis();
- var isForced = requireIsForced();
- var inheritIfRequired = requireInheritIfRequired();
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ var es_string_iterator = {};
+
+ var iteratorsCore;
+ var hasRequiredIteratorsCore;
+
+ function requireIteratorsCore () {
+ if (hasRequiredIteratorsCore) return iteratorsCore;
+ hasRequiredIteratorsCore = 1;
+ var fails = requireFails();
+ var isCallable = requireIsCallable();
+ var isObject = requireIsObject();
var create = requireObjectCreate();
- var getOwnPropertyNames = requireObjectGetOwnPropertyNames().f;
- var isPrototypeOf = requireObjectIsPrototypeOf();
- var isRegExp = requireIsRegexp();
- var toString = requireToString();
- var getRegExpFlags = requireRegexpGetFlags();
- var stickyHelpers = requireRegexpStickyHelpers();
- var proxyAccessor = requireProxyAccessor();
+ var getPrototypeOf = requireObjectGetPrototypeOf();
var defineBuiltIn = requireDefineBuiltIn();
- var fails = requireFails();
- var hasOwn = requireHasOwnProperty();
- var enforceInternalState = requireInternalState().enforce;
- var setSpecies = requireSetSpecies();
var wellKnownSymbol = requireWellKnownSymbol();
- var UNSUPPORTED_DOT_ALL = requireRegexpUnsupportedDotAll();
- var UNSUPPORTED_NCG = requireRegexpUnsupportedNcg();
+ var IS_PURE = requireIsPure();
- var MATCH = wellKnownSymbol('match');
- var NativeRegExp = globalThis.RegExp;
- var RegExpPrototype = NativeRegExp.prototype;
- var SyntaxError = globalThis.SyntaxError;
- var exec = uncurryThis(RegExpPrototype.exec);
- var charAt = uncurryThis(''.charAt);
- var replace = uncurryThis(''.replace);
- var stringIndexOf = uncurryThis(''.indexOf);
- var stringSlice = uncurryThis(''.slice);
- // TODO: Use only proper RegExpIdentifierName
- var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
- var re1 = /a/g;
- var re2 = /a/g;
+ var ITERATOR = wellKnownSymbol('iterator');
+ var BUGGY_SAFARI_ITERATORS = false;
- // "new" should create a new object, old webkit bug
- var CORRECT_NEW = new NativeRegExp(re1) !== re1;
+ // `%IteratorPrototype%` object
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
+ var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
- var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
- var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
+ /* eslint-disable es/no-array-prototype-keys -- safe */
+ if ([].keys) {
+ arrayIterator = [].keys();
+ // Safari 8 has buggy iterators w/o `next`
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
+ else {
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
+ }
+ }
- var BASE_FORCED = DESCRIPTORS &&
- (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
- re2[MATCH] = false;
- // RegExp constructor can alter flags and IsRegExp works correct with @@match
- // eslint-disable-next-line sonarjs/inconsistent-function-call -- required for testing
- return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
- }));
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
+ var test = {};
+ // FF44- legacy iterators case
+ return IteratorPrototype[ITERATOR].call(test) !== test;
+ });
- var handleDotAll = function (string) {
- var length = string.length;
- var index = 0;
- var result = '';
- var brackets = false;
- var chr;
- for (; index <= length; index++) {
- chr = charAt(string, index);
- if (chr === '\\') {
- result += chr + charAt(string, ++index);
- continue;
- }
- if (!brackets && chr === '.') {
- result += '[\\s\\S]';
- } else {
- if (chr === '[') {
- brackets = true;
- } else if (chr === ']') {
- brackets = false;
- } result += chr;
- }
- } return result;
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
+ else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
+
+ // `%IteratorPrototype%[@@iterator]()` method
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
+ if (!isCallable(IteratorPrototype[ITERATOR])) {
+ defineBuiltIn(IteratorPrototype, ITERATOR, function () {
+ return this;
+ });
+ }
+
+ iteratorsCore = {
+ IteratorPrototype: IteratorPrototype,
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
};
+ return iteratorsCore;
+ }
- var handleNCG = function (string) {
- var length = string.length;
- var index = 0;
- var result = '';
- var named = [];
- var names = create(null);
- var brackets = false;
- var ncg = false;
- var groupid = 0;
- var groupname = '';
- var chr;
- for (; index <= length; index++) {
- chr = charAt(string, index);
- if (chr === '\\') {
- chr += charAt(string, ++index);
- } else if (chr === ']') {
- brackets = false;
- } else if (!brackets) switch (true) {
- case chr === '[':
- brackets = true;
- break;
- case chr === '(':
- result += chr;
- // ignore non-capturing groups
- if (stringSlice(string, index + 1, index + 3) === '?:') {
- continue;
- }
- if (exec(IS_NCG, stringSlice(string, index + 1))) {
- index += 2;
- ncg = true;
- }
- groupid++;
- continue;
- case chr === '>' && ncg:
- if (groupname === '' || hasOwn(names, groupname)) {
- throw new SyntaxError('Invalid capture group name');
- }
- names[groupname] = true;
- named[named.length] = [groupname, groupid];
- ncg = false;
- groupname = '';
- continue;
- }
- if (ncg) groupname += chr;
- else result += chr;
- } return [result, named];
- };
-
- // `RegExp` constructor
- // https://tc39.es/ecma262/#sec-regexp-constructor
- if (isForced('RegExp', BASE_FORCED)) {
- var RegExpWrapper = function RegExp(pattern, flags) {
- var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
- var patternIsRegExp = isRegExp(pattern);
- var flagsAreUndefined = flags === undefined;
- var groups = [];
- var rawPattern = pattern;
- var rawFlags, dotAll, sticky, handled, result, state;
-
- if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
- return pattern;
- }
+ var setToStringTag;
+ var hasRequiredSetToStringTag;
- if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
- pattern = pattern.source;
- if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
- }
+ function requireSetToStringTag () {
+ if (hasRequiredSetToStringTag) return setToStringTag;
+ hasRequiredSetToStringTag = 1;
+ var defineProperty = requireObjectDefineProperty().f;
+ var hasOwn = requireHasOwnProperty();
+ var wellKnownSymbol = requireWellKnownSymbol();
- pattern = pattern === undefined ? '' : toString(pattern);
- flags = flags === undefined ? '' : toString(flags);
- rawPattern = pattern;
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
- dotAll = !!flags && stringIndexOf(flags, 's') > -1;
- if (dotAll) flags = replace(flags, /s/g, '');
- }
+ setToStringTag = function (target, TAG, STATIC) {
+ if (target && !STATIC) target = target.prototype;
+ if (target && !hasOwn(target, TO_STRING_TAG)) {
+ defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
+ }
+ };
+ return setToStringTag;
+ }
- rawFlags = flags;
+ var iteratorCreateConstructor;
+ var hasRequiredIteratorCreateConstructor;
- if (MISSED_STICKY && 'sticky' in re1) {
- sticky = !!flags && stringIndexOf(flags, 'y') > -1;
- if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
- }
+ function requireIteratorCreateConstructor () {
+ if (hasRequiredIteratorCreateConstructor) return iteratorCreateConstructor;
+ hasRequiredIteratorCreateConstructor = 1;
+ var IteratorPrototype = requireIteratorsCore().IteratorPrototype;
+ var create = requireObjectCreate();
+ var createPropertyDescriptor = requireCreatePropertyDescriptor();
+ var setToStringTag = requireSetToStringTag();
+ var Iterators = requireIterators();
- if (UNSUPPORTED_NCG) {
- handled = handleNCG(pattern);
- pattern = handled[0];
- groups = handled[1];
- }
+ var returnThis = function () { return this; };
- result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
+ iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
+ var TO_STRING_TAG = NAME + ' Iterator';
+ IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
+ setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
+ Iterators[TO_STRING_TAG] = returnThis;
+ return IteratorConstructor;
+ };
+ return iteratorCreateConstructor;
+ }
- if (dotAll || sticky || groups.length) {
- state = enforceInternalState(result);
- if (dotAll) {
- state.dotAll = true;
- state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
- }
- if (sticky) state.sticky = true;
- if (groups.length) state.groups = groups;
- }
+ var functionUncurryThisAccessor;
+ var hasRequiredFunctionUncurryThisAccessor;
- if (pattern !== rawPattern) try {
- // fails in old engines, but we have no alternatives for unsupported regex syntax
- createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
- } catch (error) { /* empty */ }
+ function requireFunctionUncurryThisAccessor () {
+ if (hasRequiredFunctionUncurryThisAccessor) return functionUncurryThisAccessor;
+ hasRequiredFunctionUncurryThisAccessor = 1;
+ var uncurryThis = requireFunctionUncurryThis();
+ var aCallable = requireACallable();
- return result;
- };
+ functionUncurryThisAccessor = function (object, key, method) {
+ try {
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
+ } catch (error) { /* empty */ }
+ };
+ return functionUncurryThisAccessor;
+ }
- for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
- proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
- }
+ var isPossiblePrototype;
+ var hasRequiredIsPossiblePrototype;
- RegExpPrototype.constructor = RegExpWrapper;
- RegExpWrapper.prototype = RegExpPrototype;
- defineBuiltIn(globalThis, 'RegExp', RegExpWrapper, { constructor: true });
- }
+ function requireIsPossiblePrototype () {
+ if (hasRequiredIsPossiblePrototype) return isPossiblePrototype;
+ hasRequiredIsPossiblePrototype = 1;
+ var isObject = requireIsObject();
- // https://tc39.es/ecma262/#sec-get-regexp-@@species
- setSpecies('RegExp');
- return es_regexp_constructor;
+ isPossiblePrototype = function (argument) {
+ return isObject(argument) || argument === null;
+ };
+ return isPossiblePrototype;
}
- requireEs_regexp_constructor();
+ var aPossiblePrototype;
+ var hasRequiredAPossiblePrototype;
- var es_regexp_exec = {};
+ function requireAPossiblePrototype () {
+ if (hasRequiredAPossiblePrototype) return aPossiblePrototype;
+ hasRequiredAPossiblePrototype = 1;
+ var isPossiblePrototype = requireIsPossiblePrototype();
- var regexpExec;
- var hasRequiredRegexpExec;
+ var $String = String;
+ var $TypeError = TypeError;
- function requireRegexpExec () {
- if (hasRequiredRegexpExec) return regexpExec;
- hasRequiredRegexpExec = 1;
- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
- /* eslint-disable regexp/no-useless-quantifier -- testing */
- var call = requireFunctionCall();
- var uncurryThis = requireFunctionUncurryThis();
- var toString = requireToString();
- var regexpFlags = requireRegexpFlags();
- var stickyHelpers = requireRegexpStickyHelpers();
- var shared = requireShared();
- var create = requireObjectCreate();
- var getInternalState = requireInternalState().get;
- var UNSUPPORTED_DOT_ALL = requireRegexpUnsupportedDotAll();
- var UNSUPPORTED_NCG = requireRegexpUnsupportedNcg();
+ aPossiblePrototype = function (argument) {
+ if (isPossiblePrototype(argument)) return argument;
+ throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
+ };
+ return aPossiblePrototype;
+ }
- var nativeReplace = shared('native-string-replace', String.prototype.replace);
- var nativeExec = RegExp.prototype.exec;
- var patchedExec = nativeExec;
- var charAt = uncurryThis(''.charAt);
- var indexOf = uncurryThis(''.indexOf);
- var replace = uncurryThis(''.replace);
- var stringSlice = uncurryThis(''.slice);
+ var objectSetPrototypeOf;
+ var hasRequiredObjectSetPrototypeOf;
- var UPDATES_LAST_INDEX_WRONG = (function () {
- var re1 = /a/;
- var re2 = /b*/g;
- call(nativeExec, re1, 'a');
- call(nativeExec, re2, 'a');
- return re1.lastIndex !== 0 || re2.lastIndex !== 0;
- })();
+ function requireObjectSetPrototypeOf () {
+ if (hasRequiredObjectSetPrototypeOf) return objectSetPrototypeOf;
+ hasRequiredObjectSetPrototypeOf = 1;
+ /* eslint-disable no-proto -- safe */
+ var uncurryThisAccessor = requireFunctionUncurryThisAccessor();
+ var isObject = requireIsObject();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var aPossiblePrototype = requireAPossiblePrototype();
- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
+ // `Object.setPrototypeOf` method
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
+ objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
+ var CORRECT_SETTER = false;
+ var test = {};
+ var setter;
+ try {
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
+ setter(test, []);
+ CORRECT_SETTER = test instanceof Array;
+ } catch (error) { /* empty */ }
+ return function setPrototypeOf(O, proto) {
+ requireObjectCoercible(O);
+ aPossiblePrototype(proto);
+ if (!isObject(O)) return O;
+ if (CORRECT_SETTER) setter(O, proto);
+ else O.__proto__ = proto;
+ return O;
+ };
+ }() : undefined);
+ return objectSetPrototypeOf;
+ }
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
+ var iteratorDefine;
+ var hasRequiredIteratorDefine;
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
+ function requireIteratorDefine () {
+ if (hasRequiredIteratorDefine) return iteratorDefine;
+ hasRequiredIteratorDefine = 1;
+ var $ = require_export();
+ var call = requireFunctionCall();
+ var IS_PURE = requireIsPure();
+ var FunctionName = requireFunctionName();
+ var isCallable = requireIsCallable();
+ var createIteratorConstructor = requireIteratorCreateConstructor();
+ var getPrototypeOf = requireObjectGetPrototypeOf();
+ var setPrototypeOf = requireObjectSetPrototypeOf();
+ var setToStringTag = requireSetToStringTag();
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ var defineBuiltIn = requireDefineBuiltIn();
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var Iterators = requireIterators();
+ var IteratorsCore = requireIteratorsCore();
- if (PATCH) {
- patchedExec = function exec(string) {
- var re = this;
- var state = getInternalState(re);
- var str = toString(string);
- var raw = state.raw;
- var result, reCopy, lastIndex, match, i, object, group;
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
+ var IteratorPrototype = IteratorsCore.IteratorPrototype;
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
+ var ITERATOR = wellKnownSymbol('iterator');
+ var KEYS = 'keys';
+ var VALUES = 'values';
+ var ENTRIES = 'entries';
- if (raw) {
- raw.lastIndex = re.lastIndex;
- result = call(patchedExec, raw, str);
- re.lastIndex = raw.lastIndex;
- return result;
- }
+ var returnThis = function () { return this; };
- var groups = state.groups;
- var sticky = UNSUPPORTED_Y && re.sticky;
- var flags = call(regexpFlags, re);
- var source = re.source;
- var charsAdded = 0;
- var strCopy = str;
+ iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
+ createIteratorConstructor(IteratorConstructor, NAME, next);
- if (sticky) {
- flags = replace(flags, 'y', '');
- if (indexOf(flags, 'g') === -1) {
- flags += 'g';
- }
+ var getIterationMethod = function (KIND) {
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
+ if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
- strCopy = stringSlice(str, re.lastIndex);
- // Support anchored sticky behavior.
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
- source = '(?: ' + source + ')';
- strCopy = ' ' + strCopy;
- charsAdded++;
- }
- // ^(? + rx + ) is needed, in combination with some str slicing, to
- // simulate the 'y' flag.
- reCopy = new RegExp('^(?:' + source + ')', flags);
+ switch (KIND) {
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
}
- if (NPCG_INCLUDED) {
- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
- }
- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
+ return function () { return new IteratorConstructor(this); };
+ };
- match = call(nativeExec, sticky ? reCopy : re, strCopy);
+ var TO_STRING_TAG = NAME + ' Iterator';
+ var INCORRECT_VALUES_NAME = false;
+ var IterablePrototype = Iterable.prototype;
+ var nativeIterator = IterablePrototype[ITERATOR]
+ || IterablePrototype['@@iterator']
+ || DEFAULT && IterablePrototype[DEFAULT];
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
+ var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
+ var CurrentIteratorPrototype, methods, KEY;
- if (sticky) {
- if (match) {
- match.input = stringSlice(match.input, charsAdded);
- match[0] = stringSlice(match[0], charsAdded);
- match.index = re.lastIndex;
- re.lastIndex += match[0].length;
- } else re.lastIndex = 0;
- } else if (UPDATES_LAST_INDEX_WRONG && match) {
- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
- }
- if (NPCG_INCLUDED && match && match.length > 1) {
- // Fix browsers whose `exec` methods don't consistently return `undefined`
- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
- call(nativeReplace, match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
- if (arguments[i] === undefined) match[i] = undefined;
+ // fix native
+ if (anyNativeIterator) {
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
+ if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
+ if (setPrototypeOf) {
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
+ } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
+ defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
}
- });
- }
-
- if (match && groups) {
- match.groups = object = create(null);
- for (i = 0; i < groups.length; i++) {
- group = groups[i];
- object[group[0]] = match[group[1]];
}
+ // Set @@toStringTag to native iterators
+ setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
+ if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
}
+ }
- return match;
- };
- }
-
- regexpExec = patchedExec;
- return regexpExec;
- }
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
+ if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
+ if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
+ createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
+ } else {
+ INCORRECT_VALUES_NAME = true;
+ defaultIterator = function values() { return call(nativeIterator, this); };
+ }
+ }
- var hasRequiredEs_regexp_exec;
+ // export additional methods
+ if (DEFAULT) {
+ methods = {
+ values: getIterationMethod(VALUES),
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
+ entries: getIterationMethod(ENTRIES)
+ };
+ if (FORCED) for (KEY in methods) {
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
+ defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
+ }
+ } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
+ }
- function requireEs_regexp_exec () {
- if (hasRequiredEs_regexp_exec) return es_regexp_exec;
- hasRequiredEs_regexp_exec = 1;
- var $ = require_export();
- var exec = requireRegexpExec();
+ // define iterator
+ if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
+ defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
+ }
+ Iterators[NAME] = defaultIterator;
- // `RegExp.prototype.exec` method
- // https://tc39.es/ecma262/#sec-regexp.prototype.exec
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
- exec: exec
- });
- return es_regexp_exec;
+ return methods;
+ };
+ return iteratorDefine;
}
- requireEs_regexp_exec();
-
- var es_regexp_toString = {};
+ var createIterResultObject;
+ var hasRequiredCreateIterResultObject;
- var hasRequiredEs_regexp_toString;
+ function requireCreateIterResultObject () {
+ if (hasRequiredCreateIterResultObject) return createIterResultObject;
+ hasRequiredCreateIterResultObject = 1;
+ // `CreateIterResultObject` abstract operation
+ // https://tc39.es/ecma262/#sec-createiterresultobject
+ createIterResultObject = function (value, done) {
+ return { value: value, done: done };
+ };
+ return createIterResultObject;
+ }
- function requireEs_regexp_toString () {
- if (hasRequiredEs_regexp_toString) return es_regexp_toString;
- hasRequiredEs_regexp_toString = 1;
- var PROPER_FUNCTION_NAME = requireFunctionName().PROPER;
- var defineBuiltIn = requireDefineBuiltIn();
- var anObject = requireAnObject();
- var $toString = requireToString();
- var fails = requireFails();
- var getRegExpFlags = requireRegexpGetFlags();
+ var hasRequiredEs_string_iterator;
- var TO_STRING = 'toString';
- var RegExpPrototype = RegExp.prototype;
- var nativeToString = RegExpPrototype[TO_STRING];
+ function requireEs_string_iterator () {
+ if (hasRequiredEs_string_iterator) return es_string_iterator;
+ hasRequiredEs_string_iterator = 1;
+ var charAt = requireStringMultibyte().charAt;
+ var toString = requireToString();
+ var InternalStateModule = requireInternalState();
+ var defineIterator = requireIteratorDefine();
+ var createIterResultObject = requireCreateIterResultObject();
- var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
- // FF44- RegExp#toString has a wrong name
- var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
+ var STRING_ITERATOR = 'String Iterator';
+ var setInternalState = InternalStateModule.set;
+ var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
- // `RegExp.prototype.toString` method
- // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
- if (NOT_GENERIC || INCORRECT_NAME) {
- defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
- var R = anObject(this);
- var pattern = $toString(R.source);
- var flags = $toString(getRegExpFlags(R));
- return '/' + pattern + '/' + flags;
- }, { unsafe: true });
- }
- return es_regexp_toString;
+ // `String.prototype[@@iterator]` method
+ // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
+ defineIterator(String, 'String', function (iterated) {
+ setInternalState(this, {
+ type: STRING_ITERATOR,
+ string: toString(iterated),
+ index: 0
+ });
+ // `%StringIteratorPrototype%.next` method
+ // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
+ }, function next() {
+ var state = getInternalState(this);
+ var string = state.string;
+ var index = state.index;
+ var point;
+ if (index >= string.length) return createIterResultObject(undefined, true);
+ point = charAt(string, index);
+ state.index += point.length;
+ return createIterResultObject(point, false);
+ });
+ return es_string_iterator;
}
- requireEs_regexp_toString();
+ requireEs_string_iterator();
- var es_string_includes = {};
+ /**
+ * Bootstrap Table DOM Manipulation Utility Library
+ * Provides jQuery-style DOM manipulation APIs using native JavaScript
+ *
+ * Security Notice:
+ * - The `create()` method uses innerHTML to parse HTML strings. Always sanitize user input
+ * before passing it to create() to prevent XSS attacks.
+ * - The `html()` method sets innerHTML directly. Use the `text()` method for user-provided content.
+ * - The `attr()` method allows setting arbitrary attributes including event handlers.
+ * Avoid setting event handler attributes (onclick, onerror, etc.) with user-controlled data.
+ */
+ var DOMHelper = /*#__PURE__*/function () {
+ function DOMHelper() {
+ _classCallCheck(this, DOMHelper);
+ }
+ return _createClass(DOMHelper, null, [{
+ key: "$",
+ value:
+ /**
+ * Element selector
+ * @param {string|Element} selector - CSS selector or DOM element
+ * @param {Element} context - Search context, defaults to document
+ * @returns {Element|null} First matched element
+ */
+ function $(selector) {
+ var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
+ if (typeof selector === 'string') {
+ return context.querySelector(selector);
+ }
+ if (selector instanceof Element) {
+ return selector;
+ }
+ return null;
+ }
- var notARegexp;
- var hasRequiredNotARegexp;
+ /**
+ * Element selector (multiple)
+ * @param {string|Element|NodeList} selector - CSS selector, DOM element, or NodeList
+ * @param {Element} context - Search context, defaults to document
+ * @returns {Element[]} Array of all matched elements. Note: if selector is an Element, returns [Element]
+ */
+ }, {
+ key: "$$",
+ value: function $$(selector) {
+ var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
+ if (typeof selector === 'string') {
+ return Array.from(context.querySelectorAll(selector));
+ }
+ if (selector instanceof NodeList) {
+ return Array.from(selector);
+ }
+ if (selector instanceof Element) {
+ return [selector];
+ }
+ return [];
+ }
- function requireNotARegexp () {
- if (hasRequiredNotARegexp) return notARegexp;
- hasRequiredNotARegexp = 1;
- var isRegExp = requireIsRegexp();
+ /**
+ * Create DOM element
+ * @param {string} html - HTML string. Note: This method uses innerHTML and can execute scripts.
+ * Always sanitize user input before passing it to this method.
+ * @returns {Element|null} Created DOM element. Returns null if html is empty, not a string,
+ * or contains only whitespace.
+ */
+ }, {
+ key: "create",
+ value: function create(html) {
+ if (typeof html !== 'string') return null;
+ var trimmed = html.trim();
+ if (!trimmed) return null;
+ var template = document.createElement('template');
+ template.innerHTML = trimmed;
+ return template.content.firstChild;
+ }
+
+ /**
+ * Add CSS class
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} className - Class name to add (space-separated for multiple classes)
+ * @returns {Element|null} The element itself
+ */
+ }, {
+ key: "addClass",
+ value: function addClass(element, className) {
+ var _element$classList;
+ if (typeof element === 'string') element = this.$(element);
+ if (!element || !element.classList) return element;
+ if (!className) return element;
+ var classes = className.split(' ').filter(function (c) {
+ return c;
+ });
+ (_element$classList = element.classList).add.apply(_element$classList, _toConsumableArray(classes));
+ return element;
+ }
- var $TypeError = TypeError;
+ /**
+ * Remove CSS class
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} className - Class name to remove (space-separated for multiple classes)
+ * @returns {Element|null} The element itself
+ */
+ }, {
+ key: "removeClass",
+ value: function removeClass(element, className) {
+ var _element$classList2;
+ if (typeof element === 'string') element = this.$(element);
+ if (!element || !element.classList) return element;
+ if (!className) return element;
+ var classes = className.split(' ').filter(function (c) {
+ return c;
+ });
+ (_element$classList2 = element.classList).remove.apply(_element$classList2, _toConsumableArray(classes));
+ return element;
+ }
- notARegexp = function (it) {
- if (isRegExp(it)) {
- throw new $TypeError("The method doesn't accept regular expressions");
- } return it;
- };
- return notARegexp;
+ /**
+ * Toggle CSS class
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} className - Class name to toggle (space-separated for multiple classes)
+ * @returns {Element|null} The element itself
+ */
+ }, {
+ key: "toggleClass",
+ value: function toggleClass(element, className) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element || !element.classList) return element;
+ if (!className) return element;
+ var classes = className.split(' ').filter(function (c) {
+ return c;
+ });
+ classes.forEach(function (cls) {
+ return element.classList.toggle(cls);
+ });
+ return element;
+ }
+
+ /**
+ * Check if element has CSS class
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} className - Class name to check
+ * @returns {boolean} Whether the class exists
+ */
+ }, {
+ key: "hasClass",
+ value: function hasClass(element, className) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element || !element.classList) return false;
+ if (!className) return false;
+ return element.classList.contains(className);
+ }
+
+ /**
+ * Get or set attribute
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} name - Attribute name. Warning: Avoid setting event handler attributes
+ * (onclick, onerror, etc.) with user-controlled data to prevent XSS.
+ * @param {string} [value] - Attribute value (omit to get)
+ * @returns {Element|null} Element when setting, or string|null when getting attribute
+ */
+ }, {
+ key: "attr",
+ value: function attr(element, name, value) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return value === undefined ? null : element;
+ if (value === undefined) {
+ return element.getAttribute(name);
+ }
+ element.setAttribute(name, value);
+ return element;
+ }
+
+ /**
+ * Remove attribute
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} name - Attribute name
+ * @returns {Element|null} The element itself
+ */
+ }, {
+ key: "removeAttr",
+ value: function removeAttr(element, name) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return element;
+ element.removeAttribute(name);
+ return element;
+ }
+
+ /**
+ * Get or set data attribute
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} key - Data key name
+ * @param {string} [value] - Data value (omit to get)
+ * @returns {(string|undefined) when getting (value omitted); (Element|null|undefined) when setting (value provided)}
+ * Returns the data attribute value (string or undefined) when getting, or the element (or null/undefined if not found) when setting.
+ */
+ }, {
+ key: "data",
+ value: function data(element, key, value) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return value === undefined ? undefined : element;
+ if (value === undefined) {
+ return element.dataset[key];
+ }
+ element.dataset[key] = value;
+ return element;
+ }
+
+ /**
+ * Append child element
+ * @param {Element|string} parent - Parent element or selector
+ * @param {Element|string} child - Child element or HTML string
+ * @returns {Element|null} Parent element
+ */
+ }, {
+ key: "append",
+ value: function append(parent, child) {
+ if (typeof parent === 'string') parent = this.$(parent);
+ if (typeof child === 'string') child = this.create(child);
+ if (parent && child) {
+ parent.appendChild(child);
+ }
+ return parent;
+ }
+
+ /**
+ * Prepend child element
+ * @param {Element|string} parent - Parent element or selector
+ * @param {Element|string} child - Child element or HTML string
+ * @returns {Element|null} Parent element
+ */
+ }, {
+ key: "prepend",
+ value: function prepend(parent, child) {
+ if (typeof parent === 'string') parent = this.$(parent);
+ if (typeof child === 'string') child = this.create(child);
+ if (parent && child) {
+ parent.insertBefore(child, parent.firstChild);
+ }
+ return parent;
+ }
+
+ /**
+ * Insert element after target
+ * @param {Element|string} newElement - Element to insert
+ * @param {Element|string} targetElement - Target element
+ * @returns {Element|null} Inserted element
+ */
+ }, {
+ key: "insertAfter",
+ value: function insertAfter(newElement, targetElement) {
+ if (typeof targetElement === 'string') targetElement = this.$(targetElement);
+ if (typeof newElement === 'string') newElement = this.create(newElement);
+ if (targetElement && newElement && targetElement.parentNode) {
+ targetElement.parentNode.insertBefore(newElement, targetElement.nextSibling);
+ }
+ return newElement;
+ }
+
+ /**
+ * Insert element before target
+ * @param {Element|string} newElement - Element to insert
+ * @param {Element|string} targetElement - Target element
+ * @returns {Element|null} Inserted element
+ */
+ }, {
+ key: "insertBefore",
+ value: function insertBefore(newElement, targetElement) {
+ if (typeof targetElement === 'string') targetElement = this.$(targetElement);
+ if (typeof newElement === 'string') newElement = this.create(newElement);
+ if (targetElement && newElement && targetElement.parentNode) {
+ targetElement.parentNode.insertBefore(newElement, targetElement);
+ }
+ return newElement;
+ }
+
+ /**
+ * Find child elements
+ * @param {Element|string} element - Parent element or selector
+ * @param {string} selector - CSS selector
+ * @returns {Element[]} Array of matched child elements
+ */
+ }, {
+ key: "find",
+ value: function find(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return [];
+ return Array.from(element.querySelectorAll(selector));
+ }
+
+ /**
+ * Find first matching child element
+ * @param {Element|string} element - Parent element or selector
+ * @param {string} selector - CSS selector
+ * @returns {Element|null} First matched child element
+ */
+ }, {
+ key: "findFirst",
+ value: function findFirst(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return null;
+ return element.querySelector(selector);
+ }
+
+ /**
+ * Get or set style
+ * @param {Element|string} element - DOM element or selector
+ * @param {string|Object} property - Property name or property object
+ * @param {string} [value] - Style value (when property is string)
+ * @returns {Element|string|null} Element when setting, style value when getting
+ */
+ }, {
+ key: "css",
+ value: function css(element, property, value) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) {
+ return null;
+ }
+ if (_typeof(property) === 'object') {
+ // Batch set styles
+ Object.assign(element.style, property);
+ return element;
+ }
+ if (value === undefined) {
+ // Get style
+ return getComputedStyle(element)[property];
+ }
+ // Set style
+ element.style[property] = value;
+ return element;
+ }
+
+ /**
+ * Get element width
+ * @param {Element|string} element - DOM element or selector
+ * @returns {number} Element width
+ */
+ }, {
+ key: "width",
+ value: function width(element) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return 0;
+ return element.offsetWidth;
+ }
+
+ /**
+ * Get element height
+ * @param {Element|string} element - DOM element or selector
+ * @returns {number} Element height
+ */
+ }, {
+ key: "height",
+ value: function height(element) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return 0;
+ return element.offsetHeight;
+ }
+
+ /**
+ * Get element outer width (including border, optionally including margin)
+ * @param {Element|string} element - DOM element or selector
+ * @param {boolean} [includeMargin=false] - Whether to include margin
+ * @returns {number} Element outer width
+ */
+ }, {
+ key: "outerWidth",
+ value: function outerWidth(element) {
+ var includeMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return 0;
+ var width = element.offsetWidth;
+ if (includeMargin) {
+ var style = getComputedStyle(element);
+ var marginLeft = parseInt(style.marginLeft, 10) || 0;
+ var marginRight = parseInt(style.marginRight, 10) || 0;
+ width += marginLeft + marginRight;
+ }
+ return width;
+ }
+
+ /**
+ * Get element outer height (including border, optionally including margin)
+ * @param {Element|string} element - DOM element or selector
+ * @param {boolean} [includeMargin=false] - Whether to include margin
+ * @returns {number} Element outer height
+ */
+ }, {
+ key: "outerHeight",
+ value: function outerHeight(element) {
+ var includeMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return 0;
+ var height = element.offsetHeight;
+ if (includeMargin) {
+ var style = getComputedStyle(element);
+ var marginTop = parseInt(style.marginTop, 10) || 0;
+ var marginBottom = parseInt(style.marginBottom, 10) || 0;
+ height += marginTop + marginBottom;
+ }
+ return height;
+ }
+
+ /**
+ * Get or set element value
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [value] - Value (omit to get)
+ * @returns {Element|string|null} Element when setting, current value when getting
+ */
+ }, {
+ key: "val",
+ value: function val(element, value) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return value === undefined ? null : element;
+ if (value === undefined) {
+ return element.value;
+ }
+ element.value = value;
+ return element;
+ }
+
+ /**
+ * Get or set HTML content
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [content] - HTML content (omit to get). Warning: This method uses innerHTML
+ * and can execute scripts. Use text() for user-provided content.
+ * @returns {Element|string|null} Element when setting, HTML content when getting
+ */
+ }, {
+ key: "html",
+ value: function html(element, content) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return content === undefined ? null : element;
+ if (content === undefined) {
+ return element.innerHTML;
+ }
+ element.innerHTML = content;
+ return element;
+ }
+
+ /**
+ * Get or set text content
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [content] - Text content (omit to get)
+ * @returns {Element|string|null} Element when setting, text content when getting
+ */
+ }, {
+ key: "text",
+ value: function text(element, content) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return content === undefined ? null : element;
+ if (content === undefined) {
+ return element.textContent;
+ }
+ element.textContent = content;
+ return element;
+ }
+
+ /**
+ * Remove element
+ * @param {Element|string} element - DOM element or selector
+ * @returns {Element|null} Removed element
+ */
+ }, {
+ key: "remove",
+ value: function remove(element) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element || !element.parentNode) return element;
+ element.parentNode.removeChild(element);
+ return element;
+ }
+
+ /**
+ * Empty element content
+ * @param {Element|string} element - DOM element or selector
+ * @returns {Element|null} Emptied element
+ */
+ }, {
+ key: "empty",
+ value: function empty(element) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return element;
+ element.innerHTML = '';
+ return element;
+ }
+
+ /**
+ * Iterate over element collection
+ * @param {Element[]|NodeList|string} elements - Element collection or selector
+ * @param {Function} callback - Callback function with params (index, element)
+ * @returns {Element[]} Element collection
+ */
+ }, {
+ key: "each",
+ value: function each(elements, callback) {
+ if (typeof elements === 'string') {
+ elements = this.$$(elements);
+ } else if (elements instanceof NodeList) {
+ elements = Array.from(elements);
+ } else if (!Array.isArray(elements)) {
+ elements = [elements];
+ }
+ elements.forEach(function (element, index) {
+ callback.call(element, index, element);
+ });
+ return elements;
+ }
+
+ /**
+ * Get parent element
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [selector] - Parent element selector (optional)
+ * @returns {Element|null} Parent element
+ */
+ }, {
+ key: "parent",
+ value: function parent(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return null;
+ var parent = element.parentElement;
+ if (selector) {
+ while (parent && !parent.matches(selector)) {
+ parent = parent.parentElement;
+ }
+ }
+ return parent;
+ }
+
+ /**
+ * Get child elements
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [selector] - Child element selector (optional)
+ * @returns {Element[]} Array of child elements
+ */
+ }, {
+ key: "children",
+ value: function children(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return [];
+ var children = Array.from(element.children);
+ if (selector) {
+ children = children.filter(function (child) {
+ return child.matches(selector);
+ });
+ }
+ return children;
+ }
+
+ /**
+ * Get next sibling element
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [selector] - Sibling element selector (optional)
+ * @returns {Element|null} Next sibling element
+ */
+ }, {
+ key: "next",
+ value: function next(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return null;
+ var next = element.nextElementSibling;
+ if (selector) {
+ while (next && !next.matches(selector)) {
+ next = next.nextElementSibling;
+ }
+ }
+ return next;
+ }
+
+ /**
+ * Get previous sibling element
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} [selector] - Sibling element selector (optional)
+ * @returns {Element|null} Previous sibling element
+ */
+ }, {
+ key: "prev",
+ value: function prev(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return null;
+ var prev = element.previousElementSibling;
+ if (selector) {
+ while (prev && !prev.matches(selector)) {
+ prev = prev.previousElementSibling;
+ }
+ }
+ return prev;
+ }
+
+ /**
+ * Get element position relative to document
+ * @param {Element|string} element - DOM element or selector
+ * @returns {Object} Position info {top, left, width, height}
+ */
+ }, {
+ key: "offset",
+ value: function offset(element) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return {
+ top: 0,
+ left: 0,
+ width: 0,
+ height: 0
+ };
+ var rect = element.getBoundingClientRect();
+ return {
+ top: rect.top + window.scrollY,
+ left: rect.left + window.scrollX,
+ width: rect.width,
+ height: rect.height
+ };
+ }
+
+ /**
+ * Get element position relative to parent
+ * @param {Element|string} element - DOM element or selector
+ * @returns {Object} Position info {top, left}
+ */
+ }, {
+ key: "position",
+ value: function position(element) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return {
+ top: 0,
+ left: 0
+ };
+ return {
+ top: element.offsetTop,
+ left: element.offsetLeft
+ };
+ }
+
+ /**
+ * Check if element matches selector
+ * @param {Element|string} element - DOM element or selector
+ * @param {string} selector - CSS selector
+ * @returns {boolean} Whether it matches
+ */
+ }, {
+ key: "is",
+ value: function is(element, selector) {
+ if (typeof element === 'string') element = this.$(element);
+ if (!element) return false;
+ return element.matches(selector);
+ }
+ }]);
+ }(); // Export DOMHelper class
+
+ /**
+ * Framework detection and icon utilities.
+ *
+ * This module provides utility functions for detecting the Bootstrap framework version
+ * and managing icon prefixes and mappings for different CSS frameworks.
+ *
+ * @module utils/framework
+ */
+
+ /**
+ * Returns the prefix for the icons based on the theme.
+ *
+ * @param {string} theme - The theme name (bootstrap3, bootstrap4, bootstrap5, bootstrap-table, bulma, foundation, materialize, semantic).
+ * @returns {string} The icons prefix.
+ */
+ function getIconsPrefix(theme) {
+ return {
+ bootstrap3: 'glyphicon',
+ bootstrap4: 'fa',
+ bootstrap5: 'bi',
+ 'bootstrap-table': 'icon',
+ bulma: 'fa',
+ foundation: 'fa',
+ materialize: 'material-icons',
+ semantic: 'fa'
+ }[theme] || 'fa';
}
- var correctIsRegexpLogic;
- var hasRequiredCorrectIsRegexpLogic;
+ /**
+ * Gets the icons for a given prefix.
+ *
+ * @param {Object.<string, Object>} icons - The icons object.
+ * @param {string} prefix - The prefix. For example, 'fa', 'bi', etc.
+ * @return {Object} The icons object for the given prefix.
+ */
+ function getIcons(icons, prefix) {
+ return icons[prefix] || {};
+ }
- function requireCorrectIsRegexpLogic () {
- if (hasRequiredCorrectIsRegexpLogic) return correctIsRegexpLogic;
- hasRequiredCorrectIsRegexpLogic = 1;
- var wellKnownSymbol = requireWellKnownSymbol();
+ /**
+ * Assigns new icons to icons object.
+ *
+ * @param {Object.<string, Object>} icons - The icons object.
+ * @param {string} icon - The icon name. For example, 'search', 'refresh', etc.
+ * @param {Object.<string, string>} values - The values object.
+ */
+ function assignIcons(icons, icon, values) {
+ for (var _i = 0, _Object$keys = Object.keys(icons); _i < _Object$keys.length; _i++) {
+ var key = _Object$keys[_i];
+ icons[key][icon] = values[key];
+ }
+ }
- var MATCH = wellKnownSymbol('match');
+ /**
+ * Gets the Bootstrap version.
+ *
+ * @returns {number|undefined} The Bootstrap version number (3, 4, or 5), or undefined for non-Bootstrap themes.
+ */
+ function getBootstrapVersion() {
+ var _$$fn, _window$bootstrap, _$$fn2;
+ // Check if using a non-Bootstrap theme
+ if (typeof $ !== 'undefined' && (_$$fn = $.fn) !== null && _$$fn !== void 0 && (_$$fn = _$$fn.bootstrapTable) !== null && _$$fn !== void 0 && _$$fn.theme) {
+ var theme = $.fn.bootstrapTable.theme;
+ if (!theme.startsWith('bootstrap')) {
+ return;
+ }
+ }
+ var bootstrapVersion = 5;
+ if (typeof window !== 'undefined' && (_window$bootstrap = window.bootstrap) !== null && _window$bootstrap !== void 0 && (_window$bootstrap = _window$bootstrap.Tooltip) !== null && _window$bootstrap !== void 0 && _window$bootstrap.VERSION) {
+ bootstrapVersion = parseInt(window.bootstrap.Tooltip.VERSION, 10);
+ } else if (typeof $ !== 'undefined' && (_$$fn2 = $.fn) !== null && _$$fn2 !== void 0 && (_$$fn2 = _$$fn2.dropdown) !== null && _$$fn2 !== void 0 && (_$$fn2 = _$$fn2.Constructor) !== null && _$$fn2 !== void 0 && _$$fn2.VERSION) {
+ bootstrapVersion = parseInt($.fn.dropdown.Constructor.VERSION, 10);
+ }
+ return bootstrapVersion;
+ }
- correctIsRegexpLogic = function (METHOD_NAME) {
- var regexp = /./;
- try {
- '/./'[METHOD_NAME](regexp);
- } catch (error1) {
- try {
- regexp[MATCH] = false;
- return '/./'[METHOD_NAME](regexp);
- } catch (error2) { /* empty */ }
- } return false;
- };
- return correctIsRegexpLogic;
+ /**
+ * Gets the search input element.
+ *
+ * @param {Object} that - The Bootstrap Table instance.
+ * @returns {HTMLElement|null} The search input element, or null if not found.
+ */
+ function getSearchInput(that) {
+ if (typeof that.options.searchSelector === 'string') {
+ return DOMHelper.$(that.options.searchSelector);
+ }
+ var toolbar = that.$toolbar ? that.$toolbar[0] : null;
+ if (!toolbar) {
+ return null;
+ }
+ var result = DOMHelper.find(toolbar, '.search input');
+ return result.length > 0 ? result[0] : null;
}
- var hasRequiredEs_string_includes;
+ var framework = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ assignIcons: assignIcons,
+ getBootstrapVersion: getBootstrapVersion,
+ getIcons: getIcons,
+ getIconsPrefix: getIconsPrefix,
+ getSearchInput: getSearchInput
+ });
- function requireEs_string_includes () {
- if (hasRequiredEs_string_includes) return es_string_includes;
- hasRequiredEs_string_includes = 1;
+ var es_object_getPrototypeOf = {};
+
+ var hasRequiredEs_object_getPrototypeOf;
+
+ function requireEs_object_getPrototypeOf () {
+ if (hasRequiredEs_object_getPrototypeOf) return es_object_getPrototypeOf;
+ hasRequiredEs_object_getPrototypeOf = 1;
var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var notARegExp = requireNotARegexp();
- var requireObjectCoercible = requireRequireObjectCoercible();
- var toString = requireToString();
- var correctIsRegExpLogic = requireCorrectIsRegexpLogic();
+ var fails = requireFails();
+ var toObject = requireToObject();
+ var nativeGetPrototypeOf = requireObjectGetPrototypeOf();
+ var CORRECT_PROTOTYPE_GETTER = requireCorrectPrototypeGetter();
- var stringIndexOf = uncurryThis(''.indexOf);
+ var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
- // `String.prototype.includes` method
- // https://tc39.es/ecma262/#sec-string.prototype.includes
- $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
- includes: function includes(searchString /* , position = 0 */) {
- return !!~stringIndexOf(
- toString(requireObjectCoercible(this)),
- toString(notARegExp(searchString)),
- arguments.length > 1 ? arguments[1] : undefined
- );
+ // `Object.getPrototypeOf` method
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
+ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
+ getPrototypeOf: function getPrototypeOf(it) {
+ return nativeGetPrototypeOf(toObject(it));
}
});
- return es_string_includes;
+ return es_object_getPrototypeOf;
}
- requireEs_string_includes();
+ requireEs_object_getPrototypeOf();
- var es_string_replace = {};
+ /**
+ * Object manipulation utilities.
+ *
+ * This module provides utility functions for working with plain JavaScript objects,
+ * including deep copying, merging, comparing, and checking object properties.
+ *
+ * @module utils/object
+ */
- var functionApply;
- var hasRequiredFunctionApply;
+ /**
+ * Checks if a value is a plain object.
+ *
+ * @param {*} obj - The value to check.
+ * @returns {boolean} True if the value is a plain object, false otherwise.
+ */
+ function isObject(obj) {
+ if (_typeof(obj) !== 'object' || obj === null) {
+ return false;
+ }
+ var proto = obj;
+ while (Object.getPrototypeOf(proto) !== null) {
+ proto = Object.getPrototypeOf(proto);
+ }
+ return Object.getPrototypeOf(obj) === proto;
+ }
- function requireFunctionApply () {
- if (hasRequiredFunctionApply) return functionApply;
- hasRequiredFunctionApply = 1;
- var NATIVE_BIND = requireFunctionBindNative();
+ // $.extend: https://github.com/jquery/jquery/blob/3.6.2/src/core.js#L132
+ /**
+ * Merges the contents of two or more objects together into the first object.
+ * This is a re-implementation of jQuery's extend function.
+ *
+ * @param {boolean} [deep=false] - If true, the merge becomes recursive (deep copy).
+ * @param {Object} target - The object to extend.
+ * @param {...Object} objects - The objects to merge into the target.
+ * @returns {Object} The extended target object.
+ */
+ function extend() {
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+ var target = args[0] || {};
+ var i = 1;
+ var deep = false;
+ var clone;
+
+ // Handle a deep copy situation
+ if (typeof target === 'boolean') {
+ deep = target;
+
+ // Skip the boolean and the target
+ target = args[i] || {};
+ i++;
+ }
- var FunctionPrototype = Function.prototype;
- var apply = FunctionPrototype.apply;
- var call = FunctionPrototype.call;
+ // Handle case when target is a string or something (possible in deep copy)
+ if (_typeof(target) !== 'object' && typeof target !== 'function') {
+ target = {};
+ }
+ for (; i < args.length; i++) {
+ var options = args[i];
- // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
- functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
- return call.apply(apply, arguments);
- });
- return functionApply;
- }
+ // Ignore undefined/null values
+ if (typeof options === 'undefined' || options === null) {
+ continue;
+ }
- var fixRegexpWellKnownSymbolLogic;
- var hasRequiredFixRegexpWellKnownSymbolLogic;
+ // Extend the base object
+ // eslint-disable-next-line guard-for-in
+ for (var name in options) {
+ var copy = options[name];
- function requireFixRegexpWellKnownSymbolLogic () {
- if (hasRequiredFixRegexpWellKnownSymbolLogic) return fixRegexpWellKnownSymbolLogic;
- hasRequiredFixRegexpWellKnownSymbolLogic = 1;
- // TODO: Remove from `core-js@4` since it's moved to entry points
- requireEs_regexp_exec();
- var call = requireFunctionCall();
- var defineBuiltIn = requireDefineBuiltIn();
- var regexpExec = requireRegexpExec();
- var fails = requireFails();
- var wellKnownSymbol = requireWellKnownSymbol();
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ // Prevent Object.prototype pollution
+ // Prevent never-ending loop
+ if (name === '__proto__' || target === copy) {
+ continue;
+ }
+ var copyIsArray = Array.isArray(copy);
- var SPECIES = wellKnownSymbol('species');
- var RegExpPrototype = RegExp.prototype;
+ // Recurse if we're merging plain objects or arrays
+ if (deep && copy && (isObject(copy) || copyIsArray)) {
+ var src = target[name];
+ if (copyIsArray && Array.isArray(src)) {
+ if (src.every(function (it) {
+ return !isObject(it) && !Array.isArray(it);
+ })) {
+ target[name] = copy;
+ continue;
+ }
+ }
+ if (copyIsArray && !Array.isArray(src)) {
+ clone = [];
+ } else if (!copyIsArray && !isObject(src)) {
+ clone = {};
+ } else {
+ clone = src;
+ }
- fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
- var SYMBOL = wellKnownSymbol(KEY);
+ // Never move original objects, clone them
+ target[name] = extend(deep, clone, copy);
- var DELEGATES_TO_SYMBOL = !fails(function () {
- // String methods call symbol-named RegExp methods
- var O = {};
- O[SYMBOL] = function () { return 7; };
- return ''[KEY](O) !== 7;
- });
+ // Don't bring in undefined values
+ } else if (copy !== undefined) {
+ target[name] = copy;
+ }
+ }
+ }
+ return target;
+ }
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
- // Symbol-named RegExp methods call .exec
- var execCalled = false;
- var re = /a/;
+ /**
+ * Creates a deep copy of a value.
+ *
+ * @param {*} arg - The value to deep copy.
+ * @returns {*} A deep copy of the input value.
+ */
+ function deepCopy(arg) {
+ if (arg === undefined) {
+ return arg;
+ }
+ return extend(true, Array.isArray(arg) ? [] : {}, arg);
+ }
- if (KEY === 'split') {
- // We can't use real regex here since it causes deoptimization
- // and serious performance degradation in V8
- // https://github.com/zloirock/core-js/issues/306
- re = {};
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
- // a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- re.flags = '';
- re[SYMBOL] = /./[SYMBOL];
- }
+ /**
+ * Compares two objects for equality.
+ *
+ * @param {Object} objectA - The first object to compare.
+ * @param {Object} objectB - The second object to compare.
+ * @param {boolean} [compareLength=false] - If true, also compare the number of keys.
+ * @returns {boolean} True if the objects are equal, false otherwise.
+ */
+ function compareObjects(objectA, objectB, compareLength) {
+ var aKeys = Object.keys(objectA);
+ var bKeys = Object.keys(objectB);
+ if (compareLength && aKeys.length !== bKeys.length) {
+ return false;
+ }
+ for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) {
+ var key = _aKeys[_i];
+ if (bKeys.includes(key) && objectA[key] !== objectB[key]) {
+ return false;
+ }
+ }
+ return true;
+ }
- re.exec = function () {
- execCalled = true;
- return null;
- };
+ /**
+ * Checks if an object is empty (has no own properties).
+ *
+ * @param {Object} [obj={}] - The object to check.
+ * @returns {boolean} True if the object is empty, false otherwise.
+ */
+ function isEmptyObject() {
+ var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+ return Object.entries(obj).length === 0 && obj.constructor === Object;
+ }
+
+ var object = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ compareObjects: compareObjects,
+ deepCopy: deepCopy,
+ extend: extend,
+ isEmptyObject: isEmptyObject,
+ isObject: isObject
+ });
- re[SYMBOL]('');
- return !execCalled;
- });
+ var es_regexp_constructor = {};
- if (
- !DELEGATES_TO_SYMBOL ||
- !DELEGATES_TO_EXEC ||
- FORCED
- ) {
- var nativeRegExpMethod = /./[SYMBOL];
- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
- var $exec = regexp.exec;
- if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
- // The native String method already delegates to @@method (this
- // polyfilled function), leasing to infinite recursion.
- // We avoid it by directly calling the native @@method method.
- return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };
- }
- return { done: true, value: call(nativeMethod, str, regexp, arg2) };
- }
- return { done: false };
- });
+ var inheritIfRequired;
+ var hasRequiredInheritIfRequired;
- defineBuiltIn(String.prototype, KEY, methods[0]);
- defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
- }
+ function requireInheritIfRequired () {
+ if (hasRequiredInheritIfRequired) return inheritIfRequired;
+ hasRequiredInheritIfRequired = 1;
+ var isCallable = requireIsCallable();
+ var isObject = requireIsObject();
+ var setPrototypeOf = requireObjectSetPrototypeOf();
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
+ // makes subclassing work correct for wrapped built-ins
+ inheritIfRequired = function ($this, dummy, Wrapper) {
+ var NewTarget, NewTargetPrototype;
+ if (
+ // it can work only with native `setPrototypeOf`
+ setPrototypeOf &&
+ // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
+ isCallable(NewTarget = dummy.constructor) &&
+ NewTarget !== Wrapper &&
+ isObject(NewTargetPrototype = NewTarget.prototype) &&
+ NewTargetPrototype !== Wrapper.prototype
+ ) setPrototypeOf($this, NewTargetPrototype);
+ return $this;
};
- return fixRegexpWellKnownSymbolLogic;
+ return inheritIfRequired;
}
- var stringMultibyte;
- var hasRequiredStringMultibyte;
-
- function requireStringMultibyte () {
- if (hasRequiredStringMultibyte) return stringMultibyte;
- hasRequiredStringMultibyte = 1;
- var uncurryThis = requireFunctionUncurryThis();
- var toIntegerOrInfinity = requireToIntegerOrInfinity();
- var toString = requireToString();
- var requireObjectCoercible = requireRequireObjectCoercible();
+ var proxyAccessor;
+ var hasRequiredProxyAccessor;
- var charAt = uncurryThis(''.charAt);
- var charCodeAt = uncurryThis(''.charCodeAt);
- var stringSlice = uncurryThis(''.slice);
+ function requireProxyAccessor () {
+ if (hasRequiredProxyAccessor) return proxyAccessor;
+ hasRequiredProxyAccessor = 1;
+ var defineProperty = requireObjectDefineProperty().f;
- var createMethod = function (CONVERT_TO_STRING) {
- return function ($this, pos) {
- var S = toString(requireObjectCoercible($this));
- var position = toIntegerOrInfinity(pos);
- var size = S.length;
- var first, second;
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
- first = charCodeAt(S, position);
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
- || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
- ? CONVERT_TO_STRING
- ? charAt(S, position)
- : first
- : CONVERT_TO_STRING
- ? stringSlice(S, position, position + 2)
- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
- };
+ proxyAccessor = function (Target, Source, key) {
+ key in Target || defineProperty(Target, key, {
+ configurable: true,
+ get: function () { return Source[key]; },
+ set: function (it) { Source[key] = it; }
+ });
};
+ return proxyAccessor;
+ }
- stringMultibyte = {
- // `String.prototype.codePointAt` method
- // https://tc39.es/ecma262/#sec-string.prototype.codepointat
- codeAt: createMethod(false),
- // `String.prototype.at` method
- // https://github.com/mathiasbynens/String.prototype.at
- charAt: createMethod(true)
+ var defineBuiltInAccessor;
+ var hasRequiredDefineBuiltInAccessor;
+
+ function requireDefineBuiltInAccessor () {
+ if (hasRequiredDefineBuiltInAccessor) return defineBuiltInAccessor;
+ hasRequiredDefineBuiltInAccessor = 1;
+ var makeBuiltIn = requireMakeBuiltIn();
+ var defineProperty = requireObjectDefineProperty();
+
+ defineBuiltInAccessor = function (target, name, descriptor) {
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
+ return defineProperty.f(target, name, descriptor);
};
- return stringMultibyte;
+ return defineBuiltInAccessor;
}
- var advanceStringIndex;
- var hasRequiredAdvanceStringIndex;
+ var setSpecies;
+ var hasRequiredSetSpecies;
- function requireAdvanceStringIndex () {
- if (hasRequiredAdvanceStringIndex) return advanceStringIndex;
- hasRequiredAdvanceStringIndex = 1;
- var charAt = requireStringMultibyte().charAt;
+ function requireSetSpecies () {
+ if (hasRequiredSetSpecies) return setSpecies;
+ hasRequiredSetSpecies = 1;
+ var getBuiltIn = requireGetBuiltIn();
+ var defineBuiltInAccessor = requireDefineBuiltInAccessor();
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var DESCRIPTORS = requireDescriptors();
- // `AdvanceStringIndex` abstract operation
- // https://tc39.es/ecma262/#sec-advancestringindex
- advanceStringIndex = function (S, index, unicode) {
- return index + (unicode ? charAt(S, index).length : 1);
+ var SPECIES = wellKnownSymbol('species');
+
+ setSpecies = function (CONSTRUCTOR_NAME) {
+ var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
+
+ if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
+ defineBuiltInAccessor(Constructor, SPECIES, {
+ configurable: true,
+ get: function () { return this; }
+ });
+ }
};
- return advanceStringIndex;
+ return setSpecies;
}
- var getSubstitution;
- var hasRequiredGetSubstitution;
+ var hasRequiredEs_regexp_constructor;
- function requireGetSubstitution () {
- if (hasRequiredGetSubstitution) return getSubstitution;
- hasRequiredGetSubstitution = 1;
+ function requireEs_regexp_constructor () {
+ if (hasRequiredEs_regexp_constructor) return es_regexp_constructor;
+ hasRequiredEs_regexp_constructor = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var globalThis = requireGlobalThis();
var uncurryThis = requireFunctionUncurryThis();
- var toObject = requireToObject();
+ var isForced = requireIsForced();
+ var inheritIfRequired = requireInheritIfRequired();
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ var create = requireObjectCreate();
+ var getOwnPropertyNames = requireObjectGetOwnPropertyNames().f;
+ var isPrototypeOf = requireObjectIsPrototypeOf();
+ var isRegExp = requireIsRegexp();
+ var toString = requireToString();
+ var getRegExpFlags = requireRegexpGetFlags();
+ var stickyHelpers = requireRegexpStickyHelpers();
+ var proxyAccessor = requireProxyAccessor();
+ var defineBuiltIn = requireDefineBuiltIn();
+ var fails = requireFails();
+ var hasOwn = requireHasOwnProperty();
+ var enforceInternalState = requireInternalState().enforce;
+ var setSpecies = requireSetSpecies();
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var UNSUPPORTED_DOT_ALL = requireRegexpUnsupportedDotAll();
+ var UNSUPPORTED_NCG = requireRegexpUnsupportedNcg();
- var floor = Math.floor;
+ var MATCH = wellKnownSymbol('match');
+ var NativeRegExp = globalThis.RegExp;
+ var RegExpPrototype = NativeRegExp.prototype;
+ var SyntaxError = globalThis.SyntaxError;
+ var exec = uncurryThis(RegExpPrototype.exec);
var charAt = uncurryThis(''.charAt);
var replace = uncurryThis(''.replace);
+ var stringIndexOf = uncurryThis(''.indexOf);
var stringSlice = uncurryThis(''.slice);
- // eslint-disable-next-line redos/no-vulnerable -- safe
- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
+ // TODO: Use only proper RegExpIdentifierName
+ var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
+ var re1 = /a/g;
+ var re2 = /a/g;
- // `GetSubstitution` abstract operation
- // https://tc39.es/ecma262/#sec-getsubstitution
+ // "new" should create a new object, old webkit bug
+ var CORRECT_NEW = new NativeRegExp(re1) !== re1;
+
+ var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
+ var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
+
+ var BASE_FORCED = DESCRIPTORS &&
+ (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
+ re2[MATCH] = false;
+ // RegExp constructor can alter flags and IsRegExp works correct with @@match
+ // eslint-disable-next-line sonarjs/inconsistent-function-call -- required for testing
+ return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
+ }));
+
+ var handleDotAll = function (string) {
+ var length = string.length;
+ var index = 0;
+ var result = '';
+ var brackets = false;
+ var chr;
+ for (; index < length; index++) {
+ chr = charAt(string, index);
+ if (chr === '\\') {
+ result += chr + charAt(string, ++index);
+ continue;
+ }
+ if (!brackets && chr === '.') {
+ result += '[\\s\\S]';
+ } else {
+ if (chr === '[') {
+ brackets = true;
+ } else if (chr === ']') {
+ brackets = false;
+ } result += chr;
+ }
+ } return result;
+ };
+
+ var handleNCG = function (string) {
+ var length = string.length;
+ var index = 0;
+ var result = '';
+ var named = [];
+ var names = create(null);
+ var brackets = false;
+ var ncg = false;
+ var groupid = 0;
+ var groupname = '';
+ var chr;
+ for (; index < length; index++) {
+ chr = charAt(string, index);
+ if (chr === '\\') {
+ chr += charAt(string, ++index);
+ // use `\x5c` for escaped backslash to avoid corruption by `\k<name>` to `\N` replacement below
+ if (!ncg && charAt(chr, 1) === '\\') {
+ result += '\\x5c';
+ continue;
+ }
+ } else if (chr === ']') {
+ brackets = false;
+ } else if (!brackets) switch (true) {
+ case chr === '[':
+ brackets = true;
+ break;
+ case chr === '(':
+ result += chr;
+ if (exec(IS_NCG, stringSlice(string, index + 1))) {
+ index += 2;
+ ncg = true;
+ groupid++;
+ } else if (charAt(string, index + 1) !== '?') {
+ groupid++;
+ }
+ continue;
+ case chr === '>' && ncg:
+ if (groupname === '' || hasOwn(names, groupname)) {
+ throw new SyntaxError('Invalid capture group name');
+ }
+ names[groupname] = true;
+ named[named.length] = [groupname, groupid];
+ ncg = false;
+ groupname = '';
+ continue;
+ }
+ if (ncg) groupname += chr;
+ else result += chr;
+ }
+ // convert `\k<name>` backreferences to numbered backreferences
+ for (var ni = 0; ni < named.length; ni++) {
+ var backref = '\\k<' + named[ni][0] + '>';
+ var numRef = '\\' + named[ni][1];
+ while (stringIndexOf(result, backref) > -1) {
+ result = replace(result, backref, numRef);
+ }
+ } return [result, named];
+ };
+
+ // `RegExp` constructor
+ // https://tc39.es/ecma262/#sec-regexp-constructor
+ if (isForced('RegExp', BASE_FORCED)) {
+ var RegExpWrapper = function RegExp(pattern, flags) {
+ var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
+ var patternIsRegExp = isRegExp(pattern);
+ var flagsAreUndefined = flags === undefined;
+ var groups = [];
+ var rawPattern = pattern;
+ var rawFlags, dotAll, sticky, handled, result, state;
+
+ if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
+ return pattern;
+ }
+
+ if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
+ pattern = pattern.source;
+ if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
+ }
+
+ pattern = pattern === undefined ? '' : toString(pattern);
+ flags = flags === undefined ? '' : toString(flags);
+ rawPattern = pattern;
+
+ if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
+ dotAll = !!flags && stringIndexOf(flags, 's') > -1;
+ if (dotAll) flags = replace(flags, /s/g, '');
+ }
+
+ rawFlags = flags;
+
+ if (MISSED_STICKY && 'sticky' in re1) {
+ sticky = !!flags && stringIndexOf(flags, 'y') > -1;
+ if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
+ }
+
+ if (UNSUPPORTED_NCG) {
+ handled = handleNCG(pattern);
+ pattern = handled[0];
+ groups = handled[1];
+ }
+
+ result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
+
+ if (dotAll || sticky || groups.length) {
+ state = enforceInternalState(result);
+ if (dotAll) {
+ state.dotAll = true;
+ state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
+ }
+ if (sticky) state.sticky = true;
+ if (groups.length) state.groups = groups;
+ }
+
+ if (pattern !== rawPattern) try {
+ // fails in old engines, but we have no alternatives for unsupported regex syntax
+ createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
+ } catch (error) { /* empty */ }
+
+ return result;
+ };
+
+ for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
+ proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
+ }
+
+ RegExpPrototype.constructor = RegExpWrapper;
+ RegExpWrapper.prototype = RegExpPrototype;
+ defineBuiltIn(globalThis, 'RegExp', RegExpWrapper, { constructor: true });
+ }
+
+ // https://tc39.es/ecma262/#sec-get-regexp-@@species
+ setSpecies('RegExp');
+ return es_regexp_constructor;
+ }
+
+ requireEs_regexp_constructor();
+
+ var es_regexp_toString = {};
+
+ var hasRequiredEs_regexp_toString;
+
+ function requireEs_regexp_toString () {
+ if (hasRequiredEs_regexp_toString) return es_regexp_toString;
+ hasRequiredEs_regexp_toString = 1;
+ var PROPER_FUNCTION_NAME = requireFunctionName().PROPER;
+ var defineBuiltIn = requireDefineBuiltIn();
+ var anObject = requireAnObject();
+ var $toString = requireToString();
+ var fails = requireFails();
+ var getRegExpFlags = requireRegexpGetFlags();
+
+ var TO_STRING = 'toString';
+ var RegExpPrototype = RegExp.prototype;
+ var nativeToString = RegExpPrototype[TO_STRING];
+
+ var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
+ // FF44- RegExp#toString has a wrong name
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
+
+ // `RegExp.prototype.toString` method
+ // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
+ if (NOT_GENERIC || INCORRECT_NAME) {
+ defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
+ var R = anObject(this);
+ var pattern = $toString(R.source);
+ var flags = $toString(getRegExpFlags(R));
+ return '/' + pattern + '/' + flags;
+ }, { unsafe: true });
+ }
+ return es_regexp_toString;
+ }
+
+ requireEs_regexp_toString();
+
+ var es_string_replace = {};
+
+ var functionApply;
+ var hasRequiredFunctionApply;
+
+ function requireFunctionApply () {
+ if (hasRequiredFunctionApply) return functionApply;
+ hasRequiredFunctionApply = 1;
+ var NATIVE_BIND = requireFunctionBindNative();
+
+ var FunctionPrototype = Function.prototype;
+ var apply = FunctionPrototype.apply;
+ var call = FunctionPrototype.call;
+
+ // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
+ functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
+ return call.apply(apply, arguments);
+ });
+ return functionApply;
+ }
+
+ var getSubstitution;
+ var hasRequiredGetSubstitution;
+
+ function requireGetSubstitution () {
+ if (hasRequiredGetSubstitution) return getSubstitution;
+ hasRequiredGetSubstitution = 1;
+ var uncurryThis = requireFunctionUncurryThis();
+ var toObject = requireToObject();
+
+ var floor = Math.floor;
+ var charAt = uncurryThis(''.charAt);
+ var replace = uncurryThis(''.replace);
+ var stringSlice = uncurryThis(''.slice);
+ // eslint-disable-next-line redos/no-vulnerable -- safe
+ var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
+ var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
+
+ // `GetSubstitution` abstract operation
+ // https://tc39.es/ecma262/#sec-getsubstitution
getSubstitution = function (matched, str, position, captures, namedCaptures, replacement) {
var tailPos = position + matched.length;
var m = captures.length;
@@ -5381,35 +6154,6 @@
return getSubstitution;
}
- var regexpExecAbstract;
- var hasRequiredRegexpExecAbstract;
-
- function requireRegexpExecAbstract () {
- if (hasRequiredRegexpExecAbstract) return regexpExecAbstract;
- hasRequiredRegexpExecAbstract = 1;
- var call = requireFunctionCall();
- var anObject = requireAnObject();
- var isCallable = requireIsCallable();
- var classof = requireClassofRaw();
- var regexpExec = requireRegexpExec();
-
- var $TypeError = TypeError;
-
- // `RegExpExec` abstract operation
- // https://tc39.es/ecma262/#sec-regexpexec
- regexpExecAbstract = function (R, S) {
- var exec = R.exec;
- if (isCallable(exec)) {
- var result = call(exec, R, S);
- if (result !== null) anObject(result);
- return result;
- }
- if (classof(R) === 'RegExp') return call(regexpExec, R, S);
- throw new $TypeError('RegExp#exec called on incompatible receiver');
- };
- return regexpExecAbstract;
- }
-
var hasRequiredEs_string_replace;
function requireEs_string_replace () {
@@ -5492,23 +6236,24 @@
var rx = anObject(this);
var S = toString(string);
+ var functionalReplace = isCallable(replaceValue);
+ if (!functionalReplace) replaceValue = toString(replaceValue);
+ var flags = toString(getRegExpFlags(rx));
+
if (
typeof replaceValue == 'string' &&
- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
- stringIndexOf(replaceValue, '$<') === -1
+ !~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
+ !~stringIndexOf(replaceValue, '$<') &&
+ !~stringIndexOf(flags, 'y')
) {
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
if (res.done) return res.value;
}
- var functionalReplace = isCallable(replaceValue);
- if (!functionalReplace) replaceValue = toString(replaceValue);
-
- var flags = toString(getRegExpFlags(rx));
- var global = stringIndexOf(flags, 'g') !== -1;
+ var global = !!~stringIndexOf(flags, 'g');
var fullUnicode;
if (global) {
- fullUnicode = stringIndexOf(flags, 'u') !== -1;
+ fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
rx.lastIndex = 0;
}
@@ -5563,470 +6308,591 @@
requireEs_string_replace();
- var es_string_search = {};
+ /**
+ * String manipulation utilities.
+ *
+ * This module provides utility functions for string processing, including:
+ * - String formatting (sprintf)
+ * - HTML escaping and unescaping
+ * - Accent character normalization for search
+ * - HTML tag removal
+ * - CSS style string normalization
+ *
+ * @module utils/string
+ */
- var sameValue;
- var hasRequiredSameValue;
+ /**
+ * Mapping of accented characters to their non-accented equivalents.
+ * Used by normalizeAccent function to convert accented characters.
+ *
+ * @constant {Object.<string, string>}
+ */
+ var ACCENT_MAP = {
+ // Nordic
+ Æ: 'AE',
+ æ: 'ae',
+ Ø: 'O',
+ ø: 'o',
+ Å: 'A',
+ å: 'a',
+ // German
+ Ä: 'A',
+ ä: 'a',
+ Ö: 'O',
+ ö: 'o',
+ Ü: 'U',
+ ü: 'u',
+ ẞ: 'SS',
+ ß: 'ss',
+ // French & others
+ Œ: 'OE',
+ œ: 'oe',
+ // Slavic/Central European
+ Č: 'C',
+ č: 'c',
+ Ć: 'C',
+ ć: 'c',
+ Š: 'S',
+ š: 's',
+ Ž: 'Z',
+ ž: 'z',
+ Ł: 'L',
+ ł: 'l',
+ Đ: 'Dj',
+ đ: 'dj',
+ Ń: 'N',
+ ń: 'n',
+ Ę: 'E',
+ ę: 'e',
+ Ą: 'A',
+ ą: 'a',
+ Ŕ: 'R',
+ ŕ: 'r',
+ // Turkish
+ Ğ: 'G',
+ ğ: 'g',
+ İ: 'I',
+ ı: 'i',
+ Ş: 'S',
+ ş: 's',
+ // Romanian
+ Ă: 'A',
+ ă: 'a',
+ Â: 'A',
+ â: 'a',
+ Î: 'I',
+ î: 'i',
+ Ș: 'S',
+ ș: 's',
+ Ț: 'T',
+ ț: 't',
+ // Greek
+ Α: 'A',
+ Ά: 'A',
+ α: 'a',
+ ά: 'a',
+ Β: 'V',
+ β: 'v',
+ Γ: 'G',
+ γ: 'g',
+ Δ: 'D',
+ δ: 'd',
+ Ε: 'E',
+ Έ: 'E',
+ ε: 'e',
+ έ: 'e',
+ Ζ: 'Z',
+ ζ: 'z',
+ Η: 'I',
+ Ή: 'I',
+ η: 'i',
+ ή: 'i',
+ Ι: 'I',
+ Ί: 'I',
+ ι: 'i',
+ ί: 'i',
+ Κ: 'K',
+ κ: 'k',
+ Λ: 'L',
+ λ: 'l',
+ Μ: 'M',
+ μ: 'm',
+ Ν: 'N',
+ ν: 'n',
+ Ξ: 'X',
+ ξ: 'x',
+ Ο: 'O',
+ Ό: 'O',
+ ο: 'o',
+ ό: 'o',
+ Π: 'P',
+ π: 'p',
+ Ρ: 'R',
+ ρ: 'r',
+ Σ: 'S',
+ σ: 's',
+ ς: 's',
+ Τ: 'T',
+ τ: 't',
+ Υ: 'Y',
+ Ύ: 'Y',
+ υ: 'y',
+ ύ: 'y',
+ Φ: 'F',
+ φ: 'f',
+ Χ: 'CH',
+ χ: 'ch',
+ Ψ: 'PS',
+ ψ: 'ps',
+ Ω: 'O',
+ Ώ: 'O',
+ ω: 'o',
+ ώ: 'o'
+ };
- function requireSameValue () {
- if (hasRequiredSameValue) return sameValue;
- hasRequiredSameValue = 1;
- // `SameValue` abstract operation
- // https://tc39.es/ecma262/#sec-samevalue
- // eslint-disable-next-line es/no-object-is -- safe
- sameValue = Object.is || function is(x, y) {
- // eslint-disable-next-line no-self-compare -- NaN check
- return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
- };
- return sameValue;
+ /**
+ * Simple string formatter that replaces %s placeholders with provided arguments.
+ * Only supports %s placeholder. Returns empty string if any argument is undefined.
+ *
+ * @param {string} _str - The format string containing %s placeholders.
+ * @param {...*} args - The values to replace the placeholders with.
+ * @returns {string} The formatted string, or empty string if any argument is undefined.
+ */
+ function sprintf(_str) {
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ args[_key - 1] = arguments[_key];
+ }
+ var flag = true;
+ var i = 0;
+ var str = _str.replace(/%s/g, function () {
+ var arg = args[i++];
+ if (typeof arg === 'undefined') {
+ flag = false;
+ return '';
+ }
+ return arg;
+ });
+ return flag ? str : '';
}
- var hasRequiredEs_string_search;
+ /**
+ * Escapes apostrophes in a string by replacing them with HTML entity.
+ *
+ * @param {*} value - The value to escape.
+ * @returns {string} The string with apostrophes escaped.
+ */
+ function escapeApostrophe(value) {
+ return value.toString().replace(/'/g, '&#39;');
+ }
- function requireEs_string_search () {
- if (hasRequiredEs_string_search) return es_string_search;
- hasRequiredEs_string_search = 1;
- var call = requireFunctionCall();
- var fixRegExpWellKnownSymbolLogic = requireFixRegexpWellKnownSymbolLogic();
- var anObject = requireAnObject();
- var isObject = requireIsObject();
- var requireObjectCoercible = requireRequireObjectCoercible();
- var sameValue = requireSameValue();
- var toString = requireToString();
- var getMethod = requireGetMethod();
- var regExpExec = requireRegexpExecAbstract();
+ /**
+ * Escapes HTML special characters in a string.
+ *
+ * @param {*} text - The text to escape.
+ * @returns {*} The escaped text, or the original value if falsy.
+ */
+ function escapeHTML(text) {
+ if (!text) {
+ return text;
+ }
+ return text.toString().replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#39;');
+ }
- // @@search logic
- fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
- return [
- // `String.prototype.search` method
- // https://tc39.es/ecma262/#sec-string.prototype.search
- function search(regexp) {
- var O = requireObjectCoercible(this);
- var searcher = isObject(regexp) ? getMethod(regexp, SEARCH) : undefined;
- return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
- },
- // `RegExp.prototype[@@search]` method
- // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
- function (string) {
- var rx = anObject(this);
- var S = toString(string);
- var res = maybeCallNative(nativeSearch, rx, S);
+ /**
+ * Escapes HTML attribute value to prevent XSS attacks.
+ * The order of replacements is important for attributes: & must be first,
+ * then " and ' to prevent breaking out of the attribute.
+ *
+ * @param {*} text - The attribute value to escape.
+ * @returns {*} The escaped text, or the original value if falsy.
+ */
+ function escapeAttr(text) {
+ if (!text) {
+ return text;
+ }
+ return text.toString().replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/'/g, '&#39;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
+ }
- if (res.done) return res.value;
+ /**
+ * Unescapes HTML entities in a string.
+ *
+ * @param {*} text - The text to unescape.
+ * @returns {*} The unescaped text, or the original value if not a string or falsy.
+ */
+ function unescapeHTML(text) {
+ if (typeof text !== 'string' || !text) {
+ return text;
+ }
+ return text.toString().replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&quot;/g, '"').replace(/&#39;/g, '\'').replace(/&amp;/g, '&');
+ }
- var previousLastIndex = rx.lastIndex;
- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
- var result = regExpExec(rx, S);
- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
- return result === null ? -1 : result.index;
- }
- ];
- });
- return es_string_search;
+ /**
+ * Removes HTML tags and HTML entities from a string.
+ *
+ * @param {*} text - The text to remove HTML from.
+ * @returns {*} The text with HTML removed, or the original value if falsy.
+ */
+ function removeHTML(text) {
+ if (!text) {
+ return text;
+ }
+ return text.toString().replace(/(<([^>]+)>)/ig, '').replace(/&[#A-Za-z0-9]+;/gi, '').trim();
}
- requireEs_string_search();
+ /**
+ * Normalizes accented characters in a string to their non-accented equivalents.
+ * Converts to lowercase and removes diacritical marks.
+ *
+ * @param {*} value - The value to normalize.
+ * @returns {*} The normalized string, or the original value if not a string.
+ */
+ function normalizeAccent(value) {
+ if (typeof value !== 'string') {
+ return value;
+ }
+ var pattern = new RegExp("[".concat(Object.keys(ACCENT_MAP).join(''), "]"), 'g');
+ return value.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(pattern, function (char) {
+ return ACCENT_MAP[char];
+ }).toLowerCase().trim();
+ }
- var es_string_split = {};
+ /**
+ * Normalizes a CSS style string by ensuring it ends with '; ' for proper concatenation.
+ * Returns undefined if the input is empty or contains only whitespace.
+ *
+ * @param {string|undefined} style - The style string to normalize.
+ * @returns {string|undefined} The normalized style string ending with '; ', or undefined.
+ * @example
+ * normalizeStyle('color: red') // returns 'color: red; '
+ * normalizeStyle('color: red;') // returns 'color: red; '
+ * normalizeStyle('') // returns undefined
+ * normalizeStyle(undefined) // returns undefined
+ */
+ function normalizeStyle(style) {
+ if (!style) {
+ return undefined;
+ }
+ var trimmed = style.trim();
+ if (!trimmed) {
+ return undefined;
+ }
+ return trimmed.replace(/;?\s*$/, '; ');
+ }
+
+ var string = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ escapeApostrophe: escapeApostrophe,
+ escapeAttr: escapeAttr,
+ escapeHTML: escapeHTML,
+ normalizeAccent: normalizeAccent,
+ normalizeStyle: normalizeStyle,
+ removeHTML: removeHTML,
+ sprintf: sprintf,
+ unescapeHTML: unescapeHTML
+ });
- var aConstructor;
- var hasRequiredAConstructor;
+ var es_array_indexOf = {};
- function requireAConstructor () {
- if (hasRequiredAConstructor) return aConstructor;
- hasRequiredAConstructor = 1;
- var isConstructor = requireIsConstructor();
- var tryToString = requireTryToString();
+ var hasRequiredEs_array_indexOf;
- var $TypeError = TypeError;
+ function requireEs_array_indexOf () {
+ if (hasRequiredEs_array_indexOf) return es_array_indexOf;
+ hasRequiredEs_array_indexOf = 1;
+ /* eslint-disable es/no-array-prototype-indexof -- required for testing */
+ var $ = require_export();
+ var uncurryThis = requireFunctionUncurryThisClause();
+ var $indexOf = requireArrayIncludes().indexOf;
+ var arrayMethodIsStrict = requireArrayMethodIsStrict();
- // `Assert: IsConstructor(argument) is true`
- aConstructor = function (argument) {
- if (isConstructor(argument)) return argument;
- throw new $TypeError(tryToString(argument) + ' is not a constructor');
- };
- return aConstructor;
- }
+ var nativeIndexOf = uncurryThis([].indexOf);
- var speciesConstructor;
- var hasRequiredSpeciesConstructor;
+ var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
+ var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
- function requireSpeciesConstructor () {
- if (hasRequiredSpeciesConstructor) return speciesConstructor;
- hasRequiredSpeciesConstructor = 1;
- var anObject = requireAnObject();
- var aConstructor = requireAConstructor();
- var isNullOrUndefined = requireIsNullOrUndefined();
- var wellKnownSymbol = requireWellKnownSymbol();
+ // `Array.prototype.indexOf` method
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
+ $({ target: 'Array', proto: true, forced: FORCED }, {
+ indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
+ var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
+ return NEGATIVE_ZERO
+ // convert -0 to +0
+ ? nativeIndexOf(this, searchElement, fromIndex) || 0
+ : $indexOf(this, searchElement, fromIndex);
+ }
+ });
+ return es_array_indexOf;
+ }
- var SPECIES = wellKnownSymbol('species');
+ requireEs_array_indexOf();
- // `SpeciesConstructor` abstract operation
- // https://tc39.es/ecma262/#sec-speciesconstructor
- speciesConstructor = function (O, defaultConstructor) {
- var C = anObject(O).constructor;
- var S;
- return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
- };
- return speciesConstructor;
- }
+ var es_array_map = {};
- var hasRequiredEs_string_split;
+ var hasRequiredEs_array_map;
- function requireEs_string_split () {
- if (hasRequiredEs_string_split) return es_string_split;
- hasRequiredEs_string_split = 1;
- var call = requireFunctionCall();
- var uncurryThis = requireFunctionUncurryThis();
- var fixRegExpWellKnownSymbolLogic = requireFixRegexpWellKnownSymbolLogic();
- var anObject = requireAnObject();
- var isObject = requireIsObject();
- var requireObjectCoercible = requireRequireObjectCoercible();
- var speciesConstructor = requireSpeciesConstructor();
- var advanceStringIndex = requireAdvanceStringIndex();
- var toLength = requireToLength();
- var toString = requireToString();
- var getMethod = requireGetMethod();
- var regExpExec = requireRegexpExecAbstract();
- var stickyHelpers = requireRegexpStickyHelpers();
- var fails = requireFails();
+ function requireEs_array_map () {
+ if (hasRequiredEs_array_map) return es_array_map;
+ hasRequiredEs_array_map = 1;
+ var $ = require_export();
+ var $map = requireArrayIteration().map;
+ var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
- var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
- var MAX_UINT32 = 0xFFFFFFFF;
- var min = Math.min;
- var push = uncurryThis([].push);
- var stringSlice = uncurryThis(''.slice);
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
- var re = /(?:)/;
- var originalExec = re.exec;
- re.exec = function () { return originalExec.apply(this, arguments); };
- var result = 'ab'.split(re);
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
+ // `Array.prototype.map` method
+ // https://tc39.es/ecma262/#sec-array.prototype.map
+ // with adding support of @@species
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ map: function map(callbackfn /* , thisArg */) {
+ return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+ }
});
+ return es_array_map;
+ }
- var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
- 'test'.split(/(?:)/, -1).length !== 4 ||
- 'ab'.split(/(?:ab)*/).length !== 2 ||
- '.'.split(/(.?)(.?)/).length !== 4 ||
- // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
- '.'.split(/()()/).length > 1 ||
- ''.split(/.?/).length;
+ requireEs_array_map();
- // @@split logic
- fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
- var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
- return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
- } : nativeSplit;
+ /**
+ * DOM manipulation utility functions.
+ *
+ * This module provides helper functions for DOM manipulation using native JavaScript,
+ * including scrollbar width calculation, class name conversion, style parsing,
+ * h() function for element creation, and HTML-to-DOM conversion.
+ *
+ * Note: For a full jQuery-like DOM manipulation library, see src/helpers/dom.js
+ *
+ * @module utils/dom
+ */
- return [
- // `String.prototype.split` method
- // https://tc39.es/ecma262/#sec-string.prototype.split
- function split(separator, limit) {
- var O = requireObjectCoercible(this);
- var splitter = isObject(separator) ? getMethod(separator, SPLIT) : undefined;
- return splitter
- ? call(splitter, separator, O, limit)
- : call(internalSplit, toString(O), separator, limit);
- },
- // `RegExp.prototype[@@split]` method
- // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
- //
- // NOTE: This cannot be properly polyfilled in engines that don't support
- // the 'y' flag.
- function (string, limit) {
- var rx = anObject(this);
- var S = toString(string);
-
- if (!BUGGY) {
- var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
- if (res.done) return res.value;
- }
-
- var C = speciesConstructor(rx, RegExp);
- var unicodeMatching = rx.unicode;
- var flags = (rx.ignoreCase ? 'i' : '') +
- (rx.multiline ? 'm' : '') +
- (rx.unicode ? 'u' : '') +
- (UNSUPPORTED_Y ? 'g' : 'y');
- // ^(? + rx + ) is needed, in combination with some S slicing, to
- // simulate the 'y' flag.
- var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
- var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
- if (lim === 0) return [];
- if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
- var p = 0;
- var q = 0;
- var A = [];
- while (q < S.length) {
- splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
- var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
- var e;
- if (
- z === null ||
- (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
- ) {
- q = advanceStringIndex(S, q, unicodeMatching);
- } else {
- push(A, stringSlice(S, p, q));
- if (A.length === lim) return A;
- for (var i = 1; i <= z.length - 1; i++) {
- push(A, z[i]);
- if (A.length === lim) return A;
- }
- q = p = e;
- }
- }
- push(A, stringSlice(S, p));
- return A;
- }
- ];
- }, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
- return es_string_split;
- }
-
- requireEs_string_split();
-
- var es_string_trim = {};
-
- var stringTrimForced;
- var hasRequiredStringTrimForced;
-
- function requireStringTrimForced () {
- if (hasRequiredStringTrimForced) return stringTrimForced;
- hasRequiredStringTrimForced = 1;
- var PROPER_FUNCTION_NAME = requireFunctionName().PROPER;
- var fails = requireFails();
- var whitespaces = requireWhitespaces();
-
- var non = '\u200B\u0085\u180E';
-
- // check that a method works with the correct list
- // of whitespaces and has a correct name
- stringTrimForced = function (METHOD_NAME) {
- return fails(function () {
- return !!whitespaces[METHOD_NAME]()
- || non[METHOD_NAME]() !== non
- || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
- });
- };
- return stringTrimForced;
- }
-
- var hasRequiredEs_string_trim;
-
- function requireEs_string_trim () {
- if (hasRequiredEs_string_trim) return es_string_trim;
- hasRequiredEs_string_trim = 1;
- var $ = require_export();
- var $trim = requireStringTrim().trim;
- var forcedStringTrimMethod = requireStringTrimForced();
-
- // `String.prototype.trim` method
- // https://tc39.es/ecma262/#sec-string.prototype.trim
- $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
- trim: function trim() {
- return $trim(this);
- }
- });
- return es_string_trim;
- }
-
- requireEs_string_trim();
-
- var web_domCollections_forEach = {};
-
- var domIterables;
- var hasRequiredDomIterables;
-
- function requireDomIterables () {
- if (hasRequiredDomIterables) return domIterables;
- hasRequiredDomIterables = 1;
- // iterable DOM collections
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
- domIterables = {
- CSSRuleList: 0,
- CSSStyleDeclaration: 0,
- CSSValueList: 0,
- ClientRectList: 0,
- DOMRectList: 0,
- DOMStringList: 0,
- DOMTokenList: 1,
- DataTransferItemList: 0,
- FileList: 0,
- HTMLAllCollection: 0,
- HTMLCollection: 0,
- HTMLFormElement: 0,
- HTMLSelectElement: 0,
- MediaList: 0,
- MimeTypeArray: 0,
- NamedNodeMap: 0,
- NodeList: 1,
- PaintRequestList: 0,
- Plugin: 0,
- PluginArray: 0,
- SVGLengthList: 0,
- SVGNumberList: 0,
- SVGPathSegList: 0,
- SVGPointList: 0,
- SVGStringList: 0,
- SVGTransformList: 0,
- SourceBufferList: 0,
- StyleSheetList: 0,
- TextTrackCueList: 0,
- TextTrackList: 0,
- TouchList: 0
- };
- return domIterables;
- }
-
- var domTokenListPrototype;
- var hasRequiredDomTokenListPrototype;
-
- function requireDomTokenListPrototype () {
- if (hasRequiredDomTokenListPrototype) return domTokenListPrototype;
- hasRequiredDomTokenListPrototype = 1;
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
- var documentCreateElement = requireDocumentCreateElement();
-
- var classList = documentCreateElement('span').classList;
- var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
+ var cachedWidth;
- domTokenListPrototype = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
- return domTokenListPrototype;
+ /**
+ * Gets the width of the browser scrollbar.
+ * The result is cached after the first call for performance.
+ *
+ * @returns {number} The width of the scrollbar in pixels.
+ */
+ function getScrollBarWidth() {
+ if (cachedWidth === undefined) {
+ var inner = DOMHelper.create('<div class="fixed-table-scroll-inner"></div>');
+ var outer = DOMHelper.create('<div class="fixed-table-scroll-outer"></div>');
+ DOMHelper.append(outer, inner);
+ DOMHelper.append(document.body, outer);
+ var w1 = inner.offsetWidth;
+ DOMHelper.css(outer, 'overflow', 'scroll');
+ var w2 = inner.offsetWidth;
+ if (w1 === w2) {
+ w2 = outer.clientWidth;
+ }
+ DOMHelper.remove(outer);
+ cachedWidth = w1 - w2;
+ }
+ return cachedWidth;
}
- var arrayForEach;
- var hasRequiredArrayForEach;
-
- function requireArrayForEach () {
- if (hasRequiredArrayForEach) return arrayForEach;
- hasRequiredArrayForEach = 1;
- var $forEach = requireArrayIteration().forEach;
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
-
- var STRICT_METHOD = arrayMethodIsStrict('forEach');
-
- // `Array.prototype.forEach` method implementation
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
- arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
- } : [].forEach;
- return arrayForEach;
+ /**
+ * Converts a class specification to a string.
+ * Handles string, array, and object formats.
+ *
+ * @param {string|Array|Object.<string, boolean>} class_ - The class specification.
+ * @returns {string} The class names as a space-separated string.
+ */
+ function classToString(class_) {
+ if (typeof class_ === 'string') {
+ return class_;
+ }
+ if (Array.isArray(class_)) {
+ return class_.map(function (x) {
+ return classToString(x);
+ }).filter(function (x) {
+ return x;
+ }).join(' ');
+ }
+ if (class_ && _typeof(class_) === 'object') {
+ return Object.entries(class_).map(function (_ref) {
+ var _ref2 = _slicedToArray(_ref, 2),
+ k = _ref2[0],
+ v = _ref2[1];
+ return v ? k : '';
+ }).filter(function (x) {
+ return x;
+ }).join(' ');
+ }
+ return '';
}
- var hasRequiredWeb_domCollections_forEach;
-
- function requireWeb_domCollections_forEach () {
- if (hasRequiredWeb_domCollections_forEach) return web_domCollections_forEach;
- hasRequiredWeb_domCollections_forEach = 1;
- var globalThis = requireGlobalThis();
- var DOMIterables = requireDomIterables();
- var DOMTokenListPrototype = requireDomTokenListPrototype();
- var forEach = requireArrayForEach();
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
-
- var handlePrototype = function (CollectionPrototype) {
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
- } catch (error) {
- CollectionPrototype.forEach = forEach;
- }
- };
-
- for (var COLLECTION_NAME in DOMIterables) {
- if (DOMIterables[COLLECTION_NAME]) {
- handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);
- }
- }
+ /**
+ * Parses and applies CSS styles to a DOM element.
+ * Supports string, array, and object formats. Handles !important priority.
+ *
+ * @param {HTMLElement} dom - The DOM element to apply styles to.
+ * @param {string|Array|Object.<string, string>} style - The style(s) to apply.
+ * @returns {HTMLElement} The DOM element with styles applied.
+ */
+ function parseStyle(dom, style) {
+ if (!style) {
+ return dom;
+ }
- handlePrototype(DOMTokenListPrototype);
- return web_domCollections_forEach;
+ // Helper function to handle !important priority
+ var IMPORTANT_PRIORITY_REGEX = /\s*!important\s*$/i;
+ var parsePriority = function parsePriority(value) {
+ if (typeof value === 'string' && IMPORTANT_PRIORITY_REGEX.test(value)) {
+ return {
+ value: value.replace(IMPORTANT_PRIORITY_REGEX, ''),
+ priority: 'important'
+ };
+ }
+ return {
+ value: value,
+ priority: ''
+ };
+ };
+ if (typeof style === 'string') {
+ style.split(';').forEach(function (i) {
+ var index = i.indexOf(':');
+ if (index > 0) {
+ var k = i.substring(0, index).trim();
+ var v = i.substring(index + 1).trim();
+ var _parsePriority = parsePriority(v),
+ value = _parsePriority.value,
+ priority = _parsePriority.priority;
+ dom.style.setProperty(k, value, priority);
+ }
+ });
+ } else if (Array.isArray(style)) {
+ var _iterator = _createForOfIteratorHelper(style),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ parseStyle(dom, item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ } else if (_typeof(style) === 'object') {
+ for (var _i = 0, _Object$entries = Object.entries(style); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ k = _Object$entries$_i[0],
+ v = _Object$entries$_i[1];
+ var _parsePriority2 = parsePriority(v),
+ value = _parsePriority2.value,
+ priority = _parsePriority2.priority;
+ dom.style.setProperty(k, value, priority);
+ }
+ }
+ return dom;
}
- requireWeb_domCollections_forEach();
-
- var web_domCollections_iterator = {};
-
- var hasRequiredWeb_domCollections_iterator;
-
- function requireWeb_domCollections_iterator () {
- if (hasRequiredWeb_domCollections_iterator) return web_domCollections_iterator;
- hasRequiredWeb_domCollections_iterator = 1;
- var globalThis = requireGlobalThis();
- var DOMIterables = requireDomIterables();
- var DOMTokenListPrototype = requireDomTokenListPrototype();
- var ArrayIteratorMethods = requireEs_array_iterator();
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
- var setToStringTag = requireSetToStringTag();
- var wellKnownSymbol = requireWellKnownSymbol();
-
- var ITERATOR = wellKnownSymbol('iterator');
- var ArrayValues = ArrayIteratorMethods.values;
-
- var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
- if (CollectionPrototype) {
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
- } catch (error) {
- CollectionPrototype[ITERATOR] = ArrayValues;
- }
- setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
- } catch (error) {
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
- }
- }
- }
- };
-
- for (var COLLECTION_NAME in DOMIterables) {
- handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);
- }
-
- handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
- return web_domCollections_iterator;
+ /**
+ * Creates a DOM element with attributes and children.
+ * This function provides a shorthand syntax for creating DOM elements.
+ *
+ * @param {string|HTMLElement} element - The tag name or existing element.
+ * @param {Object.<string, *>} [attrs={}] - The attributes to set on the element.
+ * @param {Array.<HTMLElement|string>} [children=[]] - The children to append.
+ * @returns {HTMLElement} The created or modified element.
+ */
+ function h(element, attrs, children) {
+ var el = element instanceof HTMLElement ? element : document.createElement(element);
+ var _attrs = attrs || {};
+ var _children = children || [];
+
+ // default attributes
+ if (el.tagName === 'A') {
+ el.href = 'javascript:';
+ }
+ for (var _i2 = 0, _Object$entries2 = Object.entries(_attrs); _i2 < _Object$entries2.length; _i2++) {
+ var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),
+ k = _Object$entries2$_i[0],
+ v = _Object$entries2$_i[1];
+ if (v === undefined) {
+ continue;
+ }
+ if (['text', 'innerText'].includes(k)) {
+ el.innerText = v;
+ } else if (['html', 'innerHTML'].includes(k)) {
+ el.innerHTML = v;
+ } else if (k === 'children') {
+ _children.push.apply(_children, _toConsumableArray(v));
+ } else if (k === 'class') {
+ el.setAttribute('class', classToString(v));
+ } else if (k === 'style') {
+ if (typeof v === 'string') {
+ el.setAttribute('style', v);
+ } else {
+ parseStyle(el, v);
+ }
+ } else if (k.startsWith('@') || k.startsWith('on')) {
+ // event handlers
+ var event = k.startsWith('@') ? k.substring(1) : k.substring(2).toLowerCase();
+ var args = Array.isArray(v) ? v : [v];
+ el.addEventListener.apply(el, [event].concat(_toConsumableArray(args)));
+ } else if (k.startsWith('.')) {
+ // set property
+ el[k.substring(1)] = v;
+ } else {
+ el.setAttribute(k, v);
+ }
+ }
+ if (_children.length) {
+ el.append.apply(el, _toConsumableArray(_children));
+ }
+ return el;
}
- requireWeb_domCollections_iterator();
-
- var es_object_getPrototypeOf = {};
-
- var hasRequiredEs_object_getPrototypeOf;
-
- function requireEs_object_getPrototypeOf () {
- if (hasRequiredEs_object_getPrototypeOf) return es_object_getPrototypeOf;
- hasRequiredEs_object_getPrototypeOf = 1;
- var $ = require_export();
- var fails = requireFails();
- var toObject = requireToObject();
- var nativeGetPrototypeOf = requireObjectGetPrototypeOf();
- var CORRECT_PROTOTYPE_GETTER = requireCorrectPrototypeGetter();
-
- var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
-
- // `Object.getPrototypeOf` method
- // https://tc39.es/ecma262/#sec-object.getprototypeof
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
- getPrototypeOf: function getPrototypeOf(it) {
- return nativeGetPrototypeOf(toObject(it));
- }
- });
- return es_object_getPrototypeOf;
+ /**
+ * Checks if a value is a DOM node or a jQuery-like object.
+ * Uses duck typing to detect jQuery objects without direct dependency.
+ *
+ * Note: Strings are not considered DOM nodes. Use {@link htmlToNodes} to
+ * convert HTML strings into DOM nodes.
+ *
+ * @param {*} value - The value to check.
+ * @returns {boolean} True if the value is a Node or jQuery-like object.
+ */
+ function isDomNode(value) {
+ if (value instanceof Node) {
+ return true;
+ }
+ // Duck typing for jQuery-like objects (check for 'jquery' property)
+ return Boolean(value && _typeof(value) === 'object' && typeof value.length === 'number' && value.length >= 0 && 'jquery' in value);
}
- requireEs_object_getPrototypeOf();
+ /**
+ * Converts HTML to DOM nodes.
+ * Uses duck typing to detect jQuery objects without direct dependency.
+ *
+ * @param {string|Node|Object} html - The HTML to convert. Can be a string, Node, or jQuery-like object.
+ * @returns {NodeList|Array<Node>} The DOM nodes.
+ */
+ function htmlToNodes(html) {
+ // Duck typing check for jQuery objects (check for 'jquery' property)
+ if (html && _typeof(html) === 'object' && 'jquery' in html) {
+ return Array.from(html);
+ }
+ if (html instanceof Node) {
+ return [html];
+ }
+ if (typeof html !== 'string') {
+ html = new String(html).toString();
+ }
+ var d = document.createElement('div');
+ d.innerHTML = html;
+ return d.childNodes;
+ }
+
+ var dom = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ classToString: classToString,
+ getScrollBarWidth: getScrollBarWidth,
+ h: h,
+ htmlToNodes: htmlToNodes,
+ isDomNode: isDomNode,
+ parseStyle: parseStyle
+ });
var es_string_endsWith = {};
@@ -6061,10 +6927,10 @@
endsWith: function endsWith(searchString /* , endPosition = @length */) {
var that = toString(requireObjectCoercible(this));
notARegExp(searchString);
+ var search = toString(searchString);
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
var len = that.length;
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
- var search = toString(searchString);
return slice(that, end - search.length, end) === search;
}
});
@@ -6073,72 +6939,471 @@
requireEs_string_endsWith();
- var es_string_iterator = {};
+ /**
+ * Table column and data processing utilities.
+ *
+ * This module provides utility functions for working with Bootstrap Table columns and data,
+ * including field indexing, data attribute parsing, and conversion between DOM and data formats.
+ *
+ * @module utils/table-data
+ */
- var hasRequiredEs_string_iterator;
+ /**
+ * Gets the title of a field from a list of column definitions.
+ *
+ * @param {Array.<Object.<string, *>>} list - The list of column definitions.
+ * @param {string} value - The field name to look for.
+ * @returns {string} The title of the field, or empty string if not found.
+ */
+ function getFieldTitle(list, value) {
+ var _iterator = _createForOfIteratorHelper(list),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ if (item.field === value) {
+ return item.title;
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ return '';
+ }
- function requireEs_string_iterator () {
- if (hasRequiredEs_string_iterator) return es_string_iterator;
- hasRequiredEs_string_iterator = 1;
- var charAt = requireStringMultibyte().charAt;
- var toString = requireToString();
- var InternalStateModule = requireInternalState();
- var defineIterator = requireIteratorDefine();
- var createIterResultObject = requireCreateIterResultObject();
+ /**
+ * Sets field indices for columns with colspan/rowspan support.
+ * Modifies the column definitions in place to add fieldIndex and colspanIndex properties.
+ *
+ * @param {Array.<Array.<Object.<string, *>>>} columns - The column definitions array.
+ */
+ function setFieldIndex(columns) {
+ var totalCol = 0;
+ var flag = [];
+ var _iterator2 = _createForOfIteratorHelper(columns[0]),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var column = _step2.value;
+ totalCol += +column.colspan || 1;
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ for (var i = 0; i < columns.length; i++) {
+ flag[i] = [];
+ for (var j = 0; j < totalCol; j++) {
+ flag[i][j] = false;
+ }
+ }
+ for (var _i = 0; _i < columns.length; _i++) {
+ var _iterator3 = _createForOfIteratorHelper(columns[_i]),
+ _step3;
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var r = _step3.value;
+ var rowspan = +r.rowspan || 1;
+ var colspan = +r.colspan || 1;
+ var index = flag[_i].indexOf(false);
+ r.colspanIndex = index;
+ if (colspan === 1) {
+ r.fieldIndex = index;
+ // when field is undefined, use index instead
+ if (typeof r.field === 'undefined') {
+ r.field = index;
+ }
+ } else {
+ r.colspanGroup = +r.colspan;
+ }
+ for (var _j = 0; _j < rowspan; _j++) {
+ for (var k = 0; k < colspan; k++) {
+ flag[_i + _j][index + k] = true;
+ }
+ }
+ }
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
+ }
+ }
+ }
- var STRING_ITERATOR = 'String Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
+ /**
+ * Updates field groups based on column visibility.
+ * Modifies the column definitions in place to update colspan and visible properties.
+ *
+ * @param {Array.<Array.<Object.<string, *>>>} columns - The column definitions array.
+ * @param {Array.<Object.<string, *>>} fieldColumns - The field columns to update.
+ */
+ function updateFieldGroup(columns, fieldColumns) {
+ var _ref;
+ var allColumns = (_ref = []).concat.apply(_ref, _toConsumableArray(columns));
+ var _iterator4 = _createForOfIteratorHelper(columns),
+ _step4;
+ try {
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
+ var c = _step4.value;
+ var _iterator6 = _createForOfIteratorHelper(c),
+ _step6;
+ try {
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
+ var r = _step6.value;
+ if (r.colspanGroup > 1) {
+ var colspan = 0;
+ var _loop = function _loop(i) {
+ var underColumns = allColumns.filter(function (col) {
+ return col.fieldIndex === i;
+ });
+ var column = underColumns[underColumns.length - 1];
+ if (!column) {
+ return 1; // continue
+ }
+ if (underColumns.length > 1) {
+ for (var j = 0; j < underColumns.length - 1; j++) {
+ underColumns[j].visible = column.visible;
+ }
+ }
+ if (column.visible) {
+ colspan++;
+ }
+ };
+ for (var i = r.colspanIndex; i < r.colspanIndex + r.colspanGroup; i++) {
+ if (_loop(i)) continue;
+ }
+ r.colspan = colspan;
+ r.visible = colspan > 0;
+ }
+ }
+ } catch (err) {
+ _iterator6.e(err);
+ } finally {
+ _iterator6.f();
+ }
+ }
+ } catch (err) {
+ _iterator4.e(err);
+ } finally {
+ _iterator4.f();
+ }
+ if (columns.length < 2) {
+ return;
+ }
+ var _iterator5 = _createForOfIteratorHelper(fieldColumns),
+ _step5;
+ try {
+ var _loop2 = function _loop2() {
+ var column = _step5.value;
+ var sameColumns = allColumns.filter(function (col) {
+ return col.fieldIndex === column.fieldIndex;
+ });
+ if (sameColumns.length > 1) {
+ var _iterator7 = _createForOfIteratorHelper(sameColumns),
+ _step7;
+ try {
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
+ var _c = _step7.value;
+ _c.visible = column.visible;
+ }
+ } catch (err) {
+ _iterator7.e(err);
+ } finally {
+ _iterator7.f();
+ }
+ }
+ };
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
+ _loop2();
+ }
+ } catch (err) {
+ _iterator5.e(err);
+ } finally {
+ _iterator5.f();
+ }
+ }
- // `String.prototype[@@iterator]` method
- // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
- defineIterator(String, 'String', function (iterated) {
- setInternalState(this, {
- type: STRING_ITERATOR,
- string: toString(iterated),
- index: 0
- });
- // `%StringIteratorPrototype%.next` method
- // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
- }, function next() {
- var state = getInternalState(this);
- var string = state.string;
- var index = state.index;
- var point;
- if (index >= string.length) return createIterResultObject(undefined, true);
- point = charAt(string, index);
- state.index += point.length;
- return createIterResultObject(point, false);
- });
- return es_string_iterator;
+ /**
+ * Converts camelCase data attribute names to kebab-case.
+ *
+ * @param {Object.<string, *>} dataAttr - The data attributes object.
+ * @returns {Object.<string, *>} The data attributes with kebab-case keys.
+ */
+ function getRealDataAttr(dataAttr) {
+ for (var _i2 = 0, _Object$entries = Object.entries(dataAttr); _i2 < _Object$entries.length; _i2++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i2], 2),
+ attr = _Object$entries$_i[0],
+ value = _Object$entries$_i[1];
+ var auxAttr = attr.split(/(?=[A-Z])/).join('-').toLowerCase();
+ if (auxAttr !== attr) {
+ dataAttr[auxAttr] = value;
+ delete dataAttr[attr];
+ }
+ }
+ return dataAttr;
}
- requireEs_string_iterator();
+ /**
+ * Gets a field value from an item, supporting nested properties.
+ *
+ * @param {Object.<string, *>} item - The item to get the field from.
+ * @param {string} field - The field name (supports dot notation for nested properties).
+ * @param {boolean} escape - Whether to escape HTML in the returned value.
+ * @param {boolean} [columnEscape=undefined] - Override for the escape parameter.
+ * @returns {*} The field value, escaped if requested.
+ */
+ function getItemField(item, field, escape) {
+ var columnEscape = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;
+ // use column escape if it is defined
+ if (typeof columnEscape !== 'undefined') {
+ escape = columnEscape;
+ }
+ if (typeof field !== 'string' || item.hasOwnProperty(field) || !field.includes('.')) {
+ return escape ? escapeHTML(item[field]) : item[field];
+ }
+ var props = field.split('.');
+ var value = item;
+ var _iterator8 = _createForOfIteratorHelper(props),
+ _step8;
+ try {
+ for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
+ var p = _step8.value;
+ if (value === null || value === undefined) {
+ return; // undefined
+ }
+ value = value[p];
+ }
+ } catch (err) {
+ _iterator8.e(err);
+ } finally {
+ _iterator8.f();
+ }
+ return escape ? escapeHTML(value) : value;
+ }
- var es_string_match = {};
+ /**
+ * Finds the index of an item in an array using deep equality.
+ *
+ * @param {Array.<*>} items - The array to search in.
+ * @param {*} item - The item to find.
+ * @returns {number} The index of the item, or -1 if not found.
+ */
+ function findIndex(items, item) {
+ var _iterator9 = _createForOfIteratorHelper(items),
+ _step9;
+ try {
+ for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
+ var it = _step9.value;
+ if (JSON.stringify(it) === JSON.stringify(item)) {
+ return items.indexOf(it);
+ }
+ }
+ } catch (err) {
+ _iterator9.e(err);
+ } finally {
+ _iterator9.f();
+ }
+ return -1;
+ }
- var hasRequiredEs_string_match;
+ /**
+ * Converts table rows (tr elements) to data array.
+ * Preserves row and cell attributes including id, class, style, and data-* attributes.
+ *
+ * @param {Array.<Object.<string, *>>} columns - The column definitions.
+ * @param {HTMLCollection|NodeList|Array<Element>} els - The tr elements.
+ * @returns {Array.<Object.<string, *>>} The array of row data objects.
+ */
+ function trToData(columns, els) {
+ var data = [];
+ var m = [];
+ var elsArray = Array.from(els);
+ for (var y = 0; y < elsArray.length; y++) {
+ var el = elsArray[y];
+ var row = {};
+
+ // save tr's id, class and data-* attributes
+ row._id = DOMHelper.attr(el, 'id');
+ row._class = DOMHelper.attr(el, 'class');
+ row._data = getRealDataAttr(_objectSpread2({}, el.dataset));
+ row._style = DOMHelper.attr(el, 'style');
+ var cells = DOMHelper.children(el, 'td,th');
+ for (var x = 0; x < cells.length; x++) {
+ var cell = cells[x];
+ var colspan = parseInt(DOMHelper.attr(cell, 'colspan'), 10) || 1;
+ var rowspan = parseInt(DOMHelper.attr(cell, 'rowspan'), 10) || 1;
+ var currentX = x;
+
+ // skip already occupied cells in current row
+ for (; m[y] && m[y][currentX]; currentX++) {
+ // ignore
+ }
+
+ // mark matrix elements occupied by current cell with true
+ for (var tx = currentX; tx < currentX + colspan; tx++) {
+ for (var ty = y; ty < y + rowspan; ty++) {
+ if (!m[ty]) {
+ // fill missing rows
+ m[ty] = [];
+ }
+ m[ty][tx] = true;
+ }
+ }
+ var field = columns[currentX].field;
+ row[field] = escapeApostrophe(DOMHelper.html(cell).trim());
+ // save td's id, class and data-* attributes
+ row["_".concat(field, "_id")] = DOMHelper.attr(cell, 'id');
+ row["_".concat(field, "_class")] = DOMHelper.attr(cell, 'class');
+ row["_".concat(field, "_rowspan")] = DOMHelper.attr(cell, 'rowspan');
+ row["_".concat(field, "_colspan")] = DOMHelper.attr(cell, 'colspan');
+ row["_".concat(field, "_title")] = DOMHelper.attr(cell, 'title');
+ row["_".concat(field, "_data")] = getRealDataAttr(_objectSpread2({}, cell.dataset));
+ row["_".concat(field, "_style")] = DOMHelper.attr(cell, 'style');
+ }
+ data.push(row);
+ }
+ return data;
+ }
- function requireEs_string_match () {
- if (hasRequiredEs_string_match) return es_string_match;
- hasRequiredEs_string_match = 1;
- var call = requireFunctionCall();
- var uncurryThis = requireFunctionUncurryThis();
- var fixRegExpWellKnownSymbolLogic = requireFixRegexpWellKnownSymbolLogic();
- var anObject = requireAnObject();
- var isObject = requireIsObject();
- var toLength = requireToLength();
- var toString = requireToString();
- var requireObjectCoercible = requireRequireObjectCoercible();
- var getMethod = requireGetMethod();
- var advanceStringIndex = requireAdvanceStringIndex();
- var getRegExpFlags = requireRegexpGetFlags();
- var regExpExec = requireRegexpExecAbstract();
+ /**
+ * Checks if any row in the data has auto-merge cells (rowspan/colspan).
+ *
+ * @param {Array.<Object.<string, *>>} data - The data array to check.
+ * @returns {boolean} True if any row has auto-merge cells, false otherwise.
+ */
+ function checkAutoMergeCells(data) {
+ var _iterator0 = _createForOfIteratorHelper(data),
+ _step0;
+ try {
+ for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
+ var row = _step0.value;
+ for (var _i3 = 0, _Object$keys = Object.keys(row); _i3 < _Object$keys.length; _i3++) {
+ var key = _Object$keys[_i3];
+ if (key.startsWith('_') && (key.endsWith('_rowspan') || key.endsWith('_colspan'))) {
+ return true;
+ }
+ }
+ }
+ } catch (err) {
+ _iterator0.e(err);
+ } finally {
+ _iterator0.f();
+ }
+ return false;
+ }
- var stringIndexOf = uncurryThis(''.indexOf);
+ /**
+ * Checks if any row in the data has rowspan cells with a span greater than 1.
+ *
+ * @param {Array.<Object.<string, *>>} data - The data array to check.
+ * @returns {boolean} True if any row has real rowspan merges, false otherwise.
+ */
+ function hasRowspanCells(data) {
+ var _iterator1 = _createForOfIteratorHelper(data),
+ _step1;
+ try {
+ for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
+ var row = _step1.value;
+ for (var _i4 = 0, _Object$keys2 = Object.keys(row); _i4 < _Object$keys2.length; _i4++) {
+ var key = _Object$keys2[_i4];
+ if (key.startsWith('_') && key.endsWith('_rowspan') && (+row[key] || 0) > 1) {
+ return true;
+ }
+ }
+ }
+ } catch (err) {
+ _iterator1.e(err);
+ } finally {
+ _iterator1.f();
+ }
+ return false;
+ }
- // @@match logic
- fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
+ /**
+ * Flattens rowspan cells in the data by copying the cell value from the
+ * rowspan parent row into all spanned child rows, so each row becomes
+ * independent and can be sorted without breaking the table layout.
+ *
+ * @param {Array.<Object.<string, *>>} data - The data array to flatten.
+ */
+ function flattenRowspanCells(data) {
+ for (var i = 0; i < data.length; i++) {
+ var row = data[i];
+ for (var _i5 = 0, _Object$keys3 = Object.keys(row); _i5 < _Object$keys3.length; _i5++) {
+ var key = _Object$keys3[_i5];
+ if (!key.startsWith('_') || !key.endsWith('_rowspan')) {
+ continue;
+ }
+ var field = key.replace(/^_/, '').replace(/_rowspan$/, '');
+ var rowspan = +row[key] || 1;
+ if (rowspan <= 1) {
+ continue;
+ }
+ var value = getItemField(row, field, false);
+ var useFlatKey = row.hasOwnProperty(field);
+ for (var j = 1; j < rowspan && i + j < data.length; j++) {
+ var childRow = data[i + j];
+ if (field.includes('.') && !useFlatKey) {
+ var props = field.split('.');
+ var target = childRow;
+ for (var k = 0; k < props.length - 1; k++) {
+ if (_typeof(target[props[k]]) !== 'object' || target[props[k]] === null) {
+ target[props[k]] = {};
+ }
+ target = target[props[k]];
+ }
+ target[props[props.length - 1]] = value;
+ } else {
+ childRow[field] = value;
+ }
+ delete childRow["_".concat(field, "_rowspan")];
+ }
+ delete row[key];
+ }
+ }
+ }
+
+ var tableData = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ checkAutoMergeCells: checkAutoMergeCells,
+ findIndex: findIndex,
+ flattenRowspanCells: flattenRowspanCells,
+ getFieldTitle: getFieldTitle,
+ getItemField: getItemField,
+ getRealDataAttr: getRealDataAttr,
+ hasRowspanCells: hasRowspanCells,
+ setFieldIndex: setFieldIndex,
+ trToData: trToData,
+ updateFieldGroup: updateFieldGroup
+ });
+
+ var es_string_match = {};
+
+ var hasRequiredEs_string_match;
+
+ function requireEs_string_match () {
+ if (hasRequiredEs_string_match) return es_string_match;
+ hasRequiredEs_string_match = 1;
+ var call = requireFunctionCall();
+ var uncurryThis = requireFunctionUncurryThis();
+ var fixRegExpWellKnownSymbolLogic = requireFixRegexpWellKnownSymbolLogic();
+ var anObject = requireAnObject();
+ var isObject = requireIsObject();
+ var toLength = requireToLength();
+ var toString = requireToString();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var getMethod = requireGetMethod();
+ var advanceStringIndex = requireAdvanceStringIndex();
+ var getRegExpFlags = requireRegexpGetFlags();
+ var regExpExec = requireRegexpExecAbstract();
+
+ var stringIndexOf = uncurryThis(''.indexOf);
+
+ // @@match logic
+ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
return [
// `String.prototype.match` method
// https://tc39.es/ecma262/#sec-string.prototype.match
@@ -6158,9 +7423,9 @@
var flags = toString(getRegExpFlags(rx));
- if (stringIndexOf(flags, 'g') === -1) return regExpExec(rx, S);
+ if (!~stringIndexOf(flags, 'g')) return regExpExec(rx, S);
- var fullUnicode = stringIndexOf(flags, 'u') !== -1;
+ var fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
rx.lastIndex = 0;
var A = [];
var n = 0;
@@ -6180,48 +7445,263 @@
requireEs_string_match();
- var es_string_startsWith = {};
+ var es_string_search = {};
- var hasRequiredEs_string_startsWith;
+ var sameValue;
+ var hasRequiredSameValue;
- function requireEs_string_startsWith () {
- if (hasRequiredEs_string_startsWith) return es_string_startsWith;
- hasRequiredEs_string_startsWith = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThisClause();
- var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
- var toLength = requireToLength();
- var toString = requireToString();
- var notARegExp = requireNotARegexp();
+ function requireSameValue () {
+ if (hasRequiredSameValue) return sameValue;
+ hasRequiredSameValue = 1;
+ // `SameValue` abstract operation
+ // https://tc39.es/ecma262/#sec-samevalue
+ // eslint-disable-next-line es/no-object-is -- safe
+ sameValue = Object.is || function is(x, y) {
+ // eslint-disable-next-line no-self-compare -- NaN check
+ return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
+ };
+ return sameValue;
+ }
+
+ var hasRequiredEs_string_search;
+
+ function requireEs_string_search () {
+ if (hasRequiredEs_string_search) return es_string_search;
+ hasRequiredEs_string_search = 1;
+ var call = requireFunctionCall();
+ var fixRegExpWellKnownSymbolLogic = requireFixRegexpWellKnownSymbolLogic();
+ var anObject = requireAnObject();
+ var isObject = requireIsObject();
var requireObjectCoercible = requireRequireObjectCoercible();
- var correctIsRegExpLogic = requireCorrectIsRegexpLogic();
+ var sameValue = requireSameValue();
+ var toString = requireToString();
+ var getMethod = requireGetMethod();
+ var regExpExec = requireRegexpExecAbstract();
+
+ // @@search logic
+ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
+ return [
+ // `String.prototype.search` method
+ // https://tc39.es/ecma262/#sec-string.prototype.search
+ function search(regexp) {
+ var O = requireObjectCoercible(this);
+ var searcher = isObject(regexp) ? getMethod(regexp, SEARCH) : undefined;
+ return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
+ },
+ // `RegExp.prototype[@@search]` method
+ // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
+ function (string) {
+ var rx = anObject(this);
+ var S = toString(string);
+ var res = maybeCallNative(nativeSearch, rx, S);
+
+ if (res.done) return res.value;
+
+ var previousLastIndex = rx.lastIndex;
+ if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
+ var result = regExpExec(rx, S);
+ if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
+ return result === null ? -1 : result.index;
+ }
+ ];
+ });
+ return es_string_search;
+ }
+
+ requireEs_string_search();
+
+ var es_array_iterator;
+ var hasRequiredEs_array_iterator;
+
+ function requireEs_array_iterator () {
+ if (hasRequiredEs_array_iterator) return es_array_iterator;
+ hasRequiredEs_array_iterator = 1;
+ var toIndexedObject = requireToIndexedObject();
+ var addToUnscopables = requireAddToUnscopables();
+ var Iterators = requireIterators();
+ var InternalStateModule = requireInternalState();
+ var defineProperty = requireObjectDefineProperty().f;
+ var defineIterator = requireIteratorDefine();
+ var createIterResultObject = requireCreateIterResultObject();
var IS_PURE = requireIsPure();
+ var DESCRIPTORS = requireDescriptors();
- var stringSlice = uncurryThis(''.slice);
- var min = Math.min;
+ var ARRAY_ITERATOR = 'Array Iterator';
+ var setInternalState = InternalStateModule.set;
+ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
- var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
- // https://github.com/zloirock/core-js/pull/702
- var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
- var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
- return descriptor && !descriptor.writable;
- }();
+ // `Array.prototype.entries` method
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
+ // `Array.prototype.keys` method
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
+ // `Array.prototype.values` method
+ // https://tc39.es/ecma262/#sec-array.prototype.values
+ // `Array.prototype[@@iterator]` method
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
+ // `CreateArrayIterator` internal method
+ // https://tc39.es/ecma262/#sec-createarrayiterator
+ es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
+ setInternalState(this, {
+ type: ARRAY_ITERATOR,
+ target: toIndexedObject(iterated), // target
+ index: 0, // next index
+ kind: kind // kind
+ });
+ // `%ArrayIteratorPrototype%.next` method
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
+ }, function () {
+ var state = getInternalState(this);
+ var target = state.target;
+ var index = state.index++;
+ if (!target || index >= target.length) {
+ state.target = null;
+ return createIterResultObject(undefined, true);
+ }
+ switch (state.kind) {
+ case 'keys': return createIterResultObject(index, false);
+ case 'values': return createIterResultObject(target[index], false);
+ } return createIterResultObject([index, target[index]], false);
+ }, 'values');
- // `String.prototype.startsWith` method
- // https://tc39.es/ecma262/#sec-string.prototype.startswith
- $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
- startsWith: function startsWith(searchString /* , position = 0 */) {
- var that = toString(requireObjectCoercible(this));
- notARegExp(searchString);
- var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
- var search = toString(searchString);
- return stringSlice(that, index, index + search.length) === search;
+ // argumentsList[@@iterator] is %ArrayProto_values%
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
+ var values = Iterators.Arguments = Iterators.Array;
+
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
+ addToUnscopables('keys');
+ addToUnscopables('values');
+ addToUnscopables('entries');
+
+ // V8 ~ Chrome 45- bug
+ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
+ defineProperty(values, 'name', { value: 'values' });
+ } catch (error) { /* empty */ }
+ return es_array_iterator;
+ }
+
+ requireEs_array_iterator();
+
+ var es_array_slice = {};
+
+ var arraySlice;
+ var hasRequiredArraySlice;
+
+ function requireArraySlice () {
+ if (hasRequiredArraySlice) return arraySlice;
+ hasRequiredArraySlice = 1;
+ var uncurryThis = requireFunctionUncurryThis();
+
+ arraySlice = uncurryThis([].slice);
+ return arraySlice;
+ }
+
+ var hasRequiredEs_array_slice;
+
+ function requireEs_array_slice () {
+ if (hasRequiredEs_array_slice) return es_array_slice;
+ hasRequiredEs_array_slice = 1;
+ var $ = require_export();
+ var isArray = requireIsArray();
+ var isConstructor = requireIsConstructor();
+ var isObject = requireIsObject();
+ var toAbsoluteIndex = requireToAbsoluteIndex();
+ var lengthOfArrayLike = requireLengthOfArrayLike();
+ var toIndexedObject = requireToIndexedObject();
+ var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
+ var nativeSlice = requireArraySlice();
+
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
+
+ var SPECIES = wellKnownSymbol('species');
+ var $Array = Array;
+ var max = Math.max;
+
+ // `Array.prototype.slice` method
+ // https://tc39.es/ecma262/#sec-array.prototype.slice
+ // fallback for not array-like ES3 strings and DOM objects
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ slice: function slice(start, end) {
+ var O = toIndexedObject(this);
+ var length = lengthOfArrayLike(O);
+ var k = toAbsoluteIndex(start, length);
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
+ // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
+ var Constructor, result, n;
+ if (isArray(O)) {
+ Constructor = O.constructor;
+ // cross-realm fallback
+ if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {
+ Constructor = undefined;
+ } else if (isObject(Constructor)) {
+ Constructor = Constructor[SPECIES];
+ if (Constructor === null) Constructor = undefined;
+ }
+ if (Constructor === $Array || Constructor === undefined) {
+ return nativeSlice(O, k, fin);
+ }
+ }
+ result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
+ for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
+ setArrayLength(result, n);
+ return result;
}
});
- return es_string_startsWith;
+ return es_array_slice;
}
- requireEs_string_startsWith();
+ requireEs_array_slice();
+
+ var web_domCollections_iterator = {};
+
+ var hasRequiredWeb_domCollections_iterator;
+
+ function requireWeb_domCollections_iterator () {
+ if (hasRequiredWeb_domCollections_iterator) return web_domCollections_iterator;
+ hasRequiredWeb_domCollections_iterator = 1;
+ var globalThis = requireGlobalThis();
+ var DOMIterables = requireDomIterables();
+ var DOMTokenListPrototype = requireDomTokenListPrototype();
+ var ArrayIteratorMethods = requireEs_array_iterator();
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ var setToStringTag = requireSetToStringTag();
+ var wellKnownSymbol = requireWellKnownSymbol();
+
+ var ITERATOR = wellKnownSymbol('iterator');
+ var ArrayValues = ArrayIteratorMethods.values;
+
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
+ if (CollectionPrototype) {
+ // some Chrome versions have non-configurable methods on DOMTokenList
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
+ } catch (error) {
+ CollectionPrototype[ITERATOR] = ArrayValues;
+ }
+ setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
+ // some Chrome versions have non-configurable methods on DOMTokenList
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
+ } catch (error) {
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
+ }
+ }
+ }
+ };
+
+ for (var COLLECTION_NAME in DOMIterables) {
+ handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);
+ }
+
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
+ return web_domCollections_iterator;
+ }
+
+ requireWeb_domCollections_iterator();
var web_urlSearchParams = {};
@@ -6255,9 +7735,9 @@
var i = 0;
var code;
while (length > i) {
- code = +arguments[i++];
+ code = +arguments[i];
if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');
- elements[i] = code < 0x10000
+ elements[i++] = code < 0x10000
? fromCharCode(code)
: fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);
} return join(elements, '');
@@ -6369,50 +7849,6 @@
return anInstance;
}
- var getIteratorMethod;
- var hasRequiredGetIteratorMethod;
-
- function requireGetIteratorMethod () {
- if (hasRequiredGetIteratorMethod) return getIteratorMethod;
- hasRequiredGetIteratorMethod = 1;
- var classof = requireClassof();
- var getMethod = requireGetMethod();
- var isNullOrUndefined = requireIsNullOrUndefined();
- var Iterators = requireIterators();
- var wellKnownSymbol = requireWellKnownSymbol();
-
- var ITERATOR = wellKnownSymbol('iterator');
-
- getIteratorMethod = function (it) {
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
- || getMethod(it, '@@iterator')
- || Iterators[classof(it)];
- };
- return getIteratorMethod;
- }
-
- var getIterator;
- var hasRequiredGetIterator;
-
- function requireGetIterator () {
- if (hasRequiredGetIterator) return getIterator;
- hasRequiredGetIterator = 1;
- var call = requireFunctionCall();
- var aCallable = requireACallable();
- var anObject = requireAnObject();
- var tryToString = requireTryToString();
- var getIteratorMethod = requireGetIteratorMethod();
-
- var $TypeError = TypeError;
-
- getIterator = function (argument, usingIterator) {
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
- throw new $TypeError(tryToString(argument) + ' is not iterable');
- };
- return getIterator;
- }
-
var validateArgumentsLength;
var hasRequiredValidateArgumentsLength;
@@ -6428,13 +7864,63 @@
return validateArgumentsLength;
}
+ var arraySort;
+ var hasRequiredArraySort;
+
+ function requireArraySort () {
+ if (hasRequiredArraySort) return arraySort;
+ hasRequiredArraySort = 1;
+ var arraySlice = requireArraySlice();
+
+ var floor = Math.floor;
+
+ var sort = function (array, comparefn) {
+ var length = array.length;
+
+ if (length < 8) {
+ // insertion sort
+ var i = 1;
+ var element, j;
+
+ while (i < length) {
+ j = i;
+ element = array[i];
+ while (j && comparefn(array[j - 1], element) > 0) {
+ array[j] = array[--j];
+ }
+ if (j !== i++) array[j] = element;
+ }
+ } else {
+ // merge sort
+ var middle = floor(length / 2);
+ var left = sort(arraySlice(array, 0, middle), comparefn);
+ var right = sort(arraySlice(array, middle), comparefn);
+ var llength = left.length;
+ var rlength = right.length;
+ var lindex = 0;
+ var rindex = 0;
+
+ while (lindex < llength || rindex < rlength) {
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
+ : lindex < llength ? left[lindex++] : right[rindex++];
+ }
+ }
+
+ return array;
+ };
+
+ arraySort = sort;
+ return arraySort;
+ }
+
var web_urlSearchParams_constructor;
var hasRequiredWeb_urlSearchParams_constructor;
function requireWeb_urlSearchParams_constructor () {
if (hasRequiredWeb_urlSearchParams_constructor) return web_urlSearchParams_constructor;
hasRequiredWeb_urlSearchParams_constructor = 1;
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
+ // TODO: in core-js [at] 4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
requireEs_array_iterator();
requireEs_string_fromCodePoint();
var $ = require_export();
@@ -6516,8 +8002,9 @@
var utf8Decode = function (octets) {
var codePoint = null;
+ var length = octets.length;
- switch (octets.length) {
+ switch (length) {
case 1:
codePoint = octets[0];
break;
@@ -6532,9 +8019,17 @@
break;
}
- return codePoint > 0x10FFFF ? null : codePoint;
+ // reject surrogates, overlong encodings, and out-of-range codepoints
+ if (codePoint === null
+ || codePoint > 0x10FFFF
+ || (codePoint >= 0xD800 && codePoint <= 0xDFFF)
+ || codePoint < (length > 3 ? 0x10000 : length > 2 ? 0x800 : length > 1 ? 0x80 : 0)
+ ) return null;
+
+ return codePoint;
};
+ /* eslint-disable max-statements, max-depth -- ok */
var decode = function (input) {
input = replace(input, plus, ' ');
var length = input.length;
@@ -6582,11 +8077,15 @@
var nextByte = parseHexOctet(input, i + 1);
// eslint-disable-next-line no-self-compare -- NaN check
- if (nextByte !== nextByte) {
- i += 3;
- break;
+ if (nextByte !== nextByte || nextByte > 191 || nextByte < 128) break;
+
+ // https://encoding.spec.whatwg.org/#utf-8-decoder - position-specific byte ranges
+ if (sequenceIndex === 1) {
+ if (octet === 0xE0 && nextByte < 0xA0) break;
+ if (octet === 0xED && nextByte > 0x9F) break;
+ if (octet === 0xF0 && nextByte < 0x90) break;
+ if (octet === 0xF4 && nextByte > 0x8F) break;
}
- if (nextByte > 191 || nextByte < 128) break;
push(octets, nextByte);
i += 2;
@@ -6600,7 +8099,9 @@
var codePoint = utf8Decode(octets);
if (codePoint === null) {
- result += FALLBACK_REPLACER;
+ for (var replacement = 0; replacement < byteSequenceLength; replacement++) result += FALLBACK_REPLACER;
+ i++;
+ continue;
} else {
decodedChar = fromCodePoint(codePoint);
}
@@ -6613,6 +8114,7 @@
return result;
};
+ /* eslint-enable max-statements, max-depth -- ok */
var find = /[!'()~]|%20/g;
@@ -6748,7 +8250,7 @@
var state = getInternalParamsState(this);
validateArgumentsLength(arguments.length, 2);
push(state.entries, { key: $toString(name), value: $toString(value) });
- if (!DESCRIPTORS) this.length++;
+ if (!DESCRIPTORS) this.size++;
state.updateURL();
},
// `URLSearchParams.prototype.delete` method
@@ -6765,7 +8267,6 @@
var entry = entries[index];
if (entry.key === key && (value === undefined || entry.value === value)) {
splice(entries, index, 1);
- if (value !== undefined) break;
} else index++;
}
if (!DESCRIPTORS) this.size = entries.length;
@@ -6815,7 +8316,7 @@
// https://url.spec.whatwg.org/#dom-urlsearchparams-set
set: function set(name, value) {
var state = getInternalParamsState(this);
- validateArgumentsLength(arguments.length, 1);
+ validateArgumentsLength(arguments.length, 2);
var entries = state.entries;
var found = false;
var key = $toString(name);
@@ -6880,7 +8381,7 @@
}, { enumerable: true });
// `URLSearchParams.prototype.size` getter
- // https://github.com/whatwg/url/pull/734
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-size
if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
get: function size() {
return getInternalParamsState(this).entries.length;
@@ -6952,848 +8453,485 @@
function requireWeb_urlSearchParams () {
if (hasRequiredWeb_urlSearchParams) return web_urlSearchParams;
hasRequiredWeb_urlSearchParams = 1;
- // TODO: Remove this module from `core-js@4` since it's replaced to module below
+ // TODO: Remove this module from `core-js [at] 4` since it's replaced to module below
requireWeb_urlSearchParams_constructor();
return web_urlSearchParams;
}
requireWeb_urlSearchParams();
- var Utils = {
- getBootstrapVersion: function getBootstrapVersion() {
- var _window$bootstrap, _$$fn;
- var bootstrapVersion = 5;
- if (typeof window !== 'undefined' && (_window$bootstrap = window.bootstrap) !== null && _window$bootstrap !== void 0 && (_window$bootstrap = _window$bootstrap.Tooltip) !== null && _window$bootstrap !== void 0 && _window$bootstrap.VERSION) {
- var rawVersion = window.bootstrap.Tooltip.VERSION;
- if (rawVersion !== undefined) {
- bootstrapVersion = parseInt(rawVersion, 10);
- }
- } else if (typeof $ !== 'undefined' && (_$$fn = $.fn) !== null && _$$fn !== void 0 && (_$$fn = _$$fn.dropdown) !== null && _$$fn !== void 0 && (_$$fn = _$$fn.Constructor) !== null && _$$fn !== void 0 && _$$fn.VERSION) {
- var _rawVersion = $.fn.dropdown.Constructor.VERSION;
+ /**
+ * General helper utilities.
+ *
+ * This module provides miscellaneous helper functions used throughout Bootstrap Table,
+ * including debouncing, event handling, URL manipulation, and browser detection.
+ *
+ * @module utils/helper
+ */
- // Only try to parse VERSION if it is defined.
- // It is undefined in older versions of Bootstrap (tested with 3.1.1).
- if (_rawVersion !== undefined) {
- bootstrapVersion = parseInt(_rawVersion, 10);
+ /**
+ * Calculates the value of an object property, supporting function calls and nested properties.
+ *
+ * @param {Object.<string, *>} self - The context to use when calling functions.
+ * @param {string|Function|*} name - The property name, function, or value to calculate.
+ * @param {Array.<*>} args - The arguments to pass to the function.
+ * @param {*} defaultValue - The default value to return if calculation fails.
+ * @returns {*} The calculated value or default value.
+ */
+ function calculateObjectValue(self, name, args, defaultValue) {
+ var func = name;
+ if (typeof name === 'string') {
+ // support obj.func1.func2
+ var names = name.split('.');
+ if (names.length > 1) {
+ func = window;
+ var _iterator = _createForOfIteratorHelper(names),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var f = _step.value;
+ func = func[f];
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
}
+ } else {
+ func = window[name];
}
- return bootstrapVersion;
- },
- /**
- * Returns the prefix for the icons based on the theme.
- *
- * @param {string} theme - The theme name (bootstrap3, bootstrap4, bootstrap5, bootstrap-table, bulma, foundation, materialize, semantic).
- * @returns {string} The icons prefix.
- */
- getIconsPrefix: function getIconsPrefix(theme) {
- return {
- bootstrap3: 'glyphicon',
- bootstrap4: 'fa',
- bootstrap5: 'bi',
- 'bootstrap-table': 'icon',
- bulma: 'fa',
- foundation: 'fa',
- materialize: 'material-icons',
- semantic: 'fa'
- }[theme] || 'fa';
- },
- /**
- * Gets the icons for a given prefix.
- *
- * @param {Object.<string, Object>} icons - The icons object.
- * @param {string} prefix - The prefix. For example, 'fa', 'bi', etc.
- * @return {Object} The icons object for the given prefix.
- */
- getIcons: function getIcons(icons, prefix) {
- return icons[prefix] || {};
- },
- /**
- * Assigns new icons to icons object.
- *
- * @param {Object.<string, Object>} icons - The icons object.
- * @param {string} icon - The icon name. For example, 'search', 'refresh', etc.
- * @param {Object.<string, string>} values - The values object.
- */
- assignIcons: function assignIcons(icons, icon, values) {
- for (var _i = 0, _Object$keys = Object.keys(icons); _i < _Object$keys.length; _i++) {
- var key = _Object$keys[_i];
- icons[key][icon] = values[key];
- }
- },
- getSearchInput: function getSearchInput(that) {
- if (typeof that.options.searchSelector === 'string') {
- return $(that.options.searchSelector);
- }
- return that.$toolbar.find('.search input');
- },
- // $.extend: https://github.com/jquery/jquery/blob/3.6.2/src/core.js#L132
- extend: function extend() {
- var _this = this;
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
- var target = args[0] || {};
- var i = 1;
- var deep = false;
- var clone;
+ }
+ if (func !== null && _typeof(func) === 'object') {
+ return func;
+ }
+ if (typeof func === 'function') {
+ return func.apply(self, args || []);
+ }
+ if (!func && typeof name === 'string' && args && sprintf.apply(void 0, [name].concat(_toConsumableArray(args)))) {
+ return sprintf.apply(void 0, [name].concat(_toConsumableArray(args)));
+ }
+ return defaultValue;
+ }
- // Handle a deep copy situation
- if (typeof target === 'boolean') {
- deep = target;
+ /**
+ * Creates a debounced function that delays invoking func until after wait milliseconds.
+ *
+ * @param {Function} func - The function to debounce.
+ * @param {number} wait - The number of milliseconds to delay.
+ * @param {boolean} [immediate=false] - If true, trigger the function on the leading edge.
+ * @returns {Function} The debounced function.
+ */
+ function debounce(func, wait, immediate) {
+ var timeout;
+ return function executedFunction() {
+ var context = this;
+ var args = arguments;
+ var later = function later() {
+ timeout = null;
+ if (!immediate) func.apply(context, args);
+ };
+ var callNow = immediate && !timeout;
+ clearTimeout(timeout);
+ timeout = setTimeout(later, wait);
+ if (callNow) func.apply(context, args);
+ };
+ }
- // Skip the boolean and the target
- target = args[i] || {};
- i++;
- }
+ /**
+ * Generates a unique event name with a prefix and optional ID.
+ *
+ * @param {string} eventPrefix - The prefix for the event name.
+ * @param {string} [id=''] - The optional ID to append. If not provided, generates a random ID.
+ * @returns {string} The generated event name.
+ */
+ function getEventName(eventPrefix) {
+ var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+ id = id || "".concat(+new Date()).concat(~~(Math.random() * 1000000));
+ return "".concat(eventPrefix, "-").concat(id);
+ }
- // Handle case when target is a string or something (possible in deep copy)
- if (_typeof(target) !== 'object' && typeof target !== 'function') {
- target = {};
- }
- for (; i < args.length; i++) {
- var options = args[i];
+ /**
+ * Checks if the table has a detail view icon.
+ *
+ * @param {Object.<string, *>} options - The table options.
+ * @returns {boolean} True if the table has a detail view icon, false otherwise.
+ */
+ function hasDetailViewIcon(options) {
+ return options.detailView && options.detailViewIcon && !options.cardView;
+ }
- // Ignore undefined/null values
- if (typeof options === 'undefined' || options === null) {
- continue;
- }
+ /**
+ * Gets the index offset for the detail view column.
+ *
+ * @param {Object.<string, *>} options - The table options.
+ * @returns {number} The index offset (1 if detail view is on the left, 0 otherwise).
+ */
+ function getDetailViewIndexOffset(options) {
+ return hasDetailViewIcon(options) && options.detailViewAlign !== 'right' ? 1 : 0;
+ }
+
+ /**
+ * Adds query parameters to a URL while preserving the hash fragment.
+ *
+ * @param {string} url - The base URL.
+ * @param {Object.<string, string>} query - The query parameters to add.
+ * @returns {string} The URL with query parameters added.
+ */
+ function addQueryToUrl(url, query) {
+ var hashArray = url.split('#');
+ var _hashArray$0$split = hashArray[0].split('?'),
+ _hashArray$0$split2 = _slicedToArray(_hashArray$0$split, 2),
+ baseUrl = _hashArray$0$split2[0],
+ search = _hashArray$0$split2[1];
+ var urlParams = new URLSearchParams(search);
+ for (var _i = 0, _Object$entries = Object.entries(query); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ key = _Object$entries$_i[0],
+ value = _Object$entries$_i[1];
+ urlParams.set(key, value);
+ }
+ return "".concat(baseUrl, "?").concat(urlParams.toString(), "#").concat(hashArray.slice(1).join('#'));
+ }
- // Extend the base object
- // eslint-disable-next-line guard-for-in
- for (var name in options) {
- var copy = options[name];
+ /**
+ * Checks if a value is numeric.
+ *
+ * @param {*} n - The value to check.
+ * @returns {boolean} True if the value is numeric, false otherwise.
+ */
+ function isNumeric(n) {
+ return !isNaN(parseFloat(n)) && isFinite(n);
+ }
- // Prevent Object.prototype pollution
- // Prevent never-ending loop
- if (name === '__proto__' || target === copy) {
- continue;
- }
- var copyIsArray = Array.isArray(copy);
-
- // Recurse if we're merging plain objects or arrays
- if (deep && copy && (this.isObject(copy) || copyIsArray)) {
- var src = target[name];
- if (copyIsArray && Array.isArray(src)) {
- if (src.every(function (it) {
- return !_this.isObject(it) && !Array.isArray(it);
- })) {
- target[name] = copy;
- continue;
- }
- }
- if (copyIsArray && !Array.isArray(src)) {
- clone = [];
- } else if (!copyIsArray && !this.isObject(src)) {
- clone = {};
- } else {
- clone = src;
- }
+ /**
+ * Checks if the current browser is Internet Explorer.
+ *
+ * @returns {boolean} True if the browser is IE, false otherwise.
+ */
+ function isIEBrowser() {
+ return navigator.userAgent.includes('MSIE ') || /Trident.*rv:11\./.test(navigator.userAgent);
+ }
+
+ var helper = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ addQueryToUrl: addQueryToUrl,
+ calculateObjectValue: calculateObjectValue,
+ debounce: debounce,
+ getDetailViewIndexOffset: getDetailViewIndexOffset,
+ getEventName: getEventName,
+ hasDetailViewIcon: hasDetailViewIcon,
+ isIEBrowser: isIEBrowser,
+ isNumeric: isNumeric
+ });
- // Never move original objects, clone them
- target[name] = this.extend(deep, clone, copy);
+ /**
+ * Search and sorting utilities.
+ *
+ * This module provides utility functions for searching and sorting table data,
+ * including regex comparison, custom sorting logic, and search result highlighting.
+ *
+ * @module utils/search-sort
+ */
- // Don't bring in undefined values
- } else if (copy !== undefined) {
- target[name] = copy;
- }
- }
- }
- return target;
- },
- // it only does '%s', and return '' when arguments are undefined
- sprintf: function sprintf(_str) {
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
- args[_key2 - 1] = arguments[_key2];
- }
- var flag = true;
- var i = 0;
- var str = _str.replace(/%s/g, function () {
- var arg = args[i++];
- if (typeof arg === 'undefined') {
- flag = false;
- return '';
- }
- return arg;
- });
- return flag ? str : '';
- },
- isObject: function isObject(obj) {
- if (_typeof(obj) !== 'object' || obj === null) {
- return false;
+ /**
+ * Compares a value against a search pattern using regex.
+ * Supports both plain text search and regex patterns (e.g., /pattern/flags).
+ *
+ * @param {*} value - The value to search in.
+ * @param {string} search - The search pattern or regex.
+ * @returns {boolean} True if the value matches the search pattern, false otherwise.
+ */
+ function regexCompare(value, search) {
+ try {
+ var regexpParts = search.match(/^\/(.*?)\/([gim]*)$/);
+ if (value.toString().search(regexpParts ? new RegExp(regexpParts[1], regexpParts[2]) : new RegExp(search, 'gim')) !== -1) {
+ return true;
}
- var proto = obj;
- while (Object.getPrototypeOf(proto) !== null) {
- proto = Object.getPrototypeOf(proto);
- }
- return Object.getPrototypeOf(obj) === proto;
- },
- isEmptyObject: function isEmptyObject() {
- var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- return Object.entries(obj).length === 0 && obj.constructor === Object;
- },
- isNumeric: function isNumeric(n) {
- return !isNaN(parseFloat(n)) && isFinite(n);
- },
- getFieldTitle: function getFieldTitle(list, value) {
- var _iterator = _createForOfIteratorHelper(list),
- _step;
- try {
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
- var item = _step.value;
- if (item.field === value) {
- return item.title;
- }
- }
- } catch (err) {
- _iterator.e(err);
- } finally {
- _iterator.f();
- }
- return '';
- },
- setFieldIndex: function setFieldIndex(columns) {
- var totalCol = 0;
- var flag = [];
- var _iterator2 = _createForOfIteratorHelper(columns[0]),
- _step2;
- try {
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
- var column = _step2.value;
- totalCol += +column.colspan || 1;
- }
- } catch (err) {
- _iterator2.e(err);
- } finally {
- _iterator2.f();
- }
- for (var i = 0; i < columns.length; i++) {
- flag[i] = [];
- for (var j = 0; j < totalCol; j++) {
- flag[i][j] = false;
- }
+ } catch (e) {
+ console.error(e);
+ return false;
+ }
+ return false;
+ }
+
+ /**
+ * Sorts two values with support for numeric, string, and empty value handling.
+ *
+ * @param {*} a - The first value to compare.
+ * @param {*} b - The second value to compare.
+ * @param {number} order - The sort order (1 for ascending, -1 for descending).
+ * @param {Object.<string, *>} options - Sort options.
+ * @param {boolean} [options.sortStable=false] - If true, use position for equal values.
+ * @param {boolean} [options.sortEmptyLast=false] - If true, sort empty values last.
+ * @param {number} aPosition - The position of the first value.
+ * @param {number} bPosition - The position of the second value.
+ * @returns {number} Negative if a < b, positive if a > b, 0 if equal.
+ */
+ function sort(a, b, order, options, aPosition, bPosition) {
+ if (a === undefined || a === null) {
+ a = '';
+ }
+ if (b === undefined || b === null) {
+ b = '';
+ }
+ if (options.sortStable && a === b) {
+ a = aPosition;
+ b = bPosition;
+ }
+
+ // If both values are numeric, do a numeric comparison
+ if (isNumeric(a) && isNumeric(b)) {
+ // Convert numerical values from string to float.
+ a = parseFloat(a);
+ b = parseFloat(b);
+ if (a < b) {
+ return order * -1;
}
- for (var _i2 = 0; _i2 < columns.length; _i2++) {
- var _iterator3 = _createForOfIteratorHelper(columns[_i2]),
- _step3;
- try {
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
- var r = _step3.value;
- var rowspan = +r.rowspan || 1;
- var colspan = +r.colspan || 1;
- var index = flag[_i2].indexOf(false);
- r.colspanIndex = index;
- if (colspan === 1) {
- r.fieldIndex = index;
- // when field is undefined, use index instead
- if (typeof r.field === 'undefined') {
- r.field = index;
- }
- } else {
- r.colspanGroup = +r.colspan;
- }
- for (var _j = 0; _j < rowspan; _j++) {
- for (var k = 0; k < colspan; k++) {
- flag[_i2 + _j][index + k] = true;
- }
- }
- }
- } catch (err) {
- _iterator3.e(err);
- } finally {
- _iterator3.f();
- }
+ if (a > b) {
+ return order;
}
- },
- normalizeAccent: function normalizeAccent(value) {
- if (typeof value !== 'string') {
- return value;
+ return 0;
+ }
+ if (options.sortEmptyLast) {
+ if (a === '') {
+ return 1;
}
- return value.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
- },
- updateFieldGroup: function updateFieldGroup(columns, fieldColumns) {
- var _ref;
- var allColumns = (_ref = []).concat.apply(_ref, _toConsumableArray(columns));
- var _iterator4 = _createForOfIteratorHelper(columns),
- _step4;
- try {
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
- var c = _step4.value;
- var _iterator6 = _createForOfIteratorHelper(c),
- _step6;
- try {
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
- var r = _step6.value;
- if (r.colspanGroup > 1) {
- var colspan = 0;
- var _loop = function _loop(i) {
- var underColumns = allColumns.filter(function (col) {
- return col.fieldIndex === i;
- });
- var column = underColumns[underColumns.length - 1];
- if (underColumns.length > 1) {
- for (var j = 0; j < underColumns.length - 1; j++) {
- underColumns[j].visible = column.visible;
- }
- }
- if (column.visible) {
- colspan++;
- }
- };
- for (var i = r.colspanIndex; i < r.colspanIndex + r.colspanGroup; i++) {
- _loop(i);
- }
- r.colspan = colspan;
- r.visible = colspan > 0;
- }
- }
- } catch (err) {
- _iterator6.e(err);
- } finally {
- _iterator6.f();
- }
- }
- } catch (err) {
- _iterator4.e(err);
- } finally {
- _iterator4.f();
+ if (b === '') {
+ return -1;
}
- if (columns.length < 2) {
+ }
+ if (a === b) {
+ return 0;
+ }
+
+ // If value is not a string, convert to string
+ if (typeof a !== 'string') {
+ a = a.toString();
+ }
+ if (a.localeCompare(b) === -1) {
+ return order * -1;
+ }
+ return order;
+ }
+
+ /**
+ * Highlights search text matches in HTML by wrapping them in <mark> tags.
+ * Recursively processes all text nodes in the HTML.
+ *
+ * @param {string|Element} html - The HTML string or DOM element to process.
+ * @param {string} searchText - The text to search for and highlight.
+ * @returns {string|Element} The HTML with matches highlighted, or the processed element.
+ */
+ function replaceSearchMark(html, searchText) {
+ var isDom = html instanceof Element;
+ var node = isDom ? html : document.createElement('div');
+ var regExp = new RegExp(searchText, 'gim');
+ var replaceTextWithDom = function replaceTextWithDom(text, regExp) {
+ var result = [];
+ var match;
+ var lastIndex = 0;
+ while ((match = regExp.exec(text)) !== null) {
+ if (lastIndex !== match.index) {
+ result.push(document.createTextNode(text.substring(lastIndex, match.index)));
+ }
+ var mark = document.createElement('mark');
+ mark.innerText = match[0];
+ result.push(mark);
+ lastIndex = match.index + match[0].length;
+ }
+ if (!result.length) {
+ // no match
return;
}
- var _iterator5 = _createForOfIteratorHelper(fieldColumns),
- _step5;
- try {
- var _loop2 = function _loop2() {
- var column = _step5.value;
- var sameColumns = allColumns.filter(function (col) {
- return col.fieldIndex === column.fieldIndex;
- });
- if (sameColumns.length > 1) {
- var _iterator7 = _createForOfIteratorHelper(sameColumns),
- _step7;
+ if (lastIndex !== text.length) {
+ result.push(document.createTextNode(text.substring(lastIndex)));
+ }
+ return result;
+ };
+ var _replaceMark = function replaceMark(node) {
+ for (var i = 0; i < node.childNodes.length; i++) {
+ var child = node.childNodes[i];
+ if (child.nodeType === document.TEXT_NODE) {
+ var elements = replaceTextWithDom(child.data, regExp);
+ if (elements) {
+ var _iterator = _createForOfIteratorHelper(elements),
+ _step;
try {
- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
- var _c = _step7.value;
- _c.visible = column.visible;
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var el = _step.value;
+ node.insertBefore(el, child);
}
} catch (err) {
- _iterator7.e(err);
+ _iterator.e(err);
} finally {
- _iterator7.f();
- }
- }
- };
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
- _loop2();
- }
- } catch (err) {
- _iterator5.e(err);
- } finally {
- _iterator5.f();
- }
- },
- getScrollBarWidth: function getScrollBarWidth() {
- if (this.cachedWidth === undefined) {
- var $inner = $('<div/>').addClass('fixed-table-scroll-inner');
- var $outer = $('<div/>').addClass('fixed-table-scroll-outer');
- $outer.append($inner);
- $('body').append($outer);
- var w1 = $inner[0].offsetWidth;
- $outer.css('overflow', 'scroll');
- var w2 = $inner[0].offsetWidth;
- if (w1 === w2) {
- w2 = $outer[0].clientWidth;
- }
- $outer.remove();
- this.cachedWidth = w1 - w2;
- }
- return this.cachedWidth;
- },
- calculateObjectValue: function calculateObjectValue(self, name, args, defaultValue) {
- var func = name;
- if (typeof name === 'string') {
- // support obj.func1.func2
- var names = name.split('.');
- if (names.length > 1) {
- func = window;
- var _iterator8 = _createForOfIteratorHelper(names),
- _step8;
- try {
- for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
- var f = _step8.value;
- func = func[f];
+ _iterator.f();
}
- } catch (err) {
- _iterator8.e(err);
- } finally {
- _iterator8.f();
+ node.removeChild(child);
+ i += elements.length - 1;
}
- } else {
- func = window[name];
- }
- }
- if (func !== null && _typeof(func) === 'object') {
- return func;
- }
- if (typeof func === 'function') {
- return func.apply(self, args || []);
- }
- if (!func && typeof name === 'string' && args && this.sprintf.apply(this, [name].concat(_toConsumableArray(args)))) {
- return this.sprintf.apply(this, [name].concat(_toConsumableArray(args)));
- }
- return defaultValue;
- },
- compareObjects: function compareObjects(objectA, objectB, compareLength) {
- var aKeys = Object.keys(objectA);
- var bKeys = Object.keys(objectB);
- if (compareLength && aKeys.length !== bKeys.length) {
- return false;
- }
- for (var _i3 = 0, _aKeys = aKeys; _i3 < _aKeys.length; _i3++) {
- var key = _aKeys[_i3];
- if (bKeys.includes(key) && objectA[key] !== objectB[key]) {
- return false;
}
- }
- return true;
- },
- regexCompare: function regexCompare(value, search) {
- try {
- var regexpParts = search.match(/^\/(.*?)\/([gim]*)$/);
- if (value.toString().search(regexpParts ? new RegExp(regexpParts[1], regexpParts[2]) : new RegExp(search, 'gim')) !== -1) {
- return true;
+ if (child.nodeType === document.ELEMENT_NODE) {
+ _replaceMark(child);
}
- } catch (e) {
- console.error(e);
- return false;
- }
- return false;
- },
- escapeApostrophe: function escapeApostrophe(value) {
- return value.toString().replace(/'/g, '&#39;');
- },
- escapeHTML: function escapeHTML(text) {
- if (!text) {
- return text;
- }
- return text.toString().replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#39;');
- },
- unescapeHTML: function unescapeHTML(text) {
- if (typeof text !== 'string' || !text) {
- return text;
}
- return text.toString().replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&quot;/g, '"').replace(/&#39;/g, '\'').replace(/&amp;/g, '&');
- },
- removeHTML: function removeHTML(text) {
- if (!text) {
- return text;
- }
- return text.toString().replace(/(<([^>]+)>)/ig, '').replace(/&[#A-Za-z0-9]+;/gi, '').trim();
- },
- getRealDataAttr: function getRealDataAttr(dataAttr) {
- for (var _i4 = 0, _Object$entries = Object.entries(dataAttr); _i4 < _Object$entries.length; _i4++) {
- var _Object$entries$_i = _slicedToArray(_Object$entries[_i4], 2),
- attr = _Object$entries$_i[0],
- value = _Object$entries$_i[1];
- var auxAttr = attr.split(/(?=[A-Z])/).join('-').toLowerCase();
- if (auxAttr !== attr) {
- dataAttr[auxAttr] = value;
- delete dataAttr[attr];
- }
- }
- return dataAttr;
- },
- getItemField: function getItemField(item, field, escape) {
- var columnEscape = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;
- var value = item;
+ };
+ if (!isDom) {
+ node.innerHTML = html;
+ }
+ _replaceMark(node);
+ return isDom ? node : node.innerHTML;
+ }
- // use column escape if it is defined
- if (typeof columnEscape !== 'undefined') {
- escape = columnEscape;
- }
- if (typeof field !== 'string' || item.hasOwnProperty(field)) {
- return escape ? this.escapeHTML(item[field]) : item[field];
- }
- var props = field.split('.');
- var _iterator9 = _createForOfIteratorHelper(props),
- _step9;
- try {
- for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
- var p = _step9.value;
- value = value && value[p];
- }
- } catch (err) {
- _iterator9.e(err);
- } finally {
- _iterator9.f();
- }
- return escape ? this.escapeHTML(value) : value;
- },
- isIEBrowser: function isIEBrowser() {
- return navigator.userAgent.includes('MSIE ') || /Trident.*rv:11\./.test(navigator.userAgent);
- },
- findIndex: function findIndex(items, item) {
- var _iterator0 = _createForOfIteratorHelper(items),
- _step0;
- try {
- for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
- var it = _step0.value;
- if (JSON.stringify(it) === JSON.stringify(item)) {
- return items.indexOf(it);
- }
- }
- } catch (err) {
- _iterator0.e(err);
- } finally {
- _iterator0.f();
- }
- return -1;
- },
- trToData: function trToData(columns, $els) {
- var _this2 = this;
- var data = [];
- var m = [];
- $els.each(function (y, el) {
- var $el = $(el);
- var row = {};
-
- // save tr's id, class and data-* attributes
- row._id = $el.attr('id');
- row._class = $el.attr('class');
- row._data = _this2.getRealDataAttr($el.data());
- row._style = $el.attr('style');
- $el.find('>td,>th').each(function (_x, el) {
- var $el = $(el);
- var colspan = +$el.attr('colspan') || 1;
- var rowspan = +$el.attr('rowspan') || 1;
- var x = _x;
-
- // skip already occupied cells in current row
- for (; m[y] && m[y][x]; x++) {
- // ignore
- }
+ var searchSort = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ regexCompare: regexCompare,
+ replaceSearchMark: replaceSearchMark,
+ sort: sort
+ });
- // mark matrix elements occupied by current cell with true
- for (var tx = x; tx < x + colspan; tx++) {
- for (var ty = y; ty < y + rowspan; ty++) {
- if (!m[ty]) {
- // fill missing rows
- m[ty] = [];
- }
- m[ty][tx] = true;
- }
- }
- var field = columns[x].field;
- row[field] = _this2.escapeApostrophe($el.html().trim());
- // save td's id, class and data-* attributes
- row["_".concat(field, "_id")] = $el.attr('id');
- row["_".concat(field, "_class")] = $el.attr('class');
- row["_".concat(field, "_rowspan")] = $el.attr('rowspan');
- row["_".concat(field, "_colspan")] = $el.attr('colspan');
- row["_".concat(field, "_title")] = $el.attr('title');
- row["_".concat(field, "_data")] = _this2.getRealDataAttr($el.data());
- row["_".concat(field, "_style")] = $el.attr('style');
- });
- data.push(row);
- });
- return data;
- },
- sort: function sort(a, b, order, options, aPosition, bPosition) {
- if (a === undefined || a === null) {
- a = '';
- }
- if (b === undefined || b === null) {
- b = '';
- }
- if (options.sortStable && a === b) {
- a = aPosition;
- b = bPosition;
- }
+ /**
+ * Bootstrap Table Checkbox Utilities
+ * Generate Bootstrap 5 or Bootstrap 3/4 compatible checkbox HTML and virtual DOM config
+ *
+ * @module utils/checkbox
+ */
- // If both values are numeric, do a numeric comparison
- if (this.isNumeric(a) && this.isNumeric(b)) {
- // Convert numerical values form string to float.
- a = parseFloat(a);
- b = parseFloat(b);
- if (a < b) {
- return order * -1;
- }
- if (a > b) {
- return order;
- }
- return 0;
- }
- if (options.sortEmptyLast) {
- if (a === '') {
- return 1;
- }
- if (b === '') {
- return -1;
- }
- }
- if (a === b) {
- return 0;
- }
+ /**
+ * Generate Bootstrap 5 or Bootstrap 3/4 compatible checkbox HTML
+ * @param {Object} options - Configuration options
+ * @param {string} options.name - checkbox name attribute
+ * @param {string} [options.value] - checkbox value attribute
+ * @param {boolean} [options.checked] - whether checked
+ * @param {boolean} [options.disabled] - whether disabled
+ * @param {string} [options.label] - display text
+ * @param {string} [options.extraClass] - extra CSS classes (must contain only safe CSS characters: letters, digits, hyphens, underscores)
+ * @param {boolean} [options.centered=true] - whether centered (for table checkbox)
+ * @param {boolean} [options.withLabel=false] - whether include label (for dropdown menu)
+ * @returns {string} HTML string
+ */
+ function getCheckboxHtml(options) {
+ var name = options.name,
+ _options$value = options.value,
+ value = _options$value === void 0 ? '' : _options$value,
+ _options$checked = options.checked,
+ checked = _options$checked === void 0 ? false : _options$checked,
+ _options$disabled = options.disabled,
+ disabled = _options$disabled === void 0 ? false : _options$disabled,
+ _options$label = options.label,
+ label = _options$label === void 0 ? '' : _options$label,
+ _options$extraClass = options.extraClass,
+ extraClass = _options$extraClass === void 0 ? '' : _options$extraClass,
+ _options$centered = options.centered,
+ centered = _options$centered === void 0 ? true : _options$centered,
+ _options$withLabel = options.withLabel,
+ withLabel = _options$withLabel === void 0 ? false : _options$withLabel;
+ var checkedAttr = checked ? ' checked="checked"' : '';
+ var disabledAttr = disabled ? ' disabled="disabled"' : '';
+ var valueAttr = value !== undefined && value !== '' ? " value=\"".concat(escapeAttr(value), "\"") : '';
+ var classAttr = extraClass ? " ".concat(extraClass) : '';
+ var escapedName = escapeAttr(name);
+ var escapedLabel = escapeHTML(label);
+ if (getBootstrapVersion() === 5) {
+ if (withLabel) {
+ return "<label class=\"dropdown-item dropdown-item-marker d-flex align-items-center gap-2\">\n <input class=\"form-check-input m-0".concat(classAttr, "\" type=\"checkbox\" name=\"").concat(escapedName, "\"").concat(valueAttr).concat(checkedAttr).concat(disabledAttr, " />\n <span>").concat(escapedLabel, "</span>\n </label>");
+ }
+ var centerClass = centered ? ' d-flex justify-content-center' : '';
+ return "<div class=\"form-check".concat(centerClass, "\">\n <input class=\"form-check-input").concat(classAttr, "\" type=\"checkbox\" name=\"").concat(escapedName, "\"").concat(valueAttr).concat(checkedAttr).concat(disabledAttr, " />\n </div>");
+ }
+ if (withLabel) {
+ return "<label><input type=\"checkbox\" name=\"".concat(escapedName, "\"").concat(valueAttr).concat(checkedAttr).concat(disabledAttr).concat(classAttr, "> <span>").concat(escapedLabel, "</span></label>");
+ }
+ return "<label><input type=\"checkbox\" name=\"".concat(escapedName, "\"").concat(valueAttr).concat(checkedAttr).concat(disabledAttr).concat(classAttr, " /><span></span></label>");
+ }
- // If value is not a string, convert to string
- if (typeof a !== 'string') {
- a = a.toString();
- }
- if (a.localeCompare(b) === -1) {
- return order * -1;
- }
- return order;
- },
- getEventName: function getEventName(eventPrefix) {
- var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
- id = id || "".concat(+new Date()).concat(~~(Math.random() * 1000000));
- return "".concat(eventPrefix, "-").concat(id);
- },
- hasDetailViewIcon: function hasDetailViewIcon(options) {
- return options.detailView && options.detailViewIcon && !options.cardView;
- },
- getDetailViewIndexOffset: function getDetailViewIndexOffset(options) {
- return this.hasDetailViewIcon(options) && options.detailViewAlign !== 'right' ? 1 : 0;
- },
- checkAutoMergeCells: function checkAutoMergeCells(data) {
- var _iterator1 = _createForOfIteratorHelper(data),
- _step1;
- try {
- for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
- var row = _step1.value;
- for (var _i5 = 0, _Object$keys2 = Object.keys(row); _i5 < _Object$keys2.length; _i5++) {
- var key = _Object$keys2[_i5];
- if (key.startsWith('_') && (key.endsWith('_rowspan') || key.endsWith('_colspan'))) {
- return true;
- }
- }
- }
- } catch (err) {
- _iterator1.e(err);
- } finally {
- _iterator1.f();
- }
- return false;
- },
- deepCopy: function deepCopy(arg) {
- if (arg === undefined) {
- return arg;
- }
- return this.extend(true, Array.isArray(arg) ? [] : {}, arg);
- },
- debounce: function debounce(func, wait, immediate) {
- var timeout;
- return function executedFunction() {
- var context = this;
- var args = arguments;
- var later = function later() {
- timeout = null;
- if (!immediate) func.apply(context, args);
- };
- var callNow = immediate && !timeout;
- clearTimeout(timeout);
- timeout = setTimeout(later, wait);
- if (callNow) func.apply(context, args);
- };
- },
- replaceSearchMark: function replaceSearchMark(html, searchText) {
- var isDom = html instanceof Element;
- var node = isDom ? html : document.createElement('div');
- var regExp = new RegExp(searchText, 'gim');
- var replaceTextWithDom = function replaceTextWithDom(text, regExp) {
- var result = [];
- var match;
- var lastIndex = 0;
- while ((match = regExp.exec(text)) !== null) {
- if (lastIndex !== match.index) {
- result.push(document.createTextNode(text.substring(lastIndex, match.index)));
- }
- var mark = document.createElement('mark');
- mark.innerText = match[0];
- result.push(mark);
- lastIndex = match.index + match[0].length;
- }
- if (!result.length) {
- // no match
- return;
- }
- if (lastIndex !== text.length) {
- result.push(document.createTextNode(text.substring(lastIndex)));
- }
- return result;
- };
- var _replaceMark = function replaceMark(node) {
- for (var i = 0; i < node.childNodes.length; i++) {
- var child = node.childNodes[i];
- if (child.nodeType === document.TEXT_NODE) {
- var elements = replaceTextWithDom(child.data, regExp);
- if (elements) {
- var _iterator10 = _createForOfIteratorHelper(elements),
- _step10;
- try {
- for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
- var el = _step10.value;
- node.insertBefore(el, child);
- }
- } catch (err) {
- _iterator10.e(err);
- } finally {
- _iterator10.f();
- }
- node.removeChild(child);
- i += elements.length - 1;
- }
- }
- if (child.nodeType === document.ELEMENT_NODE) {
- _replaceMark(child);
- }
- }
+ /**
+ * Generate form-check wrapped checkbox HTML (for table cells)
+ * @param {string} inputHtml - input element HTML (must be trusted or pre-escaped, as it is inserted without additional escaping)
+ * @param {boolean} [centered=true] - whether centered
+ * @returns {string} HTML string
+ */
+ function wrapCheckbox(inputHtml) {
+ var centered = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
+ if (getBootstrapVersion() === 5) {
+ var centerClass = centered ? ' d-flex justify-content-center' : '';
+ return "<div class=\"form-check".concat(centerClass, "\">").concat(inputHtml, "</div>");
+ }
+ return "<label>".concat(inputHtml, "<span></span></label>");
+ }
+
+ /**
+ * Get checkbox virtual DOM config (for virtual DOM rendering in body.js)
+ * @param {Object} options - Configuration options
+ * @param {Object} options.inputAttrs - input element attributes object
+ * @param {string} options.formCheckClass - form-check CSS class name
+ * @param {string} options.formCheckInputClass - form-check-input CSS class name
+ * @param {boolean} [options.centered=true] - whether centered
+ * @returns {Object} Virtual DOM config object with inputAttrs, wrapperAttrs, wrapperTag and hasSpan
+ */
+ function getCheckboxVdomConfig(options) {
+ var inputAttrs = options.inputAttrs,
+ formCheckClass = options.formCheckClass,
+ formCheckInputClass = options.formCheckInputClass,
+ _options$centered2 = options.centered,
+ centered = _options$centered2 === void 0 ? true : _options$centered2;
+ if (getBootstrapVersion() === 5) {
+ var centerClass = centered ? ' d-flex justify-content-center' : '';
+ return {
+ inputAttrs: _objectSpread2(_objectSpread2({}, inputAttrs), {}, {
+ class: formCheckInputClass
+ }),
+ wrapperAttrs: {
+ class: "".concat(formCheckClass).concat(centerClass)
+ },
+ wrapperTag: 'div',
+ hasSpan: false
};
- if (!isDom) {
- node.innerHTML = html;
- }
- _replaceMark(node);
- return isDom ? node : node.innerHTML;
- },
- classToString: function classToString(class_) {
- var _this3 = this;
- if (typeof class_ === 'string') {
- return class_;
- }
- if (Array.isArray(class_)) {
- return class_.map(function (x) {
- return _this3.classToString(x);
- }).filter(function (x) {
- return x;
- }).join(' ');
- }
- if (class_ && _typeof(class_) === 'object') {
- return Object.entries(class_).map(function (_ref2) {
- var _ref3 = _slicedToArray(_ref2, 2),
- k = _ref3[0],
- v = _ref3[1];
- return v ? k : '';
- }).filter(function (x) {
- return x;
- }).join(' ');
- }
- return '';
- },
- parseStyle: function parseStyle(dom, style) {
- if (!style) {
- return dom;
- }
- if (typeof style === 'string') {
- style.split(';').forEach(function (i) {
- var index = i.indexOf(':');
- if (index > 0) {
- var k = i.substring(0, index).trim();
- var v = i.substring(index + 1).trim();
- dom.style.setProperty(k, v);
- }
- });
- } else if (Array.isArray(style)) {
- var _iterator11 = _createForOfIteratorHelper(style),
- _step11;
- try {
- for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
- var item = _step11.value;
- this.parseStyle(dom, item);
- }
- } catch (err) {
- _iterator11.e(err);
- } finally {
- _iterator11.f();
- }
- } else if (_typeof(style) === 'object') {
- for (var _i6 = 0, _Object$entries2 = Object.entries(style); _i6 < _Object$entries2.length; _i6++) {
- var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i6], 2),
- k = _Object$entries2$_i[0],
- v = _Object$entries2$_i[1];
- dom.style.setProperty(k, v);
- }
- }
- return dom;
- },
- h: function h(element, attrs, children) {
- var el = element instanceof HTMLElement ? element : document.createElement(element);
- var _attrs = attrs || {};
- var _children = children || [];
-
- // default attributes
- if (el.tagName === 'A') {
- el.href = 'javascript:';
- }
- for (var _i7 = 0, _Object$entries3 = Object.entries(_attrs); _i7 < _Object$entries3.length; _i7++) {
- var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i7], 2),
- k = _Object$entries3$_i[0],
- v = _Object$entries3$_i[1];
- if (v === undefined) {
- continue;
- }
- if (['text', 'innerText'].includes(k)) {
- el.innerText = v;
- } else if (['html', 'innerHTML'].includes(k)) {
- el.innerHTML = v;
- } else if (k === 'children') {
- _children.push.apply(_children, _toConsumableArray(v));
- } else if (k === 'class') {
- el.setAttribute('class', this.classToString(v));
- } else if (k === 'style') {
- if (typeof v === 'string') {
- el.setAttribute('style', v);
- } else {
- this.parseStyle(el, v);
- }
- } else if (k.startsWith('@') || k.startsWith('on')) {
- // event handlers
- var event = k.startsWith('@') ? k.substring(1) : k.substring(2).toLowerCase();
- var args = Array.isArray(v) ? v : [v];
- el.addEventListener.apply(el, [event].concat(_toConsumableArray(args)));
- } else if (k.startsWith('.')) {
- // set property
- el[k.substring(1)] = v;
- } else {
- el.setAttribute(k, v);
- }
- }
- if (_children.length) {
- el.append.apply(el, _toConsumableArray(_children));
- }
- return el;
- },
- htmlToNodes: function htmlToNodes(html) {
- if (html instanceof $) {
- return html.get();
- }
- if (html instanceof Node) {
- return [html];
- }
- if (typeof html !== 'string') {
- html = new String(html).toString();
- }
- var d = document.createElement('div');
- d.innerHTML = html;
- return d.childNodes;
- },
- addQueryToUrl: function addQueryToUrl(url, query) {
- var hashArray = url.split('#');
- var _hashArray$0$split = hashArray[0].split('?'),
- _hashArray$0$split2 = _slicedToArray(_hashArray$0$split, 2),
- baseUrl = _hashArray$0$split2[0],
- search = _hashArray$0$split2[1];
- var urlParams = new URLSearchParams(search);
- for (var _i8 = 0, _Object$entries4 = Object.entries(query); _i8 < _Object$entries4.length; _i8++) {
- var _Object$entries4$_i = _slicedToArray(_Object$entries4[_i8], 2),
- key = _Object$entries4$_i[0],
- value = _Object$entries4$_i[1];
- urlParams.set(key, value);
- }
- return "".concat(baseUrl, "?").concat(urlParams.toString(), "#").concat(hashArray.slice(1).join('#'));
}
- };
+ return {
+ inputAttrs: inputAttrs,
+ wrapperAttrs: {},
+ wrapperTag: 'label',
+ hasSpan: true
+ };
+ }
- var VERSION = '1.24.2';
+ /**
+ * Generate showColumns dropdown menu column selection checkbox HTML
+ * Differs from getCheckboxHtml by using data-field instead of name attribute
+ * @param {Object} options - Configuration options
+ * @param {string} options.dataField - column field name (for data-field attribute)
+ * @param {string} options.value - checkbox value attribute
+ * @param {boolean} options.checked - whether checked
+ * @param {boolean} options.disabled - whether disabled
+ * @param {string} options.label - display text
+ * @returns {string} HTML string
+ */
+ function getDropdownColumnCheckboxHtml(options) {
+ var dataField = options.dataField,
+ value = options.value,
+ checked = options.checked,
+ disabled = options.disabled,
+ label = options.label;
+ var checkedAttr = checked ? ' checked="checked"' : '';
+ var disabledAttr = disabled ? ' disabled="disabled"' : '';
+ var escapedLabel = escapeHTML(label);
+ if (getBootstrapVersion() === 5) {
+ return "<label class=\"dropdown-item dropdown-item-marker d-flex align-items-center gap-2\">\n <input class=\"form-check-input m-0\" type=\"checkbox\" data-field=\"".concat(escapeAttr(dataField), "\" value=\"").concat(escapeAttr(value), "\"").concat(checkedAttr).concat(disabledAttr, " />\n <span>").concat(escapedLabel, "</span>\n </label>");
+ }
+ return "<input type=\"checkbox\" data-field=\"".concat(escapeAttr(dataField), "\" value=\"").concat(escapeAttr(value), "\"").concat(checkedAttr).concat(disabledAttr, "> <span>").concat(escapedLabel, "</span>");
+ }
+
+ var checkbox = /*#__PURE__*/Object.freeze({
+ __proto__: null,
+ getCheckboxHtml: getCheckboxHtml,
+ getCheckboxVdomConfig: getCheckboxVdomConfig,
+ getDropdownColumnCheckboxHtml: getDropdownColumnCheckboxHtml,
+ wrapCheckbox: wrapCheckbox
+ });
+
+ var Utils = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, framework), object), string), dom), tableData), searchSort), helper), checkbox);
+
+ var VERSION = '1.27.3';
var bootstrapVersion = Utils.getBootstrapVersion();
var CONSTANTS = {
3: {
@@ -7871,6 +9009,8 @@
buttonsPrefix: 'btn',
dropdownActive: 'active',
dropup: 'dropup',
+ formCheck: 'form-check',
+ formCheckInput: 'form-check-input',
input: 'form-control',
inputGroup: 'btn-group',
inputPrefix: 'form-control-',
@@ -7896,7 +9036,7 @@
toolbarDropdownSeparator: '<div class="dropdown-divider"></div>'
}
}
- }[bootstrapVersion];
+ }[bootstrapVersion || 5];
var ICONS = {
glyphicon: {
clearSearch: 'glyphicon-trash',
@@ -8387,6 +9527,311 @@
VERSION: VERSION
};
+ var InitializationModule = {
+ initConstants: function initConstants() {
+ var opts = this.options;
+ this.constants = Constants.CONSTANTS;
+ this.constants.theme = $.fn.bootstrapTable.theme;
+ this.constants.dataToggle = this.constants.html.dataToggle || 'data-toggle';
+
+ // init iconsPrefix and icons
+ var iconsPrefix = Utils.getIconsPrefix($.fn.bootstrapTable.theme);
+ if (typeof opts.icons === 'string') {
+ opts.icons = Utils.calculateObjectValue(null, opts.icons);
+ }
+ opts.iconsPrefix = opts.iconsPrefix || $.fn.bootstrapTable.defaults.iconsPrefix || iconsPrefix;
+ opts.icons = Object.assign(Utils.getIcons(Constants.ICONS, opts.iconsPrefix), $.fn.bootstrapTable.defaults.icons, opts.icons);
+
+ // init buttons class
+ var buttonsPrefix = opts.buttonsPrefix ? "".concat(opts.buttonsPrefix, "-") : '';
+ this.constants.buttonsClass = [opts.buttonsPrefix, buttonsPrefix + opts.buttonsClass, Utils.sprintf("".concat(buttonsPrefix, "%s"), opts.iconSize)].join(' ').trim();
+ this.buttons = Utils.calculateObjectValue(this, opts.buttons, [], {});
+ if (_typeof(this.buttons) !== 'object') {
+ this.buttons = {};
+ }
+ },
+ initLocale: function initLocale() {
+ if (this.options.locale) {
+ var locales = $.fn.bootstrapTable.locales;
+ var parts = this.options.locale.split(/-|_/);
+ parts[0] = parts[0].toLowerCase();
+ if (parts[1]) {
+ parts[1] = parts[1].toUpperCase();
+ }
+ var localesToExtend = {};
+ if (locales[this.options.locale]) {
+ localesToExtend = locales[this.options.locale];
+ } else if (locales[parts.join('-')]) {
+ localesToExtend = locales[parts.join('-')];
+ } else if (locales[parts[0]]) {
+ localesToExtend = locales[parts[0]];
+ }
+ this._defaultLocales = this._defaultLocales || {};
+ for (var _i = 0, _Object$entries = Object.entries(localesToExtend); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ formatName = _Object$entries$_i[0],
+ func = _Object$entries$_i[1];
+ var defaultLocale = this._defaultLocales.hasOwnProperty(formatName) ? this._defaultLocales[formatName] : Constants.DEFAULTS[formatName];
+ if (this.options[formatName] !== defaultLocale) {
+ continue;
+ }
+ this.options[formatName] = func;
+ this._defaultLocales[formatName] = func;
+ }
+ }
+ },
+ initContainer: function initContainer() {
+ var topPagination = ['top', 'both'].includes(this.options.paginationVAlign) ? '<div class="fixed-table-pagination clearfix"></div>' : '';
+ var bottomPagination = ['bottom', 'both'].includes(this.options.paginationVAlign) ? '<div class="fixed-table-pagination"></div>' : '';
+ var loadingTemplate = Utils.calculateObjectValue(this.options, this.options.loadingTemplate, [this.options.formatLoadingMessage()]);
+ this.$container = $("\n <div class=\"bootstrap-table ".concat(this.constants.theme, "\">\n <div class=\"fixed-table-toolbar\"></div>\n ").concat(topPagination, "\n <div class=\"fixed-table-container\">\n <div class=\"fixed-table-header\"><table></table></div>\n <div class=\"fixed-table-body\">\n <div class=\"fixed-table-loading\">\n ").concat(loadingTemplate, "\n </div>\n </div>\n <div class=\"fixed-table-footer\"></div>\n </div>\n ").concat(bottomPagination, "\n </div>\n "));
+ this.$container.insertAfter(this.$el);
+ this.$tableContainer = this.$container.find('.fixed-table-container');
+ this.$tableHeader = this.$container.find('.fixed-table-header');
+ this.$tableBody = this.$container.find('.fixed-table-body');
+ this.$tableLoading = this.$container.find('.fixed-table-loading');
+ this.$tableFooter = this.$el.find('tfoot');
+ // checking if custom table-toolbar exists or not
+ if (this.options.buttonsToolbar) {
+ this.$toolbar = $('body').find(this.options.buttonsToolbar);
+ } else {
+ this.$toolbar = this.$container.find('.fixed-table-toolbar');
+ }
+ this.$pagination = this.$container.find('.fixed-table-pagination');
+ this.$tableBody.append(this.$el);
+ this.$container.after('<div class="clearfix"></div>');
+ this.$el.addClass(this.options.classes);
+ this.$tableLoading.addClass(this.options.classes);
+ if (this.options.height) {
+ this.$tableContainer.addClass('fixed-height');
+ if (this.options.showFooter) {
+ this.$tableContainer.addClass('has-footer');
+ }
+ if (this.options.classes.split(' ').includes('table-bordered')) {
+ this.$tableBody.append('<div class="fixed-table-border"></div>');
+ this.$tableBorder = this.$tableBody.find('.fixed-table-border');
+ this.$tableLoading.addClass('fixed-table-border');
+ }
+ this.$tableFooter = this.$container.find('.fixed-table-footer');
+ }
+ },
+ initTable: function initTable() {
+ var _this = this;
+ var columns = [];
+ this.$header = this.$el.find('>thead');
+ if (!this.$header.length) {
+ this.$header = $("<thead class=\"".concat(this.options.theadClasses, "\"></thead>")).appendTo(this.$el);
+ } else if (this.options.theadClasses) {
+ this.$header.addClass(this.options.theadClasses);
+ }
+ this._headerTrClasses = [];
+ this._headerTrStyles = [];
+ this.$header.find('tr').each(function (i, el) {
+ var $tr = $(el);
+ var column = [];
+ $tr.find('th').each(function (i, el) {
+ var $th = $(el);
+
+ // #2014: getFieldIndex and elsewhere assume this is string, causes issues if not
+ if (typeof $th.data('field') !== 'undefined') {
+ $th.data('field', "".concat($th.data('field')));
+ }
+ var _data = Object.assign({}, $th.data());
+ for (var key in _data) {
+ if ($.fn.bootstrapTable.columnDefaults.hasOwnProperty(key)) {
+ delete _data[key];
+ }
+ }
+ column.push(Utils.extend({}, {
+ _data: Utils.getRealDataAttr(_data),
+ title: $th.html(),
+ class: $th.attr('class'),
+ titleTooltip: $th.attr('title'),
+ rowspan: $th.attr('rowspan') ? +$th.attr('rowspan') : undefined,
+ colspan: $th.attr('colspan') ? +$th.attr('colspan') : undefined,
+ scope: $th.attr('scope') ? $th.attr('scope') : undefined,
+ style: Utils.normalizeStyle($th.attr('style'))
+ }, $th.data()));
+ });
+ columns.push(column);
+ if ($tr.attr('class')) {
+ _this._headerTrClasses.push($tr.attr('class'));
+ }
+ if ($tr.attr('style')) {
+ _this._headerTrStyles.push($tr.attr('style'));
+ }
+ });
+ if (!Array.isArray(this.options.columns[0])) {
+ this.options.columns = [this.options.columns];
+ }
+ this.options.columns = Utils.extend(true, [], columns, this.options.columns);
+ this.columns = [];
+ this.fieldsColumnsIndex = [];
+ if (this.optionsColumnsChanged !== false) {
+ Utils.setFieldIndex(this.options.columns);
+ }
+ this.options.columns.forEach(function (columns, i) {
+ columns.forEach(function (_column, j) {
+ var column = Utils.extend({}, Constants.COLUMN_DEFAULTS, _column, {
+ passed: _column
+ });
+ if (typeof column.fieldIndex !== 'undefined') {
+ _this.columns[column.fieldIndex] = column;
+ _this.fieldsColumnsIndex[column.field] = column.fieldIndex;
+ }
+ _this.options.columns[i][j] = column;
+ });
+ });
+
+ // if options.data is setting, do not process tbody and tfoot data
+ if (!this.options.data.length) {
+ var htmlData = Utils.trToData(this.columns, this.$el.find('>tbody>tr').get());
+ if (htmlData.length) {
+ this.options.data = htmlData;
+ this.fromHtml = true;
+ }
+ }
+ if (!(this.options.pagination && this.options.sidePagination !== 'server')) {
+ this.footerData = Utils.trToData(this.columns, this.$el.find('>tfoot>tr').get());
+ }
+ if (this.footerData) {
+ this.$el.find('tfoot').html('<tr></tr>');
+ }
+ if (!this.options.showFooter || this.options.cardView) {
+ this.$tableFooter.hide();
+ } else {
+ this.$tableFooter.show();
+ }
+ }
+ };
+
+ var es_array_findIndex = {};
+
+ var hasRequiredEs_array_findIndex;
+
+ function requireEs_array_findIndex () {
+ if (hasRequiredEs_array_findIndex) return es_array_findIndex;
+ hasRequiredEs_array_findIndex = 1;
+ var $ = require_export();
+ var $findIndex = requireArrayIteration().findIndex;
+ var addToUnscopables = requireAddToUnscopables();
+
+ var FIND_INDEX = 'findIndex';
+ var SKIPS_HOLES = true;
+
+ // Shouldn't skip holes
+ // eslint-disable-next-line es/no-array-prototype-findindex -- testing
+ if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
+
+ // `Array.prototype.findIndex` method
+ // https://tc39.es/ecma262/#sec-array.prototype.findindex
+ $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
+ findIndex: function findIndex(callbackfn /* , that = undefined */) {
+ return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+ }
+ });
+
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
+ addToUnscopables(FIND_INDEX);
+ return es_array_findIndex;
+ }
+
+ requireEs_array_findIndex();
+
+ var es_array_splice = {};
+
+ var deletePropertyOrThrow;
+ var hasRequiredDeletePropertyOrThrow;
+
+ function requireDeletePropertyOrThrow () {
+ if (hasRequiredDeletePropertyOrThrow) return deletePropertyOrThrow;
+ hasRequiredDeletePropertyOrThrow = 1;
+ var tryToString = requireTryToString();
+
+ var $TypeError = TypeError;
+
+ deletePropertyOrThrow = function (O, P) {
+ if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
+ };
+ return deletePropertyOrThrow;
+ }
+
+ var hasRequiredEs_array_splice;
+
+ function requireEs_array_splice () {
+ if (hasRequiredEs_array_splice) return es_array_splice;
+ hasRequiredEs_array_splice = 1;
+ var $ = require_export();
+ var toObject = requireToObject();
+ var toAbsoluteIndex = requireToAbsoluteIndex();
+ var toIntegerOrInfinity = requireToIntegerOrInfinity();
+ var lengthOfArrayLike = requireLengthOfArrayLike();
+ var setArrayLength = requireArraySetLength();
+ var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
+ var arraySpeciesCreate = requireArraySpeciesCreate();
+ var createProperty = requireCreateProperty();
+ var deletePropertyOrThrow = requireDeletePropertyOrThrow();
+ var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
+
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
+
+ var max = Math.max;
+ var min = Math.min;
+
+ // `Array.prototype.splice` method
+ // https://tc39.es/ecma262/#sec-array.prototype.splice
+ // with adding support of @@species
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ splice: function splice(start, deleteCount /* , ...items */) {
+ var O = toObject(this);
+ var len = lengthOfArrayLike(O);
+ var actualStart = toAbsoluteIndex(start, len);
+ var argumentsLength = arguments.length;
+ var insertCount, actualDeleteCount, A, k, from, to;
+ if (argumentsLength === 0) {
+ insertCount = actualDeleteCount = 0;
+ } else if (argumentsLength === 1) {
+ insertCount = 0;
+ actualDeleteCount = len - actualStart;
+ } else {
+ insertCount = argumentsLength - 2;
+ actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
+ }
+ doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
+ A = arraySpeciesCreate(O, actualDeleteCount);
+ for (k = 0; k < actualDeleteCount; k++) {
+ from = actualStart + k;
+ if (from in O) createProperty(A, k, O[from]);
+ }
+ setArrayLength(A, actualDeleteCount);
+ if (insertCount < actualDeleteCount) {
+ for (k = actualStart; k < len - actualDeleteCount; k++) {
+ from = k + actualDeleteCount;
+ to = k + insertCount;
+ if (from in O) O[to] = O[from];
+ else deletePropertyOrThrow(O, to);
+ }
+ for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
+ } else if (insertCount > actualDeleteCount) {
+ for (k = len - actualDeleteCount; k > actualStart; k--) {
+ from = k + actualDeleteCount - 1;
+ to = k + insertCount - 1;
+ if (from in O) O[to] = O[from];
+ else deletePropertyOrThrow(O, to);
+ }
+ }
+ for (k = 0; k < insertCount; k++) {
+ O[k + actualStart] = arguments[k + 2];
+ }
+ setArrayLength(O, len - actualDeleteCount + insertCount);
+ return A;
+ }
+ });
+ return es_array_splice;
+ }
+
+ requireEs_array_splice();
+
var BLOCK_ROWS = 50;
var CLUSTER_BLOCKS = 4;
var VirtualScroll = /*#__PURE__*/function () {
@@ -8519,2997 +9964,3074 @@
}]);
}();
- var BootstrapTable = /*#__PURE__*/function () {
- function BootstrapTable(el, options) {
- _classCallCheck(this, BootstrapTable);
- this.options = options;
- this.$el = $(el);
- this.$el_ = this.$el.clone();
- this.timeoutId_ = 0;
- this.timeoutFooter_ = 0;
- }
- return _createClass(BootstrapTable, [{
- key: "init",
- value: function init() {
- this.initConstants();
- this.initLocale();
- this.initContainer();
- this.initTable();
- this.initHeader();
- this.initData();
- this.initHiddenRows();
- this.initToolbar();
- this.initPagination();
- this.initBody();
- this.initSearchText();
- this.initServer();
- }
- }, {
- key: "initConstants",
- value: function initConstants() {
- var opts = this.options;
- this.constants = Constants.CONSTANTS;
- this.constants.theme = $.fn.bootstrapTable.theme;
- this.constants.dataToggle = this.constants.html.dataToggle || 'data-toggle';
-
- // init iconsPrefix and icons
- var iconsPrefix = Utils.getIconsPrefix($.fn.bootstrapTable.theme);
- if (typeof opts.icons === 'string') {
- opts.icons = Utils.calculateObjectValue(null, opts.icons);
- }
- opts.iconsPrefix = opts.iconsPrefix || $.fn.bootstrapTable.defaults.iconsPrefix || iconsPrefix;
- opts.icons = Object.assign(Utils.getIcons(Constants.ICONS, opts.iconsPrefix), $.fn.bootstrapTable.defaults.icons, opts.icons);
-
- // init buttons class
- var buttonsPrefix = opts.buttonsPrefix ? "".concat(opts.buttonsPrefix, "-") : '';
- this.constants.buttonsClass = [opts.buttonsPrefix, buttonsPrefix + opts.buttonsClass, Utils.sprintf("".concat(buttonsPrefix, "%s"), opts.iconSize)].join(' ').trim();
- this.buttons = Utils.calculateObjectValue(this, opts.buttons, [], {});
- if (_typeof(this.buttons) !== 'object') {
- this.buttons = {};
+ var BodyModule = {
+ initBodyEvent: function initBodyEvent() {
+ var _this = this;
+ // click to select by column
+ this.$body.find('> tr[data-index] > td').off('click dblclick').on('click dblclick', function (e) {
+ var $td = $(e.currentTarget);
+ if ($td.find('.detail-icon').length || $td.index() - Utils.getDetailViewIndexOffset(_this.options) < 0) {
+ return;
}
- }
- }, {
- key: "initLocale",
- value: function initLocale() {
- if (this.options.locale) {
- var locales = $.fn.bootstrapTable.locales;
- var parts = this.options.locale.split(/-|_/);
- parts[0] = parts[0].toLowerCase();
- if (parts[1]) {
- parts[1] = parts[1].toUpperCase();
- }
- var localesToExtend = {};
- if (locales[this.options.locale]) {
- localesToExtend = locales[this.options.locale];
- } else if (locales[parts.join('-')]) {
- localesToExtend = locales[parts.join('-')];
- } else if (locales[parts[0]]) {
- localesToExtend = locales[parts[0]];
- }
- this._defaultLocales = this._defaultLocales || {};
- for (var _i = 0, _Object$entries = Object.entries(localesToExtend); _i < _Object$entries.length; _i++) {
- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
- formatName = _Object$entries$_i[0],
- func = _Object$entries$_i[1];
- var defaultLocale = this._defaultLocales.hasOwnProperty(formatName) ? this._defaultLocales[formatName] : BootstrapTable.DEFAULTS[formatName];
- if (this.options[formatName] !== defaultLocale) {
- continue;
- }
- this.options[formatName] = func;
- this._defaultLocales[formatName] = func;
+ var $tr = $td.parent();
+ var $cardViewArr = $(e.target).parents('.card-views').children();
+ var $cardViewTarget = $(e.target).parents('.card-view');
+ var rowIndex = $tr.data('index');
+ var item = _this.data[rowIndex];
+ var index = _this.options.cardView ? $cardViewArr.index($cardViewTarget) : $td[0].cellIndex;
+ var fields = _this.getVisibleFields();
+ var field = fields[index - Utils.getDetailViewIndexOffset(_this.options)];
+ var column = _this.columns[_this.fieldsColumnsIndex[field]];
+ var value = Utils.getItemField(item, field, _this.options.escape, column.escape);
+ _this.trigger(e.type === 'click' ? 'click-cell' : 'dbl-click-cell', field, value, item, $td);
+ _this.trigger(e.type === 'click' ? 'click-row' : 'dbl-click-row', item, $tr, field);
+
+ // if click to select - then trigger the checkbox/radio click
+ if (e.type === 'click' && _this.options.clickToSelect && column.clickToSelect && !Utils.calculateObjectValue(_this.options, _this.options.ignoreClickToSelectOn, [e.target])) {
+ var $selectItem = $tr.find(Utils.sprintf('[name="%s"]', _this.options.selectItemName));
+ if ($selectItem.length) {
+ $selectItem[0].click();
}
}
- }
- }, {
- key: "initContainer",
- value: function initContainer() {
- var topPagination = ['top', 'both'].includes(this.options.paginationVAlign) ? '<div class="fixed-table-pagination clearfix"></div>' : '';
- var bottomPagination = ['bottom', 'both'].includes(this.options.paginationVAlign) ? '<div class="fixed-table-pagination"></div>' : '';
- var loadingTemplate = Utils.calculateObjectValue(this.options, this.options.loadingTemplate, [this.options.formatLoadingMessage()]);
- this.$container = $("\n <div class=\"bootstrap-table ".concat(this.constants.theme, "\">\n <div class=\"fixed-table-toolbar\"></div>\n ").concat(topPagination, "\n <div class=\"fixed-table-container\">\n <div class=\"fixed-table-header\"><table></table></div>\n <div class=\"fixed-table-body\">\n <div class=\"fixed-table-loading\">\n ").concat(loadingTemplate, "\n </div>\n </div>\n <div class=\"fixed-table-footer\"></div>\n </div>\n ").concat(bottomPagination, "\n </div>\n "));
- this.$container.insertAfter(this.$el);
- this.$tableContainer = this.$container.find('.fixed-table-container');
- this.$tableHeader = this.$container.find('.fixed-table-header');
- this.$tableBody = this.$container.find('.fixed-table-body');
- this.$tableLoading = this.$container.find('.fixed-table-loading');
- this.$tableFooter = this.$el.find('tfoot');
- // checking if custom table-toolbar exists or not
- if (this.options.buttonsToolbar) {
- this.$toolbar = $('body').find(this.options.buttonsToolbar);
- } else {
- this.$toolbar = this.$container.find('.fixed-table-toolbar');
+ if (e.type === 'click' && _this.options.detailViewByClick) {
+ _this.toggleDetailView(rowIndex, _this.header.detailFormatters[_this.fieldsColumnsIndex[field]]);
}
- this.$pagination = this.$container.find('.fixed-table-pagination');
- this.$tableBody.append(this.$el);
- this.$container.after('<div class="clearfix"></div>');
- this.$el.addClass(this.options.classes);
- this.$tableLoading.addClass(this.options.classes);
- if (this.options.height) {
- this.$tableContainer.addClass('fixed-height');
- if (this.options.showFooter) {
- this.$tableContainer.addClass('has-footer');
- }
- if (this.options.classes.split(' ').includes('table-bordered')) {
- this.$tableBody.append('<div class="fixed-table-border"></div>');
- this.$tableBorder = this.$tableBody.find('.fixed-table-border');
- this.$tableLoading.addClass('fixed-table-border');
+ }).off('mousedown').on('mousedown', function (e) {
+ // https://github.com/jquery/jquery/issues/1741
+ _this.multipleSelectRowCtrlKey = e.ctrlKey || e.metaKey;
+ _this.multipleSelectRowShiftKey = e.shiftKey;
+ });
+ this.$body.find('> tr[data-index] > td > .detail-icon').off('click').on('click', function (e) {
+ e.preventDefault();
+ _this.toggleDetailView($(e.currentTarget).parent().parent().data('index'));
+ return false;
+ });
+ this.$selectItem = this.$body.find(Utils.sprintf('[name="%s"]', this.options.selectItemName));
+ this.$selectItem.off('click').on('click', function (e) {
+ e.stopImmediatePropagation();
+ var $this = $(e.currentTarget);
+ _this._toggleCheck($this.prop('checked'), $this.data('index'));
+ });
+ this.header.events.forEach(function (_events, i) {
+ var events = _events;
+ if (!events) {
+ return;
+ }
+ // fix bug, if events is defined with namespace
+ if (typeof events === 'string') {
+ events = Utils.calculateObjectValue(null, events);
+ }
+ if (!events) {
+ throw new Error("Unknown event in the scope: ".concat(_events));
+ }
+ var field = _this.header.fields[i];
+ var fieldIndex = _this.getVisibleFields().indexOf(field);
+ if (fieldIndex === -1) {
+ return;
+ }
+ fieldIndex += Utils.getDetailViewIndexOffset(_this.options);
+ var _loop = function _loop(key) {
+ if (!events.hasOwnProperty(key)) {
+ return 1; // continue
}
- this.$tableFooter = this.$container.find('.fixed-table-footer');
+ var event = events[key];
+ _this.$body.find('>tr:not(.no-records-found)').each(function (i, tr) {
+ var $tr = $(tr);
+ var $td = $tr.find(_this.options.cardView ? '.card-views>.card-view' : '>td').eq(fieldIndex);
+ var index = key.indexOf(' ');
+ var name = key.substring(0, index);
+ var el = key.substring(index + 1);
+ $td.find(el).off(name).on(name, function (e) {
+ var index = $tr.data('index');
+ var row = _this.data[index];
+ var value = row[field];
+ event.apply(_this, [e, value, row, index]);
+ });
+ });
+ };
+ for (var key in events) {
+ if (_loop(key)) continue;
}
+ });
+ },
+ initHiddenRows: function initHiddenRows() {
+ this.hiddenRows = [];
+ },
+ // eslint-disable-next-line no-unused-vars
+ initRow: function initRow(item, i, data, trFragments) {
+ var _this2 = this;
+ if (Utils.findIndex(this.hiddenRows, item) > -1) {
+ return;
}
- }, {
- key: "initTable",
- value: function initTable() {
- var _this = this;
- var columns = [];
- this.$header = this.$el.find('>thead');
- if (!this.$header.length) {
- this.$header = $("<thead class=\"".concat(this.options.theadClasses, "\"></thead>")).appendTo(this.$el);
- } else if (this.options.theadClasses) {
- this.$header.addClass(this.options.theadClasses);
- }
- this._headerTrClasses = [];
- this._headerTrStyles = [];
- this.$header.find('tr').each(function (i, el) {
- var $tr = $(el);
- var column = [];
- $tr.find('th').each(function (i, el) {
- var $th = $(el);
-
- // #2014: getFieldIndex and elsewhere assume this is string, causes issues if not
- if (typeof $th.data('field') !== 'undefined') {
- $th.data('field', "".concat($th.data('field')));
- }
- var _data = Object.assign({}, $th.data());
- for (var key in _data) {
- if ($.fn.bootstrapTable.columnDefaults.hasOwnProperty(key)) {
- delete _data[key];
- }
- }
- column.push(Utils.extend({}, {
- _data: Utils.getRealDataAttr(_data),
- title: $th.html(),
- class: $th.attr('class'),
- titleTooltip: $th.attr('title'),
- rowspan: $th.attr('rowspan') ? +$th.attr('rowspan') : undefined,
- colspan: $th.attr('colspan') ? +$th.attr('colspan') : undefined,
- scope: $th.attr('scope') ? $th.attr('scope') : undefined
- }, $th.data()));
- });
- columns.push(column);
- if ($tr.attr('class')) {
- _this._headerTrClasses.push($tr.attr('class'));
+ var style = Utils.calculateObjectValue(this.options, this.options.rowStyle, [item, i], {});
+ var attributes = Utils.calculateObjectValue(this.options, this.options.rowAttributes, [item, i], {});
+ var data_ = {};
+ if (item._data && !Utils.isEmptyObject(item._data)) {
+ for (var _i = 0, _Object$entries = Object.entries(item._data); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ k = _Object$entries$_i[0],
+ v = _Object$entries$_i[1];
+ // ignore data-index
+ if (k === 'index') {
+ return;
}
- if ($tr.attr('style')) {
- _this._headerTrStyles.push($tr.attr('style'));
+ data_["data-".concat(k)] = _typeof(v) === 'object' ? JSON.stringify(v) : v;
+ }
+ }
+ var tr = Utils.h('tr', _objectSpread2(_objectSpread2({
+ id: Array.isArray(item) ? undefined : item._id,
+ class: style && style.classes || (Array.isArray(item) ? undefined : item._class),
+ style: style && style.css || (Array.isArray(item) ? undefined : item._style),
+ 'data-index': i,
+ 'data-uniqueid': Utils.getItemField(item, this.options.uniqueId, false),
+ 'data-has-detail-view': this.options.detailView && Utils.calculateObjectValue(null, this.options.detailFilter, [i, item]) ? 'true' : undefined
+ }, attributes), data_));
+ var trChildren = [];
+ var detailViewTemplate = '';
+ if (Utils.hasDetailViewIcon(this.options)) {
+ detailViewTemplate = Utils.h('td');
+ if (Utils.calculateObjectValue(null, this.options.detailFilter, [i, item])) {
+ detailViewTemplate.append(Utils.h('a', {
+ class: 'detail-icon',
+ href: '#',
+ html: Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailOpen)
+ }));
+ }
+ }
+ if (detailViewTemplate && this.options.detailViewAlign !== 'right') {
+ trChildren.push(detailViewTemplate);
+ }
+ var tds = this.header.fields.map(function (field, j) {
+ var column = _this2.columns[j];
+ var value_ = Utils.getItemField(item, field, _this2.options.escape, column.escape);
+ var value;
+ var attrs = {
+ class: _this2.header.classes[j] ? [_this2.header.classes[j]] : [],
+ style: _this2.header.styles[j] ? [_this2.header.styles[j]] : []
+ };
+ var cardViewClass = "card-view card-view-field-".concat(field);
+ if ((_this2.fromHtml || _this2.autoMergeCells) && typeof value_ === 'undefined') {
+ if (!column.checkbox && !column.radio) {
+ return;
}
- });
- if (!Array.isArray(this.options.columns[0])) {
- this.options.columns = [this.options.columns];
- }
- this.options.columns = Utils.extend(true, [], columns, this.options.columns);
- this.columns = [];
- this.fieldsColumnsIndex = [];
- if (this.optionsColumnsChanged !== false) {
- Utils.setFieldIndex(this.options.columns);
- }
- this.options.columns.forEach(function (columns, i) {
- columns.forEach(function (_column, j) {
- var column = Utils.extend({}, BootstrapTable.COLUMN_DEFAULTS, _column, {
- passed: _column
- });
- if (typeof column.fieldIndex !== 'undefined') {
- _this.columns[column.fieldIndex] = column;
- _this.fieldsColumnsIndex[column.field] = column.fieldIndex;
- }
- _this.options.columns[i][j] = column;
- });
- });
+ }
+ if (!column.visible) {
+ return;
+ }
+ if (_this2.options.cardView && !column.cardVisible) {
+ return;
+ }
- // if options.data is setting, do not process tbody and tfoot data
- if (!this.options.data.length) {
- var htmlData = Utils.trToData(this.columns, this.$el.find('>tbody>tr'));
- if (htmlData.length) {
- this.options.data = htmlData;
- this.fromHtml = true;
+ // handle class, style, id, rowspan, colspan and title of td
+ for (var _i2 = 0, _arr = ['class', 'style', 'id', 'rowspan', 'colspan', 'title']; _i2 < _arr.length; _i2++) {
+ var attr = _arr[_i2];
+ var _value = item["_".concat(field, "_").concat(attr)];
+ if (!_value) {
+ continue;
+ }
+ if (attrs[attr]) {
+ attrs[attr].push(_value);
+ } else {
+ attrs[attr] = _value;
}
}
- if (!(this.options.pagination && this.options.sidePagination !== 'server')) {
- this.footerData = Utils.trToData(this.columns, this.$el.find('>tfoot>tr'));
+ var cellStyle = Utils.calculateObjectValue(_this2.header, _this2.header.cellStyles[j], [value_, item, i, field], {});
+ if (cellStyle.classes) {
+ attrs.class.push(cellStyle.classes);
}
- if (this.footerData) {
- this.$el.find('tfoot').html('<tr></tr>');
+ if (cellStyle.css) {
+ attrs.style.push(cellStyle.css);
}
- if (!this.options.showFooter || this.options.cardView) {
- this.$tableFooter.hide();
- } else {
- this.$tableFooter.show();
+ value = Utils.calculateObjectValue(column, _this2.header.formatters[j], [value_, item, i, field], value_);
+ if (!(column.checkbox || column.radio)) {
+ value = typeof value === 'undefined' || value === null ? _this2.options.undefinedText : value;
}
- }
- }, {
- key: "initHeader",
- value: function initHeader() {
- var _this2 = this;
- var visibleColumns = {};
- var headerHtml = [];
- this.header = {
- fields: [],
- styles: [],
- classes: [],
- formatters: [],
- detailFormatters: [],
- events: [],
- sorters: [],
- sortNames: [],
- cellStyles: [],
- searchables: []
- };
- Utils.updateFieldGroup(this.options.columns, this.columns);
- this.options.columns.forEach(function (columns, i) {
- var html = [];
- html.push("<tr".concat(Utils.sprintf(' class="%s"', _this2._headerTrClasses[i]), " ").concat(Utils.sprintf(' style="%s"', _this2._headerTrStyles[i]), ">"));
- var detailViewTemplate = '';
- if (i === 0 && Utils.hasDetailViewIcon(_this2.options)) {
- var rowspan = _this2.options.columns.length > 1 ? " rowspan=\"".concat(_this2.options.columns.length, "\"") : '';
- detailViewTemplate = "<th class=\"detail\"".concat(rowspan, ">\n <div class=\"fht-cell\"></div>\n </th>");
- }
- if (detailViewTemplate && _this2.options.detailViewAlign !== 'right') {
- html.push(detailViewTemplate);
+ if (column.searchable && _this2.searchText && _this2.options.searchHighlight && !(column.checkbox || column.radio)) {
+ var searchText = _this2.searchText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
+ if (_this2.options.searchAccentNeutralise && typeof value === 'string') {
+ var indexRegex = new RegExp("".concat(Utils.normalizeAccent(searchText)), 'gmi');
+ var match = indexRegex.exec(Utils.normalizeAccent(value));
+ if (match) {
+ searchText = value.substring(match.index, match.index + searchText.length);
+ }
}
- columns.forEach(function (column, j) {
- var class_ = Utils.sprintf(' class="%s"', column.class);
- var unitWidth = column.widthUnit;
- var width = parseFloat(column.width);
- var columnHalign = column.halign ? column.halign : column.align;
- var halign = Utils.sprintf('text-align: %s; ', columnHalign);
- var align = Utils.sprintf('text-align: %s; ', column.align);
- var style = Utils.sprintf('vertical-align: %s; ', column.valign);
- style += Utils.sprintf('width: %s; ', (column.checkbox || column.radio) && !width ? !column.showSelectTitle ? '36px' : undefined : width ? width + unitWidth : undefined);
- if (typeof column.fieldIndex === 'undefined' && !column.visible) {
+ var defValue = Utils.replaceSearchMark(value, searchText);
+ value = Utils.calculateObjectValue(column, column.searchHighlightFormatter, [value, _this2.searchText], defValue);
+ }
+ if (item["_".concat(field, "_data")] && !Utils.isEmptyObject(item["_".concat(field, "_data")])) {
+ for (var _i3 = 0, _Object$entries2 = Object.entries(item["_".concat(field, "_data")]); _i3 < _Object$entries2.length; _i3++) {
+ var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i3], 2),
+ _k = _Object$entries2$_i[0],
+ _v = _Object$entries2$_i[1];
+ // ignore data-index
+ if (_k === 'index') {
return;
}
- var headerStyle = Utils.calculateObjectValue(null, _this2.options.headerStyle, [column]);
- var csses = [];
- var data_ = [];
- var classes = '';
- if (headerStyle && headerStyle.css) {
- for (var _i2 = 0, _Object$entries2 = Object.entries(headerStyle.css); _i2 < _Object$entries2.length; _i2++) {
- var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),
- key = _Object$entries2$_i[0],
- value = _Object$entries2$_i[1];
- csses.push("".concat(key, ": ").concat(value));
- }
- }
- if (headerStyle && headerStyle.classes) {
- classes = Utils.sprintf(' class="%s"', column['class'] ? [column['class'], headerStyle.classes].join(' ') : headerStyle.classes);
- }
- if (typeof column.fieldIndex !== 'undefined') {
- _this2.header.fields[column.fieldIndex] = column.field;
- _this2.header.styles[column.fieldIndex] = align + style;
- _this2.header.classes[column.fieldIndex] = column.class;
- _this2.header.formatters[column.fieldIndex] = column.formatter;
- _this2.header.detailFormatters[column.fieldIndex] = column.detailFormatter;
- _this2.header.events[column.fieldIndex] = column.events;
- _this2.header.sorters[column.fieldIndex] = column.sorter;
- _this2.header.sortNames[column.fieldIndex] = column.sortName;
- _this2.header.cellStyles[column.fieldIndex] = column.cellStyle;
- _this2.header.searchables[column.fieldIndex] = column.searchable;
- if (!column.visible) {
- return;
- }
- if (_this2.options.cardView && !column.cardVisible) {
- return;
- }
- visibleColumns[column.field] = column;
- }
- if (Object.keys(column._data || {}).length > 0) {
- for (var _i3 = 0, _Object$entries3 = Object.entries(column._data); _i3 < _Object$entries3.length; _i3++) {
- var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i3], 2),
- k = _Object$entries3$_i[0],
- v = _Object$entries3$_i[1];
- data_.push("data-".concat(k, "='").concat(_typeof(v) === 'object' ? JSON.stringify(v) : v, "'"));
- }
- }
- html.push("<th".concat(Utils.sprintf(' title="%s"', column.titleTooltip)), column.checkbox || column.radio ? Utils.sprintf(' class="bs-checkbox %s"', column['class'] || '') : classes || class_, Utils.sprintf(' style="%s"', halign + style + csses.join('; ') || undefined), Utils.sprintf(' rowspan="%s"', column.rowspan), Utils.sprintf(' colspan="%s"', column.colspan), Utils.sprintf(' scope="%s"', column.scope), Utils.sprintf(' data-field="%s"', column.field),
- // If `column` is not the first element of `this.options.columns[0]`, then className 'data-not-first-th' should be added.
- j === 0 && i > 0 ? ' data-not-first-th' : '', data_.length > 0 ? data_.join(' ') : '', '>');
- html.push(Utils.sprintf('<div class="th-inner %s">', _this2.options.sortable && column.sortable ? "sortable".concat(columnHalign === 'center' ? ' sortable-center' : '', " both") : ''));
- var text = _this2.options.escape && _this2.options.escapeTitle ? Utils.escapeHTML(column.title) : column.title;
- var title = text;
- if (column.checkbox) {
- text = '';
- if (!_this2.options.singleSelect && _this2.options.checkboxHeader) {
- text = '<label><input name="btSelectAll" type="checkbox" /><span></span></label>';
- }
- _this2.header.stateField = column.field;
- }
- if (column.radio) {
- text = '';
- _this2.header.stateField = column.field;
- }
- if (!text && column.showSelectTitle) {
- text += title;
- }
- html.push(text);
- html.push('</div>');
- html.push('<div class="fht-cell"></div>');
- html.push('</div>');
- html.push('</th>');
+ attrs["data-".concat(_k)] = _v;
+ }
+ }
+ if (column.checkbox || column.radio) {
+ var type = column.checkbox ? 'checkbox' : 'radio';
+ var isChecked = Utils.isObject(value) && value.hasOwnProperty('checked') ? value.checked : (value === true || value_) && value !== false;
+ var isDisabled = !column.checkboxEnabled || value && value.disabled;
+ var valueNodes = _this2.header.formatters[j] && (typeof value === 'string' || Utils.isDomNode(value)) ? Utils.htmlToNodes(value) : [];
+ item[_this2.header.stateField] = value === true || !!value_ || value && value.checked;
+ var inputAttrs = {
+ 'data-index': i,
+ name: _this2.options.selectItemName,
+ type: type,
+ value: item[_this2.options.idField],
+ checked: isChecked ? 'checked' : undefined,
+ disabled: isDisabled ? 'disabled' : undefined
+ };
+ var config = Utils.getCheckboxVdomConfig({
+ inputAttrs: inputAttrs,
+ formCheckClass: _this2.constants.classes.formCheck,
+ formCheckInputClass: _this2.constants.classes.formCheckInput
});
- if (detailViewTemplate && _this2.options.detailViewAlign === 'right') {
- html.push(detailViewTemplate);
+ var wrapperChildNodes = [Utils.h('input', config.inputAttrs)];
+ if (config.hasSpan) {
+ wrapperChildNodes.push(Utils.h('span'));
}
- html.push('</tr>');
- if (html.length > 3) {
- headerHtml.push(html.join(''));
+ var children = [Utils.h(config.wrapperTag, config.wrapperAttrs, wrapperChildNodes)].concat(_toConsumableArray(valueNodes));
+ return Utils.h(_this2.options.cardView ? 'div' : 'td', {
+ class: [_this2.options.cardView ? cardViewClass : 'bs-checkbox', column.class],
+ style: _this2.options.cardView ? undefined : attrs.style
+ }, children);
+ }
+ if (_this2.options.cardView) {
+ if (_this2.options.smartDisplay && value === '') {
+ return Utils.h('div', {
+ class: cardViewClass
+ });
}
- });
- this.$header.html(headerHtml.join(''));
- this.$header.find('th[data-field]').each(function (i, el) {
- $(el).data(visibleColumns[$(el).data('field')]);
- });
- this.$container.off('click', '.th-inner').on('click', '.th-inner', function (e) {
- var $this = $(e.currentTarget);
- if (_this2.options.detailView && !$this.parent().hasClass('bs-checkbox')) {
- if ($this.closest('.bootstrap-table')[0] !== _this2.$container[0]) {
- return false;
+ var cardTitle = _this2.options.showHeader ? Utils.h('span', {
+ class: ['card-view-title', cellStyle.classes],
+ style: attrs.style,
+ html: Utils.getFieldTitle(_this2.columns, field)
+ }) : '';
+ return Utils.h('div', {
+ class: cardViewClass
+ }, [cardTitle, Utils.h('span', {
+ class: ['card-view-value', cellStyle.classes],
+ style: attrs.style
+ }, _toConsumableArray(Utils.htmlToNodes(value)))]);
+ }
+ return Utils.h('td', attrs, _toConsumableArray(Utils.htmlToNodes(value)));
+ }).filter(function (x) {
+ return x;
+ });
+ trChildren.push.apply(trChildren, _toConsumableArray(tds));
+ if (detailViewTemplate && this.options.detailViewAlign === 'right') {
+ trChildren.push(detailViewTemplate);
+ }
+ if (this.options.cardView) {
+ tr.append(Utils.h('td', {
+ colspan: this.header.fields.length
+ }, [Utils.h('div', {
+ class: 'card-views'
+ }, trChildren)]));
+ } else {
+ tr.append.apply(tr, trChildren);
+ }
+ return tr;
+ },
+ initBody: function initBody(fixedScroll, updatedUid) {
+ var _this3 = this;
+ var data = this.getData();
+ this.trigger('pre-body', data);
+ this.$body = this.$el.find('>tbody');
+ if (!this.$body.length) {
+ this.$body = $('<tbody></tbody>').appendTo(this.$el);
+ }
+
+ // Fix #389 Bootstrap-table-flatJSON is not working
+ if (!this.options.pagination || this.options.sidePagination === 'server') {
+ this.pageFrom = 1;
+ this.pageTo = data.length;
+ }
+ var rows = [];
+ var trFragments = $(document.createDocumentFragment());
+ var hasTr = false;
+ var toExpand = [];
+ this.autoMergeCells = Utils.checkAutoMergeCells(data.slice(this.pageFrom - 1, this.pageTo));
+ for (var i = this.pageFrom - 1; i < this.pageTo; i++) {
+ var item = data[i];
+ var tr = this.initRow(item, i, data, trFragments);
+ hasTr = hasTr || !!tr;
+ if (tr && tr instanceof Node) {
+ var uniqueId = this.options.uniqueId;
+ var toAppend = [tr];
+ if (uniqueId && item.hasOwnProperty(uniqueId)) {
+ var itemUniqueId = item[uniqueId];
+ var oldTr = this.$body.find(Utils.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]', itemUniqueId));
+ var oldTrNext = oldTr.next();
+ if (oldTrNext.is('tr.detail-view')) {
+ toExpand.push(i);
+ if (!updatedUid || itemUniqueId !== updatedUid) {
+ toAppend.push(oldTrNext[0]);
+ }
}
}
- if (_this2.options.sortable && $this.parent().data().sortable) {
- _this2.onSort(e);
+ if (!this.options.virtualScroll) {
+ trFragments.append(toAppend);
+ } else {
+ rows.push($('<div>').html(toAppend).html());
}
- });
- var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id'));
- $(window).off(resizeEvent);
- if (!this.options.showHeader || this.options.cardView) {
- this.$header.hide();
- this.$tableHeader.hide();
- this.$tableLoading.css('top', 0);
- } else {
- this.$header.show();
- this.$tableHeader.show();
- this.$tableLoading.css('top', this.$header.outerHeight() + 1);
- // Assign the correct sortable arrow
- this.getCaret();
- $(window).on(resizeEvent, function () {
- return _this2.resetView();
- });
}
- this.$selectAll = this.$header.find('[name="btSelectAll"]');
- this.$selectAll.off('click').on('click', function (e) {
- e.stopPropagation();
- var checked = $(e.currentTarget).prop('checked');
- _this2[checked ? 'checkAll' : 'uncheckAll']();
- _this2.updateSelected();
+ }
+ this.$el.removeAttr('role');
+
+ // show no records
+ if (!hasTr) {
+ this.$body.html("<tr class=\"no-records-found\">".concat(Utils.sprintf('<td colspan="%s">%s</td>', this.getVisibleFields().length + Utils.getDetailViewIndexOffset(this.options), this.options.formatNoMatches()), "</tr>"));
+ this.$el.attr('role', 'presentation');
+ } else if (!this.options.virtualScroll) {
+ this.$body.html(trFragments);
+ } else {
+ if (this.virtualScroll) {
+ this.virtualScroll.destroy();
+ }
+ this.virtualScroll = new VirtualScroll({
+ rows: rows,
+ fixedScroll: fixedScroll,
+ scrollEl: this.$tableBody[0],
+ contentEl: this.$body[0],
+ itemHeight: this.options.virtualScrollItemHeight,
+ callback: function callback(startIndex, endIndex) {
+ _this3.fitHeader();
+ _this3.initBodyEvent();
+ _this3.trigger('virtual-scroll', startIndex, endIndex);
+ }
});
}
- }, {
- key: "initData",
- value: function initData(data, type) {
- if (type === 'append') {
- this.options.data = this.options.data.concat(data);
- } else if (type === 'prepend') {
- this.options.data = [].concat(data).concat(this.options.data);
- } else {
- data = data || Utils.deepCopy(this.options.data);
- this.options.data = Array.isArray(data) ? data : data[this.options.dataField];
- }
- this.data = _toConsumableArray(this.options.data);
- if (this.options.sortReset) {
- this.unsortedData = _toConsumableArray(this.data);
- }
- if (this.options.sidePagination === 'server') {
- return;
- }
- this.initSort();
+ toExpand.forEach(function (index) {
+ _this3.expandRow(index);
+ });
+ if (!fixedScroll) {
+ this.scrollTo(0);
}
- }, {
- key: "initSort",
- value: function initSort() {
- var _this3 = this;
- var name = this.options.sortName;
- var order = this.options.sortOrder === 'desc' ? -1 : 1;
- var index = this.header.fields.indexOf(this.options.sortName);
- var timeoutId = 0;
- if (index !== -1) {
- if (this.options.sortStable) {
- this.data.forEach(function (row, i) {
- if (!row.hasOwnProperty('_position')) {
- row._position = i;
- }
- });
- }
- if (this.options.customSort) {
- Utils.calculateObjectValue(this.options, this.options.customSort, [this.options.sortName, this.options.sortOrder, this.data]);
- } else {
- this.data.sort(function (a, b) {
- if (_this3.header.sortNames[index]) {
- name = _this3.header.sortNames[index];
- }
- var aa = Utils.getItemField(a, name, _this3.options.escape);
- var bb = Utils.getItemField(b, name, _this3.options.escape);
- var value = Utils.calculateObjectValue(_this3.header, _this3.header.sorters[index], [aa, bb, a, b]);
- if (value !== undefined) {
- if (_this3.options.sortStable && value === 0) {
- return order * (a._position - b._position);
- }
- return order * value;
- }
- return Utils.sort(aa, bb, order, _this3.options, a._position, b._position);
- });
- }
- if (this.options.sortClass !== undefined) {
- clearTimeout(timeoutId);
- timeoutId = setTimeout(function () {
- _this3.$el.removeClass(_this3.options.sortClass);
- var index = _this3.$header.find("[data-field=\"".concat(_this3.options.sortName, "\"]")).index();
- _this3.$el.find("tr td:nth-child(".concat(index + 1, ")")).addClass(_this3.options.sortClass);
- }, 250);
- }
- } else if (this.options.sortReset) {
- this.data = _toConsumableArray(this.unsortedData);
- }
+ this.initBodyEvent();
+ this.initFooter();
+ this.resetView();
+ this.updateSelected();
+ if (this.options.sidePagination !== 'server') {
+ this.options.totalRows = data.length;
}
- }, {
- key: "sortReset",
- value: function sortReset() {
- this.options.sortName = undefined;
- this.options.sortOrder = undefined;
- this._sort();
+ this.trigger('post-body', data);
+ },
+ resetView: function resetView(params) {
+ var padding = 0;
+ if (params && params.height) {
+ this.options.height = params.height;
}
- }, {
- key: "sortBy",
- value: function sortBy(params) {
- this.options.sortName = params.field;
- this.options.sortOrder = params.hasOwnProperty('sortOrder') ? params.sortOrder : 'asc';
- this._sort();
+ this.$tableContainer.toggleClass('has-card-view', this.options.cardView);
+ if (this.options.height) {
+ var fixedBody = this.$tableBody.get(0);
+ this.hasScrollBar = fixedBody.scrollWidth > fixedBody.clientWidth;
+ }
+ if (!this.options.cardView && this.options.showHeader && this.options.height) {
+ this.$tableHeader.show();
+ this.resetHeader();
+ padding += this.$header.outerHeight(true) + 1;
+ } else {
+ this.$tableHeader.hide();
+ this.trigger('post-header');
}
- }, {
- key: "onSort",
- value: function onSort(_ref) {
- var type = _ref.type,
- currentTarget = _ref.currentTarget;
- var $this = type === 'keypress' ? $(currentTarget) : $(currentTarget).parent();
- var $this_ = this.$header.find('th').eq($this.index());
- this.$header.add(this.$header_).find('span.order').remove();
- if (this.options.sortName === $this.data('field')) {
- var currentSortOrder = this.options.sortOrder;
- var initialSortOrder = this.columns[this.fieldsColumnsIndex[$this.data('field')]].sortOrder || this.columns[this.fieldsColumnsIndex[$this.data('field')]].order;
- if (currentSortOrder === undefined) {
- this.options.sortOrder = 'asc';
- } else if (currentSortOrder === 'asc') {
- this.options.sortOrder = this.options.sortReset ? initialSortOrder === 'asc' ? 'desc' : undefined : 'desc';
- } else if (this.options.sortOrder === 'desc') {
- this.options.sortOrder = this.options.sortReset ? initialSortOrder === 'desc' ? 'asc' : undefined : 'asc';
- }
- if (this.options.sortOrder === undefined) {
- this.options.sortName = undefined;
- }
- } else {
- this.options.sortName = $this.data('field');
- if (this.options.rememberOrder) {
- this.options.sortOrder = $this.data('order') === 'asc' ? 'desc' : 'asc';
- } else {
- this.options.sortOrder = this.columns[this.fieldsColumnsIndex[$this.data('field')]].sortOrder || this.columns[this.fieldsColumnsIndex[$this.data('field')]].order;
+ if (!this.options.cardView && this.options.showFooter) {
+ this.$tableFooter.show();
+ this.fitFooter();
+ if (this.options.height) {
+ padding += this.$tableFooter.outerHeight(true);
+ }
+ }
+ if (this.$container.hasClass('fullscreen')) {
+ this.$tableContainer.css('height', '');
+ this.$tableContainer.css('width', '');
+ } else if (this.options.height) {
+ if (this.$tableBorder) {
+ this.$tableBorder.css('width', '');
+ this.$tableBorder.css('height', '');
+ }
+ var toolbarHeight = this.$toolbar.outerHeight(true);
+ var paginationHeight = this.$pagination.outerHeight(true);
+ var height = this.options.height - toolbarHeight - paginationHeight;
+ var $bodyTable = this.$tableBody.find('>table');
+ var tableHeight = $bodyTable.outerHeight();
+ this.$tableContainer.css('height', "".concat(height, "px"));
+ if (this.$tableBorder && $bodyTable.is(':visible')) {
+ var tableBorderHeight = height - tableHeight - 2;
+ if (this.hasScrollBar) {
+ tableBorderHeight -= Utils.getScrollBarWidth();
}
+ this.$tableBorder.css('width', "".concat($bodyTable.outerWidth(), "px"));
+ this.$tableBorder.css('height', "".concat(tableBorderHeight, "px"));
}
- $this.add($this_).data('order', this.options.sortOrder);
-
- // Assign the correct sortable arrow
- this.getCaret();
- this._sort();
}
- }, {
- key: "_sort",
- value: function _sort() {
- if (this.options.sidePagination === 'server' && this.options.serverSort) {
- this.options.pageNumber = 1;
- this.trigger('sort', this.options.sortName, this.options.sortOrder);
- this.initServer(this.options.silentSort);
- return;
- }
- if (this.options.pagination && this.options.sortResetPage) {
- this.options.pageNumber = 1;
- this.initPagination();
- }
- this.trigger('sort', this.options.sortName, this.options.sortOrder);
- this.initSort();
- this.initBody();
+ if (this.options.cardView) {
+ // remove the element css
+ this.$el.css('margin-top', '0');
+ this.$tableContainer.css('padding-bottom', '0');
+ this.$tableFooter.hide();
+ } else {
+ // Assign the correct sortable arrow
+ this.resetCaret();
+ this.$tableContainer.css('padding-bottom', "".concat(padding, "px"));
}
- }, {
- key: "initToolbar",
- value: function initToolbar() {
- var _this4 = this;
- var opts = this.options;
- var html = [];
- var timeoutId = 0;
- var $keepOpen;
- var switchableCount = 0;
- if (this.$toolbar.find('.bs-bars').children().length) {
- $('body').append($(opts.toolbar));
- }
- this.$toolbar.html('');
- if (typeof opts.toolbar === 'string' || _typeof(opts.toolbar) === 'object') {
- $(Utils.sprintf('<div class="bs-bars %s-%s"></div>', this.constants.classes.pull, opts.toolbarAlign)).appendTo(this.$toolbar).append($(opts.toolbar));
- }
-
- // showColumns, showToggle, showRefresh
- html = ["<div class=\"".concat(['columns', "columns-".concat(opts.buttonsAlign), this.constants.classes.buttonsGroup, "".concat(this.constants.classes.pull, "-").concat(opts.buttonsAlign)].join(' '), "\">")];
- if (typeof opts.buttonsOrder === 'string') {
- opts.buttonsOrder = opts.buttonsOrder.replace(/\[|\]| |'/g, '').split(',');
- }
- this.buttons = Object.assign(this.buttons, {
- paginationSwitch: {
- text: opts.pagination ? opts.formatPaginationSwitchUp() : opts.formatPaginationSwitchDown(),
- icon: opts.pagination ? opts.icons.paginationSwitchDown : opts.icons.paginationSwitchUp,
- render: false,
- event: this.togglePagination,
- attributes: {
- 'aria-label': opts.formatPaginationSwitch(),
- title: opts.formatPaginationSwitch()
- }
- },
- refresh: {
- text: opts.formatRefresh(),
- icon: opts.icons.refresh,
- render: false,
- event: this.refresh,
- attributes: {
- 'aria-label': opts.formatRefresh(),
- title: opts.formatRefresh()
- }
- },
- toggle: {
- text: opts.formatToggleOn(),
- icon: opts.icons.toggleOff,
- render: false,
- event: this.toggleView,
- attributes: {
- 'aria-label': opts.formatToggleOn(),
- title: opts.formatToggleOn()
- }
- },
- fullscreen: {
- text: opts.formatFullscreen(),
- icon: opts.icons.fullscreen,
- render: false,
- event: this.toggleFullscreen,
- attributes: {
- 'aria-label': opts.formatFullscreen(),
- title: opts.formatFullscreen()
- }
- },
- columns: {
- render: false,
- html: function html() {
- var html = [];
- html.push("<div class=\"keep-open ".concat(_this4.constants.classes.buttonsDropdown, "\">\n <button class=\"").concat(_this4.constants.buttonsClass, " dropdown-toggle\" type=\"button\" ").concat(_this4.constants.dataToggle, "=\"dropdown\"\n aria-label=\"").concat(opts.formatColumns(), "\" ").concat(opts.buttonsAttributeTitle, "=\"").concat(opts.formatColumns(), "\">\n ").concat(opts.showButtonIcons ? Utils.sprintf(_this4.constants.html.icon, opts.iconsPrefix, opts.icons.columns) : '', "\n ").concat(opts.showButtonText ? opts.formatColumns() : '', "\n ").concat(_this4.constants.html.dropdownCaret, "\n </button>\n ").concat(_this4.constants.html.toolbarDropdown[0]));
- if (opts.showColumnsSearch) {
- html.push(Utils.sprintf(_this4.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">', _this4.constants.classes.input, opts.formatSearch())));
- html.push(_this4.constants.html.toolbarDropdownSeparator);
- }
- if (opts.showColumnsToggleAll) {
- var allFieldsVisible = _this4.getVisibleColumns().length === _this4.columns.filter(function (column) {
- return !_this4.isSelectionColumn(column);
- }).length;
- html.push(Utils.sprintf(_this4.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>', allFieldsVisible ? 'checked="checked"' : '', opts.formatColumnsToggleAll())));
- html.push(_this4.constants.html.toolbarDropdownSeparator);
- }
- var visibleColumns = 0;
- _this4.columns.forEach(function (column) {
- if (column.visible) {
- visibleColumns++;
- }
- });
- _this4.columns.forEach(function (column, i) {
- if (_this4.isSelectionColumn(column)) {
- return;
- }
- if (opts.cardView && !column.cardVisible) {
- return;
- }
- var checked = column.visible ? ' checked="checked"' : '';
- var disabled = visibleColumns <= opts.minimumCountColumns && checked ? ' disabled="disabled"' : '';
- if (column.switchable) {
- html.push(Utils.sprintf(_this4.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>', column.field, i, checked, disabled, column.switchableLabel || column.title)));
- switchableCount++;
- }
- });
- html.push(_this4.constants.html.toolbarDropdown[1], '</div>');
- return html.join('');
- }
- }
+ this.trigger('reset-view');
+ },
+ showLoading: function showLoading() {
+ this.$tableLoading.toggleClass('open', true);
+ var fontSize = this.options.loadingFontSize;
+ if (this.options.loadingFontSize === 'auto') {
+ fontSize = this.$tableLoading.width() * 0.04;
+ fontSize = Math.max(12, fontSize);
+ fontSize = Math.min(32, fontSize);
+ fontSize = "".concat(fontSize, "px");
+ }
+ var $loadingWrap = this.$tableLoading.find('.loading-wrap');
+ if ($loadingWrap.length) {
+ $loadingWrap.css('font-size', fontSize);
+ } else {
+ this.$tableLoading.css('font-size', fontSize);
+ }
+ this.$tableLoading.find('.loading-text').css('font-size', fontSize);
+ },
+ hideLoading: function hideLoading() {
+ this.$tableLoading.toggleClass('open', false);
+ },
+ scrollTo: function scrollTo(params) {
+ var options = {
+ unit: 'px',
+ value: 0
+ };
+ if (_typeof(params) === 'object') {
+ options = Object.assign(options, params);
+ } else if (typeof params === 'string' && params === 'bottom') {
+ options.value = this.$tableBody[0].scrollHeight;
+ } else if (typeof params === 'string' || typeof params === 'number') {
+ options.value = params;
+ }
+ var scrollTo = options.value;
+ if (options.unit === 'rows') {
+ scrollTo = 0;
+ this.$body.find("> tr:lt(".concat(options.value, ")")).each(function (i, el) {
+ scrollTo += $(el).outerHeight(true);
});
- var buttonsHtml = {};
- for (var _i4 = 0, _Object$entries4 = Object.entries(this.buttons); _i4 < _Object$entries4.length; _i4++) {
- var _Object$entries4$_i = _slicedToArray(_Object$entries4[_i4], 2),
- buttonName = _Object$entries4$_i[0],
- buttonConfig = _Object$entries4$_i[1];
- var buttonHtml = void 0;
- if (buttonConfig.hasOwnProperty('html')) {
- if (typeof buttonConfig.html === 'function') {
- buttonHtml = buttonConfig.html();
- } else if (typeof buttonConfig.html === 'string') {
- buttonHtml = buttonConfig.html;
- }
- } else {
- var buttonClass = this.constants.buttonsClass;
- if (buttonConfig.hasOwnProperty('attributes') && buttonConfig.attributes.class) {
- buttonClass += " ".concat(buttonConfig.attributes.class);
- }
- buttonHtml = "<button class=\"".concat(buttonClass, "\" type=\"button\" name=\"").concat(buttonName, "\"");
- if (buttonConfig.hasOwnProperty('attributes')) {
- for (var _i5 = 0, _Object$entries5 = Object.entries(buttonConfig.attributes); _i5 < _Object$entries5.length; _i5++) {
- var _Object$entries5$_i = _slicedToArray(_Object$entries5[_i5], 2),
- attributeName = _Object$entries5$_i[0],
- value = _Object$entries5$_i[1];
- if (attributeName === 'class') {
- continue;
- }
- var attribute = attributeName === 'title' ? this.options.buttonsAttributeTitle : attributeName;
- buttonHtml += " ".concat(attribute, "=\"").concat(value, "\"");
- }
- }
- buttonHtml += '>';
- if (opts.showButtonIcons && buttonConfig.hasOwnProperty('icon')) {
- buttonHtml += "".concat(Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, buttonConfig.icon), " ");
- }
- if (opts.showButtonText && buttonConfig.hasOwnProperty('text')) {
- buttonHtml += buttonConfig.text;
- }
- buttonHtml += '</button>';
- }
- buttonsHtml[buttonName] = buttonHtml;
- var optionName = "show".concat(buttonName.charAt(0).toUpperCase()).concat(buttonName.substring(1));
- var showOption = opts[optionName];
- if ((!buttonConfig.hasOwnProperty('render') || buttonConfig.hasOwnProperty('render') && buttonConfig.render) && (showOption === undefined || showOption === true)) {
- opts[optionName] = true;
- }
- if (!opts.buttonsOrder.includes(buttonName)) {
- opts.buttonsOrder.push(buttonName);
+ }
+ this.$tableBody.scrollTop(scrollTo);
+ },
+ getScrollPosition: function getScrollPosition() {
+ return this.$tableBody.scrollTop();
+ },
+ showRow: function showRow(params) {
+ this._toggleRow(params, true);
+ },
+ hideRow: function hideRow(params) {
+ this._toggleRow(params, false);
+ },
+ _toggleRow: function _toggleRow(params, visible) {
+ var row;
+ if (params.hasOwnProperty('index')) {
+ row = this.getData()[params.index];
+ } else if (params.hasOwnProperty('uniqueId')) {
+ row = this.getRowByUniqueId(params.uniqueId);
+ }
+ if (!row) {
+ return;
+ }
+ var index = Utils.findIndex(this.hiddenRows, row);
+ if (!visible && index === -1) {
+ this.hiddenRows.push(row);
+ } else if (visible && index > -1) {
+ this.hiddenRows.splice(index, 1);
+ }
+ this.initBody(true);
+ this.initPagination();
+ },
+ getHiddenRows: function getHiddenRows(show) {
+ if (show) {
+ this.initHiddenRows();
+ this.initBody(true);
+ this.initPagination();
+ return;
+ }
+ var data = this.getData();
+ var rows = [];
+ var _iterator = _createForOfIteratorHelper(data),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var row = _step.value;
+ if (this.hiddenRows.includes(row)) {
+ rows.push(row);
}
}
-
- // Adding the button html to the final toolbar html when the showOption is true
- var _iterator = _createForOfIteratorHelper(opts.buttonsOrder),
- _step;
- try {
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
- var button = _step.value;
- var _showOption = opts["show".concat(button.charAt(0).toUpperCase()).concat(button.substring(1))];
- if (_showOption) {
- html.push(buttonsHtml[button]);
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ this.hiddenRows = rows;
+ return rows;
+ },
+ showColumn: function showColumn(field) {
+ this._toggleColumns(Array.isArray(field) ? field : [field], true, true);
+ },
+ hideColumn: function hideColumn(field) {
+ this._toggleColumns(Array.isArray(field) ? field : [field], false, true);
+ },
+ _toggleColumnVisibility: function _toggleColumnVisibility(index, checked) {
+ if (index === undefined || this.columns[index].visible === checked) {
+ return false;
+ }
+ this.columns[index].visible = checked;
+ return true;
+ },
+ _updateAfterColumnToggle: function _updateAfterColumnToggle(changedIndices, checked, needUpdate) {
+ this.initHeader();
+ this.initSearch();
+ this.initPagination();
+ this.initBody();
+ if (this.options.showColumns) {
+ var $items = this.$toolbar.find('.keep-open input:not(".toggle-all")').prop('disabled', false);
+ if (needUpdate) {
+ var _iterator2 = _createForOfIteratorHelper(changedIndices),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var index = _step2.value;
+ $items.filter(Utils.sprintf('[value="%s"]', index)).prop('checked', checked);
}
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
}
- } catch (err) {
- _iterator.e(err);
- } finally {
- _iterator.f();
}
- html.push('</div>');
-
- // Fix #188: this.showToolbar is for extensions
- if (this.showToolbar || html.length > 2) {
- this.$toolbar.append(html.join(''));
+ if ($items.filter(':checked').length <= this.options.minimumCountColumns) {
+ $items.filter(':checked').prop('disabled', true);
}
- var _loop = function _loop() {
- var _Object$entries6$_i = _slicedToArray(_Object$entries6[_i6], 2),
- buttonName = _Object$entries6$_i[0],
- buttonConfig = _Object$entries6$_i[1];
- if (buttonConfig.hasOwnProperty('event')) {
- if (typeof buttonConfig.event === 'function' || typeof buttonConfig.event === 'string') {
- var event = typeof buttonConfig.event === 'string' ? window[buttonConfig.event] : buttonConfig.event;
- _this4.$toolbar.find("button[name=\"".concat(buttonName, "\"]")).off('click').on('click', function () {
- return event.call(_this4);
- });
- return 1; // continue
- }
- var _loop2 = function _loop2() {
- var _Object$entries7$_i = _slicedToArray(_Object$entries7[_i7], 2),
- eventType = _Object$entries7$_i[0],
- eventFunction = _Object$entries7$_i[1];
- var event = typeof eventFunction === 'string' ? window[eventFunction] : eventFunction;
- _this4.$toolbar.find("button[name=\"".concat(buttonName, "\"]")).off(eventType).on(eventType, function () {
- return event.call(_this4);
- });
- };
- for (var _i7 = 0, _Object$entries7 = Object.entries(buttonConfig.event); _i7 < _Object$entries7.length; _i7++) {
- _loop2();
- }
- }
- };
- for (var _i6 = 0, _Object$entries6 = Object.entries(this.buttons); _i6 < _Object$entries6.length; _i6++) {
- if (_loop()) continue;
- }
- if (opts.showColumns) {
- $keepOpen = this.$toolbar.find('.keep-open');
- var $checkboxes = $keepOpen.find('input[type="checkbox"]:not(".toggle-all")');
- var $toggleAll = $keepOpen.find('input[type="checkbox"].toggle-all');
- if (switchableCount <= opts.minimumCountColumns) {
- $keepOpen.find('input').prop('disabled', true);
- }
- $keepOpen.find('li, label').off('click').on('click', function (e) {
- e.stopImmediatePropagation();
- });
- $checkboxes.off('click').on('click', function (_ref2) {
- var currentTarget = _ref2.currentTarget;
- var $this = $(currentTarget);
- _this4._toggleColumn($this.val(), $this.prop('checked'), false);
- _this4.trigger('column-switch', $this.data('field'), $this.prop('checked'));
- $toggleAll.prop('checked', $checkboxes.filter(':checked').length === _this4.columns.filter(function (column) {
- return !_this4.isSelectionColumn(column);
- }).length);
- });
- $toggleAll.off('click').on('click', function (_ref3) {
- var currentTarget = _ref3.currentTarget;
- _this4._toggleAllColumns($(currentTarget).prop('checked'));
- _this4.trigger('column-switch-all', $(currentTarget).prop('checked'));
- });
- if (opts.showColumnsSearch) {
- var $columnsSearch = $keepOpen.find('[name="columnsSearch"]');
- var $listItems = $keepOpen.find('.dropdown-item-marker');
- $columnsSearch.on('keyup paste change', function (_ref4) {
- var currentTarget = _ref4.currentTarget;
- var $this = $(currentTarget);
- var searchValue = $this.val().toLowerCase();
- $listItems.show();
- $checkboxes.each(function (i, el) {
- var $checkbox = $(el);
- var $listItem = $checkbox.parents('.dropdown-item-marker');
- var text = $listItem.text().toLowerCase();
- if (!text.includes(searchValue)) {
- $listItem.hide();
- }
- });
- });
+ }
+ },
+ _toggleColumns: function _toggleColumns(fields, checked, needUpdate) {
+ if (!fields.length) {
+ return;
+ }
+ var changedIndices = [];
+ var _iterator3 = _createForOfIteratorHelper(fields),
+ _step3;
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var field = _step3.value;
+ var index = this.fieldsColumnsIndex[field];
+ if (this._toggleColumnVisibility(index, checked)) {
+ changedIndices.push(index);
}
}
- var handleInputEvent = function handleInputEvent($searchInput) {
- var eventTriggers = $searchInput.is('select') ? 'change' : 'keyup drop blur mouseup';
- $searchInput.off(eventTriggers).on(eventTriggers, function (event) {
- if (opts.searchOnEnterKey && event.keyCode !== 13) {
- return;
- }
- if ([37, 38, 39, 40].includes(event.keyCode)) {
- return;
- }
- clearTimeout(timeoutId); // doesn't matter if it's 0
- timeoutId = setTimeout(function () {
- _this4.onSearch({
- currentTarget: event.currentTarget
- });
- }, opts.searchTimeOut);
- });
- };
-
- // Fix #4516: this.showSearchClearButton is for extensions
- if ((opts.search || this.showSearchClearButton) && typeof opts.searchSelector !== 'string') {
- html = [];
- var showSearchButton = Utils.sprintf(this.constants.html.searchButton, this.constants.buttonsClass, opts.formatSearch(), opts.showButtonIcons ? Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, opts.icons.search) : '', opts.showButtonText ? opts.formatSearch() : '');
- var showSearchClearButton = Utils.sprintf(this.constants.html.searchClearButton, this.constants.buttonsClass, opts.formatClearSearch(), opts.showButtonIcons ? Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, opts.icons.clearSearch) : '', opts.showButtonText ? opts.formatClearSearch() : '');
- var searchInputHtml = "<input class=\"".concat(this.constants.classes.input, "\n ").concat(Utils.sprintf(' %s%s', this.constants.classes.inputPrefix, opts.iconSize), "\n search-input\" type=\"search\" aria-label=\"").concat(opts.formatSearch(), "\" placeholder=\"").concat(opts.formatSearch(), "\" autocomplete=\"off\">");
- var searchInputFinalHtml = searchInputHtml;
- if (opts.showSearchButton || opts.showSearchClearButton) {
- var _buttonsHtml = (opts.showSearchButton ? showSearchButton : '') + (opts.showSearchClearButton ? showSearchClearButton : '');
- searchInputFinalHtml = opts.search ? Utils.sprintf(this.constants.html.inputGroup, searchInputHtml, _buttonsHtml) : _buttonsHtml;
- }
- html.push(Utils.sprintf("\n <div class=\"".concat(this.constants.classes.pull, "-").concat(opts.searchAlign, " search ").concat(this.constants.classes.inputGroup, "\">\n %s\n </div>\n "), searchInputFinalHtml));
- this.$toolbar.append(html.join(''));
- var $searchInput = Utils.getSearchInput(this);
- if (opts.showSearchButton) {
- this.$toolbar.find('.search button[name=search]').off('click').on('click', function () {
- clearTimeout(timeoutId); // doesn't matter if it's 0
- timeoutId = setTimeout(function () {
- _this4.onSearch({
- currentTarget: $searchInput
- });
- }, opts.searchTimeOut);
- });
- if (opts.searchOnEnterKey) {
- handleInputEvent($searchInput);
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
+ }
+ if (changedIndices.length) {
+ this._updateAfterColumnToggle(changedIndices, checked, needUpdate);
+ }
+ },
+ showAllColumns: function showAllColumns() {
+ this._toggleAllColumns(true);
+ },
+ hideAllColumns: function hideAllColumns() {
+ this._toggleAllColumns(false);
+ },
+ _toggleAllColumns: function _toggleAllColumns(visible) {
+ var _this4 = this;
+ var _iterator4 = _createForOfIteratorHelper(this.columns.slice().reverse()),
+ _step4;
+ try {
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
+ var column = _step4.value;
+ if (column.switchable) {
+ if (!visible && this.options.showColumns && this.getVisibleColumns().filter(function (it) {
+ return it.switchable;
+ }).length === this.options.minimumCountColumns) {
+ continue;
}
- } else {
- handleInputEvent($searchInput);
+ column.visible = visible;
}
- if (opts.showSearchClearButton) {
- this.$toolbar.find('.search button[name=clearSearch]').click(function () {
- _this4.resetSearch();
- });
- }
- } else if (typeof opts.searchSelector === 'string') {
- handleInputEvent(Utils.getSearchInput(this));
}
+ } catch (err) {
+ _iterator4.e(err);
+ } finally {
+ _iterator4.f();
}
- }, {
- key: "onSearch",
- value: function onSearch() {
- var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
- currentTarget = _ref5.currentTarget,
- firedByInitSearchText = _ref5.firedByInitSearchText;
- var overwriteSearchText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
- if (currentTarget !== undefined && $(currentTarget).length && overwriteSearchText) {
- var text = $(currentTarget).val().trim();
- if (this.options.trimOnSearch && $(currentTarget).val() !== text) {
- $(currentTarget).val(text);
- }
- if (this.searchText === text) {
- return;
- }
- var $searchInput = Utils.getSearchInput(this);
- var $currentTarget = currentTarget instanceof jQuery ? currentTarget : $(currentTarget);
- if ($currentTarget.is($searchInput) || $currentTarget.hasClass('search-input')) {
- this.searchText = text;
- this.options.searchText = text;
- }
+ this.initHeader();
+ this.initSearch();
+ this.initPagination();
+ this.initBody();
+ if (this.options.showColumns) {
+ var $items = this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop('disabled', false);
+ if (visible) {
+ $items.prop('checked', visible);
+ } else {
+ $items.get().reverse().forEach(function (item) {
+ if ($items.filter(':checked').length > _this4.options.minimumCountColumns) {
+ $(item).prop('checked', visible);
+ }
+ });
}
- if (!firedByInitSearchText) {
- this.options.pageNumber = 1;
+ if ($items.filter(':checked').length <= this.options.minimumCountColumns) {
+ $items.filter(':checked').prop('disabled', true);
}
- this.initSearch();
- if (firedByInitSearchText) {
- if (this.options.sidePagination === 'client') {
- this.updatePagination();
- }
- } else {
- this.updatePagination();
+ }
+ },
+ mergeCells: function mergeCells(options) {
+ var row = options.index;
+ var col = this.getVisibleFields().indexOf(options.field);
+ var rowspan = +options.rowspan || 1;
+ var colspan = +options.colspan || 1;
+ var i;
+ var j;
+ var $tr = this.$body.find('>tr[data-index]');
+ col += Utils.getDetailViewIndexOffset(this.options);
+ var $td = $tr.eq(row).find('>td').eq(col);
+ if (row < 0 || col < 0 || row >= this.data.length) {
+ return;
+ }
+ for (i = row; i < row + rowspan; i++) {
+ for (j = col; j < col + colspan; j++) {
+ $tr.eq(i).find('>td').eq(j).hide();
}
- this.trigger('search', this.searchText);
}
- }, {
- key: "initSearch",
- value: function initSearch() {
- var _this5 = this;
- this.filterOptions = this.filterOptions || this.options.filterOptions;
- if (this.options.sidePagination !== 'server') {
- if (this.options.customSearch) {
- this.data = Utils.calculateObjectValue(this.options, this.options.customSearch, [this.options.data, this.searchText, this.filterColumns]);
- if (this.options.sortReset) {
- this.unsortedData = _toConsumableArray(this.data);
- }
- this.initSort();
- return;
- }
- var rawSearchText = this.searchText && (this.fromHtml ? Utils.escapeHTML(this.searchText) : this.searchText);
- var searchText = rawSearchText ? rawSearchText.toLowerCase() : '';
- var f = Utils.isEmptyObject(this.filterColumns) ? null : this.filterColumns;
- if (this.options.searchAccentNeutralise) {
- searchText = Utils.normalizeAccent(searchText);
- }
-
- // Check filter
- if (typeof this.filterOptions.filterAlgorithm === 'function') {
- this.data = this.options.data.filter(function (item) {
- return _this5.filterOptions.filterAlgorithm.apply(null, [item, f]);
- });
- } else if (typeof this.filterOptions.filterAlgorithm === 'string') {
- this.data = f ? this.options.data.filter(function (item) {
- var filterAlgorithm = _this5.filterOptions.filterAlgorithm;
- if (filterAlgorithm === 'and') {
- for (var key in f) {
- if (Array.isArray(f[key]) && !f[key].includes(item[key]) || !Array.isArray(f[key]) && item[key] !== f[key]) {
- return false;
- }
- }
- } else if (filterAlgorithm === 'or') {
- var match = false;
- for (var _key in f) {
- if (Array.isArray(f[_key]) && f[_key].includes(item[_key]) || !Array.isArray(f[_key]) && item[_key] === f[_key]) {
- match = true;
- }
- }
- return match;
- }
- return true;
- }) : _toConsumableArray(this.options.data);
- }
- var visibleFields = this.getVisibleFields();
- this.data = searchText ? this.data.filter(function (item, i) {
- for (var j = 0; j < _this5.header.fields.length; j++) {
- if (!_this5.header.searchables[j] || _this5.options.visibleSearch && visibleFields.indexOf(_this5.header.fields[j]) === -1) {
- continue;
- }
- var key = Utils.isNumeric(_this5.header.fields[j]) ? parseInt(_this5.header.fields[j], 10) : _this5.header.fields[j];
- var column = _this5.columns[_this5.fieldsColumnsIndex[key]];
- var value = void 0;
- if (typeof key === 'string' && !item.hasOwnProperty(key)) {
- value = item;
- var props = key.split('.');
- for (var _i8 = 0; _i8 < props.length; _i8++) {
- if (value[props[_i8]] === null || value[props[_i8]] === undefined) {
- value = null;
- break;
- } else {
- value = value[props[_i8]];
- }
- }
- } else {
- value = item[key];
- }
- if (_this5.options.searchAccentNeutralise) {
- value = Utils.normalizeAccent(value);
- }
+ $td.attr('rowspan', rowspan).attr('colspan', colspan).show();
+ },
+ getVisibleColumns: function getVisibleColumns() {
+ var _this5 = this;
+ return this.columns.filter(function (column) {
+ return column.visible && !_this5.isSelectionColumn(column);
+ });
+ },
+ getHiddenColumns: function getHiddenColumns() {
+ return this.columns.filter(function (_ref) {
+ var visible = _ref.visible;
+ return !visible;
+ });
+ }
+ };
- // Fix #142: respect searchFormatter boolean
- if (column && column.searchFormatter) {
- value = Utils.calculateObjectValue(column, _this5.header.formatters[j], [value, item, i, column.field], value);
- if (_this5.header.formatters[j] && typeof value !== 'number') {
- // search innerText
- value = $('<div>').html(value).text();
- }
- }
- if (typeof value === 'string' || typeof value === 'number') {
- if (_this5.options.strictSearch) {
- if ("".concat(value).toLowerCase() === searchText) {
- return true;
- }
- } else if (_this5.options.regexSearch) {
- if (Utils.regexCompare(value, rawSearchText)) {
- return true;
- }
- } else {
- var largerSmallerEqualsRegex = /(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm;
- var matches = largerSmallerEqualsRegex.exec(_this5.searchText);
- var comparisonCheck = false;
- if (matches) {
- var operator = matches[1] || "".concat(matches[5], "l");
- var comparisonValue = matches[2] || matches[3];
- var int = parseInt(value, 10);
- var comparisonInt = parseInt(comparisonValue, 10);
- switch (operator) {
- case '>':
- case '<l':
- comparisonCheck = int > comparisonInt;
- break;
- case '<':
- case '>l':
- comparisonCheck = int < comparisonInt;
- break;
- case '<=':
- case '=<':
- case '>=l':
- case '=>l':
- comparisonCheck = int <= comparisonInt;
- break;
- case '>=':
- case '=>':
- case '<=l':
- case '=<l':
- comparisonCheck = int >= comparisonInt;
- break;
- }
- }
- if (comparisonCheck || "".concat(value).toLowerCase().includes(searchText)) {
- return true;
- }
- }
- }
- }
- return false;
- }) : this.data;
- if (this.options.sortReset) {
- this.unsortedData = _toConsumableArray(this.data);
+ var CheckModule = {
+ updateSelected: function updateSelected() {
+ var checkAll = this.$selectItem.filter(':enabled').length && this.$selectItem.filter(':enabled').length === this.$selectItem.filter(':enabled').filter(':checked').length;
+ this.$selectAll.add(this.$selectAll_).prop('checked', checkAll);
+ this.$selectItem.each(function (i, el) {
+ $(el).closest('tr')[$(el).prop('checked') ? 'addClass' : 'removeClass']('selected');
+ });
+ },
+ isSelectionColumn: function isSelectionColumn(column) {
+ return column.radio || column.checkbox;
+ },
+ getSelections: function getSelections() {
+ var _this = this;
+ return (this.options.maintainMetaData ? this.options.data : this.data).filter(function (row) {
+ return row[_this.header.stateField] === true;
+ });
+ },
+ updateRows: function updateRows() {
+ var _this2 = this;
+ this.$selectItem.each(function (i, el) {
+ _this2.data[$(el).data('index')][_this2.header.stateField] = $(el).prop('checked');
+ });
+ },
+ resetRows: function resetRows() {
+ if (this.data.length) {
+ this.$selectAll.prop('checked', false);
+ this.$selectItem.prop('checked', false);
+ }
+ if (this.header.stateField) {
+ var _iterator = _createForOfIteratorHelper(this.data),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var row = _step.value;
+ row[this.header.stateField] = false;
}
- this.initSort();
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
}
}
- }, {
- key: "initPagination",
- value: function initPagination() {
- var _this6 = this;
- var opts = this.options;
- if (!opts.pagination) {
- this.$pagination.hide();
- return;
- }
- this.$pagination.show();
- var html = [];
- var allSelected = false;
- var i;
- var from;
- var to;
- var $pageList;
- var $pre;
- var $next;
- var $number;
- var data = this.getData({
- includeHiddenRows: false
- });
- var pageList = opts.pageList;
- if (typeof pageList === 'string') {
- pageList = pageList.replace(/\[|\]| /g, '').toLowerCase().split(',');
- }
- pageList = pageList.map(function (value) {
- if (typeof value === 'string') {
- return value.toLowerCase() === opts.formatAllRows().toLowerCase() || ['all', 'unlimited'].includes(value.toLowerCase()) ? opts.formatAllRows() : +value;
+ this.initHiddenRows();
+ },
+ checkAll: function checkAll() {
+ this._toggleCheckAll(true);
+ },
+ uncheckAll: function uncheckAll() {
+ this._toggleCheckAll(false);
+ },
+ _toggleCheckAll: function _toggleCheckAll(checked) {
+ var rowsBefore = this.getSelections();
+ this.$selectAll.add(this.$selectAll_).prop('checked', checked);
+ this.$selectItem.filter(':enabled').prop('checked', checked);
+ this.updateRows();
+ this.updateSelected();
+ var rowsAfter = this.getSelections();
+ if (checked) {
+ this.trigger('check-all', rowsAfter, rowsBefore);
+ return;
+ }
+ this.trigger('uncheck-all', rowsAfter, rowsBefore);
+ },
+ checkInvert: function checkInvert() {
+ var $items = this.$selectItem.filter(':enabled');
+ var checked = $items.filter(':checked');
+ $items.each(function (i, el) {
+ $(el).prop('checked', !$(el).prop('checked'));
+ });
+ this.updateRows();
+ this.updateSelected();
+ this.trigger('uncheck-some', checked);
+ checked = this.getSelections();
+ this.trigger('check-some', checked);
+ },
+ check: function check(index) {
+ this._toggleCheck(true, index);
+ },
+ uncheck: function uncheck(index) {
+ this._toggleCheck(false, index);
+ },
+ _toggleCheck: function _toggleCheck(checked, index) {
+ var $el = this.$selectItem.filter("[data-index=\"".concat(index, "\"]"));
+ var row = this.data[index];
+ if ($el.is(':radio') || this.options.singleSelect || this.options.multipleSelectRow && !this.multipleSelectRowCtrlKey && !this.multipleSelectRowShiftKey) {
+ var _iterator2 = _createForOfIteratorHelper(this.options.data),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var r = _step2.value;
+ r[this.header.stateField] = false;
}
- return value;
- });
- this.paginationParts = opts.paginationParts;
- if (typeof this.paginationParts === 'string') {
- this.paginationParts = this.paginationParts.replace(/\[|\]| |'/g, '').split(',');
- }
- if (opts.sidePagination !== 'server') {
- opts.totalRows = data.length;
- }
- this.totalPages = 0;
- if (opts.totalRows) {
- if (opts.pageSize === opts.formatAllRows()) {
- opts.pageSize = opts.totalRows;
- allSelected = true;
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ this.$selectItem.filter(':checked').not($el).prop('checked', false);
+ }
+ row[this.header.stateField] = checked;
+ if (this.options.multipleSelectRow) {
+ if (this.multipleSelectRowShiftKey && this.multipleSelectRowLastSelectedIndex >= 0) {
+ var _ref = this.multipleSelectRowLastSelectedIndex < index ? [this.multipleSelectRowLastSelectedIndex, index] : [index, this.multipleSelectRowLastSelectedIndex],
+ _ref2 = _slicedToArray(_ref, 2),
+ fromIndex = _ref2[0],
+ toIndex = _ref2[1];
+ for (var i = fromIndex + 1; i < toIndex; i++) {
+ this.data[i][this.header.stateField] = true;
+ this.$selectItem.filter("[data-index=\"".concat(i, "\"]")).prop('checked', true);
}
- this.totalPages = ~~((opts.totalRows - 1) / opts.pageSize) + 1;
- opts.totalPages = this.totalPages;
}
- if (this.totalPages > 0 && opts.pageNumber > this.totalPages) {
- opts.pageNumber = this.totalPages;
- }
- this.pageFrom = (opts.pageNumber - 1) * opts.pageSize + 1;
- this.pageTo = opts.pageNumber * opts.pageSize;
- if (this.pageTo > opts.totalRows) {
- this.pageTo = opts.totalRows;
- }
- if (this.options.pagination && this.options.sidePagination !== 'server') {
- this.options.totalNotFiltered = this.options.data.length;
- }
- if (!this.options.showExtendedPagination) {
- this.options.totalNotFiltered = undefined;
- }
- if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort') || this.paginationParts.includes('pageSize')) {
- html.push("<div class=\"".concat(this.constants.classes.pull, "-").concat(opts.paginationDetailHAlign, " pagination-detail\">"));
+ this.multipleSelectRowCtrlKey = false;
+ this.multipleSelectRowShiftKey = false;
+ this.multipleSelectRowLastSelectedIndex = checked ? index : -1;
+ }
+ $el.prop('checked', checked);
+ this.updateSelected();
+ this.trigger(checked ? 'check' : 'uncheck', this.data[index], $el);
+ },
+ checkBy: function checkBy(obj) {
+ this._toggleCheckBy(true, obj);
+ },
+ uncheckBy: function uncheckBy(obj) {
+ this._toggleCheckBy(false, obj);
+ },
+ _toggleCheckBy: function _toggleCheckBy(checked, obj) {
+ var _this3 = this;
+ if (!obj.hasOwnProperty('field') || !obj.hasOwnProperty('values')) {
+ return;
+ }
+ var rows = [];
+ this.data.forEach(function (row, i) {
+ if (!row.hasOwnProperty(obj.field)) {
+ return false;
}
- if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort')) {
- var totalRows = this.options.totalRows;
- if (this.options.sidePagination === 'client' && this.options.paginationLoadMore && !this._paginationLoaded && this.totalPages > 1) {
- totalRows += ' +';
+ if (obj.values.includes(row[obj.field])) {
+ var $el = _this3.$selectItem.filter(':enabled').filter(Utils.sprintf('[data-index="%s"]', i));
+ var onlyCurrentPage = obj.hasOwnProperty('onlyCurrentPage') ? obj.onlyCurrentPage : false;
+ $el = checked ? $el.not(':checked') : $el.filter(':checked');
+ if (!$el.length && onlyCurrentPage) {
+ return;
}
- var paginationInfo = this.paginationParts.includes('pageInfoShort') ? opts.formatDetailPagination(totalRows) : opts.formatShowingRows(this.pageFrom, this.pageTo, totalRows, opts.totalNotFiltered);
- html.push("<span class=\"pagination-info\">\n ".concat(paginationInfo, "\n </span>"));
- }
- if (this.paginationParts.includes('pageSize')) {
- html.push('<div class="page-list">');
- var pageNumber = ["<div class=\"".concat(this.constants.classes.paginationDropdown, "\">\n <button class=\"").concat(this.constants.buttonsClass, " dropdown-toggle\" type=\"button\" ").concat(this.constants.dataToggle, "=\"dropdown\">\n <span class=\"page-size\">\n ").concat(allSelected ? opts.formatAllRows() : opts.pageSize, "\n </span>\n ").concat(this.constants.html.dropdownCaret, "\n </button>\n ").concat(this.constants.html.pageDropdown[0])];
- pageList.forEach(function (page, i) {
- if (!opts.smartDisplay || i === 0 || pageList[i - 1] < opts.totalRows || page === opts.formatAllRows()) {
- var active;
- if (allSelected) {
- active = page === opts.formatAllRows() ? _this6.constants.classes.dropdownActive : '';
- } else {
- active = page === opts.pageSize ? _this6.constants.classes.dropdownActive : '';
- }
- pageNumber.push(Utils.sprintf(_this6.constants.html.pageDropdownItem, active, page));
- }
- });
- pageNumber.push("".concat(this.constants.html.pageDropdown[1], "</div>"));
- html.push(opts.formatRecordsPerPage(pageNumber.join('')));
- }
- if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort') || this.paginationParts.includes('pageSize')) {
- html.push('</div></div>');
+ $el.prop('checked', checked);
+ row[_this3.header.stateField] = checked;
+ rows.push(row);
+ _this3.trigger(checked ? 'check' : 'uncheck', row, $el);
}
- if (this.paginationParts.includes('pageList')) {
- html.push("<div class=\"".concat(this.constants.classes.pull, "-").concat(opts.paginationHAlign, " pagination\">"), Utils.sprintf(this.constants.html.pagination[0], Utils.sprintf(' pagination-%s', opts.iconSize)), Utils.sprintf(this.constants.html.paginationItem, ' page-pre', opts.formatSRPaginationPreText(), opts.paginationPreText));
- if (this.totalPages < opts.paginationSuccessivelySize) {
- from = 1;
- to = this.totalPages;
- } else {
- from = opts.pageNumber - opts.paginationPagesBySide;
- to = from + opts.paginationPagesBySide * 2;
- }
- if (opts.pageNumber < opts.paginationSuccessivelySize - 1) {
- to = opts.paginationSuccessivelySize;
- }
- if (opts.paginationSuccessivelySize > this.totalPages - from) {
- from = from - (opts.paginationSuccessivelySize - (this.totalPages - from)) + 1;
- }
- if (from < 1) {
- from = 1;
- }
- if (to > this.totalPages) {
- to = this.totalPages;
- }
- var middleSize = Math.round(opts.paginationPagesBySide / 2);
- var pageItem = function pageItem(i) {
- var classes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
- return Utils.sprintf(_this6.constants.html.paginationItem, classes + (i === opts.pageNumber ? " ".concat(_this6.constants.classes.paginationActive) : ''), opts.formatSRPaginationPageText(i), i);
- };
- if (from > 1) {
- var max = opts.paginationPagesBySide;
- if (max >= from) max = from - 1;
- for (i = 1; i <= max; i++) {
- html.push(pageItem(i));
- }
- if (from - 1 === max + 1) {
- i = from - 1;
- html.push(pageItem(i));
- } else if (from - 1 > max) {
- if (from - opts.paginationPagesBySide * 2 > opts.paginationPagesBySide && opts.paginationUseIntermediate) {
- i = Math.round((from - middleSize) / 2 + middleSize);
- html.push(pageItem(i, ' page-intermediate'));
- } else {
- html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-first-separator disabled', '', '...'));
- }
- }
- }
- for (i = from; i <= to; i++) {
- html.push(pageItem(i));
- }
- if (this.totalPages > to) {
- var min = this.totalPages - (opts.paginationPagesBySide - 1);
- if (to >= min) min = to + 1;
- if (to + 1 === min - 1) {
- i = to + 1;
- html.push(pageItem(i));
- } else if (min > to + 1) {
- if (this.totalPages - to > opts.paginationPagesBySide * 2 && opts.paginationUseIntermediate) {
- i = Math.round((this.totalPages - middleSize - to) / 2 + to);
- html.push(pageItem(i, ' page-intermediate'));
- } else {
- html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-last-separator disabled', '', '...'));
- }
- }
- for (i = min; i <= this.totalPages; i++) {
- html.push(pageItem(i));
- }
- }
- html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-next', opts.formatSRPaginationNextText(), opts.paginationNextText));
- html.push(this.constants.html.pagination[1], '</div>');
- }
- this.$pagination.html(html.join(''));
- var dropupClass = ['bottom', 'both'].includes(opts.paginationVAlign) ? " ".concat(this.constants.classes.dropup) : '';
- this.$pagination.last().find('.page-list > div').addClass(dropupClass);
- if (!opts.onlyInfoPagination) {
- $pageList = this.$pagination.find('.page-list a');
- $pre = this.$pagination.find('.page-pre');
- $next = this.$pagination.find('.page-next');
- $number = this.$pagination.find('.page-item').not('.page-next, .page-pre, .page-last-separator, .page-first-separator');
- if (this.totalPages <= 1) {
- this.$pagination.find('div.pagination').hide();
- }
- if (opts.smartDisplay) {
- if (pageList.length < 2 || opts.totalRows <= pageList[0]) {
- this.$pagination.find('div.page-list').hide();
- }
- }
+ });
+ this.updateSelected();
+ this.trigger(checked ? 'check-some' : 'uncheck-some', rows);
+ }
+ };
+
+ var es_array_sort = {};
+
+ var environmentFfVersion;
+ var hasRequiredEnvironmentFfVersion;
+
+ function requireEnvironmentFfVersion () {
+ if (hasRequiredEnvironmentFfVersion) return environmentFfVersion;
+ hasRequiredEnvironmentFfVersion = 1;
+ var userAgent = requireEnvironmentUserAgent();
+
+ var firefox = userAgent.match(/firefox\/(\d+)/i);
+
+ environmentFfVersion = !!firefox && +firefox[1];
+ return environmentFfVersion;
+ }
+
+ var environmentIsIeOrEdge;
+ var hasRequiredEnvironmentIsIeOrEdge;
+
+ function requireEnvironmentIsIeOrEdge () {
+ if (hasRequiredEnvironmentIsIeOrEdge) return environmentIsIeOrEdge;
+ hasRequiredEnvironmentIsIeOrEdge = 1;
+ var UA = requireEnvironmentUserAgent();
+
+ environmentIsIeOrEdge = /MSIE|Trident/.test(UA);
+ return environmentIsIeOrEdge;
+ }
+
+ var environmentWebkitVersion;
+ var hasRequiredEnvironmentWebkitVersion;
+
+ function requireEnvironmentWebkitVersion () {
+ if (hasRequiredEnvironmentWebkitVersion) return environmentWebkitVersion;
+ hasRequiredEnvironmentWebkitVersion = 1;
+ var userAgent = requireEnvironmentUserAgent();
+
+ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
+
+ environmentWebkitVersion = !!webkit && +webkit[1];
+ return environmentWebkitVersion;
+ }
+
+ var hasRequiredEs_array_sort;
+
+ function requireEs_array_sort () {
+ if (hasRequiredEs_array_sort) return es_array_sort;
+ hasRequiredEs_array_sort = 1;
+ var $ = require_export();
+ var uncurryThis = requireFunctionUncurryThis();
+ var aCallable = requireACallable();
+ var toObject = requireToObject();
+ var lengthOfArrayLike = requireLengthOfArrayLike();
+ var deletePropertyOrThrow = requireDeletePropertyOrThrow();
+ var toString = requireToString();
+ var fails = requireFails();
+ var internalSort = requireArraySort();
+ var arrayMethodIsStrict = requireArrayMethodIsStrict();
+ var FF = requireEnvironmentFfVersion();
+ var IE_OR_EDGE = requireEnvironmentIsIeOrEdge();
+ var V8 = requireEnvironmentV8Version();
+ var WEBKIT = requireEnvironmentWebkitVersion();
+
+ var test = [];
+ var nativeSort = uncurryThis(test.sort);
+ var push = uncurryThis(test.push);
+
+ // IE8-
+ var FAILS_ON_UNDEFINED = fails(function () {
+ test.sort(undefined);
+ });
+ // V8 bug
+ var FAILS_ON_NULL = fails(function () {
+ test.sort(null);
+ });
+ // Old WebKit
+ var STRICT_METHOD = arrayMethodIsStrict('sort');
+
+ var STABLE_SORT = !fails(function () {
+ // feature detection can be too slow, so check engines versions
+ if (V8) return V8 < 70;
+ if (FF && FF > 3) return;
+ if (IE_OR_EDGE) return true;
+ if (WEBKIT) return WEBKIT < 603;
+
+ var result = '';
+ var code, chr, value, index;
+
+ // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
+ for (code = 65; code < 76; code++) {
+ chr = String.fromCharCode(code);
+
+ switch (code) {
+ case 66: case 69: case 70: case 72: value = 3; break;
+ case 68: case 71: value = 4; break;
+ default: value = 2;
+ }
+
+ for (index = 0; index < 47; index++) {
+ test.push({ k: chr + index, v: value });
+ }
+ }
+
+ test.sort(function (a, b) { return b.v - a.v; });
+
+ for (index = 0; index < test.length; index++) {
+ chr = test[index].k.charAt(0);
+ if (result.charAt(result.length - 1) !== chr) result += chr;
+ }
+
+ return result !== 'DGBEFHACIJK';
+ });
+
+ var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
+
+ var getSortCompare = function (comparefn) {
+ return function (x, y) {
+ if (y === undefined) return -1;
+ if (x === undefined) return 1;
+ if (comparefn !== undefined) return +comparefn(x, y) || 0;
+ var xString = toString(x);
+ var yString = toString(y);
+ return xString === yString ? 0 : xString > yString ? 1 : -1;
+ };
+ };
+
+ // `Array.prototype.sort` method
+ // https://tc39.es/ecma262/#sec-array.prototype.sort
+ $({ target: 'Array', proto: true, forced: FORCED }, {
+ sort: function sort(comparefn) {
+ if (comparefn !== undefined) aCallable(comparefn);
+
+ var array = toObject(this);
+
+ if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
+
+ var items = [];
+ var arrayLength = lengthOfArrayLike(array);
+ var itemsLength, index;
+
+ for (index = 0; index < arrayLength; index++) {
+ if (index in array) push(items, array[index]);
+ }
+
+ internalSort(items, getSortCompare(comparefn));
+
+ itemsLength = lengthOfArrayLike(items);
+ index = 0;
+
+ while (index < itemsLength) array[index] = items[index++];
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
+
+ return array;
+ }
+ });
+ return es_array_sort;
+ }
+
+ requireEs_array_sort();
+
+ var es_number_constructor = {};
+
+ var path;
+ var hasRequiredPath;
+
+ function requirePath () {
+ if (hasRequiredPath) return path;
+ hasRequiredPath = 1;
+ var globalThis = requireGlobalThis();
+
+ path = globalThis;
+ return path;
+ }
+
+ var thisNumberValue;
+ var hasRequiredThisNumberValue;
+
+ function requireThisNumberValue () {
+ if (hasRequiredThisNumberValue) return thisNumberValue;
+ hasRequiredThisNumberValue = 1;
+ var uncurryThis = requireFunctionUncurryThis();
+
+ // `thisNumberValue` abstract operation
+ // https://tc39.es/ecma262/#sec-thisnumbervalue
+ thisNumberValue = uncurryThis(1.1.valueOf);
+ return thisNumberValue;
+ }
+
+ var hasRequiredEs_number_constructor;
+
+ function requireEs_number_constructor () {
+ if (hasRequiredEs_number_constructor) return es_number_constructor;
+ hasRequiredEs_number_constructor = 1;
+ var $ = require_export();
+ var IS_PURE = requireIsPure();
+ var DESCRIPTORS = requireDescriptors();
+ var globalThis = requireGlobalThis();
+ var path = requirePath();
+ var uncurryThis = requireFunctionUncurryThis();
+ var isForced = requireIsForced();
+ var hasOwn = requireHasOwnProperty();
+ var inheritIfRequired = requireInheritIfRequired();
+ var isPrototypeOf = requireObjectIsPrototypeOf();
+ var isSymbol = requireIsSymbol();
+ var toPrimitive = requireToPrimitive();
+ var fails = requireFails();
+ var getOwnPropertyNames = requireObjectGetOwnPropertyNames().f;
+ var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
+ var defineProperty = requireObjectDefineProperty().f;
+ var thisNumberValue = requireThisNumberValue();
+ var trim = requireStringTrim().trim;
+
+ var NUMBER = 'Number';
+ var NativeNumber = globalThis[NUMBER];
+ var PureNumberNamespace = path[NUMBER];
+ var NumberPrototype = NativeNumber.prototype;
+ var TypeError = globalThis.TypeError;
+ var stringSlice = uncurryThis(''.slice);
+ var charCodeAt = uncurryThis(''.charCodeAt);
+
+ // `ToNumeric` abstract operation
+ // https://tc39.es/ecma262/#sec-tonumeric
+ var toNumeric = function (value) {
+ var primValue = toPrimitive(value, 'number');
+ return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
+ };
+
+ // `ToNumber` abstract operation
+ // https://tc39.es/ecma262/#sec-tonumber
+ var toNumber = function (argument) {
+ var it = toPrimitive(argument, 'number');
+ var first, third, radix, maxCode, digits, length, index, code;
+ if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');
+ if (typeof it == 'string' && it.length > 2) {
+ it = trim(it);
+ first = charCodeAt(it, 0);
+ if (first === 43 || first === 45) {
+ third = charCodeAt(it, 2);
+ if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
+ } else if (first === 48) {
+ switch (charCodeAt(it, 1)) {
+ // fast equal of /^0b[01]+$/i
+ case 66:
+ case 98:
+ radix = 2;
+ maxCode = 49;
+ break;
+ // fast equal of /^0o[0-7]+$/i
+ case 79:
+ case 111:
+ radix = 8;
+ maxCode = 55;
+ break;
+ default:
+ return +it;
+ }
+ digits = stringSlice(it, 2);
+ length = digits.length;
+ for (index = 0; index < length; index++) {
+ code = charCodeAt(digits, index);
+ // parseInt parses a string to a first unavailable symbol
+ // but ToNumber should return NaN if a string contains unavailable symbols
+ if (code < 48 || code > maxCode) return NaN;
+ } return parseInt(digits, radix);
+ }
+ } return +it;
+ };
+
+ var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));
+
+ var calledWithNew = function (dummy) {
+ // includes check on 1..constructor(foo) case
+ return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });
+ };
+
+ // `Number` constructor
+ // https://tc39.es/ecma262/#sec-number-constructor
+ var NumberWrapper = function Number(value) {
+ var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
+ return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;
+ };
+
+ NumberWrapper.prototype = NumberPrototype;
+ if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;
+
+ $({ global: true, constructor: true, wrap: true, forced: FORCED }, {
+ Number: NumberWrapper
+ });
+
+ // Use `internal/copy-constructor-properties` helper in `core-js [at] 4`
+ var copyConstructorProperties = function (target, source) {
+ for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (
+ // ES3:
+ 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
+ // ES2015 (in case, if modules with ES2015 Number statics required before):
+ 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
+ // ESNext
+ 'fromString,range'
+ ).split(','), j = 0, key; keys.length > j; j++) {
+ if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
+ }
+ }
+ };
- // when data is empty, hide the pagination
- this.$pagination[this.getData().length ? 'show' : 'hide']();
- if (!opts.paginationLoop) {
- if (opts.pageNumber === 1) {
- $pre.addClass('disabled');
- }
- if (opts.pageNumber === this.totalPages) {
- $next.addClass('disabled');
- }
- }
- if (allSelected) {
- opts.pageSize = opts.formatAllRows();
- }
- $pageList.off('click').on('click', function (e) {
- return _this6.onPageListChange(e);
- });
- $pre.off('click').on('click', function (e) {
- return _this6.onPagePre(e);
- });
- $next.off('click').on('click', function (e) {
- return _this6.onPageNext(e);
- });
- $number.off('click').on('click', function (e) {
- return _this6.onPageNumber(e);
- });
- }
+ if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);
+ if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);
+ return es_number_constructor;
+ }
+
+ requireEs_number_constructor();
+
+ var DataModule = {
+ initServer: function initServer(silent, query) {
+ var _this = this;
+ var data = {};
+ var index = this.header.fields.indexOf(this.options.sortName);
+ var params = {
+ searchText: this.searchText,
+ sortName: this.options.sortName,
+ sortOrder: this.options.sortOrder
+ };
+ if (this.header.sortNames[index]) {
+ params.sortName = this.header.sortNames[index];
}
- }, {
- key: "updatePagination",
- value: function updatePagination(event) {
- // Fix #171: IE disabled button can be clicked bug.
- if (event && $(event.currentTarget).hasClass('disabled')) {
- return;
- }
- if (!this.options.maintainMetaData) {
- this.resetRows();
- }
- this.initPagination();
- this.trigger('page-change', this.options.pageNumber, this.options.pageSize);
- if (this.options.sidePagination === 'server' || this.options.sidePagination === 'client' && this.options.paginationLoadMore && !this._paginationLoaded && this.options.pageNumber === this.totalPages) {
- this.initServer();
- } else {
- this.initBody();
- }
+ if (this.options.pagination && this.options.sidePagination === 'server') {
+ params.pageSize = this.options.pageSize === this.options.formatAllRows() ? this.options.totalRows : this.options.pageSize;
+ params.pageNumber = this.options.pageNumber;
}
- }, {
- key: "onPageListChange",
- value: function onPageListChange(event) {
- event.preventDefault();
- var $this = $(event.currentTarget);
- $this.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive);
- this.options.pageSize = $this.text().toUpperCase() === this.options.formatAllRows().toUpperCase() ? this.options.formatAllRows() : +$this.text();
- this.$toolbar.find('.page-size').text(this.options.pageSize);
- this.updatePagination(event);
- return false;
+ if (!this.options.url && !this.options.ajax) {
+ return;
}
- }, {
- key: "onPagePre",
- value: function onPagePre(event) {
- if ($(event.target).hasClass('disabled')) {
- return;
- }
- event.preventDefault();
- if (this.options.pageNumber - 1 === 0) {
- this.options.pageNumber = this.options.totalPages;
- } else {
- this.options.pageNumber--;
+ if (this.options.queryParamsType === 'limit') {
+ params = {
+ search: params.searchText,
+ sort: params.sortName,
+ order: params.sortOrder
+ };
+ if (this.options.pagination && this.options.sidePagination === 'server') {
+ params.offset = this.options.pageSize === this.options.formatAllRows() ? 0 : this.options.pageSize * (this.options.pageNumber - 1);
+ params.limit = this.options.pageSize;
+ if (params.limit === 0 || this.options.pageSize === this.options.formatAllRows()) {
+ delete params.limit;
+ }
}
- this.updatePagination(event);
- return false;
}
- }, {
- key: "onPageNext",
- value: function onPageNext(event) {
- if ($(event.target).hasClass('disabled')) {
- return;
- }
- event.preventDefault();
- if (this.options.pageNumber + 1 > this.options.totalPages) {
- this.options.pageNumber = 1;
- } else {
- this.options.pageNumber++;
+ if (this.options.search && this.options.sidePagination === 'server' && this.options.searchable && this.columns.filter(function (column) {
+ return column.searchable;
+ }).length) {
+ params.searchable = [];
+ var _iterator = _createForOfIteratorHelper(this.columns),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var column = _step.value;
+ if (!column.checkbox && column.searchable && (this.options.visibleSearch && column.visible || !this.options.visibleSearch)) {
+ params.searchable.push(column.field);
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
}
- this.updatePagination(event);
- return false;
}
- }, {
- key: "onPageNumber",
- value: function onPageNumber(event) {
- event.preventDefault();
- if (this.options.pageNumber === +$(event.currentTarget).text()) {
- return;
- }
- this.options.pageNumber = +$(event.currentTarget).text();
- this.updatePagination(event);
- return false;
+ if (!Utils.isEmptyObject(this.filterColumnsPartial)) {
+ params.filter = JSON.stringify(this.filterColumnsPartial, null);
}
+ Utils.extend(params, query || {});
+ data = Utils.calculateObjectValue(this.options, this.options.queryParams, [params], data);
- // eslint-disable-next-line no-unused-vars
- }, {
- key: "initRow",
- value: function initRow(item, i, data, trFragments) {
- var _this7 = this;
- if (Utils.findIndex(this.hiddenRows, item) > -1) {
- return;
- }
- var style = Utils.calculateObjectValue(this.options, this.options.rowStyle, [item, i], {});
- var attributes = Utils.calculateObjectValue(this.options, this.options.rowAttributes, [item, i], {});
- var data_ = {};
- if (item._data && !Utils.isEmptyObject(item._data)) {
- for (var _i9 = 0, _Object$entries8 = Object.entries(item._data); _i9 < _Object$entries8.length; _i9++) {
- var _Object$entries8$_i = _slicedToArray(_Object$entries8[_i9], 2),
- k = _Object$entries8$_i[0],
- v = _Object$entries8$_i[1];
- // ignore data-index
- if (k === 'index') {
- return;
- }
- data_["data-".concat(k)] = _typeof(v) === 'object' ? JSON.stringify(v) : v;
- }
- }
- var tr = Utils.h('tr', _objectSpread2(_objectSpread2({
- id: Array.isArray(item) ? undefined : item._id,
- class: style && style.classes || (Array.isArray(item) ? undefined : item._class),
- style: style && style.css || (Array.isArray(item) ? undefined : item._style),
- 'data-index': i,
- 'data-uniqueid': Utils.getItemField(item, this.options.uniqueId, false),
- 'data-has-detail-view': this.options.detailView && Utils.calculateObjectValue(null, this.options.detailFilter, [i, item]) ? 'true' : undefined
- }, attributes), data_));
- var trChildren = [];
- var detailViewTemplate = '';
- if (Utils.hasDetailViewIcon(this.options)) {
- detailViewTemplate = Utils.h('td');
- if (Utils.calculateObjectValue(null, this.options.detailFilter, [i, item])) {
- detailViewTemplate.append(Utils.h('a', {
- class: 'detail-icon',
- href: '#',
- html: Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailOpen)
- }));
+ // false to stop request
+ if (data === false) {
+ return;
+ }
+ if (!silent) {
+ this.showLoading();
+ }
+ var request = Utils.extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
+ type: this.options.method,
+ url: this.options.url,
+ data: this.options.contentType === 'application/json' && this.options.method === 'post' ? JSON.stringify(data) : data,
+ cache: this.options.cache,
+ contentType: this.options.contentType,
+ dataType: this.options.dataType,
+ success: function success(_res, textStatus, jqXHR) {
+ var res = Utils.calculateObjectValue(_this.options, _this.options.responseHandler, [_res, jqXHR], _res);
+ if (_this.options.sidePagination === 'client' && _this.options.paginationLoadMore) {
+ _this._paginationLoaded = _this.data.length === res.length;
}
- }
- if (detailViewTemplate && this.options.detailViewAlign !== 'right') {
- trChildren.push(detailViewTemplate);
- }
- var tds = this.header.fields.map(function (field, j) {
- var column = _this7.columns[j];
- var value_ = Utils.getItemField(item, field, _this7.options.escape, column.escape);
- var value = '';
- var attrs = {
- class: _this7.header.classes[j] ? [_this7.header.classes[j]] : [],
- style: _this7.header.styles[j] ? [_this7.header.styles[j]] : []
- };
- var cardViewClass = "card-view card-view-field-".concat(field);
- if ((_this7.fromHtml || _this7.autoMergeCells) && typeof value_ === 'undefined') {
- if (!column.checkbox && !column.radio) {
- return;
- }
+ _this.load(res);
+ _this.trigger('load-success', res, jqXHR && jqXHR.status, jqXHR);
+ if (!silent) {
+ _this.hideLoading();
}
- if (!column.visible) {
- return;
+ if (_this.options.sidePagination === 'server' && _this.options.pageNumber > 1 && res[_this.options.totalField] > 0 && !res[_this.options.dataField].length) {
+ _this.updatePagination();
}
- if (_this7.options.cardView && !column.cardVisible) {
+ },
+ error: function error(jqXHR) {
+ // abort ajax by multiple request
+ if (jqXHR && jqXHR.status === 0 && _this._xhrAbort) {
+ _this._xhrAbort = false;
return;
}
-
- // handle class, style, id, rowspan, colspan and title of td
- for (var _i0 = 0, _arr = ['class', 'style', 'id', 'rowspan', 'colspan', 'title']; _i0 < _arr.length; _i0++) {
- var attr = _arr[_i0];
- var _value = item["_".concat(field, "_").concat(attr)];
- if (!_value) {
- continue;
- }
- if (attrs[attr]) {
- attrs[attr].push(_value);
- } else {
- attrs[attr] = _value;
- }
- }
- var cellStyle = Utils.calculateObjectValue(_this7.header, _this7.header.cellStyles[j], [value_, item, i, field], {});
- if (cellStyle.classes) {
- attrs.class.push(cellStyle.classes);
- }
- if (cellStyle.css) {
- attrs.style.push(cellStyle.css);
- }
- value = Utils.calculateObjectValue(column, _this7.header.formatters[j], [value_, item, i, field], value_);
- if (!(column.checkbox || column.radio)) {
- value = typeof value === 'undefined' || value === null ? _this7.options.undefinedText : value;
- }
- if (column.searchable && _this7.searchText && _this7.options.searchHighlight && !(column.checkbox || column.radio)) {
- var searchText = _this7.searchText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
- if (_this7.options.searchAccentNeutralise && typeof value === 'string') {
- var indexRegex = new RegExp("".concat(Utils.normalizeAccent(searchText)), 'gmi');
- var match = indexRegex.exec(Utils.normalizeAccent(value));
- if (match) {
- searchText = value.substring(match.index, match.index + searchText.length);
- }
- }
- var defValue = Utils.replaceSearchMark(value, searchText);
- value = Utils.calculateObjectValue(column, column.searchHighlightFormatter, [value, _this7.searchText], defValue);
- }
- if (item["_".concat(field, "_data")] && !Utils.isEmptyObject(item["_".concat(field, "_data")])) {
- for (var _i1 = 0, _Object$entries9 = Object.entries(item["_".concat(field, "_data")]); _i1 < _Object$entries9.length; _i1++) {
- var _Object$entries9$_i = _slicedToArray(_Object$entries9[_i1], 2),
- _k = _Object$entries9$_i[0],
- _v = _Object$entries9$_i[1];
- // ignore data-index
- if (_k === 'index') {
- return;
- }
- attrs["data-".concat(_k)] = _v;
- }
- }
- if (column.checkbox || column.radio) {
- var type = column.checkbox ? 'checkbox' : 'radio';
- var isChecked = Utils.isObject(value) && value.hasOwnProperty('checked') ? value.checked : (value === true || value_) && value !== false;
- var isDisabled = !column.checkboxEnabled || value && value.disabled;
- var valueNodes = _this7.header.formatters[j] && (typeof value === 'string' || value instanceof Node || value instanceof $) ? Utils.htmlToNodes(value) : [];
- item[_this7.header.stateField] = value === true || !!value_ || value && value.checked;
- return Utils.h(_this7.options.cardView ? 'div' : 'td', {
- class: [_this7.options.cardView ? cardViewClass : 'bs-checkbox', column.class],
- style: _this7.options.cardView ? undefined : attrs.style
- }, [Utils.h('label', {}, [Utils.h('input', {
- 'data-index': i,
- name: _this7.options.selectItemName,
- type: type,
- value: item[_this7.options.idField],
- checked: isChecked ? 'checked' : undefined,
- disabled: isDisabled ? 'disabled' : undefined
- }), Utils.h('span')])].concat(_toConsumableArray(valueNodes)));
+ var data = [];
+ if (_this.options.sidePagination === 'server') {
+ data = {};
+ data[_this.options.totalField] = 0;
+ data[_this.options.dataField] = [];
}
- if (_this7.options.cardView) {
- if (_this7.options.smartDisplay && value === '') {
- return Utils.h('div', {
- class: cardViewClass
- });
- }
- var cardTitle = _this7.options.showHeader ? Utils.h('span', {
- class: ['card-view-title', cellStyle.classes],
- style: attrs.style,
- html: Utils.getFieldTitle(_this7.columns, field)
- }) : '';
- return Utils.h('div', {
- class: cardViewClass
- }, [cardTitle, Utils.h('span', {
- class: ['card-view-value', cellStyle.classes],
- style: attrs.style
- }, _toConsumableArray(Utils.htmlToNodes(value)))]);
+ _this.load(data);
+ _this.trigger('load-error', jqXHR && jqXHR.status, jqXHR);
+ if (!silent) {
+ _this.hideLoading();
}
- return Utils.h('td', attrs, _toConsumableArray(Utils.htmlToNodes(value)));
- }).filter(function (x) {
- return x;
- });
- trChildren.push.apply(trChildren, _toConsumableArray(tds));
- if (detailViewTemplate && this.options.detailViewAlign === 'right') {
- trChildren.push(detailViewTemplate);
}
- if (this.options.cardView) {
- tr.append(Utils.h('td', {
- colspan: this.header.fields.length
- }, [Utils.h('div', {
- class: 'card-views'
- }, trChildren)]));
- } else {
- tr.append.apply(tr, trChildren);
+ });
+ if (this.options.ajax) {
+ Utils.calculateObjectValue(this, this.options.ajax, [request], null);
+ } else {
+ if (this._xhr && this._xhr.readyState !== 4) {
+ this._xhrAbort = true;
+ this._xhr.abort();
}
- return tr;
+ this._xhr = $.ajax(request);
}
- }, {
- key: "initBody",
- value: function initBody(fixedScroll, updatedUid) {
- var _this8 = this;
- var data = this.getData();
- this.trigger('pre-body', data);
- this.$body = this.$el.find('>tbody');
- if (!this.$body.length) {
- this.$body = $('<tbody></tbody>').appendTo(this.$el);
- }
-
- // Fix #389 Bootstrap-table-flatJSON is not working
- if (!this.options.pagination || this.options.sidePagination === 'server') {
- this.pageFrom = 1;
- this.pageTo = data.length;
- }
- var rows = [];
- var trFragments = $(document.createDocumentFragment());
- var hasTr = false;
- var toExpand = [];
- this.autoMergeCells = Utils.checkAutoMergeCells(data.slice(this.pageFrom - 1, this.pageTo));
- for (var i = this.pageFrom - 1; i < this.pageTo; i++) {
- var item = data[i];
- var tr = this.initRow(item, i, data, trFragments);
- hasTr = hasTr || !!tr;
- if (tr && tr instanceof Node) {
- var uniqueId = this.options.uniqueId;
- var toAppend = [tr];
- if (uniqueId && item.hasOwnProperty(uniqueId)) {
- var itemUniqueId = item[uniqueId];
- var oldTr = this.$body.find(Utils.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]', itemUniqueId));
- var oldTrNext = oldTr.next();
- if (oldTrNext.is('tr.detail-view')) {
- toExpand.push(i);
- if (!updatedUid || itemUniqueId !== updatedUid) {
- toAppend.push(oldTrNext[0]);
- }
- }
- }
- if (!this.options.virtualScroll) {
- trFragments.append(toAppend);
- } else {
- rows.push($('<div>').html(toAppend).html());
- }
- }
- }
- this.$el.removeAttr('role');
-
- // show no records
- if (!hasTr) {
- this.$body.html("<tr class=\"no-records-found\">".concat(Utils.sprintf('<td colspan="%s">%s</td>', this.getVisibleFields().length + Utils.getDetailViewIndexOffset(this.options), this.options.formatNoMatches()), "</tr>"));
- this.$el.attr('role', 'presentation');
- } else if (!this.options.virtualScroll) {
- this.$body.html(trFragments);
- } else {
- if (this.virtualScroll) {
- this.virtualScroll.destroy();
- }
- this.virtualScroll = new VirtualScroll({
- rows: rows,
- fixedScroll: fixedScroll,
- scrollEl: this.$tableBody[0],
- contentEl: this.$body[0],
- itemHeight: this.options.virtualScrollItemHeight,
- callback: function callback(startIndex, endIndex) {
- _this8.fitHeader();
- _this8.initBodyEvent();
- _this8.trigger('virtual-scroll', startIndex, endIndex);
- }
- });
- }
- toExpand.forEach(function (index) {
- _this8.expandRow(index);
- });
- if (!fixedScroll) {
- this.scrollTo(0);
- }
- this.initBodyEvent();
- this.initFooter();
- this.resetView();
- this.updateSelected();
- if (this.options.sidePagination !== 'server') {
- this.options.totalRows = data.length;
- }
- this.trigger('post-body', data);
+ return data;
+ },
+ initData: function initData(data, type) {
+ if (type === 'append') {
+ this.options.data = this.options.data.concat(data);
+ } else if (type === 'prepend') {
+ this.options.data = [].concat(data).concat(this.options.data);
+ } else {
+ data = data || Utils.deepCopy(this.options.data);
+ this.options.data = Array.isArray(data) ? data : data[this.options.dataField];
+ }
+ this.data = _toConsumableArray(this.options.data);
+ if (this.options.sortReset) {
+ this.unsortedData = _toConsumableArray(this.data);
}
- }, {
- key: "initBodyEvent",
- value: function initBodyEvent() {
- var _this9 = this;
- // click to select by column
- this.$body.find('> tr[data-index] > td').off('click dblclick').on('click dblclick', function (e) {
- var $td = $(e.currentTarget);
- if ($td.find('.detail-icon').length || $td.index() - Utils.getDetailViewIndexOffset(_this9.options) < 0) {
- return;
- }
- var $tr = $td.parent();
- var $cardViewArr = $(e.target).parents('.card-views').children();
- var $cardViewTarget = $(e.target).parents('.card-view');
- var rowIndex = $tr.data('index');
- var item = _this9.data[rowIndex];
- var index = _this9.options.cardView ? $cardViewArr.index($cardViewTarget) : $td[0].cellIndex;
- var fields = _this9.getVisibleFields();
- var field = fields[index - Utils.getDetailViewIndexOffset(_this9.options)];
- var column = _this9.columns[_this9.fieldsColumnsIndex[field]];
- var value = Utils.getItemField(item, field, _this9.options.escape, column.escape);
- _this9.trigger(e.type === 'click' ? 'click-cell' : 'dbl-click-cell', field, value, item, $td);
- _this9.trigger(e.type === 'click' ? 'click-row' : 'dbl-click-row', item, $tr, field);
-
- // if click to select - then trigger the checkbox/radio click
- if (e.type === 'click' && _this9.options.clickToSelect && column.clickToSelect && !Utils.calculateObjectValue(_this9.options, _this9.options.ignoreClickToSelectOn, [e.target])) {
- var $selectItem = $tr.find(Utils.sprintf('[name="%s"]', _this9.options.selectItemName));
- if ($selectItem.length) {
- $selectItem[0].click();
- }
- }
- if (e.type === 'click' && _this9.options.detailViewByClick) {
- _this9.toggleDetailView(rowIndex, _this9.header.detailFormatters[_this9.fieldsColumnsIndex[field]]);
- }
- }).off('mousedown').on('mousedown', function (e) {
- // https://github.com/jquery/jquery/issues/1741
- _this9.multipleSelectRowCtrlKey = e.ctrlKey || e.metaKey;
- _this9.multipleSelectRowShiftKey = e.shiftKey;
- });
- this.$body.find('> tr[data-index] > td > .detail-icon').off('click').on('click', function (e) {
- e.preventDefault();
- _this9.toggleDetailView($(e.currentTarget).parent().parent().data('index'));
- return false;
- });
- this.$selectItem = this.$body.find(Utils.sprintf('[name="%s"]', this.options.selectItemName));
- this.$selectItem.off('click').on('click', function (e) {
- e.stopImmediatePropagation();
- var $this = $(e.currentTarget);
- _this9._toggleCheck($this.prop('checked'), $this.data('index'));
- });
- this.header.events.forEach(function (_events, i) {
- var events = _events;
- if (!events) {
- return;
- }
- // fix bug, if events is defined with namespace
- if (typeof events === 'string') {
- events = Utils.calculateObjectValue(null, events);
- }
- if (!events) {
- throw new Error("Unknown event in the scope: ".concat(_events));
- }
- var field = _this9.header.fields[i];
- var fieldIndex = _this9.getVisibleFields().indexOf(field);
- if (fieldIndex === -1) {
- return;
- }
- fieldIndex += Utils.getDetailViewIndexOffset(_this9.options);
- var _loop3 = function _loop3(key) {
- if (!events.hasOwnProperty(key)) {
- return 1; // continue
- }
- var event = events[key];
- _this9.$body.find('>tr:not(.no-records-found)').each(function (i, tr) {
- var $tr = $(tr);
- var $td = $tr.find(_this9.options.cardView ? '.card-views>.card-view' : '>td').eq(fieldIndex);
- var index = key.indexOf(' ');
- var name = key.substring(0, index);
- var el = key.substring(index + 1);
- $td.find(el).off(name).on(name, function (e) {
- var index = $tr.data('index');
- var row = _this9.data[index];
- var value = row[field];
- event.apply(_this9, [e, value, row, index]);
- });
- });
- };
- for (var key in events) {
- if (_loop3(key)) continue;
- }
- });
+ if (this.options.sidePagination === 'server') {
+ return;
}
- }, {
- key: "initServer",
- value: function initServer(silent, query) {
- var _this0 = this;
- var data = {};
- var index = this.header.fields.indexOf(this.options.sortName);
- var params = {
- searchText: this.searchText,
- sortName: this.options.sortName,
- sortOrder: this.options.sortOrder
- };
- if (this.header.sortNames[index]) {
- params.sortName = this.header.sortNames[index];
- }
- if (this.options.pagination && this.options.sidePagination === 'server') {
- params.pageSize = this.options.pageSize === this.options.formatAllRows() ? this.options.totalRows : this.options.pageSize;
- params.pageNumber = this.options.pageNumber;
+ this.initSort();
+ },
+ initSort: function initSort() {
+ var _this2 = this;
+ var name = this.options.sortName;
+ var order = this.options.sortOrder === 'desc' ? -1 : 1;
+ var index = this.header.fields.indexOf(this.options.sortName);
+ if (index !== -1) {
+ if (this.options.sortStable) {
+ this.data.forEach(function (row, i) {
+ if (!row.hasOwnProperty('_position')) {
+ row._position = i;
+ }
+ });
}
- if (!this.options.url && !this.options.ajax) {
- return;
+ if (Utils.hasRowspanCells(this.data)) {
+ Utils.flattenRowspanCells(this.data);
}
- if (this.options.queryParamsType === 'limit') {
- params = {
- search: params.searchText,
- sort: params.sortName,
- order: params.sortOrder
- };
- if (this.options.pagination && this.options.sidePagination === 'server') {
- params.offset = this.options.pageSize === this.options.formatAllRows() ? 0 : this.options.pageSize * (this.options.pageNumber - 1);
- params.limit = this.options.pageSize;
- if (params.limit === 0 || this.options.pageSize === this.options.formatAllRows()) {
- delete params.limit;
+ if (this.options.customSort) {
+ Utils.calculateObjectValue(this.options, this.options.customSort, [this.options.sortName, this.options.sortOrder, this.data]);
+ } else {
+ this.data.sort(function (a, b) {
+ if (_this2.header.sortNames[index]) {
+ name = _this2.header.sortNames[index];
}
- }
- }
- if (this.options.search && this.options.sidePagination === 'server' && this.options.searchable && this.columns.filter(function (column) {
- return column.searchable;
- }).length) {
- params.searchable = [];
- var _iterator2 = _createForOfIteratorHelper(this.columns),
- _step2;
- try {
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
- var column = _step2.value;
- if (!column.checkbox && column.searchable && (this.options.visibleSearch && column.visible || !this.options.visibleSearch)) {
- params.searchable.push(column.field);
+ var aa = Utils.getItemField(a, name, _this2.options.escape);
+ var bb = Utils.getItemField(b, name, _this2.options.escape);
+ var value = Utils.calculateObjectValue(_this2.header, _this2.header.sorters[index], [aa, bb, a, b]);
+ if (value !== undefined) {
+ if (_this2.options.sortStable && value === 0) {
+ return order * (a._position - b._position);
}
+ return order * value;
}
- } catch (err) {
- _iterator2.e(err);
- } finally {
- _iterator2.f();
- }
+ return Utils.sort(aa, bb, order, _this2.options, a._position, b._position);
+ });
}
- if (!Utils.isEmptyObject(this.filterColumnsPartial)) {
- params.filter = JSON.stringify(this.filterColumnsPartial, null);
+ if (this.options.sortClass !== undefined) {
+ setTimeout(function () {
+ _this2.$el.removeClass(_this2.options.sortClass);
+ var index = _this2.$header.find("[data-field=\"".concat(_this2.options.sortName, "\"]")).index();
+ _this2.$el.find("tr td:nth-child(".concat(index + 1, ")")).addClass(_this2.options.sortClass);
+ }, 250);
}
- Utils.extend(params, query || {});
- data = Utils.calculateObjectValue(this.options, this.options.queryParams, [params], data);
-
- // false to stop request
- if (data === false) {
- return;
+ } else if (this.options.sortReset) {
+ this.data = _toConsumableArray(this.unsortedData);
+ }
+ },
+ onSort: function onSort(_ref) {
+ var type = _ref.type,
+ currentTarget = _ref.currentTarget;
+ var $this = type === 'keypress' ? $(currentTarget) : $(currentTarget).parent();
+ var $this_ = this.$header.find('th').eq($this.index());
+ this.$header.add(this.$header_).find('span.order').remove();
+ if (this.options.sortName === $this.data('field')) {
+ var currentSortOrder = this.options.sortOrder;
+ var initialSortOrder = this.columns[this.fieldsColumnsIndex[$this.data('field')]].sortOrder || this.columns[this.fieldsColumnsIndex[$this.data('field')]].order;
+ if (currentSortOrder === undefined) {
+ this.options.sortOrder = 'asc';
+ } else if (currentSortOrder === 'asc') {
+ this.options.sortOrder = this.options.sortReset ? initialSortOrder === 'asc' ? 'desc' : undefined : 'desc';
+ } else if (this.options.sortOrder === 'desc') {
+ this.options.sortOrder = this.options.sortReset ? initialSortOrder === 'desc' ? 'asc' : undefined : 'asc';
+ }
+ if (this.options.sortOrder === undefined) {
+ this.options.sortName = undefined;
}
- if (!silent) {
- this.showLoading();
- }
- var request = Utils.extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
- type: this.options.method,
- url: this.options.url,
- data: this.options.contentType === 'application/json' && this.options.method === 'post' ? JSON.stringify(data) : data,
- cache: this.options.cache,
- contentType: this.options.contentType,
- dataType: this.options.dataType,
- success: function success(_res, textStatus, jqXHR) {
- var res = Utils.calculateObjectValue(_this0.options, _this0.options.responseHandler, [_res, jqXHR], _res);
- if (_this0.options.sidePagination === 'client' && _this0.options.paginationLoadMore) {
- _this0._paginationLoaded = _this0.data.length === res.length;
- }
- _this0.load(res);
- _this0.trigger('load-success', res, jqXHR && jqXHR.status, jqXHR);
- if (!silent) {
- _this0.hideLoading();
- }
- if (_this0.options.sidePagination === 'server' && _this0.options.pageNumber > 1 && res[_this0.options.totalField] > 0 && !res[_this0.options.dataField].length) {
- _this0.updatePagination();
- }
- },
- error: function error(jqXHR) {
- // abort ajax by multiple request
- if (jqXHR && jqXHR.status === 0 && _this0._xhrAbort) {
- _this0._xhrAbort = false;
- return;
- }
- var data = [];
- if (_this0.options.sidePagination === 'server') {
- data = {};
- data[_this0.options.totalField] = 0;
- data[_this0.options.dataField] = [];
- }
- _this0.load(data);
- _this0.trigger('load-error', jqXHR && jqXHR.status, jqXHR);
- if (!silent) {
- _this0.hideLoading();
- }
- }
- });
- if (this.options.ajax) {
- Utils.calculateObjectValue(this, this.options.ajax, [request], null);
+ } else {
+ this.options.sortName = $this.data('field');
+ if (this.options.rememberOrder) {
+ this.options.sortOrder = $this.data('order') === 'asc' ? 'desc' : 'asc';
} else {
- if (this._xhr && this._xhr.readyState !== 4) {
- this._xhrAbort = true;
- this._xhr.abort();
- }
- this._xhr = $.ajax(request);
+ this.options.sortOrder = this.columns[this.fieldsColumnsIndex[$this.data('field')]].sortOrder || this.columns[this.fieldsColumnsIndex[$this.data('field')]].order;
}
- return data;
}
- }, {
- key: "initSearchText",
- value: function initSearchText() {
- if (this.options.search) {
- this.searchText = '';
- if (this.options.searchText !== '') {
- var $search = Utils.getSearchInput(this);
- $search.val(this.options.searchText);
- this.onSearch({
- currentTarget: $search,
- firedByInitSearchText: true
- });
- }
- }
+ $this.add($this_).data('order', this.options.sortOrder);
+
+ // Assign the correct sortable arrow
+ this.resetCaret();
+ this._sort();
+ },
+ _sort: function _sort() {
+ if (this.options.sidePagination === 'server' && this.options.serverSort) {
+ this.options.pageNumber = 1;
+ this.trigger('sort', this.options.sortName, this.options.sortOrder);
+ this.initServer(this.options.silentSort);
+ return;
}
- }, {
- key: "getCaret",
- value: function getCaret() {
- var _this1 = this;
- this.$header.find('th').each(function (i, th) {
- $(th).find('.sortable').removeClass('desc asc').addClass($(th).data('field') === _this1.options.sortName ? _this1.options.sortOrder : 'both');
- });
+ if (this.options.pagination && this.options.sortResetPage) {
+ this.options.pageNumber = 1;
+ this.initPagination();
}
- }, {
- key: "updateSelected",
- value: function updateSelected() {
- var checkAll = this.$selectItem.filter(':enabled').length && this.$selectItem.filter(':enabled').length === this.$selectItem.filter(':enabled').filter(':checked').length;
- this.$selectAll.add(this.$selectAll_).prop('checked', checkAll);
- this.$selectItem.each(function (i, el) {
- $(el).closest('tr')[$(el).prop('checked') ? 'addClass' : 'removeClass']('selected');
+ this.trigger('sort', this.options.sortName, this.options.sortOrder);
+ this.initSort();
+ this.initBody();
+ },
+ sortReset: function sortReset() {
+ this.options.sortName = undefined;
+ this.options.sortOrder = undefined;
+ this._sort();
+ },
+ sortBy: function sortBy(params) {
+ this.options.sortName = params.field;
+ this.options.sortOrder = params.hasOwnProperty('sortOrder') ? params.sortOrder : 'asc';
+ this._sort();
+ },
+ getData: function getData(params) {
+ var _this3 = this;
+ var data = this.options.data;
+ if ((this.searchText || this.options.customSearch || this.options.sortName !== undefined || this.enableCustomSort ||
+ // Fix #4616: this.enableCustomSort is for extensions
+ !Utils.isEmptyObject(this.filterColumns) || typeof this.options.filterOptions.filterAlgorithm === 'function' || !Utils.isEmptyObject(this.filterColumnsPartial)) && (!params || !params.unfiltered)) {
+ data = this.data;
+ }
+ if (params && !params.includeHiddenRows) {
+ var hiddenRows = this.getHiddenRows();
+ data = data.filter(function (row) {
+ return Utils.findIndex(hiddenRows, row) === -1;
});
}
- }, {
- key: "updateRows",
- value: function updateRows() {
- var _this10 = this;
- this.$selectItem.each(function (i, el) {
- _this10.data[$(el).data('index')][_this10.header.stateField] = $(el).prop('checked');
- });
+ if (params && params.useCurrentPage) {
+ data = data.slice(this.pageFrom - 1, this.pageTo);
}
- }, {
- key: "resetRows",
- value: function resetRows() {
- var _iterator3 = _createForOfIteratorHelper(this.data),
- _step3;
- try {
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
- var row = _step3.value;
- this.$selectAll.prop('checked', false);
- this.$selectItem.prop('checked', false);
- if (this.header.stateField) {
- row[this.header.stateField] = false;
+ if (params && params.formatted) {
+ return data.map(function (row) {
+ var formattedColumns = {};
+ for (var _i = 0, _Object$entries = Object.entries(row); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ key = _Object$entries$_i[0],
+ value = _Object$entries$_i[1];
+ var column = _this3.columns[_this3.fieldsColumnsIndex[key]];
+ if (!column) {
+ continue;
}
+ formattedColumns[key] = Utils.calculateObjectValue(column, _this3.header.formatters[column.fieldIndex], [value, row, row.index, column.field], value);
}
- } catch (err) {
- _iterator3.e(err);
- } finally {
- _iterator3.f();
- }
- this.initHiddenRows();
+ return formattedColumns;
+ });
}
- }, {
- key: "trigger",
- value: function trigger(_name) {
- var _this$options, _this$options2;
- var name = "".concat(_name, ".bs.table");
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key2 = 1; _key2 < _len; _key2++) {
- args[_key2 - 1] = arguments[_key2];
+ return data;
+ },
+ getFooterData: function getFooterData() {
+ var _this$footerData;
+ return (_this$footerData = this.footerData) !== null && _this$footerData !== void 0 ? _this$footerData : [];
+ },
+ load: function load(_data) {
+ var data = _data;
+
+ // #431: support pagination
+ if (this.options.pagination && this.options.sidePagination === 'server') {
+ this.options.totalRows = data[this.options.totalField];
+ this.options.totalNotFiltered = data[this.options.totalNotFilteredField];
+ this.footerData = data[this.options.footerField] ? [data[this.options.footerField]] : undefined;
+ }
+ var fixedScroll = this.options.fixedScroll || data.fixedScroll;
+ data = Array.isArray(data) ? data : data[this.options.dataField];
+ this.initData(data);
+ this.initSearch();
+ this.initPagination();
+ this.initBody(fixedScroll);
+ },
+ append: function append(data) {
+ this.initData(data, 'append');
+ this.initSearch();
+ this.initPagination();
+ this.initSort();
+ this.initBody(true);
+ },
+ prepend: function prepend(data) {
+ this.initData(data, 'prepend');
+ this.initSearch();
+ this.initPagination();
+ this.initSort();
+ this.initBody(true);
+ },
+ remove: function remove(params) {
+ var removed = 0;
+ for (var i = this.options.data.length - 1; i >= 0; i--) {
+ var row = this.options.data[i];
+ var value = Utils.getItemField(row, params.field, this.options.escape, row.escape);
+ if (value === undefined && params.field !== '$index') {
+ continue;
+ }
+ if (!row.hasOwnProperty(params.field) && params.field === '$index' && params.values.includes(i) || params.values.includes(value)) {
+ removed++;
+ this.options.data.splice(i, 1);
}
- (_this$options = this.options)[BootstrapTable.EVENTS[name]].apply(_this$options, [].concat(args, [this]));
- this.$el.trigger($.Event(name, {
- sender: this
- }), args);
- (_this$options2 = this.options).onAll.apply(_this$options2, [name].concat([].concat(args, [this])));
- this.$el.trigger($.Event('all.bs.table', {
- sender: this
- }), [name, args]);
}
- }, {
- key: "resetHeader",
- value: function resetHeader() {
- var _this11 = this;
- // fix #61: the hidden table reset header bug.
- // fix bug: get $el.css('width') error sometime (height = 500)
- clearTimeout(this.timeoutId_);
- this.timeoutId_ = setTimeout(function () {
- return _this11.fitHeader();
- }, this.$el.is(':hidden') ? 100 : 0);
+ if (!removed) {
+ return;
}
- }, {
- key: "fitHeader",
- value: function fitHeader() {
- var _this12 = this;
- if (this.$el.is(':hidden')) {
- this.timeoutId_ = setTimeout(function () {
- return _this12.fitHeader();
- }, 100);
- return;
- }
- var fixedBody = this.$tableBody.get(0);
- var scrollWidth = this.hasScrollBar && fixedBody.scrollHeight > fixedBody.clientHeight + this.$header.outerHeight() ? Utils.getScrollBarWidth() : 0;
- this.$el.css('margin-top', -this.$header.outerHeight());
- var focused = this.$tableHeader.find(':focus');
- if (focused.length > 0) {
- var $th = focused.parents('th');
- if ($th.length > 0) {
- var dataField = $th.attr('data-field');
- if (dataField !== undefined) {
- var $headerTh = this.$header.find("[data-field='".concat(dataField, "']"));
- if ($headerTh.length > 0) {
- $headerTh.find(':input').addClass('focus-temp');
- }
- }
- }
- }
- this.$header_ = this.$header.clone(true, true);
- this.$selectAll_ = this.$header_.find('[name="btSelectAll"]');
- this.$tableHeader.css('margin-right', scrollWidth).find('table').css('width', this.$el.outerWidth()).html('').attr('class', this.$el.attr('class')).append(this.$header_);
- this.$tableLoading.css('width', this.$el.outerWidth());
- var focusedTemp = $('.focus-temp:visible:eq(0)');
- if (focusedTemp.length > 0) {
- focusedTemp.focus();
- this.$header.find('.focus-temp').removeClass('focus-temp');
- }
-
- // fix bug: $.data() is not working as expected after $.append()
- this.$header.find('th[data-field]').each(function (i, el) {
- _this12.$header_.find(Utils.sprintf('th[data-field="%s"]', $(el).data('field'))).data($(el).data());
- });
- var visibleFields = this.getVisibleFields();
- var $ths = this.$header_.find('th');
- var $tr = this.$body.find('>tr:not(.no-records-found,.virtual-scroll-top)').eq(0);
- while ($tr.length && $tr.find('>td[colspan]:not([colspan="1"])').length) {
- $tr = $tr.next();
- }
- var trLength = $tr.find('> *').length;
- $tr.find('> *').each(function (i, el) {
- var $this = $(el);
- if (Utils.hasDetailViewIcon(_this12.options)) {
- if (i === 0 && _this12.options.detailViewAlign !== 'right' || i === trLength - 1 && _this12.options.detailViewAlign === 'right') {
- var $thDetail = $ths.filter('.detail');
- var _zoomWidth = $thDetail.innerWidth() - $thDetail.find('.fht-cell').width();
- $thDetail.find('.fht-cell').width($this.innerWidth() - _zoomWidth);
- return;
- }
+ if (this.options.sidePagination === 'server') {
+ this.options.totalRows -= removed;
+ this.data = _toConsumableArray(this.options.data);
+ }
+ this.initSearch();
+ this.initPagination();
+ this.initSort();
+ this.initBody(true);
+ },
+ removeAll: function removeAll() {
+ if (this.options.data.length > 0) {
+ this.data.splice(0, this.data.length);
+ this.options.data.splice(0, this.options.data.length);
+ this.initSearch();
+ this.initPagination();
+ this.initBody(true);
+ }
+ },
+ insertRow: function insertRow(params) {
+ if (!params.hasOwnProperty('index') || !params.hasOwnProperty('row')) {
+ return;
+ }
+ var row = this.data[params.index];
+ var originalIndex = this.options.data.indexOf(row);
+ if (originalIndex === -1) {
+ this.append([params.row]);
+ return;
+ }
+ this.data.splice(params.index, 0, params.row);
+ this.options.data.splice(originalIndex, 0, params.row);
+ this.initSearch();
+ this.initPagination();
+ this.initSort();
+ this.initBody(true);
+ },
+ updateRow: function updateRow(params) {
+ var allParams = Array.isArray(params) ? params : [params];
+ var _iterator2 = _createForOfIteratorHelper(allParams),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var _params = _step2.value;
+ if (!_params.hasOwnProperty('index') || !_params.hasOwnProperty('row')) {
+ continue;
}
- var index = i - Utils.getDetailViewIndexOffset(_this12.options);
- var $th = _this12.$header_.find(Utils.sprintf('th[data-field="%s"]', visibleFields[index]));
- if ($th.length > 1) {
- $th = $($ths[$this[0].cellIndex]);
+ var row = this.data[_params.index];
+ var originalIndex = this.options.data.indexOf(row);
+ if (_params.hasOwnProperty('replace') && _params.replace) {
+ this.data[_params.index] = _params.row;
+ this.options.data[originalIndex] = _params.row;
+ } else {
+ Utils.extend(this.data[_params.index], _params.row);
+ Utils.extend(this.options.data[originalIndex], _params.row);
}
- var zoomWidth = $th.innerWidth() - $th.find('.fht-cell').width();
- $th.find('.fht-cell').width($this.innerWidth() - zoomWidth);
- });
- this.horizontalScroll();
- this.trigger('post-header');
- }
- }, {
- key: "initFooter",
- value: function initFooter() {
- if (!this.options.showFooter || this.options.cardView) {
- // do nothing
- return;
- }
- var data = this.getData();
- var html = [];
- var detailTemplate = '';
- if (Utils.hasDetailViewIcon(this.options)) {
- detailTemplate = Utils.h('th', {
- class: 'detail'
- }, [Utils.h('div', {
- class: 'th-inner'
- }), Utils.h('div', {
- class: 'fht-cell'
- })]);
}
- if (detailTemplate && this.options.detailViewAlign !== 'right') {
- html.push(detailTemplate);
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ this.initSearch();
+ this.initPagination();
+ this.initSort();
+ this.initBody(true);
+ },
+ getRowByUniqueId: function getRowByUniqueId(_id) {
+ var uniqueId = this.options.uniqueId;
+ var len = this.options.data.length;
+ var id = _id;
+ var dataRow = null;
+ var i;
+ var row;
+ for (i = len - 1; i >= 0; i--) {
+ row = this.options.data[i];
+ var rowUniqueId = Utils.getItemField(row, uniqueId, this.options.escape, row.escape);
+ if (rowUniqueId === undefined) {
+ continue;
}
- var _iterator4 = _createForOfIteratorHelper(this.columns),
- _step4;
- try {
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
- var column = _step4.value;
- var hasData = this.footerData && this.footerData.length > 0;
- if (!column.visible || hasData && !(column.field in this.footerData[0])) {
- continue;
- }
- if (this.options.cardView && !column.cardVisible) {
- return;
- }
- var style = Utils.calculateObjectValue(null, column.footerStyle || this.options.footerStyle, [column]);
- var csses = style && style.css || {};
- var colspan = hasData && this.footerData[0]["_".concat(column.field, "_colspan")] || 0;
- var value = hasData && this.footerData[0][column.field] || '';
- value = Utils.calculateObjectValue(column, column.footerFormatter, [data, value], value);
- html.push(Utils.h('th', {
- class: [column['class'], style && style.classes],
- style: _objectSpread2({
- 'text-align': column.falign ? column.falign : column.align,
- 'vertical-align': column.valign
- }, csses),
- colspan: colspan || undefined
- }, [Utils.h('div', {
- class: 'th-inner'
- }, _toConsumableArray(Utils.htmlToNodes(value))), Utils.h('div', {
- class: 'fht-cell'
- })]));
+ if (typeof rowUniqueId === 'string') {
+ id = _id.toString();
+ } else if (typeof rowUniqueId === 'number') {
+ if (Number(rowUniqueId) === rowUniqueId && rowUniqueId % 1 === 0) {
+ id = parseInt(_id, 10);
+ } else if (rowUniqueId === Number(rowUniqueId) && rowUniqueId !== 0) {
+ id = parseFloat(_id);
}
- } catch (err) {
- _iterator4.e(err);
- } finally {
- _iterator4.f();
- }
- if (detailTemplate && this.options.detailViewAlign === 'right') {
- html.push(detailTemplate);
- }
- if (!this.options.height && !this.$tableFooter.length) {
- this.$el.append('<tfoot><tr></tr></tfoot>');
- this.$tableFooter = this.$el.find('tfoot');
- }
- if (!this.$tableFooter.find('tr').length) {
- this.$tableFooter.html('<table><thead><tr></tr></thead></table>');
}
- this.$tableFooter.find('tr').html(html);
- this.trigger('post-footer', this.$tableFooter);
- }
- }, {
- key: "fitFooter",
- value: function fitFooter() {
- var _this13 = this;
- if (this.$el.is(':hidden')) {
- setTimeout(function () {
- return _this13.fitFooter();
- }, 100);
- return;
+ if (rowUniqueId === id) {
+ dataRow = row;
+ break;
}
- var fixedBody = this.$tableBody.get(0);
- var scrollWidth = this.hasScrollBar && fixedBody.scrollHeight > fixedBody.clientHeight + this.$header.outerHeight() ? Utils.getScrollBarWidth() : 0;
- this.$tableFooter.css('margin-right', scrollWidth).find('table').css('width', this.$el.outerWidth()).attr('class', this.$el.attr('class'));
- var $ths = this.$tableFooter.find('th');
- var $tr = this.$body.find('>tr:first-child:not(.no-records-found)');
- $ths.find('.fht-cell').width('auto');
- while ($tr.length && $tr.find('>td[colspan]:not([colspan="1"])').length) {
- $tr = $tr.next();
- }
- var trLength = $tr.find('> *').length;
- $tr.find('> *').each(function (i, el) {
- var $this = $(el);
- if (Utils.hasDetailViewIcon(_this13.options)) {
- if (i === 0 && _this13.options.detailViewAlign === 'left' || i === trLength - 1 && _this13.options.detailViewAlign === 'right') {
- var $thDetail = $ths.filter('.detail');
- var _zoomWidth2 = $thDetail.innerWidth() - $thDetail.find('.fht-cell').width();
- $thDetail.find('.fht-cell').width($this.innerWidth() - _zoomWidth2);
- return;
- }
- }
- var $th = $ths.eq(i);
- var zoomWidth = $th.innerWidth() - $th.find('.fht-cell').width();
- $th.find('.fht-cell').width($this.innerWidth() - zoomWidth);
- });
- this.horizontalScroll();
}
- }, {
- key: "horizontalScroll",
- value: function horizontalScroll() {
- var _this14 = this;
- // horizontal scroll event
- // TODO: it's probably better improving the layout than binding to scroll event
- this.$tableBody.off('scroll').on('scroll', function () {
- var scrollLeft = _this14.$tableBody.scrollLeft();
- if (_this14.options.showHeader && _this14.options.height) {
- _this14.$tableHeader.scrollLeft(scrollLeft);
+ return dataRow;
+ },
+ updateByUniqueId: function updateByUniqueId(params) {
+ var allParams = Array.isArray(params) ? params : [params];
+ var updatedUid = null;
+ var _iterator3 = _createForOfIteratorHelper(allParams),
+ _step3;
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var _params2 = _step3.value;
+ if (!_params2.hasOwnProperty('id') || !_params2.hasOwnProperty('row')) {
+ continue;
}
- if (_this14.options.showFooter && !_this14.options.cardView) {
- _this14.$tableFooter.scrollLeft(scrollLeft);
+ var rowId = this.options.data.indexOf(this.getRowByUniqueId(_params2.id));
+ if (rowId === -1) {
+ continue;
}
- _this14.trigger('scroll-body', _this14.$tableBody);
- });
- }
- }, {
- key: "getVisibleFields",
- value: function getVisibleFields() {
- var visibleFields = [];
- var _iterator5 = _createForOfIteratorHelper(this.header.fields),
- _step5;
- try {
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
- var field = _step5.value;
- var column = this.columns[this.fieldsColumnsIndex[field]];
- if (!column || !column.visible || this.options.cardView && !column.cardVisible) {
- continue;
- }
- visibleFields.push(field);
+ if (_params2.hasOwnProperty('replace') && _params2.replace) {
+ this.options.data[rowId] = _params2.row;
+ } else {
+ Utils.extend(this.options.data[rowId], _params2.row);
}
- } catch (err) {
- _iterator5.e(err);
- } finally {
- _iterator5.f();
+ updatedUid = _params2.id;
}
- return visibleFields;
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
}
- }, {
- key: "initHiddenRows",
- value: function initHiddenRows() {
- this.hiddenRows = [];
+ this.initSearch();
+ this.initPagination();
+ this.initSort();
+ this.initBody(true, updatedUid);
+ },
+ removeByUniqueId: function removeByUniqueId(id) {
+ var len = this.options.data.length;
+ var row = this.getRowByUniqueId(id);
+ if (row) {
+ this.options.data.splice(this.options.data.indexOf(row), 1);
}
-
- // PUBLIC FUNCTION DEFINITION
- // =======================
- }, {
- key: "getOptions",
- value: function getOptions() {
- // deep copy and remove data
- var options = Utils.extend({}, this.options);
- delete options.data;
- return Utils.extend(true, {}, options);
+ if (len === this.options.data.length) {
+ return;
}
- }, {
- key: "refreshOptions",
- value: function refreshOptions(options) {
- // If the objects are equivalent then avoid the call of destroy / init methods
- if (Utils.compareObjects(this.options, options, true)) {
+ if (this.options.sidePagination === 'server') {
+ this.options.totalRows -= 1;
+ this.data = _toConsumableArray(this.options.data);
+ }
+ this.initSearch();
+ this.initPagination();
+ this.initBody(true);
+ },
+ _updateCellOnly: function _updateCellOnly(field, index) {
+ if (index === -1) {
+ return;
+ }
+ var rowHtml = this.initRow(this.data[index], index);
+ var fieldIndex = this.getVisibleFields().indexOf(field);
+ if (fieldIndex === -1) {
+ return;
+ }
+ fieldIndex += Utils.getDetailViewIndexOffset(this.options);
+ this.$body.find(">tr[data-index=".concat(index, "]")).find(">td:eq(".concat(fieldIndex, ")")).replaceWith($(rowHtml).find(">td:eq(".concat(fieldIndex, ")")));
+ this.initBodyEvent();
+ this.initFooter();
+ this.resetView();
+ this.updateSelected();
+ },
+ updateCell: function updateCell(params) {
+ if (!params.hasOwnProperty('index') || !params.hasOwnProperty('field') || !params.hasOwnProperty('value')) {
+ return;
+ }
+ var row = this.data[params.index];
+ var originalIndex = this.options.data.indexOf(row);
+ this.data[params.index][params.field] = params.value;
+ this.options.data[originalIndex][params.field] = params.value;
+ if (params.reinit === false) {
+ this._updateCellOnly(params.field, params.index);
+ return;
+ }
+ this.initSort();
+ this.initBody(true);
+ },
+ updateCellByUniqueId: function updateCellByUniqueId(params) {
+ var _this4 = this;
+ var allParams = Array.isArray(params) ? params : [params];
+ allParams.forEach(function (_ref2) {
+ var id = _ref2.id,
+ field = _ref2.field,
+ value = _ref2.value;
+ var row = _this4.getRowByUniqueId(id);
+ var index = _this4.data.indexOf(row);
+ var originalIndex = _this4.options.data.indexOf(row);
+ if (!row || index === -1) {
return;
}
- this.optionsColumnsChanged = !!options.columns;
- this.options = Utils.extend(this.options, options);
- this.trigger('refresh-options', this.options);
- this.destroy();
- this.init();
+ _this4.data[index][field] = value;
+ _this4.options.data[originalIndex][field] = value;
+ });
+ if (params.reinit === false) {
+ this._updateCellOnly(params.field, this.data.indexOf(this.getRowByUniqueId(params.id)));
+ return;
}
- }, {
- key: "getData",
- value: function getData(params) {
- var _this15 = this;
- var data = this.options.data;
- if ((this.searchText || this.options.customSearch || this.options.sortName !== undefined || this.enableCustomSort ||
- // Fix #4616: this.enableCustomSort is for extensions
- !Utils.isEmptyObject(this.filterColumns) || typeof this.options.filterOptions.filterAlgorithm === 'function' || !Utils.isEmptyObject(this.filterColumnsPartial)) && (!params || !params.unfiltered)) {
- data = this.data;
- }
- if (params && !params.includeHiddenRows) {
- var hiddenRows = this.getHiddenRows();
- data = data.filter(function (row) {
- return Utils.findIndex(hiddenRows, row) === -1;
- });
- }
- if (params && params.useCurrentPage) {
- data = data.slice(this.pageFrom - 1, this.pageTo);
- }
- if (params && params.formatted) {
- return data.map(function (row) {
- var formattedColumns = {};
- for (var _i10 = 0, _Object$entries0 = Object.entries(row); _i10 < _Object$entries0.length; _i10++) {
- var _Object$entries0$_i = _slicedToArray(_Object$entries0[_i10], 2),
- key = _Object$entries0$_i[0],
- value = _Object$entries0$_i[1];
- var column = _this15.columns[_this15.fieldsColumnsIndex[key]];
- if (!column) {
- continue;
- }
- formattedColumns[key] = Utils.calculateObjectValue(column, _this15.header.formatters[column.fieldIndex], [value, row, row.index, column.field], value);
- }
- return formattedColumns;
- });
- }
- return data;
+ this.initSort();
+ this.initBody(true);
+ }
+ };
+
+ var DetailModule = {
+ toggleDetailView: function toggleDetailView(index, _columnDetailFormatter) {
+ var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"]', index));
+ if ($tr.next().is('tr.detail-view')) {
+ this.collapseRow(index);
+ } else {
+ this.expandRow(index, _columnDetailFormatter);
}
- }, {
- key: "getFooterData",
- value: function getFooterData() {
- var _this$footerData;
- return (_this$footerData = this.footerData) !== null && _this$footerData !== void 0 ? _this$footerData : [];
+ this.resetView();
+ },
+ expandRow: function expandRow(index, _columnDetailFormatter) {
+ var row = this.data[index];
+ var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index));
+ if (this.options.detailViewIcon) {
+ $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailClose));
}
- }, {
- key: "getSelections",
- value: function getSelections() {
- var _this16 = this;
- return (this.options.maintainMetaData ? this.options.data : this.data).filter(function (row) {
- return row[_this16.header.stateField] === true;
- });
+ if ($tr.next().is('tr.detail-view')) {
+ return;
}
- }, {
- key: "load",
- value: function load(_data) {
- var fixedScroll = false;
- var data = _data;
-
- // #431: support pagination
- if (this.options.pagination && this.options.sidePagination === 'server') {
- this.options.totalRows = data[this.options.totalField];
- this.options.totalNotFiltered = data[this.options.totalNotFilteredField];
- this.footerData = data[this.options.footerField] ? [data[this.options.footerField]] : undefined;
- }
- fixedScroll = this.options.fixedScroll || data.fixedScroll;
- data = Array.isArray(data) ? data : data[this.options.dataField];
- this.initData(data);
- this.initSearch();
- this.initPagination();
- this.initBody(fixedScroll);
+ $tr.after(Utils.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>', $tr.children('td').length));
+ var $element = $tr.next().find('td');
+ var detailFormatter = _columnDetailFormatter || this.options.detailFormatter;
+ var content = Utils.calculateObjectValue(this.options, detailFormatter, [index, row, $element], '');
+ if ($element.length === 1) {
+ $element.append(content);
}
- }, {
- key: "append",
- value: function append(data) {
- this.initData(data, 'append');
- this.initSearch();
- this.initPagination();
- this.initSort();
- this.initBody(true);
+ this.trigger('expand-row', index, row, $element);
+ },
+ expandRowByUniqueId: function expandRowByUniqueId(uniqueId) {
+ var row = this.getRowByUniqueId(uniqueId);
+ if (!row) {
+ return;
}
- }, {
- key: "prepend",
- value: function prepend(data) {
- this.initData(data, 'prepend');
- this.initSearch();
- this.initPagination();
- this.initSort();
- this.initBody(true);
+ this.expandRow(this.data.indexOf(row));
+ },
+ collapseRow: function collapseRow(index) {
+ var row = this.data[index];
+ var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index));
+ if (!$tr.next().is('tr.detail-view')) {
+ return;
}
- }, {
- key: "remove",
- value: function remove(params) {
- var removed = 0;
- for (var i = this.options.data.length - 1; i >= 0; i--) {
- var row = this.options.data[i];
- var value = Utils.getItemField(row, params.field, this.options.escape, row.escape);
- if (value === undefined && params.field !== '$index') {
- continue;
- }
- if (!row.hasOwnProperty(params.field) && params.field === '$index' && params.values.includes(i) || params.values.includes(value)) {
- removed++;
- this.options.data.splice(i, 1);
- }
- }
- if (!removed) {
- return;
- }
- if (this.options.sidePagination === 'server') {
- this.options.totalRows -= removed;
- this.data = _toConsumableArray(this.options.data);
- }
- this.initSearch();
- this.initPagination();
- this.initSort();
- this.initBody(true);
+ if (this.options.detailViewIcon) {
+ $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailOpen));
}
- }, {
- key: "removeAll",
- value: function removeAll() {
- if (this.options.data.length > 0) {
- this.data.splice(0, this.data.length);
- this.options.data.splice(0, this.options.data.length);
- this.initSearch();
- this.initPagination();
- this.initBody(true);
- }
+ this.trigger('collapse-row', index, row, $tr.next());
+ $tr.next().remove();
+ },
+ collapseRowByUniqueId: function collapseRowByUniqueId(uniqueId) {
+ var row = this.getRowByUniqueId(uniqueId);
+ if (!row) {
+ return;
}
- }, {
- key: "insertRow",
- value: function insertRow(params) {
- if (!params.hasOwnProperty('index') || !params.hasOwnProperty('row')) {
- return;
- }
- var row = this.data[params.index];
- var originalIndex = this.options.data.indexOf(row);
- if (originalIndex === -1) {
- this.append([params.row]);
- return;
- }
- this.data.splice(params.index, 0, params.row);
- this.options.data.splice(originalIndex, 0, params.row);
- this.initSearch();
- this.initPagination();
- this.initSort();
- this.initBody(true);
+ this.collapseRow(this.data.indexOf(row));
+ },
+ expandAllRows: function expandAllRows() {
+ var trs = this.$body.find('> tr[data-index][data-has-detail-view]');
+ for (var i = 0; i < trs.length; i++) {
+ this.expandRow($(trs[i]).data('index'));
}
- }, {
- key: "updateRow",
- value: function updateRow(params) {
- var allParams = Array.isArray(params) ? params : [params];
- var _iterator6 = _createForOfIteratorHelper(allParams),
- _step6;
- try {
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
- var _params = _step6.value;
- if (!_params.hasOwnProperty('index') || !_params.hasOwnProperty('row')) {
- continue;
+ },
+ collapseAllRows: function collapseAllRows() {
+ var trs = this.$body.find('> tr[data-index][data-has-detail-view]');
+ for (var i = 0; i < trs.length; i++) {
+ this.collapseRow($(trs[i]).data('index'));
+ }
+ }
+ };
+
+ var HeaderModule = {
+ initHeader: function initHeader() {
+ var _this = this;
+ var visibleColumns = {};
+ var headerHtml = [];
+ this.header = {
+ fields: [],
+ styles: [],
+ classes: [],
+ formatters: [],
+ detailFormatters: [],
+ events: [],
+ sorters: [],
+ sortNames: [],
+ cellStyles: [],
+ searchables: []
+ };
+ Utils.updateFieldGroup(this.options.columns, this.columns);
+ this.options.columns.forEach(function (columns, i) {
+ var html = [];
+ html.push("<tr".concat(Utils.sprintf(' class="%s"', _this._headerTrClasses[i]), " ").concat(Utils.sprintf(' style="%s"', _this._headerTrStyles[i]), ">"));
+ var detailViewTemplate = '';
+ if (i === 0 && Utils.hasDetailViewIcon(_this.options)) {
+ var rowspan = _this.options.columns.length > 1 ? " rowspan=\"".concat(_this.options.columns.length, "\"") : '';
+ detailViewTemplate = "<th class=\"detail\"".concat(rowspan, ">\n <div class=\"fht-cell\"></div>\n </th>");
+ }
+ if (detailViewTemplate && _this.options.detailViewAlign !== 'right') {
+ html.push(detailViewTemplate);
+ }
+ columns.forEach(function (column, j) {
+ var class_ = Utils.sprintf(' class="%s"', column.class);
+ var unitWidth = column.widthUnit;
+ var width = parseFloat(column.width);
+ var columnHalign = column.halign ? column.halign : column.align;
+ var halign = Utils.sprintf('text-align: %s; ', columnHalign);
+ var align = Utils.sprintf('text-align: %s; ', column.align);
+ var style = Utils.sprintf('vertical-align: %s; ', column.valign);
+ style += Utils.sprintf('width: %s; ', (column.checkbox || column.radio) && !width ? !column.showSelectTitle ? '36px' : undefined : width ? width + unitWidth : undefined);
+ if (typeof column.fieldIndex === 'undefined' && !column.visible) {
+ return;
+ }
+ var headerStyle = Utils.calculateObjectValue(null, _this.options.headerStyle, [column]);
+ var csses = [];
+ var data_ = [];
+ var classes = '';
+ if (headerStyle && headerStyle.css) {
+ for (var _i = 0, _Object$entries = Object.entries(headerStyle.css); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ key = _Object$entries$_i[0],
+ value = _Object$entries$_i[1];
+ csses.push("".concat(key, ": ").concat(value));
}
- var row = this.data[_params.index];
- var originalIndex = this.options.data.indexOf(row);
- if (_params.hasOwnProperty('replace') && _params.replace) {
- this.data[_params.index] = _params.row;
- this.options.data[originalIndex] = _params.row;
- } else {
- Utils.extend(this.data[_params.index], _params.row);
- Utils.extend(this.options.data[originalIndex], _params.row);
+ }
+ if (headerStyle && headerStyle.classes) {
+ classes = Utils.sprintf(' class="%s"', column['class'] ? [column['class'], headerStyle.classes].join(' ') : headerStyle.classes);
+ }
+ if (typeof column.fieldIndex !== 'undefined') {
+ _this.header.fields[column.fieldIndex] = column.field;
+ _this.header.styles[column.fieldIndex] = align + style;
+ _this.header.classes[column.fieldIndex] = column.class;
+ _this.header.formatters[column.fieldIndex] = column.formatter;
+ _this.header.detailFormatters[column.fieldIndex] = column.detailFormatter;
+ _this.header.events[column.fieldIndex] = column.events;
+ _this.header.sorters[column.fieldIndex] = column.sorter;
+ _this.header.sortNames[column.fieldIndex] = column.sortName;
+ _this.header.cellStyles[column.fieldIndex] = column.cellStyle;
+ _this.header.searchables[column.fieldIndex] = column.searchable;
+ if (!column.visible) {
+ return;
}
+ if (_this.options.cardView && !column.cardVisible) {
+ return;
+ }
+ visibleColumns[column.field] = column;
}
- } catch (err) {
- _iterator6.e(err);
- } finally {
- _iterator6.f();
- }
- this.initSearch();
- this.initPagination();
- this.initSort();
- this.initBody(true);
- }
- }, {
- key: "getRowByUniqueId",
- value: function getRowByUniqueId(_id) {
- var uniqueId = this.options.uniqueId;
- var len = this.options.data.length;
- var id = _id;
- var dataRow = null;
- var i;
- var row;
- for (i = len - 1; i >= 0; i--) {
- row = this.options.data[i];
- var rowUniqueId = Utils.getItemField(row, uniqueId, this.options.escape, row.escape);
- if (rowUniqueId === undefined) {
- continue;
+ if (Object.keys(column._data || {}).length > 0) {
+ for (var _i2 = 0, _Object$entries2 = Object.entries(column._data); _i2 < _Object$entries2.length; _i2++) {
+ var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),
+ k = _Object$entries2$_i[0],
+ v = _Object$entries2$_i[1];
+ data_.push("data-".concat(k, "='").concat(_typeof(v) === 'object' ? JSON.stringify(v) : v, "'"));
+ }
}
- if (typeof rowUniqueId === 'string') {
- id = _id.toString();
- } else if (typeof rowUniqueId === 'number') {
- if (Number(rowUniqueId) === rowUniqueId && rowUniqueId % 1 === 0) {
- id = parseInt(_id, 10);
- } else if (rowUniqueId === Number(rowUniqueId) && rowUniqueId !== 0) {
- id = parseFloat(_id);
+ html.push("<th".concat(Utils.sprintf(' title="%s"', column.titleTooltip)), column.checkbox || column.radio ? Utils.sprintf(' class="bs-checkbox %s"', column['class'] || '') : classes || class_, Utils.sprintf(' style="%s"', (column.style || '') + halign + style + csses.join('; ') || undefined), Utils.sprintf(' rowspan="%s"', column.rowspan), Utils.sprintf(' colspan="%s"', column.colspan), Utils.sprintf(' scope="%s"', column.scope), Utils.sprintf(' data-field="%s"', column.field),
+ // If `column` is not the first element of `this.options.columns[0]`, then className 'data-not-first-th' should be added.
+ j === 0 && i > 0 ? ' data-not-first-th' : '', data_.length > 0 ? data_.join(' ') : '', '>');
+ html.push(Utils.sprintf('<div class="th-inner %s">', _this.options.sortable && column.sortable ? "sortable".concat(columnHalign === 'center' ? ' sortable-center' : '', " both") : ''));
+ var text = _this.options.escape && _this.options.escapeTitle ? Utils.escapeHTML(column.title) : column.title;
+ var title = text;
+ if (column.checkbox) {
+ text = '';
+ if (!_this.options.singleSelect && _this.options.checkboxHeader) {
+ text = Utils.getCheckboxHtml({
+ name: 'btSelectAll',
+ centered: true,
+ withLabel: false
+ });
}
+ _this.header.stateField = column.field;
}
- if (rowUniqueId === id) {
- dataRow = row;
- break;
+ if (column.radio) {
+ text = '';
+ _this.header.stateField = column.field;
+ }
+ if (!text && column.showSelectTitle) {
+ text += title;
+ }
+ html.push(text);
+ html.push('</div>');
+ html.push('<div class="fht-cell"></div>');
+ html.push('</div>');
+ html.push('</th>');
+ });
+ if (detailViewTemplate && _this.options.detailViewAlign === 'right') {
+ html.push(detailViewTemplate);
+ }
+ html.push('</tr>');
+ if (html.length > 3) {
+ headerHtml.push(html.join(''));
+ }
+ });
+ this.$header.html(headerHtml.join(''));
+ this.$header.find('th[data-field]').each(function (i, el) {
+ $(el).data(visibleColumns[$(el).data('field')]);
+ });
+ this.$container.off('click', '.th-inner').on('click', '.th-inner', function (e) {
+ var $this = $(e.currentTarget);
+ if (_this.options.detailView && !$this.parent().hasClass('bs-checkbox')) {
+ if ($this.closest('.bootstrap-table')[0] !== _this.$container[0]) {
+ return false;
+ }
+ }
+ if (_this.options.sortable && $this.parent().data().sortable) {
+ _this.onSort(e);
+ }
+ });
+ var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id'));
+ $(window).off(resizeEvent);
+ if (!this.options.showHeader || this.options.cardView) {
+ this.$header.hide();
+ this.$tableHeader.hide();
+ this.$tableLoading.css('top', 0);
+ } else {
+ this.$header.show();
+ this.$tableHeader.show();
+ this.$tableLoading.css('top', this.$header.outerHeight() + 1);
+ // Assign the correct sortable arrow
+ this.resetCaret();
+ $(window).on(resizeEvent, function () {
+ return _this.resetView();
+ });
+ }
+ this.$selectAll = this.$header.find('[name="btSelectAll"]');
+ this.$selectAll.off('click').on('click', function (e) {
+ e.stopPropagation();
+ var checked = $(e.currentTarget).prop('checked');
+ _this[checked ? 'checkAll' : 'uncheckAll']();
+ _this.updateSelected();
+ });
+ },
+ getVisibleFields: function getVisibleFields() {
+ var visibleFields = [];
+ var _iterator = _createForOfIteratorHelper(this.header.fields),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var field = _step.value;
+ var column = this.columns[this.fieldsColumnsIndex[field]];
+ if (!column || !column.visible || this.options.cardView && !column.cardVisible) {
+ continue;
}
+ visibleFields.push(field);
}
- return dataRow;
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
}
- }, {
- key: "updateByUniqueId",
- value: function updateByUniqueId(params) {
- var allParams = Array.isArray(params) ? params : [params];
- var updatedUid = null;
- var _iterator7 = _createForOfIteratorHelper(allParams),
- _step7;
- try {
- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
- var _params2 = _step7.value;
- if (!_params2.hasOwnProperty('id') || !_params2.hasOwnProperty('row')) {
- continue;
- }
- var rowId = this.options.data.indexOf(this.getRowByUniqueId(_params2.id));
- if (rowId === -1) {
- continue;
- }
- if (_params2.hasOwnProperty('replace') && _params2.replace) {
- this.options.data[rowId] = _params2.row;
- } else {
- Utils.extend(this.options.data[rowId], _params2.row);
+ return visibleFields;
+ },
+ resetHeader: function resetHeader() {
+ var _this2 = this;
+ // Fix #61: the hidden table reset header bug.
+ // Fix bug: get $el.css('width') error sometime (height = 500)
+ this._setDelayTimeout('header', function () {
+ return _this2.fitHeader();
+ }, this.$el.is(':hidden') ? 100 : 0);
+ },
+ fitHeader: function fitHeader() {
+ var _this3 = this;
+ if (this.$el.is(':hidden')) {
+ this._setDelayTimeout('header', function () {
+ return _this3.fitHeader();
+ }, 100);
+ return;
+ }
+ var fixedBody = this.$tableBody.get(0);
+ var scrollWidth = this.hasScrollBar && fixedBody.scrollHeight > fixedBody.clientHeight + this.$header.outerHeight() ? Utils.getScrollBarWidth() : 0;
+ this.$el.css('margin-top', -this.$header.outerHeight());
+ var focused = this.$tableHeader.find(':focus');
+ if (focused.length > 0) {
+ var $th = focused.parents('th');
+ if ($th.length > 0) {
+ var dataField = $th.attr('data-field');
+ if (dataField !== undefined) {
+ var $headerTh = this.$header.find("[data-field='".concat(dataField, "']"));
+ if ($headerTh.length > 0) {
+ $headerTh.find(':input').addClass('focus-temp');
}
- updatedUid = _params2.id;
}
- } catch (err) {
- _iterator7.e(err);
- } finally {
- _iterator7.f();
}
- this.initSearch();
- this.initPagination();
- this.initSort();
- this.initBody(true, updatedUid);
}
- }, {
- key: "removeByUniqueId",
- value: function removeByUniqueId(id) {
- var len = this.options.data.length;
- var row = this.getRowByUniqueId(id);
- if (row) {
- this.options.data.splice(this.options.data.indexOf(row), 1);
- }
- if (len === this.options.data.length) {
- return;
- }
- if (this.options.sidePagination === 'server') {
- this.options.totalRows -= 1;
- this.data = _toConsumableArray(this.options.data);
- }
- this.initSearch();
- this.initPagination();
- this.initBody(true);
+ this.$header_ = this.$header.clone(true, true);
+ this.$selectAll_ = this.$header_.find('[name="btSelectAll"]');
+ var $caption = this.$el.find('caption');
+ var $fixedHeaderTable = this.$tableHeader.css('margin-right', scrollWidth).find('table').css('width', this.$el.outerWidth()).html('').attr('class', this.$el.attr('class'));
+ if ($caption.length > 0) {
+ $fixedHeaderTable.append($caption.clone(true, true));
}
- }, {
- key: "_updateCellOnly",
- value: function _updateCellOnly(field, index) {
- if (index === -1) {
- return;
- }
- var rowHtml = this.initRow(this.data[index], index);
- var fieldIndex = this.getVisibleFields().indexOf(field);
- if (fieldIndex === -1) {
- return;
- }
- fieldIndex += Utils.getDetailViewIndexOffset(this.options);
- this.$body.find(">tr[data-index=".concat(index, "]")).find(">td:eq(".concat(fieldIndex, ")")).replaceWith($(rowHtml).find(">td:eq(".concat(fieldIndex, ")")));
- this.initBodyEvent();
- this.initFooter();
- this.resetView();
- this.updateSelected();
+ $fixedHeaderTable.append(this.$header_);
+ this.$tableLoading.css('width', this.$el.outerWidth());
+ var focusedTemp = $('.focus-temp:visible:eq(0)');
+ if (focusedTemp.length > 0) {
+ focusedTemp.focus();
+ this.$header.find('.focus-temp').removeClass('focus-temp');
}
- }, {
- key: "updateCell",
- value: function updateCell(params) {
- if (!params.hasOwnProperty('index') || !params.hasOwnProperty('field') || !params.hasOwnProperty('value')) {
- return;
+
+ // fix bug: $.data() is not working as expected after $.append()
+ this.$header.find('th[data-field]').each(function (i, el) {
+ _this3.$header_.find(Utils.sprintf('th[data-field="%s"]', $(el).data('field'))).data($(el).data());
+ });
+ var visibleFields = this.getVisibleFields();
+ var $ths = this.$header_.find('th');
+ var $tr = this.$body.find('>tr:not(.no-records-found,.virtual-scroll-top)').eq(0);
+ while ($tr.length && $tr.find('>td[colspan]:not([colspan="1"])').length) {
+ $tr = $tr.next();
+ }
+ var trLength = $tr.find('> *').length;
+ $tr.find('> *').each(function (i, el) {
+ var $this = $(el);
+ if (Utils.hasDetailViewIcon(_this3.options)) {
+ if (i === 0 && _this3.options.detailViewAlign !== 'right' || i === trLength - 1 && _this3.options.detailViewAlign === 'right') {
+ var $thDetail = $ths.filter('.detail');
+ var _zoomWidth = $thDetail.innerWidth() - $thDetail.find('.fht-cell').width();
+ $thDetail.find('.fht-cell').width($this.innerWidth() - _zoomWidth);
+ return;
+ }
}
- var row = this.data[params.index];
- var originalIndex = this.options.data.indexOf(row);
- this.data[params.index][params.field] = params.value;
- this.options.data[originalIndex][params.field] = params.value;
- if (params.reinit === false) {
- this._updateCellOnly(params.field, params.index);
- return;
+ var index = i - Utils.getDetailViewIndexOffset(_this3.options);
+ var $th = _this3.$header_.find(Utils.sprintf('th[data-field="%s"]', visibleFields[index]));
+ if ($th.length > 1) {
+ $th = $($ths[$this[0].cellIndex]);
}
- this.initSort();
- this.initBody(true);
+ var zoomWidth = $th.innerWidth() - $th.find('.fht-cell').width();
+ $th.find('.fht-cell').width($this.innerWidth() - zoomWidth);
+ });
+ this.horizontalScroll();
+ this.trigger('post-header');
+ },
+ resetCaret: function resetCaret() {
+ var _this$options = this.options,
+ sortName = _this$options.sortName,
+ sortOrder = _this$options.sortOrder;
+ var ariaSort = sortOrder === 'asc' ? 'ascending' : 'descending';
+ this.$header.find('th').each(function (i, th) {
+ var isActive = $(th).data('field') === sortName;
+ $(th).attr('aria-sort', isActive ? ariaSort : null).find('.sortable').removeClass('desc asc').addClass(isActive ? sortOrder : 'both');
+ });
+ },
+ initFooter: function initFooter() {
+ if (!this.options.showFooter || this.options.cardView) {
+ // do nothing
+ return;
}
- }, {
- key: "updateCellByUniqueId",
- value: function updateCellByUniqueId(params) {
- var _this17 = this;
- var allParams = Array.isArray(params) ? params : [params];
- allParams.forEach(function (_ref6) {
- var id = _ref6.id,
- field = _ref6.field,
- value = _ref6.value;
- var row = _this17.getRowByUniqueId(id);
- var index = _this17.data.indexOf(row);
- var originalIndex = _this17.options.data.indexOf(row);
- if (!row || index === -1) {
+ var data = this.getData();
+ var html = [];
+ var detailTemplate = '';
+ if (Utils.hasDetailViewIcon(this.options)) {
+ detailTemplate = Utils.h('th', {
+ class: 'detail'
+ }, [Utils.h('div', {
+ class: 'th-inner'
+ }), Utils.h('div', {
+ class: 'fht-cell'
+ })]);
+ }
+ if (detailTemplate && this.options.detailViewAlign !== 'right') {
+ html.push(detailTemplate);
+ }
+ var _iterator2 = _createForOfIteratorHelper(this.columns),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var column = _step2.value;
+ var hasData = this.footerData && this.footerData.length > 0;
+ if (!column.visible || hasData && !(column.field in this.footerData[0])) {
+ continue;
+ }
+ if (this.options.cardView && !column.cardVisible) {
return;
}
- _this17.data[index][field] = value;
- _this17.options.data[originalIndex][field] = value;
- });
- if (params.reinit === false) {
- this._updateCellOnly(params.field, this.data.indexOf(this.getRowByUniqueId(params.id)));
- return;
+ var style = Utils.calculateObjectValue(null, column.footerStyle || this.options.footerStyle, [column]);
+ var csses = style && style.css || {};
+ var colspan = hasData && this.footerData[0]["_".concat(column.field, "_colspan")] || 0;
+ var value = hasData && this.footerData[0][column.field] || '';
+ value = Utils.calculateObjectValue(column, column.footerFormatter, [data, value], value);
+ html.push(Utils.h('th', {
+ class: [column['class'], style && style.classes],
+ style: _objectSpread2({
+ 'text-align': column.falign ? column.falign : column.align,
+ 'vertical-align': column.valign
+ }, csses),
+ colspan: colspan || undefined
+ }, [Utils.h('div', {
+ class: 'th-inner'
+ }, _toConsumableArray(Utils.htmlToNodes(value))), Utils.h('div', {
+ class: 'fht-cell'
+ })]));
}
- this.initSort();
- this.initBody(true);
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
}
- }, {
- key: "showRow",
- value: function showRow(params) {
- this._toggleRow(params, true);
+ if (detailTemplate && this.options.detailViewAlign === 'right') {
+ html.push(detailTemplate);
}
- }, {
- key: "hideRow",
- value: function hideRow(params) {
- this._toggleRow(params, false);
+ if (!this.options.height && !this.$tableFooter.length) {
+ this.$el.append('<tfoot><tr></tr></tfoot>');
+ this.$tableFooter = this.$el.find('tfoot');
}
- }, {
- key: "_toggleRow",
- value: function _toggleRow(params, visible) {
- var row;
- if (params.hasOwnProperty('index')) {
- row = this.getData()[params.index];
- } else if (params.hasOwnProperty('uniqueId')) {
- row = this.getRowByUniqueId(params.uniqueId);
- }
- if (!row) {
- return;
- }
- var index = Utils.findIndex(this.hiddenRows, row);
- if (!visible && index === -1) {
- this.hiddenRows.push(row);
- } else if (visible && index > -1) {
- this.hiddenRows.splice(index, 1);
- }
- this.initBody(true);
- this.initPagination();
+ if (!this.$tableFooter.find('tr').length) {
+ this.$tableFooter.html('<table><thead><tr></tr></thead></table>');
}
- }, {
- key: "getHiddenRows",
- value: function getHiddenRows(show) {
- if (show) {
- this.initHiddenRows();
- this.initBody(true);
- this.initPagination();
- return;
- }
- var data = this.getData();
- var rows = [];
- var _iterator8 = _createForOfIteratorHelper(data),
- _step8;
- try {
- for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
- var row = _step8.value;
- if (this.hiddenRows.includes(row)) {
- rows.push(row);
- }
+ this.$tableFooter.find('tr').html(html);
+ this.trigger('post-footer', this.$tableFooter);
+ },
+ fitFooter: function fitFooter() {
+ var _this4 = this;
+ if (this.$el.is(':hidden')) {
+ this._setDelayTimeout('footer', function () {
+ return _this4.fitFooter();
+ }, 100);
+ return;
+ }
+ var fixedBody = this.$tableBody.get(0);
+ var scrollWidth = this.hasScrollBar && fixedBody.scrollHeight > fixedBody.clientHeight + this.$header.outerHeight() ? Utils.getScrollBarWidth() : 0;
+ this.$tableFooter.css('margin-right', scrollWidth).find('table').css('width', this.$el.outerWidth()).attr('class', this.$el.attr('class'));
+ var $ths = this.$tableFooter.find('th');
+ var $tr = this.$body.find('>tr:first-child:not(.no-records-found)');
+ $ths.find('.fht-cell').width('auto');
+ while ($tr.length && $tr.find('>td[colspan]:not([colspan="1"])').length) {
+ $tr = $tr.next();
+ }
+ var trLength = $tr.find('> *').length;
+ $tr.find('> *').each(function (i, el) {
+ var $this = $(el);
+ if (Utils.hasDetailViewIcon(_this4.options)) {
+ if (i === 0 && _this4.options.detailViewAlign === 'left' || i === trLength - 1 && _this4.options.detailViewAlign === 'right') {
+ var $thDetail = $ths.filter('.detail');
+ var _zoomWidth2 = $thDetail.innerWidth() - $thDetail.find('.fht-cell').width();
+ $thDetail.find('.fht-cell').width($this.innerWidth() - _zoomWidth2);
+ return;
}
- } catch (err) {
- _iterator8.e(err);
- } finally {
- _iterator8.f();
}
- this.hiddenRows = rows;
- return rows;
+ var $th = $ths.eq(i);
+ var zoomWidth = $th.innerWidth() - $th.find('.fht-cell').width();
+ $th.find('.fht-cell').width($this.innerWidth() - zoomWidth);
+ });
+ this.horizontalScroll();
+ },
+ horizontalScroll: function horizontalScroll() {
+ var _this5 = this;
+ // horizontal scroll event
+ // TODO: it's probably better improving the layout than binding to scroll event
+ this.$tableBody.off('scroll').on('scroll', function () {
+ var scrollLeft = _this5.$tableBody.scrollLeft();
+ if (_this5.options.showHeader && _this5.options.height) {
+ _this5.$tableHeader.scrollLeft(scrollLeft);
+ }
+ if (_this5.options.showFooter && !_this5.options.cardView) {
+ _this5.$tableFooter.scrollLeft(scrollLeft);
+ }
+ _this5.trigger('scroll-body', _this5.$tableBody);
+ });
+ },
+ updateColumnTitle: function updateColumnTitle(params) {
+ if (!params.hasOwnProperty('field') || !params.hasOwnProperty('title')) {
+ return;
}
- }, {
- key: "showColumn",
- value: function showColumn(field) {
- var _this18 = this;
- var fields = Array.isArray(field) ? field : [field];
- fields.forEach(function (field) {
- _this18._toggleColumn(_this18.fieldsColumnsIndex[field], true, true);
+ this.columns[this.fieldsColumnsIndex[params.field]].title = this.options.escape && this.options.escapeTitle ? Utils.escapeHTML(params.title) : params.title;
+ if (this.columns[this.fieldsColumnsIndex[params.field]].visible) {
+ this.$header.find('th[data-field]').each(function (i, el) {
+ if ($(el).data('field') === params.field) {
+ $($(el).find('.th-inner')[0]).html(params.title);
+ return false;
+ }
});
+ this.resetView();
}
- }, {
- key: "hideColumn",
- value: function hideColumn(field) {
- var _this19 = this;
- var fields = Array.isArray(field) ? field : [field];
- fields.forEach(function (field) {
- _this19._toggleColumn(_this19.fieldsColumnsIndex[field], false, true);
- });
+ }
+ };
+
+ var PaginationModule = {
+ initPagination: function initPagination() {
+ var _this = this;
+ var opts = this.options;
+ if (!opts.pagination) {
+ this.$pagination.hide();
+ return;
}
- }, {
- key: "_toggleColumn",
- value: function _toggleColumn(index, checked, needUpdate) {
- if (index === undefined || this.columns[index].visible === checked) {
- return;
+ this.$pagination.show();
+ var html = [];
+ var allSelected = false;
+ var i;
+ var from;
+ var to;
+ var $pageList;
+ var $pre;
+ var $next;
+ var $number;
+ var data = this.getData({
+ includeHiddenRows: false
+ });
+ var pageList = opts.pageList;
+ if (typeof pageList === 'string') {
+ pageList = pageList.replace(/\[|\]| /g, '').toLowerCase().split(',');
+ }
+ pageList = pageList.map(function (value) {
+ if (typeof value === 'string') {
+ return value.toLowerCase() === opts.formatAllRows().toLowerCase() || ['all', 'unlimited'].includes(value.toLowerCase()) ? opts.formatAllRows() : +value;
}
- this.columns[index].visible = checked;
- this.initHeader();
- this.initSearch();
- this.initPagination();
- this.initBody();
- if (this.options.showColumns) {
- var $items = this.$toolbar.find('.keep-open input:not(".toggle-all")').prop('disabled', false);
- if (needUpdate) {
- $items.filter(Utils.sprintf('[value="%s"]', index)).prop('checked', checked);
- }
- if ($items.filter(':checked').length <= this.options.minimumCountColumns) {
- $items.filter(':checked').prop('disabled', true);
+ return value;
+ });
+ this.paginationParts = opts.paginationParts;
+ if (typeof this.paginationParts === 'string') {
+ this.paginationParts = this.paginationParts.replace(/\[|\]| |'/g, '').split(',');
+ }
+ if (opts.sidePagination !== 'server') {
+ opts.totalRows = data.length;
+ }
+ this.totalPages = 0;
+ if (opts.pageSize <= 0) {
+ console.warn('pageSize must be a positive number, falling back to show all rows.');
+ opts.pageSize = opts.totalRows || 1;
+ allSelected = true;
+ }
+ if (opts.totalRows) {
+ if (opts.pageSize === opts.formatAllRows()) {
+ opts.pageSize = opts.totalRows;
+ allSelected = true;
+ }
+ this.totalPages = ~~((opts.totalRows - 1) / opts.pageSize) + 1;
+ opts.totalPages = this.totalPages;
+ }
+ if (this.totalPages > 0 && opts.pageNumber > this.totalPages) {
+ opts.pageNumber = this.totalPages;
+ }
+ this.pageFrom = (opts.pageNumber - 1) * opts.pageSize + 1;
+ this.pageTo = opts.pageNumber * opts.pageSize;
+ if (this.pageTo > opts.totalRows) {
+ this.pageTo = opts.totalRows;
+ }
+ if (this.options.pagination && this.options.sidePagination !== 'server') {
+ this.options.totalNotFiltered = this.options.data.length;
+ }
+ if (!this.options.showExtendedPagination) {
+ this.options.totalNotFiltered = undefined;
+ }
+ if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort') || this.paginationParts.includes('pageSize')) {
+ html.push("<div class=\"".concat(this.constants.classes.pull, "-").concat(opts.paginationDetailHAlign, " pagination-detail\">"));
+ }
+ if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort')) {
+ var totalRows = this.options.totalRows;
+ if (this.options.sidePagination === 'client' && this.options.paginationLoadMore && !this._paginationLoaded && this.totalPages > 1) {
+ totalRows += ' +';
+ }
+ var paginationInfo = this.paginationParts.includes('pageInfoShort') ? opts.formatDetailPagination(totalRows) : opts.formatShowingRows(this.pageFrom, this.pageTo, totalRows, opts.totalNotFiltered);
+ html.push("<span class=\"pagination-info\">\n ".concat(paginationInfo, "\n </span>"));
+ }
+ if (this.paginationParts.includes('pageSize')) {
+ html.push('<div class="page-list">');
+ var pageNumber = ["<div class=\"".concat(this.constants.classes.paginationDropdown, "\">\n <button class=\"").concat(this.constants.buttonsClass, " dropdown-toggle\" type=\"button\" ").concat(this.constants.dataToggle, "=\"dropdown\">\n <span class=\"page-size\">\n ").concat(allSelected ? opts.formatAllRows() : opts.pageSize, "\n </span>\n ").concat(this.constants.html.dropdownCaret, "\n </button>\n ").concat(this.constants.html.pageDropdown[0])];
+ pageList.forEach(function (page, i) {
+ if (!opts.smartDisplay || i === 0 || pageList[i - 1] < opts.totalRows || page === opts.formatAllRows()) {
+ var active;
+ if (allSelected) {
+ active = page === opts.formatAllRows() ? _this.constants.classes.dropdownActive : '';
+ } else {
+ active = page === opts.pageSize ? _this.constants.classes.dropdownActive : '';
+ }
+ pageNumber.push(Utils.sprintf(_this.constants.html.pageDropdownItem, active, page));
}
- }
- }
- }, {
- key: "getVisibleColumns",
- value: function getVisibleColumns() {
- var _this20 = this;
- return this.columns.filter(function (column) {
- return column.visible && !_this20.isSelectionColumn(column);
});
+ pageNumber.push("".concat(this.constants.html.pageDropdown[1], "</div>"));
+ html.push(opts.formatRecordsPerPage(pageNumber.join('')));
}
- }, {
- key: "getHiddenColumns",
- value: function getHiddenColumns() {
- return this.columns.filter(function (_ref7) {
- var visible = _ref7.visible;
- return !visible;
- });
- }
- }, {
- key: "isSelectionColumn",
- value: function isSelectionColumn(column) {
- return column.radio || column.checkbox;
- }
- }, {
- key: "showAllColumns",
- value: function showAllColumns() {
- this._toggleAllColumns(true);
- }
- }, {
- key: "hideAllColumns",
- value: function hideAllColumns() {
- this._toggleAllColumns(false);
+ if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort') || this.paginationParts.includes('pageSize')) {
+ html.push('</div></div>');
}
- }, {
- key: "_toggleAllColumns",
- value: function _toggleAllColumns(visible) {
- var _this21 = this;
- var _iterator9 = _createForOfIteratorHelper(this.columns.slice().reverse()),
- _step9;
- try {
- for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
- var column = _step9.value;
- if (column.switchable) {
- if (!visible && this.options.showColumns && this.getVisibleColumns().filter(function (it) {
- return it.switchable;
- }).length === this.options.minimumCountColumns) {
- continue;
- }
- column.visible = visible;
+ if (this.paginationParts.includes('pageList')) {
+ html.push("<div class=\"".concat(this.constants.classes.pull, "-").concat(opts.paginationHAlign, " pagination\">"), Utils.sprintf(this.constants.html.pagination[0], Utils.sprintf(' pagination-%s', opts.iconSize)), Utils.sprintf(this.constants.html.paginationItem, ' page-pre', opts.formatSRPaginationPreText(), opts.paginationPreText));
+ if (this.totalPages < opts.paginationSuccessivelySize) {
+ from = 1;
+ to = this.totalPages;
+ } else {
+ from = opts.pageNumber - opts.paginationPagesBySide;
+ to = from + opts.paginationPagesBySide * 2;
+ }
+ if (opts.pageNumber < opts.paginationSuccessivelySize - 1) {
+ to = opts.paginationSuccessivelySize;
+ }
+ if (opts.paginationSuccessivelySize > this.totalPages - from) {
+ from = from - (opts.paginationSuccessivelySize - (this.totalPages - from)) + 1;
+ }
+ if (from < 1) {
+ from = 1;
+ }
+ if (to > this.totalPages) {
+ to = this.totalPages;
+ }
+ var middleSize = Math.round(opts.paginationPagesBySide / 2);
+ var pageItem = function pageItem(i) {
+ var classes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+ return Utils.sprintf(_this.constants.html.paginationItem, classes + (i === opts.pageNumber ? " ".concat(_this.constants.classes.paginationActive) : ''), opts.formatSRPaginationPageText(i), i);
+ };
+ if (from > 1) {
+ var max = opts.paginationPagesBySide;
+ if (max >= from) max = from - 1;
+ for (i = 1; i <= max; i++) {
+ html.push(pageItem(i));
+ }
+ if (from - 1 === max + 1) {
+ i = from - 1;
+ html.push(pageItem(i));
+ } else if (from - 1 > max) {
+ if (from - opts.paginationPagesBySide * 2 > opts.paginationPagesBySide && opts.paginationUseIntermediate) {
+ i = Math.round((from - middleSize) / 2 + middleSize);
+ html.push(pageItem(i, ' page-intermediate'));
+ } else {
+ html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-first-separator disabled', '', '...'));
}
}
- } catch (err) {
- _iterator9.e(err);
- } finally {
- _iterator9.f();
}
- this.initHeader();
- this.initSearch();
- this.initPagination();
- this.initBody();
- if (this.options.showColumns) {
- var $items = this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop('disabled', false);
- if (visible) {
- $items.prop('checked', visible);
- } else {
- $items.get().reverse().forEach(function (item) {
- if ($items.filter(':checked').length > _this21.options.minimumCountColumns) {
- $(item).prop('checked', visible);
- }
- });
+ for (i = from; i <= to; i++) {
+ html.push(pageItem(i));
+ }
+ if (this.totalPages > to) {
+ var min = this.totalPages - (opts.paginationPagesBySide - 1);
+ if (to >= min) min = to + 1;
+ if (to + 1 === min - 1) {
+ i = to + 1;
+ html.push(pageItem(i));
+ } else if (min > to + 1) {
+ if (this.totalPages - to > opts.paginationPagesBySide * 2 && opts.paginationUseIntermediate) {
+ i = Math.round((this.totalPages - middleSize - to) / 2 + to);
+ html.push(pageItem(i, ' page-intermediate'));
+ } else {
+ html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-last-separator disabled', '', '...'));
+ }
}
- if ($items.filter(':checked').length <= this.options.minimumCountColumns) {
- $items.filter(':checked').prop('disabled', true);
+ for (i = min; i <= this.totalPages; i++) {
+ html.push(pageItem(i));
}
}
- }
- }, {
- key: "mergeCells",
- value: function mergeCells(options) {
- var row = options.index;
- var col = this.getVisibleFields().indexOf(options.field);
- var rowspan = +options.rowspan || 1;
- var colspan = +options.colspan || 1;
- var i;
- var j;
- var $tr = this.$body.find('>tr[data-index]');
- col += Utils.getDetailViewIndexOffset(this.options);
- var $td = $tr.eq(row).find('>td').eq(col);
- if (row < 0 || col < 0 || row >= this.data.length) {
- return;
+ html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-next', opts.formatSRPaginationNextText(), opts.paginationNextText));
+ html.push(this.constants.html.pagination[1], '</div>');
+ }
+ this.$pagination.html(html.join(''));
+ var dropupClass = ['bottom', 'both'].includes(opts.paginationVAlign) ? " ".concat(this.constants.classes.dropup) : '';
+ this.$pagination.last().find('.page-list > div').addClass(dropupClass);
+ if (!opts.onlyInfoPagination) {
+ $pageList = this.$pagination.find('.page-list a');
+ $pre = this.$pagination.find('.page-pre');
+ $next = this.$pagination.find('.page-next');
+ $number = this.$pagination.find('.page-item').not('.page-next, .page-pre, .page-last-separator, .page-first-separator');
+ if (this.totalPages <= 1) {
+ this.$pagination.find('div.pagination').hide();
+ }
+ if (opts.smartDisplay) {
+ if (pageList.length < 2 || opts.totalRows <= pageList[0]) {
+ this.$pagination.find('div.page-list').hide();
+ }
}
- for (i = row; i < row + rowspan; i++) {
- for (j = col; j < col + colspan; j++) {
- $tr.eq(i).find('>td').eq(j).hide();
+
+ // when data is empty, hide the pagination
+ this.$pagination[this.getData().length ? 'show' : 'hide']();
+ if (!opts.paginationLoop) {
+ if (opts.pageNumber === 1) {
+ $pre.addClass('disabled');
+ }
+ if (opts.pageNumber === this.totalPages) {
+ $next.addClass('disabled');
}
}
- $td.attr('rowspan', rowspan).attr('colspan', colspan).show();
+ if (allSelected) {
+ opts.pageSize = opts.formatAllRows();
+ }
+ $pageList.off('click').on('click', function (e) {
+ return _this.onPageListChange(e);
+ });
+ $pre.off('click').on('click', function (e) {
+ return _this.onPagePre(e);
+ });
+ $next.off('click').on('click', function (e) {
+ return _this.onPageNext(e);
+ });
+ $number.off('click').on('click', function (e) {
+ return _this.onPageNumber(e);
+ });
}
- }, {
- key: "checkAll",
- value: function checkAll() {
- this._toggleCheckAll(true);
+ },
+ updatePagination: function updatePagination(event) {
+ // Fix #171: IE disabled button can be clicked bug.
+ if (event && $(event.currentTarget).hasClass('disabled')) {
+ return;
}
- }, {
- key: "uncheckAll",
- value: function uncheckAll() {
- this._toggleCheckAll(false);
+ if (!this.options.maintainMetaData) {
+ this.resetRows();
}
- }, {
- key: "_toggleCheckAll",
- value: function _toggleCheckAll(checked) {
- var rowsBefore = this.getSelections();
- this.$selectAll.add(this.$selectAll_).prop('checked', checked);
- this.$selectItem.filter(':enabled').prop('checked', checked);
- this.updateRows();
- this.updateSelected();
- var rowsAfter = this.getSelections();
- if (checked) {
- this.trigger('check-all', rowsAfter, rowsBefore);
- return;
- }
- this.trigger('uncheck-all', rowsAfter, rowsBefore);
+ this.initPagination();
+ this.trigger('page-change', this.options.pageNumber, this.options.pageSize);
+ if (this.options.sidePagination === 'server' || this.options.sidePagination === 'client' && this.options.paginationLoadMore && !this._paginationLoaded && this.options.pageNumber === this.totalPages) {
+ this.initServer();
+ } else {
+ this.initBody();
}
- }, {
- key: "checkInvert",
- value: function checkInvert() {
- var $items = this.$selectItem.filter(':enabled');
- var checked = $items.filter(':checked');
- $items.each(function (i, el) {
- $(el).prop('checked', !$(el).prop('checked'));
- });
- this.updateRows();
- this.updateSelected();
- this.trigger('uncheck-some', checked);
- checked = this.getSelections();
- this.trigger('check-some', checked);
+ },
+ onPageListChange: function onPageListChange(event) {
+ event.preventDefault();
+ var $this = $(event.currentTarget);
+ $this.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive);
+ this.options.pageSize = $this.text().toUpperCase() === this.options.formatAllRows().toUpperCase() ? this.options.formatAllRows() : +$this.text();
+ this.$toolbar.find('.page-size').text(this.options.pageSize);
+ this.updatePagination(event);
+ return false;
+ },
+ onPagePre: function onPagePre(event) {
+ if ($(event.target).hasClass('disabled')) {
+ return;
}
- }, {
- key: "check",
- value: function check(index) {
- this._toggleCheck(true, index);
+ event.preventDefault();
+ if (this.options.pageNumber - 1 === 0) {
+ this.options.pageNumber = this.options.totalPages;
+ } else {
+ this.options.pageNumber--;
}
- }, {
- key: "uncheck",
- value: function uncheck(index) {
- this._toggleCheck(false, index);
+ this.updatePagination(event);
+ return false;
+ },
+ onPageNext: function onPageNext(event) {
+ if ($(event.target).hasClass('disabled')) {
+ return;
}
- }, {
- key: "_toggleCheck",
- value: function _toggleCheck(checked, index) {
- var $el = this.$selectItem.filter("[data-index=\"".concat(index, "\"]"));
- var row = this.data[index];
- if ($el.is(':radio') || this.options.singleSelect || this.options.multipleSelectRow && !this.multipleSelectRowCtrlKey && !this.multipleSelectRowShiftKey) {
- var _iterator0 = _createForOfIteratorHelper(this.options.data),
- _step0;
- try {
- for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
- var r = _step0.value;
- r[this.header.stateField] = false;
- }
- } catch (err) {
- _iterator0.e(err);
- } finally {
- _iterator0.f();
- }
- this.$selectItem.filter(':checked').not($el).prop('checked', false);
- }
- row[this.header.stateField] = checked;
- if (this.options.multipleSelectRow) {
- if (this.multipleSelectRowShiftKey && this.multipleSelectRowLastSelectedIndex >= 0) {
- var _ref8 = this.multipleSelectRowLastSelectedIndex < index ? [this.multipleSelectRowLastSelectedIndex, index] : [index, this.multipleSelectRowLastSelectedIndex],
- _ref9 = _slicedToArray(_ref8, 2),
- fromIndex = _ref9[0],
- toIndex = _ref9[1];
- for (var i = fromIndex + 1; i < toIndex; i++) {
- this.data[i][this.header.stateField] = true;
- this.$selectItem.filter("[data-index=\"".concat(i, "\"]")).prop('checked', true);
- }
- }
- this.multipleSelectRowCtrlKey = false;
- this.multipleSelectRowShiftKey = false;
- this.multipleSelectRowLastSelectedIndex = checked ? index : -1;
- }
- $el.prop('checked', checked);
- this.updateSelected();
- this.trigger(checked ? 'check' : 'uncheck', this.data[index], $el);
+ event.preventDefault();
+ if (this.options.pageNumber + 1 > this.options.totalPages) {
+ this.options.pageNumber = 1;
+ } else {
+ this.options.pageNumber++;
}
- }, {
- key: "checkBy",
- value: function checkBy(obj) {
- this._toggleCheckBy(true, obj);
+ this.updatePagination(event);
+ return false;
+ },
+ onPageNumber: function onPageNumber(event) {
+ event.preventDefault();
+ if (this.options.pageNumber === +$(event.currentTarget).text()) {
+ return;
}
- }, {
- key: "uncheckBy",
- value: function uncheckBy(obj) {
- this._toggleCheckBy(false, obj);
+ this.options.pageNumber = +$(event.currentTarget).text();
+ this.updatePagination(event);
+ return false;
+ },
+ selectPage: function selectPage(page) {
+ if (page > 0 && page <= this.options.totalPages) {
+ this.options.pageNumber = page;
+ this.updatePagination();
}
- }, {
- key: "_toggleCheckBy",
- value: function _toggleCheckBy(checked, obj) {
- var _this22 = this;
- if (!obj.hasOwnProperty('field') || !obj.hasOwnProperty('values')) {
- return;
+ },
+ prevPage: function prevPage() {
+ if (this.options.pageNumber > 1) {
+ this.options.pageNumber--;
+ this.updatePagination();
+ }
+ },
+ nextPage: function nextPage() {
+ if (this.options.pageNumber < this.options.totalPages) {
+ this.options.pageNumber++;
+ this.updatePagination();
+ }
+ },
+ togglePagination: function togglePagination() {
+ this.options.pagination = !this.options.pagination;
+ var icon = this.options.showButtonIcons ? this.options.pagination ? this.options.icons.paginationSwitchDown : this.options.icons.paginationSwitchUp : '';
+ var text = this.options.showButtonText ? this.options.pagination ? this.options.formatPaginationSwitchUp() : this.options.formatPaginationSwitchDown() : '';
+ this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text));
+ this.updatePagination();
+ this.trigger('toggle-pagination', this.options.pagination);
+ }
+ };
+
+ var SearchModule = {
+ initSearchText: function initSearchText() {
+ if (this.options.search) {
+ this.searchText = '';
+ if (this.options.searchText !== '') {
+ var search = Utils.getSearchInput(this);
+ $(search).val(this.options.searchText);
+ this.onSearch({
+ currentTarget: search,
+ firedByInitSearchText: true
+ });
}
- var rows = [];
- this.data.forEach(function (row, i) {
- if (!row.hasOwnProperty(obj.field)) {
- return false;
+ }
+ },
+ initSearch: function initSearch() {
+ var _this = this;
+ this.filterOptions = this.filterOptions || this.options.filterOptions;
+ if (this.options.sidePagination !== 'server') {
+ if (this.options.customSearch) {
+ this.data = Utils.calculateObjectValue(this.options, this.options.customSearch, [this.options.data, this.searchText, this.filterColumns]);
+ if (this.options.sortReset) {
+ this.unsortedData = _toConsumableArray(this.data);
}
- if (obj.values.includes(row[obj.field])) {
- var $el = _this22.$selectItem.filter(':enabled').filter(Utils.sprintf('[data-index="%s"]', i));
- var onlyCurrentPage = obj.hasOwnProperty('onlyCurrentPage') ? obj.onlyCurrentPage : false;
- $el = checked ? $el.not(':checked') : $el.filter(':checked');
- if (!$el.length && onlyCurrentPage) {
- return;
+ this.initSort();
+ return;
+ }
+ var rawSearchText = this.searchText && (this.fromHtml ? Utils.escapeHTML(this.searchText) : this.searchText);
+ var searchText = rawSearchText ? rawSearchText.toLowerCase() : '';
+ var f = Utils.isEmptyObject(this.filterColumns) ? null : this.filterColumns;
+ if (this.options.searchAccentNeutralise) {
+ searchText = Utils.normalizeAccent(searchText);
+ }
+
+ // Check filter
+ if (typeof this.filterOptions.filterAlgorithm === 'function') {
+ this.data = this.options.data.filter(function (item) {
+ return _this.filterOptions.filterAlgorithm.apply(null, [item, f]);
+ });
+ } else if (typeof this.filterOptions.filterAlgorithm === 'string') {
+ this.data = f ? this.options.data.filter(function (item) {
+ var filterAlgorithm = _this.filterOptions.filterAlgorithm;
+ if (!['and', 'or'].includes(filterAlgorithm)) {
+ return true;
+ }
+ for (var key in f) {
+ if (!Object.prototype.hasOwnProperty.call(f, key)) {
+ continue;
+ }
+ var value = Utils.getItemField(item, key, false);
+ var isArray = Array.isArray(f[key]);
+ var match = !isArray && f[key] === value || isArray && f[key].includes(value);
+ if (match && filterAlgorithm === 'or') {
+ return true;
+ }
+ if (!match && filterAlgorithm === 'and') {
+ return false;
+ }
+ }
+ return filterAlgorithm === 'and';
+ }) : _toConsumableArray(this.options.data);
+ }
+ var visibleFields = this.getVisibleFields();
+ this.data = searchText ? this.data.filter(function (item, i) {
+ for (var j = 0; j < _this.header.fields.length; j++) {
+ if (!_this.header.searchables[j] || _this.options.visibleSearch && visibleFields.indexOf(_this.header.fields[j]) === -1) {
+ continue;
+ }
+ var key = Utils.isNumeric(_this.header.fields[j]) ? parseInt(_this.header.fields[j], 10) : _this.header.fields[j];
+ var column = _this.columns[_this.fieldsColumnsIndex[key]];
+ var value = Utils.getItemField(item, key, false);
+ if (_this.options.searchAccentNeutralise) {
+ value = Utils.normalizeAccent(value);
+ }
+
+ // Fix #142: respect searchFormatter boolean
+ if (column && column.searchFormatter) {
+ value = Utils.calculateObjectValue(column, _this.header.formatters[j], [value, item, i, column.field], value);
+ if (_this.header.formatters[j] && typeof value !== 'number') {
+ // search innerText
+ value = $('<div>').html(value).text();
+ }
+ }
+ if (typeof value === 'string' || typeof value === 'number') {
+ if (_this.options.strictSearch) {
+ if ("".concat(value).toLowerCase() === searchText) {
+ return true;
+ }
+ } else if (_this.options.regexSearch) {
+ if (Utils.regexCompare(value, rawSearchText)) {
+ return true;
+ }
+ } else {
+ var largerSmallerEqualsRegex = /(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm;
+ var matches = largerSmallerEqualsRegex.exec(_this.searchText);
+ var comparisonCheck = false;
+ if (matches) {
+ var operator = matches[1] || "".concat(matches[5], "l");
+ var comparisonValue = matches[2] || matches[3];
+ var int = parseInt(value, 10);
+ var comparisonInt = parseInt(comparisonValue, 10);
+ switch (operator) {
+ case '>':
+ case '<l':
+ comparisonCheck = int > comparisonInt;
+ break;
+ case '<':
+ case '>l':
+ comparisonCheck = int < comparisonInt;
+ break;
+ case '<=':
+ case '=<':
+ case '>=l':
+ case '=>l':
+ comparisonCheck = int <= comparisonInt;
+ break;
+ case '>=':
+ case '=>':
+ case '<=l':
+ case '=<l':
+ comparisonCheck = int >= comparisonInt;
+ break;
+ }
+ }
+ if (comparisonCheck || "".concat(value).toLowerCase().includes(searchText)) {
+ return true;
+ }
+ }
}
- $el.prop('checked', checked);
- row[_this22.header.stateField] = checked;
- rows.push(row);
- _this22.trigger(checked ? 'check' : 'uncheck', row, $el);
}
- });
- this.updateSelected();
- this.trigger(checked ? 'check-some' : 'uncheck-some', rows);
- }
- }, {
- key: "refresh",
- value: function refresh(params) {
- if (params && params.url) {
- this.options.url = params.url;
+ return false;
+ }) : this.data;
+ if (this.options.sortReset) {
+ this.unsortedData = _toConsumableArray(this.data);
}
- if (params && params.pageNumber) {
- this.options.pageNumber = params.pageNumber;
+ this.initSort();
+ }
+ },
+ onSearch: function onSearch() {
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
+ currentTarget = _ref.currentTarget,
+ firedByInitSearchText = _ref.firedByInitSearchText;
+ var overwriteSearchText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
+ if (currentTarget !== undefined && $(currentTarget).length && overwriteSearchText) {
+ var text = $(currentTarget).val().trim();
+ if (this.options.trimOnSearch && $(currentTarget).val() !== text) {
+ $(currentTarget).val(text);
+ }
+ if (this.searchText === text) {
+ return;
}
- if (params && params.pageSize) {
- this.options.pageSize = params.pageSize;
+ var searchInput = Utils.getSearchInput(this);
+ var $searchInput = $(searchInput);
+ var $currentTarget = currentTarget instanceof jQuery ? currentTarget : $(currentTarget);
+ if ($currentTarget.is($searchInput) || $currentTarget.hasClass('search-input')) {
+ this.searchText = text;
+ this.options.searchText = text;
}
- if (params && params.query) {
- this.options.url = Utils.addQueryToUrl(this.options.url, params.query);
+ }
+ if (!firedByInitSearchText) {
+ this.options.pageNumber = 1;
+ }
+ this.initSearch();
+ if (firedByInitSearchText) {
+ if (this.options.sidePagination === 'client') {
+ this.updatePagination();
}
- this.trigger('refresh', this.initServer(params && params.silent));
+ } else {
+ this.updatePagination();
}
- }, {
- key: "destroy",
- value: function destroy() {
- clearTimeout(this.timeoutId_);
- this.$el.insertBefore(this.$container);
- $(this.options.toolbar).insertBefore(this.$el);
- this.$container.next().remove();
- this.$container.remove();
- this.$el.html(this.$el_.html()).css('margin-top', '0').attr('class', this.$el_.attr('class') || ''); // reset the class
+ this.trigger('search', this.searchText);
+ },
+ resetSearch: function resetSearch(text) {
+ var search = Utils.getSearchInput(this);
+ var textToUse = text || '';
+ $(search).val(textToUse);
+ this.searchText = textToUse;
+ this.options.searchText = textToUse;
+ this.onSearch({
+ currentTarget: search
+ }, false);
+ },
+ filterBy: function filterBy(columns, options) {
+ this.filterOptions = Utils.isEmptyObject(options) ? this.options.filterOptions : Utils.extend({}, this.options.filterOptions, options);
+ this.filterColumns = Utils.isEmptyObject(columns) ? {} : columns;
+ this.options.pageNumber = 1;
+ this.initSearch();
+ this.updatePagination();
+ }
+ };
- var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id'));
- $(window).off(resizeEvent);
- }
- }, {
- key: "resetView",
- value: function resetView(params) {
- var padding = 0;
- if (params && params.height) {
- this.options.height = params.height;
+ var ToolbarModule = {
+ renderButton: function renderButton(buttonName, buttonConfig) {
+ var opts = this.options;
+ var buttonHtml;
+ if (buttonConfig.hasOwnProperty('html')) {
+ if (typeof buttonConfig.html === 'function') {
+ buttonHtml = buttonConfig.html();
+ } else {
+ buttonHtml = buttonConfig.html;
}
- this.$tableContainer.toggleClass('has-card-view', this.options.cardView);
- if (this.options.height) {
- var fixedBody = this.$tableBody.get(0);
- this.hasScrollBar = fixedBody.scrollWidth > fixedBody.clientWidth;
+ } else {
+ var buttonClass = this.constants.buttonsClass;
+ if (buttonConfig.hasOwnProperty('attributes') && buttonConfig.attributes.class) {
+ buttonClass += " ".concat(buttonConfig.attributes.class);
}
- if (!this.options.cardView && this.options.showHeader && this.options.height) {
- this.$tableHeader.show();
- this.resetHeader();
- padding += this.$header.outerHeight(true) + 1;
- } else {
- this.$tableHeader.hide();
- this.trigger('post-header');
- }
- if (!this.options.cardView && this.options.showFooter) {
- this.$tableFooter.show();
- this.fitFooter();
- if (this.options.height) {
- padding += this.$tableFooter.outerHeight(true);
+ buttonHtml = "<button class=\"".concat(buttonClass, "\" type=\"button\" name=\"").concat(buttonName, "\"");
+ if (buttonConfig.hasOwnProperty('attributes')) {
+ for (var _i = 0, _Object$entries = Object.entries(buttonConfig.attributes); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
+ attributeName = _Object$entries$_i[0],
+ value = _Object$entries$_i[1];
+ if (attributeName === 'class') {
+ continue;
+ }
+ var attribute = attributeName === 'title' ? opts.buttonsAttributeTitle : attributeName;
+ buttonHtml += " ".concat(attribute, "=\"").concat(value, "\"");
}
}
- if (this.$container.hasClass('fullscreen')) {
- this.$tableContainer.css('height', '');
- this.$tableContainer.css('width', '');
- } else if (this.options.height) {
- if (this.$tableBorder) {
- this.$tableBorder.css('width', '');
- this.$tableBorder.css('height', '');
+ buttonHtml += '>';
+ if (opts.showButtonIcons && buttonConfig.hasOwnProperty('icon')) {
+ buttonHtml += "".concat(Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, buttonConfig.icon), " ");
+ }
+ if (opts.showButtonText && buttonConfig.hasOwnProperty('text')) {
+ buttonHtml += buttonConfig.text;
+ }
+ buttonHtml += '</button>';
+ }
+ return buttonHtml;
+ },
+ initToolbar: function initToolbar() {
+ var _this = this;
+ var opts = this.options;
+ var html;
+ var timeoutId;
+ var $keepOpen;
+ var switchableCount = 0;
+ if (this.$toolbar.find('.bs-bars').children().length) {
+ $('body').append($(opts.toolbar));
+ }
+ this.$toolbar.html('');
+ if (typeof opts.toolbar === 'string' || _typeof(opts.toolbar) === 'object') {
+ $(Utils.sprintf('<div class="bs-bars %s-%s"></div>', this.constants.classes.pull, opts.toolbarAlign)).appendTo(this.$toolbar).append($(opts.toolbar));
+ }
+
+ // showColumns, showToggle, showRefresh
+ html = ["<div class=\"".concat(['columns', "columns-".concat(opts.buttonsAlign), this.constants.classes.buttonsGroup, "".concat(this.constants.classes.pull, "-").concat(opts.buttonsAlign)].join(' '), "\">")];
+ if (typeof opts.buttonsOrder === 'string') {
+ opts.buttonsOrder = opts.buttonsOrder.replace(/\[|\]| |'/g, '').split(',');
+ }
+ this.buttons = Object.assign(this.buttons, {
+ paginationSwitch: {
+ text: opts.pagination ? opts.formatPaginationSwitchUp() : opts.formatPaginationSwitchDown(),
+ icon: opts.pagination ? opts.icons.paginationSwitchDown : opts.icons.paginationSwitchUp,
+ render: false,
+ event: this.togglePagination,
+ attributes: {
+ 'aria-label': opts.formatPaginationSwitch(),
+ title: opts.formatPaginationSwitch()
}
- var toolbarHeight = this.$toolbar.outerHeight(true);
- var paginationHeight = this.$pagination.outerHeight(true);
- var height = this.options.height - toolbarHeight - paginationHeight;
- var $bodyTable = this.$tableBody.find('>table');
- var tableHeight = $bodyTable.outerHeight();
- this.$tableContainer.css('height', "".concat(height, "px"));
- if (this.$tableBorder && $bodyTable.is(':visible')) {
- var tableBorderHeight = height - tableHeight - 2;
- if (this.hasScrollBar) {
- tableBorderHeight -= Utils.getScrollBarWidth();
+ },
+ refresh: {
+ text: opts.formatRefresh(),
+ icon: opts.icons.refresh,
+ render: false,
+ event: this.refresh,
+ attributes: {
+ 'aria-label': opts.formatRefresh(),
+ title: opts.formatRefresh()
+ }
+ },
+ toggle: {
+ text: opts.formatToggleOn(),
+ icon: opts.icons.toggleOff,
+ render: false,
+ event: this.toggleView,
+ attributes: {
+ 'aria-label': opts.formatToggleOn(),
+ title: opts.formatToggleOn()
+ }
+ },
+ fullscreen: {
+ text: opts.formatFullscreen(),
+ icon: opts.icons.fullscreen,
+ render: false,
+ event: this.toggleFullscreen,
+ attributes: {
+ 'aria-label': opts.formatFullscreen(),
+ title: opts.formatFullscreen()
+ }
+ },
+ columns: {
+ render: false,
+ html: function html() {
+ var html = [];
+ html.push("<div class=\"keep-open ".concat(_this.constants.classes.buttonsDropdown, "\">\n <button class=\"").concat(_this.constants.buttonsClass, " dropdown-toggle\" type=\"button\" ").concat(_this.constants.dataToggle, "=\"dropdown\"\n aria-label=\"").concat(opts.formatColumns(), "\" ").concat(opts.buttonsAttributeTitle, "=\"").concat(opts.formatColumns(), "\">\n ").concat(opts.showButtonIcons ? Utils.sprintf(_this.constants.html.icon, opts.iconsPrefix, opts.icons.columns) : '', "\n ").concat(opts.showButtonText ? opts.formatColumns() : '', "\n ").concat(_this.constants.html.dropdownCaret, "\n </button>\n ").concat(_this.constants.html.toolbarDropdown[0]));
+ if (opts.showColumnsSearch) {
+ html.push(Utils.sprintf(_this.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">', _this.constants.classes.input, opts.formatSearch())));
+ html.push(_this.constants.html.toolbarDropdownSeparator);
+ }
+ if (opts.showColumnsToggleAll) {
+ var allFieldsVisible = _this.getVisibleColumns().length === _this.columns.filter(function (column) {
+ return !_this.isSelectionColumn(column);
+ }).length;
+ html.push(Utils.getCheckboxHtml({
+ name: 'toggle-all',
+ checked: allFieldsVisible,
+ label: opts.formatColumnsToggleAll(),
+ extraClass: 'toggle-all',
+ centered: false,
+ withLabel: true
+ }));
+ html.push(_this.constants.html.toolbarDropdownSeparator);
}
- this.$tableBorder.css('width', "".concat($bodyTable.outerWidth(), "px"));
- this.$tableBorder.css('height', "".concat(tableBorderHeight, "px"));
+ var visibleColumns = 0;
+ _this.columns.forEach(function (column) {
+ if (column.visible) {
+ visibleColumns++;
+ }
+ });
+ _this.columns.forEach(function (column, i) {
+ if (_this.isSelectionColumn(column)) {
+ return;
+ }
+ if (opts.cardView && !column.cardVisible) {
+ return;
+ }
+ var checked = column.visible ? ' checked="checked"' : '';
+ var disabled = visibleColumns <= opts.minimumCountColumns && checked ? ' disabled="disabled"' : '';
+ if (column.switchable) {
+ var checkboxHtml = Utils.getDropdownColumnCheckboxHtml({
+ dataField: column.field,
+ value: i,
+ checked: !!checked,
+ disabled: !!disabled,
+ label: column.switchableLabel || column.title
+ });
+
+ // Bootstrap 3/4 needs to be wrapped with toolbarDropdownItem
+ if (Utils.getBootstrapVersion() === 5) {
+ html.push(checkboxHtml);
+ } else {
+ html.push(Utils.sprintf(_this.constants.html.toolbarDropdownItem, checkboxHtml));
+ }
+ switchableCount++;
+ }
+ });
+ html.push(_this.constants.html.toolbarDropdown[1], '</div>');
+ return html.join('');
}
}
- if (this.options.cardView) {
- // remove the element css
- this.$el.css('margin-top', '0');
- this.$tableContainer.css('padding-bottom', '0');
- this.$tableFooter.hide();
- } else {
- // Assign the correct sortable arrow
- this.getCaret();
- this.$tableContainer.css('padding-bottom', "".concat(padding, "px"));
+ });
+ var buttonsHtml = {};
+ for (var _i2 = 0, _Object$entries2 = Object.entries(this.buttons); _i2 < _Object$entries2.length; _i2++) {
+ var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),
+ buttonName = _Object$entries2$_i[0],
+ buttonConfig = _Object$entries2$_i[1];
+ buttonsHtml[buttonName] = this.renderButton(buttonName, buttonConfig);
+ var optionName = "show".concat(buttonName.charAt(0).toUpperCase()).concat(buttonName.substring(1));
+ var showOption = opts[optionName];
+ if ((!buttonConfig.hasOwnProperty('render') || buttonConfig.hasOwnProperty('render') && buttonConfig.render) && (showOption === undefined || showOption === true)) {
+ opts[optionName] = true;
}
- this.trigger('reset-view');
- }
- }, {
- key: "showLoading",
- value: function showLoading() {
- this.$tableLoading.toggleClass('open', true);
- var fontSize = this.options.loadingFontSize;
- if (this.options.loadingFontSize === 'auto') {
- fontSize = this.$tableLoading.width() * 0.04;
- fontSize = Math.max(12, fontSize);
- fontSize = Math.min(32, fontSize);
- fontSize = "".concat(fontSize, "px");
- }
- this.$tableLoading.find('.loading-text').css('font-size', fontSize);
- }
- }, {
- key: "hideLoading",
- value: function hideLoading() {
- this.$tableLoading.toggleClass('open', false);
- }
- }, {
- key: "togglePagination",
- value: function togglePagination() {
- this.options.pagination = !this.options.pagination;
- var icon = this.options.showButtonIcons ? this.options.pagination ? this.options.icons.paginationSwitchDown : this.options.icons.paginationSwitchUp : '';
- var text = this.options.showButtonText ? this.options.pagination ? this.options.formatPaginationSwitchUp() : this.options.formatPaginationSwitchDown() : '';
- this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text));
- this.updatePagination();
- this.trigger('toggle-pagination', this.options.pagination);
- }
- }, {
- key: "toggleFullscreen",
- value: function toggleFullscreen() {
- this.$el.closest('.bootstrap-table').toggleClass('fullscreen');
- this.resetView();
- }
- }, {
- key: "toggleView",
- value: function toggleView() {
- this.options.cardView = !this.options.cardView;
- this.initHeader();
- var icon = this.options.showButtonIcons ? this.options.cardView ? this.options.icons.toggleOn : this.options.icons.toggleOff : '';
- var text = this.options.cardView ? this.options.formatToggleOff() : this.options.formatToggleOn();
- this.$toolbar.find('button[name="toggle"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(this.options.showButtonText ? text : '')).attr('aria-label', text).attr(this.options.buttonsAttributeTitle, text);
- this.initBody();
- this.trigger('toggle', this.options.cardView);
- }
- }, {
- key: "resetSearch",
- value: function resetSearch(text) {
- var $search = Utils.getSearchInput(this);
- var textToUse = text || '';
- $search.val(textToUse);
- this.searchText = textToUse;
- this.onSearch({
- currentTarget: $search
- }, false);
- }
- }, {
- key: "filterBy",
- value: function filterBy(columns, options) {
- this.filterOptions = Utils.isEmptyObject(options) ? this.options.filterOptions : Utils.extend({}, this.options.filterOptions, options);
- this.filterColumns = Utils.isEmptyObject(columns) ? {} : columns;
- this.options.pageNumber = 1;
- this.initSearch();
- this.updatePagination();
- }
- }, {
- key: "scrollTo",
- value: function scrollTo(params) {
- var options = {
- unit: 'px',
- value: 0
- };
- if (_typeof(params) === 'object') {
- options = Object.assign(options, params);
- } else if (typeof params === 'string' && params === 'bottom') {
- options.value = this.$tableBody[0].scrollHeight;
- } else if (typeof params === 'string' || typeof params === 'number') {
- options.value = params;
- }
- var scrollTo = options.value;
- if (options.unit === 'rows') {
- scrollTo = 0;
- this.$body.find("> tr:lt(".concat(options.value, ")")).each(function (i, el) {
- scrollTo += $(el).outerHeight(true);
- });
+ if (!opts.buttonsOrder.includes(buttonName)) {
+ opts.buttonsOrder.push(buttonName);
}
- this.$tableBody.scrollTop(scrollTo);
}
- }, {
- key: "getScrollPosition",
- value: function getScrollPosition() {
- return this.$tableBody.scrollTop();
- }
- }, {
- key: "selectPage",
- value: function selectPage(page) {
- if (page > 0 && page <= this.options.totalPages) {
- this.options.pageNumber = page;
- this.updatePagination();
+
+ // Adding the button html to the final toolbar html when the showOption is true
+ var _iterator = _createForOfIteratorHelper(opts.buttonsOrder),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var button = _step.value;
+ var _showOption = opts["show".concat(button.charAt(0).toUpperCase()).concat(button.substring(1))];
+ if (_showOption) {
+ html.push(buttonsHtml[button]);
+ }
}
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
}
- }, {
- key: "prevPage",
- value: function prevPage() {
- if (this.options.pageNumber > 1) {
- this.options.pageNumber--;
- this.updatePagination();
+ html.push('</div>');
+
+ // Fix #188: this.showToolbar is for extensions
+ if (this.showToolbar || html.length > 2) {
+ if (html.some(function (item) {
+ return Utils.isDomNode(item);
+ })) {
+ // When there are DOM nodes, build the structure manually
+ // Build wrapper element once from the opening div string
+ var wrapper = $(html[0]);
+
+ // Skip html[0] (opening div) and html[html.length-1] (closing div)
+ // Append each button item into the wrapper
+ var _iterator2 = _createForOfIteratorHelper(html.slice(1, -1)),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var item = _step2.value;
+ wrapper.append.apply(wrapper, _toConsumableArray(Utils.htmlToNodes(item)));
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ this.$toolbar.append(wrapper);
+ } else {
+ this.$toolbar.append(html.join(''));
}
}
- }, {
- key: "nextPage",
- value: function nextPage() {
- if (this.options.pageNumber < this.options.totalPages) {
- this.options.pageNumber++;
- this.updatePagination();
+ var _loop = function _loop() {
+ var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i3], 2),
+ buttonName = _Object$entries3$_i[0],
+ buttonConfig = _Object$entries3$_i[1];
+ if (buttonConfig.hasOwnProperty('event')) {
+ if (typeof buttonConfig.event === 'function' || typeof buttonConfig.event === 'string') {
+ var event = typeof buttonConfig.event === 'string' ? window[buttonConfig.event] : buttonConfig.event;
+ _this.$toolbar.find("button[name=\"".concat(buttonName, "\"]")).off('click').on('click', function () {
+ return event.call(_this);
+ });
+ return 1; // continue
+ }
+ var _loop2 = function _loop2() {
+ var _Object$entries4$_i = _slicedToArray(_Object$entries4[_i4], 2),
+ eventType = _Object$entries4$_i[0],
+ eventFunction = _Object$entries4$_i[1];
+ var event = typeof eventFunction === 'string' ? window[eventFunction] : eventFunction;
+ _this.$toolbar.find("button[name=\"".concat(buttonName, "\"]")).off(eventType).on(eventType, function () {
+ return event.call(_this);
+ });
+ };
+ for (var _i4 = 0, _Object$entries4 = Object.entries(buttonConfig.event); _i4 < _Object$entries4.length; _i4++) {
+ _loop2();
+ }
}
+ };
+ for (var _i3 = 0, _Object$entries3 = Object.entries(this.buttons); _i3 < _Object$entries3.length; _i3++) {
+ if (_loop()) continue;
}
- }, {
- key: "toggleDetailView",
- value: function toggleDetailView(index, _columnDetailFormatter) {
- var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"]', index));
- if ($tr.next().is('tr.detail-view')) {
- this.collapseRow(index);
- } else {
- this.expandRow(index, _columnDetailFormatter);
+ if (opts.showColumns) {
+ $keepOpen = this.$toolbar.find('.keep-open');
+ var $checkboxes = $keepOpen.find('input[type="checkbox"]:not(".toggle-all")');
+ var $toggleAll = $keepOpen.find('input[type="checkbox"].toggle-all');
+ if (switchableCount <= opts.minimumCountColumns) {
+ $keepOpen.find('input').prop('disabled', true);
+ }
+ $keepOpen.find('li, label').off('click').on('click', function (e) {
+ e.stopImmediatePropagation();
+ });
+ $checkboxes.off('click').on('click', function (_ref) {
+ var currentTarget = _ref.currentTarget;
+ var $this = $(currentTarget);
+ _this._toggleColumns([$this.data('field')], $this.prop('checked'), false);
+ _this.trigger('column-switch', $this.data('field'), $this.prop('checked'));
+ $toggleAll.prop('checked', $checkboxes.filter(':checked').length === _this.columns.filter(function (column) {
+ return !_this.isSelectionColumn(column);
+ }).length);
+ });
+ $toggleAll.off('click').on('click', function (_ref2) {
+ var currentTarget = _ref2.currentTarget;
+ _this._toggleAllColumns($(currentTarget).prop('checked'));
+ _this.trigger('column-switch-all', $(currentTarget).prop('checked'));
+ });
+ if (opts.showColumnsSearch) {
+ var $columnsSearch = $keepOpen.find('[name="columnsSearch"]');
+ var $listItems = $keepOpen.find('.dropdown-item-marker');
+ $columnsSearch.on('keyup paste change', function (_ref3) {
+ var currentTarget = _ref3.currentTarget;
+ var $this = $(currentTarget);
+ var searchValue = $this.val().toLowerCase();
+ $listItems.show();
+ $checkboxes.each(function (i, el) {
+ var $checkbox = $(el);
+ var $listItem = $checkbox.parents('.dropdown-item-marker');
+ var text = $listItem.text().toLowerCase();
+ if (!text.includes(searchValue)) {
+ $listItem.hide();
+ }
+ });
+ });
}
- this.resetView();
}
- }, {
- key: "expandRow",
- value: function expandRow(index, _columnDetailFormatter) {
- var row = this.data[index];
- var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index));
- if (this.options.detailViewIcon) {
- $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailClose));
- }
- if ($tr.next().is('tr.detail-view')) {
- return;
+ var handleInputEvent = function handleInputEvent($searchInput) {
+ var eventTriggers = $searchInput.is('select') ? 'change' : 'keyup drop blur mouseup';
+ $searchInput.off(eventTriggers).on(eventTriggers, function (event) {
+ if (opts.searchOnEnterKey && event.keyCode !== 13) {
+ return;
+ }
+ if ([37, 38, 39, 40].includes(event.keyCode)) {
+ return;
+ }
+ clearTimeout(timeoutId); // doesn't matter if it's 0
+ timeoutId = setTimeout(function () {
+ _this.onSearch({
+ currentTarget: event.currentTarget
+ });
+ }, opts.searchTimeOut);
+ });
+ };
+
+ // Fix #4516: this.showSearchClearButton is for extensions
+ if ((opts.search || this.showSearchClearButton) && typeof opts.searchSelector !== 'string') {
+ html = [];
+ var showSearchButton = Utils.sprintf(this.constants.html.searchButton, this.constants.buttonsClass, opts.formatSearch(), opts.showButtonIcons ? Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, opts.icons.search) : '', opts.showButtonText ? opts.formatSearch() : '');
+ var showSearchClearButton = Utils.sprintf(this.constants.html.searchClearButton, this.constants.buttonsClass, opts.formatClearSearch(), opts.showButtonIcons ? Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, opts.icons.clearSearch) : '', opts.showButtonText ? opts.formatClearSearch() : '');
+ var searchInputHtml = "<input class=\"".concat(this.constants.classes.input, "\n ").concat(Utils.sprintf(' %s%s', this.constants.classes.inputPrefix, opts.iconSize), "\n search-input\" type=\"search\" aria-label=\"").concat(opts.formatSearch(), "\" placeholder=\"").concat(opts.formatSearch(), "\" autocomplete=\"off\">");
+ var searchInputFinalHtml = searchInputHtml;
+ if (opts.showSearchButton || opts.showSearchClearButton) {
+ var _buttonsHtml = (opts.showSearchButton ? showSearchButton : '') + (opts.showSearchClearButton ? showSearchClearButton : '');
+ searchInputFinalHtml = opts.search ? Utils.sprintf(this.constants.html.inputGroup, searchInputHtml, _buttonsHtml) : _buttonsHtml;
+ }
+ html.push(Utils.sprintf("\n <div class=\"".concat(this.constants.classes.pull, "-").concat(opts.searchAlign, " search ").concat(this.constants.classes.inputGroup, "\">\n %s\n </div>\n "), searchInputFinalHtml));
+ this.$toolbar.append(html.join(''));
+ var searchInput = Utils.getSearchInput(this);
+ var $searchInput = $(searchInput);
+ if (opts.showSearchButton) {
+ this.$toolbar.find('.search button[name=search]').off('click').on('click', function () {
+ clearTimeout(timeoutId); // doesn't matter if it's 0
+ timeoutId = setTimeout(function () {
+ _this.onSearch({
+ currentTarget: searchInput
+ });
+ }, opts.searchTimeOut);
+ });
+ if (opts.searchOnEnterKey) {
+ handleInputEvent($searchInput);
+ }
+ } else {
+ handleInputEvent($searchInput);
}
- $tr.after(Utils.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>', $tr.children('td').length));
- var $element = $tr.next().find('td');
- var detailFormatter = _columnDetailFormatter || this.options.detailFormatter;
- var content = Utils.calculateObjectValue(this.options, detailFormatter, [index, row, $element], '');
- if ($element.length === 1) {
- $element.append(content);
+ if (opts.showSearchClearButton) {
+ this.$toolbar.find('.search button[name=clearSearch]').click(function () {
+ _this.resetSearch();
+ });
}
- this.trigger('expand-row', index, row, $element);
+ } else if (typeof opts.searchSelector === 'string') {
+ handleInputEvent($(Utils.getSearchInput(this)));
}
- }, {
- key: "expandRowByUniqueId",
- value: function expandRowByUniqueId(uniqueId) {
- var row = this.getRowByUniqueId(uniqueId);
- if (!row) {
- return;
- }
- this.expandRow(this.data.indexOf(row));
+ },
+ refresh: function refresh(params) {
+ if (params && params.url) {
+ this.options.url = params.url;
+ }
+ if (params && params.pageNumber) {
+ this.options.pageNumber = params.pageNumber;
+ }
+ if (params && params.pageSize) {
+ this.options.pageSize = params.pageSize;
+ }
+ if (params && params.query) {
+ this.options.url = Utils.addQueryToUrl(this.options.url, params.query);
+ }
+ this.trigger('refresh', this.initServer(params && params.silent));
+ },
+ toggleView: function toggleView() {
+ this.options.cardView = !this.options.cardView;
+ this.initHeader();
+ var icon = this.options.showButtonIcons ? this.options.cardView ? this.options.icons.toggleOn : this.options.icons.toggleOff : '';
+ var text = this.options.cardView ? this.options.formatToggleOff() : this.options.formatToggleOn();
+ this.$toolbar.find('button[name="toggle"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(this.options.showButtonText ? text : '')).attr('aria-label', text).attr(this.options.buttonsAttributeTitle, text);
+ this.initBody();
+ this.trigger('toggle', this.options.cardView);
+ },
+ toggleFullscreen: function toggleFullscreen() {
+ this.$el.closest('.bootstrap-table').toggleClass('fullscreen');
+ this.resetView();
+ }
+ };
+
+ var BootstrapTable = /*#__PURE__*/function () {
+ function BootstrapTable(el, options) {
+ _classCallCheck(this, BootstrapTable);
+ this.options = options;
+ this.$el = $(el);
+ this.$el_ = this.$el.clone();
+ this._timeoutId = {
+ header: 0,
+ footer: 0
+ };
+ }
+ return _createClass(BootstrapTable, [{
+ key: "init",
+ value: function init() {
+ this.initConstants();
+ this.initLocale();
+ this.initContainer();
+ this.initTable();
+ this.initHeader();
+ this.initData();
+ this.initHiddenRows();
+ this.initToolbar();
+ this.initPagination();
+ this.initBody();
+ this.initSearchText();
+ this.initServer();
}
}, {
- key: "collapseRow",
- value: function collapseRow(index) {
- var row = this.data[index];
- var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index));
- if (!$tr.next().is('tr.detail-view')) {
- return;
- }
- if (this.options.detailViewIcon) {
- $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailOpen));
+ key: "trigger",
+ value: function trigger(_name) {
+ var _this$options, _this$options2;
+ var name = "".concat(_name, ".bs.table");
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ args[_key - 1] = arguments[_key];
}
- this.trigger('collapse-row', index, row, $tr.next());
- $tr.next().remove();
+ (_this$options = this.options)[BootstrapTable.EVENTS[name]].apply(_this$options, [].concat(args, [this]));
+ this.$el.trigger($.Event(name, {
+ sender: this
+ }), args);
+ (_this$options2 = this.options).onAll.apply(_this$options2, [name].concat([].concat(args, [this])));
+ this.$el.trigger($.Event('all.bs.table', {
+ sender: this
+ }), [name, args]);
}
}, {
- key: "collapseRowByUniqueId",
- value: function collapseRowByUniqueId(uniqueId) {
- var row = this.getRowByUniqueId(uniqueId);
- if (!row) {
- return;
- }
- this.collapseRow(this.data.indexOf(row));
+ key: "getOptions",
+ value: function getOptions() {
+ // deep copy and remove data
+ var options = Utils.extend({}, this.options);
+ delete options.data;
+ return Utils.extend(true, {}, options);
}
}, {
- key: "expandAllRows",
- value: function expandAllRows() {
- var trs = this.$body.find('> tr[data-index][data-has-detail-view]');
- for (var i = 0; i < trs.length; i++) {
- this.expandRow($(trs[i]).data('index'));
+ key: "refreshOptions",
+ value: function refreshOptions(options) {
+ // If the objects are equivalent then avoid the call of destroy / init methods
+ if (Utils.compareObjects(this.options, options, true)) {
+ return;
}
+ this.optionsColumnsChanged = !!options.columns;
+ this.options = Utils.extend(this.options, options);
+ this.trigger('refresh-options', this.options);
+ this.destroy();
+ this.init();
}
}, {
- key: "collapseAllRows",
- value: function collapseAllRows() {
- var trs = this.$body.find('> tr[data-index][data-has-detail-view]');
- for (var i = 0; i < trs.length; i++) {
- this.collapseRow($(trs[i]).data('index'));
- }
+ key: "_setDelayTimeout",
+ value: function _setDelayTimeout(type, callback, delay) {
+ clearTimeout(this._timeoutId[type]);
+ this._timeoutId[type] = setTimeout(callback, delay);
}
}, {
- key: "updateColumnTitle",
- value: function updateColumnTitle(params) {
- if (!params.hasOwnProperty('field') || !params.hasOwnProperty('title')) {
- return;
- }
- this.columns[this.fieldsColumnsIndex[params.field]].title = this.options.escape && this.options.escapeTitle ? Utils.escapeHTML(params.title) : params.title;
- if (this.columns[this.fieldsColumnsIndex[params.field]].visible) {
- this.$header.find('th[data-field]').each(function (i, el) {
- if ($(el).data('field') === params.field) {
- $($(el).find('.th-inner')[0]).html(params.title);
- return false;
- }
- });
- this.resetView();
+ key: "destroy",
+ value: function destroy() {
+ for (var _i = 0, _Object$keys = Object.keys(this._timeoutId); _i < _Object$keys.length; _i++) {
+ var type = _Object$keys[_i];
+ clearTimeout(this._timeoutId[type]);
}
+ this.$el.insertBefore(this.$container);
+ $(this.options.toolbar).insertBefore(this.$el);
+ this.$container.next().remove();
+ this.$container.remove();
+ this.$el.html(this.$el_.html()).css('margin-top', '0').attr('class', this.$el_.attr('class') || ''); // reset the class
+
+ var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id'));
+ $(window).off(resizeEvent);
}
}, {
key: "updateFormatText",
@@ -11530,6 +13052,15 @@
}
}]);
}();
+ Object.assign(BootstrapTable.prototype, InitializationModule);
+ Object.assign(BootstrapTable.prototype, HeaderModule);
+ Object.assign(BootstrapTable.prototype, DataModule);
+ Object.assign(BootstrapTable.prototype, ToolbarModule);
+ Object.assign(BootstrapTable.prototype, SearchModule);
+ Object.assign(BootstrapTable.prototype, PaginationModule);
+ Object.assign(BootstrapTable.prototype, BodyModule);
+ Object.assign(BootstrapTable.prototype, CheckModule);
+ Object.assign(BootstrapTable.prototype, DetailModule);
BootstrapTable.VERSION = Constants.VERSION;
BootstrapTable.DEFAULTS = Constants.DEFAULTS;
BootstrapTable.LOCALES = Constants.LOCALES;
@@ -11542,21 +13073,21 @@
$.BootstrapTable = BootstrapTable;
$.fn.bootstrapTable = function (option) {
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key3 = 1; _key3 < _len2; _key3++) {
- args[_key3 - 1] = arguments[_key3];
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
+ args[_key2 - 1] = arguments[_key2];
}
var value;
this.each(function (i, el) {
var data = $(el).data('bootstrap.table');
if (typeof option === 'string') {
- var _data2;
+ var _data;
if (!Constants.METHODS.includes(option)) {
throw new Error("Unknown method: ".concat(option));
}
if (!data) {
return;
}
- value = (_data2 = data)[option].apply(_data2, args);
+ value = (_data = data)[option].apply(_data, args);
if (option === 'destroy') {
$(el).removeData('bootstrap.table');
}
@@ -11693,7 +13224,7 @@
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
- var es_array_includes = {};
+ var es_array_filter = {};
var globalThis_1;
var hasRequiredGlobalThis;
@@ -11763,7 +13294,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -12242,10 +13773,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -12598,7 +14129,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -12621,7 +14152,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -13146,69 +14677,439 @@
return isForced_1;
}
- var _export;
- var hasRequired_export;
+ var _export;
+ var hasRequired_export;
+
+ function require_export () {
+ if (hasRequired_export) return _export;
+ hasRequired_export = 1;
+ var globalThis = requireGlobalThis();
+ var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
+ var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ var defineBuiltIn = requireDefineBuiltIn();
+ var defineGlobalProperty = requireDefineGlobalProperty();
+ var copyConstructorProperties = requireCopyConstructorProperties();
+ var isForced = requireIsForced();
+
+ /*
+ options.target - name of the target object
+ options.global - target is the global object
+ options.stat - export as static methods of target
+ options.proto - export as prototype methods of target
+ options.real - real prototype method for the `pure` version
+ options.forced - export even if the native feature is available
+ options.bind - bind methods to the target, required for the `pure` version
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
+ options.sham - add a flag to not completely full polyfills
+ options.enumerable - export as enumerable property
+ options.dontCallGetSet - prevent calling a getter on target
+ options.name - the .name of the function if it does not match the key
+ */
+ _export = function (options, source) {
+ var TARGET = options.target;
+ var GLOBAL = options.global;
+ var STATIC = options.stat;
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
+ if (GLOBAL) {
+ target = globalThis;
+ } else if (STATIC) {
+ target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
+ } else {
+ target = globalThis[TARGET] && globalThis[TARGET].prototype;
+ }
+ if (target) for (key in source) {
+ sourceProperty = source[key];
+ if (options.dontCallGetSet) {
+ descriptor = getOwnPropertyDescriptor(target, key);
+ targetProperty = descriptor && descriptor.value;
+ } else targetProperty = target[key];
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
+ // contained in target
+ if (!FORCED && targetProperty !== undefined) {
+ if (typeof sourceProperty == typeof targetProperty) continue;
+ copyConstructorProperties(sourceProperty, targetProperty);
+ }
+ // add a flag to not completely full polyfills
+ if (options.sham || (targetProperty && targetProperty.sham)) {
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
+ }
+ defineBuiltIn(target, key, sourceProperty, options);
+ }
+ };
+ return _export;
+ }
+
+ var functionUncurryThisClause;
+ var hasRequiredFunctionUncurryThisClause;
+
+ function requireFunctionUncurryThisClause () {
+ if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
+ hasRequiredFunctionUncurryThisClause = 1;
+ var classofRaw = requireClassofRaw();
+ var uncurryThis = requireFunctionUncurryThis();
+
+ functionUncurryThisClause = function (fn) {
+ // Nashorn bug:
+ // https://github.com/zloirock/core-js/issues/1128
+ // https://github.com/zloirock/core-js/issues/1130
+ if (classofRaw(fn) === 'Function') return uncurryThis(fn);
+ };
+ return functionUncurryThisClause;
+ }
+
+ var functionBindContext;
+ var hasRequiredFunctionBindContext;
+
+ function requireFunctionBindContext () {
+ if (hasRequiredFunctionBindContext) return functionBindContext;
+ hasRequiredFunctionBindContext = 1;
+ var uncurryThis = requireFunctionUncurryThisClause();
+ var aCallable = requireACallable();
+ var NATIVE_BIND = requireFunctionBindNative();
+
+ var bind = uncurryThis(uncurryThis.bind);
+
+ // optional / simple context binding
+ functionBindContext = function (fn, that) {
+ aCallable(fn);
+ return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
+ return fn.apply(that, arguments);
+ };
+ };
+ return functionBindContext;
+ }
+
+ var isArray;
+ var hasRequiredIsArray;
+
+ function requireIsArray () {
+ if (hasRequiredIsArray) return isArray;
+ hasRequiredIsArray = 1;
+ var classof = requireClassofRaw();
+
+ // `IsArray` abstract operation
+ // https://tc39.es/ecma262/#sec-isarray
+ // eslint-disable-next-line es/no-array-isarray -- safe
+ isArray = Array.isArray || function isArray(argument) {
+ return classof(argument) === 'Array';
+ };
+ return isArray;
+ }
+
+ var toStringTagSupport;
+ var hasRequiredToStringTagSupport;
+
+ function requireToStringTagSupport () {
+ if (hasRequiredToStringTagSupport) return toStringTagSupport;
+ hasRequiredToStringTagSupport = 1;
+ var wellKnownSymbol = requireWellKnownSymbol();
+
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+ var test = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ test[TO_STRING_TAG] = 'z';
+
+ toStringTagSupport = String(test) === '[object z]';
+ return toStringTagSupport;
+ }
+
+ var classof;
+ var hasRequiredClassof;
+
+ function requireClassof () {
+ if (hasRequiredClassof) return classof;
+ hasRequiredClassof = 1;
+ var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
+ var isCallable = requireIsCallable();
+ var classofRaw = requireClassofRaw();
+ var wellKnownSymbol = requireWellKnownSymbol();
+
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+ var $Object = Object;
+
+ // ES3 wrong here
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
+
+ // fallback for IE11 Script Access Denied error
+ var tryGet = function (it, key) {
+ try {
+ return it[key];
+ } catch (error) { /* empty */ }
+ };
+
+ // getting tag from ES6+ `Object.prototype.toString`
+ classof = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
+ var O, tag, result;
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
+ // @@toStringTag case
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
+ // builtinTag case
+ : CORRECT_ARGUMENTS ? classofRaw(O)
+ // ES3 arguments fallback
+ : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
+ };
+ return classof;
+ }
+
+ var isConstructor;
+ var hasRequiredIsConstructor;
+
+ function requireIsConstructor () {
+ if (hasRequiredIsConstructor) return isConstructor;
+ hasRequiredIsConstructor = 1;
+ var uncurryThis = requireFunctionUncurryThis();
+ var fails = requireFails();
+ var isCallable = requireIsCallable();
+ var classof = requireClassof();
+ var getBuiltIn = requireGetBuiltIn();
+ var inspectSource = requireInspectSource();
+
+ var noop = function () { /* empty */ };
+ var construct = getBuiltIn('Reflect', 'construct');
+ var constructorRegExp = /^\s*(?:class|function)\b/;
+ var exec = uncurryThis(constructorRegExp.exec);
+ var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
+
+ var isConstructorModern = function isConstructor(argument) {
+ if (!isCallable(argument)) return false;
+ try {
+ construct(noop, [], argument);
+ return true;
+ } catch (error) {
+ return false;
+ }
+ };
+
+ var isConstructorLegacy = function isConstructor(argument) {
+ if (!isCallable(argument)) return false;
+ switch (classof(argument)) {
+ case 'AsyncFunction':
+ case 'GeneratorFunction':
+ case 'AsyncGeneratorFunction': return false;
+ }
+ try {
+ // we can't check .prototype since constructors produced by .bind haven't it
+ // `Function#toString` throws on some built-it function in some legacy engines
+ // (for example, `DOMQuad` and similar in FF41-)
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
+ } catch (error) {
+ return true;
+ }
+ };
+
+ isConstructorLegacy.sham = true;
+
+ // `IsConstructor` abstract operation
+ // https://tc39.es/ecma262/#sec-isconstructor
+ isConstructor = !construct || fails(function () {
+ var called;
+ return isConstructorModern(isConstructorModern.call)
+ || !isConstructorModern(Object)
+ || !isConstructorModern(function () { called = true; })
+ || called;
+ }) ? isConstructorLegacy : isConstructorModern;
+ return isConstructor;
+ }
+
+ var arraySpeciesConstructor;
+ var hasRequiredArraySpeciesConstructor;
+
+ function requireArraySpeciesConstructor () {
+ if (hasRequiredArraySpeciesConstructor) return arraySpeciesConstructor;
+ hasRequiredArraySpeciesConstructor = 1;
+ var isArray = requireIsArray();
+ var isConstructor = requireIsConstructor();
+ var isObject = requireIsObject();
+ var wellKnownSymbol = requireWellKnownSymbol();
+
+ var SPECIES = wellKnownSymbol('species');
+ var $Array = Array;
+
+ // a part of `ArraySpeciesCreate` abstract operation
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
+ arraySpeciesConstructor = function (originalArray) {
+ var C;
+ if (isArray(originalArray)) {
+ C = originalArray.constructor;
+ // cross-realm fallback
+ if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
+ else if (isObject(C)) {
+ C = C[SPECIES];
+ if (C === null) C = undefined;
+ }
+ } return C === undefined ? $Array : C;
+ };
+ return arraySpeciesConstructor;
+ }
+
+ var arraySpeciesCreate;
+ var hasRequiredArraySpeciesCreate;
+
+ function requireArraySpeciesCreate () {
+ if (hasRequiredArraySpeciesCreate) return arraySpeciesCreate;
+ hasRequiredArraySpeciesCreate = 1;
+ var arraySpeciesConstructor = requireArraySpeciesConstructor();
+
+ // `ArraySpeciesCreate` abstract operation
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
+ arraySpeciesCreate = function (originalArray, length) {
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
+ };
+ return arraySpeciesCreate;
+ }
+
+ var createProperty;
+ var hasRequiredCreateProperty;
+
+ function requireCreateProperty () {
+ if (hasRequiredCreateProperty) return createProperty;
+ hasRequiredCreateProperty = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var definePropertyModule = requireObjectDefineProperty();
+ var createPropertyDescriptor = requireCreatePropertyDescriptor();
+
+ createProperty = function (object, key, value) {
+ if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
+ else object[key] = value;
+ };
+ return createProperty;
+ }
+
+ var arrayIteration;
+ var hasRequiredArrayIteration;
+
+ function requireArrayIteration () {
+ if (hasRequiredArrayIteration) return arrayIteration;
+ hasRequiredArrayIteration = 1;
+ var bind = requireFunctionBindContext();
+ var IndexedObject = requireIndexedObject();
+ var toObject = requireToObject();
+ var lengthOfArrayLike = requireLengthOfArrayLike();
+ var arraySpeciesCreate = requireArraySpeciesCreate();
+ var createProperty = requireCreateProperty();
+
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
+ var createMethod = function (TYPE) {
+ var IS_MAP = TYPE === 1;
+ var IS_FILTER = TYPE === 2;
+ var IS_SOME = TYPE === 3;
+ var IS_EVERY = TYPE === 4;
+ var IS_FIND_INDEX = TYPE === 6;
+ var IS_FILTER_REJECT = TYPE === 7;
+ var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
+ return function ($this, callbackfn, that) {
+ var O = toObject($this);
+ var self = IndexedObject(O);
+ var length = lengthOfArrayLike(self);
+ var boundFunction = bind(callbackfn, that);
+ var index = 0;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
+ var value, result;
+ for (;length > index; index++) if (NO_HOLES || index in self) {
+ value = self[index];
+ result = boundFunction(value, index, O);
+ if (TYPE) {
+ if (IS_MAP) createProperty(target, index, result); // map
+ else if (result) switch (TYPE) {
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
+ } else switch (TYPE) {
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
+ }
+ }
+ }
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
+ };
+ };
+
+ arrayIteration = {
+ // `Array.prototype.forEach` method
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
+ forEach: createMethod(0),
+ // `Array.prototype.map` method
+ // https://tc39.es/ecma262/#sec-array.prototype.map
+ map: createMethod(1),
+ // `Array.prototype.filter` method
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
+ filter: createMethod(2),
+ // `Array.prototype.some` method
+ // https://tc39.es/ecma262/#sec-array.prototype.some
+ some: createMethod(3),
+ // `Array.prototype.every` method
+ // https://tc39.es/ecma262/#sec-array.prototype.every
+ every: createMethod(4),
+ // `Array.prototype.find` method
+ // https://tc39.es/ecma262/#sec-array.prototype.find
+ find: createMethod(5),
+ // `Array.prototype.findIndex` method
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
+ findIndex: createMethod(6),
+ // `Array.prototype.filterReject` method
+ // https://github.com/tc39/proposal-array-filtering
+ filterReject: createMethod(7)
+ };
+ return arrayIteration;
+ }
+
+ var arrayMethodHasSpeciesSupport;
+ var hasRequiredArrayMethodHasSpeciesSupport;
+
+ function requireArrayMethodHasSpeciesSupport () {
+ if (hasRequiredArrayMethodHasSpeciesSupport) return arrayMethodHasSpeciesSupport;
+ hasRequiredArrayMethodHasSpeciesSupport = 1;
+ var fails = requireFails();
+ var wellKnownSymbol = requireWellKnownSymbol();
+ var V8_VERSION = requireEnvironmentV8Version();
+
+ var SPECIES = wellKnownSymbol('species');
+
+ arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
+ // We can't use this feature detection in V8 since it causes
+ // deoptimization and serious performance degradation
+ // https://github.com/zloirock/core-js/issues/677
+ return V8_VERSION >= 51 || !fails(function () {
+ var array = [];
+ var constructor = array.constructor = {};
+ constructor[SPECIES] = function () {
+ return { foo: 1 };
+ };
+ return array[METHOD_NAME](Boolean).foo !== 1;
+ });
+ };
+ return arrayMethodHasSpeciesSupport;
+ }
+
+ var hasRequiredEs_array_filter;
- function require_export () {
- if (hasRequired_export) return _export;
- hasRequired_export = 1;
- var globalThis = requireGlobalThis();
- var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f;
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
- var defineBuiltIn = requireDefineBuiltIn();
- var defineGlobalProperty = requireDefineGlobalProperty();
- var copyConstructorProperties = requireCopyConstructorProperties();
- var isForced = requireIsForced();
+ function requireEs_array_filter () {
+ if (hasRequiredEs_array_filter) return es_array_filter;
+ hasRequiredEs_array_filter = 1;
+ var $ = require_export();
+ var $filter = requireArrayIteration().filter;
+ var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
- /*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.dontCallGetSet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
- */
- _export = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
- if (GLOBAL) {
- target = globalThis;
- } else if (STATIC) {
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
- } else {
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
- }
- if (target) for (key in source) {
- sourceProperty = source[key];
- if (options.dontCallGetSet) {
- descriptor = getOwnPropertyDescriptor(target, key);
- targetProperty = descriptor && descriptor.value;
- } else targetProperty = target[key];
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
- // contained in target
- if (!FORCED && targetProperty !== undefined) {
- if (typeof sourceProperty == typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- // add a flag to not completely full polyfills
- if (options.sham || (targetProperty && targetProperty.sham)) {
- createNonEnumerableProperty(sourceProperty, 'sham', true);
- }
- defineBuiltIn(target, key, sourceProperty, options);
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
+
+ // `Array.prototype.filter` method
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
+ // with adding support of @@species
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ filter: function filter(callbackfn /* , thisArg */) {
+ return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
- };
- return _export;
+ });
+ return es_array_filter;
}
+ requireEs_array_filter();
+
+ var es_array_includes = {};
+
var objectDefineProperties = {};
var objectKeys;
@@ -13407,9 +15308,15 @@
return !Array(1).includes();
});
+ // Safari 26.4- bug
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
+ return [, 1].includes(undefined, 1);
+ });
+
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
@@ -13422,6 +15329,32 @@
requireEs_array_includes();
+ var es_array_map = {};
+
+ var hasRequiredEs_array_map;
+
+ function requireEs_array_map () {
+ if (hasRequiredEs_array_map) return es_array_map;
+ hasRequiredEs_array_map = 1;
+ var $ = require_export();
+ var $map = requireArrayIteration().map;
+ var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
+
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
+
+ // `Array.prototype.map` method
+ // https://tc39.es/ecma262/#sec-array.prototype.map
+ // with adding support of @@species
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ map: function map(callbackfn /* , thisArg */) {
+ return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+ }
+ });
+ return es_array_map;
+ }
+
+ requireEs_array_map();
+
var es_object_assign = {};
var objectAssign;
@@ -13475,622 +15408,189 @@
var index = 1;
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
var propertyIsEnumerable = propertyIsEnumerableModule.f;
- while (argumentsLength > index) {
- var S = IndexedObject(arguments[index++]);
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
- var length = keys.length;
- var j = 0;
- var key;
- while (length > j) {
- key = keys[j++];
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
- }
- } return T;
- } : $assign;
- return objectAssign;
- }
-
- var hasRequiredEs_object_assign;
-
- function requireEs_object_assign () {
- if (hasRequiredEs_object_assign) return es_object_assign;
- hasRequiredEs_object_assign = 1;
- var $ = require_export();
- var assign = requireObjectAssign();
-
- // `Object.assign` method
- // https://tc39.es/ecma262/#sec-object.assign
- // eslint-disable-next-line es/no-object-assign -- required for testing
- $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
- assign: assign
- });
- return es_object_assign;
- }
-
- requireEs_object_assign();
-
- var es_object_toString = {};
-
- var toStringTagSupport;
- var hasRequiredToStringTagSupport;
-
- function requireToStringTagSupport () {
- if (hasRequiredToStringTagSupport) return toStringTagSupport;
- hasRequiredToStringTagSupport = 1;
- var wellKnownSymbol = requireWellKnownSymbol();
-
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var test = {};
-
- test[TO_STRING_TAG] = 'z';
-
- toStringTagSupport = String(test) === '[object z]';
- return toStringTagSupport;
- }
-
- var classof;
- var hasRequiredClassof;
-
- function requireClassof () {
- if (hasRequiredClassof) return classof;
- hasRequiredClassof = 1;
- var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
- var isCallable = requireIsCallable();
- var classofRaw = requireClassofRaw();
- var wellKnownSymbol = requireWellKnownSymbol();
-
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var $Object = Object;
-
- // ES3 wrong here
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
-
- // fallback for IE11 Script Access Denied error
- var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (error) { /* empty */ }
- };
-
- // getting tag from ES6+ `Object.prototype.toString`
- classof = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
- var O, tag, result;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
- // builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
- // ES3 arguments fallback
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
- };
- return classof;
- }
-
- var objectToString;
- var hasRequiredObjectToString;
-
- function requireObjectToString () {
- if (hasRequiredObjectToString) return objectToString;
- hasRequiredObjectToString = 1;
- var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
- var classof = requireClassof();
-
- // `Object.prototype.toString` method implementation
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
- objectToString = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
- return '[object ' + classof(this) + ']';
- };
- return objectToString;
- }
-
- var hasRequiredEs_object_toString;
-
- function requireEs_object_toString () {
- if (hasRequiredEs_object_toString) return es_object_toString;
- hasRequiredEs_object_toString = 1;
- var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
- var defineBuiltIn = requireDefineBuiltIn();
- var toString = requireObjectToString();
-
- // `Object.prototype.toString` method
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
- if (!TO_STRING_TAG_SUPPORT) {
- defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
- }
- return es_object_toString;
- }
-
- requireEs_object_toString();
-
- var es_string_includes = {};
-
- var isRegexp;
- var hasRequiredIsRegexp;
-
- function requireIsRegexp () {
- if (hasRequiredIsRegexp) return isRegexp;
- hasRequiredIsRegexp = 1;
- var isObject = requireIsObject();
- var classof = requireClassofRaw();
- var wellKnownSymbol = requireWellKnownSymbol();
-
- var MATCH = wellKnownSymbol('match');
-
- // `IsRegExp` abstract operation
- // https://tc39.es/ecma262/#sec-isregexp
- isRegexp = function (it) {
- var isRegExp;
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
- };
- return isRegexp;
- }
-
- var notARegexp;
- var hasRequiredNotARegexp;
-
- function requireNotARegexp () {
- if (hasRequiredNotARegexp) return notARegexp;
- hasRequiredNotARegexp = 1;
- var isRegExp = requireIsRegexp();
-
- var $TypeError = TypeError;
-
- notARegexp = function (it) {
- if (isRegExp(it)) {
- throw new $TypeError("The method doesn't accept regular expressions");
- } return it;
- };
- return notARegexp;
- }
-
- var toString;
- var hasRequiredToString;
-
- function requireToString () {
- if (hasRequiredToString) return toString;
- hasRequiredToString = 1;
- var classof = requireClassof();
-
- var $String = String;
-
- toString = function (argument) {
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
- return $String(argument);
- };
- return toString;
- }
-
- var correctIsRegexpLogic;
- var hasRequiredCorrectIsRegexpLogic;
-
- function requireCorrectIsRegexpLogic () {
- if (hasRequiredCorrectIsRegexpLogic) return correctIsRegexpLogic;
- hasRequiredCorrectIsRegexpLogic = 1;
- var wellKnownSymbol = requireWellKnownSymbol();
-
- var MATCH = wellKnownSymbol('match');
-
- correctIsRegexpLogic = function (METHOD_NAME) {
- var regexp = /./;
- try {
- '/./'[METHOD_NAME](regexp);
- } catch (error1) {
- try {
- regexp[MATCH] = false;
- return '/./'[METHOD_NAME](regexp);
- } catch (error2) { /* empty */ }
- } return false;
- };
- return correctIsRegexpLogic;
- }
-
- var hasRequiredEs_string_includes;
-
- function requireEs_string_includes () {
- if (hasRequiredEs_string_includes) return es_string_includes;
- hasRequiredEs_string_includes = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var notARegExp = requireNotARegexp();
- var requireObjectCoercible = requireRequireObjectCoercible();
- var toString = requireToString();
- var correctIsRegExpLogic = requireCorrectIsRegexpLogic();
-
- var stringIndexOf = uncurryThis(''.indexOf);
-
- // `String.prototype.includes` method
- // https://tc39.es/ecma262/#sec-string.prototype.includes
- $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
- includes: function includes(searchString /* , position = 0 */) {
- return !!~stringIndexOf(
- toString(requireObjectCoercible(this)),
- toString(notARegExp(searchString)),
- arguments.length > 1 ? arguments[1] : undefined
- );
- }
- });
- return es_string_includes;
- }
-
- requireEs_string_includes();
-
- var web_domCollections_forEach = {};
-
- var domIterables;
- var hasRequiredDomIterables;
-
- function requireDomIterables () {
- if (hasRequiredDomIterables) return domIterables;
- hasRequiredDomIterables = 1;
- // iterable DOM collections
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
- domIterables = {
- CSSRuleList: 0,
- CSSStyleDeclaration: 0,
- CSSValueList: 0,
- ClientRectList: 0,
- DOMRectList: 0,
- DOMStringList: 0,
- DOMTokenList: 1,
- DataTransferItemList: 0,
- FileList: 0,
- HTMLAllCollection: 0,
- HTMLCollection: 0,
- HTMLFormElement: 0,
- HTMLSelectElement: 0,
- MediaList: 0,
- MimeTypeArray: 0,
- NamedNodeMap: 0,
- NodeList: 1,
- PaintRequestList: 0,
- Plugin: 0,
- PluginArray: 0,
- SVGLengthList: 0,
- SVGNumberList: 0,
- SVGPathSegList: 0,
- SVGPointList: 0,
- SVGStringList: 0,
- SVGTransformList: 0,
- SourceBufferList: 0,
- StyleSheetList: 0,
- TextTrackCueList: 0,
- TextTrackList: 0,
- TouchList: 0
- };
- return domIterables;
- }
-
- var domTokenListPrototype;
- var hasRequiredDomTokenListPrototype;
-
- function requireDomTokenListPrototype () {
- if (hasRequiredDomTokenListPrototype) return domTokenListPrototype;
- hasRequiredDomTokenListPrototype = 1;
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
- var documentCreateElement = requireDocumentCreateElement();
-
- var classList = documentCreateElement('span').classList;
- var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
-
- domTokenListPrototype = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
- return domTokenListPrototype;
- }
-
- var functionUncurryThisClause;
- var hasRequiredFunctionUncurryThisClause;
-
- function requireFunctionUncurryThisClause () {
- if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause;
- hasRequiredFunctionUncurryThisClause = 1;
- var classofRaw = requireClassofRaw();
- var uncurryThis = requireFunctionUncurryThis();
-
- functionUncurryThisClause = function (fn) {
- // Nashorn bug:
- // https://github.com/zloirock/core-js/issues/1128
- // https://github.com/zloirock/core-js/issues/1130
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
- };
- return functionUncurryThisClause;
- }
-
- var functionBindContext;
- var hasRequiredFunctionBindContext;
-
- function requireFunctionBindContext () {
- if (hasRequiredFunctionBindContext) return functionBindContext;
- hasRequiredFunctionBindContext = 1;
- var uncurryThis = requireFunctionUncurryThisClause();
- var aCallable = requireACallable();
- var NATIVE_BIND = requireFunctionBindNative();
-
- var bind = uncurryThis(uncurryThis.bind);
-
- // optional / simple context binding
- functionBindContext = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
- return fn.apply(that, arguments);
- };
- };
- return functionBindContext;
- }
-
- var isArray;
- var hasRequiredIsArray;
-
- function requireIsArray () {
- if (hasRequiredIsArray) return isArray;
- hasRequiredIsArray = 1;
- var classof = requireClassofRaw();
-
- // `IsArray` abstract operation
- // https://tc39.es/ecma262/#sec-isarray
- // eslint-disable-next-line es/no-array-isarray -- safe
- isArray = Array.isArray || function isArray(argument) {
- return classof(argument) === 'Array';
- };
- return isArray;
- }
-
- var isConstructor;
- var hasRequiredIsConstructor;
-
- function requireIsConstructor () {
- if (hasRequiredIsConstructor) return isConstructor;
- hasRequiredIsConstructor = 1;
- var uncurryThis = requireFunctionUncurryThis();
- var fails = requireFails();
- var isCallable = requireIsCallable();
- var classof = requireClassof();
- var getBuiltIn = requireGetBuiltIn();
- var inspectSource = requireInspectSource();
-
- var noop = function () { /* empty */ };
- var construct = getBuiltIn('Reflect', 'construct');
- var constructorRegExp = /^\s*(?:class|function)\b/;
- var exec = uncurryThis(constructorRegExp.exec);
- var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
-
- var isConstructorModern = function isConstructor(argument) {
- if (!isCallable(argument)) return false;
- try {
- construct(noop, [], argument);
- return true;
- } catch (error) {
- return false;
- }
- };
-
- var isConstructorLegacy = function isConstructor(argument) {
- if (!isCallable(argument)) return false;
- switch (classof(argument)) {
- case 'AsyncFunction':
- case 'GeneratorFunction':
- case 'AsyncGeneratorFunction': return false;
- }
- try {
- // we can't check .prototype since constructors produced by .bind haven't it
- // `Function#toString` throws on some built-it function in some legacy engines
- // (for example, `DOMQuad` and similar in FF41-)
- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
- } catch (error) {
- return true;
- }
- };
+ while (argumentsLength > index) {
+ var S = IndexedObject(arguments[index++]);
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
+ var length = keys.length;
+ var j = 0;
+ var key;
+ while (length > j) {
+ key = keys[j++];
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
+ }
+ } return T;
+ } : $assign;
+ return objectAssign;
+ }
- isConstructorLegacy.sham = true;
+ var hasRequiredEs_object_assign;
- // `IsConstructor` abstract operation
- // https://tc39.es/ecma262/#sec-isconstructor
- isConstructor = !construct || fails(function () {
- var called;
- return isConstructorModern(isConstructorModern.call)
- || !isConstructorModern(Object)
- || !isConstructorModern(function () { called = true; })
- || called;
- }) ? isConstructorLegacy : isConstructorModern;
- return isConstructor;
+ function requireEs_object_assign () {
+ if (hasRequiredEs_object_assign) return es_object_assign;
+ hasRequiredEs_object_assign = 1;
+ var $ = require_export();
+ var assign = requireObjectAssign();
+
+ // `Object.assign` method
+ // https://tc39.es/ecma262/#sec-object.assign
+ // eslint-disable-next-line es/no-object-assign -- required for testing
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
+ assign: assign
+ });
+ return es_object_assign;
}
- var arraySpeciesConstructor;
- var hasRequiredArraySpeciesConstructor;
+ requireEs_object_assign();
- function requireArraySpeciesConstructor () {
- if (hasRequiredArraySpeciesConstructor) return arraySpeciesConstructor;
- hasRequiredArraySpeciesConstructor = 1;
- var isArray = requireIsArray();
- var isConstructor = requireIsConstructor();
- var isObject = requireIsObject();
- var wellKnownSymbol = requireWellKnownSymbol();
+ var es_object_toString = {};
- var SPECIES = wellKnownSymbol('species');
- var $Array = Array;
+ var objectToString;
+ var hasRequiredObjectToString;
- // a part of `ArraySpeciesCreate` abstract operation
- // https://tc39.es/ecma262/#sec-arrayspeciescreate
- arraySpeciesConstructor = function (originalArray) {
- var C;
- if (isArray(originalArray)) {
- C = originalArray.constructor;
- // cross-realm fallback
- if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
- else if (isObject(C)) {
- C = C[SPECIES];
- if (C === null) C = undefined;
- }
- } return C === undefined ? $Array : C;
+ function requireObjectToString () {
+ if (hasRequiredObjectToString) return objectToString;
+ hasRequiredObjectToString = 1;
+ var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
+ var classof = requireClassof();
+
+ // `Object.prototype.toString` method implementation
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
+ objectToString = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
+ return '[object ' + classof(this) + ']';
};
- return arraySpeciesConstructor;
+ return objectToString;
}
- var arraySpeciesCreate;
- var hasRequiredArraySpeciesCreate;
+ var hasRequiredEs_object_toString;
- function requireArraySpeciesCreate () {
- if (hasRequiredArraySpeciesCreate) return arraySpeciesCreate;
- hasRequiredArraySpeciesCreate = 1;
- var arraySpeciesConstructor = requireArraySpeciesConstructor();
+ function requireEs_object_toString () {
+ if (hasRequiredEs_object_toString) return es_object_toString;
+ hasRequiredEs_object_toString = 1;
+ var TO_STRING_TAG_SUPPORT = requireToStringTagSupport();
+ var defineBuiltIn = requireDefineBuiltIn();
+ var toString = requireObjectToString();
- // `ArraySpeciesCreate` abstract operation
- // https://tc39.es/ecma262/#sec-arrayspeciescreate
- arraySpeciesCreate = function (originalArray, length) {
- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
- };
- return arraySpeciesCreate;
+ // `Object.prototype.toString` method
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
+ if (!TO_STRING_TAG_SUPPORT) {
+ defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
+ }
+ return es_object_toString;
}
- var arrayIteration;
- var hasRequiredArrayIteration;
+ requireEs_object_toString();
- function requireArrayIteration () {
- if (hasRequiredArrayIteration) return arrayIteration;
- hasRequiredArrayIteration = 1;
- var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
- var IndexedObject = requireIndexedObject();
- var toObject = requireToObject();
- var lengthOfArrayLike = requireLengthOfArrayLike();
- var arraySpeciesCreate = requireArraySpeciesCreate();
+ var es_string_includes = {};
- var push = uncurryThis([].push);
+ var isRegexp;
+ var hasRequiredIsRegexp;
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
- var createMethod = function (TYPE) {
- var IS_MAP = TYPE === 1;
- var IS_FILTER = TYPE === 2;
- var IS_SOME = TYPE === 3;
- var IS_EVERY = TYPE === 4;
- var IS_FIND_INDEX = TYPE === 6;
- var IS_FILTER_REJECT = TYPE === 7;
- var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
- var O = toObject($this);
- var self = IndexedObject(O);
- var length = lengthOfArrayLike(self);
- var boundFunction = bind(callbackfn, that);
- var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
- var value, result;
- for (;length > index; index++) if (NO_HOLES || index in self) {
- value = self[index];
- result = boundFunction(value, index, O);
- if (TYPE) {
- if (IS_MAP) target[index] = result; // map
- else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
- } else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
- }
- }
- }
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
- };
- };
+ function requireIsRegexp () {
+ if (hasRequiredIsRegexp) return isRegexp;
+ hasRequiredIsRegexp = 1;
+ var isObject = requireIsObject();
+ var classof = requireClassofRaw();
+ var wellKnownSymbol = requireWellKnownSymbol();
- arrayIteration = {
- // `Array.prototype.forEach` method
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
- forEach: createMethod(0),
- // `Array.prototype.map` method
- // https://tc39.es/ecma262/#sec-array.prototype.map
- map: createMethod(1),
- // `Array.prototype.filter` method
- // https://tc39.es/ecma262/#sec-array.prototype.filter
- filter: createMethod(2),
- // `Array.prototype.some` method
- // https://tc39.es/ecma262/#sec-array.prototype.some
- some: createMethod(3),
- // `Array.prototype.every` method
- // https://tc39.es/ecma262/#sec-array.prototype.every
- every: createMethod(4),
- // `Array.prototype.find` method
- // https://tc39.es/ecma262/#sec-array.prototype.find
- find: createMethod(5),
- // `Array.prototype.findIndex` method
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
- findIndex: createMethod(6),
- // `Array.prototype.filterReject` method
- // https://github.com/tc39/proposal-array-filtering
- filterReject: createMethod(7)
+ var MATCH = wellKnownSymbol('match');
+
+ // `IsRegExp` abstract operation
+ // https://tc39.es/ecma262/#sec-isregexp
+ isRegexp = function (it) {
+ var isRegExp;
+ return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
};
- return arrayIteration;
+ return isRegexp;
}
- var arrayMethodIsStrict;
- var hasRequiredArrayMethodIsStrict;
+ var notARegexp;
+ var hasRequiredNotARegexp;
- function requireArrayMethodIsStrict () {
- if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
- hasRequiredArrayMethodIsStrict = 1;
- var fails = requireFails();
+ function requireNotARegexp () {
+ if (hasRequiredNotARegexp) return notARegexp;
+ hasRequiredNotARegexp = 1;
+ var isRegExp = requireIsRegexp();
- arrayMethodIsStrict = function (METHOD_NAME, argument) {
- var method = [][METHOD_NAME];
- return !!method && fails(function () {
- // eslint-disable-next-line no-useless-call -- required for testing
- method.call(null, argument || function () { return 1; }, 1);
- });
+ var $TypeError = TypeError;
+
+ notARegexp = function (it) {
+ if (isRegExp(it)) {
+ throw new $TypeError("The method doesn't accept regular expressions");
+ } return it;
};
- return arrayMethodIsStrict;
+ return notARegexp;
}
- var arrayForEach;
- var hasRequiredArrayForEach;
+ var toString;
+ var hasRequiredToString;
- function requireArrayForEach () {
- if (hasRequiredArrayForEach) return arrayForEach;
- hasRequiredArrayForEach = 1;
- var $forEach = requireArrayIteration().forEach;
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
+ function requireToString () {
+ if (hasRequiredToString) return toString;
+ hasRequiredToString = 1;
+ var classof = requireClassof();
- var STRICT_METHOD = arrayMethodIsStrict('forEach');
+ var $String = String;
- // `Array.prototype.forEach` method implementation
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
- arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
- } : [].forEach;
- return arrayForEach;
+ toString = function (argument) {
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
+ return $String(argument);
+ };
+ return toString;
}
- var hasRequiredWeb_domCollections_forEach;
+ var correctIsRegexpLogic;
+ var hasRequiredCorrectIsRegexpLogic;
- function requireWeb_domCollections_forEach () {
- if (hasRequiredWeb_domCollections_forEach) return web_domCollections_forEach;
- hasRequiredWeb_domCollections_forEach = 1;
- var globalThis = requireGlobalThis();
- var DOMIterables = requireDomIterables();
- var DOMTokenListPrototype = requireDomTokenListPrototype();
- var forEach = requireArrayForEach();
- var createNonEnumerableProperty = requireCreateNonEnumerableProperty();
+ function requireCorrectIsRegexpLogic () {
+ if (hasRequiredCorrectIsRegexpLogic) return correctIsRegexpLogic;
+ hasRequiredCorrectIsRegexpLogic = 1;
+ var wellKnownSymbol = requireWellKnownSymbol();
- var handlePrototype = function (CollectionPrototype) {
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
- } catch (error) {
- CollectionPrototype.forEach = forEach;
- }
+ var MATCH = wellKnownSymbol('match');
+
+ correctIsRegexpLogic = function (METHOD_NAME) {
+ var regexp = /./;
+ try {
+ '/./'[METHOD_NAME](regexp);
+ } catch (error1) {
+ try {
+ regexp[MATCH] = false;
+ return '/./'[METHOD_NAME](regexp);
+ } catch (error2) { /* empty */ }
+ } return false;
};
+ return correctIsRegexpLogic;
+ }
- for (var COLLECTION_NAME in DOMIterables) {
- if (DOMIterables[COLLECTION_NAME]) {
- handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);
- }
- }
+ var hasRequiredEs_string_includes;
- handlePrototype(DOMTokenListPrototype);
- return web_domCollections_forEach;
+ function requireEs_string_includes () {
+ if (hasRequiredEs_string_includes) return es_string_includes;
+ hasRequiredEs_string_includes = 1;
+ var $ = require_export();
+ var uncurryThis = requireFunctionUncurryThis();
+ var notARegExp = requireNotARegexp();
+ var requireObjectCoercible = requireRequireObjectCoercible();
+ var toString = requireToString();
+ var correctIsRegExpLogic = requireCorrectIsRegexpLogic();
+
+ var stringIndexOf = uncurryThis(''.indexOf);
+
+ // `String.prototype.includes` method
+ // https://tc39.es/ecma262/#sec-string.prototype.includes
+ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
+ includes: function includes(searchString /* , position = 0 */) {
+ return !!~stringIndexOf(
+ toString(requireObjectCoercible(this)),
+ toString(notARegExp(searchString)),
+ arguments.length > 1 ? arguments[1] : undefined
+ );
+ }
+ });
+ return es_string_includes;
}
- requireWeb_domCollections_forEach();
+ requireEs_string_includes();
/**
* @author: Dennis Hernández
@@ -14193,14 +15693,16 @@
key: "showHideColumns",
value: function showHideColumns(checked) {
var _this2 = this;
- if (this.options.columnsHidden.length > 0) {
- this.columns.forEach(function (column) {
- if (_this2.options.columnsHidden.includes(column.field)) {
- if (column.visible !== checked) {
- _this2._toggleColumn(_this2.fieldsColumnsIndex[column.field], checked, true);
- }
- }
- });
+ if (this.options.columnsHidden.length === 0) {
+ return;
+ }
+ var fieldsToToggle = this.columns.filter(function (column) {
+ return _this2.options.columnsHidden.includes(column.field) && column.visible !== checked;
+ }).map(function (column) {
+ return column.field;
+ });
+ if (fieldsToToggle.length > 0) {
+ this._toggleColumns(fieldsToToggle, checked, true);
}
}
}, {
@@ -14460,7 +15962,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -14939,10 +16441,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -15295,7 +16797,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -15318,7 +16820,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -15933,7 +17435,7 @@
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
doesNotExceedSafeInteger = function (it) {
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
return it;
};
return doesNotExceedSafeInteger;
@@ -15956,6 +17458,41 @@
return createProperty;
}
+ var arraySetLength;
+ var hasRequiredArraySetLength;
+
+ function requireArraySetLength () {
+ if (hasRequiredArraySetLength) return arraySetLength;
+ hasRequiredArraySetLength = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var isArray = requireIsArray();
+
+ var $TypeError = TypeError;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+ // Safari < 13 does not throw an error in this case
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
+ // makes no sense without proper strict mode support
+ if (this !== undefined) return true;
+ try {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
+ } catch (error) {
+ return error instanceof TypeError;
+ }
+ }();
+
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
+ throw new $TypeError('Cannot set read only .length');
+ } return O.length = length;
+ } : function (O, length) {
+ return O.length = length;
+ };
+ return arraySetLength;
+ }
+
var toStringTagSupport;
var hasRequiredToStringTagSupport;
@@ -15966,7 +17503,7 @@
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -16159,6 +17696,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var arraySpeciesCreate = requireArraySpeciesCreate();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var wellKnownSymbol = requireWellKnownSymbol();
@@ -16204,7 +17742,7 @@
createProperty(A, n++, E);
}
}
- A.length = n;
+ setArrayLength(A, n);
return A;
}
});
@@ -16262,13 +17800,11 @@
if (hasRequiredArrayIteration) return arrayIteration;
hasRequiredArrayIteration = 1;
var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
var IndexedObject = requireIndexedObject();
var toObject = requireToObject();
var lengthOfArrayLike = requireLengthOfArrayLike();
var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
+ var createProperty = requireCreateProperty();
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
@@ -16279,28 +17815,28 @@
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
+ return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
- if (IS_MAP) target[index] = result; // map
+ if (IS_MAP) createProperty(target, index, result); // map
else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
} else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
}
}
}
@@ -16550,54 +18086,6 @@
requireEs_array_find();
- var es_array_join = {};
-
- var arrayMethodIsStrict;
- var hasRequiredArrayMethodIsStrict;
-
- function requireArrayMethodIsStrict () {
- if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
- hasRequiredArrayMethodIsStrict = 1;
- var fails = requireFails();
-
- arrayMethodIsStrict = function (METHOD_NAME, argument) {
- var method = [][METHOD_NAME];
- return !!method && fails(function () {
- // eslint-disable-next-line no-useless-call -- required for testing
- method.call(null, argument || function () { return 1; }, 1);
- });
- };
- return arrayMethodIsStrict;
- }
-
- var hasRequiredEs_array_join;
-
- function requireEs_array_join () {
- if (hasRequiredEs_array_join) return es_array_join;
- hasRequiredEs_array_join = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var IndexedObject = requireIndexedObject();
- var toIndexedObject = requireToIndexedObject();
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
-
- var nativeJoin = uncurryThis([].join);
-
- var ES3_STRINGS = IndexedObject !== Object;
- var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
-
- // `Array.prototype.join` method
- // https://tc39.es/ecma262/#sec-array.prototype.join
- $({ target: 'Array', proto: true, forced: FORCED }, {
- join: function join(separator) {
- return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
- }
- });
- return es_array_join;
- }
-
- requireEs_array_join();
-
var es_array_map = {};
var hasRequiredEs_array_map;
@@ -16651,6 +18139,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var toIndexedObject = requireToIndexedObject();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var wellKnownSymbol = requireWellKnownSymbol();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var nativeSlice = requireArraySlice();
@@ -16687,7 +18176,7 @@
}
result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
- result.length = n;
+ setArrayLength(result, n);
return result;
}
});
@@ -16986,18 +18475,29 @@
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
+ var setGroups = function (re, groups) {
+ var object = re.groups = create(null);
+ for (var i = 0; i < groups.length; i++) {
+ var group = groups[i];
+ object[group[0]] = re[group[1]];
+ }
+ };
+
if (PATCH) {
patchedExec = function exec(string) {
var re = this;
var state = getInternalState(re);
var str = toString(string);
var raw = state.raw;
- var result, reCopy, lastIndex, match, i, object, group;
+ var result, reCopy, lastIndex;
if (raw) {
raw.lastIndex = re.lastIndex;
result = call(patchedExec, raw, str);
re.lastIndex = raw.lastIndex;
+
+ if (result && state.groups) setGroups(result, state.groups);
+
return result;
}
@@ -17016,8 +18516,10 @@
strCopy = stringSlice(str, re.lastIndex);
// Support anchored sticky behavior.
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
- source = '(?: ' + source + ')';
+ var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
+ if (re.lastIndex > 0 &&
+ (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
+ source = '(?: (?:' + source + '))';
strCopy = ' ' + strCopy;
charsAdded++;
}
@@ -17031,11 +18533,11 @@
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- match = call(nativeExec, sticky ? reCopy : re, strCopy);
+ var match = call(nativeExec, sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
- match.input = stringSlice(match.input, charsAdded);
+ match.input = str;
match[0] = stringSlice(match[0], charsAdded);
match.index = re.lastIndex;
re.lastIndex += match[0].length;
@@ -17047,19 +18549,13 @@
// Fix browsers whose `exec` methods don't consistently return `undefined`
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
call(nativeReplace, match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
+ for (var i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
});
}
- if (match && groups) {
- match.groups = object = create(null);
- for (i = 0; i < groups.length; i++) {
- group = groups[i];
- object[group[0]] = match[group[1]];
- }
- }
+ if (match && groups) setGroups(match, groups);
return match;
};
@@ -17114,7 +18610,7 @@
function requireFixRegexpWellKnownSymbolLogic () {
if (hasRequiredFixRegexpWellKnownSymbolLogic) return fixRegexpWellKnownSymbolLogic;
hasRequiredFixRegexpWellKnownSymbolLogic = 1;
- // TODO: Remove from `core-js@4` since it's moved to entry points
+ // TODO: Remove from `core-js [at] 4` since it's moved to entry points
requireEs_regexp_exec();
var call = requireFunctionCall();
var defineBuiltIn = requireDefineBuiltIn();
@@ -17132,6 +18628,7 @@
var DELEGATES_TO_SYMBOL = !fails(function () {
// String methods call symbol-named RegExp methods
var O = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
O[SYMBOL] = function () { return 7; };
return ''[KEY](O) !== 7;
});
@@ -17145,12 +18642,13 @@
// We can't use real regex here since it causes deoptimization
// and serious performance degradation in V8
// https://github.com/zloirock/core-js/issues/306
- re = {};
// RegExp[@@split] doesn't call the regex's exec method, but first creates
// a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- re.flags = '';
+ var constructor = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ constructor[SPECIES] = function () { return re; };
+ re = { constructor: constructor, flags: '' };
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
re[SYMBOL] = /./[SYMBOL];
}
@@ -17248,7 +18746,7 @@
// `AdvanceStringIndex` abstract operation
// https://tc39.es/ecma262/#sec-advancestringindex
advanceStringIndex = function (S, index, unicode) {
- return index + (unicode ? charAt(S, index).length : 1);
+ return index + (unicode ? charAt(S, index).length || 1 : 1);
};
return advanceStringIndex;
}
@@ -17497,23 +18995,24 @@
var rx = anObject(this);
var S = toString(string);
+ var functionalReplace = isCallable(replaceValue);
+ if (!functionalReplace) replaceValue = toString(replaceValue);
+ var flags = toString(getRegExpFlags(rx));
+
if (
typeof replaceValue == 'string' &&
- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
- stringIndexOf(replaceValue, '$<') === -1
+ !~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
+ !~stringIndexOf(replaceValue, '$<') &&
+ !~stringIndexOf(flags, 'y')
) {
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
if (res.done) return res.value;
}
- var functionalReplace = isCallable(replaceValue);
- if (!functionalReplace) replaceValue = toString(replaceValue);
-
- var flags = toString(getRegExpFlags(rx));
- var global = stringIndexOf(flags, 'g') !== -1;
+ var global = !!~stringIndexOf(flags, 'g');
var fullUnicode;
if (global) {
- fullUnicode = stringIndexOf(flags, 'u') !== -1;
+ fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
rx.lastIndex = 0;
}
@@ -17630,6 +19129,24 @@
return domTokenListPrototype;
}
+ var arrayMethodIsStrict;
+ var hasRequiredArrayMethodIsStrict;
+
+ function requireArrayMethodIsStrict () {
+ if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
+ hasRequiredArrayMethodIsStrict = 1;
+ var fails = requireFails();
+
+ arrayMethodIsStrict = function (METHOD_NAME, argument) {
+ var method = [][METHOD_NAME];
+ return !!method && fails(function () {
+ // eslint-disable-next-line no-useless-call -- required for testing
+ method.call(null, argument || function () { return 1; }, 1);
+ });
+ };
+ return arrayMethodIsStrict;
+ }
+
var arrayForEach;
var hasRequiredArrayForEach;
@@ -17813,7 +19330,6 @@
}
$exportButtons.click(function (e) {
e.preventDefault();
- _this.trigger('export-started');
_this.exportTable({
type: $(e.currentTarget).data('type')
});
@@ -17905,6 +19421,18 @@
}
}, o.exportOptions, options));
};
+
+ // Early return for selected data type when no rows are selected
+ var selectedData = null;
+ if (o.exportDataType === 'selected') {
+ selectedData = this.getSelections();
+ if (!selectedData.length) {
+ return;
+ }
+ }
+
+ // Trigger export-started after early-return checks and before any export operation
+ this.trigger('export-started');
if (o.exportDataType === 'all' && o.pagination) {
var eventName = o.sidePagination === 'server' ? 'post-body.bs.table' : 'page-change.bs.table';
var virtualScroll = this.options.virtualScroll;
@@ -17925,11 +19453,7 @@
includeHiddenRows: true,
unfiltered: true
});
- var selectedData = this.getSelections();
var pagination = o.pagination;
- if (!selectedData.length) {
- return;
- }
if (o.sidePagination === 'server') {
data = _defineProperty({
total: o.totalRows
@@ -18233,7 +19757,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -18712,10 +20236,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -19068,7 +20592,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -19091,7 +20615,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -19706,7 +21230,7 @@
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
doesNotExceedSafeInteger = function (it) {
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
return it;
};
return doesNotExceedSafeInteger;
@@ -19729,6 +21253,41 @@
return createProperty;
}
+ var arraySetLength;
+ var hasRequiredArraySetLength;
+
+ function requireArraySetLength () {
+ if (hasRequiredArraySetLength) return arraySetLength;
+ hasRequiredArraySetLength = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var isArray = requireIsArray();
+
+ var $TypeError = TypeError;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+ // Safari < 13 does not throw an error in this case
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
+ // makes no sense without proper strict mode support
+ if (this !== undefined) return true;
+ try {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
+ } catch (error) {
+ return error instanceof TypeError;
+ }
+ }();
+
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
+ throw new $TypeError('Cannot set read only .length');
+ } return O.length = length;
+ } : function (O, length) {
+ return O.length = length;
+ };
+ return arraySetLength;
+ }
+
var toStringTagSupport;
var hasRequiredToStringTagSupport;
@@ -19739,7 +21298,7 @@
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -19932,6 +21491,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var arraySpeciesCreate = requireArraySpeciesCreate();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var wellKnownSymbol = requireWellKnownSymbol();
@@ -19977,7 +21537,7 @@
createProperty(A, n++, E);
}
}
- A.length = n;
+ setArrayLength(A, n);
return A;
}
});
@@ -20035,13 +21595,11 @@
if (hasRequiredArrayIteration) return arrayIteration;
hasRequiredArrayIteration = 1;
var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
var IndexedObject = requireIndexedObject();
var toObject = requireToObject();
var lengthOfArrayLike = requireLengthOfArrayLike();
var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
+ var createProperty = requireCreateProperty();
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
@@ -20052,28 +21610,28 @@
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
+ return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
- if (IS_MAP) target[index] = result; // map
+ if (IS_MAP) createProperty(target, index, result); // map
else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
} else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
}
}
}
@@ -20367,9 +21925,15 @@
return !Array(1).includes();
});
+ // Safari 26.4- bug
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
+ return [, 1].includes(undefined, 1);
+ });
+
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
@@ -20382,54 +21946,6 @@
requireEs_array_includes();
- var es_array_join = {};
-
- var arrayMethodIsStrict;
- var hasRequiredArrayMethodIsStrict;
-
- function requireArrayMethodIsStrict () {
- if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
- hasRequiredArrayMethodIsStrict = 1;
- var fails = requireFails();
-
- arrayMethodIsStrict = function (METHOD_NAME, argument) {
- var method = [][METHOD_NAME];
- return !!method && fails(function () {
- // eslint-disable-next-line no-useless-call -- required for testing
- method.call(null, argument || function () { return 1; }, 1);
- });
- };
- return arrayMethodIsStrict;
- }
-
- var hasRequiredEs_array_join;
-
- function requireEs_array_join () {
- if (hasRequiredEs_array_join) return es_array_join;
- hasRequiredEs_array_join = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var IndexedObject = requireIndexedObject();
- var toIndexedObject = requireToIndexedObject();
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
-
- var nativeJoin = uncurryThis([].join);
-
- var ES3_STRINGS = IndexedObject !== Object;
- var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
-
- // `Array.prototype.join` method
- // https://tc39.es/ecma262/#sec-array.prototype.join
- $({ target: 'Array', proto: true, forced: FORCED }, {
- join: function join(separator) {
- return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
- }
- });
- return es_array_join;
- }
-
- requireEs_array_join();
-
var es_array_map = {};
var hasRequiredEs_array_map;
@@ -20456,38 +21972,6 @@
requireEs_array_map();
- var es_date_toJson = {};
-
- var hasRequiredEs_date_toJson;
-
- function requireEs_date_toJson () {
- if (hasRequiredEs_date_toJson) return es_date_toJson;
- hasRequiredEs_date_toJson = 1;
- var $ = require_export();
- var fails = requireFails();
- var toObject = requireToObject();
- var toPrimitive = requireToPrimitive();
-
- var FORCED = fails(function () {
- return new Date(NaN).toJSON() !== null
- || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
- });
-
- // `Date.prototype.toJSON` method
- // https://tc39.es/ecma262/#sec-date.prototype.tojson
- $({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars -- required for `.length`
- toJSON: function toJSON(key) {
- var O = toObject(this);
- var pv = toPrimitive(O, 'number');
- return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
- }
- });
- return es_date_toJson;
- }
-
- requireEs_date_toJson();
-
var es_object_assign = {};
var objectAssign;
@@ -20930,18 +22414,29 @@
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
+ var setGroups = function (re, groups) {
+ var object = re.groups = create(null);
+ for (var i = 0; i < groups.length; i++) {
+ var group = groups[i];
+ object[group[0]] = re[group[1]];
+ }
+ };
+
if (PATCH) {
patchedExec = function exec(string) {
var re = this;
var state = getInternalState(re);
var str = toString(string);
var raw = state.raw;
- var result, reCopy, lastIndex, match, i, object, group;
+ var result, reCopy, lastIndex;
if (raw) {
raw.lastIndex = re.lastIndex;
result = call(patchedExec, raw, str);
re.lastIndex = raw.lastIndex;
+
+ if (result && state.groups) setGroups(result, state.groups);
+
return result;
}
@@ -20960,8 +22455,10 @@
strCopy = stringSlice(str, re.lastIndex);
// Support anchored sticky behavior.
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
- source = '(?: ' + source + ')';
+ var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
+ if (re.lastIndex > 0 &&
+ (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
+ source = '(?: (?:' + source + '))';
strCopy = ' ' + strCopy;
charsAdded++;
}
@@ -20975,11 +22472,11 @@
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- match = call(nativeExec, sticky ? reCopy : re, strCopy);
+ var match = call(nativeExec, sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
- match.input = stringSlice(match.input, charsAdded);
+ match.input = str;
match[0] = stringSlice(match[0], charsAdded);
match.index = re.lastIndex;
re.lastIndex += match[0].length;
@@ -20991,19 +22488,13 @@
// Fix browsers whose `exec` methods don't consistently return `undefined`
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
call(nativeReplace, match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
+ for (var i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
});
}
- if (match && groups) {
- match.groups = object = create(null);
- for (i = 0; i < groups.length; i++) {
- group = groups[i];
- object[group[0]] = match[group[1]];
- }
- }
+ if (match && groups) setGroups(match, groups);
return match;
};
@@ -21269,7 +22760,7 @@
function requireFixRegexpWellKnownSymbolLogic () {
if (hasRequiredFixRegexpWellKnownSymbolLogic) return fixRegexpWellKnownSymbolLogic;
hasRequiredFixRegexpWellKnownSymbolLogic = 1;
- // TODO: Remove from `core-js@4` since it's moved to entry points
+ // TODO: Remove from `core-js [at] 4` since it's moved to entry points
requireEs_regexp_exec();
var call = requireFunctionCall();
var defineBuiltIn = requireDefineBuiltIn();
@@ -21287,6 +22778,7 @@
var DELEGATES_TO_SYMBOL = !fails(function () {
// String methods call symbol-named RegExp methods
var O = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
O[SYMBOL] = function () { return 7; };
return ''[KEY](O) !== 7;
});
@@ -21300,12 +22792,13 @@
// We can't use real regex here since it causes deoptimization
// and serious performance degradation in V8
// https://github.com/zloirock/core-js/issues/306
- re = {};
// RegExp[@@split] doesn't call the regex's exec method, but first creates
// a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- re.flags = '';
+ var constructor = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ constructor[SPECIES] = function () { return re; };
+ re = { constructor: constructor, flags: '' };
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
re[SYMBOL] = /./[SYMBOL];
}
@@ -21403,7 +22896,7 @@
// `AdvanceStringIndex` abstract operation
// https://tc39.es/ecma262/#sec-advancestringindex
advanceStringIndex = function (S, index, unicode) {
- return index + (unicode ? charAt(S, index).length : 1);
+ return index + (unicode ? charAt(S, index).length || 1 : 1);
};
return advanceStringIndex;
}
@@ -21573,23 +23066,24 @@
var rx = anObject(this);
var S = toString(string);
+ var functionalReplace = isCallable(replaceValue);
+ if (!functionalReplace) replaceValue = toString(replaceValue);
+ var flags = toString(getRegExpFlags(rx));
+
if (
typeof replaceValue == 'string' &&
- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
- stringIndexOf(replaceValue, '$<') === -1
+ !~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
+ !~stringIndexOf(replaceValue, '$<') &&
+ !~stringIndexOf(flags, 'y')
) {
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
if (res.done) return res.value;
}
- var functionalReplace = isCallable(replaceValue);
- if (!functionalReplace) replaceValue = toString(replaceValue);
-
- var flags = toString(getRegExpFlags(rx));
- var global = stringIndexOf(flags, 'g') !== -1;
+ var global = !!~stringIndexOf(flags, 'g');
var fullUnicode;
if (global) {
- fullUnicode = stringIndexOf(flags, 'u') !== -1;
+ fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
rx.lastIndex = 0;
}
@@ -21771,6 +23265,24 @@
return domTokenListPrototype;
}
+ var arrayMethodIsStrict;
+ var hasRequiredArrayMethodIsStrict;
+
+ function requireArrayMethodIsStrict () {
+ if (hasRequiredArrayMethodIsStrict) return arrayMethodIsStrict;
+ hasRequiredArrayMethodIsStrict = 1;
+ var fails = requireFails();
+
+ arrayMethodIsStrict = function (METHOD_NAME, argument) {
+ var method = [][METHOD_NAME];
+ return !!method && fails(function () {
+ // eslint-disable-next-line no-useless-call -- required for testing
+ method.call(null, argument || function () { return 1; }, 1);
+ });
+ };
+ return arrayMethodIsStrict;
+ }
+
var arrayForEach;
var hasRequiredArrayForEach;
@@ -22025,12 +23537,14 @@
if (typeof filterByCookieValue === 'boolean' && !filterByCookieValue) {
throw new Error('The cookie value of filterBy must be a json!');
}
- var filterByCookie = {};
+ var filterByCookie;
try {
filterByCookie = JSON.parse(filterByCookieValue);
} catch (e) {
console.error(e);
- throw new Error('Could not parse the json of the filterBy cookie!');
+ throw new Error('Could not parse the json of the filterBy cookie!', {
+ cause: e
+ });
}
this.filterColumns = filterByCookie ? filterByCookie : {};
@@ -22173,12 +23687,12 @@
UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);
}
}, {
- key: "_toggleColumn",
- value: function _toggleColumn() {
+ key: "_toggleColumns",
+ value: function _toggleColumns() {
for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
args[_key9] = arguments[_key9];
}
- _superPropGet(_class, "_toggleColumn", this)(args);
+ _superPropGet(_class, "_toggleColumns", this)(args);
if (!this.options.cookie) {
return;
}
@@ -22288,14 +23802,16 @@
var customViewCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.customView);
var hiddenColumnsCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.hiddenColumns);
var columnsCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.columns);
- var hiddenColumnsCookie = {};
- var columnsCookie = {};
+ var hiddenColumnsCookie;
+ var columnsCookie;
try {
hiddenColumnsCookie = JSON.parse(hiddenColumnsCookieValue);
columnsCookie = JSON.parse(columnsCookieValue);
} catch (e) {
console.error(e);
- throw new Error('Could not parse the json of the columns cookie!');
+ throw new Error('Could not parse the json of the columns cookie!', {
+ cause: e
+ });
}
try {
sortPriorityCookie = JSON.parse(sortPriorityCookie);
@@ -22609,7 +24125,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -23088,10 +24604,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -23444,7 +24960,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -23467,7 +24983,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -24122,7 +25638,7 @@
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -24274,6 +25790,23 @@
return arraySpeciesCreate;
}
+ var createProperty;
+ var hasRequiredCreateProperty;
+
+ function requireCreateProperty () {
+ if (hasRequiredCreateProperty) return createProperty;
+ hasRequiredCreateProperty = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var definePropertyModule = requireObjectDefineProperty();
+ var createPropertyDescriptor = requireCreatePropertyDescriptor();
+
+ createProperty = function (object, key, value) {
+ if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
+ else object[key] = value;
+ };
+ return createProperty;
+ }
+
var arrayIteration;
var hasRequiredArrayIteration;
@@ -24281,13 +25814,11 @@
if (hasRequiredArrayIteration) return arrayIteration;
hasRequiredArrayIteration = 1;
var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
var IndexedObject = requireIndexedObject();
var toObject = requireToObject();
var lengthOfArrayLike = requireLengthOfArrayLike();
var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
+ var createProperty = requireCreateProperty();
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
@@ -24298,28 +25829,28 @@
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
+ return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
- if (IS_MAP) target[index] = result; // map
+ if (IS_MAP) createProperty(target, index, result); // map
else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
} else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
}
}
}
@@ -24780,12 +26311,12 @@
});
}
}, {
- key: "getCaret",
- value: function getCaret() {
+ key: "resetCaret",
+ value: function resetCaret() {
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
args[_key3] = arguments[_key3];
}
- _superPropGet(_class, "getCaret", this)(args);
+ _superPropGet(_class, "resetCaret", this)(args);
if (!this.options.stickyHeader) {
return;
}
@@ -24813,6 +26344,9 @@
value: function renderStickyHeader() {
var _this4 = this;
var that = this;
+ if (!this.$stickyContainer || !this.$stickyContainer.length || !this.$stickyBegin || !this.$stickyBegin.length || !this.$stickyEnd || !this.$stickyEnd.length) {
+ return;
+ }
this.$stickyHeader = this.$header.clone(true, true);
if (this.options.filterControl) {
$(this.$stickyHeader).off('keyup change mouseup').on('keyup change mouse', function (e) {
@@ -24824,8 +26358,8 @@
$coreTh.find('input').val(value);
} else if ($target.is('select')) {
var $select = $coreTh.find('select');
- $select.find('option[selected]').removeAttr('selected');
- $select.find("option[value=\"".concat(value, "\"]")).attr('selected', true);
+ var normalizedValue = value === null ? $select.prop('multiple') ? [] : null : value;
+ $select.val(normalizedValue);
}
that.triggerSearch();
});
@@ -24890,13 +26424,13 @@
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
- * @version v1.24.2
+ * @version v1.27.3
* @homepage https://bootstrap-table.com
* @author wenzhixin <[email protected]> (http://wenzhixin.net.cn/)
* @license MIT
*/
-!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e,n){return e=i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o()?Reflect.construct(e,n||[],i(t).constructor):e.apply(t,n))}function n(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},r.apply(null,arguments)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(o=function(){return!!t})()}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function f(t,e,n,o){var u=r(i(t.prototype),e,n);return"function"==typeof u?function(t){return u.apply(n,t)}:u}function c(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var a,s,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d={};function h(){if(s)return a;s=1;var t=function(t){return t&&t.Math===Math&&t};return a=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof l&&l)||t("object"==typeof a&&a)||function(){return this}()||Function("return this")()}var p,v,y,b,g,m,x,w,$={};function O(){return v?p:(v=1,p=function(t){try{return!!t()}catch(t){return!0}})}function C(){if(b)return y;b=1;var t=O();return y=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function j(){if(m)return g;m=1;var t=O();return g=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function S(){if(w)return x;w=1;var t=j(),e=Function.prototype.call;return x=t?e.bind(e):function(){return e.apply(e,arguments)},x}var R,B,F,T,k,P,E,A,N,H,I,L,W,D,M,_,z,X,Y,q,G,V,U,K,Q,Z,J,tt,et,nt,rt,it,ot,ut,ft,ct,at,st,lt,dt,ht,pt={};function vt(){if(R)return pt;R=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return pt.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,pt}function yt(){return F?B:(F=1,B=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function bt(){if(k)return T;k=1;var t=j(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return T=t?r:function(t){return function(){return n.apply(t,arguments)}},T}function gt(){if(E)return P;E=1;var t=bt(),e=t({}.toString),n=t("".slice);return P=function(t){return n(e(t),8,-1)}}function mt(){if(N)return A;N=1;var t=bt(),e=O(),n=gt(),r=Object,i=t("".split);return A=e((function(){return!r("z").propertyIsEnumerable(0)}))?function(t){return"String"===n(t)?i(t,""):r(t)}:r}function xt(){return I?H:(I=1,H=function(t){return null==t})}function wt(){if(W)return L;W=1;var t=xt(),e=TypeError;return L=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function $t(){if(M)return D;M=1;var t=mt(),e=wt();return D=function(n){return t(e(n))}}function Ot(){if(z)return _;z=1;var t="object"==typeof document&&document.all;return _=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Ct(){if(Y)return X;Y=1;var t=Ot();return X=function(e){return"object"==typeof e?null!==e:t(e)}}function jt(){if(G)return q;G=1;var t=h(),e=Ot();return q=function(n,r){return arguments.length<2?(i=t[n],e(i)?i:void 0):t[n]&&t[n][r];var i},q}function St(){if(J)return Z;J=1;var t,e,n=h(),r=function(){if(Q)return K;Q=1;var t=h().navigator,e=t&&t.userAgent;return K=e?String(e):""}(),i=n.process,o=n.Deno,u=i&&i.versions||o&&o.version,f=u&&u.v8;return f&&(e=(t=f.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),Z=e}function Rt(){if(et)return tt;et=1;var t=St(),e=O(),n=h().String;return tt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Bt(){if(rt)return nt;rt=1;var t=Rt();return nt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ft(){if(ot)return it;ot=1;var t=jt(),e=Ot(),n=function(){if(U)return V;U=1;var t=bt();return V=t({}.isPrototypeOf)}(),r=Bt(),i=Object;return it=r?function(t){return"symbol"==typeof t}:function(r){var o=t("Symbol");return e(o)&&n(o.prototype,i(r))}}function Tt(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function kt(){if(at)return ct;at=1;var t=Ot(),e=Tt(),n=TypeError;return ct=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function Pt(){if(lt)return st;lt=1;var t=kt(),e=xt();return st=function(n,r){var i=n[r];return e(i)?void 0:t(i)}}function Et(){if(ht)return dt;ht=1;var t=S(),e=Ot(),n=Ct(),r=TypeError;return dt=function(i,o){var u,f;if("string"===o&&e(u=i.toString)&&!n(f=t(u,i)))return f;if(e(u=i.valueOf)&&!n(f=t(u,i)))return f;if("string"!==o&&e(u=i.toString)&&!n(f=t(u,i)))return f;throw new r("Can't convert object to primitive value")}}var At,Nt,Ht,It,Lt,Wt,Dt,Mt,_t,zt,Xt,Yt,qt,Gt,Vt,Ut,Kt,Qt,Zt,Jt,te,ee,ne,re,ie={exports:{}};function oe(){if(It)return Ht;It=1;var t=h(),e=Object.defineProperty;return Ht=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function ue(){if(Lt)return ie.exports;Lt=1;var t=Nt?At:(Nt=1,At=!1),e=h(),n=oe(),r="__core-js_shared__",i=ie.exports=e[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ie.exports}function fe(){if(Dt)return Wt;Dt=1;var t=ue();return Wt=function(e,n){return t[e]||(t[e]=n||{})}}function ce(){if(_t)return Mt;_t=1;var t=wt(),e=Object;return Mt=function(n){return e(t(n))}}function ae(){if(Xt)return zt;Xt=1;var t=bt(),e=ce(),n=t({}.hasOwnProperty);return zt=Object.hasOwn||function(t,r){return n(e(t),r)}}function se(){if(qt)return Yt;qt=1;var t=bt(),e=0,n=Math.random(),r=t(1.1.toString);return Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function le(){if(Vt)return Gt;Vt=1;var t=h(),e=fe(),n=ae(),r=se(),i=Rt(),o=Bt(),u=t.Symbol,f=e("wks"),c=o?u.for||u:u&&u.withoutSetter||r;return Gt=function(t){return n(f,t)||(f[t]=i&&n(u,t)?u[t]:c("Symbol."+t)),f[t]}}function de(){if(Kt)return Ut;Kt=1;var t=S(),e=Ct(),n=Ft(),r=Pt(),i=Et(),o=le(),u=TypeError,f=o("toPrimitive");return Ut=function(o,c){if(!e(o)||n(o))return o;var a,s=r(o,f);if(s){if(void 0===c&&(c="default"),a=t(s,o,c),!e(a)||n(a))return a;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function he(){if(Zt)return Qt;Zt=1;var t=de(),e=Ft();return Qt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function pe(){if(te)return Jt;te=1;var t=h(),e=Ct(),n=t.document,r=e(n)&&e(n.createElement);return Jt=function(t){return r?n.createElement(t):{}}}function ve(){if(ne)return ee;ne=1;var t=C(),e=O(),n=pe();return ee=!t&&!e((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function ye(){if(re)return $;re=1;var t=C(),e=S(),n=vt(),r=yt(),i=$t(),o=he(),u=ae(),f=ve(),c=Object.getOwnPropertyDescriptor;return $.f=t?c:function(t,a){if(t=i(t),a=o(a),f)try{return c(t,a)}catch(t){}if(u(t,a))return r(!e(n.f,t,a),t[a])},$}var be,ge,me,xe,we,$e,Oe,Ce={};function je(){if(ge)return be;ge=1;var t=C(),e=O();return be=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Se(){if(xe)return me;xe=1;var t=Ct(),e=String,n=TypeError;return me=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function Re(){if(we)return Ce;we=1;var t=C(),e=ve(),n=je(),r=Se(),i=he(),o=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,c="enumerable",a="configurable",s="writable";return Ce.f=t?n?function(t,e,n){if(r(t),e=i(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&s in n&&!n[s]){var o=f(t,e);o&&o[s]&&(t[e]=n.value,n={configurable:a in n?n[a]:o[a],enumerable:c in n?n[c]:o[c],writable:!1})}return u(t,e,n)}:u:function(t,n,f){if(r(t),n=i(n),r(f),e)try{return u(t,n,f)}catch(t){}if("get"in f||"set"in f)throw new o("Accessors not supported");return"value"in f&&(t[n]=f.value),t},Ce}function Be(){if(Oe)return $e;Oe=1;var t=C(),e=Re(),n=yt();return $e=t?function(t,r,i){return e.f(t,r,n(1,i))}:function(t,e,n){return t[e]=n,t}}var Fe,Te,ke,Pe,Ee,Ae,Ne,He,Ie,Le,We,De,Me,_e,ze,Xe={exports:{}};function Ye(){if(Pe)return ke;Pe=1;var t=bt(),e=Ot(),n=ue(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),ke=n.inspectSource}function qe(){if(He)return Ne;He=1;var t=fe(),e=se(),n=t("keys");return Ne=function(t){return n[t]||(n[t]=e(t))}}function Ge(){return Le?Ie:(Le=1,Ie={})}function Ve(){if(De)return We;De=1;var t,e,n,r=function(){if(Ae)return Ee;Ae=1;var t=h(),e=Ot(),n=t.WeakMap;return Ee=e(n)&&/native code/.test(String(n))}(),i=h(),o=Ct(),u=Be(),f=ae(),c=ue(),a=qe(),s=Ge(),l="Object already initialized",d=i.TypeError,p=i.WeakMap;if(r||c.state){var v=c.state||(c.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,e){if(v.has(t))throw new d(l);return e.facade=t,v.set(t,e),e},e=function(t){return v.get(t)||{}},n=function(t){return v.has(t)}}else{var y=a("state");s[y]=!0,t=function(t,e){if(f(t,y))throw new d(l);return e.facade=t,u(t,y,e),e},e=function(t){return f(t,y)?t[y]:{}},n=function(t){return f(t,y)}}return We={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!o(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function Ue(){if(Me)return Xe.exports;Me=1;var t=bt(),e=O(),n=Ot(),r=ae(),i=C(),o=function(){if(Te)return Fe;Te=1;var t=C(),e=ae(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,i=e(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&r(n,"name").configurable);return Fe={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Ye(),f=Ve(),c=f.enforce,a=f.get,s=String,l=Object.defineProperty,d=t("".slice),h=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==l((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=Xe.exports=function(t,e,n){"Symbol("===d(s(e),0,7)&&(e="["+h(s(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||o&&t.name!==e)&&(i?l(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?i&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=c(t);return r(u,"source")||(u.source=p(y,"string"==typeof e?e:"")),t};return Function.prototype.toString=b((function(){return n(this)&&a(this).source||u(this)}),"toString"),Xe.exports}function Ke(){if(ze)return _e;ze=1;var t=Ot(),e=Re(),n=Ue(),r=oe();return _e=function(i,o,u,f){f||(f={});var c=f.enumerable,a=void 0!==f.name?f.name:o;if(t(u)&&n(u,a,f),f.global)c?i[o]=u:r(o,u);else{try{f.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=u:e.f(i,o,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}}var Qe,Ze,Je,tn,en,nn,rn,on,un,fn,cn,an,sn,ln,dn,hn,pn,vn={};function yn(){if(tn)return Je;tn=1;var t=function(){if(Ze)return Qe;Ze=1;var t=Math.ceil,e=Math.floor;return Qe=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return Je=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function bn(){if(nn)return en;nn=1;var t=yn(),e=Math.max,n=Math.min;return en=function(r,i){var o=t(r);return o<0?e(o+i,0):n(o,i)}}function gn(){if(on)return rn;on=1;var t=yn(),e=Math.min;return rn=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function mn(){if(fn)return un;fn=1;var t=gn();return un=function(e){return t(e.length)}}function xn(){if(an)return cn;an=1;var t=$t(),e=bn(),n=mn(),r=function(r){return function(i,o,u){var f=t(i),c=n(f);if(0===c)return!r&&-1;var a,s=e(u,c);if(r&&o!=o){for(;c>s;)if((a=f[s++])!=a)return!0}else for(;c>s;s++)if((r||s in f)&&f[s]===o)return r||s||0;return!r&&-1}};return cn={includes:r(!0),indexOf:r(!1)}}function wn(){if(ln)return sn;ln=1;var t=bt(),e=ae(),n=$t(),r=xn().indexOf,i=Ge(),o=t([].push);return sn=function(t,u){var f,c=n(t),a=0,s=[];for(f in c)!e(i,f)&&e(c,f)&&o(s,f);for(;u.length>a;)e(c,f=u[a++])&&(~r(s,f)||o(s,f));return s}}function $n(){return hn?dn:(hn=1,dn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var On,Cn,jn,Sn,Rn,Bn,Fn,Tn,kn,Pn,En,An,Nn,Hn,In,Ln,Wn,Dn,Mn,_n,zn,Xn,Yn,qn,Gn,Vn,Un,Kn={};function Qn(){return On||(On=1,Kn.f=Object.getOwnPropertySymbols),Kn}function Zn(){if(jn)return Cn;jn=1;var t=jt(),e=bt(),n=function(){if(pn)return vn;pn=1;var t=wn(),e=$n().concat("length","prototype");return vn.f=Object.getOwnPropertyNames||function(n){return t(n,e)},vn}(),r=Qn(),i=Se(),o=e([].concat);return Cn=t("Reflect","ownKeys")||function(t){var e=n.f(i(t)),u=r.f;return u?o(e,u(t)):e}}function Jn(){if(Rn)return Sn;Rn=1;var t=ae(),e=Zn(),n=ye(),r=Re();return Sn=function(i,o,u){for(var f=e(o),c=r.f,a=n.f,s=0;s<f.length;s++){var l=f[s];t(i,l)||u&&t(u,l)||c(i,l,a(o,l))}}}function tr(){if(kn)return Tn;kn=1;var t=h(),e=ye().f,n=Be(),r=Ke(),i=oe(),o=Jn(),u=function(){if(Fn)return Bn;Fn=1;var t=O(),e=Ot(),n=/#|\.prototype\./,r=function(n,r){var c=o[i(n)];return c===f||c!==u&&(e(r)?t(r):!!r)},i=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},o=r.data={},u=r.NATIVE="N",f=r.POLYFILL="P";return Bn=r}();return Tn=function(f,c){var a,s,l,d,h,p=f.target,v=f.global,y=f.stat;if(a=v?t:y?t[p]||i(p,{}):t[p]&&t[p].prototype)for(s in c){if(d=c[s],l=f.dontCallGetSet?(h=e(a,s))&&h.value:a[s],!u(v?s:p+(y?".":"#")+s,f.forced)&&void 0!==l){if(typeof d==typeof l)continue;o(d,l)}(f.sham||l&&l.sham)&&n(d,"sham",!0),r(a,s,d,f)}}}function er(){if(En)return Pn;En=1;var t=gt(),e=bt();return Pn=function(n){if("Function"===t(n))return e(n)}}function nr(){if(In)return Hn;In=1;var t=gt();return Hn=Array.isArray||function(e){return"Array"===t(e)}}function rr(){if(Wn)return Ln;Wn=1;var t={};return t[le()("toStringTag")]="z",Ln="[object z]"===String(t)}function ir(){if(Mn)return Dn;Mn=1;var t=rr(),e=Ot(),n=gt(),r=le()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Dn=t?n:function(t){var u,f,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(f=function(t,e){try{return t[e]}catch(t){}}(u=i(t),r))?f:o?n(u):"Object"===(c=n(u))&&e(u.callee)?"Arguments":c}}function or(){if(zn)return _n;zn=1;var t=bt(),e=O(),n=Ot(),r=ir(),i=jt(),o=Ye(),u=function(){},f=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,a=t(c.exec),s=!c.test(u),l=function(t){if(!n(t))return!1;try{return f(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!a(c,o(t))}catch(t){return!0}};return d.sham=!0,_n=!f||e((function(){var t;return l(l.call)||!l(Object)||!l((function(){t=!0}))||t}))?d:l}function ur(){if(Yn)return Xn;Yn=1;var t=nr(),e=or(),n=Ct(),r=le()("species"),i=Array;return Xn=function(o){var u;return t(o)&&(u=o.constructor,(e(u)&&(u===i||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?i:u}}function fr(){if(Gn)return qn;Gn=1;var t=ur();return qn=function(e,n){return new(t(e))(0===n?0:n)}}function cr(){if(Un)return Vn;Un=1;var t=function(){if(Nn)return An;Nn=1;var t=er(),e=kt(),n=j(),r=t(t.bind);return An=function(t,i){return e(t),void 0===i?t:n?r(t,i):function(){return t.apply(i,arguments)}},An}(),e=bt(),n=mt(),r=ce(),i=mn(),o=fr(),u=e([].push),f=function(e){var f=1===e,c=2===e,a=3===e,s=4===e,l=6===e,d=7===e,h=5===e||l;return function(p,v,y,b){for(var g,m,x=r(p),w=n(x),$=i(w),O=t(v,y),C=0,j=b||o,S=f?j(p,$):c||d?j(p,0):void 0;$>C;C++)if((h||C in w)&&(m=O(g=w[C],C,x),e))if(f)S[C]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return C;case 2:u(S,g)}else switch(e){case 4:return!1;case 7:u(S,g)}return l?-1:a||s?s:S}};return Vn={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}}var ar,sr,lr,dr,hr,pr,vr,yr,br,gr,mr={};function xr(){if(sr)return ar;sr=1;var t=wn(),e=$n();return ar=Object.keys||function(n){return t(n,e)}}function wr(){if(hr)return dr;hr=1;var t=jt();return dr=t("document","documentElement")}function $r(){if(vr)return pr;vr=1;var t,e=Se(),n=function(){if(lr)return mr;lr=1;var t=C(),e=je(),n=Re(),r=Se(),i=$t(),o=xr();return mr.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,f=i(e),c=o(e),a=c.length,s=0;a>s;)n.f(t,u=c[s++],f[u]);return t},mr}(),r=$n(),i=Ge(),o=wr(),u=pe(),f=qe(),c="prototype",a="script",s=f("IE_PROTO"),l=function(){},d=function(t){return"<"+a+">"+t+"</"+a+">"},h=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,i;p="undefined"!=typeof document?document.domain&&t?h(t):(n=u("iframe"),i="java"+a+":",n.style.display="none",o.appendChild(n),n.src=String(i),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):h(t);for(var f=r.length;f--;)delete p[c][r[f]];return p()};return i[s]=!0,pr=Object.create||function(t,r){var i;return null!==t?(l[c]=e(t),i=new l,l[c]=null,i[s]=t):i=p(),void 0===r?i:n.f(i,r)}}function Or(){if(br)return yr;br=1;var t=le(),e=$r(),n=Re().f,r=t("unscopables"),i=Array.prototype;return void 0===i[r]&&n(i,r,{configurable:!0,value:e(null)}),yr=function(t){i[r][t]=!0}}!function(){if(gr)return d;gr=1;var t=tr(),e=cr().find,n=Or(),r="find",i=!0;r in[]&&Array(1)[r]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var Cr,jr,Sr,Rr={};function Br(){if(jr)return Cr;jr=1;var t=O();return Cr=function(e,n){var r=[][e];return!!r&&t((function(){r.call(null,n||function(){return 1},1)}))}}!function(){if(Sr)return Rr;Sr=1;var t=tr(),e=er(),n=xn().indexOf,r=Br(),i=e([].indexOf),o=!!i&&1/i([1],1,-0)<0;t({target:"Array",proto:!0,forced:o||!r("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return o?i(this,t,e)||0:n(this,t,e)}})}();var Fr,Tr={};!function(){if(Fr)return Tr;Fr=1;var t=tr(),e=bt(),n=nr(),r=e([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),r(this)}})}();var kr,Pr,Er,Ar={};!function(){if(Er)return Ar;Er=1;var t=tr(),e=function(){if(Pr)return kr;Pr=1;var t=C(),e=bt(),n=S(),r=O(),i=xr(),o=Qn(),u=vt(),f=ce(),c=mt(),a=Object.assign,s=Object.defineProperty,l=e([].concat);return kr=!a||r((function(){if(t&&1!==a({b:1},a(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(t){n[t]=t})),7!==a({},e)[r]||i(a({},n)).join("")!==o}))?function(e,r){for(var a=f(e),s=arguments.length,d=1,h=o.f,p=u.f;s>d;)for(var v,y=c(arguments[d++]),b=h?l(i(y),h(y)):i(y),g=b.length,m=0;g>m;)v=b[m++],t&&!n(p,y,v)||(a[v]=y[v]);return a}:a,kr}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Nr,Hr,Ir,Lr={};!function(){if(Ir)return Lr;Ir=1;var t=rr(),e=Ke(),n=function(){if(Hr)return Nr;Hr=1;var t=rr(),e=ir();return Nr=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var Wr,Dr,Mr,_r,zr,Xr,Yr,qr,Gr,Vr={};function Ur(){if(Dr)return Wr;Dr=1;var t=ir(),e=String;return Wr=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function Kr(){return _r?Mr:(_r=1,Mr="\t\n\v\f\r                 \u2028\u2029\ufeff")}function Qr(){if(qr)return Yr;qr=1;var t=h(),e=O(),n=bt(),r=Ur(),i=function(){if(Xr)return zr;Xr=1;var t=bt(),e=wt(),n=Ur(),r=Kr(),i=t("".replace),o=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),f=function(t){return function(r){var f=n(e(r));return 1&t&&(f=i(f,o,"")),2&t&&(f=i(f,u,"$1")),f}};return zr={start:f(1),end:f(2),trim:f(3)}}().trim,o=Kr(),u=t.parseInt,f=t.Symbol,c=f&&f.iterator,a=/^[+-]?0x/i,s=n(a.exec),l=8!==u(o+"08")||22!==u(o+"0x16")||c&&!e((function(){u(Object(c))}));return Yr=l?function(t,e){var n=i(r(t));return u(n,e>>>0||(s(a,n)?16:10))}:u}!function(){if(Gr)return Vr;Gr=1;var t=tr(),e=Qr();t({global:!0,forced:parseInt!==e},{parseInt:e})}();var Zr=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{fixedColumns:!1,fixedNumber:0,fixedRightNumber:0}),t.BootstrapTable=function(r){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e(this,i,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(i,r),n(i,[{key:"fixedColumnsSupported",value:function(){return this.options.fixedColumns&&!this.options.detailView&&!this.options.cardView}},{key:"initContainer",value:function(){f(i,"initContainer",this)([]),this.fixedColumnsSupported()&&(this.options.fixedNumber&&(this.$tableContainer.append('<div class="fixed-columns"></div>'),this.$fixedColumns=this.$tableContainer.find(".fixed-columns")),this.options.fixedRightNumber&&(this.$tableContainer.append('<div class="fixed-columns-right"></div>'),this.$fixedColumnsRight=this.$tableContainer.find(".fixed-columns-right")))}},{key:"initBody",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];f(i,"initBody",this)(e),this.$fixedColumns&&this.$fixedColumns.length&&this.$fixedColumns.toggle(this.fixedColumnsSupported()),this.$fixedColumnsRight&&this.$fixedColumnsRight.length&&this.$fixedColumnsRight.toggle(this.fixedColumnsSupported()),this.fixedColumnsSupported()&&(this.options.showHeader&&this.options.height||(this.initFixedColumnsBody(),this.initFixedColumnsEvents()))}},{key:"trigger",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];f(i,"trigger",this)(e),this.fixedColumnsSupported()&&("post-header"===e[0]?this.initFixedColumnsHeader():"scroll-body"===e[0]&&(this.needFixedColumns&&this.options.fixedNumber&&this.$fixedBody.scrollTop(this.$tableBody.scrollTop()),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedBodyRight.scrollTop(this.$tableBody.scrollTop())))}},{key:"updateSelected",value:function(){var e=this;f(i,"updateSelected",this)([]),this.fixedColumnsSupported()&&this.$tableBody.find("tr").each((function(n,r){var i=t(r),o=i.data("index"),u=i.attr("class"),f='[name="'.concat(e.options.selectItemName,'"]'),c=i.find(f);if(void 0!==o){var a=function(t,n){var r=n.find('tr[data-index="'.concat(o,'"]'));r.attr("class",u),c.length&&r.find(f).prop("checked",c.prop("checked")),e.$selectAll.length&&t.add(n).find('[name="btSelectAll"]').prop("checked",e.$selectAll.prop("checked"))};e.$fixedBody&&e.options.fixedNumber&&a(e.$fixedHeader,e.$fixedBody),e.$fixedBodyRight&&e.options.fixedRightNumber&&a(e.$fixedHeaderRight,e.$fixedBodyRight)}}))}},{key:"hideLoading",value:function(){f(i,"hideLoading",this)([]),this.needFixedColumns&&this.options.fixedNumber&&this.$fixedColumns.find(".fixed-table-loading").hide(),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedColumnsRight&&this.$fixedColumnsRight.find(".fixed-table-loading").hide()}},{key:"initFixedColumnsHeader",value:function(){var t=this;this.options.height?this.needFixedColumns=this.$tableHeader.outerWidth(!0)<this.$tableHeader.find("table").outerWidth(!0):this.needFixedColumns=this.$tableBody.outerWidth(!0)<this.$tableBody.find("table").outerWidth(!0);var e=function(e,n){return e.find(".fixed-table-header").remove(),e.append(t.$tableHeader.clone(!0)),e.css({width:t.getFixedColumnsWidth(n)}),e.find(".fixed-table-header")};this.needFixedColumns&&this.options.fixedNumber?(this.$fixedHeader=e(this.$fixedColumns),this.$fixedHeader.css("margin-right","")):this.$fixedColumns&&this.$fixedColumns.html("").css("width",""),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedColumnsRight?(this.$fixedHeaderRight=e(this.$fixedColumnsRight,!0),this.$fixedHeaderRight.scrollLeft(this.$fixedHeaderRight.find("table").width())):this.$fixedColumnsRight&&this.$fixedColumnsRight.html("").css("width",""),this.initFixedColumnsBody(),this.initFixedColumnsEvents()}},{key:"initFixedColumnsBody",value:function(){var t=this,e=function(e,n){e.find(".fixed-table-body").remove(),e.append(t.$tableBody.clone(!0)),e.find(".fixed-table-body table").removeAttr("id");var r=e.find(".fixed-table-body"),i=t.$tableBody.get(0),o=i.scrollWidth>i.clientWidth?Zr.getScrollBarWidth():0,u=t.$tableContainer.outerHeight(!0)-o-1;return e.css({height:u}),r.css({height:u-n.height()}),r};this.needFixedColumns&&this.options.fixedNumber&&(this.$fixedBody=e(this.$fixedColumns,this.$fixedHeader)),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedColumnsRight&&(this.$fixedBodyRight=e(this.$fixedColumnsRight,this.$fixedHeaderRight),this.$fixedBodyRight.scrollLeft(this.$fixedBodyRight.find("table").width()),this.$fixedBodyRight.css("overflow-y",this.options.height?"auto":"hidden"))}},{key:"getFixedColumnsWidth",value:function(t){var e=this.getVisibleFields(),n=0,r=this.options.fixedNumber,i=0;t&&(e=e.reverse(),r=this.options.fixedRightNumber,i=parseInt(this.$tableHeader.css("margin-right"),10));for(var o=0;o<r;o++)n+=this.$header.find('th[data-field="'.concat(e[o],'"]')).outerWidth(!0);return n+i+1}},{key:"initFixedColumnsEvents",value:function(){var e=this,n=function(n,r){var i='tr[data-index="'.concat(t(n.currentTarget).data("index"),'"]'),o=e.$tableBody.find(i);e.$fixedBody&&(o=o.add(e.$fixedBody.find(i))),e.$fixedBodyRight&&(o=o.add(e.$fixedBodyRight.find(i))),o.css("background-color",r?t(n.currentTarget).css("background-color"):"")};this.$tableBody.find("tr").hover((function(t){n(t,!0)}),(function(t){n(t,!1)}));var r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1?"DOMMouseScroll":"mousewheel";this.needFixedColumns&&this.options.fixedNumber&&this.$fixedBody&&(this.$fixedBody.find("tr").hover((function(t){n(t,!0)}),(function(t){n(t,!1)})),this.$fixedBody[0].addEventListener(r,(function(t){!function(t,n){var r,i,o,u,f,c=(i=0,o=0,u=0,f=0,"detail"in(r=t)&&(o=r.detail),"wheelDelta"in r&&(o=-r.wheelDelta/120),"wheelDeltaY"in r&&(o=-r.wheelDeltaY/120),"wheelDeltaX"in r&&(i=-r.wheelDeltaX/120),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(i=o,o=0),u=10*i,f=10*o,"deltaY"in r&&(f=r.deltaY),"deltaX"in r&&(u=r.deltaX),(u||f)&&r.deltaMode&&(1===r.deltaMode?(u*=40,f*=40):(u*=800,f*=800)),u&&!i&&(i=u<1?-1:1),f&&!o&&(o=f<1?-1:1),{spinX:i,spinY:o,pixelX:u,pixelY:f}),a=Math.ceil(c.pixelY),s=e.$tableBody.scrollTop()+a;(a<0&&s>0||a>0&&s<n.scrollHeight-n.clientHeight)&&t.preventDefault(),e.$tableBody.scrollTop(s),e.$fixedBody&&e.$fixedBody.scrollTop(s),e.$fixedBodyRight&&e.$fixedBodyRight.scrollTop(s)}(t,e.$fixedBody[0])}))),this.needFixedColumns&&this.options.fixedRightNumber&&(this.$fixedBodyRight.find("tr").hover((function(t){n(t,!0)}),(function(t){n(t,!1)})),this.$fixedBodyRight.off("scroll").on("scroll",(function(){var t=e.$fixedBodyRight.scrollTop();e.$tableBody.scrollTop(t),e.$fixedBody&&e.$fixedBody.scrollTop(t)}))),this.options.filterControl&&t(this.$fixedColumns).off("keyup change").on("keyup change",(function(n){var r=t(n.target),i=r.val(),o=r.parents("th").data("field"),u=e.$header.find('th[data-field="'.concat(o,'"]'));if(r.is("input"))u.find("input").val(i);else if(r.is("select")){var f=u.find("select");f.find("option[selected]").removeAttr("selected"),f.find('option[value="'.concat(i,'"]')).attr("selected",!0)}e.triggerSearch()}))}},{key:"renderStickyHeader",value:function(){if(this.options.stickyHeader&&(this.$stickyContainer=this.$container.find(".sticky-header-container"),f(i,"renderStickyHeader",this)([]),this.needFixedColumns&&this.options.fixedNumber&&this.$fixedColumns.css("z-index",101).find(".sticky-header-container").css("right","").width(this.$fixedColumns.outerWidth()),this.needFixedColumns&&this.options.fixedRightNumber)){var t=this.$fixedColumnsRight.find(".sticky-header-container");this.$fixedColumnsRight.css("z-index",101),t.css("left","").scrollLeft(t.find(".table").outerWidth()).width(this.$fixedColumnsRight.outerWidth())}}},{key:"matchPositionX",value:function(){this.options.stickyHeader&&this.$stickyContainer.eq(0).scrollLeft(this.$tableBody.scrollLeft())}}])}(t.BootstrapTable)}));
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,function(t){"use strict";function e(t,e,n){return e=i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o()?Reflect.construct(e,n||[],i(t).constructor):e.apply(t,n))}function n(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},r.apply(null,arguments)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(o=function(){return!!t})()}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function f(t,e,n,o){var u=r(i(t.prototype),e,n);return"function"==typeof u?function(t){return u.apply(n,t)}:u}function c(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var a,s,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d={};function h(){if(s)return a;s=1;var t=function(t){return t&&t.Math===Math&&t};return a=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof l&&l)||t("object"==typeof a&&a)||function(){return this}()||Function("return this")()}var p,v,y,b,g,m,x,w,$={};function C(){return v?p:(v=1,p=function(t){try{return!!t()}catch(t){return!0}})}function O(){if(b)return y;b=1;var t=C();return y=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function j(){if(m)return g;m=1;var t=C();return g=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function S(){if(w)return x;w=1;var t=j(),e=Function.prototype.call;return x=t?e.bind(e):function(){return e.apply(e,arguments)},x}var R,B,F,P,T,k,E,A,N,H,L,W,D,I,M,_,z,X,Y,q,G,V,U,J,K,Q,Z,tt,et,nt,rt,it,ot,ut,ft,ct,at,st,lt,dt,ht,pt={};function vt(){if(R)return pt;R=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return pt.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,pt}function yt(){return F?B:(F=1,B=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function bt(){if(T)return P;T=1;var t=j(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return P=t?r:function(t){return function(){return n.apply(t,arguments)}},P}function gt(){if(E)return k;E=1;var t=bt(),e=t({}.toString),n=t("".slice);return k=function(t){return n(e(t),8,-1)}}function mt(){if(N)return A;N=1;var t=bt(),e=C(),n=gt(),r=Object,i=t("".split);return A=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?i(t,""):r(t)}:r}function xt(){return L?H:(L=1,H=function(t){return null==t})}function wt(){if(D)return W;D=1;var t=xt(),e=TypeError;return W=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function $t(){if(M)return I;M=1;var t=mt(),e=wt();return I=function(n){return t(e(n))}}function Ct(){if(z)return _;z=1;var t="object"==typeof document&&document.all;return _=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Ot(){if(Y)return X;Y=1;var t=Ct();return X=function(e){return"object"==typeof e?null!==e:t(e)}}function jt(){if(G)return q;G=1;var t=h(),e=Ct();return q=function(n,r){return arguments.length<2?(i=t[n],e(i)?i:void 0):t[n]&&t[n][r];var i},q}function St(){if(Z)return Q;Z=1;var t,e,n=h(),r=function(){if(K)return J;K=1;var t=h().navigator,e=t&&t.userAgent;return J=e?String(e):""}(),i=n.process,o=n.Deno,u=i&&i.versions||o&&o.version,f=u&&u.v8;return f&&(e=(t=f.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),Q=e}function Rt(){if(et)return tt;et=1;var t=St(),e=C(),n=h().String;return tt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Bt(){if(rt)return nt;rt=1;var t=Rt();return nt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ft(){if(ot)return it;ot=1;var t=jt(),e=Ct(),n=function(){if(U)return V;U=1;var t=bt();return V=t({}.isPrototypeOf)}(),r=Bt(),i=Object;return it=r?function(t){return"symbol"==typeof t}:function(r){var o=t("Symbol");return e(o)&&n(o.prototype,i(r))}}function Pt(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function Tt(){if(at)return ct;at=1;var t=Ct(),e=Pt(),n=TypeError;return ct=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function kt(){if(lt)return st;lt=1;var t=Tt(),e=xt();return st=function(n,r){var i=n[r];return e(i)?void 0:t(i)}}function Et(){if(ht)return dt;ht=1;var t=S(),e=Ct(),n=Ot(),r=TypeError;return dt=function(i,o){var u,f;if("string"===o&&e(u=i.toString)&&!n(f=t(u,i)))return f;if(e(u=i.valueOf)&&!n(f=t(u,i)))return f;if("string"!==o&&e(u=i.toString)&&!n(f=t(u,i)))return f;throw new r("Can't convert object to primitive value")}}var At,Nt,Ht,Lt,Wt,Dt,It,Mt,_t,zt,Xt,Yt,qt,Gt,Vt,Ut,Jt,Kt,Qt,Zt,te,ee,ne,re,ie={exports:{}};function oe(){if(Lt)return Ht;Lt=1;var t=h(),e=Object.defineProperty;return Ht=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function ue(){if(Wt)return ie.exports;Wt=1;var t=Nt?At:(Nt=1,At=!1),e=h(),n=oe(),r="__core-js_shared__",i=ie.exports=e[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:t?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ie.exports}function fe(){if(It)return Dt;It=1;var t=ue();return Dt=function(e,n){return t[e]||(t[e]=n||{})}}function ce(){if(_t)return Mt;_t=1;var t=wt(),e=Object;return Mt=function(n){return e(t(n))}}function ae(){if(Xt)return zt;Xt=1;var t=bt(),e=ce(),n=t({}.hasOwnProperty);return zt=Object.hasOwn||function(t,r){return n(e(t),r)}}function se(){if(qt)return Yt;qt=1;var t=bt(),e=0,n=Math.random(),r=t(1.1.toString);return Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function le(){if(Vt)return Gt;Vt=1;var t=h(),e=fe(),n=ae(),r=se(),i=Rt(),o=Bt(),u=t.Symbol,f=e("wks"),c=o?u.for||u:u&&u.withoutSetter||r;return Gt=function(t){return n(f,t)||(f[t]=i&&n(u,t)?u[t]:c("Symbol."+t)),f[t]}}function de(){if(Jt)return Ut;Jt=1;var t=S(),e=Ot(),n=Ft(),r=kt(),i=Et(),o=le(),u=TypeError,f=o("toPrimitive");return Ut=function(o,c){if(!e(o)||n(o))return o;var a,s=r(o,f);if(s){if(void 0===c&&(c="default"),a=t(s,o,c),!e(a)||n(a))return a;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function he(){if(Qt)return Kt;Qt=1;var t=de(),e=Ft();return Kt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function pe(){if(te)return Zt;te=1;var t=h(),e=Ot(),n=t.document,r=e(n)&&e(n.createElement);return Zt=function(t){return r?n.createElement(t):{}}}function ve(){if(ne)return ee;ne=1;var t=O(),e=C(),n=pe();return ee=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ye(){if(re)return $;re=1;var t=O(),e=S(),n=vt(),r=yt(),i=$t(),o=he(),u=ae(),f=ve(),c=Object.getOwnPropertyDescriptor;return $.f=t?c:function(t,a){if(t=i(t),a=o(a),f)try{return c(t,a)}catch(t){}if(u(t,a))return r(!e(n.f,t,a),t[a])},$}var be,ge,me,xe,we,$e,Ce,Oe={};function je(){if(ge)return be;ge=1;var t=O(),e=C();return be=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Se(){if(xe)return me;xe=1;var t=Ot(),e=String,n=TypeError;return me=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function Re(){if(we)return Oe;we=1;var t=O(),e=ve(),n=je(),r=Se(),i=he(),o=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,c="enumerable",a="configurable",s="writable";return Oe.f=t?n?function(t,e,n){if(r(t),e=i(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&s in n&&!n[s]){var o=f(t,e);o&&o[s]&&(t[e]=n.value,n={configurable:a in n?n[a]:o[a],enumerable:c in n?n[c]:o[c],writable:!1})}return u(t,e,n)}:u:function(t,n,f){if(r(t),n=i(n),r(f),e)try{return u(t,n,f)}catch(t){}if("get"in f||"set"in f)throw new o("Accessors not supported");return"value"in f&&(t[n]=f.value),t},Oe}function Be(){if(Ce)return $e;Ce=1;var t=O(),e=Re(),n=yt();return $e=t?function(t,r,i){return e.f(t,r,n(1,i))}:function(t,e,n){return t[e]=n,t}}var Fe,Pe,Te,ke,Ee,Ae,Ne,He,Le,We,De,Ie,Me,_e,ze,Xe={exports:{}};function Ye(){if(ke)return Te;ke=1;var t=bt(),e=Ct(),n=ue(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),Te=n.inspectSource}function qe(){if(He)return Ne;He=1;var t=fe(),e=se(),n=t("keys");return Ne=function(t){return n[t]||(n[t]=e(t))}}function Ge(){return We?Le:(We=1,Le={})}function Ve(){if(Ie)return De;Ie=1;var t,e,n,r=function(){if(Ae)return Ee;Ae=1;var t=h(),e=Ct(),n=t.WeakMap;return Ee=e(n)&&/native code/.test(String(n))}(),i=h(),o=Ot(),u=Be(),f=ae(),c=ue(),a=qe(),s=Ge(),l="Object already initialized",d=i.TypeError,p=i.WeakMap;if(r||c.state){var v=c.state||(c.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,e){if(v.has(t))throw new d(l);return e.facade=t,v.set(t,e),e},e=function(t){return v.get(t)||{}},n=function(t){return v.has(t)}}else{var y=a("state");s[y]=!0,t=function(t,e){if(f(t,y))throw new d(l);return e.facade=t,u(t,y,e),e},e=function(t){return f(t,y)?t[y]:{}},n=function(t){return f(t,y)}}return De={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!o(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function Ue(){if(Me)return Xe.exports;Me=1;var t=bt(),e=C(),n=Ct(),r=ae(),i=O(),o=function(){if(Pe)return Fe;Pe=1;var t=O(),e=ae(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,i=e(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&r(n,"name").configurable);return Fe={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Ye(),f=Ve(),c=f.enforce,a=f.get,s=String,l=Object.defineProperty,d=t("".slice),h=t("".replace),p=t([].join),v=i&&!e(function(){return 8!==l(function(){},"length",{value:8}).length}),y=String(String).split("String"),b=Xe.exports=function(t,e,n){"Symbol("===d(s(e),0,7)&&(e="["+h(s(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||o&&t.name!==e)&&(i?l(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?i&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=c(t);return r(u,"source")||(u.source=p(y,"string"==typeof e?e:"")),t};return Function.prototype.toString=b(function(){return n(this)&&a(this).source||u(this)},"toString"),Xe.exports}function Je(){if(ze)return _e;ze=1;var t=Ct(),e=Re(),n=Ue(),r=oe();return _e=function(i,o,u,f){f||(f={});var c=f.enumerable,a=void 0!==f.name?f.name:o;if(t(u)&&n(u,a,f),f.global)c?i[o]=u:r(o,u);else{try{f.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=u:e.f(i,o,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}}var Ke,Qe,Ze,tn,en,nn,rn,on,un,fn,cn,an,sn,ln,dn,hn,pn,vn={};function yn(){if(tn)return Ze;tn=1;var t=function(){if(Qe)return Ke;Qe=1;var t=Math.ceil,e=Math.floor;return Ke=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return Ze=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function bn(){if(nn)return en;nn=1;var t=yn(),e=Math.max,n=Math.min;return en=function(r,i){var o=t(r);return o<0?e(o+i,0):n(o,i)}}function gn(){if(on)return rn;on=1;var t=yn(),e=Math.min;return rn=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function mn(){if(fn)return un;fn=1;var t=gn();return un=function(e){return t(e.length)}}function xn(){if(an)return cn;an=1;var t=$t(),e=bn(),n=mn(),r=function(r){return function(i,o,u){var f=t(i),c=n(f);if(0===c)return!r&&-1;var a,s=e(u,c);if(r&&o!=o){for(;c>s;)if((a=f[s++])!=a)return!0}else for(;c>s;s++)if((r||s in f)&&f[s]===o)return r||s||0;return!r&&-1}};return cn={includes:r(!0),indexOf:r(!1)}}function wn(){if(ln)return sn;ln=1;var t=bt(),e=ae(),n=$t(),r=xn().indexOf,i=Ge(),o=t([].push);return sn=function(t,u){var f,c=n(t),a=0,s=[];for(f in c)!e(i,f)&&e(c,f)&&o(s,f);for(;u.length>a;)e(c,f=u[a++])&&(~r(s,f)||o(s,f));return s}}function $n(){return hn?dn:(hn=1,dn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Cn,On,jn,Sn,Rn,Bn,Fn,Pn,Tn,kn,En,An,Nn,Hn,Ln,Wn,Dn,In,Mn,_n,zn,Xn,Yn,qn,Gn,Vn,Un,Jn,Kn,Qn={};function Zn(){return Cn||(Cn=1,Qn.f=Object.getOwnPropertySymbols),Qn}function tr(){if(jn)return On;jn=1;var t=jt(),e=bt(),n=function(){if(pn)return vn;pn=1;var t=wn(),e=$n().concat("length","prototype");return vn.f=Object.getOwnPropertyNames||function(n){return t(n,e)},vn}(),r=Zn(),i=Se(),o=e([].concat);return On=t("Reflect","ownKeys")||function(t){var e=n.f(i(t)),u=r.f;return u?o(e,u(t)):e}}function er(){if(Rn)return Sn;Rn=1;var t=ae(),e=tr(),n=ye(),r=Re();return Sn=function(i,o,u){for(var f=e(o),c=r.f,a=n.f,s=0;s<f.length;s++){var l=f[s];t(i,l)||u&&t(u,l)||c(i,l,a(o,l))}}}function nr(){if(Tn)return Pn;Tn=1;var t=h(),e=ye().f,n=Be(),r=Je(),i=oe(),o=er(),u=function(){if(Fn)return Bn;Fn=1;var t=C(),e=Ct(),n=/#|\.prototype\./,r=function(n,r){var c=o[i(n)];return c===f||c!==u&&(e(r)?t(r):!!r)},i=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},o=r.data={},u=r.NATIVE="N",f=r.POLYFILL="P";return Bn=r}();return Pn=function(f,c){var a,s,l,d,h,p=f.target,v=f.global,y=f.stat;if(a=v?t:y?t[p]||i(p,{}):t[p]&&t[p].prototype)for(s in c){if(d=c[s],l=f.dontCallGetSet?(h=e(a,s))&&h.value:a[s],!u(v?s:p+(y?".":"#")+s,f.forced)&&void 0!==l){if(typeof d==typeof l)continue;o(d,l)}(f.sham||l&&l.sham)&&n(d,"sham",!0),r(a,s,d,f)}}}function rr(){if(En)return kn;En=1;var t=gt(),e=bt();return kn=function(n){if("Function"===t(n))return e(n)}}function ir(){if(Ln)return Hn;Ln=1;var t=gt();return Hn=Array.isArray||function(e){return"Array"===t(e)}}function or(){if(Dn)return Wn;Dn=1;var t={};return t[le()("toStringTag")]="z",Wn="[object z]"===String(t)}function ur(){if(Mn)return In;Mn=1;var t=or(),e=Ct(),n=gt(),r=le()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return In=t?n:function(t){var u,f,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(f=function(t,e){try{return t[e]}catch(t){}}(u=i(t),r))?f:o?n(u):"Object"===(c=n(u))&&e(u.callee)?"Arguments":c}}function fr(){if(zn)return _n;zn=1;var t=bt(),e=C(),n=Ct(),r=ur(),i=jt(),o=Ye(),u=function(){},f=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,a=t(c.exec),s=!c.test(u),l=function(t){if(!n(t))return!1;try{return f(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!a(c,o(t))}catch(t){return!0}};return d.sham=!0,_n=!f||e(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?d:l}function cr(){if(Yn)return Xn;Yn=1;var t=ir(),e=fr(),n=Ot(),r=le()("species"),i=Array;return Xn=function(o){var u;return t(o)&&(u=o.constructor,(e(u)&&(u===i||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?i:u}}function ar(){if(Gn)return qn;Gn=1;var t=cr();return qn=function(e,n){return new(t(e))(0===n?0:n)}}function sr(){if(Un)return Vn;Un=1;var t=O(),e=Re(),n=yt();return Vn=function(r,i,o){t?e.f(r,i,n(0,o)):r[i]=o}}function lr(){if(Kn)return Jn;Kn=1;var t=function(){if(Nn)return An;Nn=1;var t=rr(),e=Tt(),n=j(),r=t(t.bind);return An=function(t,i){return e(t),void 0===i?t:n?r(t,i):function(){return t.apply(i,arguments)}},An}(),e=mt(),n=ce(),r=mn(),i=ar(),o=sr(),u=function(u){var f=1===u,c=2===u,a=3===u,s=4===u,l=6===u,d=7===u,h=5===u||l;return function(p,v,y){for(var b,g,m=n(p),x=e(m),w=r(x),$=t(v,y),C=0,O=0,j=f?i(p,w):c||d?i(p,0):void 0;w>C;C++)if((h||C in x)&&(g=$(b=x[C],C,m),u))if(f)o(j,C,g);else if(g)switch(u){case 3:return!0;case 5:return b;case 6:return C;case 2:o(j,O++,b)}else switch(u){case 4:return!1;case 7:o(j,O++,b)}return l?-1:a||s?s:j}};return Jn={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}var dr,hr,pr,vr,yr,br,gr,mr,xr,wr,$r={};function Cr(){if(hr)return dr;hr=1;var t=wn(),e=$n();return dr=Object.keys||function(n){return t(n,e)}}function Or(){if(yr)return vr;yr=1;var t=jt();return vr=t("document","documentElement")}function jr(){if(gr)return br;gr=1;var t,e=Se(),n=function(){if(pr)return $r;pr=1;var t=O(),e=je(),n=Re(),r=Se(),i=$t(),o=Cr();return $r.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,f=i(e),c=o(e),a=c.length,s=0;a>s;)n.f(t,u=c[s++],f[u]);return t},$r}(),r=$n(),i=Ge(),o=Or(),u=pe(),f=qe(),c="prototype",a="script",s=f("IE_PROTO"),l=function(){},d=function(t){return"<"+a+">"+t+"</"+a+">"},h=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,i;p="undefined"!=typeof document?document.domain&&t?h(t):(n=u("iframe"),i="java"+a+":",n.style.display="none",o.appendChild(n),n.src=String(i),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):h(t);for(var f=r.length;f--;)delete p[c][r[f]];return p()};return i[s]=!0,br=Object.create||function(t,r){var i;return null!==t?(l[c]=e(t),i=new l,l[c]=null,i[s]=t):i=p(),void 0===r?i:n.f(i,r)}}function Sr(){if(xr)return mr;xr=1;var t=le(),e=jr(),n=Re().f,r=t("unscopables"),i=Array.prototype;return void 0===i[r]&&n(i,r,{configurable:!0,value:e(null)}),mr=function(t){i[r][t]=!0}}!function(){if(wr)return d;wr=1;var t=nr(),e=lr().find,n=Sr(),r="find",i=!0;r in[]&&Array(1)[r](function(){i=!1}),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var Rr,Br,Fr,Pr={};function Tr(){if(Br)return Rr;Br=1;var t=C();return Rr=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(Fr)return Pr;Fr=1;var t=nr(),e=rr(),n=xn().indexOf,r=Tr(),i=e([].indexOf),o=!!i&&1/i([1],1,-0)<0;t({target:"Array",proto:!0,forced:o||!r("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return o?i(this,t,e)||0:n(this,t,e)}})}();var kr,Er,Ar,Nr={};!function(){if(Ar)return Nr;Ar=1;var t=nr(),e=function(){if(Er)return kr;Er=1;var t=O(),e=bt(),n=S(),r=C(),i=Cr(),o=Zn(),u=vt(),f=ce(),c=mt(),a=Object.assign,s=Object.defineProperty,l=e([].concat);return kr=!a||r(function(){if(t&&1!==a({b:1},a(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach(function(t){n[t]=t}),7!==a({},e)[r]||i(a({},n)).join("")!==o})?function(e,r){for(var a=f(e),s=arguments.length,d=1,h=o.f,p=u.f;s>d;)for(var v,y=c(arguments[d++]),b=h?l(i(y),h(y)):i(y),g=b.length,m=0;g>m;)v=b[m++],t&&!n(p,y,v)||(a[v]=y[v]);return a}:a,kr}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Hr,Lr,Wr,Dr={};!function(){if(Wr)return Dr;Wr=1;var t=or(),e=Je(),n=function(){if(Lr)return Hr;Lr=1;var t=or(),e=ur();return Hr=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var Ir=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{fixedColumns:!1,fixedNumber:0,fixedRightNumber:0}),t.BootstrapTable=function(r){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e(this,i,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(i,r),n(i,[{key:"fixedColumnsSupported",value:function(){return this.options.fixedColumns&&!this.options.detailView&&!this.options.cardView}},{key:"initContainer",value:function(){f(i,"initContainer",this)([]),this.fixedColumnsSupported()&&(this.options.fixedNumber&&(this.$tableContainer.append('<div class="fixed-columns"></div>'),this.$fixedColumns=this.$tableContainer.find(".fixed-columns")),this.options.fixedRightNumber&&(this.$tableContainer.append('<div class="fixed-columns-right"></div>'),this.$fixedColumnsRight=this.$tableContainer.find(".fixed-columns-right")))}},{key:"initBody",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];f(i,"initBody",this)(e),this.$fixedColumns&&this.$fixedColumns.length&&this.$fixedColumns.toggle(this.fixedColumnsSupported()),this.$fixedColumnsRight&&this.$fixedColumnsRight.length&&this.$fixedColumnsRight.toggle(this.fixedColumnsSupported()),this.fixedColumnsSupported()&&(this.options.showHeader&&this.options.height||(this.initFixedColumnsBody(),this.initFixedColumnsEvents()))}},{key:"trigger",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];f(i,"trigger",this)(e),this.fixedColumnsSupported()&&("post-header"===e[0]?this.initFixedColumnsHeader():"scroll-body"===e[0]&&(this.needFixedColumns&&this.options.fixedNumber&&this.$fixedBody.scrollTop(this.$tableBody.scrollTop()),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedBodyRight.scrollTop(this.$tableBody.scrollTop())))}},{key:"updateSelected",value:function(){var e=this;f(i,"updateSelected",this)([]),this.fixedColumnsSupported()&&this.$tableBody.find("tr").each(function(n,r){var i=t(r),o=i.data("index"),u=i.attr("class"),f='[name="'.concat(e.options.selectItemName,'"]'),c=i.find(f);if(void 0!==o){var a=function(t,n){var r=n.find('tr[data-index="'.concat(o,'"]'));r.attr("class",u),c.length&&r.find(f).prop("checked",c.prop("checked")),e.$selectAll.length&&t.add(n).find('[name="btSelectAll"]').prop("checked",e.$selectAll.prop("checked"))};e.$fixedBody&&e.options.fixedNumber&&a(e.$fixedHeader,e.$fixedBody),e.$fixedBodyRight&&e.options.fixedRightNumber&&a(e.$fixedHeaderRight,e.$fixedBodyRight)}})}},{key:"hideLoading",value:function(){f(i,"hideLoading",this)([]),this.needFixedColumns&&this.options.fixedNumber&&this.$fixedColumns.find(".fixed-table-loading").hide(),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedColumnsRight&&this.$fixedColumnsRight.find(".fixed-table-loading").hide()}},{key:"initFixedColumnsHeader",value:function(){var t=this;this.options.height?this.needFixedColumns=this.$tableHeader.outerWidth(!0)<this.$tableHeader.find("table").outerWidth(!0):this.needFixedColumns=this.$tableBody.outerWidth(!0)<this.$tableBody.find("table").outerWidth(!0);var e=function(e,n){return e.find(".fixed-table-header").remove(),e.append(t.$tableHeader.clone(!0)),e.css({width:t.getFixedColumnsWidth(n)}),e.find(".fixed-table-header")};this.needFixedColumns&&this.options.fixedNumber?(this.$fixedHeader=e(this.$fixedColumns),this.$fixedHeader.css("margin-right","")):this.$fixedColumns&&this.$fixedColumns.html("").css("width",""),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedColumnsRight?(this.$fixedHeaderRight=e(this.$fixedColumnsRight,!0),this.$fixedHeaderRight.scrollLeft(this.$fixedHeaderRight.find("table").width())):this.$fixedColumnsRight&&this.$fixedColumnsRight.html("").css("width",""),this.initFixedColumnsBody(),this.initFixedColumnsEvents()}},{key:"initFixedColumnsBody",value:function(){var t=this,e=function(e,n){e.find(".fixed-table-body").remove(),e.append(t.$tableBody.clone(!0)),e.find(".fixed-table-body table").removeAttr("id");var r=e.find(".fixed-table-body"),i=t.$tableBody.get(0),o=i.scrollWidth>i.clientWidth?Ir.getScrollBarWidth():0,u=t.$tableContainer.outerHeight(!0)-o-1;return e.css({height:u}),r.css({height:u-n.height()}),r};this.needFixedColumns&&this.options.fixedNumber&&(this.$fixedBody=e(this.$fixedColumns,this.$fixedHeader)),this.needFixedColumns&&this.options.fixedRightNumber&&this.$fixedColumnsRight&&(this.$fixedBodyRight=e(this.$fixedColumnsRight,this.$fixedHeaderRight),this.$fixedBodyRight.scrollLeft(this.$fixedBodyRight.find("table").width()),this.$fixedBodyRight.css("overflow-y",this.options.height?"auto":"hidden"))}},{key:"getFixedColumnsWidth",value:function(t){var e=this.getVisibleFields(),n=0,r=this.options.fixedNumber,i=0;t&&(e=e.reverse(),r=this.options.fixedRightNumber,i=parseInt(this.$tableHeader.css("margin-right"),10));for(var o=0;o<r;o++)n+=this.$header.find('th[data-field="'.concat(e[o],'"]')).outerWidth(!0);return n+i+1}},{key:"initFixedColumnsEvents",value:function(){var e=this,n=function(n,r){var i='tr[data-index="'.concat(t(n.currentTarget).data("index"),'"]'),o=t(n.currentTarget).closest(".fixed-columns, .fixed-columns-right").length>0,u=t();o&&(u=u.add(e.$tableBody.find(i))),e.$fixedBody&&(u=u.add(e.$fixedBody.find(i))),e.$fixedBodyRight&&(u=u.add(e.$fixedBodyRight.find(i))),u.toggleClass("hover-row",r)},r=function(t){t.find("tr").hover(function(t){n(t,!0)},function(t){n(t,!1)})};r(this.$tableBody);var i="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1?"DOMMouseScroll":"mousewheel";this.needFixedColumns&&this.options.fixedNumber&&this.$fixedBody&&(r(this.$fixedBody),this.$fixedBody[0].addEventListener(i,function(t){!function(t,n){var r,i,o,u,f,c=(u=0,f=0,"detail"in(r=t)&&(f=r.detail),"wheelDelta"in r&&(f=-r.wheelDelta/120),"wheelDeltaY"in r&&(f=-r.wheelDeltaY/120),"wheelDeltaX"in r&&(u=-r.wheelDeltaX/120),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(u=f,f=0),i=10*u,o=10*f,"deltaY"in r&&(o=r.deltaY),"deltaX"in r&&(i=r.deltaX),(i||o)&&r.deltaMode&&(1===r.deltaMode?(i*=40,o*=40):(i*=800,o*=800)),i&&!u&&(u=i<1?-1:1),o&&!f&&(f=o<1?-1:1),{spinX:u,spinY:f,pixelX:i,pixelY:o}),a=Math.ceil(c.pixelY),s=e.$tableBody.scrollTop()+a;(a<0&&s>0||a>0&&s<n.scrollHeight-n.clientHeight)&&t.preventDefault(),e.$tableBody.scrollTop(s),e.$fixedBody&&e.$fixedBody.scrollTop(s),e.$fixedBodyRight&&e.$fixedBodyRight.scrollTop(s)}(t,e.$fixedBody[0])})),this.needFixedColumns&&this.options.fixedRightNumber&&(r(this.$fixedBodyRight),this.$fixedBodyRight.off("scroll").on("scroll",function(){var t=e.$fixedBodyRight.scrollTop();e.$tableBody.scrollTop(t),e.$fixedBody&&e.$fixedBody.scrollTop(t)})),this.options.filterControl&&t(this.$fixedColumns).off("keyup change").on("keyup change",function(n){var r=t(n.target),i=r.val(),o=r.parents("th").data("field"),u=e.$header.find('th[data-field="'.concat(o,'"]'));if(r.is("input"))u.find("input").val(i);else if(r.is("select")){var f=u.find("select");f.find("option[selected]").removeAttr("selected"),f.find('option[value="'.concat(i,'"]')).attr("selected",!0)}e.triggerSearch()})}},{key:"renderStickyHeader",value:function(){if(this.options.stickyHeader&&(this.$stickyContainer=this.$container.find(".sticky-header-container"),f(i,"renderStickyHeader",this)([]),this.needFixedColumns&&this.options.fixedNumber&&this.$fixedColumns.css("z-index",101).find(".sticky-header-container").css("right","").width(this.$fixedColumns.outerWidth()),this.needFixedColumns&&this.options.fixedRightNumber)){var t=this.$fixedColumnsRight.find(".sticky-header-container");this.$fixedColumnsRight.css("z-index",101),t.css("left","").scrollLeft(t.find(".table").outerWidth()).width(this.$fixedColumnsRight.outerWidth())}}},{key:"matchPositionX",value:function(){this.options.stickyHeader&&this.$stickyContainer.eq(0).scrollLeft(this.$tableBody.scrollLeft())}}])}(t.BootstrapTable)});
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
@@ -25111,7 +26645,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -25590,10 +27124,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -25946,7 +27480,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -25969,7 +27503,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -26584,7 +28118,7 @@
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
doesNotExceedSafeInteger = function (it) {
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
return it;
};
return doesNotExceedSafeInteger;
@@ -26607,6 +28141,41 @@
return createProperty;
}
+ var arraySetLength;
+ var hasRequiredArraySetLength;
+
+ function requireArraySetLength () {
+ if (hasRequiredArraySetLength) return arraySetLength;
+ hasRequiredArraySetLength = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var isArray = requireIsArray();
+
+ var $TypeError = TypeError;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+ // Safari < 13 does not throw an error in this case
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
+ // makes no sense without proper strict mode support
+ if (this !== undefined) return true;
+ try {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
+ } catch (error) {
+ return error instanceof TypeError;
+ }
+ }();
+
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
+ throw new $TypeError('Cannot set read only .length');
+ } return O.length = length;
+ } : function (O, length) {
+ return O.length = length;
+ };
+ return arraySetLength;
+ }
+
var toStringTagSupport;
var hasRequiredToStringTagSupport;
@@ -26617,7 +28186,7 @@
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -26810,6 +28379,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var arraySpeciesCreate = requireArraySpeciesCreate();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var wellKnownSymbol = requireWellKnownSymbol();
@@ -26855,7 +28425,7 @@
createProperty(A, n++, E);
}
}
- A.length = n;
+ setArrayLength(A, n);
return A;
}
});
@@ -27857,18 +29427,29 @@
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
+ var setGroups = function (re, groups) {
+ var object = re.groups = create(null);
+ for (var i = 0; i < groups.length; i++) {
+ var group = groups[i];
+ object[group[0]] = re[group[1]];
+ }
+ };
+
if (PATCH) {
patchedExec = function exec(string) {
var re = this;
var state = getInternalState(re);
var str = toString(string);
var raw = state.raw;
- var result, reCopy, lastIndex, match, i, object, group;
+ var result, reCopy, lastIndex;
if (raw) {
raw.lastIndex = re.lastIndex;
result = call(patchedExec, raw, str);
re.lastIndex = raw.lastIndex;
+
+ if (result && state.groups) setGroups(result, state.groups);
+
return result;
}
@@ -27887,8 +29468,10 @@
strCopy = stringSlice(str, re.lastIndex);
// Support anchored sticky behavior.
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
- source = '(?: ' + source + ')';
+ var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
+ if (re.lastIndex > 0 &&
+ (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
+ source = '(?: (?:' + source + '))';
strCopy = ' ' + strCopy;
charsAdded++;
}
@@ -27902,11 +29485,11 @@
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- match = call(nativeExec, sticky ? reCopy : re, strCopy);
+ var match = call(nativeExec, sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
- match.input = stringSlice(match.input, charsAdded);
+ match.input = str;
match[0] = stringSlice(match[0], charsAdded);
match.index = re.lastIndex;
re.lastIndex += match[0].length;
@@ -27918,19 +29501,13 @@
// Fix browsers whose `exec` methods don't consistently return `undefined`
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
call(nativeReplace, match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
+ for (var i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
});
}
- if (match && groups) {
- match.groups = object = create(null);
- for (i = 0; i < groups.length; i++) {
- group = groups[i];
- object[group[0]] = match[group[1]];
- }
- }
+ if (match && groups) setGroups(match, groups);
return match;
};
@@ -28169,7 +29746,7 @@
function requireFixRegexpWellKnownSymbolLogic () {
if (hasRequiredFixRegexpWellKnownSymbolLogic) return fixRegexpWellKnownSymbolLogic;
hasRequiredFixRegexpWellKnownSymbolLogic = 1;
- // TODO: Remove from `core-js@4` since it's moved to entry points
+ // TODO: Remove from `core-js [at] 4` since it's moved to entry points
requireEs_regexp_exec();
var call = requireFunctionCall();
var defineBuiltIn = requireDefineBuiltIn();
@@ -28187,6 +29764,7 @@
var DELEGATES_TO_SYMBOL = !fails(function () {
// String methods call symbol-named RegExp methods
var O = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
O[SYMBOL] = function () { return 7; };
return ''[KEY](O) !== 7;
});
@@ -28200,12 +29778,13 @@
// We can't use real regex here since it causes deoptimization
// and serious performance degradation in V8
// https://github.com/zloirock/core-js/issues/306
- re = {};
// RegExp[@@split] doesn't call the regex's exec method, but first creates
// a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- re.flags = '';
+ var constructor = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ constructor[SPECIES] = function () { return re; };
+ re = { constructor: constructor, flags: '' };
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
re[SYMBOL] = /./[SYMBOL];
}
@@ -28479,9 +30058,9 @@
var i = 0;
var code;
while (length > i) {
- code = +arguments[i++];
+ code = +arguments[i];
if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');
- elements[i] = code < 0x10000
+ elements[i++] = code < 0x10000
? fromCharCode(code)
: fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);
} return join(elements, '');
@@ -28777,7 +30356,7 @@
function requireWeb_urlSearchParams_constructor () {
if (hasRequiredWeb_urlSearchParams_constructor) return web_urlSearchParams_constructor;
hasRequiredWeb_urlSearchParams_constructor = 1;
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
+ // TODO: in core-js [at] 4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
requireEs_array_iterator();
requireEs_string_fromCodePoint();
var $ = require_export();
@@ -28859,8 +30438,9 @@
var utf8Decode = function (octets) {
var codePoint = null;
+ var length = octets.length;
- switch (octets.length) {
+ switch (length) {
case 1:
codePoint = octets[0];
break;
@@ -28875,9 +30455,17 @@
break;
}
- return codePoint > 0x10FFFF ? null : codePoint;
+ // reject surrogates, overlong encodings, and out-of-range codepoints
+ if (codePoint === null
+ || codePoint > 0x10FFFF
+ || (codePoint >= 0xD800 && codePoint <= 0xDFFF)
+ || codePoint < (length > 3 ? 0x10000 : length > 2 ? 0x800 : length > 1 ? 0x80 : 0)
+ ) return null;
+
+ return codePoint;
};
+ /* eslint-disable max-statements, max-depth -- ok */
var decode = function (input) {
input = replace(input, plus, ' ');
var length = input.length;
@@ -28925,11 +30513,15 @@
var nextByte = parseHexOctet(input, i + 1);
// eslint-disable-next-line no-self-compare -- NaN check
- if (nextByte !== nextByte) {
- i += 3;
- break;
+ if (nextByte !== nextByte || nextByte > 191 || nextByte < 128) break;
+
+ // https://encoding.spec.whatwg.org/#utf-8-decoder - position-specific byte ranges
+ if (sequenceIndex === 1) {
+ if (octet === 0xE0 && nextByte < 0xA0) break;
+ if (octet === 0xED && nextByte > 0x9F) break;
+ if (octet === 0xF0 && nextByte < 0x90) break;
+ if (octet === 0xF4 && nextByte > 0x8F) break;
}
- if (nextByte > 191 || nextByte < 128) break;
push(octets, nextByte);
i += 2;
@@ -28943,7 +30535,9 @@
var codePoint = utf8Decode(octets);
if (codePoint === null) {
- result += FALLBACK_REPLACER;
+ for (var replacement = 0; replacement < byteSequenceLength; replacement++) result += FALLBACK_REPLACER;
+ i++;
+ continue;
} else {
decodedChar = fromCodePoint(codePoint);
}
@@ -28956,6 +30550,7 @@
return result;
};
+ /* eslint-enable max-statements, max-depth -- ok */
var find = /[!'()~]|%20/g;
@@ -29091,7 +30686,7 @@
var state = getInternalParamsState(this);
validateArgumentsLength(arguments.length, 2);
push(state.entries, { key: $toString(name), value: $toString(value) });
- if (!DESCRIPTORS) this.length++;
+ if (!DESCRIPTORS) this.size++;
state.updateURL();
},
// `URLSearchParams.prototype.delete` method
@@ -29108,7 +30703,6 @@
var entry = entries[index];
if (entry.key === key && (value === undefined || entry.value === value)) {
splice(entries, index, 1);
- if (value !== undefined) break;
} else index++;
}
if (!DESCRIPTORS) this.size = entries.length;
@@ -29158,7 +30752,7 @@
// https://url.spec.whatwg.org/#dom-urlsearchparams-set
set: function set(name, value) {
var state = getInternalParamsState(this);
- validateArgumentsLength(arguments.length, 1);
+ validateArgumentsLength(arguments.length, 2);
var entries = state.entries;
var found = false;
var key = $toString(name);
@@ -29223,7 +30817,7 @@
}, { enumerable: true });
// `URLSearchParams.prototype.size` getter
- // https://github.com/whatwg/url/pull/734
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-size
if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
get: function size() {
return getInternalParamsState(this).entries.length;
@@ -29295,7 +30889,7 @@
function requireWeb_urlSearchParams () {
if (hasRequiredWeb_urlSearchParams) return web_urlSearchParams;
hasRequiredWeb_urlSearchParams = 1;
- // TODO: Remove this module from `core-js@4` since it's replaced to module below
+ // TODO: Remove this module from `core-js [at] 4` since it's replaced to module below
requireWeb_urlSearchParams_constructor();
return web_urlSearchParams;
}
@@ -29426,13 +31020,13 @@
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
- * @version v1.24.2
+ * @version v1.27.3
* @homepage https://bootstrap-table.com
* @author wenzhixin <[email protected]> (http://wenzhixin.net.cn/)
* @license MIT
*/
-!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((r="undefined"!=typeof globalThis?globalThis:r||self).jQuery)}(this,(function(r){"use strict";function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e}function n(r,t,n){return t=u(t),function(r,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(r)}(r,a()?Reflect.construct(t,n||[],u(r).constructor):t.apply(r,n))}function e(r,t,n){return t&&function(r,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(r,l(e.key),e)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function o(r,n){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!e){if(Array.isArray(r)||(e=function(r,n){if(r){if("string"==typeof r)return t(r,n);var e={}.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r))||n){e&&(r=e);var o=0,i=function(){};return{s:i,n:function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){e=e.call(r)},n:function(){var r=e.next();return a=r.done,r},e:function(r){c=!0,u=r},f:function(){try{a||null==e.return||e.return()}finally{if(c)throw u}}}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(r,t,n){var e=function(r,t){for(;!{}.hasOwnProperty.call(r,t)&&null!==(r=u(r)););return r}(r,t);if(e){var o=Object.getOwnPropertyDescriptor(e,t);return o.get?o.get.call(arguments.length<3?r:n):o.value}},i.apply(null,arguments)}function u(r){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},u(r)}function a(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(a=function(){return!!r})()}function c(r,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},c(r,t)}function f(r,t,n,e){var o=i(u(r.prototype),t,n);return"function"==typeof o?function(r){return o.apply(n,r)}:o}function l(r){var t=function(r,t){if("object"!=typeof r||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t);if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r,"string");return"symbol"==typeof t?t:t+""}var s,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d={};function h(){if(p)return s;p=1;var r=function(r){return r&&r.Math===Math&&r};return s=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof v&&v)||r("object"==typeof s&&s)||function(){return this}()||Function("return this")()}var g,y,b,m,w,O,j,x,S={};function P(){return y?g:(y=1,g=function(r){try{return!!r()}catch(r){return!0}})}function A(){if(m)return b;m=1;var r=P();return b=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function E(){if(O)return w;O=1;var r=P();return w=!r((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))}function I(){if(x)return j;x=1;var r=E(),t=Function.prototype.call;return j=r?t.bind(t):function(){return t.apply(t,arguments)},j}var T,C,R,F,k,M,$,_,D,B,N,z,L,U,G,K,V,W,q,Y,X,H,J,Q,Z,rr,tr,nr,er,or,ir,ur,ar,cr,fr,lr,sr,pr,vr,dr,hr,gr={};function yr(){if(T)return gr;T=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return gr.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,gr}function br(){return R?C:(R=1,C=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function mr(){if(k)return F;k=1;var r=E(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return F=r?e:function(r){return function(){return n.apply(r,arguments)}},F}function wr(){if($)return M;$=1;var r=mr(),t=r({}.toString),n=r("".slice);return M=function(r){return n(t(r),8,-1)}}function Or(){if(D)return _;D=1;var r=mr(),t=P(),n=wr(),e=Object,o=r("".split);return _=t((function(){return!e("z").propertyIsEnumerable(0)}))?function(r){return"String"===n(r)?o(r,""):e(r)}:e}function jr(){return N?B:(N=1,B=function(r){return null==r})}function xr(){if(L)return z;L=1;var r=jr(),t=TypeError;return z=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Sr(){if(G)return U;G=1;var r=Or(),t=xr();return U=function(n){return r(t(n))}}function Pr(){if(V)return K;V=1;var r="object"==typeof document&&document.all;return K=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function Ar(){if(q)return W;q=1;var r=Pr();return W=function(t){return"object"==typeof t?null!==t:r(t)}}function Er(){if(X)return Y;X=1;var r=h(),t=Pr();return Y=function(n,e){return arguments.length<2?(o=r[n],t(o)?o:void 0):r[n]&&r[n][e];var o},Y}function Ir(){if(J)return H;J=1;var r=mr();return H=r({}.isPrototypeOf)}function Tr(){if(Z)return Q;Z=1;var r=h().navigator,t=r&&r.userAgent;return Q=t?String(t):""}function Cr(){if(tr)return rr;tr=1;var r,t,n=h(),e=Tr(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(t=(r=a.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),rr=t}function Rr(){if(er)return nr;er=1;var r=Cr(),t=P(),n=h().String;return nr=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))}function Fr(){if(ir)return or;ir=1;var r=Rr();return or=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function kr(){if(ar)return ur;ar=1;var r=Er(),t=Pr(),n=Ir(),e=Fr(),o=Object;return ur=e?function(r){return"symbol"==typeof r}:function(e){var i=r("Symbol");return t(i)&&n(i.prototype,o(e))}}function Mr(){if(fr)return cr;fr=1;var r=String;return cr=function(t){try{return r(t)}catch(r){return"Object"}}}function $r(){if(sr)return lr;sr=1;var r=Pr(),t=Mr(),n=TypeError;return lr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function _r(){if(vr)return pr;vr=1;var r=$r(),t=jr();return pr=function(n,e){var o=n[e];return t(o)?void 0:r(o)}}function Dr(){if(hr)return dr;hr=1;var r=I(),t=Pr(),n=Ar(),e=TypeError;return dr=function(o,i){var u,a;if("string"===i&&t(u=o.toString)&&!n(a=r(u,o)))return a;if(t(u=o.valueOf)&&!n(a=r(u,o)))return a;if("string"!==i&&t(u=o.toString)&&!n(a=r(u,o)))return a;throw new e("Can't convert object to primitive value")}}var Br,Nr,zr,Lr,Ur,Gr,Kr,Vr,Wr,qr,Yr,Xr,Hr,Jr,Qr,Zr,rt,tt,nt,et,ot,it,ut,at,ct={exports:{}};function ft(){if(Lr)return zr;Lr=1;var r=h(),t=Object.defineProperty;return zr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function lt(){if(Ur)return ct.exports;Ur=1;var r=Nr?Br:(Nr=1,Br=!1),t=h(),n=ft(),e="__core-js_shared__",o=ct.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ct.exports}function st(){if(Kr)return Gr;Kr=1;var r=lt();return Gr=function(t,n){return r[t]||(r[t]=n||{})}}function pt(){if(Wr)return Vr;Wr=1;var r=xr(),t=Object;return Vr=function(n){return t(r(n))}}function vt(){if(Yr)return qr;Yr=1;var r=mr(),t=pt(),n=r({}.hasOwnProperty);return qr=Object.hasOwn||function(r,e){return n(t(r),e)}}function dt(){if(Hr)return Xr;Hr=1;var r=mr(),t=0,n=Math.random(),e=r(1.1.toString);return Xr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function ht(){if(Qr)return Jr;Qr=1;var r=h(),t=st(),n=vt(),e=dt(),o=Rr(),i=Fr(),u=r.Symbol,a=t("wks"),c=i?u.for||u:u&&u.withoutSetter||e;return Jr=function(r){return n(a,r)||(a[r]=o&&n(u,r)?u[r]:c("Symbol."+r)),a[r]}}function gt(){if(rt)return Zr;rt=1;var r=I(),t=Ar(),n=kr(),e=_r(),o=Dr(),i=ht(),u=TypeError,a=i("toPrimitive");return Zr=function(i,c){if(!t(i)||n(i))return i;var f,l=e(i,a);if(l){if(void 0===c&&(c="default"),f=r(l,i,c),!t(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function yt(){if(nt)return tt;nt=1;var r=gt(),t=kr();return tt=function(n){var e=r(n,"string");return t(e)?e:e+""}}function bt(){if(ot)return et;ot=1;var r=h(),t=Ar(),n=r.document,e=t(n)&&t(n.createElement);return et=function(r){return e?n.createElement(r):{}}}function mt(){if(ut)return it;ut=1;var r=A(),t=P(),n=bt();return it=!r&&!t((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function wt(){if(at)return S;at=1;var r=A(),t=I(),n=yr(),e=br(),o=Sr(),i=yt(),u=vt(),a=mt(),c=Object.getOwnPropertyDescriptor;return S.f=r?c:function(r,f){if(r=o(r),f=i(f),a)try{return c(r,f)}catch(r){}if(u(r,f))return e(!t(n.f,r,f),r[f])},S}var Ot,jt,xt,St,Pt,At,Et,It={};function Tt(){if(jt)return Ot;jt=1;var r=A(),t=P();return Ot=r&&t((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ct(){if(St)return xt;St=1;var r=Ar(),t=String,n=TypeError;return xt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Rt(){if(Pt)return It;Pt=1;var r=A(),t=mt(),n=Tt(),e=Ct(),o=yt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",l="writable";return It.f=r?n?function(r,t,n){if(e(r),t=o(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var i=a(r,t);i&&i[l]&&(r[t]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:c in n?n[c]:i[c],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=o(n),e(a),t)try{return u(r,n,a)}catch(r){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(r[n]=a.value),r},It}function Ft(){if(Et)return At;Et=1;var r=A(),t=Rt(),n=br();return At=r?function(r,e,o){return t.f(r,e,n(1,o))}:function(r,t,n){return r[t]=n,r}}var kt,Mt,$t,_t,Dt,Bt,Nt,zt,Lt,Ut,Gt,Kt,Vt,Wt,qt,Yt={exports:{}};function Xt(){if(_t)return $t;_t=1;var r=mr(),t=Pr(),n=lt(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),$t=n.inspectSource}function Ht(){if(zt)return Nt;zt=1;var r=st(),t=dt(),n=r("keys");return Nt=function(r){return n[r]||(n[r]=t(r))}}function Jt(){return Ut?Lt:(Ut=1,Lt={})}function Qt(){if(Kt)return Gt;Kt=1;var r,t,n,e=function(){if(Bt)return Dt;Bt=1;var r=h(),t=Pr(),n=r.WeakMap;return Dt=t(n)&&/native code/.test(String(n))}(),o=h(),i=Ar(),u=Ft(),a=vt(),c=lt(),f=Ht(),l=Jt(),s="Object already initialized",p=o.TypeError,v=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new v);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new p(s);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var g=f("state");l[g]=!0,r=function(r,t){if(a(r,g))throw new p(s);return t.facade=r,u(r,g,t),t},t=function(r){return a(r,g)?r[g]:{}},n=function(r){return a(r,g)}}return Gt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!i(n)||(e=t(n)).type!==r)throw new p("Incompatible receiver, "+r+" required");return e}}}}function Zt(){if(Vt)return Yt.exports;Vt=1;var r=mr(),t=P(),n=Pr(),e=vt(),o=A(),i=function(){if(Mt)return kt;Mt=1;var r=A(),t=vt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!r||r&&e(n,"name").configurable);return kt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Xt(),a=Qt(),c=a.enforce,f=a.get,l=String,s=Object.defineProperty,p=r("".slice),v=r("".replace),d=r([].join),h=o&&!t((function(){return 8!==s((function(){}),"length",{value:8}).length})),g=String(String).split("String"),y=Yt.exports=function(r,t,n){"Symbol("===p(l(t),0,7)&&(t="["+v(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||i&&r.name!==t)&&(o?s(r,"name",{value:t,configurable:!0}):r.name=t),h&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=c(r);return e(u,"source")||(u.source=d(g,"string"==typeof t?t:"")),r};return Function.prototype.toString=y((function(){return n(this)&&f(this).source||u(this)}),"toString"),Yt.exports}function rn(){if(qt)return Wt;qt=1;var r=Pr(),t=Rt(),n=Zt(),e=ft();return Wt=function(o,i,u,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:i;if(r(u)&&n(u,f,a),a.global)c?o[i]=u:e(i,u);else{try{a.unsafe?o[i]&&(c=!0):delete o[i]}catch(r){}c?o[i]=u:t.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var tn,nn,en,on,un,an,cn,fn,ln,sn,pn,vn,dn,hn,gn,yn,bn,mn={};function wn(){if(on)return en;on=1;var r=function(){if(nn)return tn;nn=1;var r=Math.ceil,t=Math.floor;return tn=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return en=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function On(){if(an)return un;an=1;var r=wn(),t=Math.max,n=Math.min;return un=function(e,o){var i=r(e);return i<0?t(i+o,0):n(i,o)}}function jn(){if(fn)return cn;fn=1;var r=wn(),t=Math.min;return cn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function xn(){if(sn)return ln;sn=1;var r=jn();return ln=function(t){return r(t.length)}}function Sn(){if(vn)return pn;vn=1;var r=Sr(),t=On(),n=xn(),e=function(e){return function(o,i,u){var a=r(o),c=n(a);if(0===c)return!e&&-1;var f,l=t(u,c);if(e&&i!=i){for(;c>l;)if((f=a[l++])!=f)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===i)return e||l||0;return!e&&-1}};return pn={includes:e(!0),indexOf:e(!1)}}function Pn(){if(hn)return dn;hn=1;var r=mr(),t=vt(),n=Sr(),e=Sn().indexOf,o=Jt(),i=r([].push);return dn=function(r,u){var a,c=n(r),f=0,l=[];for(a in c)!t(o,a)&&t(c,a)&&i(l,a);for(;u.length>f;)t(c,a=u[f++])&&(~e(l,a)||i(l,a));return l}}function An(){return yn?gn:(yn=1,gn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var En,In,Tn,Cn,Rn,Fn,kn,Mn,$n,_n,Dn,Bn,Nn,zn,Ln,Un,Gn,Kn,Vn,Wn,qn,Yn,Xn,Hn,Jn,Qn,Zn,re,te={};function ne(){return En||(En=1,te.f=Object.getOwnPropertySymbols),te}function ee(){if(Tn)return In;Tn=1;var r=Er(),t=mr(),n=function(){if(bn)return mn;bn=1;var r=Pn(),t=An().concat("length","prototype");return mn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},mn}(),e=ne(),o=Ct(),i=t([].concat);return In=r("Reflect","ownKeys")||function(r){var t=n.f(o(r)),u=e.f;return u?i(t,u(r)):t}}function oe(){if(Rn)return Cn;Rn=1;var r=vt(),t=ee(),n=wt(),e=Rt();return Cn=function(o,i,u){for(var a=t(i),c=e.f,f=n.f,l=0;l<a.length;l++){var s=a[l];r(o,s)||u&&r(u,s)||c(o,s,f(i,s))}}}function ie(){if($n)return Mn;$n=1;var r=h(),t=wt().f,n=Ft(),e=rn(),o=ft(),i=oe(),u=function(){if(kn)return Fn;kn=1;var r=P(),t=Pr(),n=/#|\.prototype\./,e=function(n,e){var c=i[o(n)];return c===a||c!==u&&(t(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return Fn=e}();return Mn=function(a,c){var f,l,s,p,v,d=a.target,h=a.global,g=a.stat;if(f=h?r:g?r[d]||o(d,{}):r[d]&&r[d].prototype)for(l in c){if(p=c[l],s=a.dontCallGetSet?(v=t(f,l))&&v.value:f[l],!u(h?l:d+(g?".":"#")+l,a.forced)&&void 0!==s){if(typeof p==typeof s)continue;i(p,s)}(a.sham||s&&s.sham)&&n(p,"sham",!0),e(f,l,p,a)}}}function ue(){if(Dn)return _n;Dn=1;var r=wr();return _n=Array.isArray||function(t){return"Array"===r(t)}}function ae(){if(Nn)return Bn;Nn=1;var r=TypeError;return Bn=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}}function ce(){if(Ln)return zn;Ln=1;var r=A(),t=Rt(),n=br();return zn=function(e,o,i){r?t.f(e,o,n(0,i)):e[o]=i}}function fe(){if(Gn)return Un;Gn=1;var r={};return r[ht()("toStringTag")]="z",Un="[object z]"===String(r)}function le(){if(Vn)return Kn;Vn=1;var r=fe(),t=Pr(),n=wr(),e=ht()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Kn=r?n:function(r){var u,a,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(r){}}(u=o(r),e))?a:i?n(u):"Object"===(c=n(u))&&t(u.callee)?"Arguments":c}}function se(){if(qn)return Wn;qn=1;var r=mr(),t=P(),n=Pr(),e=le(),o=Er(),i=Xt(),u=function(){},a=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),l=!c.test(u),s=function(r){if(!n(r))return!1;try{return a(u,[],r),!0}catch(r){return!1}},p=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!f(c,i(r))}catch(r){return!0}};return p.sham=!0,Wn=!a||t((function(){var r;return s(s.call)||!s(Object)||!s((function(){r=!0}))||r}))?p:s}function pe(){if(Xn)return Yn;Xn=1;var r=ue(),t=se(),n=Ar(),e=ht()("species"),o=Array;return Yn=function(i){var u;return r(i)&&(u=i.constructor,(t(u)&&(u===o||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function ve(){if(Jn)return Hn;Jn=1;var r=pe();return Hn=function(t,n){return new(r(t))(0===n?0:n)}}function de(){if(Zn)return Qn;Zn=1;var r=P(),t=ht(),n=Cr(),e=t("species");return Qn=function(t){return n>=51||!r((function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}}!function(){if(re)return d;re=1;var r=ie(),t=P(),n=ue(),e=Ar(),o=pt(),i=xn(),u=ae(),a=ce(),c=ve(),f=de(),l=ht(),s=Cr(),p=l("isConcatSpreadable"),v=s>=51||!t((function(){var r=[];return r[p]=!1,r.concat()[0]!==r})),h=function(r){if(!e(r))return!1;var t=r[p];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(r){var t,n,e,f,l,s=o(this),p=c(s,0),v=0;for(t=-1,e=arguments.length;t<e;t++)if(h(l=-1===t?s:arguments[t]))for(f=i(l),u(v+f),n=0;n<f;n++,v++)n in l&&a(p,v,l[n]);else u(v+1),a(p,v++,l);return p.length=v,p}})}();var he,ge,ye,be,me,we,Oe,je={};function xe(){if(ge)return he;ge=1;var r=wr(),t=mr();return he=function(n){if("Function"===r(n))return t(n)}}function Se(){if(be)return ye;be=1;var r=xe(),t=$r(),n=E(),e=r(r.bind);return ye=function(r,o){return t(r),void 0===o?r:n?e(r,o):function(){return r.apply(o,arguments)}},ye}function Pe(){if(we)return me;we=1;var r=Se(),t=mr(),n=Or(),e=pt(),o=xn(),i=ve(),u=t([].push),a=function(t){var a=1===t,c=2===t,f=3===t,l=4===t,s=6===t,p=7===t,v=5===t||s;return function(d,h,g,y){for(var b,m,w=e(d),O=n(w),j=o(O),x=r(h,g),S=0,P=y||i,A=a?P(d,j):c||p?P(d,0):void 0;j>S;S++)if((v||S in O)&&(m=x(b=O[S],S,w),t))if(a)A[S]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return S;case 2:u(A,b)}else switch(t){case 4:return!1;case 7:u(A,b)}return s?-1:f||l?l:A}};return me={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}!function(){if(Oe)return je;Oe=1;var r=ie(),t=Pe().filter;r({target:"Array",proto:!0,forced:!de()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var Ae,Ee,Ie,Te,Ce,Re,Fe,ke,Me,$e,_e={},De={};function Be(){if(Ee)return Ae;Ee=1;var r=Pn(),t=An();return Ae=Object.keys||function(n){return r(n,t)}}function Ne(){if(Ce)return Te;Ce=1;var r=Er();return Te=r("document","documentElement")}function ze(){if(Fe)return Re;Fe=1;var r,t=Ct(),n=function(){if(Ie)return De;Ie=1;var r=A(),t=Tt(),n=Rt(),e=Ct(),o=Sr(),i=Be();return De.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,a=o(t),c=i(t),f=c.length,l=0;f>l;)n.f(r,u=c[l++],a[u]);return r},De}(),e=An(),o=Jt(),i=Ne(),u=bt(),a=Ht(),c="prototype",f="script",l=a("IE_PROTO"),s=function(){},p=function(r){return"<"+f+">"+r+"</"+f+">"},v=function(r){r.write(p("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,o;d="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),o="java"+f+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):v(r);for(var a=e.length;a--;)delete d[c][e[a]];return d()};return o[l]=!0,Re=Object.create||function(r,e){var o;return null!==r?(s[c]=t(r),o=new s,s[c]=null,o[l]=r):o=d(),void 0===e?o:n.f(o,e)}}function Le(){if(Me)return ke;Me=1;var r=ht(),t=ze(),n=Rt().f,e=r("unscopables"),o=Array.prototype;return void 0===o[e]&&n(o,e,{configurable:!0,value:t(null)}),ke=function(r){o[e][r]=!0}}!function(){if($e)return _e;$e=1;var r=ie(),t=Pe().find,n=Le(),e="find",o=!0;e in[]&&Array(1)[e]((function(){o=!1})),r({target:"Array",proto:!0,forced:o},{find:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),n(e)}();var Ue,Ge,Ke,Ve={};!function(){if(Ke)return Ve;Ke=1;var r=ie(),t=function(){if(Ge)return Ue;Ge=1;var r=ue(),t=xn(),n=ae(),e=Se(),o=function(i,u,a,c,f,l,s,p){for(var v,d,h=f,g=0,y=!!s&&e(s,p);g<c;)g in a&&(v=y?y(a[g],g,u):a[g],l>0&&r(v)?(d=t(v),h=o(i,u,v,d,h,l-1)-1):(n(h+1),i[h]=v),h++),g++;return h};return Ue=o}(),n=pt(),e=xn(),o=wn(),i=ve();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),a=e(u),c=i(u,0);return c.length=t(c,u,u,a,0,void 0===r?1:o(r)),c}})}();var We,qe={};!function(){if(We)return qe;We=1;var r=ie(),t=Sn().includes,n=P(),e=Le();r({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var Ye,Xe,He,Je={};function Qe(){if(Xe)return Ye;Xe=1;var r=P();return Ye=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){return 1},1)}))}}!function(){if(He)return Je;He=1;var r=ie(),t=xe(),n=Sn().indexOf,e=Qe(),o=t([].indexOf),i=!!o&&1/o([1],1,-0)<0;r({target:"Array",proto:!0,forced:i||!e("indexOf")},{indexOf:function(r){var t=arguments.length>1?arguments[1]:void 0;return i?o(this,r,t)||0:n(this,r,t)}})}();var Ze,ro={};!function(){if(Ze)return ro;Ze=1;var r=ie(),t=mr(),n=Or(),e=Sr(),o=Qe(),i=t([].join);r({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(r){return i(e(this),void 0===r?",":r)}})}();var to,no={};!function(){if(to)return no;to=1;var r=ie(),t=Pe().map;r({target:"Array",proto:!0,forced:!de()("map")},{map:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var eo,oo,io,uo={};function ao(){if(oo)return eo;oo=1;var r=mr();return eo=r([].slice)}!function(){if(io)return uo;io=1;var r=ie(),t=ue(),n=se(),e=Ar(),o=On(),i=xn(),u=Sr(),a=ce(),c=ht(),f=de(),l=ao(),s=f("slice"),p=c("species"),v=Array,d=Math.max;r({target:"Array",proto:!0,forced:!s},{slice:function(r,c){var f,s,h,g=u(this),y=i(g),b=o(r,y),m=o(void 0===c?y:c,y);if(t(g)&&(f=g.constructor,(n(f)&&(f===v||t(f.prototype))||e(f)&&null===(f=f[p]))&&(f=void 0),f===v||void 0===f))return l(g,b,m);for(s=new(void 0===f?v:f)(d(m-b,0)),h=0;b<m;b++,h++)b in g&&a(s,h,g[b]);return s.length=h,s}})}();var co,fo,lo,so,po,vo,ho,go,yo,bo,mo,wo,Oo,jo={};function xo(){if(fo)return co;fo=1;var r=Mr(),t=TypeError;return co=function(n,e){if(!delete n[e])throw new t("Cannot delete property "+r(e)+" of "+r(n))}}function So(){if(so)return lo;so=1;var r=le(),t=String;return lo=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}!function(){if(Oo)return jo;Oo=1;var r=ie(),t=mr(),n=$r(),e=pt(),o=xn(),i=xo(),u=So(),a=P(),c=function(){if(vo)return po;vo=1;var r=ao(),t=Math.floor,n=function(e,o){var i=e.length;if(i<8)for(var u,a,c=1;c<i;){for(a=c,u=e[c];a&&o(e[a-1],u)>0;)e[a]=e[--a];a!==c++&&(e[a]=u)}else for(var f=t(i/2),l=n(r(e,0,f),o),s=n(r(e,f),o),p=l.length,v=s.length,d=0,h=0;d<p||h<v;)e[d+h]=d<p&&h<v?o(l[d],s[h])<=0?l[d++]:s[h++]:d<p?l[d++]:s[h++];return e};return po=n}(),f=Qe(),l=function(){if(go)return ho;go=1;var r=Tr().match(/firefox\/(\d+)/i);return ho=!!r&&+r[1]}(),s=function(){if(bo)return yo;bo=1;var r=Tr();return yo=/MSIE|Trident/.test(r)}(),p=Cr(),v=function(){if(wo)return mo;wo=1;var r=Tr().match(/AppleWebKit\/(\d+)\./);return mo=!!r&&+r[1]}(),d=[],h=t(d.sort),g=t(d.push),y=a((function(){d.sort(void 0)})),b=a((function(){d.sort(null)})),m=f("sort"),w=!a((function(){if(p)return p<70;if(!(l&&l>3)){if(s)return!0;if(v)return v<603;var r,t,n,e,o="";for(r=65;r<76;r++){switch(t=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(e=0;e<47;e++)d.push({k:t+e,v:n})}for(d.sort((function(r,t){return t.v-r.v})),e=0;e<d.length;e++)t=d[e].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:y||!b||!m||!w},{sort:function(r){void 0!==r&&n(r);var t=e(this);if(w)return void 0===r?h(t):h(t,r);var a,f,l=[],s=o(t);for(f=0;f<s;f++)f in t&&g(l,t[f]);for(c(l,function(r){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==r?+r(t,n)||0:u(t)>u(n)?1:-1}}(r)),a=o(l),f=0;f<a;)t[f]=l[f++];for(;f<s;)i(t,f++);return t}})}();var Po;Po||(Po=1,Le()("flat"));var Ao,Eo,Io,To={};!function(){if(Io)return To;Io=1;var r=ie(),t=function(){if(Eo)return Ao;Eo=1;var r=A(),t=mr(),n=I(),e=P(),o=Be(),i=ne(),u=yr(),a=pt(),c=Or(),f=Object.assign,l=Object.defineProperty,s=t([].concat);return Ao=!f||e((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},e=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[e]=7,i.split("").forEach((function(r){n[r]=r})),7!==f({},t)[e]||o(f({},n)).join("")!==i}))?function(t,e){for(var f=a(t),l=arguments.length,p=1,v=i.f,d=u.f;l>p;)for(var h,g=c(arguments[p++]),y=v?s(o(g),v(g)):o(g),b=y.length,m=0;b>m;)h=y[m++],r&&!n(d,g,h)||(f[h]=g[h]);return f}:f,Ao}();r({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t})}();var Co,Ro,Fo,ko={};!function(){if(Fo)return ko;Fo=1;var r=fe(),t=rn(),n=function(){if(Ro)return Co;Ro=1;var r=fe(),t=le();return Co=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var Mo,$o,_o,Do,Bo,No,zo,Lo,Uo,Go,Ko,Vo={};function Wo(){if($o)return Mo;$o=1;var r=Ct();return Mo=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function qo(){if(Go)return Uo;Go=1;var r,t,n=I(),e=mr(),o=So(),i=Wo(),u=function(){if(Do)return _o;Do=1;var r=P(),t=h().RegExp,n=r((function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")})),e=n||r((function(){return!t("a","y").sticky})),o=n||r((function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")}));return _o={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),a=st(),c=ze(),f=Qt().get,l=function(){if(No)return Bo;No=1;var r=P(),t=h().RegExp;return Bo=r((function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)}))}(),s=function(){if(Lo)return zo;Lo=1;var r=P(),t=h().RegExp;return zo=r((function(){var r=t("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")}))}(),p=a("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,d=v,g=e("".charAt),y=e("".indexOf),b=e("".replace),m=e("".slice),w=(t=/b*/g,n(v,r=/a/,"a"),n(v,t,"a"),0!==r.lastIndex||0!==t.lastIndex),O=u.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];return(w||j||O||l||s)&&(d=function(r){var t,e,u,a,l,s,h,x=this,S=f(x),P=o(r),A=S.raw;if(A)return A.lastIndex=x.lastIndex,t=n(d,A,P),x.lastIndex=A.lastIndex,t;var E=S.groups,I=O&&x.sticky,T=n(i,x),C=x.source,R=0,F=P;if(I&&(T=b(T,"y",""),-1===y(T,"g")&&(T+="g"),F=m(P,x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&"\n"!==g(P,x.lastIndex-1))&&(C="(?: "+C+")",F=" "+F,R++),e=new RegExp("^(?:"+C+")",T)),j&&(e=new RegExp("^"+C+"$(?!\\s)",T)),w&&(u=x.lastIndex),a=n(v,I?e:x,F),I?a?(a.input=m(a.input,R),a[0]=m(a[0],R),a.index=x.lastIndex,x.lastIndex+=a[0].length):x.lastIndex=0:w&&a&&(x.lastIndex=x.global?a.index+a[0].length:u),j&&a&&a.length>1&&n(p,a[0],e,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a&&E)for(a.groups=s=c(null),l=0;l<E.length;l++)s[(h=E[l])[0]]=a[h[1]];return a}),Uo=d}function Yo(){if(Ko)return Vo;Ko=1;var r=ie(),t=qo();return r({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),Vo}Yo();var Xo,Ho,Jo,Qo,Zo,ri,ti,ni,ei,oi,ii,ui,ai,ci,fi,li,si,pi={};function vi(){if(ni)return ti;ni=1;var r=function(){if(ri)return Zo;ri=1;var r=mr(),t=wn(),n=So(),e=xr(),o=r("".charAt),i=r("".charCodeAt),u=r("".slice),a=function(r){return function(a,c){var f,l,s=n(e(a)),p=t(c),v=s.length;return p<0||p>=v?r?"":void 0:(f=i(s,p))<55296||f>56319||p+1===v||(l=i(s,p+1))<56320||l>57343?r?o(s,p):f:r?u(s,p,p+2):l-56320+(f-55296<<10)+65536}};return Zo={codeAt:a(!1),charAt:a(!0)}}().charAt;return ti=function(t,n,e){return n+(e?r(t,n).length:1)}}function di(){if(oi)return ei;oi=1;var r=mr(),t=pt(),n=Math.floor,e=r("".charAt),o=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return ei=function(r,c,f,l,s,p){var v=f+r.length,d=l.length,h=a;return void 0!==s&&(s=t(s),h=u),o(p,h,(function(t,o){var u;switch(e(o,0)){case"$":return"$";case"&":return r;case"`":return i(c,0,f);case"'":return i(c,v);case"<":u=s[i(o,1,-1)];break;default:var a=+o;if(0===a)return t;if(a>d){var p=n(a/10);return 0===p?t:p<=d?void 0===l[p-1]?e(o,1):l[p-1]+e(o,1):t}u=l[a-1]}return void 0===u?"":u}))}}function hi(){if(ci)return ai;ci=1;var r=I(),t=vt(),n=Ir(),e=function(){if(ui)return ii;ui=1;var r=h(),t=P(),n=r.RegExp,e=!t((function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",o=r?"dgimsy":"gimsy",i=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in r&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==o||e!==o}));return ii={correct:e}}(),o=Wo(),i=RegExp.prototype;return ai=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(i,u)||t(u,"flags")?u.flags:r(o,u)}}!function(){if(si)return pi;si=1;var r=function(){if(Ho)return Xo;Ho=1;var r=E(),t=Function.prototype,n=t.apply,e=t.call;return Xo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Xo}(),t=I(),n=mr(),e=function(){if(Qo)return Jo;Qo=1,Yo();var r=I(),t=rn(),n=qo(),e=P(),o=ht(),i=Ft(),u=o("species"),a=RegExp.prototype;return Jo=function(c,f,l,s){var p=o(c),v=!e((function(){var r={};return r[p]=function(){return 7},7!==""[c](r)})),d=v&&!e((function(){var r=!1,t=/a/;return"split"===c&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return r=!0,null},t[p](""),!r}));if(!v||!d||l){var h=/./[p],g=f(p,""[c],(function(t,e,o,i,u){var c=e.exec;return c===n||c===a.exec?v&&!u?{done:!0,value:r(h,e,o,i)}:{done:!0,value:r(t,o,e,i)}:{done:!1}}));t(String.prototype,c,g[0]),t(a,p,g[1])}s&&i(a[p],"sham",!0)}}(),o=P(),i=Ct(),u=Pr(),a=Ar(),c=wn(),f=jn(),l=So(),s=xr(),p=vi(),v=_r(),d=di(),h=hi(),g=function(){if(li)return fi;li=1;var r=I(),t=Ct(),n=Pr(),e=wr(),o=qo(),i=TypeError;return fi=function(u,a){var c=u.exec;if(n(c)){var f=r(c,u,a);return null!==f&&t(f),f}if("RegExp"===e(u))return r(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=ht()("replace"),b=Math.max,m=Math.min,w=n([].concat),O=n([].push),j=n("".indexOf),x=n("".slice),S="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");e("replace",(function(n,e,o){var S=A?"$":"$0";return[function(r,n){var o=s(this),i=a(r)?v(r,y):void 0;return i?t(i,r,o,n):t(e,l(o),r,n)},function(t,n){var a=i(this),s=l(t);if("string"==typeof n&&-1===j(n,S)&&-1===j(n,"$<")){var v=o(e,a,s,n);if(v.done)return v.value}var y=u(n);y||(n=l(n));var P,A=l(h(a)),E=-1!==j(A,"g");E&&(P=-1!==j(A,"u"),a.lastIndex=0);for(var I,T=[];null!==(I=g(a,s))&&(O(T,I),E);){""===l(I[0])&&(a.lastIndex=p(s,f(a.lastIndex),P))}for(var C,R="",F=0,k=0;k<T.length;k++){for(var M,$=l((I=T[k])[0]),_=b(m(c(I.index),s.length),0),D=[],B=1;B<I.length;B++)O(D,void 0===(C=I[B])?C:String(C));var N=I.groups;if(y){var z=w([$],D,_,s);void 0!==N&&O(z,N),M=l(r(n,void 0,z))}else M=d($,s,_,D,N,n);_>=F&&(R+=x(s,F,_)+M,F=_+$.length)}return R+x(s,F)}]}),!!o((function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$<a>")}))||!S||A)}();var gi=r.fn.bootstrapTable.utils;function yi(r,t){return"\n <html>\n <head>\n ".concat(t,'\n <style type="text/css" media="print">\n @page {\n size: auto;\n margin: 25px 0 25px 0;\n }\n </style>\n <style type="text/css" media="all">\n table {\n border-collapse: collapse;\n font-size: 12px;\n }\n table, th, td {\n border: 1px solid grey;\n }\n th, td {\n text-align: center;\n vertical-align: middle;\n }\n p {\n font-weight: bold;\n margin-left:20px;\n }\n table {\n width: 94%;\n margin-left: 3%;\n margin-right: 3%;\n }\n div.bs-table-print {\n text-align: center;\n }\n </style>\n </head>\n <title>Print Table</title>\n <body>\n <p>Printed on: ').concat(new Date,' </p>\n <div class="bs-table-print">').concat(r,"</div>\n </body>\n </html>\n ")}Object.assign(r.fn.bootstrapTable.locales,{formatPrint:function(){return"Print"}}),Object.assign(r.fn.bootstrapTable.defaults,r.fn.bootstrapTable.locales),Object.assign(r.fn.bootstrapTable.defaults,{showPrint:!1,printAsFilteredAndSortedOnUI:!0,printSortColumn:void 0,printSortOrder:"asc",printStyles:[],printPageBuilder:function(r,t){return yi(r,t)}}),Object.assign(r.fn.bootstrapTable.columnDefaults,{printFilter:void 0,printIgnore:!1,printFormatter:void 0}),gi.assignIcons(r.fn.bootstrapTable.icons,"print",{glyphicon:"glyphicon-print icon-share",fa:"fa-print",bi:"bi-printer",icon:"icon-printer","material-icons":"print"}),r.BootstrapTable=function(t){function i(){return function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n(this,i,arguments)}return function(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&c(r,t)}(i,t),e(i,[{key:"init",value:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];f(i,"init",this)(t),this.options.showPrint&&(this.mergedCells=[])}},{key:"initToolbar",value:function(){var r=this;this.showToolbar=this.showToolbar||this.options.showPrint,this.options.showPrint&&(this.buttons=Object.assign(this.buttons,{print:{text:this.options.formatPrint(),icon:this.options.icons.print,event:function(){r.doPrint(r.options.printAsFilteredAndSortedOnUI?r.getData():r.options.data.slice(0))},attributes:{"aria-label":this.options.formatPrint(),title:this.options.formatPrint()}}}));for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];f(i,"initToolbar",this)(n)}},{key:"mergeCells",value:function(r){if(f(i,"mergeCells",this)([r]),this.options.showPrint){var t=this.getVisibleFields().indexOf(r.field);gi.hasDetailViewIcon(this.options)&&(t+=1),this.mergedCells.push({row:r.index,col:t,rowspan:+r.rowspan||1,colspan:+r.colspan||1})}}},{key:"doPrint",value:function(t){var n,e=this,i=function(r){return!r.printIgnore&&r.visible},u=function(t,n,o){var i=gi.getItemField(t,o.field,e.options.escape,o.escape),u=gi.calculateObjectValue(o,o.printFormatter||o.formatter,[i,t,n],i);return null==u?e.options.undefinedText:r("<div>").html(u).html()},a=function(r,t){var n,a=e.$el.attr("dir")||"ltr",c=['<table dir="'.concat(a,'"><thead>')],f=o(t);try{for(f.s();!(n=f.n()).done;){var l=n.value;c.push("<tr>");for(var s=0;s<l.length;s++)i(l[s])&&c.push("<th\n ".concat(gi.sprintf(' rowspan="%s"',l[s].rowspan),"\n ").concat(gi.sprintf(' colspan="%s"',l[s].colspan),"\n >").concat(l[s].title,"</th>"));c.push("</tr>")}}catch(r){f.e(r)}finally{f.f()}c.push("</thead><tbody>");var p=[];if(e.mergedCells)for(var v=0;v<e.mergedCells.length;v++)for(var d=e.mergedCells[v],h=0;h<d.rowspan;h++)for(var g=d.row+h,y=0;y<d.colspan;y++){var b=d.col+y;p.push("".concat(g,",").concat(b))}for(var m=0;m<r.length;m++){c.push("<tr>");var w=t.flat(1);w.sort((function(r,t){return r.colspanIndex-t.colspanIndex}));for(var O=0;O<w.length;O++)if(!(w[O].colspanGroup>0)){var j=0,x=0;if(e.mergedCells)for(var S=0;S<e.mergedCells.length;S++){var P=e.mergedCells[S];P.col===O&&P.row===m&&(j=P.rowspan,x=P.colspan)}i(w[O])&&(!p.includes("".concat(m,",").concat(O))||j>0&&x>0)&&(j>0&&x>0?c.push("<td ".concat(gi.sprintf(' rowspan="%s"',j)," ").concat(gi.sprintf(' colspan="%s"',x),">"),u(r[m],m,w[O]),"</td>"):c.push("<td>",u(r[m],m,w[O]),"</td>"))}c.push("</tr>")}if(c.push("</tbody>"),e.options.showFooter){c.push("<footer><tr>");var A,E=o(t);try{for(E.s();!(A=E.n()).done;)for(var I=A.value,T=0;T<I.length;T++)if(i(I)){var C=gi.trToData(I,e.$el.find(">tfoot>tr")),R=gi.calculateObjectValue(I[T],I[T].footerFormatter,[r],C[0]&&C[0][I[T].field]||"");c.push("<th>".concat(R,"</th>"))}}catch(r){E.e(r)}finally{E.f()}c.push("</tr></footer>")}return c.push("</table>"),c.join("")}(t=function(r,t,n){if(!t)return r;var e="asc"!==n;return e=-(+e||-1),r.sort((function(r,n){return e*r[t].localeCompare(n[t])}))}(t=function(r,t){return r.filter((function(r){return function(r,t){for(var n=0;n<t.length;++n)if(r[t[n].colName]!==t[n].value)return!1;return!0}(r,t)}))}(t,(n=this.options.columns)&&n[0]?n[0].filter((function(r){return r.printFilter})).map((function(r){return{colName:r.field,value:r.printFilter}})):[]),this.options.printSortColumn,this.options.printSortOrder),this.options.columns),c=window.open(""),f="string"==typeof this.options.printStyles?this.options.printStyles.replace(/\[|\]| /g,"").toLowerCase().split(","):this.options.printStyles,l=f.map((function(r){return'<link rel="stylesheet" href="'.concat(r,'" />')})).join(""),s=gi.calculateObjectValue(this,this.options.printPageBuilder,[a,l],yi(a,l)),p=function(){c.focus(),c.print(),c.close()};if(c.document.write(s),c.document.close(),f.length){var v=document.getElementsByTagName("link");v[v.length-1].onload=p}else p()}}])}(r.BootstrapTable)}));
+!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((r="undefined"!=typeof globalThis?globalThis:r||self).jQuery)}(this,function(r){"use strict";function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e}function n(r,t,n){return t=u(t),function(r,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(r)}(r,a()?Reflect.construct(t,n||[],u(r).constructor):t.apply(r,n))}function e(r,t,n){return t&&function(r,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(r,l(e.key),e)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function o(r,n){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!e){if(Array.isArray(r)||(e=function(r,n){if(r){if("string"==typeof r)return t(r,n);var e={}.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r))||n){e&&(r=e);var o=0,i=function(){};return{s:i,n:function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){e=e.call(r)},n:function(){var r=e.next();return a=r.done,r},e:function(r){c=!0,u=r},f:function(){try{a||null==e.return||e.return()}finally{if(c)throw u}}}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(r,t,n){var e=function(r,t){for(;!{}.hasOwnProperty.call(r,t)&&null!==(r=u(r)););return r}(r,t);if(e){var o=Object.getOwnPropertyDescriptor(e,t);return o.get?o.get.call(arguments.length<3?r:n):o.value}},i.apply(null,arguments)}function u(r){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},u(r)}function a(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(a=function(){return!!r})()}function c(r,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},c(r,t)}function f(r,t,n,e){var o=i(u(r.prototype),t,n);return"function"==typeof o?function(r){return o.apply(n,r)}:o}function l(r){var t=function(r,t){if("object"!=typeof r||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t);if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r,"string");return"symbol"==typeof t?t:t+""}var s,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d={};function h(){if(p)return s;p=1;var r=function(r){return r&&r.Math===Math&&r};return s=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof v&&v)||r("object"==typeof s&&s)||function(){return this}()||Function("return this")()}var g,y,b,m,w,O,x,j,S={};function P(){return y?g:(y=1,g=function(r){try{return!!r()}catch(r){return!0}})}function E(){if(m)return b;m=1;var r=P();return b=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function A(){if(O)return w;O=1;var r=P();return w=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function T(){if(j)return x;j=1;var r=A(),t=Function.prototype.call;return x=r?t.bind(t):function(){return t.apply(t,arguments)},x}var I,C,R,F,k,M,$,_,D,B,N,z,L,U,G,K,V,W,q,Y,J,X,H,Q,Z,rr,tr,nr,er,or,ir,ur,ar,cr,fr,lr,sr,pr,vr,dr,hr,gr={};function yr(){if(I)return gr;I=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return gr.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,gr}function br(){return R?C:(R=1,C=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function mr(){if(k)return F;k=1;var r=A(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return F=r?e:function(r){return function(){return n.apply(r,arguments)}},F}function wr(){if($)return M;$=1;var r=mr(),t=r({}.toString),n=r("".slice);return M=function(r){return n(t(r),8,-1)}}function Or(){if(D)return _;D=1;var r=mr(),t=P(),n=wr(),e=Object,o=r("".split);return _=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?o(r,""):e(r)}:e}function xr(){return N?B:(N=1,B=function(r){return null==r})}function jr(){if(L)return z;L=1;var r=xr(),t=TypeError;return z=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Sr(){if(G)return U;G=1;var r=Or(),t=jr();return U=function(n){return r(t(n))}}function Pr(){if(V)return K;V=1;var r="object"==typeof document&&document.all;return K=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function Er(){if(q)return W;q=1;var r=Pr();return W=function(t){return"object"==typeof t?null!==t:r(t)}}function Ar(){if(J)return Y;J=1;var r=h(),t=Pr();return Y=function(n,e){return arguments.length<2?(o=r[n],t(o)?o:void 0):r[n]&&r[n][e];var o},Y}function Tr(){if(H)return X;H=1;var r=mr();return X=r({}.isPrototypeOf)}function Ir(){if(Z)return Q;Z=1;var r=h().navigator,t=r&&r.userAgent;return Q=t?String(t):""}function Cr(){if(tr)return rr;tr=1;var r,t,n=h(),e=Ir(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(t=(r=a.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),rr=t}function Rr(){if(er)return nr;er=1;var r=Cr(),t=P(),n=h().String;return nr=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function Fr(){if(ir)return or;ir=1;var r=Rr();return or=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function kr(){if(ar)return ur;ar=1;var r=Ar(),t=Pr(),n=Tr(),e=Fr(),o=Object;return ur=e?function(r){return"symbol"==typeof r}:function(e){var i=r("Symbol");return t(i)&&n(i.prototype,o(e))}}function Mr(){if(fr)return cr;fr=1;var r=String;return cr=function(t){try{return r(t)}catch(r){return"Object"}}}function $r(){if(sr)return lr;sr=1;var r=Pr(),t=Mr(),n=TypeError;return lr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function _r(){if(vr)return pr;vr=1;var r=$r(),t=xr();return pr=function(n,e){var o=n[e];return t(o)?void 0:r(o)}}function Dr(){if(hr)return dr;hr=1;var r=T(),t=Pr(),n=Er(),e=TypeError;return dr=function(o,i){var u,a;if("string"===i&&t(u=o.toString)&&!n(a=r(u,o)))return a;if(t(u=o.valueOf)&&!n(a=r(u,o)))return a;if("string"!==i&&t(u=o.toString)&&!n(a=r(u,o)))return a;throw new e("Can't convert object to primitive value")}}var Br,Nr,zr,Lr,Ur,Gr,Kr,Vr,Wr,qr,Yr,Jr,Xr,Hr,Qr,Zr,rt,tt,nt,et,ot,it,ut,at,ct={exports:{}};function ft(){if(Lr)return zr;Lr=1;var r=h(),t=Object.defineProperty;return zr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function lt(){if(Ur)return ct.exports;Ur=1;var r=Nr?Br:(Nr=1,Br=!1),t=h(),n=ft(),e="__core-js_shared__",o=ct.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ct.exports}function st(){if(Kr)return Gr;Kr=1;var r=lt();return Gr=function(t,n){return r[t]||(r[t]=n||{})}}function pt(){if(Wr)return Vr;Wr=1;var r=jr(),t=Object;return Vr=function(n){return t(r(n))}}function vt(){if(Yr)return qr;Yr=1;var r=mr(),t=pt(),n=r({}.hasOwnProperty);return qr=Object.hasOwn||function(r,e){return n(t(r),e)}}function dt(){if(Xr)return Jr;Xr=1;var r=mr(),t=0,n=Math.random(),e=r(1.1.toString);return Jr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function ht(){if(Qr)return Hr;Qr=1;var r=h(),t=st(),n=vt(),e=dt(),o=Rr(),i=Fr(),u=r.Symbol,a=t("wks"),c=i?u.for||u:u&&u.withoutSetter||e;return Hr=function(r){return n(a,r)||(a[r]=o&&n(u,r)?u[r]:c("Symbol."+r)),a[r]}}function gt(){if(rt)return Zr;rt=1;var r=T(),t=Er(),n=kr(),e=_r(),o=Dr(),i=ht(),u=TypeError,a=i("toPrimitive");return Zr=function(i,c){if(!t(i)||n(i))return i;var f,l=e(i,a);if(l){if(void 0===c&&(c="default"),f=r(l,i,c),!t(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function yt(){if(nt)return tt;nt=1;var r=gt(),t=kr();return tt=function(n){var e=r(n,"string");return t(e)?e:e+""}}function bt(){if(ot)return et;ot=1;var r=h(),t=Er(),n=r.document,e=t(n)&&t(n.createElement);return et=function(r){return e?n.createElement(r):{}}}function mt(){if(ut)return it;ut=1;var r=E(),t=P(),n=bt();return it=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function wt(){if(at)return S;at=1;var r=E(),t=T(),n=yr(),e=br(),o=Sr(),i=yt(),u=vt(),a=mt(),c=Object.getOwnPropertyDescriptor;return S.f=r?c:function(r,f){if(r=o(r),f=i(f),a)try{return c(r,f)}catch(r){}if(u(r,f))return e(!t(n.f,r,f),r[f])},S}var Ot,xt,jt,St,Pt,Et,At,Tt={};function It(){if(xt)return Ot;xt=1;var r=E(),t=P();return Ot=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Ct(){if(St)return jt;St=1;var r=Er(),t=String,n=TypeError;return jt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Rt(){if(Pt)return Tt;Pt=1;var r=E(),t=mt(),n=It(),e=Ct(),o=yt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",l="writable";return Tt.f=r?n?function(r,t,n){if(e(r),t=o(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var i=a(r,t);i&&i[l]&&(r[t]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:c in n?n[c]:i[c],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=o(n),e(a),t)try{return u(r,n,a)}catch(r){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(r[n]=a.value),r},Tt}function Ft(){if(At)return Et;At=1;var r=E(),t=Rt(),n=br();return Et=r?function(r,e,o){return t.f(r,e,n(1,o))}:function(r,t,n){return r[t]=n,r}}var kt,Mt,$t,_t,Dt,Bt,Nt,zt,Lt,Ut,Gt,Kt,Vt,Wt,qt,Yt={exports:{}};function Jt(){if(_t)return $t;_t=1;var r=mr(),t=Pr(),n=lt(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),$t=n.inspectSource}function Xt(){if(zt)return Nt;zt=1;var r=st(),t=dt(),n=r("keys");return Nt=function(r){return n[r]||(n[r]=t(r))}}function Ht(){return Ut?Lt:(Ut=1,Lt={})}function Qt(){if(Kt)return Gt;Kt=1;var r,t,n,e=function(){if(Bt)return Dt;Bt=1;var r=h(),t=Pr(),n=r.WeakMap;return Dt=t(n)&&/native code/.test(String(n))}(),o=h(),i=Er(),u=Ft(),a=vt(),c=lt(),f=Xt(),l=Ht(),s="Object already initialized",p=o.TypeError,v=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new v);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new p(s);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var g=f("state");l[g]=!0,r=function(r,t){if(a(r,g))throw new p(s);return t.facade=r,u(r,g,t),t},t=function(r){return a(r,g)?r[g]:{}},n=function(r){return a(r,g)}}return Gt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!i(n)||(e=t(n)).type!==r)throw new p("Incompatible receiver, "+r+" required");return e}}}}function Zt(){if(Vt)return Yt.exports;Vt=1;var r=mr(),t=P(),n=Pr(),e=vt(),o=E(),i=function(){if(Mt)return kt;Mt=1;var r=E(),t=vt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!r||r&&e(n,"name").configurable);return kt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Jt(),a=Qt(),c=a.enforce,f=a.get,l=String,s=Object.defineProperty,p=r("".slice),v=r("".replace),d=r([].join),h=o&&!t(function(){return 8!==s(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=Yt.exports=function(r,t,n){"Symbol("===p(l(t),0,7)&&(t="["+v(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||i&&r.name!==t)&&(o?s(r,"name",{value:t,configurable:!0}):r.name=t),h&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=c(r);return e(u,"source")||(u.source=d(g,"string"==typeof t?t:"")),r};return Function.prototype.toString=y(function(){return n(this)&&f(this).source||u(this)},"toString"),Yt.exports}function rn(){if(qt)return Wt;qt=1;var r=Pr(),t=Rt(),n=Zt(),e=ft();return Wt=function(o,i,u,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:i;if(r(u)&&n(u,f,a),a.global)c?o[i]=u:e(i,u);else{try{a.unsafe?o[i]&&(c=!0):delete o[i]}catch(r){}c?o[i]=u:t.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var tn,nn,en,on,un,an,cn,fn,ln,sn,pn,vn,dn,hn,gn,yn,bn,mn={};function wn(){if(on)return en;on=1;var r=function(){if(nn)return tn;nn=1;var r=Math.ceil,t=Math.floor;return tn=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return en=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function On(){if(an)return un;an=1;var r=wn(),t=Math.max,n=Math.min;return un=function(e,o){var i=r(e);return i<0?t(i+o,0):n(i,o)}}function xn(){if(fn)return cn;fn=1;var r=wn(),t=Math.min;return cn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function jn(){if(sn)return ln;sn=1;var r=xn();return ln=function(t){return r(t.length)}}function Sn(){if(vn)return pn;vn=1;var r=Sr(),t=On(),n=jn(),e=function(e){return function(o,i,u){var a=r(o),c=n(a);if(0===c)return!e&&-1;var f,l=t(u,c);if(e&&i!=i){for(;c>l;)if((f=a[l++])!=f)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===i)return e||l||0;return!e&&-1}};return pn={includes:e(!0),indexOf:e(!1)}}function Pn(){if(hn)return dn;hn=1;var r=mr(),t=vt(),n=Sr(),e=Sn().indexOf,o=Ht(),i=r([].push);return dn=function(r,u){var a,c=n(r),f=0,l=[];for(a in c)!t(o,a)&&t(c,a)&&i(l,a);for(;u.length>f;)t(c,a=u[f++])&&(~e(l,a)||i(l,a));return l}}function En(){return yn?gn:(yn=1,gn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var An,Tn,In,Cn,Rn,Fn,kn,Mn,$n,_n,Dn,Bn,Nn,zn,Ln,Un,Gn,Kn,Vn,Wn,qn,Yn,Jn,Xn,Hn,Qn,Zn,re,te,ne,ee={};function oe(){return An||(An=1,ee.f=Object.getOwnPropertySymbols),ee}function ie(){if(In)return Tn;In=1;var r=Ar(),t=mr(),n=function(){if(bn)return mn;bn=1;var r=Pn(),t=En().concat("length","prototype");return mn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},mn}(),e=oe(),o=Ct(),i=t([].concat);return Tn=r("Reflect","ownKeys")||function(r){var t=n.f(o(r)),u=e.f;return u?i(t,u(r)):t}}function ue(){if(Rn)return Cn;Rn=1;var r=vt(),t=ie(),n=wt(),e=Rt();return Cn=function(o,i,u){for(var a=t(i),c=e.f,f=n.f,l=0;l<a.length;l++){var s=a[l];r(o,s)||u&&r(u,s)||c(o,s,f(i,s))}}}function ae(){if($n)return Mn;$n=1;var r=h(),t=wt().f,n=Ft(),e=rn(),o=ft(),i=ue(),u=function(){if(kn)return Fn;kn=1;var r=P(),t=Pr(),n=/#|\.prototype\./,e=function(n,e){var c=i[o(n)];return c===a||c!==u&&(t(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return Fn=e}();return Mn=function(a,c){var f,l,s,p,v,d=a.target,h=a.global,g=a.stat;if(f=h?r:g?r[d]||o(d,{}):r[d]&&r[d].prototype)for(l in c){if(p=c[l],s=a.dontCallGetSet?(v=t(f,l))&&v.value:f[l],!u(h?l:d+(g?".":"#")+l,a.forced)&&void 0!==s){if(typeof p==typeof s)continue;i(p,s)}(a.sham||s&&s.sham)&&n(p,"sham",!0),e(f,l,p,a)}}}function ce(){if(Dn)return _n;Dn=1;var r=wr();return _n=Array.isArray||function(t){return"Array"===r(t)}}function fe(){if(Nn)return Bn;Nn=1;var r=TypeError;return Bn=function(t){if(t>9007199254740991)throw new r("Maximum allowed index exceeded");return t}}function le(){if(Ln)return zn;Ln=1;var r=E(),t=Rt(),n=br();return zn=function(e,o,i){r?t.f(e,o,n(0,i)):e[o]=i}}function se(){if(Gn)return Un;Gn=1;var r=E(),t=ce(),n=TypeError,e=Object.getOwnPropertyDescriptor,o=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Un=o?function(r,o){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=o}:function(r,t){return r.length=t}}function pe(){if(Vn)return Kn;Vn=1;var r={};return r[ht()("toStringTag")]="z",Kn="[object z]"===String(r)}function ve(){if(qn)return Wn;qn=1;var r=pe(),t=Pr(),n=wr(),e=ht()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Wn=r?n:function(r){var u,a,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(r){}}(u=o(r),e))?a:i?n(u):"Object"===(c=n(u))&&t(u.callee)?"Arguments":c}}function de(){if(Jn)return Yn;Jn=1;var r=mr(),t=P(),n=Pr(),e=ve(),o=Ar(),i=Jt(),u=function(){},a=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),l=!c.test(u),s=function(r){if(!n(r))return!1;try{return a(u,[],r),!0}catch(r){return!1}},p=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!f(c,i(r))}catch(r){return!0}};return p.sham=!0,Yn=!a||t(function(){var r;return s(s.call)||!s(Object)||!s(function(){r=!0})||r})?p:s}function he(){if(Hn)return Xn;Hn=1;var r=ce(),t=de(),n=Er(),e=ht()("species"),o=Array;return Xn=function(i){var u;return r(i)&&(u=i.constructor,(t(u)&&(u===o||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function ge(){if(Zn)return Qn;Zn=1;var r=he();return Qn=function(t,n){return new(r(t))(0===n?0:n)}}function ye(){if(te)return re;te=1;var r=P(),t=ht(),n=Cr(),e=t("species");return re=function(t){return n>=51||!r(function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo})}}!function(){if(ne)return d;ne=1;var r=ae(),t=P(),n=ce(),e=Er(),o=pt(),i=jn(),u=fe(),a=le(),c=se(),f=ge(),l=ye(),s=ht(),p=Cr(),v=s("isConcatSpreadable"),h=p>=51||!t(function(){var r=[];return r[v]=!1,r.concat()[0]!==r}),g=function(r){if(!e(r))return!1;var t=r[v];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!h||!l("concat")},{concat:function(r){var t,n,e,l,s,p=o(this),v=f(p,0),d=0;for(t=-1,e=arguments.length;t<e;t++)if(g(s=-1===t?p:arguments[t]))for(l=i(s),u(d+l),n=0;n<l;n++,d++)n in s&&a(v,d,s[n]);else u(d+1),a(v,d++,s);return c(v,d),v}})}();var be,me,we,Oe,xe,je,Se,Pe={};function Ee(){if(me)return be;me=1;var r=wr(),t=mr();return be=function(n){if("Function"===r(n))return t(n)}}function Ae(){if(Oe)return we;Oe=1;var r=Ee(),t=$r(),n=A(),e=r(r.bind);return we=function(r,o){return t(r),void 0===o?r:n?e(r,o):function(){return r.apply(o,arguments)}},we}function Te(){if(je)return xe;je=1;var r=Ae(),t=Or(),n=pt(),e=jn(),o=ge(),i=le(),u=function(u){var a=1===u,c=2===u,f=3===u,l=4===u,s=6===u,p=7===u,v=5===u||s;return function(d,h,g){for(var y,b,m=n(d),w=t(m),O=e(w),x=r(h,g),j=0,S=0,P=a?o(d,O):c||p?o(d,0):void 0;O>j;j++)if((v||j in w)&&(b=x(y=w[j],j,m),u))if(a)i(P,j,b);else if(b)switch(u){case 3:return!0;case 5:return y;case 6:return j;case 2:i(P,S++,y)}else switch(u){case 4:return!1;case 7:i(P,S++,y)}return s?-1:f||l?l:P}};return xe={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}!function(){if(Se)return Pe;Se=1;var r=ae(),t=Te().filter;r({target:"Array",proto:!0,forced:!ye()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var Ie,Ce,Re,Fe,ke,Me,$e,_e,De,Be,Ne={},ze={};function Le(){if(Ce)return Ie;Ce=1;var r=Pn(),t=En();return Ie=Object.keys||function(n){return r(n,t)}}function Ue(){if(ke)return Fe;ke=1;var r=Ar();return Fe=r("document","documentElement")}function Ge(){if($e)return Me;$e=1;var r,t=Ct(),n=function(){if(Re)return ze;Re=1;var r=E(),t=It(),n=Rt(),e=Ct(),o=Sr(),i=Le();return ze.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,a=o(t),c=i(t),f=c.length,l=0;f>l;)n.f(r,u=c[l++],a[u]);return r},ze}(),e=En(),o=Ht(),i=Ue(),u=bt(),a=Xt(),c="prototype",f="script",l=a("IE_PROTO"),s=function(){},p=function(r){return"<"+f+">"+r+"</"+f+">"},v=function(r){r.write(p("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,o;d="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),o="java"+f+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):v(r);for(var a=e.length;a--;)delete d[c][e[a]];return d()};return o[l]=!0,Me=Object.create||function(r,e){var o;return null!==r?(s[c]=t(r),o=new s,s[c]=null,o[l]=r):o=d(),void 0===e?o:n.f(o,e)}}function Ke(){if(De)return _e;De=1;var r=ht(),t=Ge(),n=Rt().f,e=r("unscopables"),o=Array.prototype;return void 0===o[e]&&n(o,e,{configurable:!0,value:t(null)}),_e=function(r){o[e][r]=!0}}!function(){if(Be)return Ne;Be=1;var r=ae(),t=Te().find,n=Ke(),e="find",o=!0;e in[]&&Array(1)[e](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{find:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),n(e)}();var Ve,We,qe,Ye={};!function(){if(qe)return Ye;qe=1;var r=ae(),t=function(){if(We)return Ve;We=1;var r=ce(),t=jn(),n=fe(),e=Ae(),o=le(),i=function(u,a,c,f,l,s,p,v){for(var d,h,g=l,y=0,b=!!p&&e(p,v);y<f;)y in c&&(d=b?b(c[y],y,a):c[y],s>0&&r(d)?(h=t(d),g=i(u,a,d,h,g,s-1)-1):(n(g+1),o(u,g,d)),g++),y++;return g};return Ve=i}(),n=pt(),e=jn(),o=wn(),i=ge();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),a=e(u),c=void 0===r?1:o(r),f=i(u,0);return t(f,u,u,a,0,c),f}})}();var Je,Xe={};!function(){if(Je)return Xe;Je=1;var r=ae(),t=Sn().includes,n=P(),e=Ke(),o=n(function(){return!Array(1).includes()}),i=n(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:o||i},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var He,Qe,Ze,ro={};function to(){if(Qe)return He;Qe=1;var r=P();return He=function(t,n){var e=[][t];return!!e&&r(function(){e.call(null,n||function(){return 1},1)})}}!function(){if(Ze)return ro;Ze=1;var r=ae(),t=Ee(),n=Sn().indexOf,e=to(),o=t([].indexOf),i=!!o&&1/o([1],1,-0)<0;r({target:"Array",proto:!0,forced:i||!e("indexOf")},{indexOf:function(r){var t=arguments.length>1?arguments[1]:void 0;return i?o(this,r,t)||0:n(this,r,t)}})}();var no,eo={};!function(){if(no)return eo;no=1;var r=ae(),t=Te().map;r({target:"Array",proto:!0,forced:!ye()("map")},{map:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var oo,io,uo,ao={};function co(){if(io)return oo;io=1;var r=mr();return oo=r([].slice)}!function(){if(uo)return ao;uo=1;var r=ae(),t=ce(),n=de(),e=Er(),o=On(),i=jn(),u=Sr(),a=le(),c=se(),f=ht(),l=ye(),s=co(),p=l("slice"),v=f("species"),d=Array,h=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(r,f){var l,p,g,y=u(this),b=i(y),m=o(r,b),w=o(void 0===f?b:f,b);if(t(y)&&(l=y.constructor,(n(l)&&(l===d||t(l.prototype))||e(l)&&null===(l=l[v]))&&(l=void 0),l===d||void 0===l))return s(y,m,w);for(p=new(void 0===l?d:l)(h(w-m,0)),g=0;m<w;m++,g++)m in y&&a(p,g,y[m]);return c(p,g),p}})}();var fo,lo,so,po,vo,ho,go,yo,bo,mo,wo,Oo,xo,jo={};function So(){if(lo)return fo;lo=1;var r=Mr(),t=TypeError;return fo=function(n,e){if(!delete n[e])throw new t("Cannot delete property "+r(e)+" of "+r(n))}}function Po(){if(po)return so;po=1;var r=ve(),t=String;return so=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}!function(){if(xo)return jo;xo=1;var r=ae(),t=mr(),n=$r(),e=pt(),o=jn(),i=So(),u=Po(),a=P(),c=function(){if(ho)return vo;ho=1;var r=co(),t=Math.floor,n=function(e,o){var i=e.length;if(i<8)for(var u,a,c=1;c<i;){for(a=c,u=e[c];a&&o(e[a-1],u)>0;)e[a]=e[--a];a!==c++&&(e[a]=u)}else for(var f=t(i/2),l=n(r(e,0,f),o),s=n(r(e,f),o),p=l.length,v=s.length,d=0,h=0;d<p||h<v;)e[d+h]=d<p&&h<v?o(l[d],s[h])<=0?l[d++]:s[h++]:d<p?l[d++]:s[h++];return e};return vo=n}(),f=to(),l=function(){if(yo)return go;yo=1;var r=Ir().match(/firefox\/(\d+)/i);return go=!!r&&+r[1]}(),s=function(){if(mo)return bo;mo=1;var r=Ir();return bo=/MSIE|Trident/.test(r)}(),p=Cr(),v=function(){if(Oo)return wo;Oo=1;var r=Ir().match(/AppleWebKit\/(\d+)\./);return wo=!!r&&+r[1]}(),d=[],h=t(d.sort),g=t(d.push),y=a(function(){d.sort(void 0)}),b=a(function(){d.sort(null)}),m=f("sort"),w=!a(function(){if(p)return p<70;if(!(l&&l>3)){if(s)return!0;if(v)return v<603;var r,t,n,e,o="";for(r=65;r<76;r++){switch(t=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(e=0;e<47;e++)d.push({k:t+e,v:n})}for(d.sort(function(r,t){return t.v-r.v}),e=0;e<d.length;e++)t=d[e].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}});r({target:"Array",proto:!0,forced:y||!b||!m||!w},{sort:function(r){void 0!==r&&n(r);var t=e(this);if(w)return void 0===r?h(t):h(t,r);var a,f,l=[],s=o(t);for(f=0;f<s;f++)f in t&&g(l,t[f]);for(c(l,function(r){return function(t,n){if(void 0===n)return-1;if(void 0===t)return 1;if(void 0!==r)return+r(t,n)||0;var e=u(t),o=u(n);return e===o?0:e>o?1:-1}}(r)),a=o(l),f=0;f<a;)t[f]=l[f++];for(;f<s;)i(t,f++);return t}})}();var Eo;Eo||(Eo=1,Ke()("flat"));var Ao,To,Io,Co={};!function(){if(Io)return Co;Io=1;var r=ae(),t=function(){if(To)return Ao;To=1;var r=E(),t=mr(),n=T(),e=P(),o=Le(),i=oe(),u=yr(),a=pt(),c=Or(),f=Object.assign,l=Object.defineProperty,s=t([].concat);return Ao=!f||e(function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},e=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[e]=7,i.split("").forEach(function(r){n[r]=r}),7!==f({},t)[e]||o(f({},n)).join("")!==i})?function(t,e){for(var f=a(t),l=arguments.length,p=1,v=i.f,d=u.f;l>p;)for(var h,g=c(arguments[p++]),y=v?s(o(g),v(g)):o(g),b=y.length,m=0;b>m;)h=y[m++],r&&!n(d,g,h)||(f[h]=g[h]);return f}:f,Ao}();r({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t})}();var Ro,Fo,ko,Mo={};!function(){if(ko)return Mo;ko=1;var r=pe(),t=rn(),n=function(){if(Fo)return Ro;Fo=1;var r=pe(),t=ve();return Ro=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var $o,_o,Do,Bo,No,zo,Lo,Uo,Go,Ko,Vo,Wo={};function qo(){if(_o)return $o;_o=1;var r=Ct();return $o=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function Yo(){if(Ko)return Go;Ko=1;var r,t,n=T(),e=mr(),o=Po(),i=qo(),u=function(){if(Bo)return Do;Bo=1;var r=P(),t=h().RegExp,n=r(function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")}),e=n||r(function(){return!t("a","y").sticky}),o=n||r(function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")});return Do={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),a=st(),c=Ge(),f=Qt().get,l=function(){if(zo)return No;zo=1;var r=P(),t=h().RegExp;return No=r(function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)})}(),s=function(){if(Uo)return Lo;Uo=1;var r=P(),t=h().RegExp;return Lo=r(function(){var r=t("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})}(),p=a("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,d=v,g=e("".charAt),y=e("".indexOf),b=e("".replace),m=e("".slice),w=(t=/b*/g,n(v,r=/a/,"a"),n(v,t,"a"),0!==r.lastIndex||0!==t.lastIndex),O=u.BROKEN_CARET,x=void 0!==/()??/.exec("")[1],j=function(r,t){for(var n=r.groups=c(null),e=0;e<t.length;e++){var o=t[e];n[o[0]]=r[o[1]]}};return(w||x||O||l||s)&&(d=function(r){var t,e,u,a=this,c=f(a),l=o(r),s=c.raw;if(s)return s.lastIndex=a.lastIndex,t=n(d,s,l),a.lastIndex=s.lastIndex,t&&c.groups&&j(t,c.groups),t;var h=c.groups,S=O&&a.sticky,P=n(i,a),E=a.source,A=0,T=l;if(S){P=b(P,"y",""),-1===y(P,"g")&&(P+="g"),T=m(l,a.lastIndex);var I=a.lastIndex>0&&g(l,a.lastIndex-1);a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==I&&"\r"!==I&&"\u2028"!==I&&"\u2029"!==I)&&(E="(?: (?:"+E+"))",T=" "+T,A++),e=new RegExp("^(?:"+E+")",P)}x&&(e=new RegExp("^"+E+"$(?!\\s)",P)),w&&(u=a.lastIndex);var C=n(v,S?e:a,T);return S?C?(C.input=l,C[0]=m(C[0],A),C.index=a.lastIndex,a.lastIndex+=C[0].length):a.lastIndex=0:w&&C&&(a.lastIndex=a.global?C.index+C[0].length:u),x&&C&&C.length>1&&n(p,C[0],e,function(){for(var r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(C[r]=void 0)}),C&&h&&j(C,h),C}),Go=d}function Jo(){if(Vo)return Wo;Vo=1;var r=ae(),t=Yo();return r({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),Wo}Jo();var Xo,Ho,Qo,Zo,ri,ti,ni,ei,oi,ii,ui,ai,ci,fi,li,si,pi,vi={};function di(){if(ei)return ni;ei=1;var r=function(){if(ti)return ri;ti=1;var r=mr(),t=wn(),n=Po(),e=jr(),o=r("".charAt),i=r("".charCodeAt),u=r("".slice),a=function(r){return function(a,c){var f,l,s=n(e(a)),p=t(c),v=s.length;return p<0||p>=v?r?"":void 0:(f=i(s,p))<55296||f>56319||p+1===v||(l=i(s,p+1))<56320||l>57343?r?o(s,p):f:r?u(s,p,p+2):l-56320+(f-55296<<10)+65536}};return ri={codeAt:a(!1),charAt:a(!0)}}().charAt;return ni=function(t,n,e){return n+(e&&r(t,n).length||1)}}function hi(){if(ii)return oi;ii=1;var r=mr(),t=pt(),n=Math.floor,e=r("".charAt),o=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return oi=function(r,c,f,l,s,p){var v=f+r.length,d=l.length,h=a;return void 0!==s&&(s=t(s),h=u),o(p,h,function(t,o){var u;switch(e(o,0)){case"$":return"$";case"&":return r;case"`":return i(c,0,f);case"'":return i(c,v);case"<":u=s[i(o,1,-1)];break;default:var a=+o;if(0===a)return t;if(a>d){var p=n(a/10);return 0===p?t:p<=d?void 0===l[p-1]?e(o,1):l[p-1]+e(o,1):t}u=l[a-1]}return void 0===u?"":u})}}function gi(){if(fi)return ci;fi=1;var r=T(),t=vt(),n=Tr(),e=function(){if(ai)return ui;ai=1;var r=h(),t=P(),n=r.RegExp,e=!t(function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",o=r?"dgimsy":"gimsy",i=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in r&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==o||e!==o});return ui={correct:e}}(),o=qo(),i=RegExp.prototype;return ci=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(i,u)||t(u,"flags")?u.flags:r(o,u)}}!function(){if(pi)return vi;pi=1;var r=function(){if(Ho)return Xo;Ho=1;var r=A(),t=Function.prototype,n=t.apply,e=t.call;return Xo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Xo}(),t=T(),n=mr(),e=function(){if(Zo)return Qo;Zo=1,Jo();var r=T(),t=rn(),n=Yo(),e=P(),o=ht(),i=Ft(),u=o("species"),a=RegExp.prototype;return Qo=function(c,f,l,s){var p=o(c),v=!e(function(){var r={};return r[p]=function(){return 7},7!==""[c](r)}),d=v&&!e(function(){var r=!1,t=/a/;if("split"===c){var n={};n[u]=function(){return t},(t={constructor:n,flags:""})[p]=/./[p]}return t.exec=function(){return r=!0,null},t[p](""),!r});if(!v||!d||l){var h=/./[p],g=f(p,""[c],function(t,e,o,i,u){var c=e.exec;return c===n||c===a.exec?v&&!u?{done:!0,value:r(h,e,o,i)}:{done:!0,value:r(t,o,e,i)}:{done:!1}});t(String.prototype,c,g[0]),t(a,p,g[1])}s&&i(a[p],"sham",!0)}}(),o=P(),i=Ct(),u=Pr(),a=Er(),c=wn(),f=xn(),l=Po(),s=jr(),p=di(),v=_r(),d=hi(),h=gi(),g=function(){if(si)return li;si=1;var r=T(),t=Ct(),n=Pr(),e=wr(),o=Yo(),i=TypeError;return li=function(u,a){var c=u.exec;if(n(c)){var f=r(c,u,a);return null!==f&&t(f),f}if("RegExp"===e(u))return r(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=ht()("replace"),b=Math.max,m=Math.min,w=n([].concat),O=n([].push),x=n("".indexOf),j=n("".slice),S=function(r){return void 0===r?r:String(r)},E="$0"==="a".replace(/./,"$0"),I=!!/./[y]&&""===/./[y]("a","$0");e("replace",function(n,e,o){var P=I?"$":"$0";return[function(r,n){var o=s(this),i=a(r)?v(r,y):void 0;return i?t(i,r,o,n):t(e,l(o),r,n)},function(t,n){var a=i(this),s=l(t),v=u(n);v||(n=l(n));var y=l(h(a));if("string"==typeof n&&!~x(n,P)&&!~x(n,"$<")&&!~x(y,"y")){var E=o(e,a,s,n);if(E.done)return E.value}var A,T=!!~x(y,"g");T&&(A=!!~x(y,"u")||!!~x(y,"v"),a.lastIndex=0);for(var I,C=[];null!==(I=g(a,s))&&(O(C,I),T);){""===l(I[0])&&(a.lastIndex=p(s,f(a.lastIndex),A))}for(var R="",F=0,k=0;k<C.length;k++){for(var M,$=l((I=C[k])[0]),_=b(m(c(I.index),s.length),0),D=[],B=1;B<I.length;B++)O(D,S(I[B]));var N=I.groups;if(v){var z=w([$],D,_,s);void 0!==N&&O(z,N),M=l(r(n,void 0,z))}else M=d($,s,_,D,N,n);_>=F&&(R+=j(s,F,_)+M,F=_+$.length)}return R+j(s,F)}]},!!o(function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$<a>")})||!E||I)}();var yi=r.fn.bootstrapTable.utils;function bi(r,t){return"\n <html>\n <head>\n ".concat(t,'\n <style type="text/css" media="print">\n @page {\n size: auto;\n margin: 25px 0 25px 0;\n }\n </style>\n <style type="text/css" media="all">\n table {\n border-collapse: collapse;\n font-size: 12px;\n }\n table, th, td {\n border: 1px solid grey;\n }\n th, td {\n text-align: center;\n vertical-align: middle;\n }\n p {\n font-weight: bold;\n margin-left:20px;\n }\n table {\n width: 94%;\n margin-left: 3%;\n margin-right: 3%;\n }\n div.bs-table-print {\n text-align: center;\n }\n </style>\n </head>\n <title>Print Table</title>\n <body>\n <p>Printed on: ').concat(new Date,' </p>\n <div class="bs-table-print">').concat(r,"</div>\n </body>\n </html>\n ")}Object.assign(r.fn.bootstrapTable.locales,{formatPrint:function(){return"Print"}}),Object.assign(r.fn.bootstrapTable.defaults,r.fn.bootstrapTable.locales),Object.assign(r.fn.bootstrapTable.defaults,{showPrint:!1,printAsFilteredAndSortedOnUI:!0,printSortColumn:void 0,printSortOrder:"asc",printStyles:[],printPageBuilder:function(r,t){return bi(r,t)}}),Object.assign(r.fn.bootstrapTable.columnDefaults,{printFilter:void 0,printIgnore:!1,printFormatter:void 0}),yi.assignIcons(r.fn.bootstrapTable.icons,"print",{glyphicon:"glyphicon-print icon-share",fa:"fa-print",bi:"bi-printer",icon:"icon-printer","material-icons":"print"}),r.BootstrapTable=function(t){function i(){return function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n(this,i,arguments)}return function(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&c(r,t)}(i,t),e(i,[{key:"init",value:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];f(i,"init",this)(t),this.options.showPrint&&(this.mergedCells=[])}},{key:"initToolbar",value:function(){var r=this;this.showToolbar=this.showToolbar||this.options.showPrint,this.options.showPrint&&(this.buttons=Object.assign(this.buttons,{print:{text:this.options.formatPrint(),icon:this.options.icons.print,event:function(){r.doPrint(r.options.printAsFilteredAndSortedOnUI?r.getData():r.options.data.slice(0))},attributes:{"aria-label":this.options.formatPrint(),title:this.options.formatPrint()}}}));for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];f(i,"initToolbar",this)(n)}},{key:"mergeCells",value:function(r){if(f(i,"mergeCells",this)([r]),this.options.showPrint){var t=this.getVisibleFields().indexOf(r.field);yi.hasDetailViewIcon(this.options)&&(t+=1),this.mergedCells.push({row:r.index,col:t,rowspan:+r.rowspan||1,colspan:+r.colspan||1})}}},{key:"doPrint",value:function(t){var n,e=this,i=function(r){return!r.printIgnore&&r.visible},u=function(t,n,o){var i=yi.getItemField(t,o.field,e.options.escape,o.escape),u=yi.calculateObjectValue(o,o.printFormatter||o.formatter,[i,t,n],i);return null==u?e.options.undefinedText:r("<div>").html(u).html()},a=function(r,t){var n,a=e.$el.attr("dir")||"ltr",c=['<table dir="'.concat(a,'"><thead>')],f=o(t);try{for(f.s();!(n=f.n()).done;){var l=n.value;c.push("<tr>");for(var s=0;s<l.length;s++)i(l[s])&&c.push("<th\n ".concat(yi.sprintf(' rowspan="%s"',l[s].rowspan),"\n ").concat(yi.sprintf(' colspan="%s"',l[s].colspan),"\n >").concat(l[s].title,"</th>"));c.push("</tr>")}}catch(r){f.e(r)}finally{f.f()}c.push("</thead><tbody>");var p=[];if(e.mergedCells)for(var v=0;v<e.mergedCells.length;v++)for(var d=e.mergedCells[v],h=0;h<d.rowspan;h++)for(var g=d.row+h,y=0;y<d.colspan;y++){var b=d.col+y;p.push("".concat(g,",").concat(b))}for(var m=0;m<r.length;m++){c.push("<tr>");var w=t.flat(1);w.sort(function(r,t){return r.colspanIndex-t.colspanIndex});for(var O=0;O<w.length;O++)if(!(w[O].colspanGroup>0)){var x=0,j=0;if(e.mergedCells)for(var S=0;S<e.mergedCells.length;S++){var P=e.mergedCells[S];P.col===O&&P.row===m&&(x=P.rowspan,j=P.colspan)}i(w[O])&&(!p.includes("".concat(m,",").concat(O))||x>0&&j>0)&&(x>0&&j>0?c.push("<td ".concat(yi.sprintf(' rowspan="%s"',x)," ").concat(yi.sprintf(' colspan="%s"',j),">"),u(r[m],m,w[O]),"</td>"):c.push("<td>",u(r[m],m,w[O]),"</td>"))}c.push("</tr>")}if(c.push("</tbody>"),e.options.showFooter){c.push("<footer><tr>");var E,A=o(t);try{for(A.s();!(E=A.n()).done;)for(var T=E.value,I=0;I<T.length;I++)if(i(T)){var C=yi.trToData(T,e.$el.find(">tfoot>tr").get()),R=yi.calculateObjectValue(T[I],T[I].footerFormatter,[r],C[0]&&C[0][T[I].field]||"");c.push("<th>".concat(R,"</th>"))}}catch(r){A.e(r)}finally{A.f()}c.push("</tr></footer>")}return c.push("</table>"),c.join("")}(t=function(r,t,n){if(!t)return r;var e="asc"!==n;return e=-(+e||-1),r.sort(function(r,n){return e*r[t].localeCompare(n[t])})}(t=function(r,t){return r.filter(function(r){return function(r,t){for(var n=0;n<t.length;++n)if(r[t[n].colName]!==t[n].value)return!1;return!0}(r,t)})}(t,(n=this.options.columns)&&n[0]?n[0].filter(function(r){return r.printFilter}).map(function(r){return{colName:r.field,value:r.printFilter}}):[]),this.options.printSortColumn,this.options.printSortOrder),this.options.columns),c=window.open(""),f="string"==typeof this.options.printStyles?this.options.printStyles.replace(/\[|\]| /g,"").toLowerCase().split(","):this.options.printStyles,l=f.map(function(r){return'<link rel="stylesheet" href="'.concat(r,'" />')}).join(""),s=yi.calculateObjectValue(this,this.options.printPageBuilder,[a,l],bi(a,l)),p=function(){c.focus(),c.print(),c.close()};if(c.document.write(s),c.document.close(),f.length){var v=document.getElementsByTagName("link");v[v.length-1].onload=p}else p()}}])}(r.BootstrapTable)});
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
@@ -29602,7 +31196,7 @@
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -30081,10 +31675,10 @@
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -30437,7 +32031,7 @@
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -30460,7 +32054,7 @@
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -31075,7 +32669,7 @@
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
doesNotExceedSafeInteger = function (it) {
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
return it;
};
return doesNotExceedSafeInteger;
@@ -31098,6 +32692,41 @@
return createProperty;
}
+ var arraySetLength;
+ var hasRequiredArraySetLength;
+
+ function requireArraySetLength () {
+ if (hasRequiredArraySetLength) return arraySetLength;
+ hasRequiredArraySetLength = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var isArray = requireIsArray();
+
+ var $TypeError = TypeError;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+ // Safari < 13 does not throw an error in this case
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
+ // makes no sense without proper strict mode support
+ if (this !== undefined) return true;
+ try {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
+ } catch (error) {
+ return error instanceof TypeError;
+ }
+ }();
+
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
+ throw new $TypeError('Cannot set read only .length');
+ } return O.length = length;
+ } : function (O, length) {
+ return O.length = length;
+ };
+ return arraySetLength;
+ }
+
var toStringTagSupport;
var hasRequiredToStringTagSupport;
@@ -31108,7 +32737,7 @@
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -31301,6 +32930,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var arraySpeciesCreate = requireArraySpeciesCreate();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var wellKnownSymbol = requireWellKnownSymbol();
@@ -31346,7 +32976,7 @@
createProperty(A, n++, E);
}
}
- A.length = n;
+ setArrayLength(A, n);
return A;
}
});
@@ -31404,13 +33034,11 @@
if (hasRequiredArrayIteration) return arrayIteration;
hasRequiredArrayIteration = 1;
var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
var IndexedObject = requireIndexedObject();
var toObject = requireToObject();
var lengthOfArrayLike = requireLengthOfArrayLike();
var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
+ var createProperty = requireCreateProperty();
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
@@ -31421,28 +33049,28 @@
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
+ return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
- if (IS_MAP) target[index] = result; // map
+ if (IS_MAP) createProperty(target, index, result); // map
else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
} else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
}
}
}
@@ -31719,6 +33347,7 @@
var lengthOfArrayLike = requireLengthOfArrayLike();
var toIndexedObject = requireToIndexedObject();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var wellKnownSymbol = requireWellKnownSymbol();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var nativeSlice = requireArraySlice();
@@ -31755,7 +33384,7 @@
}
result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
- result.length = n;
+ setArrayLength(result, n);
return result;
}
});
@@ -32944,7 +34573,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -33423,10 +35052,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -33779,7 +35408,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -33802,7 +35431,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -34457,7 +36086,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -34609,6 +36238,23 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
return arraySpeciesCreate;
}
+ var createProperty;
+ var hasRequiredCreateProperty;
+
+ function requireCreateProperty () {
+ if (hasRequiredCreateProperty) return createProperty;
+ hasRequiredCreateProperty = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var definePropertyModule = requireObjectDefineProperty();
+ var createPropertyDescriptor = requireCreatePropertyDescriptor();
+
+ createProperty = function (object, key, value) {
+ if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
+ else object[key] = value;
+ };
+ return createProperty;
+ }
+
var arrayIteration;
var hasRequiredArrayIteration;
@@ -34616,13 +36262,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
if (hasRequiredArrayIteration) return arrayIteration;
hasRequiredArrayIteration = 1;
var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
var IndexedObject = requireIndexedObject();
var toObject = requireToObject();
var lengthOfArrayLike = requireLengthOfArrayLike();
var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
+ var createProperty = requireCreateProperty();
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
@@ -34633,28 +36277,28 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
+ return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
- if (IS_MAP) target[index] = result; // map
+ if (IS_MAP) createProperty(target, index, result); // map
else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
} else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
}
}
}
@@ -35115,12 +36759,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
});
}
}, {
- key: "getCaret",
- value: function getCaret() {
+ key: "resetCaret",
+ value: function resetCaret() {
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
args[_key3] = arguments[_key3];
}
- _superPropGet(_class, "getCaret", this)(args);
+ _superPropGet(_class, "resetCaret", this)(args);
if (!this.options.stickyHeader) {
return;
}
@@ -35148,6 +36792,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
value: function renderStickyHeader() {
var _this4 = this;
var that = this;
+ if (!this.$stickyContainer || !this.$stickyContainer.length || !this.$stickyBegin || !this.$stickyBegin.length || !this.$stickyEnd || !this.$stickyEnd.length) {
+ return;
+ }
this.$stickyHeader = this.$header.clone(true, true);
if (this.options.filterControl) {
$(this.$stickyHeader).off('keyup change mouseup').on('keyup change mouse', function (e) {
@@ -35159,8 +36806,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
$coreTh.find('input').val(value);
} else if ($target.is('select')) {
var $select = $coreTh.find('select');
- $select.find('option[selected]').removeAttr('selected');
- $select.find("option[value=\"".concat(value, "\"]")).attr('selected', true);
+ var normalizedValue = value === null ? $select.prop('multiple') ? [] : null : value;
+ $select.val(normalizedValue);
}
that.triggerSearch();
});
@@ -35495,7 +37142,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
functionBindNative = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = (function () { /* empty */ }).bind();
+ var test = function () { /* empty */ }.bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
@@ -35974,10 +37621,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
- version: '3.44.0',
+ version: '3.49.0',
mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
return sharedStore.exports;
@@ -36330,7 +37977,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
functionName = {
@@ -36353,7 +38000,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var functionToString = uncurryThis(Function.toString);
- // this helper broken in `[email protected]`, so we can't use `shared` helper
+ // this helper broken in `core-js [at] 3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
@@ -36968,7 +38615,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
doesNotExceedSafeInteger = function (it) {
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
return it;
};
return doesNotExceedSafeInteger;
@@ -36991,6 +38638,41 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
return createProperty;
}
+ var arraySetLength;
+ var hasRequiredArraySetLength;
+
+ function requireArraySetLength () {
+ if (hasRequiredArraySetLength) return arraySetLength;
+ hasRequiredArraySetLength = 1;
+ var DESCRIPTORS = requireDescriptors();
+ var isArray = requireIsArray();
+
+ var $TypeError = TypeError;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+ // Safari < 13 does not throw an error in this case
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
+ // makes no sense without proper strict mode support
+ if (this !== undefined) return true;
+ try {
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
+ } catch (error) {
+ return error instanceof TypeError;
+ }
+ }();
+
+ arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
+ throw new $TypeError('Cannot set read only .length');
+ } return O.length = length;
+ } : function (O, length) {
+ return O.length = length;
+ };
+ return arraySetLength;
+ }
+
var toStringTagSupport;
var hasRequiredToStringTagSupport;
@@ -37001,7 +38683,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
-
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';
toStringTagSupport = String(test) === '[object z]';
@@ -37194,6 +38876,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var lengthOfArrayLike = requireLengthOfArrayLike();
var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger();
var createProperty = requireCreateProperty();
+ var setArrayLength = requireArraySetLength();
var arraySpeciesCreate = requireArraySpeciesCreate();
var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport();
var wellKnownSymbol = requireWellKnownSymbol();
@@ -37239,7 +38922,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
createProperty(A, n++, E);
}
}
- A.length = n;
+ setArrayLength(A, n);
return A;
}
});
@@ -37297,13 +38980,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
if (hasRequiredArrayIteration) return arrayIteration;
hasRequiredArrayIteration = 1;
var bind = requireFunctionBindContext();
- var uncurryThis = requireFunctionUncurryThis();
var IndexedObject = requireIndexedObject();
var toObject = requireToObject();
var lengthOfArrayLike = requireLengthOfArrayLike();
var arraySpeciesCreate = requireArraySpeciesCreate();
-
- var push = uncurryThis([].push);
+ var createProperty = requireCreateProperty();
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
@@ -37314,28 +38995,28 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
+ return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var resIndex = 0;
+ var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
- if (IS_MAP) target[index] = result; // map
+ if (IS_MAP) createProperty(target, index, result); // map
else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push(target, value); // filter
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: createProperty(target, resIndex++, value); // filter
} else switch (TYPE) {
- case 4: return false; // every
- case 7: push(target, value); // filterReject
+ case 4: return false; // every
+ case 7: createProperty(target, resIndex++, value); // filterReject
}
}
}
@@ -37629,9 +39310,15 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
return !Array(1).includes();
});
+ // Safari 26.4- bug
+ var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
+ // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
+ return [, 1].includes(undefined, 1);
+ });
+
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
- $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
@@ -37696,36 +39383,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
requireEs_array_indexOf();
- var es_array_join = {};
-
- var hasRequiredEs_array_join;
-
- function requireEs_array_join () {
- if (hasRequiredEs_array_join) return es_array_join;
- hasRequiredEs_array_join = 1;
- var $ = require_export();
- var uncurryThis = requireFunctionUncurryThis();
- var IndexedObject = requireIndexedObject();
- var toIndexedObject = requireToIndexedObject();
- var arrayMethodIsStrict = requireArrayMethodIsStrict();
-
- var nativeJoin = uncurryThis([].join);
-
- var ES3_STRINGS = IndexedObject !== Object;
- var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
-
- // `Array.prototype.join` method
- // https://tc39.es/ecma262/#sec-array.prototype.join
- $({ target: 'Array', proto: true, forced: FORCED }, {
- join: function join(separator) {
- return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
- }
- });
- return es_array_join;
- }
-
- requireEs_array_join();
-
var es_object_assign = {};
var objectAssign;
@@ -38142,18 +39799,29 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
+ var setGroups = function (re, groups) {
+ var object = re.groups = create(null);
+ for (var i = 0; i < groups.length; i++) {
+ var group = groups[i];
+ object[group[0]] = re[group[1]];
+ }
+ };
+
if (PATCH) {
patchedExec = function exec(string) {
var re = this;
var state = getInternalState(re);
var str = toString(string);
var raw = state.raw;
- var result, reCopy, lastIndex, match, i, object, group;
+ var result, reCopy, lastIndex;
if (raw) {
raw.lastIndex = re.lastIndex;
result = call(patchedExec, raw, str);
re.lastIndex = raw.lastIndex;
+
+ if (result && state.groups) setGroups(result, state.groups);
+
return result;
}
@@ -38172,8 +39840,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
strCopy = stringSlice(str, re.lastIndex);
// Support anchored sticky behavior.
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
- source = '(?: ' + source + ')';
+ var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
+ if (re.lastIndex > 0 &&
+ (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
+ source = '(?: (?:' + source + '))';
strCopy = ' ' + strCopy;
charsAdded++;
}
@@ -38187,11 +39857,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- match = call(nativeExec, sticky ? reCopy : re, strCopy);
+ var match = call(nativeExec, sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
- match.input = stringSlice(match.input, charsAdded);
+ match.input = str;
match[0] = stringSlice(match[0], charsAdded);
match.index = re.lastIndex;
re.lastIndex += match[0].length;
@@ -38203,19 +39873,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
// Fix browsers whose `exec` methods don't consistently return `undefined`
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
call(nativeReplace, match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
+ for (var i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
});
}
- if (match && groups) {
- match.groups = object = create(null);
- for (i = 0; i < groups.length; i++) {
- group = groups[i];
- object[group[0]] = match[group[1]];
- }
- }
+ if (match && groups) setGroups(match, groups);
return match;
};
@@ -38346,7 +40010,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
function requireFixRegexpWellKnownSymbolLogic () {
if (hasRequiredFixRegexpWellKnownSymbolLogic) return fixRegexpWellKnownSymbolLogic;
hasRequiredFixRegexpWellKnownSymbolLogic = 1;
- // TODO: Remove from `core-js@4` since it's moved to entry points
+ // TODO: Remove from `core-js [at] 4` since it's moved to entry points
requireEs_regexp_exec();
var call = requireFunctionCall();
var defineBuiltIn = requireDefineBuiltIn();
@@ -38364,6 +40028,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
var DELEGATES_TO_SYMBOL = !fails(function () {
// String methods call symbol-named RegExp methods
var O = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
O[SYMBOL] = function () { return 7; };
return ''[KEY](O) !== 7;
});
@@ -38377,12 +40042,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er
// We can't use real regex here since it causes deoptimization
// and serious performance degradation in V8
// https://github.com/zloirock/core-js/issues/306
- re = {};
// RegExp[@@split] doesn't call the regex's exec method, but first creates
// a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- re.flags = '';
+ var constructor = {};
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
+ constructor[SPECIES] = function () { return re; };
+ re = { constructor: constructor, flags: '' };
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
re[SYMBOL] = /./[SYMBOL];
}
diff --git a/public/mix-manifest.json b/public/mix-manifest.json
index 6534c64fb7..b7b23173e7 100644
--- a/public/mix-manifest.json
+++ b/public/mix-manifest.json
@@ -3,7 +3,7 @@
"/css/build/overrides.css": "/css/build/overrides.css?id=16fe256cf5d0fde4a90b8f25d568d2e9",
"/css/build/app.css": "/css/build/app.css?id=14c6718b5e08303d312c4493f453e492",
"/css/build/AdminLTE.css": "/css/build/AdminLTE.css?id=ee0ed88465dd878588ed044eefb67723",
- "/css/dist/all.css": "/css/dist/all.css?id=99577ae0e3df6ec801a37d747cb6c3d7",
+ "/css/dist/all.css": "/css/dist/all.css?id=a0e52daa97c6a3d130d08e3501a00d93",
"/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7",
"/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced1cf5f13147f7",
"/js/select2/i18n/af.js": "/js/select2/i18n/af.js?id=4f6fcd73488ce79fae1b7a90aceaecde",
@@ -74,9 +74,9 @@
"/css/webfonts/fa-solid-900.woff2": "/css/webfonts/fa-solid-900.woff2?id=109ad919b74a62a8a223361da1651bbc",
"/css/webfonts/fa-v4compatibility.ttf": "/css/webfonts/fa-v4compatibility.ttf?id=53c2e50ef821f7b8dd514611d5e0772c",
"/css/webfonts/fa-v4compatibility.woff2": "/css/webfonts/fa-v4compatibility.woff2?id=331c85bd61ffa93af09273d1bc2add5a",
- "/js/dist/bootstrap-table-locale-all.min.js": "/js/dist/bootstrap-table-locale-all.min.js?id=d300041b9e5038b45b68e036add83be4",
- "/js/dist/bootstrap-table-en-US.min.js": "/js/dist/bootstrap-table-en-US.min.js?id=6d0de12d91548ba2cd80b868838ce5fa",
+ "/js/dist/bootstrap-table-locale-all.min.js": "/js/dist/bootstrap-table-locale-all.min.js?id=c6c5181f9886194d4a31d0acf144deed",
+ "/js/dist/bootstrap-table-en-US.min.js": "/js/dist/bootstrap-table-en-US.min.js?id=8f5336cdfecc697d8b4f72e0efdfc08e",
"/js/dist/Chart.min.js": "/js/dist/Chart.min.js?id=9b1ae20c4c7048d6e4a1b2e1aee7fb31",
- "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=82b56573f8098e439bf14ccb4530de6e",
- "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=e1531ba4cea2a4a3b966751c2870a8e0"
+ "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=f399a1e8867eeb67b2c545ffe3bb1c39",
+ "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=a82221656bb8996330fdf50d2615f824"
}