import{M as ha}from"./ModalDialog.90697371.js";import{n as pa}from"./plugin-vue2_normalizer.ed7092a9.js";import{c as va}from"./_commonjsHelpers.04e31c8c.js";const ba={__name:"EnvironmentMigrationDialog",props:{objectClass:{type:String,required:!0},title:{type:String,required:!0}},setup(dt,{expose:G}){const h=dt;return G({show:function(){$(this.$el).modal("show")}}),{__sfc:!0,props:h,ModalDialog:ha}}};var ga=function(){var G=this,h=G._self._c,X=G._self._setupProxy;return h(X.ModalDialog,{attrs:{id:"modalMigrationGroups",title:G.title}},[h("div",{staticClass:"modal-body text-justify"},[G.objectClass==="group"?[h("p",[h("b",[G._v("This group belongs to more than one user group.")])]),h("p",[G._v(" In temBoard 9.0, we plan to remove the ability to put an instance group in several user groups. Each group of instance will be associated to a single user group. To prepare the upgrade, review your configuration to put this group in a single user group. ")])]:G._e(),G.objectClass==="instance"?[h("p",[h("b",[G._v("This instance belongs to more than one group of instances.")])]),h("p",[G._v(" In temBoard 9.0, we plan to remove the ability to put an instance in several groups of instances. Each instance will be associated to a single group of instances called "),h("em",[G._v("Environment")]),G._v(". To prepare the upgrade, review your configuration to put this instance in a single group of instances. ")]),h("p",[G._v("temBoard 9.0 upgrade will create an "),h("em",[G._v("environment")]),G._v(" per combination of groups of instance.")])]:G._e(),h("p",[G._v(" Read more details and send us feedback on GitHub issue "),h("a",{attrs:{href:"https://github.com/dalibo/temboard/issues/1283"}},[G._v("#1283")]),G._v(". ")]),h("p",{staticClass:"text-left"},[h("em",[G._v("temBoard development team.")])])],2)])},ya=[],ma=pa(ba,ga,ya,!1,null,null,null,null);const Da=ma.exports;var Un={exports:{}},Mn={exports:{}},Bn={exports:{}};/*!
 * jQuery JavaScript Library v3.6.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2022-08-26T17:52Z
 */var Qn;function Zn(){return Qn||(Qn=1,function(dt){(function(G,h){dt.exports=G.document?h(G,!0):function(X){if(!X.document)throw new Error("jQuery requires a window with a document");return h(X)}})(typeof window<"u"?window:va,function(G,h){var X=[],ee=Object.getPrototypeOf,T=X.slice,N=X.flat?function(r){return X.flat.call(r)}:function(r){return X.concat.apply([],r)},ge=X.push,ue=X.indexOf,J={},ye=J.toString,Ge=J.hasOwnProperty,me=Ge.toString,ut=me.call(Object),be={},ne=function(i){return typeof i=="function"&&typeof i.nodeType!="number"&&typeof i.item!="function"},ht=function(i){return i!=null&&i===i.window},z=G.document,at={type:!0,src:!0,nonce:!0,noModule:!0};function It(r,i,s){s=s||z;var e,t,n=s.createElement("script");if(n.text=r,i)for(e in at)t=i[e]||i.getAttribute&&i.getAttribute(e),t&&n.setAttribute(e,t);s.head.appendChild(n).parentNode.removeChild(n)}function it(r){return r==null?r+"":typeof r=="object"||typeof r=="function"?J[ye.call(r)]||"object":typeof r}var g="3.6.1",o=function(r,i){return new o.fn.init(r,i)};o.fn=o.prototype={jquery:g,constructor:o,length:0,toArray:function(){return T.call(this)},get:function(r){return r==null?T.call(this):r<0?this[r+this.length]:this[r]},pushStack:function(r){var i=o.merge(this.constructor(),r);return i.prevObject=this,i},each:function(r){return o.each(this,r)},map:function(r){return this.pushStack(o.map(this,function(i,s){return r.call(i,s,i)}))},slice:function(){return this.pushStack(T.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(r,i){return(i+1)%2}))},odd:function(){return this.pushStack(o.grep(this,function(r,i){return i%2}))},eq:function(r){var i=this.length,s=+r+(r<0?i:0);return this.pushStack(s>=0&&s<i?[this[s]]:[])},end:function(){return this.prevObject||this.constructor()},push:ge,sort:X.sort,splice:X.splice},o.extend=o.fn.extend=function(){var r,i,s,e,t,n,a=arguments[0]||{},u=1,l=arguments.length,f=!1;for(typeof a=="boolean"&&(f=a,a=arguments[u]||{},u++),typeof a!="object"&&!ne(a)&&(a={}),u===l&&(a=this,u--);u<l;u++)if((r=arguments[u])!=null)for(i in r)e=r[i],!(i==="__proto__"||a===e)&&(f&&e&&(o.isPlainObject(e)||(t=Array.isArray(e)))?(s=a[i],t&&!Array.isArray(s)?n=[]:!t&&!o.isPlainObject(s)?n={}:n=s,t=!1,a[i]=o.extend(f,n,e)):e!==void 0&&(a[i]=e));return a},o.extend({expando:"jQuery"+(g+Math.random()).replace(/\D/g,""),isReady:!0,error:function(r){throw new Error(r)},noop:function(){},isPlainObject:function(r){var i,s;return!r||ye.call(r)!=="[object Object]"?!1:(i=ee(r),i?(s=Ge.call(i,"constructor")&&i.constructor,typeof s=="function"&&me.call(s)===ut):!0)},isEmptyObject:function(r){var i;for(i in r)return!1;return!0},globalEval:function(r,i,s){It(r,{nonce:i&&i.nonce},s)},each:function(r,i){var s,e=0;if(C(r))for(s=r.length;e<s&&i.call(r[e],e,r[e])!==!1;e++);else for(e in r)if(i.call(r[e],e,r[e])===!1)break;return r},makeArray:function(r,i){var s=i||[];return r!=null&&(C(Object(r))?o.merge(s,typeof r=="string"?[r]:r):ge.call(s,r)),s},inArray:function(r,i,s){return i==null?-1:ue.call(i,r,s)},merge:function(r,i){for(var s=+i.length,e=0,t=r.length;e<s;e++)r[t++]=i[e];return r.length=t,r},grep:function(r,i,s){for(var e,t=[],n=0,a=r.length,u=!s;n<a;n++)e=!i(r[n],n),e!==u&&t.push(r[n]);return t},map:function(r,i,s){var e,t,n=0,a=[];if(C(r))for(e=r.length;n<e;n++)t=i(r[n],n,s),t!=null&&a.push(t);else for(n in r)t=i(r[n],n,s),t!=null&&a.push(t);return N(a)},guid:1,support:be}),typeof Symbol=="function"&&(o.fn[Symbol.iterator]=X[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(r,i){J["[object "+i+"]"]=i.toLowerCase()});function C(r){var i=!!r&&"length"in r&&r.length,s=it(r);return ne(r)||ht(r)?!1:s==="array"||i===0||typeof i=="number"&&i>0&&i-1 in r}var L=function(r){var i,s,e,t,n,a,u,l,f,c,d,p,v,y,m,x,A,F,H,O="sizzle"+1*new Date,w=r.document,Z=0,B=0,se=wn(),Ye=wn(),rt=wn(),Ae=wn(),ze=function(b,_){return b===_&&(d=!0),0},Ue={}.hasOwnProperty,De=[],Qe=De.pop,Ve=De.push,_e=De.push,Xe=De.slice,Ze=function(b,_){for(var D=0,I=b.length;D<I;D++)if(b[D]===_)return D;return-1},lt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ce="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\[\\da-fA-F]{1,6}"+ce+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Tt="\\["+ce+"*("+nt+")(?:"+ce+"*([*^$|!~]?=)"+ce+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+nt+"))|)"+ce+"*\\]",cr=":("+nt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Tt+")*)|.*)\\)|)",$t=new RegExp(ce+"+","g"),Wt=new RegExp("^"+ce+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ce+"+$","g"),Tn=new RegExp("^"+ce+"*,"+ce+"*"),tn=new RegExp("^"+ce+"*([>+~]|"+ce+")"+ce+"*"),we=new RegExp(ce+"|>"),Me=new RegExp(cr),na=new RegExp("^"+nt+"$"),Dn={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt+"|[*])"),ATTR:new RegExp("^"+Tt),PSEUDO:new RegExp("^"+cr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ce+"*(even|odd|(([+-]|)(\\d*)n|)"+ce+"*(?:([+-]|)"+ce+"*(\\d+)|))"+ce+"*\\)|)","i"),bool:new RegExp("^(?:"+lt+")$","i"),needsContext:new RegExp("^"+ce+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ce+"*((?:-\\d)?\\d*)"+ce+"*\\)|)(?=[^-]|$)","i")},aa=/HTML$/i,ia=/^(?:input|select|textarea|button)$/i,oa=/^h\d$/i,rn=/^[^{]+\{\s*\[native \w/,la=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,jn=/[+~]/,Ut=new RegExp("\\\\[\\da-fA-F]{1,6}"+ce+"?|\\\\([^\\r\\n\\f])","g"),Vt=function(b,_){var D="0x"+b.slice(1)-65536;return _||(D<0?String.fromCharCode(D+65536):String.fromCharCode(D>>10|55296,D&1023|56320))},Xn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Jn=function(b,_){return _?b==="\0"?"\uFFFD":b.slice(0,-1)+"\\"+b.charCodeAt(b.length-1).toString(16)+" ":"\\"+b},Gn=function(){p()},sa=An(function(b){return b.disabled===!0&&b.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{_e.apply(De=Xe.call(w.childNodes),w.childNodes),De[w.childNodes.length].nodeType}catch{_e={apply:De.length?function(_,D){Ve.apply(_,Xe.call(D))}:function(_,D){for(var I=_.length,S=0;_[I++]=D[S++];);_.length=I-1}}}function Ne(b,_,D,I){var S,k,j,q,V,ie,re,le=_&&_.ownerDocument,pe=_?_.nodeType:9;if(D=D||[],typeof b!="string"||!b||pe!==1&&pe!==9&&pe!==11)return D;if(!I&&(p(_),_=_||v,m)){if(pe!==11&&(V=la.exec(b)))if(S=V[1]){if(pe===9)if(j=_.getElementById(S)){if(j.id===S)return D.push(j),D}else return D;else if(le&&(j=le.getElementById(S))&&H(_,j)&&j.id===S)return D.push(j),D}else{if(V[2])return _e.apply(D,_.getElementsByTagName(b)),D;if((S=V[3])&&s.getElementsByClassName&&_.getElementsByClassName)return _e.apply(D,_.getElementsByClassName(S)),D}if(s.qsa&&!Ae[b+" "]&&(!x||!x.test(b))&&(pe!==1||_.nodeName.toLowerCase()!=="object")){if(re=b,le=_,pe===1&&(we.test(b)||tn.test(b))){for(le=jn.test(b)&&Pn(_.parentNode)||_,(le!==_||!s.scope)&&((q=_.getAttribute("id"))?q=q.replace(Xn,Jn):_.setAttribute("id",q=O)),ie=a(b),k=ie.length;k--;)ie[k]=(q?"#"+q:":scope")+" "+Sn(ie[k]);re=ie.join(",")}try{return _e.apply(D,le.querySelectorAll(re)),D}catch{Ae(b,!0)}finally{q===O&&_.removeAttribute("id")}}}return l(b.replace(Wt,"$1"),_,D,I)}function wn(){var b=[];function _(D,I){return b.push(D+" ")>e.cacheLength&&delete _[b.shift()],_[D+" "]=I}return _}function Nt(b){return b[O]=!0,b}function Lt(b){var _=v.createElement("fieldset");try{return!!b(_)}catch{return!1}finally{_.parentNode&&_.parentNode.removeChild(_),_=null}}function Hn(b,_){for(var D=b.split("|"),I=D.length;I--;)e.attrHandle[D[I]]=_}function Kn(b,_){var D=_&&b,I=D&&b.nodeType===1&&_.nodeType===1&&b.sourceIndex-_.sourceIndex;if(I)return I;if(D){for(;D=D.nextSibling;)if(D===_)return-1}return b?1:-1}function ua(b){return function(_){var D=_.nodeName.toLowerCase();return D==="input"&&_.type===b}}function fa(b){return function(_){var D=_.nodeName.toLowerCase();return(D==="input"||D==="button")&&_.type===b}}function Yn(b){return function(_){return"form"in _?_.parentNode&&_.disabled===!1?"label"in _?"label"in _.parentNode?_.parentNode.disabled===b:_.disabled===b:_.isDisabled===b||_.isDisabled!==!b&&sa(_)===b:_.disabled===b:"label"in _?_.disabled===b:!1}}function dr(b){return Nt(function(_){return _=+_,Nt(function(D,I){for(var S,k=b([],D.length,_),j=k.length;j--;)D[S=k[j]]&&(D[S]=!(I[S]=D[S]))})})}function Pn(b){return b&&typeof b.getElementsByTagName<"u"&&b}s=Ne.support={},n=Ne.isXML=function(b){var _=b&&b.namespaceURI,D=b&&(b.ownerDocument||b).documentElement;return!aa.test(_||D&&D.nodeName||"HTML")},p=Ne.setDocument=function(b){var _,D,I=b?b.ownerDocument||b:w;return I==v||I.nodeType!==9||!I.documentElement||(v=I,y=v.documentElement,m=!n(v),w!=v&&(D=v.defaultView)&&D.top!==D&&(D.addEventListener?D.addEventListener("unload",Gn,!1):D.attachEvent&&D.attachEvent("onunload",Gn)),s.scope=Lt(function(S){return y.appendChild(S).appendChild(v.createElement("div")),typeof S.querySelectorAll<"u"&&!S.querySelectorAll(":scope fieldset div").length}),s.attributes=Lt(function(S){return S.className="i",!S.getAttribute("className")}),s.getElementsByTagName=Lt(function(S){return S.appendChild(v.createComment("")),!S.getElementsByTagName("*").length}),s.getElementsByClassName=rn.test(v.getElementsByClassName),s.getById=Lt(function(S){return y.appendChild(S).id=O,!v.getElementsByName||!v.getElementsByName(O).length}),s.getById?(e.filter.ID=function(S){var k=S.replace(Ut,Vt);return function(j){return j.getAttribute("id")===k}},e.find.ID=function(S,k){if(typeof k.getElementById<"u"&&m){var j=k.getElementById(S);return j?[j]:[]}}):(e.filter.ID=function(S){var k=S.replace(Ut,Vt);return function(j){var q=typeof j.getAttributeNode<"u"&&j.getAttributeNode("id");return q&&q.value===k}},e.find.ID=function(S,k){if(typeof k.getElementById<"u"&&m){var j,q,V,ie=k.getElementById(S);if(ie){if(j=ie.getAttributeNode("id"),j&&j.value===S)return[ie];for(V=k.getElementsByName(S),q=0;ie=V[q++];)if(j=ie.getAttributeNode("id"),j&&j.value===S)return[ie]}return[]}}),e.find.TAG=s.getElementsByTagName?function(S,k){if(typeof k.getElementsByTagName<"u")return k.getElementsByTagName(S);if(s.qsa)return k.querySelectorAll(S)}:function(S,k){var j,q=[],V=0,ie=k.getElementsByTagName(S);if(S==="*"){for(;j=ie[V++];)j.nodeType===1&&q.push(j);return q}return ie},e.find.CLASS=s.getElementsByClassName&&function(S,k){if(typeof k.getElementsByClassName<"u"&&m)return k.getElementsByClassName(S)},A=[],x=[],(s.qsa=rn.test(v.querySelectorAll))&&(Lt(function(S){var k;y.appendChild(S).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\r\\' msallowcapture=''><option selected=''></option></select>",S.querySelectorAll("[msallowcapture^='']").length&&x.push("[*^$]="+ce+`*(?:''|"")`),S.querySelectorAll("[selected]").length||x.push("\\["+ce+"*(?:value|"+lt+")"),S.querySelectorAll("[id~="+O+"-]").length||x.push("~="),k=v.createElement("input"),k.setAttribute("name",""),S.appendChild(k),S.querySelectorAll("[name='']").length||x.push("\\["+ce+"*name"+ce+"*="+ce+`*(?:''|"")`),S.querySelectorAll(":checked").length||x.push(":checked"),S.querySelectorAll("a#"+O+"+*").length||x.push(".#.+[+~]"),S.querySelectorAll("\\\f"),x.push("[\\r\\n\\f]")}),Lt(function(S){S.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var k=v.createElement("input");k.setAttribute("type","hidden"),S.appendChild(k).setAttribute("name","D"),S.querySelectorAll("[name=d]").length&&x.push("name"+ce+"*[*^$|!~]?="),S.querySelectorAll(":enabled").length!==2&&x.push(":enabled",":disabled"),y.appendChild(S).disabled=!0,S.querySelectorAll(":disabled").length!==2&&x.push(":enabled",":disabled"),S.querySelectorAll("*,:x"),x.push(",.*:")})),(s.matchesSelector=rn.test(F=y.matches||y.webkitMatchesSelector||y.mozMatchesSelector||y.oMatchesSelector||y.msMatchesSelector))&&Lt(function(S){s.disconnectedMatch=F.call(S,"*"),F.call(S,"[s!='']:x"),A.push("!=",cr)}),x=x.length&&new RegExp(x.join("|")),A=A.length&&new RegExp(A.join("|")),_=rn.test(y.compareDocumentPosition),H=_||rn.test(y.contains)?function(S,k){var j=S.nodeType===9?S.documentElement:S,q=k&&k.parentNode;return S===q||!!(q&&q.nodeType===1&&(j.contains?j.contains(q):S.compareDocumentPosition&&S.compareDocumentPosition(q)&16))}:function(S,k){if(k){for(;k=k.parentNode;)if(k===S)return!0}return!1},ze=_?function(S,k){if(S===k)return d=!0,0;var j=!S.compareDocumentPosition-!k.compareDocumentPosition;return j||(j=(S.ownerDocument||S)==(k.ownerDocument||k)?S.compareDocumentPosition(k):1,j&1||!s.sortDetached&&k.compareDocumentPosition(S)===j?S==v||S.ownerDocument==w&&H(w,S)?-1:k==v||k.ownerDocument==w&&H(w,k)?1:c?Ze(c,S)-Ze(c,k):0:j&4?-1:1)}:function(S,k){if(S===k)return d=!0,0;var j,q=0,V=S.parentNode,ie=k.parentNode,re=[S],le=[k];if(!V||!ie)return S==v?-1:k==v?1:V?-1:ie?1:c?Ze(c,S)-Ze(c,k):0;if(V===ie)return Kn(S,k);for(j=S;j=j.parentNode;)re.unshift(j);for(j=k;j=j.parentNode;)le.unshift(j);for(;re[q]===le[q];)q++;return q?Kn(re[q],le[q]):re[q]==w?-1:le[q]==w?1:0}),v},Ne.matches=function(b,_){return Ne(b,null,null,_)},Ne.matchesSelector=function(b,_){if(p(b),s.matchesSelector&&m&&!Ae[_+" "]&&(!A||!A.test(_))&&(!x||!x.test(_)))try{var D=F.call(b,_);if(D||s.disconnectedMatch||b.document&&b.document.nodeType!==11)return D}catch{Ae(_,!0)}return Ne(_,v,null,[b]).length>0},Ne.contains=function(b,_){return(b.ownerDocument||b)!=v&&p(b),H(b,_)},Ne.attr=function(b,_){(b.ownerDocument||b)!=v&&p(b);var D=e.attrHandle[_.toLowerCase()],I=D&&Ue.call(e.attrHandle,_.toLowerCase())?D(b,_,!m):void 0;return I!==void 0?I:s.attributes||!m?b.getAttribute(_):(I=b.getAttributeNode(_))&&I.specified?I.value:null},Ne.escape=function(b){return(b+"").replace(Xn,Jn)},Ne.error=function(b){throw new Error("Syntax error, unrecognized expression: "+b)},Ne.uniqueSort=function(b){var _,D=[],I=0,S=0;if(d=!s.detectDuplicates,c=!s.sortStable&&b.slice(0),b.sort(ze),d){for(;_=b[S++];)_===b[S]&&(I=D.push(S));for(;I--;)b.splice(D[I],1)}return c=null,b},t=Ne.getText=function(b){var _,D="",I=0,S=b.nodeType;if(S){if(S===1||S===9||S===11){if(typeof b.textContent=="string")return b.textContent;for(b=b.firstChild;b;b=b.nextSibling)D+=t(b)}else if(S===3||S===4)return b.nodeValue}else for(;_=b[I++];)D+=t(_);return D},e=Ne.selectors={cacheLength:50,createPseudo:Nt,match:Dn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(b){return b[1]=b[1].replace(Ut,Vt),b[3]=(b[3]||b[4]||b[5]||"").replace(Ut,Vt),b[2]==="~="&&(b[3]=" "+b[3]+" "),b.slice(0,4)},CHILD:function(b){return b[1]=b[1].toLowerCase(),b[1].slice(0,3)==="nth"?(b[3]||Ne.error(b[0]),b[4]=+(b[4]?b[5]+(b[6]||1):2*(b[3]==="even"||b[3]==="odd")),b[5]=+(b[7]+b[8]||b[3]==="odd")):b[3]&&Ne.error(b[0]),b},PSEUDO:function(b){var _,D=!b[6]&&b[2];return Dn.CHILD.test(b[0])?null:(b[3]?b[2]=b[4]||b[5]||"":D&&Me.test(D)&&(_=a(D,!0))&&(_=D.indexOf(")",D.length-_)-D.length)&&(b[0]=b[0].slice(0,_),b[2]=D.slice(0,_)),b.slice(0,3))}},filter:{TAG:function(b){var _=b.replace(Ut,Vt).toLowerCase();return b==="*"?function(){return!0}:function(D){return D.nodeName&&D.nodeName.toLowerCase()===_}},CLASS:function(b){var _=se[b+" "];return _||(_=new RegExp("(^|"+ce+")"+b+"("+ce+"|$)"))&&se(b,function(D){return _.test(typeof D.className=="string"&&D.className||typeof D.getAttribute<"u"&&D.getAttribute("class")||"")})},ATTR:function(b,_,D){return function(I){var S=Ne.attr(I,b);return S==null?_==="!=":_?(S+="",_==="="?S===D:_==="!="?S!==D:_==="^="?D&&S.indexOf(D)===0:_==="*="?D&&S.indexOf(D)>-1:_==="$="?D&&S.slice(-D.length)===D:_==="~="?(" "+S.replace($t," ")+" ").indexOf(D)>-1:_==="|="?S===D||S.slice(0,D.length+1)===D+"-":!1):!0}},CHILD:function(b,_,D,I,S){var k=b.slice(0,3)!=="nth",j=b.slice(-4)!=="last",q=_==="of-type";return I===1&&S===0?function(V){return!!V.parentNode}:function(V,ie,re){var le,pe,Le,oe,Je,st,yt=k!==j?"nextSibling":"previousSibling",Pe=V.parentNode,nn=q&&V.nodeName.toLowerCase(),an=!re&&!q,mt=!1;if(Pe){if(k){for(;yt;){for(oe=V;oe=oe[yt];)if(q?oe.nodeName.toLowerCase()===nn:oe.nodeType===1)return!1;st=yt=b==="only"&&!st&&"nextSibling"}return!0}if(st=[j?Pe.firstChild:Pe.lastChild],j&&an){for(oe=Pe,Le=oe[O]||(oe[O]={}),pe=Le[oe.uniqueID]||(Le[oe.uniqueID]={}),le=pe[b]||[],Je=le[0]===Z&&le[1],mt=Je&&le[2],oe=Je&&Pe.childNodes[Je];oe=++Je&&oe&&oe[yt]||(mt=Je=0)||st.pop();)if(oe.nodeType===1&&++mt&&oe===V){pe[b]=[Z,Je,mt];break}}else if(an&&(oe=V,Le=oe[O]||(oe[O]={}),pe=Le[oe.uniqueID]||(Le[oe.uniqueID]={}),le=pe[b]||[],Je=le[0]===Z&&le[1],mt=Je),mt===!1)for(;(oe=++Je&&oe&&oe[yt]||(mt=Je=0)||st.pop())&&!((q?oe.nodeName.toLowerCase()===nn:oe.nodeType===1)&&++mt&&(an&&(Le=oe[O]||(oe[O]={}),pe=Le[oe.uniqueID]||(Le[oe.uniqueID]={}),pe[b]=[Z,mt]),oe===V)););return mt-=S,mt===I||mt%I===0&&mt/I>=0}}},PSEUDO:function(b,_){var D,I=e.pseudos[b]||e.setFilters[b.toLowerCase()]||Ne.error("unsupported pseudo: "+b);return I[O]?I(_):I.length>1?(D=[b,b,"",_],e.setFilters.hasOwnProperty(b.toLowerCase())?Nt(function(S,k){for(var j,q=I(S,_),V=q.length;V--;)j=Ze(S,q[V]),S[j]=!(k[j]=q[V])}):function(S){return I(S,0,D)}):I}},pseudos:{not:Nt(function(b){var _=[],D=[],I=u(b.replace(Wt,"$1"));return I[O]?Nt(function(S,k,j,q){for(var V,ie=I(S,null,q,[]),re=S.length;re--;)(V=ie[re])&&(S[re]=!(k[re]=V))}):function(S,k,j){return _[0]=S,I(_,null,j,D),_[0]=null,!D.pop()}}),has:Nt(function(b){return function(_){return Ne(b,_).length>0}}),contains:Nt(function(b){return b=b.replace(Ut,Vt),function(_){return(_.textContent||t(_)).indexOf(b)>-1}}),lang:Nt(function(b){return na.test(b||"")||Ne.error("unsupported lang: "+b),b=b.replace(Ut,Vt).toLowerCase(),function(_){var D;do if(D=m?_.lang:_.getAttribute("xml:lang")||_.getAttribute("lang"))return D=D.toLowerCase(),D===b||D.indexOf(b+"-")===0;while((_=_.parentNode)&&_.nodeType===1);return!1}}),target:function(b){var _=r.location&&r.location.hash;return _&&_.slice(1)===b.id},root:function(b){return b===y},focus:function(b){return b===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(b.type||b.href||~b.tabIndex)},enabled:Yn(!1),disabled:Yn(!0),checked:function(b){var _=b.nodeName.toLowerCase();return _==="input"&&!!b.checked||_==="option"&&!!b.selected},selected:function(b){return b.parentNode&&b.parentNode.selectedIndex,b.selected===!0},empty:function(b){for(b=b.firstChild;b;b=b.nextSibling)if(b.nodeType<6)return!1;return!0},parent:function(b){return!e.pseudos.empty(b)},header:function(b){return oa.test(b.nodeName)},input:function(b){return ia.test(b.nodeName)},button:function(b){var _=b.nodeName.toLowerCase();return _==="input"&&b.type==="button"||_==="button"},text:function(b){var _;return b.nodeName.toLowerCase()==="input"&&b.type==="text"&&((_=b.getAttribute("type"))==null||_.toLowerCase()==="text")},first:dr(function(){return[0]}),last:dr(function(b,_){return[_-1]}),eq:dr(function(b,_,D){return[D<0?D+_:D]}),even:dr(function(b,_){for(var D=0;D<_;D+=2)b.push(D);return b}),odd:dr(function(b,_){for(var D=1;D<_;D+=2)b.push(D);return b}),lt:dr(function(b,_,D){for(var I=D<0?D+_:D>_?_:D;--I>=0;)b.push(I);return b}),gt:dr(function(b,_,D){for(var I=D<0?D+_:D;++I<_;)b.push(I);return b})}},e.pseudos.nth=e.pseudos.eq;for(i in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[i]=ua(i);for(i in{submit:!0,reset:!0})e.pseudos[i]=fa(i);function zn(){}zn.prototype=e.filters=e.pseudos,e.setFilters=new zn,a=Ne.tokenize=function(b,_){var D,I,S,k,j,q,V,ie=Ye[b+" "];if(ie)return _?0:ie.slice(0);for(j=b,q=[],V=e.preFilter;j;){(!D||(I=Tn.exec(j)))&&(I&&(j=j.slice(I[0].length)||j),q.push(S=[])),D=!1,(I=tn.exec(j))&&(D=I.shift(),S.push({value:D,type:I[0].replace(Wt," ")}),j=j.slice(D.length));for(k in e.filter)(I=Dn[k].exec(j))&&(!V[k]||(I=V[k](I)))&&(D=I.shift(),S.push({value:D,type:k,matches:I}),j=j.slice(D.length));if(!D)break}return _?j.length:j?Ne.error(b):Ye(b,q).slice(0)};function Sn(b){for(var _=0,D=b.length,I="";_<D;_++)I+=b[_].value;return I}function An(b,_,D){var I=_.dir,S=_.next,k=S||I,j=D&&k==="parentNode",q=B++;return _.first?function(V,ie,re){for(;V=V[I];)if(V.nodeType===1||j)return b(V,ie,re);return!1}:function(V,ie,re){var le,pe,Le,oe=[Z,q];if(re){for(;V=V[I];)if((V.nodeType===1||j)&&b(V,ie,re))return!0}else for(;V=V[I];)if(V.nodeType===1||j)if(Le=V[O]||(V[O]={}),pe=Le[V.uniqueID]||(Le[V.uniqueID]={}),S&&S===V.nodeName.toLowerCase())V=V[I]||V;else{if((le=pe[k])&&le[0]===Z&&le[1]===q)return oe[2]=le[2];if(pe[k]=oe,oe[2]=b(V,ie,re))return!0}return!1}}function Rn(b){return b.length>1?function(_,D,I){for(var S=b.length;S--;)if(!b[S](_,D,I))return!1;return!0}:b[0]}function ca(b,_,D){for(var I=0,S=_.length;I<S;I++)Ne(b,_[I],D);return D}function Nn(b,_,D,I,S){for(var k,j=[],q=0,V=b.length,ie=_!=null;q<V;q++)(k=b[q])&&(!D||D(k,I,S))&&(j.push(k),ie&&_.push(q));return j}function On(b,_,D,I,S,k){return I&&!I[O]&&(I=On(I)),S&&!S[O]&&(S=On(S,k)),Nt(function(j,q,V,ie){var re,le,pe,Le=[],oe=[],Je=q.length,st=j||ca(_||"*",V.nodeType?[V]:V,[]),yt=b&&(j||!_)?Nn(st,Le,b,V,ie):st,Pe=D?S||(j?b:Je||I)?[]:q:yt;if(D&&D(yt,Pe,V,ie),I)for(re=Nn(Pe,oe),I(re,[],V,ie),le=re.length;le--;)(pe=re[le])&&(Pe[oe[le]]=!(yt[oe[le]]=pe));if(j){if(S||b){if(S){for(re=[],le=Pe.length;le--;)(pe=Pe[le])&&re.push(yt[le]=pe);S(null,Pe=[],re,ie)}for(le=Pe.length;le--;)(pe=Pe[le])&&(re=S?Ze(j,pe):Le[le])>-1&&(j[re]=!(q[re]=pe))}}else Pe=Nn(Pe===q?Pe.splice(Je,Pe.length):Pe),S?S(null,q,Pe,ie):_e.apply(q,Pe)})}function qn(b){for(var _,D,I,S=b.length,k=e.relative[b[0].type],j=k||e.relative[" "],q=k?1:0,V=An(function(le){return le===_},j,!0),ie=An(function(le){return Ze(_,le)>-1},j,!0),re=[function(le,pe,Le){var oe=!k&&(Le||pe!==f)||((_=pe).nodeType?V(le,pe,Le):ie(le,pe,Le));return _=null,oe}];q<S;q++)if(D=e.relative[b[q].type])re=[An(Rn(re),D)];else{if(D=e.filter[b[q].type].apply(null,b[q].matches),D[O]){for(I=++q;I<S&&!e.relative[b[I].type];I++);return On(q>1&&Rn(re),q>1&&Sn(b.slice(0,q-1).concat({value:b[q-2].type===" "?"*":""})).replace(Wt,"$1"),D,q<I&&qn(b.slice(q,I)),I<S&&qn(b=b.slice(I)),I<S&&Sn(b))}re.push(D)}return Rn(re)}function da(b,_){var D=_.length>0,I=b.length>0,S=function(k,j,q,V,ie){var re,le,pe,Le=0,oe="0",Je=k&&[],st=[],yt=f,Pe=k||I&&e.find.TAG("*",ie),nn=Z+=yt==null?1:Math.random()||.1,an=Pe.length;for(ie&&(f=j==v||j||ie);oe!==an&&(re=Pe[oe])!=null;oe++){if(I&&re){for(le=0,!j&&re.ownerDocument!=v&&(p(re),q=!m);pe=b[le++];)if(pe(re,j||v,q)){V.push(re);break}ie&&(Z=nn)}D&&((re=!pe&&re)&&Le--,k&&Je.push(re))}if(Le+=oe,D&&oe!==Le){for(le=0;pe=_[le++];)pe(Je,st,j,q);if(k){if(Le>0)for(;oe--;)Je[oe]||st[oe]||(st[oe]=Qe.call(V));st=Nn(st)}_e.apply(V,st),ie&&!k&&st.length>0&&Le+_.length>1&&Ne.uniqueSort(V)}return ie&&(Z=nn,f=yt),Je};return D?Nt(S):S}return u=Ne.compile=function(b,_){var D,I=[],S=[],k=rt[b+" "];if(!k){for(_||(_=a(b)),D=_.length;D--;)k=qn(_[D]),k[O]?I.push(k):S.push(k);k=rt(b,da(S,I)),k.selector=b}return k},l=Ne.select=function(b,_,D,I){var S,k,j,q,V,ie=typeof b=="function"&&b,re=!I&&a(b=ie.selector||b);if(D=D||[],re.length===1){if(k=re[0]=re[0].slice(0),k.length>2&&(j=k[0]).type==="ID"&&_.nodeType===9&&m&&e.relative[k[1].type]){if(_=(e.find.ID(j.matches[0].replace(Ut,Vt),_)||[])[0],_)ie&&(_=_.parentNode);else return D;b=b.slice(k.shift().value.length)}for(S=Dn.needsContext.test(b)?0:k.length;S--&&(j=k[S],!e.relative[q=j.type]);)if((V=e.find[q])&&(I=V(j.matches[0].replace(Ut,Vt),jn.test(k[0].type)&&Pn(_.parentNode)||_))){if(k.splice(S,1),b=I.length&&Sn(k),!b)return _e.apply(D,I),D;break}}return(ie||u(b,re))(I,_,!m,D,!_||jn.test(b)&&Pn(_.parentNode)||_),D},s.sortStable=O.split("").sort(ze).join("")===O,s.detectDuplicates=!!d,p(),s.sortDetached=Lt(function(b){return b.compareDocumentPosition(v.createElement("fieldset"))&1}),Lt(function(b){return b.innerHTML="<a href='#'></a>",b.firstChild.getAttribute("href")==="#"})||Hn("type|href|height|width",function(b,_,D){if(!D)return b.getAttribute(_,_.toLowerCase()==="type"?1:2)}),(!s.attributes||!Lt(function(b){return b.innerHTML="<input/>",b.firstChild.setAttribute("value",""),b.firstChild.getAttribute("value")===""}))&&Hn("value",function(b,_,D){if(!D&&b.nodeName.toLowerCase()==="input")return b.defaultValue}),Lt(function(b){return b.getAttribute("disabled")==null})||Hn(lt,function(b,_,D){var I;if(!D)return b[_]===!0?_.toLowerCase():(I=b.getAttributeNode(_))&&I.specified?I.value:null}),Ne}(G);o.find=L,o.expr=L.selectors,o.expr[":"]=o.expr.pseudos,o.uniqueSort=o.unique=L.uniqueSort,o.text=L.getText,o.isXMLDoc=L.isXML,o.contains=L.contains,o.escapeSelector=L.escape;var E=function(r,i,s){for(var e=[],t=s!==void 0;(r=r[i])&&r.nodeType!==9;)if(r.nodeType===1){if(t&&o(r).is(s))break;e.push(r)}return e},P=function(r,i){for(var s=[];r;r=r.nextSibling)r.nodeType===1&&r!==i&&s.push(r);return s},U=o.expr.match.needsContext;function M(r,i){return r.nodeName&&r.nodeName.toLowerCase()===i.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Q(r,i,s){return ne(i)?o.grep(r,function(e,t){return!!i.call(e,t,e)!==s}):i.nodeType?o.grep(r,function(e){return e===i!==s}):typeof i!="string"?o.grep(r,function(e){return ue.call(i,e)>-1!==s}):o.filter(i,r,s)}o.filter=function(r,i,s){var e=i[0];return s&&(r=":not("+r+")"),i.length===1&&e.nodeType===1?o.find.matchesSelector(e,r)?[e]:[]:o.find.matches(r,o.grep(i,function(t){return t.nodeType===1}))},o.fn.extend({find:function(r){var i,s,e=this.length,t=this;if(typeof r!="string")return this.pushStack(o(r).filter(function(){for(i=0;i<e;i++)if(o.contains(t[i],this))return!0}));for(s=this.pushStack([]),i=0;i<e;i++)o.find(r,t[i],s);return e>1?o.uniqueSort(s):s},filter:function(r){return this.pushStack(Q(this,r||[],!1))},not:function(r){return this.pushStack(Q(this,r||[],!0))},is:function(r){return!!Q(this,typeof r=="string"&&U.test(r)?o(r):r||[],!1).length}});var Y,he=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,K=o.fn.init=function(r,i,s){var e,t;if(!r)return this;if(s=s||Y,typeof r=="string")if(r[0]==="<"&&r[r.length-1]===">"&&r.length>=3?e=[null,r,null]:e=he.exec(r),e&&(e[1]||!i))if(e[1]){if(i=i instanceof o?i[0]:i,o.merge(this,o.parseHTML(e[1],i&&i.nodeType?i.ownerDocument||i:z,!0)),R.test(e[1])&&o.isPlainObject(i))for(e in i)ne(this[e])?this[e](i[e]):this.attr(e,i[e]);return this}else return t=z.getElementById(e[2]),t&&(this[0]=t,this.length=1),this;else return!i||i.jquery?(i||s).find(r):this.constructor(i).find(r);else{if(r.nodeType)return this[0]=r,this.length=1,this;if(ne(r))return s.ready!==void 0?s.ready(r):r(o)}return o.makeArray(r,this)};K.prototype=o.fn,Y=o(z);var W=/^(?:parents|prev(?:Until|All))/,de={children:!0,contents:!0,next:!0,prev:!0};o.fn.extend({has:function(r){var i=o(r,this),s=i.length;return this.filter(function(){for(var e=0;e<s;e++)if(o.contains(this,i[e]))return!0})},closest:function(r,i){var s,e=0,t=this.length,n=[],a=typeof r!="string"&&o(r);if(!U.test(r)){for(;e<t;e++)for(s=this[e];s&&s!==i;s=s.parentNode)if(s.nodeType<11&&(a?a.index(s)>-1:s.nodeType===1&&o.find.matchesSelector(s,r))){n.push(s);break}}return this.pushStack(n.length>1?o.uniqueSort(n):n)},index:function(r){return r?typeof r=="string"?ue.call(o(r),this[0]):ue.call(this,r.jquery?r[0]:r):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(r,i){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(r,i))))},addBack:function(r){return this.add(r==null?this.prevObject:this.prevObject.filter(r))}});function $e(r,i){for(;(r=r[i])&&r.nodeType!==1;);return r}o.each({parent:function(r){var i=r.parentNode;return i&&i.nodeType!==11?i:null},parents:function(r){return E(r,"parentNode")},parentsUntil:function(r,i,s){return E(r,"parentNode",s)},next:function(r){return $e(r,"nextSibling")},prev:function(r){return $e(r,"previousSibling")},nextAll:function(r){return E(r,"nextSibling")},prevAll:function(r){return E(r,"previousSibling")},nextUntil:function(r,i,s){return E(r,"nextSibling",s)},prevUntil:function(r,i,s){return E(r,"previousSibling",s)},siblings:function(r){return P((r.parentNode||{}).firstChild,r)},children:function(r){return P(r.firstChild)},contents:function(r){return r.contentDocument!=null&&ee(r.contentDocument)?r.contentDocument:(M(r,"template")&&(r=r.content||r),o.merge([],r.childNodes))}},function(r,i){o.fn[r]=function(s,e){var t=o.map(this,i,s);return r.slice(-5)!=="Until"&&(e=s),e&&typeof e=="string"&&(t=o.filter(e,t)),this.length>1&&(de[r]||o.uniqueSort(t),W.test(r)&&t.reverse()),this.pushStack(t)}});var Se=/[^\x20\t\r\n\f]+/g;function Ie(r){var i={};return o.each(r.match(Se)||[],function(s,e){i[e]=!0}),i}o.Callbacks=function(r){r=typeof r=="string"?Ie(r):o.extend({},r);var i,s,e,t,n=[],a=[],u=-1,l=function(){for(t=t||r.once,e=i=!0;a.length;u=-1)for(s=a.shift();++u<n.length;)n[u].apply(s[0],s[1])===!1&&r.stopOnFalse&&(u=n.length,s=!1);r.memory||(s=!1),i=!1,t&&(s?n=[]:n="")},f={add:function(){return n&&(s&&!i&&(u=n.length-1,a.push(s)),function c(d){o.each(d,function(p,v){ne(v)?(!r.unique||!f.has(v))&&n.push(v):v&&v.length&&it(v)!=="string"&&c(v)})}(arguments),s&&!i&&l()),this},remove:function(){return o.each(arguments,function(c,d){for(var p;(p=o.inArray(d,n,p))>-1;)n.splice(p,1),p<=u&&u--}),this},has:function(c){return c?o.inArray(c,n)>-1:n.length>0},empty:function(){return n&&(n=[]),this},disable:function(){return t=a=[],n=s="",this},disabled:function(){return!n},lock:function(){return t=a=[],!s&&!i&&(n=s=""),this},locked:function(){return!!t},fireWith:function(c,d){return t||(d=d||[],d=[c,d.slice?d.slice():d],a.push(d),i||l()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!e}};return f};function Ee(r){return r}function ve(r){throw r}function He(r,i,s,e){var t;try{r&&ne(t=r.promise)?t.call(r).done(i).fail(s):r&&ne(t=r.then)?t.call(r,i,s):i.apply(void 0,[r].slice(e))}catch(n){s.apply(void 0,[n])}}o.extend({Deferred:function(r){var i=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],s="pending",e={state:function(){return s},always:function(){return t.done(arguments).fail(arguments),this},catch:function(n){return e.then(null,n)},pipe:function(){var n=arguments;return o.Deferred(function(a){o.each(i,function(u,l){var f=ne(n[l[4]])&&n[l[4]];t[l[1]](function(){var c=f&&f.apply(this,arguments);c&&ne(c.promise)?c.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[l[0]+"With"](this,f?[c]:arguments)})}),n=null}).promise()},then:function(n,a,u){var l=0;function f(c,d,p,v){return function(){var y=this,m=arguments,x=function(){var F,H;if(!(c<l)){if(F=p.apply(y,m),F===d.promise())throw new TypeError("Thenable self-resolution");H=F&&(typeof F=="object"||typeof F=="function")&&F.then,ne(H)?v?H.call(F,f(l,d,Ee,v),f(l,d,ve,v)):(l++,H.call(F,f(l,d,Ee,v),f(l,d,ve,v),f(l,d,Ee,d.notifyWith))):(p!==Ee&&(y=void 0,m=[F]),(v||d.resolveWith)(y,m))}},A=v?x:function(){try{x()}catch(F){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(F,A.stackTrace),c+1>=l&&(p!==ve&&(y=void 0,m=[F]),d.rejectWith(y,m))}};c?A():(o.Deferred.getStackHook&&(A.stackTrace=o.Deferred.getStackHook()),G.setTimeout(A))}}return o.Deferred(function(c){i[0][3].add(f(0,c,ne(u)?u:Ee,c.notifyWith)),i[1][3].add(f(0,c,ne(n)?n:Ee)),i[2][3].add(f(0,c,ne(a)?a:ve))}).promise()},promise:function(n){return n!=null?o.extend(n,e):e}},t={};return o.each(i,function(n,a){var u=a[2],l=a[5];e[a[1]]=u.add,l&&u.add(function(){s=l},i[3-n][2].disable,i[3-n][3].disable,i[0][2].lock,i[0][3].lock),u.add(a[3].fire),t[a[0]]=function(){return t[a[0]+"With"](this===t?void 0:this,arguments),this},t[a[0]+"With"]=u.fireWith}),e.promise(t),r&&r.call(t,t),t},when:function(r){var i=arguments.length,s=i,e=Array(s),t=T.call(arguments),n=o.Deferred(),a=function(u){return function(l){e[u]=this,t[u]=arguments.length>1?T.call(arguments):l,--i||n.resolveWith(e,t)}};if(i<=1&&(He(r,n.done(a(s)).resolve,n.reject,!i),n.state()==="pending"||ne(t[s]&&t[s].then)))return n.then();for(;s--;)He(t[s],a(s),n.reject);return n.promise()}});var ft=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(r,i){G.console&&G.console.warn&&r&&ft.test(r.name)&&G.console.warn("jQuery.Deferred exception: "+r.message,r.stack,i)},o.readyException=function(r){G.setTimeout(function(){throw r})};var Fe=o.Deferred();o.fn.ready=function(r){return Fe.then(r).catch(function(i){o.readyException(i)}),this},o.extend({isReady:!1,readyWait:1,ready:function(r){(r===!0?--o.readyWait:o.isReady)||(o.isReady=!0,!(r!==!0&&--o.readyWait>0)&&Fe.resolveWith(z,[o]))}}),o.ready.then=Fe.then;function fe(){z.removeEventListener("DOMContentLoaded",fe),G.removeEventListener("load",fe),o.ready()}z.readyState==="complete"||z.readyState!=="loading"&&!z.documentElement.doScroll?G.setTimeout(o.ready):(z.addEventListener("DOMContentLoaded",fe),G.addEventListener("load",fe));var ae=function(r,i,s,e,t,n,a){var u=0,l=r.length,f=s==null;if(it(s)==="object"){t=!0;for(u in s)ae(r,i,u,s[u],!0,n,a)}else if(e!==void 0&&(t=!0,ne(e)||(a=!0),f&&(a?(i.call(r,e),i=null):(f=i,i=function(c,d,p){return f.call(o(c),p)})),i))for(;u<l;u++)i(r[u],s,a?e:e.call(r[u],u,i(r[u],s)));return t?r:f?i.call(r):l?i(r[0],s):n},Ce=/^-ms-/,je=/-([a-z])/g;function ct(r,i){return i.toUpperCase()}function Oe(r){return r.replace(Ce,"ms-").replace(je,ct)}var kt=function(r){return r.nodeType===1||r.nodeType===9||!+r.nodeType};function er(){this.expando=o.expando+er.uid++}er.uid=1,er.prototype={cache:function(r){var i=r[this.expando];return i||(i={},kt(r)&&(r.nodeType?r[this.expando]=i:Object.defineProperty(r,this.expando,{value:i,configurable:!0}))),i},set:function(r,i,s){var e,t=this.cache(r);if(typeof i=="string")t[Oe(i)]=s;else for(e in i)t[Oe(e)]=i[e];return t},get:function(r,i){return i===void 0?this.cache(r):r[this.expando]&&r[this.expando][Oe(i)]},access:function(r,i,s){return i===void 0||i&&typeof i=="string"&&s===void 0?this.get(r,i):(this.set(r,i,s),s!==void 0?s:i)},remove:function(r,i){var s,e=r[this.expando];if(e!==void 0){if(i!==void 0)for(Array.isArray(i)?i=i.map(Oe):(i=Oe(i),i=i in e?[i]:i.match(Se)||[]),s=i.length;s--;)delete e[i[s]];(i===void 0||o.isEmptyObject(e))&&(r.nodeType?r[this.expando]=void 0:delete r[this.expando])}},hasData:function(r){var i=r[this.expando];return i!==void 0&&!o.isEmptyObject(i)}};var te=new er,Te=new er,on=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tr=/[A-Z]/g;function Xt(r){return r==="true"?!0:r==="false"?!1:r==="null"?null:r===+r+""?+r:on.test(r)?JSON.parse(r):r}function hr(r,i,s){var e;if(s===void 0&&r.nodeType===1)if(e="data-"+i.replace(tr,"-$&").toLowerCase(),s=r.getAttribute(e),typeof s=="string"){try{s=Xt(s)}catch{}Te.set(r,i,s)}else s=void 0;return s}o.extend({hasData:function(r){return Te.hasData(r)||te.hasData(r)},data:function(r,i,s){return Te.access(r,i,s)},removeData:function(r,i){Te.remove(r,i)},_data:function(r,i,s){return te.access(r,i,s)},_removeData:function(r,i){te.remove(r,i)}}),o.fn.extend({data:function(r,i){var s,e,t,n=this[0],a=n&&n.attributes;if(r===void 0){if(this.length&&(t=Te.get(n),n.nodeType===1&&!te.get(n,"hasDataAttrs"))){for(s=a.length;s--;)a[s]&&(e=a[s].name,e.indexOf("data-")===0&&(e=Oe(e.slice(5)),hr(n,e,t[e])));te.set(n,"hasDataAttrs",!0)}return t}return typeof r=="object"?this.each(function(){Te.set(this,r)}):ae(this,function(u){var l;if(n&&u===void 0)return l=Te.get(n,r),l!==void 0||(l=hr(n,r),l!==void 0)?l:void 0;this.each(function(){Te.set(this,r,u)})},null,i,arguments.length>1,null,!0)},removeData:function(r){return this.each(function(){Te.remove(this,r)})}}),o.extend({queue:function(r,i,s){var e;if(r)return i=(i||"fx")+"queue",e=te.get(r,i),s&&(!e||Array.isArray(s)?e=te.access(r,i,o.makeArray(s)):e.push(s)),e||[]},dequeue:function(r,i){i=i||"fx";var s=o.queue(r,i),e=s.length,t=s.shift(),n=o._queueHooks(r,i),a=function(){o.dequeue(r,i)};t==="inprogress"&&(t=s.shift(),e--),t&&(i==="fx"&&s.unshift("inprogress"),delete n.stop,t.call(r,a,n)),!e&&n&&n.empty.fire()},_queueHooks:function(r,i){var s=i+"queueHooks";return te.get(r,s)||te.access(r,s,{empty:o.Callbacks("once memory").add(function(){te.remove(r,[i+"queue",s])})})}}),o.fn.extend({queue:function(r,i){var s=2;return typeof r!="string"&&(i=r,r="fx",s--),arguments.length<s?o.queue(this[0],r):i===void 0?this:this.each(function(){var e=o.queue(this,r,i);o._queueHooks(this,r),r==="fx"&&e[0]!=="inprogress"&&o.dequeue(this,r)})},dequeue:function(r){return this.each(function(){o.dequeue(this,r)})},clearQueue:function(r){return this.queue(r||"fx",[])},promise:function(r,i){var s,e=1,t=o.Deferred(),n=this,a=this.length,u=function(){--e||t.resolveWith(n,[n])};for(typeof r!="string"&&(i=r,r=void 0),r=r||"fx";a--;)s=te.get(n[a],r+"queueHooks"),s&&s.empty&&(e++,s.empty.add(u));return u(),t.promise(i)}});var Ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=new RegExp("^(?:([+-])=|)("+Ft+")([a-z%]*)$","i"),bt=["Top","Right","Bottom","Left"],_t=z.documentElement,Dt=function(r){return o.contains(r.ownerDocument,r)},rr={composed:!0};_t.getRootNode&&(Dt=function(r){return o.contains(r.ownerDocument,r)||r.getRootNode(rr)===r.ownerDocument});var Jt=function(r,i){return r=i||r,r.style.display==="none"||r.style.display===""&&Dt(r)&&o.css(r,"display")==="none"};function pr(r,i,s,e){var t,n,a=20,u=e?function(){return e.cur()}:function(){return o.css(r,i,"")},l=u(),f=s&&s[3]||(o.cssNumber[i]?"":"px"),c=r.nodeType&&(o.cssNumber[i]||f!=="px"&&+l)&&pt.exec(o.css(r,i));if(c&&c[3]!==f){for(l=l/2,f=f||c[3],c=+l||1;a--;)o.style(r,i,c+f),(1-n)*(1-(n=u()/l||.5))<=0&&(a=0),c=c/n;c=c*2,o.style(r,i,c+f),s=s||[]}return s&&(c=+c||+l||0,t=s[1]?c+(s[1]+1)*s[2]:+s[2],e&&(e.unit=f,e.start=c,e.end=t)),t}var vr={};function ln(r){var i,s=r.ownerDocument,e=r.nodeName,t=vr[e];return t||(i=s.body.appendChild(s.createElement(e)),t=o.css(i,"display"),i.parentNode.removeChild(i),t==="none"&&(t="block"),vr[e]=t,t)}function xt(r,i){for(var s,e,t=[],n=0,a=r.length;n<a;n++)e=r[n],e.style&&(s=e.style.display,i?(s==="none"&&(t[n]=te.get(e,"display")||null,t[n]||(e.style.display="")),e.style.display===""&&Jt(e)&&(t[n]=ln(e))):s!=="none"&&(t[n]="none",te.set(e,"display",s)));for(n=0;n<a;n++)t[n]!=null&&(r[n].style.display=t[n]);return r}o.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(r){return typeof r=="boolean"?r?this.show():this.hide():this.each(function(){Jt(this)?o(this).show():o(this).hide()})}});var vt=/^(?:checkbox|radio)$/i,Et=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Er=/^$|^module$|\/(?:java|ecma)script/i;(function(){var r=z.createDocumentFragment(),i=r.appendChild(z.createElement("div")),s=z.createElement("input");s.setAttribute("type","radio"),s.setAttribute("checked","checked"),s.setAttribute("name","t"),i.appendChild(s),be.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,i.innerHTML="<textarea>x</textarea>",be.noCloneChecked=!!i.cloneNode(!0).lastChild.defaultValue,i.innerHTML="<option></option>",be.option=!!i.lastChild})();var Ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td,be.option||(Ke.optgroup=Ke.option=[1,"<select multiple='multiple'>","</select>"]);function We(r,i){var s;return typeof r.getElementsByTagName<"u"?s=r.getElementsByTagName(i||"*"):typeof r.querySelectorAll<"u"?s=r.querySelectorAll(i||"*"):s=[],i===void 0||i&&M(r,i)?o.merge([r],s):s}function Fr(r,i){for(var s=0,e=r.length;s<e;s++)te.set(r[s],"globalEval",!i||te.get(i[s],"globalEval"))}var br=/<|&#?\w+;/;function jr(r,i,s,e,t){for(var n,a,u,l,f,c,d=i.createDocumentFragment(),p=[],v=0,y=r.length;v<y;v++)if(n=r[v],n||n===0)if(it(n)==="object")o.merge(p,n.nodeType?[n]:n);else if(!br.test(n))p.push(i.createTextNode(n));else{for(a=a||d.appendChild(i.createElement("div")),u=(Et.exec(n)||["",""])[1].toLowerCase(),l=Ke[u]||Ke._default,a.innerHTML=l[1]+o.htmlPrefilter(n)+l[2],c=l[0];c--;)a=a.lastChild;o.merge(p,a.childNodes),a=d.firstChild,a.textContent=""}for(d.textContent="",v=0;n=p[v++];){if(e&&o.inArray(n,e)>-1){t&&t.push(n);continue}if(f=Dt(n),a=We(d.appendChild(n),"script"),f&&Fr(a),s)for(c=0;n=a[c++];)Er.test(n.type||"")&&s.push(n)}return d}var Hr=/^([^.]*)(?:\.(.+)|)/;function jt(){return!0}function Ct(){return!1}function sn(r,i){return r===nr()==(i==="focus")}function nr(){try{return z.activeElement}catch{}}function gr(r,i,s,e,t,n){var a,u;if(typeof i=="object"){typeof s!="string"&&(e=e||s,s=void 0);for(u in i)gr(r,u,s,e,i[u],n);return r}if(e==null&&t==null?(t=s,e=s=void 0):t==null&&(typeof s=="string"?(t=e,e=void 0):(t=e,e=s,s=void 0)),t===!1)t=Ct;else if(!t)return r;return n===1&&(a=t,t=function(l){return o().off(l),a.apply(this,arguments)},t.guid=a.guid||(a.guid=o.guid++)),r.each(function(){o.event.add(this,i,t,e,s)})}o.event={global:{},add:function(r,i,s,e,t){var n,a,u,l,f,c,d,p,v,y,m,x=te.get(r);if(!!kt(r))for(s.handler&&(n=s,s=n.handler,t=n.selector),t&&o.find.matchesSelector(_t,t),s.guid||(s.guid=o.guid++),(l=x.events)||(l=x.events=Object.create(null)),(a=x.handle)||(a=x.handle=function(A){return typeof o<"u"&&o.event.triggered!==A.type?o.event.dispatch.apply(r,arguments):void 0}),i=(i||"").match(Se)||[""],f=i.length;f--;)u=Hr.exec(i[f])||[],v=m=u[1],y=(u[2]||"").split(".").sort(),v&&(d=o.event.special[v]||{},v=(t?d.delegateType:d.bindType)||v,d=o.event.special[v]||{},c=o.extend({type:v,origType:m,data:e,handler:s,guid:s.guid,selector:t,needsContext:t&&o.expr.match.needsContext.test(t),namespace:y.join(".")},n),(p=l[v])||(p=l[v]=[],p.delegateCount=0,(!d.setup||d.setup.call(r,e,y,a)===!1)&&r.addEventListener&&r.addEventListener(v,a)),d.add&&(d.add.call(r,c),c.handler.guid||(c.handler.guid=s.guid)),t?p.splice(p.delegateCount++,0,c):p.push(c),o.event.global[v]=!0)},remove:function(r,i,s,e,t){var n,a,u,l,f,c,d,p,v,y,m,x=te.hasData(r)&&te.get(r);if(!(!x||!(l=x.events))){for(i=(i||"").match(Se)||[""],f=i.length;f--;){if(u=Hr.exec(i[f])||[],v=m=u[1],y=(u[2]||"").split(".").sort(),!v){for(v in l)o.event.remove(r,v+i[f],s,e,!0);continue}for(d=o.event.special[v]||{},v=(e?d.delegateType:d.bindType)||v,p=l[v]||[],u=u[2]&&new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=n=p.length;n--;)c=p[n],(t||m===c.origType)&&(!s||s.guid===c.guid)&&(!u||u.test(c.namespace))&&(!e||e===c.selector||e==="**"&&c.selector)&&(p.splice(n,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(r,c));a&&!p.length&&((!d.teardown||d.teardown.call(r,y,x.handle)===!1)&&o.removeEvent(r,v,x.handle),delete l[v])}o.isEmptyObject(l)&&te.remove(r,"handle events")}},dispatch:function(r){var i,s,e,t,n,a,u=new Array(arguments.length),l=o.event.fix(r),f=(te.get(this,"events")||Object.create(null))[l.type]||[],c=o.event.special[l.type]||{};for(u[0]=l,i=1;i<arguments.length;i++)u[i]=arguments[i];if(l.delegateTarget=this,!(c.preDispatch&&c.preDispatch.call(this,l)===!1)){for(a=o.event.handlers.call(this,l,f),i=0;(t=a[i++])&&!l.isPropagationStopped();)for(l.currentTarget=t.elem,s=0;(n=t.handlers[s++])&&!l.isImmediatePropagationStopped();)(!l.rnamespace||n.namespace===!1||l.rnamespace.test(n.namespace))&&(l.handleObj=n,l.data=n.data,e=((o.event.special[n.origType]||{}).handle||n.handler).apply(t.elem,u),e!==void 0&&(l.result=e)===!1&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(r,i){var s,e,t,n,a,u=[],l=i.delegateCount,f=r.target;if(l&&f.nodeType&&!(r.type==="click"&&r.button>=1)){for(;f!==this;f=f.parentNode||this)if(f.nodeType===1&&!(r.type==="click"&&f.disabled===!0)){for(n=[],a={},s=0;s<l;s++)e=i[s],t=e.selector+" ",a[t]===void 0&&(a[t]=e.needsContext?o(t,this).index(f)>-1:o.find(t,this,null,[f]).length),a[t]&&n.push(e);n.length&&u.push({elem:f,handlers:n})}}return f=this,l<i.length&&u.push({elem:f,handlers:i.slice(l)}),u},addProp:function(r,i){Object.defineProperty(o.Event.prototype,r,{enumerable:!0,configurable:!0,get:ne(i)?function(){if(this.originalEvent)return i(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[r]},set:function(s){Object.defineProperty(this,r,{enumerable:!0,configurable:!0,writable:!0,value:s})}})},fix:function(r){return r[o.expando]?r:new o.Event(r)},special:{load:{noBubble:!0},click:{setup:function(r){var i=this||r;return vt.test(i.type)&&i.click&&M(i,"input")&&ar(i,"click",jt),!1},trigger:function(r){var i=this||r;return vt.test(i.type)&&i.click&&M(i,"input")&&ar(i,"click"),!0},_default:function(r){var i=r.target;return vt.test(i.type)&&i.click&&M(i,"input")&&te.get(i,"click")||M(i,"a")}},beforeunload:{postDispatch:function(r){r.result!==void 0&&r.originalEvent&&(r.originalEvent.returnValue=r.result)}}}};function ar(r,i,s){if(!s){te.get(r,i)===void 0&&o.event.add(r,i,jt);return}te.set(r,i,!1),o.event.add(r,i,{namespace:!1,handler:function(e){var t,n,a=te.get(this,i);if(e.isTrigger&1&&this[i]){if(a.length)(o.event.special[i]||{}).delegateType&&e.stopPropagation();else if(a=T.call(arguments),te.set(this,i,a),t=s(this,i),this[i](),n=te.get(this,i),a!==n||t?te.set(this,i,!1):n={},a!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else a.length&&(te.set(this,i,{value:o.event.trigger(o.extend(a[0],o.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})}o.removeEvent=function(r,i,s){r.removeEventListener&&r.removeEventListener(i,s)},o.Event=function(r,i){if(!(this instanceof o.Event))return new o.Event(r,i);r&&r.type?(this.originalEvent=r,this.type=r.type,this.isDefaultPrevented=r.defaultPrevented||r.defaultPrevented===void 0&&r.returnValue===!1?jt:Ct,this.target=r.target&&r.target.nodeType===3?r.target.parentNode:r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget):this.type=r,i&&o.extend(this,i),this.timeStamp=r&&r.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:Ct,isPropagationStopped:Ct,isImmediatePropagationStopped:Ct,isSimulated:!1,preventDefault:function(){var r=this.originalEvent;this.isDefaultPrevented=jt,r&&!this.isSimulated&&r.preventDefault()},stopPropagation:function(){var r=this.originalEvent;this.isPropagationStopped=jt,r&&!this.isSimulated&&r.stopPropagation()},stopImmediatePropagation:function(){var r=this.originalEvent;this.isImmediatePropagationStopped=jt,r&&!this.isSimulated&&r.stopImmediatePropagation(),this.stopPropagation()}},o.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(r,i){o.event.special[r]={setup:function(){return ar(this,r,sn),!1},trigger:function(){return ar(this,r),!0},_default:function(s){return te.get(s.target,r)},delegateType:i}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(r,i){o.event.special[r]={delegateType:i,bindType:i,handle:function(s){var e,t=this,n=s.relatedTarget,a=s.handleObj;return(!n||n!==t&&!o.contains(t,n))&&(s.type=a.origType,e=a.handler.apply(this,arguments),s.type=i),e}}}),o.fn.extend({on:function(r,i,s,e){return gr(this,r,i,s,e)},one:function(r,i,s,e){return gr(this,r,i,s,e,1)},off:function(r,i,s){var e,t;if(r&&r.preventDefault&&r.handleObj)return e=r.handleObj,o(r.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if(typeof r=="object"){for(t in r)this.off(t,i,r[t]);return this}return(i===!1||typeof i=="function")&&(s=i,i=void 0),s===!1&&(s=Ct),this.each(function(){o.event.remove(this,r,s,i)})}});var un=/<script|<style|<link/i,Pr=/checked\s*(?:[^=]|=\s*.checked.)/i,Rr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ir(r,i){return M(r,"table")&&M(i.nodeType!==11?i:i.firstChild,"tr")&&o(r).children("tbody")[0]||r}function Ln(r){return r.type=(r.getAttribute("type")!==null)+"/"+r.type,r}function fn(r){return(r.type||"").slice(0,5)==="true/"?r.type=r.type.slice(5):r.removeAttribute("type"),r}function Or(r,i){var s,e,t,n,a,u,l;if(i.nodeType===1){if(te.hasData(r)&&(n=te.get(r),l=n.events,l)){te.remove(i,"handle events");for(t in l)for(s=0,e=l[t].length;s<e;s++)o.event.add(i,t,l[t][s])}Te.hasData(r)&&(a=Te.access(r),u=o.extend({},a),Te.set(i,u))}}function cn(r,i){var s=i.nodeName.toLowerCase();s==="input"&&vt.test(r.type)?i.checked=r.checked:(s==="input"||s==="textarea")&&(i.defaultValue=r.defaultValue)}function Ht(r,i,s,e){i=N(i);var t,n,a,u,l,f,c=0,d=r.length,p=d-1,v=i[0],y=ne(v);if(y||d>1&&typeof v=="string"&&!be.checkClone&&Pr.test(v))return r.each(function(m){var x=r.eq(m);y&&(i[0]=v.call(this,m,x.html())),Ht(x,i,s,e)});if(d&&(t=jr(i,r[0].ownerDocument,!1,r,e),n=t.firstChild,t.childNodes.length===1&&(t=n),n||e)){for(a=o.map(We(t,"script"),Ln),u=a.length;c<d;c++)l=t,c!==p&&(l=o.clone(l,!0,!0),u&&o.merge(a,We(l,"script"))),s.call(r[c],l,c);if(u)for(f=a[a.length-1].ownerDocument,o.map(a,fn),c=0;c<u;c++)l=a[c],Er.test(l.type||"")&&!te.access(l,"globalEval")&&o.contains(f,l)&&(l.src&&(l.type||"").toLowerCase()!=="module"?o._evalUrl&&!l.noModule&&o._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},f):It(l.textContent.replace(Rr,""),l,f))}return r}function qr(r,i,s){for(var e,t=i?o.filter(i,r):r,n=0;(e=t[n])!=null;n++)!s&&e.nodeType===1&&o.cleanData(We(e)),e.parentNode&&(s&&Dt(e)&&Fr(We(e,"script")),e.parentNode.removeChild(e));return r}o.extend({htmlPrefilter:function(r){return r},clone:function(r,i,s){var e,t,n,a,u=r.cloneNode(!0),l=Dt(r);if(!be.noCloneChecked&&(r.nodeType===1||r.nodeType===11)&&!o.isXMLDoc(r))for(a=We(u),n=We(r),e=0,t=n.length;e<t;e++)cn(n[e],a[e]);if(i)if(s)for(n=n||We(r),a=a||We(u),e=0,t=n.length;e<t;e++)Or(n[e],a[e]);else Or(r,u);return a=We(u,"script"),a.length>0&&Fr(a,!l&&We(r,"script")),u},cleanData:function(r){for(var i,s,e,t=o.event.special,n=0;(s=r[n])!==void 0;n++)if(kt(s)){if(i=s[te.expando]){if(i.events)for(e in i.events)t[e]?o.event.remove(s,e):o.removeEvent(s,e,i.handle);s[te.expando]=void 0}s[Te.expando]&&(s[Te.expando]=void 0)}}}),o.fn.extend({detach:function(r){return qr(this,r,!0)},remove:function(r){return qr(this,r)},text:function(r){return ae(this,function(i){return i===void 0?o.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=i)})},null,r,arguments.length)},append:function(){return Ht(this,arguments,function(r){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=ir(this,r);i.appendChild(r)}})},prepend:function(){return Ht(this,arguments,function(r){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=ir(this,r);i.insertBefore(r,i.firstChild)}})},before:function(){return Ht(this,arguments,function(r){this.parentNode&&this.parentNode.insertBefore(r,this)})},after:function(){return Ht(this,arguments,function(r){this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling)})},empty:function(){for(var r,i=0;(r=this[i])!=null;i++)r.nodeType===1&&(o.cleanData(We(r,!1)),r.textContent="");return this},clone:function(r,i){return r=r==null?!1:r,i=i==null?r:i,this.map(function(){return o.clone(this,r,i)})},html:function(r){return ae(this,function(i){var s=this[0]||{},e=0,t=this.length;if(i===void 0&&s.nodeType===1)return s.innerHTML;if(typeof i=="string"&&!un.test(i)&&!Ke[(Et.exec(i)||["",""])[1].toLowerCase()]){i=o.htmlPrefilter(i);try{for(;e<t;e++)s=this[e]||{},s.nodeType===1&&(o.cleanData(We(s,!1)),s.innerHTML=i);s=0}catch{}}s&&this.empty().append(i)},null,r,arguments.length)},replaceWith:function(){var r=[];return Ht(this,arguments,function(i){var s=this.parentNode;o.inArray(this,r)<0&&(o.cleanData(We(this)),s&&s.replaceChild(i,this))},r)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(r,i){o.fn[r]=function(s){for(var e,t=[],n=o(s),a=n.length-1,u=0;u<=a;u++)e=u===a?this:this.clone(!0),o(n[u])[i](e),ge.apply(t,e.get());return this.pushStack(t)}});var yr=new RegExp("^("+Ft+")(?!px)[a-z%]+$","i"),Pt=/^--/,Rt=function(r){var i=r.ownerDocument.defaultView;return(!i||!i.opener)&&(i=G),i.getComputedStyle(r)},mr=function(r,i,s){var e,t,n={};for(t in i)n[t]=r.style[t],r.style[t]=i[t];e=s.call(r);for(t in i)r.style[t]=n[t];return e},dn=new RegExp(bt.join("|"),"i"),Mr="[\\x20\\t\\r\\n\\f]",_r=new RegExp("^"+Mr+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Mr+"+$","g");(function(){function r(){if(!!f){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",f.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_t.appendChild(l).appendChild(f);var c=G.getComputedStyle(f);s=c.top!=="1%",u=i(c.marginLeft)===12,f.style.right="60%",n=i(c.right)===36,e=i(c.width)===36,f.style.position="absolute",t=i(f.offsetWidth/3)===12,_t.removeChild(l),f=null}}function i(c){return Math.round(parseFloat(c))}var s,e,t,n,a,u,l=z.createElement("div"),f=z.createElement("div");!f.style||(f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",be.clearCloneStyle=f.style.backgroundClip==="content-box",o.extend(be,{boxSizingReliable:function(){return r(),e},pixelBoxStyles:function(){return r(),n},pixelPosition:function(){return r(),s},reliableMarginLeft:function(){return r(),u},scrollboxSize:function(){return r(),t},reliableTrDimensions:function(){var c,d,p,v;return a==null&&(c=z.createElement("table"),d=z.createElement("tr"),p=z.createElement("div"),c.style.cssText="position:absolute;left:-11111px;border-collapse:separate",d.style.cssText="border:1px solid",d.style.height="1px",p.style.height="9px",p.style.display="block",_t.appendChild(c).appendChild(d).appendChild(p),v=G.getComputedStyle(d),a=parseInt(v.height,10)+parseInt(v.borderTopWidth,10)+parseInt(v.borderBottomWidth,10)===d.offsetHeight,_t.removeChild(c)),a}}))})();function Gt(r,i,s){var e,t,n,a,u=Pt.test(i),l=r.style;return s=s||Rt(r),s&&(a=s.getPropertyValue(i)||s[i],u&&(a=a.replace(_r,"$1")),a===""&&!Dt(r)&&(a=o.style(r,i)),!be.pixelBoxStyles()&&yr.test(a)&&dn.test(i)&&(e=l.width,t=l.minWidth,n=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=s.width,l.width=e,l.minWidth=t,l.maxWidth=n)),a!==void 0?a+"":a}function ot(r,i){return{get:function(){if(r()){delete this.get;return}return(this.get=i).apply(this,arguments)}}}var Br=["Webkit","Moz","ms"],or=z.createElement("div").style,gt={};function In(r){for(var i=r[0].toUpperCase()+r.slice(1),s=Br.length;s--;)if(r=Br[s]+i,r in or)return r}function lr(r){var i=o.cssProps[r]||gt[r];return i||(r in or?r:gt[r]=In(r)||r)}var Wr=/^(none|table(?!-c[ea]).+)/,hn={position:"absolute",visibility:"hidden",display:"block"},Ur={letterSpacing:"0",fontWeight:"400"};function Vr(r,i,s){var e=pt.exec(i);return e?Math.max(0,e[2]-(s||0))+(e[3]||"px"):i}function ke(r,i,s,e,t,n){var a=i==="width"?1:0,u=0,l=0;if(s===(e?"border":"content"))return 0;for(;a<4;a+=2)s==="margin"&&(l+=o.css(r,s+bt[a],!0,t)),e?(s==="content"&&(l-=o.css(r,"padding"+bt[a],!0,t)),s!=="margin"&&(l-=o.css(r,"border"+bt[a]+"Width",!0,t))):(l+=o.css(r,"padding"+bt[a],!0,t),s!=="padding"?l+=o.css(r,"border"+bt[a]+"Width",!0,t):u+=o.css(r,"border"+bt[a]+"Width",!0,t));return!e&&n>=0&&(l+=Math.max(0,Math.ceil(r["offset"+i[0].toUpperCase()+i.slice(1)]-n-l-u-.5))||0),l}function Ot(r,i,s){var e=Rt(r),t=!be.boxSizingReliable()||s,n=t&&o.css(r,"boxSizing",!1,e)==="border-box",a=n,u=Gt(r,i,e),l="offset"+i[0].toUpperCase()+i.slice(1);if(yr.test(u)){if(!s)return u;u="auto"}return(!be.boxSizingReliable()&&n||!be.reliableTrDimensions()&&M(r,"tr")||u==="auto"||!parseFloat(u)&&o.css(r,"display",!1,e)==="inline")&&r.getClientRects().length&&(n=o.css(r,"boxSizing",!1,e)==="border-box",a=l in r,a&&(u=r[l])),u=parseFloat(u)||0,u+ke(r,i,s||(n?"border":"content"),a,e,u)+"px"}o.extend({cssHooks:{opacity:{get:function(r,i){if(i){var s=Gt(r,"opacity");return s===""?"1":s}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(r,i,s,e){if(!(!r||r.nodeType===3||r.nodeType===8||!r.style)){var t,n,a,u=Oe(i),l=Pt.test(i),f=r.style;if(l||(i=lr(u)),a=o.cssHooks[i]||o.cssHooks[u],s!==void 0){if(n=typeof s,n==="string"&&(t=pt.exec(s))&&t[1]&&(s=pr(r,i,t),n="number"),s==null||s!==s)return;n==="number"&&!l&&(s+=t&&t[3]||(o.cssNumber[u]?"":"px")),!be.clearCloneStyle&&s===""&&i.indexOf("background")===0&&(f[i]="inherit"),(!a||!("set"in a)||(s=a.set(r,s,e))!==void 0)&&(l?f.setProperty(i,s):f[i]=s)}else return a&&"get"in a&&(t=a.get(r,!1,e))!==void 0?t:f[i]}},css:function(r,i,s,e){var t,n,a,u=Oe(i),l=Pt.test(i);return l||(i=lr(u)),a=o.cssHooks[i]||o.cssHooks[u],a&&"get"in a&&(t=a.get(r,!0,s)),t===void 0&&(t=Gt(r,i,e)),t==="normal"&&i in Ur&&(t=Ur[i]),s===""||s?(n=parseFloat(t),s===!0||isFinite(n)?n||0:t):t}}),o.each(["height","width"],function(r,i){o.cssHooks[i]={get:function(s,e,t){if(e)return Wr.test(o.css(s,"display"))&&(!s.getClientRects().length||!s.getBoundingClientRect().width)?mr(s,hn,function(){return Ot(s,i,t)}):Ot(s,i,t)},set:function(s,e,t){var n,a=Rt(s),u=!be.scrollboxSize()&&a.position==="absolute",l=u||t,f=l&&o.css(s,"boxSizing",!1,a)==="border-box",c=t?ke(s,i,t,f,a):0;return f&&u&&(c-=Math.ceil(s["offset"+i[0].toUpperCase()+i.slice(1)]-parseFloat(a[i])-ke(s,i,"border",!1,a)-.5)),c&&(n=pt.exec(e))&&(n[3]||"px")!=="px"&&(s.style[i]=e,e=o.css(s,i)),Vr(s,e,c)}}}),o.cssHooks.marginLeft=ot(be.reliableMarginLeft,function(r,i){if(i)return(parseFloat(Gt(r,"marginLeft"))||r.getBoundingClientRect().left-mr(r,{marginLeft:0},function(){return r.getBoundingClientRect().left}))+"px"}),o.each({margin:"",padding:"",border:"Width"},function(r,i){o.cssHooks[r+i]={expand:function(s){for(var e=0,t={},n=typeof s=="string"?s.split(" "):[s];e<4;e++)t[r+bt[e]+i]=n[e]||n[e-2]||n[0];return t}},r!=="margin"&&(o.cssHooks[r+i].set=Vr)}),o.fn.extend({css:function(r,i){return ae(this,function(s,e,t){var n,a,u={},l=0;if(Array.isArray(e)){for(n=Rt(s),a=e.length;l<a;l++)u[e[l]]=o.css(s,e[l],!1,n);return u}return t!==void 0?o.style(s,e,t):o.css(s,e)},r,i,arguments.length>1)}});function et(r,i,s,e,t){return new et.prototype.init(r,i,s,e,t)}o.Tween=et,et.prototype={constructor:et,init:function(r,i,s,e,t,n){this.elem=r,this.prop=s,this.easing=t||o.easing._default,this.options=i,this.start=this.now=this.cur(),this.end=e,this.unit=n||(o.cssNumber[s]?"":"px")},cur:function(){var r=et.propHooks[this.prop];return r&&r.get?r.get(this):et.propHooks._default.get(this)},run:function(r){var i,s=et.propHooks[this.prop];return this.options.duration?this.pos=i=o.easing[this.easing](r,this.options.duration*r,0,1,this.options.duration):this.pos=i=r,this.now=(this.end-this.start)*i+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),s&&s.set?s.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.propHooks={_default:{get:function(r){var i;return r.elem.nodeType!==1||r.elem[r.prop]!=null&&r.elem.style[r.prop]==null?r.elem[r.prop]:(i=o.css(r.elem,r.prop,""),!i||i==="auto"?0:i)},set:function(r){o.fx.step[r.prop]?o.fx.step[r.prop](r):r.elem.nodeType===1&&(o.cssHooks[r.prop]||r.elem.style[lr(r.prop)]!=null)?o.style(r.elem,r.prop,r.now+r.unit):r.elem[r.prop]=r.now}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(r){r.elem.nodeType&&r.elem.parentNode&&(r.elem[r.prop]=r.now)}},o.easing={linear:function(r){return r},swing:function(r){return .5-Math.cos(r*Math.PI)/2},_default:"swing"},o.fx=et.prototype.init,o.fx.step={};var qt,Kt,Xr=/^(?:toggle|show|hide)$/,xr=/queueHooks$/;function Cr(){Kt&&(z.hidden===!1&&G.requestAnimationFrame?G.requestAnimationFrame(Cr):G.setTimeout(Cr,o.fx.interval),o.fx.tick())}function Yt(){return G.setTimeout(function(){qt=void 0}),qt=Date.now()}function sr(r,i){var s,e=0,t={height:r};for(i=i?1:0;e<4;e+=2-i)s=bt[e],t["margin"+s]=t["padding"+s]=r;return i&&(t.opacity=t.width=r),t}function Tr(r,i,s){for(var e,t=(Re.tweeners[i]||[]).concat(Re.tweeners["*"]),n=0,a=t.length;n<a;n++)if(e=t[n].call(s,i,r))return e}function Dr(r,i,s){var e,t,n,a,u,l,f,c,d="width"in i||"height"in i,p=this,v={},y=r.style,m=r.nodeType&&Jt(r),x=te.get(r,"fxshow");s.queue||(a=o._queueHooks(r,"fx"),a.unqueued==null&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,o.queue(r,"fx").length||a.empty.fire()})}));for(e in i)if(t=i[e],Xr.test(t)){if(delete i[e],n=n||t==="toggle",t===(m?"hide":"show"))if(t==="show"&&x&&x[e]!==void 0)m=!0;else continue;v[e]=x&&x[e]||o.style(r,e)}if(l=!o.isEmptyObject(i),!(!l&&o.isEmptyObject(v))){d&&r.nodeType===1&&(s.overflow=[y.overflow,y.overflowX,y.overflowY],f=x&&x.display,f==null&&(f=te.get(r,"display")),c=o.css(r,"display"),c==="none"&&(f?c=f:(xt([r],!0),f=r.style.display||f,c=o.css(r,"display"),xt([r]))),(c==="inline"||c==="inline-block"&&f!=null)&&o.css(r,"float")==="none"&&(l||(p.done(function(){y.display=f}),f==null&&(c=y.display,f=c==="none"?"":c)),y.display="inline-block")),s.overflow&&(y.overflow="hidden",p.always(function(){y.overflow=s.overflow[0],y.overflowX=s.overflow[1],y.overflowY=s.overflow[2]})),l=!1;for(e in v)l||(x?"hidden"in x&&(m=x.hidden):x=te.access(r,"fxshow",{display:f}),n&&(x.hidden=!m),m&&xt([r],!0),p.done(function(){m||xt([r]),te.remove(r,"fxshow");for(e in v)o.style(r,e,v[e])})),l=Tr(m?x[e]:0,e,p),e in x||(x[e]=l.start,m&&(l.end=l.start,l.start=0))}}function wt(r,i){var s,e,t,n,a;for(s in r)if(e=Oe(s),t=i[e],n=r[s],Array.isArray(n)&&(t=n[1],n=r[s]=n[0]),s!==e&&(r[e]=n,delete r[s]),a=o.cssHooks[e],a&&"expand"in a){n=a.expand(n),delete r[e];for(s in n)s in r||(r[s]=n[s],i[s]=t)}else i[e]=t}function Re(r,i,s){var e,t,n=0,a=Re.prefilters.length,u=o.Deferred().always(function(){delete l.elem}),l=function(){if(t)return!1;for(var d=qt||Yt(),p=Math.max(0,f.startTime+f.duration-d),v=p/f.duration||0,y=1-v,m=0,x=f.tweens.length;m<x;m++)f.tweens[m].run(y);return u.notifyWith(r,[f,y,p]),y<1&&x?p:(x||u.notifyWith(r,[f,1,0]),u.resolveWith(r,[f]),!1)},f=u.promise({elem:r,props:o.extend({},i),opts:o.extend(!0,{specialEasing:{},easing:o.easing._default},s),originalProperties:i,originalOptions:s,startTime:qt||Yt(),duration:s.duration,tweens:[],createTween:function(d,p){var v=o.Tween(r,f.opts,d,p,f.opts.specialEasing[d]||f.opts.easing);return f.tweens.push(v),v},stop:function(d){var p=0,v=d?f.tweens.length:0;if(t)return this;for(t=!0;p<v;p++)f.tweens[p].run(1);return d?(u.notifyWith(r,[f,1,0]),u.resolveWith(r,[f,d])):u.rejectWith(r,[f,d]),this}}),c=f.props;for(wt(c,f.opts.specialEasing);n<a;n++)if(e=Re.prefilters[n].call(f,r,c,f.opts),e)return ne(e.stop)&&(o._queueHooks(f.elem,f.opts.queue).stop=e.stop.bind(e)),e;return o.map(c,Tr,f),ne(f.opts.start)&&f.opts.start.call(r,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),o.fx.timer(o.extend(l,{elem:r,anim:f,queue:f.opts.queue})),f}o.Animation=o.extend(Re,{tweeners:{"*":[function(r,i){var s=this.createTween(r,i);return pr(s.elem,r,pt.exec(i),s),s}]},tweener:function(r,i){ne(r)?(i=r,r=["*"]):r=r.match(Se);for(var s,e=0,t=r.length;e<t;e++)s=r[e],Re.tweeners[s]=Re.tweeners[s]||[],Re.tweeners[s].unshift(i)},prefilters:[Dr],prefilter:function(r,i){i?Re.prefilters.unshift(r):Re.prefilters.push(r)}}),o.speed=function(r,i,s){var e=r&&typeof r=="object"?o.extend({},r):{complete:s||!s&&i||ne(r)&&r,duration:r,easing:s&&i||i&&!ne(i)&&i};return o.fx.off?e.duration=0:typeof e.duration!="number"&&(e.duration in o.fx.speeds?e.duration=o.fx.speeds[e.duration]:e.duration=o.fx.speeds._default),(e.queue==null||e.queue===!0)&&(e.queue="fx"),e.old=e.complete,e.complete=function(){ne(e.old)&&e.old.call(this),e.queue&&o.dequeue(this,e.queue)},e},o.fn.extend({fadeTo:function(r,i,s,e){return this.filter(Jt).css("opacity",0).show().end().animate({opacity:i},r,s,e)},animate:function(r,i,s,e){var t=o.isEmptyObject(r),n=o.speed(i,s,e),a=function(){var u=Re(this,o.extend({},r),n);(t||te.get(this,"finish"))&&u.stop(!0)};return a.finish=a,t||n.queue===!1?this.each(a):this.queue(n.queue,a)},stop:function(r,i,s){var e=function(t){var n=t.stop;delete t.stop,n(s)};return typeof r!="string"&&(s=i,i=r,r=void 0),i&&this.queue(r||"fx",[]),this.each(function(){var t=!0,n=r!=null&&r+"queueHooks",a=o.timers,u=te.get(this);if(n)u[n]&&u[n].stop&&e(u[n]);else for(n in u)u[n]&&u[n].stop&&xr.test(n)&&e(u[n]);for(n=a.length;n--;)a[n].elem===this&&(r==null||a[n].queue===r)&&(a[n].anim.stop(s),t=!1,a.splice(n,1));(t||!s)&&o.dequeue(this,r)})},finish:function(r){return r!==!1&&(r=r||"fx"),this.each(function(){var i,s=te.get(this),e=s[r+"queue"],t=s[r+"queueHooks"],n=o.timers,a=e?e.length:0;for(s.finish=!0,o.queue(this,r,[]),t&&t.stop&&t.stop.call(this,!0),i=n.length;i--;)n[i].elem===this&&n[i].queue===r&&(n[i].anim.stop(!0),n.splice(i,1));for(i=0;i<a;i++)e[i]&&e[i].finish&&e[i].finish.call(this);delete s.finish})}}),o.each(["toggle","show","hide"],function(r,i){var s=o.fn[i];o.fn[i]=function(e,t,n){return e==null||typeof e=="boolean"?s.apply(this,arguments):this.animate(sr(i,!0),e,t,n)}}),o.each({slideDown:sr("show"),slideUp:sr("hide"),slideToggle:sr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(r,i){o.fn[r]=function(s,e,t){return this.animate(i,s,e,t)}}),o.timers=[],o.fx.tick=function(){var r,i=0,s=o.timers;for(qt=Date.now();i<s.length;i++)r=s[i],!r()&&s[i]===r&&s.splice(i--,1);s.length||o.fx.stop(),qt=void 0},o.fx.timer=function(r){o.timers.push(r),o.fx.start()},o.fx.interval=13,o.fx.start=function(){Kt||(Kt=!0,Cr())},o.fx.stop=function(){Kt=null},o.fx.speeds={slow:600,fast:200,_default:400},o.fn.delay=function(r,i){return r=o.fx&&o.fx.speeds[r]||r,i=i||"fx",this.queue(i,function(s,e){var t=G.setTimeout(s,r);e.stop=function(){G.clearTimeout(t)}})},function(){var r=z.createElement("input"),i=z.createElement("select"),s=i.appendChild(z.createElement("option"));r.type="checkbox",be.checkOn=r.value!=="",be.optSelected=s.selected,r=z.createElement("input"),r.value="t",r.type="radio",be.radioValue=r.value==="t"}();var wr,Mt=o.expr.attrHandle;o.fn.extend({attr:function(r,i){return ae(this,o.attr,r,i,arguments.length>1)},removeAttr:function(r){return this.each(function(){o.removeAttr(this,r)})}}),o.extend({attr:function(r,i,s){var e,t,n=r.nodeType;if(!(n===3||n===8||n===2)){if(typeof r.getAttribute>"u")return o.prop(r,i,s);if((n!==1||!o.isXMLDoc(r))&&(t=o.attrHooks[i.toLowerCase()]||(o.expr.match.bool.test(i)?wr:void 0)),s!==void 0){if(s===null){o.removeAttr(r,i);return}return t&&"set"in t&&(e=t.set(r,s,i))!==void 0?e:(r.setAttribute(i,s+""),s)}return t&&"get"in t&&(e=t.get(r,i))!==null?e:(e=o.find.attr(r,i),e==null?void 0:e)}},attrHooks:{type:{set:function(r,i){if(!be.radioValue&&i==="radio"&&M(r,"input")){var s=r.value;return r.setAttribute("type",i),s&&(r.value=s),i}}}},removeAttr:function(r,i){var s,e=0,t=i&&i.match(Se);if(t&&r.nodeType===1)for(;s=t[e++];)r.removeAttribute(s)}}),wr={set:function(r,i,s){return i===!1?o.removeAttr(r,s):r.setAttribute(s,s),s}},o.each(o.expr.match.bool.source.match(/\w+/g),function(r,i){var s=Mt[i]||o.find.attr;Mt[i]=function(e,t,n){var a,u,l=t.toLowerCase();return n||(u=Mt[l],Mt[l]=a,a=s(e,t,n)!=null?l:null,Mt[l]=u),a}});var tt=/^(?:input|select|textarea|button)$/i,xe=/^(?:a|area)$/i;o.fn.extend({prop:function(r,i){return ae(this,o.prop,r,i,arguments.length>1)},removeProp:function(r){return this.each(function(){delete this[o.propFix[r]||r]})}}),o.extend({prop:function(r,i,s){var e,t,n=r.nodeType;if(!(n===3||n===8||n===2))return(n!==1||!o.isXMLDoc(r))&&(i=o.propFix[i]||i,t=o.propHooks[i]),s!==void 0?t&&"set"in t&&(e=t.set(r,s,i))!==void 0?e:r[i]=s:t&&"get"in t&&(e=t.get(r,i))!==null?e:r[i]},propHooks:{tabIndex:{get:function(r){var i=o.find.attr(r,"tabindex");return i?parseInt(i,10):tt.test(r.nodeName)||xe.test(r.nodeName)&&r.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),be.optSelected||(o.propHooks.selected={get:function(r){var i=r.parentNode;return i&&i.parentNode&&i.parentNode.selectedIndex,null},set:function(r){var i=r.parentNode;i&&(i.selectedIndex,i.parentNode&&i.parentNode.selectedIndex)}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this});function St(r){var i=r.match(Se)||[];return i.join(" ")}function At(r){return r.getAttribute&&r.getAttribute("class")||""}function Be(r){return Array.isArray(r)?r:typeof r=="string"?r.match(Se)||[]:[]}o.fn.extend({addClass:function(r){var i,s,e,t,n,a;return ne(r)?this.each(function(u){o(this).addClass(r.call(this,u,At(this)))}):(i=Be(r),i.length?this.each(function(){if(e=At(this),s=this.nodeType===1&&" "+St(e)+" ",s){for(n=0;n<i.length;n++)t=i[n],s.indexOf(" "+t+" ")<0&&(s+=t+" ");a=St(s),e!==a&&this.setAttribute("class",a)}}):this)},removeClass:function(r){var i,s,e,t,n,a;return ne(r)?this.each(function(u){o(this).removeClass(r.call(this,u,At(this)))}):arguments.length?(i=Be(r),i.length?this.each(function(){if(e=At(this),s=this.nodeType===1&&" "+St(e)+" ",s){for(n=0;n<i.length;n++)for(t=i[n];s.indexOf(" "+t+" ")>-1;)s=s.replace(" "+t+" "," ");a=St(s),e!==a&&this.setAttribute("class",a)}}):this):this.attr("class","")},toggleClass:function(r,i){var s,e,t,n,a=typeof r,u=a==="string"||Array.isArray(r);return ne(r)?this.each(function(l){o(this).toggleClass(r.call(this,l,At(this),i),i)}):typeof i=="boolean"&&u?i?this.addClass(r):this.removeClass(r):(s=Be(r),this.each(function(){if(u)for(n=o(this),t=0;t<s.length;t++)e=s[t],n.hasClass(e)?n.removeClass(e):n.addClass(e);else(r===void 0||a==="boolean")&&(e=At(this),e&&te.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||r===!1?"":te.get(this,"__className__")||""))}))},hasClass:function(r){var i,s,e=0;for(i=" "+r+" ";s=this[e++];)if(s.nodeType===1&&(" "+St(At(s))+" ").indexOf(i)>-1)return!0;return!1}});var pn=/\r/g;o.fn.extend({val:function(r){var i,s,e,t=this[0];return arguments.length?(e=ne(r),this.each(function(n){var a;this.nodeType===1&&(e?a=r.call(this,n,o(this).val()):a=r,a==null?a="":typeof a=="number"?a+="":Array.isArray(a)&&(a=o.map(a,function(u){return u==null?"":u+""})),i=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()],(!i||!("set"in i)||i.set(this,a,"value")===void 0)&&(this.value=a))})):t?(i=o.valHooks[t.type]||o.valHooks[t.nodeName.toLowerCase()],i&&"get"in i&&(s=i.get(t,"value"))!==void 0?s:(s=t.value,typeof s=="string"?s.replace(pn,""):s==null?"":s)):void 0}}),o.extend({valHooks:{option:{get:function(r){var i=o.find.attr(r,"value");return i!=null?i:St(o.text(r))}},select:{get:function(r){var i,s,e,t=r.options,n=r.selectedIndex,a=r.type==="select-one",u=a?null:[],l=a?n+1:t.length;for(n<0?e=l:e=a?n:0;e<l;e++)if(s=t[e],(s.selected||e===n)&&!s.disabled&&(!s.parentNode.disabled||!M(s.parentNode,"optgroup"))){if(i=o(s).val(),a)return i;u.push(i)}return u},set:function(r,i){for(var s,e,t=r.options,n=o.makeArray(i),a=t.length;a--;)e=t[a],(e.selected=o.inArray(o.valHooks.option.get(e),n)>-1)&&(s=!0);return s||(r.selectedIndex=-1),n}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(r,i){if(Array.isArray(i))return r.checked=o.inArray(o(r).val(),i)>-1}},be.checkOn||(o.valHooks[this].get=function(r){return r.getAttribute("value")===null?"on":r.value})}),be.focusin="onfocusin"in G;var qe=/^(?:focusinfocus|focusoutblur)$/,vn=function(r){r.stopPropagation()};o.extend(o.event,{trigger:function(r,i,s,e){var t,n,a,u,l,f,c,d,p=[s||z],v=Ge.call(r,"type")?r.type:r,y=Ge.call(r,"namespace")?r.namespace.split("."):[];if(n=d=a=s=s||z,!(s.nodeType===3||s.nodeType===8)&&!qe.test(v+o.event.triggered)&&(v.indexOf(".")>-1&&(y=v.split("."),v=y.shift(),y.sort()),l=v.indexOf(":")<0&&"on"+v,r=r[o.expando]?r:new o.Event(v,typeof r=="object"&&r),r.isTrigger=e?2:3,r.namespace=y.join("."),r.rnamespace=r.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,r.result=void 0,r.target||(r.target=s),i=i==null?[r]:o.makeArray(i,[r]),c=o.event.special[v]||{},!(!e&&c.trigger&&c.trigger.apply(s,i)===!1))){if(!e&&!c.noBubble&&!ht(s)){for(u=c.delegateType||v,qe.test(u+v)||(n=n.parentNode);n;n=n.parentNode)p.push(n),a=n;a===(s.ownerDocument||z)&&p.push(a.defaultView||a.parentWindow||G)}for(t=0;(n=p[t++])&&!r.isPropagationStopped();)d=n,r.type=t>1?u:c.bindType||v,f=(te.get(n,"events")||Object.create(null))[r.type]&&te.get(n,"handle"),f&&f.apply(n,i),f=l&&n[l],f&&f.apply&&kt(n)&&(r.result=f.apply(n,i),r.result===!1&&r.preventDefault());return r.type=v,!e&&!r.isDefaultPrevented()&&(!c._default||c._default.apply(p.pop(),i)===!1)&&kt(s)&&l&&ne(s[v])&&!ht(s)&&(a=s[l],a&&(s[l]=null),o.event.triggered=v,r.isPropagationStopped()&&d.addEventListener(v,vn),s[v](),r.isPropagationStopped()&&d.removeEventListener(v,vn),o.event.triggered=void 0,a&&(s[l]=a)),r.result}},simulate:function(r,i,s){var e=o.extend(new o.Event,s,{type:r,isSimulated:!0});o.event.trigger(e,null,i)}}),o.fn.extend({trigger:function(r,i){return this.each(function(){o.event.trigger(r,i,this)})},triggerHandler:function(r,i){var s=this[0];if(s)return o.event.trigger(r,i,s,!0)}}),be.focusin||o.each({focus:"focusin",blur:"focusout"},function(r,i){var s=function(e){o.event.simulate(i,e.target,o.event.fix(e))};o.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=te.access(e,i);t||e.addEventListener(r,s,!0),te.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=te.access(e,i)-1;t?te.access(e,i,t):(e.removeEventListener(r,s,!0),te.remove(e,i))}}});var zt=G.location,Jr={guid:Date.now()},ur=/\?/;o.parseXML=function(r){var i,s;if(!r||typeof r!="string")return null;try{i=new G.DOMParser().parseFromString(r,"text/xml")}catch{}return s=i&&i.getElementsByTagName("parsererror")[0],(!i||s)&&o.error("Invalid XML: "+(s?o.map(s.childNodes,function(e){return e.textContent}).join(`
`):r)),i};var Gr=/\[\]$/,Sr=/\r?\n/g,Ar=/^(?:submit|button|image|reset|file)$/i,kn=/^(?:input|select|textarea|keygen)/i;function Kr(r,i,s,e){var t;if(Array.isArray(i))o.each(i,function(n,a){s||Gr.test(r)?e(r,a):Kr(r+"["+(typeof a=="object"&&a!=null?n:"")+"]",a,s,e)});else if(!s&&it(i)==="object")for(t in i)Kr(r+"["+t+"]",i[t],s,e);else e(r,i)}o.param=function(r,i){var s,e=[],t=function(n,a){var u=ne(a)?a():a;e[e.length]=encodeURIComponent(n)+"="+encodeURIComponent(u==null?"":u)};if(r==null)return"";if(Array.isArray(r)||r.jquery&&!o.isPlainObject(r))o.each(r,function(){t(this.name,this.value)});else for(s in r)Kr(s,r[s],i,t);return e.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var r=o.prop(this,"elements");return r?o.makeArray(r):this}).filter(function(){var r=this.type;return this.name&&!o(this).is(":disabled")&&kn.test(this.nodeName)&&!Ar.test(r)&&(this.checked||!vt.test(r))}).map(function(r,i){var s=o(this).val();return s==null?null:Array.isArray(s)?o.map(s,function(e){return{name:i.name,value:e.replace(Sr,`\r
`)}}):{name:i.name,value:s.replace(Sr,`\r
`)}}).get()}});var bn=/%20/g,Yr=/#.*$/,gn=/([?&])_=[^&]*/,En=/^(.*?):[ \t]*([^\r\n]*)$/mg,Fn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,fr=/^(?:GET|HEAD)$/,Nr=/^\/\//,yn={},Lr={},mn="*/".concat("*"),zr=z.createElement("a");zr.href=zt.href;function _n(r){return function(i,s){typeof i!="string"&&(s=i,i="*");var e,t=0,n=i.toLowerCase().match(Se)||[];if(ne(s))for(;e=n[t++];)e[0]==="+"?(e=e.slice(1)||"*",(r[e]=r[e]||[]).unshift(s)):(r[e]=r[e]||[]).push(s)}}function Qr(r,i,s,e){var t={},n=r===Lr;function a(u){var l;return t[u]=!0,o.each(r[u]||[],function(f,c){var d=c(i,s,e);if(typeof d=="string"&&!n&&!t[d])return i.dataTypes.unshift(d),a(d),!1;if(n)return!(l=d)}),l}return a(i.dataTypes[0])||!t["*"]&&a("*")}function Bt(r,i){var s,e,t=o.ajaxSettings.flatOptions||{};for(s in i)i[s]!==void 0&&((t[s]?r:e||(e={}))[s]=i[s]);return e&&o.extend(!0,r,e),r}function Ir(r,i,s){for(var e,t,n,a,u=r.contents,l=r.dataTypes;l[0]==="*";)l.shift(),e===void 0&&(e=r.mimeType||i.getResponseHeader("Content-Type"));if(e){for(t in u)if(u[t]&&u[t].test(e)){l.unshift(t);break}}if(l[0]in s)n=l[0];else{for(t in s){if(!l[0]||r.converters[t+" "+l[0]]){n=t;break}a||(a=t)}n=n||a}if(n)return n!==l[0]&&l.unshift(n),s[n]}function Zr(r,i,s,e){var t,n,a,u,l,f={},c=r.dataTypes.slice();if(c[1])for(a in r.converters)f[a.toLowerCase()]=r.converters[a];for(n=c.shift();n;)if(r.responseFields[n]&&(s[r.responseFields[n]]=i),!l&&e&&r.dataFilter&&(i=r.dataFilter(i,r.dataType)),l=n,n=c.shift(),n){if(n==="*")n=l;else if(l!=="*"&&l!==n){if(a=f[l+" "+n]||f["* "+n],!a){for(t in f)if(u=t.split(" "),u[1]===n&&(a=f[l+" "+u[0]]||f["* "+u[0]],a)){a===!0?a=f[t]:f[t]!==!0&&(n=u[0],c.unshift(u[1]));break}}if(a!==!0)if(a&&r.throws)i=a(i);else try{i=a(i)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+n}}}}return{state:"success",data:i}}o.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zt.href,type:"GET",isLocal:Fn.test(zt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":mn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":o.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(r,i){return i?Bt(Bt(r,o.ajaxSettings),i):Bt(o.ajaxSettings,r)},ajaxPrefilter:_n(yn),ajaxTransport:_n(Lr),ajax:function(r,i){typeof r=="object"&&(i=r,r=void 0),i=i||{};var s,e,t,n,a,u,l,f,c,d,p=o.ajaxSetup({},i),v=p.context||p,y=p.context&&(v.nodeType||v.jquery)?o(v):o.event,m=o.Deferred(),x=o.Callbacks("once memory"),A=p.statusCode||{},F={},H={},O="canceled",w={readyState:0,getResponseHeader:function(B){var se;if(l){if(!n)for(n={};se=En.exec(t);)n[se[1].toLowerCase()+" "]=(n[se[1].toLowerCase()+" "]||[]).concat(se[2]);se=n[B.toLowerCase()+" "]}return se==null?null:se.join(", ")},getAllResponseHeaders:function(){return l?t:null},setRequestHeader:function(B,se){return l==null&&(B=H[B.toLowerCase()]=H[B.toLowerCase()]||B,F[B]=se),this},overrideMimeType:function(B){return l==null&&(p.mimeType=B),this},statusCode:function(B){var se;if(B)if(l)w.always(B[w.status]);else for(se in B)A[se]=[A[se],B[se]];return this},abort:function(B){var se=B||O;return s&&s.abort(se),Z(0,se),this}};if(m.promise(w),p.url=((r||p.url||zt.href)+"").replace(Nr,zt.protocol+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Se)||[""],p.crossDomain==null){u=z.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=zr.protocol+"//"+zr.host!=u.protocol+"//"+u.host}catch{p.crossDomain=!0}}if(p.data&&p.processData&&typeof p.data!="string"&&(p.data=o.param(p.data,p.traditional)),Qr(yn,p,i,w),l)return w;f=o.event&&p.global,f&&o.active++===0&&o.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!fr.test(p.type),e=p.url.replace(Yr,""),p.hasContent?p.data&&p.processData&&(p.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(p.data=p.data.replace(bn,"+")):(d=p.url.slice(e.length),p.data&&(p.processData||typeof p.data=="string")&&(e+=(ur.test(e)?"&":"?")+p.data,delete p.data),p.cache===!1&&(e=e.replace(gn,"$1"),d=(ur.test(e)?"&":"?")+"_="+Jr.guid+++d),p.url=e+d),p.ifModified&&(o.lastModified[e]&&w.setRequestHeader("If-Modified-Since",o.lastModified[e]),o.etag[e]&&w.setRequestHeader("If-None-Match",o.etag[e])),(p.data&&p.hasContent&&p.contentType!==!1||i.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(p.dataTypes[0]!=="*"?", "+mn+"; q=0.01":""):p.accepts["*"]);for(c in p.headers)w.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(p.beforeSend.call(v,w,p)===!1||l))return w.abort();if(O="abort",x.add(p.complete),w.done(p.success),w.fail(p.error),s=Qr(Lr,p,i,w),!s)Z(-1,"No Transport");else{if(w.readyState=1,f&&y.trigger("ajaxSend",[w,p]),l)return w;p.async&&p.timeout>0&&(a=G.setTimeout(function(){w.abort("timeout")},p.timeout));try{l=!1,s.send(F,Z)}catch(B){if(l)throw B;Z(-1,B)}}function Z(B,se,Ye,rt){var Ae,ze,Ue,De,Qe,Ve=se;l||(l=!0,a&&G.clearTimeout(a),s=void 0,t=rt||"",w.readyState=B>0?4:0,Ae=B>=200&&B<300||B===304,Ye&&(De=Ir(p,w,Ye)),!Ae&&o.inArray("script",p.dataTypes)>-1&&o.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),De=Zr(p,De,w,Ae),Ae?(p.ifModified&&(Qe=w.getResponseHeader("Last-Modified"),Qe&&(o.lastModified[e]=Qe),Qe=w.getResponseHeader("etag"),Qe&&(o.etag[e]=Qe)),B===204||p.type==="HEAD"?Ve="nocontent":B===304?Ve="notmodified":(Ve=De.state,ze=De.data,Ue=De.error,Ae=!Ue)):(Ue=Ve,(B||!Ve)&&(Ve="error",B<0&&(B=0))),w.status=B,w.statusText=(se||Ve)+"",Ae?m.resolveWith(v,[ze,Ve,w]):m.rejectWith(v,[w,Ve,Ue]),w.statusCode(A),A=void 0,f&&y.trigger(Ae?"ajaxSuccess":"ajaxError",[w,p,Ae?ze:Ue]),x.fireWith(v,[w,Ve]),f&&(y.trigger("ajaxComplete",[w,p]),--o.active||o.event.trigger("ajaxStop")))}return w},getJSON:function(r,i,s){return o.get(r,i,s,"json")},getScript:function(r,i){return o.get(r,void 0,i,"script")}}),o.each(["get","post"],function(r,i){o[i]=function(s,e,t,n){return ne(e)&&(n=n||t,t=e,e=void 0),o.ajax(o.extend({url:s,type:i,dataType:n,data:e,success:t},o.isPlainObject(s)&&s))}}),o.ajaxPrefilter(function(r){var i;for(i in r.headers)i.toLowerCase()==="content-type"&&(r.contentType=r.headers[i]||"")}),o._evalUrl=function(r,i,s){return o.ajax({url:r,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){o.globalEval(e,i,s)}})},o.fn.extend({wrapAll:function(r){var i;return this[0]&&(ne(r)&&(r=r.call(this[0])),i=o(r,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&i.insertBefore(this[0]),i.map(function(){for(var s=this;s.firstElementChild;)s=s.firstElementChild;return s}).append(this)),this},wrapInner:function(r){return ne(r)?this.each(function(i){o(this).wrapInner(r.call(this,i))}):this.each(function(){var i=o(this),s=i.contents();s.length?s.wrapAll(r):i.append(r)})},wrap:function(r){var i=ne(r);return this.each(function(s){o(this).wrapAll(i?r.call(this,s):r)})},unwrap:function(r){return this.parent(r).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.pseudos.hidden=function(r){return!o.expr.pseudos.visible(r)},o.expr.pseudos.visible=function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)},o.ajaxSettings.xhr=function(){try{return new G.XMLHttpRequest}catch{}};var kr={0:200,1223:204},Qt=o.ajaxSettings.xhr();be.cors=!!Qt&&"withCredentials"in Qt,be.ajax=Qt=!!Qt,o.ajaxTransport(function(r){var i,s;if(be.cors||Qt&&!r.crossDomain)return{send:function(e,t){var n,a=r.xhr();if(a.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)a[n]=r.xhrFields[n];r.mimeType&&a.overrideMimeType&&a.overrideMimeType(r.mimeType),!r.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");for(n in e)a.setRequestHeader(n,e[n]);i=function(u){return function(){i&&(i=s=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,u==="abort"?a.abort():u==="error"?typeof a.status!="number"?t(0,"error"):t(a.status,a.statusText):t(kr[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=i(),s=a.onerror=a.ontimeout=i("error"),a.onabort!==void 0?a.onabort=s:a.onreadystatechange=function(){a.readyState===4&&G.setTimeout(function(){i&&s()})},i=i("abort");try{a.send(r.hasContent&&r.data||null)}catch(u){if(i)throw u}},abort:function(){i&&i()}}}),o.ajaxPrefilter(function(r){r.crossDomain&&(r.contents.script=!1)}),o.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(r){return o.globalEval(r),r}}}),o.ajaxPrefilter("script",function(r){r.cache===void 0&&(r.cache=!1),r.crossDomain&&(r.type="GET")}),o.ajaxTransport("script",function(r){if(r.crossDomain||r.scriptAttrs){var i,s;return{send:function(e,t){i=o("<script>").attr(r.scriptAttrs||{}).prop({charset:r.scriptCharset,src:r.url}).on("load error",s=function(n){i.remove(),s=null,n&&t(n.type==="error"?404:200,n.type)}),z.head.appendChild(i[0])},abort:function(){s&&s()}}}});var $r=[],Zt=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var r=$r.pop()||o.expando+"_"+Jr.guid++;return this[r]=!0,r}}),o.ajaxPrefilter("json jsonp",function(r,i,s){var e,t,n,a=r.jsonp!==!1&&(Zt.test(r.url)?"url":typeof r.data=="string"&&(r.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Zt.test(r.data)&&"data");if(a||r.dataTypes[0]==="jsonp")return e=r.jsonpCallback=ne(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,a?r[a]=r[a].replace(Zt,"$1"+e):r.jsonp!==!1&&(r.url+=(ur.test(r.url)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return n||o.error(e+" was not called"),n[0]},r.dataTypes[0]="json",t=G[e],G[e]=function(){n=arguments},s.always(function(){t===void 0?o(G).removeProp(e):G[e]=t,r[e]&&(r.jsonpCallback=i.jsonpCallback,$r.push(e)),n&&ne(t)&&t(n[0]),n=t=void 0}),"script"}),be.createHTMLDocument=function(){var r=z.implementation.createHTMLDocument("").body;return r.innerHTML="<form></form><form></form>",r.childNodes.length===2}(),o.parseHTML=function(r,i,s){if(typeof r!="string")return[];typeof i=="boolean"&&(s=i,i=!1);var e,t,n;return i||(be.createHTMLDocument?(i=z.implementation.createHTMLDocument(""),e=i.createElement("base"),e.href=z.location.href,i.head.appendChild(e)):i=z),t=R.exec(r),n=!s&&[],t?[i.createElement(t[1])]:(t=jr([r],i,n),n&&n.length&&o(n).remove(),o.merge([],t.childNodes))},o.fn.load=function(r,i,s){var e,t,n,a=this,u=r.indexOf(" ");return u>-1&&(e=St(r.slice(u)),r=r.slice(0,u)),ne(i)?(s=i,i=void 0):i&&typeof i=="object"&&(t="POST"),a.length>0&&o.ajax({url:r,type:t||"GET",dataType:"html",data:i}).done(function(l){n=arguments,a.html(e?o("<div>").append(o.parseHTML(l)).find(e):l)}).always(s&&function(l,f){a.each(function(){s.apply(this,n||[l.responseText,f,l])})}),this},o.expr.pseudos.animated=function(r){return o.grep(o.timers,function(i){return r===i.elem}).length},o.offset={setOffset:function(r,i,s){var e,t,n,a,u,l,f,c=o.css(r,"position"),d=o(r),p={};c==="static"&&(r.style.position="relative"),u=d.offset(),n=o.css(r,"top"),l=o.css(r,"left"),f=(c==="absolute"||c==="fixed")&&(n+l).indexOf("auto")>-1,f?(e=d.position(),a=e.top,t=e.left):(a=parseFloat(n)||0,t=parseFloat(l)||0),ne(i)&&(i=i.call(r,s,o.extend({},u))),i.top!=null&&(p.top=i.top-u.top+a),i.left!=null&&(p.left=i.left-u.left+t),"using"in i?i.using.call(r,p):d.css(p)}},o.fn.extend({offset:function(r){if(arguments.length)return r===void 0?this:this.each(function(t){o.offset.setOffset(this,r,t)});var i,s,e=this[0];if(!!e)return e.getClientRects().length?(i=e.getBoundingClientRect(),s=e.ownerDocument.defaultView,{top:i.top+s.pageYOffset,left:i.left+s.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var r,i,s,e=this[0],t={top:0,left:0};if(o.css(e,"position")==="fixed")i=e.getBoundingClientRect();else{for(i=this.offset(),s=e.ownerDocument,r=e.offsetParent||s.documentElement;r&&(r===s.body||r===s.documentElement)&&o.css(r,"position")==="static";)r=r.parentNode;r&&r!==e&&r.nodeType===1&&(t=o(r).offset(),t.top+=o.css(r,"borderTopWidth",!0),t.left+=o.css(r,"borderLeftWidth",!0))}return{top:i.top-t.top-o.css(e,"marginTop",!0),left:i.left-t.left-o.css(e,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var r=this.offsetParent;r&&o.css(r,"position")==="static";)r=r.offsetParent;return r||_t})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(r,i){var s=i==="pageYOffset";o.fn[r]=function(e){return ae(this,function(t,n,a){var u;if(ht(t)?u=t:t.nodeType===9&&(u=t.defaultView),a===void 0)return u?u[i]:t[n];u?u.scrollTo(s?u.pageXOffset:a,s?a:u.pageYOffset):t[n]=a},r,e,arguments.length)}}),o.each(["top","left"],function(r,i){o.cssHooks[i]=ot(be.pixelPosition,function(s,e){if(e)return e=Gt(s,i),yr.test(e)?o(s).position()[i]+"px":e})}),o.each({Height:"height",Width:"width"},function(r,i){o.each({padding:"inner"+r,content:i,"":"outer"+r},function(s,e){o.fn[e]=function(t,n){var a=arguments.length&&(s||typeof t!="boolean"),u=s||(t===!0||n===!0?"margin":"border");return ae(this,function(l,f,c){var d;return ht(l)?e.indexOf("outer")===0?l["inner"+r]:l.document.documentElement["client"+r]:l.nodeType===9?(d=l.documentElement,Math.max(l.body["scroll"+r],d["scroll"+r],l.body["offset"+r],d["offset"+r],d["client"+r])):c===void 0?o.css(l,f,u):o.style(l,f,c,u)},i,a?t:void 0,a)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(r,i){o.fn[i]=function(s){return this.on(i,s)}}),o.fn.extend({bind:function(r,i,s){return this.on(r,null,i,s)},unbind:function(r,i){return this.off(r,null,i)},delegate:function(r,i,s,e){return this.on(i,r,s,e)},undelegate:function(r,i,s){return arguments.length===1?this.off(r,"**"):this.off(i,r||"**",s)},hover:function(r,i){return this.mouseenter(r).mouseleave(i||r)}}),o.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(r,i){o.fn[i]=function(s,e){return arguments.length>0?this.on(i,null,s,e):this.trigger(i)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;o.proxy=function(r,i){var s,e,t;if(typeof i=="string"&&(s=r[i],i=r,r=s),!!ne(r))return e=T.call(arguments,2),t=function(){return r.apply(i||this,e.concat(T.call(arguments)))},t.guid=r.guid=r.guid||o.guid++,t},o.holdReady=function(r){r?o.readyWait++:o.ready(!0)},o.isArray=Array.isArray,o.parseJSON=JSON.parse,o.nodeName=M,o.isFunction=ne,o.isWindow=ht,o.camelCase=Oe,o.type=it,o.now=Date.now,o.isNumeric=function(r){var i=o.type(r);return(i==="number"||i==="string")&&!isNaN(r-parseFloat(r))},o.trim=function(r){return r==null?"":(r+"").replace(en,"$1")};var xn=G.jQuery,Cn=G.$;return o.noConflict=function(r){return G.$===o&&(G.$=Cn),r&&G.jQuery===o&&(G.jQuery=xn),o},typeof h>"u"&&(G.jQuery=G.$=o),o})}(Bn)),Bn.exports}/*! DataTables 1.12.1
 * ©2008-2022 SpryMedia Ltd - datatables.net/license
 */var $n;function Vn(){return $n||($n=1,function(dt,G){(function(h){dt.exports=function(X,ee){return X||(X=window),ee||(ee=typeof window<"u"?Zn():Zn()(X)),h(ee,X,X.document)}})(function(h,X,ee,T){var N=function(e,t){if(this instanceof N)return h(e).DataTable(t);t=e,this.$=function(f,c){return this.api(!0).$(f,c)},this._=function(f,c){return this.api(!0).rows(f,c).data()},this.api=function(f){return f?new ue(Dr(this[ge.iApiIndex])):new ue(this)},this.fnAddData=function(f,c){var d=this.api(!0),p=Array.isArray(f)&&(Array.isArray(f[0])||h.isPlainObject(f[0]))?d.rows.add(f):d.row.add(f);return(c===T||c)&&d.draw(),p.flatten().toArray()},this.fnAdjustColumnSizing=function(f){var c=this.api(!0).columns.adjust(),d=c.settings()[0],p=d.oScroll;f===T||f?c.draw(!1):(p.sX!==""||p.sY!=="")&&or(d)},this.fnClearTable=function(f){var c=this.api(!0).clear();(f===T||f)&&c.draw()},this.fnClose=function(f){this.api(!0).row(f).child.hide()},this.fnDeleteRow=function(f,c,d){var p=this.api(!0),v=p.rows(f),y=v.settings()[0],m=y.aoData[v[0][0]];return v.remove(),c&&c.call(this,y,m),(d===T||d)&&p.draw(),m},this.fnDestroy=function(f){this.api(!0).destroy(f)},this.fnDraw=function(f){this.api(!0).draw(f)},this.fnFilter=function(f,c,d,p,v,y){var m=this.api(!0);c===null||c===T?m.search(f,d,p,y):m.column(c).search(f,d,p,y),m.draw()},this.fnGetData=function(f,c){var d=this.api(!0);if(f!==T){var p=f.nodeName?f.nodeName.toLowerCase():"";return c!==T||p=="td"||p=="th"?d.cell(f,c).data():d.row(f).data()||null}return d.data().toArray()},this.fnGetNodes=function(f){var c=this.api(!0);return f!==T?c.row(f).node():c.rows().nodes().flatten().toArray()},this.fnGetPosition=function(f){var c=this.api(!0),d=f.nodeName.toUpperCase();if(d=="TR")return c.row(f).index();if(d=="TD"||d=="TH"){var p=c.cell(f).index();return[p.row,p.columnVisible,p.column]}return null},this.fnIsOpen=function(f){return this.api(!0).row(f).child.isShown()},this.fnOpen=function(f,c,d){return this.api(!0).row(f).child(c,d).show().child()[0]},this.fnPageChange=function(f,c){var d=this.api(!0).page(f);(c===T||c)&&d.draw(!1)},this.fnSetColumnVis=function(f,c,d){var p=this.api(!0).column(f).visible(c);(d===T||d)&&p.columns.adjust().draw()},this.fnSettings=function(){return Dr(this[ge.iApiIndex])},this.fnSort=function(f){this.api(!0).order(f).draw()},this.fnSortListener=function(f,c,d){this.api(!0).order.listener(f,c,d)},this.fnUpdate=function(f,c,d,p,v){var y=this.api(!0);return d===T||d===null?y.row(c).data(f):y.cell(c,d).data(f),(v===T||v)&&y.columns.adjust(),(p===T||p)&&y.draw(),0},this.fnVersionCheck=ge.fnVersionCheck;var n=this,a=t===T,u=this.length;a&&(t={}),this.oApi=this.internal=ge.internal;for(var l in N.ext.internal)l&&(this[l]=s(l));return this.each(function(){var f={},c=u>1?wr(f,t,!0):t,d=0,p,v=this.getAttribute("id"),y=!1,m=N.defaults,x=h(this);if(this.nodeName.toLowerCase()!="table"){wt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);return}$e(m),Se(m.column),K(m,m,!0),K(m.column,m.column,!0),K(m,h.extend(c,x.data()),!0);var A=N.settings;for(d=0,p=A.length;d<p;d++){var F=A[d];if(F.nTable==this||F.nTHead&&F.nTHead.parentNode==this||F.nTFoot&&F.nTFoot.parentNode==this){var H=c.bRetrieve!==T?c.bRetrieve:m.bRetrieve,O=c.bDestroy!==T?c.bDestroy:m.bDestroy;if(a||H)return F.oInstance;if(O){F.oInstance.fnDestroy();break}else{wt(F,0,"Cannot reinitialise DataTable",3);return}}if(F.sTableId==this.id){A.splice(d,1);break}}(v===null||v==="")&&(v="DataTables_Table_"+N.ext._unique++,this.id=v);var w=h.extend(!0,{},N.models.oSettings,{sDestroyWidth:x[0].style.width,sInstance:v,sTableId:v});w.nTable=this,w.oApi=n.internal,w.oInit=c,A.push(w),w.oInstance=n.length===1?n:x.dataTable(),$e(c),W(c.oLanguage),c.aLengthMenu&&!c.iDisplayLength&&(c.iDisplayLength=Array.isArray(c.aLengthMenu[0])?c.aLengthMenu[0][0]:c.aLengthMenu[0]),c=wr(h.extend(!0,{},m),c),Re(w.oFeatures,c,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),Re(w,c,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Re(w.oScroll,c,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Re(w.oLanguage,c,"fnInfoCallback"),tt(w,"aoDrawCallback",c.fnDrawCallback,"user"),tt(w,"aoServerParams",c.fnServerParams,"user"),tt(w,"aoStateSaveParams",c.fnStateSaveParams,"user"),tt(w,"aoStateLoadParams",c.fnStateLoadParams,"user"),tt(w,"aoStateLoaded",c.fnStateLoaded,"user"),tt(w,"aoRowCallback",c.fnRowCallback,"user"),tt(w,"aoRowCreatedCallback",c.fnCreatedRow,"user"),tt(w,"aoHeaderCallback",c.fnHeaderCallback,"user"),tt(w,"aoFooterCallback",c.fnFooterCallback,"user"),tt(w,"aoInitComplete",c.fnInitComplete,"user"),tt(w,"aoPreDrawCallback",c.fnPreDrawCallback,"user"),w.rowIdFn=Ft(c.rowId),Ie(w);var Z=w.oClasses;if(h.extend(Z,N.ext.classes,c.oClasses),x.addClass(Z.sTable),w.iInitDisplayStart===T&&(w.iInitDisplayStart=c.iDisplayStart,w._iDisplayStart=c.iDisplayStart),c.iDeferLoading!==null){w.bDeferLoading=!0;var B=Array.isArray(c.iDeferLoading);w._iRecordsDisplay=B?c.iDeferLoading[0]:c.iDeferLoading,w._iRecordsTotal=B?c.iDeferLoading[1]:c.iDeferLoading}var se=w.oLanguage;h.extend(!0,se,c.oLanguage),se.sUrl?(h.ajax({dataType:"json",url:se.sUrl,success:function(_e){K(m.oLanguage,_e),W(_e),h.extend(!0,se,_e,w.oInit.oLanguage),xe(w,null,"i18n",[w]),Pt(w)},error:function(){Pt(w)}}),y=!0):xe(w,null,"i18n",[w]),c.asStripeClasses===null&&(w.asStripeClasses=[Z.sStripeOdd,Z.sStripeEven]);var Ye=w.asStripeClasses,rt=x.children("tbody").find("tr").eq(0);h.inArray(!0,h.map(Ye,function(_e,Xe){return rt.hasClass(_e)}))!==-1&&(h("tbody tr",this).removeClass(Ye.join(" ")),w.asDestroyStripes=Ye.slice());var Ae=[],ze,Ue=this.getElementsByTagName("thead");if(Ue.length!==0&&(Ke(w.aoHeader,Ue[0]),Ae=We(w)),c.aoColumns===null)for(ze=[],d=0,p=Ae.length;d<p;d++)ze.push(null);else ze=c.aoColumns;for(d=0,p=ze.length;d<p;d++)ve(w,Ae?Ae[d]:null);if(ct(w,c.aoColumnDefs,ze,function(_e,Xe){He(w,_e,Xe)}),rt.length){var De=function(_e,Xe){return _e.getAttribute("data-"+Xe)!==null?Xe:null};h(rt[0]).children("th, td").each(function(_e,Xe){var Ze=w.aoColumns[_e];if(Ze.mData===_e){var lt=De(Xe,"sort")||De(Xe,"order"),ce=De(Xe,"filter")||De(Xe,"search");(lt!==null||ce!==null)&&(Ze.mData={_:_e+".display",sort:lt!==null?_e+".@data-"+lt:T,type:lt!==null?_e+".@data-"+lt:T,filter:ce!==null?_e+".@data-"+ce:T},He(w,_e))}})}var Qe=w.oFeatures,Ve=function(){if(c.aaSorting===T){var _e=w.aaSorting;for(d=0,p=_e.length;d<p;d++)_e[d][1]=w.aoColumns[d].asSorting[0]}xr(w),Qe.bSort&&tt(w,"aoDrawCallback",function(){if(w.bSorted){var nt=Ot(w),Tt={};h.each(nt,function(cr,$t){Tt[$t.src]=$t.dir}),xe(w,null,"order",[w,nt,Tt]),qt(w)}}),tt(w,"aoDrawCallback",function(){(w.bSorted||Be(w)==="ssp"||Qe.bDeferRender)&&xr(w)},"sc");var Xe=x.children("caption").each(function(){this._captionSide=h(this).css("caption-side")}),Ze=x.children("thead");Ze.length===0&&(Ze=h("<thead/>").appendTo(x)),w.nTHead=Ze[0];var lt=x.children("tbody");lt.length===0&&(lt=h("<tbody/>").insertAfter(Ze)),w.nTBody=lt[0];var ce=x.children("tfoot");if(ce.length===0&&Xe.length>0&&(w.oScroll.sX!==""||w.oScroll.sY!=="")&&(ce=h("<tfoot/>").appendTo(x)),ce.length===0||ce.children().length===0?x.addClass(Z.sNoFooter):ce.length>0&&(w.nTFoot=ce[0],Ke(w.aoFooter,w.nTFoot)),c.aaData)for(d=0;d<c.aaData.length;d++)Oe(w,c.aaData[d]);else(w.bDeferLoading||Be(w)=="dom")&&kt(w,h(w.nTBody).children("tr"));w.aiDisplay=w.aiDisplayMaster.slice(),w.bInitialised=!0,y===!1&&Pt(w)};tt(w,"aoDrawCallback",Yt,"state_save"),c.bStateSave?(Qe.bStateSave=!0,sr(w,c,Ve)):Ve()}),n=null,this},ge,ue,J,ye,Ge={},me=/[\r\n\u2028]/g,ut=/<.*?>/g,be=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,ne=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),ht=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,z=function(e){return!e||e===!0||e==="-"},at=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},It=function(e,t){return Ge[t]||(Ge[t]=new RegExp(Rr(t),"g")),typeof e=="string"&&t!=="."?e.replace(/\./g,"").replace(Ge[t],"."):e},it=function(e,t,n){var a=typeof e=="string";return z(e)?!0:(t&&a&&(e=It(e,t)),n&&a&&(e=e.replace(ht,"")),!isNaN(parseFloat(e))&&isFinite(e))},g=function(e){return z(e)||typeof e=="string"},o=function(e,t,n){if(z(e))return!0;var a=g(e);return a&&it(U(e),t,n)?!0:null},C=function(e,t,n){var a=[],u=0,l=e.length;if(n!==T)for(;u<l;u++)e[u]&&e[u][t]&&a.push(e[u][t][n]);else for(;u<l;u++)e[u]&&a.push(e[u][t]);return a},L=function(e,t,n,a){var u=[],l=0,f=t.length;if(a!==T)for(;l<f;l++)e[t[l]][n]&&u.push(e[t[l]][n][a]);else for(;l<f;l++)u.push(e[t[l]][n]);return u},E=function(e,t){var n=[],a;t===T?(t=0,a=e):(a=t,t=e);for(var u=t;u<a;u++)n.push(u);return n},P=function(e){for(var t=[],n=0,a=e.length;n<a;n++)e[n]&&t.push(e[n]);return t},U=function(e){return e.replace(ut,"")},M=function(e){if(e.length<2)return!0;for(var t=e.slice().sort(),n=t[0],a=1,u=t.length;a<u;a++){if(t[a]===n)return!1;n=t[a]}return!0},R=function(e){if(M(e))return e.slice();var t=[],n,a,u=e.length,l,f=0;e:for(a=0;a<u;a++){for(n=e[a],l=0;l<f;l++)if(t[l]===n)continue e;t.push(n),f++}return t},Q=function(e,t){if(Array.isArray(t))for(var n=0;n<t.length;n++)Q(e,t[n]);else e.push(t);return e},Y=function(e,t){return t===T&&(t=0),this.indexOf(e,t)!==-1};Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"}),Array.prototype.includes||(Array.prototype.includes=Y),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),String.prototype.includes||(String.prototype.includes=Y),N.util={throttle:function(e,t){var n=t!==T?t:200,a,u;return function(){var l=this,f=+new Date,c=arguments;a&&f<a+n?(clearTimeout(u),u=setTimeout(function(){a=T,e.apply(l,c)},n)):(a=f,e.apply(l,c))}},escapeRegex:function(e){return e.replace(ne,"\\$1")},set:function(e){if(h.isPlainObject(e))return N.util.set(e._);if(e===null)return function(){};if(typeof e=="function")return function(n,a,u){e(n,"set",a,u)};if(typeof e=="string"&&(e.indexOf(".")!==-1||e.indexOf("[")!==-1||e.indexOf("(")!==-1)){var t=function(n,a,u){for(var l=hr(u),f,c=l[l.length-1],d,p,v,y,m=0,x=l.length-1;m<x;m++){if(l[m]==="__proto__"||l[m]==="constructor")throw new Error("Cannot set prototype values");if(d=l[m].match(tr),p=l[m].match(Xt),d){if(l[m]=l[m].replace(tr,""),n[l[m]]=[],f=l.slice(),f.splice(0,m+1),y=f.join("."),Array.isArray(a))for(var A=0,F=a.length;A<F;A++)v={},t(v,a[A],y),n[l[m]].push(v);else n[l[m]]=a;return}else p&&(l[m]=l[m].replace(Xt,""),n=n[l[m]](a));(n[l[m]]===null||n[l[m]]===T)&&(n[l[m]]={}),n=n[l[m]]}c.match(Xt)?n=n[c.replace(Xt,"")](a):n[c.replace(tr,"")]=a};return function(n,a){return t(n,a,e)}}else return function(n,a){n[e]=a}},get:function(e){if(h.isPlainObject(e)){var t={};return h.each(e,function(a,u){u&&(t[a]=N.util.get(u))}),function(a,u,l,f){var c=t[u]||t._;return c!==T?c(a,u,l,f):a}}else{if(e===null)return function(a){return a};if(typeof e=="function")return function(a,u,l,f){return e(a,u,l,f)};if(typeof e=="string"&&(e.indexOf(".")!==-1||e.indexOf("[")!==-1||e.indexOf("(")!==-1)){var n=function(a,u,l){var f,c,d,p;if(l!=="")for(var v=hr(l),y=0,m=v.length;y<m;y++){if(f=v[y].match(tr),c=v[y].match(Xt),f){if(v[y]=v[y].replace(tr,""),v[y]!==""&&(a=a[v[y]]),d=[],v.splice(0,y+1),p=v.join("."),Array.isArray(a))for(var x=0,A=a.length;x<A;x++)d.push(n(a[x],u,p));var F=f[0].substring(1,f[0].length-1);a=F===""?d:d.join(F);break}else if(c){v[y]=v[y].replace(Xt,""),a=a[v[y]]();continue}if(a===null||a[v[y]]===T)return T;a=a[v[y]]}return a};return function(a,u){return n(a,u,e)}}else return function(a,u){return a[e]}}}};function he(e){var t="a aa ai ao as b fn i m o s ",n,a,u={};h.each(e,function(l,f){n=l.match(/^([^A-Z]+?)([A-Z])/),n&&t.indexOf(n[1]+" ")!==-1&&(a=l.replace(n[0],n[2].toLowerCase()),u[a]=l,n[1]==="o"&&he(e[l]))}),e._hungarianMap=u}function K(e,t,n){e._hungarianMap||he(e);var a;h.each(t,function(u,l){a=e._hungarianMap[u],a!==T&&(n||t[a]===T)&&(a.charAt(0)==="o"?(t[a]||(t[a]={}),h.extend(!0,t[a],t[u]),K(e[a],t[a],n)):t[a]=t[u])})}function W(e){var t=N.defaults.oLanguage,n=t.sDecimal;if(n&&Zr(n),e){var a=e.sZeroRecords;!e.sEmptyTable&&a&&t.sEmptyTable==="No data available in table"&&Re(e,e,"sZeroRecords","sEmptyTable"),!e.sLoadingRecords&&a&&t.sLoadingRecords==="Loading..."&&Re(e,e,"sZeroRecords","sLoadingRecords"),e.sInfoThousands&&(e.sThousands=e.sInfoThousands);var u=e.sDecimal;u&&n!==u&&Zr(u)}}var de=function(e,t,n){e[t]!==T&&(e[n]=e[t])};function $e(e){de(e,"ordering","bSort"),de(e,"orderMulti","bSortMulti"),de(e,"orderClasses","bSortClasses"),de(e,"orderCellsTop","bSortCellsTop"),de(e,"order","aaSorting"),de(e,"orderFixed","aaSortingFixed"),de(e,"paging","bPaginate"),de(e,"pagingType","sPaginationType"),de(e,"pageLength","iDisplayLength"),de(e,"searching","bFilter"),typeof e.sScrollX=="boolean"&&(e.sScrollX=e.sScrollX?"100%":""),typeof e.scrollX=="boolean"&&(e.scrollX=e.scrollX?"100%":"");var t=e.aoSearchCols;if(t)for(var n=0,a=t.length;n<a;n++)t[n]&&K(N.models.oSearch,t[n])}function Se(e){de(e,"orderable","bSortable"),de(e,"orderData","aDataSort"),de(e,"orderSequence","asSorting"),de(e,"orderDataType","sortDataType");var t=e.aDataSort;typeof t=="number"&&!Array.isArray(t)&&(e.aDataSort=[t])}function Ie(e){if(!N.__browser){var t={};N.__browser=t;var n=h("<div/>").css({position:"fixed",top:0,left:h(X).scrollLeft()*-1,height:1,width:1,overflow:"hidden"}).append(h("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(h("<div/>").css({width:"100%",height:10}))).appendTo("body"),a=n.children(),u=a.children();t.barWidth=a[0].offsetWidth-a[0].clientWidth,t.bScrollOversize=u[0].offsetWidth===100&&a[0].clientWidth!==100,t.bScrollbarLeft=Math.round(u.offset().left)!==1,t.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}h.extend(e.oBrowser,N.__browser),e.oScroll.iBarWidth=N.__browser.barWidth}function Ee(e,t,n,a,u,l){var f=a,c,d=!1;for(n!==T&&(c=n,d=!0);f!==u;)!e.hasOwnProperty(f)||(c=d?t(c,e[f],f,e):e[f],d=!0,f+=l);return c}function ve(e,t){var n=N.defaults.column,a=e.aoColumns.length,u=h.extend({},N.models.oColumn,n,{nTh:t||ee.createElement("th"),sTitle:n.sTitle?n.sTitle:t?t.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[a],mData:n.mData?n.mData:a,idx:a});e.aoColumns.push(u);var l=e.aoPreSearchCols;l[a]=h.extend({},N.models.oSearch,l[a]),He(e,a,h(t).data())}function He(e,t,n){var a=e.aoColumns[t],u=e.oClasses,l=h(a.nTh);if(!a.sWidthOrig){a.sWidthOrig=l.attr("width")||null;var f=(l.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(a.sWidthOrig=f[1])}if(n!==T&&n!==null){Se(n),K(N.defaults.column,n,!0),n.mDataProp!==T&&!n.mData&&(n.mData=n.mDataProp),n.sType&&(a._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&l.addClass(n.sClass);var c=a.sClass;h.extend(a,n),Re(a,n,"sWidth","sWidthOrig"),c!==a.sClass&&(a.sClass=c+" "+a.sClass),n.iDataSort!==T&&(a.aDataSort=[n.iDataSort]),Re(a,n,"aDataSort")}var d=a.mData,p=Ft(d),v=a.mRender?Ft(a.mRender):null,y=function(A){return typeof A=="string"&&A.indexOf("@")!==-1};a._bAttrSrc=h.isPlainObject(d)&&(y(d.sort)||y(d.type)||y(d.filter)),a._setter=null,a.fnGetData=function(A,F,H){var O=p(A,F,T,H);return v&&F?v(O,F,A,H):O},a.fnSetData=function(A,F,H){return pt(d)(A,F,H)},typeof d!="number"&&(e._rowReadObject=!0),e.oFeatures.bSort||(a.bSortable=!1,l.addClass(u.sSortableNone));var m=h.inArray("asc",a.asSorting)!==-1,x=h.inArray("desc",a.asSorting)!==-1;!a.bSortable||!m&&!x?(a.sSortingClass=u.sSortableNone,a.sSortingClassJUI=""):m&&!x?(a.sSortingClass=u.sSortableAsc,a.sSortingClassJUI=u.sSortJUIAscAllowed):!m&&x?(a.sSortingClass=u.sSortableDesc,a.sSortingClassJUI=u.sSortJUIDescAllowed):(a.sSortingClass=u.sSortable,a.sSortingClassJUI=u.sSortJUI)}function ft(e){if(e.oFeatures.bAutoWidth!==!1){var t=e.aoColumns;lr(e);for(var n=0,a=t.length;n<a;n++)t[n].nTh.style.width=t[n].sWidth}var u=e.oScroll;(u.sY!==""||u.sX!=="")&&or(e),xe(e,null,"column-sizing",[e])}function Fe(e,t){var n=Ce(e,"bVisible");return typeof n[t]=="number"?n[t]:null}function fe(e,t){var n=Ce(e,"bVisible"),a=h.inArray(t,n);return a!==-1?a:null}function ae(e){var t=0;return h.each(e.aoColumns,function(n,a){a.bVisible&&h(a.nTh).css("display")!=="none"&&t++}),t}function Ce(e,t){var n=[];return h.map(e.aoColumns,function(a,u){a[t]&&n.push(u)}),n}function je(e){var t=e.aoColumns,n=e.aoData,a=N.ext.type.detect,u,l,f,c,d,p,v,y,m;for(u=0,l=t.length;u<l;u++)if(v=t[u],m=[],!v.sType&&v._sManualType)v.sType=v._sManualType;else if(!v.sType){for(f=0,c=a.length;f<c;f++){for(d=0,p=n.length;d<p&&(m[d]===T&&(m[d]=Te(e,d,u,"type")),y=a[f](m[d],e),!(!y&&f!==a.length-1||y==="html"&&!z(m[d])));d++);if(y){v.sType=y;break}}v.sType||(v.sType="string")}}function ct(e,t,n,a){var u,l,f,c,d,p,v,y=e.aoColumns;if(t)for(u=t.length-1;u>=0;u--){v=t[u];var m=v.target!==T?v.target:v.targets!==T?v.targets:v.aTargets;for(Array.isArray(m)||(m=[m]),f=0,c=m.length;f<c;f++)if(typeof m[f]=="number"&&m[f]>=0){for(;y.length<=m[f];)ve(e);a(m[f],v)}else if(typeof m[f]=="number"&&m[f]<0)a(y.length+m[f],v);else if(typeof m[f]=="string")for(d=0,p=y.length;d<p;d++)(m[f]=="_all"||h(y[d].nTh).hasClass(m[f]))&&a(d,v)}if(n)for(u=0,l=n.length;u<l;u++)a(u,n[u])}function Oe(e,t,n,a){var u=e.aoData.length,l=h.extend(!0,{},N.models.oRow,{src:n?"dom":"data",idx:u});l._aData=t,e.aoData.push(l);for(var f=e.aoColumns,c=0,d=f.length;c<d;c++)f[c].sType=null;e.aiDisplayMaster.push(u);var p=e.rowIdFn(t);return p!==T&&(e.aIds[p]=l),(n||!e.oFeatures.bDeferRender)&&pr(e,u,n,a),u}function kt(e,t){var n;return t instanceof h||(t=h(t)),t.map(function(a,u){return n=Jt(e,u),Oe(e,n.data,u,n.cells)})}function er(e,t){return t._DT_RowIndex!==T?t._DT_RowIndex:null}function te(e,t,n){return h.inArray(n,e.aoData[t].anCells)}function Te(e,t,n,a){a==="search"?a="filter":a==="order"&&(a="sort");var u=e.iDraw,l=e.aoColumns[n],f=e.aoData[t]._aData,c=l.sDefaultContent,d=l.fnGetData(f,a,{settings:e,row:t,col:n});if(d===T)return e.iDrawError!=u&&c===null&&(wt(e,0,"Requested unknown parameter "+(typeof l.mData=="function"?"{function}":"'"+l.mData+"'")+" for row "+t+", column "+n,4),e.iDrawError=u),c;if((d===f||d===null)&&c!==null&&a!==T)d=c;else if(typeof d=="function")return d.call(f);if(d===null&&a==="display")return"";if(a==="filter"){var p=N.ext.type.search;p[l.sType]&&(d=p[l.sType](d))}return d}function on(e,t,n,a){var u=e.aoColumns[n],l=e.aoData[t]._aData;u.fnSetData(l,a,{settings:e,row:t,col:n})}var tr=/\[.*?\]$/,Xt=/\(\)$/;function hr(e){return h.map(e.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\\./g,".")})}var Ft=N.util.get,pt=N.util.set;function bt(e){return C(e.aoData,"_aData")}function _t(e){e.aoData.length=0,e.aiDisplayMaster.length=0,e.aiDisplay.length=0,e.aIds={}}function Dt(e,t,n){for(var a=-1,u=0,l=e.length;u<l;u++)e[u]==t?a=u:e[u]>t&&e[u]--;a!=-1&&n===T&&e.splice(a,1)}function rr(e,t,n,a){var u=e.aoData[t],l,f,c=function(v,y){for(;v.childNodes.length;)v.removeChild(v.firstChild);v.innerHTML=Te(e,t,y,"display")};if(n==="dom"||(!n||n==="auto")&&u.src==="dom")u._aData=Jt(e,u,a,a===T?T:u._aData).data;else{var d=u.anCells;if(d)if(a!==T)c(d[a],a);else for(l=0,f=d.length;l<f;l++)c(d[l],l)}u._aSortData=null,u._aFilterData=null;var p=e.aoColumns;if(a!==T)p[a].sType=null;else{for(l=0,f=p.length;l<f;l++)p[l].sType=null;vr(e,u)}}function Jt(e,t,n,a){var u=[],l=t.firstChild,f,c,d=0,p,v=e.aoColumns,y=e._rowReadObject;a=a!==T?a:y?{}:[];var m=function(w,Z){if(typeof w=="string"){var B=w.indexOf("@");if(B!==-1){var se=w.substring(B+1),Ye=pt(w);Ye(a,Z.getAttribute(se))}}},x=function(w){if(n===T||n===d)if(c=v[d],p=w.innerHTML.trim(),c&&c._bAttrSrc){var Z=pt(c.mData._);Z(a,p),m(c.mData.sort,w),m(c.mData.type,w),m(c.mData.filter,w)}else y?(c._setter||(c._setter=pt(c.mData)),c._setter(a,p)):a[d]=p;d++};if(l)for(;l;)f=l.nodeName.toUpperCase(),(f=="TD"||f=="TH")&&(x(l),u.push(l)),l=l.nextSibling;else{u=t.anCells;for(var A=0,F=u.length;A<F;A++)x(u[A])}var H=t.firstChild?t:t.nTr;if(H){var O=H.getAttribute("id");O&&pt(e.rowId)(a,O)}return{data:a,cells:u}}function pr(e,t,n,a){var u=e.aoData[t],l=u._aData,f=[],c,d,p,v,y,m;if(u.nTr===null){for(c=n||ee.createElement("tr"),u.nTr=c,u.anCells=f,c._DT_RowIndex=t,vr(e,u),v=0,y=e.aoColumns.length;v<y;v++)p=e.aoColumns[v],m=!n,d=m?ee.createElement(p.sCellType):a[v],d._DT_CellIndex={row:t,column:v},f.push(d),(m||(p.mRender||p.mData!==v)&&(!h.isPlainObject(p.mData)||p.mData._!==v+".display"))&&(d.innerHTML=Te(e,t,v,"display")),p.sClass&&(d.className+=" "+p.sClass),p.bVisible&&!n?c.appendChild(d):!p.bVisible&&n&&d.parentNode.removeChild(d),p.fnCreatedCell&&p.fnCreatedCell.call(e.oInstance,d,Te(e,t,v),l,t,v);xe(e,"aoRowCreatedCallback",null,[c,l,t,f])}}function vr(e,t){var n=t.nTr,a=t._aData;if(n){var u=e.rowIdFn(a);if(u&&(n.id=u),a.DT_RowClass){var l=a.DT_RowClass.split(" ");t.__rowc=t.__rowc?R(t.__rowc.concat(l)):l,h(n).removeClass(t.__rowc.join(" ")).addClass(a.DT_RowClass)}a.DT_RowAttr&&h(n).attr(a.DT_RowAttr),a.DT_RowData&&h(n).data(a.DT_RowData)}}function ln(e){var t,n,a,u,l,f=e.nTHead,c=e.nTFoot,d=h("th, td",f).length===0,p=e.oClasses,v=e.aoColumns;for(d&&(u=h("<tr/>").appendTo(f)),t=0,n=v.length;t<n;t++)l=v[t],a=h(l.nTh).addClass(l.sClass),d&&a.appendTo(u),e.oFeatures.bSort&&(a.addClass(l.sSortingClass),l.bSortable!==!1&&(a.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),Xr(e,l.nTh,t))),l.sTitle!=a[0].innerHTML&&a.html(l.sTitle),At(e,"header")(e,a,l,p);if(d&&Ke(e.aoHeader,f),h(f).children("tr").children("th, td").addClass(p.sHeaderTH),h(c).children("tr").children("th, td").addClass(p.sFooterTH),c!==null){var y=e.aoFooter[0];for(t=0,n=y.length;t<n;t++)l=v[t],l.nTf=y[t].cell,l.sClass&&h(l.nTf).addClass(l.sClass)}}function xt(e,t,n){var a,u,l,f,c,d,p,v=[],y=[],m=e.aoColumns.length,x,A;if(!!t){for(n===T&&(n=!1),a=0,u=t.length;a<u;a++){for(v[a]=t[a].slice(),v[a].nTr=t[a].nTr,l=m-1;l>=0;l--)!e.aoColumns[l].bVisible&&!n&&v[a].splice(l,1);y.push([])}for(a=0,u=v.length;a<u;a++){if(p=v[a].nTr,p)for(;d=p.firstChild;)p.removeChild(d);for(l=0,f=v[a].length;l<f;l++)if(x=1,A=1,y[a][l]===T){for(p.appendChild(v[a][l].cell),y[a][l]=1;v[a+x]!==T&&v[a][l].cell==v[a+x][l].cell;)y[a+x][l]=1,x++;for(;v[a][l+A]!==T&&v[a][l].cell==v[a][l+A].cell;){for(c=0;c<x;c++)y[a+c][l+A]=1;A++}h(v[a][l].cell).attr("rowspan",x).attr("colspan",A)}}}}function vt(e,t){Fr(e);var n=xe(e,"aoPreDrawCallback","preDraw",[e]);if(h.inArray(!1,n)!==-1){ot(e,!1);return}var a=[],u=0,l=e.asStripeClasses,f=l.length,c=e.oLanguage,d=Be(e)=="ssp",p=e.aiDisplay,v=e._iDisplayStart,y=e.fnDisplayEnd();if(e.bDrawing=!0,e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,ot(e,!1);else if(!d)e.iDraw++;else if(!e.bDestroying&&!t){jr(e);return}if(p.length!==0)for(var m=d?0:v,x=d?e.aoData.length:y,A=m;A<x;A++){var F=p[A],H=e.aoData[F];H.nTr===null&&pr(e,F);var O=H.nTr;if(f!==0){var w=l[u%f];H._sRowStripe!=w&&(h(O).removeClass(H._sRowStripe).addClass(w),H._sRowStripe=w)}xe(e,"aoRowCallback",null,[O,H._aData,u,A,F]),a.push(O),u++}else{var Z=c.sZeroRecords;e.iDraw==1&&Be(e)=="ajax"?Z=c.sLoadingRecords:c.sEmptyTable&&e.fnRecordsTotal()===0&&(Z=c.sEmptyTable),a[0]=h("<tr/>",{class:f?l[0]:""}).append(h("<td />",{valign:"top",colSpan:ae(e),class:e.oClasses.sRowEmpty}).html(Z))[0]}xe(e,"aoHeaderCallback","header",[h(e.nTHead).children("tr")[0],bt(e),v,y,p]),xe(e,"aoFooterCallback","footer",[h(e.nTFoot).children("tr")[0],bt(e),v,y,p]);var B=h(e.nTBody);B.children().detach(),B.append(h(a)),xe(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}function Et(e,t){var n=e.oFeatures,a=n.bSort,u=n.bFilter;a&&et(e),u?nr(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice(),t!==!0&&(e._iDisplayStart=0),e._drawHold=t,vt(e),e._drawHold=!1}function Er(e){var t=e.oClasses,n=h(e.nTable),a=h("<div/>").insertBefore(n),u=e.oFeatures,l=h("<div/>",{id:e.sTableId+"_wrapper",class:t.sWrapper+(e.nTFoot?"":" "+t.sNoFooter)});e.nHolding=a[0],e.nTableWrapper=l[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var f=e.sDom.split(""),c,d,p,v,y,m,x=0;x<f.length;x++){if(c=null,d=f[x],d=="<"){if(p=h("<div/>")[0],v=f[x+1],v=="'"||v=='"'){for(y="",m=2;f[x+m]!=v;)y+=f[x+m],m++;if(y=="H"?y=t.sJUIHeader:y=="F"&&(y=t.sJUIFooter),y.indexOf(".")!=-1){var A=y.split(".");p.id=A[0].substr(1,A[0].length-1),p.className=A[1]}else y.charAt(0)=="#"?p.id=y.substr(1,y.length-1):p.className=y;x+=m}l.append(p),l=h(p)}else if(d==">")l=l.parent();else if(d=="l"&&u.bPaginate&&u.bLengthChange)c=dn(e);else if(d=="f"&&u.bFilter)c=sn(e);else if(d=="r"&&u.bProcessing)c=Gt(e);else if(d=="t")c=Br(e);else if(d=="i"&&u.bInfo)c=Ht(e);else if(d=="p"&&u.bPaginate)c=Mr(e);else if(N.ext.feature.length!==0){for(var F=N.ext.feature,H=0,O=F.length;H<O;H++)if(d==F[H].cFeature){c=F[H].fnInit(e);break}}if(c){var w=e.aanFeatures;w[d]||(w[d]=[]),w[d].push(c),l.append(c)}}a.replaceWith(l),e.nHolding=null}function Ke(e,t){var n=h(t).children("tr"),a,u,l,f,c,d,p,v,y,m,x,A=function(F,H,O){for(var w=F[H];w[O];)O++;return O};for(e.splice(0,e.length),l=0,d=n.length;l<d;l++)e.push([]);for(l=0,d=n.length;l<d;l++)for(a=n[l],v=0,u=a.firstChild;u;){if(u.nodeName.toUpperCase()=="TD"||u.nodeName.toUpperCase()=="TH")for(y=u.getAttribute("colspan")*1,m=u.getAttribute("rowspan")*1,y=!y||y===0||y===1?1:y,m=!m||m===0||m===1?1:m,p=A(e,l,v),x=y===1,c=0;c<y;c++)for(f=0;f<m;f++)e[l+f][p+c]={cell:u,unique:x},e[l+f].nTr=a;u=u.nextSibling}}function We(e,t,n){var a=[];n||(n=e.aoHeader,t&&(n=[],Ke(n,t)));for(var u=0,l=n.length;u<l;u++)for(var f=0,c=n[u].length;f<c;f++)n[u][f].unique&&(!a[f]||!e.bSortCellsTop)&&(a[f]=n[u][f].cell);return a}function Fr(e){var t=Be(e)=="ssp",n=e.iInitDisplayStart;n!==T&&n!==-1&&(e._iDisplayStart=t?n:n>=e.fnRecordsDisplay()?0:n,e.iInitDisplayStart=-1)}function br(e,t,n){if(xe(e,"aoServerParams","serverParams",[t]),t&&Array.isArray(t)){var a={},u=/(.*?)\[\]$/;h.each(t,function(y,m){var x=m.name.match(u);if(x){var A=x[0];a[A]||(a[A]=[]),a[A].push(m.value)}else a[m.name]=m.value}),t=a}var l,f=e.ajax,c=e.oInstance,d=function(y){var m=e.jqXHR?e.jqXHR.status:null;(y===null||typeof m=="number"&&m==204)&&(y={},Ct(e,y,[]));var x=y.error||y.sError;x&&wt(e,0,x),e.json=y,xe(e,null,"xhr",[e,y,e.jqXHR]),n(y)};if(h.isPlainObject(f)&&f.data){l=f.data;var p=typeof l=="function"?l(t,e):l;t=typeof l=="function"&&p?p:h.extend(!0,t,p),delete f.data}var v={data:t,success:d,dataType:"json",cache:!1,type:e.sServerMethod,error:function(y,m,x){var A=xe(e,null,"xhr",[e,null,e.jqXHR]);h.inArray(!0,A)===-1&&(m=="parsererror"?wt(e,0,"Invalid JSON response",1):y.readyState===4&&wt(e,0,"Ajax error",7)),ot(e,!1)}};e.oAjaxData=t,xe(e,null,"preXhr",[e,t]),e.fnServerData?e.fnServerData.call(c,e.sAjaxSource,h.map(t,function(y,m){return{name:m,value:y}}),d,e):e.sAjaxSource||typeof f=="string"?e.jqXHR=h.ajax(h.extend(v,{url:f||e.sAjaxSource})):typeof f=="function"?e.jqXHR=f.call(c,t,d,e):(e.jqXHR=h.ajax(h.extend(v,f)),f.data=l)}function jr(e){e.iDraw++,ot(e,!0),br(e,Hr(e),function(t){jt(e,t)})}function Hr(e){var t=e.aoColumns,n=t.length,a=e.oFeatures,u=e.oPreviousSearch,l=e.aoPreSearchCols,f,c=[],d,p,v,y=Ot(e),m=e._iDisplayStart,x=a.bPaginate!==!1?e._iDisplayLength:-1,A=function(O,w){c.push({name:O,value:w})};A("sEcho",e.iDraw),A("iColumns",n),A("sColumns",C(t,"sName").join(",")),A("iDisplayStart",m),A("iDisplayLength",x);var F={draw:e.iDraw,columns:[],order:[],start:m,length:x,search:{value:u.sSearch,regex:u.bRegex}};for(f=0;f<n;f++)p=t[f],v=l[f],d=typeof p.mData=="function"?"function":p.mData,F.columns.push({data:d,name:p.sName,searchable:p.bSearchable,orderable:p.bSortable,search:{value:v.sSearch,regex:v.bRegex}}),A("mDataProp_"+f,d),a.bFilter&&(A("sSearch_"+f,v.sSearch),A("bRegex_"+f,v.bRegex),A("bSearchable_"+f,p.bSearchable)),a.bSort&&A("bSortable_"+f,p.bSortable);a.bFilter&&(A("sSearch",u.sSearch),A("bRegex",u.bRegex)),a.bSort&&(h.each(y,function(O,w){F.order.push({column:w.col,dir:w.dir}),A("iSortCol_"+O,w.col),A("sSortDir_"+O,w.dir)}),A("iSortingCols",y.length));var H=N.ext.legacy.ajax;return H===null?e.sAjaxSource?c:F:H?c:F}function jt(e,t){var n=function(p,v){return t[p]!==T?t[p]:t[v]},a=Ct(e,t),u=n("sEcho","draw"),l=n("iTotalRecords","recordsTotal"),f=n("iTotalDisplayRecords","recordsFiltered");if(u!==T){if(u*1<e.iDraw)return;e.iDraw=u*1}a||(a=[]),_t(e),e._iRecordsTotal=parseInt(l,10),e._iRecordsDisplay=parseInt(f,10);for(var c=0,d=a.length;c<d;c++)Oe(e,a[c]);e.aiDisplay=e.aiDisplayMaster.slice(),vt(e,!0),e._bInitComplete||Rt(e,t),ot(e,!1)}function Ct(e,t,n){var a=h.isPlainObject(e.ajax)&&e.ajax.dataSrc!==T?e.ajax.dataSrc:e.sAjaxDataProp;if(!n)return a==="data"?t.aaData||t[a]:a!==""?Ft(a)(t):t;pt(a)(t,n)}function sn(e){var t=e.oClasses,n=e.sTableId,a=e.oLanguage,u=e.oPreviousSearch,l=e.aanFeatures,f='<input type="search" class="'+t.sFilterInput+'"/>',c=a.sSearch;c=c.match(/_INPUT_/)?c.replace("_INPUT_",f):c+f;var d=h("<div/>",{id:l.f?null:n+"_filter",class:t.sFilter}).append(h("<label/>").append(c)),p=function(m){l.f;var x=this.value?this.value:"";u.return&&m.key!=="Enter"||x!=u.sSearch&&(nr(e,{sSearch:x,bRegex:u.bRegex,bSmart:u.bSmart,bCaseInsensitive:u.bCaseInsensitive,return:u.return}),e._iDisplayStart=0,vt(e))},v=e.searchDelay!==null?e.searchDelay:Be(e)==="ssp"?400:0,y=h("input",d).val(u.sSearch).attr("placeholder",a.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",v?Wr(p,v):p).on("mouseup",function(m){setTimeout(function(){p.call(y[0],m)},10)}).on("keypress.DT",function(m){if(m.keyCode==13)return!1}).attr("aria-controls",n);return h(e.nTable).on("search.dt.DT",function(m,x){if(e===x)try{y[0]!==ee.activeElement&&y.val(u.sSearch)}catch{}}),d[0]}function nr(e,t,n){var a=e.oPreviousSearch,u=e.aoPreSearchCols,l=function(d){a.sSearch=d.sSearch,a.bRegex=d.bRegex,a.bSmart=d.bSmart,a.bCaseInsensitive=d.bCaseInsensitive,a.return=d.return},f=function(d){return d.bEscapeRegex!==T?!d.bEscapeRegex:d.bRegex};if(je(e),Be(e)!="ssp"){un(e,t.sSearch,n,f(t),t.bSmart,t.bCaseInsensitive,t.return),l(t);for(var c=0;c<u.length;c++)ar(e,u[c].sSearch,c,f(u[c]),u[c].bSmart,u[c].bCaseInsensitive);gr(e)}else l(t);e.bFiltered=!0,xe(e,null,"search",[e])}function gr(e){for(var t=N.ext.search,n=e.aiDisplay,a,u,l=0,f=t.length;l<f;l++){for(var c=[],d=0,p=n.length;d<p;d++)u=n[d],a=e.aoData[u],t[l](e,a._aFilterData,u,a._aData,d)&&c.push(u);n.length=0,h.merge(n,c)}}function ar(e,t,n,a,u,l){if(t!==""){for(var f,c=[],d=e.aiDisplay,p=Pr(t,a,u,l),v=0;v<d.length;v++)f=e.aoData[d[v]]._aFilterData[n],p.test(f)&&c.push(d[v]);e.aiDisplay=c}}function un(e,t,n,a,u,l){var f=Pr(t,a,u,l),c=e.oPreviousSearch.sSearch,d=e.aiDisplayMaster,p,v,y,m=[];if(N.ext.search.length!==0&&(n=!0),v=fn(e),t.length<=0)e.aiDisplay=d.slice();else{for((v||n||a||c.length>t.length||t.indexOf(c)!==0||e.bSorted)&&(e.aiDisplay=d.slice()),p=e.aiDisplay,y=0;y<p.length;y++)f.test(e.aoData[p[y]]._sFilterRow)&&m.push(p[y]);e.aiDisplay=m}}function Pr(e,t,n,a){if(e=t?e:Rr(e),n){var u=h.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(l){if(l.charAt(0)==='"'){var f=l.match(/^"(.*)"$/);l=f?f[1]:l}return l.replace('"',"")});e="^(?=.*?"+u.join(")(?=.*?")+").*$"}return new RegExp(e,a?"i":"")}var Rr=N.util.escapeRegex,ir=h("<div>")[0],Ln=ir.textContent!==T;function fn(e){var t=e.aoColumns,n,a,u,l,f,c,d,p,v=!1;for(a=0,l=e.aoData.length;a<l;a++)if(p=e.aoData[a],!p._aFilterData){for(c=[],u=0,f=t.length;u<f;u++)n=t[u],n.bSearchable?(d=Te(e,a,u,"filter"),d===null&&(d=""),typeof d!="string"&&d.toString&&(d=d.toString())):d="",d.indexOf&&d.indexOf("&")!==-1&&(ir.innerHTML=d,d=Ln?ir.textContent:ir.innerText),d.replace&&(d=d.replace(/[\r\n\u2028]/g,"")),c.push(d);p._aFilterData=c,p._sFilterRow=c.join("  "),v=!0}return v}function Or(e){return{search:e.sSearch,smart:e.bSmart,regex:e.bRegex,caseInsensitive:e.bCaseInsensitive}}function cn(e){return{sSearch:e.search,bSmart:e.smart,bRegex:e.regex,bCaseInsensitive:e.caseInsensitive}}function Ht(e){var t=e.sTableId,n=e.aanFeatures.i,a=h("<div/>",{class:e.oClasses.sInfo,id:n?null:t+"_info"});return n||(e.aoDrawCallback.push({fn:qr,sName:"information"}),a.attr("role","status").attr("aria-live","polite"),h(e.nTable).attr("aria-describedby",t+"_info")),a[0]}function qr(e){var t=e.aanFeatures.i;if(t.length!==0){var n=e.oLanguage,a=e._iDisplayStart+1,u=e.fnDisplayEnd(),l=e.fnRecordsTotal(),f=e.fnRecordsDisplay(),c=f?n.sInfo:n.sInfoEmpty;f!==l&&(c+=" "+n.sInfoFiltered),c+=n.sInfoPostFix,c=yr(e,c);var d=n.fnInfoCallback;d!==null&&(c=d.call(e.oInstance,e,a,u,l,f,c)),h(t).html(c)}}function yr(e,t){var n=e.fnFormatNumber,a=e._iDisplayStart+1,u=e._iDisplayLength,l=e.fnRecordsDisplay(),f=u===-1;return t.replace(/_START_/g,n.call(e,a)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,e.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(e,l)).replace(/_PAGE_/g,n.call(e,f?1:Math.ceil(a/u))).replace(/_PAGES_/g,n.call(e,f?1:Math.ceil(l/u)))}function Pt(e){var t,n,a=e.iInitDisplayStart,u=e.aoColumns,l,f=e.oFeatures,c=e.bDeferLoading;if(!e.bInitialised){setTimeout(function(){Pt(e)},200);return}for(Er(e),ln(e),xt(e,e.aoHeader),xt(e,e.aoFooter),ot(e,!0),f.bAutoWidth&&lr(e),t=0,n=u.length;t<n;t++)l=u[t],l.sWidth&&(l.nTh.style.width=ke(l.sWidth));xe(e,null,"preInit",[e]),Et(e);var d=Be(e);(d!="ssp"||c)&&(d=="ajax"?br(e,[],function(p){var v=Ct(e,p);for(t=0;t<v.length;t++)Oe(e,v[t]);e.iInitDisplayStart=a,Et(e),ot(e,!1),Rt(e,p)}):(ot(e,!1),Rt(e)))}function Rt(e,t){e._bInitComplete=!0,(t||e.oInit.aaData)&&ft(e),xe(e,null,"plugin-init",[e,t]),xe(e,"aoInitComplete","init",[e,t])}function mr(e,t){var n=parseInt(t,10);e._iDisplayLength=n,St(e),xe(e,null,"length",[e,n])}function dn(e){for(var t=e.oClasses,n=e.sTableId,a=e.aLengthMenu,u=Array.isArray(a[0]),l=u?a[0]:a,f=u?a[1]:a,c=h("<select/>",{name:n+"_length","aria-controls":n,class:t.sLengthSelect}),d=0,p=l.length;d<p;d++)c[0][d]=new Option(typeof f[d]=="number"?e.fnFormatNumber(f[d]):f[d],l[d]);var v=h("<div><label/></div>").addClass(t.sLength);return e.aanFeatures.l||(v[0].id=n+"_length"),v.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",c[0].outerHTML)),h("select",v).val(e._iDisplayLength).on("change.DT",function(y){mr(e,h(this).val()),vt(e)}),h(e.nTable).on("length.dt.DT",function(y,m,x){e===m&&h("select",v).val(x)}),v[0]}function Mr(e){var t=e.sPaginationType,n=N.ext.pager[t],a=typeof n=="function",u=function(c){vt(c)},l=h("<div/>").addClass(e.oClasses.sPaging+t)[0],f=e.aanFeatures;return a||n.fnInit(e,l,u),f.p||(l.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(c){if(a){var d=c._iDisplayStart,p=c._iDisplayLength,v=c.fnRecordsDisplay(),y=p===-1,m=y?0:Math.ceil(d/p),x=y?1:Math.ceil(v/p),A=n(m,x),F,H;for(F=0,H=f.p.length;F<H;F++)At(c,"pageButton")(c,f.p[F],F,A,m,x)}else n.fnUpdate(c,u)},sName:"pagination"})),l}function _r(e,t,n){var a=e._iDisplayStart,u=e._iDisplayLength,l=e.fnRecordsDisplay();l===0||u===-1?a=0:typeof t=="number"?(a=t*u,a>l&&(a=0)):t=="first"?a=0:t=="previous"?(a=u>=0?a-u:0,a<0&&(a=0)):t=="next"?a+u<l&&(a+=u):t=="last"?a=Math.floor((l-1)/u)*u:wt(e,0,"Unknown paging action: "+t,5);var f=e._iDisplayStart!==a;return e._iDisplayStart=a,f&&(xe(e,null,"page",[e]),n&&vt(e)),f}function Gt(e){return h("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).append("<div><div></div><div></div><div></div><div></div></div>").insertBefore(e.nTable)[0]}function ot(e,t){e.oFeatures.bProcessing&&h(e.aanFeatures.r).css("display",t?"block":"none"),xe(e,null,"processing",[e,t])}function Br(e){var t=h(e.nTable),n=e.oScroll;if(n.sX===""&&n.sY==="")return e.nTable;var a=n.sX,u=n.sY,l=e.oClasses,f=t.children("caption"),c=f.length?f[0]._captionSide:null,d=h(t[0].cloneNode(!1)),p=h(t[0].cloneNode(!1)),v=t.children("tfoot"),y="<div/>",m=function(w){return w?ke(w):null};v.length||(v=null);var x=h(y,{class:l.sScrollWrapper}).append(h(y,{class:l.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:a?m(a):"100%"}).append(h(y,{class:l.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(d.removeAttr("id").css("margin-left",0).append(c==="top"?f:null).append(t.children("thead"))))).append(h(y,{class:l.sScrollBody}).css({position:"relative",overflow:"auto",width:m(a)}).append(t));v&&x.append(h(y,{class:l.sScrollFoot}).css({overflow:"hidden",border:0,width:a?m(a):"100%"}).append(h(y,{class:l.sScrollFootInner}).append(p.removeAttr("id").css("margin-left",0).append(c==="bottom"?f:null).append(t.children("tfoot")))));var A=x.children(),F=A[0],H=A[1],O=v?A[2]:null;return a&&h(H).on("scroll.DT",function(w){var Z=this.scrollLeft;F.scrollLeft=Z,v&&(O.scrollLeft=Z)}),h(H).css("max-height",u),n.bCollapse||h(H).css("height",u),e.nScrollHead=F,e.nScrollBody=H,e.nScrollFoot=O,e.aoDrawCallback.push({fn:or,sName:"scrolling"}),x[0]}function or(e){var t=e.oScroll,n=t.sX,a=t.sXInner,u=t.sY,l=t.iBarWidth,f=h(e.nScrollHead),c=f[0].style,d=f.children("div"),p=d[0].style,v=d.children("table"),y=e.nScrollBody,m=h(y),x=y.style,A=h(e.nScrollFoot),F=A.children("div"),H=F.children("table"),O=h(e.nTHead),w=h(e.nTable),Z=w[0],B=Z.style,se=e.nTFoot?h(e.nTFoot):null,Ye=e.oBrowser,rt=Ye.bScrollOversize;C(e.aoColumns,"nTh");var Ae,ze,Ue,De,Qe,Ve,_e=[],Xe=[],Ze=[],lt=[],ce,nt,Tt,cr=function(we){var Me=we.style;Me.paddingTop="0",Me.paddingBottom="0",Me.borderTopWidth="0",Me.borderBottomWidth="0",Me.height=0},$t=y.scrollHeight>y.clientHeight;if(e.scrollBarVis!==$t&&e.scrollBarVis!==T){e.scrollBarVis=$t,ft(e);return}else e.scrollBarVis=$t;w.children("thead, tfoot").remove(),se&&(Ve=se.clone().prependTo(w),ze=se.find("tr"),De=Ve.find("tr"),Ve.find("[id]").removeAttr("id")),Qe=O.clone().prependTo(w),Ae=O.find("tr"),Ue=Qe.find("tr"),Qe.find("th, td").removeAttr("tabindex"),Qe.find("[id]").removeAttr("id"),n||(x.width="100%",f[0].style.width="100%"),h.each(We(e,Qe),function(we,Me){ce=Fe(e,we),Me.style.width=e.aoColumns[ce].sWidth}),se&&gt(function(we){we.style.width=""},De),Tt=w.outerWidth(),n===""?(B.width="100%",rt&&(w.find("tbody").height()>y.offsetHeight||m.css("overflow-y")=="scroll")&&(B.width=ke(w.outerWidth()-l)),Tt=w.outerWidth()):a!==""&&(B.width=ke(a),Tt=w.outerWidth()),gt(cr,Ue),gt(function(we){var Me=X.getComputedStyle?X.getComputedStyle(we).width:ke(h(we).width());Ze.push(we.innerHTML),_e.push(Me)},Ue),gt(function(we,Me){we.style.width=_e[Me]},Ae),h(Ue).css("height",0),se&&(gt(cr,De),gt(function(we){lt.push(we.innerHTML),Xe.push(ke(h(we).css("width")))},De),gt(function(we,Me){we.style.width=Xe[Me]},ze),h(De).height(0)),gt(function(we,Me){we.innerHTML='<div class="dataTables_sizing">'+Ze[Me]+"</div>",we.childNodes[0].style.height="0",we.childNodes[0].style.overflow="hidden",we.style.width=_e[Me]},Ue),se&&gt(function(we,Me){we.innerHTML='<div class="dataTables_sizing">'+lt[Me]+"</div>",we.childNodes[0].style.height="0",we.childNodes[0].style.overflow="hidden",we.style.width=Xe[Me]},De),Math.round(w.outerWidth())<Math.round(Tt)?(nt=y.scrollHeight>y.offsetHeight||m.css("overflow-y")=="scroll"?Tt+l:Tt,rt&&(y.scrollHeight>y.offsetHeight||m.css("overflow-y")=="scroll")&&(B.width=ke(nt-l)),(n===""||a!=="")&&wt(e,1,"Possible column misalignment",6)):nt="100%",x.width=ke(nt),c.width=ke(nt),se&&(e.nScrollFoot.style.width=ke(nt)),u||rt&&(x.height=ke(Z.offsetHeight+l));var Wt=w.outerWidth();v[0].style.width=ke(Wt),p.width=ke(Wt);var Tn=w.height()>y.clientHeight||m.css("overflow-y")=="scroll",tn="padding"+(Ye.bScrollbarLeft?"Left":"Right");p[tn]=Tn?l+"px":"0px",se&&(H[0].style.width=ke(Wt),F[0].style.width=ke(Wt),F[0].style[tn]=Tn?l+"px":"0px"),w.children("colgroup").insertBefore(w.children("thead")),m.trigger("scroll"),(e.bSorted||e.bFiltered)&&!e._drawHold&&(y.scrollTop=0)}function gt(e,t,n){for(var a=0,u=0,l=t.length,f,c;u<l;){for(f=t[u].firstChild,c=n?n[u].firstChild:null;f;)f.nodeType===1&&(n?e(f,c,a):e(f,a),a++),f=f.nextSibling,c=n?c.nextSibling:null;u++}}var In=/<.*?>/g;function lr(e){var t=e.nTable,n=e.aoColumns,a=e.oScroll,u=a.sY,l=a.sX,f=a.sXInner,c=n.length,d=Ce(e,"bVisible"),p=h("th",e.nTHead),v=t.getAttribute("width"),y=t.parentNode,m=!1,x,A,F,H=e.oBrowser,O=H.bScrollOversize,w=t.style.width;for(w&&w.indexOf("%")!==-1&&(v=w),x=0;x<d.length;x++)A=n[d[x]],A.sWidth!==null&&(A.sWidth=hn(A.sWidthOrig,y),m=!0);if(O||!m&&!l&&!u&&c==ae(e)&&c==p.length)for(x=0;x<c;x++){var Z=Fe(e,x);Z!==null&&(n[Z].sWidth=ke(p.eq(x).width()))}else{var B=h(t).clone().css("visibility","hidden").removeAttr("id");B.find("tbody tr").remove();var se=h("<tr/>").appendTo(B.find("tbody"));for(B.find("thead, tfoot").remove(),B.append(h(e.nTHead).clone()).append(h(e.nTFoot).clone()),B.find("tfoot th, tfoot td").css("width",""),p=We(e,B.find("thead")[0]),x=0;x<d.length;x++)A=n[d[x]],p[x].style.width=A.sWidthOrig!==null&&A.sWidthOrig!==""?ke(A.sWidthOrig):"",A.sWidthOrig&&l&&h(p[x]).append(h("<div/>").css({width:A.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(e.aoData.length)for(x=0;x<d.length;x++)F=d[x],A=n[F],h(Ur(e,F)).clone(!1).append(A.sContentPadding).appendTo(se);h("[name]",B).removeAttr("name");var Ye=h("<div/>").css(l||u?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(B).appendTo(y);l&&f?B.width(f):l?(B.css("width","auto"),B.removeAttr("width"),B.width()<y.clientWidth&&v&&B.width(y.clientWidth)):u?B.width(y.clientWidth):v&&B.width(v);var rt=0;for(x=0;x<d.length;x++){var Ae=h(p[x]),ze=Ae.outerWidth()-Ae.width(),Ue=H.bBounding?Math.ceil(p[x].getBoundingClientRect().width):Ae.outerWidth();rt+=Ue,n[d[x]].sWidth=ke(Ue-ze)}t.style.width=ke(rt),Ye.remove()}if(v&&(t.style.width=ke(v)),(v||l)&&!e._reszEvt){var De=function(){h(X).on("resize.DT-"+e.sInstance,Wr(function(){ft(e)}))};O?setTimeout(De,1e3):De(),e._reszEvt=!0}}var Wr=N.util.throttle;function hn(e,t){if(!e)return 0;var n=h("<div/>").css("width",ke(e)).appendTo(t||ee.body),a=n[0].offsetWidth;return n.remove(),a}function Ur(e,t){var n=Vr(e,t);if(n<0)return null;var a=e.aoData[n];return a.nTr?a.anCells[t]:h("<td/>").html(Te(e,n,t,"display"))[0]}function Vr(e,t){for(var n,a=-1,u=-1,l=0,f=e.aoData.length;l<f;l++)n=Te(e,l,t,"display")+"",n=n.replace(In,""),n=n.replace(/&nbsp;/g," "),n.length>a&&(a=n.length,u=l);return u}function ke(e){return e===null?"0px":typeof e=="number"?e<0?"0px":e+"px":e.match(/\d$/)?e+"px":e}function Ot(e){var t,n,a,u=[],l=e.aoColumns,f,c,d,p,v=e.aaSortingFixed,y=h.isPlainObject(v),m=[],x=function(A){A.length&&!Array.isArray(A[0])?m.push(A):h.merge(m,A)};for(Array.isArray(v)&&x(v),y&&v.pre&&x(v.pre),x(e.aaSorting),y&&v.post&&x(v.post),t=0;t<m.length;t++)for(p=m[t][0],f=l[p].aDataSort,n=0,a=f.length;n<a;n++)c=f[n],d=l[c].sType||"string",m[t]._idx===T&&(m[t]._idx=h.inArray(m[t][1],l[c].asSorting)),u.push({src:p,col:c,dir:m[t][1],index:m[t]._idx,type:d,formatter:N.ext.type.order[d+"-pre"]});return u}function et(e){var t,n,a,u=[],l=N.ext.type.order,f=e.aoData;e.aoColumns;var c=0,d,p=e.aiDisplayMaster,v;for(je(e),v=Ot(e),t=0,n=v.length;t<n;t++)d=v[t],d.formatter&&c++,Cr(e,d.col);if(Be(e)!="ssp"&&v.length!==0){for(t=0,a=p.length;t<a;t++)u[p[t]]=t;c===v.length?p.sort(function(y,m){var x,A,F,H,O,w=v.length,Z=f[y]._aSortData,B=f[m]._aSortData;for(F=0;F<w;F++)if(O=v[F],x=Z[O.col],A=B[O.col],H=x<A?-1:x>A?1:0,H!==0)return O.dir==="asc"?H:-H;return x=u[y],A=u[m],x<A?-1:x>A?1:0}):p.sort(function(y,m){var x,A,F,H,O,w,Z=v.length,B=f[y]._aSortData,se=f[m]._aSortData;for(F=0;F<Z;F++)if(O=v[F],x=B[O.col],A=se[O.col],w=l[O.type+"-"+O.dir]||l["string-"+O.dir],H=w(x,A),H!==0)return H;return x=u[y],A=u[m],x<A?-1:x>A?1:0})}e.bSorted=!0}function qt(e){for(var t,n,a=e.aoColumns,u=Ot(e),l=e.oLanguage.oAria,f=0,c=a.length;f<c;f++){var d=a[f],p=d.asSorting,v=d.ariaTitle||d.sTitle.replace(/<.*?>/g,""),y=d.nTh;y.removeAttribute("aria-sort"),d.bSortable?(u.length>0&&u[0].col==f?(y.setAttribute("aria-sort",u[0].dir=="asc"?"ascending":"descending"),n=p[u[0].index+1]||p[0]):n=p[0],t=v+(n==="asc"?l.sSortAscending:l.sSortDescending)):t=v,y.setAttribute("aria-label",t)}}function Kt(e,t,n,a){var u=e.aoColumns[t],l=e.aaSorting,f=u.asSorting,c,d=function(v,y){var m=v._idx;return m===T&&(m=h.inArray(v[1],f)),m+1<f.length?m+1:y?null:0};if(typeof l[0]=="number"&&(l=e.aaSorting=[l]),n&&e.oFeatures.bSortMulti){var p=h.inArray(t,C(l,"0"));p!==-1?(c=d(l[p],!0),c===null&&l.length===1&&(c=0),c===null?l.splice(p,1):(l[p][1]=f[c],l[p]._idx=c)):(l.push([t,f[0],0]),l[l.length-1]._idx=0)}else l.length&&l[0][0]==t?(c=d(l[0]),l.length=1,l[0][1]=f[c],l[0]._idx=c):(l.length=0,l.push([t,f[0]]),l[0]._idx=0);Et(e),typeof a=="function"&&a(e)}function Xr(e,t,n,a){var u=e.aoColumns[n];Mt(t,{},function(l){u.bSortable!==!1&&(e.oFeatures.bProcessing?(ot(e,!0),setTimeout(function(){Kt(e,n,l.shiftKey,a),Be(e)!=="ssp"&&ot(e,!1)},0)):Kt(e,n,l.shiftKey,a))})}function xr(e){var t=e.aLastSort,n=e.oClasses.sSortColumn,a=Ot(e),u=e.oFeatures,l,f,c;if(u.bSort&&u.bSortClasses){for(l=0,f=t.length;l<f;l++)c=t[l].src,h(C(e.aoData,"anCells",c)).removeClass(n+(l<2?l+1:3));for(l=0,f=a.length;l<f;l++)c=a[l].src,h(C(e.aoData,"anCells",c)).addClass(n+(l<2?l+1:3))}e.aLastSort=a}function Cr(e,t){var n=e.aoColumns[t],a=N.ext.order[n.sSortDataType],u;a&&(u=a.call(e.oInstance,e,t,fe(e,t)));for(var l,f,c=N.ext.type.order[n.sType+"-pre"],d=0,p=e.aoData.length;d<p;d++)l=e.aoData[d],l._aSortData||(l._aSortData=[]),(!l._aSortData[t]||a)&&(f=a?u[d]:Te(e,d,t,"sort"),l._aSortData[t]=c?c(f):f)}function Yt(e){if(!e._bLoadingState){var t={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:h.extend(!0,[],e.aaSorting),search:Or(e.oPreviousSearch),columns:h.map(e.aoColumns,function(n,a){return{visible:n.bVisible,search:Or(e.aoPreSearchCols[a])}})};e.oSavedState=t,xe(e,"aoStateSaveParams","stateSaveParams",[e,t]),e.oFeatures.bStateSave&&!e.bDestroying&&e.fnStateSaveCallback.call(e.oInstance,e,t)}}function sr(e,t,n){if(!e.oFeatures.bStateSave){n();return}var a=function(l){Tr(e,l,n)},u=e.fnStateLoadCallback.call(e.oInstance,e,a);return u!==T&&Tr(e,u,n),!0}function Tr(e,t,n){var a,u,l=e.aoColumns;e._bLoadingState=!0;var f=e._bInitComplete?new N.Api(e):null;if(!t||!t.time){e._bLoadingState=!1,n();return}var c=xe(e,"aoStateLoadParams","stateLoadParams",[e,t]);if(h.inArray(!1,c)!==-1){e._bLoadingState=!1,n();return}var d=e.iStateDuration;if(d>0&&t.time<+new Date-d*1e3){e._bLoadingState=!1,n();return}if(t.columns&&l.length!==t.columns.length){e._bLoadingState=!1,n();return}if(e.oLoadedState=h.extend(!0,{},t),t.length!==T&&(f?f.page.len(t.length):e._iDisplayLength=t.length),t.start!==T&&(f===null?(e._iDisplayStart=t.start,e.iInitDisplayStart=t.start):_r(e,t.start/e._iDisplayLength)),t.order!==T&&(e.aaSorting=[],h.each(t.order,function(v,y){e.aaSorting.push(y[0]>=l.length?[0,y[1]]:y)})),t.search!==T&&h.extend(e.oPreviousSearch,cn(t.search)),t.columns){for(a=0,u=t.columns.length;a<u;a++){var p=t.columns[a];p.visible!==T&&(f?f.column(a).visible(p.visible,!1):l[a].bVisible=p.visible),p.search!==T&&h.extend(e.aoPreSearchCols[a],cn(p.search))}f&&f.columns.adjust()}e._bLoadingState=!1,xe(e,"aoStateLoaded","stateLoaded",[e,t]),n()}function Dr(e){var t=N.settings,n=h.inArray(e,C(t,"nTable"));return n!==-1?t[n]:null}function wt(e,t,n,a){if(n="DataTables warning: "+(e?"table id="+e.sTableId+" - ":"")+n,a&&(n+=". For more information about this error, please see http://datatables.net/tn/"+a),t)X.console&&console.log&&console.log(n);else{var u=N.ext,l=u.sErrMode||u.errMode;if(e&&xe(e,null,"error",[e,a,n]),l=="alert")alert(n);else{if(l=="throw")throw new Error(n);typeof l=="function"&&l(e,a,n)}}}function Re(e,t,n,a){if(Array.isArray(n)){h.each(n,function(u,l){Array.isArray(l)?Re(e,t,l[0],l[1]):Re(e,t,l)});return}a===T&&(a=n),t[n]!==T&&(e[a]=t[n])}function wr(e,t,n){var a;for(var u in t)t.hasOwnProperty(u)&&(a=t[u],h.isPlainObject(a)?(h.isPlainObject(e[u])||(e[u]={}),h.extend(!0,e[u],a)):n&&u!=="data"&&u!=="aaData"&&Array.isArray(a)?e[u]=a.slice():e[u]=a);return e}function Mt(e,t,n){h(e).on("click.DT",t,function(a){h(e).trigger("blur"),n(a)}).on("keypress.DT",t,function(a){a.which===13&&(a.preventDefault(),n(a))}).on("selectstart.DT",function(){return!1})}function tt(e,t,n,a){n&&e[t].push({fn:n,sName:a})}function xe(e,t,n,a){var u=[];if(t&&(u=h.map(e[t].slice().reverse(),function(f,c){return f.fn.apply(e.oInstance,a)})),n!==null){var l=h.Event(n+".dt");h(e.nTable).trigger(l,a),u.push(l.result)}return u}function St(e){var t=e._iDisplayStart,n=e.fnDisplayEnd(),a=e._iDisplayLength;t>=n&&(t=n-a),t-=t%a,(a===-1||t<0)&&(t=0),e._iDisplayStart=t}function At(e,t){var n=e.renderer,a=N.ext.renderer[t];return h.isPlainObject(n)&&n[t]?a[n[t]]||a._:typeof n=="string"&&a[n]||a._}function Be(e){return e.oFeatures.bServerSide?"ssp":e.ajax||e.sAjaxSource?"ajax":"dom"}var pn=[],qe=Array.prototype,vn=function(e){var t,n,a=N.settings,u=h.map(a,function(l,f){return l.nTable});if(e){if(e.nTable&&e.oApi)return[e];if(e.nodeName&&e.nodeName.toLowerCase()==="table")return t=h.inArray(e,u),t!==-1?[a[t]]:null;if(e&&typeof e.settings=="function")return e.settings().toArray();typeof e=="string"?n=h(e):e instanceof h&&(n=e)}else return[];if(n)return n.map(function(l){return t=h.inArray(this,u),t!==-1?a[t]:null}).toArray()};ue=function(e,t){if(!(this instanceof ue))return new ue(e,t);var n=[],a=function(f){var c=vn(f);c&&n.push.apply(n,c)};if(Array.isArray(e))for(var u=0,l=e.length;u<l;u++)a(e[u]);else a(e);this.context=R(n),t&&h.merge(this,t),this.selector={rows:null,cols:null,opts:null},ue.extend(this,this,pn)},N.Api=ue,h.extend(ue.prototype,{any:function(){return this.count()!==0},concat:qe.concat,context:[],count:function(){return this.flatten().length},each:function(e){for(var t=0,n=this.length;t<n;t++)e.call(this,this[t],t,this);return this},eq:function(e){var t=this.context;return t.length>e?new ue(t[e],this[e]):null},filter:function(e){var t=[];if(qe.filter)t=qe.filter.call(this,e,this);else for(var n=0,a=this.length;n<a;n++)e.call(this,this[n],n,this)&&t.push(this[n]);return new ue(this.context,t)},flatten:function(){var e=[];return new ue(this.context,e.concat.apply(e,this.toArray()))},join:qe.join,indexOf:qe.indexOf||function(e,t){for(var n=t||0,a=this.length;n<a;n++)if(this[n]===e)return n;return-1},iterator:function(e,t,n,a){var u=[],l,f,c,d,p,v=this.context,y,m,x,A=this.selector;for(typeof e=="string"&&(a=n,n=t,t=e,e=!1),f=0,c=v.length;f<c;f++){var F=new ue(v[f]);if(t==="table")l=n.call(F,v[f],f),l!==T&&u.push(l);else if(t==="columns"||t==="rows")l=n.call(F,v[f],this[f],f),l!==T&&u.push(l);else if(t==="column"||t==="column-rows"||t==="row"||t==="cell")for(m=this[f],t==="column-rows"&&(y=Ar(v[f],A.opts)),d=0,p=m.length;d<p;d++)x=m[d],t==="cell"?l=n.call(F,v[f],x.row,x.column,f,d):l=n.call(F,v[f],x,f,d,y),l!==T&&u.push(l)}if(u.length||a){var H=new ue(v,e?u.concat.apply([],u):u),O=H.selector;return O.rows=A.rows,O.cols=A.cols,O.opts=A.opts,H}return this},lastIndexOf:qe.lastIndexOf||function(e,t){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(e){var t=[];if(qe.map)t=qe.map.call(this,e,this);else for(var n=0,a=this.length;n<a;n++)t.push(e.call(this,this[n],n));return new ue(this.context,t)},pluck:function(e){let t=N.util.get(e);return this.map(function(n){return t(n)})},pop:qe.pop,push:qe.push,reduce:qe.reduce||function(e,t){return Ee(this,e,t,0,this.length,1)},reduceRight:qe.reduceRight||function(e,t){return Ee(this,e,t,this.length-1,-1,-1)},reverse:qe.reverse,selector:null,shift:qe.shift,slice:function(){return new ue(this.context,this)},sort:qe.sort,splice:qe.splice,toArray:function(){return qe.slice.call(this)},to$:function(){return h(this)},toJQuery:function(){return h(this)},unique:function(){return new ue(this.context,R(this))},unshift:qe.unshift}),ue.extend=function(e,t,n){if(!(!n.length||!t||!(t instanceof ue)&&!t.__dt_wrapper)){var a,u,l,f=function(c,d,p){return function(){var v=d.apply(c,arguments);return ue.extend(v,v,p.methodExt),v}};for(a=0,u=n.length;a<u;a++)l=n[a],t[l.name]=l.type==="function"?f(e,l.val,l):l.type==="object"?{}:l.val,t[l.name].__dt_wrapper=!0,ue.extend(e,t[l.name],l.propExt)}},ue.register=J=function(e,t){if(Array.isArray(e)){for(var n=0,a=e.length;n<a;n++)ue.register(e[n],t);return}var u,l,f=e.split("."),c=pn,d,p,v=function(m,x){for(var A=0,F=m.length;A<F;A++)if(m[A].name===x)return m[A];return null};for(u=0,l=f.length;u<l;u++){p=f[u].indexOf("()")!==-1,d=p?f[u].replace("()",""):f[u];var y=v(c,d);y||(y={name:d,val:{},methodExt:[],propExt:[],type:"object"},c.push(y)),u===l-1?(y.val=t,y.type=typeof t=="function"?"function":h.isPlainObject(t)?"object":"other"):c=p?y.methodExt:y.propExt}},ue.registerPlural=ye=function(e,t,n){ue.register(e,n),ue.register(t,function(){var a=n.apply(this,arguments);return a===this?this:a instanceof ue?a.length?Array.isArray(a[0])?new ue(a.context,a[0]):a[0]:T:a})};var zt=function(e,t){if(Array.isArray(e))return h.map(e,function(a){return zt(a,t)});if(typeof e=="number")return[t[e]];var n=h.map(t,function(a,u){return a.nTable});return h(n).filter(e).map(function(a){var u=h.inArray(this,n);return t[u]}).toArray()};J("tables()",function(e){return e!==T&&e!==null?new ue(zt(e,this.context)):this}),J("table()",function(e){var t=this.tables(e),n=t.context;return n.length?new ue(n[0]):t}),ye("tables().nodes()","table().node()",function(){return this.iterator("table",function(e){return e.nTable},1)}),ye("tables().body()","table().body()",function(){return this.iterator("table",function(e){return e.nTBody},1)}),ye("tables().header()","table().header()",function(){return this.iterator("table",function(e){return e.nTHead},1)}),ye("tables().footer()","table().footer()",function(){return this.iterator("table",function(e){return e.nTFoot},1)}),ye("tables().containers()","table().container()",function(){return this.iterator("table",function(e){return e.nTableWrapper},1)}),J("draw()",function(e){return this.iterator("table",function(t){e==="page"?vt(t):(typeof e=="string"&&(e=e!=="full-hold"),Et(t,e===!1))})}),J("page()",function(e){return e===T?this.page.info().page:this.iterator("table",function(t){_r(t,e)})}),J("page.info()",function(e){if(this.context.length===0)return T;var t=this.context[0],n=t._iDisplayStart,a=t.oFeatures.bPaginate?t._iDisplayLength:-1,u=t.fnRecordsDisplay(),l=a===-1;return{page:l?0:Math.floor(n/a),pages:l?1:Math.ceil(u/a),start:n,end:t.fnDisplayEnd(),length:a,recordsTotal:t.fnRecordsTotal(),recordsDisplay:u,serverSide:Be(t)==="ssp"}}),J("page.len()",function(e){return e===T?this.context.length!==0?this.context[0]._iDisplayLength:T:this.iterator("table",function(t){mr(t,e)})});var Jr=function(e,t,n){if(n){var a=new ue(e);a.one("draw",function(){n(a.ajax.json())})}if(Be(e)=="ssp")Et(e,t);else{ot(e,!0);var u=e.jqXHR;u&&u.readyState!==4&&u.abort(),br(e,[],function(l){_t(e);for(var f=Ct(e,l),c=0,d=f.length;c<d;c++)Oe(e,f[c]);Et(e,t),ot(e,!1)})}};J("ajax.json()",function(){var e=this.context;if(e.length>0)return e[0].json}),J("ajax.params()",function(){var e=this.context;if(e.length>0)return e[0].oAjaxData}),J("ajax.reload()",function(e,t){return this.iterator("table",function(n){Jr(n,t===!1,e)})}),J("ajax.url()",function(e){var t=this.context;return e===T?t.length===0?T:(t=t[0],t.ajax?h.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource):this.iterator("table",function(n){h.isPlainObject(n.ajax)?n.ajax.url=e:n.ajax=e})}),J("ajax.url().load()",function(e,t){return this.iterator("table",function(n){Jr(n,t===!1,e)})});var ur=function(e,t,n,a,u){var l=[],f,c,d,p,v,y,m=typeof t;for((!t||m==="string"||m==="function"||t.length===T)&&(t=[t]),d=0,p=t.length;d<p;d++)for(c=t[d]&&t[d].split&&!t[d].match(/[\[\(:]/)?t[d].split(","):[t[d]],v=0,y=c.length;v<y;v++)f=n(typeof c[v]=="string"?c[v].trim():c[v]),f&&f.length&&(l=l.concat(f));var x=ge.selector[e];if(x.length)for(d=0,p=x.length;d<p;d++)l=x[d](a,u,l);return R(l)},Gr=function(e){return e||(e={}),e.filter&&e.search===T&&(e.search=e.filter),h.extend({search:"none",order:"current",page:"all"},e)},Sr=function(e){for(var t=0,n=e.length;t<n;t++)if(e[t].length>0)return e[0]=e[t],e[0].length=1,e.length=1,e.context=[e.context[t]],e;return e.length=0,e},Ar=function(e,t){var n,a,u,l=[],f=e.aiDisplay,c=e.aiDisplayMaster,d=t.search,p=t.order,v=t.page;if(Be(e)=="ssp")return d==="removed"?[]:E(0,c.length);if(v=="current")for(n=e._iDisplayStart,a=e.fnDisplayEnd();n<a;n++)l.push(f[n]);else if(p=="current"||p=="applied"){if(d=="none")l=c.slice();else if(d=="applied")l=f.slice();else if(d=="removed"){for(var y={},n=0,a=f.length;n<a;n++)y[f[n]]=null;l=h.map(c,function(m){return y.hasOwnProperty(m)?null:m})}}else if(p=="index"||p=="original")for(n=0,a=e.aoData.length;n<a;n++)d=="none"?l.push(n):(u=h.inArray(n,f),(u===-1&&d=="removed"||u>=0&&d=="applied")&&l.push(n));return l},kn=function(e,t,n){var a,u=function(l){var f=at(l),c=e.aoData;if(f!==null&&!n)return[f];if(a||(a=Ar(e,n)),f!==null&&h.inArray(f,a)!==-1)return[f];if(l===null||l===T||l==="")return a;if(typeof l=="function")return h.map(a,function(x){var A=c[x];return l(x,A._aData,A.nTr)?x:null});if(l.nodeName){var d=l._DT_RowIndex,p=l._DT_CellIndex;if(d!==T)return c[d]&&c[d].nTr===l?[d]:[];if(p)return c[p.row]&&c[p.row].nTr===l.parentNode?[p.row]:[];var v=h(l).closest("*[data-dt-row]");return v.length?[v.data("dt-row")]:[]}if(typeof l=="string"&&l.charAt(0)==="#"){var y=e.aIds[l.replace(/^#/,"")];if(y!==T)return[y.idx]}var m=P(L(e.aoData,a,"nTr"));return h(m).filter(l).map(function(){return this._DT_RowIndex}).toArray()};return ur("row",t,u,e,n)};J("rows()",function(e,t){e===T?e="":h.isPlainObject(e)&&(t=e,e=""),t=Gr(t);var n=this.iterator("table",function(a){return kn(a,e,t)},1);return n.selector.rows=e,n.selector.opts=t,n}),J("rows().nodes()",function(){return this.iterator("row",function(e,t){return e.aoData[t].nTr||T},1)}),J("rows().data()",function(){return this.iterator(!0,"rows",function(e,t){return L(e.aoData,t,"_aData")},1)}),ye("rows().cache()","row().cache()",function(e){return this.iterator("row",function(t,n){var a=t.aoData[n];return e==="search"?a._aFilterData:a._aSortData},1)}),ye("rows().invalidate()","row().invalidate()",function(e){return this.iterator("row",function(t,n){rr(t,n,e)})}),ye("rows().indexes()","row().index()",function(){return this.iterator("row",function(e,t){return t},1)}),ye("rows().ids()","row().id()",function(e){for(var t=[],n=this.context,a=0,u=n.length;a<u;a++)for(var l=0,f=this[a].length;l<f;l++){var c=n[a].rowIdFn(n[a].aoData[this[a][l]]._aData);t.push((e===!0?"#":"")+c)}return new ue(n,t)}),ye("rows().remove()","row().remove()",function(){var e=this;return this.iterator("row",function(t,n,a){var u=t.aoData,l=u[n],f,c,d,p,v,y;for(u.splice(n,1),f=0,c=u.length;f<c;f++)if(v=u[f],y=v.anCells,v.nTr!==null&&(v.nTr._DT_RowIndex=f),y!==null)for(d=0,p=y.length;d<p;d++)y[d]._DT_CellIndex.row=f;Dt(t.aiDisplayMaster,n),Dt(t.aiDisplay,n),Dt(e[a],n,!1),t._iRecordsDisplay>0&&t._iRecordsDisplay--,St(t);var m=t.rowIdFn(l._aData);m!==T&&delete t.aIds[m]}),this.iterator("table",function(t){for(var n=0,a=t.aoData.length;n<a;n++)t.aoData[n].idx=n}),this}),J("rows.add()",function(e){var t=this.iterator("table",function(a){var u,l,f,c=[];for(l=0,f=e.length;l<f;l++)u=e[l],u.nodeName&&u.nodeName.toUpperCase()==="TR"?c.push(kt(a,u)[0]):c.push(Oe(a,u));return c},1),n=this.rows(-1);return n.pop(),h.merge(n,t),n}),J("row()",function(e,t){return Sr(this.rows(e,t))}),J("row().data()",function(e){var t=this.context;if(e===T)return t.length&&this.length?t[0].aoData[this[0]]._aData:T;var n=t[0].aoData[this[0]];return n._aData=e,Array.isArray(e)&&n.nTr&&n.nTr.id&&pt(t[0].rowId)(e,n.nTr.id),rr(t[0],this[0],"data"),this}),J("row().node()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]].nTr||null}),J("row.add()",function(e){e instanceof h&&e.length&&(e=e[0]);var t=this.iterator("table",function(n){return e.nodeName&&e.nodeName.toUpperCase()==="TR"?kt(n,e)[0]:Oe(n,e)});return this.row(t[0])}),h(ee).on("plugin-init.dt",function(e,t){var n=new ue(t);n.on("stateSaveParams",function(u,l,f){for(var c=l.rowIdFn,d=l.aoData,p=[],v=0;v<d.length;v++)d[v]._detailsShow&&p.push("#"+c(d[v]._aData));f.childRows=p});var a=n.state.loaded();a&&a.childRows&&n.rows(h.map(a.childRows,function(u){return u.replace(/:/g,"\\:")})).every(function(){xe(t,null,"requestChild",[this])})});var Kr=function(e,t,n,a){var u=[],l=function(f,c){if(Array.isArray(f)||f instanceof h){for(var d=0,p=f.length;d<p;d++)l(f[d],c);return}if(f.nodeName&&f.nodeName.toLowerCase()==="tr")u.push(f);else{var v=h("<tr><td></td></tr>").addClass(c);h("td",v).addClass(c).html(f)[0].colSpan=ae(e),u.push(v[0])}};l(n,a),t._details&&t._details.detach(),t._details=h(u),t._detailsShow&&t._details.insertAfter(t.nTr)},bn=N.util.throttle(function(e){Yt(e[0])},500),Yr=function(e,t){var n=e.context;if(n.length){var a=n[0].aoData[t!==T?t:e[0]];a&&a._details&&(a._details.remove(),a._detailsShow=T,a._details=T,h(a.nTr).removeClass("dt-hasChild"),bn(n))}},gn=function(e,t){var n=e.context;if(n.length&&e.length){var a=n[0].aoData[e[0]];a._details&&(a._detailsShow=t,t?(a._details.insertAfter(a.nTr),h(a.nTr).addClass("dt-hasChild")):(a._details.detach(),h(a.nTr).removeClass("dt-hasChild")),xe(n[0],null,"childRow",[t,e.row(e[0])]),En(n[0]),bn(n))}},En=function(e){var t=new ue(e),n=".dt.DT_details",a="draw"+n,u="column-sizing"+n,l="destroy"+n,f=e.aoData;t.off(a+" "+u+" "+l),C(f,"_details").length>0&&(t.on(a,function(c,d){e===d&&t.rows({page:"current"}).eq(0).each(function(p){var v=f[p];v._detailsShow&&v._details.insertAfter(v.nTr)})}),t.on(u,function(c,d,p,v){if(e===d)for(var y,m=ae(d),x=0,A=f.length;x<A;x++)y=f[x],y._details&&y._details.children("td[colspan]").attr("colspan",m)}),t.on(l,function(c,d){if(e===d)for(var p=0,v=f.length;p<v;p++)f[p]._details&&Yr(t,p)}))},Fn="",fr=Fn+"row().child",Nr=fr+"()";J(Nr,function(e,t){var n=this.context;return e===T?n.length&&this.length?n[0].aoData[this[0]]._details:T:(e===!0?this.child.show():e===!1?Yr(this):n.length&&this.length&&Kr(n[0],n[0].aoData[this[0]],e,t),this)}),J([fr+".show()",Nr+".show()"],function(e){return gn(this,!0),this}),J([fr+".hide()",Nr+".hide()"],function(){return gn(this,!1),this}),J([fr+".remove()",Nr+".remove()"],function(){return Yr(this),this}),J(fr+".isShown()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]._detailsShow||!1});var yn=/^([^:]+):(name|visIdx|visible)$/,Lr=function(e,t,n,a,u){for(var l=[],f=0,c=u.length;f<c;f++)l.push(Te(e,u[f],t));return l},mn=function(e,t,n){var a=e.aoColumns,u=C(a,"sName"),l=C(a,"nTh"),f=function(c){var d=at(c);if(c==="")return E(a.length);if(d!==null)return[d>=0?d:a.length+d];if(typeof c=="function"){var p=Ar(e,n);return h.map(a,function(F,H){return c(H,Lr(e,H,0,0,p),l[H])?H:null})}var v=typeof c=="string"?c.match(yn):"";if(v)switch(v[2]){case"visIdx":case"visible":var y=parseInt(v[1],10);if(y<0){var m=h.map(a,function(F,H){return F.bVisible?H:null});return[m[m.length+y]]}return[Fe(e,y)];case"name":return h.map(u,function(F,H){return F===v[1]?H:null});default:return[]}if(c.nodeName&&c._DT_CellIndex)return[c._DT_CellIndex.column];var x=h(l).filter(c).map(function(){return h.inArray(this,l)}).toArray();if(x.length||!c.nodeName)return x;var A=h(c).closest("*[data-dt-column]");return A.length?[A.data("dt-column")]:[]};return ur("column",t,f,e,n)},zr=function(e,t,n){var a=e.aoColumns,u=a[t],l=e.aoData,f,c,d,p;if(n===T)return u.bVisible;if(u.bVisible!==n){if(n){var v=h.inArray(!0,C(a,"bVisible"),t+1);for(c=0,d=l.length;c<d;c++)p=l[c].nTr,f=l[c].anCells,p&&p.insertBefore(f[t],f[v]||null)}else h(C(e.aoData,"anCells",t)).detach();u.bVisible=n}};J("columns()",function(e,t){e===T?e="":h.isPlainObject(e)&&(t=e,e=""),t=Gr(t);var n=this.iterator("table",function(a){return mn(a,e,t)},1);return n.selector.cols=e,n.selector.opts=t,n}),ye("columns().header()","column().header()",function(e,t){return this.iterator("column",function(n,a){return n.aoColumns[a].nTh},1)}),ye("columns().footer()","column().footer()",function(e,t){return this.iterator("column",function(n,a){return n.aoColumns[a].nTf},1)}),ye("columns().data()","column().data()",function(){return this.iterator("column-rows",Lr,1)}),ye("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(e,t){return e.aoColumns[t].mData},1)}),ye("columns().cache()","column().cache()",function(e){return this.iterator("column-rows",function(t,n,a,u,l){return L(t.aoData,l,e==="search"?"_aFilterData":"_aSortData",n)},1)}),ye("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(e,t,n,a,u){return L(e.aoData,u,"anCells",t)},1)}),ye("columns().visible()","column().visible()",function(e,t){var n=this,a=this.iterator("column",function(u,l){if(e===T)return u.aoColumns[l].bVisible;zr(u,l,e)});return e!==T&&this.iterator("table",function(u){xt(u,u.aoHeader),xt(u,u.aoFooter),u.aiDisplay.length||h(u.nTBody).find("td[colspan]").attr("colspan",ae(u)),Yt(u),n.iterator("column",function(l,f){xe(l,null,"column-visibility",[l,f,e,t])}),(t===T||t)&&n.columns.adjust()}),a}),ye("columns().indexes()","column().index()",function(e){return this.iterator("column",function(t,n){return e==="visible"?fe(t,n):n},1)}),J("columns.adjust()",function(){return this.iterator("table",function(e){ft(e)},1)}),J("column.index()",function(e,t){if(this.context.length!==0){var n=this.context[0];if(e==="fromVisible"||e==="toData")return Fe(n,t);if(e==="fromData"||e==="toVisible")return fe(n,t)}}),J("column()",function(e,t){return Sr(this.columns(e,t))});var _n=function(e,t,n){var a=e.aoData,u=Ar(e,n),l=P(L(a,u,"anCells")),f=h(Q([],l)),c,d=e.aoColumns.length,p,v,y,m,x,A,F=function(H){var O=typeof H=="function";if(H===null||H===T||O){for(p=[],v=0,y=u.length;v<y;v++)for(c=u[v],m=0;m<d;m++)x={row:c,column:m},O?(A=a[c],H(x,Te(e,c,m),A.anCells?A.anCells[m]:null)&&p.push(x)):p.push(x);return p}if(h.isPlainObject(H))return H.column!==T&&H.row!==T&&h.inArray(H.row,u)!==-1?[H]:[];var w=f.filter(H).map(function(Z,B){return{row:B._DT_CellIndex.row,column:B._DT_CellIndex.column}}).toArray();return w.length||!H.nodeName?w:(A=h(H).closest("*[data-dt-row]"),A.length?[{row:A.data("dt-row"),column:A.data("dt-column")}]:[])};return ur("cell",t,F,e,n)};J("cells()",function(e,t,n){if(h.isPlainObject(e)&&(e.row===T?(n=e,e=null):(n=t,t=null)),h.isPlainObject(t)&&(n=t,t=null),t===null||t===T)return this.iterator("table",function(m){return _n(m,e,Gr(n))});var a=n?{page:n.page,order:n.order,search:n.search}:{},u=this.columns(t,a),l=this.rows(e,a),f,c,d,p,v=this.iterator("table",function(m,x){var A=[];for(f=0,c=l[x].length;f<c;f++)for(d=0,p=u[x].length;d<p;d++)A.push({row:l[x][f],column:u[x][d]});return A},1),y=n&&n.selected?this.cells(v,n):v;return h.extend(y.selector,{cols:t,rows:e,opts:n}),y}),ye("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(e,t,n){var a=e.aoData[t];return a&&a.anCells?a.anCells[n]:T},1)}),J("cells().data()",function(){return this.iterator("cell",function(e,t,n){return Te(e,t,n)},1)}),ye("cells().cache()","cell().cache()",function(e){return e=e==="search"?"_aFilterData":"_aSortData",this.iterator("cell",function(t,n,a){return t.aoData[n][e][a]},1)}),ye("cells().render()","cell().render()",function(e){return this.iterator("cell",function(t,n,a){return Te(t,n,a,e)},1)}),ye("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(e,t,n){return{row:t,column:n,columnVisible:fe(e,n)}},1)}),ye("cells().invalidate()","cell().invalidate()",function(e){return this.iterator("cell",function(t,n,a){rr(t,n,e,a)})}),J("cell()",function(e,t,n){return Sr(this.cells(e,t,n))}),J("cell().data()",function(e){var t=this.context,n=this[0];return e===T?t.length&&n.length?Te(t[0],n[0].row,n[0].column):T:(on(t[0],n[0].row,n[0].column,e),rr(t[0],n[0].row,"data",n[0].column),this)}),J("order()",function(e,t){var n=this.context;return e===T?n.length!==0?n[0].aaSorting:T:(typeof e=="number"?e=[[e,t]]:e.length&&!Array.isArray(e[0])&&(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(a){a.aaSorting=e.slice()}))}),J("order.listener()",function(e,t,n){return this.iterator("table",function(a){Xr(a,e,t,n)})}),J("order.fixed()",function(e){if(!e){var t=this.context,n=t.length?t[0].aaSortingFixed:T;return Array.isArray(n)?{pre:n}:n}return this.iterator("table",function(a){a.aaSortingFixed=h.extend(!0,{},e)})}),J(["columns().order()","column().order()"],function(e){var t=this;return this.iterator("table",function(n,a){var u=[];h.each(t[a],function(l,f){u.push([f,e])}),n.aaSorting=u})}),J("search()",function(e,t,n,a){var u=this.context;return e===T?u.length!==0?u[0].oPreviousSearch.sSearch:T:this.iterator("table",function(l){!l.oFeatures.bFilter||nr(l,h.extend({},l.oPreviousSearch,{sSearch:e+"",bRegex:t===null?!1:t,bSmart:n===null?!0:n,bCaseInsensitive:a===null?!0:a}),1)})}),ye("columns().search()","column().search()",function(e,t,n,a){return this.iterator("column",function(u,l){var f=u.aoPreSearchCols;if(e===T)return f[l].sSearch;!u.oFeatures.bFilter||(h.extend(f[l],{sSearch:e+"",bRegex:t===null?!1:t,bSmart:n===null?!0:n,bCaseInsensitive:a===null?!0:a}),nr(u,u.oPreviousSearch,1))})}),J("state()",function(){return this.context.length?this.context[0].oSavedState:null}),J("state.clear()",function(){return this.iterator("table",function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})})}),J("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),J("state.save()",function(){return this.iterator("table",function(e){Yt(e)})}),N.versionCheck=N.fnVersionCheck=function(e){for(var t=N.version.split("."),n=e.split("."),a,u,l=0,f=n.length;l<f;l++)if(a=parseInt(t[l],10)||0,u=parseInt(n[l],10)||0,a!==u)return a>u;return!0},N.isDataTable=N.fnIsDataTable=function(e){var t=h(e).get(0),n=!1;return e instanceof N.Api?!0:(h.each(N.settings,function(a,u){var l=u.nScrollHead?h("table",u.nScrollHead)[0]:null,f=u.nScrollFoot?h("table",u.nScrollFoot)[0]:null;(u.nTable===t||l===t||f===t)&&(n=!0)}),n)},N.tables=N.fnTables=function(e){var t=!1;h.isPlainObject(e)&&(t=e.api,e=e.visible);var n=h.map(N.settings,function(a){if(!e||e&&h(a.nTable).is(":visible"))return a.nTable});return t?new ue(n):n},N.camelToHungarian=K,J("$()",function(e,t){var n=this.rows(t).nodes(),a=h(n);return h([].concat(a.filter(e).toArray(),a.find(e).toArray()))}),h.each(["on","one","off"],function(e,t){J(t+"()",function(){var n=Array.prototype.slice.call(arguments);n[0]=h.map(n[0].split(/\s/),function(u){return u.match(/\.dt\b/)?u:u+".dt"}).join(" ");var a=h(this.tables().nodes());return a[t].apply(a,n),this})}),J("clear()",function(){return this.iterator("table",function(e){_t(e)})}),J("settings()",function(){return new ue(this.context,this.context)}),J("init()",function(){var e=this.context;return e.length?e[0].oInit:null}),J("data()",function(){return this.iterator("table",function(e){return C(e.aoData,"_aData")}).flatten()}),J("destroy()",function(e){return e=e||!1,this.iterator("table",function(t){var n=t.oClasses,a=t.nTable,u=t.nTBody,l=t.nTHead,f=t.nTFoot,c=h(a),d=h(u),p=h(t.nTableWrapper),v=h.map(t.aoData,function(F){return F.nTr}),y;t.bDestroying=!0,xe(t,"aoDestroyCallback","destroy",[t]),e||new ue(t).columns().visible(!0),p.off(".DT").find(":not(tbody *)").off(".DT"),h(X).off(".DT-"+t.sInstance),a!=l.parentNode&&(c.children("thead").detach(),c.append(l)),f&&a!=f.parentNode&&(c.children("tfoot").detach(),c.append(f)),t.aaSorting=[],t.aaSortingFixed=[],xr(t),h(v).removeClass(t.asStripeClasses.join(" ")),h("th, td",l).removeClass(n.sSortable+" "+n.sSortableAsc+" "+n.sSortableDesc+" "+n.sSortableNone),d.children().detach(),d.append(v);var m=t.nTableWrapper.parentNode,x=e?"remove":"detach";c[x](),p[x](),!e&&m&&(m.insertBefore(a,t.nTableReinsertBefore),c.css("width",t.sDestroyWidth).removeClass(n.sTable),y=t.asDestroyStripes.length,y&&d.children().each(function(F){h(this).addClass(t.asDestroyStripes[F%y])}));var A=h.inArray(t,N.settings);A!==-1&&N.settings.splice(A,1)})}),h.each(["column","row","cell"],function(e,t){J(t+"s().every()",function(n){var a=this.selector.opts,u=this;return this.iterator(t,function(l,f,c,d,p){n.call(u[t](f,t==="cell"?c:a,t==="cell"?a:T),f,c,d,p)})})}),J("i18n()",function(e,t,n){var a=this.context[0],u=Ft(e)(a.oLanguage);return u===T&&(u=t),n!==T&&h.isPlainObject(u)&&(u=u[n]!==T?u[n]:u._),u.replace("%d",n)}),N.version="1.12.1",N.settings=[],N.models={},N.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,return:!1},N.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},N.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},N.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((e.iStateDuration===-1?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch{return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(e.iStateDuration===-1?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch{}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({},N.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},he(N.defaults),N.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},he(N.defaults.column),N.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,jqXHR:null,json:T,oAjaxData:T,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return Be(this)=="ssp"?this._iRecordsTotal*1:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return Be(this)=="ssp"?this._iRecordsDisplay*1:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,a=this.aiDisplay.length,u=this.oFeatures,l=u.bPaginate;return u.bServerSide?l===!1||e===-1?t+a:Math.min(t+e,this._iRecordsDisplay):!l||n>a||e===-1?a:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},N.ext=ge={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:N.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:N.version},h.extend(ge,{afnFiltering:ge.search,aTypes:ge.type.detect,ofnSearch:ge.type.search,oSort:ge.type.order,afnSortData:ge.order,aoFeatures:ge.feature,oApi:ge.internal,oStdClasses:ge.classes,oPagination:ge.pager}),h.extend(N.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_desc_disabled",sSortableDesc:"sorting_asc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Qr=N.ext.pager;function Bt(e,t){var n=[],a=Qr.numbers_length,u=Math.floor(a/2);return t<=a?n=E(0,t):e<=u?(n=E(0,a-2),n.push("ellipsis"),n.push(t-1)):e>=t-1-u?(n=E(t-(a-2),t),n.splice(0,0,"ellipsis"),n.splice(0,0,0)):(n=E(e-u+2,e+u-1),n.push("ellipsis"),n.push(t-1),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}h.extend(Qr,{simple:function(e,t){return["previous","next"]},full:function(e,t){return["first","previous","next","last"]},numbers:function(e,t){return[Bt(e,t)]},simple_numbers:function(e,t){return["previous",Bt(e,t),"next"]},full_numbers:function(e,t){return["first","previous",Bt(e,t),"next","last"]},first_last_numbers:function(e,t){return["first",Bt(e,t),"last"]},_numbers:Bt,numbers_length:7}),h.extend(!0,N.ext.renderer,{pageButton:{_:function(e,t,n,a,u,l){var f=e.oClasses,c=e.oLanguage.oPaginate,d=e.oLanguage.oAria.paginate||{},p,v,y=0,m=function(A,F){var H,O,w,Z,B,se=f.sPageButtonDisabled,Ye=function(Ae){_r(e,Ae.data.action,!0)};for(H=0,O=F.length;H<O;H++)if(Z=F[H],Array.isArray(Z)){var rt=h("<"+(Z.DT_el||"div")+"/>").appendTo(A);m(rt,Z)}else{switch(p=null,v=Z,B=e.iTabIndex,Z){case"ellipsis":A.append('<span class="ellipsis">&#x2026;</span>');break;case"first":p=c.sFirst,u===0&&(B=-1,v+=" "+se);break;case"previous":p=c.sPrevious,u===0&&(B=-1,v+=" "+se);break;case"next":p=c.sNext,(l===0||u===l-1)&&(B=-1,v+=" "+se);break;case"last":p=c.sLast,(l===0||u===l-1)&&(B=-1,v+=" "+se);break;default:p=e.fnFormatNumber(Z+1),v=u===Z?f.sPageButtonActive:"";break}p!==null&&(w=h("<a>",{class:f.sPageButton+" "+v,"aria-controls":e.sTableId,"aria-label":d[Z],"data-dt-idx":y,tabindex:B,id:n===0&&typeof Z=="string"?e.sTableId+"_"+Z:null}).html(p).appendTo(A),Mt(w,{action:Z},Ye),y++)}},x;try{x=h(t).find(ee.activeElement).data("dt-idx")}catch{}m(h(t).empty(),a),x!==T&&h(t).find("[data-dt-idx="+x+"]").trigger("focus")}}}),h.extend(N.ext.type.detect,[function(e,t){var n=t.oLanguage.sDecimal;return it(e,n)?"num"+n:null},function(e,t){if(e&&!(e instanceof Date)&&!be.test(e))return null;var n=Date.parse(e);return n!==null&&!isNaN(n)||z(e)?"date":null},function(e,t){var n=t.oLanguage.sDecimal;return it(e,n,!0)?"num-fmt"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return o(e,n)?"html-num"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return o(e,n,!0)?"html-num-fmt"+n:null},function(e,t){return z(e)||typeof e=="string"&&e.indexOf("<")!==-1?"html":null}]),h.extend(N.ext.type.search,{html:function(e){return z(e)?e:typeof e=="string"?e.replace(me," ").replace(ut,""):""},string:function(e){return z(e)?e:typeof e=="string"?e.replace(me," "):e}});var Ir=function(e,t,n,a){return e!==0&&(!e||e==="-")?-1/0:(t&&(e=It(e,t)),e.replace&&(n&&(e=e.replace(n,"")),a&&(e=e.replace(a,""))),e*1)};function Zr(e){h.each({num:function(t){return Ir(t,e)},"num-fmt":function(t){return Ir(t,e,ht)},"html-num":function(t){return Ir(t,e,ut)},"html-num-fmt":function(t){return Ir(t,e,ut,ht)}},function(t,n){ge.type.order[t+e+"-pre"]=n,t.match(/^html\-/)&&(ge.type.search[t+e]=ge.type.search.html)})}h.extend(ge.type.order,{"date-pre":function(e){var t=Date.parse(e);return isNaN(t)?-1/0:t},"html-pre":function(e){return z(e)?"":e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+""},"string-pre":function(e){return z(e)?"":typeof e=="string"?e.toLowerCase():e.toString?e.toString():""},"string-asc":function(e,t){return e<t?-1:e>t?1:0},"string-desc":function(e,t){return e<t?1:e>t?-1:0}}),Zr(""),h.extend(!0,N.ext.renderer,{header:{_:function(e,t,n,a){h(e.nTable).on("order.dt.DT",function(u,l,f,c){if(e===l){var d=n.idx;t.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass(c[d]=="asc"?a.sSortAsc:c[d]=="desc"?a.sSortDesc:n.sSortingClass)}})},jqueryui:function(e,t,n,a){h("<div/>").addClass(a.sSortJUIWrapper).append(t.contents()).append(h("<span/>").addClass(a.sSortIcon+" "+n.sSortingClassJUI)).appendTo(t),h(e.nTable).on("order.dt.DT",function(u,l,f,c){if(e===l){var d=n.idx;t.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass(c[d]=="asc"?a.sSortAsc:c[d]=="desc"?a.sSortDesc:n.sSortingClass),t.find("span."+a.sSortIcon).removeClass(a.sSortJUIAsc+" "+a.sSortJUIDesc+" "+a.sSortJUI+" "+a.sSortJUIAscAllowed+" "+a.sSortJUIDescAllowed).addClass(c[d]=="asc"?a.sSortJUIAsc:c[d]=="desc"?a.sSortJUIDesc:n.sSortingClassJUI)}})}}});var kr=function(e){return Array.isArray(e)&&(e=e.join(",")),typeof e=="string"?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):e};function Qt(e,t,n,a,u){return X.moment?e[t](u):X.luxon?e[n](u):a?e[a](u):e}var $r=!1;function Zt(e,t,n){var a;if(X.moment){if(a=X.moment.utc(e,t,n,!0),!a.isValid())return null}else if(X.luxon){if(a=t?X.luxon.DateTime.fromFormat(e,t):X.luxon.DateTime.fromISO(e),!a.isValid)return null;a.setLocale(n)}else t?($r||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),$r=!0):a=new Date(e);return a}function en(e){return function(t,n,a,u){arguments.length===0?(a="en",n=null,t=null):arguments.length===1?(a="en",n=t,t=null):arguments.length===2&&(a=n,n=t,t=null);var l="datetime-"+n;return N.ext.type.order[l]||(N.ext.type.detect.unshift(function(f){return f===l?l:!1}),N.ext.type.order[l+"-asc"]=function(f,c){var d=f.valueOf(),p=c.valueOf();return d===p?0:d<p?-1:1},N.ext.type.order[l+"-desc"]=function(f,c){var d=f.valueOf(),p=c.valueOf();return d===p?0:d>p?-1:1}),function(f,c){if(f===null||f===T)if(u==="--now"){var d=new Date;f=new Date(Date.UTC(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds()))}else f="";if(c==="type")return l;if(f==="")return c!=="sort"?"":Zt("0000-01-01 00:00:00",null,a);if(n!==null&&t===n&&c!=="sort"&&c!=="type"&&!(f instanceof Date))return f;var p=Zt(f,t,a);if(p===null)return f;if(c==="sort")return p;var v=n===null?Qt(p,"toDate","toJSDate","")[e]():Qt(p,"format","toFormat","toISOString",n);return c==="display"?kr(v):v}}}var xn=",",Cn=".";if(Intl)try{for(var r=new Intl.NumberFormat().formatToParts(100000.1),i=0;i<r.length;i++)r[i].type==="group"?xn=r[i].value:r[i].type==="decimal"&&(Cn=r[i].value)}catch{}N.datetime=function(e,t){var n="datetime-detect-"+e;t||(t="en"),N.ext.type.order[n]||(N.ext.type.detect.unshift(function(a){var u=Zt(a,e,t);return a===""||u?n:!1}),N.ext.type.order[n+"-pre"]=function(a){return Zt(a,e,t)||0})},N.render={date:en("toLocaleDateString"),datetime:en("toLocaleString"),time:en("toLocaleTimeString"),number:function(e,t,n,a,u){return(e===null||e===T)&&(e=xn),(t===null||t===T)&&(t=Cn),{display:function(l){if(typeof l!="number"&&typeof l!="string"||l===""||l===null)return l;var f=l<0?"-":"",c=parseFloat(l);if(isNaN(c))return kr(l);c=c.toFixed(n),l=Math.abs(c);var d=parseInt(l,10),p=n?t+(l-d).toFixed(n).substring(2):"";return d===0&&parseFloat(p)===0&&(f=""),f+(a||"")+d.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e)+p+(u||"")}}},text:function(){return{display:kr,filter:kr}}};function s(e){return function(){var t=[Dr(this[N.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return N.ext.internal[e].apply(this,t)}}return h.extend(N.ext.internal,{_fnExternApiFunc:s,_fnBuildAjax:br,_fnAjaxUpdate:jr,_fnAjaxParameters:Hr,_fnAjaxUpdateDraw:jt,_fnAjaxDataSrc:Ct,_fnAddColumn:ve,_fnColumnOptions:He,_fnAdjustColumnSizing:ft,_fnVisibleToColumnIndex:Fe,_fnColumnIndexToVisible:fe,_fnVisbleColumns:ae,_fnGetColumns:Ce,_fnColumnTypes:je,_fnApplyColumnDefs:ct,_fnHungarianMap:he,_fnCamelToHungarian:K,_fnLanguageCompat:W,_fnBrowserDetect:Ie,_fnAddData:Oe,_fnAddTr:kt,_fnNodeToDataIndex:er,_fnNodeToColumnIndex:te,_fnGetCellData:Te,_fnSetCellData:on,_fnSplitObjNotation:hr,_fnGetObjectDataFn:Ft,_fnSetObjectDataFn:pt,_fnGetDataMaster:bt,_fnClearTable:_t,_fnDeleteIndex:Dt,_fnInvalidate:rr,_fnGetRowElements:Jt,_fnCreateTr:pr,_fnBuildHead:ln,_fnDrawHead:xt,_fnDraw:vt,_fnReDraw:Et,_fnAddOptionsHtml:Er,_fnDetectHeader:Ke,_fnGetUniqueThs:We,_fnFeatureHtmlFilter:sn,_fnFilterComplete:nr,_fnFilterCustom:gr,_fnFilterColumn:ar,_fnFilter:un,_fnFilterCreateSearch:Pr,_fnEscapeRegex:Rr,_fnFilterData:fn,_fnFeatureHtmlInfo:Ht,_fnUpdateInfo:qr,_fnInfoMacros:yr,_fnInitialise:Pt,_fnInitComplete:Rt,_fnLengthChange:mr,_fnFeatureHtmlLength:dn,_fnFeatureHtmlPaginate:Mr,_fnPageChange:_r,_fnFeatureHtmlProcessing:Gt,_fnProcessingDisplay:ot,_fnFeatureHtmlTable:Br,_fnScrollDraw:or,_fnApplyToChildren:gt,_fnCalculateColumnWidths:lr,_fnThrottle:Wr,_fnConvertToWidth:hn,_fnGetWidestNode:Ur,_fnGetMaxLenString:Vr,_fnStringToCss:ke,_fnSortFlatten:Ot,_fnSort:et,_fnSortAria:qt,_fnSortListener:Kt,_fnSortAttachListener:Xr,_fnSortingClasses:xr,_fnSortData:Cr,_fnSaveState:Yt,_fnLoadState:sr,_fnImplementState:Tr,_fnSettingsFromNode:Dr,_fnLog:wt,_fnMap:Re,_fnBindAction:Mt,_fnCallbackReg:tt,_fnCallbackFire:xe,_fnLengthOverflow:St,_fnRenderer:At,_fnDataSource:Be,_fnRowAttributes:vr,_fnExtend:wr,_fnCalculateEnd:function(){}}),h.fn.dataTable=N,N.$=h,h.fn.dataTableSettings=N.settings,h.fn.dataTableExt=N.ext,h.fn.DataTable=function(e){return h(this).dataTable(e).api()},h.each(N,function(e,t){h.fn.DataTable[e]=t}),N})}(Mn)),Mn.exports}/*! DataTables styling integration
 * ©2018 SpryMedia Ltd - datatables.net/license
 */(function(dt,G){(function(h){dt.exports=function(X,ee){return X||(X=window),(!ee||!ee.fn.dataTable)&&(ee=Vn()(X,ee).$),h(ee,X,X.document)}})(function(h,X,ee,T){return h.fn.dataTable})})(Un);const wa=Un.exports;var ta={exports:{}},Wn={exports:{}};/*! Buttons for DataTables 2.2.3
 * ©2016-2022 SpryMedia Ltd - datatables.net/license
 */var ea;function _a(){return ea||(ea=1,function(dt,G){(function(h){dt.exports=function(X,ee){return X||(X=window),(!ee||!ee.fn.dataTable)&&(ee=Vn()(X,ee).$),h(ee,X,X.document)}})(function(h,X,ee,T){var N=h.fn.dataTable,ge=0,ue=0,J=N.ext.buttons;function ye(g,o,C){h.fn.animate?g.stop().fadeIn(o,C):(g.css("display","block"),C&&C.call(g))}function Ge(g,o,C){h.fn.animate?g.stop().fadeOut(o,C):(g.css("display","none"),C&&C.call(g))}var me=function(g,o){if(!(this instanceof me))return function(C){return new me(C,g).container()};typeof o>"u"&&(o={}),o===!0&&(o={}),Array.isArray(o)&&(o={buttons:o}),this.c=h.extend(!0,{},me.defaults,o),o.buttons&&(this.c.buttons=o.buttons),this.s={dt:new N.Api(g),buttons:[],listenKeys:"",namespace:"dtb"+ge++},this.dom={container:h("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};h.extend(me.prototype,{action:function(g,o){var C=this._nodeToButton(g);return o===T?C.conf.action:(C.conf.action=o,this)},active:function(g,o){var C=this._nodeToButton(g),L=this.c.dom.button.active,E=h(C.node);return o===T?E.hasClass(L):(E.toggleClass(L,o===T?!0:o),this)},add:function(g,o,C){var L=this.s.buttons;if(typeof o=="string"){for(var E=o.split("-"),P=this.s,U=0,M=E.length-1;U<M;U++)P=P.buttons[E[U]*1];L=P.buttons,o=E[E.length-1]*1}return this._expandButton(L,g,g!==T?g.split:T,(g===T||g.split===T||g.split.length===0)&&P!==T,!1,o),(C===T||C===!0)&&this._draw(),this},collectionRebuild:function(g,o){var C=this._nodeToButton(g);if(o!==T){var L;for(L=C.buttons.length-1;L>=0;L--)this.remove(C.buttons[L].node);for(L=0;L<o.length;L++){var E=o[L];this._expandButton(C.buttons,E,E!==T&&E.config!==T&&E.config.split!==T,!0,E.parentConf!==T&&E.parentConf.split!==T,L,E.parentConf)}}this._draw(C.collection,C.buttons)},container:function(){return this.dom.container},disable:function(g){var o=this._nodeToButton(g);return h(o.node).addClass(this.c.dom.button.disabled).attr("disabled",!0),this},destroy:function(){h("body").off("keyup."+this.s.namespace);var g=this.s.buttons.slice(),o,C;for(o=0,C=g.length;o<C;o++)this.remove(g[o].node);this.dom.container.remove();var L=this.s.dt.settings()[0];for(o=0,C=L.length;o<C;o++)if(L.inst===this){L.splice(o,1);break}return this},enable:function(g,o){if(o===!1)return this.disable(g);var C=this._nodeToButton(g);return h(C.node).removeClass(this.c.dom.button.disabled).removeAttr("disabled"),this},index:function(g,o,C){o||(o="",C=this.s.buttons);for(var L=0,E=C.length;L<E;L++){var P=C[L].buttons;if(C[L].node===g)return o+L;if(P&&P.length){var U=this.index(g,L+"-",P);if(U!==null)return U}}return null},name:function(){return this.c.name},node:function(g){if(!g)return this.dom.container;var o=this._nodeToButton(g);return h(o.node)},processing:function(g,o){var C=this.s.dt,L=this._nodeToButton(g);return o===T?h(L.node).hasClass("processing"):(h(L.node).toggleClass("processing",o),h(C.table().node()).triggerHandler("buttons-processing.dt",[o,C.button(g),C,h(g),L.conf]),this)},remove:function(g){var o=this._nodeToButton(g),C=this._nodeToHost(g),L=this.s.dt;if(o.buttons.length)for(var E=o.buttons.length-1;E>=0;E--)this.remove(o.buttons[E].node);o.conf.destroying=!0,o.conf.destroy&&o.conf.destroy.call(L.button(g),L,h(g),o.conf),this._removeKey(o.conf),h(o.node).remove();var P=h.inArray(o,C);return C.splice(P,1),this},text:function(g,o){var C=this._nodeToButton(g),L=this.c.dom.collection.buttonLiner,E=C.inCollection&&L&&L.tag?L.tag:this.c.dom.buttonLiner.tag,P=this.s.dt,U=h(C.node),M=function(R){return typeof R=="function"?R(P,U,C.conf):R};return o===T?M(C.conf.text):(C.conf.text=o,E?U.children(E).eq(0).filter(":not(.dt-down-arrow)").html(M(o)):U.html(M(o)),this)},_constructor:function(){var g=this,o=this.s.dt,C=o.settings()[0],L=this.c.buttons;C._buttons||(C._buttons=[]),C._buttons.push({inst:this,name:this.c.name});for(var E=0,P=L.length;E<P;E++)this.add(L[E]);o.on("destroy",function(U,M){M===C&&g.destroy()}),h("body").on("keyup."+this.s.namespace,function(U){if(!ee.activeElement||ee.activeElement===ee.body){var M=String.fromCharCode(U.keyCode).toLowerCase();g.s.listenKeys.toLowerCase().indexOf(M)!==-1&&g._keypress(M,U)}})},_addKey:function(g){g.key&&(this.s.listenKeys+=h.isPlainObject(g.key)?g.key.key:g.key)},_draw:function(g,o){g||(g=this.dom.container,o=this.s.buttons),g.children().detach();for(var C=0,L=o.length;C<L;C++)g.append(o[C].inserter),g.append(" "),o[C].buttons&&o[C].buttons.length&&this._draw(o[C].collection,o[C].buttons)},_expandButton:function(g,o,C,L,E,P,U){var M=this.s.dt,R=!1,Q=Array.isArray(o)?o:[o];o===T&&(Q=Array.isArray(C)?C:[C]),o!==T&&o.split!==T&&(R=!0);for(var Y=0,he=Q.length;Y<he;Y++){var K=this._resolveExtends(Q[Y]);if(!!K){if(K.config!==T&&K.config.split?R=!0:R=!1,Array.isArray(K)){this._expandButton(g,K,W!==T&&W.conf!==T?W.conf.split:T,L,U!==T&&U.split!==T,P,U);continue}var W=this._buildButton(K,L,K.split!==T||K.config!==T&&K.config.split!==T,E);if(!!W){if(P!==T&&P!==null?(g.splice(P,0,W),P++):g.push(W),W.conf.buttons||W.conf.split){if(W.collection=h("<"+(R?this.c.dom.splitCollection.tag:this.c.dom.collection.tag)+"/>"),W.conf._collection=W.collection,W.conf.split)for(var de=0;de<W.conf.split.length;de++)typeof W.conf.split[de]=="object"&&(W.conf.split[de].parent=U,W.conf.split[de].collectionLayout===T&&(W.conf.split[de].collectionLayout=W.conf.collectionLayout),W.conf.split[de].dropup===T&&(W.conf.split[de].dropup=W.conf.dropup),W.conf.split[de].fade===T&&(W.conf.split[de].fade=W.conf.fade));else h(W.node).append(h('<span class="dt-down-arrow">'+this.c.dom.splitDropdown.text+"</span>"));this._expandButton(W.buttons,W.conf.buttons,W.conf.split,!R,R,P,W.conf)}W.conf.parent=U,K.init&&K.init.call(M.button(W.node),M,h(W.node),K)}}}},_buildButton:function(g,o,C,L){var E=this.c.dom.button,P=this.c.dom.buttonLiner,U=this.c.dom.collection;this.c.dom.split;var M=this.c.dom.splitCollection,R=this.c.dom.splitDropdownButton,Q=this.s.dt,Y=function(fe){return typeof fe=="function"?fe(Q,K,g):fe};if(g.spacer){var he=h("<span></span>").addClass("dt-button-spacer "+g.style+" "+E.spacerClass).html(Y(g.text));return{conf:g,node:he,inserter:he,buttons:[],inCollection:o,isSplit:C,inSplit:L,collection:null}}if(!C&&L&&M?E=R:!C&&o&&U.button&&(E=U.button),!C&&L&&M.buttonLiner?P=M.buttonLiner:!C&&o&&U.buttonLiner&&(P=U.buttonLiner),g.available&&!g.available(Q,g)&&!g.hasOwnProperty("html"))return!1;var K;if(g.hasOwnProperty("html"))K=h(g.html);else{var W=function(fe,ae,Ce,je){je.action.call(ae.button(Ce),fe,ae,Ce,je),h(ae.table().node()).triggerHandler("buttons-action.dt",[ae.button(Ce),ae,Ce,je])},de=g.tag||E.tag,$e=g.clickBlurs===T?!0:g.clickBlurs;if(K=h("<"+de+"/>").addClass(E.className).addClass(L?this.c.dom.splitDropdownButton.className:"").attr("tabindex",this.s.dt.settings()[0].iTabIndex).attr("aria-controls",this.s.dt.table().node().id).on("click.dtb",function(fe){fe.preventDefault(),!K.hasClass(E.disabled)&&g.action&&W(fe,Q,K,g),$e&&K.trigger("blur")}).on("keypress.dtb",function(fe){fe.keyCode===13&&(fe.preventDefault(),!K.hasClass(E.disabled)&&g.action&&W(fe,Q,K,g))}),de.toLowerCase()==="a"&&K.attr("href","#"),de.toLowerCase()==="button"&&K.attr("type","button"),P.tag){var Se=h("<"+P.tag+"/>").html(Y(g.text)).addClass(P.className);P.tag.toLowerCase()==="a"&&Se.attr("href","#"),K.append(Se)}else K.html(Y(g.text));g.enabled===!1&&K.addClass(E.disabled),g.className&&K.addClass(g.className),g.titleAttr&&K.attr("title",Y(g.titleAttr)),g.attr&&K.attr(g.attr),g.namespace||(g.namespace=".dt-button-"+ue++),g.config!==T&&g.config.split&&(g.split=g.config.split)}var Ie=this.c.dom.buttonContainer,Ee;Ie&&Ie.tag?Ee=h("<"+Ie.tag+"/>").addClass(Ie.className).append(K):Ee=K,this._addKey(g),this.c.buttonCreated&&(Ee=this.c.buttonCreated(g,Ee));var ve;if(C){ve=h("<div/>").addClass(this.c.dom.splitWrapper.className),ve.append(K);var He=h.extend(g,{text:this.c.dom.splitDropdown.text,className:this.c.dom.splitDropdown.className,closeButton:!1,attr:{"aria-haspopup":"dialog","aria-expanded":!1},align:this.c.dom.splitDropdown.align,splitAlignClass:this.c.dom.splitDropdown.splitAlignClass});this._addKey(He);var ft=function(fe,ae,Ce,je){J.split.action.call(ae.button(h("div.dt-btn-split-wrapper")[0]),fe,ae,Ce,je),h(ae.table().node()).triggerHandler("buttons-action.dt",[ae.button(Ce),ae,Ce,je]),Ce.attr("aria-expanded",!0)},Fe=h('<button class="'+this.c.dom.splitDropdown.className+' dt-button"><span class="dt-btn-split-drop-arrow">'+this.c.dom.splitDropdown.text+"</span></button>").on("click.dtb",function(fe){fe.preventDefault(),fe.stopPropagation(),Fe.hasClass(E.disabled)||ft(fe,Q,Fe,He),$e&&Fe.trigger("blur")}).on("keypress.dtb",function(fe){fe.keyCode===13&&(fe.preventDefault(),Fe.hasClass(E.disabled)||ft(fe,Q,Fe,He))});g.split.length===0&&Fe.addClass("dtb-hide-drop"),ve.append(Fe).attr(He.attr)}return{conf:g,node:C?ve.get(0):K.get(0),inserter:C?ve:Ee,buttons:[],inCollection:o,isSplit:C,inSplit:L,collection:null}},_nodeToButton:function(g,o){o||(o=this.s.buttons);for(var C=0,L=o.length;C<L;C++){if(o[C].node===g)return o[C];if(o[C].buttons.length){var E=this._nodeToButton(g,o[C].buttons);if(E)return E}}},_nodeToHost:function(g,o){o||(o=this.s.buttons);for(var C=0,L=o.length;C<L;C++){if(o[C].node===g)return o;if(o[C].buttons.length){var E=this._nodeToHost(g,o[C].buttons);if(E)return E}}},_keypress:function(g,o){if(!o._buttonsHandled){var C=function(E,P){if(!!E.key){if(E.key===g)o._buttonsHandled=!0,h(P).click();else if(h.isPlainObject(E.key)){if(E.key.key!==g||E.key.shiftKey&&!o.shiftKey||E.key.altKey&&!o.altKey||E.key.ctrlKey&&!o.ctrlKey||E.key.metaKey&&!o.metaKey)return;o._buttonsHandled=!0,h(P).click()}}},L=function(E){for(var P=0,U=E.length;P<U;P++)C(E[P].conf,E[P].node),E[P].buttons.length&&L(E[P].buttons)};L(this.s.buttons)}},_removeKey:function(g){if(g.key){var o=h.isPlainObject(g.key)?g.key.key:g.key,C=this.s.listenKeys.split(""),L=h.inArray(o,C);C.splice(L,1),this.s.listenKeys=C.join("")}},_resolveExtends:function(g){var o=this,C=this.s.dt,L,E,P=function(Y){for(var he=0;!h.isPlainObject(Y)&&!Array.isArray(Y);){if(Y===T)return;if(typeof Y=="function"){if(Y=Y.call(o,C,g),!Y)return!1}else if(typeof Y=="string"){if(!J[Y])return{html:Y};Y=J[Y]}if(he++,he>30)throw"Buttons: Too many iterations"}return Array.isArray(Y)?Y:h.extend({},Y)};for(g=P(g);g&&g.extend;){if(!J[g.extend])throw"Cannot extend unknown button type: "+g.extend;var U=P(J[g.extend]);if(Array.isArray(U))return U;if(!U)return!1;var M=U.className;g.config!==T&&U.config!==T&&(g.config=h.extend({},U.config,g.config)),g=h.extend({},U,g),M&&g.className!==M&&(g.className=M+" "+g.className);var R=g.postfixButtons;if(R){for(g.buttons||(g.buttons=[]),L=0,E=R.length;L<E;L++)g.buttons.push(R[L]);g.postfixButtons=null}var Q=g.prefixButtons;if(Q){for(g.buttons||(g.buttons=[]),L=0,E=Q.length;L<E;L++)g.buttons.splice(L,0,Q[L]);g.prefixButtons=null}g.extend=U.extend}return g},_popover:function(g,o,C,L){var E=o,P=this.c,U=!1,M=h.extend({align:"button-left",autoClose:!1,background:!0,backgroundClassName:"dt-button-background",closeButton:!0,contentClassName:P.dom.collection.className,collectionLayout:"",collectionTitle:"",dropup:!1,fade:400,popoverTitle:"",rightAlignClassName:"dt-button-right",tag:P.dom.collection.tag},C),R=o.node(),Q=function(){U=!0,Ge(h(".dt-button-collection"),M.fade,function(){h(this).detach()}),h(E.buttons('[aria-haspopup="dialog"][aria-expanded="true"]').nodes()).attr("aria-expanded","false"),h("div.dt-button-background").off("click.dtb-collection"),me.background(!1,M.backgroundClassName,M.fade,R),h(X).off("resize.resize.dtb-collection"),h("body").off(".dtb-collection"),E.off("buttons-action.b-internal"),E.off("destroy")};if(g===!1){Q();return}var Y=h(E.buttons('[aria-haspopup="dialog"][aria-expanded="true"]').nodes());Y.length&&(R.closest("div.dt-button-collection").length&&(R=Y.eq(0)),Q());var he=h(".dt-button",g).length,K="";he===3?K="dtb-b3":he===2?K="dtb-b2":he===1&&(K="dtb-b1");var W=h("<div/>").addClass("dt-button-collection").addClass(M.collectionLayout).addClass(M.splitAlignClass).addClass(K).css("display","none").attr({"aria-modal":!0,role:"dialog"});g=h(g).addClass(M.contentClassName).attr("role","menu").appendTo(W),R.attr("aria-expanded","true"),R.parents("body")[0]!==ee.body&&(R=ee.body.lastChild),M.popoverTitle?W.prepend('<div class="dt-button-collection-title">'+M.popoverTitle+"</div>"):M.collectionTitle&&W.prepend('<div class="dt-button-collection-title">'+M.collectionTitle+"</div>"),M.closeButton&&W.prepend('<div class="dtb-popover-close">x</div>').addClass("dtb-collection-closeable"),ye(W.insertAfter(R),M.fade);var de=h(o.table().container()),$e=W.css("position");if((M.span==="container"||M.align==="dt-container")&&(R=R.parent(),W.css("width",de.width())),$e==="absolute"){var Se=h(R[0].offsetParent),Ie=R.position(),Ee=R.offset(),ve=Se.offset(),He=Se.position(),ft=X.getComputedStyle(Se[0]);ve.height=Se.outerHeight(),ve.width=Se.width()+parseFloat(ft.paddingLeft),ve.right=ve.left+ve.width,ve.bottom=ve.top+ve.height;var Fe=Ie.top+R.outerHeight(),fe=Ie.left;W.css({top:Fe,left:fe}),ft=X.getComputedStyle(W[0]);var ae=W.offset();ae.height=W.outerHeight(),ae.width=W.outerWidth(),ae.right=ae.left+ae.width,ae.bottom=ae.top+ae.height,ae.marginTop=parseFloat(ft.marginTop),ae.marginBottom=parseFloat(ft.marginBottom),M.dropup&&(Fe=Ie.top-ae.height-ae.marginTop-ae.marginBottom),(M.align==="button-right"||W.hasClass(M.rightAlignClassName))&&(fe=Ie.left-ae.width+R.outerWidth()),(M.align==="dt-container"||M.align==="container")&&(fe<Ie.left&&(fe=-Ie.left),fe+ae.width>ve.width&&(fe=ve.width-ae.width)),He.left+fe+ae.width>h(X).width()&&(fe=h(X).width()-ae.width-He.left),Ee.left+fe<0&&(fe=-Ee.left),He.top+Fe+ae.height>h(X).height()+h(X).scrollTop()&&(Fe=Ie.top-ae.height-ae.marginTop-ae.marginBottom),He.top+Fe<h(X).scrollTop()&&(Fe=Ie.top+R.outerHeight()),W.css({top:Fe,left:fe})}else{var $e=function(){var je=h(X).height()/2,ct=W.height()/2;ct>je&&(ct=je),W.css("marginTop",ct*-1)};$e(),h(X).on("resize.dtb-collection",function(){$e()})}M.background&&me.background(!0,M.backgroundClassName,M.fade,M.backgroundHost||R),h("div.dt-button-background").on("click.dtb-collection",function(){}),M.autoClose&&setTimeout(function(){E.on("buttons-action.b-internal",function(Ce,je,ct,Oe){Oe[0]!==R[0]&&Q()})},0),h(W).trigger("buttons-popover.dt"),E.on("destroy",Q),setTimeout(function(){U=!1,h("body").on("click.dtb-collection",function(Ce){if(!U){var je=h.fn.addBack?"addBack":"andSelf",ct=h(Ce.target).parent()[0];(!h(Ce.target).parents()[je]().filter(g).length&&!h(ct).hasClass("dt-buttons")||h(Ce.target).hasClass("dt-button-background"))&&Q()}}).on("keyup.dtb-collection",function(Ce){Ce.keyCode===27&&Q()}).on("keydown.dtb-collection",function(Ce){var je=h("a, button",g),ct=ee.activeElement;Ce.keyCode===9&&(je.index(ct)===-1?(je.first().focus(),Ce.preventDefault()):Ce.shiftKey?ct===je[0]&&(je.last().focus(),Ce.preventDefault()):ct===je.last()[0]&&(je.first().focus(),Ce.preventDefault()))})},0)}}),me.background=function(g,o,C,L){C===T&&(C=400),L||(L=ee.body),g?ye(h("<div/>").addClass(o).css("display","none").insertAfter(L),C):Ge(h("div."+o),C,function(){h(this).removeClass(o).remove()})},me.instanceSelector=function(g,o){if(g===T||g===null)return h.map(o,function(P){return P.inst});var C=[],L=h.map(o,function(P){return P.name}),E=function(P){if(Array.isArray(P)){for(var U=0,M=P.length;U<M;U++)E(P[U]);return}if(typeof P=="string")if(P.indexOf(",")!==-1)E(P.split(","));else{var R=h.inArray(P.trim(),L);R!==-1&&C.push(o[R].inst)}else typeof P=="number"?C.push(o[P].inst):typeof P=="object"&&C.push(P)};return E(g),C},me.buttonSelector=function(g,o){for(var C=[],L=function(R,Q,Y){for(var he,K,W=0,de=Q.length;W<de;W++)he=Q[W],he&&(K=Y!==T?Y+W:W+"",R.push({node:he.node,name:he.conf.name,idx:K}),he.buttons&&L(R,he.buttons,K+"-"))},E=function(R,Q){var Y,he,K=[];L(K,Q.s.buttons);var W=h.map(K,function(Ee){return Ee.node});if(Array.isArray(R)||R instanceof h){for(Y=0,he=R.length;Y<he;Y++)E(R[Y],Q);return}if(R===null||R===T||R==="*")for(Y=0,he=K.length;Y<he;Y++)C.push({inst:Q,node:K[Y].node});else if(typeof R=="number")Q.s.buttons[R]&&C.push({inst:Q,node:Q.s.buttons[R].node});else if(typeof R=="string")if(R.indexOf(",")!==-1){var de=R.split(",");for(Y=0,he=de.length;Y<he;Y++)E(de[Y].trim(),Q)}else if(R.match(/^\d+(\-\d+)*$/)){var $e=h.map(K,function(Ee){return Ee.idx});C.push({inst:Q,node:K[h.inArray(R,$e)].node})}else if(R.indexOf(":name")!==-1){var Se=R.replace(":name","");for(Y=0,he=K.length;Y<he;Y++)K[Y].name===Se&&C.push({inst:Q,node:K[Y].node})}else h(W).filter(R).each(function(){C.push({inst:Q,node:this})});else if(typeof R=="object"&&R.nodeName){var Ie=h.inArray(R,W);Ie!==-1&&C.push({inst:Q,node:W[Ie]})}},P=0,U=g.length;P<U;P++){var M=g[P];E(o,M)}return C},me.stripData=function(g,o){return typeof g!="string"||(g=g.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,""),g=g.replace(/<!\-\-.*?\-\->/g,""),(!o||o.stripHtml)&&(g=g.replace(/<[^>]*>/g,"")),(!o||o.trim)&&(g=g.replace(/^\s+|\s+$/g,"")),(!o||o.stripNewlines)&&(g=g.replace(/\n/g," ")),(!o||o.decodeEntities)&&(at.innerHTML=g,g=at.value)),g},me.defaults={buttons:["copy","excel","csv","pdf","print"],name:"main",tabIndex:0,dom:{container:{tag:"div",className:"dt-buttons"},collection:{tag:"div",className:""},button:{tag:"button",className:"dt-button",active:"active",disabled:"disabled",spacerClass:""},buttonLiner:{tag:"span",className:""},split:{tag:"div",className:"dt-button-split"},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper"},splitDropdown:{tag:"button",text:"&#x25BC;",className:"dt-btn-split-drop",align:"split-right",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button dt-button"},splitCollection:{tag:"div",className:"dt-button-split-collection"}}},me.version="2.2.3",h.extend(J,{collection:{text:function(g){return g.i18n("buttons.collection","Collection")},className:"buttons-collection",closeButton:!1,init:function(g,o,C){o.attr("aria-expanded",!1)},action:function(g,o,C,L){L._collection.parents("body").length?this.popover(!1,L):this.popover(L._collection,L),g.type==="keypress"&&h("a, button",L._collection).eq(0).focus()},attr:{"aria-haspopup":"dialog"}},split:{text:function(g){return g.i18n("buttons.split","Split")},className:"buttons-split",closeButton:!1,init:function(g,o,C){return o.attr("aria-expanded",!1)},action:function(g,o,C,L){this.popover(L._collection,L)},attr:{"aria-haspopup":"dialog"}},copy:function(g,o){if(J.copyHtml5)return"copyHtml5"},csv:function(g,o){if(J.csvHtml5&&J.csvHtml5.available(g,o))return"csvHtml5"},excel:function(g,o){if(J.excelHtml5&&J.excelHtml5.available(g,o))return"excelHtml5"},pdf:function(g,o){if(J.pdfHtml5&&J.pdfHtml5.available(g,o))return"pdfHtml5"},pageLength:function(g){var o=g.settings()[0].aLengthMenu,C=[],L=[],E=function(M){return M.i18n("buttons.pageLength",{"-1":"Show all rows",_:"Show %d rows"},M.page.len())};if(Array.isArray(o[0]))C=o[0],L=o[1];else for(var P=0;P<o.length;P++){var U=o[P];h.isPlainObject(U)?(C.push(U.value),L.push(U.label)):(C.push(U),L.push(U))}return{extend:"collection",text:E,className:"buttons-page-length",autoClose:!0,buttons:h.map(C,function(M,R){return{text:L[R],className:"button-page-length",action:function(Q,Y){Y.page.len(M).draw()},init:function(Q,Y,he){var K=this,W=function(){K.active(Q.page.len()===M)};Q.on("length.dt"+he.namespace,W),W()},destroy:function(Q,Y,he){Q.off("length.dt"+he.namespace)}}}),init:function(M,R,Q){var Y=this;M.on("length.dt"+Q.namespace,function(){Y.text(Q.text)})},destroy:function(M,R,Q){M.off("length.dt"+Q.namespace)}}},spacer:{style:"empty",spacer:!0,text:function(g){return g.i18n("buttons.spacer","")}}}),N.Api.register("buttons()",function(g,o){o===T&&(o=g,g=T),this.selector.buttonGroup=g;var C=this.iterator(!0,"table",function(L){if(L._buttons)return me.buttonSelector(me.instanceSelector(g,L._buttons),o)},!0);return C._groupSelector=g,C}),N.Api.register("button()",function(g,o){var C=this.buttons(g,o);return C.length>1&&C.splice(1,C.length),C}),N.Api.registerPlural("buttons().active()","button().active()",function(g){return g===T?this.map(function(o){return o.inst.active(o.node)}):this.each(function(o){o.inst.active(o.node,g)})}),N.Api.registerPlural("buttons().action()","button().action()",function(g){return g===T?this.map(function(o){return o.inst.action(o.node)}):this.each(function(o){o.inst.action(o.node,g)})}),N.Api.registerPlural("buttons().collectionRebuild()","button().collectionRebuild()",function(g){return this.each(function(o){for(var C=0;C<g.length;C++)typeof g[C]=="object"&&(g[C].parentConf=o);o.inst.collectionRebuild(o.node,g)})}),N.Api.register(["buttons().enable()","button().enable()"],function(g){return this.each(function(o){o.inst.enable(o.node,g)})}),N.Api.register(["buttons().disable()","button().disable()"],function(){return this.each(function(g){g.inst.disable(g.node)})}),N.Api.register("button().index()",function(){var g=null;return this.each(function(o){var C=o.inst.index(o.node);C!==null&&(g=C)}),g}),N.Api.registerPlural("buttons().nodes()","button().node()",function(){var g=h();return h(this.each(function(o){g=g.add(o.inst.node(o.node))})),g}),N.Api.registerPlural("buttons().processing()","button().processing()",function(g){return g===T?this.map(function(o){return o.inst.processing(o.node)}):this.each(function(o){o.inst.processing(o.node,g)})}),N.Api.registerPlural("buttons().text()","button().text()",function(g){return g===T?this.map(function(o){return o.inst.text(o.node)}):this.each(function(o){o.inst.text(o.node,g)})}),N.Api.registerPlural("buttons().trigger()","button().trigger()",function(){return this.each(function(g){g.inst.node(g.node).trigger("click")})}),N.Api.register("button().popover()",function(g,o){return this.map(function(C){return C.inst._popover(g,this.button(this[0].node),o)})}),N.Api.register("buttons().containers()",function(){var g=h(),o=this._groupSelector;return this.iterator(!0,"table",function(C){if(C._buttons)for(var L=me.instanceSelector(o,C._buttons),E=0,P=L.length;E<P;E++)g=g.add(L[E].container())}),g}),N.Api.register("buttons().container()",function(){return this.containers().eq(0)}),N.Api.register("button().add()",function(g,o,C){var L=this.context;if(L.length){var E=me.instanceSelector(this._groupSelector,L[0]._buttons);E.length&&E[0].add(o,g,C)}return this.button(this._groupSelector,g)}),N.Api.register("buttons().destroy()",function(){return this.pluck("inst").unique().each(function(g){g.destroy()}),this}),N.Api.registerPlural("buttons().remove()","buttons().remove()",function(){return this.each(function(g){g.inst.remove(g.node)}),this});var ut;N.Api.register("buttons.info()",function(g,o,C){var L=this;return g===!1?(this.off("destroy.btn-info"),Ge(h("#datatables_buttons_info"),400,function(){h(this).remove()}),clearTimeout(ut),ut=null,this):(ut&&clearTimeout(ut),h("#datatables_buttons_info").length&&h("#datatables_buttons_info").remove(),g=g?"<h2>"+g+"</h2>":"",ye(h('<div id="datatables_buttons_info" class="dt-button-info"/>').html(g).append(h("<div/>")[typeof o=="string"?"html":"append"](o)).css("display","none").appendTo("body")),C!==T&&C!==0&&(ut=setTimeout(function(){L.buttons.info(!1)},C)),this.on("destroy.btn-info",function(){L.buttons.info(!1)}),this)}),N.Api.register("buttons.exportData()",function(g){if(this.context.length)return It(new N.Api(this.context[0]),g)}),N.Api.register("buttons.exportInfo()",function(g){return g||(g={}),{filename:be(g),title:ht(g),messageTop:z(this,g.message||g.messageTop,"top"),messageBottom:z(this,g.messageBottom,"bottom")}});var be=function(g){var o=g.filename==="*"&&g.title!=="*"&&g.title!==T&&g.title!==null&&g.title!==""?g.title:g.filename;if(typeof o=="function"&&(o=o()),o===T||o===null)return null;o.indexOf("*")!==-1&&(o=o.replace("*",h("head > title").text()).trim()),o=o.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,"");var C=ne(g.extension);return C||(C=""),o+C},ne=function(g){return g===null||g===T?null:typeof g=="function"?g():g},ht=function(g){var o=ne(g.title);return o===null?null:o.indexOf("*")!==-1?o.replace("*",h("head > title").text()||"Exported data"):o},z=function(g,o,C){var L=ne(o);if(L===null)return null;var E=h("caption",g.table().container()).eq(0);if(L==="*"){var P=E.css("caption-side");return P!==C?null:E.length?E.text():""}return L},at=h("<textarea/>")[0],It=function(g,o){var C=h.extend(!0,{},{rows:null,columns:"",modifier:{search:"applied",order:"applied"},orthogonal:"display",stripHtml:!0,stripNewlines:!0,decodeEntities:!0,trim:!0,format:{header:function(ve){return me.stripData(ve,C)},footer:function(ve){return me.stripData(ve,C)},body:function(ve){return me.stripData(ve,C)}},customizeData:null},o),L=g.columns(C.columns).indexes().map(function(ve){var He=g.column(ve).header();return C.format.header(He.innerHTML,ve,He)}).toArray(),E=g.table().footer()?g.columns(C.columns).indexes().map(function(ve){var He=g.column(ve).footer();return C.format.footer(He?He.innerHTML:"",ve,He)}).toArray():null,P=h.extend({},C.modifier);g.select&&typeof g.select.info=="function"&&P.selected===T&&g.rows(C.rows,h.extend({selected:!0},P)).any()&&h.extend(P,{selected:!0});for(var U=g.rows(C.rows,P).indexes().toArray(),M=g.cells(U,C.columns),R=M.render(C.orthogonal).toArray(),Q=M.nodes().toArray(),Y=L.length,he=Y>0?R.length/Y:0,K=[],W=0,de=0,$e=he;de<$e;de++){for(var Se=[Y],Ie=0;Ie<Y;Ie++)Se[Ie]=C.format.body(R[W],de,Ie,Q[W]),W++;K[de]=Se}var Ee={header:L,footer:E,body:K};return C.customizeData&&C.customizeData(Ee),Ee};h.fn.dataTable.Buttons=me,h.fn.DataTable.Buttons=me,h(ee).on("init.dt plugin-init.dt",function(g,o){if(g.namespace==="dt"){var C=o.oInit.buttons||N.defaults.buttons;C&&!o._buttons&&new me(o,C).container()}});function it(g,o){var C=new N.Api(g),L=o||C.init().buttons||N.defaults.buttons;return new me(C,L).container()}return N.ext.feature.push({fnInit:it,cFeature:"B"}),N.ext.features&&N.ext.features.register("buttons",it),me})}(Wn)),Wn.exports}/*! DataTables styling wrapper for Buttons
 * ©2018 SpryMedia Ltd - datatables.net/license
 */(function(dt,G){(function(h){dt.exports=function(X,ee){return X||(X=window),(!ee||!ee.fn.dataTable)&&(ee=Un.exports(X,ee).$),ee.fn.dataTable.Buttons||_a()(X,ee),h(ee,X,X.document)}})(function(h,X,ee,T){return h.fn.dataTable})})(ta);const Sa=ta.exports;var ra={exports:{}};/*! DataTables Bootstrap 4 integration
 * ©2011-2017 SpryMedia Ltd - datatables.net/license
 */(function(dt,G){(function(h){dt.exports=function(X,ee){return X||(X=window),(!ee||!ee.fn.dataTable)&&(ee=Vn()(X,ee).$),h(ee,X,X.document)}})(function(h,X,ee,T){var N=h.fn.dataTable;return h.extend(!0,N.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),h.extend(N.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),N.ext.renderer.pageButton.bootstrap=function(ge,ue,J,ye,Ge,me){var ut=new N.Api(ge),be=ge.oClasses,ne=ge.oLanguage.oPaginate,ht=ge.oLanguage.oAria.paginate||{},z,at,It=0,it=function(o,C){var L,E,P,U,M=function(R){R.preventDefault(),!h(R.currentTarget).hasClass("disabled")&&ut.page()!=R.data.action&&ut.page(R.data.action).draw("page")};for(L=0,E=C.length;L<E;L++)if(U=C[L],Array.isArray(U))it(o,U);else{switch(z="",at="",U){case"ellipsis":z="&#x2026;",at="disabled";break;case"first":z=ne.sFirst,at=U+(Ge>0?"":" disabled");break;case"previous":z=ne.sPrevious,at=U+(Ge>0?"":" disabled");break;case"next":z=ne.sNext,at=U+(Ge<me-1?"":" disabled");break;case"last":z=ne.sLast,at=U+(Ge<me-1?"":" disabled");break;default:z=U+1,at=Ge===U?"active":"";break}z&&(P=h("<li>",{class:be.sPageButton+" "+at,id:J===0&&typeof U=="string"?ge.sTableId+"_"+U:null}).append(h("<a>",{href:"#","aria-controls":ge.sTableId,"aria-label":ht[U],"data-dt-idx":It,tabindex:ge.iTabIndex,class:"page-link"}).html(z)).appendTo(o),ge.oApi._fnBindAction(P,{action:U},M),It++)}},g;try{g=h(ue).find(ee.activeElement).data("dt-idx")}catch{}it(h(ue).empty().html('<ul class="pagination"/>').children("ul"),ye),g!==T&&h(ue).find("[data-dt-idx="+g+"]").trigger("focus")},N})})(ra);const Aa=ra.exports;export{Da as E,Sa as a,Aa as b,wa as d};
