!function(e){e.widget("akottr.dragtable",{options:{revert:!1,dragHandle:".table-handle",maxMovingRows:40,excludeFooter:!1,onlyHeaderThreshold:100,dragaccept:null,persistState:null,restoreState:null,exact:!0,clickDelay:10,containment:null,cursor:"move",cursorAt:!1,distance:0,tolerance:"pointer",axis:"x",beforeStart:e.noop,beforeMoving:e.noop,beforeReorganize:e.noop,beforeStop:e.noop},originalTable:{el:null,selectedHandle:null,sortOrder:null,startIndex:0,endIndex:0},sortableTable:{el:e(),selectedHandle:e(),movingRow:e()},persistState:function(){var t=this;this.originalTable.el.find("th").each((function(e){""!==this.id&&(t.originalTable.sortOrder[this.id]=e)})),e.ajax({url:this.options.persistState,data:this.originalTable.sortOrder})},_restoreState:function(t){for(var r in t)this.originalTable.startIndex=e("#"+r).closest("th").prevAll().length+1,this.originalTable.endIndex=parseInt(t[r],10)+1,this._bubbleCols()},_bubbleCols:function(){var e,t,r,o,i=this.originalTable.startIndex,a=this.originalTable.endIndex,s=this.originalTable.el.children();if(this.options.excludeFooter&&(s=s.not("tfoot")),i tr > td:nth-child("+e+")").add(s.find("> tr > th:nth-child("+e+")")),o=s.find("> tr > td:nth-child("+(e+1)+")").add(s.find("> tr > th:nth-child("+(e+1)+")")),t=0;ta;e--)for(r=s.find("> tr > td:nth-child("+e+")").add(s.find("> tr > th:nth-child("+e+")")),o=s.find("> tr > td:nth-child("+(e-1)+")").add(s.find("> tr > th:nth-child("+(e-1)+")")),t=0;t tr > th").each((function(t,r){var n=e(this).is(":visible")?e(this).outerWidth():0;c.push(n),l+=n})),r.options.exact){var f=l-r.originalTable.el.outerWidth();c[0]-=f}var h='
    ';u.find("> tr > th").each((function(t,n){var i=e(this).is(":visible")?e(this).outerWidth():0;h+='
  • ',h+="";var c=u.find("> tr > th:nth-child("+(t+1)+")");r.options.maxMovingRows>1&&(c=c.add(u.find("> tr > td:nth-child("+(t+1)+")").slice(0,r.options.maxMovingRows-1))),c.each((function(t){var r=e(this).clone().wrap("
    ").parent().html();0===r.toLowerCase().indexOf(""),h+="',h+=r,0===r.toLowerCase().indexOf(""),h+=""})),h+="
    ",h+="
  • "})),h+="
",this.sortableTable.el=this.originalTable.el.before(h).prev(),this.sortableTable.el.find("> li > table").each((function(t,r){e(this).css("width",c[t]+"px")})),this.sortableTable.selectedHandle=this.sortableTable.el.find("th .dragtable-handle-selected");var d,p=this.options.dragaccept?"li:has("+this.options.dragaccept+")":"li";this.sortableTable.el.sortable({items:p,stop:this._rearrangeTable(),revert:this.options.revert,tolerance:this.options.tolerance,containment:this.options.containment,cursor:this.options.cursor,cursorAt:this.options.cursorAt,distance:this.options.distance,axis:this.options.axis}),this.originalTable.startIndex=e(t.target).closest("th").prevAll().length+1,this.options.beforeMoving(this.originalTable,this.sortableTable),this.sortableTable.movingRow=this.sortableTable.el.find("> li:nth-child("+this.originalTable.startIndex+")"),d=e(''),e(document.head).append(d),e(document.body).attr("onselectstart","return false;").attr("unselectable","on"),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),this.sortableTable.movingRow.trigger(e.extend(e.Event(t.type),{which:1,clientX:t.clientX,clientY:t.clientY,pageX:t.pageX,pageY:t.pageY,screenX:t.screenX,screenY:t.screenY}));var g=this.sortableTable.el.find(".ui-sortable-placeholder");!g.height()<=0&&g.css("height",this.sortableTable.el.find(".ui-sortable-helper").height()),g.html('
')},bindTo:{},_create:function(){this.originalTable={el:this.element,selectedHandle:e(),sortOrder:{},startIndex:0,endIndex:0},this.bindTo=this.originalTable.el.find("th"),this.options.dragaccept&&(this.bindTo=this.bindTo.filter(this.options.dragaccept)),this.bindTo.find(this.options.dragHandle).length>0&&(this.bindTo=this.bindTo.find(this.options.dragHandle)),null!==this.options.restoreState&&(e.isFunction(this.options.restoreState)?this.options.restoreState(this.originalTable):this._restoreState(this.options.restoreState));var t=this;this.bindTo.mousedown((function(r){1===r.which&&!1!==t.options.beforeStart(t.originalTable)&&(clearTimeout(this.downTimer),this.downTimer=setTimeout((function(){t.originalTable.selectedHandle=e(this),t.originalTable.selectedHandle.addClass("dragtable-handle-selected"),t._generateSortable(r)}),t.options.clickDelay))})).mouseup((function(e){clearTimeout(this.downTimer)}))},redraw:function(){this.destroy(),this._create()},destroy:function(){this.bindTo.unbind("mousedown"),e.Widget.prototype.destroy.apply(this,arguments)}});var t=e(document.body).attr("onselectstart"),r=e(document.body).attr("unselectable");function n(e,t){var r=e.parentNode,n=e.nextSibling===t?e:e.nextSibling;t.parentNode.insertBefore(e,t),r.insertBefore(t,n)}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t(e.jQuery)}(this,(function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},f=function(e){return e&&e.Math==Math&&e},h=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof u&&u)||function(){return this}()||Function("return this")(),d={},p=function(e){try{return!!e()}catch(e){return!0}},g=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!p((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),v=m,b=Function.prototype.call,y=v?b.bind(b):function(){return b.apply(b,arguments)},w={},S={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,A=x&&!S.call({1:2},1);w.f=A?function(e){var t=x(this,e);return!!t&&t.enumerable}:S;var k,T,E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=m,O=Function.prototype,N=O.call,C=_&&O.bind.bind(N,N),R=_?C:function(e){return function(){return N.apply(e,arguments)}},P=R,L=P({}.toString),I=P("".slice),F=function(e){return I(L(e),8,-1)},j=p,D=F,M=Object,B=R("".split),W=j((function(){return!M("z").propertyIsEnumerable(0)}))?function(e){return"String"==D(e)?B(e,""):M(e)}:M,U=function(e){return null==e},H=U,z=TypeError,V=function(e){if(H(e))throw z("Can't call method on "+e);return e},q=W,$=V,G=function(e){return q($(e))},X="object"==typeof document&&document.all,Y={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},K=Y.all,J=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===K}:function(e){return"function"==typeof e},Z=J,Q=Y.all,ee=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Z(e)||e===Q}:function(e){return"object"==typeof e?null!==e:Z(e)},te=h,re=J,ne=function(e){return re(e)?e:void 0},oe=function(e,t){return arguments.length<2?ne(te[e]):te[e]&&te[e][t]},ie=R({}.isPrototypeOf),ae="undefined"!=typeof navigator&&String(navigator.userAgent)||"",se=h,ce=ae,le=se.process,ue=se.Deno,fe=le&&le.versions||ue&&ue.version,he=fe&&fe.v8;he&&(T=(k=he.split("."))[0]>0&&k[0]<4?1:+(k[0]+k[1])),!T&&ce&&(!(k=ce.match(/Edge\/(\d+)/))||k[1]>=74)&&(k=ce.match(/Chrome\/(\d+)/))&&(T=+k[1]);var de=T,pe=de,ge=p,me=!!Object.getOwnPropertySymbols&&!ge((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&pe&&pe<41})),ve=me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,be=oe,ye=J,we=ie,Se=Object,xe=ve?function(e){return"symbol"==typeof e}:function(e){var t=be("Symbol");return ye(t)&&we(t.prototype,Se(e))},Ae=String,ke=function(e){try{return Ae(e)}catch(e){return"Object"}},Te=J,Ee=ke,_e=TypeError,Oe=function(e){if(Te(e))return e;throw _e(Ee(e)+" is not a function")},Ne=Oe,Ce=U,Re=function(e,t){var r=e[t];return Ce(r)?void 0:Ne(r)},Pe=y,Le=J,Ie=ee,Fe=TypeError,je={},De={get exports(){return je},set exports(e){je=e}},Me=h,Be=Object.defineProperty,We=function(e,t){try{Be(Me,e,{value:t,configurable:!0,writable:!0})}catch(r){Me[e]=t}return t},Ue=We,He="__core-js_shared__",ze=h[He]||Ue(He,{}),Ve=ze;(De.exports=function(e,t){return Ve[e]||(Ve[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var qe=V,$e=Object,Ge=function(e){return $e(qe(e))},Xe=Ge,Ye=R({}.hasOwnProperty),Ke=Object.hasOwn||function(e,t){return Ye(Xe(e),t)},Je=R,Ze=0,Qe=Math.random(),et=Je(1..toString),tt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+et(++Ze+Qe,36)},rt=je,nt=Ke,ot=tt,it=me,at=ve,st=h.Symbol,ct=rt("wks"),lt=at?st.for||st:st&&st.withoutSetter||ot,ut=function(e){return nt(ct,e)||(ct[e]=it&&nt(st,e)?st[e]:lt("Symbol."+e)),ct[e]},ft=y,ht=ee,dt=xe,pt=Re,gt=function(e,t){var r,n;if("string"===t&&Le(r=e.toString)&&!Ie(n=Pe(r,e)))return n;if(Le(r=e.valueOf)&&!Ie(n=Pe(r,e)))return n;if("string"!==t&&Le(r=e.toString)&&!Ie(n=Pe(r,e)))return n;throw Fe("Can't convert object to primitive value")},mt=TypeError,vt=ut("toPrimitive"),bt=function(e,t){if(!ht(e)||dt(e))return e;var r,n=pt(e,vt);if(n){if(void 0===t&&(t="default"),r=ft(n,e,t),!ht(r)||dt(r))return r;throw mt("Can't convert object to primitive value")}return void 0===t&&(t="number"),gt(e,t)},yt=bt,wt=xe,St=function(e){var t=yt(e,"string");return wt(t)?t:t+""},xt=ee,At=h.document,kt=xt(At)&&xt(At.createElement),Tt=function(e){return kt?At.createElement(e):{}},Et=Tt,_t=!g&&!p((function(){return 7!=Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a})),Ot=g,Nt=y,Ct=w,Rt=E,Pt=G,Lt=St,It=Ke,Ft=_t,jt=Object.getOwnPropertyDescriptor;d.f=Ot?jt:function(e,t){if(e=Pt(e),t=Lt(t),Ft)try{return jt(e,t)}catch(e){}if(It(e,t))return Rt(!Nt(Ct.f,e,t),e[t])};var Dt={},Mt=g&&p((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Bt=ee,Wt=String,Ut=TypeError,Ht=function(e){if(Bt(e))return e;throw Ut(Wt(e)+" is not an object")},zt=g,Vt=_t,qt=Mt,$t=Ht,Gt=St,Xt=TypeError,Yt=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,Jt="enumerable",Zt="configurable",Qt="writable";Dt.f=zt?qt?function(e,t,r){if($t(e),t=Gt(t),$t(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Qt in r&&!r.writable){var n=Kt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:Zt in r?r.configurable:n.configurable,enumerable:Jt in r?r.enumerable:n.enumerable,writable:!1})}return Yt(e,t,r)}:Yt:function(e,t,r){if($t(e),t=Gt(t),$t(r),Vt)try{return Yt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Xt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var er=Dt,tr=E,rr=g?function(e,t,r){return er.f(e,t,tr(1,r))}:function(e,t,r){return e[t]=r,e},nr={},or={get exports(){return nr},set exports(e){nr=e}},ir=g,ar=Ke,sr=Function.prototype,cr=ir&&Object.getOwnPropertyDescriptor,lr=ar(sr,"name"),ur={EXISTS:lr,PROPER:lr&&"something"===function(){}.name,CONFIGURABLE:lr&&(!ir||ir&&cr(sr,"name").configurable)},fr=J,hr=ze,dr=R(Function.toString);fr(hr.inspectSource)||(hr.inspectSource=function(e){return dr(e)});var pr,gr,mr,vr=hr.inspectSource,br=J,yr=h.WeakMap,wr=br(yr)&&/native code/.test(String(yr)),Sr=tt,xr=je("keys"),Ar=function(e){return xr[e]||(xr[e]=Sr(e))},kr={},Tr=wr,Er=h,_r=ee,Or=rr,Nr=Ke,Cr=ze,Rr=Ar,Pr=kr,Lr="Object already initialized",Ir=Er.TypeError,Fr=Er.WeakMap;if(Tr||Cr.state){var jr=Cr.state||(Cr.state=new Fr);jr.get=jr.get,jr.has=jr.has,jr.set=jr.set,pr=function(e,t){if(jr.has(e))throw Ir(Lr);return t.facade=e,jr.set(e,t),t},gr=function(e){return jr.get(e)||{}},mr=function(e){return jr.has(e)}}else{var Dr=Rr("state");Pr[Dr]=!0,pr=function(e,t){if(Nr(e,Dr))throw Ir(Lr);return t.facade=e,Or(e,Dr,t),t},gr=function(e){return Nr(e,Dr)?e[Dr]:{}},mr=function(e){return Nr(e,Dr)}}var Mr={set:pr,get:gr,has:mr,enforce:function(e){return mr(e)?gr(e):pr(e,{})},getterFor:function(e){return function(t){var r;if(!_r(t)||(r=gr(t)).type!==e)throw Ir("Incompatible receiver, "+e+" required");return r}}},Br=R,Wr=p,Ur=J,Hr=Ke,zr=g,Vr=ur.CONFIGURABLE,qr=vr,$r=Mr.enforce,Gr=Mr.get,Xr=String,Yr=Object.defineProperty,Kr=Br("".slice),Jr=Br("".replace),Zr=Br([].join),Qr=zr&&!Wr((function(){return 8!==Yr((function(){}),"length",{value:8}).length})),en=String(String).split("String"),tn=or.exports=function(e,t,r){"Symbol("===Kr(Xr(t),0,7)&&(t="["+Jr(Xr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Hr(e,"name")||Vr&&e.name!==t)&&(zr?Yr(e,"name",{value:t,configurable:!0}):e.name=t),Qr&&r&&Hr(r,"arity")&&e.length!==r.arity&&Yr(e,"length",{value:r.arity});try{r&&Hr(r,"constructor")&&r.constructor?zr&&Yr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=$r(e);return Hr(n,"source")||(n.source=Zr(en,"string"==typeof t?t:"")),e};Function.prototype.toString=tn((function(){return Ur(this)&&Gr(this).source||qr(this)}),"toString");var rn=J,nn=Dt,on=nr,an=We,sn=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(rn(r)&&on(r,i,n),n.global)o?e[t]=r:an(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:nn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},cn={},ln=Math.ceil,un=Math.floor,fn=Math.trunc||function(e){var t=+e;return(t>0?un:ln)(t)},hn=function(e){var t=+e;return t!=t||0===t?0:fn(t)},dn=hn,pn=Math.max,gn=Math.min,mn=function(e,t){var r=dn(e);return r<0?pn(r+t,0):gn(r,t)},vn=hn,bn=Math.min,yn=function(e){return e>0?bn(vn(e),9007199254740991):0},wn=yn,Sn=function(e){return wn(e.length)},xn=G,An=mn,kn=Sn,Tn=function(e){return function(t,r,n){var o,i=xn(t),a=kn(i),s=An(n,a);if(e&&r!=r){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===r)return e||s||0;return!e&&-1}},En={includes:Tn(!0),indexOf:Tn(!1)},_n=Ke,On=G,Nn=En.indexOf,Cn=kr,Rn=R([].push),Pn=function(e,t){var r,n=On(e),o=0,i=[];for(r in n)!_n(Cn,r)&&_n(n,r)&&Rn(i,r);for(;t.length>o;)_n(n,r=t[o++])&&(~Nn(i,r)||Rn(i,r));return i},Ln=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],In=Pn,Fn=Ln.concat("length","prototype");cn.f=Object.getOwnPropertyNames||function(e){return In(e,Fn)};var jn={};jn.f=Object.getOwnPropertySymbols;var Dn=oe,Mn=cn,Bn=jn,Wn=Ht,Un=R([].concat),Hn=Dn("Reflect","ownKeys")||function(e){var t=Mn.f(Wn(e)),r=Bn.f;return r?Un(t,r(e)):t},zn=Ke,Vn=Hn,qn=d,$n=Dt,Gn=p,Xn=J,Yn=/#|\.prototype\./,Kn=function(e,t){var r=Zn[Jn(e)];return r==eo||r!=Qn&&(Xn(t)?Gn(t):!!t)},Jn=Kn.normalize=function(e){return String(e).replace(Yn,".").toLowerCase()},Zn=Kn.data={},Qn=Kn.NATIVE="N",eo=Kn.POLYFILL="P",to=Kn,ro=h,no=d.f,oo=rr,io=sn,ao=We,so=function(e,t,r){for(var n=Vn(t),o=$n.f,i=qn.f,a=0;ao;)for(var s,c=xo(arguments[o++]),l=i?To(bo(c),i(c)):bo(c),u=l.length,f=0;u>f;)s=l[f++],po&&!mo(a,c,s)||(r[s]=c[s]);return r}:Ao,_o=Eo;lo({target:"Object",stat:!0,arity:2,forced:Object.assign!==_o},{assign:_o});var Oo={};Oo[ut("toStringTag")]="z";var No="[object z]"===String(Oo),Co=No,Ro=J,Po=F,Lo=ut("toStringTag"),Io=Object,Fo="Arguments"==Po(function(){return arguments}()),jo=Co?Po:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Io(e),Lo))?r:Fo?Po(t):"Object"==(n=Po(t))&&Ro(t.callee)?"Arguments":n},Do=jo,Mo=String,Bo=function(e){if("Symbol"===Do(e))throw TypeError("Cannot convert a Symbol value to a string");return Mo(e)},Wo="\t\n\v\f\r                 \u2028\u2029\ufeff",Uo=V,Ho=Bo,zo=Wo,Vo=R("".replace),qo=RegExp("^["+zo+"]+"),$o=RegExp("(^|[^"+zo+"])["+zo+"]+$"),Go=function(e){return function(t){var r=Ho(Uo(t));return 1&e&&(r=Vo(r,qo,"")),2&e&&(r=Vo(r,$o,"$1")),r}},Xo={start:Go(1),end:Go(2),trim:Go(3)},Yo=ur.PROPER,Ko=p,Jo=Wo,Zo=Xo.trim;lo({target:"String",proto:!0,forced:function(e){return Ko((function(){return!!Jo[e]()||"​…᠎"!=="​…᠎"[e]()||Yo&&Jo[e].name!==e}))}("trim")},{trim:function(){return Zo(this)}});var Qo=p,ei=function(e,t){var r=[][e];return!!r&&Qo((function(){r.call(null,t||function(){return 1},1)}))},ti=lo,ri=W,ni=G,oi=ei,ii=R([].join);ti({target:"Array",proto:!0,forced:ri!=Object||!oi("join",",")},{join:function(e){return ii(ni(this),void 0===e?",":e)}});var ai=Ht,si=function(){var e=ai(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ci=p,li=h.RegExp,ui=ci((function(){var e=li("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),fi=ui||ci((function(){return!li("a","y").sticky})),hi={BROKEN_CARET:ui||ci((function(){var e=li("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:fi,UNSUPPORTED_Y:ui},di={},pi=g,gi=Mt,mi=Dt,vi=Ht,bi=G,yi=ho;di.f=pi&&!gi?Object.defineProperties:function(e,t){vi(e);for(var r,n=bi(t),o=yi(t),i=o.length,a=0;i>a;)mi.f(e,r=o[a++],n[r]);return e};var wi,Si=oe("document","documentElement"),xi=Ht,Ai=di,ki=Ln,Ti=kr,Ei=Si,_i=Tt,Oi=Ar("IE_PROTO"),Ni=function(){},Ci=function(e){return"