PageSourceSearch

https://www.biesse.cz/script/dist/browser/scripts-GZVPZZDR.js

js biesse.cz collected 2026-10-06 13:59:34 UTC 441,664 bytes, 21 lines download raw bytes

1/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5fb57b9b-1857-514a-98a6-31104918fe9c")}catch(e){}}();
3(function(i,N){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=i.document?N(i,!0):function(J){if(!J.document)throw new Error("jQuery requires a window with a document");return N(J)}:N(i)})(typeof window<"u"?window:this,function(i,N){"use strict";var J=[],K=Object.getPrototypeOf,j=J.slice,at=J.flat?function(s){return J.flat.call(s)}:function(s){return J.concat.apply([],s)},pt=J.push,Wt=J.indexOf,Ot={},Ft=Ot.toString,v=Ot.hasOwnProperty,$t=v.toString,ht=$t.call(Object),rt={},_t=function(s){return typeof s=="function"&&typeof s.nodeType!="number"&&typeof s.item!="function"},St=function(s){return s!=null&&s===s.window},mt=i.document,ve={type:!0,src:!0,nonce:!0,noModule:!0};function Kt(s,l,p){var m,y,x=(p=p||mt).createElement("script");if(x.text=s,l)for(m in ve)(y=l[m]||l.getAttribute&&l.getAttribute(m))&&x.setAttribute(m,y);p.head.appendChild(x).parentNode.removeChild(x)}function Nt(s){return s==null?s+"":typeof s=="object"||typeof s=="function"?Ot[Ft.call(s)]||"object":typeof s}var Ht="3.7.1",Qt=/HTML$/i,c=function(s,l){return new c.fn.init(s,l)};function ot(s){var l=!!s&&"length"in s&&s.length,p=Nt(s);return!_t(s)&&!St(s)&&(p==="array"||l===0||typeof l=="number"&&0<l&&l-1 in s)}function ct(s,l){return s.nodeName&&s.nodeName.toLowerCase()===l.toLowerCase()}c.fn=c.prototype={jquery:Ht,constructor:c,length:0,toArray:function(){return j.call(this)},get:function(s){return s==null?j.call(this):s<0?this[s+this.length]:this[s]},pushStack:function(s){var l=c.merge(this.constructor(),s);return l.prevObject=this,l},each:function(s){return c.each(this,s)},map:function(s){return this.pushStack(c.map(this,function(l,p){return s.call(l,p,l)}))},slice:function(){return this.pushStack(j.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(c.grep(this,function(s,l){return(l+1)%2}))},odd:function(){return this.pushStack(c.grep(this,function(s,l){return l%2}))},eq:function(s){var l=this.length,p=+s+(s<0?l:0);return this.pushStack(0<=p&&p<l?[this[p]]:[])},end:function(){return this.prevObject||this.constructor()},push:pt,sort:J.sort,splice:J.splice},c.extend=c.fn.extend=function(){var s,l,p,m,y,x,C=arguments[0]||{},O=1,I=arguments.length,H=!1;for(typeof C=="boolean"&&(H=C,C=arguments[O]||{},O++),typeof C=="object"||_t(C)||(C={}),O===I&&(C=this,O--);O<I;O++)if((s=arguments[O])!=null)for(l in s)m=s[l],l!=="__proto__"&&C!==m&&(H&&m&&(c.isPlainObject(m)||(y=Array.isArray(m)))?(p=C[l],x=y&&!Array.isArray(p)?[]:y||c.isPlainObject(p)?p:{},y=!1,C[l]=c.extend(H,x,m)):m!==void 0&&(C[l]=m));return C},c.extend({expando:"jQuery"+(Ht+Math.random()).replace(/\D/g,""),isReady:!0,error:function(s){throw new Error(s)},noop:function(){},isPlainObject:function(s){var l,p;return!(!s||Ft.call(s)!=="[object Object]")&&(!(l=K(s))||typeof(p=v.call(l,"constructor")&&l.constructor)=="function"&&$t.call(p)===ht)},isEmptyObject:function(s){var l;for(l in s)return!1;return!0},globalEval:function(s,l,p){Kt(s,{nonce:l&&l.nonce},p)},each:function(s,l){var p,m=0;if(ot(s))for(p=s.length;m<p&&l.call(s[m],m,s[m])!==!1;m++);else for(m in s)if(l.call(s[m],m,s[m])===!1)break;return s},text:function(s){var l,p="",m=0,y=s.nodeType;if(!y)for(;l=s[m++];)p+=c.text(l);return y===1||y===11?s.textContent:y===9?s.documentElement.textContent:y===3||y===4?s.nodeValue:p},makeArray:function(s,l){var p=l||[];return s!=null&&(ot(Object(s))?c.merge(p,typeof s=="string"?[s]:s):pt.call(p,s)),p},inArray:function(s,l,p){return l==null?-1:Wt.call(l,s,p)},isXMLDoc:function(s){var l=s&&s.namespaceURI,p=s&&(s.ownerDocument||s).documentElement;return!Qt.test(l||p&&p.nodeName||"HTML")},merge:function(s,l){for(var p=+l.length,m=0,y=s.length;m<p;m++)s[y++]=l[m];return s.length=y,s},grep:function(s,l,p){for(var m=[],y=0,x=s.length,C=!p;y<x;y++)!l(s[y],y)!==C&&m.push(s[y]);return m},map:function(s,l,p){var m,y,x=0,C=[];if(ot(s))for(m=s.length;x<m;x++)(y=l(s[x],x,p))!=null&&C.push(y);else for(x in s)(y=l(s[x],x,p))!=null&&C.push(y);return at(C)},guid:1,support:rt}),typeof Symbol=="function"&&(c.fn[Symbol.iterator]=J[Symbol.iterator]),c.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(s,l){Ot["[object "+l+"]"]=l.toLowerCase()});var dt=J.pop,et=J.sort,Ct=J.splice,ut="[\\x20\\t\\r\\n\\f]",vt=new RegExp("^"+ut+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ut+"+$","g");c.contains=function(s,l){var p=l&&l.parentNode;return s===p||!(!p||p.nodeType!==1||!(s.contains?s.contains(p):s.compareDocumentPosition&&16&s.compareDocumentPosition(p)))};var te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Xt(s,l){return l?s==="\0"?"\uFFFD":s.slice(0,-1)+"\\"+s.charCodeAt(s.length-1).toString(16)+" ":"\\"+s}c.escapeSelector=function(s){return(s+"").replace(te,Xt)};var Vt=mt,Ut=pt;
vendor: 4,893 bytes, line 3
3(function(){var s,l,p,m,y,x,C,O,I,H,F=Ut,B=c.expando,z=0,$=0,xt=jt(),It=jt(),lt=jt(),we=jt(),ke=function(S,A){return S===A&&(y=!0),0},Ce="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ne="(?:\\\\[\\da-fA-F]{1,6}"+ut+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Gt="\\["+ut+"*("+Ne+")(?:"+ut+"*([*^$|!~]?=)"+ut+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ne+"))|)"+ut+"*\\]",Ve=":("+Ne+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Gt+")*)|.*)\\)|)",Bt=new RegExp(ut+"+","g"),he=new RegExp("^"+ut+"*,"+ut+"*"),qt=new RegExp("^"+ut+"*([>+~]|"+ut+")"+ut+"*"),o=new RegExp(ut+"|>"),u=new RegExp(Ve),g=new RegExp("^"+Ne+"$"),b={ID:new RegExp("^#("+Ne+")"),CLASS:new RegExp("^\\.("+Ne+")"),TAG:new RegExp("^("+Ne+"|[*])"),ATTR:new RegExp("^"+Gt),PSEUDO:new RegExp("^"+Ve),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ut+"*(even|odd|(([+-]|)(\\d*)n|)"+ut+"*(?:([+-]|)"+ut+"*(\\d+)|))"+ut+"*\\)|)","i"),bool:new RegExp("^(?:"+Ce+")$","i"),needsContext:new RegExp("^"+ut+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ut+"*((?:-\\d)?\\d*)"+ut+"*\\)|)(?=[^-]|$)","i")},T=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,R=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,tt=new RegExp("\\\\[\\da-fA-F]{1,6}"+ut+"?|\\\\([^\\r\\n\\f])","g"),it=function(S,A){var Y="0x"+S.slice(1)-65536;return A||(Y<0?String.fromCharCode(Y+65536):String.fromCharCode(Y>>10|55296,1023&Y|56320))},Dt=function(){mi()},kt=yn(function(S){return S.disabled===!0&&ct(S,"fieldset")},{dir:"parentNode",next:"legend"});try{F.apply(J=j.call(Vt.childNodes),Vt.childNodes),J[Vt.childNodes.length].nodeType}catch{F={apply:function(A,Y){Ut.apply(A,j.call(Y))},call:function(A){Ut.apply(A,j.call(arguments,1))}}}function ft(S,A,Y,U){var Q,bt,wt,Tt,yt,re,zt,Yt=A&&A.ownerDocument,Jt=A?A.nodeType:9;if(Y=Y||[],typeof S!="string"||!S||Jt!==1&&Jt!==9&&Jt!==11)return Y;if(!U&&(mi(A),A=A||x,O)){if(Jt!==11&&(yt=R.exec(S)))if(Q=yt[1]){if(Jt===9){if(!(wt=A.getElementById(Q)))return Y;if(wt.id===Q)return F.call(Y,wt),Y}else if(Yt&&(wt=Yt.getElementById(Q))&&ft.contains(A,wt)&&wt.id===Q)return F.call(Y,wt),Y}else{if(yt[2])return F.apply(Y,A.getElementsByTagName(S)),Y;if((Q=yt[3])&&A.getElementsByClassName)return F.apply(Y,A.getElementsByClassName(Q)),Y}if(!(we[S+" "]||I&&I.test(S))){if(zt=S,Yt=A,Jt===1&&(o.test(S)||qt.test(S))){for((Yt=Z.test(S)&&Dn(A.parentNode)||A)==A&&rt.scope||((Tt=A.getAttribute("id"))?Tt=c.escapeSelector(Tt):A.setAttribute("id",Tt=B)),bt=(re=sn(S)).length;bt--;)re[bt]=(Tt?"#"+Tt:":scope")+" "+_n(re[bt]);zt=re.join(",")}try{return F.apply(Y,Yt.querySelectorAll(zt)),Y}catch{we(S,!0)}finally{Tt===B&&A.removeAttribute("id")}}}return On(S.replace(vt,"$1"),A,Y,U)}function jt(){var S=[];return function A(Y,U){return S.push(Y+" ")>l.cacheLength&&delete A[S.shift()],A[Y+" "]=U}}function se(S){return S[B]=!0,S}function Zt(S){var A=x.createElement("fieldset");try{return!!S(A)}catch{return!1}finally{A.parentNode&&A.parentNode.removeChild(A),A=null}}function Qe(S){return function(A){return ct(A,"input")&&A.type===S}}function Li(S){return function(A){return(ct(A,"input")||ct(A,"button"))&&A.type===S}}function vn(S){return function(A){return"form"in A?A.parentNode&&A.disabled===!1?"label"in A?"label"in A.parentNode?A.parentNode.disabled===S:A.disabled===S:A.isDisabled===S||A.isDisabled!==!S&&kt(A)===S:A.disabled===S:"label"in A&&A.disabled===S}}function Si(S){return se(function(A){return A=+A,se(function(Y,U){for(var Q,bt=S([],Y.length,A),wt=bt.length;wt--;)Y[Q=bt[wt]]&&(Y[Q]=!(U[Q]=Y[Q]))})})}function Dn(S){return S&&typeof S.getElementsByTagName<"u"&&S}function mi(S){var A,Y=S?S.ownerDocument||S:Vt;return Y!=x&&Y.nodeType===9&&Y.documentElement&&(C=(x=Y).documentElement,O=!c.isXMLDoc(x),H=C.matches||C.webkitMatchesSelector||C.msMatchesSelector,C.msMatchesSelector&&Vt!=x&&(A=x.defaultView)&&A.top!==A&&A.addEventListener("unload",Dt),rt.getById=Zt(function(U){return C.appendChild(U).id=c.expando,!x.getElementsByName||!x.getElementsByName(c.expando).length}),rt.disconnectedMatch=Zt(function(U){return H.call(U,"*")}),rt.scope=Zt(function(){return x.querySelectorAll(":scope")}),rt.cssHas=Zt(function(){try{return x.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),rt.getById?(l.filter.ID=function(U){var Q=U.replace(tt,it);return function(bt){return bt.getAttribute("id")===Q}},l.find.ID=function(U,Q){if(typeof Q.getElementById<"u"&&O){var bt=Q.getElementById(U);return bt?[bt]:[]}}):(l.filter.ID=function(U){var Q=U.replace(tt,it);return function(bt){var wt=typeof bt.getAttributeNode<"u"&&bt.getAttributeNode("id");return wt&&wt.value===Q}},l.find.ID=function(U,Q){if(typeof Q.getElementById<"u"&&O){var bt,wt,Tt,yt=Q.getElementById(U);if(yt){if((bt=yt.getAttributeNode("id"))&&bt.value===U)return[yt];for(Tt=Q.getElementsByName(U),wt=0;
3yt=Tt[wt++];)if((bt=yt.getAttributeNode("id"))&&bt.value===U)return[yt]}return[]}}),l.find.TAG=function(U,Q){return typeof Q.getElementsByTagName<"u"?Q.getElementsByTagName(U):Q.querySelectorAll(U)},l.find.CLASS=function(U,Q){if(typeof Q.getElementsByClassName<"u"&&O)return Q.getElementsByClassName(U)},I=[],Zt(function(U){var Q;C.appendChild(U).innerHTML="<a id='"+B+"' href='' disabled='disabled'></a><select id='"+B+"-\r\\' disabled='disabled'><option selected=''></option></select>",U.querySelectorAll("[selected]").length||I.push("\\["+ut+"*(?:value|"+Ce+")"),U.querySelectorAll("[id~="+B+"-]").length||I.push("~="),U.querySelectorAll("a#"+B+"+*").length||I.push(".#.+[+~]"),U.querySelectorAll(":checked").length||I.push(":checked"),(Q=x.createElement("input")).setAttribute("type","hidden"),U.appendChild(Q).setAttribute("name","D"),C.appendChild(U).disabled=!0,U.querySelectorAll(":disabled").length!==2&&I.push(":enabled",":disabled"),(Q=x.createElement("input")).setAttribute("name",""),U.appendChild(Q),U.querySelectorAll("[name='']").length||I.push("\\["+ut+"*name"+ut+"*="+ut+`*(?:''|"")`)}),rt.cssHas||I.push(":has"),I=I.length&&new RegExp(I.join("|")),ke=function(U,Q){if(U===Q)return y=!0,0;var bt=!U.compareDocumentPosition-!Q.compareDocumentPosition;return bt||(1&(bt=(U.ownerDocument||U)==(Q.ownerDocument||Q)?U.compareDocumentPosition(Q):1)||!rt.sortDetached&&Q.compareDocumentPosition(U)===bt?U===x||U.ownerDocument==Vt&&ft.contains(Vt,U)?-1:Q===x||Q.ownerDocument==Vt&&ft.contains(Vt,Q)?1:m?Wt.call(m,U)-Wt.call(m,Q):0:4&bt?-1:1)}),x}for(s in ft.matches=function(S,A){return ft(S,null,null,A)},ft.matchesSelector=function(S,A){if(mi(S),O&&!we[A+" "]&&(!I||!I.test(A)))try{var Y=H.call(S,A);if(Y||rt.disconnectedMatch||S.document&&S.document.nodeType!==11)return Y}catch{we(A,!0)}return 0<ft(A,x,null,[S]).length},ft.contains=function(S,A){return(S.ownerDocument||S)!=x&&mi(S),c.contains(S,A)},ft.attr=function(S,A){(S.ownerDocument||S)!=x&&mi(S);var Y=l.attrHandle[A.toLowerCase()],U=Y&&v.call(l.attrHandle,A.toLowerCase())?Y(S,A,!O):void 0;return U!==void 0?U:S.getAttribute(A)},ft.error=function(S){throw new Error("Syntax error, unrecognized expression: "+S)},c.uniqueSort=function(S){var A,Y=[],U=0,Q=0;if(y=!rt.sortStable,m=!rt.sortStable&&j.call(S,0),et.call(S,ke),y){for(;A=S[Q++];)A===S[Q]&&(U=Y.push(Q));for(;U--;)Ct.call(S,Y[U],1)}return m=null,S},c.fn.uniqueSort=function(){return this.pushStack(c.uniqueSort(j.apply(this)))},(l=c.expr={cacheLength:50,createPseudo:se,match:b,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(S){return S[1]=S[1].replace(tt,it),S[3]=(S[3]||S[4]||S[5]||"").replace(tt,it),S[2]==="~="&&(S[3]=" "+S[3]+" "),S.slice(0,4)},CHILD:function(S){return S[1]=S[1].toLowerCase(),S[1].slice(0,3)==="nth"?(S[3]||ft.error(S[0]),S[4]=+(S[4]?S[5]+(S[6]||1):2*(S[3]==="even"||S[3]==="odd")),S[5]=+(S[7]+S[8]||S[3]==="odd")):S[3]&&ft.error(S[0]),S},PSEUDO:function(S){var A,Y=!S[6]&&S[2];return b.CHILD.test(S[0])?null:(S[3]?S[2]=S[4]||S[5]||"":Y&&u.test(Y)&&(A=sn(Y,!0))&&(A=Y.indexOf(")",Y.length-A)-Y.length)&&(S[0]=S[0].slice(0,A),S[2]=Y.slice(0,A)),S.slice(0,3))}},filter:{TAG:function(S){var A=S.replace(tt,it).toLowerCase();return S==="*"?function(){return!0}:function(Y){return ct(Y,A)}},CLASS:function(S){var A=xt[S+" "];return A||(A=new RegExp("(^|"+ut+")"+S+"("+ut+"|$)"))&&xt(S,function(Y){return A.test(typeof Y.className=="string"&&Y.className||typeof Y.getAttribute<"u"&&Y.getAttribute("class")||"")})},ATTR:function(S,A,Y){return function(U){var Q=ft.attr(U,S);return Q==null?A==="!=":!A||(Q+="",A==="="?Q===Y:A==="!="?Q!==Y:A==="^="?Y&&Q.indexOf(Y)===0:A==="*="?Y&&-1<Q.indexOf(Y):A==="$="?Y&&Q.slice(-Y.length)===Y:A==="~="?-1<(" "+Q.replace(Bt," ")+" ").indexOf(Y):A==="|="&&(Q===Y||Q.slice(0,Y.length+1)===Y+"-"))}},CHILD:function(S,A,Y,U,Q){var bt=S.slice(0,3)!=="nth",wt=S.slice(-4)!=="last",Tt=A==="of-type";return U===1&&Q===0?function(yt){return!!yt.parentNode}:function(yt,re,zt){var Yt,Jt,At,Ie,Ee,Pe=bt!==wt?"nextSibling":"previousSibling",Ye=yt.parentNode,je=Tt&&yt.nodeName.toLowerCase(),Ge=!zt&&!Tt,fe=!1;if(Ye){if(bt){for(;Pe;){for(At=yt;At=At[Pe];)if(Tt?ct(At,je):At.nodeType===1)return!1;Ee=Pe=S==="only"&&!Ee&&"nextSibling"}return!0}if(Ee=[wt?Ye.firstChild:Ye.lastChild],wt&&Ge){for(fe=(Ie=(Yt=(Jt=Ye[B]||(Ye[B]={}))[S]||[])[0]===z&&Yt[1])&&Yt[2],At=Ie&&Ye.childNodes[Ie];At=++Ie&&At&&At[Pe]||(fe=Ie=0)||Ee.pop();)if(At.nodeType===1&&++fe&&At===yt){Jt[S]=[z,Ie,fe];break}}else if(Ge&&(fe=Ie=(Yt=(Jt=yt[B]||(yt[B]={}))[S]||[])[0]===z&&Yt[1]),fe===!1)for(;(At=++Ie&&At&&At[Pe]||(fe=Ie=0)||Ee.pop())&&!((Tt?ct(At,je):At.nodeType===1)&&++fe&&(Ge&&((Jt=At[B]||(At[B]={}))[S]=[z,fe]),At===yt)););return(fe-=Q)===U||fe%U==0&&0<=fe/U}}},PSEUDO:function(S,A){var Y,U=l.pseudos[S]||l.setFilters[S.toLowerCase()]||ft.error("unsupported pseudo: "+S);return U[B]?U(A):1<U.length?(Y=[S,S,"",A],l.setFilters.hasOwnProperty(S.toLowerCase())?se(function(Q,bt){for(var wt,Tt=U(Q,A),yt=Tt.length;yt--;)Q[wt=Wt.call(Q,Tt[yt])]=!(bt[wt]=Tt[yt])}):function(Q){return U(Q,0,Y)}):U}},pseudos:{not:se(function(S){var A=[],Y=[],U=In(S.replace(vt,"$1"));return U[B]?se(function(Q,bt,wt,Tt){for(var yt,re=U(Q,null,Tt,[]),zt=Q.length;zt--;)(yt=re[zt])&&(Q[zt]=!(bt[zt]=yt))}):function(Q,bt,wt){return A[0]=Q,U(A,null,wt,Y),A[0]=null,!Y.pop()}}),has:se(function(S){return function(A){return 0<ft(S,A).length}}
3),contains:se(function(S){return S=S.replace(tt,it),function(A){return-1<(A.textContent||c.text(A)).indexOf(S)}}),lang:se(function(S){return g.test(S||"")||ft.error("unsupported lang: "+S),S=S.replace(tt,it).toLowerCase(),function(A){var Y;do if(Y=O?A.lang:A.getAttribute("xml:lang")||A.getAttribute("lang"))return(Y=Y.toLowerCase())===S||Y.indexOf(S+"-")===0;while((A=A.parentNode)&&A.nodeType===1);return!1}}),target:function(S){var A=i.location&&i.location.hash;return A&&A.slice(1)===S.id},root:function(S){return S===C},focus:function(S){return S===(function(){try{return x.activeElement}catch{}})()&&x.hasFocus()&&!!(S.type||S.href||~S.tabIndex)},enabled:vn(!1),disabled:vn(!0),checked:function(S){return ct(S,"input")&&!!S.checked||ct(S,"option")&&!!S.selected},selected:function(S){return S.parentNode&&S.parentNode.selectedIndex,S.selected===!0},empty:function(S){for(S=S.firstChild;S;S=S.nextSibling)if(S.nodeType<6)return!1;return!0},parent:function(S){return!l.pseudos.empty(S)},header:function(S){return W.test(S.nodeName)},input:function(S){return T.test(S.nodeName)},button:function(S){return ct(S,"input")&&S.type==="button"||ct(S,"button")},text:function(S){var A;return ct(S,"input")&&S.type==="text"&&((A=S.getAttribute("type"))==null||A.toLowerCase()==="text")},first:Si(function(){return[0]}),last:Si(function(S,A){return[A-1]}),eq:Si(function(S,A,Y){return[Y<0?Y+A:Y]}),even:Si(function(S,A){for(var Y=0;Y<A;Y+=2)S.push(Y);return S}),odd:Si(function(S,A){for(var Y=1;Y<A;Y+=2)S.push(Y);return S}),lt:Si(function(S,A,Y){var U;for(U=Y<0?Y+A:A<Y?A:Y;0<=--U;)S.push(U);return S}),gt:Si(function(S,A,Y){for(var U=Y<0?Y+A:Y;++U<A;)S.push(U);return S})}}).pseudos.nth=l.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.pseudos[s]=Qe(s);for(s in{submit:!0,reset:!0})l.pseudos[s]=Li(s);function Pn(){}function sn(S,A){var Y,U,Q,bt,wt,Tt,yt,re=It[S+" "];if(re)return A?0:re.slice(0);for(wt=S,Tt=[],yt=l.preFilter;wt;){for(bt in Y&&!(U=he.exec(wt))||(U&&(wt=wt.slice(U[0].length)||wt),Tt.push(Q=[])),Y=!1,(U=qt.exec(wt))&&(Y=U.shift(),Q.push({value:Y,type:U[0].replace(vt," ")}),wt=wt.slice(Y.length)),l.filter)!(U=b[bt].exec(wt))||yt[bt]&&!(U=yt[bt](U))||(Y=U.shift(),Q.push({value:Y,type:bt,matches:U}),wt=wt.slice(Y.length));if(!Y)break}return A?wt.length:wt?ft.error(S):It(S,Tt).slice(0)}function _n(S){for(var A=0,Y=S.length,U="";A<Y;A++)U+=S[A].value;return U}function yn(S,A,Y){var U=A.dir,Q=A.next,bt=Q||U,wt=Y&&bt==="parentNode",Tt=$++;return A.first?function(yt,re,zt){for(;yt=yt[U];)if(yt.nodeType===1||wt)return S(yt,re,zt);return!1}:function(yt,re,zt){var Yt,Jt,At=[z,Tt];if(zt){for(;yt=yt[U];)if((yt.nodeType===1||wt)&&S(yt,re,zt))return!0}else for(;yt=yt[U];)if(yt.nodeType===1||wt)if(Jt=yt[B]||(yt[B]={}),Q&&ct(yt,Q))yt=yt[U]||yt;else{if((Yt=Jt[bt])&&Yt[0]===z&&Yt[1]===Tt)return At[2]=Yt[2];if((Jt[bt]=At)[2]=S(yt,re,zt))return!0}return!1}}function Tn(S){return 1<S.length?function(A,Y,U){for(var Q=S.length;Q--;)if(!S[Q](A,Y,U))return!1;return!0}:S[0]}function bn(S,A,Y,U,Q){for(var bt,wt=[],Tt=0,yt=S.length,re=A!=null;Tt<yt;Tt++)(bt=S[Tt])&&(Y&&!Y(bt,U,Q)||(wt.push(bt),re&&A.push(Tt)));return wt}function Sn(S,A,Y,U,Q,bt){return U&&!U[B]&&(U=Sn(U)),Q&&!Q[B]&&(Q=Sn(Q,bt)),se(function(wt,Tt,yt,re){var zt,Yt,Jt,At,Ie=[],Ee=[],Pe=Tt.length,Ye=wt||(function(Ge,fe,Mi){for(var $e=0,wn=fe.length;$e<wn;$e++)ft(Ge,fe[$e],Mi);return Mi})(A||"*",yt.nodeType?[yt]:yt,[]),je=!S||!wt&&A?Ye:bn(Ye,Ie,S,yt,re);if(Y?Y(je,At=Q||(wt?S:Pe||U)?[]:Tt,yt,re):At=je,U)for(zt=bn(At,Ee),U(zt,[],yt,re),Yt=zt.length;Yt--;)(Jt=zt[Yt])&&(At[Ee[Yt]]=!(je[Ee[Yt]]=Jt));if(wt){if(Q||S){if(Q){for(zt=[],Yt=At.length;Yt--;)(Jt=At[Yt])&&zt.push(je[Yt]=Jt);Q(null,At=[],zt,re)}for(Yt=At.length;Yt--;)(Jt=At[Yt])&&-1<(zt=Q?Wt.call(wt,Jt):Ie[Yt])&&(wt[zt]=!(Tt[zt]=Jt))}}else At=bn(At===Tt?At.splice(Pe,At.length):At),Q?Q(null,Tt,At,re):F.apply(Tt,At)})}function Mn(S){for(var A,Y,U,Q=S.length,bt=l.relative[S[0].type],wt=bt||l.relative[" "],Tt=bt?1:0,yt=yn(function(Yt){return Yt===A},wt,!0),re=yn(function(Yt){return-1<Wt.call(A,Yt)},wt,!0),zt=[function(Yt,Jt,At){var Ie=!bt&&(At||Jt!=p)||((A=Jt).nodeType?yt(Yt,Jt,At):re(Yt,Jt,At));return A=null,Ie}];Tt<Q;Tt++)if(Y=l.relative[S[Tt].type])zt=[yn(Tn(zt),Y)];else{if((Y=l.filter[S[Tt].type].apply(null,S[Tt].matches))[B]){for(U=++Tt;U<Q&&!l.relative[S[U].type];U++);return Sn(1<Tt&&Tn(zt),1<Tt&&_n(S.slice(0,Tt-1).concat({value:S[Tt-2].type===" "?"*":""})).replace(vt,"$1"),Y,Tt<U&&Mn(S.slice(Tt,U)),U<Q&&Mn(S=S.slice(U)),U<Q&&_n(S))}zt.push(Y)}return Tn(zt)}function In(S,A){var Y,U,Q,bt,wt,Tt,yt=[],re=[],zt=lt[S+" "];if(!zt){for(A||(A=sn(S)),Y=A.length;Y--;)(zt=Mn(A[Y]))[B]?yt.push(zt):re.push(zt);(zt=lt(S,(U=re,bt=0<(Q=yt).length,wt=0<U.length,Tt=function(Yt,Jt,At,Ie,Ee){var Pe,Ye,je,Ge=0,fe="0",Mi=Yt&&[],$e=[],wn=p,An=Yt||wt&&l.find.TAG("*",Ee),Nn=z+=wn==null?1:Math.random()||.1,Hn=An.length;for(Ee&&(p=Jt==x||Jt||Ee);fe!==Hn&&(Pe=An[fe])!=null;fe++){if(wt&&Pe){for(Ye=0,Jt||Pe.ownerDocument==x||(mi(Pe),At=!O);je=U[Ye++];)if(je(Pe,Jt||x,At)){F.call(Ie,Pe);break}Ee&&(z=Nn)}bt&&((Pe=!je&&Pe)&&Ge--,Yt&&Mi.push(Pe))}if(Ge+=fe,bt&&fe!==Ge){for(Ye=0;je=Q[Ye++];)je(Mi,$e,Jt,At);if(Yt){if(0<Ge)for(;fe--;)Mi[fe]||$e[fe]||($e[fe]=dt.call(Ie));$e=bn($e)}F.apply(Ie,$e),Ee&&!Yt&&0<$e.length&&1<Ge+Q.length&&c.uniqueSort(Ie)}return Ee&&(z=Nn,p=wn),Mi},bt?se(Tt):Tt))).selector=S}return zt}function On(S,A,Y,U){var Q,bt,wt,Tt,yt,re=typeof S=="function"&&S,zt=!U&&sn(S=re.selector||S);if(Y=Y||[],zt.length===1){if(2<(bt=zt[0]=zt[0].slice(0)).length&&(wt=bt[0]).type==="ID"&&A.nodeType===9&&O&&l.relative[bt[1].type]){if(!(A=(l.find.ID(wt.matches[0].replace(tt,it),A)||[])[0]))return Y;re&&(A=A.parentNode),S=S.slice(bt.shift().value.length)}for(Q=b.needsContext.test(S)?0:bt.length;Q--&&(wt=bt[Q],!l.relative[Tt=wt.type]);)if((yt=l.find[Tt])&&(U=yt(wt.matches[0].replace(tt,it),Z.test(bt[0].type)&&Dn(A.parentNode)||A))){if(bt.splice(Q,1),!(S=U.length&&_n(bt)))return F.apply(Y,U),Y;break}}return(re||In(S,zt))(U,A,!O,Y,!A||Z.test(S)&&Dn(A.parentNode)||A),Y}Pn.prototype=l.filters=l.pseudos,l.setFilters=new Pn,rt.sortStable=B.split("").sort(ke).join("")===B,mi(),rt.sortDetached=Zt(function(S){return 1&S.compareDocumentPosition(x.createElement("fieldset"))}),c.find=ft,c.expr[":"]=c.expr.pseudos,c.unique=c.uniqueSort,ft.compile=In,ft.select=On,ft.setDocument=mi,ft.tokenize=sn,ft.escape=c.escapeSelector,ft.getText=c.text,ft.isXML=c.isXMLDoc,ft.selectors=c.expr,ft.support=c.support,ft.uniqueSort=c.uniqueSort})();var t=function(s,l,p){for(var m=[],y=p!==void 0;(s=s[l])&&s.nodeType!==9;
3)if(s.nodeType===1){if(y&&c(s).is(p))break;m.push(s)}return m},e=function(s,l){for(var p=[];s;s=s.nextSibling)s.nodeType===1&&s!==l&&p.push(s);return p},n=c.expr.match.needsContext,r=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function a(s,l,p){return _t(l)?c.grep(s,function(m,y){return!!l.call(m,y,m)!==p}):l.nodeType?c.grep(s,function(m){return m===l!==p}):typeof l!="string"?c.grep(s,function(m){return-1<Wt.call(l,m)!==p}):c.filter(l,s,p)}c.filter=function(s,l,p){var m=l[0];return p&&(s=":not("+s+")"),l.length===1&&m.nodeType===1?c.find.matchesSelector(m,s)?[m]:[]:c.find.matches(s,c.grep(l,function(y){return y.nodeType===1}))},c.fn.extend({find:function(s){var l,p,m=this.length,y=this;if(typeof s!="string")return this.pushStack(c(s).filter(function(){for(l=0;l<m;l++)if(c.contains(y[l],this))return!0}));for(p=this.pushStack([]),l=0;l<m;l++)c.find(s,y[l],p);return 1<m?c.uniqueSort(p):p},filter:function(s){return this.pushStack(a(this,s||[],!1))},not:function(s){return this.pushStack(a(this,s||[],!0))},is:function(s){return!!a(this,typeof s=="string"&&n.test(s)?c(s):s||[],!1).length}});var d,_=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(c.fn.init=function(s,l,p){var m,y;if(!s)return this;if(p=p||d,typeof s=="string"){if(!(m=s[0]==="<"&&s[s.length-1]===">"&&3<=s.length?[null,s,null]:_.exec(s))||!m[1]&&l)return!l||l.jquery?(l||p).find(s):this.constructor(l).find(s);if(m[1]){if(l=l instanceof c?l[0]:l,c.merge(this,c.parseHTML(m[1],l&&l.nodeType?l.ownerDocument||l:mt,!0)),r.test(m[1])&&c.isPlainObject(l))for(m in l)_t(this[m])?this[m](l[m]):this.attr(m,l[m]);return this}return(y=mt.getElementById(m[2]))&&(this[0]=y,this.length=1),this}return s.nodeType?(this[0]=s,this.length=1,this):_t(s)?p.ready!==void 0?p.ready(s):s(c):c.makeArray(s,this)}).prototype=c.fn,d=c(mt);var h=/^(?:parents|prev(?:Until|All))/,f={children:!0,contents:!0,next:!0,prev:!0};function w(s,l){for(;(s=s[l])&&s.nodeType!==1;);return s}c.fn.extend({has:function(s){var l=c(s,this),p=l.length;return this.filter(function(){for(var m=0;m<p;m++)if(c.contains(this,l[m]))return!0})},closest:function(s,l){var p,m=0,y=this.length,x=[],C=typeof s!="string"&&c(s);if(!n.test(s)){for(;m<y;m++)for(p=this[m];p&&p!==l;p=p.parentNode)if(p.nodeType<11&&(C?-1<C.index(p):p.nodeType===1&&c.find.matchesSelector(p,s))){x.push(p);break}}return this.pushStack(1<x.length?c.uniqueSort(x):x)},index:function(s){return s?typeof s=="string"?Wt.call(c(s),this[0]):Wt.call(this,s.jquery?s[0]:s):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(s,l){return this.pushStack(c.uniqueSort(c.merge(this.get(),c(s,l))))},addBack:function(s){return this.add(s==null?this.prevObject:this.prevObject.filter(s))}}),c.each({parent:function(s){var l=s.parentNode;return l&&l.nodeType!==11?l:null},parents:function(s){return t(s,"parentNode")},parentsUntil:function(s,l,p){return t(s,"parentNode",p)},next:function(s){return w(s,"nextSibling")},prev:function(s){return w(s,"previousSibling")},nextAll:function(s){return t(s,"nextSibling")},prevAll:function(s){return t(s,"previousSibling")},nextUntil:function(s,l,p){return t(s,"nextSibling",p)},prevUntil:function(s,l,p){return t(s,"previousSibling",p)},siblings:function(s){return e((s.parentNode||{}).firstChild,s)},children:function(s){return e(s.firstChild)},contents:function(s){return s.contentDocument!=null&&K(s.contentDocument)?s.contentDocument:(ct(s,"template")&&(s=s.content||s),c.merge([],s.childNodes))}},function(s,l){c.fn[s]=function(p,m){var y=c.map(this,l,p);return s.slice(-5)!=="Until"&&(m=p),m&&typeof m=="string"&&(y=c.filter(m,y)),1<this.length&&(f[s]||c.uniqueSort(y),h.test(s)&&y.reverse()),this.pushStack(y)}});var k=/[^\x20\t\r\n\f]+/g;function D(s){return s}function M(s){throw s}function P(s,l,p,m){var y;try{s&&_t(y=s.promise)?y.call(s).done(l).fail(p):s&&_t(y=s.then)?y.call(s,l,p):l.apply(void 0,[s].slice(m))}catch(x){p.apply(void 0,[x])}}c.Callbacks=function(s){var l,p;s=typeof s=="string"?(l=s,p={},c.each(l.match(k)||[],function(z,$){p[$]=!0}),p):c.extend({},s);var m,y,x,C,O=[],I=[],H=-1,F=function(){for(C=C||s.once,x=m=!0;I.length;H=-1)for(y=I.shift();++H<O.length;)O[H].apply(y[0],y[1])===!1&&s.stopOnFalse&&(H=O.length,y=!1);s.memory||(y=!1),m=!1,C&&(O=y?[]:"")},B={add:function(){return O&&(y&&!m&&(H=O.length-1,I.push(y)),(function z($){c.each($,function(xt,It){_t(It)?s.unique&&B.has(It)||O.push(It):It&&It.length&&Nt(It)!=="str
3ing"&&z(It)})})(arguments),y&&!m&&F()),this},remove:function(){return c.each(arguments,function(z,$){for(var xt;-1<(xt=c.inArray($,O,xt));)O.splice(xt,1),xt<=H&&H--}),this},has:function(z){return z?-1<c.inArray(z,O):0<O.length},empty:function(){return O&&(O=[]),this},disable:function(){return C=I=[],O=y="",this},disabled:function(){return!O},lock:function(){return C=I=[],y||m||(O=y=""),this},locked:function(){return!!C},fireWith:function(z,$){return C||($=[z,($=$||[]).slice?$.slice():$],I.push($),m||F()),this},fire:function(){return B.fireWith(this,arguments),this},fired:function(){return!!x}};return B},c.extend({Deferred:function(s){var l=[["notify","progress",c.Callbacks("memory"),c.Callbacks("memory"),2],["resolve","done",c.Callbacks("once memory"),c.Callbacks("once memory"),0,"resolved"],["reject","fail",c.Callbacks("once memory"),c.Callbacks("once memory"),1,"rejected"]],p="pending",m={state:function(){return p},always:function(){return y.done(arguments).fail(arguments),this},catch:function(x){return m.then(null,x)},pipe:function(){var x=arguments;return c.Deferred(function(C){c.each(l,function(O,I){var H=_t(x[I[4]])&&x[I[4]];y[I[1]](function(){var F=H&&H.apply(this,arguments);F&&_t(F.promise)?F.promise().progress(C.notify).done(C.resolve).fail(C.reject):C[I[0]+"With"](this,H?[F]:arguments)})}),x=null}).promise()},then:function(x,C,O){var I=0;function H(F,B,z,$){return function(){var xt=this,It=arguments,lt=function(){var ke,Ce;if(!(F<I)){if((ke=z.apply(xt,It))===B.promise())throw new TypeError("Thenable self-resolution");Ce=ke&&(typeof ke=="object"||typeof ke=="function")&&ke.then,_t(Ce)?$?Ce.call(ke,H(I,B,D,$),H(I,B,M,$)):(I++,Ce.call(ke,H(I,B,D,$),H(I,B,M,$),H(I,B,D,B.notifyWith))):(z!==D&&(xt=void 0,It=[ke]),($||B.resolveWith)(xt,It))}},we=$?lt:function(){try{lt()}catch(ke){c.Deferred.exceptionHook&&c.Deferred.exceptionHook(ke,we.error),I<=F+1&&(z!==M&&(xt=void 0,It=[ke]),B.rejectWith(xt,It))}};F?we():(c.Deferred.getErrorHook?we.error=c.Deferred.getErrorHook():c.Deferred.getStackHook&&(we.error=c.Deferred.getStackHook()),i.setTimeout(we))}}return c.Deferred(function(F){l[0][3].add(H(0,F,_t(O)?O:D,F.notifyWith)),l[1][3].add(H(0,F,_t(x)?x:D)),l[2][3].add(H(0,F,_t(C)?C:M))}).promise()},promise:function(x){return x!=null?c.extend(x,m):m}},y={};return c.each(l,function(x,C){var O=C[2],I=C[5];m[C[1]]=O.add,I&&O.add(function(){p=I},l[3-x][2].disable,l[3-x][3].disable,l[0][2].lock,l[0][3].lock),O.add(C[3].fire),y[C[0]]=function(){return y[C[0]+"With"](this===y?void 0:this,arguments),this},y[C[0]+"With"]=O.fireWith}),m.promise(y),s&&s.call(y,y),y},when:function(s){var l=arguments.length,p=l,m=Array(p),y=j.call(arguments),x=c.Deferred(),C=function(O){return function(I){m[O]=this,y[O]=1<arguments.length?j.call(arguments):I,--l||x.resolveWith(m,y)}};if(l<=1&&(P(s,x.done(C(p)).resolve,x.reject,!l),x.state()==="pending"||_t(y[p]&&y[p].then)))return x.then();for(;p--;)P(y[p],C(p),x.reject);return x.promise()}});var L=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;c.Deferred.exceptionHook=function(s,l){i.console&&i.console.warn&&s&&L.test(s.name)&&i.console.warn("jQuery.Deferred exception: "+s.message,s.stack,l)},c.readyException=function(s){i.setTimeout(function(){throw s})};var V=c.Deferred();function q(){mt.removeEventListener("DOMContentLoaded",q),i.removeEventListener("load",q),c.ready()}c.fn.ready=function(s){return V.then(s).catch(function(l){c.readyException(l)}),this},c.extend({isReady:!1,readyWait:1,ready:function(s){(s===!0?--c.readyWait:c.isReady)||(c.isReady=!0)!==s&&0<--c.readyWait||V.resolveWith(mt,[c])}}),c.ready.then=V.then,mt.readyState==="complete"||mt.readyState!=="loading"&&!mt.documentElement.doScroll?i.setTimeout(c.ready):(mt.addEventListener("DOMContentLoaded",q),i.addEventListener("load",q));var nt=function(s,l,p,m,y,x,C){var O=0,I=s.length,H=p==null;if(Nt(p)==="object")for(O in y=!0,p)nt(s,l,O,p[O],!0,x,C);else if(m!==void 0&&(y=!0,_t(m)||(C=!0),H&&(C?(l.call(s,m),l=null):(H=l,l=function(F,B,z){return H.call(c(F),z)})),l))for(;O<I;O++)l(s[O],p,C?m:m.call(s[O],O,l(s[O],p)));return y?s:H?l.call(s):I?l(s[0],p):x},st=/^-ms-/,E=/-([a-z])/g;function X(s,l){return l.toUpperCase()}function Et(s){return s.replace(st,"ms-").replace(E,X)}var Rt=function(s){return s.nodeType===1||s.nodeType===9||!+s.nodeType};function Mt(){this.expando=c.expando+Mt.uid++}Mt.uid=1,Mt.prototype={cache:function(s){var l=s[this.expando];return l||(l={},Rt(s)&&(s.nodeType?s[this.expando]=l:Object.defineProperty(s,this.expando,{value:l,configurable:!0}))),l},set:function(s,l,p){var m,y=this.cache(s);if(typeof l=="string")y[Et(l)]=p;else for(m in l)y[Et(m)]=l[m];return y},get:function(s,l){return l===void 0?this.cache(s):s[this.expando]&&s[this.expando][Et(l)]},access:function(s,l,p){return l===void 0||l&&typeof l=="string"&&p===void 0?this.get(s,l):(this.set(s,l,p),p!==void 0?p:l)},remove:function(s,l){var p,m=s[this.expando];if(m!==void 0){if(l!==void 0)for(p=(l=Array.isArray(l)?l.map(Et):(l=Et(l))in m?[l]:l.match(k)||[]).length;p--;)delete m[l[p]];(l===void 0||c.isEmptyObject(m))&&(s.nodeType?s[this.expando]=void 0:delete s[this.expando])}},hasData:function(s){var l=s[this.expando];return l!==void 0&&!c.isEmptyObject(l)}};var G=new Mt,Lt=new Mt,ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,gt=/[A-Z]/g;function de(s,l,p){var m,y;if(p===void 0&&s.nodeType===1)if(m="data-"+l.replace(gt,"-$&").toLowerCase(),typeof(p=s.getAttribute(m))=="string"){try{p=(y=p)==="true"||y!=="false"&&(y==="null"?null:y===+y+""?+y:ue.test(y)?JSON.parse(y):y)}catch{}Lt.set(s,l,p)}else p=void 0;return p}c.extend({hasData:function(s){return Lt.hasData(s)||G.hasData(s)},data:function(s,l,p){return Lt.access(s,l,p)},removeData:function(s,l){Lt.remove(s,l)},_data:function(s,l,p){return G.access(s,l,p)},_removeData:function(s,l){G.remove(s,l)}}),c.fn.extend({data:function(s,l){var p,m,y,x=this[0],C=x&&x.attributes;if(s===void 0){if(this.length&&(y=Lt.get(x),x.nodeType===1&&!G.get(x,"hasDataAttrs"))){for(p=C.length;p--;)C[p]&&(m=C[p].name).indexOf("data-")===0&&(m=Et(m.slice(5)),de(x,m,y[m]));G.set(x,"hasDataAttrs",!0)}return y}return typeof s=="object"?this.each(function(){Lt.set(this,s)}):nt(this,function(O){var I;if(x&&O===void 0)return(I=Lt.get(x,s))!==void 0||(I=de(x,s))!==void 0?I:void 0;this.each(function(){Lt.set(this,s,O)})},null,l,1<arguments.length,null,!0)},removeData:function(s){return this.each(function(){Lt.remove(this,s)})}}),c.extend({queue:function(s,l,p){var m;if(s)return l=(l||"fx")+"queue",m=G.get(s,l),p&&(!m||Array.isArray(p)?m=G.access(s,l,c.makeArray(p)):m.push(p)),m||[]},dequeue:function(s,l){l=l||"fx";var p=c.queue(s,l),m=p.length,y=p.shift(),x=c._queueHooks(s,l);y==="inprogress"&&(y=p.shift(),m--),y&&(l==="fx"&&p.unshift("inprogress"),delete x.stop,y.call(s,function(){c.dequeue(s,l)},x)),!m&&x&&x.empty.fire()},_queueHooks:function(s,l){var p=l+"queueHooks";return G.get(s,p)||G.access(s,p,{empty:c.Callbacks("once memory").add(function(){G.remove(s,[l+"queue",p])})})}}),c.fn.extend({queue:function(s,l){var p=2;
3return typeof s!="string"&&(l=s,s="fx",p--),arguments.length<p?c.queue(this[0],s):l===void 0?this:this.each(function(){var m=c.queue(this,s,l);c._queueHooks(this,s),s==="fx"&&m[0]!=="inprogress"&&c.dequeue(this,s)})},dequeue:function(s){return this.each(function(){c.dequeue(this,s)})},clearQueue:function(s){return this.queue(s||"fx",[])},promise:function(s,l){var p,m=1,y=c.Deferred(),x=this,C=this.length,O=function(){--m||y.resolveWith(x,[x])};for(typeof s!="string"&&(l=s,s=void 0),s=s||"fx";C--;)(p=G.get(x[C],s+"queueHooks"))&&p.empty&&(m++,p.empty.add(O));return O(),y.promise(l)}});var ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ee=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],me=mt.documentElement,oe=function(s){return c.contains(s.ownerDocument,s)},Pt={composed:!0};me.getRootNode&&(oe=function(s){return c.contains(s.ownerDocument,s)||s.getRootNode(Pt)===s.ownerDocument});var _e=function(s,l){return(s=l||s).style.display==="none"||s.style.display===""&&oe(s)&&c.css(s,"display")==="none"};function De(s,l,p,m){var y,x,C=20,O=m?function(){return m.cur()}:function(){return c.css(s,l,"")},I=O(),H=p&&p[3]||(c.cssNumber[l]?"":"px"),F=s.nodeType&&(c.cssNumber[l]||H!=="px"&&+I)&&ee.exec(c.css(s,l));if(F&&F[3]!==H){for(I/=2,H=H||F[3],F=+I||1;C--;)c.style(s,l,F+H),(1-x)*(1-(x=O()/I||.5))<=0&&(C=0),F/=x;F*=2,c.style(s,l,F+H),p=p||[]}return p&&(F=+F||+I||0,y=p[1]?F+(p[1]+1)*p[2]:+p[2],m&&(m.unit=H,m.start=F,m.end=y)),y}var Oe={};function Te(s,l){for(var p,m,y,x,C,O,I,H=[],F=0,B=s.length;F<B;F++)(m=s[F]).style&&(p=m.style.display,l?(p==="none"&&(H[F]=G.get(m,"display")||null,H[F]||(m.style.display="")),m.style.display===""&&_e(m)&&(H[F]=(I=C=x=void 0,C=(y=m).ownerDocument,O=y.nodeName,(I=Oe[O])||(x=C.body.appendChild(C.createElement(O)),I=c.css(x,"display"),x.parentNode.removeChild(x),I==="none"&&(I="block"),Oe[O]=I)))):p!=="none"&&(H[F]="none",G.set(m,"display",p)));for(F=0;F<B;F++)H[F]!=null&&(s[F].style.display=H[F]);return s}c.fn.extend({show:function(){return Te(this,!0)},hide:function(){return Te(this)},toggle:function(s){return typeof s=="boolean"?s?this.show():this.hide():this.each(function(){_e(this)?c(this).show():c(this).hide()})}});var ye,ie,xe=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,gi=/^$|^module$|\/(?:java|ecma)script/i;ye=mt.createDocumentFragment().appendChild(mt.createElement("div")),(ie=mt.createElement("input")).setAttribute("type","radio"),ie.setAttribute("checked","checked"),ie.setAttribute("name","t"),ye.appendChild(ie),rt.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",rt.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue,ye.innerHTML="<option></option>",rt.option=!!ye.lastChild;var Me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(s,l){var p;return p=typeof s.getElementsByTagName<"u"?s.getElementsByTagName(l||"*"):typeof s.querySelectorAll<"u"?s.querySelectorAll(l||"*"):[],l===void 0||l&&ct(s,l)?c.merge([s],p):p}function Ae(s,l){for(var p=0,m=s.length;p<m;p++)G.set(s[p],"globalEval",!l||G.get(l[p],"globalEval"))}Me.tbody=Me.tfoot=Me.colgroup=Me.caption=Me.thead,Me.th=Me.td,rt.option||(Me.optgroup=Me.option=[1,"<select multiple='multiple'>","</select>"]);var Ii=/<|&#?\w+;/;function vi(s,l,p,m,y){for(var x,C,O,I,H,F,B=l.createDocumentFragment(),z=[],$=0,xt=s.length;$<xt;$++)if((x=s[$])||x===0)if(Nt(x)==="object")c.merge(z,x.nodeType?[x]:x);else if(Ii.test(x)){for(C=C||B.appendChild(l.createElement("div")),O=(Se.exec(x)||["",""])[1].toLowerCase(),I=Me[O]||Me._default,C.innerHTML=I[1]+c.htmlPrefilter(x)+I[2],F=I[0];F--;)C=C.lastChild;c.merge(z,C.childNodes),(C=B.firstChild).textContent=""}else z.push(l.createTextNode(x));for(B.textContent="",$=0;x=z[$++];)if(m&&-1<c.inArray(x,m))y&&y.push(x);else if(H=oe(x),C=ge(B.appendChild(x),"script"),H&&Ae(C),p)for(F=0;x=C[F++];)gi.test(x.type||"")&&p.push(x);return B}var ri=/^([^.]*)(?:\.(.+)|)/;function ze(){return!0}function He(){return!1}function Fe(s,l,p,m,y,x){var C,O;if(typeof l=="object"){for(O in typeof p!="string"&&(m=m||p,p=void 0),l)Fe(s,O,p,m,l[O],x);return s}if(m==null&&y==null?(y=p,m=p=void 0):y==null&&(typeof p=="string"?(y=m,m=void 0):(y=m,m=p,p=void 0)),y===!1)y=He;else if(!y)return s;return x===1&&(C=y,(y=function(I){return c().off(I),C.apply(this,arguments)}).guid=C.guid||(C.guid=c.guid++)),s.each(function(){c.event.add(this,l,y,m,p)})}function ae(s,l,p){p?(G.set(s,l,!1),c.event.add(s,l,{namespace:!1,handler:function(m){var y,x=G.get(this,l);if(1&m.isTrigger&&this[l]){if(x)(c.event.special[l]||{}).delegateType&&m.stopPropagation();else if(x=j.call(arguments),G.set(this,l,x),this[l](),y=G.get(this,l),G.set(this,l,!1),x!==y)return m.stopImmediatePropagation(),m.preventDefault(),y}else x&&(G.set(this,l,c.event.trigger(x[0],x.slice(1),this)),m.stopPropagation(),m.isImmediatePropagationStopped=ze)}}
vendor: 6,466 bytes, line 3
3)):G.get(s,l)===void 0&&c.event.add(s,l,ze)}c.event={global:{},add:function(s,l,p,m,y){var x,C,O,I,H,F,B,z,$,xt,It,lt=G.get(s);if(Rt(s))for(p.handler&&(p=(x=p).handler,y=x.selector),y&&c.find.matchesSelector(me,y),p.guid||(p.guid=c.guid++),(I=lt.events)||(I=lt.events=Object.create(null)),(C=lt.handle)||(C=lt.handle=function(we){return typeof c<"u"&&c.event.triggered!==we.type?c.event.dispatch.apply(s,arguments):void 0}),H=(l=(l||"").match(k)||[""]).length;H--;)$=It=(O=ri.exec(l[H])||[])[1],xt=(O[2]||"").split(".").sort(),$&&(B=c.event.special[$]||{},$=(y?B.delegateType:B.bindType)||$,B=c.event.special[$]||{},F=c.extend({type:$,origType:It,data:m,handler:p,guid:p.guid,selector:y,needsContext:y&&c.expr.match.needsContext.test(y),namespace:xt.join(".")},x),(z=I[$])||((z=I[$]=[]).delegateCount=0,B.setup&&B.setup.call(s,m,xt,C)!==!1||s.addEventListener&&s.addEventListener($,C)),B.add&&(B.add.call(s,F),F.handler.guid||(F.handler.guid=p.guid)),y?z.splice(z.delegateCount++,0,F):z.push(F),c.event.global[$]=!0)},remove:function(s,l,p,m,y){var x,C,O,I,H,F,B,z,$,xt,It,lt=G.hasData(s)&&G.get(s);if(lt&&(I=lt.events)){for(H=(l=(l||"").match(k)||[""]).length;H--;)if($=It=(O=ri.exec(l[H])||[])[1],xt=(O[2]||"").split(".").sort(),$){for(B=c.event.special[$]||{},z=I[$=(m?B.delegateType:B.bindType)||$]||[],O=O[2]&&new RegExp("(^|\\.)"+xt.join("\\.(?:.*\\.|)")+"(\\.|$)"),C=x=z.length;x--;)F=z[x],!y&&It!==F.origType||p&&p.guid!==F.guid||O&&!O.test(F.namespace)||m&&m!==F.selector&&(m!=="**"||!F.selector)||(z.splice(x,1),F.selector&&z.delegateCount--,B.remove&&B.remove.call(s,F));C&&!z.length&&(B.teardown&&B.teardown.call(s,xt,lt.handle)!==!1||c.removeEvent(s,$,lt.handle),delete I[$])}else for($ in I)c.event.remove(s,$+l[H],p,m,!0);c.isEmptyObject(I)&&G.remove(s,"handle events")}},dispatch:function(s){var l,p,m,y,x,C,O=new Array(arguments.length),I=c.event.fix(s),H=(G.get(this,"events")||Object.create(null))[I.type]||[],F=c.event.special[I.type]||{};for(O[0]=I,l=1;l<arguments.length;l++)O[l]=arguments[l];if(I.delegateTarget=this,!F.preDispatch||F.preDispatch.call(this,I)!==!1){for(C=c.event.handlers.call(this,I,H),l=0;(y=C[l++])&&!I.isPropagationStopped();)for(I.currentTarget=y.elem,p=0;(x=y.handlers[p++])&&!I.isImmediatePropagationStopped();)I.rnamespace&&x.namespace!==!1&&!I.rnamespace.test(x.namespace)||(I.handleObj=x,I.data=x.data,(m=((c.event.special[x.origType]||{}).handle||x.handler).apply(y.elem,O))!==void 0&&(I.result=m)===!1&&(I.preventDefault(),I.stopPropagation()));return F.postDispatch&&F.postDispatch.call(this,I),I.result}},handlers:function(s,l){var p,m,y,x,C,O=[],I=l.delegateCount,H=s.target;if(I&&H.nodeType&&!(s.type==="click"&&1<=s.button)){for(;H!==this;H=H.parentNode||this)if(H.nodeType===1&&(s.type!=="click"||H.disabled!==!0)){for(x=[],C={},p=0;p<I;p++)C[y=(m=l[p]).selector+" "]===void 0&&(C[y]=m.needsContext?-1<c(y,this).index(H):c.find(y,this,null,[H]).length),C[y]&&x.push(m);x.length&&O.push({elem:H,handlers:x})}}return H=this,I<l.length&&O.push({elem:H,handlers:l.slice(I)}),O},addProp:function(s,l){Object.defineProperty(c.Event.prototype,s,{enumerable:!0,configurable:!0,get:_t(l)?function(){if(this.originalEvent)return l(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[s]},set:function(p){Object.defineProperty(this,s,{enumerable:!0,configurable:!0,writable:!0,value:p})}})},fix:function(s){return s[c.expando]?s:new c.Event(s)},special:{load:{noBubble:!0},click:{setup:function(s){var l=this||s;return xe.test(l.type)&&l.click&&ct(l,"input")&&ae(l,"click",!0),!1},trigger:function(s){var l=this||s;return xe.test(l.type)&&l.click&&ct(l,"input")&&ae(l,"click"),!0},_default:function(s){var l=s.target;return xe.test(l.type)&&l.click&&ct(l,"input")&&G.get(l,"click")||ct(l,"a")}},beforeunload:{postDispatch:function(s){s.result!==void 0&&s.originalEvent&&(s.originalEvent.returnValue=s.result)}}}},c.removeEvent=function(s,l,p){s.removeEventListener&&s.removeEventListener(l,p)},c.Event=function(s,l){if(!(this instanceof c.Event))return new c.Event(s,l);s&&s.type?(this.originalEvent=s,this.type=s.type,this.isDefaultPrevented=s.defaultPrevented||s.defaultPrevented===void 0&&s.returnValue===!1?ze:He,this.target=s.target&&s.target.nodeType===3?s.target.parentNode:s.target,this.currentTarget=s.currentTarget,this.relatedTarget=s.relatedTarget):this.type=s,l&&c.extend(this,l),this.timeStamp=s&&s.timeStamp||Date.now(),this[c.expando]=!0},c.Event.prototype={constructor:c.Event,isDefaultPrevented:He,isPropagationStopped:He,isImmediatePropagationStopped:He,isSimulated:!1,preventDefault:function(){var s=this.originalEvent;this.isDefaultPrevented=ze,s&&!this.isSimulated&&s.preventDefault()},stopPropagation:function(){var s=this.originalEvent;this.isPropagationStopped=ze,s&&!this.isSimulated&&s.stopPropagation()},stopImmediatePropagation:function(){var s=this.originalEvent;this.isImmediatePropagationStopped=ze,s&&!this.isSimulated&&s.stopImmediatePropagation(),this.stopPropagation()}},c.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},c.event.addProp),c.each({focus:"focusin",blur:"focusout"},function(s,l){function p(m){if(mt.documentMode){var y=G.get(this,"handle"),x=c.event.fix(m);x.type=m.type==="focusin"?"focus":"blur",x.isSimulated=!0,y(m),x.target===x.currentTarget&&y(x)}else c.event.simulate(l,m.target,c.event.fix(m))}c.event.special[s]={setup:function(){var m;if(ae(this,s,!0),!mt.documentMode)return!1;(m=G.get(this,l))||this.addEventListener(l,p),G.set(this,l,(m||0)+1)},trigger:function(){return ae(this,s),!0},teardown:function(){var m;if(!mt.documentMode)return!1;(m=G.get(this,l)-1)?G.set(this,l,m):(this.removeEventListener(l,p),G.remove(this,l))},_default:function(m){return G.get(m.target,s)},delegateType:l},c.event.special[l]={setup:function(){var m=this.ownerDocument||this.document||this,y=mt.documentMode?this:m,x=G.get(y,l);x||(mt.documentMode?this.addEventListener(l,p):m.addEventListener(s,p,!0)),G.set(y,l,(x||0)+1)},teardown:function(){var m=this.ownerDocument||this.document||this,y=mt.documentMode?this:m,x=G.get(y,l)-1;x?G.set(y,l,x):(mt.documentMode?this.removeEventListener(l,p):m.removeEventListener(s,p,!0),G.remove(y,l))}}}
3),c.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(s,l){c.event.special[s]={delegateType:l,bindType:l,handle:function(p){var m,y=p.relatedTarget,x=p.handleObj;return y&&(y===this||c.contains(this,y))||(p.type=x.origType,m=x.handler.apply(this,arguments),p.type=l),m}}}),c.fn.extend({on:function(s,l,p,m){return Fe(this,s,l,p,m)},one:function(s,l,p,m){return Fe(this,s,l,p,m,1)},off:function(s,l,p){var m,y;if(s&&s.preventDefault&&s.handleObj)return m=s.handleObj,c(s.delegateTarget).off(m.namespace?m.origType+"."+m.namespace:m.origType,m.selector,m.handler),this;if(typeof s=="object"){for(y in s)this.off(y,l,s[y]);return this}return l!==!1&&typeof l!="function"||(p=l,l=void 0),p===!1&&(p=He),this.each(function(){c.event.remove(this,s,p,l)})}});var be=/<script|<style|<link/i,Pi=/checked\s*(?:[^=]|=\s*.checked.)/i,on=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ai(s,l){return ct(s,"table")&&ct(l.nodeType!==11?l:l.firstChild,"tr")&&c(s).children("tbody")[0]||s}function Be(s){return s.type=(s.getAttribute("type")!==null)+"/"+s.type,s}function Yi(s){return(s.type||"").slice(0,5)==="true/"?s.type=s.type.slice(5):s.removeAttribute("type"),s}function li(s,l){var p,m,y,x,C,O;if(l.nodeType===1){if(G.hasData(s)&&(O=G.get(s).events))for(y in G.remove(l,"handle events"),O)for(p=0,m=O[y].length;p<m;p++)c.event.add(l,y,O[y][p]);Lt.hasData(s)&&(x=Lt.access(s),C=c.extend({},x),Lt.set(l,C))}}function ti(s,l,p,m){l=at(l);var y,x,C,O,I,H,F=0,B=s.length,z=B-1,$=l[0],xt=_t($);if(xt||1<B&&typeof $=="string"&&!rt.checkClone&&Pi.test($))return s.each(function(It){var lt=s.eq(It);xt&&(l[0]=$.call(this,It,lt.html())),ti(lt,l,p,m)});if(B&&(x=(y=vi(l,s[0].ownerDocument,!1,s,m)).firstChild,y.childNodes.length===1&&(y=x),x||m)){for(O=(C=c.map(ge(y,"script"),Be)).length;F<B;F++)I=y,F!==z&&(I=c.clone(I,!0,!0),O&&c.merge(C,ge(I,"script"))),p.call(s[F],I,F);if(O)for(H=C[C.length-1].ownerDocument,c.map(C,Yi),F=0;F<O;F++)I=C[F],gi.test(I.type||"")&&!G.access(I,"globalEval")&&c.contains(H,I)&&(I.src&&(I.type||"").toLowerCase()!=="module"?c._evalUrl&&!I.noModule&&c._evalUrl(I.src,{nonce:I.nonce||I.getAttribute("nonce")},H):Kt(I.textContent.replace(on,""),I,H))}return s}function _i(s,l,p){for(var m,y=l?c.filter(l,s):s,x=0;(m=y[x])!=null;x++)p||m.nodeType!==1||c.cleanData(ge(m)),m.parentNode&&(p&&oe(m)&&Ae(ge(m,"script")),m.parentNode.removeChild(m));return s}c.extend({htmlPrefilter:function(s){return s},clone:function(s,l,p){var m,y,x,C,O,I,H,F=s.cloneNode(!0),B=oe(s);if(!(rt.noCloneChecked||s.nodeType!==1&&s.nodeType!==11||c.isXMLDoc(s)))for(C=ge(F),m=0,y=(x=ge(s)).length;m<y;m++)O=x[m],I=C[m],(H=I.nodeName.toLowerCase())==="input"&&xe.test(O.type)?I.checked=O.checked:H!=="input"&&H!=="textarea"||(I.defaultValue=O.defaultValue);if(l)if(p)for(x=x||ge(s),C=C||ge(F),m=0,y=x.length;m<y;m++)li(x[m],C[m]);else li(s,F);return 0<(C=ge(F,"script")).length&&Ae(C,!B&&ge(s,"script")),F},cleanData:function(s){for(var l,p,m,y=c.event.special,x=0;(p=s[x])!==void 0;x++)if(Rt(p)){if(l=p[G.expando]){if(l.events)for(m in l.events)y[m]?c.event.remove(p,m):c.removeEvent(p,m,l.handle);p[G.expando]=void 0}p[Lt.expando]&&(p[Lt.expando]=void 0)}}}),c.fn.extend({detach:function(s){return _i(this,s,!0)},remove:function(s){return _i(this,s)},text:function(s){return nt(this,function(l){return l===void 0?c.text(this):this.empty().each(function(){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||(this.textContent=l)})},null,s,arguments.length)},append:function(){return ti(this,arguments,function(s){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||ai(this,s).appendChild(s)})},prepend:function(){return ti(this,arguments,function(s){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=ai(this,s);l.insertBefore(s,l.firstChild)}})},before:function(){return ti(this,arguments,function(s){this.parentNode&&this.parentNode.insertBefore(s,this)})},after:function(){return ti(this,arguments,function(s){this.parentNode&&this.parentNode.insertBefore(s,this.nextSibling)})},empty:function(){for(var s,l=0;(s=this[l])!=null;l++)s.nodeType===1&&(c.cleanData(ge(s,!1)),s.textContent="");return this},clone:function(s,l){return s=s!=null&&s,l=l??s,this.map(function(){return c.clone(this,s,l)})},html:function(s){return nt(this,function(l){var p=this[0]||{},m=0,y=this.length;if(l===void 0&&p.nodeType===1)return p.innerHTML;if(typeof l=="string"&&!be.test(l)&&!Me[(Se.exec(l)||["",""])[1].toLowerCase()]){l=c.htmlPrefilter(l);try{for(;m<y;m++)(p=this[m]||{}).nodeType===1&&(c.cleanData(ge(p,!1)),p.innerHTML=l);p=0}catch{}}p&&this.empty().append(l)},null,s,arguments.length)},replaceWith:function(){var s=[];return ti(this,arguments,function(l){var p=this.parentNode;c.inArray(this,s)<0&&(c.cleanData(ge(this)),p&&p.replaceChild(l,this))},s)}}),c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,l){c.fn[s]=function(p){for(var m,y=[],x=c(p),C=x.length-1,O=0;O<=C;O++)m=O===C?this:this.clone(!0),c(x[O])[l](m),pt.apply(y,m.get());return this.pushStack(y)}});var Ri=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),ji=/^--/,Oi=function(s){var l=s.ownerDocument.defaultView;return l&&l.opener||(l=i),l.getComputedStyle(s)},Ai=function(s,l,p){var m,y,x={};for(y in l)x[y]=s.style[y],s.style[y]=l[y];for(y in m=p.call(s),l)s.style[y]=x[y];return m},Ui=new RegExp(pe.join("|"),"i");function hi(s,l,p){var m,y,x,C,O=ji.test(l),I=s.style;return(p=p||Oi(s))&&(C=p.getPropertyValue(l)||p[l],O&&C&&(C=C.replace(vt,"$1")||void 0),C!==""||oe(s)||(C=c.style(s,l)),!rt.pixelBoxStyles()&&Ri.test(C)&&Ui.test(l)&&(m=I.width,y=I.minWidth,x=I.maxWidth,I.minWidth=I.maxWidth=I.width=C,C=p.width,I.width=m,I.minWidth=y,I.maxWidth=x)),C!==void 0?C+"":C}function Bi(s,l){return{get:function(){if(!s())return(this.get=l).apply(this,arguments);delete this.get}}}(function(){function s(){if(H){I.style.cssText="position:absolute;
3left:-11111px;width:60px;margin-top:1px;padding:0;border:0",H.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(I).appendChild(H);var F=i.getComputedStyle(H);p=F.top!=="1%",O=l(F.marginLeft)===12,H.style.right="60%",x=l(F.right)===36,m=l(F.width)===36,H.style.position="absolute",y=l(H.offsetWidth/3)===12,me.removeChild(I),H=null}}function l(F){return Math.round(parseFloat(F))}var p,m,y,x,C,O,I=mt.createElement("div"),H=mt.createElement("div");H.style&&(H.style.backgroundClip="content-box",H.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle=H.style.backgroundClip==="content-box",c.extend(rt,{boxSizingReliable:function(){return s(),m},pixelBoxStyles:function(){return s(),x},pixelPosition:function(){return s(),p},reliableMarginLeft:function(){return s(),O},scrollboxSize:function(){return s(),y},reliableTrDimensions:function(){var F,B,z,$;return C==null&&(F=mt.createElement("table"),B=mt.createElement("tr"),z=mt.createElement("div"),F.style.cssText="position:absolute;left:-11111px;border-collapse:separate",B.style.cssText="box-sizing:content-box;border:1px solid",B.style.height="1px",z.style.height="9px",z.style.display="block",me.appendChild(F).appendChild(B).appendChild(z),$=i.getComputedStyle(B),C=parseInt($.height,10)+parseInt($.borderTopWidth,10)+parseInt($.borderBottomWidth,10)===B.offsetHeight,me.removeChild(F)),C}}))})();var ui=["Webkit","Moz","ms"],qi=mt.createElement("div").style,le={};function ei(s){var l=c.cssProps[s]||le[s];return l||(s in qi?s:le[s]=(function(p){for(var m=p[0].toUpperCase()+p.slice(1),y=ui.length;y--;)if((p=ui[y]+m)in qi)return p})(s)||s)}var rn=/^(none|table(?!-c[ea]).+)/,xn={position:"absolute",visibility:"hidden",display:"block"},yi={letterSpacing:"0",fontWeight:"400"};function qe(s,l,p){var m=ee.exec(l);return m?Math.max(0,m[2]-(p||0))+(m[3]||"px"):l}function bi(s,l,p,m,y,x){var C=l==="width"?1:0,O=0,I=0,H=0;if(p===(m?"border":"content"))return 0;for(;C<4;C+=2)p==="margin"&&(H+=c.css(s,p+pe[C],!0,y)),m?(p==="content"&&(I-=c.css(s,"padding"+pe[C],!0,y)),p!=="margin"&&(I-=c.css(s,"border"+pe[C]+"Width",!0,y))):(I+=c.css(s,"padding"+pe[C],!0,y),p!=="padding"?I+=c.css(s,"border"+pe[C]+"Width",!0,y):O+=c.css(s,"border"+pe[C]+"Width",!0,y));return!m&&0<=x&&(I+=Math.max(0,Math.ceil(s["offset"+l[0].toUpperCase()+l.slice(1)]-x-I-O-.5))||0),I+H}function Ue(s,l,p){var m=Oi(s),y=(!rt.boxSizingReliable()||p)&&c.css(s,"boxSizing",!1,m)==="border-box",x=y,C=hi(s,l,m),O="offset"+l[0].toUpperCase()+l.slice(1);if(Ri.test(C)){if(!p)return C;C="auto"}return(!rt.boxSizingReliable()&&y||!rt.reliableTrDimensions()&&ct(s,"tr")||C==="auto"||!parseFloat(C)&&c.css(s,"display",!1,m)==="inline")&&s.getClientRects().length&&(y=c.css(s,"boxSizing",!1,m)==="border-box",(x=O in s)&&(C=s[O])),(C=parseFloat(C)||0)+bi(s,l,p||(y?"border":"content"),x,m,C)+"px"}function We(s,l,p,m,y){return new We.prototype.init(s,l,p,m,y)}c.extend({cssHooks:{opacity:{get:function(s,l){if(l){var p=hi(s,"opacity");return p===""?"1":p}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(s,l,p,m){if(s&&s.nodeType!==3&&s.nodeType!==8&&s.style){var y,x,C,O=Et(l),I=ji.test(l),H=s.style;if(I||(l=ei(O)),C=c.cssHooks[l]||c.cssHooks[O],p===void 0)return C&&"get"in C&&(y=C.get(s,!1,m))!==void 0?y:H[l];(x=typeof p)=="string"&&(y=ee.exec(p))&&y[1]&&(p=De(s,l,y),x="number"),p!=null&&p==p&&(x!=="number"||I||(p+=y&&y[3]||(c.cssNumber[O]?"":"px")),rt.clearCloneStyle||p!==""||l.indexOf("background")!==0||(H[l]="inherit"),C&&"set"in C&&(p=C.set(s,p,m))===void 0||(I?H.setProperty(l,p):H[l]=p))}},css:function(s,l,p,m){var y,x,C,O=Et(l);return ji.test(l)||(l=ei(O)),(C=c.cssHooks[l]||c.cssHooks[O])&&"get"in C&&(y=C.get(s,!0,p)),y===void 0&&(y=hi(s,l,m)),y==="normal"&&l in yi&&(y=yi[l]),p===""||p?(
vendor: 5,039 bytes, line 3
3x=parseFloat(y),p===!0||isFinite(x)?x||0:y):y}}),c.each(["height","width"],function(s,l){c.cssHooks[l]={get:function(p,m,y){if(m)return!rn.test(c.css(p,"display"))||p.getClientRects().length&&p.getBoundingClientRect().width?Ue(p,l,y):Ai(p,xn,function(){return Ue(p,l,y)})},set:function(p,m,y){var x,C=Oi(p),O=!rt.scrollboxSize()&&C.position==="absolute",I=(O||y)&&c.css(p,"boxSizing",!1,C)==="border-box",H=y?bi(p,l,y,I,C):0;return I&&O&&(H-=Math.ceil(p["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(C[l])-bi(p,l,"border",!1,C)-.5)),H&&(x=ee.exec(m))&&(x[3]||"px")!=="px"&&(p.style[l]=m,m=c.css(p,l)),qe(0,m,H)}}}),c.cssHooks.marginLeft=Bi(rt.reliableMarginLeft,function(s,l){if(l)return(parseFloat(hi(s,"marginLeft"))||s.getBoundingClientRect().left-Ai(s,{marginLeft:0},function(){return s.getBoundingClientRect().left}))+"px"}),c.each({margin:"",padding:"",border:"Width"},function(s,l){c.cssHooks[s+l]={expand:function(p){for(var m=0,y={},x=typeof p=="string"?p.split(" "):[p];m<4;m++)y[s+pe[m]+l]=x[m]||x[m-2]||x[0];return y}},s!=="margin"&&(c.cssHooks[s+l].set=qe)}),c.fn.extend({css:function(s,l){return nt(this,function(p,m,y){var x,C,O={},I=0;if(Array.isArray(m)){for(x=Oi(p),C=m.length;I<C;I++)O[m[I]]=c.css(p,m[I],!1,x);return O}return y!==void 0?c.style(p,m,y):c.css(p,m)},s,l,1<arguments.length)}}),((c.Tween=We).prototype={constructor:We,init:function(s,l,p,m,y,x){this.elem=s,this.prop=p,this.easing=y||c.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=m,this.unit=x||(c.cssNumber[p]?"":"px")},cur:function(){var s=We.propHooks[this.prop];return s&&s.get?s.get(this):We.propHooks._default.get(this)},run:function(s){var l,p=We.propHooks[this.prop];return this.options.duration?this.pos=l=c.easing[this.easing](s,this.options.duration*s,0,1,this.options.duration):this.pos=l=s,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),p&&p.set?p.set(this):We.propHooks._default.set(this),this}}).init.prototype=We.prototype,(We.propHooks={_default:{get:function(s){var l;return s.elem.nodeType!==1||s.elem[s.prop]!=null&&s.elem.style[s.prop]==null?s.elem[s.prop]:(l=c.css(s.elem,s.prop,""))&&l!=="auto"?l:0},set:function(s){c.fx.step[s.prop]?c.fx.step[s.prop](s):s.elem.nodeType!==1||!c.cssHooks[s.prop]&&s.elem.style[ei(s.prop)]==null?s.elem[s.prop]=s.now:c.style(s.elem,s.prop,s.now+s.unit)}}}).scrollTop=We.propHooks.scrollLeft={set:function(s){s.elem.nodeType&&s.elem.parentNode&&(s.elem[s.prop]=s.now)}},c.easing={linear:function(s){return s},swing:function(s){return .5-Math.cos(s*Math.PI)/2},_default:"swing"},c.fx=We.prototype.init,c.fx.step={};var ci,Ni,di,wi,Vi=/^(?:toggle|show|hide)$/,kn=/queueHooks$/;function Gi(){Ni&&(mt.hidden===!1&&i.requestAnimationFrame?i.requestAnimationFrame(Gi):i.setTimeout(Gi,c.fx.interval),c.fx.tick())}function an(){return i.setTimeout(function(){ci=void 0}),ci=Date.now()}function xi(s,l){var p,m=0,y={height:s};for(l=l?1:0;m<4;m+=2-l)y["margin"+(p=pe[m])]=y["padding"+p]=s;return l&&(y.opacity=y.width=s),y}function ln(s,l,p){for(var m,y=(Le.tweeners[l]||[]).concat(Le.tweeners["*"]),x=0,C=y.length;x<C;x++)if(m=y[x].call(p,l,s))return m}function Le(s,l,p){var m,y,x=0,C=Le.prefilters.length,O=c.Deferred().always(function(){delete I.elem}),I=function(){if(y)return!1;for(var B=ci||an(),z=Math.max(0,H.startTime+H.duration-B),$=1-(z/H.duration||0),xt=0,It=H.tweens.length;xt<It;xt++)H.tweens[xt].run($);return O.notifyWith(s,[H,$,z]),$<1&&It?z:(It||O.notifyWith(s,[H,1,0]),O.resolveWith(s,[H]),!1)},H=O.promise({elem:s,props:c.extend({},l),opts:c.extend(!0,{specialEasing:{},easing:c.easing._default},p),originalProperties:l,originalOptions:p,startTime:ci||an(),duration:p.duration,tweens:[],createTween:function(B,z){var $=c.Tween(s,H.opts,B,z,H.opts.specialEasing[B]||H.opts.easing);return H.tweens.push($),$},stop:function(B){var z=0,$=B?H.tweens.length:0;if(y)return this;for(y=!0;z<$;z++)H.tweens[z].run(1);return B?(O.notifyWith(s,[H,1,0]),O.resolveWith(s,[H,B])):O.rejectWith(s,[H,B]),this}}),F=H.props;for(!(function(B,z){var $,xt,It,lt,we;for($ in B)if(It=z[xt=Et($)],lt=B[$],Array.isArray(lt)&&(It=lt[1],lt=B[$]=lt[0]),$!==xt&&(B[xt]=lt,delete B[$]),(we=c.cssHooks[xt])&&"expand"in we)for($ in lt=we.expand(lt),delete B[xt],lt)$ in B||(B[$]=lt[$],z[$]=It);else z[xt]=It})(F,H.opts.specialEasing);x<C;x++)if(m=Le.prefilters[x].call(H,s,F,H.opts))return _t(m.stop)&&(c._queueHooks(H.elem,H.opts.queue).stop=m.stop.bind(m)),m;return c.map(F,ln,H),_t(H.opts.start)&&H.opts.start.call(s,H),H.progress(H.opts.progress).done(H.opts.done,H.opts.complete).fail(H.opts.fail).always(H.opts.always),c.fx.timer(c.extend(I,{elem:s,anim:H,queue:H.opts.queue})),H}c.Animation=c.extend(Le,{tweeners:{"*":[function(s,l){var p=this.createTween(s,l);return De(p.elem,s,ee.exec(l),p),p}]},tweener:function(s,l){_t(s)?(l=s,s=["*"]):s=s.match(k);for(var p,m=0,y=s.length;m<y;m++)p=s[m],Le.tweeners[p]=Le.tweeners[p]||[],Le.tweeners[p].unshift(l)},prefilters:[function(s,l,p){var m,y,x,C,O,I,H,F,B="width"in l||"he
3ight"in l,z=this,$={},xt=s.style,It=s.nodeType&&_e(s),lt=G.get(s,"fxshow");for(m in p.queue||((C=c._queueHooks(s,"fx")).unqueued==null&&(C.unqueued=0,O=C.empty.fire,C.empty.fire=function(){C.unqueued||O()}),C.unqueued++,z.always(function(){z.always(function(){C.unqueued--,c.queue(s,"fx").length||C.empty.fire()})})),l)if(y=l[m],Vi.test(y)){if(delete l[m],x=x||y==="toggle",y===(It?"hide":"show")){if(y!=="show"||!lt||lt[m]===void 0)continue;It=!0}$[m]=lt&&lt[m]||c.style(s,m)}if((I=!c.isEmptyObject(l))||!c.isEmptyObject($))for(m in B&&s.nodeType===1&&(p.overflow=[xt.overflow,xt.overflowX,xt.overflowY],(H=lt&&lt.display)==null&&(H=G.get(s,"display")),(F=c.css(s,"display"))==="none"&&(H?F=H:(Te([s],!0),H=s.style.display||H,F=c.css(s,"display"),Te([s]))),(F==="inline"||F==="inline-block"&&H!=null)&&c.css(s,"float")==="none"&&(I||(z.done(function(){xt.display=H}),H==null&&(F=xt.display,H=F==="none"?"":F)),xt.display="inline-block")),p.overflow&&(xt.overflow="hidden",z.always(function(){xt.overflow=p.overflow[0],xt.overflowX=p.overflow[1],xt.overflowY=p.overflow[2]})),I=!1,$)I||(lt?"hidden"in lt&&(It=lt.hidden):lt=G.access(s,"fxshow",{display:H}),x&&(lt.hidden=!It),It&&Te([s],!0),z.done(function(){for(m in It||Te([s]),G.remove(s,"fxshow"),$)c.style(s,m,$[m])})),I=ln(It?lt[m]:0,m,z),m in lt||(lt[m]=I.start,It&&(I.end=I.start,I.start=0))}],prefilter:function(s,l){l?Le.prefilters.unshift(s):Le.prefilters.push(s)}}),c.speed=function(s,l,p){var m=s&&typeof s=="object"?c.extend({},s):{complete:p||!p&&l||_t(s)&&s,duration:s,easing:p&&l||l&&!_t(l)&&l};return c.fx.off?m.duration=0:typeof m.duration!="number"&&(m.duration in c.fx.speeds?m.duration=c.fx.speeds[m.duration]:m.duration=c.fx.speeds._default),m.queue!=null&&m.queue!==!0||(m.queue="fx"),m.old=m.complete,m.complete=function(){_t(m.old)&&m.old.call(this),m.queue&&c.dequeue(this,m.queue)},m},c.fn.extend({fadeTo:function(s,l,p,m){return this.filter(_e).css("opacity",0).show().end().animate({opacity:l},s,p,m)},animate:function(s,l,p,m){var y=c.isEmptyObject(s),x=c.speed(l,p,m),C=function(){var O=Le(this,c.extend({},s),x);(y||G.get(this,"finish"))&&O.stop(!0)};return C.finish=C,y||x.queue===!1?this.each(C):this.queue(x.queue,C)},stop:function(s,l,p){var m=function(y){var x=y.stop;delete y.stop,x(p)};return typeof s!="string"&&(p=l,l=s,s=void 0),l&&this.queue(s||"fx",[]),this.each(function(){var y=!0,x=s!=null&&s+"queueHooks",C=c.timers,O=G.get(this);if(x)O[x]&&O[x].stop&&m(O[x]);else for(x in O)O[x]&&O[x].stop&&kn.test(x)&&m(O[x]);for(x=C.length;x--;)C[x].elem!==this||s!=null&&C[x].queue!==s||(C[x].anim.stop(p),y=!1,C.splice(x,1));!y&&p||c.dequeue(this,s)})},finish:function(s){return s!==!1&&(s=s||"fx"),this.each(function(){var l,p=G.get(this),m=p[s+"queue"],y=p[s+"queueHooks"],x=c.timers,C=m?m.length:0;for(p.finish=!0,c.queue(this,s,[]),y&&y.stop&&y.stop.call(this,!0),l=x.length;l--;)x[l].elem===this&&x[l].queue===s&&(x[l].anim.stop(!0),x.splice(l,1));for(l=0;l<C;l++)m[l]&&m[l].finish&&m[l].finish.call(this);delete p.finish})}}),c.each(["toggle","show","hide"],function(s,l){var p=c.fn[l];c.fn[l]=function(m,y,x){return m==null||typeof m=="boolean"?p.apply(this,arguments):this.animate(xi(l,!0),m,y,x)}}),c.each({slideDown:xi("show"),slideUp:xi("hide"),slideToggle:xi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(s,l){c.fn[s]=function(p,m,y){return this.animate(l,p,m,y)}}),c.timers=[],c.fx.tick=function(){var s,l=0,p=c.timers;for(ci=Date.now();l<p.length;l++)(s=p[l])()||p[l]!==s||p.splice(l--,1);p.length||c.fx.stop(),ci=void 0},c.fx.timer=function(s){c.timers.push(s),c.fx.start()},c.fx.interval=13,c.fx.start=function(){Ni||(Ni=!0,Gi())},c.fx.stop=function(){Ni=null},c.fx.speeds={slow:600,fast:200,_default:400},c.fn.delay=function(s,l){return s=c.fx&&c.fx.speeds[s]||s,l=l||"fx",this.queue(l,function(p,m){var y=i.setTimeout(p,s);m.stop=function(){i.clearTimeout(y)}})},di=mt.createElement("input"),wi=mt.createElement("select").appendChild(mt.createElement("option")),di.type="checkbox",rt.checkOn=di.value!=="",rt.optSelected=wi.selected,(di=mt.createElement("input")).value="t",di.type="radio",rt.radioValue=di.value==="t";var ii,ni=c.expr.attrHandle;c.fn.extend({attr:function(s,l){return nt(this,c.attr,s,l,1<arguments.length)},removeAttr:function(s){return this.each(function(){c.removeAttr(this,s)})}}),c.extend({attr:function(s,l,p){var m,y,x=s.nodeType;if(x!==3&&x!==8&&x!==2)return typeof s.getAttribute>"u"?c.prop(s,l,p):(x===1&&c.isXMLDoc(s)||(y=c.attrHooks[l.toLowerCase()]||(c.expr.match.bool.test(l)?ii:void 0)),p!==void 0?p===null?void c.removeAttr(s,l):y&&"set"in y&&(m=y.set(s,p,l))!==void 0?m:(s.setAttribute(l,p+""),p):y&&"get"in y&&(m=y.get(s,l))!==null?m:(m=c.find.attr(s,l))==null?void 0:m)},attrHooks:{type:{set:function(s,l){if(!rt.radioValue&&l==="radio"&&ct(s,"input")){var p=s.value;return s.setAttribute("type",l),p&&(s.value=p),l}}}},removeAttr:function(s,l){var p,m=0,y=l&&l.match(k);if(y&&s.nodeType===1)for(;p=y[m++];)s.removeAttribute(p)}}),ii={set:function(s,l,p){return l===!1?c.removeAttr(s,p):s.setAttribute(p,p),p}},c.each(c.expr.match.bool.source.match(/\w+/g),function(s,l){var p=ni[l]||c.find.attr;ni[l]=function(m,y,x){var C,O,I=y.toLowerCase();return x||(O=ni[I],ni[I]=C,C=p(m,y,x)!=null?I:null,ni[I]=O),C}});var $i=/^(?:input|select|textarea|button)$/i,hn=/^(?:a|area)$/i;function Ke(s){return(s.match(k)||[]).join(" ")}function ne(s){return s.getAttribute&&s.getAttribute("class")||""}function Hi(s){return Array.isArray(s)?s:typeof s=="string"&&s.match(k)||[]}c.fn.extend({prop:function(s,l){return nt(this,c.prop,s,l,1<arguments.length)},removeProp:function(s){return this.each(function(){delete this[c.propFix[s]||s]})}}),c.extend({prop:function(s,l,p){var m,y,x=s.nodeType;if(x!==3&&x!==8&&x!==2)return x===1&&c.isXMLDoc(s)||(l=c.propFix[l]||l,y=c.propHooks[l]),p!==void 0?y&&"set"in y&&(m=y.set(s,p,l))!==void 0?m:s[l]=p:y&&"get"in y&&(m=y.get(s,l))!==null?m:s[l]},propHooks:{tabIndex:{get:function(s){var l=c.find.attr(s,"tabindex");return l?parseInt(l,10):$i.test(s.nodeName)||hn.test(s.nodeName)&&s.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),rt.optSelected||(c.propHooks.selected={get:function(s){var l=s.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(s){var l=s.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),c.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){c.propFix[this.toLowerCase()]=this}),c.fn.extend({addClass:function(s){var l,p,m,y,x,C;return _t(s)?this.each(function(O){c(this).addClass(s.call(this,O,ne(this)))}):(l=Hi(s)).length?this.each(function(){if(m=ne(this),p=this.nodeType===1&&" "+Ke(m)+" "){for(x=0;x<l.length;x++)y=l[x],p.indexOf(" "+y+" ")<0&&(p+=y+" ");C=Ke(p),m!==C&&this.setAttribute("class",C)}}):this},removeClass:function(s){var l,p,m,y,x,C;return _t(s)?this.each(function(O){c(this).removeClass(s.call(this,O,ne(this)))}):arguments.length?(l=Hi(s)).length?this.each(function(){if(m=ne(this),p=this.nodeType===1&&" "+Ke(m)+" "){for(x=0;x<l.length;
3x++)for(y=l[x];-1<p.indexOf(" "+y+" ");)p=p.replace(" "+y+" "," ");C=Ke(p),m!==C&&this.setAttribute("class",C)}}):this:this.attr("class","")},toggleClass:function(s,l){var p,m,y,x,C=typeof s,O=C==="string"||Array.isArray(s);return _t(s)?this.each(function(I){c(this).toggleClass(s.call(this,I,ne(this),l),l)}):typeof l=="boolean"&&O?l?this.addClass(s):this.removeClass(s):(p=Hi(s),this.each(function(){if(O)for(x=c(this),y=0;y<p.length;y++)m=p[y],x.hasClass(m)?x.removeClass(m):x.addClass(m);else s!==void 0&&C!=="boolean"||((m=ne(this))&&G.set(this,"__className__",m),this.setAttribute&&this.setAttribute("class",m||s===!1?"":G.get(this,"__className__")||""))}))},hasClass:function(s){var l,p,m=0;for(l=" "+s+" ";p=this[m++];)if(p.nodeType===1&&-1<(" "+Ke(ne(p))+" ").indexOf(l))return!0;return!1}});var ki=/\r/g;c.fn.extend({val:function(s){var l,p,m,y=this[0];return arguments.length?(m=_t(s),this.each(function(x){var C;this.nodeType===1&&((C=m?s.call(this,x,c(this).val()):s)==null?C="":typeof C=="number"?C+="":Array.isArray(C)&&(C=c.map(C,function(O){return O==null?"":O+""})),(l=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()])&&"set"in l&&l.set(this,C,"value")!==void 0||(this.value=C))})):y?(l=c.valHooks[y.type]||c.valHooks[y.nodeName.toLowerCase()])&&"get"in l&&(p=l.get(y,"value"))!==void 0?p:typeof(p=y.value)=="string"?p.replace(ki,""):p??"":void 0}}),c.extend({valHooks:{option:{get:function(s){var l=c.find.attr(s,"value");return l??Ke(c.text(s))}},select:{get:function(s){var l,p,m,y=s.options,x=s.selectedIndex,C=s.type==="select-one",O=C?null:[],I=C?x+1:y.length;for(m=x<0?I:C?x:0;m<I;m++)if(((p=y[m]).selected||m===x)&&!p.disabled&&(!p.parentNode.disabled||!ct(p.parentNode,"optgroup"))){if(l=c(p).val(),C)return l;O.push(l)}return O},set:function(s,l){for(var p,m,y=s.options,x=c.makeArray(l),C=y.length;C--;)((m=y[C]).selected=-1<c.inArray(c.valHooks.option.get(m),x))&&(p=!0);return p||(s.selectedIndex=-1),x}}}}),c.each(["radio","checkbox"],function(){c.valHooks[this]={set:function(s,l){if(Array.isArray(l))return s.checked=-1<c.inArray(c(s).val(),l)}},rt.checkOn||(c.valHooks[this].get=function(s){return s.getAttribute("value")===null?"on":s.value})});var Xe=i.location,Ci={guid:Date.now()},Di=/\?/;c.parseXML=function(s){var l,p;if(!s||typeof s!="string")return null;try{l=new i.DOMParser().parseFromString(s,"text/xml")}catch{}return p=l&&l.getElementsByTagName("parsererror")[0],l&&!p||c.error("Invalid XML: "+(p?c.map(p.childNodes,function(m){return m.textContent}).join(`
4`):s)),l};var Ki=/^(?:focusinfocus|focusoutblur)$/,un=function(s){s.stopPropagation()};c.extend(c.event,{trigger:function(s,l,p,m){var y,x,C,O,I,H,F,B,z=[p||mt],$=v.call(s,"type")?s.type:s,xt=v.call(s,"namespace")?s.namespace.split("."):[];if(x=B=C=p=p||mt,p.nodeType!==3&&p.nodeType!==8&&!Ki.test($+c.event.triggered)&&(-1<$.indexOf(".")&&($=(xt=$.split(".")).shift(),xt.sort()),I=$.indexOf(":")<0&&"on"+$,(s=s[c.expando]?s:new c.Event($,typeof s=="object"&&s)).isTrigger=m?2:3,s.namespace=xt.join("."),s.rnamespace=s.namespace?new RegExp("(^|\\.)"+xt.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,s.result=void 0,s.target||(s.target=p),l=l==null?[s]:c.makeArray(l,[s]),F=c.event.special[$]||{},m||!F.trigger||F.trigger.apply(p,l)!==!1)){if(!m&&!F.noBubble&&!St(p)){for(O=F.delegateType||$,Ki.test(O+$)||(x=x.parentNode);x;x=x.parentNode)z.push(x),C=x;C===(p.ownerDocument||mt)&&z.push(C.defaultView||C.parentWindow||i)}for(y=0;(x=z[y++])&&!s.isPropagationStopped();)B=x,s.type=1<y?O:F.bindType||$,(H=(G.get(x,"events")||Object.create(null))[s.type]&&G.get(x,"handle"))&&H.apply(x,l),(H=I&&x[I])&&H.apply&&Rt(x)&&(s.result=H.apply(x,l),s.result===!1&&s.preventDefault());return s.type=$,m||s.isDefaultPrevented()||F._default&&F._default.apply(z.pop(),l)!==!1||!Rt(p)||I&&_t(p[$])&&!St(p)&&((C=p[I])&&(p[I]=null),c.event.triggered=$,s.isPropagationStopped()&&B.addEventListener($,un),p[$](),s.isPropagationStopped()&&B.removeEventListener($,un),c.event.triggered=void 0,C&&(p[I]=C)),s.result}},simulate:function(s,l,p){var m=c.extend(new c.Event,p,{type:s,isSimulated:!0});c.event.trigger(m,null,l)}}),c.fn.extend({trigger:function(s,l){return this.each(function(){c.event.trigger(s,l,this)})},triggerHandler:function(s,l){var p=this[0];if(p)return c.event.trigger(s,l,p,!0)}});var Xi=/\[\]$/,Ei=/\r?\n/g,Zi=/^(?:submit|button|image|reset|file)$/i,cn=/^(?:input|select|textarea|keygen)/i;function Ji(s,l,p,m){var y;if(Array.isArray(l))c.each(l,function(x,C){p||Xi.test(s)?m(s,C):Ji(s+"["+(typeof C=="object"&&C!=null?x:"")+"]",C,p,m)});else if(p||Nt(l)!=="object")m(s,l);else for(y in l)Ji(s+"["+y+"]",l[y],p,m)}c.param=function(s,l){var p,m=[],y=function(x,C){var O=_t(C)?C():C;m[m.length]=encodeURIComponent(x)+"="+encodeURIComponent(O??"")};if(s==null)return"";if(Array.isArray(s)||s.jquery&&!c.isPlainObject(s))c.each(s,function(){y(this.name,this.value)});else for(p in s)Ji(p,s[p],l,y);return m.join("&")},c.fn.extend({serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var s=c.prop(this,"elements");return s?c.makeArray(s):this}).filter(function(){var s=this.type;return this.name&&!c(this).is(":disabled")&&cn.test(this.nodeName)&&!Zi.test(s)&&(this.checked||!xe.test(s))}).map(function(s,l){var p=c(this).val();return p==null?null:Array.isArray(p)?c.map(p,function(m){return{name:l.name,value:m.replace(Ei,`\r
5`)}}):{name:l.name,value:p.replace(Ei,`\r
6`)}}).get()}});var Cn=/%20/g,Re=/#.*$/,si=/([?&])_=[^&]*/,dn=/^(.*?):[ \t]*([^\r\n]*)$/gm,pn=/^(?:GET|HEAD)$/,fn=/^\/\//,Qi={},tn={},Ti="*/".concat("*"),Wi=mt.createElement("a");function en(s){return function(l,p){typeof l!="string"&&(p=l,l="*");var m,y=0,x=l.toLowerCase().match(k)||[];
vendor: 4,203 bytes, line 6
6if(_t(p))for(;m=x[y++];)m[0]==="+"?(m=m.slice(1)||"*",(s[m]=s[m]||[]).unshift(p)):(s[m]=s[m]||[]).push(p)}}function nn(s,l,p,m){var y={},x=s===tn;function C(O){var I;return y[O]=!0,c.each(s[O]||[],function(H,F){var B=F(l,p,m);return typeof B!="string"||x||y[B]?x?!(I=B):void 0:(l.dataTypes.unshift(B),C(B),!1)}),I}return C(l.dataTypes[0])||!y["*"]&&C("*")}function Ze(s,l){var p,m,y=c.ajaxSettings.flatOptions||{};for(p in l)l[p]!==void 0&&((y[p]?s:m||(m={}))[p]=l[p]);return m&&c.extend(!0,s,m),s}Wi.href=Xe.href,c.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Xe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Xe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ti,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":c.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(s,l){return l?Ze(Ze(s,c.ajaxSettings),l):Ze(c.ajaxSettings,s)},ajaxPrefilter:en(Qi),ajaxTransport:en(tn),ajax:function(s,l){typeof s=="object"&&(l=s,s=void 0),l=l||{};var p,m,y,x,C,O,I,H,F,B,z=c.ajaxSetup({},l),$=z.context||z,xt=z.context&&($.nodeType||$.jquery)?c($):c.event,It=c.Deferred(),lt=c.Callbacks("once memory"),we=z.statusCode||{},ke={},Ce={},Ne="canceled",Gt={readyState:0,getResponseHeader:function(Bt){var he;if(I){if(!x)for(x={};he=dn.exec(y);)x[he[1].toLowerCase()+" "]=(x[he[1].toLowerCase()+" "]||[]).concat(he[2]);he=x[Bt.toLowerCase()+" "]}return he==null?null:he.join(", ")},getAllResponseHeaders:function(){return I?y:null},setRequestHeader:function(Bt,he){return I==null&&(Bt=Ce[Bt.toLowerCase()]=Ce[Bt.toLowerCase()]||Bt,ke[Bt]=he),this},overrideMimeType:function(Bt){return I==null&&(z.mimeType=Bt),this},statusCode:function(Bt){var he;if(Bt)if(I)Gt.always(Bt[Gt.status]);else for(he in Bt)we[he]=[we[he],Bt[he]];return this},abort:function(Bt){var he=Bt||Ne;return p&&p.abort(he),Ve(0,he),this}};if(It.promise(Gt),z.url=((s||z.url||Xe.href)+"").replace(fn,Xe.protocol+"//"),z.type=l.method||l.type||z.method||z.type,z.dataTypes=(z.dataType||"*").toLowerCase().match(k)||[""],z.crossDomain==null){O=mt.createElement("a");try{O.href=z.url,O.href=O.href,z.crossDomain=Wi.protocol+"//"+Wi.host!=O.protocol+"//"+O.host}catch{z.crossDomain=!0}}if(z.data&&z.processData&&typeof z.data!="string"&&(z.data=c.param(z.data,z.traditional)),nn(Qi,z,l,Gt),I)return Gt;for(F in(H=c.event&&z.global)&&c.active++==0&&c.event.trigger("ajaxStart"),z.type=z.type.toUpperCase(),z.hasContent=!pn.test(z.type),m=z.url.replace(Re,""),z.hasContent?z.data&&z.processData&&(z.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(z.data=z.data.replace(Cn,"+")):(B=z.url.slice(m.length),z.data&&(z.processData||typeof z.data=="string")&&(m+=(Di.test(m)?"&":"?")+z.data,delete z.data),z.cache===!1&&(m=m.replace(si,"$1"),B=(Di.test(m)?"&":"?")+"_="+Ci.guid+++B),z.url=m+B),z.ifModified&&(c.lastModified[m]&&Gt.setRequestHeader("If-Modified-Since",c.lastModified[m]),c.etag[m]&&Gt.setRequestHeader("If-None-Match",c.etag[m])),(z.data&&z.hasContent&&z.contentType!==!1||l.contentType)&&Gt.setRequestHeader("Content-Type",z.contentType),Gt.setRequestHeader("Accept",z.dataTypes[0]&&z.accepts[z.dataTypes[0]]?z.accepts[z.dataTypes[0]]+(z.dataTypes[0]!=="*"?", "+Ti+"; q=0.01":""):z.accepts["*"]),z.headers)Gt.setRequestHeader(F,z.headers[F]);if(z.beforeSend&&(z.beforeSend.call($,Gt,z)===!1||I))return Gt.abort();if(Ne="abort",lt.add(z.complete),Gt.done(z.success),Gt.fail(z.error),p=nn(tn,z,l,Gt)){if(Gt.readyState=1,H&&xt.trigger("ajaxSend",[Gt,z]),I)return Gt;z.async&&0<z.timeout&&(C=i.setTimeout(function(){Gt.abort("timeout")},z.timeout));try{I=!1,p.send(ke,Ve)}catch(Bt){if(I)throw Bt;Ve(-1,Bt)}}else Ve(-1,"No Transport");function Ve(Bt,he,qt,o){var u,g,b,T,W,R=he;I||(I=!0,C&&i.clearTimeout(C),p=void 0,y=o||"",Gt.readyState=0<Bt?4:0,u=200<=Bt&&Bt<300||Bt===304,qt&&(T=(function(Z,tt,it){for(var Dt,kt,ft,jt,se=Z.c
vendor: 4,961 bytes, line 6
6ontents,Zt=Z.dataTypes;Zt[0]==="*";)Zt.shift(),Dt===void 0&&(Dt=Z.mimeType||tt.getResponseHeader("Content-Type"));if(Dt){for(kt in se)if(se[kt]&&se[kt].test(Dt)){Zt.unshift(kt);break}}if(Zt[0]in it)ft=Zt[0];else{for(kt in it){if(!Zt[0]||Z.converters[kt+" "+Zt[0]]){ft=kt;break}jt||(jt=kt)}ft=ft||jt}if(ft)return ft!==Zt[0]&&Zt.unshift(ft),it[ft]})(z,Gt,qt)),!u&&-1<c.inArray("script",z.dataTypes)&&c.inArray("json",z.dataTypes)<0&&(z.converters["text script"]=function(){}),T=(function(Z,tt,it,Dt){var kt,ft,jt,se,Zt,Qe={},Li=Z.dataTypes.slice();if(Li[1])for(jt in Z.converters)Qe[jt.toLowerCase()]=Z.converters[jt];for(ft=Li.shift();ft;)if(Z.responseFields[ft]&&(it[Z.responseFields[ft]]=tt),!Zt&&Dt&&Z.dataFilter&&(tt=Z.dataFilter(tt,Z.dataType)),Zt=ft,ft=Li.shift()){if(ft==="*")ft=Zt;else if(Zt!=="*"&&Zt!==ft){if(!(jt=Qe[Zt+" "+ft]||Qe["* "+ft])){for(kt in Qe)if((se=kt.split(" "))[1]===ft&&(jt=Qe[Zt+" "+se[0]]||Qe["* "+se[0]])){jt===!0?jt=Qe[kt]:Qe[kt]!==!0&&(ft=se[0],Li.unshift(se[1]));break}}if(jt!==!0)if(jt&&Z.throws)tt=jt(tt);else try{tt=jt(tt)}catch(vn){return{state:"parsererror",error:jt?vn:"No conversion from "+Zt+" to "+ft}}}}return{state:"success",data:tt}})(z,T,Gt,u),u?(z.ifModified&&((W=Gt.getResponseHeader("Last-Modified"))&&(c.lastModified[m]=W),(W=Gt.getResponseHeader("etag"))&&(c.etag[m]=W)),Bt===204||z.type==="HEAD"?R="nocontent":Bt===304?R="notmodified":(R=T.state,g=T.data,u=!(b=T.error))):(b=R,!Bt&&R||(R="error",Bt<0&&(Bt=0))),Gt.status=Bt,Gt.statusText=(he||R)+"",u?It.resolveWith($,[g,R,Gt]):It.rejectWith($,[Gt,R,b]),Gt.statusCode(we),we=void 0,H&&xt.trigger(u?"ajaxSuccess":"ajaxError",[Gt,z,u?g:b]),lt.fireWith($,[Gt,R]),H&&(xt.trigger("ajaxComplete",[Gt,z]),--c.active||c.event.trigger("ajaxStop")))}return Gt},getJSON:function(s,l,p){return c.get(s,l,p,"json")},getScript:function(s,l){return c.get(s,void 0,l,"script")}}),c.each(["get","post"],function(s,l){c[l]=function(p,m,y,x){return _t(m)&&(x=x||y,y=m,m=void 0),c.ajax(c.extend({url:p,type:l,dataType:x,data:m,success:y},c.isPlainObject(p)&&p))}}),c.ajaxPrefilter(function(s){var l;for(l in s.headers)l.toLowerCase()==="content-type"&&(s.contentType=s.headers[l]||"")}),c._evalUrl=function(s,l,p){return c.ajax({url:s,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(m){c.globalEval(m,l,p)}})},c.fn.extend({wrapAll:function(s){var l;return this[0]&&(_t(s)&&(s=s.call(this[0])),l=c(s,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.map(function(){for(var p=this;p.firstElementChild;)p=p.firstElementChild;return p}).append(this)),this},wrapInner:function(s){return _t(s)?this.each(function(l){c(this).wrapInner(s.call(this,l))}):this.each(function(){var l=c(this),p=l.contents();p.length?p.wrapAll(s):l.append(s)})},wrap:function(s){var l=_t(s);return this.each(function(p){c(this).wrapAll(l?s.call(this,p):s)})},unwrap:function(s){return this.parent(s).not("body").each(function(){c(this).replaceWith(this.childNodes)}),this}}),c.expr.pseudos.hidden=function(s){return!c.expr.pseudos.visible(s)},c.expr.pseudos.visible=function(s){return!!(s.offsetWidth||s.offsetHeight||s.getClientRects().length)},c.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch{}};var mn={0:200,1223:204},pi=c.ajaxSettings.xhr();rt.cors=!!pi&&"withCredentials"in pi,rt.ajax=pi=!!pi,c.ajaxTransport(function(s){var l,p;if(rt.cors||pi&&!s.crossDomain)return{send:function(m,y){var x,C=s.xhr();if(C.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(x in s.xhrFields)C[x]=s.xhrFields[x];for(x in s.mimeType&&C.overrideMimeType&&C.overrideMimeType(s.mimeType),s.crossDomain||m["X-Requested-With"]||(m["X-Requested-With"]="XMLHttpRequest"),m)C.setRequestHeader(x,m[x]);l=function(O){return function(){l&&(l=p=C.onload=C.onerror=C.onabort=C.ontimeout=C.onreadystatechange=null,O==="abort"?C.abort():O==="error"?typeof C.status!="number"?y(0,"error"):y(C.status,C.statusText):y(mn[C.status]||C.status,C.statusText,(C.responseType||"text")!=="text"||typeof C.responseText!="string"?{binary:C.response}:{text:C.responseText},C.getAllResponseHeaders()))}},C.onload=l(),p=C.onerror=C.ontimeout=l("error"),C.onabort!==void 0?C.onabort=p:C.onreadystatechange=function(){C.readyState===4&&i.setTimeout(function(){l&&p()})},l=l("abort");try{C.send(s.hasContent&&s.data||null)}catch(O){if(l)throw O}},abort:function(){l&&l()}}}),c.ajaxPrefilter(function(s){s.crossDomain&&(s.contents.script=!1)}),c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(s){return c.globalEval(s),s}}}),c.ajaxPrefilter("script",function(s){s.cache===void 0&&(s.cache=!1),s.crossDomain&&(s.type="GET")}),c.ajaxTransport("script",function(s){var l,p;if(s.crossDomain||s.scriptAttrs)return{send:function(m,y){l=c("<script>").attr(s.scriptAttrs||{}
vendor: 5,687 bytes, line 6
6).prop({charset:s.scriptCharset,src:s.url}).on("load error",p=function(x){l.remove(),p=null,x&&y(x.type==="error"?404:200,x.type)}),mt.head.appendChild(l[0])},abort:function(){p&&p()}}});var zi,Fi=[],fi=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var s=Fi.pop()||c.expando+"_"+Ci.guid++;return this[s]=!0,s}}),c.ajaxPrefilter("json jsonp",function(s,l,p){var m,y,x,C=s.jsonp!==!1&&(fi.test(s.url)?"url":typeof s.data=="string"&&(s.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&fi.test(s.data)&&"data");if(C||s.dataTypes[0]==="jsonp")return m=s.jsonpCallback=_t(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,C?s[C]=s[C].replace(fi,"$1"+m):s.jsonp!==!1&&(s.url+=(Di.test(s.url)?"&":"?")+s.jsonp+"="+m),s.converters["script json"]=function(){return x||c.error(m+" was not called"),x[0]},s.dataTypes[0]="json",y=i[m],i[m]=function(){x=arguments},p.always(function(){y===void 0?c(i).removeProp(m):i[m]=y,s[m]&&(s.jsonpCallback=l.jsonpCallback,Fi.push(m)),x&&_t(y)&&y(x[0]),x=y=void 0}),"script"}),rt.createHTMLDocument=((zi=mt.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",zi.childNodes.length===2),c.parseHTML=function(s,l,p){return typeof s!="string"?[]:(typeof l=="boolean"&&(p=l,l=!1),l||(rt.createHTMLDocument?((m=(l=mt.implementation.createHTMLDocument("")).createElement("base")).href=mt.location.href,l.head.appendChild(m)):l=mt),x=!p&&[],(y=r.exec(s))?[l.createElement(y[1])]:(y=vi([s],l,x),x&&x.length&&c(x).remove(),c.merge([],y.childNodes)));var m,y,x},c.fn.load=function(s,l,p){var m,y,x,C=this,O=s.indexOf(" ");return-1<O&&(m=Ke(s.slice(O)),s=s.slice(0,O)),_t(l)?(p=l,l=void 0):l&&typeof l=="object"&&(y="POST"),0<C.length&&c.ajax({url:s,type:y||"GET",dataType:"html",data:l}).done(function(I){x=arguments,C.html(m?c("<div>").append(c.parseHTML(I)).find(m):I)}).always(p&&function(I,H){C.each(function(){p.apply(this,x||[I.responseText,H,I])})}),this},c.expr.pseudos.animated=function(s){return c.grep(c.timers,function(l){return s===l.elem}).length},c.offset={setOffset:function(s,l,p){var m,y,x,C,O,I,H=c.css(s,"position"),F=c(s),B={};H==="static"&&(s.style.position="relative"),O=F.offset(),x=c.css(s,"top"),I=c.css(s,"left"),(H==="absolute"||H==="fixed")&&-1<(x+I).indexOf("auto")?(C=(m=F.position()).top,y=m.left):(C=parseFloat(x)||0,y=parseFloat(I)||0),_t(l)&&(l=l.call(s,p,c.extend({},O))),l.top!=null&&(B.top=l.top-O.top+C),l.left!=null&&(B.left=l.left-O.left+y),"using"in l?l.using.call(s,B):F.css(B)}},c.fn.extend({offset:function(s){if(arguments.length)return s===void 0?this:this.each(function(y){c.offset.setOffset(this,s,y)});var l,p,m=this[0];return m?m.getClientRects().length?(l=m.getBoundingClientRect(),p=m.ownerDocument.defaultView,{top:l.top+p.pageYOffset,left:l.left+p.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var s,l,p,m=this[0],y={top:0,left:0};if(c.css(m,"position")==="fixed")l=m.getBoundingClientRect();else{for(l=this.offset(),p=m.ownerDocument,s=m.offsetParent||p.documentElement;s&&(s===p.body||s===p.documentElement)&&c.css(s,"position")==="static";)s=s.parentNode;s&&s!==m&&s.nodeType===1&&((y=c(s).offset()).top+=c.css(s,"borderTopWidth",!0),y.left+=c.css(s,"borderLeftWidth",!0))}return{top:l.top-y.top-c.css(m,"marginTop",!0),left:l.left-y.left-c.css(m,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var s=this.offsetParent;s&&c.css(s,"position")==="static";)s=s.offsetParent;return s||me})}}),c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(s,l){var p=l==="pageYOffset";c.fn[s]=function(m){return nt(this,function(y,x,C){var O;if(St(y)?O=y:y.nodeType===9&&(O=y.defaultView),C===void 0)return O?O[l]:y[x];O?O.scrollTo(p?O.pageXOffset:C,p?C:O.pageYOffset):y[x]=C},s,m,arguments.length)}}),c.each(["top","left"],function(s,l){c.cssHooks[l]=Bi(rt.pixelPosition,function(p,m){if(m)return m=hi(p,l),Ri.test(m)?c(p).position()[l]+"px":m})}),c.each({Height:"height",Width:"width"},function(s,l){c.each({padding:"inner"+s,content:l,"":"outer"+s},function(p,m){c.fn[m]=function(y,x){var C=arguments.length&&(p||typeof y!="boolean"),O=p||(y===!0||x===!0?"margin":"border");return nt(this,function(I,H,F){var B;return St(I)?m.indexOf("outer")===0?I["inner"+s]:I.document.documentElement["client"+s]:I.nodeType===9?(B=I.documentElement,Math.max(I.body["scroll"+s],B["scroll"+s],I.body["offset"+s],B["offset"+s],B["client"+s])):F===void 0?c.css(I,H,O):c.style(I,H,F,O)},l,C?y:void 0,C)}})}),c.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(s,l){c.fn[l]=function(p){return this.on(l,p)}}),c.fn.extend({bind:function(s,l,p){return this.on(s,null,l,p)},unbind:function(s,l){return this.off(s,null,l)},delegate:function(s,l,p,m){return this.on(l,s,p,m)},undelegate:function(s,l,p){return arguments.length===1?this.off(s,"**"):this.off(l,s||"**",p)},hover:function(s,l){return this.on("mouseenter",s).on("mouseleave",l||s)}}),c.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(s,l){c.fn[l]=function(p,m){return 0<arguments.length?this.on(l,null,p,m):this.trigger(l)}});var gn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;c.proxy=function(s,l){var p,m,y;if(typeof l=="string"&&(p=s[l],l=s,s=p),_t(s))return m=j.call(arguments,2),(y=function(){return s.apply(l||this,m.concat(j.call(arguments)))}).guid=s.guid=s.guid||c.guid++,y},c.holdReady=function(s){s?c.readyWait++:c.ready(!0)},c.isArray=Array.isArray,c.parseJSON=JSON.parse,c.nodeName=ct,c.isFunction=_t,c.isWindow=St,c.camel
6Case=Et,c.type=Nt,c.now=Date.now,c.isNumeric=function(s){var l=c.type(s);return(l==="number"||l==="string")&&!isNaN(s-parseFloat(s))},c.trim=function(s){return s==null?"":(s+"").replace(gn,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return c});var Je=i.jQuery,oi=i.$;return c.noConflict=function(s){return i.$===c&&(i.$=oi),s&&i.jQuery===c&&(i.jQuery=Je),c},typeof N>"u"&&(i.jQuery=i.$=c),c});/**
7 * [js-sha256]{@link https://github.com/emn178/js-sha256}
8 *
9 * @version 0.11.1
10 * @author Chen, Yi-Cyuan [[email protected]]
11 * @copyright Chen, Yi-Cyuan 2014-2025
12 * @license MIT
13 */(function(){"use strict";function i(c,ot){ot?(St[0]=St[16]=St[1]=St[2]=St[3]=St[4]=St[5]=St[6]=St[7]=St[8]=St[9]=St[10]=St[11]=St[12]=St[13]=St[14]=St[15]=0,this.blocks=St):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=c}function N(c,ot,ct){var dt,et=typeof c;if(et==="string"){var Ct,ut=[],vt=c.length,te=0;for(dt=0;dt<vt;++dt)(Ct=c.charCodeAt(dt))<128?ut[te++]=Ct:Ct<2048?(ut[te++]=192|Ct>>>6,ut[te++]=128|63&Ct):Ct<55296||Ct>=57344?(ut[te++]=224|Ct>>>12,ut[te++]=128|Ct>>>6&63,ut[te++]=128|63&Ct):(Ct=65536+((1023&Ct)<<10|1023&c.charCodeAt(++dt)),ut[te++]=240|Ct>>>18,ut[te++]=128|Ct>>>12&63,ut[te++]=128|Ct>>>6&63,ut[te++]=128|63&Ct);c=ut}else{if(et!=="object")throw new Error(J);if(c===null)throw new Error(J);if(Ft&&c.constructor===ArrayBuffer)c=new Uint8Array(c);else if(!(Array.isArray(c)||Ft&&ArrayBuffer.isView(c)))throw new Error(J)}c.length>64&&(c=new i(ot,!0).update(c).array());var Xt=[],Vt=[];for(dt=0;dt<64;++dt){var Ut=c[dt]||0;Xt[dt]=92^Ut,Vt[dt]=54^Ut}i.call(this,ot,ct),this.update(Vt),this.oKeyPad=Xt,this.inner=!0,this.sharedMemory=ct}var J="input is invalid type",K=typeof window=="object",j=K?window:{};j.JS_SHA256_NO_WINDOW&&(K=!1);var at=!K&&typeof self=="object",pt=!j.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";pt?j=global:at&&(j=self);var Wt=!j.JS_SHA256_NO_COMMON_JS&&typeof module=="object"&&module.exports,Ot=typeof define=="function"&&define.amd,Ft=!j.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",v="0123456789abcdef".split(""),$t=[-2147483648,8388608,32768,128],ht=[24,16,8,0],rt=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],_t=["hex","array","digest","arrayBuffer"],St=[];!j.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(c){return Object.prototype.toString.call(c)==="[object Array]"}),!Ft||!j.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(c){return typeof c=="object"&&c.buffer&&c.buffer.constructor===ArrayBuffer});var mt=function(c,ot){return function(ct){return new i(ot,!0).update(ct)[c]()}},ve=function(c){var ot=mt("hex",c);pt&&(ot=Kt(ot,c)),ot.create=function(){return new i(c)},ot.update=function(et){return ot.create().update(et)};for(var ct=0;ct<_t.length;++ct){var dt=_t[ct];ot[dt]=mt(dt,c)}return ot},Kt=function(c,ot){var ct,dt=require("crypto"),et=require("buffer").Buffer,Ct=ot?"sha224":"sha256";return ct=et.from&&!j.JS_SHA256_NO_BUFFER_FROM?et.from:function(ut){return new et(ut)},function(ut){if(typeof ut=="string")return dt.createHash(Ct).update(ut,"utf8").digest("hex");
13if(ut==null)throw new Error(J);return ut.constructor===ArrayBuffer&&(ut=new Uint8Array(ut)),Array.isArray(ut)||ArrayBuffer.isView(ut)||ut.constructor===et?dt.createHash(Ct).update(ct(ut)).digest("hex"):c(ut)}},Nt=function(c,ot){return function(ct,dt){return new N(ct,ot,!0).update(dt)[c]()}},Ht=function(c){var ot=Nt("hex",c);ot.create=function(et){return new N(et,c)},ot.update=function(et,Ct){return ot.create(et).update(Ct)};for(var ct=0;ct<_t.length;++ct){var dt=_t[ct];ot[dt]=Nt(dt,c)}return ot};i.prototype.update=function(c){if(!this.finalized){var ot,ct=typeof c;if(ct!=="string"){if(ct!=="object")throw new Error(J);if(c===null)throw new Error(J);if(Ft&&c.constructor===ArrayBuffer)c=new Uint8Array(c);else if(!(Array.isArray(c)||Ft&&ArrayBuffer.isView(c)))throw new Error(J);ot=!0}for(var dt,et,Ct=0,ut=c.length,vt=this.blocks;Ct<ut;){if(this.hashed&&(this.hashed=!1,vt[0]=this.block,this.block=vt[16]=vt[1]=vt[2]=vt[3]=vt[4]=vt[5]=vt[6]=vt[7]=vt[8]=vt[9]=vt[10]=vt[11]=vt[12]=vt[13]=vt[14]=vt[15]=0),ot)for(et=this.start;Ct<ut&&et<64;++Ct)vt[et>>>2]|=c[Ct]<<ht[3&et++];else for(et=this.start;Ct<ut&&et<64;++Ct)(dt=c.charCodeAt(Ct))<128?vt[et>>>2]|=dt<<ht[3&et++]:dt<2048?(vt[et>>>2]|=(192|dt>>>6)<<ht[3&et++],vt[et>>>2]|=(128|63&dt)<<ht[3&et++]):dt<55296||dt>=57344?(vt[et>>>2]|=(224|dt>>>12)<<ht[3&et++],vt[et>>>2]|=(128|dt>>>6&63)<<ht[3&et++],vt[et>>>2]|=(128|63&dt)<<ht[3&et++]):(dt=65536+((1023&dt)<<10|1023&c.charCodeAt(++Ct)),vt[et>>>2]|=(240|dt>>>18)<<ht[3&et++],vt[et>>>2]|=(128|dt>>>12&63)<<ht[3&et++],vt[et>>>2]|=(128|dt>>>6&63)<<ht[3&et++],vt[et>>>2]|=(128|63&dt)<<ht[3&et++]);this.lastByteIndex=et,this.bytes+=et-this.start,et>=64?(this.block=vt[16],this.start=et-64,this.hash(),this.hashed=!0):this.start=et}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},i.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var c=this.blocks,ot=this.lastByteIndex;c[16]=this.block,c[ot>>>2]|=$t[3&ot],this.block=c[16],ot>=56&&(this.hashed||this.hash(),c[0]=this.block,c[16]=c[1]=c[2]=c[3]=c[4]=c[5]=c[6]=c[7]=c[8]=c[9]=c[10]=c[11]=c[12]=c[13]=c[14]=c[15]=0),c[14]=this.hBytes<<3|this.bytes>>>29,c[15]=this.bytes<<3,this.hash()}},i.prototype.hash=function(){var c,ot,ct,dt,et,Ct,ut,vt,te,Xt=this.h0,Vt=this.h1,Ut=this.h2,t=this.h3,e=this.h4,n=this.h5,r=this.h6,a=this.h7,d=this.blocks;for(c=16;c<64;++c)ot=((et=d[c-15])>>>7|et<<25)^(et>>>18|et<<14)^et>>>3,ct=((et=d[c-2])>>>17|et<<15)^(et>>>19|et<<13)^et>>>10,d[c]=d[c-16]+ot+d[c-7]+ct<<0;for(te=Vt&Ut,c=0;c<64;c+=4)this.first?(this.is224?(Ct=300032,a=(et=d[0]-1413257819)-150054599<<0,t=et+24177077<<0):(Ct=704751109,a=(et=d[0]-210244248)-1521486534<<0,t=et+143694565<<0),this.first=!1):(ot=(Xt>>>2|Xt<<30)^(Xt>>>13|Xt<<19)^(Xt>>>22|Xt<<10),dt=(Ct=Xt&Vt)^Xt&Ut^te,a=t+(et=a+(ct=(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7))+(e&n^~e&r)+rt[c]+d[c])<<0,t=et+(ot+dt)<<0),ot=(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10),dt=(ut=t&Xt)^t&Vt^Ct,r=Ut+(et=r+(ct=(a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&e^~a&n)+rt[c+1]+d[c+1])<<0,ot=((Ut=et+(ot+dt)<<0)>>>2|Ut<<30)^(Ut>>>13|Ut<<19)^(Ut>>>22|Ut<<10),dt=(vt=Ut&t)^Ut&Xt^ut,n=Vt+(et=n+(ct=(r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7))+(r&a^~r&e)+rt[c+2]+d[c+2])<<0,ot=((Vt=et+(ot+dt)<<0)>>>2|Vt<<30)^(Vt>>>13|Vt<<19)^(Vt>>>22|Vt<<10),dt=(te=Vt&Ut)^Vt&t^vt,e=Xt+(et=e+(ct=(n>>>6|n<<26)^(n>>>11|n<<21)^(n>>>25|n<<7))+(n&r^~n&a)+rt[c+3]+d[c+3])<<0,Xt=et+(ot+dt)<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+Xt<<0,this.h1=this.h1+Vt<<0,this.h2=this.h2+Ut<<0,this.h3=this.h3+t<<0,this.h4=this.h4+e<<0,this.h5=this.h5+n<<0,this.h6=this.h6+r<<0,this.h7=this.h7+a<<0},i.prototype.hex=function(){this.finalize();var c=this.h0,ot=this.h1,ct=this.h2,dt=this.h3,et=this.h4,Ct=this.h5,ut=this.h6,vt=this.h7,te=v[c>>>28&15]+v[c>>>24&15]+v[c>>>20&15]+v[c>>>16&15]+v[c>>>12&15]+v[c>>>8&15]+v[c>>>4&15]+v[15&c]+v[ot>>>28&15]+v[ot>>>24&15]+v[ot>>>20&15]+v[ot>>>16&15]+v[ot>>>12&15]+v[ot>>>8&15]+v[ot>>>4&15]+v[15&ot]+v[ct>>>28&15]+v[ct>>>24&15]+v[ct>>>20&15]+v[ct>>>16&15]+v[ct>>>12&15]+v[ct>>>8&15]+v[ct>>>4&15]+v[15&ct]+v[dt>>>28&15]+v[dt>>>24&15]+v[dt>>>20&15]+v[dt>>>16&15]+v[dt>>>12&15]+v[dt>>>8&15]+v[dt>>>4&15]+v[15&dt]+v[et>>>28&15]+v[et>>>24&15]+v[et>>>20&15]+v[et>>>16&15]+v[et>>>12&15]+v[et>>>8&15]+v[et>>>4&15]+v[15&et]+v[Ct>>>28&15]+v[Ct>>>24&15]+v[Ct>>>20&15]+v[Ct>>>16&15]+v[Ct>>>12&15]+v[Ct>>>8&15]+v[Ct>>>4&15]+v[15&Ct]+v[ut>>>28&15]+v[ut>>>24&15]+v[ut>>>20&15]+v[ut>>>16&15]+v[ut>>>12&15]+v[ut>>>8&15]+v[ut>>>4&15]+v[15&ut];return this.is224||(te+=v[vt>>>28&15]+v[vt>>>24&15]+v[vt>>>20&15]+v[vt>>>16&15]+v[vt>>>12&15]+v[vt>>>8&15]+v[vt>>>4&15]+v[15&vt]),te},i.prototype.toString=i.prototype.hex,i.prototype.digest=function(){this.finalize();var c=this.h0,ot=this.h1,ct=this.h2,dt=this.h3,et=this.h4,Ct=this.h5,ut=this.h6,vt=this.h7,te=[c>>>24&255,c>>>16&255,c>>>8&255,255&c,ot>>>24&255,ot>>>16&255,ot>>>8&255,255&ot,ct>>>24&255,ct>>>16&255,ct>>>8&255,255&ct,dt>>>24&255,dt>>>16&255,dt>>>8&255,255&dt,et>>>24&255,et>>>16&255,et>>>8&255,255&et,Ct>>>24&255,Ct>>>16&255,Ct>>>8&255,255&Ct,ut>>>24&255,ut>>>16&255,ut>>>8&255,255&ut];return this.is224||te.push(vt>>>24&255,vt>>>16&255,vt>>>8&255,255&vt),te},i.prototype.array=i.prototype.digest,i.prototype.arrayBuffer=function(){this.finalize();var c=new ArrayBuffer(this.is224?28:32),ot=new DataView(c);return ot.setUint32(0,this.h0),ot.setUint32(4,this.h1),ot.setUint32(8,this.h2),ot.setUint32(12,this.h3),ot.setUint32(16,this.h4),ot.setUint32(20,this.h5),ot.setUint32(24,this.h6),this.is224||ot.setUint32(28,this.h7),c},(N.prototype=new i).finalize=function(){if(i.prototype.finalize.call(this),this.inner){this.inner=!1;var c=this.array();i.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(c),i.prototype.finalize.call(this)}};var Qt=ve();Qt.sha256=Qt,Qt.sha224=ve(!0),Qt.sha256.hmac=Ht(),Qt.sha224.hmac=Ht(!0),Wt?module.exports=Qt:(j.sha256=Qt.sha256,j.sha224=Qt.sha224,Ot&&define(function(){return Qt}))})();function StringView(i,N,J,K){var j,at,pt,Wt,Ot,Ft,v=isFinite(J)?J:0,$t=15;N&&(this.encoding=N.toString());t:switch(this.encoding){case"UTF-8":Wt=StringView.putUTF8CharCode,Ot=StringView.getUTF8CharLength,j=Uint8Array;break t;case"UTF-16":Wt=StringView.putUTF16CharCode,Ot=StringView.getUTF16CharLength,j=Uint16Array;break t;case"UTF-32":j=Uint32Array,$t&=14;break t;default:j=Uint8Array,$t&=14}t:switch(typeof i){case"string":$t&=7;break t;case"object":switch(i.constructor){case StringView:$t&=3;break t;case String:$t&=7;break t;case ArrayBuffer:at=new j(i),Ft=this.encoding==="UTF-32"?i.byteLength>>>2:this.encoding==="UTF-16"?i.byteLength>>>1:i.byteLength,pt=v!==0||isFinite(K)&&K!==Ft?new j(i,v,isFinite(K)?K:Ft-v):at;break t;case Uint32Array:case Uint16Array:case Uint8Array:j=i.constructor,Ft=i.length,at=i.byteOffset===0&&i.length===(j===Uint32Array?i.buffer.byteLength>>>2:j===Uint16Array?i.buffer.byteLength>>>1:i.buffer.byteLength)?i:new j(i.buffer),pt=v!==0||isFinite(K)&&K!==Ft?i.subarray(v,isFinite(K)?v+K:Ft):i;break t;default:at=new j(i),Ft=at.length,pt=v!==0||isFinite(K)&&K!==Ft?at.subarray(v,isFinite(K)?v+K:Ft):at}break t;default:at=pt=new j(Number(i)||0)}if($t<8){var ht,rt,_t,St,mt,ve,Kt;
134&$t?(ht=i,rt=Ft=ht.length,$t^=this.encoding==="UTF-32"?0:2,v=_t=J?Math.max((rt+J)%rt,0):0,mt=St=(Number.isInteger(K)?Math.min(Math.max(K,0)+v,rt):rt)-1):(ht=i.rawData,Ft=i.makeIndex(),v=_t=J?Math.max((Ft+J)%Ft,0):0,rt=Number.isInteger(K)?Math.min(Math.max(K,0),Ft-_t):Ft,mt=St=rt+_t,i.encoding==="UTF-8"?(ve=StringView.getUTF8CharLength,Kt=StringView.loadUTF8CharCode):i.encoding==="UTF-16"?(ve=StringView.getUTF16CharLength,Kt=StringView.loadUTF16CharCode):$t&=1),(rt===0||$t<4&&ht.encoding===this.encoding&&_t===0&&rt===Ft)&&($t=7);t:switch($t){case 0:at=new j(rt);for(var Nt=0;Nt<rt;at[Nt]=ht[v+Nt++]);break t;case 1:rt=0;for(var Ht=v;Ht<mt;Ht++)rt+=Ot(ht[Ht]);at=new j(rt);for(var Ht=v,Nt=0;Nt<rt;Ht++)Nt=Wt(at,ht[Ht],Nt);break t;case 2:v=0;var Qt;for(c=0;c<_t;c++)Qt=Kt(ht,v),v+=ve(Qt);at=new j(rt);for(var Ht=v,Nt=0;Nt<rt;Ht+=ve(Qt),Nt++)Qt=Kt(ht,Ht),at[Nt]=Qt;break t;case 3:rt=0;for(var Qt,c=0,Ht=0;c<St;Ht+=ve(Qt))Qt=Kt(ht,Ht),c===_t&&(v=Ht),++c>_t&&(rt+=Ot(Qt));at=new j(rt);for(var Ht=v,Nt=0;Nt<rt;Ht+=ve(Qt))Qt=Kt(ht,Ht),Nt=Wt(at,Qt,Nt);break t;case 4:at=new j(rt);for(var ot=0;ot<rt;ot++)at[ot]=255&ht.charCodeAt(ot);break t;case 5:rt=0;for(var ct=0;ct<Ft;ct++)ct===_t&&(v=rt),rt+=Ot(ht.charCodeAt(ct)),ct===St&&(mt=rt);at=new j(rt);for(var Nt=0,c=0;Nt<rt;c++)Nt=Wt(at,ht.charCodeAt(c),Nt);break t;case 6:at=new j(rt);for(var ot=0;ot<rt;ot++)at[ot]=ht.charCodeAt(ot);break t;case 7:at=new j(rt?ht:0)}pt=$t>3&&(v>0||mt<at.length-1)?at.subarray(v,mt):at}this.buffer=at.buffer,this.bufferView=at,this.rawData=pt,Object.freeze(this)}Number.isInteger||(Number.isInteger=function(i){return typeof i=="number"&&isFinite(i)&&i>-9007199254740992&&i<9007199254740992&&Math.floor(i)===i}),StringView.loadUTF8CharCode=function(i,N){var J=i.length,K=i[N];return K>251&&K<254&&N+5<J?1073741824*(K-252)+(i[N+1]-128<<24)+(i[N+2]-128<<18)+(i[N+3]-128<<12)+(i[N+4]-128<<6)+i[N+5]-128:K>247&&K<252&&N+4<J?(K-248<<24)+(i[N+1]-128<<18)+(i[N+2]-128<<12)+(i[N+3]-128<<6)+i[N+4]-128:K>239&&K<248&&N+3<J?(K-240<<18)+(i[N+1]-128<<12)+(i[N+2]-128<<6)+i[N+3]-128:K>223&&K<240&&N+2<J?(K-224<<12)+(i[N+1]-128<<6)+i[N+2]-128:K>191&&K<224&&N+1<J?(K-192<<6)+i[N+1]-128:K},StringView.putUTF8CharCode=function(i,N,J){var K=J;return N<128?i[K++]=N:N<2048?(i[K++]=192+(N>>>6),i[K++]=128+(63&N)):N<65536?(i[K++]=224+(N>>>12),i[K++]=128+(N>>>6&63),i[K++]=128+(63&N)):N<2097152?(i[K++]=240+(N>>>18),i[K++]=128+(N>>>12&63),i[K++]=128+(N>>>6&63),i[K++]=128+(63&N)):N<67108864?(i[K++]=248+(N>>>24),i[K++]=128+(N>>>18&63),i[K++]=128+(N>>>12&63),i[K++]=128+(N>>>6&63),i[K++]=128+(63&N)):(i[K++]=252+N/1073741824,i[K++]=128+(N>>>24&63),i[K++]=128+(N>>>18&63),i[K++]=128+(N>>>12&63),i[K++]=128+(N>>>6&63),i[K++]=128+(63&N)),K},StringView.getUTF8CharLength=function(i){return i<128?1:i<2048?2:i<65536?3:i<2097152?4:i<67108864?5:6},StringView.loadUTF16CharCode=function(i,N){var J=i[N];return J>55231&&N+1<i.length?(J-55296<<10)+i[N+1]+9216:J},StringView.putUTF16CharCode=function(i,N,J){var K=J;return N<65536?i[K++]=N:(i[K++]=55232+(N>>>10),i[K++]=56320+(1023&N)),K},StringView.getUTF16CharLength=function(i){return i<65536?1:2},StringView.b64ToUint6=function(i){return i>64&&i<91?i-65:i>96&&i<123?i-71:i>47&&i<58?i+4:i===43?62:i===47?63:0},StringView.uint6ToB64=function(i){return i<26?i+65:i<52?i+71:i<62?i-4:i===62?43:i===63?47:65},StringView.bytesToBase64=function(i){for(var N,J=(3-i.length%3)%3,K="",j=i.length,at=0,pt=0;pt<j;pt++)N=pt%3,at|=i[pt]<<(16>>>N&24),N!==2&&i.length-pt!=1||(K+=String.fromCharCode(StringView.uint6ToB64(at>>>18&63),StringView.uint6ToB64(at>>>12&63),StringView.uint6ToB64(at>>>6&63),StringView.uint6ToB64(63&at)),at=0);return J===0?K:K.substring(0,K.length-J)+(J===1?"=":"==")},StringView.base64ToBytes=function(i,N){for(var J,K,j=i.replace(/[^A-Za-z0-9\+\/]/g,""),at=j.length,pt=N?Math.ceil((3*at+1>>>2)/N)*N:3*at+1>>>2,Wt=new Uint8Array(pt),Ot=0,Ft=0,v=0;v<at;v++)if(K=3&v,Ot|=StringView.b64ToUint6(j.charCodeAt(v))<<18-6*K,K===3||at-v==1){for(J=0;J<3&&Ft<pt;J++,Ft++)Wt[Ft]=Ot>>>(16>>>J&24)&255;Ot=0}return Wt},StringView.makeFromBase64=function(i,N,J,K){return new StringView(N==="UTF-16"||N==="UTF-32"?StringView.base64ToBytes(i,N==="UTF-16"?2:4).buffer:StringView.base64ToBytes(i),N,J,K)},StringView.prototype.encoding="UTF-8",StringView.prototype.makeIndex=function(i,N){var J,K=this.rawData,j=K.length,at=N||0,pt=at,Wt=isNaN(i)?1/0:i;if(i+1>K.length)throw new RangeError("StringView.prototype.makeIndex - The offset can't be major than the length of the array - 1.");switch(this.encoding){case"UTF-8":var Ot;for(J=0;pt<j&&J<Wt;J++)Ot=K[pt],pt+=Ot>251&&Ot<254&&pt+5<j?6:Ot>247&&Ot<252&&pt+4<j?5:Ot>239&&Ot<248&&pt+3<j?4:Ot>223&&Ot<240&&pt+2<j?3:Ot>191&&Ot<224&&pt+1<j?2:1;break;case"UTF-16":for(J=at;pt<j&&J<Wt;J++)pt+=K[pt]>55231&&pt+1<K.length?2:1;break;default:pt=J=isFinite(i)?i:j-1}return i?pt:J}
13,StringView.prototype.toBase64=function(i){return StringView.bytesToBase64(i?this.bufferView.constructor===Uint8Array?this.bufferView:new Uint8Array(this.buffer):this.rawData.constructor===Uint8Array?this.rawData:new Uint8Array(this.buffer,this.rawData.byteOffset,this.rawData.length<<(this.rawData.constructor===Uint16Array?1:2)))},StringView.prototype.subview=function(i,N){var J,K,j,at,pt,Wt=this.encoding==="UTF-8"||this.encoding==="UTF-16",Ot=this.rawData.length;return Ot===0?new StringView(this.buffer,this.encoding):(pt=Wt?this.makeIndex():Ot,j=i?i+1>pt?pt:Math.max((pt+i)%pt,0):0,at=Number.isInteger(N)?Math.max(N,0)+j>pt?pt-j:N:pt-j,j===0&&at===pt?this:(Wt?(K=j<pt?this.makeIndex(j):pt,J=at?this.makeIndex(at,K)-K:0):(K=j,J=at),this.encoding==="UTF-16"?K<<=1:this.encoding==="UTF-32"&&(K<<=2),new StringView(this.buffer,this.encoding,this.rawData.byteOffset+K,J)))},StringView.prototype.forEachChar=function(i,N,J,K){var j,at,pt=this.rawData;if(this.encoding==="UTF-8"||this.encoding==="UTF-16"){var Wt,Ot;this.encoding==="UTF-8"?(Wt=StringView.getUTF8CharLength,Ot=StringView.loadUTF8CharCode):this.encoding==="UTF-16"&&(Wt=StringView.getUTF16CharLength,Ot=StringView.loadUTF16CharCode),at=isFinite(J)?this.makeIndex(J):0,j=isFinite(K)?this.makeIndex(K,at):pt.length;for(var Ft,v=0;at<j;v++)Ft=Ot(pt,at),N?i.call(N,Ft,v,at,pt):i(Ft,v,at,pt),at+=Wt(Ft)}else for(at=isFinite(J)?J:0,j=isFinite(K)?K+at:pt.length,at;at<j;at++)N?i.call(N,pt[at],at,at,pt):i(pt[at],at,at,pt)},StringView.prototype.valueOf=StringView.prototype.toString=function(){if(this.encoding!=="UTF-8"&&this.encoding!=="UTF-16")return String.fromCharCode.apply(null,this.rawData);var i,N,J="";this.encoding==="UTF-8"?(N=StringView.getUTF8CharLength,i=StringView.loadUTF8CharCode):this.encoding==="UTF-16"&&(N=StringView.getUTF16CharLength,i=StringView.loadUTF16CharCode);for(var K,j=this.rawData.length,at=0;at<j;at+=N(K))K=i(this.rawData,at),J+=String.fromCharCode(K);return J},(function(i,N){typeof exports=="object"&&typeof module<"u"?module.exports=N():typeof define=="function"&&define.amd?define(N):i.moment=N()})(this,function(){"use strict";var i;function N(){return i.apply(null,arguments)}function J(o){return o instanceof Array||Object.prototype.toString.call(o)==="[object Array]"}function K(o){return o!=null&&Object.prototype.toString.call(o)==="[object Object]"}function j(o,u){return Object.prototype.hasOwnProperty.call(o,u)}function at(o){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(o).length===0;for(var u in o)if(j(o,u))return;return 1}function pt(o){return o===void 0}function Wt(o){return typeof o=="number"||Object.prototype.toString.call(o)==="[object Number]"}function Ot(o){return o instanceof Date||Object.prototype.toString.call(o)==="[object Date]"}function Ft(o,u){for(var g=[],b=o.length,T=0;T<b;++T)g.push(u(o[T],T));return g}function v(o,u){for(var g in u)j(u,g)&&(o[g]=u[g]);return j(u,"toString")&&(o.toString=u.toString),j(u,"valueOf")&&(o.valueOf=u.valueOf),o}function $t(o,u,g,b){return Ke(o,u,g,b,!0).utc()}function ht(o){return o._pf==null&&(o._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),o._pf}function rt(o){var u,g,b=o._d&&!isNaN(o._d.getTime());return b&&(u=ht(o),g=St.call(u.parsedDateParts,function(T){return T!=null}),b=u.overflow<0&&!u.empty&&!u.invalidEra&&!u.invalidMonth&&!u.invalidWeekday&&!u.weekdayMismatch&&!u.nullInput&&!u.invalidFormat&&!u.userInvalidated&&(!u.meridiem||u.meridiem&&g),o._strict)&&(b=b&&u.charsLeftOver===0&&u.unusedTokens.length===0&&u.bigHour===void 0),Object.isFrozen!=null&&Object.isFrozen(o)?b:(o._isValid=b,o._isValid)}function _t(o){var u=$t(NaN);return o!=null?v(ht(u),o):ht(u).userInvalidated=!0,u}var St=Array.prototype.some||function(o){for(var u=Object(this),g=u.length>>>0,b=0;b<g;b++)if(b in u&&o.call(this,u[b],b,u))return!0;return!1},mt=N.momentProperties=[],ve=!1;function Kt(o,u){var g,b,T,W=mt.length;if(pt(u._isAMomentObject)||(o._isAMomentObject=u._isAMomentObject),pt(u._i)||(o._i=u._i),pt(u._f)||(o._f=u._f),pt(u._l)||(o._l=u._l),pt(u._strict)||(o._strict=u._strict),pt(u._tzm)||(o._tzm=u._tzm),pt(u._isUTC)||(o._isUTC=u._isUTC),pt(u._offset)||(o._offset=u._offset),pt(u._pf)||(o._pf=ht(u)),pt(u._locale)||(o._locale=u._locale),0<W)for(g=0;g<W;
13g++)pt(T=u[b=mt[g]])||(o[b]=T);return o}function Nt(o){Kt(this,o),this._d=new Date(o._d!=null?o._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ve===!1&&(ve=!0,N.updateOffset(this),ve=!1)}function Ht(o){return o instanceof Nt||o!=null&&o._isAMomentObject!=null}function Qt(o){N.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+o)}function c(o,u){var g=!0;return v(function(){if(N.deprecationHandler!=null&&N.deprecationHandler(null,o),g){for(var b,T,W=[],R=arguments.length,Z=0;Z<R;Z++){if(b="",typeof arguments[Z]=="object"){for(T in b+=`
14[`+Z+"] ",arguments[0])j(arguments[0],T)&&(b+=T+": "+arguments[0][T]+", ");b=b.slice(0,-2)}else b=arguments[Z];W.push(b)}Qt(o+`
15Arguments: `+Array.prototype.slice.call(W).join("")+`
16`+new Error().stack),g=!1}return u.apply(this,arguments)},u)}var ot={};function ct(o,u){N.deprecationHandler!=null&&N.deprecationHandler(o,u),ot[o]||(Qt(u),ot[o]=!0)}function dt(o){return typeof Function<"u"&&o instanceof Function||Object.prototype.toString.call(o)==="[object Function]"}function et(o,u){var g,b=v({},o);for(g in u)j(u,g)&&(K(o[g])&&K(u[g])?(b[g]={},v(b[g],o[g]),v(b[g],u[g])):u[g]!=null?b[g]=u[g]:delete b[g]);for(g in o)j(o,g)&&!j(u,g)&&K(o[g])&&(b[g]=v({},b[g]));return b}function Ct(o){o!=null&&this.set(o)}N.suppressDeprecationWarnings=!1,N.deprecationHandler=null;var ut=Object.keys||function(o){var u,g=[];for(u in o)j(o,u)&&g.push(u);return g};function vt(o,u,g){var b=""+Math.abs(o);return(0<=o?g?"+":"":"-")+Math.pow(10,Math.max(0,u-b.length)).toString().substr(1)+b}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Xt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vt={},Ut={};function t(o,u,g,b){var T=typeof b=="string"?function(){return this[b]()}:b;o&&(Ut[o]=T),u&&(Ut[u[0]]=function(){return vt(T.apply(this,arguments),u[1],u[2])}),g&&(Ut[g]=function(){return this.localeData().ordinal(T.apply(this,arguments),o)})}function e(o,u){return o.isValid()?(u=n(u,o.localeData()),Vt[u]=Vt[u]||(function(g){for(var b,T=g.match(te),W=0,R=T.length;W<R;W++)Ut[T[W]]?T[W]=Ut[T[W]]:T[W]=(b=T[W]).match(/\[[\s\S]/)?b.replace(/^\[|\]$/g,""):b.replace(/\\/g,"");return function(Z){for(var tt="",it=0;it<R;it++)tt+=dt(T[it])?T[it].call(Z,g):T[it];return tt}})(u),Vt[u](o)):o.localeData().invalidDate()}function n(o,u){var g=5;function b(T){return u.longDateFormat(T)||T}for(Xt.lastIndex=0;0<=g&&Xt.test(o);)o=o.replace(Xt,b),Xt.lastIndex=0,--g;return o}var r={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function a(o){return typeof o=="string"?r[o]||r[o.toLowerCase()]:void 0}function d(o){var u,g,b={};for(g in o)j(o,g)&&(u=a(g))&&(b[u]=o[g]);return b}var _={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},h=/\d/,f=/\d\d/,w=/\d{3}/,oi=/\d{4}/,$=/[+-]?\d{6}/,k=/\d\d?/,D=/\d\d\d\d?/,M=/\d\d\d\d\d\d?/,P=/\d{1,3}/,xt=/\d{1,4}/,z=/[+-]?\d{1,6}/,L=/\d+/,V=/[+-]?\d+/,q=/Z|[+-]\d\d:?\d\d/gi,nt=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,E=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/;function X(o,u,g){Lt[o]=dt(u)?u:function(b,T){return b&&g?g:u}}function Et(o,u){return j(Lt,o)?Lt[o](u._strict,u._locale):new RegExp(Rt(o.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(g,b,T,W,R){return b||T||W||R})))}function Rt(o){return o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Mt(o){return o<0?Math.ceil(o)||0:Math.floor(o)}function G(u){var u=+u,g=0;return g=u!=0&&isFinite(u)?Mt(u):g}var Lt={},ue={};function gt(o,u){var g,b,T=u;
vendor: 8,690 bytes, line 16
16for(typeof o=="string"&&(o=[o]),Wt(u)&&(T=function(W,R){R[u]=G(W)}),b=o.length,g=0;g<b;g++)ue[o[g]]=T}function de(o,u){gt(o,function(g,b,T,W){T._w=T._w||{},u(g,T._w,T,W)})}function ce(o){return o%4==0&&o%100!=0||o%400==0}var ee=0,pe=1,me=2,oe=3,Pt=4,_e=5,De=6,Oe=7,Te=8;function ye(o){return ce(o)?366:365}t("Y",0,0,function(){var o=this.year();return o<=9999?vt(o,4):"+"+o}),t(0,["YY",2],0,function(){return this.year()%100}),t(0,["YYYY",4],0,"year"),t(0,["YYYYY",5],0,"year"),t(0,["YYYYYY",6,!0],0,"year"),X("Y",V),X("YY",k,f),X("YYYY",xt,oi),X("YYYYY",z,$),X("YYYYYY",z,$),gt(["YYYYY","YYYYYY"],ee),gt("YYYY",function(o,u){u[ee]=o.length===2?N.parseTwoDigitYear(o):G(o)}),gt("YY",function(o,u){u[ee]=N.parseTwoDigitYear(o)}),gt("Y",function(o,u){u[ee]=parseInt(o,10)}),N.parseTwoDigitYear=function(o){return G(o)+(68<G(o)?1900:2e3)};var ie,It=xe("FullYear",!0);function xe(o,u){return function(g){return g!=null?(gi(this,o,g),N.updateOffset(this,u),this):Se(this,o)}}function Se(o,u){if(!o.isValid())return NaN;var g=o._d,b=o._isUTC;switch(u){case"Milliseconds":return b?g.getUTCMilliseconds():g.getMilliseconds();case"Seconds":return b?g.getUTCSeconds():g.getSeconds();case"Minutes":return b?g.getUTCMinutes():g.getMinutes();case"Hours":return b?g.getUTCHours():g.getHours();case"Date":return b?g.getUTCDate():g.getDate();case"Day":return b?g.getUTCDay():g.getDay();case"Month":return b?g.getUTCMonth():g.getMonth();case"FullYear":return b?g.getUTCFullYear():g.getFullYear();default:return NaN}}function gi(o,u,g){var b,T,W;if(o.isValid()&&!isNaN(g)){switch(b=o._d,T=o._isUTC,u){case"Milliseconds":return T?b.setUTCMilliseconds(g):b.setMilliseconds(g);case"Seconds":return T?b.setUTCSeconds(g):b.setSeconds(g);case"Minutes":return T?b.setUTCMinutes(g):b.setMinutes(g);case"Hours":return T?b.setUTCHours(g):b.setHours(g);case"Date":return T?b.setUTCDate(g):b.setDate(g);case"FullYear":break;default:return}u=g,W=o.month(),o=(o=o.date())!==29||W!==1||ce(u)?o:28,T?b.setUTCFullYear(u,W,o):b.setFullYear(u,W,o)}}function Me(o,u){var g;return isNaN(o)||isNaN(u)?NaN:(g=(u%(g=12)+g)%g,o+=(u-g)/12,g==1?ce(o)?29:28:31-g%7%2)}ie=Array.prototype.indexOf||function(o){for(var u=0;u<this.length;++u)if(this[u]===o)return u;return-1},t("M",["MM",2],"Mo",function(){return this.month()+1}),t("MMM",0,0,function(o){return this.localeData().monthsShort(this,o)}),t("MMMM",0,0,function(o){return this.localeData().months(this,o)}),X("M",k,E),X("MM",k,f),X("MMM",function(o,u){return u.monthsShortRegex(o)}),X("MMMM",function(o,u){return u.monthsRegex(o)}),gt(["M","MM"],function(o,u){u[pe]=G(o)-1}),gt(["MMM","MMMM"],function(o,u,g,b){b=g._locale.monthsParse(o,b,g._strict),b!=null?u[pe]=b:ht(g).invalidMonth=o});var ge="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ii=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vi=st,ri=st;function ze(o,u){if(o.isValid()){if(typeof u=="string"){if(/^\d+$/.test(u))u=G(u);else if(!Wt(u=o.localeData().monthsParse(u)))return}var g=(g=o.date())<29?g:Math.min(g,Me(o.year(),u));o._isUTC?o._d.setUTCMonth(u,g):o._d.setMonth(u,g)}}function He(o){return o!=null?(ze(this,o),N.updateOffset(this,!0),this):Se(this,"Month")}function Fe(){function o(Z,tt){return tt.length-Z.length}for(var u,g,b=[],T=[],W=[],R=0;R<12;R++)g=$t([2e3,R]),u=Rt(this.monthsShort(g,"")),g=Rt(this.months(g,"")),b.push(u),T.push(g),W.push(g),W.push(u);b.sort(o),T.sort(o),W.sort(o),this._monthsRegex=new RegExp("^("+W.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+b.join("|")+")","i")}function ae(o,u,g,b,T,W,R){var Z;return o<100&&0<=o?(Z=new Date(o+400,u,g,b,T,W,R),isFinite(Z.getFullYear())&&Z.setFullYear(o)):Z=new Date(o,u,g,b,T,W,R),Z}function be(o){var u;return o<100&&0<=o?((u=Array.prototype.slice.call(arguments))[0]=o+400,u=new Date(Date.UTC.apply(null,u)),isFinite(u.getUTCFullYear())&&u.setUTCFullYear(o)):u=new Date(Date.UTC.apply(null,arguments)),u}function Pi(o,u,g){return g=7+u-g,g-(7+be(o,0,g).getUTCDay()-u)%7-1}function on(o,R,Z,b,T){var W,R=1+7*(R-1)+(7+Z-b)%7+Pi(o,b,T),Z=R<=0?ye(W=o-1)+R:R>ye(o)?(W=o+1,R-ye(o)):(W=o,R);return{year:W,dayOfYear:Z}}function ai(o,u,g){var b,T,W=Pi(o.year(),u,g),W=Math.floor((o.dayOfYear()-W-1)/7)+1;return W<1?b=W+Be(T=o.year()-1,u,g):W>Be(o.year(),u,g)?(b=W-Be(o.year(),u,g),T=o.year()+1):(T=o.year(),b=W),{week:b,year:T}}function Be(o,T,g){var b=Pi(o,T,g),T=Pi(o+1,T,g);return(ye(o)-b+T)/7}t("w",["ww",2],"wo","week"),t("W",["WW",2],"Wo","isoWeek"),X("w",k,E),X("ww",k,f),X("W",k,E),X("WW",k,f),de(["w","ww","W","WW"],function(o,u,g,b){u[b.substr(0,1)]=G(o)});function Yi(o,u){return o.slice(u,7).concat(o.slice(0,u))}t("d",0,"do","day"),t("dd",0,0,function(o){return this.localeData().weekdaysMin(this,o)}),t("ddd",0,0,function(o){return this.localeData().weekdaysShort(this,o)}),t("dddd",0,0,function(o){return this.localeData().weekdays(this,o)}),t("e",0,0,"weekday"),t("E",0,0,"isoWeekday"),X("d",k),X("e",k),X("E",k),X("dd",function(o,u){return u.weekdaysMinRegex(o)}),X("ddd",function(o,u){return u.weekdaysShortRegex(o)}),X("dddd",function(o,u){return u.weekdaysRegex(o)}),de(["dd","ddd","dddd"],function(o,u,g,b){b=g._locale.weekdaysParse(o,b,g._strict),b!=null?u.d=b:ht(g).invalidWeekday=o}),de(["d","e","E"],function(o,u,g,b){u[b]=G(o)});var li="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ti="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),_i="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ri=st,ji=st,Oi=st;function Ai(){function o(it,Dt){return Dt.length-it.length}for(var u,g,b,T=[],W=[],R=[],Z=[],tt=0;tt<7;tt++)b=$t([2e3,1]).day(tt),u=Rt(this.weekdaysMin(b,"")),g=Rt(this.weekdaysShort(b,"")),b=Rt(this.weekdays(b,"")),T.push(u),W.push(g),R.push(b),Z.push(u),Z.push(g),Z.push(b);T.sort(o),W.sort(o),R.sort(o),Z.sort(o),this._weekdaysRegex=new RegExp("^("+Z.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+W.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+T.join("|")+")","i")}function Ui(){return this.hours()%12||12}function hi(o,u){t(o,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),u)})}function Bi(o,u){return u._meridiemParse}t("H",["HH",2],0,"hour"),t("h",["hh",2],0,Ui),t("k",["kk",2],0,function(){return this.hours()||24}),t("hmm",0,0,function(){return""+Ui.apply(this)+vt(this.minutes(),2)}),t("hmmss",0,0,function(){return""+Ui.apply(this)+vt(this.minutes(),2)+vt(this.seconds(),2)}),t("Hmm",0,0,function(){return""+this.hours()+vt(this.minutes(),2)}),t("Hmmss",0,0,function(){return""+this.hours()+vt(this.minutes(),2)+vt(this.seconds(),2)}),hi("a",!0),hi("A",!1),X("a",Bi),X("A",Bi),X("H",k,lt),X("h",k,E),X("k",k,E),X("HH",k,f),X("hh",k,f),X("kk",k,f),X("hmm",D),X("hmmss",M),X("Hmm",D),X("Hmmss",M),gt(["H","HH"],oe),gt(["k","kk"],function(o,u,g){o=G(o),u[oe]=o===24?0:o}),gt(["a","A"],function(o,u,g){g._isPm=g._locale.isPM(o),g._meridiem=o}),gt(["h","hh"],function(o,u,g){u[oe]=G(o),ht(g).bigHour=!0}),gt("hmm",function(o,u,g){var b=o.length-2;u[oe]=G(o.substr(0,b)),u[Pt]=G(o.substr(b)),ht(g).bigHour=!0}),gt("hmmss",function(o,u,g){var b=o.length-4,T=o.length-2;u[oe]=G(o.substr(0,b)),u[Pt]=G(o.substr(b,2)),u[_e]=G(o.substr(T)),ht(g).bigHour=!0}),gt("Hmm",function(o,u,g){var b=o.length-2;u[oe]=G(o.substr(0,b)),u[Pt]=G(o.substr(b))}),gt("Hmmss",function(o,u,g){var b=o.length-4,T=o.length-2;u[oe]=G(o.substr(0,b)),u[Pt]=G(o.substr(b,2)),u[_e]=G(o.substr(T))}),st=xe("Hours",!0);var ui,qi={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ge,monthsShort:Ae,week:{dow:0,doy:6},weekdays:li,weekdaysMin:_i,weekdaysShort:ti,meridiemParse:/[ap]\.?m?\.?/i},le={},ei={};function rn(o){return o&&o.toLowerCase().replace("_","-")}function xn(o){for(var u,g,b,T,W=0;W<o.length;){for(u=(T=rn(o[W]).split("-")).length,g=(g=rn(o[W+1]))?g.split("-"):null;0<u;){if(b=yi(T.slice(0,u).join("-")))return b;if(g&&g.length>
16=u&&(function(R,Z){for(var tt=Math.min(R.length,Z.length),it=0;it<tt;it+=1)if(R[it]!==Z[it])return it;return tt})(T,g)>=u-1)break;u--}W++}return ui}function yi(o){var u,g;if(le[o]===void 0&&typeof module<"u"&&module&&module.exports&&(g=o)&&g.match("^[^/\\\\]*$"))try{u=ui._abbr,require("./locale/"+o),qe(u)}catch{le[o]=null}return le[o]}function qe(o,u){return o&&((u=pt(u)?Ue(o):bi(o,u))?ui=u:typeof console<"u"&&console.warn&&console.warn("Locale "+o+" not found. Did you forget to load it?")),ui._abbr}function bi(o,u){if(u===null)return delete le[o],null;var g,b=qi;if(u.abbr=o,le[o]!=null)ct("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),b=le[o]._config;else if(u.parentLocale!=null)if(le[u.parentLocale]!=null)b=le[u.parentLocale]._config;else{if((g=yi(u.parentLocale))==null)return ei[u.parentLocale]||(ei[u.parentLocale]=[]),ei[u.parentLocale].push({name:o,config:u}),null;b=g._config}return le[o]=new Ct(et(b,u)),ei[o]&&ei[o].forEach(function(T){bi(T.name,T.config)}),qe(o),le[o]}function Ue(o){var u;if(!(o=o&&o._locale&&o._locale._abbr?o._locale._abbr:o))return ui;if(!J(o)){if(u=yi(o))return u;o=[o]}return xn(o)}function We(o){var u=o._a;return u&&ht(o).overflow===-2&&(u=u[pe]<0||11<u[pe]?pe:u[me]<1||u[me]>Me(u[ee],u[pe])?me:u[oe]<0||24<u[oe]||u[oe]===24&&(u[Pt]!==0||u[_e]!==0||u[De]!==0)?oe:u[Pt]<0||59<u[Pt]?Pt:u[_e]<0||59<u[_e]?_e:u[De]<0||999<u[De]?De:-1,ht(o)._overflowDayOfYear&&(u<ee||me<u)&&(u=me),ht(o)._overflowWeeks&&u===-1&&(u=Oe),ht(o)._overflowWeekday&&u===-1&&(u=Te),ht(o).overflow=u),o}var ci=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,di=/Z|[+-]\d\d(?::?\d\d)?/,wi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Vi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,Gi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,an={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xi(o){var u,g,b,T,W,R,tt=o._i,Z=ci.exec(tt)||Ni.exec(tt),tt=wi.length,it=Vi.length;if(Z){for(ht(o).iso=!0,u=0,g=tt;u<g;u++)if(wi[u][1].exec(Z[1])){T=wi[u][0],b=wi[u][2]!==!1;break}if(T==null)o._isValid=!1;else{if(Z[3]){for(u=0,g=it;u<g;u++)if(Vi[u][1].exec(Z[3])){W=(Z[2]||" ")+Vi[u][0];break}if(W==null)return void(o._isValid=!1)}if(b||W==null){if(Z[4]){if(!di.exec(Z[4]))return void(o._isValid=!1);R="Z"}o._f=T+(W||"")+(R||""),$i(o)}else o._isValid=!1}}else o._isValid=!1}function ln(o,u,g,b,T,W){return o=[(function(R){R=parseInt(R,10);{if(R<=49)return 2e3+R;if(R<=999)return 1900+R}return R})(o),Ae.indexOf(u),parseInt(g,10),parseInt(b,10),parseInt(T,10)],W&&o.push(parseInt(W,10)),o}function Le(o){var u,g,b=Gi.exec(o._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));b?(u=ln(b[4],b[3],b[2],b[5],b[6],b[7]),(function(T,W,R){if(!T||ti.indexOf(T)===new Date(W[0],W[1],W[2]).getDay())return 1;ht(R).weekdayMismatch=!0,R._isValid=!1})(b[1],u,o)&&(o._a=u,o._tzm=(u=b[8],g=b[9],b=b[10],u?an[u]:g?0:60*(((u=parseInt(b,10))-(g=u%100))/100)+g),o._d=be.apply(null,o._a),o._d.setUTCMinutes(o._d.getUTCMinutes()-o._tzm),ht(o).rfc2822=!0)):o._isValid=!1}function ii(o,u,g){return o??u??g}function ni(o){var u,g,b,T,W,R,Z,tt,it,Dt,kt,ft=[];if(!o._d){for(b=o,T=new Date(N.now()),g=b._useUTC?[T.getUTCFullYear(),T.getUTCMonth(),T.getUTCDate()]:[T.getFullYear(),T.getMonth(),T.getDate()],o._w&&o._a[me]==null&&o._a[pe]==null&&((T=(b=o)._w).GG!=null||T.W!=null||T.E!=null?(tt=1,it=4,W=ii(T.GG,b._a[ee],ai(ne(),1,4).year),R=ii(T.W,1),((Z=ii(T.E,1))<1||7<Z)&&(Dt=!0)):(tt=b._locale._week.dow,it=b._locale._week.doy,kt=ai(ne(),tt,it),W=ii(T.gg,b._a[ee],kt.year),R=ii(T.w,kt.week),T.d!=null?((Z=T.d)<0||6<Z)&&(Dt=!0):T.e!=null?(Z=T.e+tt,(T.e<0||6<T.e)&&(Dt=!0)):Z=tt),R<1||R>Be(W,tt,it)?ht(b)._overflowWeeks=!0:Dt!=null?ht(b)._overflowWeekday=!0:(kt=on(W,R,Z,tt,it),b._a[ee]=kt.year,b._dayOfYear=kt.dayOfYear)),o._dayOfYear!=null&&(T=ii(o._a[ee],g[ee]),(o._dayOfYear>ye(T)||o._dayOfYear===0)&&(ht(o)._overflowDayOfYear=!0),Dt=be(T,0,o._dayOfYear),o._a[pe]=Dt.getUTCMonth(),o._a[me]=Dt.getUTCDate()),u=0;u<3&&o._a[u]==null;++u)o._a[u]=ft[u]=g[u];for(;u<7;u++)o._a[u]=ft[u]=o._a[u]==null?u===2?1:0:o._a[u];o._a[oe]===24&&o._a[Pt]===0&&o._a[_e]===0&&o._a[De]===0&&(o._nextDay=!0,o._a[oe]=0),o._d=(o._useUTC?be:ae).apply(null,ft),W=o._useUTC?o._d.getUTCDay():o._d.getDay(),o._tzm!=null&&o._d.setUTCMinutes(o._d.getUTCMinutes()-o._tzm),o._nextDay&&(o._a[oe]=24),o._w&&o._w.d!==void 0&&o._w.d!==W&&(ht(o).weekdayMismatch=!0)}}function $i(o){if(o._f===N.ISO_8601)xi(o);else if(o._f===N.RFC_2822)Le(o);else{o._a=[],ht(o).empty=!0;for(var u,g,b,T,W,R=""+o._i,Z=R.length,tt=0,it=n(o._f,o._locale).match(te)||[],Dt=it.length,kt=0;kt<Dt;kt++)g=it[kt],(u=(R.match(Et(g,o))||[])[0])&&(0<(b=R.substr(0,R.indexOf(u))).length&&ht(o).unusedInput.push(b),R=R.slice(R.indexOf(u)+u.length),tt+=u.length),Ut[g]?(u?ht(o).empty=!1:ht(o).unusedTokens.push(g),b=g,W=o,(T=u)!=null&&j(ue,b)&&ue[b](T,W._a,W,b)):o._strict&&!u&&ht(o).unusedTokens.push(g);ht(o).charsLeftOver=Z-tt,0<R.length&&ht(o).unusedInput.push(R),o._a[oe]<=12&&ht(o).bigHour===!0&&0<o._a[oe]&&(ht(o).bigHour=void 0),ht(o).parsedDateParts=o._a.slice(0),ht(o).meridiem=o._meridiem,o._a[oe]=(function(ft,jt,se){return se==null?jt:ft.meridiemHour!=null?ft.meridiemHour(jt,se):ft.isPM!=null?((ft=ft.isPM(se))&&jt<12&&(jt+=12),jt=ft||jt!==12?jt:0):jt})(o._locale,o._a[oe],o._meridiem),(Z=ht(o).era)!==null&&(o._a[ee]=o._locale.erasConvertYear(Z,o._a[ee])),ni(o),We(o)}}function hn(o){var u,g,b,T=o._i,W=o._f;if(o._locale=o._locale||Ue(o._l),T===null||W===void 0&&T==="")return _t({nullInput:!0});if(typeof T=="string"&&(o._i=T=o._locale.preparse(T)),Ht(T))return new Nt(We(T));if(Ot(T))o._d=T;else if(J(W)){var R,Z,tt,it,Dt,kt,ft=o,jt=!1,se=ft._f.length;if(se===0)ht(ft).invalidFormat=!0,ft._d=new Date(NaN);else{for(it=0;it<se;it++)Dt=0,kt=!1,R=Kt({},ft),ft._useUTC!=null&&(R._useUTC=ft._useUTC),R._f=ft._f[it],$i(R),rt(R)&&(kt=!0),Dt=(Dt+=ht(R).charsLeftOver)+10*ht(R).unusedTokens.length,ht(R).score=Dt,jt?Dt<tt&&(tt=Dt,Z=R):(tt==null||Dt<tt||kt)&&(tt=Dt,Z=R,kt)&&(jt=!0);v(ft,Z||R)}}else W?$i(o):pt(W=(T=o)._i)?T._d=new Date(N.now()):Ot(W)?T._d=new Date(W.valueOf()):typeof W=="string"?(g=T,(u=kn.exec(g._i))!==null?g._d=new Date(+u[1]):(xi(g),g._isValid===!1&&(delete g._isValid,Le(g),g._isValid===!1)&&(delete g._isValid,g._strict?g._isValid=!1:N.createFromInputFallback(g)))):J(W)?(T._a=Ft(W.slice(0),function(Zt){return parseInt(Zt,10)}),ni(T)):K(W)?(u=T)._d||(b=(g=d(u._i)).day===void 0?g.date:g.day,u._a=Ft([g.year,g.month,b,g.hour,g.minute,g.second,g.millisecond],function(Zt){return Zt&&parseInt(Zt,10)}),ni(u)):Wt(W)?T._d=new Date(W):N.createFromInputFallback(T);return rt(o)||(o._d=null),o}function Ke(o,u,g,b,T){var W={};return u!==!0&&u!==!1||(b=u,u=void 0),g!==!0&&g!==!1||(b=g,g=void 0),(K(o)&&at(o)||J(o)&&o.length===0)&&(o=void 0),W._isAMomentObject=!0,W._useUTC=W._isUTC=T,W._l=g,W._i=o,W._f=u,W._strict=b,(T=new Nt(We(hn(T=W))))._nextDay&&(T.add(1,"d"),T._nextDay=void 0),T}function ne(o,u,g,b){return Ke(o,u,g,b,!1)}N.createFromInputFallback=c("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(o){o._d=new Date(o._i+(o._useUTC?" UTC":""))}),N.ISO_8601=function(){},N.RFC_2822=function(){},D=c("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var o=ne.apply(null,arguments);return this.isValid()&&o.isValid()?o<this?this:o:_t()}),M=c("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var o=ne.apply(null,arguments);return this.isValid()&&o.isValid()?this<o?this:o:_t()});function Hi(o,u){var g,b;if(!(u=u.length===1&&J(u[0])?u[0]:u).length)return ne();for(g=u[0],b=1;b<u.length;++b)u[b].isValid()&&!u[b][o](g)||(g=u[b]);return g}var ki=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Xe(u){var u=d(u),g=u.year||0,b=u.quarter||0,T=u.month||0,W=u.week||u.isoWeek||0,R=u.day||0,Z=u.hour||0,tt=u.minute||0,it=u.second||0,Dt=u.millisecond||0;this._isValid=(function(kt){var ft,jt,se=!1,Zt=ki.length;for(ft in kt)if(j(kt,ft)&&(ie.call(ki,ft)===-1||kt[ft]!=null&&isNaN(kt[ft])))return!1;for(jt=0;jt<Zt;++jt)if(kt[ki[jt]]){if(se)return!1;
vendor: 15,993 bytes, line 16
16parseFloat(kt[ki[jt]])!==G(kt[ki[jt]])&&(se=!0)}return!0})(u),this._milliseconds=+Dt+1e3*it+6e4*tt+1e3*Z*60*60,this._days=+R+7*W,this._months=+T+3*b+12*g,this._data={},this._locale=Ue(),this._bubble()}function Ci(o){return o instanceof Xe}function Di(o){return o<0?-1*Math.round(-1*o):Math.round(o)}function Ki(o,u){t(o,0,0,function(){var g=this.utcOffset(),b="+";return g<0&&(g=-g,b="-"),b+vt(~~(g/60),2)+u+vt(~~g%60,2)})}Ki("Z",":"),Ki("ZZ",""),X("Z",nt),X("ZZ",nt),gt(["Z","ZZ"],function(o,u,g){g._useUTC=!0,g._tzm=Xi(nt,o)});var un=/([\+\-]|\d\d)/gi;function Xi(o,g){var g=(g||"").match(o);return g===null?null:(g=60*(o=((g[g.length-1]||[])+"").match(un)||["-",0,0])[1]+G(o[2]))===0?0:o[0]==="+"?g:-g}function Ei(o,u){var g;return u._isUTC?(u=u.clone(),g=(Ht(o)||Ot(o)?o:ne(o)).valueOf()-u.valueOf(),u._d.setTime(u._d.valueOf()+g),N.updateOffset(u,!1),u):ne(o).local()}function Zi(o){return-Math.round(o._d.getTimezoneOffset())}function cn(){return!!this.isValid()&&this._isUTC&&this._offset===0}N.updateOffset=function(){};var Ji=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Re(o,u){var g,b=o;return Ci(o)?b={ms:o._milliseconds,d:o._days,M:o._months}:Wt(o)||!isNaN(+o)?(b={},u?b[u]=+o:b.milliseconds=+o):(u=Ji.exec(o))?(g=u[1]==="-"?-1:1,b={y:0,d:G(u[me])*g,h:G(u[oe])*g,m:G(u[Pt])*g,s:G(u[_e])*g,ms:G(Di(1e3*u[De]))*g}):(u=Cn.exec(o))?(g=u[1]==="-"?-1:1,b={y:si(u[2],g),M:si(u[3],g),w:si(u[4],g),d:si(u[5],g),h:si(u[6],g),m:si(u[7],g),s:si(u[8],g)}):b==null?b={}:typeof b=="object"&&("from"in b||"to"in b)&&(u=(function(T,W){var R;return!T.isValid()||!W.isValid()?{milliseconds:0,months:0}:(W=Ei(W,T),T.isBefore(W)?R=dn(T,W):((R=dn(W,T)).milliseconds=-R.milliseconds,R.months=-R.months),R)})(ne(b.from),ne(b.to)),(b={}).ms=u.milliseconds,b.M=u.months),g=new Xe(b),Ci(o)&&j(o,"_locale")&&(g._locale=o._locale),Ci(o)&&j(o,"_isValid")&&(g._isValid=o._isValid),g}function si(o,u){return o=o&&parseFloat(o.replace(",",".")),(isNaN(o)?0:o)*u}function dn(o,u){var g={};return g.months=u.month()-o.month()+12*(u.year()-o.year()),o.clone().add(g.months,"M").isAfter(u)&&--g.months,g.milliseconds=+u-+o.clone().add(g.months,"M"),g}function pn(o,u){return function(g,b){var T;return b===null||isNaN(+b)||(ct(u,"moment()."+u+"(period, number) is deprecated. Please use moment()."+u+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),T=g,g=b,b=T),fn(this,Re(g,b),o),this}}function fn(o,R,g,b){var T=R._milliseconds,W=Di(R._days),R=Di(R._months);o.isValid()&&(b=b==null||b,R&&ze(o,Se(o,"Month")+R*g),W&&gi(o,"Date",Se(o,"Date")+W*g),T&&o._d.setTime(o._d.valueOf()+T*g),b)&&N.updateOffset(o,W||R)}Re.fn=Xe.prototype,Re.invalid=function(){return Re(NaN)},ge=pn(1,"add"),li=pn(-1,"subtract");function Qi(o){return typeof o=="string"||o instanceof String}function tn(o){return Ht(o)||Ot(o)||Qi(o)||Wt(o)||(function(u){var g=J(u),b=!1;return g&&(b=u.filter(function(T){return!Wt(T)&&Qi(u)}).length===0),g&&b})(o)||(function(u){var g,b,T=K(u)&&!at(u),W=!1,R=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Z=R.length;for(g=0;g<Z;g+=1)b=R[g],W=W||j(u,b);return T&&W})(o)||o==null}function Ti(o,u){var g,b;return o.date()<u.date()?-Ti(u,o):-((g=12*(u.year()-o.year())+(u.month()-o.month()))+(u-(b=o.clone().add(g,"months"))<0?(u-b)/(b-o.clone().add(g-1,"months")):(u-b)/(o.clone().add(1+g,"months")-b)))||0}function Wi(o){return o===void 0?this._locale._abbr:((o=Ue(o))!=null&&(this._locale=o),this)}N.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",N.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",_i=c("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(o){return o===void 0?this.localeData():this.locale(o)});function en(){return this._locale}var nn=126227808e5;function Ze(o,u){return(o%u+u)%u}function mn(o,u,g){return o<100&&0<=o?new Date(o+400,u,g)-nn:new Date(o,u,g).valueOf()}function pi(o,u,g){return o<100&&0<=o?Date.UTC(o+400,u,g)-nn:Date.UTC(o,u,g)}function zi(o,u){return u.erasAbbrRegex(o)}function Fi(){for(var o,u,g,b=[],T=[],W=[],R=[],Z=this.eras(),tt=0,it=Z.length;tt<it;++tt)o=Rt(Z[tt].name),u=Rt(Z[tt].abbr),g=Rt(Z[tt].narrow),T.push(o),b.push(u),W.push(g),R.push(o),R.push(u),R.push(g);this._erasRegex=new RegExp("^("+R.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+T.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+b.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+W.join("|")+")","i")}function fi(o,u){t(0,[o,o.length],0,u)}function gn(o,u,g,b,T){var W;return o==null?ai(this,b,T).year:(W=Be(o,b,T),function(R,Z,tt,it,Dt){return R=on(R,Z,tt,it,Dt),Z=be(R.year,0,R.dayOfYear),this.year(Z.getUTCFullYear()),this.month(Z.getUTCMonth()),this.date(Z.getUTCDate()),this}.call(this,o,u=W<u?W:u,g,b,T))}t("N",0,0,"eraAbbr"),t("NN",0,0,"eraAbbr"),t("NNN",0,0,"eraAbbr"),t("NNNN",0,0,"eraName"),t("NNNNN",0,0,"eraNarrow"),t("y",["y",1],"yo","eraYear"),t("y",["yy",2],0,"eraYear"),t("y",["yyy",3],0,"eraYear"),t("y",["yyyy",4],0,"eraYear"),X("N",zi),X("NN",zi),X("NNN",zi),X("NNNN",function(o,u){return u.erasNameRegex(o)}),X("NNNNN",function(o,u){return u.erasNarrowRegex(o)}),gt(["N","NN","NNN","NNNN","NNNNN"],function(o,u,g,b){b=g._locale.erasParse(o,b,g._strict),b?ht(g).era=b:ht(g).invalidEra=o}),X("y",L),X("yy",L),X("yyy",L),X("yyyy",L),X("yo",function(o,u){return u._eraYearOrdinalRegex||L}),gt(["y","yy","yyy","yyyy"],ee),gt(["yo"],function(o,u,g,b){var T;g._locale._eraYearOrdinalRegex&&(T=o.match(g._locale._eraYearOrdinalRegex)),g._locale.eraYearOrdinalParse?u[ee]=g._locale.eraYearOrdinalParse(o,T):u[ee]=parseInt(o,10)}),t(0,["gg",2],0,function(){return this.weekYear()%100}),t(0,["GG",2],0,function(){return this.isoWeekYear()%100}),fi("gggg","weekYear"),fi("ggggg","weekYear"),fi("GGGG","isoWeekYear"),fi("GGGGG","isoWeekYear"),X("G",V),X("g",V),X("GG",k,f),X("gg",k,f),X("GGGG",xt,oi),X("gggg",xt,oi),X("GGGGG",z,$),X("ggggg",z,$),de(["gggg","ggggg","GGGG","GGGGG"],function(o,u,g,b){u[b.substr(0,2)]=G(o)}),de(["gg","GG"],function(o,u,g,b){u[b]=N.parseTwoDigitYear(o)}),t("Q",0,"Qo","quarter"),X("Q",h),gt("Q",function(o,u){u[pe]=3*(G(o)-1)}),t("D",["DD",2],"Do","date"),X("D",k,E),X("DD",k,f),X("Do",function(o,u){return o?u._dayOfMonthOrdinalParse||u._ordinalParse:u._dayOfMonthOrdinalParseLenient}),gt(["D","DD"],me),gt("Do",function(o,u){u[me]=G(o.match(k)[0])}),xt=xe("Date",!0),t("DDD",["DDDD",3],"DDDo","dayOfYear"),X("DDD",P),X("DDDD",w),gt(["DDD","DDDD"],function(o,u,g){g._dayOfYear=G(o)}),t("m",["mm",2],0,"minute"),X("m",k,lt),X("mm",k,f),gt(["m","mm"],Pt);var Je,oi=xe("Minutes",!1),z=(t("s",["ss",2],0,"second"),X("s",k,lt),X("ss",k,f),gt(["s","ss"],_e),xe("Seconds",!1));for(t("S",0,0,function(){return~~(this.millisecond()/100)}),t(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),t(0,["SSS",3],0,"millisecond"),t(0,["SSSS",4],0,function(){return 10*this.millisecond()}),t(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),t(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),t(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),t(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),t(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),X("S",P,h),X("SS",P,f),X("SSS",P,w),Je="SSSS";Je.length<=9;Je+="S")X(Je,L);function s(o,u){u[De]=G(1e3*("0."+o))}for(Je="S";Je.length<=9;Je+="S")gt(Je,s);$=xe("Milliseconds",!1),t("z",0,0,"zoneAbbr"),t("zz",0,0,"zoneName"),E=Nt.prototype;function l(o){return o}E.add=ge,E.calendar=function(g,T){arguments.length===1&&(arguments[0]?tn(arguments[0])?(g=arguments[0],T=void 0):(function(W){for(var R=K(W)&&!at(W),Z=!1,tt=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],it=0;it<tt.length;it+=1)Z=Z||j(W,tt[it]);return R&&Z})(arguments[0])&&(T=arguments[0],g=void 0):T=g=void 0);var g=g||ne(),b=Ei(g,this).startOf("day"),b=N.calendarFormat(this,b)||"sameElse",T=T&&(dt(T[b])?T[b].call(this,g):T[b]);return this.format(T||this.localeData().calendar(b,this,ne(g)))},E.clone=function(){return new Nt(this)},E.diff=function(o,u,g){var b,T,W;if(!this.isValid())return NaN;if(!(b=Ei(o,this)).isValid())return NaN;switch(T=6e4*(b.utcOffset()-this.utcOffset()),u=a(u)){case"year":W=Ti(this,b)/12;break;case"month":W=Ti(this,b);break;case"quarter":W=Ti(this,b)/3;break;case"second":W=(this-b)/1e3;break;case"minute":W=(this-b)/6e4;break;case"hour":W=(this-b)/36e5;break;case"day":W=(this-b-T)/864e5;break;case"week":W=(this-b-T)/6048e5;break;default:W=this-b}return g?W:Mt(W)},E.endOf=function(o){var u,g;if((o=a(o))!==void 0&&o!=="millisecond"&&this.isValid()){switch(g=this._isUTC?pi:mn,o){case"year":u=g(this.year()+1,0,1)-1;break;case"quarter":u=g(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":u=g(this.year(),this.month()+1,1)-1;break;case"week":u=g(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":u=g(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":u=g(this.year(),this.month(),this.date()+1)-1;break;case"hour":u=this._d.valueOf(),u+=36e5-Ze(u+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":u=this._d.valueOf(),u+=6e4-Ze(u,6e4)-1;break;case"second":u=this._d.valueOf(),u+=1e3-Ze(u,1e3)-1;break}this._d.setTime(u),N.updateOffset(this,!0)}return this},E.format=function(o){return o=o||(this.isUtc()?N.defaultFormatUtc:N.defaultFormat),o=e(this,o),this.localeData().postformat(o)},E.from=function(o,u){return this.isValid()&&(Ht(o)&&o.isValid()||ne(o).isValid())?Re({to:this,from:o}).locale(this.locale()).humanize(!u):this.localeData().invalidDate()},E.fromNow=function(o){return this.from(ne(),o)},E.to=function(o,u){return this.isValid()&&(Ht(o)&&o.isValid()||ne(o).isValid())?Re({from:this,to:o}).locale(this.locale()).humanize(!u):this.localeData().invalidDate()},E.toNow=function(o){return this.to(ne(),o)},E.get=function(o){return dt(this[o=a(o)])?this[o]():this},E.invalidAt=function(){return ht(this).overflow},E.isAfter=function(o,u){return o=Ht(o)?o:ne(o),!(!this.isValid()||!o.isValid())&&((u=a(u)||"millisecond")==="millisecond"?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(u).valueOf())},E.isBefore=function(o,u){return o=Ht(o)?o:ne(o),!(!this.isValid()||!o.isValid())&&((u=a(u)||"millisecond")==="millisecond"?this.valueOf()<o.valueOf():this.clone().endOf(u).valueOf()<o.valueOf())},E.isBetween=function(o,u,g,b){return o=Ht(o)?o:ne(o),u=Ht(u)?u:ne(u),!!(this.isValid()&&o.isValid()&&u.isValid())&&((b=b||"()")[0]==="("?this.isAfter(o,g):!this.isBefore(o,g))&&(b[1]===")"?this.isBefore(u,g):!this.isAfter(u,g))},E.isSame=function(g,u){var g=Ht(g)?g:ne(g);return!(!this.isValid()||!g.isValid())&&((u=a(u)||"millisecond")==="millisecond"?this.valueOf()===g.valueOf():(g=g.valueOf(),this.clone().startOf(u).valueOf()<=g&&g<=this.clone().endOf(u).valueOf()))},E.isSameOrAfter=function(o,u){return this.isSame(o,u)||this.isAfter(o,u)},E.isSameOrBefore=function(o,u){return this.isSame(o,u)||this.isBefore(o,u)},E.isValid=function(){return rt(this)},E.lang=_i,E.locale=Wi,E.localeData=en,E.max=M,E.min=D,E.parsingFlags=function(){return v({},ht(this))},E.set=function(o,u){if(typeof o=="object")for(var g=(function(W){var R,Z=[];for(R in W)j(W,R)&&Z.push({unit:R,priority:_[R]});return Z.sort(function(tt,it){return tt.priority-it.priority}),Z})(o=d(o)),b=g.length,T=0;T<b;T++)this[g[T].unit](o[g[T].unit]);else if(dt(this[o=a(o)]))return this[o](u);return this},E.startOf=function(o){var u,g;if((o=a(o))!==void 0&&o!=="millisecond"&&this.isValid()){switch(g=this._isUTC?pi:mn,o){case"year":u=g(this.year(),0,1);break;case"quarter":u=g(this.year(),this.month()-this.month()%3,1);break;case"month":u=g(this.year(),this.month(),1);break;case"week":u=g(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":u=g(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":u=g(this.year(),this.month(),this.date());break;case"hour":u=this._d.valueOf(),u-=Ze(u+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":u=this._d.valueOf(),u-=Ze(u,6e4);break;case"second":u=this._d.valueOf(),u-=Ze(u,1e3);break}this._d.setTime(u),N.updateOffset(this,!0)}return this},E.subtract=li,E.toArray=function(){var o=this;return[o.year(),o.month(),o.date(),o.hour(),o.minute(),o.second(),o.millisecond()]},E.toObject=function(){var o=this;return{years:o.year(),months:o.month(),date:o.date(),hours:o.hours(),minutes:o.minutes(),seconds:o.seconds(),milliseconds:o.milliseconds()}},E.toDate=function(){return new Date(this.valueOf())},E.toISOString=function(o){var u;return this.isValid()?(u=(o=o!==!0)?this.clone().utc():this).year()<0||9999<u.year()?e(u,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):dt(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",e(u,"Z")):e(u,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},E.inspect=function(){var o,u,g;return this.isValid()?(u="moment",o="",this.isLocal()||(u=this.utcOffset()===0?"moment.utc":"moment.parseZone",o="Z"),u="["+u+'("]',g=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(u+g+"-MM-DD[T]HH:mm:ss.SSS"+(o+'[")]'))):"moment.invalid(/* "+this._i+" */)"},typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},E.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},E.eraName=function(){for(var o,u=this.localeData().eras(),g=0,b=u.length;g<b;++g)if(o=this.clone().startOf("day").valueOf(),u[g].since<=o&&o<=u[g].until||u[g].until<=o&&o<=u[g].since)return u[g].name;return""},E.eraNarrow=function(){for(var o,u=this.localeData().eras(),g=0,b=u.length;g<b;++g)if(o=this.clone().startOf("day").valueOf(),u[g].since<=o&&o<=u[g].until||u[g].until<=o&&o<=u[g].since)return u[g].narrow;return""},E.eraAbbr=function(){for(var o,u=this.localeData().eras(),g=0,b=u.length;g<b;++g)if(o=this.clone().startOf("day").valueOf(),u[g].since<=o&&o<=u[g].until||u[g].until<=o&&o<=u[g].since)return u[g].abbr;return""},E.eraYear=function(){for(var o,u,g=this.localeData().eras(),b=0,T=g.length;b<T;++b)if(o=g[b].since<=g[b].until?1:-1,u=this.clone().startOf("day").valueOf(),g[b].since<=u&&u<=g[b].until||g[b].until<=u&&u<=g[b].since)return(this.year()-N(g[b].since).year())*o+g[b].offset;return this.year()},E.year=It,E.isLeapYear=function(){return ce(this.year())},E.weekYear=function(o){return gn.call(this,o,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},E.isoWeekYear=function(o){return gn.call(this,o,this.isoWeek(),this.isoWeekday(),1,4)},E.quarter=E.quarters=function(o){return o==null?Math.ceil((this.month()+1)/3):this.month(3*(o-1)+this.month()%3)},E.month=He,E.daysInMonth=function(){return Me(this.year(),this.month())},E.week=E.weeks=function(o){var u=this.localeData().week(this);return o==null?u:this.add(7*(o-u),"d")},E.isoWeek=E.isoWeeks=function(o){var u=ai(this,1,4).week;return o==null?u:this.add(7*(o-u),"d")},E.weeksInYear=function(){var o=this.localeData()._week;return Be(this.year(),o.dow,o.doy)},E.weeksInWeekYear=function(){var o=this.localeData()._week;return Be(this.weekYear(),o.dow,o.doy)},E.isoWeeksInYear=function(){return Be(this.year(),1,4)},E.isoWeeksInISOWeekYear=function(){return Be(this.isoWeekYear(),1,4)}
vendor: 13,514 bytes, line 16
16,E.date=xt,E.day=E.days=function(o){var u,g,b;return this.isValid()?(u=Se(this,"Day"),o!=null?(g=o,b=this.localeData(),o=typeof g!="string"?g:isNaN(g)?typeof(g=b.weekdaysParse(g))=="number"?g:null:parseInt(g,10),this.add(o-u,"d")):u):o!=null?this:NaN},E.weekday=function(o){var u;return this.isValid()?(u=(this.day()+7-this.localeData()._week.dow)%7,o==null?u:this.add(o-u,"d")):o!=null?this:NaN},E.isoWeekday=function(o){var u,g;return this.isValid()?o!=null?(u=o,g=this.localeData(),g=typeof u=="string"?g.weekdaysParse(u)%7||7:isNaN(u)?null:u,this.day(this.day()%7?g:g-7)):this.day()||7:o!=null?this:NaN},E.dayOfYear=function(o){var u=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return o==null?u:this.add(o-u,"d")},E.hour=E.hours=st,E.minute=E.minutes=oi,E.second=E.seconds=z,E.millisecond=E.milliseconds=$,E.utcOffset=function(o,u,g){var b,T=this._offset||0;if(!this.isValid())return o!=null?this:NaN;if(o==null)return this._isUTC?T:Zi(this);if(typeof o=="string"){if((o=Xi(nt,o))===null)return this}else Math.abs(o)<16&&!g&&(o*=60);return!this._isUTC&&u&&(b=Zi(this)),this._offset=o,this._isUTC=!0,b!=null&&this.add(b,"m"),T!==o&&(!u||this._changeInProgress?fn(this,Re(o-T,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,N.updateOffset(this,!0),this._changeInProgress=null)),this},E.utc=function(o){return this.utcOffset(0,o)},E.local=function(o){return this._isUTC&&(this.utcOffset(0,o),this._isUTC=!1,o)&&this.subtract(Zi(this),"m"),this},E.parseZone=function(){var o;return this._tzm!=null?this.utcOffset(this._tzm,!1,!0):typeof this._i=="string"&&((o=Xi(q,this._i))!=null?this.utcOffset(o):this.utcOffset(0,!0)),this},E.hasAlignedHourOffset=function(o){return!!this.isValid()&&(o=o?ne(o).utcOffset():0,(this.utcOffset()-o)%60==0)},E.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},E.isLocal=function(){return!!this.isValid()&&!this._isUTC},E.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},E.isUtc=cn,E.isUTC=cn,E.zoneAbbr=function(){return this._isUTC?"UTC":""},E.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},E.dates=c("dates accessor is deprecated. Use date instead.",xt),E.months=c("months accessor is deprecated. Use month instead",He),E.years=c("years accessor is deprecated. Use year instead",It),E.zone=c("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(o,u){return o!=null?(this.utcOffset(o=typeof o!="string"?-o:o,u),this):-this.utcOffset()}),E.isDSTShifted=c("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var o,u;return pt(this._isDSTShifted)&&(Kt(o={},this),(o=hn(o))._a?(u=(o._isUTC?$t:ne)(o._a),this._isDSTShifted=this.isValid()&&0<(function(g,b,T){for(var W=Math.min(g.length,b.length),R=Math.abs(g.length-b.length),Z=0,tt=0;tt<W;tt++)(T&&g[tt]!==b[tt]||!T&&G(g[tt])!==G(b[tt]))&&Z++;return Z+R})(o._a,u.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),lt=Ct.prototype;function p(o,u,g,W){var T=Ue(),W=$t().set(W,u);return T[g](W,o)}function m(o,u,g){if(Wt(o)&&(u=o,o=void 0),o=o||"",u!=null)return p(o,u,g,"month");for(var b=[],T=0;T<12;T++)b[T]=p(o,T,g,"month");return b}function y(o,u,g,b){u=(typeof o=="boolean"?Wt(u)&&(g=u,u=void 0):(u=o,o=!1,Wt(g=u)&&(g=u,u=void 0)),u||"");var T,W=Ue(),R=o?W._week.dow:0,Z=[];if(g!=null)return p(u,(g+R)%7,b,"day");for(T=0;T<7;T++)Z[T]=p(u,(T+R)%7,b,"day");return Z}lt.calendar=function(o,u,g){return dt(o=this._calendar[o]||this._calendar.sameElse)?o.call(u,g):o},lt.longDateFormat=function(o){var u=this._longDateFormat[o],g=this._longDateFormat[o.toUpperCase()];return u||!g?u:(this._longDateFormat[o]=g.match(te).map(function(b){return b==="MMMM"||b==="MM"||b==="DD"||b==="dddd"?b.slice(1):b}).join(""),this._longDateFormat[o])},lt.invalidDate=function(){return this._invalidDate},lt.ordinal=function(o){return this._ordinal.replace("%d",o)},lt.preparse=l,lt.postformat=l,lt.relativeTime=function(o,u,g,b){var T=this._relativeTime[g];return dt(T)?T(o,u,g,b):T.replace(/%d/i,o)},lt.pastFuture=function(o,u){return dt(o=this._relativeTime[0<o?"future":"past"])?o(u):o.replace(/%s/i,u)},lt.set=function(o){var u,g;for(g in o)j(o,g)&&(dt(u=o[g])?this[g]=u:this["_"+g]=u);this._config=o,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},lt.eras=function(o,u){for(var g,b=this._eras||Ue("en")._eras,T=0,W=b.length;T<W;++T)switch(typeof b[T].since==="string"&&(g=N(b[T].since).startOf("day"),b[T].since=g.valueOf()),typeof b[T].until){case"undefined":b[T].until=1/0;break;case"string":g=N(b[T].until).startOf("day").valueOf(),b[T].until=g.valueOf();break}return b},lt.erasParse=function(o,u,g){var b,T,W,R,Z,tt=this.eras();for(o=o.toUpperCase(),b=0,T=tt.length;b<T;++b)if(W=tt[b].name.toUpperCase(),R=tt[b].abbr.toUpperCase(),Z=tt[b].narrow.toUpperCase(),g)switch(u){case"N":case"NN":case"NNN":if(R===o)return tt[b];break;case"NNNN":if(W===o)return tt[b];break;case"NNNNN":if(Z===o)return tt[b];break}else if(0<=[W,R,Z].indexOf(o))return tt[b]},lt.erasConvertYear=function(o,u){var g=o.since<=o.until?1:-1;return u===void 0?N(o.since).year():N(o.since).year()+(u-o.offset)*g},lt.erasAbbrRegex=function(o){return j(this,"_erasAbbrRegex")||Fi.call(this),o?this._erasAbbrRegex:this._erasRegex},lt.erasNameRegex=function(o){return j(this,"_erasNameRegex")||Fi.call(this),o?this._erasNameRegex:this._erasRegex},lt.erasNarrowRegex=function(o){return j(this,"_erasNarrowRegex")||Fi.call(this),o?this._erasNarrowRegex:this._erasRegex},lt.months=function(o,u){return o?(J(this._months)?this._months:this._months[(this._months.isFormat||Ii).test(u)?"format":"standalone"])[o.month()]:J(this._months)?this._months:this._months.standalone},lt.monthsShort=function(o,u){return o?(J(this._monthsShort)?this._monthsShort:this._monthsShort[Ii.test(u)?"format":"standalone"])[o.month()]:J(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},lt.monthsParse=function(o,u,g){var b,T;if(this._monthsParseExact)return function(kt,R,Z){var tt,it,Dt,kt=kt.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],tt=0;tt<12;++tt)Dt=$t([2e3,tt]),this._shortMonthsParse[tt]=this.monthsShort(Dt,"").toLocaleLowerCase(),this._longMonthsParse[tt]=this.months(Dt,"").toLocaleLowerCase();return Z?R==="MMM"?(it=ie.call(this._shortMonthsParse,kt))!==-1?it:null:(it=ie.call(this._longMonthsParse,kt))!==-1?it:null:R==="MMM"?(it=ie.call(this._shortMonthsParse,kt))!==-1||(it=ie.call(this._longMonthsParse,kt))!==-1?it:null:(it=ie.call(this._longMonthsParse,kt))!==-1||(it=ie.call(this._shortMonthsParse,kt))!==-1?it:null}.call(this,o,u,g);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),b=0;b<12;b++)if(T=$t([2e3,b]),g&&!this._longMonthsParse[b]&&(this._longMonthsParse[b]=new RegExp("^"+this.months(T,"").replace(".","")+"$","i"),this._shortMonthsParse[b]=new RegExp("^"+this.monthsShort(T,"").replace(".","")+"$","i")),g||this._monthsParse[b]||(T="^"+this.months(T,"")+"|^"+this.monthsShort(T,""),this._monthsParse[b]=new RegExp(T.replace(".",""),"i")),g&&u==="MMMM"&&this._longMonthsParse[b].test(o)||g&&u==="MMM"&&this._shortMonthsParse[b].test(o)||!g&&this._monthsParse[b].test(o))return b},lt.monthsRegex=function(o){return this._monthsParseExact?(j(this,"_monthsRegex")||Fe.call(this),o?this._monthsStrictRegex:this._monthsRegex):(j(this,"_monthsRegex")||(this._monthsRegex=ri),this._monthsStrictRegex&&o?this._monthsStrictRegex:this._monthsRegex)},lt.monthsShortRegex=function(o){return this._monthsParseExact?(j(this,"_monthsRegex")||Fe.call(this),o?this._monthsShortStrictRegex:this._monthsShortRegex):(j(this,"_monthsShortRegex")||(this._monthsShortRegex=vi),this._monthsShortStrictRegex&&o?this._monthsShortStrictRegex:this._monthsShortRegex)},lt.week=function(o){return ai(o,this._week.dow,this._week.doy).week},lt.firstDayOfYear=function(){return this._week.doy},lt.firstDayOfWeek=function(){return this._week.dow},lt.weekdays=function(o,u){return u=J(this._weekdays)?this._weekdays:this._weekdays[o&&o!==!0&&this._weekdays.isFormat.test(u)?"format":"standalone"],o===!0?Yi(u,this._week.dow):o?u[o.day()]:u},lt.weekdaysMin=function(o){return o===!0?Yi(this._weekdaysMin,this._week.dow):o?this._weekdaysMin[o.day()]:this._weekdaysMin},lt.weekdaysShort=function(o){return o===!0?Yi(this._weekdaysShort,this._week.dow):o?this._weekdaysShort[o.day()]:this._weekdaysShort},lt.weekdaysParse=function(o,u,g){var b,T;if(this._weekdaysParseExact)return function(kt,R,Z){var tt,it,Dt,kt=kt.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],tt=0;tt<7;++tt)Dt=$t([2e3,1]).day(tt),this._minWeekdaysParse[tt]=this.weekdaysMin(Dt,"").toLocaleLowerCase(),this._shortWeekdaysParse[tt]=this.weekdaysShort(Dt,"").toLocaleLowerCase(),this._weekdaysParse[tt]=this.weekdays(Dt,"").toLocaleLowerCase();return Z?R==="dddd"?(it=ie.call(this._weekdaysParse,kt))!==-1?it:null:R==="ddd"?(it=ie.call(this._shortWeekdaysParse,kt))!==-1?it:null:(it=ie.call(this._minWeekdaysParse,kt))!==-1?it:null:R==="dddd"?(it=ie.call(this._weekdaysParse,kt))!==-1||(it=ie.call(this._shortWeekdaysParse,kt))!==-1||(it=ie.call(this._minWeekdaysParse,kt))!==-1?it:null:R==="ddd"?(it=ie.call(this._shortWeekdaysParse,kt))!==-1||(it=ie.call(this._weekdaysParse,kt))!==-1||(it=ie.call(this._minWeekdaysParse,kt))!==-1?it:null:(it=ie.call(this._minWeekdaysParse,kt))!==-1||(it=ie.call(this._weekdaysParse,kt))!==-1||(it=ie.call(this._shortWeekdaysParse,kt))!==-1?it:null}.call(this,o,u,g);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),b=0;b<7;b++)if(T=$t([2e3,1]).day(b),g&&!this._fullWeekdaysParse[b]&&(this._fullWeekdaysParse[b]=new RegExp("^"+this.weekdays(T,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[b]=new RegExp("^"+this.weekdaysShort(T,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[b]=new RegExp("^"+this.weekdaysMin(T,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[b]||(T="^"+this.weekdays(T,"")+"|^"+this.weekdaysShort(T,"")+"|^"+this.weekdaysMin(T,""),this._weekdaysParse[b]=new RegExp(T.replace(".",""),"i")),g&&u==="dddd"&&this._fullWeekdaysParse[b].test(o)||g&&u==="ddd"&&this._shortWeekdaysParse[b].test(o)||g&&u==="dd"&&this._minWeekdaysParse[b].test(o)||!g&&this._weekdaysParse[b].test(o))return b},lt.weekdaysRegex=function(o){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Ai.call(this),o?this._weekdaysStrictRegex:this._weekdaysRegex):(j(this,"_weekdaysRegex")||(this._weekdaysRegex=Ri),this._weekdaysStrictRegex&&o?this._weekdaysStrictRegex:this._weekdaysRegex)},lt.weekdaysShortRegex=function(o){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Ai.call(this),o?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(j(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ji),this._weekdaysShortStrictRegex&&o?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},lt.weekdaysMinRegex=function(o){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Ai.call(this),o?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(j(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Oi),this._weekdaysMinStrictRegex&&o?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},lt.isPM=function(o){return(o+"").toLowerCase().charAt(0)==="p"},lt.meridiem=function(o,u,g){return 11<o?g?"pm":"PM":g?"am":"AM"},qe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(o){var u=o%10;return o+(G(o%100/10)===1?"th":u==1?"st":u==2?"nd":u==3?"rd":"th")}}),N.lang=c("moment.lang is deprecated. Use moment.locale instead.",qe),N.langData=c("moment.langData is deprecated. Use moment.localeData instead.",Ue);var x=Math.abs;function C(o,u,g,b){return u=Re(u,g),o._milliseconds+=b*u._milliseconds,o._days+=b*u._days,o._months+=b*u._months,o._bubble()}function O(o){return o<0?Math.floor(o):Math.ceil(o)}function I(o){return 4800*o/146097}function H(o){return 146097*o/4800}function F(o){return function(){return this.as(o)}}h=F("ms"),f=F("s"),P=F("m"),w=F("h"),ge=F("d"),M=F("w"),D=F("M"),li=F("Q"),st=F("y"),oi=h;function B(o){return function(){return this.isValid()?this._data[o]:NaN}}var z=B("milliseconds"),$=B("seconds"),xt=B("minutes"),It=B("hours"),lt=B("days"),we=B("months"),ke=B("years"),Ce=Math.round,Ne={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gt(o,u,g,b){var it=Re(o).abs(),Dt=Ce(it.as("s")),T=Ce(it.as("m")),W=Ce(it.as("h")),R=Ce(it.as("d")),Z=Ce(it.as("M")),tt=Ce(it.as("w")),it=Ce(it.as("y")),Dt=(Dt<=g.ss?["s",Dt]:Dt<g.s&&["ss",Dt])||(T<=1?["m"]:T<g.m&&["mm",T])||(W<=1?["h"]:W<g.h&&["hh",W])||(R<=1?["d"]:R<g.d&&["dd",R]);return(Dt=(Dt=g.w!=null?Dt||(tt<=1?["w"]:tt<g.w&&["ww",tt]):Dt)||(Z<=1?["M"]:Z<g.M&&["MM",Z])||(it<=1?["y"]:["yy",it]))[2]=u,Dt[3]=0<+o,Dt[4]=b,function(kt,ft,jt,se,Zt){return Zt.relativeTime(ft||1,!!jt,kt,se)}.apply(null,Dt)}var Ve=Math.abs;function Bt(o){return(0<o)-(o<0)||+o}function he(){var o,u,g,b,T,W,R,Z,tt,it,Dt;return this.isValid()?(o=Ve(this._milliseconds)/1e3,u=Ve(this._days),g=Ve(this._months),(Z=this.asSeconds())?(b=Mt(o/60),T=
16Mt(b/60),o%=60,b%=60,W=Mt(g/12),g%=12,R=o?o.toFixed(3).replace(/\.?0+$/,""):"",tt=Bt(this._months)!==Bt(Z)?"-":"",it=Bt(this._days)!==Bt(Z)?"-":"",Dt=Bt(this._milliseconds)!==Bt(Z)?"-":"",(Z<0?"-":"")+"P"+(W?tt+W+"Y":"")+(g?tt+g+"M":"")+(u?it+u+"D":"")+(T||b||o?"T":"")+(T?Dt+T+"H":"")+(b?Dt+b+"M":"")+(o?Dt+R+"S":"")):"P0D"):this.localeData().invalidDate()}var qt=Xe.prototype;return qt.isValid=function(){return this._isValid},qt.abs=function(){var o=this._data;return this._milliseconds=x(this._milliseconds),this._days=x(this._days),this._months=x(this._months),o.milliseconds=x(o.milliseconds),o.seconds=x(o.seconds),o.minutes=x(o.minutes),o.hours=x(o.hours),o.months=x(o.months),o.years=x(o.years),this},qt.add=function(o,u){return C(this,o,u,1)},qt.subtract=function(o,u){return C(this,o,u,-1)},qt.as=function(o){if(!this.isValid())return NaN;var u,g,b=this._milliseconds;if((o=a(o))==="month"||o==="quarter"||o==="year")switch(u=this._days+b/864e5,g=this._months+I(u),o){case"month":return g;case"quarter":return g/3;case"year":return g/12}else switch(u=this._days+Math.round(H(this._months)),o){case"week":return u/7+b/6048e5;case"day":return u+b/864e5;case"hour":return 24*u+b/36e5;case"minute":return 1440*u+b/6e4;case"second":return 86400*u+b/1e3;case"millisecond":return Math.floor(864e5*u)+b;default:throw new Error("Unknown unit "+o)}},qt.asMilliseconds=h,qt.asSeconds=f,qt.asMinutes=P,qt.asHours=w,qt.asDays=ge,qt.asWeeks=M,qt.asMonths=D,qt.asQuarters=li,qt.asYears=st,qt.valueOf=oi,qt._bubble=function(){var o=this._milliseconds,u=this._days,g=this._months,b=this._data;return 0<=o&&0<=u&&0<=g||o<=0&&u<=0&&g<=0||(o+=864e5*O(H(g)+u),g=u=0),b.milliseconds=o%1e3,o=Mt(o/1e3),b.seconds=o%60,o=Mt(o/60),b.minutes=o%60,o=Mt(o/60),b.hours=o%24,u+=Mt(o/24),g+=o=Mt(I(u)),u-=O(H(o)),o=Mt(g/12),g%=12,b.days=u,b.months=g,b.years=o,this},qt.clone=function(){return Re(this)},qt.get=function(o){return o=a(o),this.isValid()?this[o+"s"]():NaN},qt.milliseconds=z,qt.seconds=$,qt.minutes=xt,qt.hours=It,qt.days=lt,qt.weeks=function(){return Mt(this.days()/7)},qt.months=we,qt.years=ke,qt.humanize=function(o,u){var g,b;return this.isValid()?(g=!1,b=Ne,typeof o=="object"&&(u=o,o=!1),typeof o=="boolean"&&(g=o),typeof u=="object"&&(b=Object.assign({},Ne,u),u.s!=null)&&u.ss==null&&(b.ss=u.s-1),o=this.localeData(),u=Gt(this,!g,b,o),g&&(u=o.pastFuture(+this,u)),o.postformat(u)):this.localeData().invalidDate()},qt.toISOString=he,qt.toString=he,qt.toJSON=he,qt.locale=Wi,qt.localeData=en,qt.toIsoString=c("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",he),qt.lang=_i,t("X",0,0,"unix"),t("x",0,0,"valueOf"),X("x",V),X("X",/[+-]?\d+(\.\d{1,3})?/),gt("X",function(o,u,g){g._d=new Date(1e3*parseFloat(o))}),gt("x",function(o,u,g){g._d=new Date(G(o))}),N.version="2.30.1",i=ne,N.fn=E,N.min=function(){return Hi("isBefore",[].slice.call(arguments,0))},N.max=function(){return Hi("isAfter",[].slice.call(arguments,0))},N.now=function(){return Date.now?Date.now():+new Date},N.utc=$t,N.unix=function(o){return ne(1e3*o)},N.months=function(o,u){return m(o,u,"months")},N.isDate=Ot,N.locale=qe,N.invalid=_t,N.duration=Re,N.isMoment=Ht,N.weekdays=function(o,u,g){return y(o,u,g,"weekdays")},N.parseZone=function(){return ne.apply(null,arguments).parseZone()},N.localeData=Ue,N.isDuration=Ci,N.monthsShort=function(o,u){return m(o,u,"monthsShort")},N.weekdaysMin=function(o,u,g){return y(o,u,g,"weekdaysMin")},N.defineLocale=bi,N.updateLocale=function(o,u){var g,b;return u!=null?(b=qi,le[o]!=null&&le[o].parentLocale!=null?le[o].set(et(le[o]._config,u)):(u=et(b=(g=yi(o))!=null?g._config:b,u),g==null&&(u.abbr=o),(b=new Ct(u)).parentLocale=le[o],le[o]=b),qe(o)):le[o]!=null&&(le[o].parentLocale!=null?(le[o]=le[o].parentLocale,o===qe()&&qe(o)):le[o]!=null&&delete le[o]),le[o]},N.locales=function(){return ut(le)},N.weekdaysShort=function(o,u,g){return y(o,u,g,"weekdaysShort")},N.normalizeUnits=a,N.relativeTimeRounding=function(o){return o===void 0?Ce:typeof o=="function"&&(Ce=o,!0)},N.relativeTimeThreshold=function(o,u){return Ne[o]!==void 0&&(u===void 0?Ne[o]:(Ne[o]=u,o==="s"&&(Ne.ss=u-1),!0))},N.calendarFormat=function(o,u){return(o=o.diff(u,"days",!0))<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse"},N.prototype=E,N.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},N}),(function(i){typeof define=="function"&&define.amd?define(["jquery"],i):i(typeof exports=="object"?require("jquery"):window.jQuery||window.Zepto)})(function(i){function N(){}function J(h,f){v.ev.on(dt+h+et,f)}function K(h,f,w,k){var D=document.createElement("div");return D.className="mfp-"+h,w&&(D.innerHTML=w),k?f&&f.appendChild(D):(D=i(D),f&&D.appendTo(f)),D}function j(h,f){v.ev.triggerHandler(dt+h,f),v.st.callbacks&&(h=h.charAt(0).toLowerCase()+h.slice(1),v.st.callbacks[h])&&v.st.callbacks[h].apply(v,Array.isArray(f)?f:[f])}function at(h){return h===St&&v.currTemplate.closeBtn||(v.currTemplate.closeBtn=i(v.st.closeMarkup.replace("%title%",v.st.tClose)),St=h),v.currTemplate.closeBtn}function pt(){i.magnificPopup.instance||((v=new N).init(),i.magnificPopup.instance=v)}function Wt(){Kt&&(ve.after(Kt.addClass(mt)).detach(),Kt=null)}function Ot(){Nt&&i(document.body).removeClass(Nt)}function Ft(){Ot(),v.req&&v.req.abort()}var v,$t,ht,rt,_t,St,mt,ve,Kt,Nt,Ht="Close",Qt="BeforeClose",c="MarkupParse",ot="Open",ct="Change",dt="mfp",et="."+dt,Ct="mfp-ready",ut="mfp-removing",vt="mfp-prevent-close",te=!!window.jQuery,Xt=i(window),Vt=(i.magnificPopup={instance:null,proto:N.prototype={constructor:N,init:function(){var h=navigator.appVersion;v.isLowIE=v.isIE8=document.all&&!document.addEventListener,v.isAndroid=/android/gi.test(h),v.isIOS=/iphone|ipad|ipod/gi.test(h),v.supportsTransition=(function(){var f=document.createElement("p").style,w=["ms","O","Moz","Webkit"];if(f.transition!==void 0)return!0;for(;w.length;)if(w.pop()+"Transition"in f)return!0;return!1})(),v.probablyMobile=v.isAndroid||v.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),ht=i(document),v.popupsCache={}},open:function(h){if(h.isObj===!1){v.items=h.items.toArray(),v.index=0;for(var f,w=h.items,k=0;k<w.length;k++)if((f=(f=w[k]).parsed?f.el[0]:f)===h.el[0]){v.index=k;break}}else v.items=Array.isArray(h.items)?h.items:[h.items],v.index=h.index||0;if(!v.isOpen){v.types=[],_t="",h.mainEl&&h.mainEl.length?v.ev=h.mainEl.eq(0):v.ev=ht,h.key?(v.popupsCache[h.key]||(v.popupsCache[h.key]={}),v.currTemplate=v.popupsCache[h.key]):v.currTemplate={},v.st=i.extend(!0,{},i.magnificPopup.defaults,h),v.fixedContentPos=v.st.fixedContentPos==="auto"?!v.probablyMobile:v.st.fixedContentPos,v.st.modal&&(v.st.closeOnContentClick=!1,v.st.closeOnBgClick=!1,v.st.showCloseBtn=!1,v.st.enableEscapeKey=!1),v.bgOverlay||(v.bgOverlay=K("bg").on("click"+et,function(){v.close()}),v.wrap=K("wrap").attr("tabindex",-1).on("click"+et,function(q){v._checkIfClose(q.target)&&v.close()}),v.container=K("container",v.wrap)),v.contentContainer=K("content"),v.st.preloader&&(v.preloader=K("preloader",v.container,v.st.tLoading));var D=i.magnificPopup.modules;for(k=0;k<D.length;k++){var M=(M=D[k]).charAt(0).toUpperCase()+M.slice(1);v["init"+M].call(v)}j("BeforeOpen"),v.st.showCloseBtn&&(v.st.closeBtnInside?(J(c,function(q,nt,st,E){st.close_replaceWith=at(E.type)}),_t+=" mfp-close-btn-in"):v.wrap.append(at())),v.st.alignTop&&(_t+=" mfp-align-top"),v.fixedContentPos?v.wrap.css({overflow:v.st.overflowY,overflowX:"hidden",overflowY:v.st.overflowY}):v.wrap.css({top:Xt.scrollTop(),position:"absolute"}),v.st.fixedBgPos!==!1&&(v.st.fixedBgPos!=="auto"||v.fixedContentPos)||v.bgOverlay.css({height:ht.height(),position:"absolute"}),v.st.enableEscapeKey&&ht.on("keyup"+et,function(q){q.keyCode===27&&v.close()}),Xt.on("resize"+et,function(){v.updateSize()}),v.st.closeOnContentClick||(_t+=" mfp-auto-cursor"),_t&&v.wrap.addClass(_t);var P=v.wH=Xt.height(),L={}
vendor: 13,686 bytes, line 16
16,V=(v.fixedContentPos&&v._hasScrollBar(P)&&(V=v._getScrollbarSize())&&(L.marginRight=V),v.fixedContentPos&&(v.isIE7?i("body, html").css("overflow","hidden"):L.overflow="hidden"),v.st.mainClass);return v.isIE7&&(V+=" mfp-ie7"),V&&v._addClassToMFP(V),v.updateItemHTML(),j("BuildControls"),i("html").css(L),v.bgOverlay.add(v.wrap).prependTo(v.st.prependTo||i(document.body)),v._lastFocusedEl=document.activeElement,setTimeout(function(){v.content?(v._addClassToMFP(Ct),v._setFocus()):v.bgOverlay.addClass(Ct),ht.on("focusin"+et,v._onFocusIn)},16),v.isOpen=!0,v.updateSize(P),j(ot),h}v.updateItemHTML()},close:function(){v.isOpen&&(j(Qt),v.isOpen=!1,v.st.removalDelay&&!v.isLowIE&&v.supportsTransition?(v._addClassToMFP(ut),setTimeout(function(){v._close()},v.st.removalDelay)):v._close())},_close:function(){j(Ht);var h=ut+" "+Ct+" ";v.bgOverlay.detach(),v.wrap.detach(),v.container.empty(),v.st.mainClass&&(h+=v.st.mainClass+" "),v._removeClassFromMFP(h),v.fixedContentPos&&(h={marginRight:""},v.isIE7?i("body, html").css("overflow",""):h.overflow="",i("html").css(h)),ht.off("keyup.mfp focusin"+et),v.ev.off(et),v.wrap.attr("class","mfp-wrap").removeAttr("style"),v.bgOverlay.attr("class","mfp-bg"),v.container.attr("class","mfp-container"),!v.st.showCloseBtn||v.st.closeBtnInside&&v.currTemplate[v.currItem.type]!==!0||v.currTemplate.closeBtn&&v.currTemplate.closeBtn.detach(),v.st.autoFocusLast&&v._lastFocusedEl&&i(v._lastFocusedEl).trigger("focus"),v.currItem=null,v.content=null,v.currTemplate=null,v.prevHeight=0,j("AfterClose")},updateSize:function(h){var f;v.isIOS?(f=document.documentElement.clientWidth/window.innerWidth,f=window.innerHeight*f,v.wrap.css("height",f),v.wH=f):v.wH=h||Xt.height(),v.fixedContentPos||v.wrap.css("height",v.wH),j("Resize")},updateItemHTML:function(){var h=v.items[v.index],f=(v.contentContainer.detach(),v.content&&v.content.detach(),(h=h.parsed?h:v.parseEl(v.index)).type),w=(j("BeforeChange",[v.currItem?v.currItem.type:"",f]),v.currItem=h,v.currTemplate[f]||(w=!!v.st[f]&&v.st[f].markup,j("FirstMarkupParse",w),v.currTemplate[f]=!w||i(w)),rt&&rt!==h.type&&v.container.removeClass("mfp-"+rt+"-holder"),v["get"+f.charAt(0).toUpperCase()+f.slice(1)](h,v.currTemplate[f]));v.appendContent(w,f),h.preloaded=!0,j(ct,h),rt=h.type,v.container.prepend(v.contentContainer),j("AfterChange")},appendContent:function(h,f){(v.content=h)?v.st.showCloseBtn&&v.st.closeBtnInside&&v.currTemplate[f]===!0?v.content.find(".mfp-close").length||v.content.append(at()):v.content=h:v.content="",j("BeforeAppend"),v.container.addClass("mfp-"+f+"-holder"),v.contentContainer.append(v.content)},parseEl:function(h){var f,w=v.items[h];if((w=w.tagName?{el:i(w)}:(f=w.type,{data:w,src:w.src})).el){for(var k=v.types,D=0;D<k.length;D++)if(w.el.hasClass("mfp-"+k[D])){f=k[D];break}w.src=w.el.attr("data-mfp-src"),w.src||(w.src=w.el.attr("href"))}return w.type=f||v.st.type||"inline",w.index=h,w.parsed=!0,v.items[h]=w,j("ElementParse",w),v.items[h]},addGroup:function(h,f){function w(D){D.mfpEl=this,v._openClick(D,h,f)}var k="click.magnificPopup";(f=f||{}).mainEl=h,f.items?(f.isObj=!0,h.off(k).on(k,w)):(f.isObj=!1,f.delegate?h.off(k).on(k,f.delegate,w):(f.items=h).off(k).on(k,w))},_openClick:function(h,f,w){var k=(w.midClick!==void 0?w:i.magnificPopup.defaults).midClick;if(k||!(h.which===2||h.ctrlKey||h.metaKey||h.altKey||h.shiftKey)){if(k=(w.disableOn!==void 0?w:i.magnificPopup.defaults).disableOn,k){if(typeof k=="function"){if(!k.call(v))return!0}else if(Xt.width()<k)return!0}h.type&&(h.preventDefault(),v.isOpen)&&h.stopPropagation(),w.el=i(h.mfpEl),w.delegate&&(w.items=f.find(w.delegate)),v.open(w)}},updateStatus:function(h,f){var w;v.preloader&&($t!==h&&v.container.removeClass("mfp-s-"+$t),w={status:h,text:f=f||h!=="loading"?f:v.st.tLoading},j("UpdateStatus",w),h=w.status,f=w.text,v.st.allowHTMLInStatusIndicator?v.preloader.html(f):v.preloader.text(f),v.preloader.find("a").on("click",function(k){k.stopImmediatePropagation()}),v.container.addClass("mfp-s-"+h),$t=h)},_checkIfClose:function(h){if(!i(h).closest("."+vt).length){var f=v.st.closeOnContentClick,w=v.st.closeOnBgClick;if(f&&w||!v.content||i(h).closest(".mfp-close").length||v.preloader&&h===v.preloader[0])return!0;if(h===v.content[0]||i.contains(v.content[0],h)){if(f)return!0}else if(w&&i.contains(document,h))return!0;return!1}},_addClassToMFP:function(h){v.bgOverlay.addClass(h),v.wrap.addClass(h)},_removeClassFromMFP:function(h){this.bgOverlay.removeClass(h),v.wrap.removeClass(h)},_hasScrollBar:function(h){return(v.isIE7?ht.height():document.body.scrollHeight)>(h||Xt.height())},_setFocus:function(){(v.st.focus?v.content.find(v.st.focus).eq(0):v.wrap).trigger("focus")},_onFocusIn:function(h){if(h.target!==v.wrap[0]&&!i.contains(v.wrap[0],h.target))return v._setFocus(),!1},_parseMarkup:function(h,f,w){var k;w.data&&(f=i.extend(w.data,f)),j(c,[h,f,w]),i.each(f,function(D,M){if(M===void 0||M===!1)return!0;var P,L;1<(k=D.split("_")).length?0<(P=h.find(et+"-"+k[0])).length&&((L=k[1])==="replaceWith"?P[0]!==M[0]&&P.replaceWith(M):L==="img"?P.is("img")?P.attr("src",M):P.replaceWith(i("<img>").attr("src",M).attr("class",P.attr("class"))):P.attr(k[1],M)):v.st.allowHTMLInTemplate?h.find(et+"-"+D).html(M):h.find(et+"-"+D).text(M)})},_getScrollbarSize:function(){var h;return v.scrollbarSize===void 0&&((h=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(h),v.scrollbarSize=h.offsetWidth-h.clientWidth,document.body.removeChild(h)),v.scrollbarSize}},modules:[],open:function(h,f){return pt(),(h=h?i.extend(!0,{},h):{}).isObj=!0,h.index=f||0,this.instance.open(h)},close:function(){return i.magnificPopup.instance&&i.magnificPopup.instance.close()},registerModule:function(h,f){f.options&&(i.magnificPopup.defaults[h]=f.options),i.extend(this.proto,f.proto),this.modules.push(h)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,allowHTMLInStatusIndicator:!1,allowHTMLInTemplate:!1}},i.fn.magnificPopup=function(h){pt();var f,w,k,D=i(this);return typeof h=="string"?h==="open"?(f=te?D.data("magnificPopup"):D[0].magnificPopup,w=parseInt(arguments[1],10)||0,k=f.items?f.items[w]:(k=D,(k=f.delegate?k.find(f.delegate):k).eq(w)),v._openClick({mfpEl:k},D,f)):v.isOpen&&v[h].apply(v,Array.prototype.slice.call(arguments,1)):(h=i.extend(!0,{},h),te?D.data("magnificPopup",h):D[0].magnificPopup=h,v.addGroup(D,h)),D},"inline"),Ut=(i.magnificPopup.registerModule(Vt,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){v.types.push(Vt),J(Ht+"."+Vt,function(){Wt()})},getInline:function(h,f){var w,k,D;return Wt(),h.src?(w=v.st.inline,(k=i(h.src)).length?((D=k[0].parentNode)&&D.tagName&&(ve||(mt=w.hiddenClass,ve=K(mt),mt="mfp-"+mt),Kt=k.after(ve).detach().removeClass(mt)),v.updateStatus("ready")):(v.updateStatus("error",w.tNotFound),k=i("<div>")),h.inlineElement=k):(v.updateStatus("ready"),v._parseMarkup(f,{},h),f)}}}),"ajax");i.magnificPopup.registerModule(Ut,{options:{settings:null,cursor:"mfp-ajax-cur",tError:"The content could not be loaded."},proto:{initAjax:function(){v.types.push(Ut),Nt=v.st.ajax.cursor,J(Ht+"."+Ut,Ft),J("BeforeChange."+Ut,Ft)},getAjax:function(h){Nt&&i(document.body).addClass(Nt),v.updateStatus("loading");var f=i.extend({url:h.src,success:function(w,k,D){w={data:w,xhr:D},j("ParseAjax",w),v.appendContent(i(w.data),Ut),h.finished=!0,Ot(),v._setFocus(),setTimeout(function(){v.wrap.addClass(Ct)},16),v.updateStatus("ready"),j("AjaxContentAdded")},error:function(){Ot(),h.finished=h.loadError=!0,v.updateStatus("error",v.st.ajax.tError.replace("%url%",h.src))}},v.st.ajax.settings);return v.req=i.ajax(f),""}}});var t;i.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:"The image could not be loaded."},proto:{initImage:function(){var h=v.st.image,f=".image";v.types.push("image"),J(ot+f,function(){v.currItem.type==="image"&&h.cursor&&i(document.body).addClass(h.cursor)}),J(Ht+f,function(){h.cursor&&i(document.body).removeClass(h.cursor),Xt.off("resize"+et)}),J("Resize"+f,v.resizeImage),v.isLowIE&&J("AfterChange",v.resizeImage)},resizeImage:function(){var h,f=v.currItem;f&&f.img&&v.st.image.verticalFit&&(h=0,v.isLowIE&&(h=parseInt(f.img.css("padding-top"),10)+parseInt(f.img.css("padding-bottom"),10)),f.img.css("max-height",v.wH-h))},_onImageHasSize:function(h){h.img&&(h.hasSize=!0,t&&clearInterval(t),h.isCheckingImgSize=!1,j("ImageHasSize",h),h.imgHidden)&&(v.content&&v.content.removeClass("mfp-loading"),h.imgHidden=!1)},findImageSize:function(h){function f(D){t&&clearInterval(t),t=setInterval(function(){0<k.naturalWidth?v._onImageHasSize(h):(200<w&&clearInterval(t),++w===3?f(10):w===40?f(50):w===100&&f(500))},D)}var w=0,k=h.img[0];f(1)},getImage:function(h,f){function w(){h&&(h.img.off(".mfploader"),h===v.currItem&&(v._onImageHasSize(h),v.updateStatus("error",P.tError.replace("%url%",h.src))),h.hasSize=!0,h.loaded=!0,h.loadError=!0)}function k(){h&&(h.img[0].complete?(h.img.off(".mfploader"),h===v.currItem&&(v._onImageHasSize(h),v.updateStatus("ready")),h.hasSize=!0,h.loaded=!0,j("ImageLoadComplete")):++M<200?setTimeout(k,100):w())}var D,M=0,P=v.st.image,L=f.find(".mfp-img");return L.length&&((D=document.createElement("img")).className="mfp-img",h.el&&h.el.find("img").length&&(D.alt=h.el.find("img").attr("alt")),h.img=i(D).on("load.mfploader",k).on("error.mfploader",w),D.src=h.src,L.is("img")&&(h.img=h.img.clone()),0<(D=h.img[0]).naturalWidth?h.hasSize=!0:D.width||(h.hasSize=!1)),v._parseMarkup(f,{title:(function(V){if(V.data&&V.data.title!==void 0)return V.data.title;var q=v.st.image.titleSrc;if(q){if(typeof q=="function")return q.call(v,V);if(V.el)return V.el.attr(q)||""}return""})(h),img_replaceWith:h.img},h),v.resizeImage(),h.hasSize?(t&&clearInterval(t),h.loadError?(f.addClass("mfp-loading"),v.updateStatus("error",P.tError.replace("%url%",h.src))):(f.removeClass("mfp-loading"),v.updateStatus("ready"))):(v.updateStatus("loading"),h.loading=!0,h.hasSize||(h.imgHidden=!0,f.addClass("mfp-loading"),v.findImageSize(h))),f}}});function e(h){var f;v.currTemplate[d]&&(f=v.currTemplate[d].find("iframe")).length&&(h||(f[0].src="//about:blank"),v.isIE8)&&f.css("display",h?"block":"none")}function n(h){var f=v.items.length;return f-1<h?h-f:h<0?f+h:h}function r(h,f,w){return h.replace(/%curr%/gi,f+1).replace(/%total%/gi,w)}i.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(h){return h.is("img")?h:h.find("img")}},proto:{initZoom:function(){var h,f,w,k,D,M,P=v.st.zoom,L=".zoom";P.enabled&&v.supportsTransition&&(f=P.duration,w=function(q){var q=q.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),nt="all "+P.duration/1e3+"s "+P.easing,st={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},E="transition";return st["-webkit-"+E]=st["-moz-"+E]=st["-o-"+E]=st[E]=nt,q.css(st),q},k=function(){v.content.css("visibility","visible")},J("BuildControls"+L,function(){v._allowZoom()&&(clearTimeout(D),v.content.css("visibility","hidden"),(h=v._getItemToZoom())?((M=w(h)).css(v._getOffset()),v.wrap.append(M),D=setTimeout(function(){M.css(v._getOffset(!0)),D=setTimeout(function(){k(),setTimeout(function(){M.remove(),h=M=null,j("ZoomAnimationEnded")},16)},f)},16)):k())}),J(Qt+L,function(){if(v._allowZoom()){if(clearTimeout(D),v.st.removalDelay=f,!h){if(!(h=v._getItemToZoom()))return;M=w(h)}M.css(v._getOffset(!0)),v.wrap.append(M),v.content.css("visibility","hidden"),setTimeout(function(){M.css(v._getOffset())},16)}}),J(Ht+L,function(){v._allowZoom()&&(k(),M&&M.remove(),h=null)}))},_allowZoom:function(){return v.currItem.type==="image"},_getItemToZoom:function(){return!!v.currItem.hasSize&&v.currItem.img},_getOffset:function(D){var D=D?v.currItem.img:v.st.zoom.opener(v.currItem.el||v.currItem),f=D.offset(),w=parseInt(D.css("padding-top"),10),k=parseInt(D.css("padding-bottom"),10),D=(f.top-=i(window).scrollTop()-w,{width:D.width(),height:(te?D.innerHeight():D[0].offsetHeight)-k-w});return(a=a===void 0?document.createElement("p").style.MozTransform!==void 0:a)?D["-moz-transform"]=D.transform="translate("+f.left+"px,"+f.top+"px)":(D.left=f.left,D.top=f.top),D}}});var a,d="iframe",_=(i.magnificPopup.registerModule(d,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){v.types.push(d),J("BeforeChange",function(h,f,w){f!==w&&(f===d?e():w===d&&e(!0))}),J(Ht+"."+d,function(){e()})},getIframe:function(h,f){var w=h.src,k=v.st.iframe,D=(i.each(k.patterns,function(){if(-1<w.indexOf(this.index))return this.id&&(w=typeof this.id=="string"?w.substr(w.lastIndexOf(this.id
16)+this.id.length,w.length):this.id.call(this,w)),w=this.src.replace("%id%",w),!1}),{});return k.srcAction&&(D[k.srcAction]=w),v._parseMarkup(f,D,h),v.updateStatus("ready"),f}}}),i.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%",langDir:null,loop:!0},proto:{initGallery:function(){var h=v.st.gallery,f=".mfp-gallery";if(v.direction=!0,!h||!h.enabled)return!1;h.langDir||(h.langDir=document.dir||"ltr"),_t+=" mfp-gallery",J(ot+f,function(){h.navigateByImgClick&&v.wrap.on("click"+f,".mfp-img",function(){if(1<v.items.length)return v.next(),!1}),ht.on("keydown"+f,function(w){w.keyCode===37?h.langDir==="rtl"?v.next():v.prev():w.keyCode===39&&(h.langDir==="rtl"?v.prev():v.next())}),v.updateGalleryButtons()}),J("UpdateStatus"+f,function(){v.updateGalleryButtons()}),J("UpdateStatus"+f,function(w,k){k.text&&(k.text=r(k.text,v.currItem.index,v.items.length))}),J(c+f,function(w,k,D,M){var P=v.items.length;D.counter=1<P?r(h.tCounter,M.index,P):""}),J("BuildControls"+f,function(){var w,k,D,M,P;1<v.items.length&&h.arrows&&!v.arrowLeft&&(k=h.langDir==="rtl"?(M=h.tNext,w=h.tPrev,P="next","prev"):(M=h.tPrev,w=h.tNext,P="prev","next"),D=h.arrowMarkup,M=v.arrowLeft=i(D.replace(/%title%/gi,M).replace(/%action%/gi,P).replace(/%dir%/gi,"left")).addClass(vt),P=v.arrowRight=i(D.replace(/%title%/gi,w).replace(/%action%/gi,k).replace(/%dir%/gi,"right")).addClass(vt),h.langDir==="rtl"?(v.arrowNext=M,v.arrowPrev=P):(v.arrowNext=P,v.arrowPrev=M),M.on("click",function(){h.langDir==="rtl"?v.next():v.prev()}),P.on("click",function(){h.langDir==="rtl"?v.prev():v.next()}),v.container.append(M.add(P)))}),J(ct+f,function(){v._preloadTimeout&&clearTimeout(v._preloadTimeout),v._preloadTimeout=setTimeout(function(){v.preloadNearbyImages(),v._preloadTimeout=null},16)}),J(Ht+f,function(){ht.off(f),v.wrap.off("click"+f),v.arrowRight=v.arrowLeft=null})},next:function(){var h=n(v.index+1);if(!v.st.gallery.loop&&h===0)return!1;v.direction=!0,v.index=h,v.updateItemHTML()},prev:function(){var h=v.index-1;if(!v.st.gallery.loop&&h<0)return!1;v.direction=!1,v.index=n(h),v.updateItemHTML()},goTo:function(h){v.direction=h>=v.index,v.index=h,v.updateItemHTML()},preloadNearbyImages:function(){for(var h=v.st.gallery.preload,f=Math.min(h[0],v.items.length),w=Math.min(h[1],v.items.length),k=1;k<=(v.direction?w:f);k++)v._preloadItem(v.index+k);for(k=1;k<=(v.direction?f:w);k++)v._preloadItem(v.index-k)},_preloadItem:function(h){var f;h=n(h),v.items[h].preloaded||((f=v.items[h]).parsed||(f=v.parseEl(h)),j("LazyLoad",f),f.type==="image"&&(f.img=i('<img class="mfp-img" />').on("load.mfploader",function(){f.hasSize=!0}).on("error.mfploader",function(){f.hasSize=!0,f.loadError=!0,j("LazyLoadError",f)}).attr("src",f.src)),f.preloaded=!0)},updateGalleryButtons:function(){v.st.gallery.loop||typeof v.arrowPrev!="object"||v.arrowPrev===null||(v.index===0?v.arrowPrev.hide():v.arrowPrev.show(),v.index===v.items.length-1?v.arrowNext.hide():v.arrowNext.show())}}}),"retina");i.magnificPopup.registerModule(_,{options:{replaceSrc:function(h){return h.src.replace(/\.\w+$/,function(f){return"@2x"+f})},ratio:1},proto:{initRetina:function(){var h,f;1<window.devicePixelRatio&&(h=v.st.retina,f=h.ratio,1<(f=isNaN(f)?f():f))&&(J("ImageHasSize."+_,function(w,k){k.img.css({"max-width":k.img[0].naturalWidth/f,width:"100%"})}),J("ElementParse."+_,function(w,k){k.src=h.replaceSrc(k,f)}))}}}),pt()});/*! jQuery UI - v1.14.2 - 2026-01-28
17* https://jqueryui.com
18* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
19* Copyright OpenJS Foundation and other contributors; Licensed MIT */(function(i){"use strict";typeof define=="function"&&define.amd?define(["jquery"],i):i(jQuery)})(function(i){"use strict";i.ui=i.ui||{},i.ui.version="1.14.2";var N,J,K,et,j,at=0,pt=Array.prototype.hasOwnProperty,Wt=Array.prototype.slice;Ot=i.cleanData,i.cleanData=function(t){var e,n,r;for(r=0;(n=t[r])!=null;r++)(e=i._data(n,"events"))&&e.remove&&i(n).triggerHandler("remove");Ot(t)},i.widget=function(t,e,n){var r,a,d,_={},h=t.split(".")[0];if((t=t.split(".")[1])==="__proto__"||t==="constructor")return i.error("Invalid widget name: "+t);var f=h+"-"+t;return n||(n=e,e=i.Widget),Array.isArray(n)&&(n=i.extend.apply(null,[{}].concat(n))),i.expr.pseudos[f.toLowerCase()]=function(w){return!!i.data(w,f)},i[h]=i[h]||{},r=i[h][t],a=i[h][t]=function(w,k){if(!this||!this._createWidget)return new a(w,k
vendor: 7,932 bytes, line 19
19);arguments.length&&this._createWidget(w,k)},i.extend(a,r,{version:n.version,_proto:i.extend({},n),_childConstructors:[]}),(d=new e).options=i.widget.extend({},d.options),i.each(n,function(w,k){if(typeof k!="function"){_[w]=k;return}_[w]=(function(){function D(){return e.prototype[w].apply(this,arguments)}function M(P){return e.prototype[w].apply(this,P)}return function(){var P,L=this._super,V=this._superApply;return this._super=D,this._superApply=M,P=k.apply(this,arguments),this._super=L,this._superApply=V,P}})()}),a.prototype=i.widget.extend(d,{widgetEventPrefix:r&&d.widgetEventPrefix||t},_,{constructor:a,namespace:h,widgetName:t,widgetFullName:f}),r?(i.each(r._childConstructors,function(w,k){var D=k.prototype;i.widget(D.namespace+"."+D.widgetName,a,k._proto)}),delete r._childConstructors):e._childConstructors.push(a),i.widget.bridge(t,a),a},i.widget.extend=function(t){for(var e,n,r=Wt.call(arguments,1),a=0,d=r.length;a<d;a++)for(e in r[a])n=r[a][e],pt.call(r[a],e)&&n!==void 0&&(i.isPlainObject(n)?t[e]=i.isPlainObject(t[e])?i.widget.extend({},t[e],n):i.widget.extend({},n):t[e]=n);return t},i.widget.bridge=function(t,e){var n=e.prototype.widgetFullName||t;i.fn[t]=function(r){var a=typeof r=="string",d=Wt.call(arguments,1),_=this;return a?this.length||r!=="instance"?this.each(function(){var h,f=i.data(this,n);return r==="instance"?(_=f,!1):f?typeof f[r]!="function"||r.charAt(0)==="_"?i.error("no such method '"+r+"' for "+t+" widget instance"):(h=f[r].apply(f,d))!==f&&h!==void 0?(_=h&&h.jquery?_.pushStack(h.get()):h,!1):void 0:i.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")}):_=void 0:(d.length&&(r=i.widget.extend.apply(null,[r].concat(d))),this.each(function(){var h=i.data(this,n);h?(h.option(r||{}),h._init&&h._init()):i.data(this,n,new e(r,this))})),_}},i.Widget=function(){},i.Widget._childConstructors=[],i.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=i(e||this.defaultElement||this)[0],this.element=i(e),this.uuid=at++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=i(),this.hoverable=i(),this.focusable=i(),this.classesElementLookup={},e!==this&&(i.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===e&&this.destroy()}}),this.document=i(e.style?e.ownerDocument:e.document||e),this.window=i(this.document[0].defaultView||this.document[0].parentWindow)),this.options=i.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:i.noop,_create:i.noop,_init:i.noop,destroy:function(){var t=this;this._destroy(),i.each(this.classesElementLookup,function(e,n){t._removeClass(n,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:i.noop,widget:function(){return this.element},option:function(t,e){var n,r,a,d=t;if(arguments.length==0)return i.widget.extend({},this.options);if(typeof t=="string")if(d={},t=(n=t.split(".")).shift(),n.length){for(a=0,r=d[t]=i.widget.extend({},this.options[t]);a<n.length-1;a++)r[n[a]]=r[n[a]]||{},r=r[n[a]];if(t=n.pop(),arguments.length==1)return r[t]===void 0?null:r[t];r[t]=e}else{if(arguments.length==1)return this.options[t]===void 0?null:this.options[t];d[t]=e}return this._setOptions(d),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return t==="classes"&&this._setOptionClasses(e),this.options[t]=e,t==="disabled"&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,n,r;for(e in t)r=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&r&&r.length&&(n=i(r.get()),this._removeClass(r,e),n.addClass(this._classes({element:n,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var e=[],n=this;function r(a,d){var _,h;for(h=0;h<a.length;h++)_=n.classesElementLookup[a[h]]||i(),t.add?((function(){var f=[];t.element.each(function(w,k){i.map(n.classesElementLookup,function(D){return D}).some(function(D){return D.is(k)})||f.push(k)}),n._on(i(f),{remove:"_untrackClassesElement"})})(),_=i(i.uniqueSort(_.get().concat(t.element.get())))):_=i(_.not(t.element).get()),n.classesElementLookup[a[h]]=_,e.push(a[h]),d&&t.classes[a[h]]&&e.push(t.classes[a[h]])}return(t=i.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&r(t.keys.match(/\S+/g)||[],!0),t.extra&&r(t.extra.match(/\S+/g)||[]),e.join(" ")},_untrackClassesElement:function(t){var e=this;i.each(e.classesElementLookup,function(n,r){i.inArray(t.target,r)!==-1&&(e.classesElementLookup[n]=i(r.not(t.target).get()))}),this._off(i(t.target))},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,r){r=typeof r=="boolean"?r:n;var a=typeof t=="string"||t===null,d={extra:a?e:n,keys:a?t:e,element:a?this.element:t,add:r};return d.element.toggleClass(this._classes(d),r),this},_on:function(t,e,n){var r,a=this;typeof t!="boolean"&&(n=e,e=t,t=!1),n?(e=r=i(e),this.bindings=this.bindings.add(e)):(n=e,e=this.element,r=this.widget()),i.each(n,function(d,_){function h(){if(!(!t&&(a.options.disabled===!0||i(this).hasClass("ui-state-disabled"))))return(typeof _=="string"?a[_]:_).apply(a,arguments)}typeof _!="string"&&(h.guid=_.guid=_.guid||h.guid||i.guid++);var f=d.match(/^([\w:-]*)\s*(.*)$/),w=f[1]+a.eventNamespace,k=f[2];k?r.on(w,k,h):e.on(w,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=i(this.bindings.not(t).get()),this.focusable=i(this.focusable.not(t).get()),this.hoverable=i(this.hoverable.not(t).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return(typeof t=="string"?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(e){this._addClass(i(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(i(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(e){this._addClass(i(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(i(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,n){var r,a,d=this.options[t];if(n=n||{},(e=i.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],a=e.originalEvent)for(r in a)r in e||(e[r]=a[r]);return this.element.trigger(e,n),!(typeof d=="function"&&d.apply(this.element[0],[e].concat(n))===!1||e.isDefaultPrevented())}},i.each({show:"fadeIn",hide:"fadeOut"},function(t,e){i.Widget.prototype["_"+t]=function(n,r,a){typeof r=="string"&&(r={effect:r});var d,_=r?r===!0||typeof r=="number"?e:r.effect||e:t;typeof(r=r||{})=="number"?r={duration:r}:r===!0&&(r={}),d=!i.isEmptyObject(r),r.complete=a,r.delay&&n.delay(r.delay),d&&i.effects&&i.effects.effect[_]?n[t](r):_!==t&&n[_]?n[_](r.duration,r.easing,a):n.queue(function(h){i(this)[t](),a&&a.call(n[0]),h()})}}),i.widget,(function(){var t,e=Math.max,n=Math.abs,r=/left|center|right/,a=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,_=/^\w+/,h=/%$/,f=i.fn.position;function w(M,P,L){return[parseFloat(M[0])*(h.test(M[0])?P/100:1),parseFloat(M[
vendor: 7,026 bytes, line 19
191])*(h.test(M[1])?L/100:1)]}function k(M,P){return parseInt(i.css(M,P),10)||0}function D(M){return M!=null&&M===M.window}i.position={scrollbarWidth:function(){if(t!==void 0)return t;var M,P,L=i("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),V=L.children()[0];return i("body").append(L),M=V.offsetWidth,L.css("overflow","scroll"),M===(P=V.offsetWidth)&&(P=L[0].clientWidth),L.remove(),t=M-P},getScrollInfo:function(M){var P=M.isWindow||M.isDocument?"":M.element.css("overflow-x"),L=M.isWindow||M.isDocument?"":M.element.css("overflow-y"),V=P==="scroll"||P==="auto"&&M.width<M.element[0].scrollWidth;return{width:L==="scroll"||L==="auto"&&M.height<M.element[0].scrollHeight?i.position.scrollbarWidth():0,height:V?i.position.scrollbarWidth():0}},getWithinInfo:function(M){var P=i(M||window),L=D(P[0]),V=!!P[0]&&P[0].nodeType===9;return{element:P,isWindow:L,isDocument:V,offset:L||V?{left:0,top:0}:i(M).offset(),scrollLeft:P.scrollLeft(),scrollTop:P.scrollTop(),width:P.outerWidth(),height:P.outerHeight()}}},i.fn.position=function(M){if(!M||!M.of)return f.apply(this,arguments);var P,L,V,q,nt,st,E,X=typeof(M=i.extend({},M)).of=="string"?i(document).find(M.of):i(M.of),Et=i.position.getWithinInfo(M.within),Rt=i.position.getScrollInfo(Et),Mt=(M.collision||"flip").split(" "),G={};return E=(P=X[0]).nodeType===9?{width:X.width(),height:X.height(),offset:{top:0,left:0}}:D(P)?{width:X.width(),height:X.height(),offset:{top:X.scrollTop(),left:X.scrollLeft()}}:P.preventDefault?{width:0,height:0,offset:{top:P.pageY,left:P.pageX}}:{width:X.outerWidth(),height:X.outerHeight(),offset:X.offset()},X[0].preventDefault&&(M.at="left top"),V=E.width,q=E.height,nt=E.offset,st=i.extend({},nt),i.each(["my","at"],function(){var Lt,ue,gt=(M[this]||"").split(" ");gt.length===1&&(gt=r.test(gt[0])?gt.concat(["center"]):a.test(gt[0])?["center"].concat(gt):["center","center"]),gt[0]=r.test(gt[0])?gt[0]:"center",gt[1]=a.test(gt[1])?gt[1]:"center",Lt=d.exec(gt[0]),ue=d.exec(gt[1]),G[this]=[Lt?Lt[0]:0,ue?ue[0]:0],M[this]=[_.exec(gt[0])[0],_.exec(gt[1])[0]]}),Mt.length===1&&(Mt[1]=Mt[0]),M.at[0]==="right"?st.left+=V:M.at[0]==="center"&&(st.left+=V/2),M.at[1]==="bottom"?st.top+=q:M.at[1]==="center"&&(st.top+=q/2),L=w(G.at,V,q),st.left+=L[0],st.top+=L[1],this.each(function(){var Lt,ue,gt=i(this),de=gt.outerWidth(),ce=gt.outerHeight(),ee=k(this,"marginLeft"),pe=k(this,"marginTop"),me=de+ee+k(this,"marginRight")+Rt.width,oe=ce+pe+k(this,"marginBottom")+Rt.height,Pt=i.extend({},st),_e=w(G.my,gt.outerWidth(),gt.outerHeight());M.my[0]==="right"?Pt.left-=de:M.my[0]==="center"&&(Pt.left-=de/2),M.my[1]==="bottom"?Pt.top-=ce:M.my[1]==="center"&&(Pt.top-=ce/2),Pt.left+=_e[0],Pt.top+=_e[1],Lt={marginLeft:ee,marginTop:pe},i.each(["left","top"],function(De,Oe){i.ui.position[Mt[De]]&&i.ui.position[Mt[De]][Oe](Pt,{targetWidth:V,targetHeight:q,elemWidth:de,elemHeight:ce,collisionPosition:Lt,collisionWidth:me,collisionHeight:oe,offset:[L[0]+_e[0],L[1]+_e[1]],my:M.my,at:M.at,within:Et,elem:gt})}),M.using&&(ue=function(De){var Oe=nt.left-Pt.left,Te=Oe+V-de,ye=nt.top-Pt.top,ie=ye+q-ce,xe={target:{element:X,left:nt.left,top:nt.top,width:V,height:q},element:{element:gt,left:Pt.left,top:Pt.top,width:de,height:ce},horizontal:Te<0?"left":Oe>0?"right":"center",vertical:ie<0?"top":ye>0?"bottom":"middle"};V<de&&n(Oe+Te)<V&&(xe.horizontal="center"),q<ce&&n(ye+ie)<q&&(xe.vertical="middle"),e(n(Oe),n(Te))>e(n(ye),n(ie))?xe.important="horizontal":xe.important="vertical",M.using.call(this,De,xe)}),gt.offset(i.extend(Pt,{using:ue}))})},i.ui.position={fit:{left:function(M,P){var L,V=P.within,q=V.isWindow?V.scrollLeft:V.offset.left,nt=V.width,st=M.left-P.collisionPosition.marginLeft,E=q-st,X=st+P.collisionWidth-nt-q;P.collisionWidth>nt?E>0&&X<=0?(L=M.left+E+P.collisionWidth-nt-q,M.left+=E-L):X>0&&E<=0?M.left=q:E>X?M.left=q+nt-P.collisionWidth:M.left=q:E>0?M.left+=E:X>0?M.left-=X:M.left=e(M.left-st,M.left)},top:function(M,P){var L,V=P.within,q=V.isWindow?V.scrollTop:V.offset.top,nt=P.within.height,st=M.top-P.collisionPosition.marginTop,E=q-st,X=st+P.collisionHeight-nt-q;P.collisionHeight>nt?E>0&&X<=0?(L=M.top+E+P.collisionHeight-nt-q,M.top+=E-L):X>0&&E<=0?M.top=q:E>X?M.top=q+nt-P.collisionHeight:M.top=q:E>0?M.top+=E:X>0?M.top-=X:M.top=e(M.top-st,M.top)}},flip:{left:function(M,P){var L,V,q=P.within,nt=q.offset.left+q.scrollLeft,st=q.width,E=q.isWindow?q.scrollLeft:q.offset.left,X=M.left-P.collisionPosition.marginLeft,Et=X-E,Rt=X+P.collisionWidth-st-E,Mt=P.my[0]==="left"?-P.elemWidth:P.my[0]==="right"?P.elemWidth:0,G=P.at[0]==="left"?P.targetWidth:P.at[0]==="right"?-P.targetWidth:0,Lt=-2*P.offset[0];Et<0?((L=M.left+Mt+G+Lt+P.collisionWidth-st-nt)<0||L<n(Et))&&(M.left+=Mt+G+Lt):Rt>0&&((V=M.left-P.collisionPosition.marginLeft+Mt+G+Lt-E)>0||n(V)<Rt)&&(M.left+=Mt+G+Lt)},top:function(M,P){var L,V,q=P.within,nt=q.offset.top+q.scrollTop,st=q.height,E=q.isWindow?q.scrollTop:q.offset.top,X=M.top-P.collisionPosition.marginTop,Et=X-E,Rt=X+P.collisionHeight-st-E,Mt=P.my[1]==="top"?-P.elemHeight:P.my[1]==="bottom"?P.elemHeight:0,G=P.at[1]==="top"?P.targetHeight:P.at[1]==="bottom"?-P.targetHeight:0,Lt=-2*P.offset[1];Et<0?((V=M.top+Mt+G+Lt+P.collisionHeight-st-nt)<0||V<n(Et))&&(M.top+=Mt+G+Lt):Rt>0&&((L=M.top-P.collisionPosition.marginTop+Mt+G+Lt-E)>0||n(L)<Rt)&&(M.top+=Mt+G+Lt)}},flipfit:{left:function(){i.ui.position.flip.left.apply(this,arguments),i.ui.position.fit.left.apply(this,arguments)},top:function(){i.ui.position.flip.top.apply(this,arguments),i.ui.position.fit.top.apply(this,arguments)}}}})(),i.ui.position,i.extend(i.expr.pseudos,{data:i.expr.createPseudo(function(t){return function(e){return!!i.data(e,t)}})}),i.fn.extend({disableSelection:(Ft="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(Ft+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var Ot,Ft,v,$t={},ht=$t.toString,rt=/^([\-+])=\s*(\d+\.?\d*)/,_t=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),t[4]?(parseInt(t[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16),t[4]?(parseInt(t[4]+t[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],St=i.Color=function(t,e,n,r){return new i.Color.fn.parse(t,e,n,r)},mt={rgba:{props:{red:{idx:0,type:"byte"}
19,green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},ve={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},Kt=i.each;function Nt(t){return t==null?t+"":typeof t=="object"?$t[ht.call(t)]||"object":typeof t}function Ht(t,e,n){var r=ve[e.type]||{};return t==null?n||!e.def?null:e.def:(t=r.floor?~~t:parseFloat(t),r.mod?(t+r.mod)%r.mod:Math.min(r.max,Math.max(0,t)))}function Qt(t){var e=St(),n=e._rgba=[];return t=t.toLowerCase(),Kt(_t,function(r,a){var d,_=a.re.exec(t),h=_&&a.parse(_),f=a.space||"rgba";if(h)return d=e[f](h),e[mt[f].cache]=d[mt[f].cache],n=e._rgba=d._rgba,!1}),n.length?(n.join()==="0,0,0,0"&&i.extend(n,v.transparent),e):v[t]}function c(t,e,n){return 6*(n=(n+1)%1)<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}Kt(mt,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){$t["[object "+e+"]"]=e.toLowerCase()}),St.fn=i.extend(St.prototype,{parse:function(t,e,n,r){if(t===void 0)return this._rgba=[null,null,null,null],this;(t.jquery||t.nodeType)&&(t=i(t).css(e),e=void 0);var a=this,d=Nt(t),_=this._rgba=[];return e!==void 0&&(t=[t,e,n,r],d="array"),d==="string"?this.parse(Qt(t)||v._default):d==="array"?(Kt(mt.rgba.props,function(h,f){_[f.idx]=Ht(t[f.idx],f)}),this):d==="object"?(t instanceof St?Kt(mt,function(h,f){t[f.cache]&&(a[f.cache]=t[f.cache].slice())}):Kt(mt,function(h,f){var w=f.cache;Kt(f.props,function(k,D){if(!a[w]&&f.to){if(k==="alpha"||t[k]==null)return;a[w]=f.to(a._rgba)}a[w][D.idx]=Ht(t[k],D,!0)}),a[w]&&0>i.inArray(null,a[w].slice(0,3))&&(a[w][3]==null&&(a[w][3]=1),f.from&&(a._rgba=f.from(a[w])))}),this):void 0},is:function(t){var e=St(t),n=!0,r=this;return Kt(mt,function(a,d){var _,h=e[d.cache];return h&&(_=r[d.cache]||d.to&&d.to(r._rgba)||[],Kt(d.props,function(f,w){if(h[w.idx]!=null)return n=h[w.idx]===_[w.idx]})),n}),n},_space:function(){var t=[],e=this;return Kt(mt,function(n,r){e[r.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var n=St(t),r=n._space(),a=mt[r],d=this.alpha()===0?St("transparent"):this,_=d[a.cache]||a.to(d._rgba),h=_.slice();return n=n[a.cache],Kt(a.props,function(f,w){var k=w.idx,D=_[k],M=n[k],P=ve[w.type]||{};M!==null&&(D===null?h[k]=M:(P.mod&&(M-D>P.mod/2?D+=P.mod:D-M>P.mod/2&&(D-=P.mod)),h[k]=Ht((M-D)*e+D,w)))}),this[r](h)},blend:function(t){if(this._rgba[3]===1)return this;var e=this._rgba.slice(),n=e.pop(),r=St(t)._rgba;return St(i.map(e,function(a,d){return(1-n)*r[d]+n*a}))},toRgbaString:function(){var t="rgba(",e=i.map(this._rgba,function(n,r){return n??+(r>2)});return e[3]===1&&(e.pop(),t="rgb("),t+e.join(", ")+")"},toHslaString:function(){var t="hsla(",e=i.map(this.hsla(),function(n,r){return n==null&&(n=+(r>2)),r&&r<3&&(n=Math.round(100*n)+"%"),n});return e[3]===1&&(e.pop(),t="hsl("),t+e.join(", ")+")"},toHexString:function(t){var e=this._rgba.slice(),n=e.pop();return t&&e.push(~~(255*n)),"#"+i.map(e,function(r){return("0"+(r||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}}),St.fn.parse.prototype=St.fn,mt.hsla.to=function(t){if(t[0]==null||t[1]==null||t[2]==null)return[null,null,null,t[3]];var e,n=t[0]/255,r=t[1]/255,a=t[2]/255,d=t[3],_=Math.max(n,r,a),h=Math.min(n,r,a),f=_-h,w=_+h,k=.5*w;return[Math.round(h===_?0:n===_?60*(r-a)/f+360:r===_?60*(a-n)/f+120:60*(n-r)/f+240)%360,f===0?0:k<=.5?f/w:f/(2-w),k,d??1]},mt.hsla.from=function(t){if(t[0]==null||t[1]==null||t[2]==null)return[null,null,null,t[3]];var e=t[0]/360,n=t[1],r=t[2],a=t[3],d=r<=.5?r*(1+n):r+n-r*n,_=2*r-d;return[Math.round(255*c(_,d,e+1/3)),Math.round(255*c(_,d,e)),Math.round(255*c(_,d,e-1/3)),a]},Kt(mt,function(t,e){var n=e.props,r=e.cache,a=e.to,d=e.from;St.fn[t]=function(_){if(a&&!this[r]&&(this[r]=a(this._rgba)),_===void 0)return this[r].slice();var h,f=Nt(_),w=f==="array"||f==="object"?_:arguments,k=this[r].slice();return Kt(n,function(D,M){var P=w[f==="object"?D:M.idx];P==null&&(P=k[M.idx]),k[M.idx]=Ht(P,M)}),d?((h=St(d(k)))[r]=k,h):St(k)},Kt(n,function(_,h){!St.fn[_]&&(St.fn[_]=function(f){var w,k,D,M,P=Nt(f);
19return k=(w=this[M=_==="alpha"?this._hsla?"hsla":"rgba":t]())[h.idx],P==="undefined"?k:(P==="function"&&(P=Nt(f=f.call(this,k))),f==null&&h.empty?this:(P==="string"&&(D=rt.exec(f))&&(f=k+parseFloat(D[2])*(D[1]==="+"?1:-1)),w[h.idx]=f,this[M](w)))})})}),St.hook=function(t){Kt(t.split(" "),function(e,n){i.cssHooks[n]={set:function(r,a){var d;a!=="transparent"&&(Nt(a)!=="string"||(d=Qt(a)))&&(a=(a=St(d||a)).toRgbaString()),r.style[n]=a}},i.fx.step[n]=function(r){r.colorInit||(r.start=St(r.elem,n),r.end=St(r.end),r.colorInit=!0),i.cssHooks[n].set(r.elem,r.start.transition(r.end,r.pos))}})},St.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),i.cssHooks.borderColor={expand:function(t){var e={};return Kt(["Top","Right","Bottom","Left"],function(n,r){e["border"+r+"Color"]=t}),e}},v=i.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};var ot="ui-effects-",ct="ui-effects-style",dt="ui-effects-animated";i.effects={effect:{}},(function(){var t,e,n,r=["add","remove","toggle"],a={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function d(_){var h,f,w=_.ownerDocument.defaultView.getComputedStyle(_),k={};for(f=w.length;f--;)h=w[f],typeof w[h]=="string"&&(k[h.replace(/-([\da-z])/gi,function(D,M){return M.toUpperCase()})]=w[h]);return k}i.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(_,h){i.fx.step[h]=function(f){(f.end==="none"||f.setAttr)&&(f.pos!==1||f.setAttr)||(i.style(f.elem,h,f.end),f.setAttr=!0)}}),i.effects.animateClass=function(_,h,f,w){var k=i.speed(h,f,w);return this.queue(function(){var D,M=i(this),P=M.attr("class")||"",L=k.children?M.find("*").addBack():M;L=L.map(function(){return{el:i(this),start:d(this)}}),(D=function(){i.each(r,function(V,q){_[q]&&M[q+"Class"](_[q])})})(),L=L.map(function(){return this.end=d(this.el[0]),this.diff=(function(V,q){var nt,st,E={};for(nt in q)st=q[nt],V[nt]===st||a[nt]||!i.fx.step[nt]&&isNaN(parseFloat(st))||(E[nt]=st);return E})(this.start,this.end),this}),M.attr("class",P),L=L.map(function(){var V=this,q=i.Deferred(),nt=i.extend({},k,{queue:!1,complete:function(){q.resolve(V)}});return this.el.animate(this.diff,nt),q.promise()}),i.when.apply(i,L.get()).done(function(){D(),i.each(arguments,function(){var V=this.el;i.each(this.diff,function(q){V.css(q,"")})}),k.complete.call(M[0])})})},i.fn.extend({addClass:(t=i.fn.addClass,function(_,h,f,w){return h?i.effects.animateClass.call(this,{add:_},h,f,w):t.apply(this,arguments)}),removeClass:(e=i.fn.removeClass,function(_,h,f,w){return arguments.length>1?i.effects.animateClass.call(this,{remove:_},h,f,w):e.apply(this,arguments)}),toggleClass:(n=i.fn.toggleClass,function(_,h,f,w,k){return typeof h!="boolean"&&h!==void 0?i.effects.animateClass.call(this,{toggle:_},h,f,w):f?i.effects.animateClass.call(this,h?{add:_}:{remove:_},f,w,k):n.apply(this,arguments)}),switchClass:function(_,h,f,w,k){return i.effects.animateClass.call(this,{add:h,remove:_},f,w,k)}})})(),(function(){var t,e,n,r;function a(h,f,w,k){return i.isPlainObject(h)&&(f=h,h=h.effect),h={effect:h},f==null&&(f={}),typeof f=="function"&&(k=f,w=null,f={}),(typeof f=="number"||i.fx.speeds[f])&&(k=w,w=f,f={}),typeof w=="function"&&(k=w,w=null),f&&i.extend(h,f),w=w||f.duration,h.duration=i.fx.off?0:typeof w=="number"?w:w in i.fx.speeds?i.fx.speeds[w]:i.fx.speeds._default,h.complete=k||f.complete,h}function d(h){return!h||typeof h=="number"||!!i.fx.speeds[h]||typeof h=="string"&&!i.effects.effect[h]||typeof h=="function"||typeof h=="object"&&!h.effect}function _(h,f){var w=f.outerWidth(),k=f.outerHeight(),D=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(h)||["",0,w,k,0];return{top:parseFloat(D[1])||0,right:D[2]==="auto"?w:parseFloat(D[2]),bottom:D[3]==="auto"?k:parseFloat(D[3]),left:parseFloat(D[4])||0}}i.expr&&i.expr.pseudos&&i.expr.pseudos.animated&&(i.expr.pseudos.animated=(t=i.expr.pseudos.animated,function(h){return!!i(h).data(dt)||t(h)})),i.uiBackCompat===!0&&i.extend(i.effects,{save:function(h,f){for(var w=0,k=f.length;w<k;w++)f[w]!==null&&h.data(ot+f[w],h[0].style[f[w]])},restore:function(h,f){for(var w,k=0,D=f.length;k<D;k++)f[k]!==null&&(w=h.data(ot+f[k]),h.css(f[k],w))},setMode:function(h,f){return f==="toggle"&&(f=h.is(":hidden")?"show":"hide"),f},createWrapper:function(h){if(h.parent().is(".ui-effects-wrapper"))return h.parent();var f={width:h.outerWidth(!0),height:h.outerHeight(!0),float:h.css("float")},w=i("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),k={width:h.width(),height:h.height()},D=document.activeElement;try{D.id}catch{D=document.body}return h.wrap(w),(h[0]===D||i.contains(h[0],D))&&i(D).trigger("focus"),w=h.parent(),h.css("position")==="static"?(w.css({position:"relative"}),h.css({position:"relative"})):(i.extend(f,{position:h.css("position"),zIndex:h.css("z-index")}),i.each(["top","left","bottom","right"],function(M,P){f[P]=h.css(P),isNaN(parseInt(f[P],10))&&(f[P]="auto")}),h.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),h.css(k),w.css(f).show()},removeWrapper:function(h){var f=document.activeElement;return h.parent().is(".ui-effects-wrapper")&&(h.parent().replaceWith(h),(h[0]===f||i.contains(h[0],f))&&i(f).trigger("focus")),h}}),i.extend(i.effects,{version:"1.14.2",define:function(h,f,w){return w||(w=f,f="effect"),i.effects.effect[h]=w,i.effects.effect[h].mode=f,w},scaledDimensions:function(h,f,w){if(f===0)return{height:0,width:0,outerHeight:0,outerWidth:0};var k=w!=="horizontal"?(f||100)/100:1,D=w!=="vertical"?(f||100)/100:1;return{height:h.height()*D,width:h.width()*k,outerHeight:h.outerHeight()*D,outerWidth:h.outerWidth()*k}},clipToBox:function(h){return{width:h.clip.right-h.clip.left,height:h.clip.bottom-h.clip.top,left
vendor: 5,946 bytes, line 19
19:h.clip.left,top:h.clip.top}},unshift:function(h,f,w){var k=h.queue();f>1&&k.splice.apply(k,[1,0].concat(k.splice(f,w))),h.dequeue()},saveStyle:function(h){h.data(ct,h[0].style.cssText)},restoreStyle:function(h){h[0].style.cssText=h.data(ct)||"",h.removeData(ct)},mode:function(h,f){var w=h.is(":hidden");return f==="toggle"&&(f=w?"show":"hide"),(w?f==="hide":f==="show")&&(f="none"),f},getBaseline:function(h,f){var w,k;switch(h[0]){case"top":w=0;break;case"middle":w=.5;break;case"bottom":w=1;break;default:w=h[0]/f.height}switch(h[1]){case"left":k=0;break;case"center":k=.5;break;case"right":k=1;break;default:k=h[1]/f.width}return{x:k,y:w}},createPlaceholder:function(h){var f,w=h.css("position"),k=h.position();return h.css({marginTop:h.css("marginTop"),marginBottom:h.css("marginBottom"),marginLeft:h.css("marginLeft"),marginRight:h.css("marginRight")}).outerWidth(h.outerWidth()).outerHeight(h.outerHeight()),/^(static|relative)/.test(w)&&(w="absolute",f=i("<"+h[0].nodeName+">").insertAfter(h).css({display:/^(inline|ruby)/.test(h.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:h.css("marginTop"),marginBottom:h.css("marginBottom"),marginLeft:h.css("marginLeft"),marginRight:h.css("marginRight"),float:h.css("float")}).outerWidth(h.outerWidth()).outerHeight(h.outerHeight()).addClass("ui-effects-placeholder"),h.data(ot+"placeholder",f)),h.css({position:w,left:k.left,top:k.top}),f},removePlaceholder:function(h){var f=ot+"placeholder",w=h.data(f);w&&(w.remove(),h.removeData(f))},cleanUp:function(h){i.effects.restoreStyle(h),i.effects.removePlaceholder(h)},setTransition:function(h,f,w,k){return k=k||{},i.each(f,function(D,M){var P=h.cssUnit(M);P[0]>0&&(k[M]=P[0]*w+P[1])}),k}}),i.fn.extend({effect:function(){var h=a.apply(this,arguments),f=i.effects.effect[h.effect],w=f.mode,k=h.queue,D=k||"fx",M=h.complete,P=h.mode,L=[],V=function(nt){var st=i(this),E=i.effects.mode(st,P)||w;st.data(dt,!0),L.push(E),w&&(E==="show"||E===w&&E==="hide")&&st.show(),w&&E==="none"||i.effects.saveStyle(st),typeof nt=="function"&&nt()};if(i.fx.off||!f)return P?this[P](h.duration,M):this.each(function(){M&&M.call(this)});function q(nt){var st=i(this);function E(){typeof M=="function"&&M.call(st[0]),typeof nt=="function"&&nt()}h.mode=L.shift(),i.uiBackCompat!==!0||w?h.mode==="none"?(st[P](),E()):f.call(st[0],h,function(){st.removeData(dt),i.effects.cleanUp(st),h.mode==="hide"&&st.hide(),E()}):(st.is(":hidden")?P==="hide":P==="show")?(st[P](),E()):f.call(st[0],h,E)}return k===!1?this.each(V).each(q):this.queue(D,V).queue(D,q)},show:(e=i.fn.show,function(h){if(d(h))return e.apply(this,arguments);var f=a.apply(this,arguments);return f.mode="show",this.effect.call(this,f)}),hide:(n=i.fn.hide,function(h){if(d(h))return n.apply(this,arguments);var f=a.apply(this,arguments);return f.mode="hide",this.effect.call(this,f)}),toggle:(r=i.fn.toggle,function(h){if(d(h)||typeof h=="boolean")return r.apply(this,arguments);var f=a.apply(this,arguments);return f.mode="toggle",this.effect.call(this,f)}),cssUnit:function(h){var f=this.css(h),w=[];return i.each(["em","px","%","pt"],function(k,D){f.indexOf(D)>0&&(w=[parseFloat(f),D])}),w},cssClip:function(h){return h?this.css("clip","rect("+h.top+"px "+h.right+"px "+h.bottom+"px "+h.left+"px)"):_(this.css("clip"),this)},transfer:function(h,f){var w=i(this),k=i(h.to),D=k.css("position")==="fixed",M=i("body"),P=D?M.scrollTop():0,L=D?M.scrollLeft():0,V=k.offset(),q={top:V.top-P,left:V.left-L,height:k.innerHeight(),width:k.innerWidth()},nt=w.offset(),st=i("<div class='ui-effects-transfer'></div>");st.appendTo("body").addClass(h.className).css({top:nt.top-P,left:nt.left-L,height:w.innerHeight(),width:w.innerWidth(),position:D?"fixed":"absolute"}).animate(q,h.duration,h.easing,function(){st.remove(),typeof f=="function"&&f()})}}),i.fx.step.clip=function(h){h.clipInit||(h.start=i(h.elem).cssClip(),typeof h.end=="string"&&(h.end=_(h.end,h.elem)),h.clipInit=!0),i(h.elem).cssClip({top:h.pos*(h.end.top-h.start.top)+h.start.top,right:h.pos*(h.end.right-h.start.right)+h.start.right,bottom:h.pos*(h.end.bottom-h.start.bottom)+h.start.bottom,left:h.pos*(h.end.left-h.start.left)+h.start.left})}})(),N={},i.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){N[e]=function(n){return Math.pow(n,t+2)}}),i.extend(N,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return t===0||t===1?t:-Math.pow(2,8*(t-1))*Math.sin(((t-1)*80-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),i.each(N,function(t,e){i.easing["easeIn"+t]=e,i.easing["easeOut"+t]=function(n){return 1-e(1-n)},i.easing["easeInOut"+t]=function(n){return n<.5?e(2*n)/2:1-e(-2*n+2)/2}});var et=i.effects;i.effects.define("blind","hide",function(t,e){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=i(this),a=t.direction||"up",d=r.cssClip(),_={clip:i.extend({},d)},h=i.effects.createPlaceholder(r);_.clip[n[a][0]]=_.clip[n[a][1]],t.mode==="show"&&(r.cssClip(_.clip),h&&h.css(i.effects.clipToBox(_)),_.clip=d),h&&h.animate(i.effects.clipToBox(_),t.duration,t.easing),r.animate(_,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),i.effects.define("bounce",function(t,e){var n,r,a,d=i(this),_=t.mode,h=_==="hide",f=_==="show",w=t.direction||"up",k=t.distance,D=t.times||5,M=2*D+(f||h?1:0),P=t.duration/M,L=t.easing,V=w==="up"||w==="down"?"top":"left",q=w==="up"||w==="left",nt=0,st=d.queue().length;for(i.effects.createPlaceholder(d),a=d.css(V),k||(k=d[V==="top"?"outerHeight":"outerWidth"]()/3),f&&((r={opacity:1})[V]=a,d.css("opacity",0).css(V,q?-(2*k):2*k).animate(r,P,L)),h&&(k/=Math.pow(2,D-1)),(r={})[V]=a;nt<D;nt++)(n={})[V]=(q?"-=":"+=")+k,d.animate(n,P,L).animate(r,P,L),k=h?2*k:k/2;h&&((n={opacity:0}
vendor: 8,933 bytes, line 19
19)[V]=(q?"-=":"+=")+k,d.animate(n,P,L)),d.queue(e),i.effects.unshift(d,st,M+1)}),i.effects.define("clip","hide",function(t,e){var n,r={},a=i(this),d=t.direction||"vertical",_=d==="both",h=_||d==="horizontal",f=_||d==="vertical";n=a.cssClip(),r.clip={top:f?(n.bottom-n.top)/2:n.top,right:h?(n.right-n.left)/2:n.right,bottom:f?(n.bottom-n.top)/2:n.bottom,left:h?(n.right-n.left)/2:n.left},i.effects.createPlaceholder(a),t.mode==="show"&&(a.cssClip(r.clip),r.clip=n),a.animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),i.effects.define("drop","hide",function(t,e){var n,r=i(this),a=t.mode,d=t.direction||"left",_=d==="up"||d==="down"?"top":"left",h=d==="up"||d==="left"?"-=":"+=",f={opacity:0};i.effects.createPlaceholder(r),n=t.distance||r[_==="top"?"outerHeight":"outerWidth"](!0)/2,f[_]=h+n,a==="show"&&(r.css(f),f[_]=(h==="+="?"-=":"+=")+n,f.opacity=1),r.animate(f,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),i.effects.define("explode","hide",function(t,e){var n,r,a,d,_,h,f=t.pieces?Math.round(Math.sqrt(t.pieces)):3,w=i(this),k=t.mode==="show",D=w.show().css("visibility","hidden").offset(),M=Math.ceil(w.outerWidth()/f),P=Math.ceil(w.outerHeight()/f),L=[];function V(){L.push(this),L.length===f*f&&(w.css({visibility:"visible"}),i(L).remove(),e())}for(n=0;n<f;n++)for(r=0,d=D.top+n*P,h=n-(f-1)/2;r<f;r++)a=D.left+r*M,_=r-(f-1)/2,w.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*M,top:-n*P}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:M,height:P,left:a+(k?_*M:0),top:d+(k?h*P:0),opacity:+!k}).animate({left:a+(k?0:_*M),top:d+(k?0:h*P),opacity:+!!k},t.duration||500,t.easing,V)}),i.effects.define("fade","toggle",function(t,e){var n=t.mode==="show";i(this).css("opacity",+!n).animate({opacity:+!!n},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),i.effects.define("fold","hide",function(t,e){var n=i(this),r=t.mode,a=t.size||15,d=/([0-9]+)%/.exec(a),_=t.horizFirst?["right","bottom"]:["bottom","right"],h=t.duration/2,f=i.effects.createPlaceholder(n),w=n.cssClip(),k={clip:i.extend({},w)},D={clip:i.extend({},w)},M=[w[_[0]],w[_[1]]],P=n.queue().length;d&&(a=parseInt(d[1],10)/100*M[+(r!=="hide")]),k.clip[_[0]]=a,D.clip[_[0]]=a,D.clip[_[1]]=0,r==="show"&&(n.cssClip(D.clip),f&&f.css(i.effects.clipToBox(D)),D.clip=w),n.queue(function(L){f&&f.animate(i.effects.clipToBox(k),h,t.easing).animate(i.effects.clipToBox(D),h,t.easing),L()}).animate(k,h,t.easing).animate(D,h,t.easing).queue(e),i.effects.unshift(n,P,4)}),i.effects.define("highlight","show",function(t,e){var n=i(this),r={backgroundColor:n.css("backgroundColor")};t.mode==="hide"&&(r.opacity=0),i.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),i.effects.define("size",function(t,e){var n,r,a,d=i(this),_=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],f=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],w=t.mode,k=w!=="effect",D=t.scale||"both",M=t.origin||["middle","center"],P=d.css("position"),L=d.position(),V=i.effects.scaledDimensions(d),q=t.from||V,nt=t.to||i.effects.scaledDimensions(d,0);i.effects.createPlaceholder(d),w==="show"&&(a=q,q=nt,nt=a),r={from:{y:q.height/V.height,x:q.width/V.width},to:{y:nt.height/V.height,x:nt.width/V.width}},(D==="box"||D==="both")&&(r.from.y!==r.to.y&&(q=i.effects.setTransition(d,h,r.from.y,q),nt=i.effects.setTransition(d,h,r.to.y,nt)),r.from.x!==r.to.x&&(q=i.effects.setTransition(d,f,r.from.x,q),nt=i.effects.setTransition(d,f,r.to.x,nt))),(D==="content"||D==="both")&&r.from.y!==r.to.y&&(q=i.effects.setTransition(d,_,r.from.y,q),nt=i.effects.setTransition(d,_,r.to.y,nt)),M&&(n=i.effects.getBaseline(M,V),q.top=(V.outerHeight-q.outerHeight)*n.y+L.top,q.left=(V.outerWidth-q.outerWidth)*n.x+L.left,nt.top=(V.outerHeight-nt.outerHeight)*n.y+L.top,nt.left=(V.outerWidth-nt.outerWidth)*n.x+L.left),delete q.outerHeight,delete q.outerWidth,d.css(q),(D==="content"||D==="both")&&(h=h.concat(["marginTop","marginBottom"]).concat(_),f=f.concat(["marginLeft","marginRight"]),d.find("*[width]").each(function(){var st=i(this),E=i.effects.scaledDimensions(st),X={height:E.height*r.from.y,width:E.width*r.from.x,outerHeight:E.outerHeight*r.from.y,outerWidth:E.outerWidth*r.from.x},Et={height:E.height*r.to.y,width:E.width*r.to.x,outerHeight:E.height*r.to.y,outerWidth:E.width*r.to.x};r.from.y!==r.to.y&&(X=i.effects.setTransition(st,h,r.from.y,X),Et=i.effects.setTransition(st,h,r.to.y,Et)),r.from.x!==r.to.x&&(X=i.effects.setTransition(st,f,r.from.x,X),Et=i.effects.setTransition(st,f,r.to.x,Et)),k&&i.effects.saveStyle(st),st.css(X),st.animate(Et,t.duration,t.easing,function(){k&&i.effects.restoreStyle(st)})})),d.animate(nt,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var st=d.offset();nt.opacity===0&&d.css("opacity",q.opacity),k||(d.css("position",P==="static"?"relative":P).offset(st),i.effects.saveStyle(d)),e()}})}),i.effects.define("scale",function(t,e){var n=i(this),r=t.mode,a=parseInt(t.percent,10)||(parseInt(t.percent,10)===0?0:100*(r==="effect")),d=i.extend(!0,{from:i.effects.scaledDimensions(n),to:i.effects.scaledDimensions(n,a,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(d.from.opacity=1,d.to.opacity=0),i.effects.effect.size.call(this,d,e)}),i.effects.define("puff","hide",function(t,e){var n=i.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});i.effects.effect.scale.call(this,n,e)}),i.effects.define("pulsate","show",function(t,e){var n=i(this),r=t.mode,a=r==="show",d=2*(t.times||5)+ +!!(a||r==="hide"),_=t.duration/d,h=0,f=1,w=n.queue().length;for((a||!n.is(":visible"))&&(n.css("opacity",0).show(),h=1);f<d;f++)n.animate({opacity:h},_,t.easing),h=1-h;n.animate({opacity:h},_,t.easing),n.queue(e),i.effects.unshift(n,w,d+1)}),i.effects.define("shake",function(t,e){var n=1,r=i(this),a=t.direction||"left",d=t.distance||20,_=t.times||3,h=2*_+1,f=Math.round(t.duration/h),w=a==="up"||a==="down"?"top":"left",k=a==="up"||a==="left",D={},M={},P={},L=r.queue().length;for(i.effects.createPlaceholder(r),D[w]=(k?"-=":"+=")+d,M[w]=(k?"+=":"-=")+2*d,P[w]=(k?"-=":"+=")+2*d,r.animate(D,f,t.easing);n<_;n++)r.animate(M,f,t.easing).animate(P,f,t.easing);r.animate(M,f,t.easing).animate(D,f/2,t.easing).queue(e),i.effects.unshift(r,L,h+1)}),i.effects.define("slide","show",function(t,e){var n,r,a=i(this),d={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},_=t.mode,h=t.direction||"left",f=h==="up"||h==="down"?"top":"left",w=t.distance||a[f==="top"?"outerHeight":"outerWidth"](!0),k={};i.effects.createPlaceholder(a),n=a.cssClip(),r=a.position()[f],k[f]=(h==="up"||h==="left"?-1:1)*w+r,k.clip=a.cssClip(),k.clip[d[h][1]]=k.clip[d[h][0]],_==="show"&&(a.cssClip(k.clip),a.css(f,k[f]),k.clip=n,k[f]=r),a.animate(k,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),i.uiBackCompat===!0&&i.effects.define("transfer",function(t,e){i(this).transfer(t,e)}),i.ui.focusable=function(t,e){var n,r,a,d,_,h=t.nodeName.toLowerCase();return h==="area"?(r=(n=t.parentNode).name,!!t.href&&!!r&&n.nodeName.toLowerCase()==="map"&&(a=i("img[usemap='#"+r+"']")).length>0&&a.is(":visible")):(/^(input|select|textarea|button|object)$/.test(h)?(d=!t.disabled)&&(_=i(t).closest("fieldset")[0])&&(d=!_.disabled):d=h==="a"&&t.href||e,d&&i(t).is(":visible")&&i(t).css("visibility")==="visible")},i.extend(i.expr.pseudos,{focusable:function(t){return i.ui.focusable(t,i.attr(t,"tabindex")!=null)}}),i.ui.focusable,i.ui.formResetMixin={_formResetHandler:function(){var t=i(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");i.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=i(this.element.prop("form")),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var t=this.form.data("ui-form-reset-instances");t.splice(i.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},i.escapeSelector||(i.escapeSelector=function(t){return CSS.escape(t+"")}),i.fn.even&&i.fn.odd||i.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),i.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},i.fn.labels=function(){var t,e,n,r,a;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(r=this.eq(0).parents("label"),(n=this.attr("id"))&&(a=(t=this.eq(0).parents().last(
19)).add(t.length?t.siblings():this.siblings()),e="label[for='"+CSS.escape(n)+"']",r=r.add(a.find(e).addBack(e))),this.pushStack(r)):this.pushStack([])},i.fn.scrollParent=function(t){var e=this.css("position"),n=e==="absolute",r=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var d=i(this);return(!n||d.css("position")!=="static")&&r.test(d.css("overflow")+d.css("overflow-y")+d.css("overflow-x"))}).eq(0);return e!=="fixed"&&a.length?a:i(this[0].ownerDocument||document)},i.extend(i.expr.pseudos,{tabbable:function(t){var e=i.attr(t,"tabindex"),n=e!=null;return(!n||e>=0)&&i.ui.focusable(t,n)}}),i.fn.extend({uniqueId:(J=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++J)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&i(this).removeAttr("id")})}}),i.widget("ui.accordion",{version:"1.14.2",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(t){return t.find("> li > :first-child").add(t.find("> :not(li)").filter(function(e){return e%2==0}))},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=i(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||t.active!==!1&&t.active!=null||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():i()}},_createIcons:function(){var t,e,n=this.options.icons;n&&(t=i("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+n.header),t.prependTo(this.headers),e=this.active.children(".ui-accordion-header-icon"),this._removeClass(e,n.header)._addClass(e,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),this.options.heightStyle!=="content"&&t.css("height","")},_setOption:function(t,e){if(t==="active"){this._activate(e);return}t==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),t!=="collapsible"||e||this.options.active!==!1||this._activate(0),t==="icons"&&(this._destroyIcons(),e&&this._createIcons())},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=i.ui.keyCode,n=this.headers.length,r=this.headers.index(t.target),a=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:a=this.headers[(r+1)%n];break;case e.LEFT:case e.UP:a=this.headers[(r-1+n)%n];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:a=this.headers[0];break;case e.END:a=this.headers[n-1]}a&&(i(t.target).attr("tabIndex",-1),i(a).attr("tabIndex",0),i(a).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===i.ui.keyCode.UP&&t.ctrlKey&&i(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),(t.active!==!1||t.collapsible!==!0)&&this.headers.length?t.active===!1?this._activate(0):this.active.length&&!i.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=i()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active):(t.active=!1,this.active=i()),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;typeof this.options.header=="function"?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))}
vendor: 3,673 bytes, line 19
19,_refresh:function(){var t,e=this.options,n=e.heightStyle,r=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var a=i(this),d=a.uniqueId().attr("id"),_=a.next(),h=_.uniqueId().attr("id");a.attr("aria-controls",h),_.attr("aria-labelledby",d)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),n==="fill"?(t=r.height(),this.element.siblings(":visible").each(function(){var a=i(this),d=a.css("position");d!=="absolute"&&d!=="fixed"&&(t-=a.outerHeight(!0))}),this.headers.each(function(){t-=i(this).outerHeight(!0)}),this.headers.next().each(function(){i(this).height(Math.max(0,t-i(this).innerHeight()+i(this).height()))}).css("overflow","auto")):n==="auto"&&(t=0,this.headers.next().each(function(){var a=i(this).is(":visible");a||i(this).show(),t=Math.max(t,i(this).css("height","").height()),a||i(this).hide()}).height(t))},_activate:function(t){var e=this._findActive(t)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:i.noop}))},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):i()},_setupEvents:function(t){var e={keydown:"_keydown"};t&&i.each(t.split(" "),function(n,r){e[r]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,e),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e,n,r=this.options,a=this.active,d=i(t.currentTarget),_=d[0]===a[0],h=_&&r.collapsible,f=h?i():d.next(),w=a.next(),k={oldHeader:a,oldPanel:w,newHeader:h?i():d,newPanel:f};t.preventDefault(),(!_||r.collapsible)&&this._trigger("beforeActivate",t,k)!==!1&&(r.active=!h&&this.headers.index(d),this.active=_?i():d,this._toggle(k),this._removeClass(a,"ui-accordion-header-active","ui-state-active"),r.icons&&(e=a.children(".ui-accordion-header-icon"),this._removeClass(e,null,r.icons.activeHeader)._addClass(e,null,r.icons.header)),_||(this._removeClass(d,"ui-accordion-header-collapsed")._addClass(d,"ui-accordion-header-active","ui-state-active"),r.icons&&(n=d.children(".ui-accordion-header-icon"),this._removeClass(n,null,r.icons.header)._addClass(n,null,r.icons.activeHeader)),this._addClass(d.next(),"ui-accordion-content-active")))},_toggle:function(t){var e=t.newPanel,n=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=n,this.options.animate?this._animate(e,n,t):(n.hide(),e.show(),this._toggleComplete(t)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),e.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):e.length&&this.headers.filter(function(){return parseInt(i(this).attr("tabIndex"),10)===0}).attr("tabIndex",-1),e.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,n){var r,a,d,_=this,h=0,f=t.css("box-sizing"),w=t.length&&(!e.length||t.index()<e.index()),k=this.options.animate||{},D=w&&k.down||k,M=function(){_._toggleComplete(n)};
vendor: 6,320 bytes, line 19
19return typeof D=="number"&&(d=D),typeof D=="string"&&(a=D),a=a||D.easing||k.easing,d=d||D.duration||k.duration,e.length?t.length?(r=t.show().outerHeight(),e.animate(this.hideProps,{duration:d,easing:a,step:function(P,L){L.now=Math.round(P)}}),void t.hide().animate(this.showProps,{duration:d,easing:a,complete:M,step:function(P,L){L.now=Math.round(P),L.prop!=="height"?f==="content-box"&&(h+=L.now):_.options.heightStyle!=="content"&&(L.now=Math.round(r-e.outerHeight()-h),h=0)}})):e.animate(this.hideProps,d,a,M):t.animate(this.showProps,d,a,M)},_toggleComplete:function(t){var e=t.oldPanel,n=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),this._trigger("activate",null,t)}}),i.widget("ui.menu",{version:"1.14.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=i(t.target),n=i(this.document[0].activeElement);!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var n=this.active||this._menuItems().first();e||this.focus(t,n)},blur:function(t){this._delay(function(){i.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){if(!this.previousFilter&&(t.clientX!==this.lastMousePosition.x||t.clientY!==this.lastMousePosition.y)){this.lastMousePosition={x:t.clientX,y:t.clientY};var e=i(t.target).closest(".ui-menu-item"),n=i(t.currentTarget);!(e[0]!==n[0]||n.is(".ui-state-active"))&&(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,n))}},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var e=i(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(t){var e,n,r,a,d=!0;switch(t.keyCode){case i.ui.keyCode.PAGE_UP:this.previousPage(t);break;case i.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case i.ui.keyCode.HOME:this._move("first","first",t);break;case i.ui.keyCode.END:this._move("last","last",t);break;case i.ui.keyCode.UP:this.previous(t);break;case i.ui.keyCode.DOWN:this.next(t);break;case i.ui.keyCode.LEFT:this.collapse(t);break;case i.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case i.ui.keyCode.ENTER:case i.ui.keyCode.SPACE:this._activate(t);break;case i.ui.keyCode.ESCAPE:this.collapse(t);break;default:d=!1,n=this.previousFilter||"",a=!1,r=t.keyCode>=96&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),r===n?a=!0:r=n+r,e=this._filterMenuItems(r),(e=a&&e.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):e).length||(r=String.fromCharCode(t.keyCode),e=this._filterMenuItems(r)),e.length?(this.focus(t,e),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}d&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,n,r,a=this,d=this.options.icons.submenu,_=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=_.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var h=i(this),f=h.prev(),w=i("<span>").data("ui-menu-submenu-caret",!0);a._addClass(w,"ui-menu-icon","ui-icon "+d),f.attr("aria-haspopup","true").prepend(w),h.attr("aria-labelledby",f.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=_.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var h=i(this);a._isDivider(h)&&a._addClass(h,"ui-menu-divider","ui-widget-content")}),r=(n=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!i.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if(t==="icons"){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var n,r,a;this.blur(t,t&&t.type==="focus"),this._scrollIntoView(e),this.active=e.first(),r=this.active.children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),a=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(a,null,"ui-state-active"),t&&t.type==="
19keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),(n=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(n),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,n,r,a,d,_;this._hasScroll()&&(e=parseFloat(i.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(i.css(this.activeMenu[0],"paddingTop"))||0,r=t.offset().top-this.activeMenu.offset().top-e-n,a=this.activeMenu.scrollTop(),d=this.activeMenu.height(),_=t.outerHeight(),r<0?this.activeMenu.scrollTop(a+r):r+_>d&&this.activeMenu.scrollTop(a+r-d+_))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),t.attr("aria-hidden")==="true"&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=i.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(t,e){clearTimeout(this.timer),this.timer=this._delay(function(){var n=e?this.element:i(t&&t.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(t),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n},e?0:this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(t){return!i(t.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this._menuItems(this.active.children(".ui-menu")).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(t){return(t||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(t,e,n){var r;this.active&&(r=t==="first"||t==="last"?this.active[t==="first"?"prevAll":"nextAll"](".ui-menu-item").last():this.active[t+"All"](".ui-menu-item").first()),r&&r.length&&this.active||(r=this._menuItems(this.activeMenu)[e]()),this.focus(n,r)},nextPage:function(t){var e,n,r;if(!this.active){this.next(t);return}!this.isLastItem()&&(this._hasScroll()?(n=this.active.offset().top,r=this.element.innerHeight(),i.fn.jquery.indexOf("3.2.")===0&&(r+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(e=i(this)).offset().top-n-r<0}),this.focus(t,e)):this.focus(t,this._menuItems(this.activeMenu)[this.active?"last":"first"]()))},previousPage:function(t){var e,n,r;if(!this.active){this.next(t);return}!this.isFirstItem()&&(this._hasScroll()?(n=this.active.offset().top,r=this.element.innerHeight(),i.fn.jquery.indexOf("3.2.")===0&&(r+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return(e=i(this)).offset().top-n+r>0}),this.focus(t,e)):this.focus(t,this._menuItems(this.activeMenu).first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||i(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)},_filterMenuItems:function(t){var e=RegExp("^"+t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return e.test(String.prototype.trim.call(i(this).children(".ui-menu-item-wrapper").text()))})}}),i.widget("ui.autocomplete",{version:"1.14.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var t,e,n,r=this.element[0].nodeName.toLowerCase(),a=r==="textarea",d=r==="input";this.isMultiLine=a||!d&&this.element.prop("contentEditable")==="true",this.valueMethod=this.element[a||d?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(_){if(this.element.prop("readOnly")){t=!0,n=!0,e=!0;return}t=!1,n=!1,e=!1;var h=i.ui.keyCode;switch(_.keyCode){case h.PAGE_UP:t=!0,this._move("previousPage",_);break;case h.PAGE_DOWN:t=!0,this._move("nextPage",_);break;case h.UP:t=!0,this._keyEvent("previous",_);break;case h.DOWN:t=!0,this._keyEvent("next",_);break;case h.ENTER:this.menu.active&&(t=!0,_.preventDefault(),this.menu.select(_));break;case h.TAB:this.menu.active&&this.menu.select(_);break;case h.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(_),_.preventDefault());break;default:e=!0,this._searchTimeout(_)}},keypress:function(_){if(t){t=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&_.preventDefault();return}if(!e){var h=i.ui.keyCode;switch(_.keyCode){case h.PAGE_UP:this._move("previousPage",_);break;case h.PAGE_DOWN:this._move("nextPage",_);break;case h.UP:this._keyEvent("previous",_);break;case h.DOWN:this._keyEvent("next",_)}}},input:function(_){if(n){n=!1,_.preventDefault();return}this._searchTimeout(_)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 7,097 bytes, line 19
19)},blur:function(_){clearTimeout(this.searching),this.close(_),this._change(_)}}),this._initSource(),this.menu=i("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(_){_.preventDefault()},menufocus:function(_,h){var f,w;if(this.isNewMenu&&(this.isNewMenu=!1,_.originalEvent&&/^mouse/.test(_.originalEvent.type))){this.menu.blur(),this.document.one("mousemove",function(){i(_.target).trigger(_.originalEvent)});return}w=h.item.data("ui-autocomplete-item"),this._trigger("focus",_,{item:w})!==!1&&_.originalEvent&&/^key/.test(_.originalEvent.type)&&this._value(w.value),(f=h.item.attr("aria-label")||w.value)&&String.prototype.trim.call(f).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(i("<div>").text(f))},100))},menuselect:function(_,h){var f=h.item.data("ui-autocomplete-item"),w=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=w),this._trigger("select",_,{item:f})!==!1&&this._value(f.value),this.term=this._value(),this.close(_),this.selectedItem=f}}),this.liveRegion=i("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),t==="source"&&this._initSource(),t==="appendTo"&&this.menu.element.appendTo(this._appendTo()),t==="disabled"&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||i.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?i(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,e,n=this;Array.isArray(this.options.source)?(t=this.options.source,this.source=function(r,a){a(i.ui.autocomplete.filter(t,r.term))}):typeof this.options.source=="string"?(e=this.options.source,this.source=function(r,a){n.xhr&&n.xhr.abort(),n.xhr=i.ajax({url:e,data:r,dataType:"json",success:function(d){a(d)},error:function(){a([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),n=this.menu.element.is(":visible"),r=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||n||r)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=t??this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=++this.requestIndex;return(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}).bind(this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:i.map(t,function(e){return typeof e=="string"?{label:e,value:e}:i.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(t){var e=this.menu.element.empty();this._renderMenu(e,t),this.isNewMenu=!0,this.menu.refresh(),e.show(),this._resizeMenu(),e.position(i.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,e){var n=this;i.each(e,function(r,a){n._renderItemData(t,a)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return i("<li>").append(i("<div>").text(e.label)).appendTo(t)},_move:function(t,e){if(!this.menu.element.is(":visible")){this.search(null,e);return}if(this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)){this.isMultiLine||this._value(this.term),this.menu.blur();return}this.menu[t](e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),i.extend(i.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var n=RegExp(i.ui.autocomplete.escapeRegex(e),"i");return i.grep(t,function(r){return n.test(r.label||r.value||r)})}}),i.widget("ui.autocomplete",i.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),!this.options.disabled&&!this.cancelSearch&&(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(i("<div>").text(e))},100))}}),i.ui.autocomplete;var Ct=/ui-corner-([a-z]){2,6}/g;function ut(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
19ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},i.extend(this._defaults,this.regional[""]),this.regional.en=i.extend(!0,{},this.regional[""]),this.regional["en-US"]=i.extend(!0,{},this.regional.en),this.dpDiv=vt(i("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function vt(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",e,function(){i(this).removeClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&i(this).removeClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&i(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",e,te)}function te(){i.datepicker._isDisabledDatepicker(j.inline?j.dpDiv.parent()[0]:j.input[0])||(i(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),i(this).addClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&i(this).addClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&i(this).addClass("ui-datepicker-next-hover"))}function Xt(t,e){for(var n in i.extend(t,e),e)e[n]==null&&(t[n]=e[n]);return t}i.widget("ui.controlgroup",{version:"1.14.2",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var t=this,e=[];i.each(this.options.items,function(n,r){var a,d={};if(r){if(n==="controlgroupLabel"){(a=t.element.find(r)).each(function(){var _=i(this);!_.children(".ui-controlgroup-label-contents").length&&_.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),t._addClass(a,null,"ui-widget ui-widget-content ui-state-default"),e=e.concat(a.get());return}i.fn[n]&&(d=t["_"+n+"Options"]?t["_"+n+"Options"]("middle"):{classes:{}},t.element.find(r).each(function(){var _=i(this),h=_[n]("instance"),f=i.widget.extend({},d);if(n!=="button"||!_.parent(".ui-spinner").length){h||(h=_[n]()[n]("instance")),h&&(f.classes=t._resolveClassesValues(f.classes,h)),_[n](f);var w=_[n]("widget");i.data(w[0],"ui-controlgroup-data",h||_[n]("instance")),e.push(w[0])}}))}}),this.childWidgets=i(i.uniqueSort(e)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=i(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(t,e){var n=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,n)},_buildSimpleOptions:function(t,e){var n=this.options.direction==="vertical",r={classes:{}};return r.classes[e]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[t],r},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e=this.options.direction==="vertical";return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(t,e){var n={};return i.each(t,function(r){var a=e.options.classes[r]||"";a=String.prototype.trim.call(a.replace(Ct,"")),n[r]=(a+" "+t[r]).replace(/\s+/g," ")}),n},_setOption:function(t,e){if(t==="direction"&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),t==="disabled"){this._callChildMethod(e?"disable":"enable");return}this.refresh()},refresh:function(){var t,e=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),this.options.direction==="horizontal"&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),t=this.childWidgets,this.options.onlyVisible&&(t=t.filter(":visible")),t.length&&(i.each(["first","last"],function(n,r){var a=t[r]().data("ui-controlgroup-data");if(a&&e["_"+a.widgetName+"Options"]){var d=e["_"+a.widgetName+"Options"](t.length===1?"only":r);d.classes=e._resolveClassesValues(d.classes,a),a.element[a.widgetName](d)}else e._updateCornerClass(t[r](),r)}),this._callChildMethod("refresh"))}}),i.widget("ui.checkboxradio",[i.ui.formResetMixin,{version:"1.14.2",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,e,n,r=this._super()||{};return this._readType(),e=this.element.labels(),this.label=i(e[e.length-1]),this.label.length||i.error("No label found for checkboxradio widget"),this.originalLabel="",(n=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=n.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(r.label=this.originalLabel),(t=this.element[0].disabled)!=null&&(r.disabled=t),r},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),this.options.disabled==null&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),this.type==="radio"&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,t==="input"&&/radio|checkbox/.test(this.t
19ype)||i.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t,e=this.element[0].name,n="input[name='"+CSS.escape(e)+"']";return e?(this.form.length?i(this.form[0].elements).filter(n):i(n).filter(function(){return i(i(this).prop("form")).length===0})).not(this.element):i([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&this.type==="checkbox"&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),this.type==="radio"&&this._getRadioGroup().each(function(){var e=i(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if(t!=="label"||e){if(this._super(t,e),t==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",e),this.element[0].disabled=e;return}this.refresh()}},_updateIcon:function(t){var e="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=i("<span>"),this.iconSpace=i("<span> </span>
19"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),this.type==="checkbox"?(e+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):e+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",e),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):this.icon!==void 0&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.label!==null&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),i.ui.checkboxradio,i.widget("ui.button",{version:"1.14.2",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),(t=this.element[0].disabled)!=null&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),this.options.disabled==null&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===i.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,e){var n=t!=="iconPosition",r=n?this.options.iconPosition:e,a=r==="top"||r==="bottom";this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=i("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,e),this._attachIcon(r),a?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 7,048 bytes, line 19
19pace||(this.iconSpace=i("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=t.showLabel===void 0?this.options.showLabel:t.showLabel,n=t.icon===void 0?this.options.icon:t.icon;e||n||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){t==="icon"&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),t==="iconPosition"&&this._updateIcon(t,e),t==="showLabel"&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),t==="label"&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),t==="disabled"&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.trigger("blur"))},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),i.uiBackCompat===!0&&(i.widget("ui.button",i.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)?this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"):this.options.icon&&(this.options.icons.primary=this.options.icon),this._super()},_setOption:function(t,e){if(t==="text"){this._super("showLabel",e);return}t==="showLabel"&&(this.options.text=e),t==="icon"&&(this.options.icons.primary=e),t==="icons"&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)}}),i.fn.button=(K=i.fn.button,function(t){var e=typeof t=="string",n=Array.prototype.slice.call(arguments,1),r=this;return e?this.length||t!=="instance"?this.each(function(){var a,d=i(this).attr("type"),_=i.data(this,"ui-"+(d!=="checkbox"&&d!=="radio"?"button":"checkboxradio"));return t==="instance"?(r=_,!1):_?typeof _[t]!="function"||t.charAt(0)==="_"?i.error("no such method '"+t+"' for button widget instance"):(a=_[t].apply(_,n))!==_&&a!==void 0?(r=a&&a.jquery?r.pushStack(a.get()):a,!1):void 0:i.error("cannot call methods on button prior to initialization; attempted to call method '"+t+"'")}):r=void 0:(n.length&&(t=i.widget.extend.apply(null,[t].concat(n))),this.each(function(){var a=i(this).attr("type"),d=a!=="checkbox"&&a!=="radio"?"button":"checkboxradio",_=i.data(this,"ui-"+d);if(_)_.option(t||{}),_._init&&_._init();else{if(d==="button"){K.call(i(this),t);return}i(this).checkboxradio(i.extend({icon:!1},t))}})),r}),i.fn.buttonset=function(){return i.ui.controlgroup||i.error("Controlgroup widget missing"),arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):arguments[0]==="option"&&arguments[1]==="items"?this.controlgroup.apply(this,[arguments[0],"items.button"]):(typeof arguments[0]=="object"&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),i.ui.button,i.extend(i.ui,{datepicker:{version:"1.14.2"}}),i.extend(ut.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return Xt(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var n,r,a;r=(n=t.nodeName.toLowerCase())==="div"||n==="span",t.id||(this.uuid+=1,t.id="dp"+this.uuid),(a=this._newInst(i(t),r)).settings=i.extend({},e||{}),n==="input"?this._connectDatepicker(t,a):r&&this._inlineDatepicker(t,a)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?vt(i("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var n=i(t);e.append=i([]),e.trigger=i([]),!n.hasClass(this.markerClassName)&&(this._attachments(n,e),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(e),i.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var n,r,a,d=this._get(e,"appendText"),_=this._get(e,"isRTL");e.append&&e.append.remove(),d&&(e.append=i("<span>").addClass(this._appendClass).text(d),t[_?"before":"after"](e.append)),t.off("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),((n=this._get(e,"showOn"))==="focus"||n==="both")&&t.on("focus",this._showDatepicker),(n==="button"||n==="both")&&(r=this._get(e,"buttonText"),a=this._get(e,"buttonImage"),this._get(e,"buttonImageOnly")?e.trigger=i("<img>").addClass(this._triggerClass).attr({src:a,alt:r,title:r}):(e.trigger=i("<button type='button'>").addClass(this._triggerClass),a?e.trigger.html(i("<img>").attr({src:a,alt:r,title:r})):e.trigger.text(r)),t[_?"before":"after"](e.trigger),e.trigger.on("click",function(){return i.datepicker._datepickerShowing&&i.datepicker._lastInput===t[0]?i.datepicker._hideDatepicker():(i.datepicker._datepickerShowing&&i.datepicker._lastInput!==t[0]&&i.datepicker._hideDatepicker(),i.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,n,r,a,d=new Date(2009,11,20),_=this._get(t,"dateFormat");_.match(/[DM]/)&&(e=function(h){for(a=0,n=0,r=0;a<h.length;a++)h[a].length>n&&(n=h[a].length,r=a);return r},d.setMonth(e(this._get(t,_.match(/MM/)?"monthNames":"monthNamesShort"))),d.setDate(e(this._get(t,_.match(/DD/)?"dayNames":"dayNamesShort"))+20-d.getDay())),t.input.attr("size",this._formatDate(t,d).length)}},_inlineDatepicker:function(t,e){var n=i(t);!n.hasClass(this.markerClassName)&&(n.addClass(this.markerClassName).append(e.dpDiv),i.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,n,r,a){var d,_,h,f,w,k=this._dialogInst;return k||(this.uuid+=1,d="dp"+this.uuid,this._dialogInput=i("<input type='text' id='"+d+"' style='position: absolute; top: -100px; width: 0px;'/>
19"),this._dialogInput.on("keydown",this._doKeyDown),i("body").append(this._dialogInput),(k=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},i.data(this._dialogInput[0],"datepicker",k)),Xt(k.settings,r||{}),e=e&&e.constructor===Date?this._formatDate(k,e):e,this._dialogInput.val(e),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(_=document.documentElement.clientWidth,h=document.documentElement.clientHeight,f=document.documentElement.scrollLeft||document.body.scrollLeft,w=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[_/2-100+f,h/2-150+w]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),k.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),i.blockUI&&i.blockUI(this.dpDiv),i.data(this._dialogInput[0],"datepicker",k),this},_destroyDatepicker:function(t){var e,n=i(t),r=i.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),i.removeData(t,"datepicker"),e==="input"?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):(e==="div"||e==="span")&&n.removeClass(this.markerClassName).empty(),i.datepicker._hideDatepicker(),j===r&&(j=null,this._curInst=null))},_enableDatepicker:function(t){var e,n,r=i(t),a=i.data(t,"datepicker");r.hasClass(this.markerClassName)&&((e=t.nodeName.toLowerCase())==="input"?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):(e==="div"||e==="span")&&((n=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=i.map(this._disabledInputs,function(d){return d===t?null:d}))},_disableDatepicker:function(t){var e,n,r=i(t),a=i.data(t,"datepicker");r.hasClass(this.markerClassName)&&((e=t.nodeName.toLowerCase())==="input"?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):(e==="div"||e==="span")&&((n=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=i.map(this._disabledInputs,function(d){return d===t?null:d}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return i.data(t,"datepicker")}catch{throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,n){var r,a,d,_,h=this._getInst(t);if(arguments.length==2&&typeof e=="string")return e==="defaults"?i.extend({},i.datepicker._defaults):h?e==="all"?i.extend({},h.settings):this._get(h,e):null;r=e||{},typeof e=="string"&&((r={})[e]=n),h&&(this._curInst===h&&this._hideDatepicker(),a=this._getDateDatepicker(t,!0),d=this._getMinMaxDate(h,"min"),_=this._getMinMaxDate(h,"max"),Xt(h.settings,r),d!==null&&r.dateFormat!==void 0&&r.minDate===void 0&&(h.settings.minDate=this._formatDate(h,d)),_!==null&&r.dateFormat!==void 0&&r.maxDate===void 0&&(h.settings.maxDate=this._formatDate(h,_)),"disabled"in r&&(r.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(i(t),h),this._autoSize(h),this._setDate(h,a),this._updateAlternate(h),this._updateDatepicker(h))},_changeDatepicker:function(t,e,n){this._optionDatepicker(t,e,n)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var n=this._getInst(t);n&&(this._setDate(n,e),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(t,e){var n=this._getInst(t);return n&&!n.inline&&this._setDateFromField(n,e),n?this._getDate(n):null},_doKeyDown:function(t){var e,n,r,a=i.datepicker._getInst(t.target),d=!0,_=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,i.datepicker._datepickerShowing)switch(t.keyCode){case 9:i.datepicker._hideDatepicker(),d=!1;break;case 13:return(r=i("td."+i.datepicker._dayOverClass+":not(."+i.datepicker._currentClass+")",a.dpDiv))[0]&&i.datepicker._selectDay(t.target,a.selectedMonth,a.selectedYear,r[0]),(e=i.datepicker._get(a,"onSelect"))?(n=i.datepicker._formatDate(a),e.apply(a.input?a.input[0]:null,[n,a])):i.datepicker._hideDatepicker(),!1;case 27:i.datepicker._hideDatepicker();break;case 33:i.datepicker._adjustDate(t.target,t.ctrlKey?-i.datepicker._get(a,"stepBigMonths"):-i.datepicker._get(a,"stepMonths"),"M");break;case 34:i.datepicker._adjustDate(t.target,t.ctrlKey?+i.datepicker._get(a,"stepBigMonths"):+i.datepicker._get(a,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&i.datepicker._clearDate(t.target),d=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&i.datepicker._gotoToday(t.target),d=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&i.datepicker._adjustDate(t.target,_?1:-1,"D"),d=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&i.datepicker._adjustDate(t.target,t.ctrlKey?-i.datepicker._get(a,"stepBigMonths"):-i.datepicker._get(a,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&i.datepicker._adjustDate(t.target,-7,"D"),d=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&i.datepicker._adjustDate(t.target,_?-1:1,"D"),d=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&i.datepicker._adjustDate(t.target,t.ctrlKey?+i.datepicker._get(a,"stepBigMonths"):+i.datepicker._get(a,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&i.datepicker._adjustDate(t.target,7,"D"),d=t.ctrlKey||t.metaKey;break;default:d=!1}else t.keyCode===36&&t.ctrlKey?i.datepicker._showDatepicker(this):d=!1;d&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,n,r=i.datepicker._getInst(t.target);if(i.datepicker._get(r,"constrainInput"))return e=i.datepicker._possibleChars(i.datepicker._get(r,"dateFormat")),n=String.fromCharCode(t.charCode==null?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||n<" "||!e||e.indexOf(n)>-1},_doKeyUp:function(t){var e=i.datepicker._getInst(t.target);if(e.input.val()!==e.lastVal)try{i.datepicker.parseDate(i.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,i.datepicker._getFormatConfig(e))&&(i.datepicker._setDateFromField(e),i.datepicker._updateAlternate(e),i.datepicker._updateDatepicker(e))}catch{}return!0},_showDatepicker:function(t){var e,n,r,a,d,_,h;(t=t.target||t).nodeName.toLowerCase()!=="input"&&(t=i("input",t.parentNode)[0]),!i.datepicker._isDisabledDatepicker(t)&&i.datepicker._lastInput!==t&&(e=i.datepicker._getInst(t),i.datepicker._curInst&&i.datepicker._curInst!==e&&(i.datepicker._curInst.dpDiv.stop(!0,!0),e&&i.datepicker._datepickerShowing&&i.datepicker._hideDatepicker(i.datepicker._curInst.input[0])),(r=(n=i.datepicker._get(e,"beforeShow"))?n.apply(t,[t,e]):{})!==!1&&(Xt(e.settings,r),e.lastVal=null,i.datepicker._lastInput=t,i.datepicker._setDateFromField(e),i.datepicker._inDialog&&(t.value=""),i.datepicker._pos||(i.datepicker._pos=i.datepicker._findPos(t),i.datepicker._pos[1]+=t.offsetHeight),a=!1,i(t).parents().each(function(){return!(a|=i(this).css("position")==="fixed")}),d={left:i.datepicker._pos[0],top:i.datepicker._pos[1]},i.datepicker._pos=null,e.dpDiv.empty(),e.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),i.datepicker._updateDatepicker(e),d=i.datepicker._checkOffset(e,d,a),e.dpDiv.css({position:i.datepicker._inDialog&&i.blockUI?"static":a?"fixed":"absolute",display:"none",left:d.left+"px",to
vendor: 19,918 bytes, line 19
19p:d.top+"px"}),e.inline||(_=i.datepicker._get(e,"showAnim"),h=i.datepicker._get(e,"duration"),e.dpDiv.css("z-index",(function(f){for(var w,k;f.length&&f[0]!==document;){if(((w=f.css("position"))==="absolute"||w==="relative"||w==="fixed")&&!isNaN(k=parseInt(f.css("zIndex"),10))&&k!==0)return k;f=f.parent()}return 0})(i(t))+1),i.datepicker._datepickerShowing=!0,i.effects&&i.effects.effect[_]?e.dpDiv.show(_,i.datepicker._get(e,"showOptions"),h):e.dpDiv[_||"show"](_?h:null),i.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),i.datepicker._curInst=e)))},_updateDatepicker:function(t){this.maxRows=4,j=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var e,n=this._getNumberOfMonths(t),r=n[1],a=t.dpDiv.find("."+this._dayOverClass+" a"),d=i.datepicker._get(t,"onUpdateDatepicker");a.length>0&&te.apply(a.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),r>1&&t.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),t.dpDiv[(n[0]!==1||n[1]!==1?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===i.datepicker._curInst&&i.datepicker._datepickerShowing&&i.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year").first().replaceWith(t.yearshtml),e=t.yearshtml=null},0)),d&&d.apply(t.input?t.input[0]:null,[t])},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")},_checkOffset:function(t,e,n){var r=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),d=t.input?t.input.outerWidth():0,_=t.input?t.input.outerHeight():0,h=document.documentElement.clientWidth+(n?0:i(document).scrollLeft()),f=document.documentElement.clientHeight+(n?0:i(document).scrollTop());return e.left-=this._get(t,"isRTL")?r-d:0,e.left-=n&&e.left===t.input.offset().left?i(document).scrollLeft():0,e.top-=n&&e.top===t.input.offset().top+_?i(document).scrollTop():0,e.left-=Math.min(e.left,e.left+r>h&&h>r?Math.abs(e.left+r-h):0),e.top-=Math.min(e.top,e.top+a>f&&f>a?Math.abs(a+_):0),e},_findPos:function(t){for(var e,n=this._getInst(t),r=this._get(n,"isRTL");t&&(t.type==="hidden"||t.nodeType!==1||i.expr.pseudos.hidden(t));)t=t[r?"previousSibling":"nextSibling"];return[(e=i(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,n,r,a,d=this._curInst;d&&(!t||d===i.data(t,"datepicker"))&&this._datepickerShowing&&(e=this._get(d,"showAnim"),n=this._get(d,"duration"),r=function(){i.datepicker._tidyDialog(d)},i.effects&&i.effects.effect[e]?d.dpDiv.hide(e,i.datepicker._get(d,"showOptions"),n,r):d.dpDiv[e==="slideDown"?"slideUp":e==="fadeIn"?"fadeOut":"hide"](e?n:null,r),e||r(),this._datepickerShowing=!1,(a=this._get(d,"onClose"))&&a.apply(d.input?d.input[0]:null,[d.input?d.input.val():"",d]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),i.blockUI&&(i.unblockUI(),i("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(i.datepicker._curInst){var e=i(t.target),n=i.datepicker._getInst(e[0]);(e[0].id!==i.datepicker._mainDivId&&e.parents("#"+i.datepicker._mainDivId).length===0&&!e.hasClass(i.datepicker.markerClassName)&&!e.closest("."+i.datepicker._triggerClass).length&&i.datepicker._datepickerShowing&&!(i.datepicker._inDialog&&i.blockUI)||e.hasClass(i.datepicker.markerClassName)&&i.datepicker._curInst!==n)&&i.datepicker._hideDatepicker()}},_adjustDate:function(t,e,n){var r=i(t),a=this._getInst(r[0]);!this._isDisabledDatepicker(r[0])&&(this._adjustInstDate(a,e,n),this._updateDatepicker(a))},_gotoToday:function(t){var e,n=i(t),r=this._getInst(n[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(r.selectedDay=(e=new Date).getDate(),r.drawMonth=r.selectedMonth=e.getMonth(),r.drawYear=r.selectedYear=e.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(t,e,n){var r=i(t),a=this._getInst(r[0]);a["selected"+(n==="M"?"Month":"Year")]=a["draw"+(n==="M"?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(r)},_selectDay:function(t,e,n,r){var a,d=i(t);!(i(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(d[0]))&&((a=this._getInst(d[0])).selectedDay=a.currentDay=parseInt(i("a",r).attr("data-date")),a.selectedMonth=a.currentMonth=e,a.selectedYear=a.currentYear=n,this._selectDate(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(t){var e=i(t);this._selectDate(e,"")},_selectDate:function(t,e){var n,r=i(t),a=this._getInst(r[0]);e=e??this._formatDate(a),a.input&&a.input.val(e),this._updateAlternate(a),(n=this._get(a,"onSelect"))?n.apply(a.input?a.input[0]:null,[e,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],typeof a.input[0]!="object"&&a.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var e,n,r,a=this._get(t,"altField");a&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),r=this.formatDate(e,n,this._getFormatConfig(t)),i(document).find(a).val(r))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,n=new Date(t.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),e=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((e-n)/864e5)/7)+1},parseDate:function(t,e,n){if(t==null||e==null)throw"Invalid arguments";if((e=typeof e=="object"?e.toString():e+"")==="")return null;var r,a,d,_,h=0,f=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,w=typeof f!="string"?f:new Date().getFullYear()%100+parseInt(f,10),k=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,D=(n?n.dayNames:null)||this._defaults.dayNames,M=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,P=(n?n.monthNames:null)||this._defaults.monthNames,L=-1,V=-1,q=-1,nt=-1,st=!1,E=function(Mt){var G=r+1<t.length&&t.charAt(r+1)===Mt;return G&&r++,G},X=function(Mt){var G=E(Mt),Lt=Mt==="@"?14:Mt==="!"?20:Mt==="y"&&G?4:Mt==="o"?3:2,ue=RegExp("^\\d{"+(Mt==="y"?Lt:1)+","+Lt+"}"),gt=e.substring(h).match(ue);if(!gt)throw"Missing number at position "+h;return h+=gt[0].length,parseInt(gt[0],10)},Et=function(Mt,G,Lt){var ue=-1,gt=i.map(E(Mt)?Lt:G,function(de,ce){return[[ce,de]]}).sort(function(de,ce){return-(de[1].length-ce[1].length)});if(i.each(gt,function(de,ce){var ee=ce[1];if(e.substr(h,ee.length).toLowerCase()===ee.toLowerCase())return ue=ce[0],h+=ee.length,!1}),ue!==-1)return ue+1;throw"Unknown name at position "+h},Rt=function(){if(e.charAt(h)!==t.charAt(r))throw"Unexpected literal at position "+h;h++};for(r=0;r<t.length;r++)if(st)t.charAt(r)!=="'"||E("'")?Rt():st=!1;else switch(t.charAt(r)){case"d":q=X("d");break;case"D":Et("D",k,D);break;case"o":nt=X("o");break;case"m":V=X("m");break;case"M":V=Et("M",M,P);break;case"y":L=X("y");break;case"@":L=(_=new Date(X("@"))).getFullYear(),V=_.getMonth()+1,q=_.getDate();break;case"!":L=(_=new Date((X("!")-this._ticksTo1970)/1e4)).getFullYear(),V=_.getMonth()+1,q=_.getDate();break;case"'":E("'")?Rt():st=!0;break;default:Rt()}if(h<e.length&&(d=e.substr(h),!/^\s+/.test(d)))throw"Extra/unparsed characters found in date: "+d;if(L===-1?L=new Date().getFullYear():L<100&&(L+=new Date().getFullYear()-new Date().getFullYear()%100+(L<=w?0:-100)),nt>-1){V=1,q=nt;do{if(q<=(a=this._getDaysInMonth(L,V-1)))break;V++,q-=a}while(!0)}if((_=this._daylightSavingAdjust(new Date(L,V-1,q))).getFullYear()!==L||_.getMonth()+1!==V||_.getDate()!==q)throw"Invalid date";return _},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*864e9,formatDate:function(t,e,n){if(!e)return"";var r,a=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,d=(n?n.dayNames:null)||this._defaults.dayNames,_=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,h=(n?n.monthNames:null)||this._defaults.monthNames,f=function(P){var L=r+1<t.length&&t.charAt(r+1)===P;return L&&r++,L},w=function(P,L,V){var q=""+L;if(f(P))for(;q.length<V;)q="0"+q;return q},k=function(P,L,V,q){return f(P)?q[L]:V[L]},D="",M=!1;if(e)for(r=0;r<t.length;r++)if(M)t.charAt(r)!=="'"||f("'")?D+=t.charAt(r):M=!1;else switch(t.charAt(r)){case"d":D+=w("d",e.getDate(),2);break;case"D":D+=k("D",e.getDay(),a,d);break;case"o":D+=w("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":D+=w("m",e.getMonth()+1,2);break;case"M":D+=k("M",e.getMonth(),_,h);break;case"y":D+=f("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":D+=e.getTime();break;case"!":D+=1e4*e.getTime()+this._ticksTo1970;break;case"'":f("'")?D+="'":M=!0;break;default:D+=t.charAt(r)}return D},_possibleChars:function(t){var e,n="",r=!1,a=function(d){var _=e+1<t.length&&t.charAt(e+1)===d;return _&&e++,_};for(e=0;e<t.length;e++)if(r)t.charAt(e)!=="'"||a("'")?n+=t.charAt(e):r=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":n+="0123456789";break;case"D":case"M":return null;case"'":a("'")?n+="'":r=!0;break;default:n+=t.charAt(e)}return n},_get:function(t,e){return t.settings[e]!==void 0?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var n=this._get(t,"dateFormat"),r=t.lastVal=t.input?t.input.val():null,a=this._getDefaultDate(t),d=a,_=this._getFormatConfig(t);try{d=this.parseDate(n,r,_)||a}catch{r=e?"":r}t.selectedDay=d.getDate(),t.drawMonth=t.selectedMonth=d.getMonth(),t.drawYear=t.selectedYear=d.getFullYear(),t.currentDay=r?d.getDate():0,t.currentMonth=r?d.getMonth():0,t.currentYear=r?d.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(t,e,n){var r,a=e==null||e===""?n:typeof e=="string"?(function(d){try{return i.datepicker.parseDate(i.datepicker._get(t,"dateFormat"),d,i.datepicker._getFormatConfig(t))}catch{}for(var _=(d.toLowerCase().match(/^c/)?i.datepicker._getDate(t):null)||new Date,h=_.getFullYear(),f=_.getMonth(),w=_.getDate(),k=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,D=k.exec(d);D;){switch(D[2]||"d"){case"d":case"D":w+=parseInt(D[1],10);break;case"w":case"W":w+=7*parseInt(D[1],10);break;case"m":case"M":f+=parseInt(D[1],10),w=Math.min(w,i.datepicker._getDaysInMonth(h,f));break;case"y":case"Y":h+=parseInt(D[1],10),w=Math.min(w,i.datepicker._getDaysInMonth(h,f))}D=k.exec(d)}return new Date(h,f,w)})(e):typeof e=="number"?isNaN(e)?n:((r=new Date).setDate(r.getDate()+e),r):new Date(e.getTime());return(a=a&&a.toString()==="Invalid Date"?n:a)&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,n){var r=!e,a=t.selectedMonth,d=t.selectedYear,_=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=_.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=_.getMonth(),t.drawYear=t.selectedYear=t.currentYear=_.getFullYear(),a===t.selectedMonth&&d===t.selectedYear||n||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(r?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&t.input.val()===""?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){i(this).on(this.getAttribute("data-event"),{prev:function(){i.datepicker._adjustDate(n,-e,"M")},next:function(){i.datepicker._adjustDate(n,+e,"M")},hide:function(){i.datepicker._hideDatepicker()},today:function(){i.datepicker._gotoToday(n)},selectDay:function(){return i.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return i.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return i.datepicker._selectMonthYear(n,this,"Y"),!1}}[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,n,r,a,d,_,h,f,w,k,D,M,P,L,V,q,nt,st,E,X,Et,Rt,Mt,G,Lt,ue,gt,de,ce,ee,pe,me,oe,Pt,_e,De,Oe,Te,ye,ie=new Date,xe=this._daylightSavingAdjust(new Date(ie.getFullYear(),ie.getMonth(),ie.getDate())),Se=this._get(t,"isRTL"),gi=this._get(t,"showButtonPanel"),Me=this._get(t,"hideIfNoPrevNext"),ge=this._get(t,"navigationAsDateFormat"),Ae=this._getNumberOfMonths(t),Ii=this._get(t,"showCurrentAtPos"),vi=this._get(t,"stepMonths"),ri=Ae[0]!==1||Ae[1]!==1,ze=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),He=this._getMinMaxDate(t,"min"),Fe=this._getMinMaxDate(t,"max"),ae=t.drawMonth-Ii,be=t.drawYear;if(ae<0&&(ae+=12,be--),Fe)for(e=this._daylightSavingAdjust(new Date(Fe.getFullYear(),Fe.getMonth()-Ae[0]*Ae[1]+1,Fe.getDate())),e=He&&e<He?He:e;this._daylightSavingAdjust(new Date(be,ae,1))>e;)--ae<0&&(ae=11,be--);for(t.drawMonth=ae,t.drawYear=be,n=this._get(t,"prevText"),n=ge?this.formatDate(n,this._daylightSavingAdjust(new Date(be,ae-vi,1)),this._getFormatConfig(t)):n,r=this._canAdjustMonth(t,-1,be,ae)?i("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:n}).append(i("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(Se?"e":"w")).text(n))[0].outerHTML:Me?"":i("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:n}).append(i("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(Se?"e":"w")).text(n))[0].outerHTML,a=this._get(t,"nextText"),a=ge?this.formatDate(a,this._daylightSavingAdjust(new Date(be,ae+vi,1)),this._getFormatConfig(t)):a,d=this._canAdjustMonth(t,1,be,ae)?i("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:a}).append(i("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(Se?"w":"e")).text(a))[0].outerHTML:Me?"":i("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:a}).append(i("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(Se?"w":"e")).text(a))[0].outerHTML,_=this._get(t,"currentText"),h=this._get(t,"gotoCurrent")&&t.currentDay?ze:xe,_=ge?this.formatDate(_,h,this._getFormatConfig(t)):_,f="",t.inline||(f=i("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(t,"closeText"))[0].outerHTML),w="",gi&&(w=i("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(Se?f:"").append(this._isInRange(t,h)?i("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(_):"").append(Se?"":f)[0].outerHTML),k=isNaN(k=parseInt(this._get(t,"firstDay"),10))?0:k,D=this._get(t,"showWeek"),M=this._get(t,"dayNames"),P=this._get(t,"dayNamesMin"),L=this._get(t,"monthNames"),V=this._get(t,"monthNamesShort"),q=this._get(t,"beforeShowDay"),nt=this._get(t,"showOtherMonths"),st=this._get(t,"selectOtherMonths"),E=this._getDefaultDate(t),X="",Rt=0;Rt<Ae[0];Rt++){for(G=0,Mt="",this.maxRows=4;G<Ae[1];G++){if(Lt=this._daylightSavingAdjust(new Date(be,ae,t.selectedDay)),ue=" ui-corner-all",gt="",ri){if(gt+="<div class='ui-datepicker-group",Ae[1]>1)switch(G){case 0:gt+=" ui-datepicker-group-first",ue=" ui-corner-"+(Se?"right":"left");break;case Ae[1]-1:gt+=" ui-datepicker-group-last",ue=" ui-corner-"+(Se?"left":"right");break;default:gt+=" ui-datepicker-group-middle",ue=""}gt+="'>"}for(gt+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+ue+"'>"+(/all|left/.test(ue)&&Rt===0?Se?d:r:"")+(/all|right/.test(ue)&&Rt===0?Se?r:d:"")+this._generateMonthYearHeader(t,ae,be,He,Fe,Rt>0||G>0,L,V)+"</div><table class='ui-datepicker-calendar'><thead><tr>",de=D?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",Et=0;Et<7;Et++)ce=(Et+k)%7,de+="<th scope='col'"+((Et+k+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+M[ce]+"'>"+P[ce]+"</span></th>";for(gt+=de+"</tr></thead><tbody>",ee=this._getDaysInMonth(be,ae),be===t.selectedYear&&ae===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,ee)),me=Math.ceil(((pe=(this._getFirstDayOfMonth(be,ae)-k+7)%7)+ee)/7),oe=ri&&this.maxRows>me?this.maxRows:me,this.maxRows=oe,Pt=this._daylightSavingAdjust(new Date(be,ae,1-pe)),_e=0;_e<oe;_e++){for(gt+="<tr>",De=D?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(Pt)+"</td>":"",Et=0;Et<7;Et++)Oe=q?q.apply(t.input?t.input[0]:null,[Pt]):[!0,""],ye=(Te=Pt.getMonth()!==ae)&&!st||!Oe[0]||He&&Pt<He||Fe&&Pt>Fe,De+="<td class='"+((Et+k+6)%7>=5?" ui-datepicker-week-end":"")+(Te?" ui-datepicker-other-month":"")+(Pt.getTime()===Lt.getTime()&&ae===t.selectedMonth&&t._keyEvent||E.getTime()===Pt.getTime()&&E.getTime()===Lt.getTime()?" "+this._dayOverClass:"")+(ye?" "+this._unselectableClass+" ui-state-disabled":"")+(Te&&!nt?"":" "+Oe[1]+(Pt.getTime()===ze.getTime()?" "+this._currentClass:"")+(Pt.getTime()===xe.getTime()?" ui-datepicker-today":""))+"'"+((!Te||nt)&&Oe[2]?" title='"+Oe[2].replace(/'/g,"&#39;")+"'":"")+(ye?"":" data-handler='selectDay' data-event='click' data-month='"+Pt.getMonth()+"' data-year='"+Pt.getFullYear()+"'")+">"+(Te&&!nt?"&#xa0;":ye?"<span class='ui-state-default'>"+Pt.getDate()+"</span>":"<a class='ui-state-default"+(Pt.getTime()===xe.getTime()?" ui-state-highlight":"")+(Pt.getTime()===ze.getTime()?" ui-state-active":"")+(Te?" ui-priority-secondary":"")+"' href='#' aria-current='"+(Pt.getTime()===ze.getTime()?"true":"false")+"' data-date='"+Pt.getDate()+"'>"+Pt.getDate()+"</a>")+"</td>",Pt.setDate(Pt.getDate()+1),Pt=this._daylightSavingAdjust(Pt);gt+=De+"</tr>"}++ae>11&&(ae=0,be++),gt+="</tbody></table>"+(ri?"</div>"+(Ae[0]>0&&G===Ae[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),Mt+=gt}X+=Mt}return X+=w,t._keyEvent=!1,X},_generateMonthYearHeader:function(t,e,n,r,a,d,_,h){var f,w,k,D,M,P,L,V,q=this._get(t,"changeMonth"),nt=this._get(t,"changeYear"),st=this._get(t,"showMonthAfterYear"),E=this._get(t,"selectMonthLabel"),X=this._get(t,"selectYearLabel"),Et="<div class='ui-datepicker-title'>",Rt="";if(d||!q)Rt+="<span class='ui-datepicker-month'>"+_[e]+"</span>";else{for(f=r&&r.getFullYear()===n,w=a&&a.getFullYear()===n,Rt+="<select class='ui-datepicker-month' aria-label='"+E+"' data-handler='selectMonth' data-event='change'>",k=0;k<12;k++)(!f||k>=r.getMonth())&&(!w||k<=a.getMonth())&&(Rt+="<option value='"+k+"'"+(k===e?" selected='selected'":"")+">"+h[k]+"</option>");Rt+="</select>"}if(st||(Et+=Rt+(d||!(q&&nt)?"&#xa0;":"")),!t.yearshtml)if(t.yearshtml="",d||!nt)Et+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(D=this._get(t,"yearRange").split(":"),M=new Date().getFullYear(),V=Math.max(L=(P=function(Mt){var G=Mt.match(/c[+\-].*/)?n+parseInt(Mt.substring(1),10):Mt.match(/[+\-].*/)?M+parseInt(Mt,10):parseInt(Mt,10);return isNaN(G)?M:G})(D[0]),P(D[1]||"")),L=r?Math.max(L,r.getFullYear()):L,V=a?Math.min(V,a.getFullYear()):V,t.yearshtml+="<select class='ui-datepicker-year' aria-label='"+X+"' data-handler='selectYear' data-event='change'>";L<=V;L++)t.yearshtml+="<option value='"+L+"'"+(L===n?" selected='selected'":"")+">"+L+"</option>";t.yearshtml+="</select>",Et+=t.yearshtml,t.yearshtml=null}return Et+=this._get(t,"yearSuffix"),st&&(Et+=(d||!(q&&nt)?"&#xa0;":"")+Rt),Et+="</div>"}
vendor: 22,340 bytes, line 19
19,_adjustInstDate:function(t,e,n){var r=t.selectedYear+(n==="Y"?e:0),a=t.selectedMonth+(n==="M"?e:0),d=Math.min(t.selectedDay,this._getDaysInMonth(r,a))+(n==="D"?e:0),_=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(r,a,d)));t.selectedDay=_.getDate(),t.drawMonth=t.selectedMonth=_.getMonth(),t.drawYear=t.selectedYear=_.getFullYear(),(n==="M"||n==="Y")&&this._notifyChange(t)},_restrictMinMax:function(t,e){var n=this._getMinMaxDate(t,"min"),r=this._getMinMaxDate(t,"max"),a=n&&e<n?n:e;return r&&a>r?r:a},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return e==null?[1,1]:typeof e=="number"?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,n,r){var a=this._getNumberOfMonths(t),d=this._daylightSavingAdjust(new Date(n,r+(e<0?e:a[0]*a[1]),1));return e<0&&d.setDate(this._getDaysInMonth(d.getFullYear(),d.getMonth())),this._isInRange(t,d)},_isInRange:function(t,e){var n,r,a=this._getMinMaxDate(t,"min"),d=this._getMinMaxDate(t,"max"),_=null,h=null,f=this._get(t,"yearRange");return f&&(n=f.split(":"),r=new Date().getFullYear(),_=parseInt(n[0],10),h=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(_+=r),n[1].match(/[+\-].*/)&&(h+=r)),(!a||e.getTime()>=a.getTime())&&(!d||e.getTime()<=d.getTime())&&(!_||e.getFullYear()>=_)&&(!h||e.getFullYear()<=h)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e=typeof e!="string"?e:new Date().getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,n,r){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var a=e?typeof e=="object"?e:this._daylightSavingAdjust(new Date(r,n,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),a,this._getFormatConfig(t))}}),i.fn.datepicker=function(t){if(!this.length)return this;i.datepicker.initialized||(i(document).on("mousedown",i.datepicker._checkExternalClick),i.datepicker.initialized=!0),i("#"+i.datepicker._mainDivId).length===0&&i("body").append(i.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return typeof t=="string"&&(t==="isDisabled"||t==="getDate"||t==="widget")||t==="option"&&arguments.length==2&&typeof arguments[1]=="string"?i.datepicker["_"+t+"Datepicker"].apply(i.datepicker,[this[0]].concat(e)):this.each(function(){typeof t=="string"?i.datepicker["_"+t+"Datepicker"].apply(i.datepicker,[this].concat(e)):i.datepicker._attachDatepicker(this,t)})},i.datepicker=new ut,i.datepicker.initialized=!1,i.datepicker.uuid=new Date().getTime(),i.datepicker.version="1.14.2",i.datepicker;var Vt=!1;function Ut(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}i(document).on("mouseup",function(){Vt=!1}),i.widget("ui.mouse",{version:"1.14.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(i.data(e.target,t.widgetName+".preventClickEvent")===!0)return i.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!Vt){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,n=t.which===1,r=typeof this.options.cancel=="string"&&i(t.target).closest(this.options.cancel).length;return!(n&&!r&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?t.preventDefault():(i.data(t.target,this.widgetName+".preventClickEvent")===!0&&i.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return e._mouseMove(a)},this._mouseUpDelegate=function(a){return e._mouseUp(a)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),Vt=!0),!0)}},_mouseMove:function(t){if(this._mouseMoved&&!t.which){if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&i.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,Vt=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),i.ui.plugin={add:function(t,e,n){var r,a=i.ui[t].prototype;for(r in n)a.plugins[r]=a.plugins[r]||[],a.plugins[r].push([e,n[r]])},call:function(t,e,n,r){var a,d=t.plugins[e];if(d&&(r||t.element[0].parentNode&&t.element[0].parentNode.nodeType!==11))for(a=0;a<d.length;a++)t.options[d[a][0]]&&d[a][1].apply(t.element,n)}},i.widget("ui.draggable",i.ui.mouse,{version:"1.14.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){this.options.helper==="original"&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),t==="handle"&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=!0;return}this._removeHandleClassName(),this._mouseDestroy()},_mouseCapture:function(t){var e=this.options;return!this.helper&&!e.disabled&&!(i(t.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(e.iframeFix===!0?"iframe":e.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var e=i(this);return i("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=this.document[0].activeElement;!i(t.target).closest(e).length&&i(e).trigger("blur")},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),i.ui.ddmanager&&(i.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return i(this).css("position")==="fixed"}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),i.ui.ddmanager&&!e.dropBehaviour&&i.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),i.ui.ddmanager&&i.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){var n=this._uiHash();if(this._trigger("drag",t,n)===!1)return this._mouseUp(new i.Event("mouseup",t)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",i.ui.ddmanager&&i.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,n=!1;return i.ui.ddmanager&&!this.options.dropBehaviour&&(n=i.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1),this.options.revert==="invalid"&&!n||this.options.revert==="valid"&&n||this.options.revert===!0||typeof this.options.revert=="function"&&this.options.revert.call(this.element,n)?i(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){e._trigger("stop",t)!==!1&&e._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),i.ui.ddmanager&&i.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),i.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new i.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!i(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,n=typeof e.helper=="function",r=n?i(e.helper.apply(this.element[0],[t])):e.helper==="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(e.appendTo==="parent"?this.element[0].parentNode:e.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return this.cssPosition==="absolute"&&this.scrollParent[0]!==e&&i.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative")return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,n,r=this.options,a=this.document[0];if(this.relativeContainer=null,!r.containment){this.containment=null;return}if(r.containment==="window"){this.containment=[i(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,i(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,i(window).scrollLeft()+i(window).width()-this.helperProportions.width-this.margins.left,i(window).scrollTop()+(i(window).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(r.containment==="document"){this.containment=[0,0,i(a).width()-this.helperProportions.width-this.margins.left,(i(a).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(r.containment.constructor===Array){this.containment=r.containment;return}r.containment==="parent"&&(r.containment=this.helper[0].parentNode),(n=(e=i(r.containment))[0])&&(t=/(scroll|auto)/.test(e.css("overflow")),this.containment=[(parseInt(e.css("borderLeftWidth"),10)||0)+(parseInt(e.css("paddingLeft"),10)||0),(parseInt(e.css("borderTopWidth"),10)||0)+(parseInt(e.css("paddingTop"),10)||0),(t?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e.css("borderRightWidth"),10)||0)-(parseInt(e.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e.css("borderBottomWidth"),10)||0)-(parseInt(e.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=e)},_convertPositionTo:function(t,e){e||(e=this.position);var n=t==="absolute"?1:-1,r=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*n+this.offset.parent.top*n-(this.cssPosition==="fixed"?-this.offset.scroll.top:r?0:this.offset.scroll.top)*n,left:e.left+this.offset.relative.left*n+this.offset.parent.left*n-(this.cssPosition==="fixed"?-this.offset.scroll.left:r?0:this.offset.scroll.left)*n}},_generatePosition:function(t,e){var n,r,a,d,_=this.options,h=this._isRootNode(this.scrollParent[0]),f=t.pageX,w=t.pageY;return h&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(r=this.relativeContainer.offset(),n=[this.containment[0]+r.left,this.containment[1]+r.top,this.containment[2]+r.left,this.containment[3]+r.top]):n=this.containment,t.pageX-this.offset.click.left<n[0]&&(f=n[0]+this.offset.click.left),t.pageY-this.offset.click.top<n[1]&&(w=n[1]+this.offset.click.top),t.pageX-this.offset.click.left>n[2]&&(f=n[2]+this.offset.click.left),t.pageY-this.offset.click.top>n[3]&&(w=n[3]+this.offset.click.top)),_.grid&&(a=_.grid[1]?this.originalPageY+Math.round((w-this.originalPageY)/_.grid[1])*_.grid[1]:this.originalPageY,w=n?a-this.offset.click.top>=n[1]||a-this.offset.click.top>n[3]?a:a-this.offset.click.top>=n[1]?a-_.grid[1]:a+_.grid[1]:a,d=_.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/_.grid[0])*_.grid[0]:this.originalPageX,f=n?d-this.offset.click.left>=n[0]||d-this.offset.click.left>n[2]?d:d-this.offset.click.left>=n[0]?d-_.grid[0]:d+_.grid[0]:d),_.axis==="y"&&(f=this.originalPageX),_.axis==="x"&&(w=this.originalPageY)),{top:w-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:h?0:this.offset.scroll.top),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:h?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,n){return n=n||this._uiHash(),i.ui.plugin.call(this,t,[e,n,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),i.Widget.prototype._trigger.call(this,t,e,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),i.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,n){var r=i.extend({},e,{item:n.element});n.sortables=[],i(n.options.connectToSortable).each(function(){var a=i(this).sortable("instance");a&&!a.options.disabled&&(n.sortables.push(a),a.refreshPositions(),a._trigger("activate",t,r))})},stop:function(t,e,n){var r=i.extend({},e,{item:n.element});n.cancelHelperRemoval=!1,i.each(n.sortables,function(){this.isOver?(this.isOver=0,n.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(t),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",t,r))})},drag:function(t,e,n){i.each(n.sortables,function(){var r=!1,a=this;a.positionAbs=n.positionAbs,a.helperProportions=n.helperProportions,a.offset.click=n.offset.click,a._intersectsWith(a.containerCache)&&(r=!0,i.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==a&&this._intersectsWith(this.containerCache)&&i.contains(a.element[0],this.element[0])&&(r=!1),r})),r?(a.isOver||(a.isOver=1,n._parent=e.helper.parent(),a.currentItem=e.helper.appendTo(a.element).data("ui-sortable-item",!0),a.options._helper=a.options.helper,a.options.helper=function(){return e.helper[0]},t.target=a.currentItem[0],a._mouseCapture(t,!0),a._mouseStart(t,!0,!0),a.offset.click.top=n.offset.click.top,a.offset.click.left=n.offset.click.left,a.offset.parent.left-=n.offset.parent.left-a.offset.parent.left,a.offset.parent.top-=n.offset.parent.top-a.offset.parent.top,n._trigger("toSortable",t),n.dropped=a.element,i.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,a.fromOutside=n),a.currentItem&&(a._mouseDrag(t),e.position=a.position)):a.isOver&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.revert,a.options.revert=!1,a._trigger("out",t,a._uiHash(a)),a._mouseStop(t,!0),a.options.revert=a.options._revert,a.options.helper=a.options._helper,a.placeholder&&a.placeholder.remove(),e.helper.appendTo(n._parent),n._refreshOffsets(t),e.position=n._generatePosition(t,!0),n._trigger("fromSortable",t),n.dropped=!1,i.each(n.sortables,function(){this.refreshPositions()}))})}}),i.ui.plugin.add("draggable","cursor",{start:function(t,e,n){var r=i("body"),a=n.options;r.css("cursor")&&(a._cursor=r.css("cursor")),r.css("cursor",a.cursor)},stop:function(t,e,n){var r=n.options;r._cursor&&i("body").css("cursor",r._cursor)}}),i.ui.plugin.add("draggable","opacity",{start:function(t,e,n){var r=i(e.helper),a=n.options;r.css("opacity")&&(a._opacity=r.css("opacity")),r.css("opacity",a.opacity)},stop:function(t,e,n){var r=n.options;r._opacity&&i(e.helper).css("opacity",r._opacity)}}),i.ui.plugin.add("draggable","scroll",{start:function(t,e,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&n.scrollParentNotHidden[0].tagName!=="HTML"&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(t,e,n){var r=n.options,a=!1,d=n.scrollParentNotHidden[0],_=n.document[0];d!==_&&d.tagName!=="HTML"?((!r.axis||r.axis!=="x")&&(n.overflowOffset.top+d.offsetHeight-t.pageY<r.scrollSensitivity?d.scrollTop=a=d.scrollTop+r.scrollSpeed:t.pageY-n.overflowOffset.top<r.scrollSensitivity&&(d.scrollTop=a=d.scrollTop-r.scrollSpeed)),(!r.axis||r.axis!=="y")&&(n.overflowOffset.left+d.offsetWidth-t.pageX<r.scrollSensitivity?d.scrollLeft=a=d.scrollLeft+r.scrollSpeed:t.pageX-n.overflowOffset.left<r.scrollSensitivity&&(d.scrollLeft=a=d.scrollLeft-r.scrollSpeed))):((!r.axis||r.axis!=="x")&&(t.pageY-i(_).scrollTop()<r.scrollSensitivity?a=i(_).scrollTop(i(_).scrollTop()-r.scrollSpeed):i(window).height()-(t.pageY-i(_).scrollTop())<r.scrollSensitivity&&(a=i(_).scrollTop(i(_).scrollTop()+r.scrollSpeed))),(!r.axis||r.axis!=="y")&&(t.pageX-i(_).scrollLeft()<r.scrollSensitivity?a=i(_).scrollLeft(i(_).scrollLeft()-r.scrollSpeed):i(window).width()-(t.pageX-i(_).scrollLeft())<r.scrollSensitivity&&(a=i(_).scrollLeft(i(_).scrollLeft()+r.scrollSpeed)))),a!==!1&&i.ui.ddmanager&&!r.dropBehaviour&&i.ui.ddmanager.prepareOffsets(n,t)}}),i.ui.plugin.add("draggable","snap",{start:function(t,e,n){var r=n.options;n.snapElements=[],i(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each(function(){var a=i(this),d=a.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:a.outerWidth(),height:a.outerHeight(),top:d.top,left
vendor: 14,001 bytes, line 19
19:d.left})})},drag:function(t,e,n){var r,a,d,_,h,f,w,k,D,M,P=n.options,L=P.snapTolerance,V=e.offset.left,q=V+n.helperProportions.width,nt=e.offset.top,st=nt+n.helperProportions.height;for(D=n.snapElements.length-1;D>=0;D--){if(f=(h=n.snapElements[D].left-n.margins.left)+n.snapElements[D].width,k=(w=n.snapElements[D].top-n.margins.top)+n.snapElements[D].height,q<h-L||V>f+L||st<w-L||nt>k+L||!i.contains(n.snapElements[D].item.ownerDocument,n.snapElements[D].item)){n.snapElements[D].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,i.extend(n._uiHash(),{snapItem:n.snapElements[D].item})),n.snapElements[D].snapping=!1;continue}P.snapMode!=="inner"&&(r=Math.abs(w-st)<=L,a=Math.abs(k-nt)<=L,d=Math.abs(h-q)<=L,_=Math.abs(f-V)<=L,r&&(e.position.top=n._convertPositionTo("relative",{top:w-n.helperProportions.height,left:0}).top),a&&(e.position.top=n._convertPositionTo("relative",{top:k,left:0}).top),d&&(e.position.left=n._convertPositionTo("relative",{top:0,left:h-n.helperProportions.width}).left),_&&(e.position.left=n._convertPositionTo("relative",{top:0,left:f}).left)),M=r||a||d||_,P.snapMode!=="outer"&&(r=Math.abs(w-nt)<=L,a=Math.abs(k-st)<=L,d=Math.abs(h-V)<=L,_=Math.abs(f-q)<=L,r&&(e.position.top=n._convertPositionTo("relative",{top:w,left:0}).top),a&&(e.position.top=n._convertPositionTo("relative",{top:k-n.helperProportions.height,left:0}).top),d&&(e.position.left=n._convertPositionTo("relative",{top:0,left:h}).left),_&&(e.position.left=n._convertPositionTo("relative",{top:0,left:f-n.helperProportions.width}).left)),!n.snapElements[D].snapping&&(r||a||d||_||M)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,i.extend(n._uiHash(),{snapItem:n.snapElements[D].item})),n.snapElements[D].snapping=r||a||d||_||M}}}),i.ui.plugin.add("draggable","stack",{start:function(t,e,n){var r,a=n.options,d=i.makeArray(i(a.stack)).sort(function(_,h){return(parseInt(i(_).css("zIndex"),10)||0)-(parseInt(i(h).css("zIndex"),10)||0)});d.length&&(r=parseInt(i(d[0]).css("zIndex"),10)||0,i(d).each(function(_){i(this).css("zIndex",r+_)}),this.css("zIndex",r+d.length))}}),i.ui.plugin.add("draggable","zIndex",{start:function(t,e,n){var r=i(e.helper),a=n.options;r.css("zIndex")&&(a._zIndex=r.css("zIndex")),r.css("zIndex",a.zIndex)},stop:function(t,e,n){var r=n.options;r._zIndex&&i(e.helper).css("zIndex",r._zIndex)}}),i.ui.draggable,i.widget("ui.resizable",i.ui.mouse,{version:"1.14.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(t,e){var n,r=!1,a=i(t).css("overflow");if(a==="hidden")return!1;if(a==="scroll"||t[n=e&&e==="left"?"scrollLeft":"scrollTop"]>0)return!0;try{t[n]=1,r=t[n]>0,t[n]=0}catch{}return r},_create:function(){var t,e=this.options,n=this;this._addClass("ui-resizable"),i.extend(this,{_aspectRatio:!!e.aspectRatio,aspectRatio:e.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:e.helper||e.ghost||e.animate?e.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(i("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this._proportionallyResize()),this._setupHandles(),e.autoHide&&i(this.element).on("mouseenter",function(){!e.disabled&&(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){!e.disabled&&(n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide()))}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var t,e=function(n){i(n).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,n,r,a,d=this.options,_=this;if(this.handles=d.handles||(i(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=i(),this._addedHandles=i(),this.handles.constructor===String)for(this.handles==="all"&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},e=0;e<n.length;e++)r="ui-resizable-"+(t=String.prototype.trim.call(n[e])),a=i("<div>"),this._addClass(a,"ui-resizable-handle "+r),a.css({zIndex:d.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(a),this._addedHandles=this._addedHandles.add(a));this._renderAxis=function(h){var f,w,k,D;for(f in h=h||this.element,this.handles)this.handles[f].constructor===String?this.handles[f]=this.element.children(this.handles[f]).first().show():(this.handles[f].jquery||this.handles[f].nodeType)&&(this.handles[f]=i(this.handles[f]),this._on(this.handles[f],{mousedown:_._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(w=i(this.handles[f],this.element),D=/sw|ne|nw|se|n|s/.test(f)?w.outerHeight():w.outerWidth(),k=["padding",/ne|nw|n/.test(f)?"Top":/se|sw|s/.test(f)?"Bottom":/^e$/.test(f)?"Right":"Left"].join(""),h.css(k,D),this._proportionallyResize()),this._handles=this._handles.add(this.handles[f])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){_.resizing||(this.className&&(a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),_.axis=a&&a[1]?a[1]:"se")}),d.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,n,r=!1;for(e in this.handles)((n=i(this.handles[e])[0])===t.target||i.contains(n,t.target))&&(r=!0);return!this.options.disabled&&r},_mouseStart:function(t){var e,n,r,a,d=this.options,_=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),d.containment&&(e+=i(d.containment).scrollLeft()||0,n+=i(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:n},this._helper||(a=this._calculateAdjustedElementDimensions(_)),this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width,height:a.height},this.originalSize=this._helper?{width:_.outerWidth(),height:_.outerHeight()}:{width:a.width,height:a.height},this.sizeDiff={width:_.outerWidth()-_.width(),height:_.outerHeight()-_.height()},this.originalPosition={left:e,top:n},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof d.aspectRatio=="number"?d.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=i(".ui-resizable-"+this.axis).css("cursor"),i("body").css("cursor",r==="auto"?this.axis+"-resize":r),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e,n,r=this.originalMousePosition,a=this.axis,d=t.pageX-r.left||0,_=t.pageY-r.top||0,h=this._change[a];return this._updatePrevProperties(),!!h&&(e=h.apply(this,[t,d,_]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),i.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges()),!1)},_mouseStop:function(t){this.resizing=!1;var e,n,r,a,d,_,h,f=this.options;return this._helper&&(r=(n=(e=this._proportionallyResizeElements).length&&/textarea/i.test(e[0].nodeName))&&this._hasScroll(e[0],"left")?0:this.sizeDiff.height,a=n?0:this.sizeDiff.width,d={width:this.helper.width()-a,height:this.helper.height()-r},_=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,h=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,f.animate||this.element.css(i.extend(d,{top:h,left:_})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!f.animate&&this._proportionallyResize()),i("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.helper.css(t),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px",this.helper.width(t.width)),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px",this.helper.height(t.height)),t},_updateVirtualBoundaries:function(t){var e,n,r,a,d,_=this.options;d={minWidth:this._isNumber(_.minWidth)?_.minWidth:0,maxWidth:this._isNumber(_.maxWidth)?_.maxWidth:1/0,minHeight:this._isNumber(_.minHeight)?_.minHeight:0,maxHeight:this._isNumber(_.maxHeight)?_.maxHeight:1/0},(this._aspectRatio||t)&&(e=d.minHeight*this.aspectRatio,r=d.minWidth/this.aspectRatio,n=d.maxHeight*this.aspectRatio,a=d.maxWidth/this.aspectRatio,e>d.minWidth&&(d.minWidth=e),r>d.minHeight&&(d.minHeight=r),n<d.maxWidth&&(d.maxWidth=n),a<d.maxHeight&&(d.maxHeight=a)),this._vBoundaries=d},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,n=this.size,r=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),r==="sw"&&(t.left=e.left+(n.width-t.width),t.top=null),r==="nw"&&(t.top=e.top+(n.height-t.height),t.left=e.left+(n.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,n=this.axis,r=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,a=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,d=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,_=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,f=this.originalPosition.top+this.originalSize.height,w=/sw|nw|w/.test(n),k=/nw|ne|n/.test(n);return d&&(t.width=e.minWidth),_&&(t.height=e.minHeight),r&&(t.width=e.maxWidth),a&&(t.height=e.maxHeight),d&&w&&(t.left=h-e.minWidth),r&&w&&(t.left=h-e.maxWidth),_&&k&&(t.top=f-e.minHeight),a&&k&&(t.top=f-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,n=[],r=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],a=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)n[e]=parseFloat(r[e])||0,n[e]+=parseFloat(a[e])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_calculateAdjustedElementDimensions:function(t){var e,n,r,a=t.get(0);return t.css("box-sizing")==="content-box"&&(this._hasScroll(a)||this._hasScroll(a,"left"))?(e=parseFloat(a.style.width),n=parseFloat(a.style.height),r=this._getPaddingPlusBorderDimensions(t),e=isNaN(e)?this._getElementTheoreticalSize(t,r,"width"):e,{height:n=isNaN(n)?this._getElementTheoreticalSize(t,r,"height"):n,width:e}):{height:parseFloat(t.css("height")),width:parseFloat(t.css("width"))}},_getElementTheoreticalSize:function(t,e,n){return Math.max(0,Math.ceil(t.get(0)["offset"+n[0].toUpperCase()+n.slice(1)]-e[n]-.5))||0},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,n=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||i("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",to
vendor: 4,352 bytes, line 19
19p:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var n=this.originalSize;return{left:this.originalPosition.left+e,width:n.width-e}},n:function(t,e,n){var r=this.originalSize;return{top:this.originalPosition.top+n,height:r.height-n}},s:function(t,e,n){return{height:this.originalSize.height+n}},se:function(t,e,n){return i.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,n]))},sw:function(t,e,n){return i.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,n]))},ne:function(t,e,n){return i.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,n]))},nw:function(t,e,n){return i.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,n]))}},_propagate:function(t,e){i.ui.plugin.call(this,t,[e,this.ui()]),t!=="resize"&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),i.ui.plugin.add("resizable","animate",{stop:function(t){var e=i(this).resizable("instance"),n=e.options,r=e._proportionallyResizeElements,a=r.length&&/textarea/i.test(r[0].nodeName),d=a&&e._hasScroll(r[0],"left")?0:e.sizeDiff.height,_=a?0:e.sizeDiff.width,h={width:e.size.width-_,height:e.size.height-d},f=parseFloat(e.element.css("left"))+(e.position.left-e.originalPosition.left)||null,w=parseFloat(e.element.css("top"))+(e.position.top-e.originalPosition.top)||null;e.element.animate(i.extend(h,w&&f?{top:w,left:f}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var k={width:parseFloat(e.element.css("width")),height:parseFloat(e.element.css("height")),top:parseFloat(e.element.css("top")),left:parseFloat(e.element.css("left"))};r&&r.length&&i(r[0]).css({width:k.width,height:k.height}),e._updateCache(k),e._propagate("resize",t)}})}}),i.ui.plugin.add("resizable","containment",{start:function(){var t,e,n,r,a,d,_,h=i(this).resizable("instance"),f=h.options,w=h.element,k=f.containment,D=k instanceof i?k.get(0):/parent/.test(k)?w.parent().get(0):k;D&&(h.containerElement=i(D),/document/.test(k)||k===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:i(document),left:0,top:0,width:i(document).width(),height:i(document).height()||document.body.parentNode.scrollHeight}):(t=i(D),e=[],i(["Top","Right","Left","Bottom"]).each(function(M,P){e[M]=h._num(t.css("padding"+P))}),h.containerOffset=t.offset(),h.containerPosition=t.position(),h.containerSize={height:t.innerHeight()-e[3],width:t.innerWidth()-e[1]},n=h.containerOffset,r=h.containerSize.height,a=h.containerSize.width,d=h._hasScroll(D,"left")?D.scrollWidth:a,_=h._hasScroll(D)?D.scrollHeight:r,h.parentData={element:D,left:n.left,top:n.top,width:d,height:_}))},resize:function(t){var e,n,r,a,d=i(this).resizable("instance"),_=d.options,h=d.containerOffset,f=d.position,w=d._aspectRatio||t.shiftKey,k={top:0,left:0},D=d.containerElement,M=!0;D[0]!==document&&/static/.test(D.css("position"))&&(k=h),f.left<(d._helper?h.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-h.left:d.position.left-k.left),w&&(d.size.height=d.size.width/d.aspectRatio,M=!1),d.position.left=_.helper?h.left:0),f.top<(d._helper?h.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-h.top:d.position.top),w&&(d.size.width=d.size.height*d.aspectRatio,M=!1),d.position.top=d._helper?h.top:0),r=d.containerElement.get(0)===d.element.parent().get(0),a=/relative|absolute/.test(d.containerElement.css("position")),r&&a?(d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top):(d.offset.left=d.element.offset().left,d.offset.top=d.element.offset().top),e=Math.abs(d.sizeDiff.width+(d._helper?d.offset.left-k.left:d.offset.left-h.left)),n=Math.abs(d.sizeDiff.height+(d._helper?d.offset.top-k.top:d.offset.top-h.top)),e+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-e,w&&(d.size.height=d.size.width/d.aspectRatio,M=!1)),n+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-n,w&&(d.size.width=d.size.height*d.aspectRatio,M=!1)),M||(
vendor: 9,130 bytes, line 19
19d.position.left=d.prevPosition.left,d.position.top=d.prevPosition.top,d.size.width=d.prevSize.width,d.size.height=d.prevSize.height)},stop:function(){var t=i(this).resizable("instance"),e=t.options,n=t.containerOffset,r=t.containerPosition,a=t.containerElement,d=i(t.helper),_=d.offset(),h=d.outerWidth()-t.sizeDiff.width,f=d.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(a.css("position"))&&i(this).css({left:_.left-r.left-n.left,width:h,height:f}),t._helper&&!e.animate&&/static/.test(a.css("position"))&&i(this).css({left:_.left-r.left-n.left,width:h,height:f})}}),i.ui.plugin.add("resizable","alsoResize",{start:function(){var t=i(this).resizable("instance");i(t.options.alsoResize).each(function(){var e=i(this),n=t._calculateAdjustedElementDimensions(e);e.data("ui-resizable-alsoresize",{width:n.width,height:n.height,left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(t,e){var n=i(this).resizable("instance"),r=n.options,a=n.originalSize,d=n.originalPosition,_={height:n.size.height-a.height||0,width:n.size.width-a.width||0,top:n.position.top-d.top||0,left:n.position.left-d.left||0};i(r.alsoResize).each(function(){var h=i(this),f=i(this).data("ui-resizable-alsoresize"),w={},k=h.parents(e.originalElement[0]).length?["width","height"]:["width","height","top","left"];i.each(k,function(D,M){var P=(f[M]||0)+(_[M]||0);P&&P>=0&&(w[M]=P||null)}),h.css(w)})},stop:function(){i(this).removeData("ui-resizable-alsoresize")}}),i.ui.plugin.add("resizable","ghost",{start:function(){var t=i(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),i.uiBackCompat===!0&&typeof t.options.ghost=="string"&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=i(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=i(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),i.ui.plugin.add("resizable","grid",{resize:function(){var t,e=i(this).resizable("instance"),n=e.options,r=e.size,a=e.originalSize,d=e.originalPosition,_=e.axis,h=typeof n.grid=="number"?[n.grid,n.grid]:n.grid,f=h[0]||1,w=h[1]||1,k=Math.round((r.width-a.width)/f)*f,D=Math.round((r.height-a.height)/w)*w,M=a.width+k,P=a.height+D,L=n.maxWidth&&n.maxWidth<M,V=n.maxHeight&&n.maxHeight<P,q=n.minWidth&&n.minWidth>M,nt=n.minHeight&&n.minHeight>P;n.grid=h,q&&(M+=f),nt&&(P+=w),L&&(M-=f),V&&(P-=w),/^(se|s|e)$/.test(_)?(e.size.width=M,e.size.height=P):/^(ne)$/.test(_)?(e.size.width=M,e.size.height=P,e.position.top=d.top-D):/^(sw)$/.test(_)?(e.size.width=M,e.size.height=P,e.position.left=d.left-k):((P-w<=0||M-f<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),P-w>0?(e.size.height=P,e.position.top=d.top-D):(P=w-t.height,e.size.height=P,e.position.top=d.top+a.height-P),M-f>0?(e.size.width=M,e.position.left=d.left-k):(M=f-t.width,e.size.width=M,e.position.left=d.left+a.width-M))}}),i.ui.resizable,i.widget("ui.dialog",{version:"1.14.2",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=i(this).css(t).offset().top;e<0&&i(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,uiDialogTitleHeadingLevel:0,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title==null&&this.originalTitle!=null&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&i.fn.draggable&&this._makeDraggable(),this.options.resizable&&i.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?i(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:i.noop,enable:i.noop,close:function(t){var e=this;this._isOpen&&this._trigger("beforeClose",t)!==!1&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||i(this.document[0].activeElement).trigger("blur"),this._hide(this.uiDialog,this.options.hide,function(){e._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var n=!1,r=this.uiDialog.siblings(".ui-front:visible").map(function(){return+i(this).css("z-index")}).get(),a=Math.max.apply(null,r);return a>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",a+1),n=!0),n&&!e&&this._trigger("focus",t),n},open:function(){var t=this;if(this._isOpen){this._moveToTop()&&this._focusTabbable();return}this._isOpen=!0,this.opener=i(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._makeFocusTarget(),this._trigger("open")},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var t=this.document[0].activeElement;this.uiDialog[0]===t||i.contains(this.uiDialog[0],t)||this._focusTabbable()},_keepFocus:function(t){t.preventDefault(),this._restoreTabbableFocus()},_createWrapper:function(){this.uiDialog=i("<div>").hide().attr({tabIndex:-1,role:"dialog","aria-modal":this.options.modal?"true":null}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===i.ui.keyCode.ESCAPE){t.preventDefault(),this.close(t);return}if(!(t.keyCode!==i.ui.keyCode.TAB||t.isDefaultPrevented())){var e=this.uiDialog.find(":tabbable"),n=e.first(),r=e.last();t.target!==r[0]&&t.target!==this.uiDialog[0]||t.shiftKey?(t.target===n[0]||t.target===this.uiDialog[0])&&t.shiftKey&&(this._delay(function(){r.trigger("focus")}),t.preventDefault()):(this._delay(function(){n.trigger("focus")}),t.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=i("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){i(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=i("<button type='button'></button>").button({label:i("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),t=i("<"+(Number.isInteger(this.options.uiDialogTitleHeadingLevel)&&this.options.uiDialogTitleHeadingLevel>0&&this.options.uiDialogTitleHeadingLevel<=6?"h"+this.options.uiDialogTitleHeadingLevel:"span")+">").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prepe
vendor: 6,877 bytes, line 19
19ndTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=i("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=i("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var t=this,e=this.options.buttons;if(this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),i.isEmptyObject(e)||Array.isArray(e)&&!e.length){this._removeClass(this.uiDialog,"ui-dialog-buttons");return}i.each(e,function(n,r){var a,d;r=typeof r=="function"?{click:r,text:n}:r,a=(r=i.extend({type:"button"},r)).click,d={icon:r.icon,iconPosition:r.iconPosition,showLabel:r.showLabel,icons:r.icons,text:r.text},delete r.click,delete r.icon,delete r.iconPosition,delete r.showLabel,delete r.icons,typeof r.text=="boolean"&&delete r.text,i("<button></button>",r).button(d).appendTo(t.uiButtonSet).on("click",function(){a.apply(t.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var t=this,e=this.options;function n(r){return{position:r.position,offset:r.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(r,a){t._addClass(i(this),"ui-dialog-dragging"),t._blockFrames(),t._trigger("dragStart",r,n(a))},drag:function(r,a){t._trigger("drag",r,n(a))},stop:function(r,a){var d=a.offset.left-t.document.scrollLeft(),_=a.offset.top-t.document.scrollTop();e.position={my:"left top",at:"left"+(d>=0?"+":"")+d+" top"+(_>=0?"+":"")+_,of:t.window},t._removeClass(i(this),"ui-dialog-dragging"),t._unblockFrames(),t._trigger("dragStop",r,n(a))}})},_makeResizable:function(){var t=this,e=this.options,n=e.resizable,r=this.uiDialog.css("position");function a(d){return{originalPosition:d.originalPosition,originalSize:d.originalSize,position:d.position,size:d.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:this._minHeight(),handles:typeof n=="string"?n:"n,e,s,w,se,sw,ne,nw",start:function(d,_){t._addClass(i(this),"ui-dialog-resizing"),t._blockFrames(),t._trigger("resizeStart",d,a(_))},resize:function(d,_){t._trigger("resize",d,a(_))},stop:function(d,_){var h=t.uiDialog.offset(),f=h.left-t.document.scrollLeft(),w=h.top-t.document.scrollTop();e.height=t.uiDialog.height(),e.width=t.uiDialog.width(),e.position={my:"left top",at:"left"+(f>=0?"+":"")+f+" top"+(w>=0?"+":"")+w,of:t.window},t._removeClass(i(this),"ui-dialog-resizing"),t._unblockFrames(),t._trigger("resizeStop",d,a(_))}}).css("position",r)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=i(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=i.inArray(this,t);e!==-1&&t.splice(e,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return t.height==="auto"?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var e=this,n=!1,r={};i.each(t,function(a,d){e._setOption(a,d),a in e.sizeRelatedOptions&&(n=!0),a in e.resizableRelatedOptions&&(r[a]=d)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",r)},_setOption:function(t,e){var n,r,a=this.uiDialog;t!=="disabled"&&(this._super(t,e),t==="appendTo"&&this.uiDialog.appendTo(this._appendTo()),t==="buttons"&&this._createButtons(),t==="closeText"&&this.uiDialogTitlebarClose.button({label:i("<a>").text(""+this.options.closeText).html()}),t==="draggable"&&((n=a.is(":data(ui-draggable)"))&&!e&&a.draggable("destroy"),!n&&e&&this._makeDraggable()),t==="position"&&this._position(),t!=="resizable"||((r=a.is(":data(ui-resizable)"))&&!e&&a.resizable("destroy"),r&&typeof e=="string"&&a.resizable("option","handles",e),r||e===!1||this._makeResizable()),t==="title"&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")),t==="modal"&&a.attr("aria-modal",e?"true":null))},_size:function(){var t,e,n,r=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),r.minWidth>r.width&&(r.width=r.minWidth),t=this.uiDialog.css({height:"auto",width:r.width}).outerHeight(),e=Math.max(0,r.minHeight-t),n=typeof r.maxHeight=="number"?Math.max(0,r.maxHeight-t):"none",r.height==="auto"?this.element.css({minHeight:e,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,r.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=i(this);return i("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!i(t.target).closest(".ui-dialog").length||!!i(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",(function(e){if(!t){var n=this._trackingInstances()[0];n._allowInteraction(e)||(e.preventDefault(),n._focusTabbable())}}).bind(this)),this.overlay=i("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),i.uiBackCompat===!0&&i.widget("ui.dialog",i.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){t==="dialogClass"&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),i.ui.dialog,i.widget("ui.droppable",{version:"1.14.2",widgetEventPrefix:"drop",o
vendor: 12,932 bytes, line 19
19ptions:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,n=e.accept;this.isover=!1,this.isout=!0,this.accept=typeof n=="function"?n:function(r){return r.is(n)},this.proportions=function(){if(!arguments.length)return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});t=arguments[0]},this._addToManager(e.scope),e.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){i.ui.ddmanager.droppables[t]=i.ui.ddmanager.droppables[t]||[],i.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var t=i.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,e){if(t==="accept")this.accept=typeof e=="function"?e:function(r){return r.is(e)};else if(t==="scope"){var n=i.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(e)}this._super(t,e)},_activate:function(t){var e=i.ui.ddmanager.current;this._addActiveClass(),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=i.ui.ddmanager.current;this._removeActiveClass(),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=i.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=i.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(e)))},_drop:function(t,e){var n=e||i.ui.ddmanager.current,r=!1;return!!n&&(n.currentItem||n.element)[0]!==this.element[0]&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var a=i(this).droppable("instance");if(a.options.greedy&&!a.options.disabled&&a.options.scope===n.options.scope&&a.accept.call(a.element[0],n.currentItem||n.element)&&i.ui.intersect(n,i.extend(a,{offset:a.element.offset()}),a.options.tolerance,t))return r=!0,!1}),!r&&!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(n)),this.element))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),i.ui.intersect=function(t,e,n,r){if(!e.offset)return!1;var a,d,_,h,f=(t.positionAbs||t.position.absolute).left+t.margins.left,w=(t.positionAbs||t.position.absolute).top+t.margins.top,k=f+t.helperProportions.width,D=w+t.helperProportions.height,M=e.offset.left,P=e.offset.top,L=M+e.proportions().width,V=P+e.proportions().height;switch(n){case"fit":return M<=f&&k<=L&&P<=w&&D<=V;case"intersect":return M<f+t.helperProportions.width/2&&k-t.helperProportions.width/2<L&&P<w+t.helperProportions.height/2&&D-t.helperProportions.height/2<V;case"pointer":return a=r.pageY,d=e.proportions().height,a>=P&&a<P+d&&(_=r.pageX,h=e.proportions().width,_>=M&&_<M+h);case"touch":return(w>=P&&w<=V||D>=P&&D<=V||w<P&&D>V)&&(f>=M&&f<=L||k>=M&&k<=L||f<M&&k>L);default:return!1}},i.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var n,r,a=i.ui.ddmanager.droppables[t.options.scope]||[],d=e?e.type:null,_=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(n=0;n<a.length;n++)if(!a[n].options.disabled&&(!t||a[n].accept.call(a[n].element[0],t.currentItem||t.element))){for(r=0;r<_.length;r++)if(_[r]===a[n].element[0]){a[n].proportions().height=0;continue t}a[n].visible=a[n].element.css("display")!=="none",a[n].visible&&(d==="mousedown"&&a[n]._activate.call(a[n],e),a[n].offset=a[n].element.offset(),a[n].proportions({width:a[n].element[0].offsetWidth,height:a[n].element[0].offsetHeight}))}},drop:function(t,e){var n=!1;return i.each((i.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&i.ui.intersect(t,this,this.options.tolerance,e)&&(n=this._drop.call(this,e)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e)))}),n},dragStart:function(t,e){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||i.ui.ddmanager.prepareOffsets(t,e)})},drag:function(t,e){t.options.refreshPositions&&i.ui.ddmanager.prepareOffsets(t,e),i.each(i.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,r,a,d=i.ui.intersect(t,this,this.options.tolerance,e),_=!d&&this.isover?"isout":d&&!this.isover?"isover":null;_&&(this.options.greedy&&(r=this.options.scope,(a=this.element.parents(":data(ui-droppable)").filter(function(){return i(this).droppable("instance").options.scope===r})).length&&((n=i(a[0]).droppable("instance")).greedyChild=_==="isover")),n&&_==="isover"&&(n.isover=!1,n.isout=!0,n._out.call(n,e)),this[_]=!0,this[_==="isout"?"isover":"isout"]=!1,this[_==="isover"?"_over":"_out"].call(this,e),n&&_==="isout"&&(n.isout=!1,n.isover=!0,n._over.call(n,e)))}})},dragStop:function(t,e){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||i.ui.ddmanager.prepareOffsets(t,e)}},i.uiBackCompat===!0&&i.widget("ui.droppable",i.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),i.ui.droppable,i.widget("ui.progressbar",{version:"1.14.2",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=i("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(t===void 0)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return t===void 0&&(t=this.options.value),this.indeterminate=t===!1,typeof t!="number"&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){t==="max"&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(e.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=i("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),i.widget("ui.selectable",i.ui.mouse,{version:"1.14.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t.elementPos=i(t.element[0]).offset(),t.selectees=i(t.options.filter,t.element[0]),t._addClass(t.selectees,"ui-selectee"),t.selectees.each(function(){var e=i(this),n=e.offset(),r={left:n.left-t.elementPos.left,top:n.top-t.elementPos.top};i.data(this,"selectable-item",{element:this,$element:e,left:r.left,top:r.top,right:r.left+e.outerWidth(),bottom:r.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=i("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(t){var e=this,n=this.options;this.opos=[t.pageX,t.pageY],this.elementPos=i(this.element[0]).offset(),!this.options.disabled&&(this.selectees=i(n.filter,this.element[0]),this._trigger("start",t),i(n.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),n.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=i.data(this,"selectable-item");r.startselected=!0,t.metaKey||t.ctrlKey||(e._removeClass(r.$element,"ui-selected"),r.selected=!1,e._addClass(r.$element,"ui-unselecting"),r.unselecting=!0,e._trigger("unselecting",t,{unselecting:r.element}))}),i(t.target).parents().addBack().each(function(){var r,a=i.data(this,"selectable-item");if(a)return r=!t.metaKey&&!t.ctrlKey||!a.$element.hasClass("ui-selected"),e._removeClass(a.$element,r?"ui-unselecting":"ui-selected")._addClass(a.$element,r?"ui-selecting":"ui-unselecting"),a.unselecting=!r,a.selecting=r,a.selected=r,r?e._trigger("selecting",t,{selecting:a.element}):e._trigger("unselecting",t,{unselecting:a.element}),!1}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var e,n=this,r=this.options,a=this.opos[0],d=this.opos[1],_=t.pageX,h=t.pageY;return a>_&&(e=_,_=a,a=e),d>h&&(e=h,h=d,d=e),this.helper.css({left:a,top:d,width:_-a,height:h-d}),this.selectees.each(function(){var f=i.data(this,"selectable-item"),w=!1,k={};f&&f.element!==n.element[0]&&(k.left=f.left+n.elementPos.left,k.right=f.right+n.elementPos.left,k.top=f.top+n.elementPos.top,k.bottom=f.bottom+n.elementPos.top,r.tolerance==="touch"?w=!(k.left>_||k.right<a||k.top>h||k.bottom<d):r.tolerance==="fit"&&(w=k.left>a&&k.right<_&&k.top>d&&k.bottom<h),w?(f.selected&&(n._removeClass(f.$element,"ui-selected"),f.selected=!1),f.unselecting&&(n._removeClass(f.$element,"ui-unselecting"),f.unselecting=!1),f.selecting||(n._addClass(f.$element,"ui-selecting"),f.selecting=!0,n._trigger("selecting",t,{selecting:f.element}))):(f.selecting&&((t.metaKey||t.ctrlKey)&&f.startselected?(n._removeClass(f.$element,"ui-selecting"),f.selecting=!1,n._addClass(f.$element,"ui-selected"),f.selected=!0):(n._removeClass(f.$element,"ui-selecting"),f.selecting=!1,f.startselected&&(n._addClass(f.$element,"ui-unselecting"),f.unselecting=!0),n._trigger("unselecting",t,{unselecting:f.element}))),!f.selected||t.metaKey||t.ctrlKey||f.startselected||(n._removeClass(f.$element,"ui-selected"),f.selected=!1,n._addClass(f.$element,"ui-unselecting"),f.unselecting=!0,n._trigger("unselecting",t,{unselecting:f.element}))))}),!1}},_mouseStop:function(t){var e=this;return this.dragged=!1,i(".ui-unselecting",this.element[0]).each(function(){var n=i.data(this,"selectable-item");e._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1,n.startselected=!1,e._trigger("unselected",t,{unselected:n.element})}),i(".ui-selecting",this.element[0]).each(function(){var n=i.data(this,"selectable-item");e._removeClass(n.$element,"ui-selecting")._addClass(n.$element,"ui-selected"),n.selecting=!1,n.selected=!0,n.startselected=!0,e._trigger("selected",t,{selected:n.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),i.widget("ui.selectmenu",[i.ui.formResetMixin,{version:"1.14.2",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"}
vendor: 4,730 bytes, line 19
19,width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=i()},_drawButton:function(){var t,e=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(r){this.button.trigger("focus"),r.preventDefault()}}),this.element.hide(),this.button=i("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=i("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),this.options.width!==!1&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e._rendered||e._refreshMenu()})},_drawMenu:function(){var t=this;this.menu=i("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=i("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,n){e.preventDefault(),t._select(n.item.data("ui-selectmenu-item"),e)},focus:function(e,n){var r=n.item.data("ui-selectmenu-item");t.focusIndex==null||r.index===t.focusIndex||(t._trigger("focus",e,{item:r}),t.isOpen||t._select(r,e)),t.focusIndex=r.index,t.button.attr("aria-activedescendant",t.menuItems.eq(r.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),this.options.width===null&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(i.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var e=i("<span>");return this._setText(e,t.label),this._addClass(e,"ui-selectmenu-text"),e},_renderMenu:function(t,e){var n=this,r="";i.each(e,function(a,d){var _;d.optgroup!==r&&(_=i("<li>",{text:d.optgroup}),n._addClass(_,"ui-selectmenu-optgroup","ui-menu-divider"+(d.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),_.appendTo(t),r=d.optgroup),n._renderItemData(t,d)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(t,e){var n=i("<li>"),r=i("<div>",{title:e.element.attr("title")});return e.disabled&&this._addClass(n,null,"ui-state-disabled"),e.hidden?n.prop("hidden",!0):this._setText(r,e.label),n.append(r).appendTo(t)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var n,r,a=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),a+=":not(.ui-state-disabled)"),(r=t==="first"||t==="last"?n[t==="first"?"prevAll":"nextAll"](a).eq(-1):n[t+"All"](a).eq(0)).length&&this.menuInstance.focus(e,r)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 24,870 bytes, line 19
19,_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&((t=window.getSelection()).removeAllRanges(),t.addRange(this.range))},_documentClick:{mousedown:function(t){this.isOpen&&(i(t.target).closest(".ui-selectmenu-menu, #"+CSS.escape(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var t=window.getSelection();t.rangeCount&&(this.range=t.getRangeAt(0))},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(t){var e=!0;switch(t.keyCode){case i.ui.keyCode.TAB:case i.ui.keyCode.ESCAPE:this.close(t),e=!1;break;case i.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case i.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case i.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case i.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case i.ui.keyCode.LEFT:this._move("prev",t);break;case i.ui.keyCode.RIGHT:this._move("next",t);break;case i.ui.keyCode.HOME:case i.ui.keyCode.PAGE_UP:this._move("first",t);break;case i.ui.keyCode.END:case i.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),e=!1}e&&t.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==n&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if(t==="icons"){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,e.button)}this._super(t,e),t==="appendTo"&&this.menuWrap.appendTo(this._appendTo()),t==="width"&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?i(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;if(t===!1){this.button.css("width","");return}t===null&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(t){var e=this,n=[];t.each(function(r,a){n.push(e._parseOption(i(a),r))}),this.items=n},_parseOption:function(t,e){var n=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),hidden:n.prop("hidden")||t.prop("hidden"),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),i.widget("ui.slider",i.ui.mouse,{version:"1.14.2",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,e,n=this.options,r=this.element.find(".ui-slider-handle"),a=[];for(e=n.values&&n.values.length||1,r.length>e&&(r.slice(e).remove(),r=r.slice(0,e)),t=r.length;t<e;t++)a.push("<span tabindex='0'></span>");this.handles=r.add(i(a.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(d){i(this).data("ui-slider-handle-index",d).attr("tabIndex",0)})},_createRange:function(){var t=this.options;t.range?(t.range===!0&&(t.values?t.values.length&&t.values.length!==2?t.values=[t.values[0],t.values[0]]:Array.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=i("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),(t.range==="min"||t.range==="max")&&this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var e,n,r,a,d,_,h,f=this,w=this.options;return!w.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},n=this._normValueFromMouse(e),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(k){var D=Math.abs(n-f.values(k));(r>D||r===D&&(k===f._lastChangedValue||f.values(k)===w.min))&&(r=D,a=i(this),d=k)}),this._start(t,d)!==!1&&(this._mouseSliding=!0,this._handleIndex=d,this._addClass(a,null,"ui-state-active"),a.trigger("focus"),_=a.offset(),h=!i(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=h?{left:0,top:0}:{left:t.pageX-_.left-a.width()/2,top:t.pageY-_.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,d,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},n=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,n),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,n,r,a,d;return this.orientation==="horizontal"?(e=this.elementSize.width,n=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,n=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(r=n/e)>1&&(r=1),r<0&&(r=0),this.orientation==="vertical"&&(r=1-r),a=this._valueMax()-this._valueMin(),d=this._valueMin()+r*a,this._trimAlignValue(d)},_uiHash:function(t,e,n){var r={handle:this.handles[t],handleIndex:t,value:e!==void 0?e:this.value()};return this._hasMultipleValues()&&(r.value=e!==void 0?e:this.values(t),r.values=n||this.values()),r},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,n){var r,a=this.value(),d=this.values();this._hasMultipleValues()&&(r=this.values(+!e),a=this.values(e),this.options.values.length===2&&this.options.range===!0&&(n=e===0?Math.min(r,n):Math.max(r,n)),d[e]=n),n!==a&&this._trigger("slide",t,this._uiHash(e,n,d))!==!1&&(this._hasMultipleValues()?this.values(e,n):this.value(n))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){if(arguments.length){this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(t,e){var n,r,a;if(arguments.length>1){this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(t):this.value();for(a=0,n=this.options.values,r=arguments[0];a<n.length;a+=1)n[a]=this._trimAlignValue(r[a]),this._change(null,a);this._refreshValue()},_setOption:function(t,e){var n,r=0;switch(t==="range"&&this.options.range===!0&&(e==="min"?(this.options.value=this._values(0),this.options.values=null):e==="max"&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(r=this.options.values.length),this._super(t,e),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(e),this.handles.css(e==="horizontal"?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=r-1;n>=0;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return this._trimAlignValue(t)},_values:function(t){var e,n,r;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(!this._hasMultipleValues())return[];for(r=0,n=this.options.values.slice();r<n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,r=t-n;return 2*Math.abs(n)>=e&&(r+=n>0?e:-e),parseFloat(r.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),n=this.options.step;(t=Math.round((t-e)/n)*n+e)>this.options.max&&(t-=n),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return this.options.min!==null&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),n=e.indexOf(".");return n===-1?0:e.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){t==="vertical"&&this.range.css({width:"",left:""}),t==="horizontal"&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,e,n,r,a,d=this.options.range,_=this.options,h=this,f=!this._animateOff&&_.animate,w={};this._hasMultipleValues()?this.handles.each(function(k){e=(h.values(k)-h._valueMin())/(h._valueMax()-h._valueMin())*100,w[h.orientation==="horizontal"?"left":"bottom"]=e+"%",i(this).stop(1,1)[f?"animate":"css"](w,_.animate),h.options.range===!0&&(h.orientation==="horizontal"?(k===0&&h.range.stop(1,1)[f?"animate":"css"]({left:e+"%"},_.animate),k===1&&h.range[f?"animate":"css"]({width:e-t+"%"},{queue:!1,duration:_.animate})):(k===0&&h.range.stop(1,1)[f?"animate":"css"]({bottom:e+"%"},_.animate),k===1&&h.range[f?"animate":"css"]({height:e-t+"%"},{queue:!1,duration:_.animate}))),t=e}):(n=this.value(),r=this._valueMin(),e=(a=this._valueMax())!==r?(n-r)/(a-r)*100:0,w[this.orientation==="horizontal"?"left":"bottom"]=e+"%",this.handle.stop(1,1)[f?"animate":"css"](w,_.animate),d==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[f?"animate":"css"]({width:e+"%"},_.animate),d==="max"&&this.orientation==="horizontal"&&this.range.stop(1,1)[f?"animate":"css"]({width:100-e+"%"},_.animate),d==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[f?"animate":"css"]({height:e+"%"},_.animate),d==="max"&&this.orientation==="vertical"&&this.range.stop(1,1)[f?"animate":"css"]({height:100-e+"%"},_.animate))},_handleEvents:{keydown:function(t){var e,n,r,a=i(t.target).data("ui-slider-handle-index");switch(t.keyCode){case i.ui.keyCode.HOME:case i.ui.keyCode.END:case i.ui.keyCode.PAGE_UP:case i.ui.keyCode.PAGE_DOWN:case i.ui.keyCode.UP:case i.ui.keyCode.RIGHT:case i.ui.keyCode.DOWN:case i.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(i(t.target),null,"ui-state-active"),this._start(t,a)===!1))return}switch(r=this.options.step,e=n=this._hasMultipleValues()?this.values(a):this.value(),t.keyCode){case i.ui.keyCode.HOME:n=this._valueMin();break;case i.ui.keyCode.END:n=this._valueMax();break;case i.ui.keyCode.PAGE_UP:n=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/this.numPages);break;case i.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/this.numPages);break;case i.ui.keyCode.UP:case i.ui.keyCode.RIGHT:if(e===this._valueMax())return;n=this._trimAlignValue(e+r);break;case i.ui.keyCode.DOWN:case i.ui.keyCode.LEFT:if(e===this._valueMin())return;n=this._trimAlignValue(e-r)}this._slide(t,a,n)},keyup:function(t){var e=i(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),this._removeClass(i(t.target),null,"ui-state-active"))}}}),i.widget("ui.sortable",i.ui.mouse,{version:"1.14.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,n){return t>=e&&t<e+n},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),t==="handle"&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),i.each(this.items,function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,e){var n=null,r=!1,a=this;return!this.reverting&&!this.options.disabled&&this.options.type!=="static"&&(this._refreshItems(t),i(t.target).parents().each(function(){if(i.data(this,a.widgetName+"-item")===a)return n=i(this),!1}),i.data(t.target,a.widgetName+"-item")===a&&(n=i(t.target)),!!n&&(!this.options.handle||!!e||(i(this.options.handle,n).find("*").addBack().each(function(){this===t.target&&(r=!0)}),!!r))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))},_mouseStart:function(t,e,n){var r,a,d=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=i(d.appendTo!=="parent"?d.appendTo:this.currentItem.parent()),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},i.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),i.extend(this.offset,{parent:this._getParentOffset()}),d.containment&&this._setContainment(),d.cursor&&d.cursor!=="auto"&&(a=this.document.find("body"),this._storedStylesheet=i("<style>*{ cursor: "+d.cursor+" !important; }</style>").appendTo(a)),d.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",d.zIndex)),d.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",d.opacity)),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;r>=0;r--)this.containers[r]._trigger("activate",t,this._uiHash(this));return i.ui.ddmanager&&(i.ui.ddmanager.current=this),i.ui.ddmanager&&!d.dropBehaviour&&i.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(t),!0},_scroll:function(t){var e=this.options,n=!1;return this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?n=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(n=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?n=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(n=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),n},_mouseDrag:function(t){var e,n,r,a,d=this.options;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&this.options.axis==="y"||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&this.options.axis==="x"||(this.helper[0].style.top=this.position.top+"px"),d.scroll&&this._scroll(t)!==!1&&(this._refreshItemPositions(!0),i.ui.ddmanager&&!d.dropBehaviour&&i.ui.ddmanager.prepareOffsets(this,t)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},e=this.items.length-1;e>=0;e--)if(r=(n=this.items[e]).item[0],(a=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&r!==this.currentItem[0]&&this.placeholder[a===1?"next":"prev"]()[0]!==r&&!i.contains(this.placeholder[0],r)&&(this.options.type!=="semi-dynamic"||!i.contains(this.element[0],r))){if(this.direction=a===1?"down":"up",this.options.tolerance==="pointer"||this._intersectsWithSides(n))this._rearrange(t,n);else break;this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),i.ui.ddmanager&&i.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){if(t){if(i.ui.ddmanager&&!this.options.dropBehaviour&&i.ui.ddmanager.drop(this,t),this.options.revert){var n=this,r=this.placeholder.offset(),a=this.options.axis,d={};a&&a!=="x"||(d.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),a&&a!=="y"||(d.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,i(this.helper).animate(d,parseInt(this.options.revert,10)||500,function(){n._clear(t)})}else this._clear(t,e);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new i.Event("mouseup",{target:null})),this.options.helper==="original"?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),i.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?i(this.domPosition.prev).after(this.currentItem):i(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},i(e).each(function(){var r=(i(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);r&&n.push((t.key||r[1]+"[]")+"="+(t.key&&t.expression?r[1]:r[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},e.each(function(){n.push(i(t.item||this).attr(t.attribute||"id")||"")}),n},_intersectsWith:function(t){var e=this.positionAbs.left,n=e+this.helperProportions.width,r=this.positionAbs.top,a=r+this.helperProportions.height,d=t.left,_=d+t.width,h=t.top,f=h+t.height,w=this.offset.click.top,k=this.offset.click.left,D=this.options.axis==="x"||r+w>h&&r+w<f,M=this.options.axis==="y"||e+k>d&&e+k<_;return this.options.tolerance==="pointer"||this.options.forcePointerForContainers||this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?D&&M:d<e+this.helperProportions.width/2&&n-this.helperProportions.width/2<_&&h<r+this.helperProportions.height/2&&a-this.helperProportions.height/2<f},_intersectsWithPointer:function(t){var e,n,r=this.options.axis==="x"||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),a=this.options.axis==="y"||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!!r&&!!a&&(e=this.dragDirection.vertical,n=this.dragDirection.horizontal,this.floating?n==="right"||e==="down"?2:1:e&&(e==="down"?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),r=this.dragDirection.vertical,a=this.dragDirection.horizontal;return this.floating&&a?a==="right"&&n||a==="left"&&!n:r&&(r==="down"&&e||r==="up"&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return t!==0&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return t!==0&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;
vendor: 2,437 bytes, line 19
19return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,n,r,a,d=[],_=[],h=this._connectWith();if(h&&t)for(e=h.length-1;e>=0;e--)for(n=(r=i(h[e],this.document[0])).length-1;n>=0;n--)(a=i.data(r[n],this.widgetFullName))&&a!==this&&!a.options.disabled&&_.push([typeof a.options.items=="function"?a.options.items.call(a.element):i(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);function f(){d.push(this)}for(_.push([typeof this.options.items=="function"?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):i(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=_.length-1;e>=0;e--)_[e][0].each(f);return i(d)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=i.grep(this.items,function(e){for(var n=0;n<t.length;n++)if(t[n]===e.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,n,r,a,d,_,h,f,w=this.items,k=[[typeof this.options.items=="function"?this.options.items.call(this.element[0],t,{item:this.currentItem}):i(this.options.items,this.element),this]],D=this._connectWith();if(D&&this.ready)for(e=D.length-1;e>=0;e--)for(n=(r=i(D[e],this.document[0])).length-1;n>=0;n--)(a=i.data(r[n],this.widgetFullName))&&a!==this&&!a.options.disabled&&(k.push([typeof a.options.items=="function"?a.options.items.call(a.element[0],t,{item:this.currentItem}):i(a.options.items,a.element),a]),this.containers.push(a));for(e=k.length-1;e>=0;e--)for(n=0,d=k[e][1],f=(_=k[e][0]).length;n<f;n++)(h=i(_[n])).data(this.widgetName+"-item",d),w.push({item:h,instance:d,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(t){var e,n,r,a;for(e=this.items.length-1;e>=0;e--)n=this.items[e],(!this.currentContainer||n.instance===this.currentContainer||n.item[0]===this.currentItem[0])&&(r=this.options.toleranceElement?i(this.options.toleranceElement,n.item):n.item,t||(n.width=r.outerWidth(),n.height=r.outerHeight()),n.left=(a=r.offset()).left,n.top=a.top)},refreshPositions:function(t){var e,n;if(this.floating=!!this.items.length&&(this.options.axis==="x"||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers
19)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;e>=0;e--)n=this.containers[e].element.offset(),this.containers[e].containerCache.left=n.left,this.containers[e].containerCache.top=n.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(t){var e,n,r=(t=t||this).options;r.placeholder&&r.placeholder.constructor!==String||(e=r.placeholder,n=t.currentItem[0].nodeName.toLowerCase(),r.placeholder={element:function(){var a=i("<"+n+">",t.document[0]);return t._addClass(a,"ui-sortable-placeholder",e||t.currentItem[0].className)._removeClass(a,"ui-sortable-helper"),n==="tbody"?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),i("<tr>",t.document[0]).appendTo(a)):n==="tr"?t._createTrPlaceholder(t.currentItem,a):n==="img"&&a.attr("src",t.currentItem.attr("src")),e||a.css("visibility","hidden"),a},update:function(a,d){(!e||r.forcePlaceholderSize)&&((!d.height()||r.forcePlaceholderSize&&(n==="tbody"||n==="tr"))&&d.height(t.currentItem.innerHe
vendor: 11,851 bytes, line 19
19ight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),d.width()||d.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=i(r.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),r.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,e){var n=this;t.children().each(function(){i("<td>&#160;</td>",n.document[0]).attr("colspan",i(this).attr("colspan")||1).appendTo(e)})},_contactContainers:function(t){var e,n,r,a,d,_,h,f,w,k,D=null,M=null;for(e=this.containers.length-1;e>=0;e--)if(!i.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(D&&i.contains(this.containers[e].element[0],D.element[0]))continue;D=this.containers[e],M=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",t,this._uiHash(this)),this.containers[e].containerCache.over=0);if(D)if(this.containers.length===1)this.containers[M].containerCache.over||(this.containers[M]._trigger("over",t,this._uiHash(this)),this.containers[M].containerCache.over=1);else{for(r=1e4,a=null,d=(w=D.floating||this._isFloating(this.currentItem))?"left":"top",_=w?"width":"height",k=w?"pageX":"pageY",n=this.items.length-1;n>=0;n--)i.contains(this.containers[M].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(h=this.items[n].item.offset()[d],f=!1,t[k]-h>this.items[n][_]/2&&(f=!0),Math.abs(t[k]-h)<r&&(r=Math.abs(t[k]-h),a=this.items[n],this.direction=f?"up":"down"));if(!a&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[M]){this.currentContainer.containerCache.over||(this.containers[M]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1);return}a?this._rearrange(t,a,null,!0):this._rearrange(t,null,this.containers[M].element,!0),this._trigger("change",t,this._uiHash()),this.containers[M]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[M],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this.containers[M]._trigger("over",t,this._uiHash(this)),this.containers[M].containerCache.over=1}},_createHelper:function(t){var e=this.options,n=typeof e.helper=="function"?i(e.helper.apply(this.element[0],[t,this.currentItem])):e.helper==="clone"?this.currentItem.clone():this.currentItem;return n.parents("body").length||this.appendTo[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!n[0].style.width||e.forceHelperSize)&&n.width(this.currentItem.width()),(!n[0].style.height||e.forceHelperSize)&&n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&i.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this.offsetParent[0]===this.document[0].body&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative")return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,n,r=this.options;r.containment==="parent"&&(r.containment=this.helper[0].parentNode),(r.containment==="document"||r.containment==="window")&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,r.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(r.containment==="document"?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(t=i(r.containment)[0],e=i(r.containment).offset(),n=i(t).css("overflow")!=="hidden",this.containment=[e.left+(parseInt(i(t).css("borderLeftWidth"),10)||0)+(parseInt(i(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(i(t).css("borderTopWidth"),10)||0)+(parseInt(i(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(n?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(i(t).css("borderLeftWidth"),10)||0)-(parseInt(i(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(n?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(i(t).css("borderTopWidth"),10)||0)-(parseInt(i(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e||(e=this.position);var n=t==="absolute"?1:-1,r=this.cssPosition!=="absolute"||this.scrollParent[0]!==this.document[0]&&i.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(r[0].tagName);return{top:e.top+this.offset.relative.top*n+this.offset.parent.top*n-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():a?0:r.scrollTop())*n,left:e.left+this.offset.relative.left*n+this.offset.parent.left*n-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():a?0:r.scrollLeft())*n}},_generatePosition:function(t){var e,n,r=this.options,a=t.pageX,d=t.pageY,_=this.cssPosition!=="absolute"||this.scrollParent[0]!==this.document[0]&&i.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(_[0].tagName);return this.cssPosition==="relative"&&(this.scrollParent[0]===this.document[0]||this.scrollParent[0]===this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(a=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(d=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(a=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(d=this.containment[3]+this.offset.click.top)),r.grid&&(e=this.originalPageY+Math.round((d-this.originalPageY)/r.grid[1])*r.grid[1],d=this.containment?e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-r.grid[1]:e+r.grid[1]:e,n=this.originalPageX+Math.round((a-this.originalPageX)/r.grid[0])*r.grid[0],a=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:d-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():h?0:_.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():h?0:_.scrollLeft())}},_rearrange:function(t,e,n,r){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var a=this.counter;this._delay(function(){a===this.counter&&this.refreshPositions(!r)})},_clear:function(t,e){this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)(this._storedCSS[n]==="auto"||this._storedCSS[n]==="static")&&(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function a(d,_,h){return function(f){h._trigger(d,f,_._uiHash(_))}}for(this.fromOutside&&!e&&r.push(function(d){this._trigger("receive",d,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!e&&r.push(function(d){this._trigger("update",d,this._uiHash())}),this===this.currentContainer||e||(r.push(function(d){this._trigger("remove",d,this._uiHash())}),r.push((function(d){return function(_){d._trigger("receive",_,this._uiHash(this))}}).call(this,this.currentContainer)),r.push((function(d){return function(_){d._trigger("update",_,this._uiHash(this))}}).call(this,this.currentContainer))),n=this.containers.length-1;n>=0;n--)e||r.push(a("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(a("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this._storedStylesheet&&(this._storedStylesheet.remove(),this._storedStylesheet=null),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(n=0;n<r.length;n++)r[n].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){i.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||i([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}}),i.widget("ui.spinner",{version:"1.14.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this.value()!==""&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t=this._super(),e=this.element;return i.each(["min","max","step"],function(n,r){var a=e.attr(r);a!=null&&a.length&&(t[r]=a)}),t}
19,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t)},wheel:function(t){var e=this.document[0].activeElement,n=this.element[0]===e,r=t.deltaY||t.originalEvent&&t.originalEvent.deltaY;if(n&&r){if(!this.spinning&&!this._start(t))return!1;this._spin((r>0?-1:1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},mousewheel:function(t,e){if(t.isTrigger){var n=i.Event(t);return n.type="wheel",e&&(n.deltaY=-e),this._events.wheel.call(this,n)}},"mousedown .ui-spinner-button":function(t){var e;e=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),(function(){this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=e)}).call(this),this._start(t)!==!1&&this._repeat(null,i(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(i(t.currentTarget).hasClass("ui-state-active")){if(this._start(t)===!1)return!1;this._repeat(null,i(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)}},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var e=this.options,n=i.ui.keyCode;switch(t.keyCode){case n.UP:return this._repeat(null,1,t),!0;case n.DOWN:return this._repeat(null,-1,t),!0;case n.PAGE_UP:return this._repeat(null,e.page,t),!0;case n.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_start:function(t){return(!!this.spinning||this._trigger("start",t)!==!1)&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,e,n){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,n)},t),this._spin(e*this.options.step,n)},_spin:function(t,e){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+t*this._increment(this.counter)),(!this.spinning||this._trigger("spin",e,{value:n})!==!1)&&(this._value(n),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?typeof e=="function"?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return this.options.min!==null&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),n=e.indexOf(".");return n===-1?0:e.length-n-1},_adjustValue:function(t){var e,n,r=this.options;return n=Math.round((n=t-(e=r.min!==null?r.min:0))/r.step)*r.step,t=parseFloat((t=e+n).toFixed(this._precision())),r.max!==null&&t>r.max?r.max:r.min!==null&&t<r.min?r.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var n,r,a;if(t==="culture"||t==="numberFormat"){n=this._parse(this.element.val()),this.options[t]=e,this.element.val(this._format(n));return}(t==="max"||t==="min"||t==="step")&&typeof e=="string"&&(e=this._parse(e)),t==="icons"&&(r=this.buttons.first().find(".ui-icon"),this._removeClass(r,null,this.options.icons.up),this._addClass(r,null,e.up),a=this.buttons.last().find(".ui-icon"),this._removeClass(a,null,this.options.icons.down),this._addClass(a,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:Ut(function(t){this._super(t)}),_parse:function(t){return typeof t=="string"&&t!==""&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),t===""||isNaN(t)?null:t},_format:function(t){return t===""?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return t!==null&&t===this._adjustValue(t)},_value:function(t,e){var n;t!==""&&(n=this._parse(t))!==null&&(e||(n=this._adjustValue(n)),t=this._format(n)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:Ut(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:Ut(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin(-((t||1)*this.options.step)),this._stop())},pageUp:Ut(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:Ut(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());Ut(this._value).call(this,t)},widget:function(){return this.uiSpinner}}
vendor: 6,218 bytes, line 19
19),i.uiBackCompat===!0&&i.widget("ui.spinner",i.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),i.ui.spinner,i.widget("ui.tabs",{version:"1.14.2",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(t){var e=new URL(t.href),n=new URL(location.href);return t.hash.length>1&&e.origin===n.origin&&e.pathname===n.pathname&&e.search===n.search},_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),Array.isArray(e.disabled)&&(e.disabled=i.uniqueSort(e.disabled.concat(i.map(this.tabs.filter(".ui-state-disabled"),function(n){return t.tabs.index(n)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(e.active):this.active=i(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var t=this.options.active,e=this.options.collapsible,n=location.hash.substring(1),r=decodeURIComponent(n);return t===null&&(n&&(this.tabs.each(function(a,d){if(i(d).attr("aria-controls")===n)return t=a,!1}),t===null&&this.tabs.each(function(a,d){if(i(d).attr("aria-controls")===r)return t=a,!1})),t===null&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(t===null||t===-1)&&(t=!!this.tabs.length&&0)),t!==!1&&(t=this.tabs.index(this.tabs.eq(t)))===-1&&(t=!e&&0),!e&&t===!1&&this.anchors.length&&(t=0),t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):i()}},_tabKeydown:function(t){var e=i(this.document[0].activeElement).closest("li"),n=this.tabs.index(e),r=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case i.ui.keyCode.RIGHT:case i.ui.keyCode.DOWN:n++;break;case i.ui.keyCode.UP:case i.ui.keyCode.LEFT:r=!1,n--;break;case i.ui.keyCode.END:n=this.anchors.length-1;break;case i.ui.keyCode.HOME:n=0;break;case i.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(n);return;case i.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(n!==this.options.active&&n);return;default:return}t.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,r),t.ctrlKey||t.metaKey||(e.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(t){!this._handlePageNav(t)&&t.ctrlKey&&t.keyCode===i.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===i.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===i.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){for(var n=this.tabs.length-1;i.inArray((t>n&&(t=0),t<0&&(t=n),t),this.options.disabled)!==-1;)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){if(t==="active"){this._activate(e);return}this._super(t,e),t!=="collapsible"||(this._toggleClass("ui-tabs-collapsible",null,e),e||this.options.active!==!1||this._activate(0)),t==="event"&&this._setupEvents(e),t==="heightStyle"&&this._setupHeightStyle(e)},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=i.map(e.filter(".ui-state-disabled"),function(n){return e.index(n)}),this._processTabs(),t.active!==!1&&this.anchors.length?this.active.length&&!i.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=i()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=i()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,e=this.tabs,n=this.anchors,r=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(a){i(this).is(".ui-state-disabled")&&a.preventDefault()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return i("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=i(),this.anchors.each(function(a,d){var _,h,f,w=i(d).uniqueId().attr("id"),k=i(d).closest("li"),D=k.attr("aria-controls");t._isLocal(d)?(f=(_=d.hash).substring(1),(h=t.element.find("#"+CSS.escape(f))).length||(f=decodeURIComponent(f),h=t.element.find("#"+CSS.escape(f)))):(_="#"+(f=k.attr("aria-controls")||i({}).uniqueId()[0].id),(h=t.element.find(_)).length||(h=t._createPanel(f)).insertAfter(t.panels[a-1]||t.tablist),h.attr("aria-live","polite")),h.length&&(t.panels=t.panels.add(h)),D&&k.data("ui-tabs-aria-controls",D),k.attr({"aria-controls":f,"aria-labelledby":w}),h.attr("aria-labelledby",w)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)
vendor: 4,860 bytes, line 19
19),this._off(n.not(this.anchors)),this._off(r.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return i("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var e,n,r;for(Array.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),r=0;n=this.tabs[r];r++)e=i(n),t===!0||i.inArray(r,t)!==-1?(e.attr("aria-disabled","true"),this._addClass(e,null,"ui-state-disabled")):(e.removeAttr("aria-disabled"),this._removeClass(e,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,t===!0)},_setupEvents:function(t){var e={};t&&i.each(t.split(" "),function(n,r){e[r]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(n){n.preventDefault()}}),this._on(this.anchors,e),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var e,n=this.element.parent();t==="fill"?(e=n.height()-(this.element.outerHeight()-this.element.height()),this.element.siblings(":visible").each(function(){var r=i(this),a=r.css("position");a!=="absolute"&&a!=="fixed"&&(e-=r.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){e-=i(this).outerHeight(!0)}),this.panels.each(function(){i(this).height(Math.max(0,e-i(this).innerHeight()+i(this).height()))}).css("overflow","auto")):t==="auto"&&(e=0,this.panels.each(function(){e=Math.max(e,i(this).height("").height())}).height(e))},_eventHandler:function(t){var e=this.options,n=this.active,r=i(t.currentTarget).closest("li"),a=r[0]===n[0],d=a&&e.collapsible,_=d?i():this._getPanelForTab(r),h=n.length?this._getPanelForTab(n):i(),f={oldTab:n,oldPanel:h,newTab:d?i():r,newPanel:_};t.preventDefault(),!(r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading"))&&!this.running&&(!a||e.collapsible)&&this._trigger("beforeActivate",t,f)!==!1&&(e.active=!d&&this.tabs.index(r),this.active=a?i():r,this.xhr&&this.xhr.abort(),h.length||_.length||i.error("jQuery UI Tabs: Mismatching fragment identifier."),_.length&&this.load(this.tabs.index(r),t),this._toggle(t,f))},_toggle:function(t,e){var n=this,r=e.newPanel,a=e.oldPanel;function d(){n.running=!1,n._trigger("activate",t,e)}function _(){n._addClass(e.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&n.options.show?n._show(r,n.options.show,d):(r.show(),d())}this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){n._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),_()}):(this._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a.hide(),_()),a.attr("aria-hidden","true"),e.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&a.length?e.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return i(this).attr("tabIndex")===0}).attr("tabIndex",-1),r.attr("aria-hidden","false"),e.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var e,n=this._findActive(t);n[0]!==this.active[0]&&(n.length||(n=this.active),e=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:i.noop}))},_findActive:function(t){return t===!1?i():this.tabs.eq(t)},_getIndex:function(t){return typeof t=="string"&&(t=this.anchors.index(this.anchors.filter("[href$='"+CSS.escape(t)+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){i.data(this,"ui-tabs-destroy")?i(this).remove():i(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=i(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(t){var e=this.options.disabled;e!==!1&&(t===void 0?e=!1:(t=this._getIndex(t),e=Array.isArray(e)?i.map(e,function(n){return n!==t?n:null}):i.map(this.tabs,function(n,r){return r!==t?r:null})),this._setOptionDisabled(e))},disable:function(t){var e=this.options.disabled;if(e!==!0){if(t===void 0)e=!0;else{if(t=this._getIndex(t),i.inArray(t,e)!==-1)return;e=Array.isArray(e)?i.merge([t],e).sort():[t]}this._setOptionDisabled(e)}},load:function(t,e){t=this._getIndex(t);var n=this,r=this.tabs.eq(t),a=r.find(".ui-tabs-anchor"),d=this._getPanelForTab(r),_={tab:r,panel:d},h=function(f,w){w==="abort"&&n.panels.stop(!1,!0),n._removeClass(r,"ui-tabs-loading"),d.removeAttr("aria-busy"),f===n.xhr&&delete n.xhr};
vendor: 6,630 bytes, lines 19-21
19!this._isLocal(a[0])&&(this.xhr=i.ajax(this._ajaxSettings(a,e,_)),this.xhr.statusText!=="canceled"&&(this._addClass(r,"ui-tabs-loading"),d.attr("aria-busy","true"),this.xhr.done(function(f,w,k){d.html(f),n._trigger("load",e,_),h(k,w)}).fail(function(f,w){h(f,w)})))},_ajaxSettings:function(t,e,n){var r=this;return{url:t.attr("href"),beforeSend:function(a,d){return r._trigger("beforeLoad",e,i.extend({jqXHR:a,ajaxSettings:d},n))}}},_getPanelForTab:function(t){var e=i(t).attr("aria-controls");return this.element.find("#"+CSS.escape(e))}}),i.uiBackCompat===!0&&i.widget("ui.tabs",i.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),i.ui.tabs,i.widget("ui.tooltip",{version:"1.14.2",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=i(this).attr("title");return i("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,e){var n=(t.attr("aria-describedby")||"").split(/\s+/);n.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",String.prototype.trim.call(n.join(" ")))},_removeDescribedBy:function(t){var e=t.data("ui-tooltip-id"),n=(t.attr("aria-describedby")||"").split(/\s+/),r=i.inArray(e,n);r!==-1&&n.splice(r,1),t.removeData("ui-tooltip-id"),(n=String.prototype.trim.call(n.join(" ")))?t.attr("aria-describedby",n):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=i("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=i([])},_setOption:function(t,e){var n=this;this._super(t,e),t==="content"&&i.each(this.tooltips,function(r,a){n._updateContent(a.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var t=this;i.each(this.tooltips,function(e,n){var r=i.Event("blur");r.target=r.currentTarget=n.element[0],t.close(r,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=i(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var t=i(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))}),this.disabledTitles=i([])},open:function(t){var e=this,n=i(t?t.target:this.element).closest(this.options.items);!(!n.length||n.data("ui-tooltip-id"))&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),t&&t.type==="mouseover"&&n.parents().each(function(){var r,a=i(this);a.data("ui-tooltip-open")&&((r=i.Event("blur")).target=r.currentTarget=this,e.close(r,!0)),a.attr("title")&&(a.uniqueId(),e.parents[this.id]={element:this,title:a.attr("title")},a.attr("title",""))}),this._registerCloseHandlers(t,n),this._updateContent(n,t))},_updateContent:function(t,e){var n,r=this.options.content,a=this,d=e?e.type:null;if(typeof r=="string"||r.nodeType||r.jquery)return this._open(e,t,r);(n=r.call(t[0],function(_){t.data("ui-tooltip-open")&&(e&&(e.type=d),a._open(e,t,_))}))&&this._open(e,t,n)},_open:function(t,e,n){var r,a,d,_,h=i.extend({},this.options.position);if(n){if(r=this._find(e)){r.tooltip.find(".ui-tooltip-content").html(n);return}e.is("[title]")&&(t&&t.type==="mouseover"?e.attr("title",""):e.removeAttr("title")),a=(r=this._tooltip(e)).tooltip,this._addDescribedBy(e,a.attr("id")),a.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(_=i("<div>").html(a.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),_.removeAttr("id").find("[id]").removeAttr("id"),_.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:f}),f(t)):a.position(i.extend({of:e},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(d=this.delayedShow=setInterval(function(){a.is(":visible")&&(f(h.of),clearInterval(d))},13)),this._trigger("open",t,{tooltip:a})}function f(w){h.of=w,!a.is(":hidden")&&a.position(h)}},_registerCloseHandlers:function(t,e){var n={keyup:function(r){if(r.keyCode===i.ui.keyCode.ESCAPE){var a=i.Event(r);a.currentTarget=e[0],this.close(a,!0)}}};e[0]!==this.element[0]&&(n.remove=function(){var r=this._find(e);r&&this._removeTooltip(r.tooltip)}),t&&t.type!=="mouseover"||(n.mouseleave="close"),t&&t.type!=="focusin"||(n.focusout="close"),this._on(!0,e,n)},close:function(t){var e,n=this,r=i(t?t.currentTarget:this.element),a=this._find(r);if(!a){r.removeData("ui-tooltip-open");return}e=a.tooltip,!a.closing&&(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&!r.attr("title")&&r.attr("title",r.data("ui-tooltip-title")),this._removeDescribedBy(r),a.hiding=!0,e.stop(!0),this._hide(e,this.options.hide,function(){n._removeTooltip(i(this))}),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),t&&t.type==="mouseleave"&&i.each(this.parents,function(d,_){i(_.element).attr("title",_.title),delete n.parents[d]}),a.closing=!0,this._trigger("close",t,{tooltip:e}),a.hiding||(a.closing=!1))},_tooltip:function(t){var e=i("<div>").attr("role","tooltip"),n=i("<div>").appendTo(e),r=e.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(e,"ui-tooltip","ui-widget ui-widget-content"),e.appendTo(this._appendTo(t)),this.tooltips[r]={element:t,tooltip:e}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){clearInterval(this.delayedShow),t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var t=this;i.each(this.tooltips,function(e,n){var r=i.Event("blur"),a=n.element;r.target=r.currentTarget=a[0],t.close(r,!0),i("#"+e).remove(),a.data("ui-tooltip-title")&&(a.attr("title")||a.attr("title",a.data("ui-tooltip-title")),a.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),i.uiBackCompat===!0&&i.widget("ui.tooltip",i.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),i.ui.tooltip});
20
21//# debugId=5fb57b9b-1857-514a-98a6-31104918fe9c

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.