From 43a3a7ec4334624b9d296c2db2e033a0ad6775a1 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Sat, 27 Jun 2026 08:47:37 +0300 Subject: [PATCH] Issue #459-#460: Fixed asset building issues Signed-off-by: alexmerlin --- package.json | 5 +++-- public/js/admin.js | 12 +----------- public/js/app.js | 4 ++-- public/js/table_settings.js | 12 +----------- public/js/user.js | 12 +----------- webpack.config.js | 25 ++++++++++++++++++------- 6 files changed, 26 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index d908693..d8b2f47 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ "chart.js": "^4.5.1", "jquery": "^4.0.0", "jquery-migrate": "^4.0.2", + "jquery-sparkline": "^2.4.0", "lodash": "^4.18.1", - "moment": "^2.30.1", - "jquery-sparkline": "^2.4.0" + "moment": "^2.30.1" }, "devDependencies": { "@babel/core": "^7.24.7", @@ -50,6 +50,7 @@ "mini-css-extract-plugin": "^2.9.0", "sass": "^1.77.1", "sass-loader": "^14.2.1", + "terser-webpack-plugin": "^5.6.1", "webpack": "^5.92.1", "webpack-cli": "^5.1.4" }, diff --git a/public/js/admin.js b/public/js/admin.js index c048a3c..1cf96f4 100644 --- a/public/js/admin.js +++ b/public/js/admin.js @@ -1,11 +1 @@ -(()=>{var e={364(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},427(e,t,n){var r=n(305),o=n(364);o.$=r,o.jQuery=r,e.exports=r},305(e,t){var n; -/*! - * jQuery JavaScript Library v4.0.0 - * https://jquery.com/ - * - * Copyright OpenJS Foundation and other contributors - * Released under the MIT license - * https://jquery.com/license/ - * - * Date: 2026-01-18T00:20Z - */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=n(t,!0):n(t)}("undefined"!=typeof window?window:this,function(r,o){"use strict";if(!r.document)throw new Error("jQuery requires a window with a document");var i=[],a=Object.getPrototypeOf,s=i.slice,u=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,l=i.indexOf,f={},p=f.toString,d=f.hasOwnProperty,h=d.toString,g=h.call(Object),v={};function y(e){return null==e?e+"":"object"==typeof e?f[p.call(e)]||"object":typeof e}function m(e){return null!=e&&e===e.window}function x(e){var t=!!e&&e.length,n=y(e);return"function"!=typeof e&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var b=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function T(e,t,n){var r,o=(n=n||b).createElement("script");for(r in o.text=e,w)t&&t[r]&&(o[r]=t[r]);n.head.appendChild(o).parentNode&&o.parentNode.removeChild(o)}var C="4.0.0",j=/HTML$/i,E=function(e,t){return new E.fn.init(e,t)};function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}E.fn=E.prototype={jquery:C,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+D+")"+D+"*"),P=new RegExp(D+"|>"),H=/[+~]/,R=b.documentElement,M=R.matches||R.msMatchesSelector;function W(){var e=[];return function t(n,r){return e.push(n+" ")>E.expr.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function F(e){return e&&void 0!==e.getElementsByTagName&&e}var $="\\["+D+"*("+q+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+D+"*\\]",I=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",B={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i")},_=new RegExp(I),U=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))};function z(e){return e.replace(U,X)}function G(e){E.error("Syntax error, unrecognized expression: "+e)}var V=new RegExp("^"+D+"*,"+D+"*"),Y=W();function Q(e,t){var n,r,o,i,a,s,u,c=Y[e+" "];if(c)return t?0:c.slice(0);for(a=e,s=[],u=E.expr.preFilter;a;){for(i in n&&!(r=V.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(o=[])),n=!1,(r=L.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(N," ")}),a=a.slice(n.length)),B)!(r=E.expr.match[i].exec(a))||u[i]&&!(r=u[i](r))||(n=r.shift(),o.push({value:n,type:i,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?G(e):Y(e,s).slice(0)}var J={ATTR:function(e){return e[1]=z(e[1]),e[3]=z(e[3]||e[4]||e[5]||""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||G(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&G(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return B.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&_.test(n)&&(t=Q(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}};function K(e){for(var t=0,n=e.length,r="";t1)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?E.prop(e,t,n):(1===i&&E.isXMLDoc(e)||(o=E.attrHooks[t.toLowerCase()]),void 0!==n?null===n||!1===n&&0!==t.toLowerCase().indexOf("aria-")?void E.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=e.getAttribute(t))??void 0)},attrHooks:{},removeAttr:function(e,t){var n,r=0,o=t&&t.match(ee);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),A&&(E.attrHooks.type={set:function(e,t){if("radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}});var te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ne(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}E.escapeSelector=function(e){return(e+"").replace(te,ne)};var re,oe=i.sort,ie=i.splice;function ae(e,t){if(e===t)return re=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)?e==b||e.ownerDocument==b&&E.contains(b,e)?-1:t==b||t.ownerDocument==b&&E.contains(b,t)?1:0:4&n?-1:1)}E.uniqueSort=function(e){var t,n=[],r=0,o=0;if(re=!1,oe.call(e,ae),re){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)ie.call(e,n[r],1)}return e},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(s.apply(this)))};var se,ue,ce,le,fe,pe=0,de=0,he=W(),ge=W(),ve=W(),ye=new RegExp(D+"+","g"),me=new RegExp("^"+q+"$"),xe=E.extend({needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},B),be=/^(?:input|select|textarea|button)$/i,we=/^h\d$/i,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ce=function(){Ne()},je=Le(function(e){return!0===e.disabled&&k(e,"fieldset")},{dir:"parentNode",next:"legend"});function Ee(e,t,n,r){var o,i,a,s,u,l,f,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&(Ne(t),t=t||ce,fe)){if(11!==d&&(u=Te.exec(e)))if(o=u[1]){if(9===d)return(a=t.getElementById(o))&&c.call(n,a),n;if(p&&(a=p.getElementById(o))&&E.contains(t,a))return c.call(n,a),n}else{if(u[2])return c.apply(n,t.getElementsByTagName(e)),n;if((o=u[3])&&t.getElementsByClassName)return c.apply(n,t.getElementsByClassName(o)),n}if(!(ve[e+" "]||O&&O.test(e))){if(f=e,p=t,1===d&&(P.test(e)||L.test(e))){for(((p=H.test(e)&&F(t.parentNode)||t)!=t||A)&&((s=t.getAttribute("id"))?s=E.escapeSelector(s):t.setAttribute("id",s=E.expando)),i=(l=Q(e)).length;i--;)l[i]=(s?"#"+s:":scope")+" "+K(l[i]);f=l.join(",")}try{return c.apply(n,p.querySelectorAll(f)),n}catch(t){ve(e,!0)}finally{s===E.expando&&t.removeAttribute("id")}}}return Fe(e.replace(N,"$1"),t,n,r)}function ke(e){return e[E.expando]=!0,e}function Se(e){return function(t){return k(t,"input")&&t.type===e}}function De(e){return function(t){return(k(t,"input")||k(t,"button"))&&t.type===e}}function Ae(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&je(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function Oe(e){return ke(function(t){return t=+t,ke(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function Ne(e){var t,n=e?e.ownerDocument||e:b;n!=ce&&9===n.nodeType&&(le=(ce=n).documentElement,fe=!E.isXMLDoc(ce),A&&b!=ce&&(t=ce.defaultView)&&t.top!==t&&t.addEventListener("unload",Ce))}for(se in Ee.matches=function(e,t){return Ee(e,null,null,t)},Ee.matchesSelector=function(e,t){if(Ne(e),fe&&!ve[t+" "]&&(!O||!O.test(t)))try{return M.call(e,t)}catch(e){ve(t,!0)}return Ee(t,ce,null,[e]).length>0},E.expr={cacheLength:50,createPseudo:ke,match:xe,find:{ID:function(e,t){if(void 0!==t.getElementById&&fe){var n=t.getElementById(e);return n?[n]:[]}},TAG:function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},CLASS:function(e,t){if(void 0!==t.getElementsByClassName&&fe)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:J,filter:{ID:function(e){var t=z(e);return function(e){return e.getAttribute("id")===t}},TAG:function(e){var t=z(e).toLowerCase();return"*"===e?function(){return!0}:function(e){return k(e,t)}},CLASS:function(e){var t=he[e+" "];return t||(t=new RegExp("(^|"+D+")"+e+"("+D+"|$)"))&&he(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=E.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(ye," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,m=!1;if(g){if(i){for(;h;){for(f=t;f=f[h];)if(s?k(f,v):1===f.nodeType)return!1;d=h="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?g.firstChild:g.lastChild],a&&y){for(m=(p=(c=(l=g[E.expando]||(g[E.expando]={}))[e]||[])[0]===pe&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[h]||(m=p=0)||d.pop();)if(1===f.nodeType&&++m&&f===t){l[e]=[pe,p,m];break}}else if(y&&(m=p=(c=(l=t[E.expando]||(t[E.expando]={}))[e]||[])[0]===pe&&c[1]),!1===m)for(;(f=++p&&f&&f[h]||(m=p=0)||d.pop())&&(!(s?k(f,v):1===f.nodeType)||!++m||(y&&((l=f[E.expando]||(f[E.expando]={}))[e]=[pe,m]),f!==t)););return(m-=o)===r||m%r===0&&m/r>=0}}},PSEUDO:function(e,t){var n=E.expr.pseudos[e]||E.expr.setFilters[e.toLowerCase()]||G("unsupported pseudo: "+e);return n[E.expando]?n(t):n}},pseudos:{not:ke(function(e){var t=[],n=[],r=We(e.replace(N,"$1"));return r[E.expando]?ke(function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:ke(function(e){return function(t){return Ee(e,t).length>0}}),contains:ke(function(e){return e=z(e),function(t){return(t.textContent||E.text(t)).indexOf(e)>-1}}),lang:ke(function(e){return me.test(e||"")||G("unsupported lang: "+e),e=z(e).toLowerCase(),function(t){var n;do{if(n=fe?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===le},focus:function(e){return e===ce.activeElement&&ce.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Ae(!1),disabled:Ae(!0),checked:function(e){return k(e,"input")&&!!e.checked||k(e,"option")&&!!e.selected},selected:function(e){return A&&e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!E.expr.pseudos.empty(e)},header:function(e){return we.test(e.nodeName)},input:function(e){return be.test(e.nodeName)},button:function(e){return k(e,"input")&&"button"===e.type||k(e,"button")},text:function(e){return k(e,"input")&&"text"===e.type},first:Oe(function(){return[0]}),last:Oe(function(e,t){return[t-1]}),eq:Oe(function(e,t,n){return[n<0?n+t:n]}),even:Oe(function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e}),gt:Oe(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function He(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;s-1&&(i[f]=!(a[f]=d))}}else h=He(h===a?h.splice(y,h.length):h),o?o(null,a,h,u):c.apply(a,h)})}function Me(e){for(var t,n,r,o=e.length,i=E.expr.relative[e[0].type],a=i||E.expr.relative[" "],s=i?1:0,u=Le(function(e){return e===t},a,!0),c=Le(function(e){return l.call(t,e)>-1},a,!0),f=[function(e,n,r){var o=!i&&(r||n!=ue)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];s1&&Pe(f),s>1&&K(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(N,"$1"),n,s0,r=e.length>0,o=function(o,i,a,s,u){var l,f,p,d=0,h="0",g=o&&[],v=[],y=ue,m=o||r&&E.expr.find.TAG("*",u),x=pe+=null==y?1:Math.random()||.1;for(u&&(ue=i==ce||i||u);null!=(l=m[h]);h++){if(r&&l){for(f=0,i||l.ownerDocument==ce||(Ne(l),a=!fe);p=e[f++];)if(p(l,i||ce,a)){c.call(s,l);break}u&&(pe=x)}n&&((l=!p&&l)&&d--,o&&g.push(l))}if(d+=h,n&&h!==d){for(f=0;p=t[f++];)p(g,v,i,a);if(o){if(d>0)for(;h--;)g[h]||v[h]||(v[h]=S.call(s));v=He(v)}c.apply(s,v),u&&!o&&v.length>0&&d+t.length>1&&E.uniqueSort(s)}return u&&(pe=x,ue=y),g};return n?ke(o):o}(o,r)),i.selector=e}return i}function Fe(e,t,n,r){var o,i,a,s,u,l="function"==typeof e&&e,f=!r&&Q(e=l.selector||e);if(n=n||[],1===f.length){if((i=f[0]=f[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&9===t.nodeType&&fe&&E.expr.relative[i[1].type]){if(!(t=(E.expr.find.ID(z(a.matches[0]),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=xe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!E.expr.relative[s=a.type]);)if((u=E.expr.find[s])&&(r=u(z(a.matches[0]),H.test(i[0].type)&&F(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&K(i)))return c.apply(n,r),n;break}}return(l||We(e,f))(r,t,!fe,n,!t||H.test(e)&&F(t.parentNode)||t),n}function $e(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&E(e).is(n))break;r.push(e)}return r}function Ie(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}qe.prototype=E.expr.pseudos,E.expr.setFilters=new qe,Ne(),E.find=Ee,Ee.compile=We,Ee.select=Fe,Ee.setDocument=Ne,Ee.tokenize=Q;var Be=E.expr.match.needsContext,_e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ue(e){return"<"===e[0]&&">"===e[e.length-1]&&e.length>=3}function Xe(e,t,n){return"function"==typeof t?E.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?E.grep(e,function(e){return e===t!==n}):"string"!=typeof t?E.grep(e,function(e){return l.call(t,e)>-1!==n}):E.filter(t,e,n)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(Xe(this,e||[],!1))},not:function(e){return this.pushStack(Xe(this,e||[],!0))},is:function(e){return!!Xe(this,"string"==typeof e&&Be.test(e)?E(e):e||[],!1).length}});var ze,Ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t){var n,r;if(!e)return this;if(e.nodeType)return this[0]=e,this.length=1,this;if("function"==typeof e)return void 0!==ze.ready?ze.ready(e):e(E);if(Ue(n=e+""))n=[null,e,null];else{if("string"!=typeof e)return E.makeArray(e,this);n=Ge.exec(e)}if(!n||!n[1]&&t)return!t||t.jquery?(t||ze).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),_e.test(n[1])&&E.isPlainObject(t))for(n in t)"function"==typeof this[n]?this[n](t[n]):this.attr(n,t[n]);return this}return(r=b.getElementById(n[2]))&&(this[0]=r,this.length=1),this}).prototype=E.fn,ze=E(b);var Ve=/^(?:parents|prev(?:Until|All))/,Ye={children:!0,contents:!0,next:!0,prev:!0};function Qe(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function Je(e){return e}function Ke(e){throw e}function Ze(e,t,n,r){var o;try{e&&"function"==typeof(o=e.promise)?o.call(e).done(t).fail(n):e&&"function"==typeof(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n(e)}}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&E.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?E.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?l.call(E(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return $e(e,"parentNode")},parentsUntil:function(e,t,n){return $e(e,"parentNode",n)},next:function(e){return Qe(e,"nextSibling")},prev:function(e){return Qe(e,"previousSibling")},nextAll:function(e){return $e(e,"nextSibling")},prevAll:function(e){return $e(e,"previousSibling")},nextUntil:function(e,t,n){return $e(e,"nextSibling",n)},prevUntil:function(e,t,n){return $e(e,"previousSibling",n)},siblings:function(e){return Ie((e.parentNode||{}).firstChild,e)},children:function(e){return Ie(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},function(e,t){E.fn[e]=function(n,r){var o=E.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=E.filter(r,o)),this.length>1&&(Ye[e]||E.uniqueSort(o),Ve.test(e)&&o.reverse()),this.pushStack(o)}}),E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(ee)||[],function(e,n){t[n]=!0}),t}(e):E.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?E.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return E.Deferred(function(n){E.each(t,function(t,r){var o="function"==typeof e[r[4]]&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,u=arguments,c=function(){var r,c;if(!(e=i&&(n!==Ke&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?l():(E.Deferred.getErrorHook&&(l.error=E.Deferred.getErrorHook()),r.setTimeout(l))}}return E.Deferred(function(r){t[0][3].add(a(0,r,"function"==typeof o?o:Je,r.notifyWith)),t[1][3].add(a(0,r,"function"==typeof e?e:Je)),t[2][3].add(a(0,r,"function"==typeof n?n:Ke))}).promise()},promise:function(e){return null!=e?E.extend(e,o):o}},i={};return E.each(t,function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add(function(){n=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=E.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(Ze(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||"function"==typeof(o[n]&&o[n].then)))return i.then();for(;n--;)Ze(o[n],a(n),i.reject);return i.promise()}});var et=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){e&&et.test(e.name)&&r.console.warn("jQuery.Deferred exception",e,t)},E.readyException=function(e){r.setTimeout(function(){throw e})};var tt=E.Deferred();function nt(){b.removeEventListener("DOMContentLoaded",nt),r.removeEventListener("load",nt),E.ready()}E.fn.ready=function(e){return tt.then(e).catch(function(e){E.readyException(e)}),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||tt.resolveWith(b,[E]))}}),E.ready.then=tt.then,"loading"!==b.readyState?r.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",nt),r.addEventListener("load",nt));var rt=/-([a-z])/g;function ot(e,t){return t.toUpperCase()}function it(e){return e.replace(rt,ot)}function at(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function st(){this.expando=E.expando+st.uid++}st.uid=1,st.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),at(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[it(t)]=n;else for(r in t)o[it(r)]=t[r];return n},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][it(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(it):(t=it(t))in r?[t]:t.match(ee)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||E.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var ut=new st,ct=new st,lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ft=/[A-Z]/g;function pt(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ft,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:lt.test(e)?JSON.parse(e):e)}(n)}catch(e){}ct.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return ct.hasData(e)||ut.hasData(e)},data:function(e,t,n){return ct.access(e,t,n)},removeData:function(e,t){ct.remove(e,t)},_data:function(e,t,n){return ut.access(e,t,n)},_removeData:function(e,t){ut.remove(e,t)}}),E.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=ct.get(i),1===i.nodeType&&!ut.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=it(r.slice(5)),pt(i,r,o[r]));ut.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ct.set(this,e)}):Z(this,function(t){var n;if(i&&void 0===t)return void 0!==(n=ct.get(i,e))||void 0!==(n=pt(i,e))?n:void 0;this.each(function(){ct.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ct.remove(this,e)})}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ut.get(e,t),n&&(!r||Array.isArray(n)?r=ut.set(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,o=n.shift(),i=E._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){E.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ut.get(e,n)||ut.set(e,n,{empty:E.Callbacks("once memory").add(function(){ut.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,At={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};function Ot(e,t){var n;return n=void 0!==e.getElementsByTagName?i.slice.call(e.getElementsByTagName(t||"*")):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?E.merge([e],n):n}At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td;var Nt=/^$|^module$|\/(?:java|ecma)script/i;function qt(e,t){for(var n=0,r=e.length;n-1;)s=s.appendChild(t.createElement(c[f]));s.innerHTML=E.htmlPrefilter(a),E.merge(d,s.childNodes),(s=p.firstChild).textContent=""}else d.push(t.createTextNode(a));for(p.textContent="",h=0;a=d[h++];)if(r&&E.inArray(a,r)>-1)o&&o.push(a);else if(l=kt(a),s=Ot(p.appendChild(a),"script"),l&&qt(s),n)for(f=0;a=s[f++];)Nt.test(a.type||"")&&n.push(a);return p}function Ht(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Rt(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Mt(e,t,n,r){t=u(t);var o,i,a,s,c,l,f=0,p=e.length,d=p-1,h=t[0];if("function"==typeof h)return e.each(function(o){var i=e.eq(o);t[0]=h.call(this,o,i.html()),Mt(i,t,n,r)});if(p&&(i=(o=Pt(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=E.map(Ot(o,"script"),Ht)).length;f=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n-1:E.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,u0&&qt(a,!u&&Ot(e,"script")),s},cleanData:function(e){for(var t,n,r,o=E.event.special,i=0;void 0!==(n=e[i]);i++)if(at(n)){if(t=n[ut.expando]){if(t.events)for(r in t.events)o[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[ut.expando]=void 0}n[ct.expando]&&(n[ct.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Gt(this,e,!0)},remove:function(e){return Gt(this,e)},text:function(e){return Z(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Mt(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Xt(this,e).appendChild(e)})},prepend:function(){return Mt(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Xt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Mt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Mt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(Ot(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return E.clone(this,e,t)})},html:function(e){return Z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ut.test(e)&&!At[(Dt.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u+c}function ln(e,t,n){var r=Qt(e),o=(A||n)&&"border-box"===E.css(e,"boxSizing",!1,r),i=o,a=Jt(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Vt.test(a)){if(!n)return a;a="auto"}return("auto"===a||A&&o||!v.reliableColDimensions()&&k(e,"col")||!v.reliableTrDimensions()&&k(e,"tr"))&&e.getClientRects().length&&(o="border-box"===E.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+cn(e,t,n||(o?"border":"content"),i,r,a)+"px"}function fn(e,t,n,r,o){return new fn.prototype.init(e,t,n,r,o)}E.extend({cssHooks:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=Tt(t),u=Yt.test(t),c=e.style;if(u||(t=en(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=ht.exec(n))&&o[1]&&(n=bt(e,t,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(xt(s)?"px":"")),A&&""===n&&0===t.indexOf("background")&&(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=Tt(t);return Yt.test(t)||(t=en(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Jt(e,t,r)),"normal"===o&&t in sn&&(o=sn[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),E.each(["height","width"],function(e,t){E.cssHooks[t]={get:function(e,n,r){if(n)return"none"===E.css(e,"display")?function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r}(e,an,function(){return ln(e,t,r)}):ln(e,t,r)},set:function(e,n,r){var o,i=Qt(e),a=r&&"border-box"===E.css(e,"boxSizing",!1,i),s=r?cn(e,t,r,a,i):0;return s&&(o=ht.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),un(0,n,s)}}}),E.each({margin:"",padding:"",border:"Width"},function(e,t){E.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+gt[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(E.cssHooks[e+t].set=un)}),E.fn.extend({css:function(e,t){return Z(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Qt(e),o=t.length;a1)}}),E.Tween=fn,fn.prototype={constructor:fn,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(xt(n)?"px":"")},cur:function(){var e=fn.propHooks[this.prop];return e&&e.get?e.get(this):fn.propHooks._default.get(this)},run:function(e){var t,n=fn.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):fn.propHooks._default.set(this),this}},fn.prototype.init.prototype=fn.prototype,fn.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[en(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=fn.prototype.init,E.fx.step={};var pn,dn,hn=/^(?:toggle|show|hide)$/,gn=/queueHooks$/;function vn(){dn&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(vn):r.setTimeout(vn,13),E.fx.tick())}function yn(){return r.setTimeout(function(){pn=void 0}),pn=Date.now()}function mn(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=gt[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function xn(e,t,n){for(var r,o=(bn.tweeners[t]||[]).concat(bn.tweeners["*"]),i=0,a=o.length;i1)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&E.isXMLDoc(e)||(t=E.propFix[t]||t,o=E.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttribute("tabindex");return t?parseInt(t,10):wn.test(e.nodeName)||Tn.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A&&(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(e){var t,n,r,o,i,a;return"function"==typeof e?this.each(function(t){E(this).addClass(e.call(this,t,jn(this)))}):(t=En(e)).length?this.each(function(){if(r=jn(this),n=1===this.nodeType&&" "+Cn(r)+" "){for(i=0;i-1;)n=n.replace(" "+o+" "," ");a=Cn(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i;return"function"==typeof e?this.each(function(n){E(this).toggleClass(e.call(this,n,jn(this),t),t)}):"boolean"==typeof t?t?this.addClass(e):this.removeClass(e):(n=En(e)).length?this.each(function(){for(i=E(this),o=0;o-1)return!0;return!1}}),E.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r="function"==typeof e,this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,E(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=E.map(o,function(e){return null==e?"":e+""})),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=E.valHooks[o.type]||E.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value)??"":void 0}}),E.extend({valHooks:{select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),A&&(E.valHooks.option={get:function(e){var t=e.getAttribute("value");return null!=t?t:Cn(E.text(e))}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}}});var kn=/^(?:focusinfocus|focusoutblur)$/,Sn=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,o){var i,a,s,u,c,l,f,p,h=[n||b],g=d.call(e,"type")?e.type:e,v=d.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!kn.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[E.expando]?e:new E.Event(g,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),f=E.event.special[g]||{},o||!f.trigger||!1!==f.trigger.apply(n,t))){if(!o&&!f.noBubble&&!m(n)){for(u=f.delegateType||g,kn.test(u+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?u:f.bindType||g,(l=(ut.get(a,"events")||Object.create(null))[e.type]&&ut.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&at(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!at(n)||c&&"function"==typeof n[g]&&!m(n)&&((s=n[c])&&(n[c]=null),E.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,Sn),n[g](),e.isPropagationStopped()&&p.removeEventListener(g,Sn),E.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}});var Dn=r.location,An={guid:Date.now()},On=/\?/;E.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Nn=/\[\]$/,qn=/\r?\n/g,Ln=/^(?:submit|button|image|reset|file)$/i,Pn=/^(?:input|select|textarea|keygen)/i;function Hn(e,t,n,r){var o;if(Array.isArray(t))E.each(t,function(t,o){n||Nn.test(e)?r(e,o):Hn(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==y(t))r(e,t);else for(o in t)Hn(e+"["+o+"]",t[o],n,r)}E.param=function(e,t){var n,r=[],o=function(e,t){var n="function"==typeof t?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(n??"")};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){o(this.name,this.value)});else for(n in e)Hn(n,e[n],t,o);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Pn.test(this.nodeName)&&!Ln.test(e)&&(this.checked||!Wt.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(qn,"\r\n")}}):{name:t.name,value:n.replace(qn,"\r\n")}}).get()}});var Rn=/%20/g,Mn=/#.*$/,Wn=/([?&])_=[^&]*/,Fn=/^(.*?):[ \t]*([^\r\n]*)$/gm,$n=/^(?:GET|HEAD)$/,In=/^\/\//,Bn={},_n={},Un="*/".concat("*"),Xn=b.createElement("a");function zn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(ee)||[];if("function"==typeof n)for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Gn(e,t,n,r){var o={},i=e===_n;function a(s){var u;return o[s]=!0,E.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Vn(e,t){var n,r,o=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}Xn.href=Dn.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Dn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Un,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vn(Vn(e,E.ajaxSettings),t):Vn(E.ajaxSettings,e)},ajaxPrefilter:zn(Bn),ajaxTransport:zn(_n),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,u,c,l,f,p,d=E.ajaxSetup({},t),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?E(h):E.event,v=E.Deferred(),y=E.Callbacks("once memory"),m=d.statusCode||{},x={},w={},T="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Fn.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||T;return n&&n.abort(t),j(0,t),this}};if(v.promise(C),d.url=((e||d.url||Dn.href)+"").replace(In,Dn.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(ee)||[""],null==d.crossDomain){u=b.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Xn.protocol+"//"+Xn.host!=u.protocol+"//"+u.host}catch(e){d.crossDomain=!0}}if(Gn(Bn,d,t,C),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=E.param(d.data,d.traditional)),c)return C;for(f in(l=E.event&&d.global)&&0===E.active++&&E.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!$n.test(d.type),o=d.url.replace(Mn,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Rn,"+")):(p=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(On.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(Wn,"$1"),p=(On.test(o)?"&":"?")+"_="+An.guid+++p),d.url=o+p),d.ifModified&&(E.lastModified[o]&&C.setRequestHeader("If-Modified-Since",E.lastModified[o]),E.etag[o]&&C.setRequestHeader("If-None-Match",E.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Un+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,C,d)||c))return C.abort();if(T="abort",y.add(d.complete),C.done(d.success),C.fail(d.error),n=Gn(_n,d,t,C)){if(C.readyState=1,l&&g.trigger("ajaxSend",[C,d]),c)return C;d.async&&d.timeout>0&&(s=r.setTimeout(function(){C.abort("timeout")},d.timeout));try{c=!1,n.send(x,j)}catch(e){if(c)throw e;j(-1,e)}}else j(-1,"No Transport");function j(e,t,a,u){var f,p,x,b,w,T=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=u||"",C.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(b=function(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(d,C,a)),!f&&E.inArray("script",d.dataTypes)>-1&&E.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),b=function(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(d,b,C,f),f?(d.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(E.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(E.etag[o]=w)),204===e||"HEAD"===d.type?T="nocontent":304===e?T="notmodified":(T=b.state,p=b.data,f=!(x=b.error))):(x=T,!e&&T||(T="error",e<0&&(e=0))),C.status=e,C.statusText=(t||T)+"",f?v.resolveWith(h,[p,T,C]):v.rejectWith(h,[C,T,x]),C.statusCode(m),m=void 0,l&&g.trigger(f?"ajaxSuccess":"ajaxError",[C,d,f?p:x]),y.fireWith(h,[C,T]),l&&(g.trigger("ajaxComplete",[C,d]),--E.active||E.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,t){E[t]=function(e,n,r,o){return"function"!=typeof n&&null!==n||(o=o||r,r=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:o,data:n,success:r},E.isPlainObject(e)&&e))}}),E.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,scriptAttrs:t.crossOrigin?{crossOrigin:t.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&("function"==typeof e&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return"function"==typeof e?this.each(function(t){E(this).wrapInner(e.call(this,t))}):this.each(function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t="function"==typeof e;return this.each(function(n){E(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){return new r.XMLHttpRequest};var Yn={0:200};function Qn(e){return e.scriptAttrs||!e.headers&&(e.crossDomain||e.async&&E.inArray("json",e.dataTypes)<0)}E.ajaxTransport(function(e){var t;return{send:function(n,r){var o,i=e.xhr();if(i.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)i[o]=e.xhrFields[o];for(o in e.mimeType&&i.overrideMimeType&&i.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)i.setRequestHeader(o,n[o]);t=function(e){return function(){t&&(t=i.onload=i.onerror=i.onabort=i.ontimeout=null,"abort"===e?i.abort():"error"===e?r(i.status,i.statusText):r(Yn[i.status]||i.status,i.statusText,"text"===(i.responseType||"text")?{text:i.responseText}:{binary:i.response},i.getAllResponseHeaders()))}},i.onload=t(),i.onabort=i.onerror=i.ontimeout=t("error"),t=t("abort");try{i.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),Qn(e)&&(e.type="GET")}),E.ajaxTransport("script",function(e){var t,n;if(Qn(e))return{send:function(r,o){t=E("