1/*! jQuery v4.0.0 | (c) OpenJS Foundation and other contributors | jquery.com/license */ 2!function(n,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t(n,!0):t(n)}("undefined"!=typeof window?window:this,function(n,t){"use strict";function ti(n){return null==n?n+"":"object"==typeof n?li[rf.call(n)]||"object":typeof n}function ii(n){return null!=n&&n===n.window}function yi(n){var t=!!n&&n.length,i=ti(n);return!("function"==typeof n||ii(n))&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in n)}function ef(n,t,i){var f,r=(i=i||u).createElement("script");for(f in r.text=n,ff)t&&t[f]&&(r[f]=t[f]);i.head.appendChild(r).parentNode&&r.parentNode.removeChild(r)}function e(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function wi(){function n(r,u){return t.push(r+" ")>i.expr.cacheLength&&delete n[t.shift()],n[r+" "]=u}var t=[];return n}function yr(n){return n&&void 0!==n.getElementsByTagName&&n}function ut(n){return n.replace(ys,ps)}function ui(n){i.error("Syntax error, unrecognized expression: "+n)}function fi(n,t){var f,u,o,e,r,s,h,c=wr[n+" "];if(c)return t?0:c.slice(0);for(r=n,s=[],h=i.expr.preFilter;r;){for(e in(!f||(u=af.exec(r)))&&(u&&(r=r.slice(u[0].length)||r),s.push(o=[])),f=!1,(u=hf.exec(r))&&(f=u.shift(),o.push({value:f,type:u[0].replace(ri," ")}
vendor: 4,574 bytes, line 2
2),r=r.slice(f.length)),pr)(u=i.expr.match[e].exec(r))&&(!h[e]||(u=h[e](u)))&&(f=u.shift(),o.push({value:f,type:e,matches:u}),r=r.slice(f.length));if(!f)break}return t?r.length:r?ui(n):wr(n,s).slice(0)}function bi(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function g(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===ti(r))for(s in f=!0,r)g(n,t,s,r[s],!0,e,o);else if(void 0!==u&&(f=!0,"function"!=typeof u&&(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e}function ws(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n}function bs(n,t){if(n===t)return br=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:1&(r=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1)?n==u||n.ownerDocument==u&&i.contains(u,n)?-1:t==u||t.ownerDocument==u&&i.contains(u,t)?1:0:4&r?-1:1}function p(n,t,r,u){var s,a,h,f,y,p,w,c=t&&t.ownerDocument,e=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==e&&9!==e&&11!==e)return r;if(!u&&(at(t),t=t||l,nt)){if(11!==e&&(y=ih.exec(n)))if(s=y[1]){if(9===e)return(h=t.getElementById(s))&&v.call(r,h),r;if(c&&(h=c.getElementById(s))&&i.contains(t,h))return v.call(r,h),r}else{if(y[2])return v.apply(r,t.getElementsByTagName(n)),r;if((s=y[3])&&t.getElementsByClassName)return v.apply(r,t.getElementsByClassName(s)),r}if(!di[n+" "]&&(!pi||!pi.test(n))){if(w=n,c=t,1===e&&(ls.test(n)||hf.test(n))){for(((c=vr.test(n)&&yr(t.parentNode)||t)!=t||o)&&((f=t.getAttribute("id"))?f=i.escapeSelector(f):t.setAttribute("id",f=i.expando)),a=(p=fi(n)).length;a--;)p[a]=(f?"#"+f:":scope")+" "+bi(p[a]);w=p.join(",")}try{return v.apply(r,c.querySelectorAll(w)),r}catch(t){di(n,!0)}finally{f===i.expando&&t.removeAttribute("id")}}}return te(n.replace(ri,"$1"),t,r,u)}function b(n){return n[i.expando]=!0,n}function gf(n){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||!n!==t.isDisabled&&uh(t)===n:t.disabled===n:"label"in t&&t.disabled===n}}function ot(n){return b(function(t){return t*=1,b(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function at(n){var t,r=n?n.ownerDocument||n:u;r!=l&&9===r.nodeType&&(wf=(l=r).documentElement,nt=!i.isXMLDoc(l),o&&u!=l&&(t=l.defaultView)&&t.top!==t&&t.addEventListener("unload",rh))}function ne(){}function gi(n,t,r){var u=t.dir,f=t.next,o=f||u,s=r&&"parentNode"===o,h=ks++;return t.first?function(t,i,r){while(t=t[u])if(1===t.nodeType||s)return n(t,i,r);return!1}:function(t,r,c){var l,a,v=[tt,h];if(c){while(t=t[u])if((1===t.nodeType||s)&&n(t,r,c))return!0}else while(t=t[u])if(1===t.nodeType||s)if(a=t[i.expando]||(t[i.expando]={}),f&&e(t,f))t=t[u]||t;else{if((l=a[o])&&l[0]===tt&&l[1]===h)return v[2]=l[2];if(a[o]=v,v[2]=n(t,r,c))return!0}return!1}}function kr(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function nr(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function dr(n,t){var u,e,o,s,f=[],h=[],r=kf[n+" "];if(!r){for(t||(t=fi(n)),s=t.length;s--;)(r=function n(t){for(var o,f,u,s=t.length,h=i.expr.relative[t[0].type],c=h||i.expr.relative[" "],r=+!!h,l=gi(function(n){return n===o},c,!0),a=gi(function(n){return ct.call(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!=ki)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];r<s;r++)if(f=i.expr.relative[t[r].type])e=[gi(kr(e),f)];else{if((f=i.expr.filter[t[r].type].apply(null,t[r].matches))[i.expando]){for(u=++r;u<s&&!i.expr.relative[t[u].type];u++);return function n(t,r,u,f,e,o){return f&&!f[i.expando]&&(f=n(f)),e&&!e[i.expando]&&(e=n(e,o)),b(function(n,i,o,s){var l,c,a,h,b=[],w=[],k=i.length,d=n||function(n,t,i){for(var r=0,u=t.length;r<u;r++)p(n,t[r],i);return i}(r||"*",o.nodeType?[o]:o,[]),y=t&&(n||!r)?nr(d,b,t,o,s):d;if(u?u(y,h=e||(n?t:k||f)?[]:i,o,s):h=y,f)for(l=nr(h,w),f(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[w[c]]=!(y[w[c]]=a));if(n){if(e||t){if(e){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(y[c]=a);e(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=e?ct.call(n,a):b[c])>-1&&(n[l]=!(i[l]=a))}}else h=nr(h===i?h.splice(k,h.length):h),e?e(null,i,h,s):v.apply(i,h)})}(r>1&&kr(e),r>1&&bi(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(ri,"$1"),f,r<u&&n(t.slice(r,u)),u<s&&n(t=t.slice(u)),u<s&&bi(t))}
2e.push(f)}return kr(e)}(t[s]))[i.expando]?f.push(r):h.push(r);(r=kf(n,(u=f.length>0,e=h.length>0,o=function(n,t,r,o,s){var c,b,p,w=0,a="0",k=n&&[],y=[],d=ki,it=n||e&&i.expr.find.TAG("*",s),g=tt+=null==d?1:Math.random()||.1;for(s&&(ki=t==l||t||s);null!=(c=it[a]);a++){if(e&&c){for(b=0,t||c.ownerDocument==l||(at(c),r=!nt);p=h[b++];)if(p(c,t||l,r)){v.call(o,c);break}s&&(tt=g)}u&&((c=!p&&c)&&w--,n&&k.push(c))}if(w+=a,u&&a!==w){for(b=0;p=f[b++];)p(k,y,t,r);if(n){if(w>0)while(a--)k[a]||y[a]||(y[a]=cs.call(o));y=nr(y)}v.apply(o,y);s&&!n&&y.length>0&&w+f.length>1&&i.uniqueSort(o)}return s&&(tt=g,ki=d),k},u?b(o):o))).selector=n}return r}function te(n,t,r,u){var o,f,e,c,l,h="function"==typeof n&&n,s=!u&&fi(n=h.selector||n);if(r=r||[],1===s.length){if((f=s[0]=s[0].slice(0)).length>2&&"ID"===(e=f[0]).type&&9===t.nodeType&&nt&&i.expr.relative[f[1].type]){if(!(t=(i.expr.find.ID(ut(e.matches[0]),t)||[])[0]))return r;h&&(t=t.parentNode);n=n.slice(f.shift().value.length)}for(o=df.needsContext.test(n)?0:f.length;o--;){if(e=f[o],i.expr.relative[c=e.type])break;if((l=i.expr.find[c])&&(u=l(ut(e.matches[0]),vr.test(f[0].type)&&yr(t.parentNode)||t))){if(f.splice(o,1),!(n=u.length&&bi(f)))return v.apply(r,u),r;break}}}return(h||dr(n,s))(u,t,!nt,r,!t||vr.test(n)&&yr(t.parentNode)||t),r}function vt(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u}function ie(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}function re(n){return"<"===n[0]&&">"===n[n.length-1]&&n.length>=3}function tu(n,t,r){return"function"==typeof t?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):"string"!=typeof t?i.grep(n,function(n){return ct.call(t,n)>-1!==r}):i.filter(t,n,r)}function oe(n,t){while((n=n[t])&&1!==n.nodeType);return n}function yt(n){return n}function ir(n){throw n;}function se(n,t,i,r){var u;try{n&&"function"==typeof(u=n.promise)?u.call(n).done(t).fail(i):n&&"function"==typeof(u=n.then)?u.call(n,t,i):t.apply(void 0,[n].slice(r))}catch(n){i(n)}}function ur(){u.removeEventListener("DOMContentLoaded",ur);n.removeEventListener("load",ur);i.ready()}function fh(n,t){return t.toUpperCase()}function st(n){return n.replace(ce,fh)}function ei(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType}function oi(){this.expando=i.expando+oi.uid++}function le(n,t,i){var u,r;if(void 0===i&&1===n.nodeType)if(u="data-"+t.replace(oh,"-$&").toLowerCase(),"string"==typeof(i=n.getAttribute(u))){try{r=i;i="true"===r||"false"!==r&&("null"===r?null:r===+r+""?+r:eh.test(r)?JSON.parse(r):r)}catch(n){}s.set(n,t,i)}else i=void 0;return i}function fr(n,t){return"none"===(n=t||n).style.display||""===n.style.display&&"none"===i.css(n,"display")}function er(n){return ve.test(n)&&ye.test(n[0].toUpperCase()+n.slice(1))}function pe(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(er(t)?"px":""),f=n.nodeType&&(!er(t)||"px"!==e&&+o)&&si.exec(i.css(n,t));if(f&&f[3]!==e){for(o/=2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f/=h;f*=2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function iu(n){return st(n.replace(we,"ms-"))}function pt(n,t){for(var o,f,e=[],u=0,s=n.length;u<s;u++)(f=n[u]).style&&(o=f.style.display,t?("none"===o&&(e[u]=r.get(f,"display")||null,e[u]||(f.style.display="")),""===f.style.display&&fr(f)&&(e[u]=function(n){var r,f=n.ownerDocument,u=n.nodeName,t=ru[u];return t||(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),"none"===t&&(t="block"),ru[u]=t),t}(f))):"none"!==o&&(e[u]="none",r.set(f,"display",o)));for(u=0;u<s;u++)null!=e[u]&&(n[u].style.display=e[u]);return n}function h(n,t){var r;return(r=void 0!==n.getElementsByTagName?c.slice.call(n.getElementsByTagName(t||"*")):void 0!==n.querySelectorAll?n.querySelectorAll(t||"*"):[],void 0===t||t&&e(n,t))?i.merge([n],r):r}function eu(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function de(n,t,r,u,f){for(var e,o,y,p,s,l=t.createDocumentFragment(),v=[],a=0,w=n.length;a<w;a++)if((e=n[a])||0===e)if("object"===ti(e)&&(e.nodeType||yi(e)))i.merge(v,e.nodeType?[e]:e);else if(ke.test(e)){for(o=o||l.appendChild(t.createElement("div")),s=(y=k[(uu.exec(e)||["",""])[1].toLowerCase()]||c).length;--s>-1;)o=o.appendChild(t.createElement(y[s]));o.innerHTML=i.htmlPrefilter(e);
vendor: 24,755 bytes, line 2
2i.merge(v,o.childNodes);(o=l.firstChild).textContent=""}else v.push(t.createTextNode(e));for(l.textContent="",a=0;e=v[a++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(p=wt(e),o=h(l.appendChild(e),"script"),p&&eu(o),r)for(s=0;e=o[s++];)fu.test(e.type||"")&&r.push(e)}return l}function sh(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function hh(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function bt(n,t,u,f){t=tf(t);var c,v,s,l,e,a,o=0,y=n.length,w=y-1,p=t[0];if("function"==typeof p)return n.each(function(i){var r=n.eq(i);t[0]=p.call(this,i,r.html());bt(r,t,u,f)});if(y&&(v=(c=de(t,n[0].ownerDocument,!1,n,f)).firstChild,1===c.childNodes.length&&(c=v),v||f)){for(l=(s=i.map(h(c,"script"),sh)).length;o<y;o++)e=c,o!==w&&(e=i.clone(e,!0,!0),l&&i.merge(s,h(e,"script"))),u.call(n[o],e,o);if(l)for(a=s[s.length-1].ownerDocument,i.map(s,hh),o=0;o<l;o++)e=s[o],fu.test(e.type||"")&&!r.get(e,"globalEval")&&i.contains(a,e)&&(e.src&&"module"!==(e.type||"").toLowerCase()?i._evalUrl&&!e.noModule&&i._evalUrl(e.src,{nonce:e.nonce,crossOrigin:e.crossOrigin},a):ef(e.textContent,e,a))}return n}function kt(){return!0}function dt(){return!1}function su(n,t,r,u,f,e){var o,s;if("object"==typeof t){for(s in"string"!=typeof r&&(u=u||r,r=void 0),t)su(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),!1===f)f=dt;else if(!f)return n;return 1===e&&(o=f,(f=function(n){return i().off(n),o.apply(this,arguments)}).guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function or(n,t,u){if(!u){void 0===r.get(n,t)&&i.event.add(n,t,kt);return}r.set(n,t,!1);i.event.add(n,t,{namespace:!1,handler:function(n){var f,u=r.get(this,t);if(1&n.isTrigger&&this[t]){if(u.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(u=d.call(arguments),r.set(this,t,u),this[t](),f=r.get(this,t),r.set(this,t,!1),u!==f)return n.stopImmediatePropagation(),n.preventDefault(),f&&f.value}else u.length&&(r.set(this,t,{value:i.event.trigger(u[0],u.slice(1),this)}),n.stopPropagation(),n.isImmediatePropagationStopped=kt)}})}function no(n,t){return e(n,"table")&&e(11!==t.nodeType?t:t.firstChild,"tr")&&i(n).children("tbody")[0]||n}function to(n,t){var u,f,o,e=r.get(n,"events");if(1===t.nodeType){if(e)for(u in r.remove(t,"handle events"),e)for(f=0,o=e[u].length;f<o;f++)i.event.add(t,u,e[u][f]);s.hasData(n)&&s.set(t,i.extend({},s.get(n)))}}function io(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(h(u)),u.parentNode&&(r&&wt(u)&&eu(h(u,"script")),u.parentNode.removeChild(u));return n}function hr(t){var i=t.ownerDocument.defaultView;return i||(i=n),i.getComputedStyle(t)}function uo(n,t,r){var u,f=sr.test(t);return(r=r||hr(n))&&(u=r.getPropertyValue(t)||r[t],f&&u&&(u=u.replace(ri,"$1")||void 0),""!==u||wt(n)||(u=i.style(n,t))),void 0!==u?u+"":u}function lu(n){return n in cu?n:function(n){for(var i=n[0].toUpperCase()+n.slice(1),t=hu.length;t--;)if((n=hu[t]+i)in cu)return n}(n)||n}function oo(){if(it&&it.style){var t,r=u.createElement("col"),i=u.createElement("tr"),f=u.createElement("td");if(it.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",i.style.cssText="box-sizing:content-box;border:1px solid;height:1px",f.style.cssText="height:9px;width:9px;padding:0",r.span=2,rt.appendChild(it).appendChild(r).parentNode.appendChild(i).appendChild(f).parentNode.appendChild(f.cloneNode(!0)),0===it.offsetWidth)return void rt.removeChild(it);t=n.getComputedStyle(i);eo=o||18===Math.round(parseFloat(n.getComputedStyle(r).width));fo=Math.round(parseFloat(t.height)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth))===i.offsetHeight;rt.removeChild(it);it=null}}function ho(n,t,i){var r=si.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function co(n,t,r,u,f,e){var o=+("width"===t),h=0,s=0,c=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(c+=i.css(n,r+ft[o],!0,f)),u?("content"===r&&(s-=i.css(n,"padding"+ft[o],!0,f)),"margin"!==r&&(s-=i.css(n,"border"+ft[o]+"Width",!0,f))):(s+=i.css(n,"padding"+ft[o],!0,f),"padding"!==r?s+=i.css(n,"border"+ft[o]+"Width",!0,f):h+=i.css(n,"border"+ft[o]+"Width",!0,f));return!u&&e>=0&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s+c}function lo(n,t,r){var f=hr(n),s=(o||r)&&"border-box"===i.css(n,"boxSizing",!1,f),h=s,u=uo(n,t,f),c="offset"+t[0].toUpperCase()+t.slice(1);if(ro.test(u)){if(!r)return u;u="auto"}return("auto"===u||o&&s||!vi.reliableColDimensions()&&e(n,"col")||!vi.reliableTrDimensions()&&e(n,"tr"))&&n.getClientRects().length&&(s="border-box"===i.css(n,"boxSizing",!1,f),(h=c in n)&&(u=n[c])),(u=parseFloat(u)||0)+co(n,t,r||(s?"border":"content"),h,f,u)+"px"}function a(n,t,i,r,u){return new a.prototype.init(n,t,i,r,u)}function yo(){return n.setTimeout(function(){gt=void 0}),gt=Date.now()}function lr(n,t){var u,r=0,i={height:n};for(t=+!!t;r<4;r+=2-t)i["margin"+(u=ft[r])]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function po(n,t,i){for(var u,f=(w.tweeners[t]||[]).concat(w.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function w(n,t,r){var e,o,s=0,l=w.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=gt||yo(),t=Math.max(0,u.startTime+u.duration-s),i=1-(t/u.duration||0),r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return(f.notifyWith(n,[u,i,t]),i<1&&e)?t:(e||f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:gt||yo(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(!function(n,t){var r,f,e,u,o;for(r in n)if(e=t[f=iu(r)],Array.isArray(u=n[r])&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),(o=i.cssHooks[f])&&"expand"in o)for(r in u=o.expand(u),delete n[f],u)r in n||(n[r]=u[r],t[r]=e);else t[f]=e}(h,u.opts.specialEasing);s<l;s++)if(e=w.prefilters[s].call(u,n,h,u.opts))return"function"==typeof e.stop&&(i._queueHooks(u.elem,u.opts.queue).stop=e.stop.bind(e)),e;return i.map(h,po,u),"function"==typeof u.opts.start&&u.opts.start.call(n,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u}function ht(n){return(n.match(y)||[]).join(" ")}function ni(n){return n.getAttribute&&n.getAttribute("class")||""}function vu(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(y)||[]}function is(n){return function(t,i){"string"!=typeof t&&(i=t,t="*");var r,u=0,f=t.toLowerCase().match(y)||[];if("function"==typeof i)while(r=f[u++])"+"===r[0]?(n[r=r.slice(1)||"*"]=n[r]||[]).unshift(i):(n[r]=n[r]||[]).push(i)}}function rs(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===bu;return e(t.dataTypes[0])||!f["*"]&&e("*")}function du(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function fs(n){return n.scriptAttrs||!n.headers&&(n.crossDomain||n.async&&0>i.inArray("json",n.dataTypes))}var u,ff,af,wr,y,vf,yf,pf,gr,nu,tr,ue,fe,ee,he,rr,ce,ve,ye,we,ru,wt,be,uu,k,fu,ke,hi,ou,ge,ro,sr,hu,cu,fo,eo,it,so,au,gt,cr,ao,vo,wo,bo,yu,pu,us,gu,ar,es,os;if(!n.document)throw Error("jQuery requires a window with a document");var c=[],nf=Object.getPrototypeOf,d=c.slice,tf=c.flat?function(n){return c.flat.call(n)}:function(n){return c.concat.apply([],n)},v=c.push,ct=c.indexOf,li={},rf=li.toString,ai=li.hasOwnProperty,uf=ai.toString,ss=uf.call(Object),vi={};u=n.document;ff={type:!0,src:!0,nonce:!0,noModule:!0};var sf="4.0.0",hs=/HTML$/i,i=function(n,t){return new i.fn.init(n,t)};i.fn=i.prototype={jquery:sf,constructor:i,length:0,toArray:function(){return d.call(this)},get:function(n){return null==n?d.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(n,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(n,t){return t%2}))},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()}};i.extend=i.fn.extend=function(){var o,u,f,t,e,h,n=arguments[0]||{},r=1,c=arguments.length,s=!1;for("boolean"==typeof n&&(s=n,n=arguments[r]||{},r++),"object"!=typeof n&&"function"!=typeof n&&(n={}),r===c&&(n=this,r--);r<c;r++)if(null!=(o=arguments[r]))for(u in o)t=o[u],"__proto__"!==u&&n!==t&&(s&&t&&(i.isPlainObject(t)||(e=Array.isArray(t)))?(f=n[u],h=e&&!Array.isArray(f)?[]:e||i.isPlainObject(f)?f:{},e=!1,n[u]=i.extend(s,h,t)):void 0!==t&&(n[u]=t));return n};i.extend({expando:"jQuery"+(sf+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!!n&&"[object Object]"===rf.call(n)&&(!(t=nf(n))||"function"==typeof(i=ai.call(t,"constructor")&&t.constructor)&&uf.call(i)===ss)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t,i){ef(n,{nonce:t&&t.nonce},i)},each:function(n,t){var r,i=0;if(yi(n))for(r=n.length;i<r&&!1!==t.call(n[i],i,n[i]);i++);else for(i in n)if(!1===t.call(n[i],i,n[i]))break;return n},text:function(n){var r,u="",f=0,t=n.nodeType;if(!t)while(r=n[f++])u+=i.text(r);return 1===t||11===t?n.textContent:9===t?n.documentElement.textContent:3===t||4===t?n.nodeValue:u},makeArray:function(n,t){var r=t||[];return null!=n&&(yi(Object(n))?i.merge(r,"string"==typeof n?[n]:n):v.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:ct.call(t,n,i)},isXMLDoc:function(n){var i=n&&n.namespaceURI,t=n&&(n.ownerDocument||n).documentElement;return!hs.test(i||t&&t.nodeName||"HTML")},contains:function(n,t){var i=t&&t.parentNode;return n===i||!!(i&&1===i.nodeType&&(n.contains?n.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u=[],r=0,f=n.length,e=!i;r<f;r++)!t(n[r],r)!==e&&u.push(n[r]);return u},map:function(n,t,i){var e,u,r=0,f=[];if(yi(n))for(e=n.length;r<e;r++)null!=(u=t(n[r],r,i))&&f.push(u);else for(r in n)null!=(u=t(n[r],r,i))&&f.push(u);return tf(f)},guid:1,support:vi});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=c[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){li["[object "+t+"]"]=t.toLowerCase()});var cs=c.pop,f="[\\x20\\t\\r\\n\\f]",o=u.documentMode,pi=o&&RegExp(":enabled|:disabled|\\["+f+"*name"+f+"*="+f+"*(?:''|\"\")"),ri=RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),et="(?:\\\\[\\da-fA-F]{1,6}"+f+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",hf=RegExp("^"+f+"*([>+~]|"+f+")"+f+"*"),ls=RegExp(f+"|>"),vr=/[+~]/,rt=u.documentElement,as=rt.matches||rt.msMatchesSelector;var cf="\\["+f+"*("+et+")(?:"+f+"*([*^$|!~]?=)"+f+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+et+"))|)"+f+"*\\]",lf=":("+et+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+cf+")*)|.*)\\)|)",pr={ID:RegExp("^#("+et+")"),CLASS:RegExp("^\\.("+et+")"),TAG:RegExp("^("+et+"|[*])"),ATTR:RegExp("^"+cf),PSEUDO:RegExp("^"+lf),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i")},vs=new RegExp(lf),ys=RegExp("\\\\[\\da-fA-F]{1,6}"+f+"?|\\\\([^\\r\\n\\f])","g"),ps=function(n,t){var i="0x"+n.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))};af=RegExp("^"+f+"*,"+f+"*");wr=wi();y=/[^\x20\t\r\n\f]+/g;i.fn.extend({attr:function(n,t){return g(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return void 0===n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(u=i.attrHooks[t.toLowerCase()]),void 0!==r)?null===r||!1===r&&0!==t.toLowerCase().indexOf("aria-")?void i.removeAttr(n,t):u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r),r):u&&"get"in u&&null!==(f=u.get(n,t))?f:null==(f=n.getAttribute(t))?void 0:f},attrHooks:{},removeAttr:function(n,t){var i,u=0,r=t&&t.match(y);if(r&&1===n.nodeType)while(i=r[u++])n.removeAttribute(i)}});o&&(i.attrHooks.type={set:function(n,t){if("radio"===t&&e(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}});vf=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;i.escapeSelector=function(n){return(n+"").replace(vf,ws)};yf=c.sort;pf=c.splice;i.uniqueSort=function(n){var r,u=[],t=0,i=0;if(br=!1,yf.call(n,bs),br){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)pf.call(n,u[t],1)}return n};i.fn.uniqueSort=function(){return this.pushStack(i.uniqueSort(d.apply(this)))};var br,lt,ki,l,wf,nt,tt=0,ks=0,bf=wi(),kf=wi(),di=wi(),ds=RegExp(f+"+","g"),gs=RegExp("^"+et+"$"),df=i.extend({needsContext:RegExp("^"+f+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)","i")},pr),nh=/^(?:input|select|textarea|button)$/i,th=/^h\d$/i,ih=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,rh=function(){at()},uh=gi(function(n){return!0===n.disabled&&e(n,"fieldset")},{dir:"parentNode",next:"legend"});for(lt in p.matches=function(n,t){return p(n,null,null,t)},p.matchesSelector=function(n,t){if(at(n),nt&&!di[t+" "]&&(!pi||!pi.test(t)))try{return as.call(n,t)}catch(n){di(t,!0)}return p(t,l,null,[n]).length>0},i.expr={cacheLength:50,createPseudo:b,match:df,find:{ID:function(n,t){if(void 0!==t.getElementById&&nt){var i=t.getElementById(n);return i?[i]:[]}},TAG:function(n,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(n):t.querySelectorAll(n)},CLASS:function(n,t){if(void 0!==t.getElementsByClassName&&nt)return t.getElementsByClassName(n)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=ut(n[1]),n[3]=ut(n[3]||n[4]||n[5]||""),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||ui(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&ui(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return pr.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&vs.test(t)&&(i=fi(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{ID:function(n){var t=ut(n);return function(n){return n.getAttribute("id")===t}},TAG:function(n){var t=ut(n).toLowerCase();return"*"===n?function(){return!0}:function(n){return e(n,t)}},CLASS:function(n){var t=bf[n+" "];return t||(t=RegExp("(^|"+f+")"+n+"("+f+"|$)"))&&bf(n,function(n){return t.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,r){return function(u){var f=i.attr(u,n);return null==f?"!="===t:!t||((f+="","="===t)?f===r:"!="===t?f!==r:"^="===t?r&&0===f.indexOf(r):"*="===t?r&&f.indexOf(r)>-1:"$="===t?r&&f.slice(-r.length)===r:"~="===t?(" "+f.replace(ds," ")+" ").indexOf(r)>-1:"|="===t&&(f===r||f.slice(0,r.length+1)===r+"-"))}},CHILD:function(n,t,r,u,f){var h="nth"!==n.slice(0,3),s="last"!==n.slice(-4),o="of-type"===t;return 1===u&&0===f?function(n){return!!n.parentNode}:function(t,r,c){var p,k,l,v,w,b=h!==s?"nextSibling":"previousSibling",y=t.parentNode,g=o&&t.nodeName.toLowerCase(),d=!c&&!o,a=!1;if(y){if(h){while(b){for(l=t;l=l[b];)if(o?e(l,g):1===l.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[s?y.firstChild:y.lastChild],s&&d){for(a=(v=(p=(k=y[i.expando]||(y[i.expando]={}))[n]||[])[0]===tt&&p[1])&&p[2],l=v&&y.childNodes[v];l=++v&&l&&l[b]||(a=v=0)||w.pop();)if(1===l.nodeType&&++a&&l===t){k[n]=[tt,v,a];break}}else if(d&&(a=v=(p=(k=t[i.expando]||(t[i.expando]={}))[n]||[])[0]===tt&&p[1]),!1===a)while(l=++v&&l&&l[b]||(a=v=0)||w.pop())if((o?e(l,g):1===l.nodeType)&&++a&&(d&&((k=l[i.expando]||(l[i.expando]={}))[n]=[tt,a]),l===t))break;return(a-=f)===u||a%u==0&&a/u>=0}}},PSEUDO:function(n,t){var r=i.expr.pseudos[n]||i.expr.setFilters[n.toLowerCase()]||ui("unsupported pseudo: "+n);return r[i.expando]?r(t):r}},pseudos:{not:b(function(n){var t=[],u=[],r=dr(n.replace(ri,"$1"));return r[i.expando]?b(function(n,t,i,u){for(var e,o=r(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,i,f){return t[0]=n,r(t,null,f,u),t[0]=null,!u.pop()}}),has:b(function(n){return function(t){return p(n,t).length>0}}),contains:b(function(n){return n=ut(n),function(t){return(t.textContent||i.text(t)).indexOf(n)>-1}}),lang:b(function(n){return gs.test(n||"")||ui("unsupported lang: "+n),n=ut(n).toLowerCase(),function(t){var i;do if(i=nt?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===wf},focus:function(n){return n===l.activeElement&&l.hasFocus()&&!!(n.type||n.href||~n.tabIndex)},enabled:gf(!1),disabled:gf(!0),checked:function(n){return e(n,"input")&&!!n.checked||e(n,"option")&&!!n.selected},selected:function(n){return o&&n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!i.expr.pseudos.empty(n)},header:function(n){return th.test(n.nodeName)},input:function(n){return nh.test(n.nodeName)},button:function(n){return e(n,"input")&&"button"===n.type||e(n,"button")},text:function(n){return e(n,"input")&&"text"===n.type},first:ot(function(){return[0]}),last:ot(function(n,t){return[t-1]}),eq:ot(function(n,t,i){return[i<0?i+t:i]}),even:ot(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:ot(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:ot(function(n,t,i){for(var r=i<0?i+t:i>t?t:i;--r>=0;)n.push(r);return n}),gt:ot(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}},i.expr.pseudos.nth=i.expr.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.expr.pseudos[lt]=function(n){return function(t){return e(t,"input")&&t.type===n}}(lt);for(lt in{submit:!0,reset:!0})i.expr.pseudos[lt]=function(n){return function(t){return(e(t,"input")||e(t,"button"))&&t.type===n}}(lt);ne.prototype=i.expr.pseudos;i.expr.setFilters=new ne;at();i.find=p;p.compile=dr;p.select=te;p.setDocument=at;p.tokenize=fi;gr=i.expr.match.needsContext;nu=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(t=0,r=this.pushStack([]);t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(tu(this,n||[],!1))},not:function(n){return this.pushStack(tu(this,n||[],!0))},is:function(n){return!!tu(this,"string"==typeof n&&gr.test(n)?i(n):n||[],!1).length}});ue=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(n,t){var r,f;if(!n)return this;if(n.nodeType)return this[0]=n,this.length=1,this;if("function"==typeof n)return void 0!==tr.ready?tr.ready(n):n(i);if(re(r=n+""))r=[null,n,null];else{if("string"!=typeof n)return i.makeArray(n,this);r=ue.exec(n)}if(r&&(r[1]||!t)){if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),nu.test(r[1])&&i.isPlainObject(t))for(r in t)"function"==typeof this[r]?this[r](t[r]):this.attr(r,t[r]);return this}return(f=u.getElementById(r[2]))&&(this[0]=f,this.length=1),this}return!t||t.jquery?(t||tr).find(n):this.constructor(t).find(n)}).prototype=i.fn;tr=i(u);fe=/^(?:parents|prev(?:Until|All))/;ee={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e="string"!=typeof n&&i(n);if(!gr.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?ct.call(i(n),this[0]):ct.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return vt(n,"parentNode")},parentsUntil:function(n,t,i){return vt(n,"parentNode",i)},next:function(n){return oe(n,"nextSibling")},prev:function(n){return oe(n,"previousSibling")},nextAll:function(n){return vt(n,"nextSibling")},prevAll:function(n){return vt(n,"previousSibling")},nextUntil:function(n,t,i){return vt(n,"nextSibling",i)},prevUntil:function(n,t,i){return vt(n,"previousSibling",i)},siblings:function(n){return ie((n.parentNode||{}).firstChild,n)},children:function(n){return ie(n.firstChild)},contents:function(n){return null!=n.contentDocument&&nf(n.contentDocument)?n.contentDocument:(e(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(ee[n]||i.uniqueSort(f),fe.test(n)&&f.reverse()),this.pushStack(f)}});i.Callbacks=function(n){n="string"==typeof n?(c=n,s={},i.each(c.match(y)||[],function(n,t){s[t]=!0}),s):i.extend({},n);var c,s,e,r,l,u,t=[],o=[],f=-1,a=function(){for(u=u||n.once,l=e=!0;o.length;f=-1)for(r=o.shift();++f<t.length;)!1===t[f].apply(r[0],r[1])&&n.stopOnFalse&&(f=t.length,r=!1);n.memory||(r=!1);e=!1;u&&(t=r?[]:"")},h={add:function(){return t&&(r&&!e&&(f=t.length-1,o.push(r)),!function u(r){i.each(r,function(i,r){"function"==typeof r?n.unique&&h.has(r)||t.push(r):r&&r.length&&"string"!==ti(r)&&u(r)})}(arguments),r&&!e&&a()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=f&&f--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return u=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return u=o=[],r||e||(t=r=""),this},locked:function(){return!!u},fireWith:function(n,t){return!u&&(t=[n,(t=t||[]).slice?t.slice():t],o.push(t),e||a()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!l}};return h};i.extend({Deferred:function(t){var u=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],e="pending",f={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return f.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(u,function(i,u){var f="function"==typeof n[u[4]]&&n[u[4]];r[u[1]](function(){var n=f&&f.apply(this,arguments);n&&"function"==typeof n.promise?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[u[0]+"With"](this,f?[n]:arguments)})});n=null}).promise()},then:function(t,r,f){function o(t,r,u,f){return function(){var s=this,h=arguments,l=function(){var n,i;if(!(t<e)){if((n=u.apply(s,h))===r.promise())throw TypeError("Thenable self
2-resolution");"function"==typeof(i=n&&("object"==typeof n||"function"==typeof n)&&n.then)?f?i.call(n,o(e,r,yt,f),o(e,r,ir,f)):(e++,i.call(n,o(e,r,yt,f),o(e,r,ir,f),o(e,r,yt,r.notifyWith))):(u!==yt&&(s=void 0,h=[n]),(f||r.resolveWith)(s,h))}},c=f?l:function(){try{l()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,c.error);t+1>=e&&(u!==ir&&(s=void 0,h=[n]),r.rejectWith(s,h))}};t?c():(i.Deferred.getErrorHook&&(c.error=i.Deferred.getErrorHook()),n.setTimeout(c))}}var e=0;return i.Deferred(function(n){u[0][3].add(o(0,n,"function"==typeof f?f:yt,n.notifyWith));u[1][3].add(o(0,n,"function"==typeof t?t:yt));u[2][3].add(o(0,n,"function"==typeof r?r:ir))}).promise()},promise:function(n){return null!=n?i.extend(n,f):f}},r={};return i.each(u,function(n,t){var i=t[2],o=t[5];f[t[1]]=i.add;o&&i.add(function(){e=o},u[3-n][2].disable,u[3-n][3].disable,u[0][2].lock,u[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this};r[t[0]+"With"]=i.fireWith}),f.promise(r),t&&t.call(r,r),r},when:function(n){var f=arguments.length,t=f,e=Array(t),u=d.call(arguments),r=i.Deferred(),o=function(n){return function(t){e[n]=this;u[n]=arguments.length>1?d.call(arguments):t;--f||r.resolveWith(e,u)}};if(f<=1&&(se(n,r.done(o(t)).resolve,r.reject,!f),"pending"===r.state()||"function"==typeof(u[t]&&u[t].then)))return r.then();while(t--)se(u[t],o(t),r.reject);return r.promise()}});he=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){t&&he.test(t.name)&&n.console.warn("jQuery.Deferred exception",t,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};rr=i.Deferred();i.fn.ready=function(n){return rr.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0,!0!==n&&--i.readyWait>0||rr.resolveWith(u,[i]))}});i.ready.then=rr.then;"loading"!==u.readyState?n.setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",ur),n.addEventListener("load",ur));ce=/-([a-z])/g;oi.uid=1;oi.prototype={cache:function(n){var t=n[this.expando];return!t&&(t=Object.create(null),ei(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[st(t)]=i;else for(r in t)u[st(r)]=t[r];return i},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][st(t)]},access:function(n,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(n,t):(this.set(n,t,i),void 0!==i?i:t)},remove:function(n,t){var u,r=n[this.expando];if(void 0!==r){if(void 0!==t)for(u=(t=Array.isArray(t)?t.map(st):(t=st(t))in r?[t]:t.match(y)||[]).length;u--;)delete r[t[u]];(void 0===t||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new oi,s=new oi,eh=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,oh=/[A-Z]/g;i.extend({hasData:function(n){return s.hasData(n)||r.hasData(n)},data:function(n,t,i){return s.access(n,t,i)},removeData:function(n,t){s.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var u,f,e,i=this[0],o=i&&i.attributes;if(void 0===n){if(this.length&&(e=s.get(i),1===i.nodeType&&!r.get(i,"hasDataAttrs"))){for(u=o.length;u--;)o[u]&&0===(f=o[u].name).indexOf("data-")&&le(i,f=st(f.slice(5)),e[f]);r.set(i,"hasDataAttrs",!0)}return e}return"object"==typeof n?this.each(function(){s.set(this,n)}):g(this,function(t){var r;if(i&&void 0===t)return void 0!==(r=s.get(i,n))||void 0!==(r=le(i,n))?r:void 0;this.each(function(){s.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){s.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.set(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t);"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,function(){i.dequeue(n,t)},f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.set(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return("string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)(u=r.get(f[s],n+"queueHooks"))&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var ae=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,si=RegExp("^(?:([+-])=|)("+ae+")([a-z%]*)$","i"),ft=["Top","Right","Bottom","Left"];ve=/^[a-z]/;ye=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;we=/^-ms-/;ru={};i.fn.extend({show:function(){return pt(this,!0)},hide:function(){return pt(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){fr(this)?i(this).show():i(this).hide()})}});wt=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(be)===n.ownerDocument};be={composed:!0};rt.getRootNode||(wt=function(n){return i.contains(n.ownerDocument,n)});uu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;k={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};k.tbody=k.tfoot=k.colgroup=k.caption=k.thead;k.th=k.td;fu=/^$|^module$|\/(?:java|ecma)script/i;ke=/<|&#?\w+;/;hi=/^(?:checkbox|radio)$/i;ou=/^([^.]*)(?:\.(.+)|)/;i.event={add:function(n,t,u,f,e){var p,l,k,a,w,h,s,c,o,b,d,v=r.get(n);if(ei(n))for(u.handler&&(u=(p=u).handler,e=p.selector),e&&i.find.matchesSelector(rt,e),u.guid||(u.guid=i.guid++),(a=v.events)||(a=v.events=Object.create(null)),(l=v.handle)||(l=v.handle=function(t){if(i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),w=(t=(t||"").match(y)||[""]).length;w--;)(o=d=(k=ou.exec(t[w])||[])[1],b=(k[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.
2join(".")},p),(c=a[o])||((c=a[o]=[]).delegateCount=0,(!s.setup||!1===s.setup.call(n,f,b,l))&&n.addEventListener&&n.addEventListener(o,l)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,h):c.push(h))},remove:function(n,t,u,f,e){var v,k,c,a,p,s,h,l,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(a=w.events)){for(p=(t=(t||"").match(y)||[""]).length;p--;){if(o=d=(c=ou.exec(t[p])||[])[1],b=(c[2]||"").split(".").sort(),!o){for(o in a)i.event.remove(n,o+t[p],u,f,!0);continue}for(h=i.event.special[o]||{},l=a[o=(f?h.delegateType:h.bindType)||o]||[],c=c[2]&&RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=v=l.length;v--;)s=l[v],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!c||c.test(s.namespace))&&(!f||f===s.selector||"**"===f&&s.selector)&&(l.splice(v,1),s.selector&&l.delegateCount--,h.remove&&h.remove.call(n,s));k&&!l.length&&(h.teardown&&!1!==h.teardown.call(n,b,w.handle)||i.removeEvent(n,o,w.handle),delete a[o])}i.isEmptyObject(a)&&r.remove(n,"handle events")}},dispatch:function(n){var u,h,c,e,f,l,s=Array(arguments.length),t=i.event.fix(n),a=(r.get(this,"events")||Object.create(null))[t.type]||[],o=i.event.special[t.type]||{};for(u=1,s[0]=t;u<arguments.length;u++)s[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||!1!==o.preDispatch.call(this,t)){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,h=0;(f=e.handlers[h++])&&!t.isImmediatePropagationStopped();
2)(!t.rnamespace||!1===f.namespace||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,void 0!==(c=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,s))&&!1===(t.result=c)&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,h,u,e,o,c=[],s=t.delegateCount,r=n.target;if(s&&!("click"===n.type&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&("click"!==n.type||!0!==r.disabled)){for(f=0,e=[],o={};f<s;f++)void 0===o[u=(h=t[f]).selector+" "]&&(o[u]=h.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),o[u]&&e.push(h);e.length&&c.push({elem:r,handlers:e})}return r=this,s<t.length&&c.push({elem:r,handlers:t.slice(s)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:"function"==typeof t?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:i.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(n){var t=this||n;return hi.test(t.type)&&t.click&&e(t,"input")&&or(t,"click",!0),!1},trigger:function(n){var t=this||n;return hi.test(t.type)&&t.click&&e(t,"input")&&or(t,"click"),!0},_default:function(n){var t=n.target;return hi.test(t.type)&&t.click&&e(t,"input")&&r.get(t,"click")||e(t,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.preventDefault()}}})};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented?kt:dt,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:dt,isPropagationStopped:dt,isImmediatePropagationStopped:dt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=kt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=kt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=kt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.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},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){function u(n){var t=i.event.fix(n);t.type="focusin"===n.type?"focus":"blur";t.isSimulated=!0;t.target===t.currentTarget&&r.get(this,"handle")(t)}i.event.special[n]={setup:function(){if(or(this,n,!0),!o)return!1;this.addEventListener(t,u)},trigger:function(){return or(this,n),!0},teardown:function(){if(!o)return!1;this.removeEventListener(t,u)},_default:function(t){return r.get(t.target,n)},delegateType:t}});
vendor: 4,623 bytes, line 2
2i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,r=n.relatedTarget,f=n.handleObj;return r&&(r===this||i.contains(this,r))||(n.type=f.origType,u=f.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return su(this,n,t,i,r)},one:function(n,t,i,r){return su(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return(!1===t||"function"==typeof t)&&(r=t,t=void 0),!1===r&&(r=dt),this.each(function(){i.event.remove(this,n,r,t)})}});ge=/<script|<style|<link/i;i.extend({htmlPrefilter:function(n){return n},clone:function(n,t,r){var u,l,s,f,c=n.cloneNode(!0),a=wt(n);if(o&&(1===n.nodeType||11===n.nodeType)&&!i.isXMLDoc(n))for(u=0,f=h(c),l=(s=h(n)).length;u<l;u++)e(f[u],"textarea")&&(f[u].defaultValue=s[u].defaultValue);if(t)if(r)for(u=0,s=s||h(n),f=f||h(c),l=s.length;u<l;u++)to(s[u],f[u]);else to(n,c);return(f=h(c,"script")).length>0&&eu(f,!a&&h(n,"script")),c},cleanData:function(n){for(var u,t,f,o=i.event.special,e=0;void 0!==(t=n[e]);e++)if(ei(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)o[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[s.expando]&&(t[s.expando]=void 0)}}});i.fn.extend({detach:function(n){return io(this,n,!0)},remove:function(n){return io(this,n)},text:function(n){return g(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return bt(this,arguments,function(n){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&no(this,n).appendChild(n)})},prepend:function(){return bt(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=no(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return bt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return bt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(h(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return g(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!ge.test(n)&&!k[(uu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},1===t.nodeType&&(i.cleanData(h(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return bt(this,arguments,function(t){var r=this.parentNode;0>i.inArray(this,n)&&(i.cleanData(h(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),v.apply(f,u);return this.pushStack(f)}});ro=RegExp("^("+ae+")(?!px)[a-z%]+$","i");sr=/^--/;hu=["Webkit","Moz","ms"];cu=u.createElement("div").style;it=u.createElement("table");i.extend(vi,{reliableTrDimensions:function(){return oo(),fo},reliableColDimensions:function(){return oo(),eo}});so={position:"absolute",visibility:"hidden",display:"block"};au={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var f,h,e,c=iu(t),l=sr.test(t),s=n.style;if(l||(t=lu(c)),e=i.cssHooks[t]||i.cssHooks[c],void 0===r)return e&&"get"in e&&void 0!==(f=e.get(n,!1,u))?f:s[t];("string"==(h=typeof r)&&(f=si.exec(r))&&f[1]&&(r=pe(n,t,f),h="number"),null!=r&&r==r)&&("number"===h&&(r+=f&&f[3]||(er(c)?"px":"")),o&&""===r&&0===t.indexOf("background")&&(s[t]="inherit"),e&&"set"in e&&void 0===(r=e.set(n,r,u))||(l?s.setProperty(t,r):s[t]=r))}},css:function(n,t,r,u){var f,e,o,s=iu(t);return(sr.test(t)||(t=lu(s)),(o=i.cssHooks[t]||i.cssHooks[s])&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=uo(n,t,u)),"normal"===f&&t in au&&(f=au[t]),""===r||r)?(e=parseFloat(f),!0===r||isFinite(e)?e||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return"none"===i.css(n,"dis
2play")?function(n,t,i){var u,r,f={};for(r in t)f[r]=n.style[r],n.style[r]=t[r];for(r in u=i.call(n),t)n.style[r]=f[r];return u}(n,so,function(){return lo(n,t,u)}):lo(n,t,u)},set:function(n,r,u){var f,e=hr(n),s=u&&"border-box"===i.css(n,"boxSizing",!1,e),o=u?co(n,t,u,s,e):0;return o&&(f=si.exec(r))&&"px"!==(f[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),ho(n,r,o)}}});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];r<4;r++)f[n+ft[r]+t]=u[r]||u[r-2]||u[0];return f}};"margin"!==n&&(i.cssHooks[n+t].set=ho)});i.fn.extend({css:function(n,t){return g(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=hr(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=a;a.prototype={constructor:a,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(er(r)?"px":"")},cur:function(){var n=a.propHooks[this.prop];return n&&n.get?n.get(this):a.propHooks._default.get(this)},run:function(n){var t,r=a.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):a.propHooks._default.set(this),this}};a.prototype.init.prototype=a.prototype;a.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""))&&"auto"!==t?t:0},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1===n.elem.nodeType&&(i.cssHooks[n.prop]||null!=n.elem.style[lu(n.prop)])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=a.prototype.init;i.fx.step={};ao=/^(?:toggle|show|hide)$/;vo=/queueHooks$/;i.Animation=i.extend(w,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return pe(i.elem,n,si.exec(t),i),i}]},tweener:function(n,t){"function"==typeof n?(t=n,n=["*"]):n=n.match(y);for(var i,r=0,u=n.length;r<u;r++)i=n[r],w.tweeners[i]=w.tweeners[i]||[],w.tweeners[i].unshift(t)},prefilters:[function(n,t,u){var f,y,w,c,b,h,o,a,k="width"in t||"height"in t,v=this,p={},s=n.style,l=n.nodeType&&fr(n),e=r.get(n,"fxshow");for(f in u.queue||(null==(c=i._queueHooks(n,"fx")).unqueued&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})})),t)if(y=t[f],ao.test(y)){if(delete t[f],w=w||"toggle"===y,y===(l?"hide":"show"))if("show"===y&&e&&void 0!==e[f])l=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(!(!(h=!i.isEmptyObject(t))&&i.isEmptyObject(p)))for(f in k&&1===n.nodeType&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],null==(o=e&&e.display)&&(o=r.get(n,"display")),"none"===(a=i.css(n,"display"))&&(o?a=o:(pt([n],!0),o=n.style.display||o,a=i.css(n,"display"),pt([n]))),("inline"===a||"inline-block"===a&&null!=o)&&"none"===i.css(n,"float")&&(h||(v.done(function(){s.display=o}),null==o&&(o="none"===(a=s.display)?"":a)),s.display="inline-block")),u.overflow&&(s.overflow="hidden",v.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]})),h=!1,p)h||(e?"hidden"in e&&(l=e.hidden):e=r.set(n,"fxshow",{display:o}),w&&(e.hidden=!l),l&&pt([n],!0),v.done(function(){for(f in l||pt([n]),r.remove(n,"fxshow"),p)i.style(n,f,p[f])})),h=po(l?e[f]:0,f,v),f in e||(e[f]=h.start,l&&(h.end=h.start,h.start=0))}],prefilter:function(n,t){t?w.prefilters.unshift(n):w.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||t||"function"==typeof n&&n,duration:n,easing:r&&t||t&&"function"!=typeof t&&t};return i.fx.off?u.duration=0:"number"!=typeof u.duration&&(u.duration=u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default),(null==u.queue||!0===u.queue)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){"function"==typeof u.old&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(fr).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=w(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||!1===o.queue?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&vo.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(null==n||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1)
2);(s||!u)&&i.dequeue(this,n)})},finish:function(n){return!1!==n&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(lr(t,!0),n,i,u)}});i.each({slideDown:lr("show"),slideUp:lr("hide"),slideToggle:lr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(gt=Date.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();gt=void 0};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.start=function(){cr||(cr=!0,function t(){cr&&(!1===u.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,13),i.fx.tick())}())};i.fx.stop=function(){cr=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx&&i.fx.speeds[t]||t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})};wo=/^(?:input|select|textarea|button)$/i;bo=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return g(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return(1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r)?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=n.getAttribute("tabindex");return t?parseInt(t,10):wo.test(n.nodeName)||bo.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});o&&(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var u,t,f,e,r,o;return"function"==typeof n?this.each(function(t){i(this).addClass(n.call(this,t,ni(this)))}):(u=vu(n)).length?this.each(function(){if(f=ni(this),t=1===this.nodeType&&" "+ht(f)+" "){for(r=0;r<u.length;r++)e=u[r],0>t.indexOf(" "+e+" ")&&(t+=e+" ");f!==(o=ht(t))&&this.setAttribute("class",o)}}):this},removeClass:function(n){var u,t,f,e,r,o;return"function"==typeof n?this.each(function(t){i(this).removeClass(n.call(this,t,ni(this)))}):arguments.length?(u=vu(n)).length?this.each(function(){if(f=ni(this),t=1===this.nodeType&&" "+ht(f)+" "){for(r=0;r<u.length;r++)for(e=u[r];t.indexOf(" "+e+" ")>-1;)t=t.replace(" "+e+" "," ");f!==(o=ht(t))&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(n,t){var e,r,u,f;return"function"==typeof n?this.each(function(r){i(this).toggleClass(n.call(this,r,ni(this),t),t)}):"boolean"==typeof t?t?this.addClass(n):this.removeClass(n):(e=vu(n)).length?this.each(function(){for(u=0,f=i(this);u<e.length;u++)r=e[u],f.hasClass(r)?f.removeClass(r):f.addClass(r)}):this},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+ht(ni(t))+" ").indexOf(i)>-1)return!0;return!1}});i.fn.extend({val:function(n){var t,u,f,r=this[0];return arguments.length?(f="function"==typeof n,this.each(function(r){var u;1===this.nodeType&&(null==(u=f?n.call(this,r,i(this).val()):n)?u="":"number"==typeof u?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):r?(t=i.valHooks[r.type]||i.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(u=t.get(r,"value"))?u:null==(u=r.value)?"":u:void 0}});i.extend({valHooks:{select:{get:function(n){for(var f,t,s=n.options,o=n.selectedIndex,u="select-one"===n.type,h=u?null:[],c=u?o+1:s.length,r=o<0?c:u?o:0;r<c;r++)if((t=s[r]).selected&&!t.disabled&&(!t.parentNode.disabled||!e(t.parentNode,"optgroup"))){if(f=i(t).val(),u)return f;h.push(f)}return h},set:function(n,t){for(var r,u,f=n.options,e=i.makeArray(t),o=f.length;o--;)((u=f[o]).selected=i.inArray(i(u).val(),e)>-1)&&(r=!0);return r||(n.selectedIndex=-1),e}}}});o&&(i.valHooks.option={get:function(n){var t=n.getAttribute("value");return null!=t?t:ht(i.text(n))}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}}});yu=/^(?:focusinfocus|focusoutblur)$/;pu=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,f,e,o){var b,h,c,k,a,v,l,y,p=[e||u],s=ai.call(t,"type")?t.type:t,w=ai.call(t,"namespace")?t.namespace.split("."):[];
vendor: 12,256 bytes, line 2
2if((h=y=c=e=e||u,!(3===e.nodeType||8===e.nodeType||yu.test(s+i.event.triggered)))&&(s.indexOf(".")>-1&&(s=(w=s.split(".")).shift(),w.sort()),a=0>s.indexOf(":")&&"on"+s,(t=t[i.expando]?t:new i.Event(s,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=w.join("."),t.rnamespace=t.namespace?RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[s]||{},o||!l.trigger||!1!==l.trigger.apply(e,f))){if(!o&&!l.noBubble&&!ii(e)){for(k=l.delegateType||s,!yu.test(k+s)&&(h=h.parentNode);h;h=h.parentNode)p.push(h),c=h;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(b=0;(h=p[b++])&&!t.isPropagationStopped();)y=h,t.type=b>1?k:l.bindType||s,(v=(r.get(h,"events")||Object.create(null))[t.type]&&r.get(h,"handle"))&&v.apply(h,f),(v=a&&h[a])&&v.apply&&ei(h)&&(t.result=v.apply(h,f),!1===t.result&&t.preventDefault());return t.type=s,!o&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),f))&&ei(e)&&a&&"function"==typeof e[s]&&!ii(e)&&((c=e[a])&&(e[a]=null),i.event.triggered=s,t.isPropagationStopped()&&y.addEventListener(s,pu),e[s](),t.isPropagationStopped()&&y.removeEventListener(s,pu),i.event.triggered=void 0,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});var ci=n.location,ko={guid:Date.now()},wu=/\?/;i.parseXML=function(t){var r,u;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(n){}return u=r&&r.getElementsByTagName("parsererror")[0],(!r||u)&&i.error("Invalid XML: "+(u?i.map(u.childNodes,function(n){return n.textContent}).join("\n"):t)),r};var ch=/\[\]$/,go=/\r?\n/g,lh=/^(?:submit|button|image|reset|file)$/i,ah=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){var i="function"==typeof t?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==i?"":i)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)!function n(t,r,u,f){var e;if(Array.isArray(r))i.each(r,function(i,r){u||ch.test(t)?f(t,r):n(t+"["+("object"==typeof r&&null!=r?i:"")+"]",r,u,f)});else if(u||"object"!==ti(r))f(t,r);else for(e in r)n(t+"["+e+"]",r[e],u,f)}(r,n[r],t,f);return u.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&ah.test(this.nodeName)&&!lh.test(n)&&(this.checked||!hi.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(go,"\r\n")}}):{name:t.name,value:r.replace(go,"\r\n")}}).get()}});var vh=/%20/g,yh=/#.*$/,ph=/([?&])_=[^&]*/,wh=/^(.*?):[ \t]*([^\r\n]*)$/mg,bh=/^(?:GET|HEAD)$/,kh=/^\/\//,ns={},bu={},ts="*/".concat("*"),ku=u.createElement("a");return ku.href=ci.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ci.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ci.protocol),global:!0,processData:!0,"async":!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ts,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":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?du(du(n,i.ajaxSettings),t):du(i.ajaxSettings,n)},ajaxPrefilter:is(ns),ajaxTransport:is(bu),ajax:function(t,r){function b(t,r,u,c){var y,rt,b,p,g,a=r;s||(s=!0,d&&n.clearTimeout(d),l=void 0,k=c||"",e.readyState=4*(t>0),y=t>=200&&t<300||304===t,u&&(p=function(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}(f,e,u)),!y&&i.inArray("script",f.dataTypes)>-1&&0>i.inArray("json",f.dataTypes)&&(f.converters["text script"]=function(){}),p=function(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(!(f=o[e+" "+u]||o["* "+u]))for(h in o)if((s=h.split(" "))[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){!0===f?f=o[h]:!0!==o[h]&&(u=s[0],c.unshift(s[1]));break}if(!0!==f)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(n){return{state:"parsererror",error:f?n:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}(f,p,e,y),y?(f.ifModified&&((g=e.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=g),(g=e.getResponseHeader("etag"))&&(i.etag[o]=g)),204===t||"HEAD"===f.type?a="nocontent":304===t?a="notmodified":(a=p.state,rt=p.data,y=!(b=p.error))):(b=a,(t||!a)&&(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",y?tt.resolveWith(h,[rt,a,e]):tt.rejectWith(h,[e,a,b]),e.statusCode(w),w=void 0,v&&nt.trigger(y?"ajaxSuccess":"ajaxError",[e,f,y?rt:b]),it.fireWith(h,[e,a]),v&&(nt.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var l,o,k,a,d,c,s,v,g,p,f=i.ajaxSetup({},r),h=f.context||f,nt=f.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=f.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!a)for(a={};t=wh.exec(k);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[n.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return null==s&&(rt[n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n]=t),this},overrideMimeType:function(n){return null==s&&(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return l&&l.abort(t),b(0,t),this}};if(tt.promise(e),f.url=((t||f.url||ci.href)+"").replace(kh,ci.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(y)||[""],null==f.crossDomain){c=u.createElement("a");try{c.href=f.url;c.href=c.href;f.crossDomain=ku.protocol+"//"+ku.host!=c.protocol+"//"+c.host}catch(n){f.crossDomain=!0}}if(rs(ns,f,r,e),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=i.param(f.data,f.traditional)),s)return e;for(g in(v=i.event&&f.global)&&0==i.active++&&i.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!bh.test(f.type),o=f.url.replace(yh,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(vh,"+")):(p=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(wu.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(ph,"$1"),p=(wu.test(o)?"&":"?")+"_="+ko.guid+++p),f.url=o+p),f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType),e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+ts+"; q=0.01":""):f.accepts["*"]),f.headers)e.setRequestHeader(g,f.headers[g]);if(f.beforeSend&&(!1===f.beforeSend.call(h,e,f)||s))return e.abort();if(ft="abort",it.add(f.complete),e.done(f.success),e.fail(f.error),l=rs(bu,f,r,e)){if(e.readyState=1,v&&nt.trigger("ajaxSend",[e,f]),s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=!1;l.send(rt,b)}catch(n){if(s)throw n;b(-1,n)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return("function"==typeof r||null===r)&&(f=f||u,u=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(n){for(var t in n.headers)"content-type"===t.toLowerCase()&&(n.contentType=n.headers[t]||"")}),i._evalUrl=function(n,t,r){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,"async":!1,global:!1,scriptAttrs:t.crossOrigin?{crossOrigin:t.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t,r)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&("function"==typeof n&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return"function"==typeof n?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t="function"==typeof n;return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){return new n.XMLHttpRequest},us={0:200},i.ajaxTransport(function(n){var t;return{send:function(i,r){var f,u=n.xhr();if(u.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(f in n.xhrFields)u[f]=n.xhrFields[f];for(f in n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(f,i[f]);t=function(n){return function(){t&&(t=u.onload=u.onerror=u.onabort=u.ontimeout=null,"abort"===n?u.abort():"error"===n?r(u.status,u.statusText):r(us[u.status]||u.status,u.statusText,"text"===(u.responseType||"text")?{text:u.responseText}:{binary:u.response},u.getAllResponseHeaders()))}};u.onload=t();u.onabort=u.onerror=u.ontimeout=t("error");t=t("abort");try{u.send(n.hasContent&&n.data||null)}catch(n){if(t)throw n;}},abort:function(){t&&t()}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);fs(n)&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(fs(n)){var r,t;return{send:function(f,e){r=i("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),gu=[],ar=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=gu.pop()||i.expando+"_"+ko.guid++;return this[n]=!0,n}}),i.ajaxPrefilter("jsonp",function(t,r,u){var f,e,o,s=!1!==t.jsonp&&(ar.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ar.test(t.data)&&"data");return f=t.jsonpCallback="function"==typeof t.jsonpCallback?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ar,"$1"+f):!1!==t.jsonp&&(t.url+=(wu.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){void 0===e?i(n).removeProp(f):n[f]=e;
2t[f]&&(t.jsonpCallback=r.jsonpCallback,gu.push(f));o&&"function"==typeof e&&e(o[0]);o=e=void 0}),"script"}),i.ajaxPrefilter(function(t,r){"string"==typeof t.data||i.isPlainObject(t.data)||Array.isArray(t.data)||"processData"in r||(t.processData=!1);t.data instanceof n.FormData&&(t.contentType=!1)}),i.parseHTML=function(t,r,u){var f,e;return"string"==typeof t||re(t+"")?("boolean"==typeof r&&(u=r,r=!1),r||(r=(new n.DOMParser).parseFromString("","text/html")),f=nu.exec(t),e=!u&&[],f)?[r.createElement(f[1])]:(f=de([t],r,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes)):[]},i.fn.load=function(n,t,r){var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=ht(n.slice(e)),n=n.slice(0,e)),"function"==typeof t?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var a,e,o,s,u,h,c=i.css(n,"position"),l=i(n),f={};"static"===c&&(n.style.position="relative");u=l.offset();o=i.css(n,"top");h=i.css(n,"left");("absolute"===c||"fixed"===c)&&(o+h).indexOf("auto")>-1?(s=(a=l.position()).top,e=a.left):(s=parseFloat(o)||0,e=parseFloat(h)||0);"function"==typeof t&&(t=t.call(n,r,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+s);null!=t.left&&(f.left=t.left-u.left+e);"using"in t?t.using.call(n,f):l.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,u,f,t=this[0],r={top:0,left:0};if("fixed"===i.css(t,"position"))u=t.getBoundingClientRect();else{for(u=this.offset(),f=t.ownerDocument,n=t.offsetParent||f.documentElement;n&&n!==f.documentElement&&"static"===i.css(n,"position");)n=n.offsetParent||f.documentElement;n&&n!==t&&1===n.nodeType&&"static"!==i.css(n,"position")&&(r=i(n).offset(),r.top+=i.css(n,"borderTopWidth",!0),r.left+=i.css(n,"borderLeftWidth",!0))}return{top:u.top-r.top-i.css(t,"marginTop",!0),left:u.left-r.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||rt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return g(this,function(n,i,u){var f;if(ii(n)?f=n:9===n.nodeType&&(f=n.defaultView),void 0===u)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||"boolean"!=typeof f),s=r||(!0===f||!0===e?"margin":"border");return g(this,function(t,r,f){var e;return ii(t)?0===u.indexOf("outer")?t["inner"+n]:t.document.documentElement["client"+n]:9===t.nodeType?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):void 0===f?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:void 0,o)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1==arguments.length?this.off(n,"**"):this.off(t,n||"**",i)},hover:function(n,t){return this.on("mouseenter",n).on("mouseleave",t||n)}}),i.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(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),i.proxy=function(n,t){var r,u,f;if("string"==typeof t&&(r=n[t],t=n,n=r),"function"==typeof n)return u=d.call(arguments,2),(f=function(){return n.apply(t||this,u.concat(d.call(arguments)))}).guid=n.guid=n.guid||i.guid++,f},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.expr[":"]=i.expr.filters=i.expr.pseudos,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),es=n.jQuery,os=n.$,i.noConflict=function(t){return n.$===i&&(n.$=os),t&&n.jQuery===i&&(n.jQuery=es),i},void 0===t&&(n.jQuery=n.$=i),i}); 3/*! 4 * jQuery Cookie Plugin v1.4.0 5 * https://github.com/carhartl/jquery-cookie 6 * 7 * Copyright 2013 Klaus Hartl 8 * Released under the MIT license 9 */ 10(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)})(function(n){function i(n){return t.raw?n:encodeURIComponent(n)}function f(n){return t.raw?n:decodeURIComponent(n)}function e(n){return i(t.json?JSON.stringify(n):String(n))}function o(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{n=decodeURIComponent(n.replace(u," "))}catch(i){return}try{return t.json?JSON.parse(n):n}catch(i){}}function r(n,i){var r=t.raw?n:o(n);return isFunction(i)?i(r):r}var u=/\+/g,t=n.cookie=function(u,o,s){var y,a,h,v,c,p;if(o!==undefined&&!isFunction(o))return s=n.extend({},t.defaults,s),typeof s.expires=="number"&&(y=s.expires,a=s.expires=new Date,a.setDate(a.getDate()+y)),document.cookie=[i(u),"=",e(o),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":"",].join("");for(h=u?undefined:{},v=document.cookie?document.cookie.split("; "):[],c=0,p=v.length;c<p;c++){var w=v[c].split("="),b=f(w.shift()),l=w.join("=");if(u&&u===b){h=r(l,o);break}u||(l=r(l))===undefined||(h[b]=l)}return h};t.defaults={};
10n.removeCookie=function(t,i){return n.cookie(t)!==undefined?(n.cookie(t,"",n.extend({},i,{expires:-1})),!0):!1}}); 11function createSearchInfoContainer(n){if(settings.liveSearch!==undefined){var t=$("<div />"),i=$("<span />");t.addClass("searchInfoContainer").attr("role","alert");t.css("width",n.outerWidth()+"px");i.addClass("icon-cancel before closeButton");i.attr({role:"button","aria-label":settings.liveSearch.hideMessage,tabindex:-1});i.on("click",function(){return t.animate({opacity:0},200,function(){t.remove()}),!1});t.append(i);n.attr("aria-describedby","searchInfoContainer");t.insertAfter(n)}}function removeSearchInfoContainer(){$(".searchInfoContainer").remove()}function getUrlParameter(n){for(var u=window.location.search.substring(1),r=u.split("&"),t,i=0;i<r.length;i++)if(t=r[i].split("="),t[0]===n)return t[1]===undefined?!0:decodeURIComponent(t[1])}function onImageError(n){var t=$(n);return t.data("imageErrorHandled")?!1:(t.data("imageErrorHandled",!0).removeAttr("onerror"),t.closest("picture").find("source").remove(),t.prop("src","/communities/common/themes/mett%20responsive/images/various/transparent.png"),!0)}
11function generatetUniqueProxyToken(){var t="",i=new Date,n="000"+i.getMilliseconds();return n=n.substr(n.length-3),t=n+i.getTime().toString(),t.substr(0,parseInt(n.charAt(2))+3)+n+t.substr(parseInt(n.charAt(2))+3)}function resetLocationHash(){window.history?window.history.pushState("",document.title,window.location.href.replace(window.location.hash,"")):window.location.hash=""}function trim(n){return typeof n!="undefined"&&n!==null&&typeof n=="string"?n.trim():""}function isNumeric(n){return typeof n!="undefined"&&n!==null?!isNaN(n):!1}function isFunction(n){return typeof n!="undefined"&&n!==null?typeof n=="function":!1}function isObject(n){return typeof n!="undefined"&&n!==null?typeof n=="object":!1}function isArray(n){return typeof n!="undefined"&&n!==null?Array.isArray(n):!1}function isUrl(n){var t=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i");return!!t.test(n)}function parseHttpHeaders(n){return new Map(n.split("\r\n").map(n=>n.split(":")))}function formatUnixDate(n,t){if(n==null||n==""||!isNumeric(n))return"";var i=new Date(Number(n)),r=String(i.getDate()).padStart(2,"0"),u=String(i.getMonth()+1).padStart(2,"0"),f=i.getFullYear();return t==="yyyy-mm-dd"?f+"-"+u+"-"+r:t==="mm-dd-yyyy"?u+"-"+r+"-"+f:r+"-"+u+"-"+f}function daysBetween(n){if(n==null||n==""||!isNumeric(n))return-1;return Math.ceil((n-Date.now())/864e5)}String.prototype.splice=function(n,t,i){return this.slice(0,n)+i+this.slice(n+Math.abs(t))};$.fn.getQueryString=function(n){return decodeURI(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURI(n).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))};$.fn.getAnchor=function(n){return decodeURI(window.location.href.replace(new RegExp("^(?:.*[&#]"+encodeURI(n).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))};$.fn.getUniqueID=function(){var n=new Date,t=n.getFullYear()+n.getMonth()+n.getDate()+n.getTime();return t.toString()};$.fn.getFileType=function(n){n=n.replace(".","");var t="";switch(n){case"pdf":t="pdf";break;case"doc":case"docx":t="word";break;case"xls":case"xlsx":t="excel";break;case"ppt":case"pptx":t="powerpoint";break;case"jpg":case"jpeg":case"png":case"gif":case"bmp":t="image";break;case"zip":case"rar":t="archive";break;case"mp3":case"wav":case"flac":case"ogg":t="audio";break;case"avi":case"mkv":case"mov":case"mpeg":case"mp4":t="video"}return t};$.fn.removeHTML=function(n){if(typeof n!="undefined"&&n!=null&&n!="")return n.replace(/<(?:.|\n)*?>/gm,"")};$.fn.removeSpecialCharacters=function(n,t){if(n!="")return t=="email"?n.replace(/[^a-zA-Z0-9-_@.&+]/g,""):n.replace(/[^a-zA-Z0-9-_ ]/g,"")};$.fn.replaceSpecialCharacters=function(n){var t={a:"[à áâãäå]",ae:"æ",c:"ç",e:"[èéêë]",i:"[ìÃîï]",n:"ñ",o:"[òóôõö]",oe:"Å",u:"[ùúûűü]",y:"[ýÿ]"};for(i in t)n=n.replace(new RegExp(t[i],"g"),i);return n};$.fn.save=function(n){var n=$.extend({loader:!0,afterHandler:!1,afterUpload:!1,pluploadRequired:!1,handler:"",validationGroup:""},n),i=$(this),u=$(this).parent(),t=u.parents(".toolbar"),f=!0,r;if(n.afterHandler||n.afterUpload||typeof Page_ClientValidate!="function"||Page_ClientValidate(n.validationGroup)||(f=!1),f){if(window.onbeforeunload=null,$(window).data("beforeunload",window.onbeforeunload),!n.afterHandler&&!n.afterUpload&&($.fn.setMultiSelectsData(),n.loader&&t.find(".loader").length>0&&(t.attr("id")=="toolbarBottom"&&t.css("min-height","75px"),t.find(".button").hide(),t.find(".loader").show()),$.fn.initializeErrors(),n.handler.length>0)){u.find(".submitButton").saveWithHandler({handler:n.handler});return}if($(".uploader").length>0&&!n.afterUpload&&i.parent(".button").data("save-plupload-submit")){if(r=!1,window.onbeforeunload=function(){return settings.warnings.cancelUploadText},$(window).data("beforeunload",window.onbeforeunload),$(".uploader").each(function(){var n=$(this).pluploadQueue();n.total.uploaded==0&&n.files.length>0?(n.start(),r=!0):$(this).addClass("done")}),r)return;if(n.pluploadRequired)return $.fn.showError(settings.errors.noFileErrorText+" (500.40)"),t.find(".loader").hide(),t.find(".button").show(),!1;i=t.find(".submitButton");n.afterUpload=!0}(n.afterHandler||n.afterUpload)&&(window.onbeforeunload=null,$(window).data("beforeunload",window.onbeforeunload),$(".uploadStatus").val(200),i.length>0&&i[0].click())}else $(".error").initializeErrors()};$.fn.saveWithHandler=function(n){var t=$(this),i,f,r,u;if($(".itemID").length>0&&$(".itemID:last").val().length==0)switch(n.handler){case"commentWithFile":i=trim($("#addComment .commentFieldEditor .commentEditor:visible textarea").val()||"");f=$("#addComment .commentFieldEditor .editor iframe").contents().find("body");f.length>0&&(i=trim(f.text()));i!=""&&captchaIsValid()?$.ajax({type:"POST",url:"/HandlerCommentsAddItem.ashx?",data:{pid:$("#addComment .currentItemID").val(),nameUser:$("#addComment .commentAuthor input:text").val(),namePage:$("#addComment .commentFieldEditor .editor iframe").contents().find("body").html(),token:$("input[name='__RequestVerificationToken']").val()}}).done(function(n){typeof n.contentPageID!="undefined"&&n.contentPageID!=null&&n.contentPageID!==""&&n.contentPageID!="error"?($("#addComment .upload .itemID").val(n.contentPageID),$("#addComment .itemAdded input:checkbox").prop("checked",!0),t.save({afterHandler:!0})):$.fn.showError(settings.errors.generalErrorText+" (500.3)")}).fail(function(){$.fn.showError(settings.errors.generalErrorText+" (500.4)")}):(r=[],i==""&&r.push(settings.errors.noCommentText+" (500.24)"),captchaIsValid()||r.push(settings.errors.invalidCaptchaText+" (500.106)"),$.fn.showError(r.join("<br />")),t.parents(".toolbar").find(".loader").hide(),t.parents(".toolbar").find(".button").show());break;case"forum":trim($("#forum .field.topic input:text").val()).length>0&&$.ajax({type:"GET",url:"/HandlerDiscussionAddItem.ashx?",data:{namePage:tr
11im($("#forum .field.topic input:text").val()),token:$("input[name='__RequestVerificationToken']").val()}}).done(function(n){typeof n.contentPageID!="undefined"&&n.contentPageID!=null&&n.contentPageID!==""&&n.contentPageID!="error"?($("#forum .itemID").val(n.contentPageID),$("#forum .itemAdded input:checkbox").prop("checked",!0),t.save({afterHandler:!0})):$.fn.showError(settings.errors.generalErrorText+" (500.1)")}).fail(function(){$.fn.showError(settings.errors.generalErrorText+" (500.2)")});break;case"marker":u="";u=trim($("#marker .field.markerTitle input:text, #marker .field.projectTitle input:text").val());u.length>0&&$.ajax({type:"POST",url:"/api/ContentPages",data:{action:"add",pageType:"mapMarker",sectionID:$("#marker .sectionIDs").val(),titleText:u,token:$("input[name='__RequestVerificationToken']").val()}}).done(function(n){n=JSON.parse(n);typeof n.contentPageID!="undefined"&&n.contentPageID!=null&&n.contentPageID!==""&&n.contentPageID!="error"?($("#marker .itemID").val(n.contentPageID),t.save({afterHandler:!0})):$.fn.showError(settings.errors.generalErrorText+" (500.5)")}).fail(function(){$.fn.showError(settings.errors.generalErrorText+" (500.6)")});break;case"notifications":typeof changedNotifications!="undefined"?($(".changedCheckboxes").val(JSON.stringify(changedNotifications)),t.save({afterHandler:!0})):$.fn.showError(settings.errors.generalErrorText+" (500.28)");break;case"eParticipation":trim($("#eParticipation .field.projectTitle input:text").val()).length>0&&trim($("#eParticipation .field.projectDescription textarea").val()).length>0&&$.ajax({type:"POST",url:"/api/ContentPages",data:{action:"add",pageType:"eParticipatie",sectionID:settings.section.ID,titleText:trim($("#eParticipation .field.projectTitle input:text").val()),briefDescription:trim($("#eParticipation .field.projectDescription textarea").val()),token:$("input[name='__RequestVerificationToken']").val()}}).done(function(n){n=JSON.parse(n);typeof n.contentPageID!="undefined"&&n.contentPageID!=null&&n.contentPageID!==""&&n.contentPageID!="error"?($("#eParticipation .itemID").val(n.contentPageID),t.save({afterHandler:!0})):$.fn.showError(settings.errors.generalErrorText+" (500.32)")}).fail(function(){$.fn.showError(settings.errors.generalErrorText+" (500.33)")});break;case"documents":trim($("#documents .field.folderName input:text").val()).length>0&&$.ajax({type:"GET",url:"/handlerdownloadadditem.ashx?",data:{pid:$("#documents .multiSelectDestinationIDs").val(),name:trim($("#documents .field.folderName input:text").val()),token:$("input[name='__RequestVerificationToken']").val()}}).done(function(n){typeof n.contentPageID!="undefined"&&n.contentPageID!=null&&n.contentPageID!==""&&n.contentPageID!="error"?($("#documents .itemID").val(n.contentPageID),$("#documents .itemAdded input:checkbox").prop("checked",!0),t.save({afterHandler:!0})):$.fn.showError(settings.errors.generalErrorText+" (500.36)")}).fail(function(){$.fn.showError(settings.errors.generalErrorText+" (500.37)")})}else t.save({afterHandler:!0})};$.fn.setMultiSelectsData=function(){$(".multiSelect").each(function(){var n=$("#"+$(this).find(".destination").attr("id").replace("listPickerDestination","listPickerSelectedItems")).val(""),u=$(this).hasClass("rightsSelect"),t,i;if($(this).find(".combinedSelect option:selected").each(function(){if(u){var t=$(this).data("rolename")!==undefined?$(this).data("rolename"):$(this).text();n.val(n.val()+";"+$(this).val()+":"+t)}else n.val(n.val()+";"+$(this).val())}),u&&(t=$(this).find(".combinedSelect option:contains('"+settings.roles.administrators+"')").val(),i=$(this).find(".combinedSelect option:contains('"+settings.roles.moderators+"')").val(),t!=undefined&&i!=undefined)){var r=n.val().split(";"),f=!1,e=!1;$.each(r,function(n){r[n]==t+":Community-Administrators"&&(f=!0);r[n]==i+":Community-Moderators"&&(e=!0)});f||n.val(n.val()+";"+t+":Community-Administrators");e||n.val(n.val()+";"+i+":Community-Moderators")}})};$.fn.updateProgressBar=function(n){var n=$.extend({progress:0,showPercentage:!0},n),i=$(this),t=$(this).find(".progressBar");t.stop().animate({left:n.progress/100*i.width()},1e3);n.showPercentage&&t.html('<span class="progressPercentage">'+n.progress+"%<\/span>");n.progress>=100&&$(".allDone").removeClass("hide")};$.fn.submitOnEnter=function(){var n=$(this),t=n.parent();t.is(".mtaContainer")&&(t=t.parent());n.on("focus",function(){n.parents(".search").length>0&&(n.val()==settings.fields.searchFieldText||n.val()==n.attr("data-search-default"))&&n.val("")}
11);n.on("blur",function(){n.val()===""&&n.parents(".search").length>0&&n.attr("data-search-default")!==undefined&&n.val(n.attr("data-search-default"))});n.on("keypress",function(i){var u,r,o,f,e;return window.event?u=window.event.keyCode:i&&(u=i.which),u===13?($(".searchInfoContainer").length===0&&(n.attr("id")==="shortcutSearch"?(createSearchInfoContainer($("#top .field.search > input")),r=$("#top .field.search .searchInfoContainer")):(createSearchInfoContainer($(".sectionOptions .search > input")),r=$(".sectionOptions .search .searchInfoContainer"))),o='<span class="searchInfoText">'+settings.liveSearch.minimumSearchLengthText.replace("{0}",settings.liveSearch.minimumSearchLength)+"<\/span>",trim(n.val())!==""&&trim(n.val()).length>2?($(this).showSearchAnim(),r.stop().css({opacity:0,left:"100vw"}),r.find(".closeButton").attr("tabindex",-1),r.find(".searchInfoText").remove(),n.parents("#top, #searchContainer").length>0?(e="/shortcuts/search_search.aspx?search="+encodeURIComponent(n.val()),f=t.find("input:button").length>0?t.find("input:button:first"):t.find("a:first")):f=t.find("a").length>0?t.find("a:first"):t.find("input:submit").length>0?t.find("input:submit:first"):$(".button.save:last a, .button.save:last input:submit, .button.login:last input:submit"),e?window.location=e:(i.preventDefault(),f[0].click())):(r.parent().css("overflow","visible"),r.stop().css({opacity:1,left:0}),r.find(".closeButton").attr("tabindex",0),r.find(".searchInfoText").length===0&&r.prepend(o)),!1):void 0})};$.fn.showSearchAnim=function(){var i=$(this),n=$("<span />"),t;n.addClass("searchLoader");$(this).attr("id")=="shortcutSearch"?(t=$("#shortcutSearch").parent(),t.append(n),searchButton=t.find(".button").addClass("hide")):$(".sectionOptions .search").append(n);document.body.style.cursor="wait";$(document).on("keyup",function(n){if(n.keyCode==27)return $(".searchLoader").remove(),i.parent().find(".button").removeClass("hide"),document.body.style.cursor="default",!1})};$.fn.setColor=function(n){var n=$.extend({color:"#ffffff",opacity:1},n),t,u,e,i,s,r;if($(this).length>0)if($(this).is("img")){if(t=$(this),u=document.createElement("canvas"),u.width=t.width(),u.height=t.height(),u.getContext&&t.width()!=0&&t.height()!=0){e=u.getContext("2d",{willReadFrequently:!0});e.drawImage(t[0],0,0,t.width(),t.height());var o=e.getImageData(0,0,t.width(),t.height()),f=e.getImageData(0,0,t.width(),t.height()),r=$.fn.hexToRGB(n.color);for(i=0,s=f.data.length;i<s;i+=4)f.data[i+3]>0&&(f.data[i]=o.data[i]/255*r.R,f.data[i+1]=o.data[i+1]/255*r.G,f.data[i+2]=o.data[i+2]/255*r.B);e.putImageData(f,0,0);t.attr("src",u.toDataURL("image/png"));t.show()}}else r=$.fn.hexToRGB(n.color),$(this).css("background","rgba("+r.R+", "+r.G+", "+r.B+", "+n.opacity+")")};$.fn.hexToRGB=function(n){var t=parseInt(n.replace(/^#/,""),16);return{R:t>>>16&255,G:t>>>8&255,B:t&255}};$.fn.isHex=function(n){return/^#[0-9A-F]{6}$/i.test(n)};$.fn.fixedPath=function(){if($("html").hasClass("desktop")){if($(window).width()<1e3){$("#pathOptions").removeAttr("style").removeClass("scrolling");return}$(document).scrollTop()>$("#royalSlider").outerHeight()?$("#pathOptions").css({top:$("#top").outerHeight()}).addClass("scrolling"):$("#pathOptions").removeClass("scrolling").removeAttr("style")}};$.fn.rememberFocus=function(){settings.focussedObjectID=typeof document.activeElement!=null&&document.activeElement!=null&&document.activeElement.id!=""&&typeof document.activeElement.attributes["data-ignore-ajax-focus"]=="undefined"?document.activeElement.id:null};$.fn.restoreFocus=function(){typeof settings.focussedObjectID!="undefined"&&settings.focussedObjectID!=null&&trim(settings.focussedObjectID)!=""&&settings.focussedObjectID.indexOf("$")==-1&&setTimeout(function(){$("#"+settings.focussedObjectID).trigger("focus")},200)};$.fn.showLoader=function(n){var i,t,r,u;if(typeof n._updatePanelsToUpdate!="undefined"&&n._updatePanelsToUpdate!=null&&(i=$("#"+n._updatePanelsToUpdate[0].split("$").join("_")),i.hasClass("updatePanel"))){i.css("position")=="static"&&i.css({position:"relative"});t=$("<div />");t.addClass("loader update");t.attr("role","status");r=$("<span>");r.addClass("screenReaderContent");
11r.text(settings.buttons.savingText);t.append(r);u=function(){var n=$(document).scrollTop()+$(window).height()/2-t.offset().top;n>t.height()-30&&(n=t.height()-30);n<20&&(n=20);t.css({backgroundPosition:"center "+n+"px"})};i.append(t.show());$(document).on("scroll",u);u()}};$.fn.showMessage=function(n){var h={content:"",className:"alert warning",showCloseButton:!1,showHideButton:!1,showActionButton:!1,hideButtonText:settings.buttons.hideMessageText,hideBannerButtonText:settings.buttons.hideBannerText,actionButtonText:settings.buttons.actionButtonText,actionButtonLink:"",autoHideAfter:5e3,cookieID:-1},n=$.extend(h,n),c=$(this),t,f,i;if(n.messageType=="community"&&(n.className="alert general banner"),$(".message.banner").length>0&&n.messageType=="community"&&$(".message.banner").remove(),$(".message.warning").length>0&&n.messageType=="maintenance"&&$(".message.warning").remove(),t=$('<div class="message '+n.className+'"><div class="messageContent">'+n.content+'<\/div><div class="messageButtons"><\/div><\/div>'),$.cookie("mettSystemMessage")!=n.cookieID){if(n.showCloseButton){f=$("<div />");i=$("<input />");f.attr("class","button cancel ghost icon-cancel-circled before");i.attr("type","button");i.val(settings.buttons.closeMessageText);i.off("click").on("click",function(){$(".message").remove()});t.find(".messageButtons").append(f.append(i))}if(n.showHideButton){var e=$("<div />"),r=$("<input />"),o=n.hideButtonText;n.messageType=="community"&&(o=n.hideBannerButtonText);e.attr("class","button hideButton ghost icon-cancel-circled before");r.attr("type","button");r.val(o);r.off("click").on("click",function(){if(n.cookieID!=-1){$.removeCookie("mettSystemMessage",{path:"/"});var i=new Date;i.setTime(i.getTime()+2592e6);$.cookie("mettSystemMessage",n.cookieID,{expires:i,path:"/"})}t.remove();$("#top").hasClass("banner-active")&&($("#top").removeClass("banner-active").removeAttr("data-topmargin"),$(".message.warning").length>0&&$(".message.warning").css({top:0}))});t.find(".messageButtons").append(e.append(r))}if(n.showActionButton){var s=$("<div />"),u=$("<input />"),l=n.actionButtonText;if(s.attr("class","button actionButton general icon-forward before"),u.attr("type","button"),u.val(l),n.actionButtonLink!="")u.off("click").on("click",function(){window.open(n.actionButtonLink)});t.find(".messageButtons").append(s.append(u))}setTimeout(function(){t.css({display:"block",top:-(t.outerHeight()+5)});var n=0;$("body > .message").length>1&&(n=$(".message").outerHeight());t.stop(!0).animate({top:n},500)},50);c.append(t);n.autoHideAfter>0?setTimeout(function(){t.stop(!0).animate({top:-(t.outerHeight()+5)},1e3)},n.autoHideAfter):$("#top").addClass("banner-active").attr("data-topmargin",t.outerHeight())}};$.fn.showError=function(n,t,i){(settings.isLocal||settings.user.isAdmin)&&i&&console.error(i.toString());t==="console"?console.log(n):$.fn.alert(n)};$.fn.setSystemRoleNames=function(){var n=$(this);n.each(function(){var n=$(this);n.data("required")!=undefined&&n.data("required")&&n.addClass("disabled");switch(n.text()){case"Community-Administrators":n.attr("data-rolename",n.text());n.text(settings.roles.administrators);break;case"Community-Moderators":n.attr("data-rolename",n.text());n.text(settings.roles.moderators);break;case"Community-Authenticated":n.attr("data-rolename",n.text());n.text(settings.roles.authenticated);break;case"Community-Everyone":n.attr("data-rolename",n.text());n.text(settings.roles.everyone);break;case"Community-Roleless":n.attr("data-rolename",n.text());n.text(settings.roles.roleless);break;case"Community-Senders":n.attr("data-rolename",n.text());n.text(settings.roles.senders)}})};$.fn.setVideoFrameSize=function(){$(this).each(function(){var n=$(this);typeof n.data("aspectRatio")!="undefined"&&n.data("aspectRatio")!=null&&n.css({minHeight:n.width()/n.data("aspectRatio")})})};$.fn.placeLastHandlerFirst=function(n){(typeof n=="undefined"||n==null||trim(n)=="")&&(n="click");$(this).each(function(){var i=$(this),r=$._data(i[0],"events"),t;typeof r!="undefined"&&i!=null&&(t=r[n],typeof t!="undefined"&&t!=null&&t.length>
111&&t.unshift(t.pop()))})};$.fn.setPollVote=function(n,t){var r=$(n),i=r.find("input:checked").val();i!=null&&i!=""&&i!=undefined&&(r.find("input[type='submit']").parent().replaceWith('<div class="loader show"><\/div>'),$.getJSON("/HandlerGlobal.ashx?",{action:"pollVote",value:i,pollID:t,preventCache:(new Date).getTime(),token:$("input[name='__RequestVerificationToken']").val()},function(){document.location.reload()}))};$.fn.changeElementType=function(n){$(this).each(function(){var r={},t={},i;$.each(this.attributes,function(n,t){r[t.nodeName]=t.nodeValue});t=$._data(this,"events");$(this).replaceWith(function(){return $("<"+n+"/>",r).append($(this).contents())});for(eventType in t)for(i=0;i<t[eventType].length;i++)$(this)[eventType](t[eventType][i].handler)})};$.fn.viewport=function(){var n=window,t="inner";return"innerWidth"in window||(t="client",n=document.documentElement||document.body),{width:n[t+"Width"],height:n[t+"Height"]}};$.fn.alert=function(n,t){var e=n,r=settings.various.alertOverlayTitle;t!=undefined&&(r=t);$(".alertOverlay").remove();var i=$('<div class="overlay alertOverlay" aria-modal="true" role="dialog" aria-labelledby="alertOverlayItemTitle"><div class="overlayContent" /><\/div>'),u=$('<a href="#" class="button close info icon-cancel-circled iconOnly before pointer"><span class="screenReaderContent">'+settings.buttons.closeText+"<\/span><\/a>"),f=$('<div class="button continue general before"><input type="button" value="'+settings.buttons.closeText+'" ><\/div>');f.find("input:button").off("click").on("click",function(){u.trigger("click")});i.find(".overlayContent").append(u).append('<h1 id="alertOverlayItemTitle" class="overlayItemTitle">'+r+"<\/h1>");i.find(".overlayContent").append("<p>"+e+'<\/p><div class="toolbar toolbarBottom" >');i.find(".toolbarBottom").append(f);$("body").append(i);$(".alertOverlay").find(".toolbarBottom").show();$(".alertOverlay").initializeOverlays()};$.fn.confirm=function(n,t){var i=$(this),r,u;if($(".confirmOverlay").remove(),i.data("confirmed")!=undefined)return i.removeData("confirmed"),!0;r=settings.buttons.continueText;u="general icon-forward";i.data("continue-text")!=undefined&&(r=i.data("continue-text"));i.data("continue-class")!=undefined&&(u=i.data("continue-class"));var f=$('<div class="overlay confirmOverlay" aria-modal="true" role="dialog"><div class="overlayContent" /><\/div>'),e=$('<a href="#" class="button close info icon-cancel iconOnly before pointer"><span class="screenReaderContent">'+settings.buttons.closeText+"<\/span><\/a>"),o=$('<div class="button cancel transparent icon-cancel-circled before"><input type="button" value="'+settings.buttons.cancelText+'" ><\/div>'),s=$('<div class="button continue '+u+' before"><input type="button" value="'+r+'" ><\/div>');o.find("input:button").off("click").on("click",function(){e.trigger("click")});s.find("input:button").off("click").on("click",function(){i.data("confirmed","true");e.trigger("click");t!=null&&t||(i.is("a")?i[0].click():i.trigger("click"))});return f.find(".overlayContent").append(e).append('<h1 class="overlayItemTitle">'+settings.various.warningOverlayTitle+"<\/h1><p>"+n+'<\/p><div class="toolbar toolbarBottom" >'),f.find(".toolbarBottom").append(o).append(s),$("body").append(f),$(".confirmOverlay").find(".toolbarBottom").show(),$(".confirmOverlay").initializeOverlays(),!1};$.fn.createClickableLinks=function(n){var n=$.extend({target:"_blank"},n),t,i,r,u=0;return t=/(^|[^\"])(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,i=/(^|[^\/])(www\.[-A-Z0-9+&@#\/%?=~_|!:,.;]+(\b|$))/gim,r=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6}
11)+)/gim,$(this).each(function(){var e=$(this),f=e.html();e.length>0&&e.html().length>0&&(t.test(f)||i.test(f)||r.test(f))&&(f=f.replace(t,'$1<a href="$2" target="'+n.target+'">$2<\/a>'),f=f.replace(i,'$1<a href="http://$2" target="'+n.target+'">$2<\/a>'),u+=1,e.html(f),($("#groups").length>0||$("#documents-v3").length>0)&&e.find(".tagUsers").mentionTextArea())}),u>0&&($(".no-touch").length>0||$(".touch.desktop").length>0)&&$("*[data-user-id]").length>0&&settings.userDialog.instance!=null&&settings.userDialog.instance.init(),$(this)};$.fn.setAlternatingRows=function(){$(this).each(function(n){var t=$(this);t.removeClass("alternate");n%2&&t.addClass("alternate")})};$.fn.createDropDown=function(n,t,i){return isArray(n)&&$(this).each(function(){var r=$(this),o=r.attr("id")+"_dropDown",u,f,e;$("#"+o).remove();u=$('<select id="'+o+'" class="dynamicDropdown">');u.on("change",function(){r.val($(this).val())});for(f in n)e="",n[f][1]==t&&(e="selected"),u.append($('<option value="'+n[f][1]+'" '+e+">"+n[f][0]+"<\/option>"));u.insertAfter(r);r.hide();trim(r.val())!=""&&(u.val(r.val()),u.val()==null&&(typeof t!="undefined"&&t!=null?u.val(t):u.val(n[0][1]),u.trigger("change")));i&&r.data("requiredInitialized")!==!0&&($("[id$='_btnEdit'], [id$='_btnAdd'], [id$='_btnEditSection'], [id$='_btnAddSection']").click(function(){if(trim(r.val())=="")return $(".errorMessage ul").length==0&&$(".errorMessage").html("<h2>Let op:<\/h2><div><p>Het formulier kon niet verzonden worden. Los de volgende punten op en verstuur het formulier opnieuw.<\/p><\/div><ul><\/ul>"),$(".errorMessage li."+r.attr("id")+"_warning").remove(),$(".errorMessage ul").append('<li class="'+r.attr("id")+'_warning">'+trim($("label[for='"+r.attr("id")+"'").html())+" "+settings.errors.isRequiredText+"<\/li>"),r.parents(".field:first").addClass("danger"),$(".errorMessage").css({visibility:"visible",display:"block"}),$(this).parent().show(),$(".loader").hide(),setTimeout(function(){$("html, body").scrollTop(0)},40),!1}),r.data("requiredInitialized",!0))}),$(this)};$.fn.convertFileSize=function(n){var n=$.extend({fileSize:0,numberOfDecimals:2},n),i=0,t;return n.fileSize>0&&n.fileSize!=null&&(t=Math.floor(Math.log(n.fileSize)/Math.log(1024)),t>2&&(n.numberOfDecimals=2),i=(n.fileSize/Math.pow(1024,t)).toFixed(n.numberOfDecimals)*1+" "+["B","kB","MB","GB","TB"][t]),i.toString().replace(".",settings.decimalSeparator)};$.fn.changeFontSize=function(n){if(isNumeric(n)){var t=Number(n);$(this).each(function(){var n=$(this),i=parseFloat(n.css("font-size")),r;isNaN(i)||(r=Math.max(1,i+t),t>0&&n.css({"font-size":r+"px"}))});$.fn.initializeSpacers({resize:!0})}};$.fn.fieldValidator=function(n,t){var i="",r=!1;switch(n){case"email":i=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;break;case"postalCode":i=/^[1-9][0-9]{3}\s?[a-z]{2}$/i;break;case"tel":i=/^\(?(\d{3})\)?[-\. ]?(\d{3})[-\. ]?(\d{4})$/;break;case"url":i=/^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/}return i!=""&&(r=i.test(t)),r};$.fn.mobileCheck=function(){var n=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
11sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(n=!0)}(navigator.userAgent||navigator.vendor||window.opera),n};$.fn.createTooltip=function(){var n=$(this);n.each(function(){var t=$(this),n=t.attr("title");if(n==undefined&&(n=t.attr("alt")),n!=undefined&&n!="")t.on("mouseenter focus",function(){t.data("tipText",n);$('<span class="tooltip"><\/span>').text(n).appendTo("body").fadeIn("slow")}).on("mouseleave blur",function(){$(".tooltip").remove()}).on("mousemove",function(n){var t=n.pageX+20,i=n.pageY+10;$(".tooltip").css({top:i,left:t})})})};$.fn.saveLastFocus=function(){var n=$(":focus");n.length>0?$(document).data("lastFocusElement",n[0]):$(document).data("lastFocusElement",undefined)};$.fn.restoreLastFocus=function(){var n=$(document).data("lastFocusElement");n&&n.focus()};$.fn.validUrl=function(n){var t=new RegExp("^(?:(?:https?|ftp|file)?:?//|www.|ftp.)(?:([-A-Z0-9+&@#/%=~_|$?!:,.]*)|[-A-Z0-9+&@#/%=~_|$?!:,.])*(?:([-A-Z0-9+&@#/%=~_|$?!:,.]*)|[A-Z0-9+&@#/%=~_|$])","i");return!!t.test(n)};$.fn.loadEditorConfig=function(n){var i=$(this),t=!1;i.each(function(){var i=$(this).find("textarea").prop("id");CKEDITOR.on("instanceReady",function(){t==!1&&(CKEDITOR.instances[i].destroy(),CKEDITOR.replace(i,{customConfig:"/ckeditor/config_"+n+".js"}),t=!0)})})},function(n){function t(t){return n.expr.filters.visible(t)&&!n(t).parents().addBack().filter(function(){return n.css(this,"visibility")==="hidden"}).length}function i(i,r){var u,f,e,o=i.nodeName.toLowerCase();return"area"===o?(u=i.parentNode,f=u.name,!i.href||!f||u.nodeName.toLowerCase()!=="map")?!1:(e=n("img[usemap=#"+f+"]")[0],!!e&&t(e)):(/input|select|textarea|button|object/.test(o)?!i.disabled:"a"===o?i.href||r:r)&&t(i)}n.extend(n.expr[":"],{focusable:function(t){return i(t,!isNaN(n.attr(t,"tabindex")))},tabbable:function(t){var r=n.attr(t,"tabindex"),u=isNaN(r);return(u||Number(r)>=0)&&i(t,!u)}})}(jQuery); 12(function(n,t){typeof define=="function"&&define.amd?define([],t):typeof module=="object"&&module.exports?module.exports=t():n.htmx=n.htmx||t()})(typeof self!="undefined"?self:this,function(){return function(){"use strict";function vi(n,t=false){return new RegExp(`<${n}(\\s[^>]*>|>)([\\s\\S]*?)<\\/${n}>`,t?"gim":"im")}function rt(n){if(n==undefined)return undefined;let t=NaN;return t=n.slice(-2)=="ms"?parseFloat(n.slice(0,-2)):n.slice(-1)=="s"?parseFloat(n.slice(0,-1))*1e3:n.slice(-1)=="m"?parseFloat(n.slice(0,-1))*6e4:parseFloat(n),isNaN(t)?undefined:t}function e(n,t){return n.getAttribute&&n.getAttribute(t)}function at(n,t){return n.hasAttribute&&(n.hasAttribute(t)||n.hasAttribute("data-"+t))}function s(n,t){return e(n,t)||e(n,"data-"+t)}function k(n){return n.parentElement}function t(){return document}function ut(n,t){while(n&&!t(n))n=k(n);return n?n:null}function gf(n,t,i){var u=s(t,i),r=s(t,"hx-disinherit");return n!==t&&r&&(r==="*"||r.split(" ").indexOf(i)>=0)?"unset":u}function l(n,t){var i=null;return ut(n,function(r){return i=gf(n,r,t)}),i!=="unset"?i:void 0}function y(n,t){var i=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector;return i&&i.call(n,t)}function ne(n){var t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i.exec(n);return t?t[1].toLowerCase():""}function tt(n,i){for(var u=new DOMParser,f=u.parseFromString(n,"text/html"),r=f.body;i>0;)i--,r=r.firstChild;return r==null&&(r=t().createDocumentFragment()),r}function te(n){return/<body/.test(n)}function vt(t){var f=!te(t),r=ne(t),i=t,u;if(r==="head"&&(i=i.replace(bf,"")),n.config.useTemplateFragments&&f)return u=tt("<body><template>"+i+"<\/template><\/body>",0),u.querySelector("template").content;switch(r){case"thead":case"tbody":case"tfoot":case"colgroup":case"caption":return tt("<table>"+i+"<\/table>",1);case"col":return tt("<table><colgroup>"+i+"<\/colgroup><\/table>",2);case"tr":return tt("<table><tbody>"+i+"<\/tbody><\/table>",2);case"td":case"th":return tt("<table><tbody><tr>"+i+"<\/tr><\/tbody><\/table>",3);case"script":case"style":return tt("<div>"+i+"<\/div>",1);default:return tt(i,0)}}function o(n){n&&n()}function ni(n,t){return Object.prototype.toString.call(n)==="[object "+t+"]"}function yi(n){return ni(n,"Function")}function ie(n){return ni(n,"Object")}function r(n){var i="htmx-internal-data",t=n[i];return t||(t=n[i]={}),t}function pi(n){var i=[],t;if(n)for(t=0;t<n.length;t++)i.push(n[t]);return i}function u(n,t){if(n)for(var i=0;i<n.length;i++)t(n[i])}function re(n){var t=n.getBoundingClientRect(),i=t.top,r=t.bottom;return i<window.innerHeight&&r>=0}function h(n){return n.getRootNode&&n.getRootNode()instanceof window.ShadowRoot?t().body.contains(n.getRootNode().host):t().body.contains(n)}function wi(n){return n.trim().split(/\s+/)}function c(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n}function ft(n){try{return JSON.parse(n)}catch(n){return g(n),null}}function bi(){var n="htmx:localStorageTest";try{return localStorage.setItem(n,n),localStorage.removeItem(n),!0}catch(n){return!1}}function gr(n){try{var t=new URL(n);return t&&(n=t.pathname+t.search),/^\/$/.test(n)||(n=n.replace(/\/+$/,"")),n}catch(t){return n}}function ue(n){return li(t().body,function(){return eval(n)})}function fe(t){return n.on("htmx:load",function(n){t(n.detail.elt)}
12)}function ee(){n.logger=function(n,t,i){console&&console.log(t,n,i)}}function oe(){n.logger=null}function et(n,i){return i?n.querySelector(i):et(t(),n)}function ot(n,i){return i?n.querySelectorAll(i):ot(t(),n)}function nu(n,t){n=v(n);t?setTimeout(function(){nu(n);n=null},t):n.parentElement.removeChild(n)}function ti(n,t,i){n=v(n);i?setTimeout(function(){ti(n,t);n=null},i):n.classList&&n.classList.add(t)}function yt(n,t,i){n=v(n);i?setTimeout(function(){yt(n,t);n=null},i):n.classList&&(n.classList.remove(t),n.classList.length===0&&n.removeAttribute("class"))}function se(n,t){n=v(n);n.classList.toggle(t)}function he(n,t){n=v(n);u(n.parentElement.children,function(n){yt(n,t)});ti(n,t)}function p(n,t){if(n=v(n),n.closest)return n.closest(t);do if(n==null||y(n,t))return n;while(n=n&&k(n));return null}function b(n,t){return n.substring(0,t.length)===t}function ki(n,t){return n.substring(n.length-t.length)===t}function pt(n){var t=n.trim();return b(t,"<")&&ki(t,"/>")?t.substring(1,t.length-2):t}function ii(n,i){return i.indexOf("closest ")===0?[p(n,pt(i.substr(8)))]:i.indexOf("find ")===0?[et(n,pt(i.substr(5)))]:i==="next"?[n.nextElementSibling]:i.indexOf("next ")===0?[ce(n,pt(i.substr(5)))]:i==="previous"?[n.previousElementSibling]:i.indexOf("previous ")===0?[le(n,pt(i.substr(9)))]:i==="document"?[document]:i==="window"?[window]:i==="body"?[document.body]:t().querySelectorAll(pt(i))}function it(n,i){return i?ii(n,i)[0]:ii(t().body,n)[0]}function v(n){return ni(n,"String")?et(n):n}function tu(n,i,r){return yi(i)?{target:t().body,event:n,listener:i}:{target:v(n),event:i,listener:r}}function ae(n,t,i){kr(function(){var r=tu(n,t,i);r.target.addEventListener(r.event,r.listener)});var r=yi(t);return r?t:i}function ve(n,t,i){return kr(function(){var r=tu(n,t,i);r.target.removeEventListener(r.event,r.listener)}),yi(t)?t:i}function di(n,t){var i=l(n,t),r;if(i)return i==="this"?[ri(n,t)]:(r=ii(n,i),r.length===0?(g('The selector "'+i+'" on '+t+" returned no matches!"),[iu]):r)}function ri(n,t){return ut(n,function(n){return s(n,t)!=null})}function gi(n){var i=l(n,"hx-target"),u;return i?i==="this"?ri(n,"hx-target"):it(n,i):(u=r(n),u.boosted?t().body:n)}function ru(t){for(var r=n.config.attributesToSettle,i=0;i<r.length;i++)if(t===r[i])return!0;return!1}function uu(n,t){u(n.attributes,function(i){!t.hasAttribute(i.name)&&ru(i.name)&&n.removeAttribute(i.name)});u(t.attributes,function(t){ru(t.name)&&n.setAttribute(t.name,t.value)})}function ye(n,t){for(var u,r=ai(t),i=0;i<r.length;i++){u=r[i];try{if(u.isInlineSwap(n))return!0}catch(n){g(n)}}return n==="outerHTML"}function ui(n,r,o){var c="#"+e(r,"id"),s="outerHTML",h;return n==="true"||(n.indexOf(":")>0?(s=n.substr(0,n.indexOf(":")),c=n.substr(n.indexOf(":")+1,n.length)):s=n),h=t().querySelectorAll(c),h?(u(h,function(n){var f,h=r.cloneNode(!0),e;(f=t().createDocumentFragment(),f.appendChild(h),ye(s,n)||(f=h),e={shouldSwap:!0,target:n,fragment:f},i(n,"htmx:oobBeforeSwap",e))&&(n=e.target,e.shouldSwap&&nr(s,n,n,f,o),u(o.elts,function(n){i(n,"htmx:oobAfterSwap",e)}))}),r.parentNode.removeChild(r)):(r.parentNode.removeChild(r),f(t().body,"htmx:oobErrorNoTarget",{content:r})),n}function pe(n,t,i){var c=l(n,"hx-select-oob"),e,f,o,r,a,h;if(c)for(e=c.split(","),f=0;f<e.length;f++)o=e[f].split(":",2),r=o[0].trim(),r.indexOf("#")===0&&(r=r.substring(1)),a=o[1]||"true",h=t.querySelector("#"+r),h&&ui(a,h,i);u(ot(t,"[hx-swap-oob], [data-hx-swap-oob]"),function(n){var t=s(n,"hx-swap-oob");t!=null&&ui(t,n,i)})}function we(n){u(ot(n,"[hx-preserve], [data-hx-preserve]"),function(n){var r=s(n,"id"),i=t().getElementById(r);i!=null&&n.parentNode.replaceChild(i,n)})}function be(n,t,i){u(t.querySelectorAll("[id]"),function(t){var r=e(t,"id"),f;if(r&&r.length>0){var o=r.replace("'","\\'"),s=t.tagName.replace(":","\\:"),u=n.querySelector(s+"[id='"+o+"']");u&&u!==n&&(f=t.cloneNode(),uu(t,u),i.tasks.push(function(){uu(t,f)}))}})}function fu(t){return function(){yt(t,n.config.addedClass);cr(t);us(t);ke(t);i(t,"htmx:load")}}function ke(n){var t="[autofocus]",i=y(n,t)?n:n.querySelector(t);i!=null&&i.focus()}function st(t,i,r,u){for(be(t,r,u);r.childNodes.length>0;){var f=r.firstChild;ti(f,n.config.addedClass);t.insertBefore(f,i);f.nodeType!==Node.TEXT_NODE&&f.nodeType!==Node.COMMENT_NODE&&u.tasks.push(fu(f))}}function eu(n,t){for(var i=0;i<n.length;)t=(t<<5)-t+n.charCodeAt(i++)|0;return t}function ou(n){var t=0,i,r;if(n.attributes)for(i=0;i<n.attributes.length;i++)r=n.attributes[i],r.value&&(t=eu(r.name,t),t=eu(r.value,t));return t}function su(n){var t=r(n),i;if(t.onHandlers){for(i=0;i<t.onHandlers.length;i++){const r=t.onHandlers[i];n.removeEventListener(r.event,r.listener)}delete t.onHandlers}}function hu(n){var t=r(n);t.timeout&&clearTimeout(t.timeout);t.webSocket&&t.webSocket.close();t.sseEventSource&&t.sseEventSource.close();t.listenerInfos&&u(t.listenerInfos,function(n){n.on&&n.on.removeEventListener(n.trigger,n.listener)});su(n);u(Object.keys(t),function(n){delete t[n]})}function d(n){i(n,"htmx:beforeCleanupElement");hu(n);n.children&&u(n.children,function(n){d(n)})}function de(n,t,i){if(n.tagName==="BODY")return fi(n,t,i);var r,u=n.previousSibling;
12for(st(k(n),n,t,i),r=u==null?k(n).firstChild:u.nextSibling,i.elts=i.elts.filter(function(t){return t!=n});r&&r!==n;)r.nodeType===Node.ELEMENT_NODE&&i.elts.push(r),r=r.nextElementSibling;d(n);k(n).removeChild(n)}function ge(n,t,i){return st(n,n.firstChild,t,i)}function no(n,t,i){return st(k(n),n,t,i)}function to(n,t,i){return st(n,null,t,i)}function io(n,t,i){return st(k(n),n.nextSibling,t,i)}function ro(n){return d(n),k(n).removeChild(n)}function fi(n,t,i){var r=n.firstChild;if(st(n,r,t,i),r){while(r.nextSibling)d(r.nextSibling),n.removeChild(r.nextSibling);d(r);n.removeChild(r)}}function uo(n,i,r){var e=r||l(n,"hx-select"),f;return e&&(f=t().createDocumentFragment(),u(i.querySelectorAll(e),function(n){f.appendChild(n)}),i=f),i}function nr(t,i,r,u,f){var c,o,l,e,s,h;switch(t){case"none":return;case"outerHTML":de(r,u,f);return;case"afterbegin":ge(r,u,f);return;case"beforebegin":no(r,u,f);return;case"beforeend":to(r,u,f);return;case"afterend":io(r,u,f);return;case"delete":ro(r,u,f);return;default:for(c=ai(i),o=0;o<c.length;o++){l=c[o];try{if(e=l.handleSwap(t,r,u,f),e){if(typeof e.length!="undefined")for(s=0;s<e.length;s++)h=e[s],h.nodeType!==Node.TEXT_NODE&&h.nodeType!==Node.COMMENT_NODE&&f.tasks.push(fu(h));return}}catch(t){g(t)}}t==="innerHTML"?fi(r,u,f):nr(n.config.defaultSwapStyle,i,r,u,f)}}function cu(n){if(n.indexOf("<title")>-1){var i=n.replace(df,""),t=i.match(kf);if(t)return t[2]}}function tr(n,t,i,r,u,f){u.title=cu(r);var e=vt(r);if(e)return pe(i,e,u),e=uo(i,e,f),we(e),nr(n,i,t,e,u)}function ir(n,t,r){var s=n.getResponseHeader(t),f,e,u,h,o;if(s.indexOf("{")===0){f=ft(s);for(e in f)f.hasOwnProperty(e)&&(u=f[e],ie(u)||(u={value:u}),i(r,e,u))}else for(h=s.split(","),o=0;o<h.length;o++)i(r,h[o].trim(),[])}function vu(n){for(var r=[],t=0,u,i,f;t<n.length;){if(lu.exec(n.charAt(t))){for(i=t;fo.exec(n.charAt(t+1));)t++;r.push(n.substr(i,t-i+1))}else if(eo.indexOf(n.charAt(t))!==-1){for(u=n.charAt(t),i=t,t++;t<n.length&&n.charAt(t)!==u;)n.charAt(t)==="\\"&&t++,t++;r.push(n.substr(i,t-i+1))}else f=n.charAt(t),r.push(f);t++}return r}function so(n,t,i){return lu.exec(n.charAt(0))&&n!=="true"&&n!=="false"&&n!=="this"&&n!==i&&t!=="."}function yu(n,i,r){var e,h;if(i[0]==="["){i.shift();for(var o=1,u=" return (function("+r+"){ return (",s=null;i.length>0;){if(e=i[0],e==="]"){if(o--,o===0){s===null&&(u=u+"true");i.shift();u+=")})";try{return h=li(n,function(){return Function(u)()},function(){return!0}),h.source=u,h}catch(n){return f(t().body,"htmx:syntax:error",{error:n,source:u}),null}}}else e==="["&&o++;so(e,s,r)?u+="(("+r+"."+e+") ? ("+r+"."+e+") : (window."+e+"))":u=u+e;s=i.shift()}}}function a(n,t){for(var i="";n.length>0&&!t.test(n[0]);)i+=n.shift();return i}function ei(n){var t;return n.length>0&&au.test(n[0])?(n.shift(),t=a(n,oo).trim(),n.shift()):t=a(n,ht),t}function ho(n,t,i){var c=[],r=vu(t),y,s,l,u,h,e,o,v;do{if(a(r,wt),y=r.length,s=a(r,/[,\[\s]/),s!=="")if(s==="every")l={trigger:"every"},a(r,wt),l.pollInterval=rt(a(r,/[,\[\s]/)),a(r,wt),h=yu(n,r,"event"),h&&(l.eventFilter=h),c.push(l);else if(s.indexOf("sse:")===0)c.push({trigger:"sse",sseEvent:s.substr(4)});else{for(u={trigger:s},h=yu(n,r,"event"),h&&(u.eventFilter=h);r.length>0&&r[0]!==",";)a(r,wt),e=r.shift(),e==="changed"?u.changed=!0:e==="once"?u.once=!0:e==="consume"?u.consume=!0:e==="delay"&&r[0]===":"?(r.shift(),u.delay=rt(a(r,ht))):e==="from"&&r[0]===":"?(r.shift(),au.test(r[0])?o=ei(r):(o=a(r,ht),(o==="closest"||o==="find"||o==="next"||o==="previous")&&(r.shift(),v=ei(r),v.length>0&&(o+=" "+v))),u.from=o):e==="target"&&r[0]===":"?(r.shift(),u.target=ei(r)):e==="throttle"&&r[0]===":"?(r.shift(),u.throttle=rt(a(r,ht))):e==="queue"&&r[0]===":"?(r.shift(),u.queue=a(r,ht)):e==="root"&&r[0]===":"?(r.shift(),u[e]=ei(r)):e==="threshold"&&r[0]===":"?(r.shift(),u[e]=a(r,ht)):f(n,"htmx:syntax:error",{token:r.shift()});c.push(u)}r.length===y&&f(n,"htmx:syntax:error",{token:r.shift()});a(r,wt)}while(r[0]===","&&r.shift());return i&&(i[t]=c),c}function rr(t){var r=s(t,"hx-trigger"),u=[],i;return r&&(i=n.config.triggerSpecsCache,u=i&&i[r]||ho(t,r,i)),u.length>0?u:y(t,"form")?[{trigger:"submit"}]:y(t,'input[type="button"], input[type="submit"]')?[{trigger:"click"}]:y(t,pu)?[{trigger:"change"}]:[{trigger:"click"}]}function co(n){r(n).cancelled=!0}
12function wu(n,t,i){var u=r(n);u.timeout=setTimeout(function(){h(n)&&u.cancelled!==!0&&(fr(i,n,si("hx:poll:trigger",{triggerSpec:i,target:n}))||t(n),wu(n,t,i))},i.pollInterval)}function lo(n){return location.hostname===n.hostname&&e(n,"href")&&e(n,"href").indexOf("#")!==0}function ao(t,i,r){var u,f,o;(t.tagName==="A"&&lo(t)&&(t.target===""||t.target==="_self")||t.tagName==="FORM")&&(i.boosted=!0,t.tagName==="A"?(u="get",f=e(t,"href")):(o=e(t,"method"),u=o?o.toLowerCase():"get",u==="get",f=e(t,"action")),r.forEach(function(r){oi(t,function(t,i){if(p(t,n.config.disableSelector)){d(t);return}nt(u,f,t,i)},i,r,!0)}))}function ur(n,t){return(n.type==="submit"||n.type==="click")&&(t.tagName==="FORM"||y(t,'input[type="submit"], button')&&p(t,"form")!==null||t.tagName==="A"&&t.href&&(t.getAttribute("href")==="#"||t.getAttribute("href").indexOf("#")!==0))?!0:!1}function vo(n,t){return r(n).boosted&&n.tagName==="A"&&t.type==="click"&&(t.ctrlKey||t.metaKey)}function fr(n,i,r){var u=n.eventFilter;if(u)try{return u.call(i,r)!==!0}catch(n){return f(t().body,"htmx:eventFilter:error",{error:n,source:u.source}),!0}return!1}function oi(n,t,f,e,o){var s=r(n),c;c=e.from?ii(n,e.from):[n];e.changed&&c.forEach(function(n){var t=r(n);t.lastValue=n.value});u(c,function(u){var c=function(f){var l,a;if(!h(n)){u.removeEventListener(e.trigger,c);return}if(!vo(n,f)&&((o||ur(f,n))&&f.preventDefault(),!fr(e,n,f))&&(l=r(f),l.triggerSpec=e,l.handledFor==null&&(l.handledFor=[]),l.handledFor.indexOf(n)<0)){if(l.handledFor.push(n),e.consume&&f.stopPropagation(),e.target&&f.target&&!y(f.target,e.target))return;if(e.once){if(s.triggeredOnce)return;s.triggeredOnce=!0}if(e.changed){if(a=r(u),a.lastValue===u.value)return;a.lastValue=u.value}if(s.delayed&&clearTimeout(s.delayed),s.throttle)return;e.throttle>0?s.throttle||(t(n,f),s.throttle=setTimeout(function(){s.throttle=null},e.throttle)):e.delay>0?s.delayed=setTimeout(function(){t(n,f)},e.delay):(i(n,"htmx:trigger"),t(n,f))}};f.listenerInfos==null&&(f.listenerInfos=[]);f.listenerInfos.push({trigger:e.trigger,listener:c,on:u});u.addEventListener(e.trigger,c)})}function yo(){or||(or=function(){er=!0},window.addEventListener("scroll",or),setInterval(function(){er&&(er=!1,u(t().querySelectorAll("[hx-trigger='revealed'],[data-hx-trigger='revealed']"),function(n){bu(n)}))},200))}function bu(n){if(!at(n,"data-hx-revealed")&&re(n)){n.setAttribute("data-hx-revealed","true");var t=r(n);t.initHash?i(n,"revealed"):n.addEventListener("htmx:afterProcessNode",function(){i(n,"revealed")},{once:!0})}}function po(n,t,i){for(var r,f=wi(i),u=0;u<f.length;u++)r=f[u].split(/:(.+)/),r[0]==="connect"&&ku(n,r[1],0),r[0]==="send"&&wo(n)}function ku(t,i,u){var o,e;h(t)&&(i.indexOf("/")==0&&(o=location.hostname+(location.port?":"+location.port:""),location.protocol=="https:"?i="wss://"+o+i:location.protocol=="http:"&&(i="ws://"+o+i)),e=n.createWebSocket(i),e.onerror=function(n){f(t,"htmx:wsError",{error:n,socket:e});du(t)},e.onclose=function(n){if([1006,1012,1013].indexOf(n.code)>=0){var r=bo(u);setTimeout(function(){ku(t,i,u+1)},r)}},e.onopen=function(){u=0}
12,r(t).webSocket=e,e.addEventListener("message",function(n){var i,r,u;if(!du(t)){i=n.data;ct(t,function(n){i=n.transformResponse(i,null,t)});var f=lt(t),o=vt(i),e=pi(o.children);for(r=0;r<e.length;r++)u=e[r],ui(s(u,"hx-swap-oob")||"true",u,f);kt(f.tasks)}}))}function du(n){if(!h(n))return r(n).webSocket.close(),!0}function wo(n){var t=ut(n,function(n){return r(n).webSocket!=null});t?n.addEventListener(rr(n)[0].trigger,function(u){var s=r(t).webSocket,h=vr(n,t),e=ci(n,"post"),f=e.errors,l=e.values,a=wr(n),v=c(l,a),o=yr(v,n);if(o.HEADERS=h,f&&f.length>0){i(n,"htmx:validation:halted",f);return}s.send(JSON.stringify(o));ur(u,n)&&u.preventDefault()}):f(n,"htmx:noWebSocketSourceError")}function bo(t){var i=n.config.wsReconnectDelay,r,u;if(typeof i=="function")return i(t);if(i==="full-jitter")return r=Math.min(t,6),u=1e3*Math.pow(2,r),u*Math.random();g('htmx.config.wsReconnectDelay must either be a function or the string "full-jitter"')}function ko(n,t,i){for(var r,f=wi(i),u=0;u<f.length;u++)r=f[u].split(/:(.+)/),r[0]==="connect"&&go(n,r[1]),r[0]==="swap"&&ns(n,r[1])}function go(t,i){var u=n.createEventSource(i);u.onerror=function(n){f(t,"htmx:sseError",{error:n,source:u});sr(t)};r(t).sseEventSource=u}function ns(n,t){var e=ut(n,gu),o,u;e?(o=r(e).sseEventSource,u=function(r){var f;if(!sr(e)){if(!h(n)){o.removeEventListener(t,u);return}f=r.data;ct(n,function(t){f=t.transformResponse(f,null,n)});var c=pr(n),l=gi(n),s=lt(n);tr(c.swapStyle,l,n,f,s);kt(s.tasks);i(n,"htmx:sseMessage",r)}},r(n).sseListener=u,o.addEventListener(t,u)):f(n,"htmx:noSSESourceError")}function ts(n,t,i){var e=ut(n,gu),o,u;e?(o=r(e).sseEventSource,u=function(){sr(e)||(h(n)?t(n):o.removeEventListener(i,u))},r(n).sseListener=u,o.addEventListener(i,u)):f(n,"htmx:noSSESourceError")}function sr(n){if(!h(n))return r(n).sseEventSource.close(),!0}function gu(n){return r(n).sseEventSource!=null}function is(n,t,i,r){var u=function(){i.loaded||(i.loaded=!0,t(n))};r>0?setTimeout(u,r):u()}function rs(t,i,r){var f=!1;return u(dr,function(u){if(at(t,"hx-"+u)){var e=s(t,"hx-"+u);f=!0;i.path=e;i.verb=u;r.forEach(function(r){hr(t,r,i,function(t,i){if(p(t,n.config.disableSelector)){d(t);return}nt(u,e,t,i)})})}}),f}function hr(n,t,r,u){var f,e;t.sseEvent?ts(n,u,t.sseEvent):t.trigger==="revealed"?(yo(),oi(n,u,r,t),bu(n)):t.trigger==="intersect"?(f={},t.root&&(f.root=it(n,t.root)),t.threshold&&(f.threshold=parseFloat(t.threshold)),e=new IntersectionObserver(function(t){for(var u,r=0;r<t.length;r++)if(u=t[r],u.isIntersecting){i(n,"intersect");break}},f),e.observe(n),oi(n,u,r,t)):t.trigger==="load"?fr(t,n,si("load",{elt:n}))||is(n,u,r,t.delay):t.pollInterval>0?(r.polling=!0,wu(n,u,t)):oi(n,u,r,t)}function nf(i){var r,f;if(n.config.allowScriptTags&&(i.type==="text/javascript"||i.type==="module"||i.type==="")){r=t().createElement("script");u(i.attributes,function(n){r.setAttribute(n.name,n.value)});r.textContent=i.textContent;r.async=!1;n.config.inlineScriptNonce&&(r.nonce=n.config.inlineScriptNonce);f=i.parentElement;try{f.insertBefore(r,i)}catch(i){g(i)}finally{i.parentElement&&i.parentElement.removeChild(i)}}}function us(n){y(n,"script")&&nf(n);u(ot(n,"script"),function(n){nf(n)})}function tf(n){for(var t,r=n.attributes,i=0;i<r.length;i++)if(t=r[i].name,b(t,"hx-on:")||b(t,"data-hx-on:")||b(t,"hx-on-")||b(t,"data-hx-on-"))return!0;return!1}function fs(n){var u=null,i=[],f,r,t;if(tf(n)&&i.push(n),document.evaluate)for(f=document.evaluate('.//*[@*[ starts-with(name(), "hx-on:") or starts-with(name(), "data-hx-on:") or starts-with(name(), "hx-on-") or starts-with(name(), "data-hx-on-") ]]',n);u=f.iterateNext();)i.push(u);else for(r=n.getElementsByTagName("*"),t=0;t<r.length;t++)tf(r[t])&&i.push(r[t]);return i}function es(n){if(n.querySelectorAll)return n.querySelectorAll(wf+", [hx-boost] a, [data-hx-boost] a, a[hx-boost], a[data-hx-boost], form, [type='submit'], [hx-sse], [data-hx-sse], [hx-ws], [data-hx-ws], [hx-ext], [data-hx-ext], [hx-trigger], [data-hx-trigger], [hx-on], [data-hx-on]");return[]}function rf(n){var i=p(n.target,"button, input[type='submit']"),t=uf(n);t&&(t.lastButtonClicked=i)}function os(n){var t=uf(n);t&&(t.lastButtonClicked=null)}function uf(n){var t=p(n.target,"button, input[type='submit']"),i;if(t)return(i=v("#"+e(t,"form"))||p(t,"form"),!i)?void 0:r(i)}function ss(n){n.addEventListener("click",rf);n.addEventListener("focusin",rf);n.addEventListener("focusout",os)}function hs(n){for(var r=vu(n),t=0,i=0;i<r.length;i++){const n=r[i];n==="{"?t++:n==="}"&&t--}return t}function ff(n,t,i){var u=r(n),f,e;Array.isArray(u.onHandlers)||(u.onHandlers=[]);e=function(t){return li(n,function(){f||(f=new Function("event",i));f.call(n,t)})};n.addEventListener(t,e);u.onHandlers.push({event:t,listener:e})}function cs(n){var e=s(n,"hx-on"),t,r,f;if(e){for(var i={},o=e.split("\n"),u=null,h=0;o.length>0;)t=o.shift(),r=t.match(/^\s*([a-zA-Z:\-\.]+:)(.*)/),h===0&&r?(t.split(":"),u=r[1].slice(0,-1),i[u]=r[2]):i[u]+=t,h+=hs(t);for(f in i)ff(n,f,i[f])}}function ls(n){var r,i,e,u,f,t;for(su(n),r=0;r<n.attributes.length;r++)i=n.attributes[r].name,e=n.attributes[r].value,(b(i,"hx-on")||b(i,"data-hx-on"))&&(u=i.indexOf("-on")+3,f=i.slice(u,u+1),(f==="-"||f===":")&&(t=i.slice(u+1),b(t,":")?t="htmx"+t:b(t,"-")?t="htmx:"+t.slice(1):b(t,"htmx-")&&(t="htmx:"+t.slice(5)),ff(n,t,e)))}function ef(t){var u,f,c,o,h;if(p(t,n.config.disableSelector)){d(t);return}u=r(t);u.initHash!==ou(t)&&(hu(t),u.initHash=ou(t),cs(t),i(t,"htmx:beforeProcessNode"),t.value&&(u.lastValue=t.value),f=rr(t),c=rs(t,u,f),c||(l(t,"hx-boost")==="true"?ao(t,u,f):at(t,"hx-trigger")&&f.forEach(function(n){hr(t,n,u,function(){})})),(t.tagName==="FORM"||e(t,"type")==="submit"&&at(t,"form"))&&ss(t),o=s(t,"hx-sse"),o&&ko(t,u,o),h=s(t,"hx-ws"),h&&po(t,u,h),i(t,"htmx:afterProcessNode"))}function cr(t){if(t=v(t),p(t,n.config.disableSelector)){d(t);return}ef(t);u(es(t),function(n){ef(n)});u(fs(t),ls)}function as(n){return n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function si(n,i){var r;return window.CustomEvent&&typeof CustomEvent=="function"?r=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:i}):(r=t().createEvent("CustomEvent"),r.initCustomEvent(n,!0,!0,i)),r}function f(n,t,r){i(n,t,c({error:t},r))}function vs(n){return n==="htmx:afterProcessNode"}function ct(n,t){u(ai(n),function(n){try{t(n)}catch(n){g(n)}})}function g(n){console.error?console.error(n):console.log&&console.log("ERROR: ",n)}function i(t,r,u){var e,f,o,s;return t=v(t),u==null&&(u={}),u.elt=t,e=si(r,u),n.logger&&!vs(r)&&n.logger(t,r,u),u.error&&(g(u.error),i(t,"htmx:error",{errorInfo:u})),f=t.dispatchEvent(e),o=as(r),f&&o!==r&&(s=si(o,e.detail),f=f&&t.dis
12patchEvent(s)),ct(t,function(n){f=f&&n.onEvent(r,e)!==!1&&!e.defaultPrevented}),f}function lr(){var n=t().querySelector("[hx-history-elt],[data-hx-history-elt]");return n||t().body}function ys(r,u,e,o){var s,h,c;if(bi()){if(n.config.historyCacheSize<=0){localStorage.removeItem("htmx-history-cache");return}for(r=gr(r),s=ft(localStorage.getItem("htmx-history-cache"))||[],h=0;h<s.length;h++)if(s[h].url===r){s.splice(h,1);break}for(c={url:r,content:u,title:e,scroll:o},i(t().body,"htmx:historyItemCreated",{item:c,cache:s}),s.push(c);s.length>n.config.historyCacheSize;)s.shift();while(s.length>0)try{localStorage.setItem("htmx-history-cache",JSON.stringify(s));break}catch(r){f(t().body,"htmx:historyCacheError",{cause:r,cache:s});s.shift()}}}function ps(n){var i,t;if(!bi())return null;for(n=gr(n),i=ft(localStorage.getItem("htmx-history-cache"))||[],t=0;t<i.length;t++)if(i[t].url===n)return i[t];return null}function ws(t){var i=n.config.requestClass,r=t.cloneNode(!0);return u(ot(r,"."+i),function(n){yt(n,i)}),r.innerHTML}function ar(){var u=lr(),f=bt||location.pathname+location.search,r;try{r=t().querySelector('[hx-history="false" i],[data-hx-history="false" i]')}catch(u){r=t().querySelector('[hx-history="false"],[data-hx-history="false"]')}r||(i(t().body,"htmx:beforeHistorySave",{path:f,historyElt:u}),ys(f,ws(u),t().title,window.scrollY));n.config.historyEnabled&&history.replaceState({htmx:!0},t().title,window.location.href)}function sf(t){n.config.getCacheBusterParam&&(t=t.replace(/org\.htmx\.cache-buster=[^&]*&?/,""),(ki(t,"&")||ki(t,"?"))&&(t=t.slice(0,-1)));n.config.historyEnabled&&history.pushState({htmx:!0},"",t);bt=t}function bs(t){n.config.historyEnabled&&history.replaceState({htmx:!0},"",t);bt=t}function kt(n){u(n,function(n){n.call()})}function ks(n){var r=new XMLHttpRequest,u={path:n,xhr:r};i(t().body,"htmx:historyCacheMiss",u);r.open("GET",n,!0);r.setRequestHeader("HX-Request","true");r.setRequestHeader("HX-History-Restore-Request","true");r.setRequestHeader("HX-Current-URL",t().location.href);r.onload=function(){var r,o;if(this.status>=200&&this.status<400){i(t().body,"htmx:historyCacheMissLoad",u);r=vt(this.response);r=r.querySelector("[hx-history-elt],[data-hx-history-elt]")||r;var s=lr(),h=lt(s),e=cu(this.response);e&&(o=et("title"),o?o.innerHTML=e:window.document.title=e);fi(s,r,h);kt(h.tasks);bt=n;i(t().body,"htmx:historyRestore",{path:n,cacheMiss:!0,serverResponse:this.response})}else f(t().body,"htmx:historyCacheMissLoadError",u)};r.send()}function ds(r){var u;if(ar(),r=r||location.pathname+location.search,u=ps(r),u){var o=vt(u.content),f=lr(),e=lt(f);fi(f,o,e);kt(e.tasks);document.title=u.title;setTimeout(function(){window.scrollTo(0,u.scroll)},0);bt=r;i(t().body,"htmx:historyRestore",{path:r,item:u})}else n.config.refreshOnHistoryMiss?window.location.reload(!0):ks(r)}function gs(t){var i=di(t,"hx-indicator");return i==null&&(i=[t]),u(i,function(t){var i=r(t);i.requestCount=(i.requestCount||0)+1;t.classList.add.call(t.classList,n.config.requestClass)}),i}function nh(n){var t=di(n,"hx-disabled-elt");return t==null&&(t=[]),u(t,function(n){var t=r(n);t.requestCount=(t.requestCount||0)+1;n.setAttribute("disabled","")}),t}function hi(t,i){u(t,function(t){var i=r(t);i.requestCount=(i.requestCount||0)-1;i.requestCount===0&&t.classList.remove.call(t.classList,n.config.requestClass)});u(i,function(n){var t=r(n);t.requestCount=(t.requestCount||0)-1;t.requestCount===0&&n.removeAttribute("disabled")})}function th(n,t){for(var r,i=0;i<n.length;i++)if(r=n[i],r.isSameNode(t))return!0;return!1}function ih(n){return n.name===""||n.name==null||n.disabled||p(n,"fieldset[disabled]")?!1:n.type==="button"||n.type==="submit"||n.tagName==="image"||n.tagName==="reset"||n.tagName==="file"?!1:n.type==="checkbox"||n.type==="radio"?n.checked:!0}function hf(n,t,i){if(n!=null&&t!=null){var r=i[n];r===undefined?i[n]=t:Array.isArray(r)?Array.isArray(t)?i[n]=r.concat(t):r.push(t):i[n]=Array.isArray(t)?[r].concat(t):[r,t]}}function dt(n,t,i,r,f){var s,o,h;r==null||th(n,r)||(n.push(r),ih(r)&&(s=e(r,"name"),o=r.value,r.multiple&&r.tagName==="SELECT"&&(o=pi(r.querySelectorAll("option:checked")).map(function(n){return n.value})),r.files&&(o=pi(r.files)),hf(s,o,t),f&&rh(r,i)),y(r,"form")&&(h=r.elements,u(h,function(r){dt(n,t,i,r,f)})))}function rh(n,t){n.willValidate&&(i(n,"htmx:validation:validate"),n.checkValidity()||(t.push({elt:n,message:n.validationMessage,validity:n.validity}),i(n,"htmx:validation:failed",{message:n.validationMessage,validity:n.validity})))}function ci(n,t){var a=[],o={},v={},l=[],i=r(n),f,w,b,k;return i.lastButtonClicked&&!h(i.lastButtonClicked)&&(i.lastButtonClicked=null),f=y(n,"form")&&n.noValidate!==!0||s(n,"hx-validate")==="true",i.lastButtonClicked&&(f=f&&i.lastButtonClicked.formNoValidate!==!0),t!=="get"&&dt(a,v,l,p(n,"form"),f),dt(a,o,l,n,f),(i.lastButtonClicked||n.tagName==="BUTTON"||n.tagName==="INPUT"&&e(n,"type")==="submit")&&(w=i.lastButtonClicked||n,b=e(w,"name"),hf(b,w.value,v)),k=di(n,"hx-include"),u(k,function(n){dt(a,o,l,n,f);y(n,"form")||u(n.querySelectorAll(pu),function(n){dt(a,o,l,n,f)})}),o=c(o,v),{errors:l,values:o}}function cf(n,t,i){n!==""&&(n+="&");String(i)==="[object Object]"&&(i=JSON.stringify(i));var r=encodeURIComponent(i);return n+(encodeURIComponent(t)+"="+r)}function lf(n){var t="",i,r;for(i in n)n.hasOwnProperty(i)&&(r=n[i],Array.isArray(r)?u(r,function(n){t=cf(t,i,n)}):t=cf(t,i,r));return t}function uh(n){var r=new FormData,t,i;for(t in n)n.hasOwnProperty(t)&&(i=n[t],Array.isArray(i)?u(i,function(n){r.append(t,n)}):r.append(t,i));return r}function vr(n,i,u){var f={"HX-Request":"true","HX-Trigger":e(n,"id"),"HX-Trigger-Name":e(n,"name"),"HX-Target":s(i,"id"),"HX-Current-URL":t().location.href};return gt(n,"hx-headers",!1,f),u!==undefined&&(f["HX-Prompt"]=u),r(n).boosted&&(f["HX-Boosted"]="true"),f}function yr(n,t){var i=l(t,"hx-params"),r;return i?i==="none"?{}:i==="*"?n:i.indexOf("not ")===0?(u(i.substr(4).split(","),function(t){t=t.trim();delete n[t]}),n):(r={},u(i.split(","),function(t){t=t.trim();r[t]=n[t]}),r):n}function fh(n){return e(n,"href")&&e(n,"href").indexOf("#")>=0}function pr(t,i){var h=i?i:l(t,"hx-swap"),f={swapStyle:r(t).boosted?"innerHTML":n.config.defaultSwapStyle,swapDelay:n.config.defaultSwapDelay,settleDelay:n.config.defaultSettleDelay},s,o,u,a;if(n.config.scrollIntoViewOnBoost&&r(t).boosted&&!fh(t)&&(f.show="top"),h&&(s=wi(h),s.length>0))for(o=0;o<s.length;o++)if(u=s[o],u.indexOf("swap:")===0)f.swapDelay=rt(u.substr(5));else if(u.indexOf("settle:")===0)f.settleDelay=rt(u.substr(7));else if(u.indexOf("transition:")===0)f.transition=u.substr(11)==="true";else if(u.indexOf("ignoreTitle:")===0)f.ignoreTitle=u.substr(12)==="true";else if(u.indexOf("scroll:")===0){var v=u.substr(7),e=v.split(":"),y=e.pop(),c=e.length>0?e.join(":"):null;f.scroll=y;f.scrollTarget=c}else if(u.indexOf("show:")===0){var p=u.substr(5),e=p.split(":"),w=e.pop(),c=e.length>0?e.join(":"):null;f.show=w;f.showTarget=c}else u.indexOf("focus-scroll:")===0?(a=u.substr(13),f.focusScroll=a=="true"):o==0?f.swapStyle=u:g("Unknown modifier in hx-swap: "+u);return f}function af(n){return l(n,"hx-encoding")==="multipart/form-data"||y(n,"form")&&e(n,"enctype")==="multipart/form-data"}function eh(n,t,i){var r=null;return ct(t,function(u){r==null&&(r=u.encodeParameters(n,i,t))}),r!=null?r:af(t)?uh(i):lf(i)}function lt(n){return{tasks:[],elts:[n]}}function oh(t,i){var u=t[0],f=t[t.length-1],r,e;i.scroll&&(r=null,i.scrollTarget&&(r=it(u,i.scrollTarget)),i.scroll==="top"&&(u||r)&&(r=r||u,r.scrollTop=0),i.scroll==="bottom"&&(f||r)&&(r=r||f,r.scrollTop=r.scrollHeight));i.show&&(r=null,i.showTarget&&(e=i.showTarget,i.showTarget==="window"&&(e="body"),r=it(u,e)),i.show==="top"&&(u||r)&&(r=r||u,r.scrollIntoView({block:"start",behavior:n.config.scrollBehavior})),i.show==="bottom"&&(f||r)&&(r=r||f,r.scrollIntoView({block:"end",behavior:n.config.scrollBehavior})))}function gt(n,t,i,r){var h,u,e,o,f;if(r==null&&(r={}),n==null)return r;if(h=s(n,t),h){if(u=h.trim(),e=i,u==="unset")return null;u.indexOf("javascript:")===0?(u=u.substr(11),e=!0):u.indexOf("js:")===0&&(u=u.substr(3),e=!0);u.indexOf("{")!==0&&(u="{"+u+"}");o=e?li(n,function(){return Function("return ("+u+")")()},{}):ft(u);for(f in o)o.hasOwnProperty(f)&&r[f]==null&&(r[f]=o[f])}return gt(k(n),t,i,r)}function li(t,i,r){return n.config.allowEval?i():(f(t,"htmx:evalDisallowedError"),r)}function sh(n,t){return gt(n,"hx-vars",!0,t)}function hh(n,t){return gt(n,"hx-vals",!1,t)}
12function wr(n){return c(sh(n),hh(n))}function ch(n,t,i){if(i!==null)try{n.setRequestHeader(t,i)}catch(r){n.setRequestHeader(t,encodeURIComponent(i));n.setRequestHeader(t+"-URI-AutoEncoded","true")}}function lh(n){if(n.responseURL&&typeof URL!="undefined")try{var i=new URL(n.responseURL);return i.pathname+i.search}catch(i){f(t().body,"htmx:badResponseUrl",{url:n.responseURL})}}function w(n,t){return t.test(n.getAllResponseHeaders())}function vf(n,t,i){return n=n.toLowerCase(),i?i instanceof Element||ni(i,"String")?nt(n,t,null,null,{targetOverride:v(i),returnPromise:!0}):nt(n,t,v(i.source),i.event,{handler:i.handler,headers:i.headers,values:i.values,targetOverride:v(i.target),swapOverride:i.swap,select:i.select,returnPromise:!0}):nt(n,t,null,null,{returnPromise:!0})}function ah(n){for(var t=[];n;)t.push(n),n=n.parentElement;return t}function vh(t,r,u){var f,e,o;return(typeof URL=="function"?(e=new URL(r,document.location.href),o=document.location.origin,f=o===e.origin):(e=r,f=b(r,document.location.origin)),n.config.selfRequestsOnly&&!f)?!1:i(t,"htmx:validateUrl",c({url:e,sameHost:f},u))}function nt(a,v,y,p,w,b){var ut=null,lt=null,tt,yi,pi,ft,k,wt,fi,bt,kt,wi,bi,ei,oi,di,vt,d,et,si,ni,ot,ur,ui,fr,g,yt,pt,er;if(w=w!=null?w:{},w.returnPromise&&typeof Promise!="undefined"&&(tt=new Promise(function(n,t){ut=n;lt=t})),y==null&&(y=t().body),yi=w.handler||ph,pi=w.select||null,!h(y))return o(ut),tt;if(ft=w.targetOverride||gi(y),ft==null||ft==iu)return f(y,"htmx:targetError",{target:s(y,"hx-target")}),o(lt),tt;if(k=r(y),wt=k.lastButtonClicked,wt&&(fi=e(wt,"formaction"),fi!=null&&(v=fi),bt=e(wt,"formmethod"),bt!=null&&bt.toLowerCase()!=="dialog"&&(a=bt)),kt=l(y,"hx-confirm"),b===undefined&&(wi=function(n){return nt(a,v,y,p,w,!!n)},bi={target:ft,elt:y,path:v,verb:a,triggeringEvent:p,etc:w,issueRequest:wi,question:kt},i(y,"htmx:confirm",bi)===!1))return o(ut),tt;var dt=y,st=l(y,"hx-sync"),ht=null,ki=!1;if(st){if(ei=st.split(":"),oi=ei[0].trim(),dt=oi==="this"?ri(y,"hx-sync"):it(y,oi),st=(ei[1]||"drop").trim(),k=r(dt),st==="drop"&&k.xhr&&k.abortable!==!0)return o(ut),tt;if(st==="abort"){if(k.xhr)return o(ut),tt;ki=!0}else st==="replace"?i(dt,"htmx:abort"):st.indexOf("queue")===0&&(di=st.split(" "),ht=(di[1]||"last").trim())}if(k.xhr)if(k.abortable)i(dt,"htmx:abort");else return ht==null&&(p&&(vt=r(p),vt&&vt.triggerSpec&&vt.triggerSpec.queue&&(ht=vt.triggerSpec.queue)),ht==null&&(ht="last")),k.queuedRequests==null&&(k.queuedRequests=[]),ht==="first"&&k.queuedRequests.length===0?k.queuedRequests.push(function(){nt(a,v,y,p,w)}):ht==="all"?k.queuedRequests.push(function(){nt(a,v,y,p,w)}):ht==="last"&&(k.queuedRequests=[],k.queuedRequests.push(function(){nt(a,v,y,p,w)})),o(ut),tt;if((d=new XMLHttpRequest,k.xhr=d,k.abortable=ki,et=function(){if(k.xhr=null,k.abortable=!1,k.queuedRequests!=null&&k.queuedRequests.length>0){var n=k.queuedRequests.shift();n()}},si=l(y,"hx-prompt"),si&&(ni=prompt(si),ni===null||!i(y,"htmx:prompt",{prompt:ni,target:ft})))||kt&&!b&&!confirm(kt))return o(ut),et(),tt;ot=vr(y,ft,ni);a==="get"||af(y)||(ot["Content-Type"]="application/x-www-form-urlencoded");w.headers&&(ot=c(ot,w.headers));var nr=ci(y,a),ti=nr.errors,li=nr.values;w.values&&(li=c(li,w.values));var or=wr(y),tr=c(li,or),at=yr(tr,y);n.config.getCacheBusterParam&&a==="get"&&(at["org.htmx.cache-buster"]=e(ft,"id")||"true");(v==null||v==="")&&(v=t().location.href);var ai=gt(y,"hx-request"),ir=r(y).boosted,ii=n.config.methodsThatUseUrlParams.indexOf(a)>=0,rt={boosted:ir,useUrlParams:ii,parameters:at,unfilteredParameters:tr,headers:ot,target:ft,verb:a,errors:ti,withCredentials:w.credentials||ai.credentials||n.config.withCredentials,timeout:w.timeout||ai.timeout||n.config.timeout,path:v,triggeringEvent:p};if(!i(y,"htmx:configRequest",rt))return o(ut),et(),tt;if(v=rt.path,a=rt.verb,ot=rt.headers,at=rt.parameters,ti=rt.errors,ii=rt.useUrlParams,ti&&ti.length>0)return i(y,"htmx:validation:halted",rt),o(ut),et(),tt;var rr=v.split("#"),sr=rr[0],vi=rr[1],ct=v;if(ii&&(ct=sr,ur=Object.keys(at).length!==0,ur&&(ct+=ct.indexOf("?")<0?"?":"&",ct+=lf(at),vi&&(ct+="#"+vi))),!vh(y,ct,rt))return f(y,"htmx:invalidPath",rt),o(lt),tt;if(d.open(a.toUpperCase(),ct,!0),d.overrideMimeType("text/html"),d.withCredentials=rt.withCredentials,d.timeout=rt.timeout,!ai.noHeaders)for(ui in ot)ot.hasOwnProperty(ui)&&(fr=ot[ui],ch(d,ui,fr));return(g={xhr:d,target:ft,requestConfig:rt,etc:w,boosted:ir,select:pi,pathInfo:{requestPath:v,finalRequestPath:ct,anchor:vi}},d.onload=function(){var t,n,r;try{if(t=ah(y),g.pathInfo.responsePath=lh(d),yi(y,g),hi(yt,pt),i(y,"htmx:afterRequest",g),i(y,"htmx:afterOnLoad",g),!h(y)){for(n=null;t.length>0&&n==null;)r=t.shift(),h(r)&&(n=r);n&&(i(n,"htmx:afterRequest",g),i(n,"htmx:afterOnLoad",g))}o(ut);et()}catch(t){f(y,"htmx:onLoadError",c({error:t},g));throw t;}},d.onerror=function(){hi(yt,pt);f(y,"htmx:afterRequest",g);f(y,"htmx:sendError",g);o(lt);et()},d.onabort=function(){hi(yt,pt);f(y,"htmx:afterRequest",g);f(y,"htmx:sendAbort",g);o(lt);et()},d.ontimeout=function(){hi(yt,pt);f(y,"htmx:afterRequest",g);f(y,"htmx:timeout",g);o(lt);et()},!i(y,"htmx:beforeRequest",g))?(o(ut),et(),tt):(yt=gs(y),pt=nh(y),u(["loadstart","loadend","progress","abort"],function(n){u([d,d.upload],function(t){t.addEventListener(n,function(t){i(y,"htmx:xhr:"+n,{lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total})})})}
12),i(y,"htmx:beforeSend",g),er=ii?null:eh(d,y,at),d.send(er),tt)}function yh(n,t){var u=t.xhr,f=null,e=null;if(w(u,/HX-Push:/i)?(f=u.getResponseHeader("HX-Push"),e="push"):w(u,/HX-Push-Url:/i)?(f=u.getResponseHeader("HX-Push-Url"),e="push"):w(u,/HX-Replace-Url:/i)&&(f=u.getResponseHeader("HX-Replace-Url"),e="replace"),f)return f==="false"?{}:{type:e,path:f};var s=t.pathInfo.finalRequestPath,h=t.pathInfo.responsePath,c=l(n,"hx-push-url"),a=l(n,"hx-replace-url"),v=r(n).boosted,o=null,i=null;return c?(o="push",i=c):a?(o="replace",i=a):v&&(o="push",i=h||s),i?i==="false"?{}:(i==="true"&&(i=h||s),t.pathInfo.anchor&&i.indexOf("#")===-1&&(i=i+"#"+t.pathInfo.anchor),{type:o,path:i}):{}}function ph(r,s){var l=s.xhr,y=s.target,yt=s.etc,wt=s.requestConfig,ut=s.select,p,tt,rt,a,at,vt;if(i(r,"htmx:beforeOnLoad",s)){if(w(l,/HX-Trigger:/i)&&ir(l,"HX-Trigger",r),w(l,/HX-Location:/i)){ar();p=l.getResponseHeader("HX-Location");p.indexOf("{")===0&&(a=ft(p),p=a.path,delete a.path);vf("GET",p,a).then(function(){sf(p)});return}if(tt=w(l,/HX-Refresh:/i)&&"true"===l.getResponseHeader("HX-Refresh"),w(l,/HX-Redirect:/i)){location.href=l.getResponseHeader("HX-Redirect");tt&&location.reload();return}if(tt){location.reload();return}w(l,/HX-Retarget:/i)&&(s.target=l.getResponseHeader("HX-Retarget")==="this"?r:it(r,l.getResponseHeader("HX-Retarget")));var v=yh(r,s),pt=l.status>=200&&l.status<400&&l.status!==204,k=l.response,d=l.status>=400,g=n.config.ignoreTitle,b=c({shouldSwap:pt,serverResponse:k,isError:d,ignoreTitle:g},s);if(i(y,"htmx:beforeSwap",b)){if(y=b.target,k=b.serverResponse,d=b.isError,g=b.ignoreTitle,s.target=y,s.failed=d,s.successful=!d,b.shouldSwap){l.status===286&&co(r);ct(r,function(n){k=n.transformResponse(k,l,r)});v.type&&ar();rt=yt.swapOverride;w(l,/HX-Reswap:/i)&&(rt=l.getResponseHeader("HX-Reswap"));a=pr(r,rt);a.hasOwnProperty("ignoreTitle")&&(g=a.ignoreTitle);y.classList.add(n.config.swappingClass);var ot=null,st=null,nt=function(){var d,p,tt,b,nt,ft,it,rt;try{d=document.activeElement;p={};try{p={elt:d,start:d?d.selectionStart:null,end:d?d.selectionEnd:null}}catch(d){}if(ut&&(tt=ut),w(l,/HX-Reselect:/i)&&(tt=l.getResponseHeader("HX-Reselect")),v.type&&(i(t().body,"htmx:beforeHistoryUpdate",c({history:v},s)),v.type==="push"?(sf(v.path),i(t().body,"htmx:pushedIntoHistory",{path:v.path})):(bs(v.path),i(t().body,"htmx:replacedInHistory",{path:v.path}))),b=lt(y),tr(a.swapStyle,y,r,k,b,tt),p.elt&&!h(p.elt)&&e(p.elt,"id")&&(nt=document.getElementById(e(p.elt,"id")),ft={preventScroll:a.focusScroll!==undefined?!a.focusScroll:!n.config.defaultFocusScroll},nt)){if(p.start&&nt.setSelectionRange)try{nt.setSelectionRange(p.start,p.end)}catch(d){}nt.focus(ft)}y.classList.remove(n.config.swappingClass);u(b.elts,function(t){t.classList&&t.classList.add(n.config.settlingClass);i(t,"htmx:afterSwap",s)});w(l,/HX-Trigger-After-Swap:/i)&&(it=r,h(r)||(it=t().body),ir(l,"HX-Trigger-After-Swap",it));rt=function(){var f,e,c;u(b.tasks,function(n){n.call()});u(b.elts,function(t){t.classList&&t.classList.remove(n.config.settlingClass);i(t,"htmx:afterSettle",s)});s.pathInfo.anchor&&(f=t().getElementById(s.pathInfo.anchor),f&&f.scrollIntoView({block:"start",behavior:"auto"}));b.title&&!g&&(e=et("title"),e?e.innerHTML=b.title:window.document.title=b.title);oh(b.elts,a);w(l,/HX-Trigger-After-Settle:/i)&&(c=r,h(r)||(c=t().body),ir(l,"HX-Trigger-After-Settle",c));o(ot)};a.settleDelay>0?setTimeout(rt,a.settleDelay):rt()}catch(d){f(r,"htmx:swapError",s);o(st);throw d;}},ht=n.config.globalViewTransitions;a.hasOwnProperty("transition")&&(ht=a.transition);ht&&i(r,"htmx:beforeTransition",s)&&typeof Promise!="undefined"&&document.startViewTransition&&(at=new Promise(function(n,t){ot=n;st=t}),vt=nt,nt=function(){document.startViewTransition(function(){return vt(),at})});a.swapDelay>0?setTimeout(nt,a.swapDelay):nt()}d&&f(r,"htmx:responseError",c({error:"Response Status Error Code "+l.status+" from "+s.pathInfo.requestPath},s))}}}function wh(){return{init:function(){return null},onEvent:function(){return!0},transformResponse:function(n){return n},isInlineSwap:function(){return!1},handleSwap:function(){return!1},encodeParameters:function(){return null}}}function bh(n,t){t.init&&t.init(pf);
12br[n]=c(wh(),t)}function kh(n){delete br[n]}function ai(n,t,i){if(n==undefined)return t;t==undefined&&(t=[]);i==undefined&&(i=[]);var r=s(n,"hx-ext");return r&&u(r.split(","),function(n){if(n=n.replace(/ /g,""),n.slice(0,7)=="ignore:"){i.push(n.slice(7));return}if(i.indexOf(n)<0){var r=br[n];r&&t.indexOf(r)<0&&t.push(r)}}),ai(k(n),t,i)}function kr(n){yf||t().readyState==="complete"?n():t().addEventListener("DOMContentLoaded",n)}function dh(){n.config.includeIndicatorStyles!==!1&&t().head.insertAdjacentHTML("beforeend","<style> ."+n.config.indicatorClass+"{opacity:0} ."+n.config.requestClass+" ."+n.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} ."+n.config.requestClass+"."+n.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} <\/style>")}function gh(){var n=t().querySelector('meta[name="htmx-config"]');return n?ft(n.content):null}function nc(){var t=gh();t&&(n.config=c(n.config,t))}var n={onLoad:fe,process:cr,on:ae,off:ve,trigger:i,ajax:vf,find:et,findAll:ot,closest:p,values:function(n,t){var i=ci(n,t||"post");return i.values},remove:nu,addClass:ti,removeClass:yt,toggleClass:se,takeClass:he,defineExtension:bh,removeExtension:kh,logAll:ee,logNone:oe,logger:null,config:{historyEnabled:!0,historyCacheSize:10,refreshOnHistoryMiss:!1,defaultSwapStyle:"innerHTML",defaultSwapDelay:0,defaultSettleDelay:20,includeIndicatorStyles:!0,indicatorClass:"htmx-indicator",requestClass:"htmx-request",addedClass:"htmx-added",settlingClass:"htmx-settling",swappingClass:"htmx-swapping",allowEval:!0,allowScriptTags:!0,inlineScriptNonce:"",attributesToSettle:["class","style","width","height"],withCredentials:!1,timeout:0,wsReconnectDelay:"full-jitter",wsBinaryType:"blob",disableSelector:"[hx-disable], [data-hx-disable]",useTemplateFragments:!1,scrollBehavior:"smooth",defaultFocusScroll:!1,getCacheBusterParam:!1,globalViewTransitions:!1,methodsThatUseUrlParams:["get"],selfRequestsOnly:!1,ignoreTitle:!1,scrollIntoViewOnBoost:!0,triggerSpecsCache:null},parseInterval:rt,_:ue,createEventSource:function(n){return new EventSource(n,{withCredentials:!0})},createWebSocket:function(t){var i=new WebSocket(t,[]);return i.binaryType=n.config.wsBinaryType,i},version:"1.9.10"},pf={addTriggerHandler:hr,bodyContains:h,canAccessLocalStorage:bi,findThisElement:ri,filterValues:yr,hasAttribute:at,getAttributeValue:s,getClosestAttributeValue:l,getClosestMatch:ut,getExpressionVars:wr,getHeaders:vr,getInputValues:ci,getInternalData:r,getSwapSpecification:pr,getTriggerSpecs:rr,getTarget:gi,makeFragment:vt,mergeObjects:c,makeSettleInfo:lt,oobSwap:ui,querySelectorExt:it,selectAndSwap:tr,settleImmediately:kt,shouldCancel:ur,triggerEvent:i,triggerErrorEvent:f,withExtensions:ct},dr=["get","post","put","delete","patch"],wf=dr.map(function(n){return"[hx-"+n+"], [data-hx-"+n+"]"}).join(", "),bf=vi("head"),kf=vi("title"),df=vi("svg",!0),ce=function(n,i){for(var u,f=t().querySelectorAll(i),r=0;r<f.length;r++)if(u=f[r],u.compareDocumentPosition(n)===Node.DOCUMENT_POSITION_PRECEDING)return u},le=function(n,i){for(var u,f=t().querySelectorAll(i),r=f.length-1;r>=0;r--)if(u=f[r],u.compareDocumentPosition(n)===Node.DOCUMENT_POSITION_FOLLOWING)return u},iu=t().createElement("output"),ht=/[\s,]/,lu=/[_$a-zA-Z]/,fo=/[_$a-zA-Z0-9]/,eo=['"',"'","/"],wt=/[^\s]/,au=/[{(]/,oo=/[})]/,pu="input, textarea, select",er=!1,or=null,bt=location.pathname+location.search,br={},yf=!1;return t().addEventListener("DOMContentLoaded",function(){yf=!0}),kr(function(){var n,f;nc();dh();n=t().body;cr(n);f=t().querySelectorAll("[hx-trigger='restored'],[data-hx-trigger='restored']");n.addEventListener("htmx:abort",function(n){var i=n.target,t=r(i);t&&t.xhr&&t.xhr.abort()});const e=window.onpopstate?window.onpopstate.bind(window):null;window.onpopstate=function(n){n.state&&n.state.htmx?(ds(),u(f,function(n){i(n,"htmx:restored",{document:t(),triggerEvent:i})})):e&&e(n)};setTimeout(function(){i(n,"htmx:load",{});n=null},0)}),n}()});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.