PageSourceSearch

https://suedtirol.live/dist/assets/assets-CKGzh0wd.js

js suedtirol.live collected 2026-10-08 05:40:15 UTC 703,406 bytes, 64 lines download raw bytes

vendor: 4,529 bytes, line 1
1(function(e,W){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=e.document?W(e,!0):function(M){if(!M.document)throw new Error("jQuery requires a window with a document");return W(M)}:W(e)})(typeof window!="undefined"?window:this,function(e,W){"use strict";var M=[],mt=Object.getPrototypeOf,w=M.slice,S=M.flat?function(n){return M.flat.call(n)}:function(n){return M.concat.apply([],n)},a=M.push,b=M.indexOf,x={},m=x.toString,v=x.hasOwnProperty,d=v.toString,f=d.call(Object),C={},g=function(h){return typeof h=="function"&&typeof h.nodeType!="number"&&typeof h.item!="function"},P=function(h){return h!=null&&h===h.window},A=e.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function r(n,h,y){y=y||A;var E,D,O=y.createElement("script");if(O.text=n,h)for(E in u)D=h[E]||h.getAttribute&&h.getAttribute(E),D&&O.setAttribute(E,D);y.head.appendChild(O).parentNode.removeChild(O)}function c(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?x[m.call(n)]||"object":typeof n}var T="3.7.0",k=/HTML$/i,l=function(n,h){return new l.fn.init(n,h)};l.fn=l.prototype={jquery:T,constructor:l,length:0,toArray:function(){return w.call(this)},get:function(n){return n==null?w.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var h=l.merge(this.constructor(),n);return h.prevObject=this,h},each:function(n){return l.each(this,n)},map:function(n){return this.pushStack(l.map(this,function(h,y){return n.call(h,y,h)}))},slice:function(){return this.pushStack(w.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(l.grep(this,function(n,h){return(h+1)%2}))},odd:function(){return this.pushStack(l.grep(this,function(n,h){return h%2}))},eq:function(n){var h=this.length,y=+n+(n<0?h:0);return this.pushStack(y>=0&&y<h?[this[y]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:M.sort,splice:M.splice},l.extend=l.fn.extend=function(){var n,h,y,E,D,O,B=arguments[0]||{},rt=1,st=arguments.length,gt=!1;for(typeof B=="boolean"&&(gt=B,B=arguments[rt]||{},rt++),typeof B!="object"&&!g(B)&&(B={}),rt===st&&(B=this,rt--);rt<st;rt++)if((n=arguments[rt])!=null)for(h in n)E=n[h],!(h==="__proto__"||B===E)&&(gt&&E&&(l.isPlainObject(E)||(D=Array.isArray(E)))?(y=B[h],D&&!Array.isArray(y)?O=[]:!D&&!l.isPlainObject(y)?O={}:O=y,D=!1,B[h]=l.extend(gt,O,E)):E!==void 0&&(B[h]=E));return B},l.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n)},noop:function(){},isPlainObject:function(n){var h,y;return!n||m.call(n)!=="[object Object]"?!1:(h=mt(n),h?(y=v.call(h,"constructor")&&h.constructor,typeof y=="function"&&d.call(y)===f):!0)},isEmptyObject:function(n){var h;for(h in n)return!1;return!0},globalEval:function(n,h,y){r(n,{nonce:h&&h.nonce},y)},each:function(n,h){var y,E=0;if(R(n))for(y=n.length;E<y&&h.call(n[E],E,n[E])!==!1;E++);else for(E in n)if(h.call(n[E],E,n[E])===!1)break;return n},text:function(n){var h,y="",E=0,D=n.nodeType;if(D){if(D===1||D===9||D===11)return n.textContent;if(D===3||D===4)return n.nodeValue}else for(;h=n[E++];)y+=l.text(h);return y},makeArray:function(n,h){var y=h||[];return n!=null&&(R(Object(n))?l.merge(y,typeof n=="string"?[n]:n):a.call(y,n)),y},inArray:function(n,h,y){return h==null?-1:b.call(h,n,y)},isXMLDoc:function(n){var h=n&&n.namespaceURI,y=n&&(n.ownerDocument||n).documentElement;return!k.test(h||y&&y.nodeName||"HTML")},merge:function(n,h){for(var y=+h.length,E=0,D=n.length;E<y;E++)n[D++]=h[E];return n.length=D,n},grep:function(n,h,y){for(var E,D=[],O=0,B=n.length,rt=!y;O<B;O++)E=!h(n[O],O),E!==rt&&D.push(n[O]);return D},map:function(n,h,y){var E,D,O=0,B=[];if(R(n))for(E=n.length;O<E;O++)D=h(n[O],O,y),D!=null&&B.push(D);else for(O in n)D=h(n[O],O,y),D!=null&&B.push(D);return S(B)},guid:1,support:C}),typeof Symbol=="function"&&(l.fn[Symbol.iterator]=M[Symbol.iterator]),l.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,h){x["[object "+h+"]"]=h.toLowerCase()});function R(n){var h=!!n&&"length"in n&&n.length,y=c(n);return g(n)||P(n)?!1:y==="array"||h===0||typeof h=="number"&&h>0&&h-1 in n}function F(n,h){return n.nodeName&&n.nodeName.toLowerCase()===h.toLowerCase()}var Y=M.pop,G=M.sort,j=M.splice,Z="[\\x20\\t\\r\\n\\f]",H=new RegExp("^"+Z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Z+"+$","g");l.contains=function(n,h){var y=h&&h.parentNode;return n===y||!!(y&&y.nodeType===1&&(n.contains?n.contains(y):n.compareDocumentPosition&&n.c
1ompareDocumentPosition(y)&16))};var ht=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function lt(n,h){return h?n==="\0"?"\uFFFD":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n}l.escapeSelector=function(n){return(n+"").replace(ht,lt)};var ut=A,pt=a;(function(){var n,h,y,E,D,O=pt,B,rt,st,gt,Ot,Ft=l.expando,yt=0,kt=0,be=cn(),we=cn(),Ee=cn(),Ke=cn(),Ge=function($,ct){return $===ct&&(D=!0),0},ti="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ri="(?:\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Le="\\["+Z+"*("+ri+")(?:"+Z+"*([*^$|!~]?=)"+Z+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ri+"))|)"+Z+"*\\]",Wi=":("+ri+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Le+")*)|.*)\\)|)",je=new RegExp(Z+"+","g"),ii=new RegExp("^"+Z+"*,"+Z+"*"),en=new RegExp("^"+Z+"*([>+~]|"+Z+")"+Z+"*"),wn=new RegExp(Z+"|>"),Ei=new RegExp(Wi),nn=new RegExp("^"+ri+"$"),Ai={ID:new RegExp("^#("+ri+")"),CLASS:new RegExp("^\\.("+ri+")"),TAG:new RegExp("^("+ri+"|[*])"),ATTR:new RegExp("^"+Le),PSEUDO:new RegExp("^"+Wi),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Z+"*(even|odd|(([+-]|)(\\d*)n|)"+Z+"*(?:([+-]|)"+Z+"*(\\d+)|))"+Z+"*\\)|)","i"),bool:new RegExp("^(?:"+ti+")$","i"),needsContext:new RegExp("^"+Z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Z+"*((?:-\\d)?\\d*)"+Z+"*\\)|)(?=[^-]|$)","i")},Ri=/^(?:input|select|textarea|button)$/i,Fi=/^h\d$/i,vi=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Cn=/[+~]/,Di=new RegExp("\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\([^\\r\\n\\f])","g"),Oi=function($,ct){var St="0x"+$.slice(1)-65536;return ct||(St<0?String.fromCharCode(St+65536):String.fromCharCode(St>>10|55296,St&1023|56320))},Dn=function(){Hi()},On=pn(function($){return $.disabled===!0&&F($,"fieldset")},{dir:"parentNode",next:"legend"});function Mn(){try{return B.activeElement}catch($){}}try{O.apply(M=w.call(ut.childNodes),ut.childNodes),M[ut.childNodes.length].nodeType}catch($){O={apply:function(ct,St){pt.apply(ct,w.call(St))},call:function(ct){pt.apply(ct,w.call(arguments,1))}}}function Qe($,ct,St,Dt){var Ht,ae,pe,Ce,ge,Be,Ie,Oe=ct&&ct.ownerDocument,Ue=ct?ct.nodeType:9;if(St=St||[],typeof $!="string"||!$||Ue!==1&&Ue!==9&&Ue!==11)return St;if(!Dt&&(Hi(ct),ct=ct||B,st)){if(Ue!==11&&(ge=vi.exec($)))if(Ht=ge[1]){if(Ue===9)if(pe=ct.getElementById(Ht)){if(pe.id===Ht)return O.call(St,pe),St}else return St;else if(Oe&&(pe=Oe.getElementById(Ht))&&Qe.contains(ct,pe)&&pe.id===Ht)return O.call(St,pe),St}else{if(ge[2])return O.apply(St,ct.getElementsByTagName($)),St;if((Ht=ge[3])&&ct.getElementsByClassName)return O.apply(St,ct.getElementsByClassName(Ht)),St}if(!Ke[$+" "]&&(!gt||!gt.test($))){if(Ie=$,Oe=ct,Ue===1&&(wn.test($)||en.test($))){for(Oe=Cn.test($)&&_n(ct.parentNode)||ct,(Oe!=ct||!C.scope)&&((Ce=ct.getAttribute("id"))?Ce=l.escapeSelector(Ce):ct.setAttribute("id",Ce=Ft)),Be=fn($),ae=Be.length;ae--;)Be[ae]=(Ce?"#"+Ce:":scope")+" "+dn(Be[ae]);Ie=Be.join(",")}try{return O.apply(St,Oe.querySelectorAll(Ie)),St}catch(Pe){Ke($,!0)}finally{Ce===Ft&&ct.removeAttribute("id")}}}return In($.replace(H,"$1"),ct,St,Dt)}function cn(){var $=[];function ct(St,Dt){return $.push(St+" ")>h.cacheLength&&delete ct[$.shift()],ct[St+" "]=Dt}return ct}function wi($){return $[Ft]=!0,$}function Ki($){var ct=B.createElement("fieldset");try{return!!$(ct)}catch(St){return!1}finally{ct.parentNode&&ct.parentNode.removeChild(ct),ct=null}}function Ln($){return function(ct){return F(ct,"input")&&ct.type===$}}function Rn($){return function(ct){return(F(ct,"input")||F(ct,"button"))&&ct.type===$}}function kn($){return function(ct){return"form"in ct?ct.parentNode&&ct.disabled===!1?"label"in ct?"label"in ct.parentNode?ct.parentNode.disabled===$:ct.disabled===$:ct.isDisabled===$||ct.isDisabled!==!$&&On(ct)===$:ct.disabled===$:"label"in ct?ct.disabled===$:!1}}function ji($){return wi(function(ct){return ct=+ct,wi(function(St,Dt){for(var Ht,ae=$([],St.length,ct),pe=ae.length;pe--;)St[Ht=ae[pe]]&&(St[Ht]=!(Dt[Ht]=St[Ht]))})})}function _n($){return $&&typeof $.getElementsByTagName!="undefined"&&$}function Hi($){var ct,St=$?$.ownerDocument||$:ut;return St==B||St.nodeType!==9||!St.documentElement||(B=St,rt=B.documentElement,st=!l.isXMLDoc(B),Ot=rt.matches||rt.webkitMatchesSelector||rt.msMatchesSelector,ut!=B&&(ct=B.defaultView)&&ct.top!==ct&&ct.addEventListener("unload",Dn),C.getById=Ki(function(Dt){return rt.appendChild(Dt).id=l.expando,!B.getElementsByName||!B.getElementsByName(l.expando).length}),C.disconnectedMatch=Ki(function(Dt){return Ot.call(Dt,"*")}),C.scope=Ki(function(){return B.querySelectorAll(":scope")}),C.cssHas=Ki(function(){try{return B.querySelector(":has(*,:jqfake)"),!1}catch(Dt){return!0}}),C.getById?(h.filter.ID=function(Dt){var Ht=Dt.replace(Di,Oi);return function(ae){return ae.getAttribute("id")===Ht}},h.find.ID=function(Dt,Ht){if(typeof Ht.getElementById!="undefined"&&st){var ae=Ht.getElementById(Dt);return ae?[ae]:[]}}):(h.filter.ID=function(Dt){var Ht=Dt.replace(Di,Oi);return function(ae){var pe=typeof ae.getAttributeNode!="undefined"&&ae.getAttributeNode("id");return pe&&pe.value===Ht}},h.find.ID=function(Dt,Ht){if(typeof Ht.getElementById!="undefined"&&st){var ae,pe,Ce,ge=Ht.getElementById(Dt);if(ge){if(ae=ge.getAttributeNode("id"),ae&&ae.value===Dt)return[ge];for(Ce=Ht.getElementsByName(Dt),pe=0;ge=Ce[pe++];)if(ae=ge.getAttributeNode("id"),ae&&ae.value===Dt)return[ge]}return[]}}),h.find.TAG=function(Dt,Ht){return typeof Ht.getElementsByTagName!="undefined"?Ht.getElementsByTagName(Dt):Ht.querySelectorAll(Dt)},h.find.CLASS=function(Dt,Ht){if(typeof Ht.getElementsByClassName!="undefined"&&st)return Ht.getElementsByClassName(Dt)},gt=[],Ki(function(Dt){var Ht;rt.appendChild(Dt).innerHTML="<a id='"+Ft+"' href='' disabled='disabled'></a><select id='"+Ft+"-\r\\' disabled='disabled'><option selected=''></option></select>",Dt.querySelectorAll("[selected]").length||gt.push("\\["+Z+"*(?:value|"+ti+")"),Dt.querySelectorAll("[id~="+Ft+"-]").length||gt.push("~="),Dt.querySelectorAll("a#"+Ft+"+*").length||gt.push(".#.+[+~]"),Dt.querySelectorAll(":checked").length||gt.push(":checked"),Ht=B.createElement("input"),Ht.setAttribute("type","hidden"),Dt.appendChild(Ht).setAttribute("name","D"),rt.appendChild(Dt).disabled=!0,Dt.querySelectorAll(":disabled").length!==2&&gt.push(":enabled",":disabled"),Ht=B.createElement("input"),Ht.setAttribute("name",""),Dt.appendChild(Ht),Dt.querySelectorAll("[name='']").length||gt.push("\\["+Z+"*name"+Z+"*="+Z+`*(?:''|"")`)}),C.cssHas||gt.push(":has"),gt=gt.length&&new RegExp(gt.join("|")),Ge=function(Dt,Ht){if(Dt===Ht)return D=!0,0;var ae=!Dt.compareDocumentPosition-!Ht.compareDocumentPosition;return ae||(ae=(Dt.ownerDocument||Dt)==(Ht.ownerDocument||Ht)?Dt.compareDocumentPosition(Ht):1,ae&1||!C.sortDetached&&Ht.compareDocumentPosition(Dt)===ae?Dt===B||Dt.ownerDocument==ut&&Qe.contains(ut,Dt)?-1:Ht===B||Ht.ownerDocument==ut&&Qe.contains(ut,Ht)?1:E?b.call(E,Dt)-b.call(E,Ht):0:ae&4?-1:1)}),B}Qe.matches=function($,ct){return Qe($,null,null,ct)},Qe.matchesSelector=function($,ct){if(Hi($),st&&!Ke[ct+" "]&&(!gt||!gt.test(ct)))try{var St=Ot.call($,ct);if(St||C.disconnectedMatch||$.document&&$.document.nodeType!==11)return St}catch(Dt){Ke(ct,!0)}return Qe(ct,B,null,[$]).length>0},Qe.contains=function($,ct){return($.ownerDocument||$)!=B&&Hi($),l.contains($,ct)},Qe.attr=function($,ct){($.ownerDocument||$)!=B&&Hi($);var St=h.attrHandle[ct.toLowerCase()],Dt=St&&v.call(h.attrHandle,ct.toLowerCase())?St($,ct,!st):void 0;return Dt!==void 0?Dt:$.getAttribute(ct)},Qe.error=function($){throw new Error("Syntax error, unrecognized expression: "+$)},l.uniqueSort=function($){var ct,St=[],Dt=0,Ht=0;if(D=!C.sortStable,E=!C.sortStable&&w.call($,0),G.call($,Ge),D){for(;
vendor: 8,421 bytes, line 1
1ct=$[Ht++];)ct===$[Ht]&&(Dt=St.push(Ht));for(;Dt--;)j.call($,St[Dt],1)}return E=null,$},l.fn.uniqueSort=function(){return this.pushStack(l.uniqueSort(w.apply(this)))},h=l.expr={cacheLength:50,createPseudo:wi,match:Ai,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function($){return $[1]=$[1].replace(Di,Oi),$[3]=($[3]||$[4]||$[5]||"").replace(Di,Oi),$[2]==="~="&&($[3]=" "+$[3]+" "),$.slice(0,4)},CHILD:function($){return $[1]=$[1].toLowerCase(),$[1].slice(0,3)==="nth"?($[3]||Qe.error($[0]),$[4]=+($[4]?$[5]+($[6]||1):2*($[3]==="even"||$[3]==="odd")),$[5]=+($[7]+$[8]||$[3]==="odd")):$[3]&&Qe.error($[0]),$},PSEUDO:function($){var ct,St=!$[6]&&$[2];return Ai.CHILD.test($[0])?null:($[3]?$[2]=$[4]||$[5]||"":St&&Ei.test(St)&&(ct=fn(St,!0))&&(ct=St.indexOf(")",St.length-ct)-St.length)&&($[0]=$[0].slice(0,ct),$[2]=St.slice(0,ct)),$.slice(0,3))}},filter:{TAG:function($){var ct=$.replace(Di,Oi).toLowerCase();return $==="*"?function(){return!0}:function(St){return F(St,ct)}},CLASS:function($){var ct=be[$+" "];return ct||(ct=new RegExp("(^|"+Z+")"+$+"("+Z+"|$)"))&&be($,function(St){return ct.test(typeof St.className=="string"&&St.className||typeof St.getAttribute!="undefined"&&St.getAttribute("class")||"")})},ATTR:function($,ct,St){return function(Dt){var Ht=Qe.attr(Dt,$);return Ht==null?ct==="!=":ct?(Ht+="",ct==="="?Ht===St:ct==="!="?Ht!==St:ct==="^="?St&&Ht.indexOf(St)===0:ct==="*="?St&&Ht.indexOf(St)>-1:ct==="$="?St&&Ht.slice(-St.length)===St:ct==="~="?(" "+Ht.replace(je," ")+" ").indexOf(St)>-1:ct==="|="?Ht===St||Ht.slice(0,St.length+1)===St+"-":!1):!0}},CHILD:function($,ct,St,Dt,Ht){var ae=$.slice(0,3)!=="nth",pe=$.slice(-4)!=="last",Ce=ct==="of-type";return Dt===1&&Ht===0?function(ge){return!!ge.parentNode}:function(ge,Be,Ie){var Oe,Ue,Pe,Ze,hi,ai=ae!==pe?"nextSibling":"previousSibling",mi=ge.parentNode,ki=Ce&&ge.nodeName.toLowerCase(),Qi=!Ie&&!Ce,ui=!1;if(mi){if(ae){for(;ai;){for(Pe=ge;Pe=Pe[ai];)if(Ce?F(Pe,ki):Pe.nodeType===1)return!1;hi=ai=$==="only"&&!hi&&"nextSibling"}return!0}if(hi=[pe?mi.firstChild:mi.lastChild],pe&&Qi){for(Ue=mi[Ft]||(mi[Ft]={}),Oe=Ue[$]||[],Ze=Oe[0]===yt&&Oe[1],ui=Ze&&Oe[2],Pe=Ze&&mi.childNodes[Ze];Pe=++Ze&&Pe&&Pe[ai]||(ui=Ze=0)||hi.pop();)if(Pe.nodeType===1&&++ui&&Pe===ge){Ue[$]=[yt,Ze,ui];break}}else if(Qi&&(Ue=ge[Ft]||(ge[Ft]={}),Oe=Ue[$]||[],Ze=Oe[0]===yt&&Oe[1],ui=Ze),ui===!1)for(;(Pe=++Ze&&Pe&&Pe[ai]||(ui=Ze=0)||hi.pop())&&!((Ce?F(Pe,ki):Pe.nodeType===1)&&++ui&&(Qi&&(Ue=Pe[Ft]||(Pe[Ft]={}),Ue[$]=[yt,ui]),Pe===ge)););return ui-=Ht,ui===Dt||ui%Dt===0&&ui/Dt>=0}}},PSEUDO:function($,ct){var St,Dt=h.pseudos[$]||h.setFilters[$.toLowerCase()]||Qe.error("unsupported pseudo: "+$);return Dt[Ft]?Dt(ct):Dt.length>1?(St=[$,$,"",ct],h.setFilters.hasOwnProperty($.toLowerCase())?wi(function(Ht,ae){for(var pe,Ce=Dt(Ht,ct),ge=Ce.length;ge--;)pe=b.call(Ht,Ce[ge]),Ht[pe]=!(ae[pe]=Ce[ge])}):function(Ht){return Dt(Ht,0,St)}):Dt}},pseudos:{not:wi(function($){var ct=[],St=[],Dt=An($.replace(H,"$1"));return Dt[Ft]?wi(function(Ht,ae,pe,Ce){for(var ge,Be=Dt(Ht,null,Ce,[]),Ie=Ht.length;Ie--;)(ge=Be[Ie])&&(Ht[Ie]=!(ae[Ie]=ge))}):function(Ht,ae,pe){return ct[0]=Ht,Dt(ct,null,pe,St),ct[0]=null,!St.pop()}}),has:wi(function($){return function(ct){return Qe($,ct).length>0}}),contains:wi(function($){return $=$.replace(Di,Oi),function(ct){return(ct.textContent||l.text(ct)).indexOf($)>-1}}),lang:wi(function($){return nn.test($||"")||Qe.error("unsupported lang: "+$),$=$.replace(Di,Oi).toLowerCase(),function(ct){var St;do if(St=st?ct.lang:ct.getAttribute("xml:lang")||ct.getAttribute("lang"))return St=St.toLowerCase(),St===$||St.indexOf($+"-")===0;while((ct=ct.parentNode)&&ct.nodeType===1);return!1}}),target:function($){var ct=e.location&&e.location.hash;return ct&&ct.slice(1)===$.id},root:function($){return $===rt},focus:function($){return $===Mn()&&B.hasFocus()&&!!($.type||$.href||~$.tabIndex)},enabled:kn(!1),disabled:kn(!0),checked:function($){return F($,"input")&&!!$.checked||F($,"option")&&!!$.selected},selected:function($){return $.parentNode&&$.parentNode.selectedIndex,$.selected===!0},empty:function($){for($=$.firstChild;$;$=$.nextSibling)if($.nodeType<6)return!1;return!0},parent:function($){return!h.pseudos.empty($)},header:function($){return Fi.test($.nodeName)},input:function($){return Ri.test($.nodeName)},button:function($){return F($,"input")&&$.type==="button"||F($,"button")},text:function($){var ct;return F($,"input")&&$.type==="text"&&((ct=$.getAttribute("type"))==null||ct.toLowerCase()==="text")},first:ji(function(){return[0]}),last:ji(function($,ct){return[ct-1]}),eq:ji(function($,ct,St){return[St<0?St+ct:St]}),even:ji(function($,ct){for(var St=0;St<ct;St+=2)$.push(St);return $}),odd:ji(function($,ct){for(var St=1;St<ct;St+=2)$.push(St);return $}),lt:ji(function($,ct,St){var Dt;for(St<0?Dt=St+ct:St>ct?Dt=ct:Dt=St;--Dt>=0;)$.push(Dt);return $}),gt:ji(function($,ct,St){for(var Dt=St<0?St+ct:St;++Dt<ct;)$.push(Dt);return $})}},h.pseudos.nth=h.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})h.pseudos[n]=Ln(n);for(n in{submit:!0,reset:!0})h.pseudos[n]=Rn(n);function Pn(){}Pn.prototype=h.filters=h.pseudos,h.setFilters=new Pn;function fn($,ct){var St,Dt,Ht,ae,pe,Ce,ge,Be=we[$+" "];if(Be)return ct?0:Be.slice(0);for(pe=$,Ce=[],ge=h.preFilter;pe;){(!St||(Dt=ii.exec(pe)))&&(Dt&&(pe=pe.slice(Dt[0].length)||pe),Ce.push(Ht=[])),St=!1,(Dt=en.exec(pe))&&(St=Dt.shift(),Ht.push({value:St,type:Dt[0].replace(H," ")}),pe=pe.slice(St.length));for(ae in h.filter)(Dt=Ai[ae].exec(pe))&&(!ge[ae]||(Dt=ge[ae](Dt)))&&(St=Dt.shift(),Ht.push({value:St,type:ae,matches:Dt}),pe=pe.slice(St.length));if(!St)break}return ct?pe.length:pe?Qe.error($):we($,Ce).slice(0)}function dn($){for(var ct=0,St=$.length,Dt="";ct<St;ct++)Dt+=$[ct].value;return Dt}function pn($,ct,St){var Dt=ct.dir,Ht=ct.next,ae=Ht||Dt,pe=St&&ae==="parentNode",Ce=kt++;return ct.first?function(ge,Be,Ie){for(;ge=ge[Dt];)if(ge.nodeType===1||pe)return $(ge,Be,Ie);return!1}:function(ge,Be,Ie){var Oe,Ue,Pe=[yt,Ce];if(Ie){for(;ge=ge[Dt];)if((ge.nodeType===1||pe)&&$(ge,Be,Ie))return!0}else for(;ge=ge[Dt];)if(ge.nodeType===1||pe)if(Ue=ge[Ft]||(ge[Ft]={}),Ht&&F(ge,Ht))ge=ge[Dt]||ge;else{if((Oe=Ue[ae])&&Oe[0]===yt&&Oe[1]===Ce)return Pe[2]=Oe[2];if(Ue[ae]=Pe,Pe[2]=$(ge,Be,Ie))return!0}return!1}}function Tn($){return $.length>1?function(ct,St,Dt){for(var Ht=$.length;Ht--;)if(!$[Ht](ct,St,Dt))return!1;return!0}:$[0]}function Fn($,ct,St){for(var Dt=0,Ht=ct.length;Dt<Ht;Dt++)Qe($,ct[Dt],St);return St}function gn($,ct,St,Dt,Ht){for(var ae,pe=[],Ce=0,ge=$.length,Be=ct!=null;Ce<ge;Ce++)(ae=$[Ce])&&(!St||St(ae,Dt,Ht))&&(pe.push(ae),Be&&ct.push(Ce));return pe}function Sn($,ct,St,Dt,Ht,ae){return Dt&&!Dt[Ft]&&(Dt=Sn(Dt)),Ht&&!Ht[Ft]&&(Ht=Sn(Ht,ae)),wi(function(pe,Ce,ge,Be){var Ie,Oe,Ue,Pe,Ze=[],hi=[],ai=Ce.length,mi=pe||Fn(ct||"*",ge.nodeType?[ge]:ge,[]),ki=$&&(pe||!ct)?gn(mi,Ze,$,ge,Be):mi;if(St?(Pe=Ht||(pe?$:ai||Dt)?[]:Ce,St(ki,Pe,ge,Be)):Pe=ki,Dt)for(Ie=gn(Pe,hi),Dt(Ie,[],ge,Be),Oe=Ie.length;Oe--;)(Ue=Ie[Oe])&&(Pe[hi[Oe]]=!(ki[hi[Oe]]=Ue));if(pe){if(Ht||$){if(Ht){for(Ie=[],Oe=Pe.length;Oe--;)(Ue=Pe[Oe])&&Ie.push(ki[Oe]=Ue);Ht(null,Pe=[],Ie,Be)}for(Oe=Pe.length;Oe--;)(Ue=Pe[Oe])&&(Ie=Ht?b.call(pe,Ue):Ze[Oe])>-1&&(pe[Ie]=!(Ce[Ie]=Ue))}}else Pe=gn(Pe===Ce?Pe.splice(ai,Pe.length):Pe),Ht?Ht(null,Ce,Pe,Be):O.apply(Ce,Pe)})}function En($){for(var ct,St,Dt,Ht=$.length,ae=h.relative[$[0].type],pe=ae||h.relative[" "],Ce=ae?1:0,ge=pn(function(Oe){return Oe===ct},pe,!0),Be=pn(function(Oe){return b.call(ct,Oe)>-1},pe,!0),Ie=[function(Oe,Ue,Pe){var Ze=!ae&&(Pe||Ue!=y)||((ct=Ue).nodeType?ge(Oe,Ue,Pe):Be(Oe,Ue,Pe));return ct=null,Ze}];Ce<Ht;Ce++)if(St=h.relative[$[Ce].type])Ie=[pn(Tn(Ie),St)];else{if(St=h.filter[$[Ce].type].apply(null,$[Ce].matches),St[Ft]){for(Dt=++Ce;Dt<Ht&&!h.relative[$[Dt].type];Dt++);return Sn(Ce>1&&Tn(Ie),Ce>1&&dn($.slice(0,Ce-1).concat({value:$[Ce-2].type===" "?"*":""})).replace(H,"$1"),St,Ce<Dt&&En($.slice(Ce,Dt)),Dt<Ht&&En($=$.slice(Dt)),Dt<Ht&&dn($))}Ie.push(St)}return Tn(Ie)}function Hn($,ct){var St=ct.length>0,Dt=$.length>0,Ht=function(ae,pe,Ce,ge,Be){var Ie,Oe,Ue,Pe=0,Ze="0",hi=ae&&[],ai=[],mi=y,ki=ae||Dt&&h.find.TAG("*",Be),Qi=yt+=mi==null?1:Math.random()||.1,ui=ki.length;for(Be&&(y=pe==B||pe||Be);Ze!==ui&&(Ie=ki[Ze])!=null;Ze++){if(Dt&&Ie){for(Oe=0,!pe&&Ie.ownerDocument!=B&&(Hi(Ie),Ce=!st);
vendor: 6,027 bytes, line 1
1Ue=$[Oe++];)if(Ue(Ie,pe||B,Ce)){O.call(ge,Ie);break}Be&&(yt=Qi)}St&&((Ie=!Ue&&Ie)&&Pe--,ae&&hi.push(Ie))}if(Pe+=Ze,St&&Ze!==Pe){for(Oe=0;Ue=ct[Oe++];)Ue(hi,ai,pe,Ce);if(ae){if(Pe>0)for(;Ze--;)hi[Ze]||ai[Ze]||(ai[Ze]=Y.call(ge));ai=gn(ai)}O.apply(ge,ai),Be&&!ae&&ai.length>0&&Pe+ct.length>1&&l.uniqueSort(ge)}return Be&&(yt=Qi,y=mi),hi};return St?wi(Ht):Ht}function An($,ct){var St,Dt=[],Ht=[],ae=Ee[$+" "];if(!ae){for(ct||(ct=fn($)),St=ct.length;St--;)ae=En(ct[St]),ae[Ft]?Dt.push(ae):Ht.push(ae);ae=Ee($,Hn(Ht,Dt)),ae.selector=$}return ae}function In($,ct,St,Dt){var Ht,ae,pe,Ce,ge,Be=typeof $=="function"&&$,Ie=!Dt&&fn($=Be.selector||$);if(St=St||[],Ie.length===1){if(ae=Ie[0]=Ie[0].slice(0),ae.length>2&&(pe=ae[0]).type==="ID"&&ct.nodeType===9&&st&&h.relative[ae[1].type]){if(ct=(h.find.ID(pe.matches[0].replace(Di,Oi),ct)||[])[0],ct)Be&&(ct=ct.parentNode);else return St;$=$.slice(ae.shift().value.length)}for(Ht=Ai.needsContext.test($)?0:ae.length;Ht--&&(pe=ae[Ht],!h.relative[Ce=pe.type]);)if((ge=h.find[Ce])&&(Dt=ge(pe.matches[0].replace(Di,Oi),Cn.test(ae[0].type)&&_n(ct.parentNode)||ct))){if(ae.splice(Ht,1),$=Dt.length&&dn(ae),!$)return O.apply(St,Dt),St;break}}return(Be||An($,Ie))(Dt,ct,!st,St,!ct||Cn.test($)&&_n(ct.parentNode)||ct),St}C.sortStable=Ft.split("").sort(Ge).join("")===Ft,Hi(),C.sortDetached=Ki(function($){return $.compareDocumentPosition(B.createElement("fieldset"))&1}),l.find=Qe,l.expr[":"]=l.expr.pseudos,l.unique=l.uniqueSort,Qe.compile=An,Qe.select=In,Qe.setDocument=Hi,Qe.escape=l.escapeSelector,Qe.getText=l.text,Qe.isXML=l.isXMLDoc,Qe.selectors=l.expr,Qe.support=l.support,Qe.uniqueSort=l.uniqueSort})();var wt=function(n,h,y){for(var E=[],D=y!==void 0;(n=n[h])&&n.nodeType!==9;)if(n.nodeType===1){if(D&&l(n).is(y))break;E.push(n)}return E},_t=function(n,h){for(var y=[];n;n=n.nextSibling)n.nodeType===1&&n!==h&&y.push(n);return y},Tt=l.expr.match.needsContext,Ut=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Xt(n,h,y){return g(h)?l.grep(n,function(E,D){return!!h.call(E,D,E)!==y}):h.nodeType?l.grep(n,function(E){return E===h!==y}):typeof h!="string"?l.grep(n,function(E){return b.call(h,E)>-1!==y}):l.filter(h,n,y)}l.filter=function(n,h,y){var E=h[0];return y&&(n=":not("+n+")"),h.length===1&&E.nodeType===1?l.find.matchesSelector(E,n)?[E]:[]:l.find.matches(n,l.grep(h,function(D){return D.nodeType===1}))},l.fn.extend({find:function(n){var h,y,E=this.length,D=this;if(typeof n!="string")return this.pushStack(l(n).filter(function(){for(h=0;h<E;h++)if(l.contains(D[h],this))return!0}));for(y=this.pushStack([]),h=0;h<E;h++)l.find(n,D[h],y);return E>1?l.uniqueSort(y):y},filter:function(n){return this.pushStack(Xt(this,n||[],!1))},not:function(n){return this.pushStack(Xt(this,n||[],!0))},is:function(n){return!!Xt(this,typeof n=="string"&&Tt.test(n)?l(n):n||[],!1).length}});var Jt,qt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,zt=l.fn.init=function(n,h,y){var E,D;if(!n)return this;if(y=y||Jt,typeof n=="string")if(n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?E=[null,n,null]:E=qt.exec(n),E&&(E[1]||!h))if(E[1]){if(h=h instanceof l?h[0]:h,l.merge(this,l.parseHTML(E[1],h&&h.nodeType?h.ownerDocument||h:A,!0)),Ut.test(E[1])&&l.isPlainObject(h))for(E in h)g(this[E])?this[E](h[E]):this.attr(E,h[E]);return this}else return D=A.getElementById(E[2]),D&&(this[0]=D,this.length=1),this;else return!h||h.jquery?(h||y).find(n):this.constructor(h).find(n);else{if(n.nodeType)return this[0]=n,this.length=1,this;if(g(n))return y.ready!==void 0?y.ready(n):n(l)}return l.makeArray(n,this)};zt.prototype=l.fn,Jt=l(A);var Zt=/^(?:parents|prev(?:Until|All))/,Gt={children:!0,contents:!0,next:!0,prev:!0};l.fn.extend({has:function(n){var h=l(n,this),y=h.length;return this.filter(function(){for(var E=0;E<y;E++)if(l.contains(this,h[E]))return!0})},closest:function(n,h){var y,E=0,D=this.length,O=[],B=typeof n!="string"&&l(n);if(!Tt.test(n)){for(;E<D;E++)for(y=this[E];y&&y!==h;y=y.parentNode)if(y.nodeType<11&&(B?B.index(y)>-1:y.nodeType===1&&l.find.matchesSelector(y,n))){O.push(y);break}}return this.pushStack(O.length>1?l.uniqueSort(O):O)},index:function(n){return n?typeof n=="string"?b.call(l(n),this[0]):b.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,h){return this.pushStack(l.uniqueSort(l.merge(this.get(),l(n,h))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});function te(n,h){for(;(n=n[h])&&n.nodeType!==1;);return n}l.each({parent:function(n){var h=n.parentNode;return h&&h.nodeType!==11?h:null},parents:function(n){return wt(n,"parentNode")},parentsUntil:function(n,h,y){return wt(n,"parentNode",y)},next:function(n){return te(n,"nextSibling")},prev:function(n){return te(n,"previousSibling")},nextAll:function(n){return wt(n,"nextSibling")},prevAll:function(n){return wt(n,"previousSibling")},nextUntil:function(n,h,y){return wt(n,"nextSibling",y)},prevUntil:function(n,h,y){return wt(n,"previousSibling",y)},siblings:function(n){return _t((n.parentNode||{}).firstChild,n)},children:function(n){return _t(n.firstChild)},contents:function(n){return n.contentDocument!=null&&mt(n.contentDocument)?n.contentDocument:(F(n,"template")&&(n=n.content||n),l.merge([],n.childNodes))}},function(n,h){l.fn[n]=function(y,E){var D=l.map(this,h,y);return n.slice(-5)!=="Until"&&(E=y),E&&typeof E=="string"&&(D=l.filter(E,D)),this.length>1&&(Gt[n]||l.uniqueSort(D),Zt.test(n)&&D.reverse()),this.pushStack(D)}});var ie=/[^\x20\t\r\n\f]+/g;function Te(n){var h={};return l.each(n.match(ie)||[],function(y,E){h[E]=!0}),h}l.Callbacks=function(n){n=typeof n=="string"?Te(n):l.extend({},n);var h,y,E,D,O=[],B=[],rt=-1,st=function(){for(D=D||n.once,E=h=!0;B.length;rt=-1)for(y=B.shift();++rt<O.length;)O[rt].apply(y[0],y[1])===!1&&n.stopOnFalse&&(rt=O.length,y=!1);n.memory||(y=!1),h=!1,D&&(y?O=[]:O="")},gt={add:function(){return O&&(y&&!h&&(rt=O.length-1,B.push(y)),(function Ot(Ft){l.each(Ft,function(yt,kt){g(kt)?(!n.unique||!gt.has(kt))&&O.push(kt):kt&&kt.length&&c(kt)!=="str
1ing"&&Ot(kt)})})(arguments),y&&!h&&st()),this},remove:function(){return l.each(arguments,function(Ot,Ft){for(var yt;(yt=l.inArray(Ft,O,yt))>-1;)O.splice(yt,1),yt<=rt&&rt--}),this},has:function(Ot){return Ot?l.inArray(Ot,O)>-1:O.length>0},empty:function(){return O&&(O=[]),this},disable:function(){return D=B=[],O=y="",this},disabled:function(){return!O},lock:function(){return D=B=[],!y&&!h&&(O=y=""),this},locked:function(){return!!D},fireWith:function(Ot,Ft){return D||(Ft=Ft||[],Ft=[Ot,Ft.slice?Ft.slice():Ft],B.push(Ft),h||st()),this},fire:function(){return gt.fireWith(this,arguments),this},fired:function(){return!!E}};return gt};function ve(n){return n}function Se(n){throw n}function ne(n,h,y,E){var D;try{n&&g(D=n.promise)?D.call(n).done(h).fail(y):n&&g(D=n.then)?D.call(n,h,y):h.apply(void 0,[n].slice(E))}catch(O){y.apply(void 0,[O])}}l.extend({Deferred:function(n){var h=[["notify","progress",l.Callbacks("memory"),l.Callbacks("memory"),2],["resolve","done",l.Callbacks("once memory"),l.Callbacks("once memory"),0,"resolved"],["reject","fail",l.Callbacks("once memory"),l.Callbacks("once memory"),1,"rejected"]],y="pending",E={state:function(){return y},always:function(){return D.done(arguments).fail(arguments),this},catch:function(O){return E.then(null,O)},pipe:function(){var O=arguments;return l.Deferred(function(B){l.each(h,function(rt,st){var gt=g(O[st[4]])&&O[st[4]];D[st[1]](function(){var Ot=gt&&gt.apply(this,arguments);Ot&&g(Ot.promise)?Ot.promise().progress(B.notify).done(B.resolve).fail(B.reject):B[st[0]+"With"](this,gt?[Ot]:arguments)})}),O=null}).promise()},then:function(O,B,rt){var st=0;function gt(Ot,Ft,yt,kt){return function(){var be=this,we=arguments,Ee=function(){var Ge,ti;if(!(Ot<st)){if(Ge=yt.apply(be,we),Ge===Ft.promise())throw new TypeError("Thenable self-resolution");ti=Ge&&(typeof Ge=="object"||typeof Ge=="function")&&Ge.then,g(ti)?kt?ti.call(Ge,gt(st,Ft,ve,kt),gt(st,Ft,Se,kt)):(st++,ti.call(Ge,gt(st,Ft,ve,kt),gt(st,Ft,Se,kt),gt(st,Ft,ve,Ft.notifyWith))):(yt!==ve&&(be=void 0,we=[Ge]),(kt||Ft.resolveWith)(be,we))}},Ke=kt?Ee:function(){try{Ee()}catch(Ge){l.Deferred.exceptionHook&&l.Deferred.exceptionHook(Ge,Ke.error),Ot+1>=st&&(yt!==Se&&(be=void 0,we=[Ge]),Ft.rejectWith(be,we))}};Ot?Ke():(l.Deferred.getErrorHook?Ke.error=l.Deferred.getErrorHook():l.Deferred.getStackHook&&(Ke.error=l.Deferred.getStackHook()),e.setTimeout(Ke))}}return l.Deferred(function(Ot){h[0][3].add(gt(0,Ot,g(rt)?rt:ve,Ot.notifyWith)),h[1][3].add(gt(0,Ot,g(O)?O:ve)),h[2][3].add(gt(0,Ot,g(B)?B:Se))}).promise()},promise:function(O){return O!=null?l.extend(O,E):E}},D={};return l.each(h,function(O,B){var rt=B[2],st=B[5];E[B[1]]=rt.add,st&&rt.add(function(){y=st},h[3-O][2].disable,h[3-O][3].disable,h[0][2].lock,h[0][3].lock),rt.add(B[3].fire),D[B[0]]=function(){return D[B[0]+"With"](this===D?void 0:this,arguments),this},D[B[0]+"With"]=rt.fireWith}),E.promise(D),n&&n.call(D,D),D},when:function(n){var h=arguments.length,y=h,E=Array(y),D=w.call(arguments),O=l.Deferred(),B=function(rt){return function(st){E[rt]=this,D[rt]=arguments.length>1?w.call(arguments):st,--h||O.resolveWith(E,D)}};if(h<=1&&(ne(n,O.done(B(y)).resolve,O.reject,!h),O.state()==="pending"||g(D[y]&&D[y].then)))return O.then();for(;y--;)ne(D[y],B(y),O.reject);return O.promise()}});var le=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;l.Deferred.exceptionHook=function(n,h){e.console&&e.console.warn&&n&&le.test(n.name)&&e.console.warn("jQuery.Deferred exception: "+n.message,n.stack,h)},l.readyException=function(n){e.setTimeout(function(){throw n})};var ce=l.Deferred();l.fn.ready=function(n){return ce.then(n).catch(function(h){l.readyException(h)}),this},l.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--l.readyWait:l.isReady)||(l.isReady=!0,!(n!==!0&&--l.readyWait>0)&&ce.resolveWith(A,[l]))}}),l.ready.then=ce.then;function fe(){A.removeEventListener("DOMContentLoaded",fe),e.removeEventListener("load",fe),l.ready()}A.readyState==="complete"||A.readyState!=="loading"&&!A.documentElement.doScroll?e.setTimeout(l.ready):(A.addEventListener("DOMContentLoaded",fe),e.addEventListener("load",fe));var he=function(n,h,y,E,D,O,B){var rt=0,st=n.length,gt=y==null;if(c(y)==="object"){D=!0;for(rt in y)he(n,h,rt,y[rt],!0,O,B)}else if(E!==void 0&&(D=!0,g(E)||(B=!0),gt&&(B?(h.call(n,E),h=null):(gt=h,h=function(Ot,Ft,yt){return gt.call(l(Ot),yt)})),h))for(;rt<st;rt++)h(n[rt],y,B?E:E.call(n[rt],rt,h(n[rt],y)));return D?n:gt?h.call(n):st?h(n[0],y):O},_e=/^-ms-/,ee=/-([a-z])/g;function jt(n,h){return h.toUpperCase()}function se(n){return n.replace(_e,"ms-").replace(ee,jt)}var me=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};function Fe(){this.expando=l.expando+Fe.uid++}Fe.uid=1,Fe.prototype={cache:function(n){var h=n[this.expando];return h||(h={},me(n)&&(n.nodeType?n[this.expando]=h:Object.defineProperty(n,this.expando,{value:h,configurable:!0}))),h},set:function(n,h,y){var E,D=this.cache(n);if(typeof h=="string")D[se(h)]=y;else for(E in h)D[se(E)]=h[E];return D},get:function(n,h){return h===void 0?this.cache(n):n[this.expando]&&n[this.expando][se(h)]},access:function(n,h,y){return h===void 0||h&&typeof h=="string"&&y===void 0?this.get(n,h):(this.set(n,h,y),y!==void 0?y:h)},remove:function(n,h){var y,E=n[this.expando];if(E!==void 0){if(h!==void 0)for(Array.isArray(h)?h=h.map(se):(h=se(h),h=h in E?[h]:h.match(ie)||[]),y=h.length;y--;)delete E[h[y]];(h===void 0||l.isEmptyObject(E))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var h=n[this.expando];return h!==void 0&&!l.isEmptyObject(h)}};var re=new Fe,We=new Fe,$e=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Me=/[A-Z]/g;function De(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:$e.test(n)?JSON.parse(n):n}function t(n,h,y){var E;if(y===void 0&&n.nodeType===1)if(E="data-"+h.replace(Me,"-$&").toLowerCase(),y=n.getAttribute(E),typeof y=="string"){try{y=De(y)}catch(D){}We.set(n,h,y)}else y=void 0;return y}l.extend({hasData:function(n){return We.hasData(n)||re.hasData(n)},data:function(n,h,y){return We.access(n,h,y)},removeData:function(n,h){We.remove(n,h)},_data:function(n,h,y){return re.access(n,h,y)},_removeData:function(n,h){re.remove(n,h)}}),l.fn.extend({data:function(n,h){var y,E,D,O=this[0],B=O&&O.attributes;if(n===void 0){if(this.length&&(D=We.get(O),O.nodeType===1&&!re.get(O,"hasDataAttrs"))){for(y=B.length;y--;)B[y]&&(E=B[y].name,E.indexOf("data-")===0&&(E=se(E.slice(5)),t(O,E,D[E])));re.set(O,"hasDataAttrs",!0)}return D}return typeof n=="object"?this.each(function(){We.set(this,n)}):he(this,function(rt){var st;if(O&&rt===void 0)return st=We.get(O,n),st!==void 0||(st=t(O,n),st!==void 0)?st:void 0;this.each(function(){We.set(this,n,rt)})},null,h,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){We.remove(this,n)})}}),l.extend({queue:function(n,h,y){var E;if(n)return h=(h||"fx")+"queue",E=re.get(n,h),y&&(!E||Array.isArray(y)?E=re.access(n,h,l.makeArray(y)):E.push(y)),E||[]},dequeue:function(n,h){h=h||"fx";var y=l.queue(n,h),E=y.length,D=y.shift(),O=l._queueHooks(n,h),B=function(){l.dequeue(n,h)};D==="inprogress"&&(D=y.shift(),E--),D&&(h==="fx"&&y.unshift("inprogress"),delete O.stop,D.call(n,B,O)),!E&&O&&O.empty.fire()},_queueHooks:function(n,h){var y=h+"queueHooks";return re.get(n,y)||re.access(n,y,{empty:l.Callbacks("once memory").add(function(){re.remove(n,[h+"queue",y])})})}}),l.fn.extend({queue:function(n,h){var y=2;
vendor: 8,401 bytes, line 1
1return typeof n!="string"&&(h=n,n="fx",y--),arguments.length<y?l.queue(this[0],n):h===void 0?this:this.each(function(){var E=l.queue(this,n,h);l._queueHooks(this,n),n==="fx"&&E[0]!=="inprogress"&&l.dequeue(this,n)})},dequeue:function(n){return this.each(function(){l.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,h){var y,E=1,D=l.Deferred(),O=this,B=this.length,rt=function(){--E||D.resolveWith(O,[O])};for(typeof n!="string"&&(h=n,n=void 0),n=n||"fx";B--;)y=re.get(O[B],n+"queueHooks"),y&&y.empty&&(E++,y.empty.add(rt));return rt(),D.promise(h)}});var i=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=new RegExp("^(?:([+-])=|)("+i+")([a-z%]*)$","i"),o=["Top","Right","Bottom","Left"],p=A.documentElement,_=function(n){return l.contains(n.ownerDocument,n)},I={composed:!0};p.getRootNode&&(_=function(n){return l.contains(n.ownerDocument,n)||n.getRootNode(I)===n.ownerDocument});var U=function(n,h){return n=h||n,n.style.display==="none"||n.style.display===""&&_(n)&&l.css(n,"display")==="none"};function Q(n,h,y,E){var D,O,B=20,rt=E?function(){return E.cur()}:function(){return l.css(n,h,"")},st=rt(),gt=y&&y[3]||(l.cssNumber[h]?"":"px"),Ot=n.nodeType&&(l.cssNumber[h]||gt!=="px"&&+st)&&s.exec(l.css(n,h));if(Ot&&Ot[3]!==gt){for(st=st/2,gt=gt||Ot[3],Ot=+st||1;B--;)l.style(n,h,Ot+gt),(1-O)*(1-(O=rt()/st||.5))<=0&&(B=0),Ot=Ot/O;Ot=Ot*2,l.style(n,h,Ot+gt),y=y||[]}return y&&(Ot=+Ot||+st||0,D=y[1]?Ot+(y[1]+1)*y[2]:+y[2],E&&(E.unit=gt,E.start=Ot,E.end=D)),D}var ot={};function vt(n){var h,y=n.ownerDocument,E=n.nodeName,D=ot[E];return D||(h=y.body.appendChild(y.createElement(E)),D=l.css(h,"display"),h.parentNode.removeChild(h),D==="none"&&(D="block"),ot[E]=D,D)}function xt(n,h){for(var y,E,D=[],O=0,B=n.length;O<B;O++)E=n[O],E.style&&(y=E.style.display,h?(y==="none"&&(D[O]=re.get(E,"display")||null,D[O]||(E.style.display="")),E.style.display===""&&U(E)&&(D[O]=vt(E))):y!=="none"&&(D[O]="none",re.set(E,"display",y)));for(O=0;O<B;O++)D[O]!=null&&(n[O].style.display=D[O]);return n}l.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){U(this)?l(this).show():l(this).hide()})}});var et=/^(?:checkbox|radio)$/i,bt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Mt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var n=A.createDocumentFragment(),h=n.appendChild(A.createElement("div")),y=A.createElement("input");y.setAttribute("type","radio"),y.setAttribute("checked","checked"),y.setAttribute("name","t"),h.appendChild(y),C.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="<option></option>",C.option=!!h.lastChild})();var at={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,"",""]};at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,C.option||(at.optgroup=at.option=[1,"<select multiple='multiple'>","</select>"]);function Ct(n,h){var y;return typeof n.getElementsByTagName!="undefined"?y=n.getElementsByTagName(h||"*"):typeof n.querySelectorAll!="undefined"?y=n.querySelectorAll(h||"*"):y=[],h===void 0||h&&F(n,h)?l.merge([n],y):y}function Rt(n,h){for(var y=0,E=n.length;y<E;y++)re.set(n[y],"globalEval",!h||re.get(h[y],"globalEval"))}var Nt=/<|&#?\w+;/;function Lt(n,h,y,E,D){for(var O,B,rt,st,gt,Ot,Ft=h.createDocumentFragment(),yt=[],kt=0,be=n.length;kt<be;kt++)if(O=n[kt],O||O===0)if(c(O)==="object")l.merge(yt,O.nodeType?[O]:O);else if(!Nt.test(O))yt.push(h.createTextNode(O));else{for(B=B||Ft.appendChild(h.createElement("div")),rt=(bt.exec(O)||["",""])[1].toLowerCase(),st=at[rt]||at._default,B.innerHTML=st[1]+l.htmlPrefilter(O)+st[2],Ot=st[0];Ot--;)B=B.lastChild;l.merge(yt,B.childNodes),B=Ft.firstChild,B.textContent=""}for(Ft.textContent="",kt=0;O=yt[kt++];){if(E&&l.inArray(O,E)>-1){D&&D.push(O);continue}if(gt=_(O),B=Ct(Ft.appendChild(O),"script"),gt&&Rt(B),y)for(Ot=0;O=B[Ot++];)Mt.test(O.type||"")&&y.push(O)}return Ft}var oe=/^([^.]*)(?:\.(.+)|)/;function ye(){return!0}function J(){return!1}function q(n,h,y,E,D,O){var B,rt;if(typeof h=="object"){typeof y!="string"&&(E=E||y,y=void 0);for(rt in h)q(n,rt,y,E,h[rt],O);return n}if(E==null&&D==null?(D=y,E=y=void 0):D==null&&(typeof y=="string"?(D=E,E=void 0):(D=E,E=y,y=void 0)),D===!1)D=J;else if(!D)return n;return O===1&&(B=D,D=function(st){return l().off(st),B.apply(this,arguments)},D.guid=B.guid||(B.guid=l.guid++)),n.each(function(){l.event.add(this,h,D,E,y)})}l.event={global:{},add:function(n,h,y,E,D){var O,B,rt,st,gt,Ot,Ft,yt,kt,be,we,Ee=re.get(n);if(me(n))for(y.handler&&(O=y,y=O.handler,D=O.selector),D&&l.find.matchesSelector(p,D),y.guid||(y.guid=l.guid++),(st=Ee.events)||(st=Ee.events=Object.create(null)),(B=Ee.handle)||(B=Ee.handle=function(Ke){return typeof l!="undefined"&&l.event.triggered!==Ke.type?l.event.dispatch.apply(n,arguments):void 0}),h=(h||"").match(ie)||[""],gt=h.length;gt--;)rt=oe.exec(h[gt])||[],kt=we=rt[1],be=(rt[2]||"").split(".").sort(),kt&&(Ft=l.event.special[kt]||{},kt=(D?Ft.delegateType:Ft.bindType)||kt,Ft=l.event.special[kt]||{},Ot=l.extend({type:kt,origType:we,data:E,handler:y,guid:y.guid,selector:D,needsContext:D&&l.expr.match.needsContext.test(D),namespace:be.join(".")},O),(yt=st[kt])||(yt=st[kt]=[],yt.delegateCount=0,(!Ft.setup||Ft.setup.call(n,E,be,B)===!1)&&n.addEventListener&&n.addEventListener(kt,B)),Ft.add&&(Ft.add.call(n,Ot),Ot.handler.guid||(Ot.handler.guid=y.guid)),D?yt.splice(yt.delegateCount++,0,Ot):yt.push(Ot),l.event.global[kt]=!0)},remove:function(n,h,y,E,D){var O,B,rt,st,gt,Ot,Ft,yt,kt,be,we,Ee=re.hasData(n)&&re.get(n);if(!(!Ee||!(st=Ee.events))){for(h=(h||"").match(ie)||[""],gt=h.length;gt--;){if(rt=oe.exec(h[gt])||[],kt=we=rt[1],be=(rt[2]||"").split(".").sort(),!kt){for(kt in st)l.event.remove(n,kt+h[gt],y,E,!0);continue}for(Ft=l.event.special[kt]||{},kt=(E?Ft.delegateType:Ft.bindType)||kt,yt=st[kt]||[],rt=rt[2]&&new RegExp("(^|\\.)"+be.join("\\.(?:.*\\.|)")+"(\\.|$)"),B=O=yt.length;O--;)Ot=yt[O],(D||we===Ot.origType)&&(!y||y.guid===Ot.guid)&&(!rt||rt.test(Ot.namespace))&&(!E||E===Ot.selector||E==="**"&&Ot.selector)&&(yt.splice(O,1),Ot.selector&&yt.delegateCount--,Ft.remove&&Ft.remove.call(n,Ot));B&&!yt.length&&((!Ft.teardown||Ft.teardown.call(n,be,Ee.handle)===!1)&&l.removeEvent(n,kt,Ee.handle),delete st[kt])}l.isEmptyObject(st)&&re.remove(n,"handle events")}},dispatch:function(n){var h,y,E,D,O,B,rt=new Array(arguments.length),st=l.event.fix(n),gt=(re.get(this,"events")||Object.create(null))[st.type]||[],Ot=l.event.special[st.type]||{};for(rt[0]=st,h=1;h<arguments.length;h++)rt[h]=arguments[h];if(st.delegateTarget=this,!(Ot.preDispatch&&Ot.preDispatch.call(this,st)===!1)){for(B=l.event.handlers.call(this,st,gt),h=0;(D=B[h++])&&!st.isPropagationStopped();)for(st.currentTarget=D.elem,y=0;(O=D.handlers[y++])&&!st.isImmediatePropagationStopped();)(!st.rnamespace||O.namespace===!1||st.rnamespace.test(O.namespace))&&(st.handleObj=O,st.data=O.data,E=((l.event.special[O.origType]||{}).handle||O.handler).apply(D.elem,rt),E!==void 0&&(st.result=E)===!1&&(st.preventDefault(),st.stopPropagation()));return Ot.postDispatch&&Ot.postDispatch.call(this,st),st.result}},handlers:function(n,h){var y,E,D,O,B,rt=[],st=h.delegateCount,gt=n.target;if(st&&gt.nodeType&&!(n.type==="click"&&n.button>=1)){for(;gt!==this;gt=gt.parentNode||this)if(gt.nodeType===1&&!(n.type==="click"&&gt.disabled===!0)){for(O=[],B={},y=0;y<st;y++)E=h[y],D=E.selector+" ",B[D]===void 0&&(B[D]=E.needsContext?l(D,this).index(gt)>-1:l.find(D,this,null,[gt]).length),B[D]&&O.push(E);O.length&&rt.push({elem:gt,handlers:O})}}return gt=this,st<h.length&&rt.push({elem:gt,handlers:h.slice(st)}),rt},addProp:function(n,h){Object.defineProperty(l.Event.prototype,n,{enumerable:!0,configurable:!0,get:g(h)?function(){if(this.originalEvent)return h(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(y){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:y})}})},fix:function(n){return n[l.expando]?n:new l.Event(n)},special:{load:{noBubble:!0},click:{setup:function(n){var h=this||n;return et.test(h.type)&&h.click&&F(h,"input")&&V(h,"click",!0),!1},trigger:function(n){var h=this||n;
1return et.test(h.type)&&h.click&&F(h,"input")&&V(h,"click"),!0},_default:function(n){var h=n.target;return et.test(h.type)&&h.click&&F(h,"input")&&re.get(h,"click")||F(h,"a")}},beforeunload:{postDispatch:function(n){n.result!==void 0&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};function V(n,h,y){if(!y){re.get(n,h)===void 0&&l.event.add(n,h,ye);return}re.set(n,h,!1),l.event.add(n,h,{namespace:!1,handler:function(E){var D,O=re.get(this,h);if(E.isTrigger&1&&this[h]){if(O)(l.event.special[h]||{}).delegateType&&E.stopPropagation();else if(O=w.call(arguments),re.set(this,h,O),this[h](),D=re.get(this,h),re.set(this,h,!1),O!==D)return E.stopImmediatePropagation(),E.preventDefault(),D}else O&&(re.set(this,h,l.event.trigger(O[0],O.slice(1),this)),E.stopPropagation(),E.isImmediatePropagationStopped=ye)}})}l.removeEvent=function(n,h,y){n.removeEventListener&&n.removeEventListener(h,y)},l.Event=function(n,h){if(!(this instanceof l.Event))return new l.Event(n,h);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===void 0&&n.returnValue===!1?ye:J,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n,h&&l.extend(this,h),this.timeStamp=n&&n.timeStamp||Date.now(),this[l.expando]=!0},l.Event.prototype={constructor:l.Event,isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ye,n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ye,n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ye,n&&!this.isSimulated&&n.stopImmediatePropagation(),this.stopPropagation()}},l.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},l.event.addProp),l.each({focus:"focusin",blur:"focusout"},function(n,h){function y(E){if(A.documentMode){var D=re.get(this,"handle"),O=l.event.fix(E);O.type=E.type==="focusin"?"focus":"blur",O.isSimulated=!0,D(E),O.target===O.currentTarget&&D(O)}else l.event.simulate(h,E.target,l.event.fix(E))}l.event.special[n]={setup:function(){var E;if(V(this,n,!0),A.documentMode)E=re.get(this,h),E||this.addEventListener(h,y),re.set(this,h,(E||0)+1);else return!1},trigger:function(){return V(this,n),!0},teardown:function(){var E;if(A.documentMode)E=re.get(this,h)-1,E?re.set(this,h,E):(this.removeEventListener(h,y),re.remove(this,h));else return!1},_default:function(E){return re.get(E.target,n)},delegateType:h},l.event.special[h]={setup:function(){var E=this.ownerDocument||this.document||this,D=A.documentMode?this:E,O=re.get(D,h);O||(A.documentMode?this.addEventListener(h,y):E.addEventListener(n,y,!0)),re.set(D,h,(O||0)+1)},teardown:function(){var E=this.ownerDocument||this.document||this,D=A.documentMode?this:E,O=re.get(D,h)-1;O?re.set(D,h,O):(A.documentMode?this.removeEventListener(h,y):E.removeEventListener(n,y,!0),re.remove(D,h))}}}
vendor: 5,600 bytes, line 1
1),l.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,h){l.event.special[n]={delegateType:h,bindType:h,handle:function(y){var E,D=this,O=y.relatedTarget,B=y.handleObj;return(!O||O!==D&&!l.contains(D,O))&&(y.type=B.origType,E=B.handler.apply(this,arguments),y.type=h),E}}}),l.fn.extend({on:function(n,h,y,E){return q(this,n,h,y,E)},one:function(n,h,y,E){return q(this,n,h,y,E,1)},off:function(n,h,y){var E,D;if(n&&n.preventDefault&&n.handleObj)return E=n.handleObj,l(n.delegateTarget).off(E.namespace?E.origType+"."+E.namespace:E.origType,E.selector,E.handler),this;if(typeof n=="object"){for(D in n)this.off(D,h,n[D]);return this}return(h===!1||typeof h=="function")&&(y=h,h=void 0),y===!1&&(y=J),this.each(function(){l.event.remove(this,n,y,h)})}});var it=/<script|<style|<link/i,L=/checked\s*(?:[^=]|=\s*.checked.)/i,N=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function nt(n,h){return F(n,"table")&&F(h.nodeType!==11?h:h.firstChild,"tr")&&l(n).children("tbody")[0]||n}function dt(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function It(n){return(n.type||"").slice(0,5)==="true/"?n.type=n.type.slice(5):n.removeAttribute("type"),n}function Pt(n,h){var y,E,D,O,B,rt,st;if(h.nodeType===1){if(re.hasData(n)&&(O=re.get(n),st=O.events,st)){re.remove(h,"handle events");for(D in st)for(y=0,E=st[D].length;y<E;y++)l.event.add(h,D,st[D][y])}We.hasData(n)&&(B=We.access(n),rt=l.extend({},B),We.set(h,rt))}}function Vt(n,h){var y=h.nodeName.toLowerCase();y==="input"&&et.test(n.type)?h.checked=n.checked:(y==="input"||y==="textarea")&&(h.defaultValue=n.defaultValue)}function Yt(n,h,y,E){h=S(h);var D,O,B,rt,st,gt,Ot=0,Ft=n.length,yt=Ft-1,kt=h[0],be=g(kt);if(be||Ft>1&&typeof kt=="string"&&!C.checkClone&&L.test(kt))return n.each(function(we){var Ee=n.eq(we);be&&(h[0]=kt.call(this,we,Ee.html())),Yt(Ee,h,y,E)});if(Ft&&(D=Lt(h,n[0].ownerDocument,!1,n,E),O=D.firstChild,D.childNodes.length===1&&(D=O),O||E)){for(B=l.map(Ct(D,"script"),dt),rt=B.length;Ot<Ft;Ot++)st=D,Ot!==yt&&(st=l.clone(st,!0,!0),rt&&l.merge(B,Ct(st,"script"))),y.call(n[Ot],st,Ot);if(rt)for(gt=B[B.length-1].ownerDocument,l.map(B,It),Ot=0;Ot<rt;Ot++)st=B[Ot],Mt.test(st.type||"")&&!re.access(st,"globalEval")&&l.contains(gt,st)&&(st.src&&(st.type||"").toLowerCase()!=="module"?l._evalUrl&&!st.noModule&&l._evalUrl(st.src,{nonce:st.nonce||st.getAttribute("nonce")},gt):r(st.textContent.replace(N,""),st,gt))}return n}function Bt(n,h,y){for(var E,D=h?l.filter(h,n):n,O=0;(E=D[O])!=null;O++)!y&&E.nodeType===1&&l.cleanData(Ct(E)),E.parentNode&&(y&&_(E)&&Rt(Ct(E,"script")),E.parentNode.removeChild(E));return n}l.extend({htmlPrefilter:function(n){return n},clone:function(n,h,y){var E,D,O,B,rt=n.cloneNode(!0),st=_(n);if(!C.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!l.isXMLDoc(n))for(B=Ct(rt),O=Ct(n),E=0,D=O.length;E<D;E++)Vt(O[E],B[E]);if(h)if(y)for(O=O||Ct(n),B=B||Ct(rt),E=0,D=O.length;E<D;E++)Pt(O[E],B[E]);else Pt(n,rt);return B=Ct(rt,"script"),B.length>0&&Rt(B,!st&&Ct(n,"script")),rt},cleanData:function(n){for(var h,y,E,D=l.event.special,O=0;(y=n[O])!==void 0;O++)if(me(y)){if(h=y[re.expando]){if(h.events)for(E in h.events)D[E]?l.event.remove(y,E):l.removeEvent(y,E,h.handle);y[re.expando]=void 0}y[We.expando]&&(y[We.expando]=void 0)}}}),l.fn.extend({detach:function(n){return Bt(this,n,!0)},remove:function(n){return Bt(this,n)},text:function(n){return he(this,function(h){return h===void 0?l.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=h)})},null,n,arguments.length)},append:function(){return Yt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=nt(this,n);h.appendChild(n)}})},prepend:function(){return Yt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=nt(this,n);h.insertBefore(n,h.firstChild)}})},before:function(){return Yt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return Yt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,h=0;(n=this[h])!=null;h++)n.nodeType===1&&(l.cleanData(Ct(n,!1)),n.textContent="");return this},clone:function(n,h){return n=n==null?!1:n,h=h==null?n:h,this.map(function(){return l.clone(this,n,h)})},html:function(n){return he(this,function(h){var y=this[0]||{},E=0,D=this.length;if(h===void 0&&y.nodeType===1)return y.innerHTML;if(typeof h=="string"&&!it.test(h)&&!at[(bt.exec(h)||["",""])[1].toLowerCase()]){h=l.htmlPrefilter(h);try{for(;E<D;E++)y=this[E]||{},y.nodeType===1&&(l.cleanData(Ct(y,!1)),y.innerHTML=h);y=0}catch(O){}}y&&this.empty().append(h)},null,n,arguments.length)},replaceWith:function(){var n=[];return Yt(this,arguments,function(h){var y=this.parentNode;l.inArray(this,n)<0&&(l.cleanData(Ct(this)),y&&y.replaceChild(h,this))},n)}}),l.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,h){l.fn[n]=function(y){for(var E,D=[],O=l(y),B=O.length-1,rt=0;rt<=B;rt++)E=rt===B?this:this.clone(!0),l(O[rt])[h](E),a.apply(D,E.get());return this.pushStack(D)}});var ue=new RegExp("^("+i+")(?!px)[a-z%]+$","i"),Re=/^--/,ke=function(n){var h=n.ownerDocument.defaultView;return(!h||!h.opener)&&(h=e),h.getComputedStyle(n)},X=function(n,h,y){var E,D,O={};for(D in h)O[D]=n.style[D],n.style[D]=h[D];E=y.call(n);for(D in h)n.style[D]=O[D];return E},Et=new RegExp(o.join("|"),"i");(function(){function n(){if(gt){st.style.cssText="position:absolute;
1left:-11111px;width:60px;margin-top:1px;padding:0;border:0",gt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",p.appendChild(st).appendChild(gt);var Ot=e.getComputedStyle(gt);y=Ot.top!=="1%",rt=h(Ot.marginLeft)===12,gt.style.right="60%",O=h(Ot.right)===36,E=h(Ot.width)===36,gt.style.position="absolute",D=h(gt.offsetWidth/3)===12,p.removeChild(st),gt=null}}function h(Ot){return Math.round(parseFloat(Ot))}var y,E,D,O,B,rt,st=A.createElement("div"),gt=A.createElement("div");gt.style&&(gt.style.backgroundClip="content-box",gt.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=gt.style.backgroundClip==="content-box",l.extend(C,{boxSizingReliable:function(){return n(),E},pixelBoxStyles:function(){return n(),O},pixelPosition:function(){return n(),y},reliableMarginLeft:function(){return n(),rt},scrollboxSize:function(){return n(),D},reliableTrDimensions:function(){var Ot,Ft,yt,kt;return B==null&&(Ot=A.createElement("table"),Ft=A.createElement("tr"),yt=A.createElement("div"),Ot.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ft.style.cssText="border:1px solid",Ft.style.height="1px",yt.style.height="9px",yt.style.display="block",p.appendChild(Ot).appendChild(Ft).appendChild(yt),kt=e.getComputedStyle(Ft),B=parseInt(kt.height,10)+parseInt(kt.borderTopWidth,10)+parseInt(kt.borderBottomWidth,10)===Ft.offsetHeight,p.removeChild(Ot)),B}}))})();function At(n,h,y){var E,D,O,B,rt=Re.test(h),st=n.style;return y=y||ke(n),y&&(B=y.getPropertyValue(h)||y[h],rt&&B&&(B=B.replace(H,"$1")||void 0),B===""&&!_(n)&&(B=l.style(n,h)),!C.pixelBoxStyles()&&ue.test(B)&&Et.test(h)&&(E=st.width,D=st.minWidth,O=st.maxWidth,st.minWidth=st.maxWidth=st.width=B,B=y.width,st.width=E,st.minWidth=D,st.maxWidth=O)),B!==void 0?B+"":B}function Wt(n,h){return{get:function(){if(n()){delete this.get;return}return(this.get=h).apply(this,arguments)}}}var Qt=["Webkit","Moz","ms"],Ae=A.createElement("div").style,de={};function ze(n){for(var h=n[0].toUpperCase()+n.slice(1),y=Qt.length;y--;)if(n=Qt[y]+h,n in Ae)return n}function Ve(n){var h=l.cssProps[n]||de[n];return h||(n in Ae?n:de[n]=ze(n)||n)}var qe=/^(none|table(?!-c[ea]).+)/,ni={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function Ye(n,h,y){var E=s.exec(h);return E?Math.max(0,E[2]-(y||0))+(E[3]||"px"):h}function oi(n,h,y,E,D,O){var B=h==="width"?1:0,rt=0,st=0,gt=0;if(y===(E?"border":"content"))return 0;for(;B<4;B+=2)y==="margin"&&(gt+=l.css(n,y+o[B],!0,D)),E?(y==="content"&&(st-=l.css(n,"padding"+o[B],!0,D)),y!=="margin"&&(st-=l.css(n,"border"+o[B]+"Width",!0,D))):(st+=l.css(n,"padding"+o[B],!0,D),y!=="padding"?st+=l.css(n,"border"+o[B]+"Width",!0,D):rt+=l.css(n,"border"+o[B]+"Width",!0,D));return!E&&O>=0&&(st+=Math.max(0,Math.ceil(n["offset"+h[0].toUpperCase()+h.slice(1)]-O-st-rt-.5))||0),st+gt}function Ci(n,h,y){var E=ke(n),D=!C.boxSizingReliable()||y,O=D&&l.css(n,"boxSizing",!1,E)==="border-box",B=O,rt=At(n,h,E),st="offset"+h[0].toUpperCase()+h.slice(1);if(ue.test(rt)){if(!y)return rt;rt="auto"}return(!C.boxSizingReliable()&&O||!C.reliableTrDimensions()&&F(n,"tr")||rt==="auto"||!parseFloat(rt)&&l.css(n,"display",!1,E)==="inline")&&n.getClientRects().length&&(O=l.css(n,"boxSizing",!1,E)==="border-box",B=st in n,B&&(rt=n[st])),rt=parseFloat(rt)||0,rt+oi(n,h,y||(O?"border":"content"),B,E,rt)+"px"}l.extend({cssHooks:{opacity:{get:function(n,h){if(h){var y=At(n,"opacity");return y===""?"1":y}}}},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(n,h,y,E){if(!(!n||n.nodeType===3||n.nodeType===8||!n.style)){var D,O,B,rt=se(h),st=Re.test(h),gt=n.style;if(st||(h=Ve(rt)),B=l.cssHooks[h]||l.cssHooks[rt],y!==void 0){if(O=typeof y,O==="string"&&(D=s.exec(y))&&D[1]&&(y=Q(n,h,D),O="number"),y==null||y!==y)return;
vendor: 4,511 bytes, line 1
1O==="number"&&!st&&(y+=D&&D[3]||(l.cssNumber[rt]?"":"px")),!C.clearCloneStyle&&y===""&&h.indexOf("background")===0&&(gt[h]="inherit"),(!B||!("set"in B)||(y=B.set(n,y,E))!==void 0)&&(st?gt.setProperty(h,y):gt[h]=y)}else return B&&"get"in B&&(D=B.get(n,!1,E))!==void 0?D:gt[h]}},css:function(n,h,y,E){var D,O,B,rt=se(h),st=Re.test(h);return st||(h=Ve(rt)),B=l.cssHooks[h]||l.cssHooks[rt],B&&"get"in B&&(D=B.get(n,!0,y)),D===void 0&&(D=At(n,h,E)),D==="normal"&&h in Kt&&(D=Kt[h]),y===""||y?(O=parseFloat(D),y===!0||isFinite(O)?O||0:D):D}}),l.each(["height","width"],function(n,h){l.cssHooks[h]={get:function(y,E,D){if(E)return qe.test(l.css(y,"display"))&&(!y.getClientRects().length||!y.getBoundingClientRect().width)?X(y,ni,function(){return Ci(y,h,D)}):Ci(y,h,D)},set:function(y,E,D){var O,B=ke(y),rt=!C.scrollboxSize()&&B.position==="absolute",st=rt||D,gt=st&&l.css(y,"boxSizing",!1,B)==="border-box",Ot=D?oi(y,h,D,gt,B):0;return gt&&rt&&(Ot-=Math.ceil(y["offset"+h[0].toUpperCase()+h.slice(1)]-parseFloat(B[h])-oi(y,h,"border",!1,B)-.5)),Ot&&(O=s.exec(E))&&(O[3]||"px")!=="px"&&(y.style[h]=E,E=l.css(y,h)),Ye(y,E,Ot)}}}),l.cssHooks.marginLeft=Wt(C.reliableMarginLeft,function(n,h){if(h)return(parseFloat(At(n,"marginLeft"))||n.getBoundingClientRect().left-X(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"}),l.each({margin:"",padding:"",border:"Width"},function(n,h){l.cssHooks[n+h]={expand:function(y){for(var E=0,D={},O=typeof y=="string"?y.split(" "):[y];E<4;E++)D[n+o[E]+h]=O[E]||O[E-2]||O[0];return D}},n!=="margin"&&(l.cssHooks[n+h].set=Ye)}),l.fn.extend({css:function(n,h){return he(this,function(y,E,D){var O,B,rt={},st=0;if(Array.isArray(E)){for(O=ke(y),B=E.length;st<B;st++)rt[E[st]]=l.css(y,E[st],!1,O);return rt}return D!==void 0?l.style(y,E,D):l.css(y,E)},n,h,arguments.length>1)}});function He(n,h,y,E,D){return new He.prototype.init(n,h,y,E,D)}l.Tween=He,He.prototype={constructor:He,init:function(n,h,y,E,D,O){this.elem=n,this.prop=y,this.easing=D||l.easing._default,this.options=h,this.start=this.now=this.cur(),this.end=E,this.unit=O||(l.cssNumber[y]?"":"px")},cur:function(){var n=He.propHooks[this.prop];return n&&n.get?n.get(this):He.propHooks._default.get(this)},run:function(n){var h,y=He.propHooks[this.prop];return this.options.duration?this.pos=h=l.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):this.pos=h=n,this.now=(this.end-this.start)*h+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),y&&y.set?y.set(this):He.propHooks._default.set(this),this}},He.prototype.init.prototype=He.prototype,He.propHooks={_default:{get:function(n){var h;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(h=l.css(n.elem,n.prop,""),!h||h==="auto"?0:h)},set:function(n){l.fx.step[n.prop]?l.fx.step[n.prop](n):n.elem.nodeType===1&&(l.cssHooks[n.prop]||n.elem.style[Ve(n.prop)]!=null)?l.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},He.propHooks.scrollTop=He.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},l.easing={linear:function(n){return n},swing:function(n){return .5-Math.cos(n*Math.PI)/2},_default:"swing"},l.fx=He.prototype.init,l.fx.step={};var pi,_i,vn=/^(?:toggle|show|hide)$/,mn=/queueHooks$/;function qi(){_i&&(A.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(qi):e.setTimeout(qi,l.fx.interval),l.fx.tick())}function sn(){return e.setTimeout(function(){pi=void 0}),pi=Date.now()}function Vi(n,h){var y,E=0,D={height:n};for(h=h?1:0;E<4;E+=2-h)y=o[E],D["margin"+y]=D["padding"+y]=n;return h&&(D.opacity=D.width=n),D}function rn(n,h,y){for(var E,D=(ci.tweeners[h]||[]).concat(ci.tweeners["*"]),O=0,B=D.length;O<B;O++)if(E=D[O].call(y,h,n))return E}function on(n,h,y){var E,D,O,B,rt,st,gt,Ot,Ft="width"in h||"height"in h,yt=this,kt={},be=n.style,we=n.nodeType&&U(n),Ee=re.get(n,"fxshow");y.queue||(B=l._queueHooks(n,"fx"),B.unqueued==null&&(B.unqueued=0,rt=B.empty.fire,B.empty.fire=function(){B.unqueued||rt()}),B.unqueued++,yt.always(function(){yt.always(function(){B.unqueued--,l.queue(n,"fx").length||B.empty.fire()})}));for(E in h)if(D=h[E],vn.test(D)){if(delete h[E],O=O||D==="toggle",D===(we?"hide":"show"))if(D==="show"&&Ee&&Ee[E]!==void 0)we=!0;else continue;kt[E]=Ee&&Ee[E]||l.style(n,E)}if(st=!l.isEmptyObject(h),!(!st&&l.isEmptyObject(kt))){Ft&&n.nodeType===1&&(y.overflow=[be.overflow,be.overflowX,be.overflowY],gt=Ee&&Ee.display,gt==null&&(gt=re.get(n,"display")),Ot=l.css(n,"dis
1play"),Ot==="none"&&(gt?Ot=gt:(xt([n],!0),gt=n.style.display||gt,Ot=l.css(n,"display"),xt([n]))),(Ot==="inline"||Ot==="inline-block"&&gt!=null)&&l.css(n,"float")==="none"&&(st||(yt.done(function(){be.display=gt}),gt==null&&(Ot=be.display,gt=Ot==="none"?"":Ot)),be.display="inline-block")),y.overflow&&(be.overflow="hidden",yt.always(function(){be.overflow=y.overflow[0],be.overflowX=y.overflow[1],be.overflowY=y.overflow[2]})),st=!1;for(E in kt)st||(Ee?"hidden"in Ee&&(we=Ee.hidden):Ee=re.access(n,"fxshow",{display:gt}),O&&(Ee.hidden=!we),we&&xt([n],!0),yt.done(function(){we||xt([n]),re.remove(n,"fxshow");for(E in kt)l.style(n,E,kt[E])})),st=rn(we?Ee[E]:0,E,yt),E in Ee||(Ee[E]=st.start,we&&(st.end=st.start,st.start=0))}}function an(n,h){var y,E,D,O,B;for(y in n)if(E=se(y),D=h[E],O=n[y],Array.isArray(O)&&(D=O[1],O=n[y]=O[0]),y!==E&&(n[E]=O,delete n[y]),B=l.cssHooks[E],B&&"expand"in B){O=B.expand(O),delete n[E];for(y in O)y in n||(n[y]=O[y],h[y]=D)}else h[E]=D}function ci(n,h,y){var E,D,O=0,B=ci.prefilters.length,rt=l.Deferred().always(function(){delete st.elem}),st=function(){if(D)return!1;for(var Ft=pi||sn(),yt=Math.max(0,gt.startTime+gt.duration-Ft),kt=yt/gt.duration||0,be=1-kt,we=0,Ee=gt.tweens.length;we<Ee;we++)gt.tweens[we].run(be);return rt.notifyWith(n,[gt,be,yt]),be<1&&Ee?yt:(Ee||rt.notifyWith(n,[gt,1,0]),rt.resolveWith(n,[gt]),!1)},gt=rt.promise({elem:n,props:l.extend({},h),opts:l.extend(!0,{specialEasing:{},easing:l.easing._default},y),originalProperties:h,originalOptions:y,startTime:pi||sn(),duration:y.duration,tweens:[],createTween:function(Ft,yt){var kt=l.Tween(n,gt.opts,Ft,yt,gt.opts.specialEasing[Ft]||gt.opts.easing);return gt.tweens.push(kt),kt},stop:function(Ft){var yt=0,kt=Ft?gt.tweens.length:0;if(D)return this;for(D=!0;yt<kt;yt++)gt.tweens[yt].run(1);return Ft?(rt.notifyWith(n,[gt,1,0]),rt.resolveWith(n,[gt,Ft])):rt.rejectWith(n,[gt,Ft]),this}}),Ot=gt.props;for(an(Ot,gt.opts.specialEasing);O<B;O++)if(E=ci.prefilters[O].call(gt,n,Ot,gt.opts),E)return g(E.stop)&&(l._queueHooks(gt.elem,gt.opts.queue).stop=E.stop.bind(E)),E;return l.map(Ot,rn,gt),g(gt.opts.start)&&gt.opts.start.call(n,gt),gt.progress(gt.opts.progress).done(gt.opts.done,gt.opts.c
vendor: 12,227 bytes, lines 1-4
1omplete).fail(gt.opts.fail).always(gt.opts.always),l.fx.timer(l.extend(st,{elem:n,anim:gt,queue:gt.opts.queue})),gt}l.Animation=l.extend(ci,{tweeners:{"*":[function(n,h){var y=this.createTween(n,h);return Q(y.elem,n,s.exec(h),y),y}]},tweener:function(n,h){g(n)?(h=n,n=["*"]):n=n.match(ie);for(var y,E=0,D=n.length;E<D;E++)y=n[E],ci.tweeners[y]=ci.tweeners[y]||[],ci.tweeners[y].unshift(h)},prefilters:[on],prefilter:function(n,h){h?ci.prefilters.unshift(n):ci.prefilters.push(n)}}),l.speed=function(n,h,y){var E=n&&typeof n=="object"?l.extend({},n):{complete:y||!y&&h||g(n)&&n,duration:n,easing:y&&h||h&&!g(h)&&h};return l.fx.off?E.duration=0:typeof E.duration!="number"&&(E.duration in l.fx.speeds?E.duration=l.fx.speeds[E.duration]:E.duration=l.fx.speeds._default),(E.queue==null||E.queue===!0)&&(E.queue="fx"),E.old=E.complete,E.complete=function(){g(E.old)&&E.old.call(this),E.queue&&l.dequeue(this,E.queue)},E},l.fn.extend({fadeTo:function(n,h,y,E){return this.filter(U).css("opacity",0).show().end().animate({opacity:h},n,y,E)},animate:function(n,h,y,E){var D=l.isEmptyObject(n),O=l.speed(h,y,E),B=function(){var rt=ci(this,l.extend({},n),O);(D||re.get(this,"finish"))&&rt.stop(!0)};return B.finish=B,D||O.queue===!1?this.each(B):this.queue(O.queue,B)},stop:function(n,h,y){var E=function(D){var O=D.stop;delete D.stop,O(y)};return typeof n!="string"&&(y=h,h=n,n=void 0),h&&this.queue(n||"fx",[]),this.each(function(){var D=!0,O=n!=null&&n+"queueHooks",B=l.timers,rt=re.get(this);if(O)rt[O]&&rt[O].stop&&E(rt[O]);else for(O in rt)rt[O]&&rt[O].stop&&mn.test(O)&&E(rt[O]);for(O=B.length;O--;)B[O].elem===this&&(n==null||B[O].queue===n)&&(B[O].anim.stop(y),D=!1,B.splice(O,1));(D||!y)&&l.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var h,y=re.get(this),E=y[n+"queue"],D=y[n+"queueHooks"],O=l.timers,B=E?E.length:0;for(y.finish=!0,l.queue(this,n,[]),D&&D.stop&&D.stop.call(this,!0),h=O.length;h--;)O[h].elem===this&&O[h].queue===n&&(O[h].anim.stop(!0),O.splice(h,1));for(h=0;h<B;h++)E[h]&&E[h].finish&&E[h].finish.call(this);delete y.finish})}}),l.each(["toggle","show","hide"],function(n,h){var y=l.fn[h];l.fn[h]=function(E,D,O){return E==null||typeof E=="boolean"?y.apply(this,arguments):this.animate(Vi(h,!0),E,D,O)}}),l.each({slideDown:Vi("show"),slideUp:Vi("hide"),slideToggle:Vi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,h){l.fn[n]=function(y,E,D){return this.animate(h,y,E,D)}}),l.timers=[],l.fx.tick=function(){var n,h=0,y=l.timers;for(pi=Date.now();h<y.length;h++)n=y[h],!n()&&y[h]===n&&y.splice(h--,1);y.length||l.fx.stop(),pi=void 0},l.fx.timer=function(n){l.timers.push(n),l.fx.start()},l.fx.interval=13,l.fx.start=function(){_i||(_i=!0,qi())},l.fx.stop=function(){_i=null},l.fx.speeds={slow:600,fast:200,_default:400},l.fn.delay=function(n,h){return n=l.fx&&l.fx.speeds[n]||n,h=h||"fx",this.queue(h,function(y,E){var D=e.setTimeout(y,n);E.stop=function(){e.clearTimeout(D)}})},(function(){var n=A.createElement("input"),h=A.createElement("select"),y=h.appendChild(A.createElement("option"));n.type="checkbox",C.checkOn=n.value!=="",C.optSelected=y.selected,n=A.createElement("input"),n.value="t",n.type="radio",C.radioValue=n.value==="t"})();var ln,Ni=l.expr.attrHandle;l.fn.extend({attr:function(n,h){return he(this,l.attr,n,h,arguments.length>1)},removeAttr:function(n){return this.each(function(){l.removeAttr(this,n)})}}),l.extend({attr:function(n,h,y){var E,D,O=n.nodeType;if(!(O===3||O===8||O===2)){if(typeof n.getAttribute=="undefined")return l.prop(n,h,y);if((O!==1||!l.isXMLDoc(n))&&(D=l.attrHooks[h.toLowerCase()]||(l.expr.match.bool.test(h)?ln:void 0)),y!==void 0){if(y===null){l.removeAttr(n,h);return}return D&&"set"in D&&(E=D.set(n,y,h))!==void 0?E:(n.setAttribute(h,y+""),y)}return D&&"get"in D&&(E=D.get(n,h))!==null?E:(E=l.find.attr(n,h),E==null?void 0:E)}},attrHooks:{type:{set:function(n,h){if(!C.radioValue&&h==="radio"&&F(n,"input")){var y=n.value;return n.setAttribute("type",h),y&&(n.value=y),h}}}},removeAttr:function(n,h){var y,E=0,D=h&&h.match(ie);if(D&&n.nodeType===1)for(;y=D[E++];)n.removeAttribute(y)}}),ln={set:function(n,h,y){return h===!1?l.removeAttr(n,y):n.setAttribute(y,y),y}},l.each(l.expr.match.bool.source.match(/\w+/g),function(n,h){var y=Ni[h]||l.find.attr;Ni[h]=function(E,D,O){var B,rt,st=D.toLowerCase();return O||(rt=Ni[st],Ni[st]=B,B=y(E,D,O)!=null?st:null,Ni[st]=rt),B}});var yn=/^(?:input|select|textarea|button)$/i,bn=/^(?:a|area)$/i;l.fn.extend({prop:function(n,h){return he(this,l.prop,n,h,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[l.propFix[n]||n]})}}),l.extend({prop:function(n,h,y){var E,D,O=n.nodeType;if(!(O===3||O===8||O===2))return(O!==1||!l.isXMLDoc(n))&&(h=l.propFix[h]||h,D=l.propHooks[h]),y!==void 0?D&&"set"in D&&(E=D.set(n,y,h))!==void 0?E:n[h]=y:D&&"get"in D&&(E=D.get(n,h))!==null?E:n[h]},propHooks:{tabIndex:{get:function(n){var h=l.find.attr(n,"tabindex");return h?parseInt(h,10):yn.test(n.nodeName)||bn.test(n.nodeName)&&n.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(l.propHooks.selected={get:function(n){var h=n.parentNode;return h&&h.parentNode&&h.parentNode.selectedIndex,null},set:function(n){var h=n.parentNode;h&&(h.selectedIndex,h.parentNode&&h.parentNode.selectedIndex)}}),l.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){l.propFix[this.toLowerCase()]=this});function Pi(n){var h=n.match(ie)||[];return h.join(" ")}function Ii(n){return n.getAttribute&&n.getAttribute("class")||""}function zi(n){return Array.isArray(n)?n:typeof n=="string"?n.match(ie)||[]:[]}l.fn.extend({addClass:function(n){var h,y,E,D,O,B;return g(n)?this.each(function(rt){l(this).addClass(n.call(this,rt,Ii(this)))}):(h=zi(n),h.length?this.each(function(){if(E=Ii(this),y=this.nodeType===1&&" "+Pi(E)+" ",y){for(O=0;O<h.length;O++)D=h[O],y.indexOf(" "+D+" ")<0&&(y+=D+" ");B=Pi(y),E!==B&&this.setAttribute("class",B)}}):this)},removeClass:function(n){var h,y,E,D,O,B;return g(n)?this.each(function(rt){l(this).removeClass(n.call(this,rt,Ii(this)))}):arguments.length?(h=zi(n),h.length?this.each(function(){if(E=Ii(this),y=this.nodeType===1&&" "+Pi(E)+" ",y){for(O=0;O<h.length;O++)for(D=h[O];y.indexOf(" "+D+" ")>-1;)y=y.replace(" "+D+" "," ");B=Pi(y),E!==B&&this.setAttribute("class",B)}}):this):this.attr("class","")},toggleClass:function(n,h){var y,E,D,O,B=typeof n,rt=B==="string"||Array.isArray(n);return g(n)?this.each(function(st){l(this).toggleClass(n.call(this,st,Ii(this),h),h)}):typeof h=="boolean"&&rt?h?this.addClass(n):this.removeClass(n):(y=zi(n),this.each(function(){if(rt)for(O=l(this),D=0;D<y.length;D++)E=y[D],O.hasClass(E)?O.removeClass(E):O.addClass(E);else(n===void 0||B==="boolean")&&(E=Ii(this),E&&re.set(this,"__className__",E),this.setAttribute&&this.setAttribute("class",E||n===!1?"":re.get(this,"__className__")||""))}))},hasClass:function(n){var h,y,E=0;for(h=" "+n+" ";y=this[E++];)if(y.nodeType===1&&(" "+Pi(Ii(y))+" ").indexOf(h)>-1)return!0;return!1}});var xn=/\r/g;l.fn.extend({val:function(n){var h,y,E,D=this[0];return arguments.length?(E=g(n),this.each(function(O){var B;this.nodeType===1&&(E?B=n.call(this,O,l(this).val()):B=n,B==null?B="":typeof B=="number"?B+="":Array.isArray(B)&&(B=l.map(B,function(rt){return rt==null?"":rt+""})),h=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()],(!h||!("set"in h)||h.set(this,B,"value")===void 0)&&(this.value=B))})):D?(h=l.valHooks[D.type]||l.valHooks[D.nodeName.toLowerCase()],h&&"get"in h&&(y=h.get(D,"value"))!==void 0?y:(y=D.value,typeof y=="string"?y.replace(xn,""):y==null?"":y)):void 0}}),l.extend({valHooks:{option:{get:function(n){var h=l.find.attr(n,"value");return h!=null?h:Pi(l.text(n))}},select:{get:function(n){var h,y,E,D=n.options,O=n.selectedIndex,B=n.type==="select-one",rt=B?null:[],st=B?O+1:D.length;for(O<0?E=st:E=B?O:0;E<st;E++)if(y=D[E],(y.selected||E===O)&&!y.disabled&&(!y.parentNode.disabled||!F(y.parentNode,"optgroup"))){if(h=l(y).val(),B)return h;rt.push(h)}return rt},set:function(n,h){for(var y,E,D=n.options,O=l.makeArray(h),B=D.length;B--;)E=D[B],(E.selected=l.inArray(l.valHooks.option.get(E),O)>-1)&&(y=!0);return y||(n.selectedIndex=-1),O}}}}),l.each(["radio","checkbox"],function(){l.valHooks[this]={set:function(n,h){if(Array.isArray(h))return n.checked=l.inArray(l(n).val(),h)>-1}},C.checkOn||(l.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});var Bi=e.location,un={guid:Date.now()},Yi=/\?/;l.parseXML=function(n){var h,y;if(!n||typeof n!="string")return null;try{h=new e.DOMParser().parseFromString(n,"text/xml")}catch(E){}return y=h&&h.getElementsByTagName("parsererror")[0],(!h||y)&&l.error("Invalid XML: "+(y?l.map(y.childNodes,function(E){return E.textContent}).join(`
2`):n)),h};var Xi=/^(?:focusinfocus|focusoutblur)$/,gi=function(n){n.stopPropagation()};l.extend(l.event,{trigger:function(n,h,y,E){var D,O,B,rt,st,gt,Ot,Ft,yt=[y||A],kt=v.call(n,"type")?n.type:n,be=v.call(n,"namespace")?n.namespace.split("."):[];if(O=Ft=B=y=y||A,!(y.nodeType===3||y.nodeType===8)&&!Xi.test(kt+l.event.triggered)&&(kt.indexOf(".")>-1&&(be=kt.split("."),kt=be.shift(),be.sort()),st=kt.indexOf(":")<0&&"on"+kt,n=n[l.expando]?n:new l.Event(kt,typeof n=="object"&&n),n.isTrigger=E?2:3,n.namespace=be.join("."),n.rnamespace=n.namespace?new RegExp("(^|\\.)"+be.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=void 0,n.target||(n.target=y),h=h==null?[n]:l.makeArray(h,[n]),Ot=l.event.special[kt]||{},!(!E&&Ot.trigger&&Ot.trigger.apply(y,h)===!1))){if(!E&&!Ot.noBubble&&!P(y)){for(rt=Ot.delegateType||kt,Xi.test(rt+kt)||(O=O.parentNode);O;O=O.parentNode)yt.push(O),B=O;B===(y.ownerDocument||A)&&yt.push(B.defaultView||B.parentWindow||e)}for(D=0;(O=yt[D++])&&!n.isPropagationStopped();)Ft=O,n.type=D>1?rt:Ot.bindType||kt,gt=(re.get(O,"events")||Object.create(null))[n.type]&&re.get(O,"handle"),gt&&gt.apply(O,h),gt=st&&O[st],gt&&gt.apply&&me(O)&&(n.result=gt.apply(O,h),n.result===!1&&n.preventDefault());return n.type=kt,!E&&!n.isDefaultPrevented()&&(!Ot._default||Ot._default.apply(yt.pop(),h)===!1)&&me(y)&&st&&g(y[kt])&&!P(y)&&(B=y[st],B&&(y[st]=null),l.event.triggered=kt,n.isPropagationStopped()&&Ft.addEventListener(kt,gi),y[kt](),n.isPropagationStopped()&&Ft.removeEventListener(kt,gi),l.event.triggered=void 0,B&&(y[st]=B)),n.result}},simulate:function(n,h,y){var E=l.extend(new l.Event,y,{type:n,isSimulated:!0});l.event.trigger(E,null,h)}}),l.fn.extend({trigger:function(n,h){return this.each(function(){l.event.trigger(n,h,this)})},triggerHandler:function(n,h){var y=this[0];if(y)return l.event.trigger(n,h,y,!0)}});var yi=/\[\]$/,tt=/\r?\n/g,z=/^(?:submit|button|image|reset|file)$/i,K=/^(?:input|select|textarea|keygen)/i;function ft(n,h,y,E){var D;if(Array.isArray(h))l.each(h,function(O,B){y||yi.test(n)?E(n,B):ft(n+"["+(typeof B=="object"&&B!=null?O:"")+"]",B,y,E)});else if(!y&&c(h)==="object")for(D in h)ft(n+"["+D+"]",h[D],y,E);else E(n,h)}l.param=function(n,h){var y,E=[],D=function(O,B){var rt=g(B)?B():B;E[E.length]=encodeURIComponent(O)+"="+encodeURIComponent(rt==null?"":rt)};if(n==null)return"";if(Array.isArray(n)||n.jquery&&!l.isPlainObject(n))l.each(n,function(){D(this.name,this.value)});else for(y in n)ft(y,n[y],h,D);return E.join("&")},l.fn.extend({serialize:function(){return l.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=l.prop(this,"elements");return n?l.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!l(this).is(":disabled")&&K.test(this.nodeName)&&!z.test(n)&&(this.checked||!et.test(n))}).map(function(n,h){var y=l(this).val();return y==null?null:Array.isArray(y)?l.map(y,function(E){return{name:h.name,value:E.replace(tt,`\r
3`)}}):{name:h.name,value:y.replace(tt,`\r
4`)}}).get()}});var $t=/%20/g,xe=/#.*$/,Ne=/([?&])_=[^&]*/,Xe=/^(.*?):[ \t]*([^\r\n]*)$/mg,ei=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,si=/^(?:GET|HEAD)$/,Mi=/^\/\//,fi={},Ti={},Si="*/".concat("*"),di=A.createElement("a");di.href=Bi.href;function li(n){return function(h,y){typeof h!="string"&&(y=h,h="*");var E,D=0,O=h.toLowerCase().match(ie)||[];
vendor: 9,223 bytes, line 4
4if(g(y))for(;E=O[D++];)E[0]==="+"?(E=E.slice(1)||"*",(n[E]=n[E]||[]).unshift(y)):(n[E]=n[E]||[]).push(y)}}function bi(n,h,y,E){var D={},O=n===Ti;function B(rt){var st;return D[rt]=!0,l.each(n[rt]||[],function(gt,Ot){var Ft=Ot(h,y,E);if(typeof Ft=="string"&&!O&&!D[Ft])return h.dataTypes.unshift(Ft),B(Ft),!1;if(O)return!(st=Ft)}),st}return B(h.dataTypes[0])||!D["*"]&&B("*")}function Li(n,h){var y,E,D=l.ajaxSettings.flatOptions||{};for(y in h)h[y]!==void 0&&((D[y]?n:E||(E={}))[y]=h[y]);return E&&l.extend(!0,n,E),n}function Gi(n,h,y){for(var E,D,O,B,rt=n.contents,st=n.dataTypes;st[0]==="*";)st.shift(),E===void 0&&(E=n.mimeType||h.getResponseHeader("Content-Type"));if(E){for(D in rt)if(rt[D]&&rt[D].test(E)){st.unshift(D);break}}if(st[0]in y)O=st[0];else{for(D in y){if(!st[0]||n.converters[D+" "+st[0]]){O=D;break}B||(B=D)}O=O||B}if(O)return O!==st[0]&&st.unshift(O),y[O]}function Zi(n,h,y,E){var D,O,B,rt,st,gt={},Ot=n.dataTypes.slice();if(Ot[1])for(B in n.converters)gt[B.toLowerCase()]=n.converters[B];for(O=Ot.shift();O;)if(n.responseFields[O]&&(y[n.responseFields[O]]=h),!st&&E&&n.dataFilter&&(h=n.dataFilter(h,n.dataType)),st=O,O=Ot.shift(),O){if(O==="*")O=st;else if(st!=="*"&&st!==O){if(B=gt[st+" "+O]||gt["* "+O],!B){for(D in gt)if(rt=D.split(" "),rt[1]===O&&(B=gt[st+" "+rt[0]]||gt["* "+rt[0]],B)){B===!0?B=gt[D]:gt[D]!==!0&&(O=rt[0],Ot.unshift(rt[1]));break}}if(B!==!0)if(B&&n.throws)h=B(h);else try{h=B(h)}catch(Ft){return{state:"parsererror",error:B?Ft:"No conversion from "+st+" to "+O}}}}return{state:"success",data:h}}l.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Bi.href,type:"GET",isLocal:ei.test(Bi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Si,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":l.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,h){return h?Li(Li(n,l.ajaxSettings),h):Li(l.ajaxSettings,n)},ajaxPrefilter:li(fi),ajaxTransport:li(Ti),ajax:function(n,h){typeof n=="object"&&(h=n,n=void 0),h=h||{};var y,E,D,O,B,rt,st,gt,Ot,Ft,yt=l.ajaxSetup({},h),kt=yt.context||yt,be=yt.context&&(kt.nodeType||kt.jquery)?l(kt):l.event,we=l.Deferred(),Ee=l.Callbacks("once memory"),Ke=yt.statusCode||{},Ge={},ti={},ri="canceled",Le={readyState:0,getResponseHeader:function(je){var ii;if(st){if(!O)for(O={};ii=Xe.exec(D);)O[ii[1].toLowerCase()+" "]=(O[ii[1].toLowerCase()+" "]||[]).concat(ii[2]);ii=O[je.toLowerCase()+" "]}return ii==null?null:ii.join(", ")},getAllResponseHeaders:function(){return st?D:null},setRequestHeader:function(je,ii){return st==null&&(je=ti[je.toLowerCase()]=ti[je.toLowerCase()]||je,Ge[je]=ii),this},overrideMimeType:function(je){return st==null&&(yt.mimeType=je),this},statusCode:function(je){var ii;if(je)if(st)Le.always(je[Le.status]);else for(ii in je)Ke[ii]=[Ke[ii],je[ii]];return this},abort:function(je){var ii=je||ri;return y&&y.abort(ii),Wi(0,ii),this}};if(we.promise(Le),yt.url=((n||yt.url||Bi.href)+"").replace(Mi,Bi.protocol+"//"),yt.type=h.method||h.type||yt.method||yt.type,yt.dataTypes=(yt.dataType||"*").toLowerCase().match(ie)||[""],yt.crossDomain==null){rt=A.createElement("a");try{rt.href=yt.url,rt.href=rt.href,yt.crossDomain=di.protocol+"//"+di.host!=rt.protocol+"//"+rt.host}catch(je){yt.crossDomain=!0}}if(yt.data&&yt.processData&&typeof yt.data!="string"&&(yt.data=l.param(yt.data,yt.traditional)),bi(fi,yt,h,Le),st)return Le;gt=l.event&&yt.global,gt&&l.active++===0&&l.event.trigger("ajaxStart"),yt.type=yt.type.toUpperCase(),yt.hasContent=!si.test(yt.type),E=yt.url.replace(xe,""),yt.hasContent?yt.data&&yt.processData&&(yt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(yt.data=yt.data.replace($t,"+")):(Ft=yt.url.slice(E.length),yt.data&&(yt.processData||typeof yt.data=="string")&&(E+=(Yi.test(E)?"&":"?")+yt.data,delete yt.data),yt.cache===!1&&(E=E.replace(Ne,"$1"),Ft=(Yi.test(E)?"&":"?")+"_="+un.guid+++Ft),yt.url=E+Ft),yt.ifModified&&(l.lastModified[E]&&Le.setRequestHeader("If-Modified-Since",l.lastModified[E]),l.etag[E]&&Le.setRequestHeader("If-None-Match",l.etag[E])),(yt.data&&yt.hasContent&&yt.contentType!==!1||h.contentType)&&Le.setRequestHeader("Content-Type",yt.contentType),Le.setRequestHeader("Accept",yt.dataTypes[0]&&yt.accepts[yt.dataTypes[0]]?yt.accepts[yt.dataTypes[0]]+(yt.dataTypes[0]!=="*"?", "+Si+"; q=0.01":""):yt.accepts["*"]);for(Ot in yt.headers)Le.setRequestHeader(Ot,yt.headers[Ot]);if(yt.beforeSend&&(yt.beforeSend.call(kt,Le,yt)===!1||st))return Le.abort();if(ri="abort",Ee.add(yt.complete),Le.done(yt.success),Le.fail(yt.error),y=bi(Ti,yt,h,Le),!y)Wi(-1,"No Transport");else{if(Le.readyState=1,gt&&be.trigger("ajaxSend",[Le,yt]),st)return Le;yt.async&&yt.timeout>0&&(B=e.setTimeout(function(){Le.abort("timeout")},yt.timeout));try{st=!1,y.send(Ge,Wi)}catch(je){if(st)throw je;Wi(-1,je)}}function Wi(je,ii,en,wn){var Ei,nn,Ai,Ri,Fi,vi=ii;st||(st=!0,B&&e.clearTimeout(B),y=void 0,D=wn||"",Le.readyState=je>0?4:0,Ei=je>=200&&je<300||je===304,en&&(Ri=Gi(yt,Le,en)),!Ei&&l.inArray("script",yt.dataTypes)>-1&&l.inArray("json",yt.dataTypes)<0&&(yt.converters["text script"]=function(){}),Ri=Zi(yt,Ri,Le,Ei),Ei?(yt.ifModified&&(Fi=Le.getResponseHeader("Last-Modified"),Fi&&(l.lastModified[E]=Fi),Fi=Le.getResponseHeader("etag"),Fi&&(l.etag[E]=Fi)),je===204||yt.type==="HEAD"?vi="nocontent":je===304?vi="notmodified":(vi=Ri.state,nn=Ri.data,Ai=Ri.error,Ei=!Ai)):(Ai=vi,(je||!vi)&&(vi="error",je<0&&(je=0))),Le.status=je,Le.statusText=(ii||vi)+"",Ei?we.resolveWith(kt,[nn,vi,Le]):we.rejectWith(kt,[Le,vi,Ai]),Le.statusCode(Ke),Ke=void 0,gt&&be.trigger(Ei?"ajaxSuccess":"ajaxError",[Le,yt,Ei?nn:Ai]),Ee.fireWith(kt,[Le,vi]),gt&&(be.trigger("ajaxComplete",[Le,yt]),--l.active||l.event.trigger("ajaxStop")))}return Le},getJSON:function(n,h,y){return l.get(n,h,y,"json")},getScript:function(n,h){return l.get(n,void 0,h,"script")}}),l.each(["get","post"],function(n,h){l[h]=function(y,E,D,O){return g(E)&&(O=O||D,D=E,E=void 0),l.ajax(l.extend({url:y,type:h,dataType:O,data:E,success:D},l.isPlainObject(y)&&y))}}),l.ajaxPrefilter(function(n){var h;for(h in n.headers)h.toLowerCase()==="content-type"&&(n.contentType=n.headers[h]||"")}),l._evalUrl=function(n,h,y){return l.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(E){l.globalEval(E,h,y)}})},l.fn.extend({wrapAll:function(n){var h;return this[0]&&(g(n)&&(n=n.call(this[0])),h=l(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&h.insertBefore(this[0]),h.map(function(){for(var y=this;y.firstElementChild;)y=y.firstElementChild;return y}).append(this)),this},wrapInner:function(n){return g(n)?this.each(function(h){l(this).wrapInner(n.call(this,h))}):this.each(function(){var h=l(this),y=h.contents();y.length?y.wrapAll(n):h.append(n)})},wrap:function(n){var h=g(n);return this.each(function(y){l(this).wrapAll(h?n.call(this,y):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){l(this).replaceWith(this.childNodes)}),this}}),l.expr.pseudos.hidden=function(n){return!l.expr.pseudos.visible(n)},l.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},l.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(n){}};var Je={0:200,1223:204},xi=l.ajaxSettings.xhr();C.cors=!!xi&&"withCredentials"in xi,C.ajax=xi=!!xi,l.ajaxTransport(function(n){var h,y;if(C.cors||xi&&!n.crossDomain)return{send:function(E,D){var O,B=n.xhr();if(B.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(O in n.xhrFields)B[O]=n.xhrFields[O];n.mimeType&&B.overrideMimeType&&B.overrideMimeType(n.mimeType),!n.crossDomain&&!E["X-Requested-With"]&&(E["X-Requested-With"]="XMLHttpRequest");for(O in E)B.setRequestHeader(O,E[O]);h=function(rt){return function(){h&&(h=y=B.onload=B.onerror=B.onabort=B.ontimeout=B.onreadystatechange=null,rt==="abort"?B.abort():rt==="error"?typeof B.status!="number"?D(0,"error"):D(B.status,B.statusText):D(Je[B.status]||B.status,B.statusText,(B.responseType||"text")!=="text"||typeof B.responseText!="string"?{binary:B.response}:{text:B.responseText},B.getAllResponseHeaders()))}},B.onload=h(),y=B.onerror=B.ontimeout=h("error"),B.onabort!==void 0?B.onabort=y:B.onreadystatechange=function(){B.readyState===4&&e.setTimeout(function(){h&&y()})},h=h("abort");try{B.send(n.hasContent&&n.data||null)}catch(rt){if(h)throw rt}},abort:function(){h&&h()}}}),l.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),l.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return l.globalEval(n),n}}}),l.ajaxPrefilter("script",function(n){n.cache===void 0&&(n.cache=!1),n.crossDomain&&(n.type="GET")}),l.ajaxTransport("script",function(n){if(n.crossDomain||n.scriptAttrs){var h,y;return{send:function(E,D){h=l("<script>").attr(n.scriptAttrs||{}
vendor: 4,682 bytes, line 4
4).prop({charset:n.scriptCharset,src:n.url}).on("load error",y=function(O){h.remove(),y=null,O&&D(O.type==="error"?404:200,O.type)}),A.head.appendChild(h[0])},abort:function(){y&&y()}}}});var Ji=[],Ui=/(=)\?(?=&|$)|\?\?/;l.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=Ji.pop()||l.expando+"_"+un.guid++;return this[n]=!0,n}}),l.ajaxPrefilter("json jsonp",function(n,h,y){var E,D,O,B=n.jsonp!==!1&&(Ui.test(n.url)?"url":typeof n.data=="string"&&(n.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Ui.test(n.data)&&"data");if(B||n.dataTypes[0]==="jsonp")return E=n.jsonpCallback=g(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,B?n[B]=n[B].replace(Ui,"$1"+E):n.jsonp!==!1&&(n.url+=(Yi.test(n.url)?"&":"?")+n.jsonp+"="+E),n.converters["script json"]=function(){return O||l.error(E+" was not called"),O[0]},n.dataTypes[0]="json",D=e[E],e[E]=function(){O=arguments},y.always(function(){D===void 0?l(e).removeProp(E):e[E]=D,n[E]&&(n.jsonpCallback=h.jsonpCallback,Ji.push(E)),O&&g(D)&&D(O[0]),O=D=void 0}),"script"}),C.createHTMLDocument=(function(){var n=A.implementation.createHTMLDocument("").body;return n.innerHTML="<form></form><form></form>",n.childNodes.length===2})(),l.parseHTML=function(n,h,y){if(typeof n!="string")return[];typeof h=="boolean"&&(y=h,h=!1);var E,D,O;return h||(C.createHTMLDocument?(h=A.implementation.createHTMLDocument(""),E=h.createElement("base"),E.href=A.location.href,h.head.appendChild(E)):h=A),D=Ut.exec(n),O=!y&&[],D?[h.createElement(D[1])]:(D=Lt([n],h,O),O&&O.length&&l(O).remove(),l.merge([],D.childNodes))},l.fn.load=function(n,h,y){var E,D,O,B=this,rt=n.indexOf(" ");return rt>-1&&(E=Pi(n.slice(rt)),n=n.slice(0,rt)),g(h)?(y=h,h=void 0):h&&typeof h=="object"&&(D="POST"),B.length>0&&l.ajax({url:n,type:D||"GET",dataType:"html",data:h}).done(function(st){O=arguments,B.html(E?l("<div>").append(l.parseHTML(st)).find(E):st)}).always(y&&function(st,gt){B.each(function(){y.apply(this,O||[st.responseText,gt,st])})}),this},l.expr.pseudos.animated=function(n){return l.grep(l.timers,function(h){return n===h.elem}).length},l.offset={setOffset:function(n,h,y){var E,D,O,B,rt,st,gt,Ot=l.css(n,"position"),Ft=l(n),yt={};Ot==="static"&&(n.style.position="relative"),rt=Ft.offset(),O=l.css(n,"top"),st=l.css(n,"left"),gt=(Ot==="absolute"||Ot==="fixed")&&(O+st).indexOf("auto")>-1,gt?(E=Ft.position(),B=E.top,D=E.left):(B=parseFloat(O)||0,D=parseFloat(st)||0),g(h)&&(h=h.call(n,y,l.extend({},rt))),h.top!=null&&(yt.top=h.top-rt.top+B),h.left!=null&&(yt.left=h.left-rt.left+D),"using"in h?h.using.call(n,yt):Ft.css(yt)}},l.fn.extend({offset:function(n){if(arguments.length)return n===void 0?this:this.each(function(D){l.offset.setOffset(this,n,D)});var h,y,E=this[0];if(E)return E.getClientRects().length?(h=E.getBoundingClientRect(),y=E.ownerDocument.defaultView,{top:h.top+y.pageYOffset,left:h.left+y.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,h,y,E=this[0],D={top:0,left:0};if(l.css(E,"position")==="fixed")h=E.getBoundingClientRect();else{for(h=this.offset(),y=E.ownerDocument,n=E.offsetParent||y.documentElement;n&&(n===y.body||n===y.documentElement)&&l.css(n,"position")==="static";)n=n.parentNode;n&&n!==E&&n.nodeType===1&&(D=l(n).offset(),D.top+=l.css(n,"borderTopWidth",!0),D.left+=l.css(n,"borderLeftWidth",!0))}return{top:h.top-D.top-l.css(E,"marginTop",!0),left:h.left-D.left-l.css(E,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&l.css(n,"position")==="static";)n=n.offsetParent;return n||p})}}),l.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,h){var y=h==="pageYOffset";l.fn[n]=function(E){return he(this,function(D,O,B){var rt;if(P(D)?rt=D:D.nodeType===9&&(rt=D.defaultView),B===void 0)return rt?rt[h]:D[O];rt?rt.scrollTo(y?rt.pageXOffset:B,y?B:rt.pageYOffset):D[O]=B},n,E,arguments.length)}}),l.each(["top","left"],function(n,h){l.cssHooks[h]=Wt(C.pixelPosition,function(y,E){if(E)return E=At(y,h),ue.test(E)?l(y).position()[h]+"px":E})}),l.each({Height:"height",Width:"width"},function(n,h){l.each({padding:"inner"+n,content:h,"":"outer"+n},function(y,E){l.fn[E]=function(D,O){var B=arguments.length&&(y||typeof D!="boolean"),rt=y||(D===!0||O===!0?"margin":"border");return he(this,function(st,gt,Ot){var Ft;return P(st)?E.indexOf("outer")===0?st["inner"+n]:st.document.documentElement["client"+n]:st.nodeType===9?(Ft=st.documentElement,Math.max(st.body["scroll"+n],Ft["scroll"+n],st.body["offset"+n],Ft["offset"+n],Ft["client"+n])):Ot===void 0?l.css(st,gt,rt):l.style(st,gt,Ot,rt)},h,B?D:void 0,B)}})}),l.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,h){l.fn[h
4]=function(y){return this.on(h,y)}}),l.fn.extend({bind:function(n,h,y){return this.on(n,null,h,y)},unbind:function(n,h){return this.off(n,null,h)},delegate:function(n,h,y,E){return this.on(h,n,y,E)},undelegate:function(n,h,y){return arguments.length===1?this.off(n,"**"):this.off(h,n||"**",y)},hover:function(n,h){return this.mouseenter(n).mouseleave(h||n)}}),l.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,h){l.fn[h]=function(y,E){return arguments.length>0?this.on(h,null,y,E):this.trigger(h)}});var hn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;l.proxy=function(n,h){var y,E,D;if(typeof h=="string"&&(y=n[h],h=n,n=y),!!g(n))return E=w.call(arguments,2),D=function(){return n.apply(h||this,E.concat(w.call(arguments)))},D.guid=n.guid=n.guid||l.guid++,D},l.holdReady=function(n){n?l.readyWait++:l.ready(!0)},l.isArray=Array.isArray,l.parseJSON=JSON.parse,l.nodeName=F,l.isFunction=g,l.isWindow=P,l.camelCase=se,l.type=c,l.now=Date.now,l.isNumeric=function(n){var h=l.type(n);return(h==="number"||h==="string")&&!isNaN(n-parseFloat(n))},l.trim=function(n){return n==null?"":(n+"").replace(hn,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return l});var $i=e.jQuery,tn=e.$;return l.noConflict=function(n){return e.$===l&&(e.$=tn),n&&e.jQuery===l&&(e.jQuery=$i),l},typeof W=="undefined"&&(e.jQuery=e.$=l),l});(function(e){typeof define=="function"&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){e.ui=e.ui||{};var W=e.ui.version="1.12.1";var M=0,mt=Array.prototype.slice;e.cleanData=(function(t){return function(i){var s,o,p;for(p=0;(o=i[p])!=null;p++)try{s=e._data(o,"events"),s&&s.remove&&e(o).triggerHandler("remove")}catch(_){}t(i)}})(e.cleanData),e.widget=function(t,i,s){var o,p,_,I={},U=t.split(".")[0];t=t.split(".")[1];var Q=U+"-"+t;return s||(s=i,i=e.Widget),e.isArray(s)&&(s=e.extend.apply(null,[{}].concat(s))),e.expr[":"][Q.toLowerCase()]=function(ot){return!!e.data(ot,Q)},e[U]=e[U]||{},o=e[U][t],p=e[U][t]=function(ot,vt){if(!this._createWidget)return new p(ot,vt);arguments.length&&this._createWidget(ot,vt)},e.extend(p,o,{version:s.version,_proto:e.extend({},s),_childConstructors:[]}),_=new i,_.options=e.widget.extend({},_.options),e.each(s,function(ot,vt){if(!e.isFunction(vt)){I[ot]=vt;return}I[ot]=(function(){function xt(){return i.prototype[ot].apply(this,arguments)}function et(bt){return i.prototype[ot].apply(this,bt)}return function(){var bt=this._super,Mt=this._superApply,at;return this._super=xt,this._superApply=et,at=vt.apply(this,arguments),this._super=bt,this._superApply=Mt,at}})()}),p.prototype=e.widget.extend(_,{widgetEventPrefix:o&&_.widgetEventPrefix||t},I,{constructor:p,namespace:U,widgetName:t,widgetFullName:Q}),o?(e.each(o._childConstructors,function(ot,vt){var xt=vt.prototype;e.widget(xt.namespace+"."+xt.widgetName,p,vt._proto)}),delete o._childConstructors):i._childConstructors.push(p),e.widget.bridge(t,p),p},e.widget.extend=function(t){for(var i=mt.call(arguments,1),s=0,o=i.length,p,_;s<o;s++)for(p in i[s])_=i[s][p],i[s].hasOwnProperty(p)&&_!==void 0&&(e.isPlainObject(_)?t[p]=e.isPlainObject(t[p])?e.widget.extend({},t[p],_):e.widget.extend({},_):t[p]=_);return t},e.widget.bridge=function(t,i){var s=i.prototype.widgetFullName||t;e.fn[t]=function(o){var p=typeof o=="string",_=mt.call(arguments,1),I=this;return p?!this.length&&o==="instance"?I=void 0:this.each(function(){var U,Q=e.data(this,s);if(o==="instance")return I=Q,!1;if(!Q)return e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+o+"'");if(!e.isFunction(Q[o])||o.charAt(0)==="_")return e.error("no such method '"+o+"' for "+t+" widget instance");if(U=Q[o].apply(Q,_),U!==Q&&U!==void 0)return I=U&&U.jquery?I.pushStack(U.get()):U,!1}):(_.length&&(o=e.widget.extend.apply(null,[o].concat(_))),this.each(function(){var U=e.data(this,s);U?(U.option(o||{}),U._init&&U._init()):e.data(this,s,new i(o,this))})),I}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=M++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(s){s.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.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:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(i,s){t._removeClass(s,i)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var s=t,o,p,_;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof t=="string")if(s={},o=t.split("."),t=o.shift(),o.length){for(p=s[t]=e.widget.extend({},this.options[t]),_=0;_<o.length-1;_++)p[o[_]]=p[o[_]]||{},p=p[o[_]];if(t=o.pop(),arguments.length===1)return p[t]===void 0?null:p[t];p[t]=i}else{if(arguments.length===1)return this.options[t]===void 0?null:this.options[t];s[t]=i}return this._setOptions(s),this},_setOptions:function(t){var i;for(i in t)this._setOption(i,t[i]);return this},_setOption:function(t,i){return t==="classes"&&this._setOptionClasses(i),this.options[t]=i,t==="disabled"&&this._setOptionDisabled(i),this},_setOptionClasses:function(t){var i,s,o;for(i in t)o=this.classesElementLookup[i],!(t[i]===this.options.classes[i]||!o||!o.length)&&(s=e(o.get()),this._removeClass(o,i),s.addClass(this._classes({element:s,keys:i,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 i=[],s=this;t=e.extend({element:this.element,classes:this.options.classes||{}},t);function o(p,_){var I,U;for(U=0;U<p.length;U++)I=s.classesElementLookup[p[U]]||e(),t.add?I=e(e.unique(I.get().concat(t.element.get()))):I=e(
vendor: 74,078 bytes, line 4
4I.not(t.element).get()),s.classesElementLookup[p[U]]=I,i.push(p[U]),_&&t.classes[p[U]]&&i.push(t.classes[p[U]])}return this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&o(t.keys.match(/\S+/g)||[],!0),t.extra&&o(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,function(s,o){e.inArray(t.target,o)!==-1&&(i.classesElementLookup[s]=e(o.not(t.target).get()))})},_removeClass:function(t,i,s){return this._toggleClass(t,i,s,!1)},_addClass:function(t,i,s){return this._toggleClass(t,i,s,!0)},_toggleClass:function(t,i,s,o){o=typeof o=="boolean"?o:s;var p=typeof t=="string"||t===null,_={extra:p?i:s,keys:p?t:i,element:p?this.element:t,add:o};return _.element.toggleClass(this._classes(_),o),this},_on:function(t,i,s){var o,p=this;typeof t!="boolean"&&(s=i,i=t,t=!1),s?(i=o=e(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,o=this.widget()),e.each(s,function(_,I){function U(){if(!(!t&&(p.options.disabled===!0||e(this).hasClass("ui-state-disabled"))))return(typeof I=="string"?p[I]:I).apply(p,arguments)}typeof I!="string"&&(U.guid=I.guid=I.guid||U.guid||e.guid++);var Q=_.match(/^([\w:-]*)\s*(.*)$/),ot=Q[1]+p.eventNamespace,vt=Q[2];vt?o.on(ot,vt,U):i.on(ot,U)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i).off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(t,i){function s(){return(typeof t=="string"?o[t]:t).apply(o,arguments)}var o=this;return setTimeout(s,i||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(i){this._addClass(e(i.currentTarget),null,"ui-state-hover")},mouseleave:function(i){this._removeClass(e(i.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(i){this._addClass(e(i.currentTarget),null,"ui-state-focus")},focusout:function(i){this._removeClass(e(i.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,s){var o,p,_=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],p=i.originalEvent,p)for(o in p)o in i||(i[o]=p[o]);return this.element.trigger(i,s),!(e.isFunction(_)&&_.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,o,p){typeof o=="string"&&(o={effect:o});var _,I=o?o===!0||typeof o=="number"?i:o.effect||i:t;o=o||{},typeof o=="number"&&(o={duration:o}),_=!e.isEmptyObject(o),o.complete=p,o.delay&&s.delay(o.delay),_&&e.effects&&e.effects.effect[I]?s[t](o):I!==t&&s[I]?s[I](o.duration,o.easing,p):s.queue(function(U){e(this)[t](),p&&p.call(s[0]),U()})}});var w=e.widget;(function(){var t,i=Math.max,s=Math.abs,o=/left|center|right/,p=/top|center|bottom/,_=/[\+\-]\d+(\.[\d]+)?%?/,I=/^\w+/,U=/%$/,Q=e.fn.position;function ot(et,bt,Mt){return[parseFloat(et[0])*(U.test(et[0])?bt/100:1),parseFloat(et[1])*(U.test(et[1])?Mt/100:1)]}function vt(et,bt){return parseInt(e.css(et,bt),10)||0}function xt(et){var bt=et[0];return bt.nodeType===9?{width:et.width(),height:et.height(),offset:{top:0,left:0}}:e.isWindow(bt)?{width:et.width(),height:et.height(),offset:{top:et.scrollTop(),left:et.scrollLeft()}}:bt.preventDefault?{width:0,height:0,offset:{top:bt.pageY,left:bt.pageX}}:{width:et.outerWidth(),height:et.outerHeight(),offset:et.offset()}}e.position={scrollbarWidth:function(){if(t!==void 0)return t;var et,bt,Mt=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),at=Mt.children()[0];return e("body").append(Mt),et=at.offsetWidth,Mt.css("overflow","scroll"),bt=at.offsetWidth,et===bt&&(bt=Mt[0].clientWidth),Mt.remove(),t=et-bt},getScrollInfo:function(et){var bt=et.isWindow||et.isDocument?"":et.element.css("overflow-x"),Mt=et.isWindow||et.isDocument?"":et.element.css("overflow-y"),at=bt==="scroll"||bt==="auto"&&et.width<et.element[0].scrollWidth,Ct=Mt==="scroll"||Mt==="auto"&&et.height<et.element[0].scrollHeight;return{width:Ct?e.position.scrollbarWidth():0,height:at?e.position.scrollbarWidth():0}},getWithinInfo:function(et){var bt=e(et||window),Mt=e.isWindow(bt[0]),at=!!bt[0]&&bt[0].nodeType===9,Ct=!Mt&&!at;return{element:bt,isWindow:Mt,isDocument:at,offset:Ct?e(et).offset():{left:0,top:0},scrollLeft:bt.scrollLeft(),scrollTop:bt.scrollTop(),width:bt.outerWidth(),height:bt.outerHeight()}}},e.fn.position=function(et){if(!et||!et.of)return Q.apply(this,arguments);et=e.extend({},et);var bt,Mt,at,Ct,Rt,Nt,Lt=e(et.of),oe=e.position.getWithinInfo(et.within),ye=e.position.getScrollInfo(oe),J=(et.collision||"flip").split(" "),q={};return Nt=xt(Lt),Lt[0].preventDefault&&(et.at="left top"),Mt=Nt.width,at=Nt.height,Ct=Nt.offset,Rt=e.extend({},Ct),e.each(["my","at"],function(){var V=(et[this]||"").split(" "),it,L;V.length===1&&(V=o.test(V[0])?V.concat(["center"]):p.test(V[0])?["center"].concat(V):["center","center"]),V[0]=o.test(V[0])?V[0]:"center",V[1]=p.test(V[1])?V[1]:"center",it=_.exec(V[0]),L=_.exec(V[1]),q[this]=[it?it[0]:0,L?L[0]:0],et[this]=[I.exec(V[0])[0],I.exec(V[1])[0]]}),J.length===1&&(J[1]=J[0]),et.at[0]==="right"?Rt.left+=Mt:et.at[0]==="center"&&(Rt.left+=Mt/2),et.at[1]==="bottom"?Rt.top+=at:et.at[1]==="center"&&(Rt.top+=at/2),bt=ot(q.at,Mt,at),Rt.left+=bt[0],Rt.top+=bt[1],this.each(function(){var V,it,L=e(this),N=L.outerWidth(),nt=L.outerHeight(),dt=vt(this,"marginLeft"),It=vt(this,"marginTop"),Pt=N+dt+vt(this,"marginRight")+ye.width,Vt=nt+It+vt(this,"marginBottom")+ye.height,Yt=e.extend({},Rt),Bt=ot(q.my,L.outerWidth(),L.outerHeight());et.my[0]==="right"?Yt.left-=N:et.my[0]==="center"&&(Yt.left-=N/2),et.my[1]==="bottom"?Yt.top-=nt:et.my[1]==="center"&&(Yt.top-=nt/2),Yt.left+=Bt[0],Yt.top+=Bt[1],V={marginLeft:dt,marginTop:It},e.each(["left","top"],function(ue,Re){e.ui.position[J[ue]]&&e.ui.position[J[ue]][Re](Yt,{targetWidth:Mt,targetHeight:at,elemWidth:N,elemHeight:nt,collisionPosition:V,collisionWidth:Pt,collisionHeight:Vt,offset:[bt[0]+Bt[0],bt[1]+Bt[1]],my:et.my,at:et.at,within:oe,elem:L})}),et.using&&(it=function(ue){var Re=Ct.left-Yt.left,ke=Re+Mt-N,X=Ct.top-Yt.top,Et=X+at-nt,At={target:{element:Lt,left:Ct.left,top:Ct.top,width:Mt,height:at},element:{element:L,left:Yt.left,top:Yt.top,width:N,height:nt},horizontal:ke<0?"left":Re>0?"right":"center",vertical:Et<0?"top":X>0?"bottom":"middle"};Mt<N&&s(Re+ke)<Mt&&(At.horizontal="center"),at<nt&&s(X+Et)<at&&(At.vertical="middle"),i(s(Re),s(ke))>i(s(X),s(Et))?At.important="horizontal":At.important="vertical",et.using.call(this,ue,At)}),L.offset(e.extend(Yt,{using:it}))})},e.ui.position={fit:{left:function(et,bt){var Mt=bt.within,at=Mt.isWindow?Mt.scrollLeft:Mt.offset.left,Ct=Mt.width,Rt=et.left-bt.collisionPosition.marginLeft,Nt=at-Rt,Lt=Rt+bt.collisionWidth-Ct-at,oe;bt.collisionWidth>Ct?Nt>0&&Lt<=0?(oe=et.left+Nt+bt.collisionWidth-Ct-at,et.left+=Nt-oe):Lt>0&&Nt<=0?et.left=at:Nt>Lt?et.left=at+Ct-bt.collisionWidth:et.left=at:Nt>0?et.left+=Nt:Lt>0?et.left-=Lt:et.left=i(et.left-Rt,et.left)},top:function(et,bt){var Mt=bt.within,at=Mt.isWindow?Mt.scrollTop:Mt.offset.top,Ct=bt.within.height,Rt=et.top-bt.collisionPosition.marginTop,Nt=at-Rt,Lt=Rt+bt.collisionHeight-Ct-at,oe;bt.collisionHeight>Ct?Nt>0&&Lt<=0?(oe=et.top+Nt+bt.collisionHeight-Ct-at,et.top+=Nt-oe):Lt>0&&Nt<=0?et.top=at:Nt>Lt?et.top=at+Ct-bt.collisionHeight:et.top=at:Nt>0?et.top+=Nt:Lt>0?et.top-=Lt:et.top=i(et.top-Rt,et.top)}},flip:{left:function(et,bt){var Mt=bt.within,at=Mt.offset.left+Mt.scrollLeft,Ct=Mt.width,Rt=Mt.isWindow?Mt.scrollLeft:Mt.offset.left,Nt=et.left-bt.collisionPosition.marginLeft,Lt=Nt-Rt,oe=Nt+bt.collisionWidth-Ct-Rt,ye=bt.my[0]==="left"?-bt.elemWidth:bt.my[0]==="right"?bt.elemWidth:0,J=bt.at[0]==="left"?bt.targetWidth:bt.at[0]==="right"?-bt.targetWidth:0,q=-2*bt.offset[0],V,it;Lt<0?(V=et.left+ye+J+q+bt.collisionWidth-Ct-at,(V<0||V<s(Lt))&&(et.left+=ye+J+q)):oe>0&&(it=et.left-bt.collisionPosition.marginLeft+ye+J+q-Rt,(it>0||s(it)<oe)&&(et.left+=ye+J+q))},top:function(et,bt){var Mt=bt.within,at=Mt.offset.top+Mt.scrollTop,Ct=Mt.height,Rt=Mt.isWindow?Mt.scrollTop:Mt.offset.top,Nt=et.top-bt.collisionPosition.marginTop,Lt=Nt-Rt,oe=Nt+bt.collisionHeight-Ct-Rt,ye=bt.my[1]==="top",J=ye?-bt.elemHeight:bt.my[1]==="bottom"?bt.elemHeight:0,q=bt.at[1]==="top"?bt.targetHeight:bt.at[1]==="bottom"?-bt.targetHeight:0,V=-2*bt.offset[1],it,L;Lt<0?(L=et.top+J+q+V+bt.collisionHeight-Ct-at,(L<0||L<s(Lt))&&(et.top+=J+q+V)):oe>0&&(it=et.top-bt.collisionPosition.marginTop+J+q+V-Rt,(it>0||s(it)<oe)&&(et.top+=J+q+V))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}})();var S=e.ui.position;var a=e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])}});var b=e.fn.extend({disableSelection:(function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(i){i.preventDefault()})}})(),enableSelection:function(){return this.off(".ui-disableSelection")}});e.ui.focusable=function(t,i){var s,o,p,_,I,U=t.nodeName.toLowerCase();return U==="area"?(s=t.parentNode,o=s.name,!t.href||!o||s.nodeName.toLowerCase()!=="map"?!1:(p=e("img[usemap='#"+o+"']"),p.length>0&&p.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(U)?(_=!t.disabled,_&&(I=e(t).closest("fieldset")[0],I&&(_=!I.disabled))):U==="a"?_=t.href||i:_=i,_&&e(t).is(":visible")&&x(e(t)))};function x(t){for(var i=t.css("visibility");i==="inherit";)t=t.parent(),i=t.css("visibility");return i!=="hidden"}e.extend(e.expr[":"],{focusable:function(t){return e.ui.focusable(t,e.attr(t,"tabindex")!=null)}});var m=e.ui.focusable,v=e.fn.form=function(){return typeof this[0].form=="string"?this.closest("form"):e(this[0].form)};var d=e.ui.formResetMixin={_formResetHandler:function(){var t=e(this);setTimeout(function(){var i=t.data("ui-form-reset-instances");e.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.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(e.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")}}};e.fn.jquery.substring(0,3)==="1.7"&&(e.each(["Width","Height"],function(t,i){var s=i==="Width"?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),p={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};function _(I,U,Q,ot){return e.each(s,function(){U-=parseFloat(e.css(I,"padding"+this))||0,Q&&(U-=parseFloat(e.css(I,"border"+this+"Width"))||0),ot&&(U-=parseFloat(e.css(I,"margin"+this))||0)}),U}e.fn["inner"+i]=function(I){return I===void 0?p["inner"+i].call(this):this.each(function(){e(this).css(o,_(this,I)+"px")})},e.fn["outer"+i]=function(I,U){return typeof I!="number"?p["outer"+i].call(this,I):this.each(function(){e(this).css(o,_(this,I,!0,U)+"px")})}}),e.fn.addBack=function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))});var f=e.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},C=e.ui.escapeSelector=(function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(i){return i.replace(t,"\\$1")}})();var g=e.fn.labels=function(){var t,i,s,o,p;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(o=this.eq(0).parents("label"),s=this.attr("id"),s&&(t=this.eq(0).parents().last(),p=t.add(t.length?t.siblings():this.siblings()),i="label[for='"+e.ui.escapeSelector(s)+"']",o=o.add(p.find(i).addBack(i))),this.pushStack(o))};var P=e.fn.scrollParent=function(t){var i=this.css("position"),s=i==="absolute",o=t?/(auto|scroll|hidden)/:/(auto|scroll)/,p=this.parents().filter(function(){var _=e(this);return s&&_.css("position")==="static"?!1:o.test(_.css("overflow")+_.css("overflow-y")+_.css("overflow-x"))}).eq(0);return i==="fixed"||!p.length?e(this[0].ownerDocument||document):p};var A=e.extend(e.expr[":"],{tabbable:function(t){var i=e.attr(t,"tabindex"),s=i!=null;return(!s||i>=0)&&e.ui.focusable(t,s)}});var u=e.fn.extend({uniqueId:(function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}})(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),r=e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var c=!1;e(document).on("mouseup",function(){c=!1});var T=e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(i){return t._mouseDown(i)}).on("click."+this.widgetName,function(i){if(e.data(i.target,t.widgetName+".preventClickEvent")===!0)return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.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(!c){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,s=t.which===1,o=typeof this.options.cancel=="string"&&t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;return!s||o||!this._mouseCapture(t)?!0:(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?(t.preventDefault(),!0):(e.data(t.target,this.widgetName+".preventClickEvent")===!0&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(p){return i._mouseMove(p)},this._mouseUpDelegate=function(p){return i._mouseUp(p)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),c=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!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&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,c=!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}}),k=e.ui.plugin={add:function(t,i,s){var o,p=e.ui[t].prototype;for(o in s)p.plugins[o]=p.plugins[o]||[],p.plugins[o].push([i,s[o]])},call:function(t,i,s,o){var p,_=t.plugins[i];if(_&&!(!o&&(!t.element[0].parentNode||t.element[0].parentNode.nodeType===11)))for(p=0;p<_.length;p++)t.options[_[p][0]]&&_[p][1].apply(t.element,s)}},l=e.ui.safeActiveElement=function(t){var i;try{i=t.activeElement}catch(s){i=t.body}return i||(i=t.body),i.nodeName||(i=t.body),i},R=e.ui.safeBlur=function(t){t&&t.nodeName.toLowerCase()!=="body"&&e(t).trigger("blur")};e.widget("ui.draggable",e.ui.mouse,{version:"1.12.1",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,i){this._super(t,i),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 i=this.options;return this.helper||i.disabled||e(t.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(t),!this.handle)?!1:(this._blurActiveElement(t),this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0)},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var i=e(this);return e("<div>").css("position","absolute").appendTo(i.parent()).outerWidth(i.outerWidth()).outerHeight(i.outerHeight()).offset(i.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var i=e.ui.safeActiveElement(this.document[0]),s=e(t.target);s.closest(i).length||e.ui.safeBlur(i)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.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 e(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,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.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,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",t,s)===!1)return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=this,s=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(s=e.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),this.options.revert==="invalid"&&!s||this.options.revert==="valid"&&s||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",t)!==!1&&i._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return this.options.handle?!!e(t.target).closest(this.element.find(this.options.handle)).length:!0},_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 i=this.options,s=e.isFunction(i.helper),o=s?e(i.helper.apply(this.element[0],[t])):i.helper==="clone"?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo(i.appendTo==="parent"?this.element[0].parentNode:i.appendTo),s&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]!==this.element[0]&&!/(fixed|absolute)/.test(o.css("position"))&&o.css("position","absolute"),o},_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(" ")),e.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(),i=this.document[0];return this.cssPosition==="absolute"&&this.scrollParent[0]!==i&&e.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(),i=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(i?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(i?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,i,s,o=this.options,p=this.document[0];if(this.relativeContainer=null,!o.containment){this.containment=null;return}if(o.containment==="window"){this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||p.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(o.containment==="document"){this.containment=[0,0,e(p).width()-this.helperProportions.width-this.margins.left,(e(p).height()||p.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(o.containment.constructor===Array){this.containment=o.containment;return}o.containment==="parent"&&(o.containment=this.helper[0].parentNode),i=e(o.containment),s=i[0],s&&(t=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)},_convertPositionTo:function(t,i){i||(i=this.position);var s=t==="absolute"?1:-1,o=this._isRootNode(this.scrollParent[0]);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-(this.cssPosition==="fixed"?-this.offset.scroll.top:o?0:this.offset.scroll.top)*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-(this.cssPosition==="fixed"?-this.offset.scroll.left:o?0:this.offset.scroll.left)*s}},_generatePosition:function(t,i){var s,o,p,_,I=this.options,U=this._isRootNode(this.scrollParent[0]),Q=t.pageX,ot=t.pageY;return(!U||!this.offset.scroll)&&(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),i&&(this.containment&&(this.relativeContainer?(o=this.relativeContainer.offset(),s=[this.containment[0]+o.left,this.containment[1]+o.top,this.containment[2]+o.left,this.containment[3]+o.top]):s=this.containment,t.pageX-this.offset.click.left<s[0]&&(Q=s[0]+this.offset.click.left),t.pageY-this.offset.click.top<s[1]&&(ot=s[1]+this.offset.click.top),t.pageX-this.offset.click.left>s[2]&&(Q=s[2]+this.offset.click.left),t.pageY-this.offset.click.top>s[3]&&(ot=s[3]+this.offset.click.top)),I.grid&&(p=I.grid[1]?this.originalPageY+Math.round((ot-this.originalPageY)/I.grid[1])*I.grid[1]:this.originalPageY,ot=s?p-this.offset.click.top>=s[1]||p-this.offset.click.top>s[3]?p:p-this.offset.click.top>=s[1]?p-I.grid[1]:p+I.grid[1]:p,_=I.grid[0]?this.originalPageX+Math.round((Q-this.originalPageX)/I.grid[0])*I.grid[0]:this.originalPageX,Q=s?_-this.offset.click.left>=s[0]||_-this.offset.click.left>s[2]?_:_-this.offset.click.left>=s[0]?_-I.grid[0]:_+I.grid[0]:_),I.axis==="y"&&(Q=this.originalPageX),I.axis==="x"&&(ot=this.originalPageY)),{top:ot-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:U?0:this.offset.scroll.top),left:Q-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:U?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,i,s){return s=s||this._uiHash(),e.ui.plugin.call(this,t,[i,s,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i,s){var o=e.extend({},i,{item:s.element});s.sortables=[],e(s.options.connectToSortable).each(function(){var p=e(this).sortable("instance");p&&!p.options.disabled&&(s.sortables.push(p),p.refreshPositions(),p._trigger("activate",t,o))})},stop:function(t,i,s){var o=e.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,e.each(s.sortables,function(){var p=this;p.isOver?(p.isOver=0,s.cancelHelperRemoval=!0,p.cancelHelperRemoval=!1,p._storedCSS={position:p.placeholder.css("position"),top:p.placeholder.css("top"),left:p.placeholder.css("left")},p._mouseStop(t),p.options.helper=p.options._helper):(p.cancelHelperRemoval=!0,p._trigger("deactivate",t,o))})},drag:function(t,i,s){e.each(s.sortables,function(){var o=!1,p=this;p.positionAbs=s.positionAbs,p.helperProportions=s.helperProportions,p.offset.click=s.offset.click,p._intersectsWith(p.containerCache)&&(o=!0,e.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==p&&this._intersectsWith(this.containerCache)&&e.contains(p.element[0],this.element[0])&&(o=!1),o})),o?(p.isOver||(p.isOver=1,s._parent=i.helper.parent(),p.currentItem=i.helper.appendTo(p.element).data("ui-sortable-item",!0),p.options._helper=p.options.helper,p.options.helper=function(){return i.helper[0]},t.target=p.currentItem[0],p._mouseCapture(t,!0),p._mouseStart(t,!0,!0),p.offset.click.top=s.offset.click.top,p.offset.click.left=s.offset.click.left,p.offset.parent.left-=s.offset.parent.left-p.offset.parent.left,p.offset.parent.top-=s.offset.parent.top-p.offset.parent.top,s._trigger("toSortable",t),s.dropped=p.element,e.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,p.fromOutside=s),p.currentItem&&(p._mouseDrag(t),i.position=p.position)):p.isOver&&(p.isOver=0,p.cancelHelperRemoval=!0,p.options._revert=p.options.revert,p.options.revert=!1,p._trigger("out",t,p._uiHash(p)),p._mouseStop(t,!0),p.options.revert=p.options._revert,p.options.helper=p.options._helper,p.placeholder&&p.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(t),i.position=s._generatePosition(t,!0),s._trigger("fromSortable",t),s.dropped=!1,e.each(s.sortables,function(){this.refreshPositions()}))})}}),e.ui.plugin.add("draggable","cursor",{start:function(t,i,s){var o=e("body"),p=s.options;o.css("cursor")&&(p._cursor=o.css("cursor")),o.css("cursor",p.cursor)},stop:function(t,i,s){var o=s.options;o._cursor&&e("body").css("cursor",o._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i,s){var o=e(i.helper),p=s.options;o.css("opacity")&&(p._opacity=o.css("opacity")),o.css("opacity",p.opacity)},stop:function(t,i,s){var o=s.options;o._opacity&&e(i.helper).css("opacity",o._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(t,i,s){s.scrollParentNotHidden||(s.scrollParentNotHidden=s.helper.scrollParent(!1)),s.scrollParentNotHidden[0]!==s.document[0]&&s.scrollParentNotHidden[0].tagName!=="HTML"&&(s.overflowOffset=s.scrollParentNotHidden.offset())},drag:function(t,i,s){var o=s.options,p=!1,_=s.scrollParentNotHidden[0],I=s.document[0];_!==I&&_.tagName!=="HTML"?((!o.axis||o.axis!=="x")&&(s.overflowOffset.top+_.offsetHeight-t.pageY<o.scrollSensitivity?_.scrollTop=p=_.scrollTop+o.scrollSpeed:t.pageY-s.overflowOffset.top<o.scrollSensitivity&&(_.scrollTop=p=_.scrollTop-o.scrollSpeed)),(!o.axis||o.axis!=="y")&&(s.overflowOffset.left+_.offsetWidth-t.pageX<o.scrollSensitivity?_.scrollLeft=p=_.scrollLeft+o.scrollSpeed:t.pageX-s.overflowOffset.left<o.scrollSensitivity&&(_.scrollLeft=p=_.scrollLeft-o.scrollSpeed))):((!o.axis||o.axis!=="x")&&(t.pageY-e(I).scrollTop()<o.scrollSensitivity?p=e(I).scrollTop(e(I).scrollTop()-o.scrollSpeed):e(window).height()-(t.pageY-e(I).scrollTop())<o.scrollSensitivity&&(p=e(I).scrollTop(e(I).scrollTop()+o.scrollSpeed))),(!o.axis||o.axis!=="y")&&(t.pageX-e(I).scrollLeft()<o.scrollSensitivity?p=e(I).scrollLeft(e(I).scrollLeft()-o.scrollSpeed):e(window).width()-(t.pageX-e(I).scrollLeft())<o.scrollSensitivity&&(p=e(I).scrollLeft(e(I).scrollLeft()+o.scrollSpeed)))),p!==!1&&e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(s,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,i,s){var o=s.options;s.snapElements=[],e(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var p=e(this),_=p.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:p.outerWidth(),height:p.outerHeight(),top:_.top,left:_.left})})},drag:function(t,i,s){var o,p,_,I,U,Q,ot,vt,xt,et,bt=s.options,Mt=bt.snapTolerance,at=i.offset.left,Ct=at+s.helperProportions.width,Rt=i.offset.top,Nt=Rt+s.helperProportions.height;for(xt=s.snapElements.length-1;xt>=0;xt--){if(U=s.snapElements[xt].left-s.margins.left,Q=U+s.snapElements[xt].width,ot=s.snapElements[xt].top-s.margins.top,vt=ot+s.snapElements[xt].height,Ct<U-Mt||at>Q+Mt||Nt<ot-Mt||Rt>vt+Mt||!e.contains(s.snapElements[xt].item.ownerDocument,s.snapElements[xt].item)){s.snapElements[xt].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,t,e.extend(s._uiHash(),{snapItem:s.snapElements[xt].item})),s.snapElements[xt].snapping=!1;continue}bt.snapMode!=="inner"&&(o=Math.abs(ot-Nt)<=Mt,p=Math.abs(vt-Rt)<=Mt,_=Math.abs(U-Ct)<=Mt,I=Math.abs(Q-at)<=Mt,o&&(i.position.top=s._convertPositionTo("relative",{top:ot-s.helperProportions.height,left:0}).top),p&&(i.position.top=s._convertPositionTo("relative",{top:vt,left:0}).top),_&&(i.position.left=s._convertPositionTo("relative",{top:0,left:U-s.helperProportions.width}).left),I&&(i.position.left=s._convertPositionTo("relative",{top:0,left:Q}).left)),et=o||p||_||I,bt.snapMode!=="outer"&&(o=Math.abs(ot-Rt)<=Mt,p=Math.abs(vt-Nt)<=Mt,_=Math.abs(U-at)<=Mt,I=Math.abs(Q-Ct)<=Mt,o&&(i.position.top=s._convertPositionTo("relative",{top:ot,left:0}).top),p&&(i.position.top=s._convertPositionTo("relative",{top:vt-s.helperProportions.height,left:0}).top),_&&(i.position.left=s._convertPositionTo("relative",{top:0,left:U}).left),I&&(i.position.left=s._convertPositionTo("relative",{top:0,left:Q-s.helperProportions.width}).left)),!s.snapElements[xt].snapping&&(o||p||_||I||et)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,t,e.extend(s._uiHash(),{snapItem:s.snapElements[xt].item})),s.snapElements[xt].snapping=o||p||_||I||et}}}),e.ui.plugin.add("draggable","stack",{start:function(t,i,s){var o,p=s.options,_=e.makeArray(e(p.stack)).sort(function(I,U){return(parseInt(e(I).css("zIndex"),10)||0)-(parseInt(e(U).css("zIndex"),10)||0)});_.length&&(o=parseInt(e(_[0]).css("zIndex"),10)||0,e(_).each(function(I){e(this).css("zIndex",o+I)}),this.css("zIndex",o+_.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i,s){var o=e(i.helper),p=s.options;o.css("zIndex")&&(p._zIndex=o.css("zIndex")),o.css("zIndex",p.zIndex)},stop:function(t,i,s){var o=s.options;o._zIndex&&e(i.helper).css("zIndex",o._zIndex)}});var F=e.ui.draggable;e.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,i=this.options,s=i.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(s)?s:function(o){return o.is(s)},this.proportions=function(){if(arguments.length)t=arguments[0];else return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(i.scope),i.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var i=0;i<t.length;i++)t[i]===this&&t.splice(i,1)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,i){if(t==="accept")this.accept=e.isFunction(i)?i:function(o){return o.is(i)};else if(t==="scope"){var s=e.ui.ddmanager.droppables[this.options.scope];this._splice(s),this._addToManager(i)}this._super(t,i)},_activate:function(t){var i=e.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=e.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=e.ui.ddmanager.current;!i||(i.currentItem||i.element)[0]===this.element[0]||this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=e.ui.ddmanager.current;!i||(i.currentItem||i.element)[0]===this.element[0]||this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var s=i||e.ui.ddmanager.current,o=!1;return!s||(s.currentItem||s.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var p=e(this).droppable("instance");if(p.options.greedy&&!p.options.disabled&&p.options.scope===s.options.scope&&p.accept.call(p.element[0],s.currentItem||s.element)&&Y(s,e.extend(p,{offset:p.element.offset()}),p.options.tolerance,t))return o=!0,!1}),o)?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(s)),this.element):!1},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")}});var Y=e.ui.intersect=(function(){function t(i,s,o){return i>=s&&i<s+o}return function(i,s,o,p){if(!s.offset)return!1;var _=(i.positionAbs||i.position.absolute).left+i.margins.left,I=(i.positionAbs||i.position.absolute).top+i.margins.top,U=_+i.helperProportions.width,Q=I+i.helperProportions.height,ot=s.offset.left,vt=s.offset.top,xt=ot+s.proportions().width,et=vt+s.proportions().height;switch(o){case"fit":return ot<=_&&U<=xt&&vt<=I&&Q<=et;case"intersect":return ot<_+i.helperProportions.width/2&&U-i.helperProportions.width/2<xt&&vt<I+i.helperProportions.height/2&&Q-i.helperProportions.height/2<et;case"pointer":return t(p.pageY,vt,s.proportions().height)&&t(p.pageX,ot,s.proportions().width);case"touch":return(I>=vt&&I<=et||Q>=vt&&Q<=et||I<vt&&Q>et)&&(_>=ot&&_<=xt||U>=ot&&U<=xt||_<ot&&U>xt);default:return!1}}})();e.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,i){var s,o,p=e.ui.ddmanager.droppables[t.options.scope]||[],_=i?i.type:null,I=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(s=0;s<p.length;s++)if(!(p[s].options.disabled||t&&!p[s].accept.call(p[s].element[0],t.currentItem||t.element))){for(o=0;o<I.length;o++)if(I[o]===p[s].element[0]){p[s].proportions().height=0;continue t}p[s].visible=p[s].element.css("display")!=="none",p[s].visible&&(_==="mousedown"&&p[s]._activate.call(p[s],i),p[s].offset=p[s].element.offset(),p[s].proportions({width:p[s].element[0].offsetWidth,height:p[s].element[0].offsetHeight}))}},drop:function(t,i){var s=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&Y(t,this,this.options.tolerance,i)&&(s=this._drop.call(this,i)||s),!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,i)))}),s},dragStart:function(t,i){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var s,o,p,_=Y(t,this,this.options.tolerance,i),I=!_&&this.isover?"isout":_&&!this.isover?"isover":null;I&&(this.options.greedy&&(o=this.options.scope,p=this.element.parents(":data(ui-droppable)").filter(function(){return e(this).droppable("instance").options.scope===o}),p.length&&(s=e(p[0]).droppable("instance"),s.greedyChild=I==="isover")),s&&I==="isover"&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[I]=!0,this[I==="isout"?"isover":"isout"]=!1,this[I==="isover"?"_over":"_out"].call(this,i),s&&I==="isout"&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(t,i){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}},e.uiBackCompat!==!1&&e.widget("ui.droppable",e.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)}});var G=e.ui.droppable;e.widget("ui.resizable",e.ui.mouse,{version:"1.12.1",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,i){if(e(t).css("overflow")==="hidden")return!1;var s=i&&i==="left"?"scrollLeft":"scrollTop",o=!1;return t[s]>0?!0:(t[s]=1,o=t[s]>0,t[s]=0,o)},_create:function(){var t,i=this.options,s=this;this._addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(e("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({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.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),i.autoHide&&e(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,i=function(s){e(s).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(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),i(this.originalElement),this},_setOption:function(t,i){this._super(t,i),t==="handles"&&(this._removeHandles(),this._setupHandles())},_setupHandles:function(){var t=this.options,i,s,o,p,_,I=this;if(this.handles=t.handles||(e(".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=e(),this.handles.constructor===String)for(this.handles==="all"&&(this.handles="n,e,s,w,se,sw,ne,nw"),o=this.handles.split(","),this.handles={},s=0;s<o.length;s++)i=e.trim(o[s]),p="ui-resizable-"+i,_=e("<div>"),this._addClass(_,"ui-resizable-handle "+p),_.css({zIndex:t.zIndex}),this.handles[i]=".ui-resizable-"+i,this.element.append(_);this._renderAxis=function(U){var Q,ot,vt,xt;U=U||this.element;for(Q in this.handles)this.handles[Q].constructor===String?this.handles[Q]=this.element.children(this.handles[Q]).first().show():(this.handles[Q].jquery||this.handles[Q].nodeType)&&(this.handles[Q]=e(this.handles[Q]),this._on(this.handles[Q],{mousedown:I._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(ot=e(this.handles[Q],this.element),xt=/sw|ne|nw|se|n|s/.test(Q)?ot.outerHeight():ot.outerWidth(),vt=["padding",/ne|nw|n/.test(Q)?"Top":/se|sw|s/.test(Q)?"Bottom":/^e$/.test(Q)?"Right":"Left"].join(""),U.css(vt,xt),this._proportionallyResize()),this._handles=this._handles.add(this.handles[Q])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){I.resizing||(this.className&&(_=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),I.axis=_&&_[1]?_[1]:"se")}),t.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(t){var i,s,o=!1;for(i in this.handles)s=e(this.handles[i])[0],(s===t.target||e.contains(s,t.target))&&(o=!0);return!this.options.disabled&&o},_mouseStart:function(t){var i,s,o,p=this.options,_=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),p.containment&&(i+=e(p.containment).scrollLeft()||0,s+=e(p.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:_.width(),height:_.height()},this.originalSize=this._helper?{width:_.outerWidth(),height:_.outerHeight()}:{width:_.width(),height:_.height()},this.sizeDiff={width:_.outerWidth()-_.width(),height:_.outerHeight()-_.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof p.aspectRatio=="number"?p.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor",o==="auto"?this.axis+"-resize":o),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var i,s,o=this.originalMousePosition,p=this.axis,_=t.pageX-o.left||0,I=t.pageY-o.top||0,U=this._change[p];return this._updatePrevProperties(),U&&(i=U.apply(this,[t,_,I]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var i,s,o,p,_,I,U,Q=this.options,ot=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&this._hasScroll(i[0],"left")?0:ot.sizeDiff.height,p=s?0:ot.sizeDiff.width,_={width:ot.helper.width()-p,height:ot.helper.height()-o},I=parseFloat(ot.element.css("left"))+(ot.position.left-ot.originalPosition.left)||null,U=parseFloat(ot.element.css("top"))+(ot.position.top-ot.originalPosition.top)||null,Q.animate||this.element.css(e.extend(_,{top:U,left:I})),ot.helper.height(ot.size.height),ot.helper.width(ot.size.width),this._helper&&!Q.animate&&this._proportionallyResize()),e("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.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var i,s,o,p,_,I=this.options;_={minWidth:this._isNumber(I.minWidth)?I.minWidth:0,maxWidth:this._isNumber(I.maxWidth)?I.maxWidth:1/0,minHeight:this._isNumber(I.minHeight)?I.minHeight:0,maxHeight:this._isNumber(I.maxHeight)?I.maxHeight:1/0},(this._aspectRatio||t)&&(i=_.minHeight*this.aspectRatio,o=_.minWidth/this.aspectRatio,s=_.maxHeight*this.aspectRatio,p=_.maxWidth/this.aspectRatio,i>_.minWidth&&(_.minWidth=i),o>_.minHeight&&(_.minHeight=o),s<_.maxWidth&&(_.maxWidth=s),p<_.maxHeight&&(_.maxHeight=p)),this._vBoundaries=_},_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 i=this.position,s=this.size,o=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),o==="sw"&&(t.left=i.left+(s.width-t.width),t.top=null),o==="nw"&&(t.top=i.top+(s.height-t.height),t.left=i.left+(s.width-t.width)),t},_respectSize:function(t){var i=this._vBoundaries,s=this.axis,o=this._isNumber(t.width)&&i.maxWidth&&i.maxWidth<t.width,p=this._isNumber(t.height)&&i.maxHeight&&i.maxHeight<t.height,_=this._isNumber(t.width)&&i.minWidth&&i.minWidth>t.width,I=this._isNumber(t.height)&&i.minHeight&&i.minHeight>t.height,U=this.originalPosition.left+this.originalSize.width,Q=this.originalPosition.top+this.originalSize.height,ot=/sw|nw|w/.test(s),vt=/nw|ne|n/.test(s);return _&&(t.width=i.minWidth),I&&(t.height=i.minHeight),o&&(t.width=i.maxWidth),p&&(t.height=i.maxHeight),_&&ot&&(t.left=U-i.minWidth),o&&ot&&(t.left=U-i.maxWidth),I&&vt&&(t.top=Q-i.minHeight),p&&vt&&(t.top=Q-i.maxHeight),!t.width&&!t.height&&!t.left&&t.top?t.top=null:!t.width&&!t.height&&!t.top&&t.left&&(t.left=null),t},_getPaddingPlusBorderDimensions:function(t){for(var i=0,s=[],o=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],p=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];i<4;i++)s[i]=parseFloat(o[i])||0,s[i]+=parseFloat(p[i])||0;return{height:s[0]+s[2],width:s[1]+s[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,i=0,s=this.helper||this.element;i<this._proportionallyResizeElements.length;i++)t=this._proportionallyResizeElements[i],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:s.height()-this.outerDimensions.height||0,width:s.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,i=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||e("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,i){return{width:this.originalSize.width+i}},w:function(t,i){var s=this.originalSize,o=this.originalPosition;return{left:o.left+i,width:s.width-i}},n:function(t,i,s){var o=this.originalSize,p=this.originalPosition;return{top:p.top+s,height:o.height-s}},s:function(t,i,s){return{height:this.originalSize.height+s}},se:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},sw:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i,s]))},ne:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},nw:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,i,s]))}},_propagate:function(t,i){e.ui.plugin.call(this,t,[i,this.ui()]),t!=="resize"&&this._trigger(t,i,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}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var i=e(this).resizable("instance"),s=i.options,o=i._proportionallyResizeElements,p=o.length&&/textarea/i.test(o[0].nodeName),_=p&&i._hasScroll(o[0],"left")?0:i.sizeDiff.height,I=p?0:i.sizeDiff.width,U={width:i.size.width-I,height:i.size.height-_},Q=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,ot=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(e.extend(U,ot&&Q?{top:ot,left:Q}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var vt={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};o&&o.length&&e(o[0]).css({width:vt.width,height:vt.height}),i._updateCache(vt),i._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var t,i,s,o,p,_,I,U=e(this).resizable("instance"),Q=U.options,ot=U.element,vt=Q.containment,xt=vt instanceof e?vt.get(0):/parent/.test(vt)?ot.parent().get(0):vt;xt&&(U.containerElement=e(xt),/document/.test(vt)||vt===document?(U.containerOffset={left:0,top:0},U.containerPosition={left:0,top:0},U.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(t=e(xt),i=[],e(["Top","Right","Left","Bottom"]).each(function(et,bt){i[et]=U._num(t.css("padding"+bt))}),U.containerOffset=t.offset(),U.containerPosition=t.position(),U.containerSize={height:t.innerHeight()-i[3],width:t.innerWidth()-i[1]},s=U.containerOffset,o=U.containerSize.height,p=U.containerSize.width,_=U._hasScroll(xt,"left")?xt.scrollWidth:p,I=U._hasScroll(xt)?xt.scrollHeight:o,U.parentData={element:xt,left:s.left,top:s.top,width:_,height:I}))},resize:function(t){var i,s,o,p,_=e(this).resizable("instance"),I=_.options,U=_.containerOffset,Q=_.position,ot=_._aspectRatio||t.shiftKey,vt={top:0,left:0},xt=_.containerElement,et=!0;xt[0]!==document&&/static/.test(xt.css("position"))&&(vt=U),Q.left<(_._helper?U.left:0)&&(_.size.width=_.size.width+(_._helper?_.position.left-U.left:_.position.left-vt.left),ot&&(_.size.height=_.size.width/_.aspectRatio,et=!1),_.position.left=I.helper?U.left:0),Q.top<(_._helper?U.top:0)&&(_.size.height=_.size.height+(_._helper?_.position.top-U.top:_.position.top),ot&&(_.size.width=_.size.height*_.aspectRatio,et=!1),_.position.top=_._helper?U.top:0),o=_.containerElement.get(0)===_.element.parent().get(0),p=/relative|absolute/.test(_.containerElement.css("position")),o&&p?(_.offset.left=_.parentData.left+_.position.left,_.offset.top=_.parentData.top+_.position.top):(_.offset.left=_.element.offset().left,_.offset.top=_.element.offset().top),i=Math.abs(_.sizeDiff.width+(_._helper?_.offset.left-vt.left:_.offset.left-U.left)),s=Math.abs(_.sizeDiff.height+(_._helper?_.offset.top-vt.top:_.offset.top-U.top)),i+_.size.width>=_.parentData.width&&(_.size.width=_.parentData.width-i,ot&&(_.size.height=_.size.width/_.aspectRatio,et=!1)),s+_.size.height>=_.parentData.height&&(_.size.height=_.parentData.height-s,ot&&(_.size.width=_.size.height*_.aspectRatio,et=!1)),et||(_.position.left=_.prevPosition.left,_.position.top=_.prevPosition.top,_.size.width=_.prevSize.width,_.size.height=_.prevSize.height)},stop:function(){var t=e(this).resizable("instance"),i=t.options,s=t.containerOffset,o=t.containerPosition,p=t.containerElement,_=e(t.helper),I=_.offset(),U=_.outerWidth()-t.sizeDiff.width,Q=_.outerHeight()-t.sizeDiff.height;t._helper&&!i.animate&&/relative/.test(p.css("position"))&&e(this).css({left:I.left-o.left-s.left,width:U,height:Q}),t._helper&&!i.animate&&/static/.test(p.css("position"))&&e(this).css({left:I.left-o.left-s.left,width:U,height:Q})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).resizable("instance"),i=t.options;e(i.alsoResize).each(function(){var s=e(this);s.data("ui-resizable-alsoresize",{width:parseFloat(s.width()),height:parseFloat(s.height()),left:parseFloat(s.css("left")),top:parseFloat(s.css("top"))})})},resize:function(t,i){var s=e(this).resizable("instance"),o=s.options,p=s.originalSize,_=s.originalPosition,I={height:s.size.height-p.height||0,width:s.size.width-p.width||0,top:s.position.top-_.top||0,left:s.position.left-_.left||0};e(o.alsoResize).each(function(){var U=e(this),Q=e(this).data("ui-resizable-alsoresize"),ot={},vt=U.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(vt,function(xt,et){var bt=(Q[et]||0)+(I[et]||0);bt&&bt>=0&&(ot[et]=bt||null)}),U.css(ot)})},stop:function(){e(this).removeData("ui-resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).resizable("instance"),i=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),e.uiBackCompat!==!1&&typeof t.options.ghost=="string"&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t,i=e(this).resizable("instance"),s=i.options,o=i.size,p=i.originalSize,_=i.originalPosition,I=i.axis,U=typeof s.grid=="number"?[s.grid,s.grid]:s.grid,Q=U[0]||1,ot=U[1]||1,vt=Math.round((o.width-p.width)/Q)*Q,xt=Math.round((o.height-p.height)/ot)*ot,et=p.width+vt,bt=p.height+xt,Mt=s.maxWidth&&s.maxWidth<et,at=s.maxHeight&&s.maxHeight<bt,Ct=s.minWidth&&s.minWidth>et,Rt=s.minHeight&&s.minHeight>bt;s.grid=U,Ct&&(et+=Q),Rt&&(bt+=ot),Mt&&(et-=Q),at&&(bt-=ot),/^(se|s|e)$/.test(I)?(i.size.width=et,i.size.height=bt):/^(ne)$/.test(I)?(i.size.width=et,i.size.height=bt,i.position.top=_.top-xt):/^(sw)$/.test(I)?(i.size.width=et,i.size.height=bt,i.position.left=_.left-vt):((bt-ot<=0||et-Q<=0)&&(t=i._getPaddingPlusBorderDimensions(this)),bt-ot>0?(i.size.height=bt,i.position.top=_.top-xt):(bt=ot-t.height,i.size.height=bt,i.position.top=_.top+p.height-bt),et-Q>0?(i.size.width=et,i.position.left=_.left-vt):(et=Q-t.width,i.size.width=et,i.position.left=_.left+p.width-et))}});var j=e.ui.resizable;var Z=e.widget("ui.selectable",e.ui.mouse,{version:"1.12.1",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=e(t.element[0]).offset(),t.selectees=e(t.options.filter,t.element[0]),t._addClass(t.selectees,"ui-selectee"),t.selectees.each(function(){var i=e(this),s=i.offset(),o={left:s.left-t.elementPos.left,top:s.top-t.elementPos.top};e.data(this,"selectable-item",{element:this,$element:i,left:o.left,top:o.top,right:o.left+i.outerWidth(),bottom:o.top+i.outerHeight(),startselected:!1,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=e("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(t){var i=this,s=this.options;this.opos=[t.pageX,t.pageY],this.elementPos=e(this.element[0]).offset(),!this.options.disabled&&(this.selectees=e(s.filter,this.element[0]),this._trigger("start",t),e(s.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var o=e.data(this,"selectable-item");o.startselected=!0,!t.metaKey&&!t.ctrlKey&&(i._removeClass(o.$element,"ui-selected"),o.selected=!1,i._addClass(o.$element,"ui-unselecting"),o.unselecting=!0,i._trigger("unselecting",t,{unselecting:o.element}))}),e(t.target).parents().addBack().each(function(){var o,p=e.data(this,"selectable-item");if(p)return o=!t.metaKey&&!t.ctrlKey||!p.$element.hasClass("ui-selected"),i._removeClass(p.$element,o?"ui-unselecting":"ui-selected")._addClass(p.$element,o?"ui-selecting":"ui-unselecting"),p.unselecting=!o,p.selecting=o,p.selected=o,o?i._trigger("selecting",t,{selecting:p.element}):i._trigger("unselecting",t,{unselecting:p.element}),!1}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var i,s=this,o=this.options,p=this.opos[0],_=this.opos[1],I=t.pageX,U=t.pageY;return p>I&&(i=I,I=p,p=i),_>U&&(i=U,U=_,_=i),this.helper.css({left:p,top:_,width:I-p,height:U-_}),this.selectees.each(function(){var Q=e.data(this,"selectable-item"),ot=!1,vt={};!Q||Q.element===s.element[0]||(vt.left=Q.left+s.elementPos.left,vt.right=Q.right+s.elementPos.left,vt.top=Q.top+s.elementPos.top,vt.bottom=Q.bottom+s.elementPos.top,o.tolerance==="touch"?ot=!(vt.left>I||vt.right<p||vt.top>U||vt.bottom<_):o.tolerance==="fit"&&(ot=vt.left>p&&vt.right<I&&vt.top>_&&vt.bottom<U),ot?(Q.selected&&(s._removeClass(Q.$element,"ui-selected"),Q.selected=!1),Q.unselecting&&(s._removeClass(Q.$element,"ui-unselecting"),Q.unselecting=!1),Q.selecting||(s._addClass(Q.$element,"ui-selecting"),Q.selecting=!0,s._trigger("selecting",t,{selecting:Q.element}))):(Q.selecting&&((t.metaKey||t.ctrlKey)&&Q.startselected?(s._removeClass(Q.$element,"ui-selecting"),Q.selecting=!1,s._addClass(Q.$element,"ui-selected"),Q.selected=!0):(s._removeClass(Q.$element,"ui-selecting"),Q.selecting=!1,Q.startselected&&(s._addClass(Q.$element,"ui-unselecting"),Q.unselecting=!0),s._trigger("unselecting",t,{unselecting:Q.element}))),Q.selected&&!t.metaKey&&!t.ctrlKey&&!Q.startselected&&(s._removeClass(Q.$element,"ui-selected"),Q.selected=!1,s._addClass(Q.$element,"ui-unselecting"),Q.unselecting=!0,s._trigger("unselecting",t,{unselecting:Q.element}))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each(function(){var s=e.data(this,"selectable-item");i._removeClass(s.$element,"ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",t,{unselected:s.element})}),e(".ui-selecting",this.element[0]).each(function(){var s=e.data(this,"selectable-item");i._removeClass(s.$element,"ui-selecting")._addClass(s.$element,"ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",t,{selected:s.element})}),this._trigger("stop",t),this.helper.remove(),!1}});var H=e.widget("ui.sortable",e.ui.mouse,{version:"1.12.1",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,i,s){return t>=i&&t<i+s},_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,i){this._super(t,i),t==="handle"&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),e.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,i){var s=null,o=!1,p=this;return this.reverting||this.options.disabled||this.options.type==="static"||(this._refreshItems(t),e(t.target).parents().each(function(){if(e.data(this,p.widgetName+"-item")===p)return s=e(this),!1}),e.data(t.target,p.widgetName+"-item")===p&&(s=e(t.target)),!s)||this.options.handle&&!i&&(e(this.options.handle,s).find("*").addBack().each(function(){this===t.target&&(o=!0)}),!o)?!1:(this.currentItem=s,this._removeCurrentsFromItems(),!0)},_mouseStart:function(t,i,s){var o,p,_=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,_.cursorAt&&this._adjustOffsetFromHelper(_.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),_.containment&&this._setContainment(),_.cursor&&_.cursor!=="auto"&&(p=this.document.find("body"),this.storedCursor=p.css("cursor"),p.css("cursor",_.cursor),this.storedStylesheet=e("<style>*{ cursor: "+_.cursor+" !important; }</style>").appendTo(p)),_.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",_.opacity)),_.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",_.zIndex)),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(),!s)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!_.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var i,s,o,p,_=this.options,I=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<_.scrollSensitivity?this.scrollParent[0].scrollTop=I=this.scrollParent[0].scrollTop+_.scrollSpeed:t.pageY-this.overflowOffset.top<_.scrollSensitivity&&(this.scrollParent[0].scrollTop=I=this.scrollParent[0].scrollTop-_.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<_.scrollSensitivity?this.scrollParent[0].scrollLeft=I=this.scrollParent[0].scrollLeft+_.scrollSpeed:t.pageX-this.overflowOffset.left<_.scrollSensitivity&&(this.scrollParent[0].scrollLeft=I=this.scrollParent[0].scrollLeft-_.scrollSpeed)):(t.pageY-this.document.scrollTop()<_.scrollSensitivity?I=this.document.scrollTop(this.document.scrollTop()-_.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<_.scrollSensitivity&&(I=this.document.scrollTop(this.document.scrollTop()+_.scrollSpeed)),t.pageX-this.document.scrollLeft()<_.scrollSensitivity?I=this.document.scrollLeft(this.document.scrollLeft()-_.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<_.scrollSensitivity&&(I=this.document.scrollLeft(this.document.scrollLeft()+_.scrollSpeed))),I!==!1&&e.ui.ddmanager&&!_.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,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"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],o=s.item[0],p=this._intersectsWithPointer(s),!!p&&s.instance===this.currentContainer&&o!==this.currentItem[0]&&this.placeholder[p===1?"next":"prev"]()[0]!==o&&!e.contains(this.placeholder[0],o)&&(this.options.type!=="semi-dynamic"||!e.contains(this.element[0],o))){if(this.direction=p===1?"down":"up",this.options.tolerance==="pointer"||this._intersectsWithSides(s))this._rearrange(t,s);else break;this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var s=this,o=this.placeholder.offset(),p=this.options.axis,_={};(!p||p==="x")&&(_.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),(!p||p==="y")&&(_.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(_,parseInt(this.options.revert,10)||500,function(){s._clear(t)})}else this._clear(t,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.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(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var i=this._getItemsAsjQuery(t&&t.connected),s=[];return t=t||{},e(i).each(function(){var o=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);o&&s.push((t.key||o[1]+"[]")+"="+(t.key&&t.expression?o[1]:o[2]))}),!s.length&&t.key&&s.push(t.key+"="),s.join("&")},toArray:function(t){var i=this._getItemsAsjQuery(t&&t.connected),s=[];return t=t||{},i.each(function(){s.push(e(t.item||this).attr(t.attribute||"id")||"")}),s},_intersectsWith:function(t){var i=this.positionAbs.left,s=i+this.helperProportions.width,o=this.positionAbs.top,p=o+this.helperProportions.height,_=t.left,I=_+t.width,U=t.top,Q=U+t.height,ot=this.offset.click.top,vt=this.offset.click.left,xt=this.options.axis==="x"||o+ot>U&&o+ot<Q,et=this.options.axis==="y"||i+vt>_&&i+vt<I,bt=xt&&et;return this.options.tolerance==="pointer"||this.options.forcePointerForContainers||this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?bt:_<i+this.helperProportions.width/2&&s-this.helperProportions.width/2<I&&U<o+this.helperProportions.height/2&&p-this.helperProportions.height/2<Q},_intersectsWithPointer:function(t){var i,s,o=this.options.axis==="x"||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),p=this.options.axis==="y"||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),_=o&&p;return _?(i=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection(),this.floating?s==="right"||i==="down"?2:1:i&&(i==="down"?2:1)):!1},_intersectsWithSides:function(t){var i=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),o=this._getDragVerticalDirection(),p=this._getDragHorizontalDirection();return this.floating&&p?p==="right"&&s||p==="left"&&!s:o&&(o==="down"&&i||o==="up"&&!i)},_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,292 bytes, line 4
4return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var i,s,o,p,_=[],I=[],U=this._connectWith();if(U&&t)for(i=U.length-1;i>=0;i--)for(o=e(U[i],this.document[0]),s=o.length-1;s>=0;s--)p=e.data(o[s],this.widgetFullName),p&&p!==this&&!p.options.disabled&&I.push([e.isFunction(p.options.items)?p.options.items.call(p.element):e(p.options.items,p.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),p]);I.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function Q(){_.push(this)}for(i=I.length-1;i>=0;i--)I[i][0].each(Q);return e(_)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(i){for(var s=0;s<t.length;s++)if(t[s]===i.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var i,s,o,p,_,I,U,Q,ot=this.items,vt=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],xt=this._connectWith();if(xt&&this.ready)for(i=xt.length-1;i>=0;i--)for(o=e(xt[i],this.document[0]),s=o.length-1;s>=0;s--)p=e.data(o[s],this.widgetFullName),p&&p!==this&&!p.options.disabled&&(vt.push([e.isFunction(p.options.items)?p.options.items.call(p.element[0],t,{item:this.currentItem}):e(p.options.items,p.element),p]),this.containers.push(p));for(i=vt.length-1;i>=0;i--)for(_=vt[i][1],I=vt[i][0],s=0,Q=I.length;s<Q;s++)U=e(I[s]),U.data(this.widgetName+"-item",_),ot.push({item:U,instance:_,width:0,height:0,left:0,top:0})},refreshPositions:function(t){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,o,p;for(i=this.items.length-1;i>=0;i--)s=this.items[i],!(s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0])&&(o=this.options.toleranceElement?e(this.options.toleranceElement,s.item):s.item,t||(s.width=o.outerWidth(),s.height=o.outerHeight()),p=o.offset(),s.left=p.left,s.top=p.top);
vendor: 25,904 bytes, line 4
4if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)p=this.containers[i].element.offset(),this.containers[i].containerCache.left=p.left,this.containers[i].containerCache.top=p.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(t){t=t||this;var i,s=t.options;(!s.placeholder||s.placeholder.constructor===String)&&(i=s.placeholder,s.placeholder={element:function(){var o=t.currentItem[0].nodeName.toLowerCase(),p=e("<"+o+">",t.document[0]);return t._addClass(p,"ui-sortable-placeholder",i||t.currentItem[0].className)._removeClass(p,"ui-sortable-helper"),o==="tbody"?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("<tr>",t.document[0]).appendTo(p)):o==="tr"?t._createTrPlaceholder(t.currentItem,p):o==="img"&&p.attr("src",t.currentItem.attr("src")),i||p.css("visibility","hidden"),p},update:function(o,p){i&&!s.forcePlaceholderSize||(p.height()||p.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),p.width()||p.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(s.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),s.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,i){var s=this;t.children().each(function(){e("<td>&#160;</td>",s.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(t){var i,s,o,p,_,I,U,Q,ot,vt,xt=null,et=null;for(i=this.containers.length-1;i>=0;i--)if(!e.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(xt&&e.contains(this.containers[i].element[0],xt.element[0]))continue;xt=this.containers[i],et=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0);if(xt)if(this.containers.length===1)this.containers[et].containerCache.over||(this.containers[et]._trigger("over",t,this._uiHash(this)),this.containers[et].containerCache.over=1);else{for(o=1e4,p=null,ot=xt.floating||this._isFloating(this.currentItem),_=ot?"left":"top",I=ot?"width":"height",vt=ot?"pageX":"pageY",s=this.items.length-1;s>=0;s--)e.contains(this.containers[et].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(U=this.items[s].item.offset()[_],Q=!1,t[vt]-U>this.items[s][I]/2&&(Q=!0),Math.abs(t[vt]-U)<o&&(o=Math.abs(t[vt]-U),p=this.items[s],this.direction=Q?"up":"down"));if(!p&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[et]){this.currentContainer.containerCache.over||(this.containers[et]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1);return}p?this._rearrange(t,p,null,!0):this._rearrange(t,null,this.containers[et].element,!0),this._trigger("change",t,this._uiHash()),this.containers[et]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[et],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[et]._trigger("over",t,this._uiHash(this)),this.containers[et].containerCache.over=1}},_createHelper:function(t){var i=this.options,s=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t,this.currentItem])):i.helper==="clone"?this.currentItem.clone():this.currentItem;return s.parents("body").length||e(i.appendTo!=="parent"?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[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")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.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]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&e.ui.ie)&&(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"){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()}}else return{top:0,left:0}},_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,i,s,o=this.options;o.containment==="parent"&&(o.containment=this.helper[0].parentNode),(o.containment==="document"||o.containment==="window")&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,o.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(o.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(o.containment)||(t=e(o.containment)[0],i=e(o.containment).offset(),s=e(t).css("overflow")!=="hidden",this.containment=[i.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(parseInt(e(t).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseInt(e(t).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,i){i||(i=this.position);var s=t==="absolute"?1:-1,o=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,p=/(html|body)/i.test(o[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():p?0:o.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():p?0:o.scrollLeft())*s}},_generatePosition:function(t){var i,s,o=this.options,p=t.pageX,_=t.pageY,I=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,U=/(html|body)/i.test(I[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]&&(p=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(_=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(p=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(_=this.containment[3]+this.offset.click.top)),o.grid&&(i=this.originalPageY+Math.round((_-this.originalPageY)/o.grid[1])*o.grid[1],_=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-o.grid[1]:i+o.grid[1]:i,s=this.originalPageX+Math.round((p-this.originalPageX)/o.grid[0])*o.grid[0],p=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:_-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():U?0:I.scrollTop()),left:p-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():U?0:I.scrollLeft())}},_rearrange:function(t,i,s,o){s?s[0].appendChild(this.placeholder[0]):i.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?i.item[0]:i.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var p=this.counter;this._delay(function(){p===this.counter&&this.refreshPositions(!o)})},_clear:function(t,i){this.reverting=!1;var s,o=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)(this._storedCSS[s]==="auto"||this._storedCSS[s]==="static")&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!i&&o.push(function(_){this._trigger("receive",_,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!i&&o.push(function(_){this._trigger("update",_,this._uiHash())}),this!==this.currentContainer&&(i||(o.push(function(_){this._trigger("remove",_,this._uiHash())}),o.push((function(_){return function(I){_._trigger("receive",I,this._uiHash(this))}}).call(this,this.currentContainer)),o.push((function(_){return function(I){_._trigger("update",I,this._uiHash(this))}}).call(this,this.currentContainer))));function p(_,I,U){return function(Q){U._trigger(_,Q,I._uiHash(I))}}for(s=this.containers.length-1;s>=0;s--)i||o.push(p("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(o.push(p("out",this,this.containers[s])),this.containers[s].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex),this.dragging=!1,i||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),!i){for(s=0;s<o.length;s++)o[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){e.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(t){var i=t||this;return{helper:i.helper,placeholder:i.placeholder||e([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:t?t.element:null}}});var ht=e.widget("ui.accordion",{version:"1.12.1",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:"> li > :first-child, > :not(li):even",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=e(),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():e()}},_createIcons:function(){var t,i,s=this.options.icons;s&&(t=e("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+s.header),t.prependTo(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeClass(i,s.header)._addClass(i,null,s.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,i){if(t==="active"){this._activate(i);return}t==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(i)),this._super(t,i),t==="collapsible"&&!i&&this.options.active===!1&&this._activate(0),t==="icons"&&(this._destroyIcons(),i&&this._createIcons())},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(t){if(!(t.altKey||t.ctrlKey)){var i=e.ui.keyCode,s=this.headers.length,o=this.headers.index(t.target),p=!1;switch(t.keyCode){case i.RIGHT:case i.DOWN:p=this.headers[(o+1)%s];break;case i.LEFT:case i.UP:p=this.headers[(o-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(t);break;case i.HOME:p=this.headers[0];break;case i.END:p=this.headers[s-1];break}p&&(e(t.target).attr("tabIndex",-1),e(p).attr("tabIndex",0),e(p).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(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.active=e()):t.active===!1?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,i=this.panels;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"),i&&(this._off(t.not(this.headers)),this._off(i.not(this.panels)))},_refresh:function(){var t,i=this.options,s=i.heightStyle,o=this.element.parent();this.active=this._findActive(i.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 p=e(this),_=p.uniqueId().attr("id"),I=p.next(),U=I.uniqueId().attr("id");p.attr("aria-controls",U),I.attr("aria-labelledby",_)}).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(i.event),s==="fill"?(t=o.height(),this.element.siblings(":visible").each(function(){var p=e(this),_=p.css("position");_==="absolute"||_==="fixed"||(t-=p.outerHeight(!0))}),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):s==="auto"&&(t=0,this.headers.next().each(function(){var p=e(this).is(":visible");p||e(this).show(),t=Math.max(t,e(this).css("height","").height()),p||e(this).hide()}).height(t))},_activate:function(t){var i=this._findActive(t)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):e()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&e.each(t.split(" "),function(s,o){i[o]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var i,s,o=this.options,p=this.active,_=e(t.currentTarget),I=_[0]===p[0],U=I&&o.collapsible,Q=U?e():_.next(),ot=p.next(),vt={oldHeader:p,oldPanel:ot,newHeader:U?e():_,newPanel:Q};t.preventDefault(),!(I&&!o.collapsible||this._trigger("beforeActivate",t,vt)===!1)&&(o.active=U?!1:this.headers.index(_),this.active=I?e():_,this._toggle(vt),this._removeClass(p,"ui-accordion-header-active","ui-state-active"),o.icons&&(i=p.children(".ui-accordion-header-icon"),this._removeClass(i,null,o.icons.activeHeader)._addClass(i,null,o.icons.header)),I||(this._removeClass(_,"ui-accordion-header-collapsed")._addClass(_,"ui-accordion-header-active","ui-state-active"),o.icons&&(s=_.children(".ui-accordion-header-icon"),this._removeClass(s,null,o.icons.header)._addClass(s,null,o.icons.activeHeader)),this._addClass(_.next(),"ui-accordion-content-active")))},_toggle:function(t){var i=t.newPanel,s=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,t):(s.hide(),i.show(),this._toggleComplete(t)),s.attr({"aria-hidden":"true"}),s.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&s.length?s.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return parseInt(e(this).attr("tabIndex"),10)===0}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,i,s){var o,p,_,I=this,U=0,Q=t.css("box-sizing"),ot=t.length&&(!i.length||t.index()<i.index()),vt=this.options.animate||{},xt=ot&&vt.down||vt,et=function(){I._toggleComplete(s)};if(typeof xt=="number"&&(_=xt),typeof xt=="string"&&(p=xt),p=p||xt.easing||vt.easing,_=_||xt.duration||vt.duration,!i.length)return t.animate(this.showProps,_,p,et);if(!t.length)return i.animate(this.hideProps,_,p,et);o=t.show().outerHeight(),i.animate(this.hideProps,{duration:_,easing:p,step:function(bt,Mt){Mt.now=Math.round(bt)}}),t.hide().animate(this.showProps,{duration:_,easing:p,complete:et,step:function(bt,Mt){Mt.now=Math.round(bt),Mt.prop!=="height"?Q==="content-box"&&(U+=Mt.now):I.options.heightStyle!=="content"&&(Mt.now=Math.round(o-i.outerHeight()-U),U=0)}})},_toggleComplete:function(t){var i=t.oldPanel,s=i.prev();this._removeClass(i,"ui-accordion-content-active"),this._removeClass(s,"ui-accordion-header-active")._addClass(s,"ui-accordion-header-collapsed"),i.length&&(i.parent()[0].className=i.parent()[0].className),this._trigger("activate",null,t)}});var lt=e.widget("ui.menu",{version:"1.12.1",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.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()},"click .ui-menu-item":function(t){var i=e(t.target),s=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&s.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":function(t){if(!this.previousFilter){var i=e(t.target).closest(".ui-menu-item"),s=e(t.currentTarget);i[0]===s[0]&&(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,s))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,i){var s=this.active||this.element.find(this.options.items).eq(0);i||this.focus(t,s)},blur:function(t){this._delay(function(){var i=!e.contains(this.element[0],e.ui.safeActiveElement(this.document[0]));i&&this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),i=t.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(),i.children().each(function(){var s=e(this);s.data("ui-menu-submenu-caret")&&s.remove()})},_keydown:function(t){var i,s,o,p,_=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:_=!1,s=this.previousFilter||"",p=!1,o=t.keyCode>=96&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),o===s?p=!0:o=s+o,i=this._filterMenuItems(o),i=p&&i.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):i,i.length||(o=String.fromCharCode(t.keyCode),i=this._filterMenuItems(o)),i.length?(this.focus(t,i),this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}_&&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,i,s,o,p,_=this,I=this.options.icons.submenu,U=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),s=U.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var Q=e(this),ot=Q.prev(),vt=e("<span>").data("ui-menu-submenu-caret",!0);_._addClass(vt,"ui-menu-icon","ui-icon "+I),ot.attr("aria-haspopup","true").prepend(vt),Q.attr("aria-labelledby",ot.attr("id"))}),this._addClass(s,"ui-menu","ui-widget ui-widget-content ui-front"),t=U.add(this.element),i=t.find(this.options.items),i.not(".ui-menu-item").each(function(){var Q=e(this);_._isDivider(Q)&&_._addClass(Q,"ui-menu-divider","ui-widget-content")}),o=i.not(".ui-menu-item, .ui-menu-divider"),p=o.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(o,"ui-menu-item")._addClass(p,"ui-menu-item-wrapper"),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,i){if(t==="icons"){var s=this.element.find(".ui-menu-icon");this._removeClass(s,null,this.options.icons.submenu)._addClass(s,null,i.submenu)}this._super(t,i)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,i){var s,o,p;this.blur(t,t&&t.type==="focus"),this._scrollIntoView(i),this.active=i.first(),o=this.active.children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",o.attr("id")),p=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(p,null,"ui-state-active"),t&&t.type==="
4keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),s=i.children(".ui-menu"),s.length&&t&&/^mouse/.test(t.type)&&this._startOpening(s),this.activeMenu=i.parent(),this._trigger("focus",t,{item:i})},_scrollIntoView:function(t){var i,s,o,p,_,I;this._hasScroll()&&(i=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,o=t.offset().top-this.activeMenu.offset().top-i-s,p=this.activeMenu.scrollTop(),_=this.activeMenu.height(),I=t.outerHeight(),o<0?this.activeMenu.scrollTop(p+o):o+I>_&&this.activeMenu.scrollTop(p+o-_+I))},blur:function(t,i){i||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 i=e.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(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(t),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},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!e(t.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var i=this.active&&this.active.parent().closest(".ui-menu-item",this.element);i&&i.length&&(this._close(),this.focus(t,i))},expand:function(t){var i=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();i&&i.length&&(this._open(i.parent()),this._delay(function(){this.focus(t,i)}))},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},_move:function(t,i,s){var o;this.active&&(t==="first"||t==="last"?o=this.active[t==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):o=this.active[t+"All"](".ui-menu-item").eq(0)),(!o||!o.length||!this.active)&&(o=this.activeMenu.find(this.options.items)[i]()),this.focus(s,o)},nextPage:function(t){var i,s,o;if(!this.active){this.next(t);return}this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=e(this),i.offset().top-s-o<0}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))},previousPage:function(t){var i,s,o;if(!this.active){this.next(t);return}this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=e(this),i.offset().top-s+o>0}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items).first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)},_filterMenuItems:function(t){var i=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),s=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return s.test(e.trim(e(this).children(".ui-menu-item-wrapper").text()))})}});e.widget("ui.autocomplete",{version:"1.12.1",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,_create:function(){var t,i,s,o=this.element[0].nodeName.toLowerCase(),p=o==="textarea",_=o==="input";this.isMultiLine=p||!_&&this._isContentEditable(this.element),this.valueMethod=this.element[p||_?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(I){if(this.element.prop("readOnly")){t=!0,s=!0,i=!0;return}t=!1,s=!1,i=!1;var U=e.ui.keyCode;switch(I.keyCode){case U.PAGE_UP:t=!0,this._move("previousPage",I);break;case U.PAGE_DOWN:t=!0,this._move("nextPage",I);break;case U.UP:t=!0,this._keyEvent("previous",I);break;case U.DOWN:t=!0,this._keyEvent("next",I);break;case U.ENTER:this.menu.active&&(t=!0,I.preventDefault(),this.menu.select(I));break;case U.TAB:this.menu.active&&this.menu.select(I);break;case U.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(I),I.preventDefault());break;default:i=!0,this._searchTimeout(I);break}},keypress:function(I){if(t){t=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&I.preventDefault();return}if(!i){var U=e.ui.keyCode;switch(I.keyCode){case U.PAGE_UP:this._move("previousPage",I);break;case U.PAGE_DOWN:this._move("nextPage",I);break;case U.UP:this._keyEvent("previous",I);break;case U.DOWN:this._keyEvent("next",I);break}}},input:function(I){if(s){s=!1,I.preventDefault();return}this._searchTimeout(I)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 84,950 bytes, line 4
4)},blur:function(I){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(I),this._change(I)}}),this._initSource(),this.menu=e("<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(I){I.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==e.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(I,U){var Q,ot;if(this.isNewMenu&&(this.isNewMenu=!1,I.originalEvent&&/^mouse/.test(I.originalEvent.type))){this.menu.blur(),this.document.one("mousemove",function(){e(I.target).trigger(I.originalEvent)});return}ot=U.item.data("ui-autocomplete-item"),this._trigger("focus",I,{item:ot})!==!1&&I.originalEvent&&/^key/.test(I.originalEvent.type)&&this._value(ot.value),Q=U.item.attr("aria-label")||ot.value,Q&&e.trim(Q).length&&(this.liveRegion.children().hide(),e("<div>").text(Q).appendTo(this.liveRegion))},menuselect:function(I,U){var Q=U.item.data("ui-autocomplete-item"),ot=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=ot,this._delay(function(){this.previous=ot,this.selectedItem=Q})),this._trigger("select",I,{item:Q})!==!1&&this._value(Q.value),this.term=this._value(),this.close(I),this.selectedItem=Q}}),this.liveRegion=e("<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,i){this._super(t,i),t==="source"&&this._initSource(),t==="appendTo"&&this.menu.element.appendTo(this._appendTo()),t==="disabled"&&i&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var i=this.menu.element[0];return t.target===this.element[0]||t.target===i||e.contains(i,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(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,i,s=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(o,p){p(e.ui.autocomplete.filter(t,o.term))}):typeof this.options.source=="string"?(i=this.options.source,this.source=function(o,p){s.xhr&&s.xhr.abort(),s.xhr=e.ajax({url:i,data:o,dataType:"json",success:function(_){p(_)},error:function(){p([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var i=this.term===this._value(),s=this.menu.element.is(":visible"),o=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;(!i||i&&!s&&!o)&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,i){if(t=t!=null?t:this._value(),this.term=this._value(),t.length<this.options.minLength)return this.close(i);if(this._trigger("search",i)!==!1)return this._search(t)},_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 e.proxy(function(i){t===this.requestIndex&&this.__response(i),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},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:e.map(t,function(i){return typeof i=="string"?{label:i,value:i}:e.extend({},i,{label:i.label||i.value,value:i.value||i.label})})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.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,i){var s=this;e.each(i,function(o,p){s._renderItemData(t,p)})},_renderItemData:function(t,i){return this._renderItem(t,i).data("ui-autocomplete-item",i)},_renderItem:function(t,i){return e("<li>").append(e("<div>").text(i.label)).appendTo(t)},_move:function(t,i){if(!this.menu.element.is(":visible")){this.search(null,i);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](i)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,i){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,i),i.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var i=t.prop("contentEditable");return i==="inherit"?this._isContentEditable(t.parent()):i==="true"}}),e.extend(e.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var s=new RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,function(o){return s.test(o.label||o.value||o)})}}),e.widget("ui.autocomplete",e.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 i;this._superApply(arguments),!(this.options.disabled||this.cancelSearch)&&(t&&t.length?i=this.options.messages.results(t.length):i=this.options.messages.noResults,this.liveRegion.children().hide(),e("<div>").text(i).appendTo(this.liveRegion))}});var ut=e.ui.autocomplete;var pt=/ui-corner-([a-z]){2,6}/g,wt=e.widget("ui.controlgroup",{version:"1.12.1",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,i=[];e.each(this.options.items,function(s,o){var p,_={};if(o){if(s==="controlgroupLabel"){p=t.element.find(o),p.each(function(){var I=e(this);I.children(".ui-controlgroup-label-contents").length||I.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),t._addClass(p,null,"ui-widget ui-widget-content ui-state-default"),i=i.concat(p.get());return}e.fn[s]&&(t["_"+s+"Options"]?_=t["_"+s+"Options"]("middle"):_={classes:{}},t.element.find(o).each(function(){var I=e(this),U=I[s]("instance"),Q=e.widget.extend({},_);if(!(s==="button"&&I.parent(".ui-spinner").length)){U||(U=I[s]()[s]("instance")),U&&(Q.classes=t._resolveClassesValues(Q.classes,U)),I[s](Q);var ot=I[s]("widget");e.data(ot[0],"ui-controlgroup-data",U||I[s]("instance")),i.push(ot[0])}}))}}),this.childWidgets=e(e.unique(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var i=e(this),s=i.data("ui-controlgroup-data");s&&s[t]&&s[t]()})},_updateCornerClass:function(t,i){var s="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",o=this._buildSimpleOptions(i,"label").classes.label;this._removeClass(t,null,s),this._addClass(t,null,o)},_buildSimpleOptions:function(t,i){var s=this.options.direction==="vertical",o={classes:{}};return o.classes[i]={middle:"",first:"ui-corner-"+(s?"top":"left"),last:"ui-corner-"+(s?"bottom":"right"),only:"ui-corner-all"}[t],o},_spinnerOptions:function(t){var i=this._buildSimpleOptions(t,"ui-spinner");return i.classes["ui-spinner-up"]="",i.classes["ui-spinner-down"]="",i},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var i=this.options.direction==="vertical";return{width:i?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(i?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(i?"top":"left")},last:{"ui-selectmenu-button-open":i?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(i?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(t,i){var s={};return e.each(t,function(o){var p=i.options.classes[o]||"";p=e.trim(p.replace(pt,"")),s[o]=(p+" "+t[o]).replace(/\s+/g," ")}),s},_setOption:function(t,i){if(t==="direction"&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,i),t==="disabled"){this._callChildMethod(i?"disable":"enable");return}this.refresh()},refresh:function(){var t,i=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&&(e.each(["first","last"],function(s,o){var p=t[o]().data("ui-controlgroup-data");if(p&&i["_"+p.widgetName+"Options"]){var _=i["_"+p.widgetName+"Options"](t.length===1?"only":o);_.classes=i._resolveClassesValues(_.classes,p),p.element[p.widgetName](_)}else i._updateCornerClass(t[o](),o)}),this._callChildMethod("refresh"))}});e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,i,s=this,o=this._super()||{};return this._readType(),i=this.element.labels(),this.label=e(i[i.length-1]),this.label.length||e.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){s.originalLabel+=this.nodeType===3?e(this).text():this.outerHTML}),this.originalLabel&&(o.label=this.originalLabel),t=this.element[0].disabled,t!=null&&(o.disabled=t),o},_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.icon&&this._addClass(this.icon,null,"ui-state-hover")),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.type))&&e.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,i=this.element[0].name,s="input[name='"+e.ui.escapeSelector(i)+"']";return i?(this.form.length?t=e(this.form[0].elements).filter(s):t=e(s).filter(function(){return e(this).form().length===0}),t.not(this.element)):e([])},_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 i=e(this).checkboxradio("instance");i&&i._removeClass(i.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,i){if(!(t==="label"&&!i)){if(this._super(t,i),t==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",i),this.element[0].disabled=i;return}this.refresh()}},_updateIcon:function(t){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("<span>"),this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),this.type==="checkbox"?(i+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),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,i=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.label!==null&&this._updateLabel(),i!==this.options.disabled&&this._setOptions({disabled:i})}}]);var _t=e.ui.checkboxradio;e.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,i=this._super()||{};return this.isInput=this.element.is("input"),t=this.element[0].disabled,t!=null&&(i.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(i.label=this.originalLabel),i},_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===e.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,i){var s=t!=="iconPosition",o=s?this.options.iconPosition:i,p=o==="top"||o==="bottom";this.icon?s&&this._removeClass(this.icon,null,this.options.icon):(this.icon=e("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),s&&this._addClass(this.icon,null,i),this._attachIcon(o),p?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(o))},_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 i=t.showLabel===void 0?this.options.showLabel:t.showLabel,s=t.icon===void 0?this.options.icon:t.icon;!i&&!s&&(t.showLabel=!0),this._super(t)},_setOption:function(t,i){t==="icon"&&(i?this._updateIcon(t,i):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),t==="iconPosition"&&this._updateIcon(t,i),t==="showLabel"&&(this._toggleClass("ui-button-icon-only",null,!i),this._updateTooltip()),t==="label"&&(this.isInput?this.element.val(i):(this.element.html(i),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,i),t==="disabled"&&(this._toggleClass(null,"ui-state-disabled",i),this.element[0].disabled=i,i&&this.element.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()}}),e.uiBackCompat!==!1&&(e.widget("ui.button",e.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,i){if(t==="text"){this._super("showLabel",i);return}t==="showLabel"&&(this.options.text=i),t==="icon"&&(this.options.icons.primary=i),t==="icons"&&(i.primary?(this._super("icon",i.primary),this._super("iconPosition","beginning")):i.secondary&&(this._super("icon",i.secondary),this._super("iconPosition","end"))),this._superApply(arguments)}}),e.fn.button=(function(t){return function(){return!this.length||this.length&&this[0].tagName!=="INPUT"||this.length&&this[0].tagName==="INPUT"&&this.attr("type")!=="checkbox"&&this.attr("type")!=="radio"?t.apply(this,arguments):(e.ui.checkboxradio||e.error("Checkboxradio widget missing"),arguments.length===0?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}})(e.fn.button),e.fn.buttonset=function(){return e.ui.controlgroup||e.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))});var Tt=e.ui.button;e.widget("ui.dialog",{version:"1.12.1",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 i=e(this).css(t).offset().top;i<0&&e(this).css("top",t.top-i)}},resizable:!0,show:null,title:null,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&&e.fn.draggable&&this._makeDraggable(),this.options.resizable&&e.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)?e(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,i=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=i.parent.children().eq(i.index),t.length&&t[0]!==this.element[0]?t.before(this.element):i.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var i=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||e.ui.safeBlur(e.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,i){var s=!1,o=this.uiDialog.siblings(".ui-front:visible").map(function(){return+e(this).css("z-index")}).get(),p=Math.max.apply(null,o);return p>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",p+1),s=!0),s&&!i&&this._trigger("focus",t),s},open:function(){var t=this;if(this._isOpen){this._moveToTop()&&this._focusTabbable();return}this._isOpen=!0,this.opener=e(e.ui.safeActiveElement(this.document[0])),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")},_keepFocus:function(t){function i(){var s=e.ui.safeActiveElement(this.document[0]),o=this.uiDialog[0]===s||e.contains(this.uiDialog[0],s);o||this._focusTabbable()}t.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=e("<div>").hide().attr({tabIndex:-1,role:"dialog"}).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===e.ui.keyCode.ESCAPE){t.preventDefault(),this.close(t);return}if(!(t.keyCode!==e.ui.keyCode.TAB||t.isDefaultPrevented())){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),o=i.filter(":last");(t.target===o[0]||t.target===this.uiDialog[0])&&!t.shiftKey?(this._delay(function(){s.trigger("focus")}),t.preventDefault()):(t.target===s[0]||t.target===this.uiDialog[0])&&t.shiftKey&&(this._delay(function(){o.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=e("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(i){e(i.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=e("<button type='button'></button>").button({label:e("<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(i){i.preventDefault(),this.close(i)}}),t=e("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(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=e("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=e("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var t=this,i=this.options.buttons;if(this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObject(i)||e.isArray(i)&&!i.length){this._removeClass(this.uiDialog,"ui-dialog-buttons");return}e.each(i,function(s,o){var p,_;o=e.isFunction(o)?{click:o,text:s}:o,o=e.extend({type:"button"},o),p=o.click,_={icon:o.icon,iconPosition:o.iconPosition,showLabel:o.showLabel,icons:o.icons,text:o.text},delete o.click,delete o.icon,delete o.iconPosition,delete o.showLabel,delete o.icons,typeof o.text=="boolean"&&delete o.text,e("<button></button>",o).button(_).appendTo(t.uiButtonSet).on("click",function(){p.apply(t.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var t=this,i=this.options;function s(o){return{position:o.position,offset:o.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(o,p){t._addClass(e(this),"ui-dialog-dragging"),t._blockFrames(),t._trigger("dragStart",o,s(p))},drag:function(o,p){t._trigger("drag",o,s(p))},stop:function(o,p){var _=p.offset.left-t.document.scrollLeft(),I=p.offset.top-t.document.scrollTop();i.position={my:"left top",at:"left"+(_>=0?"+":"")+_+" top"+(I>=0?"+":"")+I,of:t.window},t._removeClass(e(this),"ui-dialog-dragging"),t._unblockFrames(),t._trigger("dragStop",o,s(p))}})},_makeResizable:function(){var t=this,i=this.options,s=i.resizable,o=this.uiDialog.css("position"),p=typeof s=="string"?s:"n,e,s,w,se,sw,ne,nw";function _(I){return{originalPosition:I.originalPosition,originalSize:I.originalSize,position:I.position,size:I.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:p,start:function(I,U){t._addClass(e(this),"ui-dialog-resizing"),t._blockFrames(),t._trigger("resizeStart",I,_(U))},resize:function(I,U){t._trigger("resize",I,_(U))},stop:function(I,U){var Q=t.uiDialog.offset(),ot=Q.left-t.document.scrollLeft(),vt=Q.top-t.document.scrollTop();i.height=t.uiDialog.height(),i.width=t.uiDialog.width(),i.position={my:"left top",at:"left"+(ot>=0?"+":"")+ot+" top"+(vt>=0?"+":"")+vt,of:t.window},t._removeClass(e(this),"ui-dialog-resizing"),t._unblockFrames(),t._trigger("resizeStop",I,_(U))}}).css("position",o)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=e(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),i=e.inArray(this,t);i!==-1&&t.splice(i,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 i=this,s=!1,o={};e.each(t,function(p,_){i._setOption(p,_),p in i.sizeRelatedOptions&&(s=!0),p in i.resizableRelatedOptions&&(o[p]=_)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(t,i){var s,o,p=this.uiDialog;t!=="disabled"&&(this._super(t,i),t==="appendTo"&&this.uiDialog.appendTo(this._appendTo()),t==="buttons"&&this._createButtons(),t==="closeText"&&this.uiDialogTitlebarClose.button({label:e("<a>").text(""+this.options.closeText).html()}),t==="draggable"&&(s=p.is(":data(ui-draggable)"),s&&!i&&p.draggable("destroy"),!s&&i&&this._makeDraggable()),t==="position"&&this._position(),t==="resizable"&&(o=p.is(":data(ui-resizable)"),o&&!i&&p.resizable("destroy"),o&&typeof i=="string"&&p.resizable("option","handles",i),!o&&i!==!1&&this._makeResizable()),t==="title"&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,i,s,o=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),o.minWidth>o.width&&(o.width=o.minWidth),t=this.uiDialog.css({height:"auto",width:o.width}).outerHeight(),i=Math.max(0,o.minHeight-t),s=typeof o.maxHeight=="number"?Math.max(0,o.maxHeight-t):"none",o.height==="auto"?this.element.css({minHeight:i,maxHeight:s,height:"auto"}):this.element.height(Math.max(0,o.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=e(this);return e("<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 e(t.target).closest(".ui-dialog").length?!0:!!e(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._on(this.document,{focusin:function(i){t||this._allowInteraction(i)||(i.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=e("<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._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),e.uiBackCompat!==!1&&e.widget("ui.dialog",e.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,i){t==="dialogClass"&&this.uiDialog.removeClass(this.options.dialogClass).addClass(i),this._superApply(arguments)}});var Ut=e.ui.dialog;var Xt=e.widget("ui.progressbar",{version:"1.12.1",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=e("<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?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var i=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(i),this._refreshValue()},_setOption:function(t,i){t==="max"&&(i=Math.max(this.min,i)),this._super(t,i)},_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,i=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(i.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=e("<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")}});var Jt=e.widget("ui.selectmenu",[e.ui.formResetMixin,{version:"1.12.1",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"},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=e()},_drawButton:function(){var t,i=this,s=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(o){this.button.focus(),o.preventDefault()}}),this.element.hide(),this.button=e("<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=e("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(s).appendTo(this.button),this.options.width!==!1&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){i._rendered||i._refreshMenu()})},_drawMenu:function(){var t=this;this.menu=e("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=e("<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(i,s){i.preventDefault(),t._setSelection(),t._select(s.item.data("ui-selectmenu-item"),i)},focus:function(i,s){var o=s.item.data("ui-selectmenu-item");t.focusIndex!=null&&o.index!==t.focusIndex&&(t._trigger("focus",i,{item:o}),t.isOpen||t._select(o,i)),t.focusIndex=o.index,t.button.attr("aria-activedescendant",t.menuItems.eq(o.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,i=this.element.find("option");this.menu.empty(),this._parseOptions(i),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,i.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(e.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 i=e("<span>");return this._setText(i,t.label),this._addClass(i,"ui-selectmenu-text"),i},_renderMenu:function(t,i){var s=this,o="";e.each(i,function(p,_){var I;_.optgroup!==o&&(I=e("<li>",{text:_.optgroup}),s._addClass(I,"ui-selectmenu-optgroup","ui-menu-divider"+(_.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),I.appendTo(t),o=_.optgroup),s._renderItemData(t,_)})},_renderItemData:function(t,i){return this._renderItem(t,i).data("ui-selectmenu-item",i)},_renderItem:function(t,i){var s=e("<li>"),o=e("<div>",{title:i.element.attr("title")});return i.disabled&&this._addClass(s,null,"ui-state-disabled"),this._setText(o,i.label),s.append(o).appendTo(t)},_setText:function(t,i){i?t.text(i):t.html("&#160;")},_move:function(t,i){var s,o,p=".ui-menu-item";this.isOpen?s=this.menuItems.eq(this.focusIndex).parent("li"):(s=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),p+=":not(.ui-state-disabled)"),t==="first"||t==="last"?o=s[t==="first"?"prevAll":"nextAll"](p).eq(-1):o=s[t+"All"](p).eq(0),o.length&&this.menuInstance.focus(i,o)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?(t=window.getSelection(),t.removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&(e(t.target).closest(".ui-selectmenu-menu, #"+e.ui.escapeSelector(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection(),t.rangeCount&&(this.range=t.getRangeAt(0))):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(t){var i=!0;switch(t.keyCode){case e.ui.keyCode.TAB:case e.ui.keyCode.ESCAPE:this.close(t),i=!1;break;case e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case e.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case e.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case e.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case e.ui.keyCode.LEFT:this._move("prev",t);break;case e.ui.keyCode.RIGHT:this._move("next",t);break;case e.ui.keyCode.HOME:case e.ui.keyCode.PAGE_UP:this._move("first",t);break;case e.ui.keyCode.END:case e.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),i=!1}i&&t.preventDefault()}},_selectFocusedItem:function(t){var i=this.menuItems.eq(this.focusIndex).parent("li");i.hasClass("ui-state-disabled")||this._select(i.data("ui-selectmenu-item"),t)},_select:function(t,i){var s=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",i,{item:t}),t.index!==s&&this._trigger("change",i,{item:t}),this.close(i)},_setAria:function(t){var i=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":i,"aria-activedescendant":i}),this.menu.attr("aria-activedescendant",i)},_setOption:function(t,i){if(t==="icons"){var s=this.button.find("span.ui-icon");this._removeClass(s,null,this.options.icons.button)._addClass(s,null,i.button)}this._super(t,i),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?e(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()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(t){var i=this,s=[];t.each(function(o,p){s.push(i._parseOption(e(p),o))}),this.items=s},_parseOption:function(t,i){var s=t.parent("optgroup");return{element:t,index:i,value:t.val(),label:t.text(),optgroup:s.attr("label")||"",disabled:s.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)}}]);var qt=e.widget("ui.slider",e.ui.mouse,{version:"1.12.1",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,i,s=this.options,o=this.element.find(".ui-slider-handle"),p="<span tabindex='0'></span>",_=[];for(i=s.values&&s.values.length||1,o.length>i&&(o.slice(i).remove(),o=o.slice(0,i)),t=o.length;t<i;t++)_.push(p);this.handles=o.add(e(_.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(I){e(this).data("ui-slider-handle-index",I).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]]:e.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),!this.range||!this.range.length?(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")):(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})),(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 i,s,o,p,_,I,U,Q,ot=this,vt=this.options;return vt.disabled||(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:t.pageX,y:t.pageY},s=this._normValueFromMouse(i),o=this._valueMax()-this._valueMin()+1,this.handles.each(function(xt){var et=Math.abs(s-ot.values(xt));(o>et||o===et&&(xt===ot._lastChangedValue||ot.values(xt)===vt.min))&&(o=et,p=e(this),_=xt)}),I=this._start(t,_),I===!1)?!1:(this._mouseSliding=!0,this._handleIndex=_,this._addClass(p,null,"ui-state-active"),p.trigger("focus"),U=p.offset(),Q=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=Q?{left:0,top:0}:{left:t.pageX-U.left-p.width()/2,top:t.pageY-U.top-p.height()/2-(parseInt(p.css("borderTopWidth"),10)||0)-(parseInt(p.css("borderBottomWidth"),10)||0)+(parseInt(p.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,_,s),this._animateOff=!0,!0)},_mouseStart:function(){return!0},_mouseDrag:function(t){var i={x:t.pageX,y:t.pageY},s=this._normValueFromMouse(i);return this._slide(t,this._handleIndex,s),!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 i,s,o,p,_;return this.orientation==="horizontal"?(i=this.elementSize.width,s=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(i=this.elementSize.height,s=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),o=s/i,o>1&&(o=1),o<0&&(o=0),this.orientation==="vertical"&&(o=1-o),p=this._valueMax()-this._valueMin(),_=this._valueMin()+o*p,this._trimAlignValue(_)},_uiHash:function(t,i,s){var o={handle:this.handles[t],handleIndex:t,value:i!==void 0?i:this.value()};return this._hasMultipleValues()&&(o.value=i!==void 0?i:this.values(t),o.values=s||this.values()),o},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,i){return this._trigger("start",t,this._uiHash(i))},_slide:function(t,i,s){var o,p,_=this.value(),I=this.values();this._hasMultipleValues()&&(p=this.values(i?0:1),_=this.values(i),this.options.values.length===2&&this.options.range===!0&&(s=i===0?Math.min(p,s):Math.max(p,s)),I[i]=s),s!==_&&(o=this._trigger("slide",t,this._uiHash(i,s,I)),o!==!1&&(this._hasMultipleValues()?this.values(i,s):this.value(s)))},_stop:function(t,i){this._trigger("stop",t,this._uiHash(i))},_change:function(t,i){!this._keySliding&&!this._mouseSliding&&(this._lastChangedValue=i,this._trigger("change",t,this._uiHash(i)))},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,i){var s,o,p;if(arguments.length>1){this.options.values[t]=this._trimAlignValue(i),this._refreshValue(),this._change(null,t);return}if(arguments.length)if(e.isArray(arguments[0])){for(s=this.options.values,o=arguments[0],p=0;p<s.length;p+=1)s[p]=this._trimAlignValue(o[p]),this._change(null,p);this._refreshValue()}else return this._hasMultipleValues()?this._values(t):this.value();else return this._values()},_setOption:function(t,i){var s,o=0;switch(t==="range"&&this.options.range===!0&&(i==="min"?(this.options.value=this._values(0),this.options.values=null):i==="max"&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),e.isArray(this.options.values)&&(o=this.options.values.length),this._super(t,i),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(i),this.handles.css(i==="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(),s=o-1;s>=0;s--)this._change(null,s);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;break}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t),t},_values:function(t){var i,s,o;if(arguments.length)return i=this.options.values[t],i=this._trimAlignValue(i),i;if(this._hasMultipleValues()){for(s=this.options.values.slice(),o=0;o<s.length;o+=1)s[o]=this._trimAlignValue(s[o]);return s}else return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var i=this.options.step>0?this.options.step:1,s=(t-this._valueMin())%i,o=t-s;return Math.abs(s)*2>=i&&(o+=s>0?i:-i),parseFloat(o.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,i=this._valueMin(),s=this.options.step,o=Math.round((t-i)/s)*s;t=o+i,t>this.options.max&&(t-=s),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 i=t.toString(),s=i.indexOf(".");return s===-1?0:i.length-s-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,i,s,o,p,_=this.options.range,I=this.options,U=this,Q=this._animateOff?!1:I.animate,ot={};this._hasMultipleValues()?this.handles.each(function(vt){i=(U.values(vt)-U._valueMin())/(U._valueMax()-U._valueMin())*100,ot[U.orientation==="horizontal"?"left":"bottom"]=i+"%",e(this).stop(1,1)[Q?"animate":"css"](ot,I.animate),U.options.range===!0&&(U.orientation==="horizontal"?(vt===0&&U.range.stop(1,1)[Q?"animate":"css"]({left:i+"%"},I.animate),vt===1&&U.range[Q?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:I.animate})):(vt===0&&U.range.stop(1,1)[Q?"animate":"css"]({bottom:i+"%"},I.animate),vt===1&&U.range[Q?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:I.animate}))),t=i}):(s=this.value(),o=this._valueMin(),p=this._valueMax(),i=p!==o?(s-o)/(p-o)*100:0,ot[this.orientation==="horizontal"?"left":"bottom"]=i+"%",this.handle.stop(1,1)[Q?"animate":"css"](ot,I.animate),_==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[Q?"animate":"css"]({width:i+"%"},I.animate),_==="max"&&this.orientation==="horizontal"&&this.range.stop(1,1)[Q?"animate":"css"]({width:100-i+"%"},I.animate),_==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[Q?"animate":"css"]({height:i+"%"},I.animate),_==="max"&&this.orientation==="vertical"&&this.range.stop(1,1)[Q?"animate":"css"]({height:100-i+"%"},I.animate))},_handleEvents:{keydown:function(t){var i,s,o,p,_=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),i=this._start(t,_),i===!1))return;break}switch(p=this.options.step,this._hasMultipleValues()?s=o=this.values(_):s=o=this.value(),t.keyCode){case e.ui.keyCode.HOME:o=this._valueMin();break;case e.ui.keyCode.END:o=this._valueMax();break;case e.ui.keyCode.PAGE_UP:o=this._trimAlignValue(s+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(s-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(s===this._valueMax())return;o=this._trimAlignValue(s+p);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(s===this._valueMin())return;o=this._trimAlignValue(s-p);break}this._slide(t,_,o)},keyup:function(t){var i=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),this._removeClass(e(t.target),null,"ui-state-active"))}}});function zt(t){return function(){var i=this.element.val();t.apply(this,arguments),this._refresh(),i!==this.element.val()&&this._trigger("change")}}e.widget("ui.spinner",{version:"1.12.1",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(),i=this.element;return e.each(["min","max","step"],function(s,o){var p=i.attr(o);p!=null&&p.length&&(t[o]=p)}),t},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){if(this.cancelBlur){delete this.cancelBlur;return}this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t)},mousewheel:function(t,i){if(i){if(!this.spinning&&!this._start(t))return!1;this._spin((i>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var i;i=this.element[0]===e.ui.safeActiveElement(this.document[0])?this.previous:this.element.val();function s(){var o=this.element[0]===e.ui.safeActiveElement(this.document[0]);o||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}t.preventDefault(),s.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,s.call(this)}),this._start(t)!==!1&&this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(e(t.currentTarget).hasClass("ui-state-active")){if(this._start(t)===!1)return!1;this._repeat(null,e(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(this.uiSpinner.height()*.5)&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var i=this.options,s=e.ui.keyCode;switch(t.keyCode){case s.UP:return this._repeat(null,1,t),!0;case s.DOWN:return this._repeat(null,-1,t),!0;case s.PAGE_UP:return this._repeat(null,i.page,t),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,t),!0}return!1},_start:function(t){return!this.spinning&&this._trigger("start",t)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,i,s){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,i,s)},t),this._spin(i*this.options.step,s)},_spin:function(t,i){var s=this.value()||0;this.counter||(this.counter=1),s=this._adjustValue(s+t*this._increment(this.counter)),(!this.spinning||this._trigger("spin",i,{value:s})!==!1)&&(this._value(s),this.counter++)},_increment:function(t){var i=this.options.incremental;return i?e.isFunction(i)?i(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 i=t.toString(),s=i.indexOf(".");return s===-1?0:i.length-s-1},_adjustValue:function(t){var i,s,o=this.options;return i=o.min!==null?o.min:0,s=t-i,s=Math.round(s/o.step)*o.step,t=i+s,t=parseFloat(t.toFixed(this._precision())),o.max!==null&&t>o.max?o.max:o.min!==null&&t<o.min?o.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,i){var s,o,p;if(t==="culture"||t==="numberFormat"){s=this._parse(this.element.val()),this.options[t]=i,this.element.val(this._format(s));return}(t==="max"||t==="min"||t==="step")&&typeof i=="string"&&(i=this._parse(i)),t==="icons"&&(o=this.buttons.first().find(".ui-icon"),this._removeClass(o,null,this.options.icons.up),this._addClass(o,null,i.up),p=this.buttons.last().find(".ui-icon"),this._removeClass(p,null,this.options.icons.down),this._addClass(p,null,i.down)),this._super(t,i)},_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:zt(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?!1:t===this._adjustValue(t)},_value:function(t,i){var s;t!==""&&(s=this._parse(t),s!==null&&(i||(s=this._adjustValue(s)),t=this._format(s))),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:zt(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:zt(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:zt(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:zt(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());zt(this._value).call(this,t)},widget:function(){return this.uiSpinner}}),e.uiBackCompat!==!1&&e.widget("ui.spinner",e.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>"}});var Zt=e.ui.spinner;e.widget("ui.tabs",{version:"1.12.1",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(){var t=/#.*$/;return function(i){var s,o;s=i.href.replace(t,""),o=location.href.replace(t,"");try{s=decodeURIComponent(s)}catch(p){}try{o=decodeURIComponent(o)}catch(p){}return i.hash.length>1&&s===o}})(),_create:function(){var t=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),e.isArray(i.disabled)&&(i.disabled=e.unique(i.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(s){return t.tabs.index(s)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(i.active):this.active=e(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var t=this.options.active,i=this.options.collapsible,s=location.hash.substring(1);return t===null&&(s&&this.tabs.each(function(o,p){if(e(p).attr("aria-controls")===s)return t=o,!1}),t===null&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(t===null||t===-1)&&(t=this.tabs.length?0:!1)),t!==!1&&(t=this.tabs.index(this.tabs.eq(t)),t===-1&&(t=i?!1:0)),!i&&t===!1&&this.anchors.length&&(t=0),t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var i=e(e.ui.safeActiveElement(this.document[0])).closest("li"),s=this.tabs.index(i),o=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:s++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:o=!1,s--;break;case e.ui.keyCode.END:s=this.anchors.length-1;break;case e.ui.keyCode.HOME:s=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(s);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(s===this.options.active?!1:s);return;default:return}t.preventDefault(),clearTimeout(this.activating),s=this._focusNextTab(s,o),!t.ctrlKey&&!t.metaKey&&(i.attr("aria-selected","false"),this.tabs.eq(s).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",s)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,i){var s=this.tabs.length-1;function o(){return t>s&&(t=0),t<0&&(t=s),t}for(;e.inArray(o(),this.options.disabled)!==-1;)t=i?t+1:t-1;return t},_focusNextTab:function(t,i){return t=this._findNextTab(t,i),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,i){if(t==="active"){this._activate(i);return}this._super(t,i),t==="collapsible"&&(this._toggleClass("ui-tabs-collapsible",null,i),!i&&this.options.active===!1&&this._activate(0)),t==="event"&&this._setupEvents(i),t==="heightStyle"&&this._setupHeightStyle(i)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=e.map(i.filter(".ui-state-disabled"),function(s){return i.index(s)}),this._processTabs(),t.active===!1||!this.anchors.length?(t.active=!1,this.active=e()):this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active),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,i=this.tabs,s=this.anchors,o=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(p){e(this).is(".ui-state-disabled")&&p.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),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 e("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=e(),this.anchors.each(function(p,_){var I,U,Q,ot=e(_).uniqueId().attr("id"),vt=e(_).closest("li"),xt=vt.attr("aria-controls");t._isLocal(_)?(I=_.hash,Q=I.substring(1),U=t.element.find(t._sanitizeSelector(I))):(Q=vt.attr("aria-controls")||e({}).uniqueId()[0].id,I="#"+Q,U=t.element.find(I),U.length||(U=t._createPanel(Q),U.insertAfter(t.panels[p-1]||t.tablist)),U.attr("aria-live","polite")),U.length&&(t.panels=t.panels.add(U)),xt&&vt.data("ui-tabs-aria-controls",xt),vt.attr({"aria-controls":Q,"aria-labelledby":ot}),U.attr("aria-labelledby",ot)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(s.not(this.anchors)),this._off(o.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return e("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var i,s,o;for(e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),o=0;s=this.tabs[o];o++)i=e(s),t===!0||e.inArray(o,t)!==-1?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,t===!0)},_setupEvents:function(t){var i={};t&&e.each(t.split(" "),function(s,o){i[o]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(s){s.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,s=this.element.parent();t==="fill"?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var o=e(this),p=o.css("position");p==="absolute"||p==="fixed"||(i-=o.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,i-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):t==="auto"&&(i=0,this.panels.each(function(){i=Math.max(i,e(this).height("").height())}).height(i))},_eventHandler:function(t){var i=this.options,s=this.active,o=e(t.currentTarget),p=o.closest("li"),_=p[0]===s[0],I=_&&i.collapsible,U=I?e():this._getPanelForTab(p),Q=s.length?this._getPanelForTab(s):e(),ot={oldTab:s,oldPanel:Q,newTab:I?e():p,newPanel:U};t.preventDefault(),!(p.hasClass("ui-state-disabled")||p.hasClass("ui-tabs-loading")||this.running||_&&!i.collapsible||this._trigger("beforeActivate",t,ot)===!1)&&(i.active=I?!1:this.tabs.index(p),this.active=_?e():p,this.xhr&&this.xhr.abort(),!Q.length&&!U.length&&e.error("jQuery UI Tabs: Mismatching fragment identifier."),U.length&&this.load(this.tabs.index(p),t),this._toggle(t,ot))},_toggle:function(t,i){var s=this,o=i.newPanel,p=i.oldPanel;this.running=!0;function _(){s.running=!1,s._trigger("activate",t,i)}function I(){s._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),o.length&&s.options.show?s._show(o,s.options.show,_):(o.show(),_())}p.length&&this.options.hide?this._hide(p,this.options.hide,function(){s._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),I()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),p.hide(),I()),p.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&p.length?i.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),o.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var i,s=this._findActive(t);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(t){return typeof t=="string"&&(t=this.anchors.index(this.anchors.filter("[href$='"+e.ui.escapeSelector(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(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=e(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(t){var i=this.options.disabled;i!==!1&&(t===void 0?i=!1:(t=this._getIndex(t),e.isArray(i)?i=e.map(i,function(s){return s!==t?s:null}):i=e.map(this.tabs,function(s,o){return o!==t?o:null})),this._setOptionDisabled(i))},disable:function(t){var i=this.options.disabled;if(i!==!0){if(t===void 0)i=!0;else{if(t=this._getIndex(t),e.inArray(t,i)!==-1)return;e.isArray(i)?i=e.merge([t],i).sort():i=[t]}this._setOptionDisabled(i)}},load:function(t,i){t=this._getIndex(t);var s=this,o=this.tabs.eq(t),p=o.find(".ui-tabs-anchor"),_=this._getPanelForTab(o),I={tab:o,panel:_},U=function(Q,ot){ot==="abort"&&s.panels.stop(!1,!0),s._removeClass(o,"ui-tabs-loading"),_.removeAttr("aria-busy"),Q===s.xhr&&delete s.xhr};this._isLocal(p[0])||(this.xhr=e.ajax(this._ajaxSettings(p,i,I)),this.xhr&&this.xhr.statusText!=="canceled"&&(this._addClass(o,"ui-tabs-loading"),_.attr("aria-busy","true"),this.xhr.done(function(Q,ot,vt){setTimeout(function(){_.html(Q),s._trigger("load",i,I),U(vt,ot)},1)}).fail(function(Q,ot){setTimeout(function(){U(Q,ot)},1)})))},_ajaxSettings:function(t,i,s){var o=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(p,_){return o._trigger("beforeLoad",i,e.extend({jqXHR:p,ajaxSettings:_},s))}}},_getPanelForTab:function(t){var i=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),e.uiBackCompat!==!1&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});var Gt=e.ui.tabs;e.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=e(this).attr("title")||"";return e("<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,i){var s=(t.attr("aria-describedby")||"").split(/\s+/);s.push(i),t.data("ui-tooltip-id",i).attr("aria-describedby",e.trim(s.join(" ")))},_removeDescribedBy:function(t){var i=t.data("ui-tooltip-id"),s=(t.attr("aria-describedby")||"").split(/\s+/),o=e.inArray(i,s);o!==-1&&s.splice(o,1),t.removeData("ui-tooltip-id"),s=e.trim(s.join(" ")),s?t.attr("aria-describedby",s):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=e("<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=e([])},_setOption:function(t,i){var s=this;this._super(t,i),t==="content"&&e.each(this.tooltips,function(o,p){s._updateContent(p.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var t=this;e.each(this.tooltips,function(i,s){var o=e.Event("blur");o.target=o.currentTarget=s.element[0],t.close(o,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var i=e(this);if(i.is("[title]"))return i.data("ui-tooltip-title",i.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))}),this.disabledTitles=e([])},open:function(t){var i=this,s=e(t?t.target:this.element).closest(this.options.items);!s.length||s.data("ui-tooltip-id")||(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),t&&t.type==="mouseover"&&s.parents().each(function(){var o=e(this),p;o.data("ui-tooltip-open")&&(p=e.Event("blur"),p.target=p.currentTarget=this,i.close(p,!0)),o.attr("title")&&(o.uniqueId(),i.parents[this.id]={element:this,title:o.attr("title")},o.attr("title",""))}),this._registerCloseHandlers(t,s),this._updateContent(s,t))},_updateContent:function(t,i){var s,o=this.options.content,p=this,_=i?i.type:null;if(typeof o=="string"||o.nodeType||o.jquery)return this._open(i,t,o);s=o.call(t[0],function(I){p._delay(function(){t.data("ui-tooltip-open")&&(i&&(i.type=_),this._open(i,t,I))})}),s&&this._open(i,t,s)},_open:function(t,i,s){var o,p,_,I,U=e.extend({},this.options.position);if(!s)return;if(o=this._find(i),o){o.tooltip.find(".ui-tooltip-content").html(s);return}i.is("[title]")&&(t&&t.type==="mouseover"?i.attr("title",""):i.removeAttr("title")),o=this._tooltip(i),p=o.tooltip,this._addDescribedBy(i,p.attr("id")),p.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),I=e("<div>").html(p.find(".ui-tooltip-content").html()),I.removeAttr("name").find("[name]").removeAttr("name"),I.removeAttr("id").find("[id]").removeAttr("id"),I.appendTo(this.liveRegion);function Q(ot){U.of=ot,!p.is(":hidden")&&p.position(U)}this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:Q}),Q(t)):p.position(e.extend({of:i},this.options.position)),p.hide(),this._show(p,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(_=this.delayedShow=setInterval(function(){p.is(":visible")&&(Q(U.of),clearInterval(_))},e.fx.interval)),this._trigger("open",t,{tooltip:p})},_registerCloseHandlers:function(t,i){var s={keyup:function(o){if(o.keyCode===e.ui.keyCode.ESCAPE){var p=e.Event(o);p.currentTarget=i[0],this.close(p,!0)}}};i[0]!==this.element[0]&&(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),(!t||t.type==="mouseover")&&(s.mouseleave="close"),(!t||t.type==="focusin")&&(s.focusout="close"),this._on(!0,i,s)},close:function(t){var i,s=this,o=e(t?t.currentTarget:this.element),p=this._find(o);if(!p){o.removeData("ui-tooltip-open");return}i=p.tooltip,!p.closing&&(clearInterval(this.delayedShow),o.data("ui-tooltip-title")&&!o.attr("title")&&o.attr("title",o.data("ui-tooltip-title")),this._removeDescribedBy(o),p.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(e(this))}),o.removeData("ui-tooltip-open"),this._off(o,"mouseleave focusout keyup"),o[0]!==this.element[0]&&this._off(o,"remove"),this._off(this.document,"mousemove"),t&&t.type==="mouseleave"&&e.each(this.parents,function(_,I){e(I.element).attr("title",I.title),delete s.parents[_]}),p.closing=!0,this._trigger("close",t,{tooltip:i}),p.hiding||(p.closing=!1))},_tooltip:function(t){var i=e("<div>").attr("role","tooltip"),s=e("<div>").appendTo(i),o=i.uniqueId().attr("id");return this._addClass(s,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(t)),this.tooltips[o]={element:t,tooltip:i}},_find:function(t){var i=t.data("ui-tooltip-id");return i?this.tooltips[i]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var i=t.closest(".ui-front, dialog");return i.length||(i=this.document[0].body),i},_destroy:function(){var t=this;e.each(this.tooltips,function(i,s){var o=e.Event("blur"),p=s.element;o.target=o.currentTarget=p[0],t.close(o,!0),e("#"+i).remove(),p.data("ui-tooltip-title")&&(p.attr("title")||p.attr("title",p.data("ui-tooltip-title")),p.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),e.uiBackCompat!==!1&&e.widget("ui.tooltip",e.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}});var te=e.ui.tooltip;var ie="ui-effects-",Te="ui-effects-style",ve="ui-effects-animated",Se=e;e.effects={effect:{}};(function(t,i){var s="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",o=/^([\-+])=\s*(\d+\.?\d*)/,p=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(at){return[at[1],at[2],at[3],at[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(at){return[at[1]*2.55,at[2]*2.55,at[3]*2.55,at[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(at){return[parseInt(at[1],16),parseInt(at[2],16),parseInt(at[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(at){return[parseInt(at[1]+at[1],16),parseInt(at[2]+at[2],16),parseInt(at[3]+at[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(at){return[at[1],at[2]/100,at[3]/100,at[4]]}}],_=t.Color=function(at,Ct,Rt,Nt){return new t.Color.fn.parse(at,Ct,Rt,Nt)},I={rgba:{props:{red:{idx:0,type:"byte"},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"}}}},U={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},Q=_.support={},ot=t("<p>")[0],vt,xt=t.each;ot.style.cssText="background-color:rgba(1,1,1,.5)",Q.rgba=ot.style.backgroundColor.indexOf("rgba")>-1,xt(I,function(at,Ct){Ct.cache="_"+at,Ct.props.alpha={idx:3,type:"percent",def:1}});function et(at,Ct,Rt){var Nt=U[Ct.type]||{};return at==null?Rt||!Ct.def?null:Ct.def:(at=Nt.floor?~~at:parseFloat(at),isNaN(at)?Ct.def:Nt.mod?(at+Nt.mod)%Nt.mod:0>at?0:Nt.max<at?Nt.max:at)}function bt(at){var Ct=_(),Rt=Ct._rgba=[];return at=at.toLowerCase(),xt(p,function(Nt,Lt){var oe,ye=Lt.re.exec(at),J=ye&&Lt.parse(ye),q=Lt.space||"rgba";if(J)return oe=Ct[q](J),Ct[I[q].cache]=oe[I[q].cache],Rt=Ct._rgba=oe._rgba,!1}),Rt.length?(Rt.join()==="0,0,0,0"&&t.extend(Rt,vt.transparent),Ct):vt[at]}_.fn=t.extend(_.prototype,{parse:function(at,Ct,Rt,Nt){if(at===i)return this._rgba=[null,null,null,null],this;(at.jquery||at.nodeType)&&(at=t(at).css(Ct),Ct=i);var Lt=this,oe=t.type(at),ye=this._rgba=[];if(Ct!==i&&(at=[at,Ct,Rt,Nt],oe="array"),oe==="string")return this.parse(bt(at)||vt._default);if(oe==="array")return xt(I.rgba.props,function(J,q){ye[q.idx]=et(at[q.idx],q)}),this;if(oe==="object")return at instanceof _?xt(I,function(J,q){at[q.cache]&&(Lt[q.cache]=at[q.cache].slice())}):xt(I,function(J,q){var V=q.cache;xt(q.props,function(it,L){if(!Lt[V]&&q.to){if(it==="alpha"||at[it]==null)return;Lt[V]=q.to(Lt._rgba)}Lt[V][L.idx]=et(at[it],L,!0)}),Lt[V]&&t.inArray(null,Lt[V].slice(0,3))<0&&(Lt[V][3]=1,q.from&&(Lt._rgba=q.from(Lt[V])))}),this},is:function(at){var Ct=_(at),Rt=!0,Nt=this;return xt(I,function(Lt,oe){var ye,J=Ct[oe.cache];return J&&(ye=Nt[oe.cache]||oe.to&&oe.to(Nt._rgba)||[],xt(oe.props,function(q,V){if(J[V.idx]!=null)return Rt=J[V.idx]===ye[V.idx],Rt})),Rt}),Rt},_space:function(){var at=[],Ct=this;return xt(I,function(Rt,Nt){Ct[Nt.cache]&&at.push(Rt)}),at.pop()},transition:function(at,Ct){var Rt=_(at),Nt=Rt._space(),Lt=I[Nt],oe=this.alpha()===0?_("transparent"):this,ye=oe[Lt.cache]||Lt.to(oe._rgba),J=ye.slice();return Rt=Rt[Lt.cache],xt(Lt.props,function(q,V){var it=V.idx,L=ye[it],N=Rt[it],nt=U[V.type]||{};N!==null&&(L===null?J[it]=N:(nt.mod&&(N-L>nt.mod/2?L+=nt.mod:L-N>nt.mod/2&&(L-=nt.mod)),J[it]=et((N-L)*Ct+L,V)))}),this[Nt](J)},blend:function(at){if(this._rgba[3]===1)return this;var Ct=this._rgba.slice(),Rt=Ct.pop(),Nt=_(at)._rgba;return _(t.map(Ct,function(Lt,oe){return(1-Rt)*Nt[oe]+Rt*Lt}))},toRgbaString:function(){var at="rgba(",Ct=t.map(this._rgba,function(Rt,Nt){return Rt==null?Nt>2?1:0:Rt});return Ct[3]===1&&(Ct.pop(),at="rgb("),at+Ct.join()+")"},toHslaString:function(){var at="hsla(",Ct=t.map(this.hsla(),function(Rt,Nt){return Rt==null&&(Rt=Nt>2?1:0),Nt&&Nt<3&&(Rt=Math.round(Rt*100)+"%"),Rt});return Ct[3]===1&&(Ct.pop(),at="hsl("),at+Ct.join()+")"},toHexString:function(at){var Ct=this._rgba.slice(),Rt=Ct.pop();return at&&Ct.push(~~(Rt*255)),"#"+t.map(Ct,function(Nt){return Nt=(Nt||0).toString(16),Nt.length===1?"0"+Nt:Nt}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}}),_.fn.parse.prototype=_.fn;function Mt(at,Ct,Rt){return Rt=(Rt+1)%1,Rt*6<1?at+(Ct-at)*Rt*6:Rt*2<1?Ct:Rt*3<2?at+(Ct-at)*(2/3-Rt)*6:at}I.hsla.to=function(at){if(at[0]==null||at[1]==null||at[2]==null)return[null,null,null,at[3]];var Ct=at[0]/255,Rt=at[1]/255,Nt=at[2]/255,Lt=at[3],oe=Math.max(Ct,Rt,Nt),ye=Math.min(Ct,Rt,Nt),J=oe-ye,q=oe+ye,V=q*.5,it,L;return ye===oe?it=0:Ct===oe?it=60*(Rt-Nt)/J+360:Rt===oe?it=60*(Nt-Ct)/J+120:it=60*(Ct-Rt)/J+240,J===0?L=0:V<=.5?L=J/q:L=J/(2-q),[Math.round(it)%360,L,V,Lt==null?1:Lt]},I.hsla.from=function(at){if(at[0]==null||at[1]==null||at[2]==null)return[null,null,null,at[3]];var Ct=at[0]/360,Rt=at[1],Nt=at[2],Lt=at[3],oe=Nt<=.5?Nt*(1+Rt):Nt+Rt-Nt*Rt,ye=2*Nt-oe;return[Math.round(Mt(ye,oe,Ct+1/3)*255),Math.round(Mt(ye,oe,Ct)*255),Math.round(Mt(ye,oe,Ct-1/3)*255),Lt]},xt(I,function(at,Ct){var Rt=Ct.props,Nt=Ct.cache,Lt=Ct.to,oe=Ct.from;_.fn[at]=function(ye){if(Lt&&!this[Nt]&&(this[Nt]=Lt(this._rgba)),ye===i)return this[Nt].slice();var J,q=t.type(ye),V=q==="array"||q==="object"?ye:arguments,it=this[Nt].slice();return xt(Rt,function(L,N){var nt=V[q==="object"?L:N.idx];nt==null&&(nt=it[N.idx]),it[N.idx]=et(nt,N)}),oe?(J=_(oe(it)),J[Nt]=it,J):_(it)},xt(Rt,function(ye,J){_.fn[ye]||(_.fn[ye]=function(q){var V=t.type(q),it=ye==="alph
4a"?this._hsla?"hsla":"rgba":at,L=this[it](),N=L[J.idx],nt;return V==="undefined"?N:(V==="function"&&(q=q.call(this,N),V=t.type(q)),q==null&&J.empty?this:(V==="string"&&(nt=o.exec(q),nt&&(q=N+parseFloat(nt[2])*(nt[1]==="+"?1:-1))),L[J.idx]=q,this[it](L)))})})}),_.hook=function(at){var Ct=at.split(" ");xt(Ct,function(Rt,Nt){t.cssHooks[Nt]={set:function(Lt,oe){var ye,J,q="";if(oe!=="transparent"&&(t.type(oe)!=="string"||(ye=bt(oe)))){if(oe=_(ye||oe),!Q.rgba&&oe._rgba[3]!==1){for(J=Nt==="backgroundColor"?Lt.parentNode:Lt;(q===""||q==="transparent")&&J&&J.style;)try{q=t.css(J,"backgroundColor"),J=J.parentNode}catch(V){}oe=oe.blend(q&&q!=="transparent"?q:"_default")}oe=oe.toRgbaString()}try{Lt.style[Nt]=oe}catch(V){}}},t.fx.step[Nt]=function(Lt){Lt.colorInit||(Lt.start=_(Lt.elem,Nt),Lt.end=_(Lt.end),Lt.colorInit=!0),t.cssHooks[Nt].set(Lt.elem,Lt.start.transition(Lt.end,Lt.pos))}})},_.hook(s),t.cssHooks.borderColor={expand:function(at){var Ct={};return xt(["Top","Right","Bottom","Left"],function(Rt,Nt){Ct["border"+Nt+"Color"]=at}),Ct}},vt=t.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"}})(Se),(function(){var t=["add","remove","toggle"],i={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(p,_){e.fx.step[_]=function(I){(I.end!=="none"&&!I.setAttr||I.pos===1&&!I.setAttr)&&(Se.style(I.elem,_,I.end),I.setAttr=!0)}});function s(p){var _,I,U=p.ownerDocument.defaultView?p.ownerDocument.defaultView.getComputedStyle(p,null):p.currentStyle,Q={};if(U&&U.length&&U[0]&&U[U[0]])for(I=U.length;I--;)_=U[I],typeof U[_]=="string"&&(Q[e.camelCase(_)]=U[_]);else for(_ in U)typeof U[_]=="string"&&(Q[_]=U[_]);return Q}function o(p,_){var I={},U,Q;for(U in _)Q=_[U],p[U]!==Q&&(i[U]||(e.fx.step[U]||!isNaN(parseFloat(Q)))&&(I[U]=Q));return I}e.fn.addBack||(e.fn.addBack=function(p){return this.add(p==null?this.prevObject:this.prevObject.filter(p))}),e.effects.animateClass=function(p,_,I,U){var Q=e.speed(_,I,U);return this.queue(function(){var ot=e(this),vt=ot.attr("class")||"",xt,et=Q.children?ot.find("*").addBack():ot;et=et.map(function(){var bt=e(this);return{el:bt,start:s(this)}}),xt=function(){e.each(t,function(bt,Mt){p[Mt]&&ot[Mt+"Class"](p[Mt])})},xt(),et=et.map(function(){return this.end=s(this.el[0]),this.diff=o(this.start,this.end),this}),ot.attr("class",vt),et=et.map(function(){var bt=this,Mt=e.Deferred(),at=e.extend({},Q,{queue:!1,complete:function(){Mt.resolve(bt)}});return this.el.animate(this.diff,at),Mt.promise()}),e.when.apply(e,et.get()).done(function(){xt(),e.each(arguments,function(){var bt=this.el;e.each(this.diff,function(Mt){bt.css(Mt,"")})}),Q.complete.call(ot[0])})})},e.fn.extend({addClass:(function(p){return function(_,I,U,Q){return I?e.effects.animateClass.call(this,{add:_},I,U,Q):p.apply(this,arguments)}})(e.fn.addClass),removeClass:(function(p){return function(_,I,U,Q){return arguments.length>1?e.effects.animateClass.call(this,{remove:_},I,U,Q):p.apply(this,arguments)}})(e.fn.removeClass),toggleClass:(function(p){return function(_,I,U,Q,ot){return typeof I=="boolean"||I===void 0?U?e.effects.animateClass.call(this,I?{add:_}:{remove:_},U,Q,ot):p.apply(this,arguments):e.effects.animateClass.call(this,{toggle:_},I,U,Q)}})(e.fn.toggleClass),switchClass:function(p,_,I,U,Q){return e.effects.animateClass.call(this,{add:_,remove:p},I,U,Q)}})})(),(function(){e.expr&&e.expr.filters&&e.expr.filters.animated&&(e.expr.filters.animated=(function(o){return function(p){return!!e(p).data(ve)||o(p)}})(e.expr.filters.animated)),e.uiBackCompat!==!1&&e.extend(e.effects,{save:function(o,p){for(var _=0,I=p.length;_<I;_++)p[_]!==null&&o.data(ie+p[_],o[0].style[p[_]])},restore:function(o,p){for(var _,I=0,U=p.length;I<U;I++)p[I]!==null&&(_=o.data(ie+p[I]),o.css(p[I],_))},setMode:function(o,p){return p==="toggle"&&(p=o.is(":hidden")?"show":"hide"),p}
vendor: 12,673 bytes, line 4
4,createWrapper:function(o){if(o.parent().is(".ui-effects-wrapper"))return o.parent();var p={width:o.outerWidth(!0),height:o.outerHeight(!0),float:o.css("float")},_=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),I={width:o.width(),height:o.height()},U=document.activeElement;try{U.id}catch(Q){U=document.body}return o.wrap(_),(o[0]===U||e.contains(o[0],U))&&e(U).trigger("focus"),_=o.parent(),o.css("position")==="static"?(_.css({position:"relative"}),o.css({position:"relative"})):(e.extend(p,{position:o.css("position"),zIndex:o.css("z-index")}),e.each(["top","left","bottom","right"],function(Q,ot){p[ot]=o.css(ot),isNaN(parseInt(p[ot],10))&&(p[ot]="auto")}),o.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),o.css(I),_.css(p).show()},removeWrapper:function(o){var p=document.activeElement;return o.parent().is(".ui-effects-wrapper")&&(o.parent().replaceWith(o),(o[0]===p||e.contains(o[0],p))&&e(p).trigger("focus")),o}}),e.extend(e.effects,{version:"1.12.1",define:function(o,p,_){return _||(_=p,p="effect"),e.effects.effect[o]=_,e.effects.effect[o].mode=p,_},scaledDimensions:function(o,p,_){if(p===0)return{height:0,width:0,outerHeight:0,outerWidth:0};var I=_!=="horizontal"?(p||100)/100:1,U=_!=="vertical"?(p||100)/100:1;return{height:o.height()*U,width:o.width()*I,outerHeight:o.outerHeight()*U,outerWidth:o.outerWidth()*I}},clipToBox:function(o){return{width:o.clip.right-o.clip.left,height:o.clip.bottom-o.clip.top,left:o.clip.left,top:o.clip.top}},unshift:function(o,p,_){var I=o.queue();p>1&&I.splice.apply(I,[1,0].concat(I.splice(p,_))),o.dequeue()},saveStyle:function(o){o.data(Te,o[0].style.cssText)},restoreStyle:function(o){o[0].style.cssText=o.data(Te)||"",o.removeData(Te)},mode:function(o,p){var _=o.is(":hidden");return p==="toggle"&&(p=_?"show":"hide"),(_?p==="hide":p==="show")&&(p="none"),p},getBaseline:function(o,p){var _,I;switch(o[0]){case"top":_=0;break;case"middle":_=.5;break;case"bottom":_=1;break;default:_=o[0]/p.height}switch(o[1]){case"left":I=0;break;case"center":I=.5;break;case"right":I=1;break;default:I=o[1]/p.width}return{x:I,y:_}},createPlaceholder:function(o){var p,_=o.css("position"),I=o.position();return o.css({marginTop:o.css("marginTop"),marginBottom:o.css("marginBottom"),marginLeft:o.css("marginLeft"),marginRight:o.css("marginRight")}).outerWidth(o.outerWidth()).outerHeight(o.outerHeight()),/^(static|relative)/.test(_)&&(_="absolute",p=e("<"+o[0].nodeName+">").insertAfter(o).css({display:/^(inline|ruby)/.test(o.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:o.css("marginTop"),marginBottom:o.css("marginBottom"),marginLeft:o.css("marginLeft"),marginRight:o.css("marginRight"),float:o.css("float")}).outerWidth(o.outerWidth()).outerHeight(o.outerHeight()).addClass("ui-effects-placeholder"),o.data(ie+"placeholder",p)),o.css({position:_,left:I.left,top:I.top}),p},removePlaceholder:function(o){var p=ie+"placeholder",_=o.data(p);_&&(_.remove(),o.removeData(p))},cleanUp:function(o){e.effects.restoreStyle(o),e.effects.removePlaceholder(o)},setTransition:function(o,p,_,I){return I=I||{},e.each(p,function(U,Q){var ot=o.cssUnit(Q);ot[0]>0&&(I[Q]=ot[0]*_+ot[1])}),I}});function t(o,p,_,I){return e.isPlainObject(o)&&(p=o,o=o.effect),o={effect:o},p==null&&(p={}),e.isFunction(p)&&(I=p,_=null,p={}),(typeof p=="number"||e.fx.speeds[p])&&(I=_,_=p,p={}),e.isFunction(_)&&(I=_,_=null),p&&e.extend(o,p),_=_||p.duration,o.duration=e.fx.off?0:typeof _=="number"?_:_ in e.fx.speeds?e.fx.speeds[_]:e.fx.speeds._default,o.complete=I||p.complete,o}function i(o){return!!(!o||typeof o=="number"||e.fx.speeds[o]||typeof o=="string"&&!e.effects.effect[o]||e.isFunction(o)||typeof o=="object"&&!o.effect)}e.fn.extend({effect:function(){var o=t.apply(this,arguments),p=e.effects.effect[o.effect],_=p.mode,I=o.queue,U=I||"fx",Q=o.complete,ot=o.mode,vt=[],xt=function(bt){var Mt=e(this),at=e.effects.mode(Mt,ot)||_;Mt.data(ve,!0),vt.push(at),_&&(at==="show"||at===_&&at==="hide")&&Mt.show(),(!_||at!=="none")&&e.effects.saveStyle(Mt),e.isFunction(bt)&&bt()};if(e.fx.off||!p)return ot?this[ot](o.duration,Q):this.each(function(){Q&&Q.call(this)});function et(bt){var Mt=e(this);function at(){Mt.removeData(ve),e.effects.cleanUp(Mt),o.mode==="hide"&&Mt.hide(),Ct()}function Ct(){e.isFunction(Q)&&Q.call(Mt[0]),e.isFunction(bt)&&bt()}o.mode=vt.shift(),e.uiBackCompat!==!1&&!_?(Mt.is(":hidden")?ot==="hide":ot==="show")?(Mt[ot](),Ct()):p.call(Mt[0],o,Ct):o.mode==="none"?(Mt[ot](),Ct()):p.call(Mt[0],o,at)}return I===!1?this.each(xt).each(et):this.queue(U,xt).queue(U,et)},show:(function(o){return function(p){if(i(p))return o.apply(this,arguments);var _=t.apply(this,arguments);return _.mode="show",this.effect.call(this,_)}})(e.fn.show),hide:(function(o){return function(p){if(i(p))return o.apply(this,arguments);var _=t.apply(this,arguments);return _.mode="hide",this.effect.call(this,_)}})(e.fn.hide),toggle:(function(o){return function(p){if(i(p)||typeof p=="boolean")return o.apply(this,arguments);var _=t.apply(this,arguments);return _.mode="toggle",this.effect.call(this,_)}})(e.fn.toggle),cssUnit:function(o){var p=this.css(o),_=[];return e.each(["em","px","%","pt"],function(I,U){p.indexOf(U)>0&&(_=[parseFloat(p),U])}),_},cssClip:function(o){return o?this.css("clip","rect("+o.top+"px "+o.right+"px "+o.bottom+"px "+o.left+"px)"):s(this.css("clip"),this)},transfer:function(o,p){var _=e(this),I=e(o.to),U=I.css("position")==="fixed",Q=e("body"),ot=U?Q.scrollTop():0,vt=U?Q.scrollLeft():0,xt=I.offset(),et={top:xt.top-ot,left:xt.left-vt,height:I.innerHeight(),width:I.innerWidth()},bt=_.offset(),Mt=e("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(o.className).css({top:bt.top-ot,left:bt.left-vt,height:_.innerHeight(),width:_.innerWidth(),position:U?"fixed":"absolute"}).animate(et,o.duration,o.easing,function(){Mt.remove(),e.isFunction(p)&&p()})}});function s(o,p){var _=p.outerWidth(),I=p.outerHeight(),U=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,Q=U.exec(o)||["",0,_,I,0];return{top:parseFloat(Q[1])||0,right:Q[2]==="auto"?_:parseFloat(Q[2]),bottom:Q[3]==="auto"?I:parseFloat(Q[3]),left:parseFloat(Q[4])||0}}e.fx.step.clip=function(o){o.clipInit||(o.start=e(o.elem).cssClip(),typeof o.end=="string"&&(o.end=s(o.end,o.elem)),o.clipInit=!0),e(o.elem).cssClip({top:o.pos*(o.end.top-o.start.top)+o.start.top,right:o.pos*(o.end.right-o.start.right)+o.start.right,bottom:o.pos*(o.end.bottom-o.start.bottom)+o.start.bottom,left:o.pos*(o.end.left-o.start.left)+o.start.left})}})(),(function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(i,s){t[s]=function(o){return Math.pow(o,i+2)}}),e.extend(t,{Sine:function(i){return 1-Math.cos(i*Math.PI/2)},Circ:function(i){return 1-Math.sqrt(1-i*i)},Elastic:function(i){return i===0||i===1?i:-Math.pow(2,8*(i-1))*Math.sin(((i-1)*80-7.5)*Math.PI/15)},Back:function(i){return i*i*(3*i-2)},Bounce:function(i){for(var s,o=4;i<((s=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((s*3-2)/22-i,2)}}),e.each(t,function(i,s){e.easing["easeIn"+i]=s,e.easing["easeOut"+i]=function(o){return 1-s(1-o)},e.easing["easeInOut"+i]=function(o){return o<.5?s(o*2)/2:1-s(o*-2+2)/2}})})();var Me=e.effects;var ne=e.effects.define("blind","hide",function(t,i){var s={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=e(this),p=t.direction||"up",_=o.cssClip(),I={clip:e.extend({},_)},U=e.effects.createPlaceholder(o);I.clip[s[p][0]]=I.clip[s[p][1]],t.mode==="show"&&(o.cssClip(I.clip),U&&U.css(e.effects.clipToBox(I)),I.clip=_),U&&U.animate(e.effects.clipToBox(I),t.duration,t.easing),o.animate(I,{queue:!1,duration:t.duration,easing:t.easing,complete:i})});var le=e.effects.define("bounce",function(t,i){var s,o,p,_=e(this),I=t.mode,U=I==="hide",Q=I==="show",ot=t.direction||"up",vt=t.distance,xt=t.times||5,et=xt*2+(Q||U?1:0),bt=t.duration/et,Mt=t.easing,at=ot==="up"||ot==="down"?"top":"left",Ct=ot==="up"||ot==="left",Rt=0,Nt=_.queue().length;for(e.effects.createPlaceholder(_),p=_.css(at),vt||(vt=_[at==="top"?"outerHeight":"outerWidth"]()/3),Q&&(o={opacity:1},o[at]=p,_.css("opacity",0).css(at,Ct?-vt*2:vt*2).animate(o,bt,Mt)),U&&(vt=vt/Math.pow(2,xt-1)),o={},o[at]=p;Rt<xt;Rt++)s={},s[at]=(Ct?"-=":"+=")+vt,_.animate(s,bt,Mt).animate(o,bt,Mt),vt=U?vt*2:vt/2;U&&(s={opacity:0},s[at]=(Ct?"-=":"+=")+vt,_.animate(s,bt,Mt)),_.queue(i),e.effects.unshift(_,Nt,et+1)});var ce=e.effects.define("clip","hide",function(t,i){var s,o={},p=e(this),_=t.direction||"vertical",I=_==="both",U=I||_==="horizontal",Q=I||_==="vertical";s=p.cssClip(),o.clip={top:Q?(s.bottom-s.top)/2:s.top,right:U?(s.right-s.left)/2:s.right,bottom:Q?(s.bottom-s.top)/2:s.bottom,left:U?(s.right-s.left)/2:s.left},e.effects.createPlaceholder(p),t.mode==="show"&&(p.cssClip(o.clip),o.clip=s),p.animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:i})});var fe=e.effects.define("drop","hide",function(t,i){var s,o=e(this),p=t.mode,_=p==="show",I=t.direction||"left",U=I==="up"||I==="down"?"top":"left",Q=I==="up"||I==="left"?"-=":"+=",ot=Q==="+="?"-=":"+=",vt={opacity:0};e.effects.createPlaceholder(o),s=t.distance||o[U==="top"?"outerHeight":"outerWidth"](!0)/2,vt[U]=Q+s,_&&(o.css(vt),vt[U]=ot+s,vt.opacity=1),o.animate(vt,{queue:!1,duration:t.duration,easing:t.easing,complete:i})});var he=e.effects.define("explode","hide",function(t,i){var s,o,p,_,I,U,Q=t.pieces?Math.round(Math.sqrt(t.pieces)):3,ot=Q,vt=e(this),xt=t.mode,et=xt==="show",bt=vt.show().css("visibility","hidden").offset(),Mt=Math.ceil(vt.outerWidth()/ot),at=Math.ceil(vt.outerHeight()/Q),Ct=[];function Rt(){Ct.push(this),Ct.length===Q*ot&&Nt()}for(s=0;s<Q;s++)for(_=bt.top+s*at,U=s-(Q-1)/2,o=0;o<ot;o++)p=bt.left+o*Mt,I=o-(ot-1)/2,vt.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*Mt,top:-s*at}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:Mt,height:at,left:p+(et?I*Mt:0),top:_+(et?U*at:0),opacity:et?0:1}).animate({left:p+(et?0:I*Mt),top:_+(et?0:U*at),opacity:et?1:0},t.duration||500,t.easing,Rt);function Nt(){vt.css({visibility:"visible"}),e(Ct).remove(),i()}});var _e=e.effects.define("fade","toggle",function(t,i){var s=t.mode==="show";e(this).css("opacity",s?0:1).animate({opacity:s?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:i})});var ee=e.effects.define("fold","hide",function(t,i){var s=e(this),o=t.mode,p=o==="show",_=o==="hide",I=t.size||15,U=/([0-9]+)%/.exec(I),Q=!!t.horizFirst,ot=Q?["right","bottom"]:["bottom","right"],vt=t.duration/2,xt=e.effects.createPlaceholder(s),et=s.cssClip(),bt={clip:e.extend({},et)},Mt={clip:e.extend({},et)},at=[et[ot[0]],et[ot[1]]],Ct=s.queue().length;U&&(I=parseInt(U[1],10)/100*at[_?0:1]),bt.clip[ot[0]]=I,Mt.clip[ot[0]]=I,Mt.clip[ot[1]]=0,p&&(s.cssClip(Mt.clip),xt&&xt.css(e.effects.clipToBox(Mt)),Mt.clip=et),s.queue(function(Rt){xt&&xt.animate(e.effects.clipToBox(bt),vt,t.easing).animate(e.effects.clipToBox(Mt),vt,t.easing),Rt()}).animate(bt,vt,t.easing).animate(Mt,vt,t.easing).queue(i),e.effects.unshift(s,Ct,4)});var jt=e.effects.define("highlight","show",function(t,i){var s=e(this),o={backgroundColor:s.css("backgroundColor")};t.mode==="hide"&&(o.opacity=0),e.effects.saveStyle(s),s.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:i})});var se=e.effects.define("size",function(t,i){var s,o,p,_=e(this),I=["fontSize"],U=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],Q=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],ot=t.mode,vt=ot!=="effect",xt=t.scale||"both",et=t.origin||["middle","center"],bt=_.css("position"),Mt=_.position(),at=e.effects.scaledDimensions(_),Ct=t.from||at,Rt=t.to||e.effects.scaledDimensions(_,0);e.effects.createPlaceholder(_),ot==="show"&&(p=Ct,Ct=Rt,Rt=p),o={from:{y:Ct.height/at.height,x:Ct.width/at.width},to:{y:Rt.height/at.height,x:Rt.width/at.width}},(xt==="box"||xt==="both")&&(o.from.y!==o.to.y&&(Ct=e.effects.setTransition(_,U,o.from.y,Ct),Rt=e.effects.setTransition(_,U,o.to.y,Rt)),o.from.x!==o.to.x&&(Ct=e.effects.setTransition(_,Q,o.from.x,Ct),Rt=e.effects.setTransition(_,Q,o.to.x,Rt))),(xt==="content"||xt==="both")&&o.from.y!==o.to.y&&(Ct=e.effects.setTransition(_,I,o.from.y,Ct),Rt=e.effects.setTransition(_,I,o.to.y,Rt)),et&&(s=e.effects.getBaseline(et,at),Ct.top=(at.outerHeight-Ct.outerHeight)*s.y+Mt.top,Ct.left=(at.outerWidth-Ct.outerWidth)*s.x+Mt.left,Rt.to
4p=(at.outerHeight-Rt.outerHeight)*s.y+Mt.top,Rt.left=(at.outerWidth-Rt.outerWidth)*s.x+Mt.left),_.css(Ct),(xt==="content"||xt==="both")&&(U=U.concat(["marginTop","marginBottom"]).concat(I),Q=Q.concat(["marginLeft","marginRight"]),_.find("*[width]").each(function(){var Nt=e(this),Lt=e.effects.scaledDimensions(Nt),oe={height:Lt.height*o.from.y,width:Lt.width*o.from.x,outerHeight:Lt.outerHeight*o.from.y,outerWidth:Lt.outerWidth*o.from.x},ye={height:Lt.height*o.to.y,width:Lt.width*o.to.x,outerHeight:Lt.height*o.to.y,outerWidth:Lt.width*o.to.x};o.from.y!==o.to.y&&(oe=e.effects.setTransition(Nt,U,o.from.y,oe),ye=e.effects.setTransition(Nt,U,o.to.y,ye)),o.from.x!==o.to.x&&(oe=e.effects.setTransition(Nt,Q,o.from.x,oe),ye=e.effects.setTransition(Nt,Q,o.to.x,ye)),vt&&e.effects.saveStyle(Nt),Nt.css(oe),Nt.animate(ye,t.duration,t.easing,function(){vt&&e.effects.restoreStyle(Nt)})})),_.animate(Rt,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var Nt=_.offset();Rt.opacity===0&&_.css("opacity",Ct.opacity),vt||(_.css("position",bt==="static"?"relative":bt).offset(Nt),e.effects.saveStyle(_)),i()}})});var me=e.effects.define("scale",function(t,i){var s=e(this),o=t.mode,p=parseInt(t.percent,10)||(parseInt(t.percent,10)===0||o!=="effect"?0:100),_=e.extend(!0,{from:e.effects.scaledDimensions(s),to:e.effects.scaledDimensions(s,p,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(_.from.opacity=1,_.to.opacity=0),e.effects.effect.size.call(this,_,i)});var Fe=e.effects.define("puff","hide",function(t,i){var s=e.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});e.effects.effect.scale.call(this,s,i)});var re=e.effects.define("pulsate","show",function(t,i){var s=e(this),o=t.mode,p=o==="show",_=o==="hide",I=p||_,U=(t.times||5)*2+(I?1:0),Q=t.duration/U,ot=0,vt=1,xt=s.queue().length;for((p||!s.is(":visible"))&&(s.css("opacity",0).show(),ot=1);vt<U;vt++)s.animate({opacity:ot},Q,t.easing),ot=1-ot;s.animate({opacity:ot},Q,t.easing),s.queue(i),e.effects.unshift(s,xt,U+1)});var We=e.effects.define("shake",function(t,i){var s=1,o=e(this),p=t.direction||"left",_=t.distance||20,I=t.times||3,U=I*2+1,Q=Math.round(t.duration/U),ot=p==="up"||p==="down"?"top":"left",vt=p==="up"||p==="left",xt={},et={},bt={},Mt=o.queue().length;for(e.effects.createPlaceholder(o),xt[ot]=(vt?"-=":"+=")+_,et[ot]=(vt?"+=":"-=")+_*2,bt[ot]=(vt?"-=":"+=")+_*2,o.animate(xt,Q,t.easing);s<I;s++)o.animate(et,Q,t.easing).animate(bt,Q,t.easing);o.animate(et,Q,t.easing).animate(xt,Q/2,t.easing).queue(i),e.effects.unshift(o,Mt,U+1)});var $e=e.effects.define("slide","show",function(t,i){var s,o,p=e(this),_={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},I=t.mode,U=t.direction||"left",Q=U==="up"||U==="down"?"top":"left",ot=U==="up"||U==="left",vt=t.distance||p[Q==="top"?"outerHeight":"outerWidth"](!0),xt={};e.effects.createPlaceholder(p),s=p.cssClip(),o=p.position()[Q],xt[Q]=(ot?-1:1)*vt+o,xt.clip=p.cssClip(),xt.clip[_[U][1]]=xt.clip[_[U][0]],I==="show"&&(p.cssClip(xt.clip),p.css(Q,xt[Q]),xt.clip=s,xt[Q]=o),p.animate(xt,{queue:!1,duration:t.duration,easing:t.easing,complete:i})});var Me;e.uiBackCompat!==!1&&(Me=e.effects.define("transfer",function(t,i){e(this).transfer(t,i)}));var De=Me});(function(e){typeof define=="function"&&define.amd?define(["jquery"],e):e(typeof exports=="object"?require("jquery"):jQuery)})(function(e,W){function M(){return new Date(Date.UTC.apply(Date,arguments))}function mt(){var r=new Date;return M(r.getFullYear(),r.getMonth(),r.getDate())}function w(r,c){return r.getUTCFullYear()===c.getUTCFullYear()&&r.getUTCMonth()===c.getUTCMonth()&&r.getUTCDate()===c.getUTCDate()}function S(r,c){return function(){return c!==W&&e.fn.datepicker.deprecated(c),this[r].apply(this,arguments)}}function a(r){return r&&!isNaN(r.getTime())}var b=(function(){var r={get:function(c){return this.slice(c)[0]},contains:function(c){for(var T=c&&c.valueOf(),k=0,l=this.length;k<l;k++)if(0<=this[k].valueOf()-T&&this[k].valueOf()-T<864e5)return k;return-1},remove:function(c){this.splice(c,1)},replace:function(c){c&&(e.isArray(c)||(c=[c]),this.clear(),this.push.apply(this,c))},clear:function(){this.length=0},copy:function(){var c=new b;return c.replace(this),c}};return function(){var c=[];return c.push.apply(c,arguments),e.extend(c,r),c}})(),x=function(r,c){e.data(r,"datepicker",this),this._process_options(c),this.dates=new b,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=e(r),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1,this.component&&this.component.length===0&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=e(u.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(T,k){return Number(k)+1}
4),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};x.prototype={constructor:x,_resolveViewName:function(r){return e.each(u.viewModes,function(c,T){if(r===c||e.inArray(r,T.names)!==-1)return r=c,!1}),r},_resolveDaysOfWeek:function(r){return e.isArray(r)||(r=r.split(/[,\s]*/)),e.map(r,Number)},_check_template:function(r){try{if(r===W||r==="")return!1;if((r.match(/[<>]/g)||[]).length<=0)return!0;var c=e(r);return c.length>0}catch(T){return!1}},_process_options:function(r){this._o=e.extend({},this._o,r);var c=this.o=e.extend({},this._o),T=c.language;A[T]||(T=T.split("-")[0],A[T]||(T=g.language)),c.language=T,c.startView=this._resolveViewName(c.startView),c.minViewMode=this._resolveViewName(c.minViewMode),c.maxViewMode=this._resolveViewName(c.maxViewMode),c.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,c.startView)),c.multidate!==!0&&(c.multidate=Number(c.multidate)||!1,c.multidate!==!1&&(c.multidate=Math.max(0,c.multidate))),c.multidateSeparator=String(c.multidateSeparator),c.weekStart%=7,c.weekEnd=(c.weekStart+6)%7;var k=u.parseFormat(c.format);c.startDate!==-1/0&&(c.startDate?c.startDate instanceof Date?c.startDate=this._local_to_utc(this._zero_time(c.startDate)):c.startDate=u.parseDate(c.startDate,k,c.language,c.assumeNearbyYear):c.startDate=-1/0),c.endDate!==1/0&&(c.endDate?c.endDate instanceof Date?c.endDate=this._local_to_utc(this._zero_time(c.endDate)):c.endDate=u.parseDate(c.endDate,k,c.language,c.assumeNearbyYear):c.endDate=1/0),c.daysOfWeekDisabled=this._resolveDaysOfWeek(c.daysOfWeekDisabled||[]),c.daysOfWeekHighlighted=this._resolveDaysOfWeek(c.daysOfWeekHighlighted||[]),c.datesDisabled=c.datesDisabled||[],e.isArray(c.datesDisabled)||(c.datesDisabled=c.datesDisabled.split(",")),c.datesDisabled=e.map(c.datesDisabled,function(j){return u.parseDate(j,k,c.language,c.assumeNearbyYear)});var l=String(c.orientation).toLowerCase().split(/\s+/g),R=c.orientation.toLowerCase();if(l=e.grep(l,function(j){return/^auto|left|right|top|bottom$/.test(j)}),c.orientation={x:"auto",y:"auto"},!(!R||R==="auto"))if(l.length===1)switch(l[0]){case"top":case"bottom":c.orientation.y=l[0];break;case"left":case"right":c.orientation.x=l[0];break}else R=e.grep(l,function(j){return/^left|right$/.test(j)}),c.orientation.x=R[0]||"auto",R=e.grep(l,function(j){return/^top|bottom$/.test(j)}),c.orientation.y=R[0]||"auto";if(c.defaultViewDate instanceof Date||typeof c.defaultViewDate=="string")c.defaultViewDate=u.parseDate(c.defaultViewDate,k,c.language,c.assumeNearbyYear);else if(c.defaultViewDate){var F=c.defaultViewDate.year||new Date().getFullYear(),Y=c.defaultViewDate.month||0,G=c.defaultViewDate.day||1;c.defaultViewDate=M(F,Y,G)}else c.defaultViewDate=mt()},_events:[],_secondaryEvents:[],_applyEvents:function(r){for(var c=0,T,k,l;c<r.length;c++)T=r[c][0],r[c].length===2?(k=W,l=r[c][1]):r[c].length===3&&(k=r[c][1],l=r[c][2]),T.on(l,k)},_unapplyEvents:function(r){for(var c=0,T,k,l;c<r.length;c++)T=r[c][0],r[c].length===2?(l=W,k=r[c][1]):r[c].length===3&&(l=r[c][1],k=r[c][2]),T.off(k,l)},_buildEvents:function(){var r={keyup:e.proxy(function(c){e.inArray(c.keyCode,[27,37,39,38,40,32,13,9])===-1&&this.update()},this),keydown:e.proxy(this.keydown,this),paste:e.proxy(this.paste,this)};this.o.showOnFocus===!0&&(r.focus=e.proxy(this.show,this)),this.isInput?this._events=[[this.element,r]]:this.component&&this.inputField.length?this._events=[[this.inputField,r],[this.component,{click:e.proxy(this.show,this)}]]:this._events=[[this.element,{click:e.proxy(this.show,this),keydown:e.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:e.proxy(function(c){this._focused_from=c.target},this)}],[this.element,{blur:e.proxy(function(c){this._focused_from=c.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":e.proxy(function(c){this.update(c.date)},this)}]),this._secondaryEvents=[[this.picker,{click:e.proxy(this.click,this)}],[this.picker,".prev, .next",{click:e.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:e.proxy(this.dayCellClick,this)}],[e(window),{resize:e.proxy(this.place,this)}],[e(document),{"mousedown touchstart":e.proxy(function(c){this.element.is(c.target)||this.element.find(c.target).length||this.picker.is(c.target)||this.picker.find(c.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(r,c){var T=c||this.dates.get(-1),k=this._utc_to_local(T);this.element.trigger({type:r,date:k,viewMode:this.viewMode,dates:e.map(this.dates,this._utc_to_local),format:e.proxy(function(l,R){arguments.length===0?(l=this.dates.length-1,R=this.o.format):typeof l=="string"&&(R=l,l=this.dates.length-1),R=R||this.o.format;var F=this.dates.get(l);return u.formatDate(F,R,this.o.language)},this)})},show:function(){if(!(this.inputField.prop("disabled")||this.inputField.prop("readonly")&&this.o.enableOnReadonly===!1))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&e(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(r){var c;if(r.originalEvent.clipboardData&&r.originalEvent.clipboardData.types&&e.inArray("text/plain",r.originalEvent.clipboardData.types)!==-1)c=r.originalEvent.clipboardData.getData("text/plain");else if(window.clipboardData)c=window.clipboardData.getData("Text");else return;this.setDate(c),this.update(),r.preventDefault()},_utc_to_local:function(r){if(!r)return r;var c=new Date(r.getTime()+r.getTimezoneOffset()*6e4);return c.getTimezoneOffset()!==r.getTimezoneOffset()&&(c=new Date(r.getTime()+c.getTimezoneOffset()*6e4)),c},_local_to_utc:function(r){return r&&new Date(r.getTime()-r.getTimezoneOffset()*6e4)},_zero_time:function(r){return r&&new Date(r.getFullYear(),r.getMonth(),r.getDate())},_zero_utc_time:function(r){return r&&M(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate())},getDates:function(){return e.map(this.dates,this._utc_to_local)},getUTCDates:function(){return e.map(this.dates,function(r){return new Date(r)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var r=this.dates.get(-1);return r!==W?new Date(r):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var r=e.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,r),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var r=e.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,e.map(r,this._utc_to_local)),this},setDate:S("setDates"),setUTCDate:S("setUTCDates"),remove:S("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var r=this.getFormattedDate();return this.inputField.val(r),this},getFormattedDate:function(r){r===W&&(r=this.o.format);var c=this.o.language;return e.map(this.dates,function(T){return u.formatDate(T,r,c)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(r){return this._process_options({startDate:r}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(r){return this._process_options({endDate:r}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(r){return this._process_options({daysOfWeekDisabled:r}),this.update(),this},setDaysOfWeekHighlighted:function(r){return this._process_options({daysOfWeekHighlighted:r}),this.update(),this},setDatesDisabled:function(r){return this._process_options({datesDisabled:r}),this.update(),this},place:function(){if(this.isInline)return this;var r=this.picker.outerWidth(),c=this.picker.outerHeight(),T=10,k=e(this.o.container),l=k.width(),R=this.o.container==="body"?e(document).scrollTop():k.scrollTop(),F=k.offset(),Y=[0];this.element.parents().each(function(){var _t=e(this).css("z-index");_t!=="auto"&&Number(_t)!==0&&Y.push(Number(_t))});var G=Math.max.apply(Math,Y)+this.o.zIndexOffset,j=this.component?this.component.parent().offset():this.element.offset(),Z=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),H=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),ht=j.left-F.left,lt=j.top-F.top;this.o.container!=="body"&&(lt+=R),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),this.o.orientation.x!=="auto"?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),this.o.orientation.x==="right"&&(ht-=r-H)):j.left<0?(this.picker.addClass("datepicker-orient-left"),ht-=j.left-T):ht+r>l?(this.picker.addClass("datepicker-orient-right"),ht+=H-r):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var ut=this.o.orientation.y,pt;if(ut==="auto"&&(pt=-R+lt-c,ut=pt<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+ut),ut==="top"?lt-=c+parseInt(this.picker.css("padding-top")):lt+=Z,this.o.rtl){var wt=l-(
4ht+H);this.picker.css({top:lt,right:wt,zIndex:G})}else this.picker.css({top:lt,left:ht,zIndex:G});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var r=this.dates.copy(),c=[],T=!1;return arguments.length?(e.each(arguments,e.proxy(function(k,l){l instanceof Date&&(l=this._local_to_utc(l)),c.push(l)},this)),T=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c&&this.o.multidate?c=c.split(this.o.multidateSeparator):c=[c],delete this.element.data().date),c=e.map(c,e.proxy(function(k){return u.parseDate(k,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=e.grep(c,e.proxy(function(k){return!this.dateWithinRange(k)||!k},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),T?(this.setValue(),this.element.change()):this.dates.length&&String(r)!==String(this.dates)&&T&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&r.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var r=this.o.weekStart,c="<tr>";for(this.o.calendarWeeks&&(c+='<th class="cw">&#160;</th>');r<this.o.weekStart+7;)c+='<th class="dow',e.inArray(r,this.o.daysOfWeekDisabled)!==-1&&(c+=" disabled"),c+='">'+A[this.o.language].daysMin[r++%7]+"</th>";c+="</tr>",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var r=this._utc_to_local(this.viewDate),c="",T,k=0;k<12;k++)T=r&&r.getMonth()===k?" focused":"",c+='<span class="month'+T+'">'+A[this.o.language].monthsShort[k]+"</span>";this.picker.find(".datepicker-months td").html(c)},setRange:function(r){!r||!r.length?delete this.range:this.range=e.map(r,function(c){return c.valueOf()}),this.fill()},getClassNames:function(r){var c=[],T=this.viewDate.getUTCFullYear(),k=this.viewDate.getUTCMonth(),l=mt();return r.getUTCFullYear()<T||r.getUTCFullYear()===T&&r.getUTCMonth()<k?c.push("old"):(r.getUTCFullYear()>T||r.getUTCFullYear()===T&&r.getUTCMonth()>k)&&c.push("new"),this.focusDate&&r.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&w(r,l)&&c.push("today"),this.dates.contains(r)!==-1&&c.push("active"),this.dateWithinRange(r)||c.push("disabled"),this.dateIsDisabled(r)&&c.push("disabled","disabled-date"),e.inArray(r.getUTCDay(),this.o.daysOfWeekHighlighted)!==-1&&c.push("highlighted"),this.range&&(r>this.range[0]&&r<this.range[this.range.length-1]&&c.push("range"),e.inArray(r.valueOf(),this.range)!==-1&&c.push("selected"),r.valueOf()===this.range[0]&&c.push("range-start"),r.valueOf()===this.range[this.range.length-1]&&c.push("range-end")),c},_fill_yearsView:function(r,c,T,k,l,R,F){for(var Y="",G=T/10,j=this.picker.find(r),Z=Math.floor(k/T)*T,H=Z+G*9,ht=Math.floor(this.viewDate.getFullYear()/G)*G,lt=e.map(this.dates,function(Tt){return Math.floor(Tt.getUTCFullYear()/G)*G}),ut,pt,wt,_t=Z-G;_t<=H+G;_t+=G)ut=[c],pt=null,_t===Z-G?ut.push("old"):_t===H+G&&ut.push("new"),e.inArray(_t,lt)!==-1&&ut.push("active"),(_t<l||_t>R)&&ut.push("disabled"),_t===ht&&ut.push("focused"),F!==e.noop&&(wt=F(new Date(_t,0,1)),wt===W?wt={}:typeof wt=="boolean"?wt={enabled:wt}:typeof wt=="string"&&(wt={classes:wt}),wt.enabled===!1&&ut.push("disabled"),wt.classes&&(ut=ut.concat(wt.classes.split(/\s+/))),wt.tooltip&&(pt=wt.tooltip)),Y+='<span class="'+ut.join(" ")+'"'+(pt?' title="'+pt+'"':"")+">"+_t+"</span>";j.find(".datepicker-switch").text(Z+"-"+H),j.find("td").html(Y)},fill:function(){var r=new Date(this.viewDate),c=r.getUTCFullYear(),T=r.getUTCMonth(),k=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,l=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,R=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,F=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,Y=A[this.o.language].today||A.en.today||"",G=A[this.o.language].clear||A.en.clear||"",j=A[this.o.language].titleFormat||A.en.titleFormat,Z,H;if(!(isNaN(c)||isNaN(T))){this.picker.find(".datepicker-days .datepicker-switch").text(u.formatDate(r,j,this.o.language)),this.picker.find("tfoot .today").text(Y).css("display",this.o.todayBtn===!0||this.o.todayBtn==="linked"?"table-cell":"none"),this.picker.find("tfoot .clear").text(G).css("display",this.o.clearBtn===!0?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display",typeof this.o.title=="string"&&this.o.title!==""?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var ht=M(c,T,0),lt=ht.getUTCDate();ht.setUTCDate(lt-(ht.getUTCDay()-this.o.weekStart+7)%7);var ut=new Date(ht);ht.getUTCFullYear()<100&&ut.setUTCFullYear(ht.getUTCFullYear()),ut.setUTCDate(ut.getUTCDate()+42),ut=ut.valueOf();for(var pt=[],wt,_t;ht.valueOf()<ut;){if(wt=ht.getUTCDay(),wt===this.o.weekStart&&(pt.push("<tr>"),this.o.calendarWeeks)){var Tt=new Date(+ht+(this.o.weekStart-wt-7)%7*864e5),Ut=ne
4w Date(Number(Tt)+(11-Tt.getUTCDay())%7*864e5),Xt=new Date(Number(Xt=M(Ut.getUTCFullYear(),0,1))+(11-Xt.getUTCDay())%7*864e5),Jt=(Ut-Xt)/864e5/7+1;pt.push('<td class="cw">'+Jt+"</td>")}_t=this.getClassNames(ht),_t.push("day");var qt=ht.getUTCDate();this.o.beforeShowDay!==e.noop&&(H=this.o.beforeShowDay(this._utc_to_local(ht)),H===W?H={}:typeof H=="boolean"?H={enabled:H}:typeof H=="string"&&(H={classes:H}),H.enabled===!1&&_t.push("disabled"),H.classes&&(_t=_t.concat(H.classes.split(/\s+/))),H.tooltip&&(Z=H.tooltip),H.content&&(qt=H.content)),e.isFunction(e.uniqueSort)?_t=e.uniqueSort(_t):_t=e.unique(_t),pt.push('<td class="'+_t.join(" ")+'"'+(Z?' title="'+Z+'"':"")+' data-date="'+ht.getTime().toString()+'">'+qt+"</td>"),Z=null,wt===this.o.weekEnd&&pt.push("</tr>"),ht.setUTCDate(ht.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(pt.join(""));var zt=A[this.o.language].monthsTitle||A.en.monthsTitle||"Months",Zt=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?zt:c).end().find("tbody span").removeClass("active");if(e.each(this.dates,function(te,ie){ie.getUTCFullYear()===c&&Zt.eq(ie.getUTCMonth()).addClass("active")}),(c<k||c>R)&&Zt.addClass("disabled"),c===k&&Zt.slice(0,l).addClass("disabled"),c===R&&Zt.slice(F+1).addClass("disabled"),this.o.beforeShowMonth!==e.noop){var Gt=this;e.each(Zt,function(te,ie){var Te=new Date(c,te,1),ve=Gt.o.beforeShowMonth(Te);ve===W?ve={}:typeof ve=="boolean"?ve={enabled:ve}:typeof ve=="string"&&(ve={classes:ve}),ve.enabled===!1&&!e(ie).hasClass("disabled")&&e(ie).addClass("disabled"),ve.classes&&e(ie).addClass(ve.classes),ve.tooltip&&e(ie).prop("title",ve.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,c,k,R,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,c,k,R,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,c,k,R,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var r=new Date(this.viewDate),c=r.getUTCFullYear(),T=r.getUTCMonth(),k=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,l=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,R=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,F=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,Y,G,j=1;switch(this.viewMode){case 0:Y=c<=k&&T<=l,G=c>=R&&T>=F;break;case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:Y=Math.floor(c/j)*j<=k,G=Math.floor(c/j)*j+j>=R;break}this.picker.find(".prev").toggleClass("disabled",Y),this.picker.find(".next").toggleClass("disabled",G)}},click:function(r){r.preventDefault(),r.stopPropagation();var c,T,k,l,R;c=e(r.target),c.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),c.hasClass("today")&&!c.hasClass("day")&&(this.setViewMode(0),this._setDate(mt(),this.o.todayBtn==="linked"?null:"view")),c.hasClass("clear")&&this.clearDates(),c.hasClass("disabled")||(c.hasClass("month")||c.hasClass("year")||c.hasClass("decade")||c.hasClass("century"))&&(this.viewDate.setUTCDate(1),
4k=1,this.viewMode===1?(R=c.parent().find("span").index(c),l=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(R)):(R=0,l=Number(c.text()),this.viewDate.setUTCFullYear(l)),this._trigger(u.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(M(l,R,k)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(r){var c=e(r.currentTarget),T=c.data("date"),k=new Date(T);this.o.updateViewDate&&(k.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),k.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(k)},navArrowsClick:function(r){var c=e(r.currentTarget),T=c.hasClass("prev")?-1:1;this.viewMode!==0&&(T*=u.viewModes[this.viewMode].navStep*12),this.viewDate=this.moveMonth(this.viewDate,T),this._trigger(u.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(r){var c=this.dates.contains(r);if(r||this.dates.clear(),c!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(c):this.o.multidate===!1?(this.dates.clear(),this.dates.push(r)):this.dates.push(r),typeof this.o.multidate=="number")for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(r,c){(!c||c==="date")&&this._toggle_multidate(r&&new Date(r)),(!c&&this.o.updateViewDate||c==="view")&&(this.viewDate=r&&new Date(r)),this.fill(),this.setValue(),(!c||c!=="view")&&this._trigger("changeDate"),this.inputField.trigger("change"),this.o.autoclose&&(!c||c==="date")&&this.hide()},moveDay:function(r,c){var T=new Date(r);return T.setUTCDate(r.getUTCDate()+c),T},moveWeek:function(r,c){return this.moveDay(r,c*7)},moveMonth:function(r,c){if(!a(r))return this.o.defaultViewDate;if(!c)return r;var T=new Date(r.valueOf()),k=T.getUTCDate(),l=T.getUTCMonth(),R=Math.abs(c),F,Y;if(c=c>0?1:-1,R===1)Y=c===-1?function(){return T.getUTCMonth()===l}:function(){return T.getUTCMonth()!==F},F=l+c,T.setUTCMonth(F),F=(F+12)%12;else{for(var G=0;G<R;G++)T=this.moveMonth(T,c);F=T.getUTCMonth(),T.setUTCDate(k),Y=function(){return F!==T.getUTCMonth()}}for(;Y();)T.setUTCDate(--k),T.setUTCMonth(F);return T},moveYear:function(r,c){return this.moveMonth(r,c*12)},moveAvailableDate:function(r,c,T){do{if(r=this[T](r,c),!this.dateWithinRange(r))return!1;T="moveDay"}while(this.dateIsDisabled(r));return r},weekOfDateIsDisabled:function(r){return e.inArray(r.getUTCDay(),this.o.daysOfWeekDisabled)!==-1},dateIsDisabled:function(r){return this.weekOfDateIsDisabled(r)||e.grep(this.o.datesDisabled,function(c){return w(r,c)}).length>0},dateWithinRange:function(r){return r>=this.o.startDate&&r<=this.o.endDate},keydown:function(r){if(!this.picker.is(":visible")){(r.keyCode===40||r.keyCode===27)&&(this.show(),r.stopPropagation());return}var c=!1,T,k,l=this.focusDate||this.viewDate;switch(r.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),r.preventDefault(),r.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||this.o.daysOfWeekDisabled.length===7)break;T=r.keyCode===37||r.keyCode===38?-1:1,this.viewMode===0?r.ctrlKey?(k=this.moveAvailableDate(l,T,"moveYear"),k&&this._trigger("changeYear",this.viewDate)):r.shiftKey?(k=this.moveAvailableDate(l,T,"moveMonth"),k&&this._trigger("changeMonth",this.viewDate)):r.keyCode===37||r.keyCode===39?k=this.moveAvailableDate(l,T,"moveDay"):this.weekOfDateIsDisabled(l)||(k=this.moveAvailableDate(l,T,"moveWeek")):this.viewMode===1?((r.keyCode===38||r.ke
4yCode===40)&&(T=T*4),k=this.moveAvailableDate(l,T,"moveMonth")):this.viewMode===2&&((r.keyCode===38||r.keyCode===40)&&(T=T*4),k=this.moveAvailableDate(l,T,"moveYear")),k&&(this.focusDate=this.viewDate=k,this.setValue(),this.fill(),r.preventDefault());break;case 13:if(!this.o.forceParse)break;l=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(l),c=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(r.preventDefault(),r.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide();break}c&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(r){this.viewMode=r,this.picker.children("div").hide().filter(".datepicker-"+u.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var m=function(r,c){e.data(r,"datepicker",this),this.element=e(r),this.inputs=e.map(c.inputs,function(T){return T.jquery?T[0]:T}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,C.call(e(this.inputs),c).on("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,function(T){return e.data(T,"datepicker")}),this.updateDates()};m.prototype={updateDates:function(){this.dates=e.map(this.pickers,function(r){return r.getUTCDate()}),this.updateRanges()},updateRanges:function(){var r=e.map(this.dates,function(c){return c.valueOf()});e.each(this.pickers,function(c,T){T.setRange(r)})},dateUpdated:function(r){if(!this.updating){this.updating=!0;var c=e.data(r.target,"datepicker");if(c!==W){var T=c.getUTCDate(),k=this.keepEmptyValues,l=e.inArray(r.target,this.inputs),R=l-1,F=l+1,Y=this.inputs.length;if(l!==-1){if(e.each(this.pickers,function(G,j){!j.getUTCDate()&&(j===c||!k)&&j.setUTCDate(T)}),T<this.dates[R])for(;R>=0&&T<this.dates[R];)this.pickers[R--].setUTCDate(T);else if(T>this.dates[F])for(;F<Y&&T>this.dates[F];)this.pickers[F++].setUTCDate(T);this.updateDates(),delete this.updating}}}},destroy:function(){e.map(this.pickers,function(r){r.destroy()}),e(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:S("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};function v(r,c){var T=e(r).data(),k={},l,R=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());function F(G,j){return j.toLowerCase()}for(var Y in T)c.test(Y)&&(l=Y.replace(R,F),k[l]=T[Y]);return k}function d(r){var c={};if(!(!A[r]&&(r=r.split("-")[0],!A[r]))){var T=A[r];return e.each(P,function(k,l){l in T&&(c[l]=T[l])}),c}}var f=e.fn.datepicker,C=function(r){var c=Array.apply(null,arguments);c.shift();var T;if(this.each(function(){var k=e(this),l=k.data("datepicker"),R=typeof r=="object"&&r;if(!l){var F=v(this,"date"),Y=e.extend({},g,F,R),G=d(Y.language),j=e.extend({},g,G,F,R);k.hasClass("input-daterange")||j.inputs?(e.extend(j,{inputs:j.inputs||k.find("input").toArray()}),l=new m(this,j)):l=new x(this,j),k.data("datepicker",l)}typeof r=="string"&&typeof l[r]=="function"&&(T=l[r].apply(l,c))}),T===W||T instanceof x||T instanceof m)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+r+" function)");return T};e.fn.datepicker=C;var g=e.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:e.noop,beforeShowMonth:e.noop,beforeShowYear:e.noop,beforeShowDecade:e.noop,beforeShowCentury:e.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},P=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=x;var A=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
4ay","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},u={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(r){if(typeof r.toValue=="function"&&typeof r.toDisplay=="function")return r;var c=r.replace(this.validParts,"\0").split("\0"),T=r.match(this.validParts);if(!c||!c.length||!T||T.length===0)throw new Error("Invalid date format.");return{separators:c,parts:T}},parseDate:function(r,c,T,k){if(!r)return W;if(r instanceof Date)return r;if(typeof c=="string"&&(c=u.parseFormat(c)),c.toValue)return c.toValue(r,c,T);var l={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},R={yesterday:"-1d",today:"+0d",tomorrow:"+1d"},F,Y,G,j,Z;if(r in R&&(r=R[r]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(r)){for(F=r.match(/([\-+]\d+)([dmwy])/gi),r=new Date,j=0;j<F.length;j++)Y=F[j].match(/([\-+]\d+)([dmwy])/i),G=Number(Y[1]),Z=l[Y[2].toLowerCase()],r=x.prototype[Z](r,G);return x.prototype._zero_utc_time(r)}F=r&&r.match(this.nonpunctuation)||[];function H(qt,zt){return zt===!0&&(zt=10),qt<100&&(qt+=2e3,qt>new Date().getFullYear()+zt&&(qt-=100)),qt}var ht={},lt=["yyyy","yy","M","MM","m","mm","d","dd"],ut={yyyy:function(qt,zt){return qt.setUTCFullYear(k?H(zt,k):zt)},m:function(qt,zt){if(isNaN(qt))return qt;for(zt-=1;zt<0;)zt+=12;for(zt%=12,qt.setUTCMonth(zt);qt.getUTCMonth()!==zt;)qt.setUTCDate(qt.getUTCDate()-1);return qt},d:function(qt,zt){return qt.setUTCDate(zt)}},pt,wt;ut.yy=ut.yyyy,ut.M=ut.MM=ut.mm=ut.m,ut.dd=ut.d,r=mt();var _t=c.parts.slice();F.length!==_t.length&&(_t=e(_t).filter(function(qt,zt){return e.inArray(zt,lt)!==-1}).toArray());function Tt(){var qt=this.slice(0,F[j].length),zt=F[j].slice(0,qt.length);return qt.toLowerCase()===zt.toLowerCase()}if(F.length===_t.length){var Ut;for(j=0,Ut=_t.length;j<Ut;j++){if(pt=parseInt(F[j],10),Y=_t[j],isNaN(pt))switch(Y){case"MM":wt=e(A[T].months).filter(Tt),pt=e.inArray(wt[0],A[T].months)+1;break;case"M":wt=e(A[T].monthsShort).filter(Tt),pt=e.inArray(wt[0],A[T].monthsShort)+1;break}ht[Y]=pt}var Xt,Jt;for(j=0;j<lt.length;j++)Jt=lt[j],Jt in ht&&!isNaN(ht[Jt])&&(Xt=new Date(r),ut[Jt](Xt,ht[Jt]),isNaN(Xt)||(r=Xt))}return r},formatDate:function(r,c,T){if(!r)return"";if(typeof c=="string"&&(c=u.parseFormat(c)),c.toDisplay)return c.toDisplay(r,c,T);var k={d:r.getUTCDate(),D:A[T].daysShort[r.getUTCDay()],DD:A[T].days[r.getUTCDay()],m:r.getUTCMonth()+1,M:A[T].monthsShort[r.getUTCMonth()],MM:A[T].months[r.getUTCMonth()],yy:r.getUTCFullYear().toString().substring(2),yyyy:r.getUTCFullYear()};k.dd=(k.d<10?"0":"")+k.d,k.mm=(k.m<10?"0":"")+k.m,r=[];for(var l=e.extend([],c.separators),R=0,F=c.parts.length;R<=F;R++)l.length&&r.push(l.shift()),r.push(k[c.parts[R]]);return r.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+g.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+g.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};u.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+u.headTemplate+"<tbody></tbody>"+u.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+u.headTemplate+u.contTemplate+u.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+u.headTemplate+u.contTemplate+u.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+u.headTemplate+u.contTemplate+u.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+u.headTemplate+u.contTemplate+u.footTemplate+"</table></div></div>",e.fn.datepicker.DPGlobal=u,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=f,this}
4,e.fn.datepicker.version="1.7.1",e.fn.datepicker.deprecated=function(r){var c=window.console;c&&c.warn&&c.warn("DEPRECATED: "+r)},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(r){var c=e(this);c.data("datepicker")||(r.preventDefault(),C.call(c,"show"))}),e(function(){C.call(e('[data-provide="datepicker-inline"]'))})}),(function(e){e.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"L\xF6schen",weekStart:1,format:"dd.mm.yyyy"}})(jQuery),(function(e){e.fn.datepicker.dates.it={days:["Domenica","Luned\xEC","Marted\xEC","Mercoled\xEC","Gioved\xEC","Venerd\xEC","Sabato"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",monthsTitle:"Mesi",clear:"Cancella",weekStart:1,format:"dd/mm/yyyy"}})(jQuery),(function(e,W){typeof exports=="object"&&typeof module!="undefined"?module.exports=W():typeof define=="function"&&define.amd?define(W):(e=typeof globalThis!="undefined"?globalThis:e||self).dayjs=W()})(this,(function(){"use strict";var e=1e3,W=6e4,M=36e5,mt="millisecond",w="second",S="minute",a="hour",b="day",x="week",m="month",v="quarter",d="year",f="date",C="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var Z=["th","st","nd","rd"],H=j%100;return"["+j+(Z[(H-20)%10]||Z[H]||Z[0])+"]"}},u=function(j,Z,H){var ht=String(j);return!ht||ht.length>=Z?j:""+Array(Z+1-ht.length).join(H)+j},r={s:u,z:function(j){var Z=-j.utcOffset(),H=Math.abs(Z),ht=Math.floor(H/60),lt=H%60;return(Z<=0?"+":"-")+u(ht,2,"0")+":"+u(lt,2,"0")},m:function j(Z,H){if(Z.date()<H.date())return-j(H,Z);
vendor: 4,227 bytes, line 4
4var ht=12*(H.year()-Z.year())+(H.month()-Z.month()),lt=Z.clone().add(ht,m),ut=H-lt<0,pt=Z.clone().add(ht+(ut?-1:1),m);return+(-(ht+(H-lt)/(ut?lt-pt:pt-lt))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:m,y:d,w:x,d:b,D:f,h:a,m:S,s:w,ms:mt,Q:v}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},c="en",T={};T[c]=A;var k=function(j){return j instanceof Y},l=function j(Z,H,ht){var lt;if(!Z)return c;if(typeof Z=="string"){var ut=Z.toLowerCase();T[ut]&&(lt=ut),H&&(T[ut]=H,lt=ut);var pt=Z.split("-");if(!lt&&pt.length>1)return j(pt[0])}else{var wt=Z.name;T[wt]=Z,lt=wt}return!ht&&lt&&(c=lt),lt||!ht&&c},R=function(j,Z){if(k(j))return j.clone();var H=typeof Z=="object"?Z:{};return H.date=j,H.args=arguments,new Y(H)},F=r;F.l=l,F.i=k,F.w=function(j,Z){return R(j,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var Y=(function(){function j(H){this.$L=l(H.locale,null,!0),this.parse(H)}var Z=j.prototype;return Z.parse=function(H){this.$d=(function(ht){var lt=ht.date,ut=ht.utc;if(lt===null)return new Date(NaN);if(F.u(lt))return new Date;if(lt instanceof Date)return new Date(lt);if(typeof lt=="string"&&!/Z$/i.test(lt)){var pt=lt.match(g);if(pt){var wt=pt[2]-1||0,_t=(pt[7]||"0").substring(0,3);return ut?new Date(Date.UTC(pt[1],wt,pt[3]||1,pt[4]||0,pt[5]||0,pt[6]||0,_t)):new Date(pt[1],wt,pt[3]||1,pt[4]||0,pt[5]||0,pt[6]||0,_t)}}return new Date(lt)})(H),this.$x=H.x||{},this.init()},Z.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},Z.$utils=function(){return F},Z.isValid=function(){return this.$d.toString()!==C},Z.isSame=function(H,ht){var lt=R(H);return this.startOf(ht)<=lt&&lt<=this.endOf(ht)},Z.isAfter=function(H,ht){return R(H)<this.startOf(ht)},Z.isBefore=function(H,ht){return this.endOf(ht)<R(H)},Z.$g=function(H,ht,lt){return F.u(H)?this[ht]:this.set(lt,H)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function(H,ht){var lt=this,ut=!!F.u(ht)||ht,pt=F.p(H),wt=function(Zt,Gt){var te=F.w(lt.$u?Date.UTC(lt.$y,Gt,Zt):new Date(lt.$y,Gt,Zt),lt);return ut?te:te.endOf(b)},_t=function(Zt,Gt){return F.w(lt.toDate()[Zt].apply(lt.toDate("s"),(ut?[0,0,0,0]:[23,59,59,999]).slice(Gt)),lt)},Tt=this.$W,Ut=this.$M,Xt=this.$D,Jt="set"+(this.$u?"UTC":"");switch(pt){case d:return ut?wt(1,0):wt(31,11);case m:return ut?wt(1,Ut):wt(0,Ut+1);case x:var qt=this.$locale().weekStart||0,zt=(Tt<qt?Tt+7:Tt)-qt;return wt(ut?Xt-zt:Xt+(6-zt),Ut);case b:case f:return _t(Jt+"Hours",0);case a:return _t(Jt+"Minutes",1);case S:return _t(Jt+"Seconds",2);case w:return _t(Jt+"Milliseconds",3);default:return this.clone()}},Z.endOf=function(H){return this.startOf(H,!1)},Z.$set=function(H,ht){var lt,ut=F.p(H),pt="set"+(this.$u?"UTC":""),wt=(lt={},lt[b]=pt+"Date",lt[f]=pt+"Date",lt[m]=pt+"Month",lt[d]=pt+"FullYear",lt[a]=pt+"Hours",lt[S]=pt+"Minutes",lt[w]=pt+"Seconds",lt[mt]=pt+"Milliseconds",lt)[ut],_t=ut===b?this.$D+(ht-this.$W):ht;if(ut===m||ut===d){var Tt=this.clone().set(f,1);Tt.$d[wt](_t),Tt.init(),this.$d=Tt.set(f,Math.min(this.$D,Tt.daysInMonth())).$d}else wt&&this.$d[wt](_t);return this.init(),this},Z.set=function(H,ht){return this.clone().$set(H,ht)},Z.get=function(H){return this[F.p(H)]()},Z.add=function(H,ht){var lt,ut=this;H=Number(H);var pt=F.p(ht),wt=function(Ut){var Xt=R(ut);return F.w(Xt.date(Xt.date()+Math.round(Ut*H)),ut)};if(pt===m)return this.set(m,this.$M+H);if(pt===d)return this.set(d,this.$y+H);if(pt===b)return wt(1);if(pt===x)return wt(7);var _t=(lt={},lt[S]=W,lt[a]=M,lt[w]=e,lt)[pt]||1,Tt=this.$d.getTime()+H*_t;return F.w(Tt,this)},Z.subtract=function(H,ht){return this.add(-1*H,ht)},Z.format=function(H){var ht=this,lt=this.$locale();if(!this.isValid())return lt.invalidDate||C;var ut=H||"YYYY-MM-DDTHH:mm:ssZ",pt=F.z(this),wt=this.$H,_t=this.$m,Tt=this.$M,Ut=lt.weekdays,Xt=lt.months,Jt=function(Gt,te,ie,Te){return Gt&&(Gt[te]||Gt(ht,ut))||ie[te].slice(0,Te)},qt=function(Gt){return F.s(wt%12||12,Gt,"0")},zt=lt.meridiem||function(Gt,te,ie){var Te=Gt<12?"AM":"PM";return ie?Te.toLowerCase():Te}
vendor: 1,040 bytes, line 4
4,Zt={YY:String(this.$y).slice(-2),YYYY:F.s(this.$y,4,"0"),M:Tt+1,MM:F.s(Tt+1,2,"0"),MMM:Jt(lt.monthsShort,Tt,Xt,3),MMMM:Jt(Xt,Tt),D:this.$D,DD:F.s(this.$D,2,"0"),d:String(this.$W),dd:Jt(lt.weekdaysMin,this.$W,Ut,2),ddd:Jt(lt.weekdaysShort,this.$W,Ut,3),dddd:Ut[this.$W],H:String(wt),HH:F.s(wt,2,"0"),h:qt(1),hh:qt(2),a:zt(wt,_t,!0),A:zt(wt,_t,!1),m:String(_t),mm:F.s(_t,2,"0"),s:String(this.$s),ss:F.s(this.$s,2,"0"),SSS:F.s(this.$ms,3,"0"),Z:pt};return ut.replace(P,(function(Gt,te){return te||Zt[Gt]||pt.replace(":","")}))},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function(H,ht,lt){var ut,pt=F.p(ht),wt=R(H),_t=(wt.utcOffset()-this.utcOffset())*W,Tt=this-wt,Ut=F.m(this,wt);return Ut=(ut={},ut[d]=Ut/12,ut[m]=Ut,ut[v]=Ut/3,ut[x]=(Tt-_t)/6048e5,ut[b]=(Tt-_t)/864e5,ut[a]=Tt/M,ut[S]=Tt/W,ut[w]=Tt/e,ut)[pt]||Tt,lt?Ut:F.a(Ut)},Z.daysInMonth=function(){return this.endOf(m).$D},Z.$locale=function(){return T[this.$L]},Z.locale=function(H,ht){if(!H)return this.$L;var lt=this.clone(),ut=l(H,ht,!0);
4return ut&&(lt.$L=ut),lt},Z.clone=function(){return F.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},j})(),G=Y.prototype;return R.prototype=G,[["$ms",mt],["$s",w],["$m",S],["$H",a],["$W",b],["$M",m],["$y",d],["$D",f]].forEach((function(j){G[j[1]]=function(Z){return this.$g(Z,j[0],j[1])}})),R.extend=function(j,Z){return j.$i||(j(Z,Y,R),j.$i=!0),R},R.locale=l,R.isDayjs=k,R.unix=function(j){return R(1e3*j)},R.en=T[c],R.Ls=T,R.p={},R}));if(typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery");+(function(e){"use strict";var W=e.fn.jquery.split(" ")[0].split(".");if(W[0]<2&&W[1]<9||W[0]==1&&W[1]==9&&W[2]<1||W[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")})(jQuery),+(function(e){"use strict";function W(){var M=document.createElement("bootstrap"),mt={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var w in mt)if(M.style[w]!==void 0)return{end:mt[w]};return!1}e.fn.emulateTransitionEnd=function(M){var mt=!1,w=this;e(this).one("bsTransitionEnd",function(){mt=!0});var S=function(){mt||e(w).trigger(e.support.transition.end)};return setTimeout(S,M),this},e(function(){e.support.transition=W(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(M){if(e(M.target).is(this))return M.handleObj.handler.apply(this,arguments)}})})})(jQuery),+(function(e){"use strict";var W='[data-dismiss="alert"]',M=function(S){e(S).on("click",W,this.close)};M.VERSION="3.4.1",M.TRANSITION_DURATION=150,M.prototype.close=function(S){var a=e(this),b=a.attr("data-target");b||(b=a.attr("href"),b=b&&b.replace(/.*(?=#[^\s]*$)/,"")),b=b==="#"?[]:b;var x=e(document).find(b);if(S&&S.preventDefault(),x.length||(x=a.closest(".alert")),x.trigger(S=e.Event("close.bs.alert")),S.isDefaultPrevented())return;x.removeClass("in");function m(){x.detach().trigger("closed.bs.alert").remove()}e.support.transition&&x.hasClass("fade")?x.one("bsTransitionEnd",m).emulateTransitionEnd(M.TRANSITION_DURATION):m()};function mt(S){return this.each(function(){var a=e(this),b=a.data("bs.alert");b||a.data("bs.alert",b=new M(this)),typeof S=="string"&&b[S].call(a)})}var w=e.fn.alert;e.fn.alert=mt,e.fn.alert.Constructor=M,e.fn.alert.noConflict=function(){return e.fn.alert=w,this},e(document).on("click.bs.alert.data-api",W,M.prototype.close)})(jQuery),+(function(e){"use strict";var W=function(w,S){this.$element=e(w),this.options=e.extend({},W.DEFAULTS,S),this.isLoading=!1};W.VERSION="3.4.1",W.DEFAULTS={loadingText:"loading..."},W.prototype.setState=function(w){var S="disabled",a=this.$element,b=a.is("input")?"val":"html",x=a.data();w+="Text",x.resetText==null&&a.data("resetText",a[b]()),setTimeout(e.proxy(function(){a[b](x[w]==null?this.options[w]:x[w]),w=="loadingText"?(this.isLoading=!0,a.addClass(S).attr(S,S).prop(S,!0)):this.isLoading&&(this.isLoading=!1,a.removeClass(S).removeAttr(S).prop(S,!1))},this),0)},W.prototype.toggle=function(){var w=!0,S=this.$element.closest('[data-toggle="buttons"]');if(S.length){var a=this.$element.find("input");a.prop("type")=="radio"?(a.prop("checked")&&(w=!1),S.find(".active").removeClass("active"),this.$element.addClass("active")):a.prop("type")=="checkbox"&&(a.prop("checked")!==this.$element.hasClass("active")&&(w=!1),this.$element.toggleClass("active")),a.prop("checked",this.$element.hasClass("active")),w&&a.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};function M(w){return this.each(function(){var S=e(this),a=S.data("bs.button"),b=typeof w=="object"&&w;a||S.data("bs.button",a=new W(this,b)),w=="toggle"?a.toggle():w&&a.setState(w)})}var mt=e.fn.button;e.fn.button=M,e.fn.button.Constructor=W,e.fn.button.noConflict=function(){return e.fn.button=mt,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(w){var S=e(w.target).closest(".btn");M.call(S,"toggle"),e(w.target).is('input[type="radio"], input[type="checkbox"]')||(w.preventDefault(),S.is("input,button")?S.trigger("focus"):S.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(w){e(w.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(w.type))})})(jQuery),+(function(e){"use strict";var W=function(S,a){this.$element=e(S),this.$indicators=this.$element.find(".carousel-indicators"),this.options=a,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
4down.bs.carousel",e.proxy(this.keydown,this)),this.options.pause=="hover"&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};W.VERSION="3.4.1",W.TRANSITION_DURATION=600,W.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},W.prototype.keydown=function(S){if(!/input|textarea/i.test(S.target.tagName)){switch(S.which){case 37:this.prev();break;case 39:this.next();break;default:return}S.preventDefault()}},W.prototype.cycle=function(S){return S||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},W.prototype.getItemIndex=function(S){return this.$items=S.parent().children(".item"),this.$items.index(S||this.$active)},W.prototype.getItemForDirection=function(S,a){var b=this.getItemIndex(a),x=S=="prev"&&b===0||S=="next"&&b==this.$items.length-1;if(x&&!this.options.wrap)return a;var m=S=="prev"?-1:1,v=(b+m)%this.$items.length;return this.$items.eq(v)},W.prototype.to=function(S){var a=this,b=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(S>this.$items.length-1||S<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){a.to(S)}):b==S?this.pause().cycle():this.slide(S>b?"next":"prev",this.$items.eq(S))},W.prototype.pause=function(S){return S||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},W.prototype.next=function(){if(!this.sliding)return this.slide("next")},W.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},W.prototype.slide=function(S,a){var b=this.$element.find(".item.active"),x=a||this.getItemForDirection(S,b),m=this.interval,v=S=="next"?"left":"right",d=this;if(x.hasClass("active"))return this.sliding=!1;var f=x[0],C=e.Event("slide.bs.carousel",{relatedTarget:f,direction:v});if(this.$element.trigger(C),!C.isDefaultPrevented()){if(this.sliding=!0,m&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var g=e(this.$indicators.children()[this.getItemIndex(x)]);g&&g.addClass("active")}var P=e.Event("slid.bs.carousel",{relatedTarget:f,direction:v});return e.support.transition&&this.$element.hasClass("slide")?(x.addClass(S),typeof x=="object"&&x.length&&x[0].offsetWidth,b.addClass(v),x.addClass(v),b.one("bsTransitionEnd",function(){x.removeClass([S,v].join(" ")).addClass("active"),b.removeClass(["active",v].join(" ")),d.sliding=!1,setTimeout(function(){d.$element.trigger(P)},0)}).emulateTransitionEnd(W.TRANSITION_DURATION)):(b.removeClass("active"),x.addClass("active"),this.sliding=!1,this.$element.trigger(P)),m&&this.cycle(),this}};function M(S){return this.each(function(){var a=e(this),b=a.data("bs.carousel"),x=e.extend({},W.DEFAULTS,a.data(),typeof S=="object"&&S),m=typeof S=="string"?S:x.slide;b||a.data("bs.carousel",b=new W(this,x)),typeof S=="number"?b.to(S):m?b[m]():x.interval&&b.pause().cycle()})}var mt=e.fn.carousel;e.fn.carousel=M,e.fn.carousel.Constructor=W,e.fn.carousel.noConflict=function(){return e.fn.carousel=mt,this};var w=function(S){var a=e(this),b=a.attr("href");b&&(b=b.replace(/.*(?=#[^\s]+$)/,""));var x=a.attr("data-target")||b,m=e(document).find(x);if(m.hasClass("carousel")){var v=e.extend({},m.data(),a.data()),d=a.attr("data-slide-to");d&&(v.interval=!1),M.call(m,v),d&&m.data("bs.carousel").to(d),S.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",w).on("click.bs.carousel.data-api","[data-slide-to]",w),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var S=e(this);M.call(S,S.data())})})})(jQuery),+(function(e){"use strict";var W=function(S,a){this.$element=e(S),this.options=e.extend({},W.DEFAULTS,a),this.$trigger=e('[data-toggle="collapse"][href="#'+S.id+'"],[data-toggle="collapse"][data-target="#'+S.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};W.VERSION="3.4.1",W.TRANSITION_DURATION=350,W.DEFAULTS={toggle:!0},W.prototype.dimension=function(){var S=this.$element.hasClass("width");return S?"width":"height"},W.prototype.show=function(){if(!(this.transitioning||this.$element.hasClass("in"))){var S,a=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(a&&a.length&&(S=a.data("bs.collapse"),S&&S.transitioning))){var b=e.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){a&&a.length&&(mt.call(a,"hide"),S||a.data("bs.collapse",null));var x=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[x](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var m=function(){this.$element.removeClass("collapsing").addClass("collapse in")[x](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return m.call(this);var v=e.camelCase(["scroll",x].join("-"));this.$element.one("bsTransitionEnd",e.proxy(m,this)).emulateTransitionEnd(W.TRANSITION_DURATION)[x](this.$element[0][v])}}}},W.prototype.hide=function(){if(!(this.transitioning||!this.$element.hasClass("in"))){var S=e.Event("hide.bs.collapse");if(this.$element.trigger(S),!S.isDefaultPrevented()){var a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var b=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return b.call(this);this.$element[a](0).one("bsTransitionEnd",e.proxy(b,this)).emulateTransitionEnd(W.TRANSITION_DURATION)}}},W.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},W.prototype.getParent=function(){return e(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(S,a){var b=e(a);this.addAriaAndCollapsedClass(M(b),b)},this)).end()},W.prototype.addAriaAndCollapsedClass=function(S,a){var b=S.hasClass("in");S.attr("aria-expanded",b),a.toggleClass("collapsed",!b).attr("aria-expanded",b)};function M(S){var a,b=S.attr("data-target")||(a=S.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,"");return e(document).find(b)}function mt(S){return this.each(function(){var a=e(this),b=a.data("bs.collapse"),x=e.extend({},W.DEFAULTS,a.data(),typeof S=="object"&&S);!b&&x.toggle&&/show|hide/.test(S)&&(x.toggle=!1),b||a.data("bs.collapse",b=new W(this,x)),typeof S=="string"&&b[S]()})}var w=e.fn.collapse;e.fn.collapse=mt,e.fn.collapse.Constructor=W,e.fn.collapse.noConflict=function(){return e.fn.collapse=w,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(S){var a=e(this);a.attr("data-target")||S.preventDefault();var b=M(a),x=b.data("bs.collapse"),m=x?"toggle":a.data();mt.call(b,m)})})(jQuery),+(function(e){"use strict";var W=".dropdown-backdrop",M='[data-toggle="dropdown"]',mt=function(x){e(x).on("click.bs.dropdown",this.toggle)};mt.VERSION="3.4.1";function w(x){var m=x.attr("data-target");m||(m=x.attr("href"),m=m&&/#[A-Za-z]/.test(m)&&m.replace(/.*(?=#[^\s]*$)/,""));var v=m!=="#"?e(document).find(m):null;return v&&v.length?v:x.parent()}function S(x){x&&x.which===3||(e(W).remove(),e(M).each(function(){var m=e(this),v=w(m),d={relatedTarget:this};v.hasClass("open")&&(x&&x.type=="click"&&/input|textarea/i.test(x.target.tagName)&&e.contains(v[0],x.target)||(v.trigger(x=e.Event("hide.bs.dropdown",d)),!x.isDefaultPrevented()&&(m.attr("aria-expanded","fal
4se"),v.removeClass("open").trigger(e.Event("hidden.bs.dropdown",d)))))}))}mt.prototype.toggle=function(x){var m=e(this);if(!m.is(".disabled, :disabled")){var v=w(m),d=v.hasClass("open");if(S(),!d){"ontouchstart"in document.documentElement&&!v.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",S);var f={relatedTarget:this};if(v.trigger(x=e.Event("show.bs.dropdown",f)),x.isDefaultPrevented())return;m.trigger("focus").attr("aria-expanded","true"),v.toggleClass("open").trigger(e.Event("shown.bs.dropdown",f))}return!1}},mt.prototype.keydown=function(x){if(!(!/(38|40|27|32)/.test(x.which)||/input|textarea/i.test(x.target.tagName))){var m=e(this);if(x.preventDefault(),x.stopPropagation(),!m.is(".disabled, :disabled")){var v=w(m),d=v.hasClass("open");if(!d&&x.which!=27||d&&x.which==27)return x.which==27&&v.find(M).trigger("focus"),m.trigger("click");var f=" li:not(.disabled):visible a",C=v.find(".dropdown-menu"+f);if(C.length){var g=C.index(x.target);x.which==38&&g>0&&g--,x.which==40&&g<C.length-1&&g++,~g||(g=0),C.eq(g).trigger("focus")}}}};function a(x){return this.each(function(){var m=e(this),v=m.data("bs.dropdown");v||m.data("bs.dropdown",v=new mt(this)),typeof x=="string"&&v[x].call(m)})}var b=e.fn.dropdown;e.fn.dropdown=a,e.fn.dropdown.Constructor=mt,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=b,this},e(document).on("click.bs.dropdown.data-api",S).on("click.bs.dropdown.data-api",".dropdown form",function(x){x.stopPropagation()}).on("click.bs.dropdown.data-api",M,mt.prototype.toggle).on("keydown.bs.dropdown.data-api",M,mt.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",mt.prototype.keydown)})(jQuery),+(function(e){"use strict";var W=function(w,S){this.options=S,this.$body=e(document.body),this.$element=e(w),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};W.VERSION="3.4.1",W.TRANSITION_DURATION=300,W.BACKDROP_TRANSITION_DURATION=150,W.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},W.prototype.toggle=function(w){return this.isShown?this.hide():this.show(w)},W.prototype.show=function(w){var S=this,a=e.Event("show.bs.modal",{relatedTarget:w});this.$element.trigger(a),!(this.isShown||a.isDefaultPrevented())&&(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){S.$element.one("mouseup.dismiss.bs.modal",function(b){e(b.target).is(S.$element)&&(S.ignoreBackdropClick=!0)})}),this.backdrop(function(){var b=e.support.transition&&S.$element.hasClass("fade");S.$element.parent().length||S.$element.appendTo(S.$body),S.$element.show().scrollTop(0),S.adjustDialog(),b&&S.$element[0].offsetWidth,S.$element.addClass("in"),S.enforceFocus();var x=e.Event("shown.bs.modal",{relatedTarget:w});b?S.$dialog.one("bsTransitionEnd",function(){S.$element.trigger("focus").trigger(x)}).emulateTransitionEnd(W.TRANSITION_DURATION):S.$element.trigger("focus").trigger(x)}))},W.prototype.hide=function(w){w&&w.preventDefault(),w=e.Event("hide.bs.modal"),this.$element.trigger(w),!(!this.isShown||w.isDefaultPrevented())&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(W.TRANSITION_DURATION):this.hideModal())},W.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(w){document!==w.target&&this.$element[0]!==w.target&&!this.$element.has(w.target).length&&this.$element.trigger("focus")},this))},W.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
4down.dismiss.bs.modal",e.proxy(function(w){w.which==27&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},W.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},W.prototype.hideModal=function(){var w=this;this.$element.hide(),this.backdrop(function(){w.$body.removeClass("modal-open"),w.resetAdjustments(),w.resetScrollbar(),w.$element.trigger("hidden.bs.modal")})},W.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},W.prototype.backdrop=function(w){var S=this,a=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var b=e.support.transition&&a;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+a).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(m){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}m.target===m.currentTarget&&(this.options.backdrop=="static"?this.$element[0].focus():this.hide())},this)),b&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!w)return;b?this.$backdrop.one("bsTransitionEnd",w).emulateTransitionEnd(W.BACKDROP_TRANSITION_DURATION):w()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var x=function(){S.removeBackdrop(),w&&w()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",x).emulateTransitionEnd(W.BACKDROP_TRANSITION_DURATION):x()}else w&&w()},W.prototype.handleUpdate=function(){this.adjustDialog()},W.prototype.adjustDialog=function(){var w=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&w?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!w?this.scrollbarWidth:""})},W.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},W.prototype.checkScrollbar=function(){var w=window.innerWidth;if(!w){var S=document.documentElement.getBoundingClientRect();w=S.right-Math.abs(S.left)}this.bodyIsOverflowing=document.body.clientWidth<w,this.scrollbarWidth=this.measureScrollbar()},W.prototype.setScrollbar=function(){var w=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var S=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",w+S),e(this.fixedContent).each(function(a,b){var x=b.style.paddingRight,m=e(b).css("padding-right");e(b).data("padding-right",x).css("padding-right",parseFloat(m)+S+"px")}))},W.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),e(this.fixedContent).each(function(w,S){var a=e(S).data("padding-right");e(S).removeData("padding-right"),S.style.paddingRight=a||""})},W.prototype.measureScrollbar=function(){var w=document.createElement("div");w.className="modal-scrollbar-measure",this.$body.append(w);var S=w.offsetWidth-w.clientWidth;return this.$body[0].removeChild(w),S};function M(w,S){return this.each(function(){var a=e(this),b=a.data("bs.modal"),x=e.extend({},W.DEFAULTS,a.data(),typeof w=="object"&&w);b||a.data("bs.modal",b=new W(this,x)),typeof w=="string"?b[w](S):x.show&&b.show(S)})}var mt=e.fn.modal;e.fn.modal=M,e.fn.modal.Constructor=W,e.fn.modal.noConflict=function(){return e.fn.modal=mt,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(w){var S=e(this),a=S.attr("href"),b=S.attr("data-target")||a&&a.replace(/.*(?=#[^\s]+$)/,""),x=e(document).find(b),m=x.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(a)&&a},x.data(),S.data());S.is("a")&&w.preventDefault(),x.one("show.bs.modal",function(v){v.isDefaultPrevented()||x.one("hidden.bs.modal",function(){S.is(":visible")&&S.trigger("focus")})}),M.call(x,m,this)})})(jQuery),+(function(e){"use strict";var W=["sanitize","whiteList","sanitizeFn"],M=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],mt=/^aria-[\w-]*$/i,w={"*":["class","dir","id","lang","role",mt],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},S=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,a=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function b(f,C){var g=f.nodeName.toLowerCase();if(e.inArray(g,C)!==-1)return e.inArray(g,M)!==-1?!!(f.nodeValue.match(S)||f.nodeValue.match(a)):!0;for(var P=e(C).filter(function(r,c){return c instanceof RegExp}),A=0,u=P.length;A<u;A++)if(g.match(P[A]))return!0;return!1}function x(f,C,g){if(f.length===0)return f;if(g&&typeof g=="function")return g(f);if(!document.implementation||!document.implementation.createHTMLDocument)return f;var P=document.implementation.createHTMLDocument("sanitization");P.body.innerHTML=f;for(var A=e.map(C,function(G,j){return j}),u=e(P.body).find("*"),r=0,c=u.length;r<c;r++){var T=u[r],k=T.nodeName.toLowerCase();if(e.inArray(k,A)===-1){T.parentNode.removeChild(T);continue}for(var l=e.map(T.attributes,function(G){return G}),R=[].concat(C["*"]||[],C[k]||[]),F=0,Y=l.length;F<Y;F++)b(l[F],R)||T.removeAttribute(l[F].nodeName)}return P.body.innerHTML}var m=function(f,C){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",f,C)};m.VERSION="3.4.1",m.TRANSITION_DURATION=150,m.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:w},m.prototype.init=function(f,C,g){if(this.enabled=!0,this.type=f,this.$element=e(C),this.options=this.getOptions(g),this.$viewport=this.options.viewport&&e(document).find(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var P=this.options.trigger.split(" "),A=P.length;A--;){var u=P[A];if(u=="click")this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if(u!="manual"){var r=u=="hover"?"mouseenter":"focusin",c=u=="hover"?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(c+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(f){var C=this.$element.data();for(var g in C)C.hasOwnProperty(g)&&e.inArray(g,W)!==-1&&delete C[g];return f=e.extend({},this.getDefaults(),C,f),f.delay&&typeof f.delay=="number"&&(f.delay={show:f.delay,hide:f.delay}),f.sanitize&&(f.template=x(f.template,f.whiteList,f.sanitizeFn)),f},m.prototype.getDelegateOptions=function(){var f={},C=this.getDefaults();return this._options&&e.each(this._options,function(g,P){C[g]!=P&&(f[g]=P)}),f},m.prototype.enter=function(f){var C=f instanceof this.constructor?f:e(f.currentTarget).data("bs."+this.type);if(C||(C=new this.constructor(f.currentTarget,this.getDelegateOptions()),e(f.currentTarget).data("bs."+this.type,C)),f instanceof e.Event&&(C.inState[f.type=="focusin"?"focus":"hover"]=!0),C.tip().hasClass("in")||C.hoverState=="in"){C.hoverState="in";return}if(clearTimeout(C.timeout),C.hoverState="in",!C.options.delay||!C.options.delay.show)return C.show();C.timeout=setTimeout(function(){C.hoverState=="in"&&C.show()},C.options.delay.show)},m.prototype.isInStateTrue=function(){for(var f in this.inState)if(this.inState[f])return!0;return!1},m.prototype.leave=function(f){var C=f instanceof this.constructor?f:e(f.currentTarget).data("bs."+this.type);if(C||(C=new this.constructor(f.currentTarget,this.getDelegateOptions()),e(f.currentTarget).data("bs."+this.type,C)),f instanceof e.Event&&(C.inState[f.type=="focusout"?"focus":"hover"]=!1),!C.isInStateTrue()){if(clearTimeout(C.timeout),C.hoverState="out",!C.options.delay||!C.options.delay.hide)return C.hide();C.timeout=setTimeout(function(){C.hoverState=="out"&&C.hide()},C.options.delay.hide)}},m.prototype.show=function(){var f=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(f);var C=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(f.isDefaultPrevented()||!C)return;var g=this,P=this.tip(),A=this.getUID(this.type);this.setContent(),P.attr("id",A),this.$element.attr("aria-describedby",A),this.options.animation&&P.addClass("fade");var u=typeof this.options.placement=="function"?this.options.placement.call(this,P[0],this.$element[0]):this.options.placement,r=/\s?auto?\s?/i,c=r.test(u);c&&(u=u.replace(r,"")||"top"),P.detach().css({top:0,left:0,display:"block"}).addClass(u).data("bs."+this.type,this),this.options.container?P.appendTo(e(document).find(this.options.container)):P.
vendor: 14,746 bytes, line 4
4insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var T=this.getPosition(),k=P[0].offsetWidth,l=P[0].offsetHeight;if(c){var R=u,F=this.getPosition(this.$viewport);u=u=="bottom"&&T.bottom+l>F.bottom?"top":u=="top"&&T.top-l<F.top?"bottom":u=="right"&&T.right+k>F.width?"left":u=="left"&&T.left-k<F.left?"right":u,P.removeClass(R).addClass(u)}var Y=this.getCalculatedOffset(u,T,k,l);this.applyPlacement(Y,u);var G=function(){var j=g.hoverState;g.$element.trigger("shown.bs."+g.type),g.hoverState=null,j=="out"&&g.leave(g)};e.support.transition&&this.$tip.hasClass("fade")?P.one("bsTransitionEnd",G).emulateTransitionEnd(m.TRANSITION_DURATION):G()}},m.prototype.applyPlacement=function(f,C){var g=this.tip(),P=g[0].offsetWidth,A=g[0].offsetHeight,u=parseInt(g.css("margin-top"),10),r=parseInt(g.css("margin-left"),10);isNaN(u)&&(u=0),isNaN(r)&&(r=0),f.top+=u,f.left+=r,e.offset.setOffset(g[0],e.extend({using:function(Y){g.css({top:Math.round(Y.top),left:Math.round(Y.left)})}},f),0),g.addClass("in");var c=g[0].offsetWidth,T=g[0].offsetHeight;C=="top"&&T!=A&&(f.top=f.top+A-T);var k=this.getViewportAdjustedDelta(C,f,c,T);k.left?f.left+=k.left:f.top+=k.top;var l=/top|bottom/.test(C),R=l?k.left*2-P+c:k.top*2-A+T,F=l?"offsetWidth":"offsetHeight";g.offset(f),this.replaceArrow(R,g[0][F],l)},m.prototype.replaceArrow=function(f,C,g){this.arrow().css(g?"left":"top",50*(1-f/C)+"%").css(g?"top":"left","")},m.prototype.setContent=function(){var f=this.tip(),C=this.getTitle();this.options.html?(this.options.sanitize&&(C=x(C,this.options.whiteList,this.options.sanitizeFn)),f.find(".tooltip-inner").html(C)):f.find(".tooltip-inner").text(C),f.removeClass("fade in top bottom left right")},m.prototype.hide=function(f){var C=this,g=e(this.$tip),P=e.Event("hide.bs."+this.type);function A(){C.hoverState!="in"&&g.detach(),C.$element&&C.$element.removeAttr("aria-describedby").trigger("hidden.bs."+C.type),f&&f()}if(this.$element.trigger(P),!P.isDefaultPrevented())return g.removeClass("in"),e.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",A).emulateTransitionEnd(m.TRANSITION_DURATION):A(),this.hoverState=null,this},m.prototype.fixTitle=function(){var f=this.$element;(f.attr("title")||typeof f.attr("data-original-title")!="string")&&f.attr("data-original-title",f.attr("title")||"").attr("title","")},m.prototype.hasContent=function(){return this.getTitle()},m.prototype.getPosition=function(f){f=f||this.$element;var C=f[0],g=C.tagName=="BODY",P=C.getBoundingClientRect();P.width==null&&(P=e.extend({},P,{width:P.right-P.left,height:P.bottom-P.top}));var A=window.SVGElement&&C instanceof window.SVGElement,u=g?{top:0,left:0}:A?null:f.offset(),r={scroll:g?document.documentElement.scrollTop||document.body.scrollTop:f.scrollTop()},c=g?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},P,r,c,u)},m.prototype.getCalculatedOffset=function(f,C,g,P){return f=="bottom"?{top:C.top+C.height,left:C.left+C.width/2-g/2}:f=="top"?{top:C.top-P,left:C.left+C.width/2-g/2}:f=="left"?{top:C.top+C.height/2-P/2,left:C.left-g}:{top:C.top+C.height/2-P/2,left:C.left+C.width}},m.prototype.getViewportAdjustedDelta=function(f,C,g,P){var A={top:0,left:0};if(!this.$viewport)return A;var u=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(f)){var c=C.top-u-r.scroll,T=C.top+u-r.scroll+P;c<r.top?A.top=r.top-c:T>r.top+r.height&&(A.top=r.top+r.height-T)}else{var k=C.left-u,l=C.left+u+g;k<r.left?A.left=r.left-k:l>r.right&&(A.left=r.left+r.width-l)}return A},m.prototype.getTitle=function(){var f,C=this.$element,g=this.options;return f=C.attr("data-original-title")||(typeof g.title=="function"?g.title.call(C[0]):g.title),f},m.prototype.getUID=function(f){do f+=~~(Math.random()*1e6);while(document.getElementById(f));return f},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(f){var C=this;f&&(C=e(f.currentTarget).data("bs."+this.type),C||(C=new this.constructor(f.currentTarget,this.getDelegateOptions()),e(f.currentTarget).data("bs."+this.type,C))),f?(C.inState.click=!C.inState.click,C.isInStateTrue()?C.enter(C):C.leave(C)):C.tip().hasClass("in")?C.leave(C):C.enter(C)},m.prototype.destroy=function(){var f=this;clearTimeout(this.timeout),this.hide(function(){f.$element.off("."+f.type).removeData("bs."+f.type),f.$tip&&f.$tip.detach(),f.$tip=null,f.$arrow=null,f.$viewport=null,f.$element=null})},m.prototype.sanitizeHtml=function(f){return x(f,this.options.whiteList,this.options.sanitizeFn)};function v(f){return this.each(function(){var C=e(this),g=C.data("bs.tooltip"),P=typeof f=="object"&&f;!g&&/destroy|hide/.test(f)||(g||C.data("bs.tooltip",g=new m(this,P)),typeof f=="string"&&g[f]())})}var d=e.fn.tooltip;e.fn.tooltip=v,e.fn.tooltip.Constructor=m,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=d,this}})(jQuery),+(function(e){"use strict";var W=function(w,S){this.init("popover",w,S)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");W.VERSION="3.4.1",W.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),W.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),W.prototype.constructor=W,W.prototype.getDefaults=function(){return W.DEFAULTS},W.prototype.setContent=function(){var w=this.tip(),S=this.getTitle(),a=this.getContent();if(this.options.html){var b=typeof a;this.options.sanitize&&(S=this.sanitizeHtml(S),b==="string"&&(a=this.sanitizeHtml(a))),w.find(".popover-title").html(S),w.find(".popover-content").children().detach().end()[b==="string"?"html":"append"](a)}else w.find(".popover-title").text(S),w.find(".popover-content").children().detach().end().text(a);w.removeClass("fade top bottom left right in"),w.find(".popover-title").html()||w.find(".popover-title").hide()},W.prototype.hasContent=function(){return this.getTitle()||this.getContent()},W.prototype.getContent=function(){var w=this.$element,S=this.options;return w.attr("data-content")||(typeof S.content=="function"?S.content.call(w[0]):S.content)},W.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function M(w){return this.each(function(){var S=e(this),a=S.data("bs.popover"),b=typeof w=="object"&&w;!a&&/destroy|hide/.test(w)||(a||S.data("bs.popover",a=new W(this,b)),typeof w=="string"&&a[w]())})}var mt=e.fn.popover;e.fn.popover=M,e.fn.popover.Constructor=W,e.fn.popover.noConflict=function(){return e.fn.popover=mt,this}})(jQuery),+(function(e){"use strict";function W(w,S){this.$body=e(document.body),this.$scrollElement=e(w).is(document.body)?e(window):e(w),this.options=e.extend({},W.DEFAULTS,S),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}W.VERSION="3.4.1",W.DEFAULTS={offset:10},W.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},W.prototype.refresh=function(){var w=this,S="offset",a=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(S="position",a=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=e(this),x=b.data("target")||b.attr("href"),m=/^#./.test(x)&&e(x);return m&&m.length&&m.is(":visible")&&[[m[S]().top+a,x]]||null}).sort(function(b,x){return b[0]-x[0]}).each(function(){w.offsets.push(this[0]),w.targets.push(this[1])})},W.prototype.process=function(){var w=this.$scrollElement.scrollTop()+this.options.offset,S=this.getScrollHeight(),a=this.options.offset+S-this.$scrollElement.height(),b=this.offsets,x=this.targets,m=this.activeTarget,v;if(this.scrollHeight!=S&&this.refresh(),w>=a)return m!=(v=x[x.length-1])&&this.activate(v);if(m&&w<b[0])return this.activeTarget=null,this.clear();for(v=b.length;v--;)m!=x[v]&&w>=b[v]&&(b[v+1]===void 0||w<b[v+1])&&this.activate(x[v])},W.prototype.activate=function(w){this.activeTarget=w,this.clear();var S=this.selector+'[data-target="'+w+'"],'+this.selector+'[href="'+w+'"]',a=e(S).parents("li").addClass("active");a.parent(".dropdown-menu").length&&(a=a.closest("li.dropdown").addClass("active")),a.trigger("activate.bs.scrollspy")},W.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};function M(w){return this.each(function(){var S=e(this),a=S.data("bs.scrollspy"),b=typeof w=="object"&&w;a||S.data("bs.scrollspy",a=new W(this,b)),typeof w=="string"&&a[w]()})}var mt=e.fn.scrollspy;e.fn.scrollspy=M,e.fn.scrollspy.Constructor=W,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=mt,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var w=e(this);M.call(w,w.data())})})})(jQuery),+(function(e){"use strict";var W=function(S){this.element=e(S)};W.VERSION="3.4.1",W.TRANSITION_DURATION=150,W.prototype.show=function(){var S=this.element,a=S.closest("ul:not(.dropdown-menu)"),b=S.data("target");if(b||(b=S.attr("href"),b=b&&b.replace(/.*(?=#[^\s]*$)/,"")),!S.parent("li").hasClass("active")){var x=a.find(".active:last a"),m=e.Event("hide.bs.tab",{relatedTarget:S[0]}),v=e.Event("show.bs.tab",{relatedTarget:x[0]});if(x.trigger(m),S.trigger(v),!(v.isDefaultPrevented()||m.isDefaultPrevented())){var d=e(document).find(b);this.activate(S.closest("li"),a),this.activate(d,d.parent(),function(){x.trigger({type:"hidden.bs.tab",relatedTarget:S[0]}),S.trigger({type:"shown.bs.tab",relatedTarget:x[0]})})}}},W.prototype.activate=function(S,a,b){var x=a.find("> .active"),m=b&&e.support.transition&&(x.length&&x.hasClass("fade")||!!a.find("> .fade").length);function v(){x.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),S.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),m?(S[0].offsetWidth,S.addClass("in")):S.removeClass("fade"),S.parent(".dropdown-menu").length&&S.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),b&&b()}x.length&&m?x.one("bsTransitionEnd",v).emulateTransitionEnd(W.TRANSITION_DURATION):v(),x.removeClass("in")};function M(S){return this.each(function(){var a=e(this),b=a.data("bs.tab");b||a.data("bs.tab",b=new W(this)),typeof S=="string"&&b[S]()})}var mt=e.fn.tab;e.fn.tab=M,e.fn.tab.Constructor=W,e.fn.tab.noConflict=function(){return e.fn.tab=mt,this};var w=function(S){S.preventDefault(),M.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',w).on("click.bs.tab.data-api",'[data-toggle="pill"]',w)})(jQuery),+(function(e){"use strict";var W=function(w,S){this.options=e.extend({},W.DEFAULTS,S);var a=this.options.target===W.DEFAULTS.target?e(this.options.target):e(document).find(this.options.target);this.$target=a.on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(w),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};W.VERSION="3.4.1",W.RESET="affix affix-top affix-bottom",W.DEFAULTS={offset:0,target:window},W.prototype.getState=function(w,S,a,b){var x=this.$target.scrollTop(),m=this.$element.offset(),v=this.$target.height();if(a!=null&&this.affixed=="top")return x<a?"top":!1;if(this.affixed=="bottom")return a!=null?x+this.unpin<=m.top?!1:"bottom":x+v<=w-b?!1:"bottom";var d=this.affixed==null,f=d?x:m.top,C=d?v:S;return a!=null&&x<=a?"top":b!=null&&f+C>=w-b?"bottom":!1},W.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(W.RESET).addClass("affix");var w=this.$target.scrollTop(),S=this.$element.offset();return this.pinnedOffset=S.top-w},W.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},W.prototype.checkPosition=function(){if(this.$element.is(":visible")){var w=this.$element.height(),S=this.options.offset,a=S.top,b=S.bottom,x=Math.max(e(document).height(),e(document.body).height());typeof S!="object"&&(b=a=S),typeof a=="function"&&(a=S.top(this.$element)),typeof b=="function"&&(b=S.bottom(this.$element));var m=this.getState(x,w,a,b);if(this.affixed!=m){this.unpin!=null&&this.$element.css("top","");var v="affix"+(m?"-"+m:""),d=e.Event(v+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return;this.affixed=m,this.unpin=m=="bottom"?this.getPinnedOffset():null,this.$element.removeClass(W.RESET).addClass(v).trigger(v.replace("affix","affixed")+".bs.affix")}m=="bottom"&&this.$element.offset({top:x-w-b})}};function M(w){return this.each(function(){var S=e(this),a=S.data("bs.affix"),b=typeof w=="object"&&w;a||S.data("bs.affix",a=new W(this,b)),typeof w=="string"&&a[w]()})}var mt=e.fn.affix;e.fn.affix=M,e.fn.affix.Constructor=W,e.fn.affix.noConflict=function(){return e.fn.affix=mt,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var w=e(this),S=w.data();S.offset=S.offset||{},S.offsetBottom!=null&&(S.offset.bottom=S.offsetBottom),S.offsetTop!=null&&(S.offset.top=S.offsetTop),M.call(w,S)})})})(jQuery);(function(e){typeof define=="function"&&define.amd?define(["jquery"],e):typeof exports=="object"?module.exports=e(require("jquery")):e(jQuery)})(function(e){"use strict";var W="readmore",M={speed:100,collapsedHeight:200,heightMargin:16,moreLink:'<a href="#">Read More</a>',lessLink:'<a href="#">Close</a>',embedCSS:!0,blockCSS:"display: block; width: 100%;",startOpen:!1,blockProcessed:function(){},beforeToggle:function(){},afterToggle:function(){}},mt={},w=0;function S(d,f,C){var g;return function(){var P=this,A=arguments,u=function(){g=null,C||d.apply(P,A)},r=C&&!g;clearTimeout(g),g=setTimeout(u,f),r&&d.apply(P,A)}}function a(d){var f=++w;return String(d==null?"rmjs-":d)+f}function b(d){var f=d.clone().css({height:"auto",width:d.innerWidth(),maxHeight:"none",overflow:"hidden"}).insertAfter(d),C=f.outerHeight(),g=parseInt(f.css({maxHeight:""}).css("max-height").replace(/[^-\d\.]/g,""),10),P=d.data("defaultHeight");f.remove();
4var A=g||d.data("collapsedHeight")||P;d.data({expandedHeight:C,maxHeight:g,collapsedHeight:A}).css({maxHeight:"none"})}var x=S(function(){e("[data-readmore]").each(function(){var d=e(this),f=d.attr("aria-expanded")==="true";b(d),d.css({height:d.data(f?"expandedHeight":"collapsedHeight")})})},100);function m(d){if(!mt[d.selector]){var f=" ";d.embedCSS&&d.blockCSS!==""&&(f+=d.selector+" + [data-readmore-toggle], "+d.selector+"[data-readmore]{"+d.blockCSS+"}"),f+=d.selector+"[data-readmore]{transition: height "+d.speed+"ms;overflow: hidden;}",(function(C,g){var P=C.createElement("style");P.type="text/css",P.styleSheet?P.styleSheet.cssText=g:P.appendChild(C.createTextNode(g)),C.getElementsByTagName("head")[0].appendChild(P)})(document,f),mt[d.selector]=!0}}function v(d,f){this.element=d,this.options=e.extend({},M,f),m(this.options),this._defaults=M,this._name=W,this.init(),window.addEventListener?(window.addEventListener("load",x),window.addEventListener("resize",x)):(window.attachEvent("load",x),window.attachEvent("resize",x))}v.prototype={init:function(){var d=e(this.element);d.data({defaultHeight:this.options.collapsedHeight,heightMargin:this.options.heightMargin}),b(d);var f=d.data("collapsedHeight"),C=d.data("heightMargin");if(d.outerHeight(!0)<=f+C)return this.options.blockProcessed&&typeof this.options.blockProcessed=="function"&&this.options.blockProcessed(d,!1),!0;var g=d.attr("id")||a(),P=this.options.startOpen?this.options.lessLink:this.options.moreLink;d.attr({"data-readmore":"","aria-expanded":this.options.startOpen,id:g}),d.after(e(P).on("click",(function(A){return function(u){A.toggle(this,d[0],u)}})(this)).attr({"data-readmore-toggle":g,"aria-controls":g})),this.options.startOpen||d.css({height:f}),this.options.blockProcessed&&typeof this.options.blockProcessed=="function"&&this.options.blockProcessed(d,!0)},toggle:function(d,f,C){C&&C.preventDefault(),d||(d=e('[aria-controls="'+this.element.id+'"]')[0]),f||(f=this.element);var g=e(f),P="",A="",u=!1,r=g.data("collapsedHeight");g.height()<=r?(P=g.data("expandedHeight")+"px",A="lessLink",u=!0):(P=r,A="moreLink"),this.options.beforeToggle&&typeof this.options.beforeToggle=="function"&&this.options.beforeToggle(d,g,!u),g.css({height:P}),g.on("transitionend",(function(c){return function(){c.options.afterToggle&&typeof c.options.afterToggle=="function"&&c.options.afterToggle(d,g,u),e(this).attr({"aria-expanded":u}).off("transitionend")}})(this)),e(d).replaceWith(e(this.options[A]).on("click",(function(c){return function(T){c.toggle(this,f,T)}})(this)).attr({"data-readmore-toggle":g.attr("id"),"aria-controls":g.attr("id")}))},destroy:function(){e(this.element).each(function(){var d=e(this);d.attr({"data-readmore":null,"aria-expanded":null}).css({maxHeight:"",height:""}).next("[data-readmore-toggle]").remove(),d.removeData()})}},e.fn.readmore=function(d){var f=arguments,C=this.selector||"";if(d=d||{},typeof d=="object")return this.each(function(){if(e.data(this,"plugin_"+W)){var g=e.data(this,"plugin_"+W);g.destroy.apply(g)}d.selector=C,e.data(this,"plugin_"+W,new v(this,d))});if(typeof d=="string"&&d[0]!=="_"&&d!=="init")return this.each(function(){var g=e.data(this,"plugin_"+W);g instanceof v&&typeof g[d]=="function"&&g[d].apply(g,Array.prototype.slice.call(f,1))})}});(function(e,W){typeof define=="function"&&define.amd?define(["jquery"],function(M){return W(M)}):typeof module=="object"&&module.exports?module.exports=W(require("jquery")):W(e.jQuery)})(this,function(e){(function(W){"use strict";String.prototype.includes||(function(){"use strict";var g={}.toString,P=(function(){try{var r={},c=Object.defineProperty,T=c(r,r,r)&&c}catch(k){}return T})(),A="".indexOf,u=function(r){if(this==null)throw new TypeError;var c=String(this);if(r&&g.call(r)=="[object RegExp]")throw new TypeError;var T=c.length,k=String(r),l=k.length,R=arguments.length>1?arguments[1]:void 0,F=R?Number(R):0;F!=F&&(F=0);var Y=Math.min(Math.max(F,0),T);return l+Y>T?!1:A.call(c,k,F)!=-1};P?P(String.prototype,"includes",{value:u,configurable:!0,writable:!0}):String.prototype.includes=u})(),String.prototype.startsWith||(function(){"use strict";var g=(function(){try{var u={},r=Object.defineProperty,c=r(u,u,u)&&r}catch(T){}return c})(),P={}.toString,A=function(u){if(this==null)throw new TypeError;var r=String(this);if(u&&P.call(u)=="[object RegExp]")throw new TypeError;var c=r.length,T=String(u),k=T.length,l=arguments.length>1?arguments[1]:void 0,R=l?Number(l):0;R!=R&&(R=0);var F=Math.min(Math.max(R,0),c);if(k+F>c)return!1;for(var Y=-1;++Y<k;)if(r.charCodeAt(F+Y)!=T.charCodeAt(Y))return!1;return!0};g?g(String.prototype,"startsWith",{value:A,configurable:!0,writable:!0}):String.prototype.startsWith=A})(),Object.keys||(Object.keys=function(g,P,A){A=[];for(P in g)A.hasOwnProperty.call(g,P)&&A.push(P);return A});var M={useDefault:!1,_set:W.valHooks.select.set};W.valHooks.select.set=function(g,P){return P&&!M.useDefault&&W(g).data("selected",!0),M._set.apply(this,arguments)};var mt=null,w=(function(){try{return new Event("change"),!0}catch(g){return!1}})();W.fn.triggerNative=function(g){var P=this[0],A;
4P.dispatchEvent?(w?A=new Event(g,{bubbles:!0}):(A=document.createEvent("Event"),A.initEvent(g,!0,!1)),P.dispatchEvent(A)):P.fireEvent?(A=document.createEventObject(),A.eventType=g,P.fireEvent("on"+g,A)):this.trigger(g)},W.expr.pseudos.icontains=function(g,P,A){var u=W(g).find("a"),r=(u.data("tokens")||u.text()).toString().toUpperCase();return r.includes(A[3].toUpperCase())},W.expr.pseudos.ibegins=function(g,P,A){var u=W(g).find("a"),r=(u.data("tokens")||u.text()).toString().toUpperCase();return r.startsWith(A[3].toUpperCase())},W.expr.pseudos.aicontains=function(g,P,A){var u=W(g).find("a"),r=(u.data("tokens")||u.data("normalizedText")||u.text()).toString().toUpperCase();return r.includes(A[3].toUpperCase())},W.expr.pseudos.aibegins=function(g,P,A){var u=W(g).find("a"),r=(u.data("tokens")||u.data("normalizedText")||u.text()).toString().toUpperCase();return r.startsWith(A[3].toUpperCase())};function S(g){var P=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return W.each(P,function(){g=g?g.replace(this.re,this.ch):""}),g}var a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},x=function(g){var P=function(c){return g[c]},A="(?:"+Object.keys(g).join("|")+")",u=RegExp(A),r=RegExp(A,"g");return function(c){return c=c==null?"":""+c,u.test(c)?c.replace(r,P):c}},m=x(a),v=x(b),d=function(g,P){M.useDefault||(W.valHooks.select.set=M._set,M.useDefault=!0),this.$element=W(g),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=P,this.options.title===null&&(this.options.title=this.$element.attr("title"));var A=this.options.windowPadding;typeof A=="number"&&(this.options.windowPadding=[A,A,A,A]),this.val=d.prototype.val,this.render=d.prototype.render,this.refresh=d.prototype.refresh,this.setStyle=d.prototype.setStyle,this.selectAll=d.prototype.selectAll,this.deselectAll=d.prototype.deselectAll,this.destroy=d.prototype.destroy,this.remove=d.prototype.remove,this.show=d.prototype.show,this.hide=d.prototype.hide,this.init()};d.VERSION="1.12.4",d.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(g,P){return g==1?"{0} item selected":"{0} items selected"},maxOptionsText:function(g,P){return[g==1?"Limit reached ({n} item max)":"Limit reached ({n} items max)",P==1?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0},d.prototype={constructor:d,init:function(){var g=this,P=this.$element.attr("id");this.$element.addClass("bs-select-hidden"),this.liObj={},this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement).appendTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(".dropdown-menu"),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element.removeClass("bs-select-hidden"),this.options.dropdownAlignRight===!0&&this.$menu.addClass("dropdown-menu-right"),typeof P!="undefined"&&(this.$button.attr("data-id",P),W('label[for="'+P+'"]').click(function(A){A.preventDefault(),g.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(A){g.$menuInner.attr("aria-expanded",!1),g.$element.trigger("hide.bs.select",A)},"hidden.bs.dropdown":function(A){g.$element.trigger("hidden.bs.select",A)},"show.bs.dropdown":function(A){g.$menuInner.attr("aria-expanded",!0),g.$element.trigger("show.bs.select",A)},"shown.bs.dropdown":function(A){g.$element.trigger("shown.bs.select",A)}}),g.$element[0].hasAttribute("required")&&this.$element.on("invalid",function(){g.$button.addClass("bs-invalid"),g.$element.on({"focus.bs.select":function(){g.$button.focus(),g.$element.off("focus.bs.select")},"shown.bs.select":function(){g.$element.val(g.$element.val()).off("shown.bs.select")},"rendered.bs.select":function(){this.validity.valid&&g.$button.removeClass("bs-invalid"),g.$element.off("rendered.bs.select")}}),g.$button.on("blur.bs.select",function(){g.$element.focus().blur(),g.$button.off("blur.bs.select")})}),setTimeout(function(){g.$element.trigger("loaded.bs.select")})},createDropdown:function(){var g=this.multiple||this.options.showTick?" show-tick":"",P=this.$element.parent().hasClass("input-group")?" input-group-btn":"",A=this.autofocus?" autofocus":"",u=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",r=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(this.options.liveSearchPlaceholder===null?"":' placeholder="'+m(this.options.liveSearchPlaceholder)+'"')+' role="textbox" aria-label="Search"></div>':"",c=this.multiple&&this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn btn-default">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn btn-default">'+this.options.deselectAllText+"</button></div></div>":"",T=this.multiple&&this.options.doneButton?'<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm btn-default">'+this.options.doneButtonText+"</button></div></div>":"",k='<div class="btn-group bootstrap-select'+g+P+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" data-toggle="dropdown"'+A+' role="button"><span class="filter-option pull-left"></span>&nbsp;<span class="bs-caret">'+this.options.template.caret+'</span></button><div class="dropdown-menu open" role="combobox">'+u+r+c+'<ul class="dropdown-menu inner" role="listbox" aria-expanded="false"></ul>'+T+"</div></div>";return W(k)},createView:function(){var g=this.createDropdown(),P=this.createLi();return g.find("ul")[0].innerHTML=P,g},reloadLi:function(){var g=this.createLi();this.$menuInner[0].innerHTML=g},createLi:function(){var g=this,P=[],A=0,u=document.createElement("option"),r=-1,c=function(F,Y,G,j){return"<li"+(typeof G!="undefined"&&G!==""?' class="'+G+'"':"")+(typeof Y!="undefined"&&Y!==null?' data-original-index="'+Y+'"':"")+(typeof j!="undefined"&&j!==null?'data-optgroup="'+j+'"':"")+">"+F+"</li>"},T=function(F,Y,G,j){return'<a tabindex="0"'+(typeof Y!="undefined"?' class="'+Y+'"':"")+(G?' style="'+G+'"':"")+(g.options.liveSearchNormalize?' data-normalized-text="'+S(m(W(F).html()))+'"':"")+(typeof j!="undefined"||j!==null?' data-tokens="'+j+'"':"")+' role="option">'+F+'<span class="'+g.options.iconBase+" "+g.options.tickIcon+' check-mark"></span></a>'};if(this.options.title&&!this.multiple&&(r--,!this.$element.find(".bs-title-option").length)){var k=this.$element[0];u.className="bs-title-option",u.innerHTML=this.options.title,u.value="",k.insertBefore(u,k.firstChild);var l=W(k.options[k.selectedIndex]);l.attr("selected")===void 0&&this.$element.data("selected")===void 0&&(u.selected=!0)}var R=this.$element.find("option");return R.each(function(F){var Y=W(this);if(r++,!Y.hasClass("bs-title-option")){var G=this.className||"",j=m(this.style.cssText),Z=Y.data("content")?Y.data("content"):Y.html(),H=Y.data("tokens")?Y.data("tokens"):null,ht=typeof Y.data("subtext")!="undefined"?'<small class="text-muted">'+Y.data("subtext")+"</small>":"",lt=typeof Y.data("icon")!="undefined"?'<span class="'+g.options.iconBase+" "+Y.data("icon")+'"></span> ':"",ut=Y.parent(),pt=ut[0].tagName==="OPTGROUP",wt=pt&&ut[0].disabled,_t=this.disabled||wt,Tt;if(lt!==""&&_t&&(lt="<span>"+lt+"</span>"),g.options.hideDisabled&&(_t&&!pt||wt)){Tt=Y.data("prevHiddenIndex"),Y.next().data("prevHiddenIndex",Tt!==void 0?Tt:F),r--;return}if(Y.data("content")||(Z=lt+'<span class="text">'+Z+ht+"</span>"),pt&&Y.data("divider")!==!0){if(g.options.hideDisabled&&_t){if(ut.data("allOptionsDisabled")===void 0){var Ut=ut.children();ut.data("allOptionsDisabled",Ut.filter(":disabled").length===Ut.length)}if(ut.data("allOptionsDisabled")){r--;return}}var Xt=" "+ut[0].className||"";if(Y.index()===0){A+=1;var Jt=ut[0].label,qt=typeof ut.data("subtext")!="undefined"?'<small class="text-muted">'+ut.data("subtext")+"</small>":"",zt=ut.data("icon")?'<span class="'+g.options.iconBase+" "+ut.data("icon")+'"></span> ':"";Jt=zt+'<span class="text">
4'+m(Jt)+qt+"</span>",F!==0&&P.length>0&&(r++,P.push(c("",null,"divider",A+"div"))),r++,P.push(c(Jt,null,"dropdown-header"+Xt,A))}if(g.options.hideDisabled&&_t){r--;return}P.push(c(T(Z,"opt "+G+Xt,j,H),F,"",A))}else if(Y.data("divider")===!0)P.push(c("",F,"divider"));else if(Y.data("hidden")===!0)Tt=Y.data("prevHiddenIndex"),Y.next().data("prevHiddenIndex",Tt!==void 0?Tt:F),P.push(c(T(Z,G,j,H),F,"hidden is-hidden"));else{var Zt=this.previousElementSibling&&this.previousElementSibling.tagName==="OPTGROUP";if(!Zt&&g.options.hideDisabled&&(Tt=Y.data("prevHiddenIndex"),Tt!==void 0)){var Gt=R.eq(Tt)[0].previousElementSibling;Gt&&Gt.tagName==="OPTGROUP"&&!Gt.disabled&&(Zt=!0)}Zt&&(r++,P.push(c("",null,"divider",A+"div"))),P.push(c(T(Z,G,j,H),F))}g.liObj[F]=r}}),!this.multiple&&this.$element.find("option:selected").length===0&&!this.options.title&&this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),P.join("")},findLis:function(){return this.$lis==null&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(g){var P=this,A,u=this.$element.find("option");g!==!1&&u.each(function(R){var F=P.findLis().eq(P.liObj[R]);P.setDisabled(R,this.disabled||this.parentNode.tagName==="OPTGROUP"&&this.parentNode.disabled,F),P.setSelected(R,this.selected,F)}),this.togglePlaceholder(),this.tabIndex();var r=u.map(function(){if(this.selected){if(P.options.hideDisabled&&(this.disabled||this.parentNode.tagName==="OPTGROUP"&&this.parentNode.disabled))return;var R=W(this),F=R.data("icon")&&P.options.showIcon?'<i class="'+P.options.iconBase+" "+R.data("icon")+'"></i> ':"",Y;return P.options.showSubtext&&R.data("subtext")&&!P.multiple?Y=' <small class="text-muted">'+R.data("subtext")+"</small>":Y="",typeof R.attr("title")!="undefined"?R.attr("title"):R.data("content")&&P.options.showContent?R.data("content").toString():F+R.html()+Y}}).toArray(),c=this.multiple?r.join(this.options.multipleSeparator):r[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var T=this.options.selectedTextFormat.split(">");if(T.length>1&&r.length>T[1]||T.length==1&&r.length>=2){A=this.options.hideDisabled?", [disabled]":"";var k=u.not('[data-divider="true"], [data-hidden="true"]'+A).length,l=typeof this.options.countSelectedText=="function"?this.options.countSelectedText(r.length,k):this.options.countSelectedText;c=l.replace("{0}",r.length.toString()).replace("{1}",k.toString())}}this.options.title==null&&(this.options.title=this.$element.attr("title")),this.options.selectedTextFormat=="static"&&(c=this.options.title),c||(c=typeof this.options.title!="undefined"?this.options.title:this.options.noneSelectedText),this.$button.attr("title",v(W.trim(c.replace(/<[^>]*>?/g,"")))),this.$button.children(".filter-option").html(c),this.$element.trigger("rendered.bs.select")},setStyle:function(g,P){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var A=g||this.options.style;P=="add"?this.$button.addClass(A):P=="remove"?this.$button.removeClass(A):(this.$button.removeClass(this.options.style),this.$button.addClass(A))},liHeight:function(g){if(!(!g&&(this.options.size===!1||this.sizeInfo))){var P=document.createElement("div"),A=document.createElement("div"),u=document.createElement("ul"),r=document.createElement("li"),c=document.createElement("li"),T=document.createElement("a"),k=document.createElement("span"),l=this.options.header&&this.$menu.find(".popover-title").length>0?this.$menu.find(".popover-title")[0].cloneNode(!0):null,R=this.options.liveSearch?document.createElement("div"):null,F=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,Y=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null;if(k.className="text",P.className=this.$menu[0].parentNode.className+" open",A.className="dropdown-menu open",u.className="dropdown-menu inner",r.className="divider",k.appendChild(document.createTextNode("Inner text")),T.appendChild(k),c.appendChild(T),u.appendChild(c),u.appendChild(r),l&&A.appendChild(l),R){var G=document.createElement("input");R.className="bs-searchbox",G.className="form-control",R.appendChild(G),A.appendChild(R)}
4F&&A.appendChild(F),A.appendChild(u),Y&&A.appendChild(Y),P.appendChild(A),document.body.appendChild(P);var j=T.offsetHeight,Z=l?l.offsetHeight:0,H=R?R.offsetHeight:0,ht=F?F.offsetHeight:0,lt=Y?Y.offsetHeight:0,ut=W(r).outerHeight(!0),pt=typeof getComputedStyle=="function"?getComputedStyle(A):!1,wt=pt?null:W(A),_t={vert:parseInt(pt?pt.paddingTop:wt.css("paddingTop"))+parseInt(pt?pt.paddingBottom:wt.css("paddingBottom"))+parseInt(pt?pt.borderTopWidth:wt.css("borderTopWidth"))+parseInt(pt?pt.borderBottomWidth:wt.css("borderBottomWidth")),horiz:parseInt(pt?pt.paddingLeft:wt.css("paddingLeft"))+parseInt(pt?pt.paddingRight:wt.css("paddingRight"))+parseInt(pt?pt.borderLeftWidth:wt.css("borderLeftWidth"))+parseInt(pt?pt.borderRightWidth:wt.css("borderRightWidth"))},Tt={vert:_t.vert+parseInt(pt?pt.marginTop:wt.css("marginTop"))+parseInt(pt?pt.marginBottom:wt.css("marginBottom"))+2,horiz:_t.horiz+parseInt(pt?pt.marginLeft:wt.css("marginLeft"))+parseInt(pt?pt.marginRight:wt.css("marginRight"))+2};document.body.removeChild(P),this.sizeInfo={liHeight:j,headerHeight:Z,searchHeight:H,actionsHeight:ht,doneButtonHeight:lt,dividerHeight:ut,menuPadding:_t,menuExtras:Tt}}},setSize:function(){if(this.findLis(),this.liHeight(),this.options.header&&this.$menu.css("padding-top",0),this.options.size!==!1){var g=this,P=this.$menu,A=this.$menuInner,u=W(window),r=this.$newElement[0].offsetHeight,c=this.$newElement[0].offsetWidth,T=this.sizeInfo.liHeight,k=this.sizeInfo.headerHeight,l=this.sizeInfo.searchHeight,R=this.sizeInfo.actionsHeight,F=this.sizeInfo.doneButtonHeight,Y=this.sizeInfo.dividerHeight,G=this.sizeInfo.menuPadding,j=this.sizeInfo.menuExtras,Z=this.options.hideDisabled?".disabled":"",H,ht,lt,ut,pt,wt,_t,Tt,Ut=function(){var zt=g.$newElement.offset(),Zt=W(g.options.container),Gt;g.options.container&&!Zt.is("body")?(Gt=Zt.offset(),Gt.top+=parseInt(Zt.css("borderTopWidth")),Gt.left+=parseInt(Zt.css("borderLeftWidth"))):Gt={top:0,left:0};var te=g.options.windowPadding;pt=zt.top-Gt.top-u.scrollTop(),wt=u.height()-pt-r-Gt.top-te[2],_t=zt.left-Gt.left-u.scrollLeft(),Tt=u.width()-_t-c-Gt.left-te[1],pt-=te[0],_t-=te[3]};if(Ut(),this.options.size==="auto"){var Xt=function(){var zt,Zt=function(Te,ve){return function(Se){return ve?Se.classList?Se.classList.contains(Te):W(Se).hasClass(Te):!(Se.classList?Se.classList.contains(Te):W(Se).hasClass(Te))}},Gt=g.$menuInner[0].getElementsByTagName("li"),te=Array.prototype.filter?Array.prototype.filter.call(Gt,Zt("hidden",!1)):g.$lis.not(".hidden"),ie=Array.prototype.filter?Array.prototype.filter.call(te,Zt("dropdown-header",!0)):te.filter(".dropdown-header");Ut(),H=wt-j.vert,ht=Tt-j.horiz,g.options.container?(P.data("height")||P.data("height",P.height()),lt=P.data("height"),P.data("width")||P.data("width",P.width()),ut=P.data("width")):(lt=P.height(),ut=P.width()),g.options.dropupAuto&&g.$newElement.toggleClass("dropup",pt>wt&&H-j.vert<lt),g.$newElement.hasClass("dropup")&&(H=pt-j.vert),g.options.dropdownAlignRight==="auto"&&P.toggleClass("dropdown-menu-right",_t>Tt&&ht-j.horiz<ut-c),te.length+ie.length>3?zt=T*3+j.vert-2:zt=0,P.css({"max-height":H+"px",overflow:"hidden","min-height":zt+k+l+R+F+"px"}),A.css({"max-height":H-k-l-R-F-G.vert+"px","overflow-y":"auto","min-height":Math.max(zt-G.vert,0)+"px"})};Xt(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",Xt),u.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",Xt)}else if(this.options.size&&this.options.size!="auto"&&this.$lis.not(Z).length>this.options.size){var Jt=this.$lis.not(".divider").not(Z).children().slice(0,this.options.size).last().parent().index(),qt=this.$lis.slice(0,Jt+1).filter(".divider").length;H=T*this.options.size+qt*Y+G.vert,g.options.container?(P.data("height")||P.data("height",P.height()),lt=P.data("height")):lt=P.height(),g.options.dropupAuto&&this.$newElement.toggleClass("dropup",pt>wt&&H-j.vert<lt),P.css({"max-height":H+k+l+R+F+"px",overflow:"hidden","min-height":""}),A.css({"max-height":H-G.vert+"px","overflow-y":"auto","min-height":""})}}},setWidth:function(){if(this.options.width==="auto"){this.$menu.css("min-width","0");var g=this.$menu.parent().clone().appendTo("body"),P=this.options.container?this.$newElement.clone().appendTo("body"):g,A=g.children(".dropdown-menu").outerWidth(),u=P.css("width","auto").children("button").outerWidth();g.remove(),P.remove(),this.$newElement.css("width",Math.max(A,u)+"px")}else this.options.width==="fit"?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&this.options.width!=="fit"&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=W('<div class="bs-container" />');var g=this,P=W(this.options.container),A,u,r,c=function(T){g.$bsContainer.addClass(T.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass("dropup",T.hasClass("dropup")),A=T.offset(),P.is("body")?u={to
4p:0,left:0}:(u=P.offset(),u.top+=parseInt(P.css("borderTopWidth"))-P.scrollTop(),u.left+=parseInt(P.css("borderLeftWidth"))-P.scrollLeft()),r=T.hasClass("dropup")?0:T[0].offsetHeight,g.$bsContainer.css({top:A.top-u.top+r,left:A.left-u.left,width:T[0].offsetWidth})};this.$button.on("click",function(){var T=W(this);g.isDisabled()||(c(g.$newElement),g.$bsContainer.appendTo(g.options.container).toggleClass("open",!T.hasClass("open")).append(g.$menu))}),W(window).on("resize scroll",function(){c(g.$newElement)}),this.$element.on("hide.bs.select",function(){g.$menu.data("height",g.$menu.height()),g.$bsContainer.detach()})},setSelected:function(g,P,A){A||(this.togglePlaceholder(),A=this.findLis().eq(this.liObj[g])),A.toggleClass("selected",P).find("a").attr("aria-selected",P)},setDisabled:function(g,P,A){A||(A=this.findLis().eq(this.liObj[g])),P?A.addClass("disabled").children("a").attr("href","#").attr("tabindex",-1).attr("aria-disabled",!0):A.removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0).attr("aria-disabled",!1)},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var g=this;this.isDisabled()?(this.$newElement.addClass("disabled"),this.$button.addClass("disabled").attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button.hasClass("disabled")&&(this.$newElement.removeClass("disabled"),this.$button.removeClass("disabled").attr("aria-disabled",!1)),this.$button.attr("tabindex")==-1&&!this.$element.data("tabindex")&&this.$button.removeAttr("tabindex")),this.$button.click(function(){return!g.isDisabled()})},togglePlaceholder:function(){var g=this.$element.val();this.$button.toggleClass("bs-placeholder",g===null||g===""||g.constructor===Array&&g.length===0)},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&this.$element.attr("tabindex")!==-98&&this.$element.attr("tabindex")!=="-98"&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){var g=this,P=W(document);P.data("spaceSelect",!1),this.$button.on("keyup",function(A){/(32)/.test(A.keyCode.toString(10))&&P.data("spaceSelect")&&(A.preventDefault(),P.data("spaceSelect",!1))}),this.$button.on("click",function(){g.setSize()}),this.$element.on("shown.bs.select",function(){if(!g.options.liveSearch&&!g.multiple)g.$menuInner.find(".selected a").focus();else if(!g.multiple){var A=g.liObj[g.$element[0].selectedIndex];if(typeof A!="number"||g.options.size===!1)return;var u=g.$lis.eq(A)[0].offsetTop-g.$menuInner[0].offsetTop;u=u-g.$menuInner[0].offsetHeight/2+g.sizeInfo.liHeight/2,g.$menuInner[0].scrollTop=u}}),this.$menuInner.on("click","li a",function(A){var u=W(this),r=u.parent().data("originalIndex"),c=g.$element.val(),T=g.$element.prop("selectedIndex"),k=!0;if(g.multiple&&g.options.maxOptions!==1&&A.stopPropagation(),A.preventDefault(),!g.isDisabled()&&!u.parent().hasClass("disabled")){var l=g.$element.find("option"),R=l.eq(r),F=R.prop("selected"),Y=R.parent("optgroup"),G=g.options.maxOptions,j=Y.data("maxOptions")||!1;if(!g.multiple)l.prop("selected",!1),R.prop("selected",!0),g.$menuInner.find(".selected").removeClass("selected").find("a").attr("aria-selected",!1),g.setSelected(r,!0);else if(R.prop("selected",!F),g.setSelected(r,!F),u.blur(),G!==!1||j!==!1){var Z=G<l.filter(":selected").length,H=j<Y.find("option:selected").length;if(G&&Z||j&&H)if(G&&G==1)l.prop("selected",!1),R.prop("selected",!0),g.$menuInner.find(".selected").removeClass("selected"),g.setSelected(r,!0);else if(j&&j==1){Y.find("option:selected").prop("selected",!1),R.prop("selected",!0);var ht=u.parent().data("optgroup");g.$menuInner.find('[data-optgroup="'+ht+'"]').removeClass("selected"),g.setSelected(r,!0)}else{var lt=typeof g.options.maxOptionsText=="string"?[g.options.maxOptionsText,g.options.maxOptionsText]:g.options.maxOptionsText,ut=typeof lt=="function"?lt(G,j):lt,pt=ut[0].replace("{n}",G),wt=ut[1].replace("{n}",j),_t=W('<div class="notify"></div>');ut[2]&&(pt=pt.replace("{var}",ut[2][G>1?0:1]),wt=wt.replace("{var}",ut[2][j>1?0:1])),R.prop("selected",!1),g.$menu.append(_t),G&&Z&&(_t.append(W("<div>"+pt+"</div>")),k=!1,g.$element.trigger("maxReached.bs.select")),j&&H&&(_t.append(W("<div>"+wt+"</div>")),k=!1,g.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){g.setSelected(r,!1)},10),_t.delay(750).fadeOut(300,function(){W(this).remove()})}}!g.multiple||g.multiple&&g.options.maxOptions===1?g.$button.focus():g.options.liveSearch&&g.$searchbox.focus(),k&&(c!=g.$element.val()&&g.multiple||T!=g.$element.prop("selectedIndex")&&!g.multiple)&&(mt=[r,R.prop("selected"),F],g.$element.triggerNative("change"))}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(A){A.currentTarget==this&&(A.preventDefault(),A.stopPropagation(),g.options.liveSearch&&!W(A.target).hasClass("close")?g.$searchbox.focus():g.$button.focus())}
4),this.$menuInner.on("click",".divider, .dropdown-header",function(A){A.preventDefault(),A.stopPropagation(),g.options.liveSearch?g.$searchbox.focus():g.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){g.$button.click()}),this.$searchbox.on("click",function(A){A.stopPropagation()}),this.$menu.on("click",".actions-btn",function(A){g.options.liveSearch?g.$searchbox.focus():g.$button.focus(),A.preventDefault(),A.stopPropagation(),W(this).hasClass("bs-select-all")?g.selectAll():g.deselectAll()}),this.$element.change(function(){g.render(!1),g.$element.trigger("changed.bs.select",mt),mt=null})},liveSearchListener:function(){var g=this,P=W('<li class="no-results"></li>');this.$button.on("click.dropdown.data-api",function(){g.$menuInner.find(".active").removeClass("active"),g.$searchbox.val()&&(g.$searchbox.val(""),g.$lis.not(".is-hidden").removeClass("hidden"),P.parent().length&&P.remove()),g.multiple||g.$menuInner.find(".selected").addClass("active"),setTimeout(function(){g.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(A){A.stopPropagation()}),this.$searchbox.on("input propertychange",function(){if(g.$lis.not(".is-hidden").removeClass("hidden"),g.$lis.filter(".active").removeClass("active"),P.remove(),g.$searchbox.val()){var A=g.$lis.not(".is-hidden, .divider, .dropdown-header"),u;if(g.options.liveSearchNormalize?u=A.not(":a"+g._searchStyle()+'("'+S(g.$searchbox.val())+'")'):u=A.not(":"+g._searchStyle()+'("'+g.$searchbox.val()+'")'),u.length===A.length)P.html(g.options.noneResultsText.replace("{0}",'"'+m(g.$searchbox.val())+'"')),g.$menuInner.append(P),g.$lis.addClass("hidden");else{u.addClass("hidden");var r=g.$lis.not(".hidden"),c;r.each(function(T){var k=W(this);k.hasClass("divider")?c===void 0?k.addClass("hidden"):(c&&c.addClass("hidden"),c=k):k.hasClass("dropdown-header")&&r.eq(T+1).data("optgroup")!==k.data("optgroup")?k.addClass("hidden"):c=null}),c&&c.addClass("hidden"),A.not(".hidden").first().addClass("active"),g.$menuInner.scrollTop(0)}}})},_searchStyle:function(){var g={begins:"ibegins",startsWith:"ibegins"};return g[this.options.liveSearchStyle]||"icontains"},val:function(g){return typeof g!="undefined"?(this.$element.val(g),this.render(),this.$element):this.$element.val()},changeAll:function(g){if(this.multiple){typeof g=="undefined"&&(g=!0),this.findLis();var P=this.$element.find("option"),A=this.$lis.not(".divider, .dropdown-header, .disabled, .hidden"),u=A.length,r=[];if(g){if(A.filter(".selected").length===A.length)return}else if(A.filter(".selected").length===0)return;A.toggleClass("selected",g);for(var c=0;c<u;c++){var T=A[c].getAttribute("data-original-index");r[r.length]=P.eq(T)[0]}W(r).prop("selected",g),this.render(!1),this.togglePlaceholder(),this.$element.triggerNative("change")}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(g){g=g||window.event,g&&g.stopPropagation(),this.$button.trigger("click")},keydown:function(g){var P=W(this),A=P.is("input")?P.parent().parent():P.parent(),u,r=A.data("this"),c,T,k,l=":not(.disabled, .hidden, .dropdown-header, .divider)",R={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};if(k=r.$newElement.hasClass("open"),!k&&(g.keyCode>=48&&g.keyCode<=57||g.keyCode>=96&&g.keyCode<=105||g.keyCode>=65&&g.keyCode<=90)){r.options.container?r.$button.trigger("click"):(r.setSize(),r.$menu.parent().addClass("open"),k=!0),r.$searchbox.focus();return}if(r.options.liveSearch&&/(^9$|27)/.test(g.keyCode.toString(10))&&k&&(g.preventDefault(),g.stopPropagation(),r.$menuInner.click(),r.$button.focus()),/(38|40)/.test(g.keyCode.toString(10))){if(u=r.$lis.filter(l),!u.length)return;r.options.liveSearch?c=u.index(u.filter(".active")):c=u.index(u.find("a").filter(":focus").parent()),T=r.$menuInner.data("prevIndex"),g.keyCode==38?((r.options.liveSearch||c==T)&&c!=-1&&c--,c<0&&(c+=u.length)):g.keyCode==40&&((r.options.liveSearch||c==T)&&c++,c=c%u.length),r.$menuInner.data("prevIndex",c),r.options.liveSearch?(g.preventDefault(),P.hasClass("dropdown-toggle")||(u.removeClass("active").eq(c).addClass("active").children("a").focus(),P.focus())):u.eq(c).children("a").focus()}else if(!P.is("input")){var F=[],Y,G;u=r.$lis.filter(l),u.each(function(Z){W.trim(W(this).children("a").text().toLowerCase()).substring(0,1)==R[g.keyCode]&&F.push(Z)}
4),Y=W(document).data("keycount"),Y++,W(document).data("keycount",Y),G=W.trim(W(":focus").text().toLowerCase()).substring(0,1),G!=R[g.keyCode]?(Y=1,W(document).data("keycount",Y)):Y>=F.length&&(W(document).data("keycount",0),Y>F.length&&(Y=1)),u.eq(F[Y-1]).children("a").focus()}if((/(13|32)/.test(g.keyCode.toString(10))||/(^9$)/.test(g.keyCode.toString(10))&&r.options.selectOnTab)&&k){if(/(32)/.test(g.keyCode.toString(10))||g.preventDefault(),r.options.liveSearch)/(32)/.test(g.keyCode.toString(10))||(r.$menuInner.find(".active a").click(),P.focus());else{var j=W(":focus");j.click(),j.focus(),g.preventDefault(),W(document).data("spaceSelect",!0)}W(document).data("keycount",0)}(/(^9$|27)/.test(g.keyCode.toString(10))&&k&&(r.multiple||r.options.liveSearch)||/(27)/.test(g.keyCode.toString(10))&&!k)&&(r.$menu.parent().removeClass("open"),r.options.container&&r.$newElement.removeClass("open"),r.$button.focus())},mobile:function(){this.$element.addClass("mobile-device")},refresh:function(){this.$lis=null,this.liObj={},this.reloadLi(),this.render(),this.checkDisabled(),this.liHeight(!0),this.setStyle(),this.setWidth(),this.$lis&&this.$searchbox.trigger("propertychange"),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(".bs.select").removeData("selectpicker").removeClass("bs-select-hidden selectpicker")}};function f(g){var P=arguments,A=g;[].shift.apply(P);var u,r=this.each(function(){var c=W(this);if(c.is("select")){var T=c.data("selectpicker"),k=typeof A=="object"&&A;if(T){if(k)for(var R in k)k.hasOwnProperty(R)&&(T.options[R]=k[R])}else{var l=W.extend({},d.DEFAULTS,W.fn.selectpicker.defaults||{},c.data(),k);l.template=W.extend({},d.DEFAULTS.template,W.fn.selectpicker.defaults?W.fn.selectpicker.defaults.template:{},c.data().template,k.template),c.data("selectpicker",T=new d(this,l))}typeof A=="string"&&(T[A]instanceof Function?u=T[A].apply(T,P):u=T.options[A])}});return typeof u!="undefined"?u:r}var C=W.fn.selectpicker;W.fn.selectpicker=f,W.fn.selectpicker.Constructor=d,W.fn.selectpicker.noConflict=function(){return W.fn.selectpicker=C,this},W(document).data("keycount",0).on("keydown.bs.select",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="listbox"], .bs-searchbox input',d.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="listbox"], .bs-searchbox input',function(g){g.stopPropagation()}),W(window).on("load.bs.select.data-api",function(){W(".selectpicker").each(function(){var g=W(this);f.call(g,g.data())})})})(e)});(function(e){typeof define=="function"&&define.amd?define(["jquery"],e):typeof exports=="object"?module.exports=e:e(jQuery)})(function(e){var W=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],M="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],mt=Array.prototype.slice,w,S;if(e.event.fixHooks)for(var a=W.length;a;)e.event.fixHooks[W[--a]]=e.event.mouseHooks;var b=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var d=M.length;d;)this.addEventListener(M[--d],x,!1);else this.onmousewheel=x;e.data(this,"mousewheel-line-height",b.getLineHeight(this)),e.data(this,"mousewheel-page-height",b.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var d=M.length;d;)this.removeEventListener(M[--d],x,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(d){var f=e(d),C=f["offsetParent"in e.fn?"offsetParent":"parent"]();return C.length||(C=e("body")),parseInt(C.css("fontSize"),10)||parseInt(f.css("fontSize"),10)||16},getPageHeight:function(d){return e(d).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});
4function x(d){var f=d||window.event,C=mt.call(arguments,1),g=0,P=0,A=0,u=0,r=0,c=0;if(d=e.event.fix(f),d.type="mousewheel","detail"in f&&(A=f.detail*-1),"wheelDelta"in f&&(A=f.wheelDelta),"wheelDeltaY"in f&&(A=f.wheelDeltaY),"wheelDeltaX"in f&&(P=f.wheelDeltaX*-1),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(P=A*-1,A=0),g=A===0?P:A,"deltaY"in f&&(A=f.deltaY*-1,g=A),"deltaX"in f&&(P=f.deltaX,A===0&&(g=P*-1)),!(A===0&&P===0)){if(f.deltaMode===1){var T=e.data(this,"mousewheel-line-height");g*=T,A*=T,P*=T}else if(f.deltaMode===2){var k=e.data(this,"mousewheel-page-height");g*=k,A*=k,P*=k}if(u=Math.max(Math.abs(A),Math.abs(P)),(!S||u<S)&&(S=u,v(f,u)&&(S/=40)),v(f,u)&&(g/=40,P/=40,A/=40),g=Math[g>=1?"floor":"ceil"](g/S),P=Math[P>=1?"floor":"ceil"](P/S),A=Math[A>=1?"floor":"ceil"](A/S),b.settings.normalizeOffset&&this.getBoundingClientRect){var l=this.getBoundingClientRect();r=d.clientX-l.left,c=d.clientY-l.top}return d.deltaX=P,d.deltaY=A,d.deltaFactor=S,d.offsetX=r,d.offsetY=c,d.deltaMode=0,C.unshift(d,g,P,A),w&&clearTimeout(w),w=setTimeout(m,200),(e.event.dispatch||e.event.handle).apply(this,C)}}function m(){S=null}function v(d,f){return b.settings.adjustOldDeltas&&d.type==="mousewheel"&&f%120===0}}),(function(e,W,M,mt){"use strict";if(e.console=e.console||{info:function(u){}},!M)return;if(M.fn.fancybox){console.info("fancyBox already initialized");return}var w={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:`<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>`,format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
4<path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:M.noop,beforeLoad:M.noop,afterLoad:M.noop,beforeShow:M.noop,afterShow:M.noop,beforeClose:M.noop,afterClose:M.noop,onActivate:M.noop,onDeactivate:M.noop,clickContent:function(u,r){return u.type==="image"?"zoom":!1},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(u,r){return u.type==="image"?"toggleControls":!1},clickSlide:function(u,r){return u.type==="image"?"toggleControls":"close"},dblclickContent:function(u,r){return u.type==="image"?"zoom":!1},dblclickSlide:function(u,r){return u.type==="image"?"zoom":!1}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},S=M(e),a=M(W),b=0,x=function(u){return u&&u.hasOwnProperty&&u instanceof M},m=(function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(u){return e.setTimeout(u,1e3/60)}})(),v=(function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(u){e.clearTimeout(u)}})(),d=(function(){var u=W.createElement("fakeelement"),r,c={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(r in c)if(u.style[r]!==mt)return c[r];return"transitionend"})(),f=function(u){return u&&u.length&&u[0].offsetHeight},C=function(u,r){var c=M.extend(!0,{},u,r);return M.each(r,function(T,k){M.isArray(k)&&(c[T]=k)}),c},g=function(u){var r,c;return!u||u.ownerDocument!==W?!1:(M(".fancybox-container").css("pointer-events","none"),r={x:u.getBoundingClientRect().left+u.offsetWidth/2,y:u.getBoundingClientRect().top+u.offsetHeight/2},c=W.elementFromPoint(r.x,r.y)===u,M(".fancybox-container").css("pointer-events",""),c)},P=function(u,r,c){var T=this;T.opts=C({index:c},M.fancybox.defaults),M.isPlainObject(r)&&(T.opts=C(T.opts,r)),M.fancybox.isMobile&&(T.opts=C(T.opts,T.opts.mobile)),T.id=T.opts.id||++b,T.currIndex=parseInt(T.opts.index,10)||0,T.prevIndex=null,T.prevPos=null,T.currPos=0,T.firstRun=!0,T.group=[],T.slides={},T.addContent(u),T.group.length&&T.init()};M.extend(P.prototype,{init:function(){var u=this,r=u.group[u.currIndex],c=r.opts,T,k;c.closeExisting&&M.fancybox.close(!0),M("body").addClass("fancybox-active"),!M.fancybox.getInstance()&&c.hideScrollbar!==!1&&!M.fancybox.isMobile&&W.body.scrollHeight>e.innerHeight&&(M("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-W.documentElement.clientWidth)+"px;}</style>"),M("body").addClass("compensate-for-scrollbar")),k="",M.each(c.buttons,function(l,R){k+=c.btnTpl[R]||""}),T=M(u.translate(u,c.baseTpl.replace("{{buttons}}",k).replace("{{arrows}}",c.btnTpl.arrowLeft+c.btnTpl.arrowRight))).attr("id","fancybox-container-"+u.id).addClass(c.baseClass).data("FancyBox",u).appendTo(c.parentEl),u.$refs={container:T},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(l){u.$refs[l]=T.f
4ind(".fancybox-"+l)}),u.trigger("onInit"),u.activate(),u.jumpTo(u.currIndex)},translate:function(u,r){var c=u.opts.i18n[u.opts.lang]||u.opts.i18n.en;return r.replace(/\{\{(\w+)\}\}/g,function(T,k){return c[k]===mt?T:c[k]})},addContent:function(u){var r=this,c=M.makeArray(u),T;M.each(c,function(k,l){var R={},F={},Y,G,j,Z,H;M.isPlainObject(l)?(R=l,F=l.opts||l):M.type(l)==="object"&&M(l).length?(Y=M(l),F=Y.data()||{},F=M.extend(!0,{},F,F.options),F.$orig=Y,R.src=r.opts.src||F.src||Y.attr("href"),!R.type&&!R.src&&(R.type="inline",R.src=l)):R={type:"html",src:l+""},R.opts=M.extend(!0,{},r.opts,F),M.isArray(F.buttons)&&(R.opts.buttons=F.buttons),M.fancybox.isMobile&&R.opts.mobile&&(R.opts=C(R.opts,R.opts.mobile)),G=R.type||R.opts.type,Z=R.src||"",!G&&Z&&((j=Z.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(G="video",R.opts.video.format||(R.opts.video.format="video/"+(j[1]==="ogv"?"ogg":j[1]))):Z.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?G="image":Z.match(/\.(pdf)((\?|#).*)?$/i)?(G="iframe",R=M.extend(!0,R,{contentType:"pdf",opts:{iframe:{preload:!1}}})):Z.charAt(0)==="#"&&(G="inline")),G?R.type=G:r.trigger("objectNeedsType",R),R.contentType||(R.contentType=M.inArray(R.type,["html","inline","ajax"])>-1?"html":R.type),R.index=r.group.length,R.opts.smallBtn=="auto"&&(R.opts.smallBtn=M.inArray(R.type,["html","inline","ajax"])>-1),R.opts.toolbar==="auto"&&(R.opts.toolbar=!R.opts.smallBtn),R.$thumb=R.opts.$thumb||null,R.opts.$trigger&&R.index===r.opts.index&&(R.$thumb=R.opts.$trigger.find("img:first"),R.$thumb.length&&(R.opts.$orig=R.opts.$trigger)),!(R.$thumb&&R.$thumb.length)&&R.opts.$orig&&(R.$thumb=R.opts.$orig.find("img:first")),R.$thumb&&!R.$thumb.length&&(R.$thumb=null),R.thumb=R.opts.thumb||(R.$thumb?R.$thumb[0].src:null),M.type(R.opts.caption)==="function"&&(R.opts.caption=R.opts.caption.apply(l,[r,R])),M.type(r.opts.caption)==="function"&&(R.opts.caption=r.opts.caption.apply(l,[r,R])),R.opts.caption instanceof M||(R.opts.caption=R.opts.caption===mt?"":R.opts.caption+""),R.type==="ajax"&&(H=Z.split(/\s+/,2),H.length>1&&(R.src=H.shift(),R.opts.filter=H.shift())),R.opts.modal&&(R.opts=M.extend(!0,R.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),r.group.push(R)}),Object.keys(r.slides).length&&(r.updateControls(),T=r.Thumbs,T&&T.isActive&&(T.create(),T.focus()))},addEvents:function(){var u=this;u.removeEvents(),u.$refs.container.on("click.fb-close","[data-fancybox-close]",function(r){r.stopPropagation(),r.preventDefault(),u.close(r)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(r){r.stopPropagation(),r.preventDefault(),u.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(r){r.stopPropagation(),r.preventDefault(),u.next()}).on("click.fb","[data-fancybox-zoom]",function(r){u[u.isScaledDown()?"scaleToActual":"scaleToFit"]()}),S.on("orientationchange.fb resize.fb",function(r){r&&r.originalEvent&&r.originalEvent.type==="resize"?(u.requestId&&v(u.requestId),u.requestId=m(function(){u.update(r)})):(u.current&&u.current.type==="iframe"&&u.$refs.stage.hide(),setTimeout(function(){u.$refs.stage.show(),u.update(r)},M.fancybox.isMobile?600:250))}),a.on("keydown.fb",function(r){var c=M.fancybox?M.fancybox.getInstance():null,T=c.current,k=r.keyCode||r.which;if(k==9){T.opts.trapFocus&&u.focus(r);return}if(!(!T.opts.keyboard||r.ctrlKey||r.altKey||r.shiftKey||M(r.target).is("input,textarea,video,audio,select"))){if(k===8||k===27){r.preventDefault(),u.close(r);return}if(k===37||k===38){r.preventDefault(),u.previous();return}if(k===39||k===40){r.preventDefault(),u.next();return}u.trigger("afterKeydown",r,k)}}),u.group[u.currIndex].opts.idleTime&&(u.idleSecondsCounter=0,a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(r){u.idleSecondsCounter=0,u.isIdle&&u.showControls(),u.isIdle=!1}),u.idleInterval=e.setInterval(function(){u.idleSecondsCounter++,u.idleSecondsCounter>=u.group[u.currIndex].opts.idleTime&&!u.isDragging&&(u.isIdle=!0,u.idleSecondsCounter=0,u.hideControls())},1e3))},removeEvents:function(){var u=this;S.off("orientationchange.fb resize.fb"),a.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),u.idleInterval&&(e.clearInterval(u.idleInterval),u.idleInterval=null)},previous:function(u){return this.jumpTo(this.currPos-1,u)},next:function(u){return this.jumpTo(this.currPos+1,u)},jumpTo:function(u,r){var c=this,T=c.group.length,k,l,R,F,Y,G,j,Z,H;if(!(c.isDragging||c.isClosing||c.isAnimating&&c.firstRun)){if(u=parseInt(u,10),R=c.current?c.current.opts.loop:c.opts.loop,!R&&(u<0||u>=T))return!1;if(k=c.firstRun=!Object.keys(c.slides).length,Y=c.current,c.prevIndex=c.currIndex,c.prevPos=c.currPos,F=c.createSlide(u),T>1&&((R||F.index<T-1)&&c.createSlide(u+1),(R||F.index>0)&&c.createSlide(u-1)),c.current=F,c.currIndex=F.index,c.currPos=F.pos,
4c.trigger("beforeShow",k),c.updateControls(),F.forcedDuration=mt,M.isNumeric(r)?F.forcedDuration=r:r=F.opts[k?"animationDuration":"transitionDuration"],r=parseInt(r,10),l=c.isMoved(F),F.$slide.addClass("fancybox-slide--current"),k){F.opts.animationEffect&&r&&c.$refs.container.css("transition-duration",r+"ms"),c.$refs.container.addClass("fancybox-is-open").trigger("focus"),c.loadSlide(F),c.preload("image");return}G=M.fancybox.getTranslate(Y.$slide),j=M.fancybox.getTranslate(c.$refs.stage),M.each(c.slides,function(ht,lt){M.fancybox.stop(lt.$slide,!0)}),Y.pos!==F.pos&&(Y.isComplete=!1),Y.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),l?(H=G.left-(Y.pos*G.width+Y.pos*Y.opts.gutter),M.each(c.slides,function(ht,lt){lt.$slide.removeClass("fancybox-animated").removeClass(function(pt,wt){return(wt.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var ut=lt.pos*G.width+lt.pos*lt.opts.gutter;M.fancybox.setTranslate(lt.$slide,{top:0,left:ut-j.left+H}),lt.pos!==F.pos&&lt.$slide.addClass("fancybox-slide--"+(lt.pos>F.pos?"next":"previous")),f(lt.$slide),M.fancybox.animate(lt.$slide,{top:0,left:(lt.pos-F.pos)*G.width+(lt.pos-F.pos)*lt.opts.gutter},r,function(){lt.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),lt.pos===c.currPos&&c.complete()})})):r&&F.opts.transitionEffect&&(Z="fancybox-animated fancybox-fx-"+F.opts.transitionEffect,Y.$slide.addClass("fancybox-slide--"+(Y.pos>F.pos?"next":"previous")),M.fancybox.animate(Y.$slide,Z,r,function(){Y.$slide.removeClass(Z).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),F.isLoaded?c.revealContent(F):c.loadSlide(F),c.preload("image")}},createSlide:function(u){var r=this,c,T;return T=u%r.group.length,T=T<0?r.group.length+T:T,!r.slides[u]&&r.group[T]&&(c=M('<div class="fancybox-slide"></div>').appendTo(r.$refs.stage),r.slides[u]=M.extend(!0,{},r.group[T],{pos:u,$slide:c,isLoaded:!1}),r.updateSlide(r.slides[u])),r.slides[u]},scaleToActual:function(u,r,c){var T=this,k=T.current,l=k.$content,R=M.fancybox.getTranslate(k.$slide).width,F=M.fancybox.getTranslate(k.$slide).height,Y=k.width,G=k.height,j,Z,H,ht,lt;T.isAnimating||T.isMoved()||!l||!(k.type=="image"&&k.isLoaded&&!k.hasError)||(T.isAnimating=!0,M.fancybox.stop(l),u=u===mt?R*.5:u,r=r===mt?F*.5:r,j=M.fancybox.getTranslate(l),j.top-=M.fancybox.getTranslate(k.$slide).top,j.left-=M.fancybox.getTranslate(k.$slide).left,ht=Y/j.width,lt=G/j.height,Z=R*.5-Y*.5,H=F*.5-G*.5,Y>R&&(Z=j.left*ht-(u*ht-u),Z>0&&(Z=0),Z<R-Y&&(Z=R-Y)),G>F&&(H=j.top*lt-(r*lt-r),H>0&&(H=0),H<F-G&&(H=F-G)),T.updateCursor(Y,G),M.fancybox.animate(l,{top:H,left:Z,scaleX:ht,scaleY:lt},c||366,function(){T.isAnimating=!1}),T.SlideShow&&T.SlideShow.isActive&&T.SlideShow.stop())},scaleToFit:function(u){var r=this,c=r.current,T=c.$content,k;r.isAnimating||r.isMoved()||!T||!(c.type=="image"&&c.isLoaded&&!c.hasError)||(r.isAnimating=!0,M.fancybox.stop(T),k=r.getFitPos(c),r.updateCursor(k.width,k.height),M.fancybox.animate(T,{top:k.top,left:k.left,scaleX:k.width/T.width(),scaleY:k.height/T.height()},u||366,function(){r.isAnimating=!1}))},getFitPos:function(u){var r=this,c=u.$content,T=u.$slide,k=u.width||u.opts.width,l=u.height||u.opts.height,R,F,Y,G,j={};return!u.isLoaded||!c||!c.length?!1:(R=M.fancybox.getTranslate(r.$refs.stage).width,F=M.fancybox.getTranslate(r.$refs.stage).height,R-=parseFloat(T.css("paddingLeft"))+parseFloat(T.css("paddingRight"))+parseFloat(c.css("marginLeft"))+parseFloat(c.css("marginRight")),F-=parseFloat(T.css("paddingTop"))+parseFloat(T.css("paddingBottom"))+parseFloat(c.css("marginTop"))+parseFloat(c.css("marginBottom")),(!k||!l)&&(k=R,l=F),Y=Math.min(1,R/k,F/l),k=Y*k,l=Y*l,k>R-.5&&(k=R),l>F-.5&&(l=F),u.type==="image"?(j.top=Math.floor((F-l)*.5)+parseFloat(T.css("paddingTop")),j.left=Math.floor((R-k)*.5)+parseFloat(T.css("paddingLeft"))):u.contentType==="video"&&(G=u.opts.width&&u.opts.height?k/l:u.opts.ratio||16/9,l>k/G?l=k/G:k>l*G&&(k=l*G)),j.width=k,j.height=l,j)},update:function(u){var r=this;M.each(r.slides,function(c,T){r.updateSlide(T,u)})},updateSlide:function(u,r){var c=this,T=u&&u.$content,k=u.width||u.opts.width,l=u.height||u.opts.height,R=u.$slide;c.adjustCaption(u),T&&(k||l||u.contentType==="video")&&!u.hasError&&(M.fancybox.stop(T),M.fancybox.setTranslate(T,c.getFitPos(u)),u.pos===c.currPos&&(c.isAnimating=!1,c.updateCursor(
4))),c.adjustLayout(u),R.length&&(R.trigger("refresh"),u.pos===c.currPos&&c.$refs.toolbar.add(c.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",R.get(0).scrollHeight>R.get(0).clientHeight)),c.trigger("onUpdate",u,r)},centerSlide:function(u){var r=this,c=r.current,T=c.$slide;r.isClosing||!c||(T.siblings().css({transform:"",opacity:""}),T.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),M.fancybox.animate(T,{top:0,left:0,opacity:1},u===mt?0:u,function(){T.css({transform:"",opacity:""}),c.isComplete||r.complete()},!1))},isMoved:function(u){var r=u||this.current,c,T;return r?(T=M.fancybox.getTranslate(this.$refs.stage),c=M.fancybox.getTranslate(r.$slide),!r.$slide.hasClass("fancybox-animated")&&(Math.abs(c.top-T.top)>.5||Math.abs(c.left-T.left)>.5)):!1},updateCursor:function(u,r){var c=this,T=c.current,k=c.$refs.container,l,R;!T||c.isClosing||!c.Guestures||(k.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),l=c.canPan(u,r),R=l?!0:c.isZoomable(),k.toggleClass("fancybox-is-zoomable",R),M("[data-fancybox-zoom]").prop("disabled",!R),l?k.addClass("fancybox-can-pan"):R&&(T.opts.clickContent==="zoom"||M.isFunction(T.opts.clickContent)&&T.opts.clickContent(T)=="zoom")?k.addClass("fancybox-can-zoomIn"):T.opts.touch&&(T.opts.touch.vertical||c.group.length>1)&&T.contentType!=="video"&&k.addClass("fancybox-can-swipe"))},isZoomable:function(){var u=this,r=u.current,c;return!!(r&&!u.isClosing&&r.type==="image"&&!r.hasError&&(!r.isLoaded||(c=u.getFitPos(r),c&&(r.width>c.width||r.height>c.height))))},isScaledDown:function(u,r){var c=this,T=!1,k=c.current,l=k.$content;return u!==mt&&r!==mt?T=u<k.width&&r<k.height:l&&(T=M.fancybox.getTranslate(l),T=T.width<k.width&&T.height<k.height),T},canPan:function(u,r){var c=this,T=c.current,k=null,l=!1;return T.type==="image"&&(T.isComplete||u&&r)&&!T.hasError&&(l=c.getFitPos(T),u!==mt&&r!==mt?k={width:u,height:r}:T.isComplete&&(k=M.fancybox.getTranslate(T.$content)),k&&l&&(l=Math.abs(k.width-l.width)>1.5||Math.abs(k.height-l.height)>1.5)),l},loadSlide:function(u){var r=this,c,T,k;if(!(u.isLoading||u.isLoaded)){if(u.isLoading=!0,r.trigger("beforeLoad",u)===!1)return u.isLoading=!1,!1;switch(c=u.type,T=u.$slide,T.off("refresh").trigger("onReset").addClass(u.opts.slideClass),c){case"image":r.setImage(u);break;case"iframe":r.setIframe(u);break;case"html":r.setContent(u,u.src||u.content);break;case"video":r.setContent(u,u.opts.video.tpl.replace(/\{\{src\}\}/gi,u.src).replace("{{format}}",u.opts.videoFormat||u.opts.video.format||"").replace("{{poster}}",u.thumb||""));break;case"inline":M(u.src).length?r.setContent(u,M(u.src)):r.setError(u);break;case"ajax":r.showLoading(u),k=M.ajax(M.extend({},u.opts.ajax.settings,{url:u.src,success:function(l,R){R==="success"&&r.setContent(u,l)},error:function(l,R){l&&R!=="abort"&&r.setError(u)}})),T.one("onReset",function(){k.abort()});break;default:r.setError(u);break}return!0}},setImage:function(u){var r=this,c;setTimeout(function(){var T=u.$image;!r.isClosing&&u.isLoading&&(!T||!T.length||!T[0].complete)&&!u.hasError&&r.showLoading(u)},50),r.checkSrcset(u),u.$content=M('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(u.$slide.addClass("fancybox-slide--image")),u.opts.preload!==!1&&u.opts.width&&u.opts.height&&u.thumb&&(u.width=u.opts.width,u.height=u.opts.height,c=W.createElement("img"),c.onerror=function(){M(this).remove(),u.$ghost=null},c.onload=function(){r.afterLoad(u)},u.$ghost=M(c).addClass("fancybox-image").appendTo(u.$content).attr("src",u.thumb)),r.setBigImage(u)},checkSrcset:function(u){var r=u.opts.srcset||u.opts.image.srcset,c,T,k,l;if(r){k=e.devicePixelRatio||1,l=e.innerWidth*k,T=r.split(",").map(function(Y){var G={};return Y.trim().split(/\s+/).forEach(function(j,Z){var H=parseInt(j.substring(0,j.length-1),10);if(Z===0)return G.url=j;H&&(G.value=H,G.postfix=j[j.length-1])}),G}),T.sort(function(Y,G){return Y.value-G.value});for(var R=0;R<T.length;R++){var F=T[R];if(F.postfix==="w"&&F.value>=l||F.postfix==="x"&&F.value>=k){c=F;break}}!c&&T.length&&(c=T[T.length-1]),c&&(u.src=c.url,u.width&&u.height&&c.postfix=="w"&&(u.height=u.width/u.height*c.value,u.width=c.value),u.o
4pts.srcset=r)}},setBigImage:function(u){var r=this,c=W.createElement("img"),T=M(c);u.$image=T.one("error",function(){r.setError(u)}).one("load",function(){var k;u.$ghost||(r.resolveImageSlideSize(u,this.naturalWidth,this.naturalHeight),r.afterLoad(u)),!r.isClosing&&(u.opts.srcset&&(k=u.opts.sizes,(!k||k==="auto")&&(k=(u.width/u.height>1&&S.width()/S.height()>1?"100":Math.round(u.width/u.height*100))+"vw"),T.attr("sizes",k).attr("srcset",u.opts.srcset)),u.$ghost&&setTimeout(function(){u.$ghost&&!r.isClosing&&u.$ghost.hide()},Math.min(300,Math.max(1e3,u.height/1600))),r.hideLoading(u))}).addClass("fancybox-image").attr("src",u.src).appendTo(u.$content),(c.complete||c.readyState=="complete")&&T.naturalWidth&&T.naturalHeight?T.trigger("load"):c.error&&T.trigger("error")},resolveImageSlideSize:function(u,r,c){var T=parseInt(u.opts.width,10),k=parseInt(u.opts.height,10);u.width=r,u.height=c,T>0&&(u.width=T,u.height=Math.floor(T*c/r)),k>0&&(u.width=Math.floor(k*r/c),u.height=k)},setIframe:function(u){var r=this,c=u.opts.iframe,T=u.$slide,k;u.$content=M('<div class="fancybox-content'+(c.preload?" fancybox-is-hidden":"")+'"></div>').css(c.css).appendTo(T),T.addClass("fancybox-slide--"+u.contentType),u.$iframe=k=M(c.tpl.replace(/\{rnd\}/g,new Date().getTime())).attr(c.attr).appendTo(u.$content),c.preload?(r.showLoading(u),k.on("load.fb error.fb",function(l){this.isReady=1,u.$slide.trigger("refresh"),r.afterLoad(u)}),T.on("refresh.fb",function(){var l=u.$content,R=c.css.width,F=c.css.height,Y,G;if(k[0].isReady===1){try{Y=k.contents(),G=Y.find("body")}catch(j){}G&&G.length&&G.children().length&&(T.css("overflow","visible"),l.css({width:"100%","max-width":"100%",height:"9999px"}),R===mt&&(R=Math.ceil(Math.max(G[0].clientWidth,G.outerWidth(!0)))),l.css("width",R||"").css("max-width",""),F===mt&&(F=Math.ceil(Math.max(G[0].clientHeight,G.outerHeight(!0)))),l.css("height",F||""),T.css("overflow","auto")),l.removeClass("fancybox-is-hidden")}})):r.afterLoad(u),k.attr("src",u.src),T.one("onReset",function(){try{M(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(l){}M(this).off("refresh.fb").empty(),u.isLoaded=!1,u.isRevealed=!1})},setContent:function(u,r){var c=this;c.isClosing||(c.hideLoading(u),u.$content&&M.fancybox.stop(u.$content),u.$slide.empty(),x(r)&&r.parent().length?((r.hasClass("fancybox-content")||r.parent().hasClass("fancybox-content"))&&r.parents(".fancybox-slide").trigger("onReset"),u.$placeholder=M("<div>").hide().insertAfter(r),r.css("display","inline-block")):u.hasError||(M.type(r)==="string"&&(r=M("<div>").append(M.trim(r)).contents()),u.opts.filter&&(r=M("<div>").html(r).find(u.opts.filter))),u.$slide.one("onReset",function(){M(this).find("video,audio").trigger("pause"),u.$placeholder&&(u.$placeholder.after(r.removeClass("fancybox-content").hide()).remove(),u.$placeholder=null),u.$smallBtn&&(u.$smallBtn.remove(),u.$smallBtn=null),u.hasError||(M(this).empty(),u.isLoaded=!1,u.isRevealed=!1)}),M(r).appendTo(u.$slide),M(r).is("video,audio")&&(M(r).addClass("fancybox-video"),M(r).wrap("<div></div>"),u.contentType="video",u.opts.width=u.opts.width||M(r).attr("width"),u.opts.height=u.opts.height||M(r).attr("height")),u.$content=u.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),u.$content.siblings().hide(),u.$content.length||(u.$content=u.$slide.wrapInner("<div></div>").children().first()),u.$content.addClass("fancybox-content"),u.$slide.addClass("fancybox-slide--"+u.contentType),c.afterLoad(u))},setError:function(u){u.hasError=!0,u.$slide.trigger("onReset").removeClass("fancybox-slide--"+u.contentType).addClass("fancybox-slide--error"),u.contentType="html",this.setContent(u,this.translate(u,u.opts.errorTpl)),u.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(u){var r=this;u=u||r.current,u&&!u.$spinner&&(u.$spinner=M(r.translate(r,r.opts.spinnerTpl)).appendTo(u.$slide).hide().fadeIn("fast"))},hideLoading:function(u){var r=this;u=u||r.current,u&&u.$spinner&&(u.$spinner.stop().remove(),delete u.$spinner)},afterLoad:function(u){var r=this;r.isClosing||(u.isLoading=!1,u.isLoaded=!0,r.trigger("afterLoad",u),r.hideLoading(u),u.opts.smallBtn&&(!u.$smallBtn||!u.$smallBtn.length)&&(u.$smallBtn=M(r.translate(u,u.opts.btnTpl.smallBtn)).appendTo(u.$content)),u.opts.protect&&u.$content&&!u.hasError&&(u.$content.on("contextmenu.fb",function(c){return c.button==2&&c.preventDefault(),!0}),u.type==="image"&&M('<div class="fancybox-spaceball"></div>').appendTo(u.$content)),r.adjustCaption(u),r.adjustLayout(u),u.pos===r.currPos&&r.updateCursor(
4),r.revealContent(u))},adjustCaption:function(u){var r=this,c=u||r.current,T=c.opts.caption,k=c.opts.preventCaptionOverlap,l=r.$refs.caption,R,F=!1;l.toggleClass("fancybox-caption--separate",k),k&&T&&T.length&&(c.pos!==r.currPos?(R=l.clone().appendTo(l.parent()),R.children().eq(0).empty().html(T),F=R.outerHeight(!0),R.empty().remove()):r.$caption&&(F=r.$caption.outerHeight(!0)),c.$slide.css("padding-bottom",F||""))},adjustLayout:function(u){var r=this,c=u||r.current,T,k,l,R;c.isLoaded&&c.opts.disableLayoutFix!==!0&&(c.$content.css("margin-bottom",""),c.$content.outerHeight()>c.$slide.height()+.5&&(l=c.$slide[0].style["padding-bottom"],R=c.$slide.css("padding-bottom"),parseFloat(R)>0&&(T=c.$slide[0].scrollHeight,c.$slide.css("padding-bottom",0),Math.abs(T-c.$slide[0].scrollHeight)<1&&(k=R),c.$slide.css("padding-bottom",l))),c.$content.css("margin-bottom",k))},revealContent:function(u){var r=this,c=u.$slide,T=!1,k=!1,l=r.isMoved(u),R=u.isRevealed,F,Y,G,j;if(u.isRevealed=!0,F=u.opts[r.firstRun?"animationEffect":"transitionEffect"],G=u.opts[r.firstRun?"animationDuration":"transitionDuration"],G=parseInt(u.forcedDuration===mt?G:u.forcedDuration,10),(l||u.pos!==r.currPos||!G)&&(F=!1),F==="zoom"&&(u.pos===r.currPos&&G&&u.type==="image"&&!u.hasError&&(k=r.getThumbPos(u))?T=r.getFitPos(u):F="fade"),F==="zoom"){r.isAnimating=!0,T.scaleX=T.width/k.width,T.scaleY=T.height/k.height,j=u.opts.zoomOpacity,j=="auto"&&(j=Math.abs(u.width/u.height-k.width/k.height)>.1),j&&(k.opacity=.1,T.opacity=1),M.fancybox.setTranslate(u.$content.removeClass("fancybox-is-hidden"),k),f(u.$content),M.fancybox.animate(u.$content,T,G,function(){r.isAnimating=!1,r.complete()});return}if(r.updateSlide(u),!F){u.$content.removeClass("fancybox-is-hidden"),!R&&l&&u.type==="image"&&!u.hasError&&u.$content.hide().fadeIn("fast"),u.pos===r.currPos&&r.complete();return}M.fancybox.stop(c),Y="fancybox-slide--"+(u.pos>=r.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+F,c.addClass(Y).removeClass("fancybox-slide--current"),u.$content.removeClass("fancybox-is-hidden"),f(c),u.type!=="image"&&u.$content.hide().show(0),M.fancybox.animate(c,"fancybox-slide--current",G,function(){c.removeClass(Y).css({transform:"",opacity:""}),u.pos===r.currPos&&r.complete()},!0)},getThumbPos:function(u){var r=!1,c=u.$thumb,T,k,l,R,F;return!c||!g(c[0])?!1:(T=M.fancybox.getTranslate(c),k=parseFloat(c.css("border-top-width")||0),l=parseFloat(c.css("border-right-width")||0),R=parseFloat(c.css("border-bottom-width")||0),F=parseFloat(c.css("border-left-width")||0),r={top:T.top+k,left:T.left+F,width:T.width-l-F,height:T.height-k-R,scaleX:1,scaleY:1},T.width>0&&T.height>0?r:!1)},complete:function(){var u=this,r=u.current,c={},T;u.isMoved()||!r.isLoaded||(r.isComplete||(r.isComplete=!0,r.$slide.siblings().trigger("onReset"),u.preload("inline"),f(r.$slide),r.$slide.addClass("fancybox-slide--complete"),M.each(u.slides,function(k,l){l.pos>=u.currPos-1&&l.pos<=u.currPos+1?c[l.pos]=l:l&&(M.fancybox.stop(l.$slide),l.$slide.off().remove())}),u.slides=c),u.isAnimating=!1,u.updateCursor(),u.trigger("afterShow"),r.opts.video.autoStart&&r.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),u.next()}),r.opts.autoFocus&&r.contentType==="html"&&(T=r.$content.find("input[autofocus]:enabled:visible:first"),T.length?T.trigger("focus"):u.focus(null,!0)),r.$slide.scrollTop(0).scrollLeft(0))},preload:function(u){var r=this,c,T;r.group.length<2||(T=r.slides[r.currPos+1],c=r.slides[r.currPos-1],c&&c.type===u&&r.loadSlide(c),T&&T.type===u&&r.loadSlide(T))},focus:function(u,r){var c=this,T=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(","),k,l;c.isClosing||(u||!c.current||!c.current.isComplete?k=c.$refs.container.find("*:visible"):k=c.current.$slide.find("*:visible"+(r?":not(.fancybox-close-small)":"")),k=k.filter(T).filter(function(){return M(this).css("visibility")!=="hidden"&&!M(this).hasClass("disabled")}),k.length?(l=k.index(W.activeElement),u&&u.shiftKey?(l<0||l==0)&&(u.preventDefault(),k.eq(k.length-1).trigger("focus")):(l<0||l==k.length-1)&&(u&&u.preventDefault(),k.eq(0).trigger("focus"))):c.$refs.container.trigger("focus"))},activate:function(){var u=this;M(".fancybox-container").each(function(){var r=M(this).data("FancyBox");r&&r.id!==u.id&&!r.isClosing&&(r.trigger("onDeactivate"),r.removeEvents(),r.isVisible=!1)}
4),u.isVisible=!0,(u.current||u.isIdle)&&(u.update(),u.updateControls()),u.trigger("onActivate"),u.addEvents()},close:function(u,r){var c=this,T=c.current,k,l,R,F,Y,G,j,Z=function(){c.cleanUp(u)};return c.isClosing?!1:(c.isClosing=!0,c.trigger("beforeClose",u)===!1?(c.isClosing=!1,m(function(){c.update()}),!1):(c.removeEvents(),R=T.$content,k=T.opts.animationEffect,l=M.isNumeric(r)?r:k?T.opts.animationDuration:0,T.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),u!==!0?M.fancybox.stop(T.$slide):k=!1,T.$slide.siblings().trigger("onReset").remove(),l&&c.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",l+"ms"),c.hideLoading(T),c.hideControls(!0),c.updateCursor(),k==="zoom"&&!(R&&l&&T.type==="image"&&!c.isMoved()&&!T.hasError&&(j=c.getThumbPos(T)))&&(k="fade"),k==="zoom"?(M.fancybox.stop(R),F=M.fancybox.getTranslate(R),G={top:F.top,left:F.left,scaleX:F.width/j.width,scaleY:F.height/j.height,width:j.width,height:j.height},Y=T.opts.zoomOpacity,Y=="auto"&&(Y=Math.abs(T.width/T.height-j.width/j.height)>.1),Y&&(j.opacity=0),M.fancybox.setTranslate(R,G),f(R),M.fancybox.animate(R,j,l,Z),!0):(k&&l?M.fancybox.animate(T.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+k,l,Z):u===!0?setTimeout(Z,l):Z(),!0)))},cleanUp:function(u){var r=this,c,T=r.current.opts.$orig,k,l;r.current.$slide.trigger("onReset"),r.$refs.container.empty().remove(),r.trigger("afterClose",u),r.current.opts.backFocus&&((!T||!T.length||!T.is(":visible"))&&(T=r.$trigger),T&&T.length&&(k=e.scrollX,l=e.scrollY,T.trigger("focus"),M("html, body").scrollTop(l).scrollLeft(k))),r.current=null,c=M.fancybox.getInstance(),c?c.activate():(M("body").removeClass("fancybox-active compensate-for-scrollbar"),M("#fancybox-style-noscroll").remove())},trigger:function(u,r){var c=Array.prototype.slice.call(arguments,1),T=this,k=r&&r.opts?r:T.current,l;if(k?c.unshift(k):k=T,c.unshift(T),M.isFunction(k.opts[u])&&(l=k.opts[u].apply(k,c)),l===!1)return l;u==="afterClose"||!T.$refs?a.trigger(u+".fb",c):T.$refs.container.trigger(u+".fb",c)},updateControls:function(){var u=this,r=u.current,c=r.index,T=u.$refs.container,k=u.$refs.caption,l=r.opts.caption;r.$slide.trigger("refresh"),l&&l.length?(u.$caption=k,k.children().eq(0).html(l)):u.$caption=null,!u.hasHiddenControls&&!u.isIdle&&u.showControls(),T.find("[data-fancybox-count]").html(u.group.length),T.find("[data-fancybox-index]").html(c+1),T.find("[data-fancybox-prev]").prop("disabled",!r.opts.loop&&c<=0),T.find("[data-fancybox-next]").prop("disabled",!r.opts.loop&&c>=u.group.length-1),r.type==="image"?T.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",r.opts.image.src||r.src).show():r.opts.toolbar&&T.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),M(W.activeElement).is(":hidden,[disabled]")&&u.$refs.container.trigger("focus")},hideControls:function(u){var r=this,c=["infobar","toolbar","nav"];(u||!r.current.opts.preventCaptionOverlap)&&c.push("caption"),this.$refs.container.removeClass(c.map(function(T){return"fancybox-show-"+T}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var u=this,r=u.current?u.current.opts:u.opts,c=u.$refs.container;u.hasHiddenControls=!1,u.idleSecondsCounter=0,c.toggleClass("fancybox-show-toolbar",!!(r.toolbar&&r.buttons)).toggleClass("fancybox-show-infobar",!!(r.infobar&&u.group.length>1)).toggleClass("fancybox-show-caption",!!u.$caption).toggleClass("fancybox-show-nav",!!(r.arrows&&u.group.length>1)).toggleClass("fancybox-is-modal",!!r.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),M.fancybox={version:"3.5.7",defaults:w,getInstance:function(u){var r=M('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),c=Array.prototype.slice.call(arguments,1);return r instanceof P?(M.type(u)==="string"?r[u].apply(r,c):M.type(u)==="function"&&u.apply(r,c),r):!1},open:function(u,r,c){return new P(u,r,c)},close:function(u){var r=this.getInstance();r&&(r.close(),u===!0&&this.close(u))}
4,destroy:function(){this.close(!0),a.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(function(){var u=W.createElement("div");return e.getComputedStyle&&e.getComputedStyle(u)&&e.getComputedStyle(u).getPropertyValue("transform")&&!(W.documentMode&&W.documentMode<11)})(),getTranslate:function(u){var r;return!u||!u.length?!1:(r=u[0].getBoundingClientRect(),{top:r.top||0,left:r.left||0,width:r.width,height:r.height,opacity:parseFloat(u.css("opacity"))})},setTranslate:function(u,r){var c="",T={};if(!(!u||!r))return(r.left!==mt||r.top!==mt)&&(c=(r.left===mt?u.position().left:r.left)+"px, "+(r.top===mt?u.position().top:r.top)+"px",this.use3d?c="translate3d("+c+", 0px)":c="translate("+c+")"),r.scaleX!==mt&&r.scaleY!==mt?c+=" scale("+r.scaleX+", "+r.scaleY+")":r.scaleX!==mt&&(c+=" scaleX("+r.scaleX+")"),c.length&&(T.transform=c),r.opacity!==mt&&(T.opacity=r.opacity),r.width!==mt&&(T.width=r.width),r.height!==mt&&(T.height=r.height),u.css(T)},animate:function(u,r,c,T,k){var l=this,R;M.isFunction(c)&&(T=c,c=null),l.stop(u),R=l.getTranslate(u),u.on(d,function(F){F&&F.originalEvent&&(!u.is(F.originalEvent.target)||F.originalEvent.propertyName=="z-index")||(l.stop(u),M.isNumeric(c)&&u.css("transition-duration",""),M.isPlainObject(r)?r.scaleX!==mt&&r.scaleY!==mt&&l.setTranslate(u,{top:r.top,left:r.left,width:R.width*r.scaleX,height:R.height*r.scaleY,scaleX:1,scaleY:1}):k!==!0&&u.removeClass(r),M.isFunction(T)&&T(F))}),M.isNumeric(c)&&u.css("transition-duration",c+"ms"),M.isPlainObject(r)?(r.scaleX!==mt&&r.scaleY!==mt&&(delete r.width,delete r.height,u.parent().hasClass("fancybox-slide--image")&&u.parent().addClass("fancybox-is-scaling")),M.fancybox.setTranslate(u,r)):u.addClass(r),u.data("timer",setTimeout(function(){u.trigger(d)},c+33))},stop:function(u,r){u&&u.length&&(clearTimeout(u.data("timer")),r&&u.trigger(d),u.off(d).css("transition-duration",""),u.parent().removeClass("fancybox-is-scaling"))}};function A(u,r){var c=[],T=0,k,l,R;u&&u.isDefaultPrevented()||(u.preventDefault(),r=r||{},u&&u.data&&(r=C(u.data.options,r)),k=r.$target||M(u.currentTarget).trigger("blur"),R=M.fancybox.getInstance(),!(R&&R.$trigger&&R.$trigger.is(k))&&(r.selector?c=M(r.selector):(l=k.attr("data-fancybox")||"",l?(c=u.data?u.data.items:[],c=c.length?c.filter('[data-fancybox="'+l+'"]'):M('[data-fancybox="'+l+'"]')):c=[k]),T=M(c).index(k),T<0&&(T=0),R=M.fancybox.open(c,r,T),R.$trigger=k))}M.fn.fancybox=function(u){var r;return u=u||{},r=u.selector||!1,r?M("body").off("click.fb-start",r).on("click.fb-start",r,{options:u},A):this.off("click.fb-start").on("click.fb-start",{items:this,options:u},A),this},a.on("click.fb-start","[data-fancybox]",A),a.on("click.fb-start","[data-fancybox-trigger]",function(u){M('[data-fancybox="'+M(this).attr("data-fancybox-trigger")+'"]').eq(M(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:M(this)})}),(function(){var u=".fancybox-button",r="fancybox-focus",c=null;a.on("mousedown mouseup focus blur",u,function(T){switch(T.type){case"mousedown":c=M(this);break;case"mouseup":c=null;break;case"focusin":M(u).removeClass(r),!M(this).is(c)&&!M(this).is("[disabled]")&&M(this).addClass(r);break;case"focusout":M(u).removeClass(r);break}})})()})(window,document,jQuery),(function(e){"use strict";var W={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(w){return"//maps.google."+w[2]+"/?ll="+(w[9]?w[9]+"&z="+Math.floor(w[10])+(w[12]?w[12].replace(/^\//,"&"):""):w[12]+"").replace(/\?/,"&")+"&output="+(w[12]&&w[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(w){return"//maps.google."+w[2]+"/maps?q="+w[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},M=function(w,S,a){if(w)return a=a||"",e.type(a)==="object"&&(a=e.param(a,!0)),e.each(S,function(b,x){w=w.replace("$"+b,x||"")}),a.length&&(w+=(w.indexOf("?")>0?"&":"?")+a),w};e(document).on("objectNeedsType.fb",function(w,S,a){var b=a.src||"",x=!1,m,v,d,f,C,g,P;m=e.extend(!0,{},W,a.opts.media),e.each(m,function(A,u){if(d=b.match(u.matcher),!!d){if(x=u.type,P=A,g={},u.paramPlace&&d[u.paramPlace]){C=d[u.paramPlace],C[0]=="?"&&(C=C.substring(1)),C=C.split("&");for(var r=0;r<C.length;++r){var c=C[r].split("=",2);c.length==2&&(g[c[0]]=decodeURIComponent(c[1].replace(/\+/g," ")))}}return f=e.extend(!0,{},u.params,a.opts[A],g),b=e.type(u.url)==="function"?u.url.call(this,d,f,a):M(u.url,d,f),v=e.type(u.thumb)==="function"?u.thumb.call(this,d,f,a):M(u.thumb,d),A==="youtube"?b=b.replace(/&t=((\d+)m)?(\d+)s/,function(T,k,l,R){return"&start="+((l?parseInt(l,10)*60:0)+parseInt(R,10))}):A==="vimeo"&&(b=b.replace("&%23","#")),!1}}),x?(!a.opts.thumb&&!(a.opts.$thumb&&a.opts.$thumb.length)&&(a.opts.thumb=v),x==="iframe"&&(a.opts=e.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(a,{type:x,src:b,origSrc:a.src,contentSource:P,contentType:x==="image"?"image":P=="gmap_place"||P=="gmap_search"?"map":"video"})):b&&(a.type=a.opts.defaultType)});var mt={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(w){var S=this,a;if(this[w].loaded){setTimeout(function(){S.done(w)});return}this[w].loading||(this[w].loading=!0,a=document.createElement("script"),a.type="text/javascript",a.src=this[w].src,w==="youtube"?window.onYouTubeIframeAPIReady=function(){S[w].loaded=!0,S.done(w)}:a.onload=function(){S[w].loaded=!0,S.done(w)},document.body.appendChild(a))},done:function(w){var S,a,b;w==="youtube"&&delete window.onYouTubeIframeAPIReady,S=e.fancybox.getInstance(),S&&(a=S.current.$content.find("iframe"),w==="youtube"&&YT!==void 0&&YT?b=new YT.Player(a.attr("id"),{events:{onStateChange:function(x){x.data==0&&S.next()}}}):w==="vimeo"&&Vimeo!==void 0&&Vimeo&&(b=new Vimeo.Player(a),b.on("ended",function(){S.next()})))}};e(document).on({"afterShow.fb":function(w,S,a){S.group.length>1&&(a.contentSource==="youtube"||a.contentSource==="vimeo")&&mt.load(a.contentSource)}})})(jQuery),(function(e,W,M){"use strict";var mt=(function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(d){return e.setTimeout(d,16.666666666666668)}})(),w=(function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(d){e.clearTimeout(d)}})(),S=function(d){var f=[];d=d.originalEvent||d||e.e,d=d.touches&&d.touches.length?d.touches:d.changedTouches&&d.changedTouches.length?d.changedTouches:[d];for(var C in d)d[C].pageX?f.push({x:d[C].pageX,y:d[C].pageY}):d[C].clientX&&f.push({x:d[C].clientX,y:d[C].clientY});return f},a=function(d,f,C){return!f||!d?0:C==="x"?d.x-f.x:C==="y"?d.y-f.y:Math.sqrt(Math.pow(d.x-f.x,2)+Math.pow(d.y-f.y,2))},b=function(d){if(d.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||M.isFunction(d.get(0).onclick)||d.data("selectable"))return!0;for(var f=0,C=d[0].attributes,g=C.length;f<g;f++)if(C[f].nodeName.substr(0,14)==="data-fancybox-")return!0;return!1},x=function(d){var f=e.getComputedStyle(d)["overflow-y"],C=e.getComputedStyle(d)["overflow-x"],g=(f==="scroll"||f==="auto")&&d.scrollHeight>d.clientHeight,P=(C==="scroll"||C==="auto")&&d.scrollWidth>d.clientWidth;return g||P},m=function(d){for(var f=!1;f=x(d.get(0)),!(f||(d=d.parent(),!d.length||d.hasClass("fancybox-stage")||d.is("body"))););return f},v=function(d){var f=this;f.instance=d,f.$bg=d.$refs.bg,f.$stage=d.$refs.stage,f.$container=d.$refs.container,f.destroy(),f.$container.on("touchstart.fb.touch mousedown.fb.touch",M.proxy(f,"ontouchstart"))};v.prototype.destroy=function(){var d=this;d.$container.off(".fb.touch"),M(W).off(".fb.touch"),d.requestId&&(w(d.requestId),d.requestId=null),d.tapped&&(clearTimeout(d.tapped),d.tapped=null)},v.prototype.ontouchstart=function(d){var f=this,C=M(d.target),g=f.instance,P=g.current,A=P.$slide,u=P.$content,r=d.type=="touchstart";if(r&&f.$container.off("mousedown.fb.touch"),!(d.originalEvent&&d.originalEvent.button==2)&&!(!A.length||!C.length||b(C)||b(C.parent()))&&!(!C.is("img")&&d.originalEvent.clientX>C[0].clientWidth+C.offset().left)){if(!P||g.isAnimating||P.$slide.hasClass("fancybox-animated")){d.stopPropagation(),d.preventDefault();return}f.realPoints=f.startPoints=S(d),f.startPoints.length&&(P.touch&&d.stopPropagation(),f.startEvent=d,f.canTap=!0,f.$target=C,f.$content=u,f.opts=P.opts.touch,f.isPanning=!1,f.isSwiping=!1,f.isZooming=!1,f.isScrolling=!1,f.canPan=g.canPan(),f.startTime=new Date().getTime(),f.distanceX=f.distanceY=f.distance=0,f.canvasWidth=Math.round(A[0].clientWidth),f.canvasHeight=Math.round(A[0].clientHeight),f.contentLastPos=null,f.contentStartPos=M.fancybox.getTranslate(f.$content)||{top:0,left:0},f.sliderStartPos=M.fancybox.getTranslate(A),f.stagePos=M.fancybox.getTranslate(g.$refs.stage),f.sliderStartPos.top-=f.stagePos.top,f.sliderStartPos.left-=f.stagePos.left,f.contentStartPos.top-=f.stagePos.top,f.contentStartPos.left-=f.stagePos.left,M(W).off(".fb.touch").on(r?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",M.proxy(f,"ontouchend")).on(r?"touchmove.fb.touch":"mousemove.fb.touch",M.proxy(f,"ontouchmove")),M.fancybox.isMobile&&W.addEventListener("scroll",f.onscroll,!0),!((!(f.opts||f.canPan)||
4!(C.is(f.$stage)||f.$stage.find(C).length))&&(C.is(".fancybox-image")&&d.preventDefault(),!(M.fancybox.isMobile&&C.parents(".fancybox-caption").length)))&&(f.isScrollable=m(C)||m(C.parent()),M.fancybox.isMobile&&f.isScrollable||d.preventDefault(),(f.startPoints.length===1||P.hasError)&&(f.canPan?(M.fancybox.stop(f.$content),f.isPanning=!0):f.isSwiping=!0,f.$container.addClass("fancybox-is-grabbing")),f.startPoints.length===2&&P.type==="image"&&(P.isLoaded||P.$ghost)&&(f.canTap=!1,f.isSwiping=!1,f.isPanning=!1,f.isZooming=!0,M.fancybox.stop(f.$content),f.centerPointStartX=(f.startPoints[0].x+f.startPoints[1].x)*.5-M(e).scrollLeft(),f.centerPointStartY=(f.startPoints[0].y+f.startPoints[1].y)*.5-M(e).scrollTop(),f.percentageOfImageAtPinchPointX=(f.centerPointStartX-f.contentStartPos.left)/f.contentStartPos.width,f.percentageOfImageAtPinchPointY=(f.centerPointStartY-f.contentStartPos.top)/f.contentStartPos.height,f.startDistanceBetweenFingers=a(f.startPoints[0],f.startPoints[1]))))}},v.prototype.onscroll=function(d){var f=this;f.isScrolling=!0,W.removeEventListener("scroll",f.onscroll,!0)},v.prototype.ontouchmove=function(d){var f=this;if(d.originalEvent.buttons!==void 0&&d.originalEvent.buttons===0){f.ontouchend(d);return}if(f.isScrolling){f.canTap=!1;return}f.newPoints=S(d),!(!(f.opts||f.canPan)||!f.newPoints.length||!f.newPoints.length)&&(f.isSwiping&&f.isSwiping===!0||d.preventDefault(),f.distanceX=a(f.newPoints[0],f.startPoints[0],"x"),f.distanceY=a(f.newPoints[0],f.startPoints[0],"y"),f.distance=a(f.newPoints[0],f.startPoints[0]),f.distance>0&&(f.isSwiping?f.onSwipe(d):f.isPanning?f.onPan():f.isZooming&&f.onZoom()))},v.prototype.onSwipe=function(d){var f=this,C=f.instance,g=f.isSwiping,P=f.sliderStartPos.left||0,A;if(g===!0){if(Math.abs(f.distance)>10){if(f.canTap=!1,C.group.length<2&&f.opts.vertical?f.isSwiping="y":C.isDragging||f.opts.vertical===!1||f.opts.vertical==="auto"&&M(e).width()>800?f.isSwiping="x":(A=Math.abs(Math.atan2(f.distanceY,f.distanceX)*180/Math.PI),f.isSwiping=A>45&&A<135?"y":"x"),f.isSwiping==="y"&&M.fancybox.isMobile&&f.isScrollable){f.isScrolling=!0;return}C.isDragging=f.isSwiping,f.startPoints=f.newPoints,M.each(C.slides,function(u,r){var c,T;M.fancybox.stop(r.$slide),c=M.fancybox.getTranslate(r.$slide),T=M.fancybox.getTranslate(C.$refs.stage),r.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(k,l){return(l.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),r.pos===C.current.pos&&(f.sliderStartPos.top=c.top-T.top,f.sliderStartPos.left=c.left-T.left),M.fancybox.setTranslate(r.$slide,{top:c.top-T.top,left:c.left-T.left})}),C.SlideShow&&C.SlideShow.isActive&&C.SlideShow.stop()}return}g=="x"&&(f.distanceX>0&&(f.instance.group.length<2||f.instance.current.index===0&&!f.instance.current.opts.loop)?P=P+Math.pow(f.distanceX,.8):f.distanceX<0&&(f.instance.group.length<2||f.instance.current.index===f.instance.group.length-1&&!f.instance.current.opts.loop)?P=P-Math.pow(-f.distanceX,.8):P=P+f.distanceX),f.sliderLastPos={top:g=="x"?0:f.sliderStartPos.top+f.distanceY,left:P},f.requestId&&(w(f.requestId),f.requestId=null),f.requestId=mt(function(){f.sliderLastPos&&(M.each(f.instance.slides,function(u,r){var c=r.pos-f.instance.currPos;
4M.fancybox.setTranslate(r.$slide,{top:f.sliderLastPos.top,left:f.sliderLastPos.left+c*f.canvasWidth+c*r.opts.gutter})}),f.$container.addClass("fancybox-is-sliding"))})},v.prototype.onPan=function(){var d=this;if(a(d.newPoints[0],d.realPoints[0])<(M.fancybox.isMobile?10:5)){d.startPoints=d.newPoints;return}d.canTap=!1,d.contentLastPos=d.limitMovement(),d.requestId&&w(d.requestId),d.requestId=mt(function(){M.fancybox.setTranslate(d.$content,d.contentLastPos)})},v.prototype.limitMovement=function(){var d=this,f=d.canvasWidth,C=d.canvasHeight,g=d.distanceX,P=d.distanceY,A=d.contentStartPos,u=A.left,r=A.top,c=A.width,T=A.height,k,l,R,F,Y,G;return c>f?Y=u+g:Y=u,G=r+P,k=Math.max(0,f*.5-c*.5),l=Math.max(0,C*.5-T*.5),R=Math.min(f-c,f*.5-c*.5),F=Math.min(C-T,C*.5-T*.5),g>0&&Y>k&&(Y=k-1+Math.pow(-k+u+g,.8)||0),g<0&&Y<R&&(Y=R+1-Math.pow(R-u-g,.8)||0),P>0&&G>l&&(G=l-1+Math.pow(-l+r+P,.8)||0),P<0&&G<F&&(G=F+1-Math.pow(F-r-P,.8)||0),{top:G,left:Y}},v.prototype.limitPosition=function(d,f,C,g){var P=this,A=P.canvasWidth,u=P.canvasHeight;return C>A?(d=d>0?0:d,d=d<A-C?A-C:d):d=Math.max(0,A/2-C/2),g>u?(f=f>0?0:f,f=f<u-g?u-g:f):f=Math.max(0,u/2-g/2),{top:f,left:d}},v.prototype.onZoom=function(){var d=this,f=d.contentStartPos,C=f.width,g=f.height,P=f.left,A=f.top,u=a(d.newPoints[0],d.newPoints[1]),r=u/d.startDistanceBetweenFingers,c=Math.floor(C*r),T=Math.floor(g*r),k=(C-c)*d.percentageOfImageAtPinchPointX,l=(g-T)*d.percentageOfImageAtPinchPointY,R=(d.newPoints[0].x+d.newPoints[1].x)/2-M(e).scrollLeft(),F=(d.newPoints[0].y+d.newPoints[1].y)/2-M(e).scrollTop(),Y=R-d.centerPointStartX,G=F-d.centerPointStartY,j=P+(k+Y),Z=A+(l+G),H={top:Z,left:j,scaleX:r,scaleY:r};d.canTap=!1,d.newWidth=c,d.newHeight=T,d.contentLastPos=H,d.requestId&&w(d.requestId),d.requestId=mt(function(){M.fancybox.setTranslate(d.$content,d.contentLastPos)})},v.prototype.ontouchend=function(d){var f=this,C=f.isSwiping,g=f.isPanning,P=f.isZooming,A=f.isScrolling;if(f.endPoints=S(d),f.dMs=Math.max(new Date().getTime()-f.startTime,1),f.$container.removeClass("fancybox-is-grabbing"),M(W).off(".fb.touch"),W.removeEventListener("scroll",f.onscroll,!0),f.requestId&&(w(f.requestId),f.requestId=null),f.isSwiping=!1,f.isPanning=!1,f.isZooming=!1,f.isScrolling=!1,f.instance.isDragging=!1,f.canTap)return f.onTap(d);f.speed=100,f.velocityX=f.distanceX/f.dMs*.5,f.velocityY=f.distanceY/f.dMs*.5,g?f.endPanning():P?f.endZooming():f.endSwiping(C,A)},v.prototype.endSwiping=function(d,f){var C=this,g=!1,P=C.instance.group.length,A=Math.abs(C.distanceX),u=d=="x"&&P>1&&(C.dMs>130&&A>10||A>50),r=300;C.sliderLastPos=null,d=="y"&&!f&&Math.abs(C.distanceY)>50?(M.fancybox.animate(C.instance.current.$slide,{top:C.sliderStartPos.top+C.distanceY+C.velocityY*150,opacity:0},200),g=C.instance.close(!0,250)):u&&C.distanceX>0?g=C.instance.previous(r):u&&C.distanceX<0&&(g=C.instance.next(r)),g===!1&&(d=="x"||d=="y")&&C.instance.centerSlide(200),C.$container.removeClass("fancybox-is-sliding")},v.prototype.endPanning=function(){var d=this,f,C,g;d.contentLastPos&&(d.opts.momentum===!1||d.dMs>350?(f=d.contentLastPos.left,C=d.contentLastPos.top):(f=d.contentLastPos.left+d.velocityX*500,C=d.contentLastPos.top+d.velocityY*500),g=d.limitPosition(f,C,d.contentStartPos.width,d.contentStartPos.height),g.width=d.contentStartPos.width,g.height=d.contentStartPos.height,M.fancybox.animate(d.$content,g,366))},v.prototype.endZooming=function(){var d=this,f=d.instance.current,C,g,P,A,u=d.newWidth,r=d.newHeight;d.contentLastPos&&(C=d.contentLastPos.left,g=d.contentLastPos.top,A={top:g,left:C,width:u,height:r,scaleX:1,scaleY:1},M.fancybox.setTranslate(d.$content,A),u<d.canvasWidth&&r<d.canvasHeight?d.instance.scaleToFit(150):u>f.width||r>f.height?d.instance.scaleToActual(d.centerPointStartX,d.centerPointStartY,150):(P=d.limitPosition(C,g,u,r),M.fancybox.animate(d.$content,P,150)))},v.prototype.onTap=function(d){var f=this,C=M(d.target),g=f.instance,P=g.current,A=d&&S(d)||f.startPoints,u=A[0]?A[0].x-M(e).scrollLeft()-f.stagePos.left:0,r=A[0]?A[0].y-M(e).scrollTop()-f.stagePos.top:0,c,T=function(k){var l=P.opts[k];if(M.isFunction(l)&&(l=l.apply(g,[P,d])),!!l)switch(l){case"close"
4:g.close(f.startEvent);break;case"toggleControls":g.toggleControls();break;case"next":g.next();break;case"nextOrClose":g.group.length>1?g.next():g.close(f.startEvent);break;case"zoom":P.type=="image"&&(P.isLoaded||P.$ghost)&&(g.canPan()?g.scaleToFit():g.isScaledDown()?g.scaleToActual(u,r):g.group.length<2&&g.close(f.startEvent));break}};if(!(d.originalEvent&&d.originalEvent.button==2)&&!(!C.is("img")&&u>C[0].clientWidth+C.offset().left)){if(C.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))c="Outside";else if(C.is(".fancybox-slide"))c="Slide";else if(g.current.$content&&g.current.$content.find(C).addBack().filter(C).length)c="Content";else return;if(f.tapped){if(clearTimeout(f.tapped),f.tapped=null,Math.abs(u-f.tapX)>50||Math.abs(r-f.tapY)>50)return this;T("dblclick"+c)}else f.tapX=u,f.tapY=r,P.opts["dblclick"+c]&&P.opts["dblclick"+c]!==P.opts["click"+c]?f.tapped=setTimeout(function(){f.tapped=null,g.isAnimating||T("click"+c)},500):T("click"+c);return this}},M(W).on("onActivate.fb",function(d,f){f&&!f.Guestures&&(f.Guestures=new v(f))}).on("beforeClose.fb",function(d,f){f&&f.Guestures&&f.Guestures.destroy()})})(window,document,jQuery),(function(e,W){"use strict";W.extend(!0,W.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var M=function(mt){this.instance=mt,this.init()};W.extend(M.prototype,{timer:null,isActive:!1,$button:null,init:function(){var mt=this,w=mt.instance,S=w.group[w.currIndex].opts.slideShow;mt.$button=w.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){mt.toggle()}),w.group.length<2||!S?mt.$button.hide():S.progress&&(mt.$progress=W('<div class="fancybox-progress"></div>').appendTo(w.$refs.inner))},set:function(mt){var w=this,S=w.instance,a=S.current;a&&(mt===!0||a.opts.loop||S.currIndex<S.group.length-1)?w.isActive&&a.contentType!=="video"&&(w.$progress&&W.fancybox.animate(w.$progress.show(),{scaleX:1},a.opts.slideShow.speed),w.timer=setTimeout(function(){!S.current.opts.loop&&S.current.index==S.group.length-1?S.jumpTo(0):S.next()},a.opts.slideShow.speed)):(w.stop(),S.idleSecondsCounter=0,S.showControls())},clear:function(){var mt=this;clearTimeout(mt.timer),mt.timer=null,mt.$progress&&mt.$progress.removeAttr("style").hide()},start:function(){var mt=this,w=mt.instance.current;w&&(mt.$button.attr("title",(w.opts.i18n[w.opts.lang]||w.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),mt.isActive=!0,w.isComplete&&mt.set(!0),mt.instance.trigger("onSlideShowChange",!0))},stop:function(){var mt=this,w=mt.instance.current;mt.clear(),mt.$button.attr("title",(w.opts.i18n[w.opts.lang]||w.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),mt.isActive=!1,mt.instance.trigger("onSlideShowChange",!1),mt.$progress&&mt.$progress.removeAttr("style").hide()},toggle:function(){var mt=this;mt.isActive?mt.stop():mt.start()}}),W(e).on({"onInit.fb":function(mt,w){w&&!w.SlideShow&&(w.SlideShow=new M(w))},"beforeShow.fb":function(mt,w,S,a){var b=w&&w.SlideShow;a?b&&S.opts.slideShow.autoStart&&b.start():b&&b.isActive&&b.clear()},"afterShow.fb":function(mt,w,S){var a=w&&w.SlideShow;a&&a.isActive&&a.set()},"afterKeydown.fb":function(mt,w,S,a,b){var x=w&&w.SlideShow;x&&S.opts.slideShow&&(b===80||b===32)&&!W(e.activeElement).is("button,a,input")&&(a.preventDefault(),x.toggle())},"beforeClose.fb onDeactivate.fb":function(mt,w){var S=w&&w.SlideShow;S&&S.stop()}}),W(e).on("visibilitychange",function(){var mt=W.fancybox.getInstance(),w=mt&&mt.SlideShow;w&&w.isActive&&(e.hidden?w.clear():w.set())})})(document,jQuery),(function(e,W){"use strict";var M=(function(){for(var w=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
4webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],S={},a=0;a<w.length;a++){var b=w[a];if(b&&b[1]in e){for(var x=0;x<b.length;x++)S[w[0][x]]=b[x];return S}}return!1})();if(M){var mt={request:function(w){w=w||e.documentElement,w[M.requestFullscreen](w.ALLOW_KEYBOARD_INPUT)},exit:function(){e[M.exitFullscreen]()},toggle:function(w){w=w||e.documentElement,this.isFullscreen()?this.exit():this.request(w)},isFullscreen:function(){return!!e[M.fullscreenElement]},enabled:function(){return!!e[M.fullscreenEnabled]}};W.extend(!0,W.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),W(e).on(M.fullscreenchange,function(){var w=mt.isFullscreen(),S=W.fancybox.getInstance();S&&(S.current&&S.current.type==="image"&&S.isAnimating&&(S.isAnimating=!1,S.update(!0,!0,0),S.isComplete||S.complete()),S.trigger("onFullscreenChange",w),S.$refs.container.toggleClass("fancybox-is-fullscreen",w),S.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!w).toggleClass("fancybox-button--fsexit",w))})}W(e).on({"onInit.fb":function(w,S){var a;if(!M){S.$refs.toolbar.find("[data-fancybox-fullscreen]").remove();return}S&&S.group[S.currIndex].opts.fullScreen?(a=S.$refs.container,a.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(b){b.stopPropagation(),b.preventDefault(),mt.toggle()}),S.opts.fullScreen&&S.opts.fullScreen.autoStart===!0&&mt.request(),S.FullScreen=mt):S&&S.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(w,S,a,b,x){S&&S.FullScreen&&x===70&&(b.preventDefault(),S.FullScreen.toggle())},"beforeClose.fb":function(w,S){S&&S.FullScreen&&S.$refs.container.hasClass("fancybox-is-fullscreen")&&mt.exit()}})})(document,jQuery),(function(e,W){"use strict";var M="fancybox-thumbs",mt=M+"-active";W.fancybox.defaults=W.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},W.fancybox.defaults);var w=function(S){this.init(S)};W.extend(w.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(S){var a=this,b=S.group,x=0;a.instance=S,a.opts=b[S.currIndex].opts.thumbs,S.Thumbs=a,a.$button=S.$refs.toolbar.find("[data-fancybox-thumbs]");for(var m=0,v=b.length;m<v&&(b[m].thumb&&x++,!(x>1));m++);x>1&&a.opts?(a.$button.removeAttr("style").on("click",function(){a.toggle()}),a.isActive=!0):a.$button.hide()},create:function(){var S=this,a=S.instance,b=S.opts.parentEl,x=[],m;S.$grid||(S.$grid=W('<div class="'+M+" "+M+"-"+S.opts.axis+'"></div>').appendTo(a.$refs.container.find(b).addBack().filter(b)),S.$grid.on("click","a",function(){a.jumpTo(W(this).attr("data-index"))})),S.$list||(S.$list=W('<div class="'+M+'__list">').appendTo(S.$grid)),W.each(a.group,function(v,d){m=d.thumb,!m&&d.type==="image"&&(m=d.src),x.push('<a href="javascript:;" tabindex="0" data-index="'+v+'"'+(m&&m.length?' style="background-image:url('+m+')"':'class="fancybox-thumbs-missing"')+"></a>")}),S.$list[0].innerHTML=x.join(""),S.opts.axis==="x"&&S.$list.width(parseInt(S.$grid.css("padding-right"),10)+a.group.length*S.$list.children().eq(0).outerWidth(!0))},focus:function(S){var a=this,b=a.$list,x=a.$grid,m,v;a.instance.current&&(m=b.children().removeClass(mt).filter('[data-index="'+a.instance.current.index+'"]').addClass(mt),v=m.position(),a.opts.axis==="y"&&(v.top<0||v.top>b.height()-m.outerHeight())?b.stop().animate({scrollTop:b.scrollTop()+v.top},S):a.opts.axis==="x"&&(v.left<x.scrollLeft()||v.left>x.scrollLeft()+(x.width()-m.outerWidth()))&&b.parent().stop().animate({scrollLeft:v.left},S))},update:function(){var S=this;S.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),S.isVisible?(S.$grid||S.create(),S.instance.trigger("onThumbsShow"),S.focus(0)):S.$grid&&S.instance.trigger("onThumbsHide"),S.instance.update(
4)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),W(e).on({"onInit.fb":function(S,a){var b;a&&!a.Thumbs&&(b=new w(a),b.isActive&&b.opts.autoStart===!0&&b.show())},"beforeShow.fb":function(S,a,b,x){var m=a&&a.Thumbs;m&&m.isVisible&&m.focus(x?0:250)},"afterKeydown.fb":function(S,a,b,x,m){var v=a&&a.Thumbs;v&&v.isActive&&m===71&&(x.preventDefault(),v.toggle())},"beforeClose.fb":function(S,a){var b=a&&a.Thumbs;b&&b.isVisible&&b.opts.hideOnClose!==!1&&b.$grid.hide()}})})(document,jQuery),(function(e,W){"use strict";W.extend(!0,W.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(mt,w){return(!mt.currentHash&&!(w.type==="inline"||w.type==="html")?w.origSrc||w.src:!1)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}});function M(mt){var w={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(mt).replace(/[&<>"'`=\/]/g,function(S){return w[S]})}W(e).on("click","[data-fancybox-share]",function(){var mt=W.fancybox.getInstance(),w=mt.current||null,S,a;w&&(W.type(w.opts.share.url)==="function"&&(S=w.opts.share.url.apply(w,[mt,w])),a=w.opts.share.tpl.replace(/\{\{media\}\}/g,w.type==="image"?encodeURIComponent(w.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(S)).replace(/\{\{url_raw\}\}/g,M(S)).replace(/\{\{descr\}\}/g,mt.$caption?encodeURIComponent(mt.$caption.text()):""),W.fancybox.open({src:mt.translate(mt,a),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(b,x){mt.$refs.container.one("beforeClose.fb",function(){b.close(null,0)}),x.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})})(document,jQuery),(function(e,W,M){"use strict";M.escapeSelector||(M.escapeSelector=function(a){var b=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,x=function(m,v){return v?m==="\0"?"\uFFFD":m.slice(0,-1)+"\\"+m.charCodeAt(m.length-1).toString(16)+" ":"\\"+m};return(a+"").replace(b,x)});function mt(){var a=e.location.hash.substr(1),b=a.split("-"),x=b.length>1&&/^\+?\d+$/.test(b[b.length-1])&&parseInt(b.pop(-1),10)||1,m=b.join("-");return{hash:a,index:x<1?1:x,gallery:m}}function w(a){a.gallery!==""&&M("[data-fancybox='"+M.escapeSelector(a.gallery)+"']").eq(a.index-1).focus().trigger("click.fb-start")}function S(a){var b,x;
4return a?(b=a.current?a.current.opts:a.opts,x=b.hash||(b.$orig?b.$orig.data("fancybox")||b.$orig.data("fancybox-trigger"):""),x===""?!1:x):!1}M(function(){M.fancybox.defaults.hash!==!1&&(M(W).on({"onInit.fb":function(a,b){var x,m;b.group[b.currIndex].opts.hash!==!1&&(x=mt(),m=S(b),m&&x.gallery&&m==x.gallery&&(b.currIndex=x.index-1))},"beforeShow.fb":function(a,b,x,m){var v;!x||x.opts.hash===!1||(v=S(b),v&&(b.currentHash=v+(b.group.length>1?"-"+(x.index+1):""),e.location.hash!=="#"+b.currentHash&&(m&&!b.origHash&&(b.origHash=e.location.hash),b.hashTimer&&clearTimeout(b.hashTimer),b.hashTimer=setTimeout(function(){"replaceState"in e.history?(e.history[m?"pushState":"replaceState"]({},W.title,e.location.pathname+e.location.search+"#"+b.currentHash),m&&(b.hasCreatedHistory=!0)):e.location.hash=b.currentHash,b.hashTimer=null},300))))},"beforeClose.fb":function(a,b,x){!x||x.opts.hash===!1||(clearTimeout(b.hashTimer),b.currentHash&&b.hasCreatedHistory?e.history.back():b.currentHash&&("replaceState"in e.history?e.history.replaceState({},W.title,e.location.pathname+e.location.search+(b.origHash||"")):e.location.hash=b.origHash),b.currentHash=null)}}),M(e).on("hashchange.fb",function(){var a=mt(),b=null;M.each(M(".fancybox-container").get().reverse(),function(x,m){var v=M(m).data("FancyBox");if(v&&v.currentHash)return b=v,!1}),b?b.currentHash!==a.gallery+"-"+a.index&&!(a.index===1&&b.currentHash==a.gallery)&&(b.currentHash=null,b.close()):a.gallery!==""&&w(a)}),setTimeout(function(){M.fancybox.getInstance()||w(mt())},50))})})(window,document,jQuery),(function(e,W){"use strict";var M=new Date().getTime();W(e).on({"onInit.fb":function(mt,w,S){w.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(a){var b=w.current,x=new Date().getTime();w.group.length<2||b.opts.wheel===!1||b.opts.wheel==="auto"&&b.type!=="image"||(a.preventDefault(),a.stopPropagation(),!b.$slide.hasClass("fancybox-animated")&&(a=a.originalEvent||a,!(x-M<250)&&(M=x,w[(-a.deltaY||-a.deltaX||a.wheelDelta||-a.detail)<0?"next":"previous"]())))})}})})(document,jQuery);var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var windowIsDefined=(typeof window=="undefined"?"undefined":_typeof(window))==="object";(function(e){if(typeof define=="function"&&define.amd)define(["jquery"],e);else if((typeof module=="undefined"?"undefined":_typeof(module))==="object"&&module.exports){var W;try{W=require("jquery")}catch(M){W=null}module.exports=e(W)}else window&&(window.Slider=e(window.jQuery))})(function(e){var W="slider",M="bootstrapSlider";windowIsDefined&&!window.console&&(window.console={}),windowIsDefined&&!window.console.log&&(window.console.log=function(){}),windowIsDefined&&!window.console.warn&&(window.console.warn=function(){});var mt;return(function(w){"use strict";var S=Array.prototype.slice;function a(){}function b(x){if(!x)return;function m(f){f.prototype.option||(f.prototype.option=function(C){x.isPlainObject(C)&&(this.options=x.extend(!0,this.options,C))})}var v=typeof console=="undefined"?a:function(f){console.error(f)};function d(f,C){x.fn[f]=function(g){if(typeof g=="string"){for(var P=S.call(arguments,1),A=0,u=this.length;A<u;A++){var r=this[A],c=x.data(r,f);if(!c){v("cannot call methods on "+f+" prior to initialization; attempted to call '"+g+"'");continue}if(!x.isFunction(c[g])||g.charAt(0)==="_"){v("no such method '"+g+"' for "+f+" instance");continue}var T=c[g].apply(c,P);if(T!==void 0&&T!==c)return T}return this}else{var k=this.map(function(){var l=x.data(this,f);return l?(l.option(g),l._init()):(l=new C(this,g),x.data(this,f,l)),x(this)});return k.length===1?k[0]:k}}}return x.bridget=function(f,C){m(C),d(f,C)},x.bridget}b(w)})(e),(function(w){var S=void 0,a={formatInvalidInputErrorMsg:function(v){return"Invalid input value '"+v+"' passed in"},callingContextNotSliderInstance:"Calling context element does not have instance of Slider bound to it. Check your code to make sure the JQuery object returned from the call to the slider() initializer is calling the method"},b={linear:{getValue:function(v,d){return v<d.min?d.min:v>d.max?d.max:v},toValue:function(v){var d=v/100*(this.options.max-this.options.min),f=!0;if(this.options.ticks_positions.length>0){for(var C,g,P,A=0,u=1;u<this.options.ticks_positions.length;u++)if(v<=this.options.ticks_positions[u]){C=this.options.ticks[u-1],P=this.options.ticks_positions[u-1],g=this.options.ticks[u],A=this.options.ticks_positions[u];break}var r=(v-P)/(A-P);d=C+r*(g-C),f=!1}var c=f?this.options.min:0,T=c+Math.round(d/this.options.step)*this.options.step;return b.linear.getValue(T,this.options)},toPercentage:function(v){if(this.options.max===this.options.min)return 0;if(this.options.ticks_positions.length>0){for(var d,f,C,g=0,P=0;P<this.options.ticks.length;P++)if(v<=this.options.ticks[P]){d=P>0?this.options.ticks[P-1]:0,C=P>0?this.options.ticks_positions[P-1]:0,f=this.options.ticks[P],g=this.options.ticks_positions[P];break}if(P>0){var A=(v-d)/(f-d);return C+A*(g-C)}}return 100*(v-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(v){var d=1-this.options.min,f=Math.log(this.options.min+d),C=Math.log(this.options.max+d),g=Math.exp(f+(C-f)*v/100)-d;return Math.round(g)===C?C:(g=this.options.min+Math.round((g-this.options.min)/this.options.step)*this.options.step,b.linear.getValue(g,this.options))},toPercentage:function(v){if(this.options.max===this.options.min)return 0;var d=1-this.options.min,f=Math.log(this.options.max+d),C=Math.log(this.options.min+d),g=Math.log(v+d);return 100*(g-C)/(f-C)}}};mt=function(v,d){return x.call(this,v,d),this};function x(m,v){this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null},this.ticksCallbackMap={},this.handleCallbackMap={},typeof m=="string"?this.element=document.querySelector(m):m instanceof HTMLElement&&(this.element=m),v=v||{};for(var d=Object.keys(this.defaultOptions),f=v.hasOwnProperty("min"),C=v.hasOwnProperty("max"),g=0;g<d.length;g++){var P=d[g],A=v[P];A=typeof A!="undefined"?A:r(this.element,P),A=A!==null?A:this.defaultOptions[P],this.options||(this.options={}),this.options[P]=A}if(this.ticksAreValid=Array.isArray(this.options.ticks)&&this.options.ticks.length>0,this.ticksAreValid||(this.options.lock_to_ticks=!1),this.options.rtl==="auto"){var u=window.getComputedStyle(this.element);u!=null?this.options.rtl=u.direction==="rtl":this.options.rtl=this.element.style.direction==="rtl"}this.options.orientation==="vertical"&&(this.options.tooltip_position==="top"||this.options.tooltip_position==="bottom")?this.options.rtl?this.options.tooltip_position="left":this.options.tooltip_position="right":this.options.orientation==="horizontal"&&(this.options.tooltip_position==="left"||this.options.tooltip_position==="right")&&(this.options.tooltip_position="top");
vendor: 18,334 bytes, line 4
4function r(ne,le){var ce="data-slider-"+le.replace(/_/g,"-"),fe=ne.getAttribute(ce);try{return JSON.parse(fe)}catch(he){return fe}}var c=this.element.style.width,T=!1,k=this.element.parentNode,l,R,F,Y,G;if(this.sliderElem)T=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var j=document.createElement("div");j.className="slider-track",R=document.createElement("div"),R.className="slider-track-low",l=document.createElement("div"),l.className="slider-selection",F=document.createElement("div"),F.className="slider-track-high",Y=document.createElement("div"),Y.className="slider-handle min-slider-handle",Y.setAttribute("role","slider"),Y.setAttribute("aria-valuemin",this.options.min),Y.setAttribute("aria-valuemax",this.options.max),G=document.createElement("div"),G.className="slider-handle max-slider-handle",G.setAttribute("role","slider"),G.setAttribute("aria-valuemin",this.options.min),G.setAttribute("aria-valuemax",this.options.max),j.appendChild(R),j.appendChild(l),j.appendChild(F),this.rangeHighlightElements=[];var Z=this.options.rangeHighlights;if(Array.isArray(Z)&&Z.length>0)for(var H=0;H<Z.length;H++){var ht=document.createElement("div"),lt=Z[H].class||"";ht.className="slider-rangeHighlight slider-selection "+lt,this.rangeHighlightElements.push(ht),j.appendChild(ht)}var ut=Array.isArray(this.options.labelledby);if(ut&&this.options.labelledby[0]&&Y.setAttribute("aria-labelledby",this.options.labelledby[0]),ut&&this.options.labelledby[1]&&G.setAttribute("aria-labelledby",this.options.labelledby[1]),!ut&&this.options.labelledby&&(Y.setAttribute("aria-labelledby",this.options.labelledby),G.setAttribute("aria-labelledby",this.options.labelledby)),this.ticks=[],Array.isArray(this.options.ticks)&&this.options.ticks.length>0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",g=0;g<this.options.ticks.length;g++){var pt=document.createElement("div");if(pt.className="slider-tick",this.options.ticks_tooltip){var wt=this._addTickListener(),_t=wt.addMouseEnter(this,pt,g),Tt=wt.addMouseLeave(this,pt);this.ticksCallbackMap[g]={mouseEnter:_t,mouseLeave:Tt}}this.ticks.push(pt),this.ticksContainer.appendChild(pt)}l.className+=" tick-slider-selection"}if(this.tickLabels=[],Array.isArray(this.options.ticks_labels)&&this.options.ticks_labels.length>0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",g=0;g<this.options.ticks_labels.length;g++){var Ut=document.createElement("div"),Xt=this.options.ticks_positions.length===0,Jt=this.options.reversed&&Xt?this.options.ticks_labels.length-(g+1):g;Ut.className="slider-tick-label",Ut.innerHTML=this.options.ticks_labels[Jt],this.tickLabels.push(Ut),this.tickLabelContainer.appendChild(Ut)}var qt=function(le){var ce=document.createElement("div");ce.className="tooltip-arrow";var fe=document.createElement("div");fe.className="tooltip-inner",le.appendChild(ce),le.appendChild(fe)},zt=document.createElement("div");zt.className="tooltip tooltip-main",zt.setAttribute("role","presentation"),qt(zt);var Zt=document.createElement("div");Zt.className="tooltip tooltip-min",Zt.setAttribute("role","presentation"),qt(Zt);var Gt=document.createElement("div");Gt.className="tooltip tooltip-max",Gt.setAttribute("role","presentation"),qt(Gt),this.sliderElem.appendChild(j),this.sliderElem.appendChild(zt),this.sliderElem.appendChild(Zt),this.sliderElem.appendChild(Gt),this.tickLabelContainer&&this.sliderElem.appendChild(this.tickLabelContainer),this.ticksContainer&&this.sliderElem.appendChild(this.ticksContainer),this.sliderElem.appendChild(Y),this.sliderElem.appendChild(G),k.insertBefore(this.sliderElem,this.element),this.element.style.display="none"}if(w&&(this.$element=w(this.element),this.$sliderElem=w(this.sliderElem)),this.eventToCallbackMap={},this.sliderElem.id=this.options.id,this.touchCapable="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,this.touchX=0,this.touchY=0,this.tooltip=this.sliderElem.querySelector(".tooltip-main"),this.tooltipInner=this.tooltip.querySelector(".tooltip-inner"),this.tooltip_min=this.sliderElem.querySelector(".tooltip-min"),this.tooltipInner_min=this.tooltip_min.querySelector(".tooltip-inner"),this.tooltip_max=this.sliderElem.querySelector(".tooltip-max"),this.tooltipInner_max=this.tooltip_max.querySelector(".tooltip-inner"),b[this.options.scale]&&(this.options.scale=b[this.options.scale]),T===!0&&(this._removeClass(this.sliderElem,"slider-horizontal"),this._removeClass(this.sliderElem,"slider-vertical"),this._removeClass(this.sliderElem,"slider-rtl"),this._removeClass(this.tooltip,"hide"),this._removeClass(this.tooltip_min,"hide"),this._removeClass(this.tooltip_max,"hide"),["left","right","top","width","height"].forEach(function(ne){this._removeProperty(this.trackLow,ne),this._removeProperty(this.trackSelection,ne),this._removeProperty(this.trackHigh,ne)},this),[this.handle1,this.handle2].forEach(function(ne){this._removeProperty(ne,"left"),this._removeProperty(ne,"right"),this._removeProperty(ne,"top")},this),[this.tooltip,this.tooltip_min,this.tooltip_max].forEach(function(ne){this._removeProperty(ne,"left"),this._removeProperty(ne,"right"),this._removeProperty(ne,"top"),this._removeClass(ne,"right"),this._removeClass(ne,"left"),this._removeClass(ne,"top")},this)),this.options.orientation==="vertical"?(this._addClass(this.sliderElem,"slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight"):(this._addClass(this.sliderElem,"slider-horizontal"),this.sliderElem.style.width=c,this.options.orientation="horizontal",this.options.rtl?this.stylePos="right":this.stylePos="left",this.mousePos="clientX",this.sizePos="offsetWidth"),this.options.rtl&&this._addClass(this.sliderElem,"slider-rtl"),this._setTooltipPosition(),Array.isArray(this.options.ticks)&&this.options.ticks.length>0&&(C||(this.options.max=Math.max.apply(Math,this.options.ticks)),f||(this.options.min=Math.min.apply(Math,this.options.ticks))),Array.isArray(this.options.value)?(this.options.range=!0,this._state.value=this.options.value):this.options.range?this._state.value=[this.options.value,this.options.max]:this._state.value=this.options.value,this.trackLow=R||this.trackLow,this.trackSelection=l||this.trackSelection,this.trackHigh=F||this.trackHigh,this.options.selection==="none"?(this._addClass(this.trackLow,"hide"),this._addClass(this.trackSelection,"hide"),this._addClass(this.trackHigh,"hide")):(this.options.selection==="after"||this.options.selection==="before")&&(this._removeClass(this.trackLow,"hide"),this._removeClass(this.trackSelection,"hide"),this._removeClass(this.trackHigh,"hide")),this.handle1=Y||this.handle1,this.handle2=G||this.handle2,T===!0)for(this._removeClass(this.handle1,"round triangle"),this._removeClass(this.handle2,"round triangle hide"),g=0;g<this.ticks.length;g++)this._removeClass(this.ticks[g],"round triangle hide");var te=["round","triangle","custom"],ie=te.indexOf(this.options.handle)!==-1;if(ie)for(this._addClass(this.handle1,this.options.handle),this._addClass(this.handle2,this.options.handle),g=0;g<this.ticks.length;g++)this._addClass(this.ticks[g],this.options.handle);if(this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this.setValue(this._state.value),this.handle1Keydown=this._keydown.bind(this,0),this.handle1.addEventListener("keydown",this.handle1Keydown,!1),this.handle2Keydown=this._keydown.bind(this,1),this.handle2.addEventListener("keydown",this.handle2Keydown,!1),this.mousedown=this._mousedown.bind(this),this.touchstart=this._touchstart.bind(this),this.touchmove=this._touchmove.bind(this),this.touchCapable&&(this.sliderElem.addEventListener("touchstart",this.touchstart,!1),this.sliderElem.addEventListener("touchmove",this.touchmove,!1)),this.sliderElem.addEventListener("mousedown",this.mousedown,!1),this.resize=this._resize.bind(this),window.addEventListener("resize",this.resize,!1),this.options.tooltip==="hide")this._addClass(this.tooltip,"hide"),this._addClass(this.tooltip_min,"hide"),this._addClass(this.tooltip_max,"hide");else if(this.options.tooltip==="always")this._showTooltip(),this._alwaysShowTooltip=!0;else{if(this.showTooltip=this._showTooltip.bind(this),this.hideTooltip=this._hideTooltip.bind(this),this.options.ticks_tooltip){var Te=this._addTickListener(),ve=Te.addMouseEnter(this,this.handle1),Se=Te.addMouseLeave(this,this.handle1);this.handleCallbackMap.handle1={mouseEnter:ve,mouseLeave:Se},ve=Te.addMouseEnter(this,this.handle2),Se=Te.addMouseLeave(this,this.handle2),this.handleCallbackMap.handle2={mouseEnter:ve,mouseLeave:Se}}else this.sliderElem.addEventListener("mouseenter",this.showTooltip,!1),this.sliderElem.addEventListener("mouseleave",this.hideTooltip,!1),this.touchCapable&&(this.sliderElem.addEventListener("touchstart",this.showTooltip,!1),this.sliderElem.addEventListener("touchmove",this.showTooltip,!1),this.sliderElem.addEventListener("touchend",this.hideTooltip,!1));this.handle1.addEventListener("focus",this.showTooltip,!1),this.handle1.addEventListener("blur",this.hideTooltip,!1),this.handle2.addEventListener("focus",this.showTooltip,!1),this.handle2.addEventListener("blur",this.hideTooltip,!1),this.touchCapable&&(this.handle1.addEventListener("touchstart",this.showTooltip,!1),this.handle1.addEventListener("touchmove",this.showTooltip,!1),this.handle1.addEventListener("touchend",this.hideTooltip,!1),this.handle2.addEventListener("touchstart",this.showTooltip,!1),this.handle2.addEventListener("touchmove",this.showTooltip,!1),this.handle2.addEventListener("touchend",this.hideTooltip,!1))}this.options.enabled?this.enable():this.disable()}mt.prototype={_init:function(){},constructor:mt,defaultOptions:{id:"",min:0,max:10,step:1,precision:0,orientation:"horizontal",value:5,range:!1,selection:"before",tooltip:"show",tooltip_split:!1,lock_to_ticks:!1,handle:"round",reversed:!1,rtl:"auto",enabled:!0,formatter:function(v){return Array.isArray(v)?v[0]+" : "+v[1]:v},natural_arrow_keys:!1,ticks:[],ticks_positions:[],ticks_labels:[],ticks_snap_bounds:0,ticks_tooltip:!1,scale:"linear",focus:!1,tooltip_position:null,labelledby:null,rangeHighlights:[]},getElement:function(){return this.sliderElem},getValue:function(){return this.options.range?this._state.value:this._state.value[0]},setValue:function(v,d,f){v||(v=0);var C=this.getValue();this._state.value=this._validateInputValue(v);var g=this._applyPrecision.bind(this);this.options.range?(this._state.value[0]=g(this._state.value[0]),this._state.value[1]=g(this._state.value[1]),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value[0]=this.options.ticks[this._getClosestTickIndex(this._state.value[0])],this._state.value[1]=this.options.ticks[this._getClosestTickIndex(this._state.value[1])]),this._state.value[0]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[0])),this._state.value[1]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[1]))):(this._state.value=g(this._state.value),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value=this.options.ticks[this._getClosestTickIndex(this._state.value)]),this._state.value=[Math.max(this.options.min,Math.min(this.options.max,this._state.value))],this._addClass(this.handle2,"hide"),this.options.selection==="after"?this._state.value[1]=this.options.max:this._state.value[1]=this.options.min),this._setTickIndex(),this.options.max>this.options.min?this._state.percentage=[this._toPercentage(this._state.value[0]),this._toPercentage(this._state.value[1]),this.options.step*100/(this.options.max-this.options.min)]:this._state.percentage=[0,0,100],this._layout();var P=this.options.range?this._state.value:this._state.value[0];this._setDataVal(P),d===!0&&this._trigger("slide",P);var A=!1;return Array.isArray(P)?A=C[0]!==P[0]||C[1]!==P[1]:A=C!==P,A&&f===!0&&this._trigger("change",{oldValue:C,newValue:P}),this},destroy:function(){this._removeSliderEventHandlers(),this.sliderElem.parentNode.removeChild(this.sliderElem),this.element.style.display="",this._cleanUpEventCallbacksMap(),this.element.removeAttribute("data"),w&&(this._unbindJQueryEventHandlers(),S===W&&this.$element.removeData(S),this.$element.removeData(M))},disable:function(){return this._state.enabled=!1,this.handle1.removeAttribute("tabindex"),this.handle2.removeAttribute("tabindex"),this._addClass(this.sliderElem,"slider-disabled"),this._trigger("slideDisabled"),this},enable:function(){return this._state.enabled=!0,this.handle1.setAttribute("tabindex",0),this.handle2.setAttribute("tabindex",0),this._removeClass(this.sliderElem,"slider-disabled"),this._trigger("slideEnabled"),this},toggle:function(){return this._state.enabled?this.disable():this.enable(),this},isEnabled:function(){return this._state.enabled},on:function(v,d){return this._bindNonQueryEventHandler(v,d),this},off:function(v,d){w?(this.$element.off(v,d),this.$sliderElem.off(v,d)):this._unbindNonQueryEventHandler(v,d)},getAttribute:function(v){return v?this.options[v]:this.options},setAttribute:function(v,d){return this.options[v]=d,this},refresh:function(v){var d=this.getValue();return this._removeSliderEventHandlers(),x.call(this,this.element,this.options),v&&v.useCurrentValue===!0&&this.setValue(d),w&&(S===W?(w.data(this.element,W,this),w.data(this.element,M,this)):w.data(this.element,M,this)),this},relayout:function(){return this._resize(),this},_removeTooltipListener:function(v,d){this.handle1.removeEventListener(v,d,!1),this.handle2.removeEventListener(v,d,!1)},_removeSliderEventHandlers:function(){if(this.handle1.removeEventListener("keydown",this.handle1Keydown,!1),this.handle2.removeEventListener("keydown",this.handle2Keydown,!1),this.options.ticks_tooltip){for(var v=this.ticksContainer.getElementsByClassName("slider-tick"),d=0;d<v.length;d++)v[d].removeEventListener("mouseenter",this.ticksCallbackMap[d].mouseEnter,!1),v[d].removeEventListener("mouseleave",this.ticksCallbackMap[d].mouseLeave,!1);this.handleCallbackMap.handle1&&this.handleCallbackMap.handle2&&(this.handle1.removeEventListener("mouseenter",this.handleCallbackMap.handle1.mouseEnter,!1),this.handle2.removeEventListener("mouseenter",this.handleCallbackMap.handle2.mouseEnter,!1),this.handle1.removeEventListener("mouseleave",this.handleCallbackMap.handle1.mouseLeave,!1),this.handle2.removeEventListener("mouseleave",this.handleCallbackMap.handle2.mouseLeave,!1))}this.handleCallbackMap=null,this.ticksCallbackMap=null,this.showTooltip&&this._removeTooltipListener("focus",this.showTooltip),this.hideTooltip&&this._removeTooltipListener("blur",this.hideTooltip),this.showTooltip&&this.sliderElem.removeEventListener("mouseenter",this.showTooltip,!1),this.hideTooltip&&this.sliderElem.removeEventListener("mouseleave",this.hideTooltip,!1),this.sliderElem.removeEventListener("mousedown",this.mousedown,!1),this.touchCapable&&(this.showTooltip&&(this.handle1.removeEventListener("touchstart",this.showTooltip,!1),this.handle1.removeEventListener("touchmove",this.showTooltip,!1),this.handle2.removeEventListener("touchstart",this.showTooltip,!1),this.handle2.removeEventListener("touchmove",this.showTooltip,!1)),this.hideTooltip&&(this.handle1.removeEventListener("touchend",this.hideTooltip,!1),this.handle2.removeEventListener("touchend",this.hideTooltip,!1)),this.showTooltip&&(this.sliderElem.removeEventListener("touchstart",this.showTooltip,!1),this.sliderElem.removeEventListener("touchmove",this.showTooltip,!1)),this.hideTooltip&&this.sliderElem.removeEventListener("touchend",this.hideTooltip,!1),this.sliderElem.removeEventListener("touchstart",this.touchstart,!1),this.sliderElem.removeEventListener("touchmove",this.touchmove,!1)),window.removeEventListener("resize",this.resize,!1)},_bindNonQueryEventHandler:function(v,d){this.eventToCallbackMap[v]===void 0&&(this.eventToCallbackMap[v]=[]),this.eventToCallbackMap[v].push(d)},_unbindNonQueryEventHandler:function(v,d){var f=this.eventToCallbackMap[v];if(f!==void 0){for(var C=0;C<f.length;C++)if(f[C]===d){f.splice(C,1);break}}},_cleanUpEventCallbacksMap:function(){for(var v=Object.keys(this.eventToCallbackMap),d=0;d<v.length;d++){var f=v[d];delete this.eventToCallbackMap[f]}},_showTooltip:function(){this.options.tooltip_split===!1?(this._addClass(this.tooltip,"in"),this.tooltip_min.style.display="none",this.tooltip_max.style.display="none"):(this._addClass(this.tooltip_min,"in"),this._addClass(this.tooltip_max,"in"),this.tooltip.style.display="none"),this._state.over=!0},_hideTooltip:function(){this._state.inDrag===!1&&this._alwaysShowTooltip!==!0&&(this._removeClass(this.tooltip,"in"),this._removeClass(this.tooltip_min,"in"),this._removeClass(this.tooltip_max,"in")),this._state.over=!1},_setToolTipOnMouseOver:function(v){var d=this,f=this.options.formatter(v?v.value[0]:this._state.value[0]),C=v?g(v,this.options.reversed):g(this._state,this.options.reversed);this._setText(this.tooltipInner,f),this.tooltip.style[this.stylePos]=C[0]+"%";function g(P,A){return A?[100-P.percentage[0],d.options.range?100-P.percentage[1]:P.percentage[1]]:[P.percentage[0],P.percentage[1]]}},_copyState:function(){return{value:[this._state.value[0],this._state.value[1]],enabled:this._state.enabled,offset:this._state.offset,size:this._state.size,percentage:[this._state.percentage[0],this._state.percentage[1],this._state.percentage[2]],inDrag:this._state.inDrag,over:this._state.over,dragged:this._state.dragged,keyCtrl:this._state.keyCtrl}},_addTickListener:function(){return{addMouseEnter:function(d,f,C){var g=function(){var A=d._copyState(),u=f===d.handle1?A.value[0]:A.value[1],r=void 0;C!==void 0?(u=d.options.ticks[C],r=d.options.ticks_positions.length>0&&d.options.ticks_positions[C]||d._toPercentage(d.options.ticks[C])):r=d._toPercentage(u),A.value[0]=u,A.percentage[0]=r,d._setToolTipOnMouseOver(A),d._showTooltip()};return f.addEventListener("mouseenter",g,!1),g},addMouseLeave:function(d,f){var C=function(){d._hideTooltip()};return f.addEventListener("mouseleave",C,!1),C}}},_layout:function(){var v,d;if(this.options.reversed?v=[100-this._state.percentage[0],this.options.range?100-this._state.percentage[1]:this._state.percentage[1]]:v=[this._state.percentage[0],this._state.percentage[1]],this.handle1.style[this.stylePos]=v[0]+"
4%",this.handle1.setAttribute("aria-valuenow",this._state.value[0]),d=this.options.formatter(this._state.value[0]),isNaN(d)?this.handle1.setAttribute("aria-valuetext",d):this.handle1.removeAttribute("aria-valuetext"),this.handle2.style[this.stylePos]=v[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),d=this.options.formatter(this._state.value[1]),isNaN(d)?this.handle2.setAttribute("aria-valuetext",d):this.handle2.removeAttribute("aria-valuetext"),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var f=0;f<this.options.rangeHighlights.length;f++){var C=this._toPercentage(this.options.rangeHighlights[f].start),g=this._toPercentage(this.options.rangeHighlights[f].end);if(this.options.reversed){var P=100-g;g=100-C,C=P}var A=this._createHighlightRange(C,g);A?this.options.orientation==="vertical"?(this.rangeHighlightElements[f].style.top=A.start+"%",this.rangeHighlightElements[f].style.height=A.size+"%"):(this.options.rtl?this.rangeHighlightElements[f].style.right=A.start+"%":this.rangeHighlightElements[f].style.left=A.start+"%",this.rangeHighlightElements[f].style.width=A.size+"%"):this.rangeHighlightElements[f].style.display="none"}if(Array.isArray(this.options.ticks)&&this.options.ticks.length>0){var u=this.options.orientation==="vertical"?"height":"width",r;this.options.orientation==="vertical"?r="marginTop":this.options.rtl?r="marginRight":r="marginLeft";var c=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var T=0;if(this.options.ticks_positions.length===0)this.options.orientation!=="vertical"&&(this.tickLabelContainer.style[r]=-c/2+"px"),T=this.tickLabelContainer.offsetHeight;else for(k=0;k<this.tickLabelContainer.childNodes.length;k++)this.tickLabelContainer.childNodes[k].offsetHeight>T&&(T=this.tickLabelContainer.childNodes[k].offsetHeight);this.options.orientation==="horizontal"&&(this.sliderElem.style.marginBottom=T+"px")}for(var k=0;k<this.options.ticks.length;k++){var l=this.options.ticks_positions[k]||this._toPercentage(this.options.ticks[k]);this.options.reversed&&(l=100-l),this.ticks[k].style[this.stylePos]=l+"%",this._removeClass(this.ticks[k],"in-selection"),this.options.range?l>=v[0]&&l<=v[1]&&this._addClass(this.ticks[k],"in-selection"):this.options.selection==="after"&&l>=v[0]?this._addClass(this.ticks[k],"in-selection"):this.options.selection==="before"&&l<=v[0]&&this._addClass(this.ticks[k],"in-selection"),this.tickLabels[k]&&(this.tickLabels[k].style[u]=c+"px",this.options.orientation!=="vertical"&&this.options.ticks_positions[k]!==void 0?(this.tickLabels[k].style.position="absolute",this.tickLabels[k].style[this.stylePos]=l+"%",this.tickLabels[k].style[r]=-c/2+"px"):this.options.orientation==="vertical"&&(this.options.rtl?this.tickLabels[k].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[k].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[r]=this.sliderElem.offsetWidth/2*-1+"px"),this._removeClass(this.tickLabels[k],"label-in-selection label-is-selection"),this.options.range?l>=v[0]&&l<=v[1]&&(this._addClass(this.tickLabels[k],"label-in-selection"),(l===v[0]||v[1])&&this._addClass(this.tickLabels[k],"label-is-selection")):(this.options.selection==="after"&&l>=v[0]?this._addClass(this.tickLabels[k],"label-in-selection"):this.options.selection==="before"&&l<=v[0]&&this._addClass(this.tickLabels[k],"label-in-selection"),l===v[0]&&this._addClass(this.tickLabels[k],"label-is-selection")))}}var R;if(this.options.range){R=this.options.formatter(this._state.value),this._setText(this.tooltipInner,R),this.tooltip.style[this.stylePos]=(v[1]+v[0])/2+"%";var F=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,F);var Y=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,Y),this.tooltip_min.style[this.stylePos]=v[0]+"%",this.tooltip_max.style[this.stylePos]=v[1]+"%"}else R=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,R),this.tooltip.style[this.stylePos]=v[0]+"
4%";if(this.options.orientation==="vertical")this.trackLow.style.top="0",this.trackLow.style.height=Math.min(v[0],v[1])+"%",this.trackSelection.style.top=Math.min(v[0],v[1])+"%",this.trackSelection.style.height=Math.abs(v[0]-v[1])+"%",this.trackHigh.style.bottom="0",this.trackHigh.style.height=100-Math.min(v[0],v[1])-Math.abs(v[0]-v[1])+"%";else{this.stylePos==="right"?this.trackLow.style.right="0":this.trackLow.style.left="0",this.trackLow.style.width=Math.min(v[0],v[1])+"%",this.stylePos==="right"?this.trackSelection.style.right=Math.min(v[0],v[1])+"%":this.trackSelection.style.left=Math.min(v[0],v[1])+"%",this.trackSelection.style.width=Math.abs(v[0]-v[1])+"%",this.stylePos==="right"?this.trackHigh.style.left="0":this.trackHigh.style.right="0",this.trackHigh.style.width=100-Math.min(v[0],v[1])-Math.abs(v[0]-v[1])+"%";var G=this.tooltip_min.getBoundingClientRect(),j=this.tooltip_max.getBoundingClientRect();this.options.tooltip_position==="bottom"?G.right>j.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):G.right>j.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top=this.tooltip_min.style.top)}},_createHighlightRange:function(v,d){return this._isHighlightRange(v,d)?v>d?{start:d,size:v-d}:{start:v,size:d-v}:null},_isHighlightRange:function(v,d){return 0<=v&&v<=100&&0<=d&&d<=100},_resize:function(v){this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this._layout()},_removeProperty:function(v,d){v.style.removeProperty?v.style.removeProperty(d):v.style.removeAttribute(d)},_mousedown:function(v){if(!this._state.enabled)return!1;v.preventDefault&&v.preventDefault(),this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos];var d=this._getPercentage(v);if(this.options.range){var f=Math.abs(this._state.percentage[0]-d),C=Math.abs(this._state.percentage[1]-d);this._state.dragged=f<C?0:1,this._adjustPercentageForRangeSliders(d)}else this._state.dragged=0;this._state.percentage[this._state.dragged]=d,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),this.mousemove&&document.removeEventListener("mousemove",this.mousemove,!1),this.mouseup&&document.removeEventListener("mouseup",this.mouseup,!1),this.mousemove=this._mousemove.bind(this),this.mouseup=this._mouseup.bind(this),this.touchCapable&&(document.addEventListener("touchmove",this.mousemove,!1),document.addEventListener("touchend",this.mouseup,!1)),document.addEventListener("mousemove",this.mousemove,!1),document.addEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!0;var g=this._calculateValue();return this._trigger("slideStart",g),this.setValue(g,!1,!0),v.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0},_touchstart:function(v){this._mousedown(v)},_triggerFocusOnHandle:function(v){v===0&&this.handle1.focus(),v===1&&this.handle2.focus()},_keydown:function(v,d){if(!this._state.enabled)return!1;var f;switch(d.keyCode){case 37:case 40:f=-1;break;case 39:case 38:f=1;break}if(f){if(this.options.natural_arrow_keys){var C=this.options.orientation==="horizontal",g=this.options.orientation==="vertical",P=this.options.rtl,A=this.options.reversed;C?P?A||(f=-f):A&&(f=-f):g&&(A||(f=-f))}var u;if(this.ticksAreValid&&this.options.lock_to_ticks){var r=void 0;r=this.options.ticks.indexOf(this._state.value[v]),r===-1&&(r=0,window.console.warn("(lock_to_ticks) _keydown: index should not be -1")),r+=f,r=Math.max(0,Math.min(this.options.ticks.length-1,r)),u=this.options.ticks[r]}else u=this._state.value[v]+f*this.options.step;var c=this._toPercentage(u);if(this._state.keyCtrl=v,this.options.range){this._adjustPercentageForRangeSliders(c);var T=this._state.keyCtrl?this._state.value[0]:u,k=this._state.keyCtrl?u:this._state.value[1];u=[Math.max(this.options.min,Math.min(this.options.max,T)),Math.max(this.options.min,Math.min(this.options.max,k))]}else u=Math.max(this.options.min,Math.min(this.options.max,u));return this._trigger("slideStart",u),this.setValue(u,!0,!0),this._trigger("slideStop",u),this._pauseEvent(d),delete this._state.keyCtrl,!1}},_pauseEvent:function(v){v.stopPropagation&&v.stopPropagation(),v.preventDefault&&v.preventDefault(),v.cancelBubble=!0,v.returnValue=!1},_mousemove:function(v){if(!this._state.enabled)return!1;var d=this._getPercentage(v);this._adjustPercentageForRangeSliders(d),this._state.percentage[this._state.dragged]=d;var f=this._calculateValue(!0);return this.setValue(f,!0,!0),!1},_touchmove:function(v){v.changedTouches!==void 0&&v.preventDefault&&v.preventDefault()},_adjustPercentageForRangeSliders:function(v){if(this.options.range){var d=this._getNumDigitsAfterDecimalPlace(v);d=d?d-1:0;var f=this._applyToFixedAndParseFloat(v,d);this._state.dragged===0&&this._applyToFixedAndParseFloat(this._state.percentage[1],d)<f?(this._state.percentage[0]=this._state.percentage[1],this._state.dragged=1):this._state.dragged===1&&this._applyToFixedAndParseFloat(this._state.percentage[0],d)>f?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):this._state.keyCtrl===0&&this._toPercentage(this._state.value[1])<v?(this._state.percentage[0]=this._state.percentage[1],this._state.keyCtrl=1,this.handle2.focu
4s()):this._state.keyCtrl===1&&this._toPercentage(this._state.value[0])>v&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus())}},_mouseup:function(v){if(!this._state.enabled)return!1;var d=this._getPercentage(v);this._adjustPercentageForRangeSliders(d),this._state.percentage[this._state.dragged]=d,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),document.removeEventListener("mousemove",this.mousemove,!1),document.removeEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!1,this._state.over===!1&&this._hideTooltip();var f=this._calculateValue(!0);return this.setValue(f,!1,!0),this._trigger("slideStop",f),this._state.dragged=null,!1},_setValues:function(v,d){var f=v===0?0:100;this._state.percentage[v]!==f&&(d.data[v]=this._toValue(this._state.percentage[v]),d.data[v]=this._applyPrecision(d.data[v]))},_calculateValue:function(v){var d={};return this.options.range?(d.data=[this.options.min,this.options.max],this._setValues(0,d),this._setValues(1,d),v&&(d.data[0]=this._snapToClosestTick(d.data[0]),d.data[1]=this._snapToClosestTick(d.data[1]))):(d.data=this._toValue(this._state.percentage[0]),d.data=parseFloat(d.data),d.data=this._applyPrecision(d.data),v&&(d.data=this._snapToClosestTick(d.data))),d.data},_snapToClosestTick:function(v){for(var d=[v,1/0],f=0;f<this.options.ticks.length;f++){var C=Math.abs(this.options.ticks[f]-v);C<=d[1]&&(d=[this.options.ticks[f],C])}return d[1]<=this.options.ticks_snap_bounds?d[0]:v},_applyPrecision:function(v){var d=this.options.precision||this._getNumDigitsAfterDecimalPlace(this.options.step);return this._applyToFixedAndParseFloat(v,d)},_getNumDigitsAfterDecimalPlace:function(v){var d=(""+v).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return d?Math.max(0,(d[1]?d[1].length:0)-(d[2]?+d[2]:0)):0},_applyToFixedAndParseFloat:function(v,d){var f=v.toFixed(d);return parseFloat(f)},_getPercentage:function(v){this.touchCapable&&(v.type==="touchstart"||v.type==="touchmove"||v.type==="touchend")&&(v=v.changedTouches[0]);var d=v[this.mousePos],f=this._state.offset[this.stylePos],C=d-f;this.stylePos==="right"&&(C=-C);var g=C/this._state.size*100;return g=Math.round(g/this._state.percentage[2])*this._state.percentage[2],this.options.reversed&&(g=100-g),Math.max(0,Math.min(100,g))},_validateInputValue:function(v){if(isNaN(+v)){if(Array.isArray(v))return this._validateArray(v),v;throw new Error(a.formatInvalidInputErrorMsg(v))}else return+v},_validateArray:function(v){for(var d=0;d<v.length;d++){var f=v[d];if(typeof f!="number")throw new Error(a.formatInvalidInputErrorMsg(f))}},_setDataVal:function(v){this.element.setAttribute("data-value",v),this.element.setAttribute("value",v),this.element.value=v},_trigger:function(v,d){d=d||d===0?d:void 0;var f=this.eventToCallbackMap[v];if(f&&f.length)for(var C=0;C<f.length;C++){var g=f[C];g(d)}w&&this._triggerJQueryEvent(v,d)},_triggerJQueryEvent:function(v,d){var f={type:v,value:d};this.$element.trigger(f),this.$sliderElem.trigger(f)},_unbindJQueryEventHandlers:function(){this.$element.off(),this.$sliderElem.off()},_setText:function(v,d){typeof v.textContent!="undefined"?v.textContent=d:typeof v.innerText!="undefined"&&(v.innerText=d)},_removeClass:function(v,d){for(var f=d.split(" "),C=v.className,g=0;g<f.length;g++){var P=f[g],A=new RegExp("(?:\\s|^)"+P+"(?:\\s|$)");C=C.replace(A," ")}v.className=C.trim()},_addClass:function(v,d){for(var f=d.split(" "),C=v.className,g=0;g<f.length;g++){var P=f[g],A=new RegExp("(?:\\s|^)"+P+"(?:\\s|$)"),u=A.test(C);u||(C+=" "+P)}v.className=C.trim()},_offsetLeft:function(v){return v.getBoundingClientRect().left},_offsetRight:function(v){return v.getBoundingClientRect().right},_offsetTop:function(v){for(var d=v.offsetTop;(v=v.offsetParent)&&!isNaN(v.offsetTop);)d+=v.offsetTop,v.tagName!=="BODY"&&(d-=v.scrollTop);return d},_offset:function(v){return{left:this._offsetLeft(v),right:this._offsetRight(v),top:this._offsetTop(v)}},_css:function(v,d,f){if(w)w.style(v,d,f);else{var C=d.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(g,P){return P.toUpperCase()});v.style[C]=f}},_toValue:function(v){return this.options.scale.toValue.apply(this,[v])},_toPercentage:function(v){return this.options.scale.toPercentage.apply(this,[v])},_setTooltipPosition:function(){var v=[this.tooltip,this.tooltip_min,this.tooltip_max];if(this.options.orientation==="vertical"){var d;this.options.tooltip_position?d=this.options.tooltip_position:this.options.rtl?d="left":d="right";var f=d==="left"?"right":"left";v.forEach(function(C){this._addClass(C,d),C.style[f]="100%"}.bind(this))}else this.options.tooltip_position==="bottom"?v.forEach(function(C){this._addClass(C,"bottom"),C.style.top="22px"}.bind(this)):v.forEach(function(C){this._addClass(C,"top"),C.style.top=-this.tooltip.outerHeight-14+"px"}.bind(this))},_getClosestTickIndex:function(v){for(var d=Math.abs(v-this.options.ticks[0]),f=0,C=0;C<this.options.ticks.length;++C){var g=Math.abs(v-this.options.ticks[C]);g<d&&(d=g,f=C)}return f},_setTickIndex:function(){this.ticksAreValid&&(this._state.tickIndex=[this.options.ticks.indexOf(this._state.value[0]),this.options.ticks.indexOf(this._state.value[1])])}},w&&w.fn&&(w.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSl
4ider namespace instead."),S=M):(w.bridget(W,mt),S=W),w.bridget(M,mt),w(function(){w("input[data-provide=slider]")[S]()}))})(e),mt});(function(e,W){typeof exports=="object"&&typeof module!="undefined"?module.exports=W():typeof define=="function"&&define.amd?define(W):e.Sweetalert2=W()})(this,(function(){"use strict";function e(tt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(z){return typeof z}:e=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},e(tt)}function W(tt,z){if(!(tt instanceof z))throw new TypeError("Cannot call a class as a function")}function M(tt,z){for(var K=0;K<z.length;K++){var ft=z[K];ft.enumerable=ft.enumerable||!1,ft.configurable=!0,"value"in ft&&(ft.writable=!0),Object.defineProperty(tt,ft.key,ft)}}function mt(tt,z,K){return z&&M(tt.prototype,z),K&&M(tt,K),tt}function w(){return w=Object.assign||function(tt){for(var z=1;z<arguments.length;z++){var K=arguments[z];for(var ft in K)Object.prototype.hasOwnProperty.call(K,ft)&&(tt[ft]=K[ft])}return tt},w.apply(this,arguments)}function S(tt,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");tt.prototype=Object.create(z&&z.prototype,{constructor:{value:tt,writable:!0,configurable:!0}}),z&&b(tt,z)}function a(tt){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},a(tt)}function b(tt,z){return b=Object.setPrototypeOf||function(ft,$t){return ft.__proto__=$t,ft},b(tt,z)}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(tt){return!1}}function m(tt,z,K){return x()?m=Reflect.construct:m=function($t,xe,Ne){var Xe=[null];Xe.push.apply(Xe,xe);var ei=Function.bind.apply($t,Xe),si=new ei;return Ne&&b(si,Ne.prototype),si},m.apply(null,arguments)}function v(tt){if(tt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return tt}function d(tt,z){return z&&(typeof z=="object"||typeof z=="function")?z:v(tt)}function f(tt,z){for(;!Object.prototype.hasOwnProperty.call(tt,z)&&(tt=a(tt),tt!==null););return tt}function C(tt,z,K){return typeof Reflect!="undefined"&&Reflect.get?C=Reflect.get:C=function($t,xe,Ne){var Xe=f($t,xe);if(Xe){var ei=Object.getOwnPropertyDescriptor(Xe,xe);return ei.get?ei.get.call(Ne):ei.value}},C(tt,z,K||tt)}var g="SweetAlert2:",P=function(z){for(var K=[],ft=0;ft<z.length;ft++)K.indexOf(z[ft])===-1&&K.push(z[ft]);return K},A=function(z){return Array.prototype.slice.call(z)},u=function(z){var K=[];return typeof Map!="undefined"&&z instanceof Map?z.forEach(function(ft,$t){K.push([$t,ft])}):Object.keys(z).forEach(function(ft){K.push([ft,z[ft]])}),K},r=function(z){console.warn("".concat(g," ").concat(z))},c=function(z){console.error("".concat(g," ").concat(z))},T=[],k=function(z){T.indexOf(z)===-1&&(T.push(z),r(z))},l=function(z){return typeof z=="function"?z():z},R=function(z){return z&&Promise.resolve(z)===z},F=Object.freeze({cancel:"cancel",backdrop:"overlay",close:"close",esc:"esc",timer:"timer"}),Y=function(z){var K={};return e(z[0])==="object"?w(K,z[0]):["title","html","type"].forEach(function(ft,$t){switch(e(z[$t])){case"string":K[ft]=z[$t];break;case"undefined":break;default:c("Unexpected type of ".concat(ft,'! Expected "string", got ').concat(e(z[$t])))}}),K},G=function(z){return function(ft,$t){return z.call(this,ft,$t).then(function(){},function(xe){return xe})}},j="swal2-",Z=function(z){var K={};for(var ft in z)K[z[ft]]=j+z[ft];return K},H=Z(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","icon-text","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled","top","top-start","to
4p-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),ht=Z(["success","warning","info","question","error"]),lt={previousBodyPadding:null},ut=function(z,K){return z.classList.contains(K)},pt=function(z){if(z.focus(),z.type!=="file"){var K=z.value;z.value="",z.value=K}},wt=function(z,K,ft){!z||!K||(typeof K=="string"&&(K=K.split(/\s+/).filter(Boolean)),K.forEach(function($t){z.forEach?z.forEach(function(xe){ft?xe.classList.add($t):xe.classList.remove($t)}):ft?z.classList.add($t):z.classList.remove($t)}))},_t=function(z,K){wt(z,K,!0)},Tt=function(z,K){wt(z,K,!1)},Ut=function(z,K){for(var ft=0;ft<z.childNodes.length;ft++)if(ut(z.childNodes[ft],K))return z.childNodes[ft]},Xt=function(z){z.style.opacity="",z.style.display=z.id===H.content?"block":"flex"},Jt=function(z){z.style.opacity="",z.style.display="none"},qt=function(z){return z&&(z.offsetWidth||z.offsetHeight||z.getClientRects().length)},zt=function(z,K){if(typeof z.contains=="function")return z.contains(K)},Zt=function(){return document.body.querySelector("."+H.container)},Gt=function(z){var K=Zt();return K?K.querySelector("."+z):null},te=function(){return Gt(H.popup)},ie=function(){var z=te();return A(z.querySelectorAll("."+H.icon))},Te=function(){return Gt(H.title)},ve=function(){return Gt(H.content)},Se=function(){return Gt(H.image)},ne=function(){return Gt(H.progresssteps)},le=function(){return Gt(H["validation-message"])},ce=function(){return Gt(H.confirm)},fe=function(){return Gt(H.cancel)},he=function(){return k("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"),Gt(H.actions)},_e=function(){return Gt(H.actions)},ee=function(){return Gt(H.footer)},jt=function(){return Gt(H.close)},se=function(){var z=A(te().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(ft,$t){return ft=parseInt(ft.getAttribute("tabindex")),$t=parseInt($t.getAttribute("tabindex")),ft>$t?1:ft<$t?-1:0}),K=A(te().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function(ft){return ft.getAttribute("tabindex")!=="-1"});return P(z.concat(K)).filter(function(ft){return qt(ft)})},me=function(){return!Fe()&&!document.body.classList.contains(H["no-backdrop"])},Fe=function(){return document.body.classList.contains(H["toast-shown"])},re=function(){return te().hasAttribute("data-loading")},We=function(){return typeof window=="undefined"||typeof document=="undefined"},$e=`
5 <div aria-labelledby="`.concat(H.title,'" aria-describedby="').concat(H.content,'" class="').concat(H.popup,`" tabindex="-1">
6   <div class="`).concat(H.header,`">
7     <ul class="`).concat(H.progresssteps,`"></ul>
8     <div class="`).concat(H.icon," ").concat(ht.error,`">
9       <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>
10     </div>
11     <div class="`).concat(H.icon," ").concat(ht.question,`">
12       <span class="`).concat(H["icon-text"],`">?</span>
13      </div>
14     <div class="`).concat(H.icon," ").concat(ht.warning,`">
15       <span class="`).concat(H["icon-text"],`">!</span>
16      </div>
17     <div class="`).concat(H.icon," ").concat(ht.info,`">
18       <span class="`).concat(H["icon-text"],`">i</span>
19      </div>
20     <div class="`).concat(H.icon," ").concat(ht.success,`">
21       <div class="swal2-success-circular-line-left"></div>
22       <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
23       <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
24       <div class="swal2-success-circular-line-right"></div>
25     </div>
26     <img class="`).concat(H.image,`" />
27     <h2 class="`).concat(H.title,'" id="').concat(H.title,`"></h2>
28     <button type="button" class="`).concat(H.close,`">\xD7</button>
29   </div>
30   <div class="`).concat(H.content,`">
31     <div id="`).concat(H.content,`"></div>
32     <input class="`).concat(H.input,`" />
33     <input type="file" class="`).concat(H.file,`" />
34     <div class="`).concat(H.range,`">
35       <input type="range" />
36       <output></output>
37     </div>
38     <select class="`).concat(H.select,`"></select>
39     <div class="`).concat(H.radio,`"></div>
40     <label for="`).concat(H.checkbox,'" class="').concat(H.checkbox,`">
41       <input type="checkbox" />
42       <span class="`).concat(H.label,`"></span>
43     </label>
44     <textarea class="`).concat(H.textarea,`"></textarea>
45     <div class="`).concat(H["validation-message"],'" id="').concat(H["validation-message"],`"></div>
46   </div>
47   <div class="`).concat(H.actions,`">
48     <button type="button" class="`).concat(H.confirm,`">OK</button>
49     <button type="button" class="`).concat(H.cancel,`">Cancel</button>
50   </div>
51   <div class="`).concat(H.footer,`">
52   </div>
53 </div>
54`).replace(/(^|\n)\s*/g,""),Me=function(z){var K=Zt();if(K&&(K.parentNode.removeChild(K),Tt([document.documentElement,document.body],[H["no-backdrop"],H["toast-shown"],H["has-column"]])),We()){c("SweetAlert2 requires document to initialize");return}var ft=document.createElement("div");ft.className=H.container,ft.innerHTML=$e;var $t=typeof z.target=="string"?document.querySelector(z.target):z.target;$t.appendChild(ft);var xe=te(),Ne=ve(),Xe=Ut(Ne,H.input),ei=Ut(Ne,H.file),si=Ne.querySelector(".".concat(H.range," input")),Mi=Ne.querySelector(".".concat(H.range," output")),fi=Ut(Ne,H.select),Ti=Ne.querySelector(".".concat(H.checkbox," input")),Si=Ut(Ne,H.textarea);xe.setAttribute("role",z.toast?"alert":"dialog"),xe.setAttribute("aria-live",z.toast?"polite":"assertive"),z.toast||xe.setAttribute("aria-modal","true"),window.getComputedStyle($t).direction==="rtl"&&_t(Zt(),H.rtl);var di,li=function(Li){yi.isVisible()&&di!==Li.target.value&&yi.resetValidationMessage(),di=Li.target.value};return Xe.oninput=li,ei.onchange=li,fi.onchange=li,Ti.onchange=li,Si.oninput=li,si.oninput=function(bi){li(bi),Mi.value=si.value},si.onchange=function(bi){li(bi),si.nextSibling.value=si.value},xe},De=function(z,K){if(!z)return Jt(K);if(z instanceof HTMLElement)K.appendChild(z);else if(e(z)==="object")if(K.innerHTML="",0 in z)for(var ft=0;ft in z;ft++)K.appendChild(z[ft].cloneNode(!0));else K.appendChild(z.cloneNode(!0));else z&&(K.innerHTML=z);Xt(K)},t=(function(){if(We())return!1;var tt=document.createElement("div"),z={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var K in z)if(z.hasOwnProperty(K)&&typeof tt.style[K]!="undefined")return z[K];return!1})(),i=function(){var z="ontouchstart"in window||navigator.msMaxTouchPoints;if(z)return 0;var K=document.createElement("div");K.style.width="50px",K.style.height="50px",K.style.overflow="scroll",document.body.appendChild(K);var ft=K.offsetWidth-K.clientWidth;return document.body.removeChild(K),ft},s=function(z){var K=_e(),ft=ce(),$t=fe();if(!z.showConfirmButton&&!z.showCancelButton?Jt(K):Xt(K),z.showCancelButton?$t.style.display="inline-block":Jt($t),z.showConfirmButton?ft.style.removeProperty("display"):Jt(ft),ft.innerHTML=z.confirmButtonText,$t.innerHTML=z.cancelButtonText,ft.setAttribute("aria-label",z.confirmButtonAriaLabel),$t.setAttribute("aria-label",z.cancelButtonAriaLabel),ft.className=H.confirm,_t(ft,z.confirmButtonClass),$t.className=H.cancel,_t($t,z.cancelButtonClass),z.buttonsStyling){_t([ft,$t],H.styled),z.confirmButtonColor&&(ft.style.backgroundColor=z.confirmButtonColor),z.cancelButtonColor&&($t.style.backgroundColor=z.cancelButtonColor);var xe=window.getComputedStyle(ft).getPropertyValue("background-color");ft.style.borderLeftColor=xe,ft.style.borderRightColor=xe}else Tt([ft,$t],H.styled),ft.style.backgroundColor=ft.style.borderLeftColor=ft.style.borderRightColor="",$t.style.backgroundColor=$t.style.borderLeftColor=$t.style.borderRightColor=""},o=function(z){var K=ve().querySelector("#"+H.content);z.html?De(z.html,K):z.text?(K.textContent=z.text,Xt(K)):Jt(K)},p=function(z){for(var K=ie(),ft=0;ft<K.length;ft++)Jt(K[ft]);if(z.type)if(Object.keys(ht).indexOf(z.type)!==-1){var $t=yi.getPopup().querySelector(".".concat(H.icon,".").concat(ht[z.type]));Xt($t),z.animation&&_t($t,"swal2-animate-".concat(z.type,"-icon"))}else c('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(z.type,'"'))},_=function(z){var K=Se();z.imageUrl?(K.setAttribute("src",z.imageUrl),K.setAttribute("alt",z.imageAlt),Xt(K),z.imageWidth?K.setAttribute("width",z.imageWidth):K.removeAttribute("width"),z.imageHeight?K.setAttribute("height",z.imageHeight):K.removeAttribute("height"),K.className=H.image,z.imageClass&&_t(K,z.imageClass)):Jt(K)},I=function(z){var K=ne(),ft=parseInt(z.currentProgressStep===null?yi.getQueueStep():z.currentProgressStep,10);z.progressSteps&&z.progressSteps.length?(Xt(K),K.innerHTML="",ft>=z.progressSteps.length&&r("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),z.progressSteps.forEach(function($t,xe){var Ne=document.createElement("li");if(_t(Ne,H.progresscircle),Ne.innerHTML=$t,xe===ft&&_t(Ne,H.activeprogressstep),K.appendChild(Ne),xe!==z.progressSteps.length-1){var Xe=document.createElement("li");_t(Xe,H.progressline),z.progressStepsDistance&&(Xe.style.width=z.progressStepsDistance),K.appendChild(Xe)}})):Jt(K)},U=function(z){var K=Te();z.titleText?K.innerText=z.titleText:z.title&&(typeof z.title=="string"&&(z.title=z.title.split(`
55`).join("<br />")),De(z.title,K))},Q=function(){lt.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(lt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=lt.previousBodyPadding+i()+"px")},ot=function(){lt.previousBodyPadding!==null&&(document.body.style.paddingRight=lt.previousBodyPadding,lt.previousBodyPadding=null)},vt=function(){var z=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(z&&!ut(document.body,H.iosfix)){var K=document.body.scrollTop;document.body.style.top=K*-1+"px",_t(document.body,H.iosfix)}},xt=function(){if(ut(document.body,H.iosfix)){var z=parseInt(document.body.style.top,10);Tt(document.body,H.iosfix),document.body.style.top="",document.body.scrollTop=z*-1}},et=function(){return!!window.MSInputMethodContext&&!!document.documentMode},bt=function(){var z=Zt(),K=te();z.style.removeProperty("align-items"),K.offsetTop<0&&(z.style.alignItems="flex-start")},Mt=function(){typeof window!="undefined"&&et()&&(bt(),window.addEventListener("resize",bt))},at=function(){typeof window!="undefined"&&et()&&window.removeEventListener("resize",bt)},Ct=function(){var z=A(document.body.children);z.forEach(function(K){K===Zt()||zt(K,Zt())||(K.hasAttribute("aria-hidden")&&K.setAttribute("data-previous-aria-hidden",K.getAttribute("aria-hidden")),K.setAttribute("aria-hidden","true"))})},Rt=function(){var z=A(document.body.children);z.forEach(function(K){K.hasAttribute("data-previous-aria-hidden")?(K.setAttribute("aria-hidden",K.getAttribute("data-previous-aria-hidden")),K.removeAttribute("data-previous-aria-hidden")):K.removeAttribute("aria-hidden")})},Nt=100,Lt={},oe=function(){return new Promise(function(z){var K=window.scrollX,ft=window.scrollY;Lt.restoreFocusTimeout=setTimeout(function(){Lt.previousActiveElement&&Lt.previousActiveElement.focus?(Lt.previousActiveElement.focus(),Lt.previousActiveElement=null):document.body&&document.body.focus(),z()}
55,Nt),typeof K!="undefined"&&typeof ft!="undefined"&&window.scrollTo(K,ft)})},ye=function(z,K){var ft=Zt(),$t=te();if($t){z!==null&&typeof z=="function"&&z($t),Tt($t,H.show),_t($t,H.hide);var xe=function(){Fe()?J(K):(oe().then(function(){return J(K)}),Lt.keydownTarget.removeEventListener("keydown",Lt.keydownHandler,{capture:Lt.keydownListenerCapture}),Lt.keydownHandlerAdded=!1),ft.parentNode&&ft.parentNode.removeChild(ft),Tt([document.documentElement,document.body],[H.shown,H["height-auto"],H["no-backdrop"],H["toast-shown"],H["toast-column"]]),me()&&(ot(),xt(),at(),Rt())};t&&!ut($t,H.noanimation)?$t.addEventListener(t,function Ne(){$t.removeEventListener(t,Ne),ut($t,H.hide)&&xe()}):xe()}},J=function(z){z!==null&&typeof z=="function"&&setTimeout(function(){z()})},q=function(){return!!te()},V=function(){return ce().click()},it=function(){return fe().click()};function L(){for(var tt=this,z=arguments.length,K=new Array(z),ft=0;ft<z;ft++)K[ft]=arguments[ft];return m(tt,K)}function N(tt){var z=function K(){for(var ft=arguments.length,$t=new Array(ft),xe=0;xe<ft;xe++)$t[xe]=arguments[xe];if(!(this instanceof K))return m(K,$t);Object.getPrototypeOf(K).apply(this,$t)};return z.prototype=w(Object.create(tt.prototype),{constructor:z}),typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(z,tt):z.__proto__=tt,z}var nt={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:null,timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,useRejections:!1,expectRejections:!1},dt=["useRejections","expectRejections","extraParams"],It=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Pt=function(z){return nt.hasOwnProperty(z)||z==="extraParams"},Vt=function(z){return dt.indexOf(z)!==-1},Yt=function(z){for(var K in z)Pt(K)||r('Unknown parameter "'.concat(K,'"')),z.toast&&It.indexOf(K)!==-1&&r('The parameter "'.concat(K,'" is incompatible with toasts')),Vt(K)&&k('The parameter "'.concat(K,'" is deprecated and will be removed in the next major release.'))}
55,Bt='"setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.',ue={};function Re(tt){var z=(function(K){S(ft,K);function ft(){return W(this,ft),d(this,a(ft).apply(this,arguments))}return mt(ft,[{key:"_main",value:function(xe){return C(a(ft.prototype),"_main",this).call(this,w({},ue,xe))}}],[{key:"setDefaults",value:function(xe){if(k(Bt),!xe||e(xe)!=="object")throw new TypeError("SweetAlert2: The argument for setDefaults() is required and has to be a object");Yt(xe),Object.keys(xe).forEach(function(Ne){tt.isValidParameter(Ne)&&(ue[Ne]=xe[Ne])})}},{key:"resetDefaults",value:function(){k(Bt),ue={}}}]),ft})(tt);return typeof window!="undefined"&&e(window._swalDefaults)==="object"&&z.setDefaults(window._swalDefaults),z}function ke(tt){return N((function(z){S(K,z);function K(){return W(this,K),d(this,a(K).apply(this,arguments))}return mt(K,[{key:"_main",value:function($t){return C(a(K.prototype),"_main",this).call(this,w({},tt,$t))}}]),K})(this))}var X=[],Et=function(z){var K=this;X=z;var ft=function(){X=[],document.body.removeAttribute("data-swal2-queue-step")},$t=[];return new Promise(function(xe){(function Ne(Xe,ei){Xe<X.length?(document.body.setAttribute("data-swal2-queue-step",Xe),K(X[Xe]).then(function(si){typeof si.value!="undefined"?($t.push(si.value),Ne(Xe+1,ei)):(ft(),xe({dismiss:si.dismiss}))})):(ft(),xe({value:$t}))})(0)})},At=function(){return document.body.getAttribute("data-swal2-queue-step")},Wt=function(z,K){return K&&K<X.length?X.splice(K,0,z):X.push(z)},Qt=function(z){typeof X[z]!="undefined"&&X.splice(z,1)},Ae=function(){var z=te();z||yi(""),z=te();var K=_e(),ft=ce(),$t=fe();Xt(K),Xt(ft),_t([z,K],H.loading),ft.disabled=!0,$t.disabled=!0,z.setAttribute("data-loading",!0),z.setAttribute("aria-busy",!0),z.focus()},de=function(){return Lt.timeout&&Lt.timeout.getTimerLeft()},ze=function(){return Lt.timeout&&Lt.timeout.stop()},Ve=function(){return Lt.timeout&&Lt.timeout.start()},qe=function(){var z=Lt.timeout;return z&&(z.running?z.stop():z.start())},ni=function(z){return Lt.timeout&&Lt.timeout.increase(z)},Kt=function(){return Lt.timeout&&Lt.timeout.isRunning()},Ye=Object.freeze({isValidParameter:Pt,isDeprecatedParameter:Vt,argsToParams:Y,adaptInputValidator:G,close:ye,closePopup:ye,closeModal:ye,closeToast:ye,isVisible:q,clickConfirm:V,clickCancel:it,getContainer:Zt,getPopup:te,getTitle:Te,getContent:ve,getImage:Se,getIcons:ie,getCloseButton:jt,getButtonsWrapper:he,getActions:_e,getConfirmButton:ce,getCancelButton:fe,getFooter:ee,getFocusableElements:se,getValidationMessage:le,isLoading:re,fire:L,mixin:ke,queue:Et,getQueueStep:At,insertQueueStep:Wt,deleteQueueStep:Qt,showLoading:Ae,enableLoading:Ae,getTimerLeft:de,stopTimer:ze,resumeTimer:Ve,toggleTimer:qe,increaseTimer:ni,isTimerRunning:Kt}),oi=typeof Symbol=="function"?Symbol:(function(){var tt=0;function z(K){return"__"+K+"_"+Math.floor(Math.random()*1e9)+"_"+ ++tt+"__"}return z.iterator=z("Symbol.iterator"),z})(),Ci=typeof WeakMap=="function"?WeakMap:(function(tt,z,K){function ft(){z(this,tt,{value:oi("WeakMap")})}return ft.prototype={delete:function(xe){delete xe[this[tt]]},get:function(xe){return xe[this[tt]]},has:function(xe){return K.call(xe,this[tt])},set:function(xe,Ne){z(xe,this[tt],{configurable:!0,value:Ne})}},ft})(oi("WeakMap"),Object.defineProperty,{}.hasOwnProperty),He={promise:new Ci,innerParams:new Ci,domCache:new Ci};function pi(){var tt=He.innerParams.get(this),z=He.domCache.get(this);tt.showConfirmButton||(Jt(z.confirmButton),tt.showCancelButton||Jt(z.actions)),Tt([z.popup,z.actions],H.loading),z.popup.removeAttribute("aria-busy"),z.popup.removeAttribute("data-loading"),z.confirmButton.disabled=!1,z.cancelButton.disabled=!1}function _i(tt){var z=He.innerParams.get(this),K=He.domCache.get(this);if(tt=tt||z.input,!tt)return null;switch(tt){case"select":case"textarea":case"file":return Ut(K.content,H[tt]);case"checkbox":return K.popup.querySelector(".".concat(H.checkbox," input"));case"radio":return K.popup.querySelector(".".concat(H.radio," input:checked"))||K.popup.querySelector(".".concat(H.radio," input:first-child"));case"range":return K.popup.querySelector(".".concat(H.range," input"));default:return Ut(K.content,H.input)}}function vn(){var tt=He.domCache.get(this);tt.confirmButton.disabled=!1,tt.cancelButton.disabled=!1}function mn(){var tt=He.domCache.get(this);tt.confirmButton.disabled=!0,tt.cancelButton.disabled=!0}function qi(){var tt=He.domCache.get(this);tt.confirmButton.disabled=!1}function sn(){var tt=He.domCache.get(this);tt.confirmButton.disabled=!0}function Vi(){var tt=this.getInput();if(!tt)return!1;if(tt.type==="radio")for(var z=tt.parentNode.parentNode,K=z.querySelectorAll("input"),ft=0;ft<K.length;ft++)K[ft].disabled=!1;else tt.disabled=!1}function rn(){var tt=this.getInput();if(!tt)return!1;if(tt&&tt.type==="radio")for(var z=tt.parentNode.parentNode,K=z.querySelectorAll("input"),ft=0;ft<K.length;ft++)K[ft].disabled=!0;else tt.disabled=!0}function on(tt){var z=He.domCache.get(this);z.validationMessage.innerHTML=tt;var K=window.getComputedStyle(z.popup);z.validationMessage.style.marginLeft="-".concat(K.getPropertyValue("padding-left")),z.validationMessage.style.marginRight="-".concat(K.getPropertyValue("padding-right")),Xt(z.validationMessage);var ft=this.getInput();ft&&(ft.setAttribute("aria-invalid",!0),ft.setAttribute("aria-describedBy",H["validation-message"]),pt(ft),_t(ft,H.inputerror))}function an(){var tt=He.domCache.get(this);tt.validationMessage&&Jt(tt.validationMessage);var z=this.getInput();z&&(z.removeAttribute("aria-invalid"),z.removeAttribute("aria-describedBy"),Tt(z,H.inputerror))}function ci(){k("Swal.resetValidationError() is deprecated and will be removed in the next major release, use Swal.resetValidationMessage() instead"),an.bind(this)()}function ln(tt){k("Swal.showValidationError() is deprecated and will be removed in the next major release, use Swal.showValidationMessage() instead"),on.bind(this)(tt)}function Ni(){var tt=He.innerParams.get(this);return tt.progressSteps}function yn(tt){var z=He.innerParams.get(this),K=w({},z,{progressSteps:tt});He.innerParams.set(this,K),I(K)}function bn(){var tt=He.domCache.get(this);Xt(tt.progressSteps)}function Pi(){var tt=He.domCache.get(this);Jt(tt.progressSteps)}
55var Ii=function tt(z,K){W(this,tt);var ft,$t,xe=K;this.running=!1,this.start=function(){return this.running||(this.running=!0,$t=new Date,ft=setTimeout(z,xe)),xe},this.stop=function(){return this.running&&(this.running=!1,clearTimeout(ft),xe-=new Date-$t),xe},this.increase=function(Ne){var Xe=this.running;return Xe&&this.stop(),xe+=Ne,Xe&&this.start(),xe},this.getTimerLeft=function(){return this.running&&(this.stop(),this.start()),xe},this.isRunning=function(){return this.running},this.start()},zi={email:function(z,K){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(z)?Promise.resolve():Promise.reject(K&&K.validationMessage?K.validationMessage:"Invalid email address")},url:function(z,K){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/.test(z)?Promise.resolve():Promise.reject(K&&K.validationMessage?K.validationMessage:"Invalid URL")}};function xn(tt){tt.inputValidator||Object.keys(zi).forEach(function(fi){tt.input===fi&&(tt.inputValidator=tt.expectRejections?zi[fi]:yi.adaptInputValidator(zi[fi]))}),tt.validationMessage&&(e(tt.extraParams)!=="object"&&(tt.extraParams={}),tt.extraParams.validationMessage=tt.validationMessage),(!tt.target||typeof tt.target=="string"&&!document.querySelector(tt.target)||typeof tt.target!="string"&&!tt.target.appendChild)&&(r('Target parameter is not valid, defaulting to "body"'),tt.target="body"),typeof tt.animation=="function"&&(tt.animation=tt.animation.call());var z,K=te(),ft=typeof tt.target=="string"?document.querySelector(tt.target):tt.target;K&&ft&&K.parentNode!==ft.parentNode?z=Me(tt):z=K||Me(tt),tt.width&&(z.style.width=typeof tt.width=="number"?tt.width+"px":tt.width),tt.padding&&(z.style.padding=typeof tt.padding=="number"?tt.padding+"px":tt.padding),tt.background&&(z.style.background=tt.background);for(var $t=window.getComputedStyle(z).getPropertyValue("background-color"),xe=z.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),Ne=0;Ne<xe.length;Ne++)xe[Ne].style.backgroundColor=$t;var Xe=Zt(),ei=jt(),si=ee();if(U(tt),o(tt),typeof tt.backdrop=="string"?Zt().style.background=tt.backdrop:tt.backdrop||_t([document.documentElement,document.body],H["no-backdrop"]),!tt.backdrop&&tt.allowOutsideClick&&r('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),tt.position in H?_t(Xe,H[tt.position]):(r('The "position" parameter is not valid, defaulting to "center"'),_t(Xe,H.center)),tt.grow&&typeof tt.grow=="string"){var Mi="grow-"+tt.grow;Mi in H&&_t(Xe,H[Mi])}tt.showCloseButton?(ei.setAttribute("aria-label",tt.closeButtonAriaLabel),Xt(ei)):Jt(ei),z.className=H.popup,tt.toast?(_t([document.documentElement,document.body],H["toast-shown"]),_t(z,H.toast)):_t(z,H.modal),tt.customClass&&_t(z,tt.customClass),tt.customContainerClass&&_t(Xe,tt.customContainerClass),I(tt),p(tt),_(tt),s(tt),De(tt.footer,si),tt.animation===!0?Tt(z,H.noanimation):_t(z,H.noanimation),tt.showLoaderOnConfirm&&!tt.preConfirm&&r(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
56showLoaderOnConfirm should be used together with preConfirm, see usage example:
57https://sweetalert2.github.io/#ajax-request`)}var Bi=function(z){var K=Zt(),ft=te();z.onBeforeOpen!==null&&typeof z.onBeforeOpen=="function"&&z.onBeforeOpen(ft),z.animation?(_t(ft,H.show),_t(K,H.fade),Tt(ft,H.hide)):Tt(ft,H.fade),Xt(ft),K.style.overflowY="hidden",t&&!ut(ft,H.noanimation)?ft.addEventListener(t,function $t(){ft.removeEventListener(t,$t),K.style.overflowY="auto"}):K.style.overflowY="auto",_t([document.documentElement,document.body,K],H.shown),z.heightAuto&&z.backdrop&&!z.toast&&_t([document.documentElement,document.body],H["height-auto"]),me()&&(Q(),vt(),Mt(),Ct(),setTimeout(function(){K.scrollTop=0})),!Fe()&&!Lt.previousActiveElement&&(Lt.previousActiveElement=document.activeElement),z.onOpen!==null&&typeof z.onOpen=="function"&&setTimeout(function(){z.onOpen(ft)})};function un(tt){var z=this;Yt(tt);var K=w({},nt,tt);xn(K),Object.freeze(K),He.innerParams.set(this,K),Lt.timeout&&(Lt.timeout.stop(),delete Lt.timeout),clearTimeout(Lt.restoreFocusTimeout);var ft={popup:te(),container:Zt(),content:ve(),actions:_e(),confirmButton:ce(),cancelButton:fe(),closeButton:jt(),val
57idationMessage:le(),progressSteps:ne()};He.domCache.set(this,ft);var $t=this.constructor;return new Promise(function(xe,Ne){var Xe=function(kt){$t.closePopup(K.onClose,K.onAfterClose),K.useRejections?xe(kt):xe({value:kt})},ei=function(kt){$t.closePopup(K.onClose,K.onAfterClose),K.useRejections?Ne(kt):xe({dismiss:kt})},si=function(kt){$t.closePopup(K.onClose,K.onAfterClose),Ne(kt)};K.timer&&(Lt.timeout=new Ii(function(){ei("timer"),delete Lt.timeout},K.timer));var Mi=function(){var kt=z.getInput();if(!kt)return null;switch(K.input){case"checkbox":return kt.checked?1:0;case"radio":return kt.checked?kt.value:null;case"file":return kt.files.length?kt.files[0]:null;default:return K.inputAutoTrim?kt.value.trim():kt.value}};K.input&&setTimeout(function(){var yt=z.getInput();yt&&pt(yt)},0);for(var fi=function(kt){if(K.showLoaderOnConfirm&&$t.showLoading(),K.preConfirm){z.resetValidationMessage();var be=Promise.resolve().then(function(){return K.preConfirm(kt,K.extraParams)});K.expectRejections?be.then(function(we){return Xe(we||kt)},function(we){z.hideLoading(),we&&z.showValidationMessage(we)}):be.then(function(we){qt(ft.validationMessage)||we===!1?z.hideLoading():Xe(we||kt)},function(we){return si(we)})}else Xe(kt)},Ti=function(kt){var be=kt.target,we=ft.confirmButton,Ee=ft.cancelButton,Ke=we&&(we===be||we.contains(be)),Ge=Ee&&(Ee===be||Ee.contains(be));switch(kt.type){case"click":if(Ke&&$t.isVisible())if(z.disableButtons(),K.input){var ti=Mi();if(K.inputValidator){z.disableInput();var ri=Promise.resolve().then(function(){return K.inputValidator(ti,K.extraParams)});K.expectRejections?ri.then(function(){z.enableButtons(),z.enableInput(),fi(ti)},function(Le){z.enableButtons(),z.enableInput(),Le&&z.showValidationMessage(Le)}):ri.then(function(Le){z.enableButtons(),z.enableInput(),Le?z.showValidationMessage(Le):fi(ti)},function(Le){return si(Le)})}else z.getInput().checkValidity()?fi(ti):(z.enableButtons(),z.showValidationMessage(K.validationMessage))}else fi(!0);else Ge&&$t.isVisible()&&(z.disableButtons(),ei($t.DismissReason.cancel));break;default:}},Si=ft.popup.querySelectorAll("button"),di=0;di<Si.length;di++)Si[di].onclick=Ti,Si[di].onmouseover=Ti,Si[di].onmouseout=Ti,Si[di].onmousedown=Ti;if(ft.closeButton.onclick=function(){ei($t.DismissReason.close)},K.toast)ft.popup.onclick=function(){K.showConfirmButton||K.showCancelButton||K.showCloseButton||K.input||ei($t.DismissReason.close)};else{var li=!1;ft.popup.onmousedown=function(){ft.container.onmouseup=function(yt){ft.container.onmouseup=void 0,yt.target===ft.container&&(li=!0)}},ft.container.onmousedown=function(){ft.popup.onmouseup=function(yt){ft.popup.onmouseup=void 0,(yt.target===ft.popup||ft.popup.contains(yt.target))&&(li=!0)}},ft.container.onclick=function(yt){if(li){li=!1;return}yt.target===ft.container&&l(K.allowOutsideClick)&&ei($t.DismissReason.backdrop)}}K.reverseButtons?ft.confirmButton.parentNode.insertBefore(ft.cancelButton,ft.confirmButton):ft.confirmButton.parentNode.insertBefore(ft.confirmButton,ft.cancelButton);var bi=function(kt,be){for(var we=se(K.focusCancel),Ee=0;Ee<we.length;Ee++)return kt=kt+be,kt===we.length?kt=0:kt===-1&&(kt=we.length-1),we[kt].focus();ft.popup.focus()},Li=function(kt,be){be.stopKeydownPropagation&&kt.stopPropagation();var we=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"];if(kt.key==="Enter"&&!kt.isComposing){if(kt.target&&z.getInput()&&kt.target.outerHTML===z.getInput().outerHTML){if(["textarea","file"].indexOf(be.input)!==-1)return;$t.clickConfirm(),kt.preventDefault()}}else if(kt.key==="Tab"){for(var Ee=kt.target,Ke=se(be.focusCancel),Ge=-1,ti=0;ti<Ke.length;ti++)if(Ee===Ke[ti]){Ge=ti;break}kt.shiftKey?bi(Ge,-1):bi(Ge,1),kt.stopPropagation(),kt.preventDefault()}else we.indexOf(kt.key)!==-1?document.activeElement===ft.confirmButton&&qt(ft.cancelButton)?ft.cancelButton.focus():document.activeElement===ft.cancelButton&&qt(ft.confirmButton)&&ft.confirmButton.focus():(kt.key==="Escape"||kt.key==="Esc")&&l(be.allowEscapeKey)===!0&&(kt.preventDefault(),ei($t.DismissReason.esc))};Lt.keydownHandlerAdded&&(Lt.keydownTarget.removeEventListener("keydown",Lt.keydownHandler,{capture:Lt.keydownListenerCapture}),Lt.keydownHandlerAdded=!1),K.toast||(Lt.keydownHandler=function(yt){return Li(yt,K)},Lt.keydownTarget=K.keydownListenerCapture?window:ft.popup,Lt.keydownListenerCapture=K.keydownListenerCapture,Lt.keydownTarget.addEventListener("keydown",Lt.keydownHandler,{capture:Lt.keydownListenerCapture}),Lt.keydownHandlerAdded=!0),z.enableButtons(),z.hideLoading(),z.resetValidationMessage(),K.toast&&(K.input||K.footer||K.showCloseButton)?_t(document.body,H["toast-column"]):Tt(document.body,H["toast-column"]);for(var Gi=["input","file","range","select","radio","checkbox","textarea"],Zi=function(kt){(!kt.placeholder||K.inputPlaceholder)&&(kt.placeholder=K.inputPlaceholder)},Je,xi=0;xi<Gi.length;xi++){var Ji=H[Gi[xi]],Ui=Ut(ft.content,Ji);
57if(Je=z.getInput(Gi[xi]),Je){for(var hn in Je.attributes)if(Je.attributes.hasOwnProperty(hn)){var $i=Je.attributes[hn].name;$i!=="type"&&$i!=="value"&&Je.removeAttribute($i)}for(var tn in K.inputAttributes)Gi[xi]==="range"&&tn==="placeholder"||Je.setAttribute(tn,K.inputAttributes[tn])}Ui.className=Ji,K.inputClass&&_t(Ui,K.inputClass),Jt(Ui)}var n;switch(K.input){case"text":case"email":case"password":case"number":case"tel":case"url":{Je=Ut(ft.content,H.input),typeof K.inputValue=="string"||typeof K.inputValue=="number"?Je.value=K.inputValue:R(K.inputValue)||r('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(e(K.inputValue),'"')),Zi(Je),Je.type=K.input,Xt(Je);break}case"file":{Je=Ut(ft.content,H.file),Zi(Je),Je.type=K.input,Xt(Je);break}case"range":{var h=Ut(ft.content,H.range),y=h.querySelector("input"),E=h.querySelector("output");y.value=K.inputValue,y.type=K.input,E.value=K.inputValue,Xt(h);break}case"select":{var D=Ut(ft.content,H.select);if(D.innerHTML="",K.inputPlaceholder){var O=document.createElement("option");O.innerHTML=K.inputPlaceholder,O.value="",O.disabled=!0,O.selected=!0,D.appendChild(O)}n=function(kt){kt.forEach(function(be){var we=be[0],Ee=be[1],Ke=document.createElement("option");Ke.value=we,Ke.innerHTML=Ee,K.inputValue.toString()===we.toString()&&(Ke.selected=!0),D.appendChild(Ke)}),Xt(D),D.focus()};break}case"radio":{var B=Ut(ft.content,H.radio);B.innerHTML="",n=function(kt){kt.forEach(function(we){var Ee=we[0],Ke=we[1],Ge=document.createElement("input"),ti=document.createElement("label");Ge.type="radio",Ge.name=H.radio,Ge.value=Ee,K.inputValue.toString()===Ee.toString()&&(Ge.checked=!0);var ri=document.createElement("span");ri.innerHTML=Ke,ri.className=H.label,ti.appendChild(Ge),ti.appendChild(ri),B.appendChild(ti)}),Xt(B);var be=B.querySelectorAll("input");be.length&&be[0].focus()};break}case"checkbox":{var rt=Ut(ft.content,H.checkbox),st=z.getInput("checkbox");st.type="checkbox",st.value=1,st.id=H.checkbox,st.checked=!!K.inputValue;var gt=rt.querySelector("span");gt.innerHTML=K.inputPlaceholder,Xt(rt);break}case"textarea":{var Ot=Ut(ft.content,H.textarea);Ot.value=K.inputValue,Zi(Ot),Xt(Ot);break}case null:break;default:c('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(K.input,'"'));break}if(K.input==="select"||K.input==="radio"){var Ft=function(kt){return n(u(kt))};R(K.inputOptions)?($t.showLoading(),K.inputOptions.then(function(yt){z.hideLoading(),Ft(yt)})):e(K.inputOptions)==="object"?Ft(K.inputOptions):c("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(K.inputOptions)))}else["text","email","number","tel","textarea"].indexOf(K.input)!==-1&&R(K.inputValue)&&($t.showLoading(),Jt(Je),K.inputValue.then(function(yt){Je.value=K.input==="number"?parseFloat(yt)||0:yt+"",Xt(Je),Je.focus(),z.hideLoading()}).catch(function(yt){c("Error in inputValue promise: "+yt),Je.value="",Xt(Je),Je.focus(),z.hideLoading()}));Bi(K),K.toast||(l(K.allowEnterKey)?K.focusCancel&&qt(ft.cancelButton)?ft.cancelButton.focus():K.focusConfirm&&qt(ft.confirmButton)?ft.confirmButton.focus():bi(-1,1):document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()),ft.container.scrollTop=0})}var Yi=Object.freeze({hideLoading:pi,disableLoading:pi,getInput:_i,enableButtons:vn,disableButtons:mn,enableConfirmButton:qi,disableConfirmButton:sn,enableInput:Vi,disableInput:rn,showValidationMessage:on,resetValidationMessage:an,resetValidationError:ci,showValidationError:ln,getProgressSteps:Ni,setProgressSteps:yn,showProgressSteps:bn,hideProgressSteps:Pi,_main:un}),Xi;function gi(){if(typeof window!="undefined"){typeof Promise=="undefined"&&c("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),Xi=this;for(var tt=arguments.length,z=new Array(tt),K=0;K<tt;K++)z[K]=arguments[K];var ft=Object.freeze(this.constructor.argsToParams(z));Object.defineProperties(this,{params:{value:ft,writable:!1,enumerable:!0}});var $t=this._main(this.params);He.promise.set(this,$t)}}gi.prototype.then=function(tt,z){var K=He.promise.get(this);return K.then(tt,z)},gi.prototype.catch=function(tt){var z=He.promise.get(this);return z.catch(tt)},gi.prototype.finally=function(tt){var z=He.promise.get(this);return z.finally(tt)}
57,w(gi.prototype,Yi),w(gi,Ye),Object.keys(Yi).forEach(function(tt){gi[tt]=function(){if(Xi){var z;return(z=Xi)[tt].apply(z,arguments)}}}),gi.DismissReason=F,gi.noop=function(){};var yi=N(Re(gi));return yi.default=yi,yi})),typeof window!="undefined"&&window.Sweetalert2&&(window.Sweetalert2.version="7.33.1",window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),(function(W,M){if(typeof exports=="object"&&typeof module=="object")module.exports=M();else if(typeof define=="function"&&define.amd)define([],M);else{var mt=M();for(var w in mt)(typeof exports=="object"?exports:W)[w]=mt[w]}})(self,function(){return(function(){var e={3099:(function(w){w.exports=function(S){if(typeof S!="function")throw TypeError(String(S)+" is not a function");return S}}),6077:(function(w,S,a){var b=a(111);w.exports=function(x){if(!b(x)&&x!==null)throw TypeError("Can't set "+String(x)+" as a prototype");return x}}),1223:(function(w,S,a){var b=a(5112),x=a(30),m=a(3070),v=b("unscopables"),d=Array.prototype;d[v]==null&&m.f(d,v,{configurable:!0,value:x(null)}),w.exports=function(f){d[v][f]=!0}}),1530:(function(w,S,a){"use strict";var b=a(8710).charAt;w.exports=function(x,m,v){return m+(v?b(x,m).length:1)}}),5787:(function(w){w.exports=function(S,a,b){if(!(S instanceof a))throw TypeError("Incorrect "+(b?b+" ":"")+"invocation");return S}}),9670:(function(w,S,a){var b=a(111);w.exports=function(x){if(!b(x))throw TypeError(String(x)+" is not an object");return x}}),4019:(function(w){w.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"}),260:(function(w,S,a){"use strict";var b=a(4019),x=a(9781),m=a(7854),v=a(111),d=a(6656),f=a(648),C=a(8880),g=a(1320),P=a(3070).f,A=a(9518),u=a(7674),r=a(5112),c=a(9711),T=m.Int8Array,k=T&&T.prototype,l=m.Uint8ClampedArray,R=l&&l.prototype,F=T&&A(T),Y=k&&A(k),G=Object.prototype,j=G.isPrototypeOf,Z=r("toStringTag"),H=c("TYPED_ARRAY_TAG"),ht=b&&!!u&&f(m.opera)!=="Opera",lt=!1,ut,pt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},wt={BigInt64Array:8,BigUint64Array:8},_t=function(Zt){if(!v(Zt))return!1;var Gt=f(Zt);return Gt==="DataView"||d(pt,Gt)||d(wt,Gt)},Tt=function(zt){if(!v(zt))return!1;var Zt=f(zt);return d(pt,Zt)||d(wt,Zt)},Ut=function(zt){if(Tt(zt))return zt;throw TypeError("Target is not a typed array")},Xt=function(zt){if(u){if(j.call(F,zt))return zt}else for(var Zt in pt)if(d(pt,ut)){var Gt=m[Zt];if(Gt&&(zt===Gt||j.call(Gt,zt)))return zt}throw TypeError("Target is not a typed array constructor")},Jt=function(zt,Zt,Gt){if(x){if(Gt)for(var te in pt){var ie=m[te];ie&&d(ie.prototype,zt)&&delete ie.prototype[zt]}(!Y[zt]||Gt)&&g(Y,zt,Gt?Zt:ht&&k[zt]||Zt)}},qt=function(zt,Zt,Gt){var te,ie;if(x){if(u){if(Gt)for(te in pt)ie=m[te],ie&&d(ie,zt)&&delete ie[zt];if(!F[zt]||Gt)try{return g(F,zt,Gt?Zt:ht&&T[zt]||Zt)}catch(Te){}else return}for(te in pt)ie=m[te],ie&&(!ie[zt]||Gt)&&g(ie,zt,Zt)}};for(ut in pt)m[ut]||(ht=!1);if((!ht||typeof F!="function"||F===Function.prototype)&&(F=function(){throw TypeError("Incorrect invocation")},ht))for(ut in pt)m[ut]&&u(m[ut],F);if((!ht||!Y||Y===G)&&(Y=F.prototype,ht))for(ut in pt)m[ut]&&u(m[ut].prototype,Y);if(ht&&A(R)!==Y&&u(R,Y),x&&!d(Y,Z)){lt=!0,P(Y,Z,{get:function(){return v(this)?this[H]:void 0}});for(ut in pt)m[ut]&&C(m[ut],H,ut)}w.exports={NATIVE_ARRAY_BUFFER_VIEWS:ht,TYPED_ARRAY_TAG:lt&&H,aTypedArray:Ut,aTypedArrayConstructor:Xt,exportTypedArrayMethod:Jt,exportTypedArrayStaticMethod:qt,isView:_t,isTypedArray:Tt,TypedArray:F,TypedArrayPrototype:Y}}),3331:(function(w,S,a){"use strict";var b=a(7854),x=a(9781),m=a(4019),v=a(8880),d=a(2248),f=a(7293),C=a(5787),g=a(9958),P=a(7466),A=a(7067),u=a(1179),r=a(9518),c=a(7674),T=a(8006).f,k=a(3070).f,l=a(1285),R=a(8003),F=a(9909),Y=F.get,G=F.set,j="ArrayBuffer",Z="DataView",H="prototype",ht="Wrong length",lt="Wrong index",ut=b[j],pt=ut,wt=b[Z],_t=wt&&wt[H],Tt=Object.prototype,Ut=b.RangeError,Xt=u.pack,Jt=u.unpack,qt=function(ee){return[ee&255]},zt=function(ee){return[ee&255,ee>>8&255]},Zt=function(ee){return[ee&255,ee>>8&255,ee>>16&255,ee>>24&255]},Gt=function(ee){return ee[3]<<24|ee[2]<<16|ee[1]<<8|ee[0]},te=function(ee){return Xt(ee,23,4)},ie=function(ee){return Xt(ee,52,8)},Te=function(ee,jt){k(ee[H],jt,{get:function(){return Y(this)[jt]}})},ve=function(ee,jt,se,me){var Fe=A(se),re=Y(ee);if(Fe+jt>re.byteLength)throw Ut(lt);var We=Y(re.buffer).bytes,$e=Fe+re.byteOffset,Me=We.slice($e,$e+jt);return me?Me:Me.reverse()},Se=function(ee,jt,se,me,Fe,re){var We=A(se),$e=Y(ee);if(We+jt>$e.byteLength)throw Ut(lt);for(var Me=Y($e.buffer).bytes,De=We+$e.byteOffset,t=me(+Fe),i=0;i<jt;i++)Me[De+i]=t[re?i:jt-i-1]};if(!m)pt=function(jt){C(this,pt,j);var se=A(jt);G(this,{bytes:l.call(new Array(se),0),byteLength:se}),x||(this.byteLength=se)},wt=function(jt,se,me){C(this,wt,Z),C(jt,pt,Z);var Fe=Y(jt).byteLength,re=g(se);if(re<0||re>Fe)throw Ut("Wrong offset");if(me=me===void 0?Fe-re:P(me),re+me>Fe)throw Ut(ht);G(this,{buffer:jt,byteLength:me,byteOffset:re}),x||(this.buffer=jt,this.byteLength=me,this.byteOffset=re)},x&&(Te(pt,"byteLength"),Te(wt,"buffer"),Te(wt,"byteLength"),Te(wt,"byteOffset")),d(wt[H],{getInt8:function(jt){return ve(this,1,jt)[0]<<24>>24},getUint8:function(jt){return ve(this,1,jt)[0]},getInt16:function(jt){var se=ve(this,2,jt,arguments.length>1?arguments[1]:void 0);return(se[1]<<8|se[0])<<16>>16},getUint16:function(jt){var se=ve(this,2,jt,arguments.length>1?arguments[1]:void 0);return se[1]<<8|se[0]},getInt32:function(jt){return Gt(ve(this,4,jt,arguments.length>1?arguments[1]:void 0))},getUint32:function(jt){return Gt(ve(this,4,jt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(jt){return Jt(ve(this,4,jt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(jt){return Jt(ve(this,8,jt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(jt,se){Se(this,1,jt,qt,se)},setUint8:function(jt,se){Se(this,1,jt,qt,se)},setInt16:function(jt,se){Se(this,2,jt,zt,se,arguments.length>2?arguments[2]:void 0)},setUint16:function(jt,se){Se(this,2,jt,zt,se,arguments.length>2?arguments[2]:void 0)},setInt32:function(jt,se){Se(this,4,jt,Zt,se,arguments.length>2?arguments[2]:void 0)},setUint32:function(jt,se){Se(this,4,jt,Zt,se,arguments.length>2?arguments[2]:void 0)},setFloat32:function(jt,se){Se(this,4,jt,te,se,arguments.length>2?arguments[2]:void 0)},setFloat64:function(jt,se){Se(this,8,jt,ie,se,arguments.length>2?arguments[2]:void 0)}});else{if(!f(function(){ut(1)})||!f(function(){new ut(-1)})||f(function(){return new ut,new ut(1.5),new ut(NaN),ut.name!=j})){pt=function(jt){return C(this,pt),new ut(A(jt))};for(var ne=pt[H]=ut[H],le=T(ut),ce=0,fe;le.length>ce;)(fe=le[ce++])in pt||v(pt,fe,ut[fe]);ne.constructor=pt}c&&r(_t)!==Tt&&c(_t,Tt);var he=new wt(new pt(2)),_e=_t.setInt8;he.setInt8(0,2147483648),he.setInt8(1,2147483649),(he.getInt8(0)||!he.getInt8(1))&&d(_t,{setInt8:function(jt,se){_e.call(this,jt,se<<24>>24)},setUint8:function(jt,se){_e.call(this,jt,se<<24>>24)}},{unsafe:!0})}R(pt,j),R(wt,Z),w.exports={ArrayBuffer:pt,DataView:wt}}),1048:(function(w,S,a){"use strict";var b=a(7908),x=a(1400),m=a(7466),v=Math.min;w.exports=[].copyWithin||function(f,C){var g=b(this),P=m(g.length),A=x(f,P),u=x(C,P),r=arguments.length>2?arguments[2]:void 0,c=v((r===void 0?P:x(r,P))-u,P-A),T=1;for(u<A&&A<u+c&&(T=-1,u+=c-1,A+=c-1);c-- >0;)u in g?g[A]=g[u]:delete g[A],A+=T,u+=T;return g}}),1285:(function(w,S,a){"use strict";var b=a(7908),x=a(1400),m=a(7466);w.exports=function(d){for(var f=b(this),C=m(f.length),g=arguments.length,P=x(g>1?arguments[1]:void 0,C),A=g>2?arguments[2]:void 0,u=A===void 0?C:x(A,C);u>P;)f[P++]=d;return f}}),8533:(function(w,S,a){"use strict";
57var b=a(2092).forEach,x=a(9341),m=x("forEach");w.exports=m?[].forEach:function(d){return b(this,d,arguments.length>1?arguments[1]:void 0)}}),8457:(function(w,S,a){"use strict";var b=a(9974),x=a(7908),m=a(3411),v=a(7659),d=a(7466),f=a(6135),C=a(1246);w.exports=function(P){var A=x(P),u=typeof this=="function"?this:Array,r=arguments.length,c=r>1?arguments[1]:void 0,T=c!==void 0,k=C(A),l=0,R,F,Y,G,j,Z;if(T&&(c=b(c,r>2?arguments[2]:void 0,2)),k!=null&&!(u==Array&&v(k)))for(G=k.call(A),j=G.next,F=new u;!(Y=j.call(G)).done;l++)Z=T?m(G,c,[Y.value,l],!0):Y.value,f(F,l,Z);else for(R=d(A.length),F=new u(R);R>l;l++)Z=T?c(A[l],l):A[l],f(F,l,Z);return F.length=l,F}}),1318:(function(w,S,a){var b=a(5656),x=a(7466),m=a(1400),v=function(d){return function(f,C,g){var P=b(f),A=x(P.length),u=m(g,A),r;if(d&&C!=C){for(;A>u;)if(r=P[u++],r!=r)return!0}else for(;A>u;u++)if((d||u in P)&&P[u]===C)return d||u||0;return!d&&-1}};w.exports={includes:v(!0),indexOf:v(!1)}}),2092:(function(w,S,a){var b=a(9974),x=a(8361),m=a(7908),v=a(7466),d=a(5417),f=[].push,C=function(g){var P=g==1,A=g==2,u=g==3,r=g==4,c=g==6,T=g==7,k=g==5||c;return function(l,R,F,Y){for(var G=m(l),j=x(G),Z=b(R,F,3),H=v(j.length),ht=0,lt=Y||d,ut=P?lt(l,H):A||T?lt(l,0):void 0,pt,wt;H>ht;ht++)if((k||ht in j)&&(pt=j[ht],wt=Z(pt,ht,G),g))if(P)ut[ht]=wt;else if(wt)switch(g){case 3:return!0;case 5:return pt;case 6:return ht;case 2:f.call(ut,pt)}else switch(g){case 4:return!1;case 7:f.call(ut,pt)}return c?-1:u||r?r:ut}};w.exports={forEach:C(0),map:C(1),filter:C(2),some:C(3),every:C(4),find:C(5),findIndex:C(6),filterOut:C(7)}}),6583:(function(w,S,a){"use strict";var b=a(5656),x=a(9958),m=a(7466),v=a(9341),d=Math.min,f=[].lastIndexOf,C=!!f&&1/[1].lastIndexOf(1,-0)<0,g=v("lastIndexOf"),P=C||!g;w.exports=P?function(u){if(C)return f.apply(this,arguments)||0;var r=b(this),c=m(r.length),T=c-1;for(arguments.length>1&&(T=d(T,x(arguments[1]))),T<0&&(T=c+T);T>=0;T--)if(T in r&&r[T]===u)return T||0;return-1}:f}),1194:(function(w,S,a){var b=a(7293),x=a(5112),m=a(7392),v=x("species");w.exports=function(d){return m>=51||!b(function(){var f=[],C=f.constructor={};return C[v]=function(){return{foo:1}},f[d](Boolean).foo!==1})}}),9341:(function(w,S,a){"use strict";var b=a(7293);w.exports=function(x,m){var v=[][x];return!!v&&b(function(){v.call(null,m||function(){throw 1},1)})}}),3671:(function(w,S,a){var b=a(3099),x=a(7908),m=a(8361),v=a(7466),d=function(f){return function(C,g,P,A){b(g);var u=x(C),r=m(u),c=v(u.length),T=f?c-1:0,k=f?-1:1;if(P<2)for(;;){if(T in r){A=r[T],T+=k;break}if(T+=k,f?T<0:c<=T)throw TypeError("Reduce of empty array with no initial value")}for(;f?T>=0:c>T;T+=k)T in r&&(A=g(A,r[T],T,u));return A}};w.exports={left:d(!1),right:d(!0)}}),5417:(function(w,S,a){var b=a(111),x=a(3157),m=a(5112),v=m("species");w.exports=function(d,f){var C;return x(d)&&(C=d.constructor,typeof C=="function"&&(C===Array||x(C.prototype))?C=void 0:b(C)&&(C=C[v],C===null&&(C=void 0))),new(C===void 0?Array:C)(f===0?0:f)}}),3411:(function(w,S,a){var b=a(9670),x=a(9212);w.exports=function(m,v,d,f){try{return f?v(b(d)[0],d[1]):v(d)}catch(C){throw x(m),C}}}),7072:(function(w,S,a){var b=a(5112),x=b("iterator"),m=!1;try{var v=0,d={next:function(){return{done:!!v++}},return:function(){m=!0}};d[x]=function(){return this},Array.from(d,function(){throw 2})}catch(f){}w.exports=function(f,C){if(!C&&!m)return!1;var g=!1;try{var P={};P[x]=function(){return{next:function(){return{done:g=!0}}}},f(P)}catch(A){}return g}}),4326:(function(w){var S={}.toString;w.exports=function(a){return S.call(a).slice(8,-1)}}),648:(function(w,S,a){var b=a(1694),x=a(4326),m=a(5112),v=m("toStringTag"),d=x((function(){return arguments})())=="Arguments",f=function(C,g){try{return C[g]}catch(P){}};w.exports=b?x:function(C){var g,P,A;return C===void 0?"Undefined":C===null?"Null":typeof(P=f(g=Object(C),v))=="string"?P:d?x(g):(A=x(g))=="Object"&&typeof g.callee=="function"?"Arguments":A}}),9920:(function(w,S,a){var b=a(6656),x=a(3887),m=a(1236),v=a(3070);w.exports=function(d,f){for(var C=x(f),g=v.f,P=m.f,A=0;A<C.length;A++){var u=C[A];b(d,u)||g(d,u,P(f,u))}}}),8544:(function(w,S,a){var b=a(7293);w.exports=!b(function(){function x(){}return x.prototype.constructor=null,Object.getPrototypeOf(new x)!==x.prototype})}),4994:(function(w,S,a){"use strict";var b=a(3383).IteratorPrototype,x=a(30),m=a(9114),v=a(8003),d=a(7497),f=function(){return this};w.exports=function(C,g,P){var A=g+" Iterator";return C.prototype=x(b,{next:m(1,P)}),v(C,A,!1,!0),d[A]=f,C}}),8880:(function(w,S,a){var b=a(9781),x=a(3070),m=a(9114);w.exports=b?function(v,d,f){return x.f(v,d,m(1,f))}:function(v,d,f){return v[d]=f,v}}
57),9114:(function(w){w.exports=function(S,a){return{enumerable:!(S&1),configurable:!(S&2),writable:!(S&4),value:a}}}),6135:(function(w,S,a){"use strict";var b=a(7593),x=a(3070),m=a(9114);w.exports=function(v,d,f){var C=b(d);C in v?x.f(v,C,m(0,f)):v[C]=f}}),654:(function(w,S,a){"use strict";var b=a(2109),x=a(4994),m=a(9518),v=a(7674),d=a(8003),f=a(8880),C=a(1320),g=a(5112),P=a(1913),A=a(7497),u=a(3383),r=u.IteratorPrototype,c=u.BUGGY_SAFARI_ITERATORS,T=g("iterator"),k="keys",l="values",R="entries",F=function(){return this};w.exports=function(Y,G,j,Z,H,ht,lt){x(j,G,Z);var ut=function(Zt){if(Zt===H&&Ut)return Ut;if(!c&&Zt in _t)return _t[Zt];switch(Zt){case k:return function(){return new j(this,Zt)};case l:return function(){return new j(this,Zt)};case R:return function(){return new j(this,Zt)}}return function(){return new j(this)}},pt=G+" Iterator",wt=!1,_t=Y.prototype,Tt=_t[T]||_t["@@iterator"]||H&&_t[H],Ut=!c&&Tt||ut(H),Xt=G=="Array"&&_t.entries||Tt,Jt,qt,zt;if(Xt&&(Jt=m(Xt.call(new Y)),r!==Object.prototype&&Jt.next&&(!P&&m(Jt)!==r&&(v?v(Jt,r):typeof Jt[T]!="function"&&f(Jt,T,F)),d(Jt,pt,!0,!0),P&&(A[pt]=F))),H==l&&Tt&&Tt.name!==l&&(wt=!0,Ut=function(){return Tt.call(this)}),(!P||lt)&&_t[T]!==Ut&&f(_t,T,Ut),A[G]=Ut,H)if(qt={values:ut(l),keys:ht?Ut:ut(k),entries:ut(R)},lt)for(zt in qt)(c||wt||!(zt in _t))&&C(_t,zt,qt[zt]);else b({target:G,proto:!0,forced:c||wt},qt);return qt}}),9781:(function(w,S,a){var b=a(7293);w.exports=!b(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(w,S,a){var b=a(7854),x=a(111),m=b.document,v=x(m)&&x(m.createElement);w.exports=function(d){return v?m.createElement(d):{}}}),8324:(function(w){w.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(w,S,a){var b=a(5005);w.exports=b("navigator","userAgent")||""}),7392:(function(w,S,a){var b=a(7854),x=a(8113),m=b.process,v=m&&m.versions,d=v&&v.v8,f,C;d?(f=d.split("."),C=f[0]+f[1]):x&&(f=x.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=x.match(/Chrome\/(\d+)/),f&&(C=f[1]))),w.exports=C&&+C}),748:(function(w){w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(w,S,a){var b=a(7854),x=a(1236).f,m=a(8880),v=a(1320),d=a(3505),f=a(9920),C=a(4705);w.exports=function(g,P){var A=g.target,u=g.global,r=g.stat,c,T,k,l,R,F;if(u?T=b:r?T=b[A]||d(A,{}):T=(b[A]||{}).prototype,T)for(k in P){if(R=P[k],g.noTargetGet?(F=x(T,k),l=F&&F.value):l=T[k],c=C(u?k:A+(r?".":"#")+k,g.forced),!c&&l!==void 0){if(typeof R==typeof l)continue;f(R,l)}(g.sham||l&&l.sham)&&m(R,"sham",!0),v(T,k,R,g)}}}),7293:(function(w){w.exports=function(S){try{return!!S()}catch(a){return!0}}}),7007:(function(w,S,a){"use strict";a(4916);var b=a(1320),x=a(7293),m=a(5112),v=a(2261),d=a(8880),f=m("species"),C=!x(function(){var r=
57/./;return r.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(r,"$<a>")!=="7"}),g=(function(){return"a".replace(/./,"$0")==="$0"})(),P=m("replace"),A=(function(){return/./[P]?/./[P]("a","$0")==="":!1})(),u=!x(function(){var r=/(?:)/,c=r.exec;r.exec=function(){return c.apply(this,arguments)};var T="ab".split(r);return T.length!==2||T[0]!=="a"||T[1]!=="b"});w.exports=function(r,c,T,k){var l=m(r),R=!x(function(){var H={};return H[l]=function(){return 7},""[r](H)!=7}),F=R&&!x(function(){var H=!1,ht=/a/;return r==="split"&&(ht={},ht.constructor={},ht.constructor[f]=function(){return ht},ht.flags="",ht[l]=/./[l]),ht.exec=function(){return H=!0,null},ht[l](""),!H});if(!R||!F||r==="replace"&&!(C&&g&&!A)||r==="split"&&!u){var Y=/./[l],G=T(l,""[r],function(H,ht,lt,ut,pt){return ht.exec===v?R&&!pt?{done:!0,value:Y.call(ht,lt,ut)}:{done:!0,value:H.call(lt,ht,ut)}:{done:!1}},{REPLACE_KEEPS_$0:g,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:A}),j=G[0],Z=G[1];b(String.prototype,r,j),b(RegExp.prototype,l,c==2?function(H,ht){return Z.call(H,this,ht)}:function(H){return Z.call(H,this)})}k&&d(RegExp.prototype[l],"sham",!0)}}),9974:(function(w,S,a){var b=a(3099);w.exports=function(x,m,v){if(b(x),m===void 0)return x;switch(v){case 0:return function(){return x.call(m)};case 1:return function(d){return x.call(m,d)};case 2:return function(d,f){return x.call(m,d,f)};case 3:return function(d,f,C){return x.call(m,d,f,C)}}return function(){return x.apply(m,arguments)}}}),5005:(function(w,S,a){var b=a(857),x=a(7854),m=function(v){return typeof v=="function"?v:void 0};w.exports=function(v,d){return arguments.length<2?m(b[v])||m(x[v]):b[v]&&b[v][d]||x[v]&&x[v][d]}}),1246:(function(w,S,a){var b=a(648),x=a(7497),m=a(5112),v=m("iterator");w.exports=function(d){if(d!=null)return d[v]||d["@@iterator"]||x[b(d)]}}),8554:(function(w,S,a){var b=a(9670),x=a(1246);w.exports=function(m){var v=x(m);if(typeof v!="function")throw TypeError(String(m)+" is not iterable");return b(v.call(m))}}),647:(function(w,S,a){var b=a(7908),x=Math.floor,m="".replace,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;w.exports=function(f,C,g,P,A,u){var r=g+f.length,c=P.length,T=d;return A!==void 0&&(A=b(A),T=v),m.call(u,T,function(k,l){var R;switch(l.charAt(0)){case"$":return"$";case"&":return f;case"`":return C.slice(0,g);case"'":return C.slice(r);case"<":R=A[l.slice(1,-1)];break;default:var F=+l;if(F===0)return k;if(F>c){var Y=x(F/10);return Y===0?k:Y<=c?P[Y-1]===void 0?l.charAt(1):P[Y-1]+l.charAt(1):k}R=P[F-1]}return R===void 0?"":R})}}),7854:(function(w,S,a){var b=function(x){return x&&x.Math==Math&&x};w.exports=b(typeof globalThis=="object"&&globalThis)||b(typeof window=="object"&&window)||b(typeof self=="object"&&self)||b(typeof a.g=="object"&&a.g)||(function(){return this})()||Function("return this")()}),6656:(function(w){var S={}.hasOwnProperty;w.exports=function(a,b){return S.call(a,b)}}),3501:(function(w){w.exports={}}),490:(function(w,S,a){var b=a(5005);w.exports=b("document","documentElement")}),4664:(function(w,S,a){var b=a(9781),x=a(7293),m=a(317);w.exports=!b&&!x(function(){return Object.defineProperty(m("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(w){var S=Math.abs,a=Math.pow,b=Math.floor,x=Math.log,m=Math.LN2,v=function(f,C,g){var P=new Array(g),A=g*8-C-1,u=(1<<A)-1,r=u>>1,c=C===23?a(2,-24)-a(2,-77):0,T=f<0||f===0&&1/f<0?1:0,k=0,l,R,F;for(f=S(f),f!=f||f===1/0?(R=f!=f?1:0,l=u):(l=b(x(f)/m),f*(F=a(2,-l))<1&&(l--,F*=2),l+r>=1?f+=c/F:f+=c*a(2,1-r),f*F>=2&&(l++,F/=2),l+r>=u?(R=0,l=u):l+r>=1?(R=(f*F-1)*a(2,C),l=l+r):(R=f*a(2,r-1)*a(2,C),l=0));C>=8;P[k++]=R&255,R/=256,C-=8);for(l=l<<C|R,A+=C;A>0;P[k++]=l&255,l/=256,A-=8);return P[--k]|=T*128,P},d=function(f,C){var g=f.length,P=g*8-C-1,A=(1<<P)-1,u=A>>1,r=P-7,c=g-1,T=f[c--],k=T&127,l;for(T>>=7;r>0;k=k*256+f[c],c--,r-=8);for(l=k&(1<<-r)-1,k>>=-r,r+=C;r>0;l=l*256+f[c],c--,r-=8);if(k===0)k=1-u;else{if(k===A)return l?NaN:T?-1/0:1/0;l=l+a(2,C),k=k-u}return(T?-1:1)*l*a(2,k-C)};w.exports={pack:v,unpack:d}}),8361:(function(w,S,a){var b=a(7293),x=a(4326),m="".split;w.exports=b(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return x(v)=="String"?m.call(v,""):Object(v)}:Object}),9587:(function(w,S,a){var b=a(111),x=a(7674);w.exports=function(m,v,d){var f,C;return x&&typeof(f=v.constructor)=="function"&&f!==d&&b(C=f.prototype)&&C!==d.prototype&&x(m,C),m}}),2788:(function(w,S,a){var b=a(5465),x=Function.toString;typeof b.inspectSource!="function"&&(b.inspectSource=function(m){return x.call(m)}),w.exports=b.inspectSource}),9909:(function(w,S,a){var b=a(8536),x=a(7854),m=a(111),v=a(8880),d=a(6656),f=a(5465),C=a(6200),g=a(3501),P=x.WeakMap,A,u,r,c=function(G){return r(G)?u(G):A(G,{})},T=function(G){return function(j){var Z;if(!m(j)||(Z=u(j)).type!==G)throw TypeError("Incompatible receiver, "+G+" required");return Z}};if(b){var k=f.state||(f.state=new P),l=k.get,R=k.has,F=k.set;A=function(G,j){return j.facade=G,F.call(k,G,j),j},u=function(G){return l.call(k,G)||{}},r=function(G){return R.call(k,G)}}else{var Y=C("state");g[Y]=!0,A=function(G,j){return j.facade=G,v(G,Y,j),j},u=function(G){return d(G,Y)?G[Y]:{}},r=function(G){return d(G,Y)}}w.exports={set:A,get:u,has:r,enforce:c,getterFor:T}}),7659:(function(w,S,a){var b=a(5112),x=a(7497),m=b("iterator"),v=Array.prototype;w.exports=function(d){return d!==void 0&&(x.Array===d||v[m]===d)}}),3157:(function(w,S,a){var b=a(4326);w.exports=Array.isArray||function(m){return b(m)=="Array"}}
57),4705:(function(w,S,a){var b=a(7293),x=/#|\.prototype\./,m=function(g,P){var A=d[v(g)];return A==C?!0:A==f?!1:typeof P=="function"?b(P):!!P},v=m.normalize=function(g){return String(g).replace(x,".").toLowerCase()},d=m.data={},f=m.NATIVE="N",C=m.POLYFILL="P";w.exports=m}),111:(function(w){w.exports=function(S){return typeof S=="object"?S!==null:typeof S=="function"}}),1913:(function(w){w.exports=!1}),7850:(function(w,S,a){var b=a(111),x=a(4326),m=a(5112),v=m("match");w.exports=function(d){var f;return b(d)&&((f=d[v])!==void 0?!!f:x(d)=="RegExp")}}),9212:(function(w,S,a){var b=a(9670);w.exports=function(x){var m=x.return;if(m!==void 0)return b(m.call(x)).value}}),3383:(function(w,S,a){"use strict";var b=a(7293),x=a(9518),m=a(8880),v=a(6656),d=a(5112),f=a(1913),C=d("iterator"),g=!1,P=function(){return this},A,u,r;[].keys&&(r=[].keys(),"next"in r?(u=x(x(r)),u!==Object.prototype&&(A=u)):g=!0);var c=A==null||b(function(){var T={};return A[C].call(T)!==T});c&&(A={}),(!f||c)&&!v(A,C)&&m(A,C,P),w.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:g}}),7497:(function(w){w.exports={}}),133:(function(w,S,a){var b=a(7293);w.exports=!!Object.getOwnPropertySymbols&&!b(function(){return!String(Symbol())})}),590:(function(w,S,a){var b=a(7293),x=a(5112),m=a(1913),v=x("iterator");w.exports=!b(function(){var d=new URL("b?a=1&b=2&c=3","http://a"),f=d.searchParams,C="";return d.pathname="c%20d",f.forEach(function(g,P){f.delete("b"),C+=P+g}),m&&!d.toJSON||!f.sort||d.href!=="http://a/c%20d?a=1&c=3"||f.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!f[v]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||C!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(w,S,a){var b=a(7854),x=a(2788),m=b.WeakMap;w.exports=typeof m=="function"&&/native code/.test(x(m))}),1574:(function(w,S,a){"use strict";var b=a(9781),x=a(7293),m=a(1956),v=a(5181),d=a(5296),f=a(7908),C=a(8361),g=Object.assign,P=Object.defineProperty;w.exports=!g||x(function(){if(b&&g({b:1},g(P({},"a",{enumerable:!0,get:function(){P(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var A={},u={},r=Symbol(),c="abcdefghijklmnopqrst";return A[r]=7,c.split("").forEach(function(T){u[T]=T}),g({},A)[r]!=7||m(g({},u)).join("")!=c})?function(u,r){for(var c=f(u),T=arguments.length,k=1,l=v.f,R=d.f;T>k;)for(var F=C(arguments[k++]),Y=l?m(F).concat(l(F)):m(F),G=Y.length,j=0,Z;G>j;)Z=Y[j++],(!b||R.call(F,Z))&&(c[Z]=F[Z]);return c}:g}),30:(function(w,S,a){var b=a(9670),x=a(6048),m=a(748),v=a(3501),d=a(490),f=a(317),C=a(6200),g=">",P="<",A="prototype",u="script",r=C("IE_PROTO"),c=function(){},T=function(Y){return P+u+g+Y+P+"/"+u+g},k=function(Y){Y.write(T("")),Y.close();var G=Y.parentWindow.Object;return Y=null,G},l=function(){var Y=f("iframe"),G="java"+u+":",j;return Y.style.display="none",d.appendChild(Y),Y.src=String(G),j=Y.contentWindow.document,j.open(),j.write(T("document.F=Object")),j.close(),j.F},R,F=function(){try{R=document.domain&&new ActiveXObject("htmlfile")}catch(G){}F=R?k(R):l();for(var Y=m.length;Y--;)delete F[A][m[Y]];return F()};v[r]=!0,w.exports=Object.create||function(G,j){var Z;return G!==null?(c[A]=b(G),Z=new c,c[A]=null,Z[r]=G):Z=F(),j===void 0?Z:x(Z,j)}}),6048:(function(w,S,a){var b=a(9781),x=a(3070),m=a(9670),v=a(1956);w.exports=b?Object.defineProperties:function(f,C){m(f);for(var g=v(C),P=g.length,A=0,u;P>A;)x.f(f,u=g[A++],C[u]);return f}}),3070:(function(w,S,a){var b=a(9781),x=a(4664),m=a(9670),v=a(7593),d=Object.defineProperty;S.f=b?d:function(C,g,P){if(m(C),g=v(g,!0),m(P),x)try{return d(C,g,P)}catch(A){}if("get"in P||"set"in P)throw TypeError("Accessors not supported");return"value"in P&&(C[g]=P.value),C}}),1236:(function(w,S,a){var b=a(9781),x=a(5296),m=a(9114),v=a(5656),d=a(7593),f=a(6656),C=a(4664),g=Object.getOwnPropertyDescriptor;S.f=b?g:function(A,u){if(A=v(A),u=d(u,!0),C)try{return g(A,u)}catch(r){}if(f(A,u))return m(!x.f.call(A,u),A[u])}}),8006:(function(w,S,a){var b=a(6324),x=a(748),m=x.concat("length","prototype");S.f=Object.getOwnPropertyNames||function(d){return b(d,m)}}),5181:(function(w,S){S.f=Object.getOwnPropertySymbols}),9518:(function(w,S,a){var b=a(6656),x=a(7908),m=a(6200),v=a(8544),d=m("IE_PROTO"),f=Object.prototype;w.exports=v?Object.getPrototypeOf:function(C){return C=x(C),b(C,d)?C[d]:typeof C.constructor=="function"&&C instanceof C.constructor?C.constructor.prototype:C instanceof Object?f:null}}),6324:(function(w,S,a){var b=a(6656),x=a(5656),m=a(1318).indexOf,v=a(3501);w.exports=function(d,f){var C=x(d),g=0,P=[],A;
57for(A in C)!b(v,A)&&b(C,A)&&P.push(A);for(;f.length>g;)b(C,A=f[g++])&&(~m(P,A)||P.push(A));return P}}),1956:(function(w,S,a){var b=a(6324),x=a(748);w.exports=Object.keys||function(v){return b(v,x)}}),5296:(function(w,S){"use strict";var a={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,x=b&&!a.call({1:2},1);S.f=x?function(v){var d=b(this,v);return!!d&&d.enumerable}:a}),7674:(function(w,S,a){var b=a(9670),x=a(6077);w.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var m=!1,v={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(v,[]),m=v instanceof Array}catch(f){}return function(C,g){return b(C),x(g),m?d.call(C,g):C.__proto__=g,C}})():void 0)}),288:(function(w,S,a){"use strict";var b=a(1694),x=a(648);w.exports=b?{}.toString:function(){return"[object "+x(this)+"]"}}),3887:(function(w,S,a){var b=a(5005),x=a(8006),m=a(5181),v=a(9670);w.exports=b("Reflect","ownKeys")||function(f){var C=x.f(v(f)),g=m.f;return g?C.concat(g(f)):C}}),857:(function(w,S,a){var b=a(7854);w.exports=b}),2248:(function(w,S,a){var b=a(1320);w.exports=function(x,m,v){for(var d in m)b(x,d,m[d],v);return x}}),1320:(function(w,S,a){var b=a(7854),x=a(8880),m=a(6656),v=a(3505),d=a(2788),f=a(9909),C=f.get,g=f.enforce,P=String(String).split("String");(w.exports=function(A,u,r,c){var T=c?!!c.unsafe:!1,k=c?!!c.enumerable:!1,l=c?!!c.noTargetGet:!1,R;if(typeof r=="function"&&(typeof u=="string"&&!m(r,"name")&&x(r,"name",u),R=g(r),R.source||(R.source=P.join(typeof u=="string"?u:""))),A===b){k?A[u]=r:v(u,r);return}else T?!l&&A[u]&&(k=!0):delete A[u];k?A[u]=r:x(A,u,r)})(Function.prototype,"toString",function(){return typeof this=="function"&&C(this).source||d(this)})}),7651:(function(w,S,a){var b=a(4326),x=a(2261);w.exports=function(m,v){var d=m.exec;if(typeof d=="function"){var f=d.call(m,v);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(b(m)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return x.call(m,v)}}),2261:(function(w,S,a){"use strict";var b=a(7066),x=a(2999),m=RegExp.prototype.exec,v=String.prototype.replace,d=m,f=(function(){var A=/a/,u=/b*/g;return m.call(A,"a"),m.call(u,"a"),A.lastIndex!==0||u.lastIndex!==0})(),C=x.UNSUPPORTED_Y||x.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,P=f||g||C;P&&(d=function(u){var r=this,c,T,k,l,R=C&&r.sticky,F=b.call(r),Y=r.source,G=0,j=u;return R&&(F=F.replace("y",""),F.indexOf("g")===-1&&(F+="g"),j=String(u).slice(r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&u[r.lastIndex-1]!==`
58`)&&(Y="(?: "+Y+")",j=" "+j,G++),T=new RegExp("^(?:"+Y+")",F)),g&&(T=new RegExp("^"+Y+"$(?!\\s)",F)),f&&(c=r.lastIndex),k=m.call(R?T:r,j),R?k?(k.input=k.input.slice(G),k[0]=k[0].slice(G),k.index=r.lastIndex,r.lastIndex+=k[0].length):r.lastIndex=0:f&&k&&(r.lastIndex=r.global?k.index+k[0].length:c),g&&k&&k.length>1&&v.call(k[0],T,function(){for(l=1;l<arguments.length-2;l++)arguments[l]===void 0&&(k[l]=void 0)}),k}),w.exports=d}),7066:(function(w,S,a){"use strict";var b=a(9670);w.exports=function(){var x=b(this),m="";return x.global&&(m+="g"),x.ignoreCase&&(m+="i"),x.multiline&&(m+="m"),x.dotAll&&(m+="s"),x.unicode&&(m+="u"),x.sticky&&(m+="y"),m}}),2999:(function(w,S,a){"use strict";var b=a(7293);function x(m,v){return RegExp(m,v)}S.UNSUPPORTED_Y=b(function(){var m=x("a","y");return m.lastIndex=2,m.exec("abcd")!=null}),S.BROKEN_CARET=b(function(){var m=x("^r","gy");return m.lastIndex=2,m.exec("str")!=null})}),4488:(function(w){w.exports=function(S){if(S==null)throw TypeError("Can't call method on "+S);return S}}),3505:(function(w,S,a){var b=a(7854),x=a(8880);w.exports=function(m,v){try{x(b,m,v)}catch(d){b[m]=v}return v}}),6340:(function(w,S,a){"use strict";var b=a(5005),x=a(3070),m=a(5112),v=a(9781),d=m("species");w.exports=function(f){var C=b(f),g=x.f;v&&C&&!C[d]&&g(C,d,{configurable:!0,get:function(){return this}})}}),8003:(function(w,S,a){var b=a(3070).f,x=a(6656),m=a(5112),v=m("toStringTag");w.exports=function(d,f,C){d&&!x(d=C?d:d.prototype,v)&&b(d,v,{configurable:!0,value:f})}}),6200:(function(w,S,a){var b=a(2309),x=a(9711),m=b("keys");w.exports=function(v){return m[v]||(m[v]=x(v))}}),5465:(function(w,S,a){var b=a(7854),x=a(3505),m="__core-js_shared__",v=b[m]||x(m,{});w.exports=v}),2309:(function(w,S,a){var b=a(1913),x=a(5465);(w.exports=function(m,v){return x[m]||(x[m]=v!==void 0?v:{})})("versions",[]).push({version:"3.9.0",mode:b?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(w,S,a){var b=a(9670),x=a(3099),m=a(5112),v=m("species");w.exports=function(d,f){var C=b(d).constructor,g;return C===void 0||(g=b(C)[v])==null?f:x(g)}}),8710:(function(w,S,a){var b=a(9958),x=a(4488),m=function(v){return function(d,f){var C=String(x(d)),g=b(f),P=C.length,A,u;return g<0||g>=P?v?"":void 0:(A=C.charCodeAt(g),A<55296||A>56319||g+1===P||(u=C.charCodeAt(g+1))<56320||u>57343?v?C.charAt(g):A:v?C.slice(g,g+2):(A-55296<<10)+(u-56320)+65536)}};w.exports={codeAt:m(!1),charAt:m(!0)}}),3197:(function(w){"use strict";var S=2147483647,a=36,b=1,x=26,m=38,v=700,d=72,f=128,C="-",g=/[^\0-\u007E]/,P=/[.\u3002\uFF0E\uFF61]/g,A="Overflow: input needs wider integers to process",u=a-b,r=Math.floor,c=String.fromCharCode,T=function(F){for(var Y=[],G=0,j=F.length;G<j;
58){var Z=F.charCodeAt(G++);if(Z>=55296&&Z<=56319&&G<j){var H=F.charCodeAt(G++);(H&64512)==56320?Y.push(((Z&1023)<<10)+(H&1023)+65536):(Y.push(Z),G--)}else Y.push(Z)}return Y},k=function(F){return F+22+75*(F<26)},l=function(F,Y,G){var j=0;for(F=G?r(F/v):F>>1,F+=r(F/Y);F>u*x>>1;j+=a)F=r(F/u);return r(j+(u+1)*F/(F+m))},R=function(F){var Y=[];F=T(F);var G=F.length,j=f,Z=0,H=d,ht,lt;for(ht=0;ht<F.length;ht++)lt=F[ht],lt<128&&Y.push(c(lt));var ut=Y.length,pt=ut;for(ut&&Y.push(C);pt<G;){var wt=S;for(ht=0;ht<F.length;ht++)lt=F[ht],lt>=j&&lt<wt&&(wt=lt);var _t=pt+1;if(wt-j>r((S-Z)/_t))throw RangeError(A);for(Z+=(wt-j)*_t,j=wt,ht=0;ht<F.length;ht++){if(lt=F[ht],lt<j&&++Z>S)throw RangeError(A);if(lt==j){for(var Tt=Z,Ut=a;;Ut+=a){var Xt=Ut<=H?b:Ut>=H+x?x:Ut-H;if(Tt<Xt)break;var Jt=Tt-Xt,qt=a-Xt;Y.push(c(k(Xt+Jt%qt))),Tt=r(Jt/qt)}Y.push(c(k(Tt))),H=l(Z,_t,pt==ut),Z=0,++pt}}++Z,++j}return Y.join("")};w.exports=function(F){var Y=[],G=F.toLowerCase().replace(P,".").split("."),j,Z;for(j=0;j<G.length;j++)Z=G[j],Y.push(g.test(Z)?"xn--"+R(Z):Z);return Y.join(".")}}),6091:(function(w,S,a){var b=a(7293),x=a(1361),m="\u200B\x85\u180E";w.exports=function(v){return b(function(){return!!x[v]()||m[v]()!=m||x[v].name!==v})}}),3111:(function(w,S,a){var b=a(4488),x=a(1361),m="["+x+"]",v=RegExp("^"+m+m+"*"),d=RegExp(m+m+"*$"),f=function(C){return function(g){var P=String(b(g));return C&1&&(P=P.replace(v,"")),C&2&&(P=P.replace(d,"")),P}};w.exports={start:f(1),end:f(2),trim:f(3)}}),1400:(function(w,S,a){var b=a(9958),x=Math.max,m=Math.min;w.exports=function(v,d){var f=b(v);return f<0?x(f+d,0):m(f,d)}}),7067:(function(w,S,a){var b=a(9958),x=a(7466);w.exports=function(m){if(m===void 0)return 0;var v=b(m),d=x(v);if(v!==d)throw RangeError("Wrong length or index");return d}}),5656:(function(w,S,a){var b=a(8361),x=a(4488);w.exports=function(m){return b(x(m))}}),9958:(function(w){var S=Math.ceil,a=Math.floor;w.exports=function(b){return isNaN(b=+b)?0:(b>0?a:S)(b)}}),7466:(function(w,S,a){var b=a(9958),x=Math.min;w.exports=function(m){return m>0?x(b(m),9007199254740991):0}}),7908:(function(w,S,a){var b=a(4488);w.exports=function(x){return Object(b(x))}}),4590:(function(w,S,a){var b=a(3002);w.exports=function(x,m){var v=b(x);if(v%m)throw RangeError("Wrong offset");return v}}),3002:(function(w,S,a){var b=a(9958);w.exports=function(x){var m=b(x);if(m<0)throw RangeError("The argument can't be less than 0");return m}}),7593:(function(w,S,a){var b=a(111);w.exports=function(x,m){if(!b(x))return x;var v,d;if(m&&typeof(v=x.toString)=="function"&&!b(d=v.call(x))||typeof(v=x.valueOf)=="function"&&!b(d=v.call(x))||!m&&typeof(v=x.toString)=="function"&&!b(d=v.call(x)))return d;throw TypeError("Can't convert object to primitive value")}}),1694:(function(w,S,a){var b=a(5112),x=b("toStringTag"),m={};m[x]="z",w.exports=String(m)==="[object z]"}),9843:(function(w,S,a){"use strict";var b=a(2109),x=a(7854),m=a(9781),v=a(3832),d=a(260),f=a(3331),C=a(5787),g=a(9114),P=a(8880),A=a(7466),u=a(7067),r=a(4590),c=a(7593),T=a(6656),k=a(648),l=a(111),R=a(30),F=a(76
5874),Y=a(8006).f,G=a(7321),j=a(2092).forEach,Z=a(6340),H=a(3070),ht=a(1236),lt=a(9909),ut=a(9587),pt=lt.get,wt=lt.set,_t=H.f,Tt=ht.f,Ut=Math.round,Xt=x.RangeError,Jt=f.ArrayBuffer,qt=f.DataView,zt=d.NATIVE_ARRAY_BUFFER_VIEWS,Zt=d.TYPED_ARRAY_TAG,Gt=d.TypedArray,te=d.TypedArrayPrototype,ie=d.aTypedArrayConstructor,Te=d.isTypedArray,ve="BYTES_PER_ELEMENT",Se="Wrong length",ne=function(ee,jt){for(var se=0,me=jt.length,Fe=new(ie(ee))(me);me>se;)Fe[se]=jt[se++];return Fe},le=function(ee,jt){_t(ee,jt,{get:function(){return pt(this)[jt]}})},ce=function(ee){var jt;return ee instanceof Jt||(jt=k(ee))=="ArrayBuffer"||jt=="SharedArrayBuffer"},fe=function(ee,jt){return Te(ee)&&typeof jt!="symbol"&&jt in ee&&String(+jt)==String(jt)},he=function(jt,se){return fe(jt,se=c(se,!0))?g(2,jt[se]):Tt(jt,se)},_e=function(jt,se,me){return fe(jt,se=c(se,!0))&&l(me)&&T(me,"value")&&!T(me,"get")&&!T(me,"set")&&!me.configurable&&(!T(me,"writable")||me.writable)&&(!T(me,"enumerable")||me.enumerable)?(jt[se]=me.value,jt):_t(jt,se,me)};m?(zt||(ht.f=he,H.f=_e,le(te,"buffer"),le(te,"byteOffset"),le(te,"byteLength"),le(te,"length")),b({target:"Object",stat:!0,forced:!zt},{getOwnPropertyDescriptor:he,defineProperty:_e}),w.exports=function(ee,jt,se){var me=ee.match(/\d+$/)[0]/8,Fe=ee+(se?"Clamped":"")+"Array",re="get"+ee,We="set"+ee,$e=x[Fe],Me=$e,De=Me&&Me.prototype,t={},i=function(p,_){var I=pt(p);return I.view[re](_*me+I.byteOffset,!0)},s=function(p,_,I){var U=pt(p);se&&(I=(I=Ut(I))<0?0:I>255?255:I&255),U.view[We](_*me+U.byteOffset,I,!0)},o=function(p,_){_t(p,_,{get:function(){return i(this,_)},set:function(I){return s(this,_,I)},enumerable:!0})};zt?v&&(Me=jt(function(p,_,I,U){return C(p,Me,Fe),ut((function(){return l(_)?ce(_)?U!==void 0?new $e(_,r(I,me),U):I!==void 0?new $e(_,r(I,me)):new $e(_):Te(_)?ne(Me,_):G.call(Me,_):new $e(u(_))})(),p,Me)}),F&&F(Me,Gt),j(Y($e),function(p){p in Me||P(Me,p,$e[p])}),Me.prototype=De):(Me=jt(function(p,_,I,U){C(p,Me,Fe);var Q=0,ot=0,vt,xt,et;if(!l(_))et=u(_),xt=et*me,vt=new Jt(xt);else if(ce(_)){vt=_,ot=r(I,me);var bt=_.byteLength;if(U===void 0){if(bt%me||(xt=bt-ot,xt<0))throw Xt(Se)}else if(xt=A(U)*me,xt+ot>bt)throw Xt(Se);et=xt/me}else return Te(_)?ne(Me,_):G.call(Me,_);for(wt(p,{buffer:vt,byteOffset:ot,byteLength:xt,length:et,view:new qt(vt)});Q<et;)o(p,Q++)}),F&&F(Me,Gt),De=Me.prototype=R(te)),De.constructor!==Me&&P(De,"constructor",Me),Zt&&P(De,Zt,Fe),t[Fe]=Me,b({global:!0,forced:Me!=$e,sham:!zt},t),ve in Me||P(Me,ve,me),ve in De||P(De,ve,me),Z(Fe)}):w.exports=function(){}}),3832:(function(w,S,a){var b=a(7854),x=a(7293),m=a(7072),v=a(260).NATIVE_ARRAY_BUFFER_VIEWS,d=b.ArrayBuffer,f=b.Int8Array;w.exports=!v||!x(function(){f(1)})||!x(function(){new f(-1)})||!m(function(C){new f,new f(null),new f(1.5),new f(C)},!0)||x(function(){return new f(new d(2),1,void 0).length!==1})}),3074:(function(w,S,a){var b=a(260).aTypedArrayConstructor,x=a(6707);w.exports=function(m,v){for(var d=x(m,m.constructor),f=0,C=v.length,g=new(b(d))(C);C>f;)g[f]=v[f++];return g}}),7321:(function(w,S,a){var b=a(7908),x=a(7466),m=a(1246),v=a(7659),d=a(9974),f=a(260).aTypedArrayConstructor;w.exports=function(g){var P=b(g),A=arguments.length,u=A>1?arguments[1]:void 0,r=u!==void 0,c=m(P),T,k,l,R,F,Y;if(c!=null&&!v(c))for(F=c.call(P),Y=F.next,P=[];!(R=Y.call(F)).done;)P.push(R.value);for(r&&A>2&&(u=d(u,arguments[2],2)),k=x(P.length),l=new(f(this))(k),T=0;k>T;T++)l[T]=r?u(P[T],T):P[T];return l}}),9711:(function(w){var S=0,a=Math.random();w.exports=function(b){return"Symbol("+String(b===void 0?"":b)+")_"+(++S+a).toString(36)}}),3307:(function(w,S,a){var b=a(133);w.exports=b&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(w,S,a){var b=a(7854),x=a(2309),m=a(6656),v=a(9711),d=a(133),f=
58a(3307),C=x("wks"),g=b.Symbol,P=f?g:g&&g.withoutSetter||v;w.exports=function(A){return m(C,A)||(d&&m(g,A)?C[A]=g[A]:C[A]=P("Symbol."+A)),C[A]}}),1361:(function(w){w.exports=`	
59\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`}),8264:(function(w,S,a){"use strict";var b=a(2109),x=a(7854),m=a(3331),v=a(6340),d="ArrayBuffer",f=m[d],C=x[d];b({global:!0,forced:C!==f},{ArrayBuffer:f}),v(d)}),2222:(function(w,S,a){"use strict";var b=a(2109),x=a(7293),m=a(3157),v=a(111),d=a(7908),f=a(7466),C=a(6135),g=a(5417),P=a(1194),A=a(5112),u=a(7392),r=A("isConcatSpreadable"),c=9007199254740991,T="Maximum allowed index exceeded",k=u>=51||!x(function(){var Y=[];return Y[r]=!1,Y.concat()[0]!==Y}),l=P("concat"),R=function(Y){if(!v(Y))return!1;var G=Y[r];return G!==void 0?!!G:m(Y)},F=!k||!l;b({target:"Array",proto:!0,forced:F},{concat:function(G){var j=d(this),Z=g(j,0),H=0,ht,lt,ut,pt,wt;for(ht=-1,ut=arguments.length;ht<ut;ht++)if(wt=ht===-1?j:arguments[ht],R(wt)){if(pt=f(wt.length),H+pt>c)throw TypeError(T);for(lt=0;lt<pt;lt++,H++)lt in wt&&C(Z,H,wt[lt])}else{if(H>=c)throw TypeError(T);C(Z,H++,wt)}return Z.length=H,Z}})}),7327:(function(w,S,a){"use strict";var b=a(2109),x=a(2092).filter,m=a(1194),v=m("filter");b({target:"Array",proto:!0,forced:!v},{filter:function(f){return x(this,f,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(w,S,a){"use strict";var b=a(2109),x=a(1318).indexOf,m=a(9341),v=[].indexOf,d=!!v&&1/[1].indexOf(1,-0)<0,f=m("indexOf");b({target:"Array",proto:!0,forced:d||!f},{indexOf:function(g){return d?v.apply(this,arguments)||0:x(this,g,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(w,S,a){"use strict";var b=a(5656),x=a(1223),m=a(7497),v=a(9909),d=a(654),f="Array Iterator",C=v.set,g=v.getterFor(f);w.exports=d(Array,"Array",function(P,A){C(this,{type:f,target:b(P),index:0,kind:A})},function(){var P=g(this),A=P.target,u=P.kind,r=P.index++;return!A||r>=A.length?(P.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:r,done:!1}:u=="values"?{value:A[r],done:!1}:{value:[r,A[r]],done:!1}},"values"),m.Arguments=m.Array,x("keys"),x("values"),x("entries")}),1249:(function(w,S,a){"use strict";var b=a(2109),x=a(2092).map,m=a(1194),v=m("map");b({target:"Array",proto:!0,forced:!v},{map:function(f){return x(this,f,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(w,S,a){"use strict";var b=a(2109),x=a(111),m=a(3157),v=a(1400),d=a(7466),f=a(5656),C=a(6135),g=a(5112),P=a(1194),A=P("slice"),u=g("species"),r=[].slice,c=Math.max;b({target:"Array",proto:!0,forced:!A},{slice:function(k,l){var R=f(this),F=d(R.length),Y=v(k,F),G=v(l===void 0?F:l,F),j,Z,H;if(m(R)&&(j=R.constructor,typeof j=="function"&&(j===Array||m(j.prototype))?j=void 0:x(j)&&(j=j[u],j===null&&(j=void 0)),j===Array||j===void 0))return r.call(R,Y,G);for(Z=new(j===void 0?Array:j)(c(G-Y,0)),H=0;Y<G;Y++,H++)Y in R&&C(Z,H,R[Y]);return Z.length=H,Z}})}),561:(function(w,S,a){"use strict";var b=a(2109),x=a(1400),m=a(9958),v=a(7466),d=a(7908),f=a(5417),C=a(6135),g=a(1194),P=g("splice"),A=Math.max,u=Math.min,r=9007199254740991,c="Maximum allowed length exceeded";b({target:"Array",proto:!0,forced:!P},{splice:function(k,l){var R=d(this),F=v(R.length),Y=x(k,F),G=arguments.length,j,Z,H,ht,lt,ut;if(G===0?j=Z=0:G===1?(j=0,Z=F-Y):(j=G-2,Z=u(A(m(l),0),F-Y)),F+j-Z>r)throw TypeError(c);for(H=f(R,Z),ht=0;ht<Z;ht++)lt=Y+ht,lt in R&&C(H,ht,R[lt]);if(H.length=Z,j<Z){for(ht=Y;ht<F-Z;ht++)lt=ht+Z,ut=ht+j,lt in R?R[ut]=R[lt]:delete R[ut];for(ht=F;ht>F-Z+j;ht--)delete R[ht-1]}else if(j>Z)for(ht=F-Z;ht>Y;ht--)lt=ht+Z-1,ut=ht+j-1,lt in R?R[ut]=R[lt]:delete R[ut];for(ht=0;ht<j;ht++)R[ht+Y]=arguments[ht+2];return R.length=F-Z+j,H}})}),8309:(function(w,S,a){var b=a(9781),x=a(3070).f,m=Function.prototype,v=m.toString,d=/^\s*function ([^ (]*)/,f="name";b&&!(f in m)&&x(m,f,{configurable:!0,get:function(){try{return v.call(this).match(d)[1]}catch(C){return""}}})}),489:(function(w,S,a){var b=a(2109),x=a(7293),m=a(7908),v=a(9518),d=a(8544),f=x(function(){v(1)});b({target:"Object",stat:!0,forced:f,sham:!d},{getPrototypeOf:function(g){return v(m(g))}})}),1539:(function(w,S,a){var b=a(1694),x=a(1320),m=a(288);b||x(Object.prototype,"toString",m,{unsafe:!0})}),4916:(function(w,S,a){"use strict";var b=a(2109),x=a(2261);b({target:"RegExp",proto:!0,forced:/./.exec!==x},{exec:x})}),9714:(function(w,S,a){"use strict";var b=a(1320),x=a(9670),m=a(7293),v=a(7066),d="toString",f=RegExp.prototype,C=f[d],g=m(function(){return C.call({
59source:"a",flags:"b"})!="/a/b"}),P=C.name!=d;(g||P)&&b(RegExp.prototype,d,function(){var u=x(this),r=String(u.source),c=u.flags,T=String(c===void 0&&u instanceof RegExp&&!("flags"in f)?v.call(u):c);return"/"+r+"/"+T},{unsafe:!0})}),8783:(function(w,S,a){"use strict";var b=a(8710).charAt,x=a(9909),m=a(654),v="String Iterator",d=x.set,f=x.getterFor(v);m(String,"String",function(C){d(this,{type:v,string:String(C),index:0})},function(){var g=f(this),P=g.string,A=g.index,u;return A>=P.length?{value:void 0,done:!0}:(u=b(P,A),g.index+=u.length,{value:u,done:!1})})}),4723:(function(w,S,a){"use strict";var b=a(7007),x=a(9670),m=a(7466),v=a(4488),d=a(1530),f=a(7651);b("match",1,function(C,g,P){return[function(u){var r=v(this),c=u==null?void 0:u[C];return c!==void 0?c.call(u,r):new RegExp(u)[C](String(r))},function(A){var u=P(g,A,this);if(u.done)return u.value;var r=x(A),c=String(this);if(!r.global)return f(r,c);var T=r.unicode;r.lastIndex=0;for(var k=[],l=0,R;(R=f(r,c))!==null;){var F=String(R[0]);k[l]=F,F===""&&(r.lastIndex=d(c,m(r.lastIndex),T)),l++}return l===0?null:k}]})}),5306:(function(w,S,a){"use strict";var b=a(7007),x=a(9670),m=a(7466),v=a(9958),d=a(4488),f=a(1530),C=a(647),g=a(7651),P=Math.max,A=Math.min,u=function(r){return r===void 0?r:String(r)};b("replace",2,function(r,c,T,k){var l=k.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=k.REPLACE_KEEPS_$0,F=l?"$":"$0";return[function(G,j){var Z=d(this),H=G==null?void 0:G[r];return H!==void 0?H.call(G,Z,j):c.call(String(Z),G,j)},function(Y,G){if(!l&&R||typeof G=="string"&&G.indexOf(F)===-1){var j=T(c,Y,this,G);if(j.done)return j.value}var Z=x(Y),H=String(this),ht=typeof G=="function";ht||(G=String(G));var lt=Z.global;if(lt){var ut=Z.unicode;Z.lastIndex=0}for(var pt=[];;){var wt=g(Z,H);if(wt===null||(pt.push(wt),!lt))break;var _t=String(wt[0]);_t===""&&(Z.lastIndex=f(H,m(Z.lastIndex),ut))}for(var Tt="",Ut=0,Xt=0;Xt<pt.length;Xt++){wt=pt[Xt];for(var Jt=String(wt[0]),qt=P(A(v(wt.index),H.length),0),zt=[],Zt=1;Zt<wt.length;Zt++)zt.push(u(wt[Zt]));var Gt=wt.groups;if(ht){var te=[Jt].concat(zt,qt,H);Gt!==void 0&&te.push(Gt);var ie=String(G.apply(void 0,te))}else ie=C(Jt,H,qt,zt,Gt,G);qt>=Ut&&(Tt+=H.slice(Ut,qt)+ie,Ut=qt+Jt.length)}return Tt+H.slice(Ut)}]})}),3123:(function(w,S,a){"use strict";var b=a(7007),x=a(7850),m=a(9670),v=a(4488),d=a(6707),f=a(1530),C=a(7466),g=a(7651),P=a(2261),A=a(7293),u=[].push,r=Math.min,c=4294967295,T=!A(function(){return!RegExp(c,"y")});b("split",2,function(k,l,R){var F;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?F=function(Y,G){var j=String(v(this)),Z=G===void 0?c:G>>>0;if(Z===0)return[];if(Y===void 0)return[j];if(!x(Y))return l.call(j,Y,Z);for(var H=[],ht=(Y.ignoreCase?"i":"")+(Y.multiline?"m":"")+(Y.unicode?"u":"")+(Y.sticky?"y":""),lt=0,ut=new RegExp(Y.source,ht+"g"),pt,wt,_t;(pt=P.call(ut,j))&&(wt=ut.lastIndex,!(wt>lt&&(H.push(j.slice(lt,pt.index)),pt.length>1&&pt.index<j.length&&u.apply(H,pt.slice(1)),_t=pt[0].length,lt=wt,H.length>=Z)));)ut.lastIndex===pt.index&&ut.lastIndex++;return lt===j.length?(_t||!ut.test(""))&&H.push(""):H.push(j.slice(lt)),H.length>Z?H.slice(0,Z):H}:"0".split(void 0,0).length?F=function(Y,G){return Y===void 0&&G===0?[]:l.call(this,Y,G)}:F=l,[function(G,j){var Z=v(this),H=G==null?void 0:G[k];return H!==void 0?H.call(G,Z,j):F.call(String(Z),G,j)},function(Y,G){var j=R(F,Y,this,G,F!==l);if(j.done)return j.value;var Z=m(Y),H=String(this),ht=d(Z,RegExp),lt=Z.unicode,ut=(Z.ignoreCase?"i":"")+(Z.multiline?"m":"")+(Z.unicode?"u":"")+(T?"y":"g"),pt=new ht(T?Z:"^(?:"+Z.source+")",ut),wt=G===void 0?c:G>>>0;if(wt===0)return[];if(H.length===0)return g(pt,H)===null?[H]:[];for(var _t=0,Tt=0,Ut=[];Tt<H.length;){pt.lastIndex=T?Tt:0;var Xt=g(pt,T?H:H.slice(Tt)),Jt;if(Xt===null||(Jt=r(C(pt.lastIndex+(T?0:Tt)),H.length))===_t)Tt=f(H,Tt,lt);else{if(Ut.push(H.slice(_t,Tt)),Ut.length===wt)return Ut;for(var qt=1;qt<=Xt.length-1;qt++)if(Ut.push(Xt[qt]),Ut.length===wt)return Ut;Tt=_t=Jt}}return Ut.push(H.slice(_t)),Ut}]},!T)}),3210:(function(w,S,a){"use strict";var b=a(2109),x=a(3111).trim,m=a(6091);b({target:"String",proto:!0,forced:m("trim")},{trim:function(){return x(this)}})}),2990:(function(w,S,a){"use strict";var b=a(260),x=a(1048),m=b.aTypedArray,v=b.exportTypedArrayMethod;v("copyWithin",function(f,C){return x.call(m(this),f,C,arguments.length>2?arguments[2]:void 0)})}),8927:(function(w,S,a){"use strict";var b=a(260),x=a(2092).every,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("every",function(f){return x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),3105:(function(w,S,a){"use strict";var b=a(260),x=a(1285),m=b.aTypedArray,v=b.exportTypedArrayMethod;v("fill",function(f){return x.apply(m(this),arguments)})}),5035:(function(w,S,a){"use strict";var b=a(260),x=a(2092).filter,m=a(3074),v=b.aTypedArray,d=b.exportTypedArrayMethod;d("filter",function(C){var g=x(v(this),C,arguments.length>1?arguments[1]:void 0);return m(this,g)})}),7174:(function(w,S,a){"use strict";var b=a(260),x=a(2092).findIndex,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("findIndex",function(f){return x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),4345:(function(w,S,a){"use strict";var b=a(260),x=a(2092).find,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("find",function(f){return x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),2846:(function(w,S,a){"use strict";var b=a(260),x=a(2092).forEach,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("forEach",function(f){x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),4731:(function(w,S,a){"use strict";var b=a(260),x=a(1318).includes,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("includes",function(f){return x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),7209:(function(w,S,a){"use strict";var b=a(260),x=a(1318).indexOf,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("indexOf",function(f){return x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),6319:(function(w,S,a){"use strict";var b=a(7854),x=a(260),m=a(6992),v=a(5112),d=v("iterator"),f=b.Uint8Array,C=m.values,g=m.keys,P=m.entries,A=x.aTypedArray,u=x.exportTypedArrayMethod,r=f&&f.prototype[d],c=!!r&&(r.name=="values"||r.name==null),T=function(){return C.call(A(this))};u("entries",function(){return P.call(A(this))}),u("keys",function(){return g.call(A(this))}),u("values",T,!c),u(d,T,!c)}),8867:(function(w,S,a){"use strict";var b=a(260),x=b.aTypedArray,m=b.exportTypedArrayMethod,v=[].join;m("join",function(f){return v.apply(x(this),arguments)})}),7789:(function(w,S,a){"use strict";var b=a(260),x=a(6583),m=b.aTypedArray,v=b.exportTypedArrayMethod;v("lastIndexOf",function(f){return x.apply(m(this),arguments)})}),3739:(function(w,S,a){"use strict";var b=a(260),x=a(2092).map,m=a(6707),v=b.aTypedArray,d=b.aTypedArrayConstructor,f=b.exportTypedArrayMethod;f("map",function(g){return x(v(this),g,arguments.length>1?arguments[1]:void 0,function(P,A){return new(d(m(P,P.constructor)))(A)})})}),4483:(function(w,S,a){"use strict";var b=a(260),x=a(3671).right,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("reduceRight",function(f){return x(m(this),f,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(w,S,a){"use strict";var b=a(260),x=a(3671).left,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("reduce",function(f){return x(m(this),f,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(w,S,a){"use strict";var b=a(260),x=b.aTypedArray,m=b.exportTypedArrayMethod,v=Math.floor;m("reverse",function(){for(var f=this,C=x(f).length,g=v(C/2),P=0,A;P<g;)A=f[P],f[P++]=f[--C],f[C]=A;return f})}),3462:(function(w,S,a){"use strict";var b=a(260),x=a(7466),m=a(4590),v=a(7908),d=a(7293),f=b.aTypedArray,C=b.exportTypedArrayMethod,g=d(function(){new Int8Array(1).set({})});C("set",function(A){f(this);var u=m(arguments.length>
591?arguments[1]:void 0,1),r=this.length,c=v(A),T=x(c.length),k=0;if(T+u>r)throw RangeError("Wrong length");for(;k<T;)this[u+k]=c[k++]},g)}),678:(function(w,S,a){"use strict";var b=a(260),x=a(6707),m=a(7293),v=b.aTypedArray,d=b.aTypedArrayConstructor,f=b.exportTypedArrayMethod,C=[].slice,g=m(function(){new Int8Array(1).slice()});f("slice",function(A,u){for(var r=C.call(v(this),A,u),c=x(this,this.constructor),T=0,k=r.length,l=new(d(c))(k);k>T;)l[T]=r[T++];return l},g)}),7462:(function(w,S,a){"use strict";var b=a(260),x=a(2092).some,m=b.aTypedArray,v=b.exportTypedArrayMethod;v("some",function(f){return x(m(this),f,arguments.length>1?arguments[1]:void 0)})}),3824:(function(w,S,a){"use strict";var b=a(260),x=b.aTypedArray,m=b.exportTypedArrayMethod,v=[].sort;m("sort",function(f){return v.call(x(this),f)})}),5021:(function(w,S,a){"use strict";var b=a(260),x=a(7466),m=a(1400),v=a(6707),d=b.aTypedArray,f=b.exportTypedArrayMethod;f("subarray",function(g,P){var A=d(this),u=A.length,r=m(g,u);return new(v(A,A.constructor))(A.buffer,A.byteOffset+r*A.BYTES_PER_ELEMENT,x((P===void 0?u:m(P,u))-r))})}),2974:(function(w,S,a){"use strict";var b=a(7854),x=a(260),m=a(7293),v=b.Int8Array,d=x.aTypedArray,f=x.exportTypedArrayMethod,C=[].toLocaleString,g=[].slice,P=!!v&&m(function(){C.call(new v(1))}),A=m(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!m(function(){v.prototype.toLocaleString.call([1,2])});f("toLocaleString",function(){return C.apply(P?g.call(d(this)):d(this),arguments)},A)}),5016:(function(w,S,a){"use strict";var b=a(260).exportTypedArrayMethod,x=a(7293),m=a(7854),v=m.Uint8Array,d=v&&v.prototype||{},f=[].toString,C=[].join;x(function(){f.call({})})&&(f=function(){return C.call(this)});var g=d.toString!=f;b("toString",f,g)}),2472:(function(w,S,a){var b=a(9843);b("Uint8",function(x){return function(v,d,f){return x(this,v,d,f)}})}),4747:(function(w,S,a){var b=a(7854),x=a(8324),m=a(8533),v=a(8880);for(var d in x){var f=b[d],C=f&&f.prototype;if(C&&C.forEach!==m)try{v(C,"forEach",m)}catch(g){C.forEach=m}}}),3948:(function(w,S,a){var b=a(7854),x=a(8324),m=a(6992),v=a(8880),d=a(5112),f=d("iterator"),C=d("toStringTag"),g=m.values;for(var P in x){var A=b[P],u=A&&A.prototype;if(u){if(u[f]!==g)try{v(u,f,g)}catch(c){u[f]=g}if(u[C]||v(u,C,P),x[P]){for(var r in m)if(u[r]!==m[r])try{v(u,r,m[r])}catch(c){u[r]=m[r]}}}}}),1637:(function(w,S,a){"use strict";a(6992);var b=a(2109),x=a(5005),m=a(590),v=a(1320),d=a(2248),f=a(8003),C=a(4994),g=a(9909),P=a(5787),A=a(6656),u=a(9974),r=a(648),c=a(9670),T=a(111),k=a(30),l=a(9114),R=a(8554),F=a(1246),Y=a(5112),G=x("fetch"),j=x("Headers"),Z=Y("iterator"),H="URLSearchParams",ht=H+"Iterator",lt=g.set,ut=g.getterFor(H),pt=g.getterFor(ht),wt=/\+/g,_t=Array(4),Tt=function(ne){return _t[ne-1]||(_t[ne-1]=RegExp("((?:%[\\da-f]{2}){"+ne+"})","gi"))},Ut=function(ne){try{return decodeURIComponent(ne)}catch(le){return ne}},Xt=function(ne){var le=ne.replace(wt," "),ce=4;try{return decodeURIComponent(le)}catch(fe){for(;ce;)le=le.replace(Tt(ce--),Ut);return le}},Jt=/[!'()~]|%20/g,qt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},zt=function(ne){return qt[ne]},Zt=function(ne){return encodeURIComponent(ne).replace(Jt,zt)},Gt=function(ne,le){if(le)for(var ce=le.split("&"),fe=0,he,_e;fe<ce.length;)he=ce[fe++],he.length&&(_e=he.split("="),ne.push({key:Xt(_e.shift()),value:Xt(_e.join("="))}))},te=function(ne){this.entries.length=0,Gt(this.entries,ne)},ie=function(ne,le){if(ne<le)throw TypeError("Not enough arguments")},Te=C(function(le,ce){lt(this,{type:ht,iterator:R(ut(le).entries),kind:ce})},"Iterator",function(){var le=pt(this),ce=le.kind,fe=le.iterator.next(),he=fe.value;return fe.done||(fe.value=ce==="keys"?he.key:ce==="values"?he.value:[he.key,he.value]),fe}),ve=function(){P(this,ve,H);var le=arguments.length>0?arguments[0]:void 0,ce=this,fe=[],he,_e,ee,jt,se,me,Fe,re,We;if(lt(ce,{type:H,entries:fe,updateURL:function(){},updateSearchParams:te}),le!==void 0)if(T(le))if(he=F(le),typeof he=="function")for(_e=he.call(le),ee=_e.next;!(jt=ee.call(_e)).done;){if(se=R(c(jt.value)),me=se.next,(Fe=me.call(se)).done||(re=me.call(se)).done||!me.call(se).done)throw TypeError("Expected sequence with length 2");fe.push({key:Fe.value+"",value:re.value+""})}else for(We in le)A(le,We)&&fe.push({key:We,value:le[We]+""});else Gt(fe,typeof le=="string"?le.charAt(0)==="?"?le.slice(1):le:le+"")},Se=ve.prototype;d(Se,{append:function(le,ce){ie(arguments.length,2);var fe=ut(this);fe.entries.push({key:le+"",value:ce+""}),fe.updateURL()},delete:function(ne){ie(arguments.length,1);for(var le=ut(this),ce=le.entries,fe=ne+"",he=0;he<ce.length;)ce[he].key===fe?ce.splice(he,1):he++;le.updateURL()},get:function(le){ie(arguments.length,1);for(var ce=ut(this).entries,fe=le+"",he=0;he<ce.length;he++)if(ce[he].key===fe)return ce[he].value;return null},getAll:function(le){ie(arguments.length,1);for(var ce=ut(this).entries,fe=le+"",he=[],_e=0;_e<ce.length;_e++)ce[_e].key===fe&&he.push(ce[_e].value);return he},has:function(le){ie(arguments.length,1);for(var ce=ut(this).entries,fe=le+"",he=0;he<ce.length;)if(ce[he++].key===fe)return!0;return!1},set:function(le,ce){ie(arguments.length,1);for(var fe=ut(this),he=fe.entries,_e=!1,ee=le+"",jt=ce+"",se=0,me;se<he.length;se++)me=he[se],me.key===ee&&(_e?he.splice(se--,1):(_e=!0,me.value=jt));_e||he.push({key:ee,value:jt}),fe.updateURL()},sort:function(){var le=ut(this),ce=le.entries,fe=ce.slice(),he,_e,ee;for(ce.length=0,ee=0;ee<fe.length;ee++){for(he=fe[ee],_e=0;_e<ee;_e++)if(ce[_e].key>he.key){ce.splice(_e,0,he);break}_e===ee&&ce.push(he)}le.updateURL()}
59,forEach:function(le){for(var ce=ut(this).entries,fe=u(le,arguments.length>1?arguments[1]:void 0,3),he=0,_e;he<ce.length;)_e=ce[he++],fe(_e.value,_e.key,this)},keys:function(){return new Te(this,"keys")},values:function(){return new Te(this,"values")},entries:function(){return new Te(this,"entries")}},{enumerable:!0}),v(Se,Z,Se.entries),v(Se,"toString",function(){for(var le=ut(this).entries,ce=[],fe=0,he;fe<le.length;)he=le[fe++],ce.push(Zt(he.key)+"="+Zt(he.value));return ce.join("&")},{enumerable:!0}),f(ve,H),b({global:!0,forced:!m},{URLSearchParams:ve}),!m&&typeof G=="function"&&typeof j=="function"&&b({global:!0,enumerable:!0,forced:!0},{fetch:function(le){var ce=[le],fe,he,_e;return arguments.length>1&&(fe=arguments[1],T(fe)&&(he=fe.body,r(he)===H&&(_e=fe.headers?new j(fe.headers):new j,_e.has("content-type")||_e.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),fe=k(fe,{body:l(0,String(he)),headers:l(0,_e)}))),ce.push(fe)),G.apply(this,ce)}}),w.exports={URLSearchParams:ve,getState:ut}}),285:(function(w,S,a){"use strict";a(8783);var b=a(2109),x=a(9781),m=a(590),v=a(7854),d=a(6048),f=a(1320),C=a(5787),g=a(6656),P=a(1574),A=a(8457),u=a(8710).codeAt,r=a(3197),c=a(8003),T=a(1637),k=a(9909),l=v.URL,R=T.URLSearchParams,F=T.getState,Y=k.set,G=k.getterFor("URL"),j=Math.floor,Z=Math.pow,H="Invalid authority",ht="Invalid scheme",lt="Invalid host",ut="Invalid port",pt=/[A-Za-z]/,wt=/[\d+-.A-Za-z]/,_t=/\d/,Tt=/^(0x|0X)/,Ut=/^[0-7]+$/,Xt=/^\d+$/,Jt=/^[\dA-Fa-f]+$/,qt=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,zt=/[\u0000\t\u000A\u000D #/:?@[\\]]/,Zt=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Gt=/[\t\u000A\u000D]/g,te,ie=function(X,Et){var At,Wt,Qt;if(Et.charAt(0)=="["){if(Et.charAt(Et.length-1)!="]"||(At=ve(Et.slice(1,-1)),!At))return lt;X.host=At}else if(jt(X)){if(Et=r(Et),qt.test(Et)||(At=Te(Et),At===null))return lt;X.host=At}else{if(zt.test(Et))return lt;for(At="",Wt=A(Et),Qt=0;Qt<Wt.length;Qt++)At+=_e(Wt[Qt],le);X.host=At}},Te=function(X){var Et=X.split("."),At,Wt,Qt,Ae,de,ze,Ve;if(Et.length&&Et[Et.length-1]==""&&Et.pop(),At=Et.length,At>4)return X;for(Wt=[],Qt=0;Qt<At;Qt++){if(Ae=Et[Qt],Ae=="")return X;if(de=10,Ae.length>1&&Ae.charAt(0)=="0"&&(de=Tt.test(Ae)?16:8,Ae=Ae.slice(de==8?1:2)),Ae==="")ze=0;else{if(!(de==10?Xt:de==8?Ut:Jt).test(Ae))return X;ze=parseInt(Ae,de)}Wt.push(ze)}for(Qt=0;Qt<At;Qt++)if(ze=Wt[Qt],Qt==At-1){if(ze>=Z(256,5-At))return null}else if(ze>255)return null;for(Ve=Wt.pop(),Qt=0;Qt<Wt.length;Qt++)Ve+=Wt[Qt]*Z(256,3-Qt);return Ve},ve=function(X){var Et=[0,0,0,0,0,0,0,0],At=0,Wt=null,Qt=0,Ae,de,ze,Ve,qe,ni,Kt,Ye=function(){return X.charAt(Qt)};if(Ye()==":"){if(X.charAt(1)!=":")return;Qt+=2,At++,Wt=At}for(;Ye();){if(At==8)return;if(Ye()==":"){if(Wt!==null)return;Qt++,At++,Wt=At;continue}for(Ae=de=0;de<4&&Jt.test(Ye());)Ae=Ae*16+parseInt(Ye(),16),Qt++,de++;if(Ye()=="."){if(de==0||(Qt-=de,At>6))return;for(ze=0;Ye();){if(Ve=null,ze>0)if(Ye()=="."&&ze<4)Qt++;else return;if(!_t.test(Ye()))return;for(;_t.test(Ye());){if(qe=parseInt(Ye(),10),Ve===null)Ve=qe;else{if(Ve==0)return;Ve=Ve*10+qe}if(Ve>255)return;Qt++}Et[At]=Et[At]*256+Ve,ze++,(ze==2||ze==4)&&At++}if(ze!=4)return;break}else if(Ye()==":"){if(Qt++,!Ye())return}else if(Ye())return;Et[At++]=Ae}if(Wt!==null)for(ni=At-Wt,At=7;At!=0&&ni>0;)Kt=Et[At],Et[At--]=Et[Wt+ni-1],Et[Wt+--ni]=Kt;else if(At!=8)return;return Et},Se=function(X){for(var Et=null,At=1,Wt=null,Qt=0,Ae=0;Ae<8;Ae++)X[Ae]!==0?(Qt>At&&(Et=Wt,At=Qt),Wt=null,Qt=0):(Wt===null&&(Wt=Ae),++Qt);return Qt>At&&(Et=Wt,At=Qt),Et},ne=function(X){var Et,At,Wt,Qt;if(typeof X=="number"){for(Et=[],At=0;At<4;At++)Et.unshift(X%256),X=j(X/256);return Et.join(".")}else if(typeof X=="object"){for(Et="",Wt=Se(X),At=0;At<8;At++)Qt&&X[At]===0||(Qt&&(Qt=!1),Wt===At?(Et+=At?":":"::",Qt=!0):(Et+=X[At].toString(16),At<7&&(Et+=":")));return"["+Et+"]"}return X},le={},ce=P({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),fe=P({},ce,{"#":1,"?":1,"{":1,"}":1}),he=P({},fe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),_e=function(X,Et){var At=u(X,0);return At>32&&At<127&&!g(Et,X)?X:encodeURIComponent(X)},ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},jt=function(X){return g(ee,X.scheme)},se=function(X){return X.username!=""||X.password!=""},me=function(X){return!X.host||X.cannotBeABaseURL||X.scheme=="file"},Fe=function(X,Et){var At;return X.length==2&&pt.test(X.charAt(0))&&((At=X.charAt(1))==":"||!Et&&At=="|")},re=function(X){var Et;return X.length>
591&&Fe(X.slice(0,2))&&(X.length==2||(Et=X.charAt(2))==="/"||Et==="\\"||Et==="?"||Et==="#")},We=function(X){var Et=X.path,At=Et.length;At&&(X.scheme!="file"||At!=1||!Fe(Et[0],!0))&&Et.pop()},$e=function(X){return X==="."||X.toLowerCase()==="%2e"},Me=function(X){return X=X.toLowerCase(),X===".."||X==="%2e."||X===".%2e"||X==="%2e%2e"},De={},t={},i={},s={},o={},p={},_={},I={},U={},Q={},ot={},vt={},xt={},et={},bt={},Mt={},at={},Ct={},Rt={},Nt={},Lt={},oe=function(X,Et,At,Wt){var Qt=At||De,Ae=0,de="",ze=!1,Ve=!1,qe=!1,ni,Kt,Ye,oi;for(At||(X.scheme="",X.username="",X.password="",X.host=null,X.port=null,X.path=[],X.query=null,X.fragment=null,X.cannotBeABaseURL=!1,Et=Et.replace(Zt,"")),Et=Et.replace(Gt,""),ni=A(Et);Ae<=ni.length;){switch(Kt=ni[Ae],Qt){case De:if(Kt&&pt.test(Kt))de+=Kt.toLowerCase(),Qt=t;else{if(At)return ht;Qt=i;continue}break;case t:if(Kt&&(wt.test(Kt)||Kt=="+"||Kt=="-"||Kt=="."))de+=Kt.toLowerCase();else if(Kt==":"){if(At&&(jt(X)!=g(ee,de)||de=="file"&&(se(X)||X.port!==null)||X.scheme=="file"&&!X.host))return;if(X.scheme=de,At){jt(X)&&ee[X.scheme]==X.port&&(X.port=null);return}de="",X.scheme=="file"?Qt=et:jt(X)&&Wt&&Wt.scheme==X.scheme?Qt=s:jt(X)?Qt=I:ni[Ae+1]=="/"?(Qt=o,Ae++):(X.cannotBeABaseURL=!0,X.path.push(""),Qt=Rt)}else{if(At)return ht;de="",Qt=i,Ae=0;continue}break;case i:if(!Wt||Wt.cannotBeABaseURL&&Kt!="#")return ht;if(Wt.cannotBeABaseURL&&Kt=="#"){X.scheme=Wt.scheme,X.path=Wt.path.slice(),X.query=Wt.query,X.fragment="",X.cannotBeABaseURL=!0,Qt=Lt;break}Qt=Wt.scheme=="file"?et:p;continue;case s:if(Kt=="/"&&ni[Ae+1]=="/")Qt=U,Ae++;else{Qt=p;continue}break;case o:if(Kt=="/"){Qt=Q;break}else{Qt=Ct;continue}case p:if(X.scheme=Wt.scheme,Kt==te)X.username=Wt.username,X.password=Wt.password,X.host=Wt.host,X.port=Wt.port,X.path=Wt.path.slice(),X.query=Wt.query;else if(Kt=="/"||Kt=="\\"&&jt(X))Qt=_;else if(Kt=="?")X.username=Wt.username,X.password=Wt.password,X.host=Wt.host,X.port=Wt.port,X.path=Wt.path.slice(),X.query="",Qt=Nt;else if(Kt=="#")X.username=Wt.username,X.password=Wt.password,X.host=Wt.host,X.port=Wt.port,X.path=Wt.path.slice(),X.query=Wt.query,X.fragment="",Qt=Lt;else{X.username=Wt.username,X.password=Wt.password,X.host=Wt.host,X.port=Wt.port,X.path=Wt.path.slice(),X.path.pop(),Qt=Ct;continue}break;case _:if(jt(X)&&(Kt=="/"||Kt=="\\"))Qt=U;else if(Kt=="/")Qt=Q;else{X.username=Wt.username,X.password=Wt.password,X.host=Wt.host,X.port=Wt.port,Qt=Ct;continue}break;case I:if(Qt=U,Kt!="/"||de.charAt(Ae+1)!="/")continue;Ae++;break;case U:if(Kt!="/"&&Kt!="\\"){Qt=Q;continue}break;case Q:if(Kt=="@"){ze&&(de="%40"+de),ze=!0,Ye=A(de);for(var Ci=0;Ci<Ye.length;Ci++){var He=Ye[Ci];if(He==":"&&!qe){qe=!0;continue}var pi=_e(He,he);qe?X.password+=pi:X.username+=pi}de=""}else if(Kt==te||Kt=="/"||Kt=="?"||Kt=="#"||Kt=="\\"&&jt(X)){if(ze&&de=="")return H;Ae-=A(de).length+1,de="",Qt=ot}else de+=Kt;break;case ot:case vt:if(At&&X.scheme=="file"){Qt=Mt;continue}else if(Kt==":"&&!Ve){if(de=="")return lt;if(oi=ie(X,de),oi)return oi;if(de="",Qt=xt,At==vt)return}else if(Kt==te||Kt=="/"||Kt=="?"||Kt=="#"||Kt=="\\"&&jt(X)){if(jt(X)&&de=="")return lt;if(At&&de==""&&(se(X)||X.port!==null))return;if(oi=ie(X,de),oi)return oi;if(de="",Qt=at,At)return;continue}else Kt=="["?Ve=!0:Kt=="]"&&(Ve=!1),de+=Kt;break;case xt:if(_t.test(Kt))de+=Kt;else if(Kt==te||Kt=="/"||Kt=="?"||Kt=="#"||Kt=="\\"&&jt(X)||At){if(de!=""){var _i=parseInt(de,10);if(_i>65535)return ut;X.port=jt(X)&&_i===ee[X.scheme]?null:_i,de=""}if(At)return;Qt=at;continue}else return ut;break;case et:if(X.scheme="file",Kt=="/"||Kt=="\\")Qt=bt;else if(Wt&&Wt.scheme=="file")if(Kt==te)X.host=Wt.host,X.path=Wt.path.slice(),X.query=Wt.query;else if(Kt=="?")X.host=Wt.host,X.path=Wt.path.slice(),X.query="",Qt=Nt;else if(Kt=="#")X.host=Wt.host,X.path=Wt.path.slice(),X.query=Wt.query,X.fragment="",Qt=Lt;else{re(ni.slice(Ae).join(""))||(X.host=Wt.host,X.path=Wt.path.slice(),We(X)),Qt=Ct;continue}else{Qt=Ct;continue}break;case bt:if(Kt=="/"||Kt=="\\"){Qt=Mt;break}Wt&&Wt.scheme=="file"&&!re(ni.slice(Ae).join(""))&&(Fe(Wt.path[0],!0)?X.path.push(Wt.path[0]):X.host=Wt.host),Qt=Ct;continue;case Mt:if(Kt==te||Kt=="/"||Kt=="\\"||Kt=="?"||Kt=="#"){if(!At&&Fe(de))Qt=Ct;else if(de==""){if(X.host="",At)return;Qt=at}else{if(oi=ie(X,de),oi)return oi;if(X.host=="localhost"&&(X.host=""),At)return;de="",Qt=at}continue}else de+=Kt;break;case at:if(jt(X)){if(Qt=Ct,Kt!="/"&&Kt!="\\")continue}else if(!At&&Kt=="?")X.query="",Qt=Nt;else if(!At&&Kt=="#")X.fragment="",Qt=Lt;else if(Kt!=te&&(Qt=Ct,Kt!="/"))continue;break;case Ct:if(Kt==te||Kt=="/"||Kt=="\\"&&jt(X)||!At&&(Kt=="?"||Kt=="#")){if(Me(de)?(We(X),Kt!="/"&&!(Kt=="\\"&&jt(X))&&X.path.push("")):$e(de)?Kt!="/"&&!(Kt=="\\"&&jt(X))&&X.path.push(""):(X.scheme=="file"&&!X.path.length&&Fe(de)&&(X.host&&(X.host=""),de=de.charAt(0)+":"),X.path.push(de)),de="",X.scheme=="file"&&(Kt==te||Kt=="?"||Kt=="#"))for(;X.path.length>1&&X.path[0]==="";)X.path.shift();Kt=="?"?(X.query="",Qt=Nt):Kt=="#"&&(X.fragment="",Qt=Lt)}else de+=_e(Kt,fe);break;case Rt:Kt=="?"?(X.query="",Qt=Nt):Kt=="#"?(X.fragment="",Qt=Lt):Kt!=te&&(X.path[0]+=_e(Kt,le));break;
59case Nt:!At&&Kt=="#"?(X.fragment="",Qt=Lt):Kt!=te&&(Kt=="'"&&jt(X)?X.query+="%27":Kt=="#"?X.query+="%23":X.query+=_e(Kt,le));break;case Lt:Kt!=te&&(X.fragment+=_e(Kt,ce));break}Ae++}},ye=function(Et){var At=C(this,ye,"URL"),Wt=arguments.length>1?arguments[1]:void 0,Qt=String(Et),Ae=Y(At,{type:"URL"}),de,ze;if(Wt!==void 0){if(Wt instanceof ye)de=G(Wt);else if(ze=oe(de={},String(Wt)),ze)throw TypeError(ze)}if(ze=oe(Ae,Qt,null,de),ze)throw TypeError(ze);var Ve=Ae.searchParams=new R,qe=F(Ve);qe.updateSearchParams(Ae.query),qe.updateURL=function(){Ae.query=String(Ve)||null},x||(At.href=q.call(At),At.origin=V.call(At),At.protocol=it.call(At),At.username=L.call(At),At.password=N.call(At),At.host=nt.call(At),At.hostname=dt.call(At),At.port=It.call(At),At.pathname=Pt.call(At),At.search=Vt.call(At),At.searchParams=Yt.call(At),At.hash=Bt.call(At))},J=ye.prototype,q=function(){var X=G(this),Et=X.scheme,At=X.username,Wt=X.password,Qt=X.host,Ae=X.port,de=X.path,ze=X.query,Ve=X.fragment,qe=Et+":";return Qt!==null?(qe+="//",se(X)&&(qe+=At+(Wt?":"+Wt:"")+"@"),qe+=ne(Qt),Ae!==null&&(qe+=":"+Ae)):Et=="file"&&(qe+="//"),qe+=X.cannotBeABaseURL?de[0]:de.length?"/"+de.join("/"):"",ze!==null&&(qe+="?"+ze),Ve!==null&&(qe+="#"+Ve),qe},V=function(){var X=G(this),Et=X.scheme,At=X.port;if(Et=="blob")try{return new URL(Et.path[0]).origin}catch(Wt){return"null"}return Et=="file"||!jt(X)?"null":Et+"://"+ne(X.host)+(At!==null?":"+At:"")},it=function(){return G(this).scheme+":"},L=function(){return G(this).username},N=function(){return G(this).password},nt=function(){var X=G(this),Et=X.host,At=X.port;return Et===null?"":At===null?ne(Et):ne(Et)+":"+At},dt=function(){var X=G(this).host;return X===null?"":ne(X)},It=function(){var X=G(this).port;return X===null?"":String(X)},Pt=function(){var X=G(this),Et=X.path;return X.cannotBeABaseURL?Et[0]:Et.length?"/"+Et.join("/"):""},Vt=function(){var X=G(this).query;return X?"?"+X:""},Yt=function(){return G(this).searchParams},Bt=function(){var X=G(this).fragment;return X?"#"+X:""},ue=function(X,Et){return{get:X,set:Et,configurable:!0,enumerable:!0}};if(x&&d(J,{href:ue(q,function(X){var Et=G(this),At=String(X),Wt=oe(Et,At);if(Wt)throw TypeError(Wt);F(Et.searchParams).updateSearchParams(Et.query)}),origin:ue(V),protocol:ue(it,function(X){var Et=G(this);oe(Et,String(X)+":",De)}),username:ue(L,function(X){var Et=G(this),At=A(String(X));if(!me(Et)){Et.username="";for(var Wt=0;Wt<At.length;Wt++)Et.username+=_e(At[Wt],he)}}),password:ue(N,function(X){var Et=G(this),At=A(String(X));if(!me(Et)){Et.password="";for(var Wt=0;Wt<At.length;Wt++)Et.password+=_e(At[Wt],he)}}),host:ue(nt,function(X){var Et=G(this);Et.cannotBeABaseURL||oe(Et,String(X),ot)}),hostname:ue(dt,function(X){var Et=G(this);Et.cannotBeABaseURL||oe(Et,String(X),vt)}),port:ue(It,function(X){var Et=G(this);me(Et)||(X=String(X),X==""?Et.port=null:oe(Et,X,xt))}),pathname:ue(Pt,function(X){var Et=G(this);Et.cannotBeABaseURL||(Et.path=[],oe(Et,X+"",at))}),search:ue(Vt,function(X){var Et=G(this);X=String(X),X==""?Et.query=null:(X.charAt(0)=="?"&&(X=X.slice(1)),Et.query="",oe(Et,X,Nt)),F(Et.searchParams).updateSearchParams(Et.query)}),searchParams:ue(Yt),hash:ue(Bt,function(X){var Et=G(this);if(X=String(X),X==""){Et.fragment=null;return}X.charAt(0)=="#"&&(X=X.slice(1)),Et.fragment="",oe(Et,X,Lt)})}),f(J,"toJSON",function(){return q.call(this)},{enumerable:!0}),f(J,"toString",function(){return q.call(this)},{enumerable:!0}),l){var Re=l.createObjectURL,ke=l.revokeObjectURL;Re&&f(ye,"createObjectURL",function(Et){return Re.apply(l,arguments)}),ke&&f(ye,"revokeObjectURL",function(Et){return ke.apply(l,arguments)})}c(ye,"URL"),b({global:!0,forced:!m,sham:!x},{URL:ye})})},W={};function M(w){if(W[w])return W[w].exports;var S=W[w]={exports:{}};return e[w](S,S.exports,M),S.exports}(function(){M.d=function(w,S){for(var a in S)M.o(S,a)&&!M.o(w,a)&&Object.defineProperty(w,a,{enumerable:!0,get:S[a]})}})(),(function(){M.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(w){if(typeof window=="object")return window}})()})(),(function(){M.o=function(w,S){return Object.prototype.hasOwnProperty.call(w,S)}})(),(function(){M.r=function(w){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})}})();var mt={};return(function(){"use strict";M.r(mt),M.d(mt,{Dropzone:function(){return et},default:function(){return ye}});
59var w=M(2222),S=M(7327),a=M(2772),b=M(6992),x=M(1249),m=M(7042),v=M(561),d=M(8264),f=M(8309),C=M(489),g=M(1539),P=M(4916),A=M(9714),u=M(8783),r=M(4723),c=M(5306),T=M(3123),k=M(3210),l=M(2472),R=M(2990),F=M(8927),Y=M(3105),G=M(5035),j=M(4345),Z=M(7174),H=M(2846),ht=M(4731),lt=M(7209),ut=M(6319),pt=M(8867),wt=M(7789),_t=M(3739),Tt=M(9368),Ut=M(4483),Xt=M(2056),Jt=M(3462),qt=M(678),zt=M(7462),Zt=M(3824),Gt=M(5021),te=M(2974),ie=M(5016),Te=M(4747),ve=M(3948),Se=M(285);function ne(J,q){var V;if(typeof Symbol=="undefined"||J[Symbol.iterator]==null){if(Array.isArray(J)||(V=le(J))||q&&J&&typeof J.length=="number"){V&&(J=V);var it=0,L=function(){};return{s:L,n:function(){return it>=J.length?{done:!0}:{done:!1,value:J[it++]}},e:function(Pt){throw Pt},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
60In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,nt=!1,dt;return{s:function(){V=J[Symbol.iterator]()},n:function(){var Pt=V.next();return N=Pt.done,Pt},e:function(Pt){nt=!0,dt=Pt},f:function(){try{!N&&V.return!=null&&V.return()}finally{if(nt)throw dt}}}}function le(J,q){if(J){if(typeof J=="string")return ce(J,q);var V=Object.prototype.toString.call(J).slice(8,-1);if(V==="Object"&&J.constructor&&(V=J.constructor.name),V==="Map"||V==="Set")return Array.from(J);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return ce(J,q)}}function ce(J,q){(q==null||q>J.length)&&(q=J.length);for(var V=0,it=new Array(q);V<q;V++)it[V]=J[V];return it}function fe(J,q){if(!(J instanceof q))throw new TypeError("Cannot call a class as a function")}function he(J,q){for(var V=0;V<q.length;V++){var it=q[V];it.enumerable=it.enumerable||!1,it.configurable=!0,"value"in it&&(it.writable=!0),Object.defineProperty(J,it.key,it)}}function _e(J,q,V){return q&&he(J.prototype,q),V&&he(J,V),J}var ee=(function(){function J(){fe(this,J)}return _e(J,[{key:"on",value:function(V,it){return this._callbacks=this._callbacks||{},this._callbacks[V]||(this._callbacks[V]=[]),this._callbacks[V].push(it),this}},{key:"emit",value:function(V){this._callbacks=this._callbacks||{};for(var it=this._callbacks[V],L=arguments.length,N=new Array(L>1?L-1:0),nt=1;nt<L;nt++)N[nt-1]=arguments[nt];if(it){var dt=ne(it,!0),It;try{for(dt.s();!(It=dt.n()).done;){var Pt=It.value;Pt.apply(this,N)}}catch(Vt){dt.e(Vt)}finally{dt.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+V,{args:N})),this}},{key:"makeEvent",value:function(V,it){var L={bubbles:!0,cancelable:!0,detail:it};if(typeof window.CustomEvent=="function")return new CustomEvent(V,L);var N=document.createEvent("CustomEvent");return N.initCustomEvent(V,L.bubbles,L.cancelable,L.detail),N}},{key:"off",value:function(V,it){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var L=this._callbacks[V];if(!L)return this;if(arguments.length===1)return delete this._callbacks[V],this;for(var N=0;N<L.length;N++){var nt=L[N];if(nt===it){L.splice(N,1);break}}return this}}]),J})(),jt='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',se=jt;function me(J,q){var V;if(typeof Symbol=="undefined"||J[Symbol.iterator]==null){if(Array.isArray(J)||(V=Fe(J))||q&&J&&typeof J.length=="number"){V&&(J=V);var it=0,L=function(){};return{s:L,n:function(){return it>=J.length?{done:!0}:{done:!1,value:J[it++]}},e:function(Pt){throw Pt},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
61In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,nt=!1,dt;return{s:function(){V=J[Symbol.iterator]()},n:function(){var Pt=V.next();return N=Pt.done,Pt},e:function(Pt){nt=!0,dt=Pt},f:function(){try{!N&&V.return!=null&&V.return()}finally{if(nt)throw dt}}}}function Fe(J,q){if(J){if(typeof J=="string")return re(J,q);var V=Object.prototype.toString.call(J).slice(8,-1);if(V==="Object"&&J.constructor&&(V=J.constructor.name),V==="Map"||V==="Set")return Array.from(J);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return re(J,q)}}function re(J,q){(q==null||q>J.length)&&(q=J.length);for(var V=0,it=new Array(q);V<q;V++)it[V]=J[V];return it}var We={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,
61chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(q,V,it){if(it)return{dzuuid:it.file.upload.uuid,dzchunkindex:it.index,dztotalfilesize:it.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:it.file.upload.totalChunkCount,dzchunkbyteoffset:it.index*this.options.chunkSize}},accept:function(q,V){return V()},chunksUploaded:function(q,V){V()},fallback:function(){var q;this.element.className="".concat(this.element.className," dz-browser-not-supported");var V=me(this.element.getElementsByTagName("div"),!0),it;try{for(V.s();!(it=V.n()).done;){var L=it.value;if(/(^| )dz-message($| )/.test(L.className)){q=L,L.className="dz-message";break}}}catch(nt){V.e(nt)}finally{V.f()}q||(q=et.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(q));var N=q.getElementsByTagName("span")[0];return N&&(N.textContent!=null?N.textContent=this.options.dictFallbackMessage:N.innerText!=null&&(N.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(q,V,it,L){var N={srcX:0,srcY:0,srcWidth:q.width,srcHeight:q.height},nt=q.width/q.height;V==null&&it==null?(V=N.srcWidth,it=N.srcHeight):V==null?V=it*nt:it==null&&(it=V/nt),V=Math.min(V,N.srcWidth),it=Math.min(it,N.srcHeight);var dt=V/it;if(N.srcWidth>V||N.srcHeight>it)if(L==="crop")nt>dt?(N.srcHeight=q.height,N.srcWidth=N.srcHeight*dt):(N.srcWidth=q.width,N.srcHeight=N.srcWidth/dt);else if(L==="contain")nt>dt?it=V/nt:V=it*nt;else throw new Error("Unknown resizeMethod '".concat(L,"'"));return N.srcX=(q.width-N.srcWidth)/2,N.srcY=(q.height-N.srcHeight)/2,N.trgWidth=V,N.trgHeight=it,N},transformFile:function(q,V){return(this.options.resizeWidth||this.options.resizeHeight)&&q.type.match(/image.*/)?this.resizeImage(q,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,V):V(q)},previewTemplate:se,drop:function(q){return this.element.classList.remove("dz-drag-hover")},dragstart:function(q){},dragend:function(q){return this.element.classList.remove("dz-drag-hover")},dragenter:function(q){return this.element.classList.add("dz-drag-hover")},dragover:function(q){return this.element.classList.add("dz-drag-hover")},dragleave:function(q){return this.element.classList.remove("dz-drag-hover")},paste:function(q){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(q){var V=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){q.previewElement=et.createElement(this.options.previewTemplate.trim()),q.previewTemplate=q.previewElement,this.previewsContainer.appendChild(q.previewElement);var it=me(q.previewElement.querySelectorAll("[data-dz-name]"),!0),L;try{for(it.s();!(L=it.n()).done;){var N=L.value;N.textContent=q.name}}catch(Bt){it.e(Bt)}finally{it.f()}var nt=me(q.previewElement.querySelectorAll("[data-dz-size]"),!0),dt;
61try{for(nt.s();!(dt=nt.n()).done;)N=dt.value,N.innerHTML=this.filesize(q.size)}catch(Bt){nt.e(Bt)}finally{nt.f()}this.options.addRemoveLinks&&(q._removeLink=et.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),q.previewElement.appendChild(q._removeLink));var It=function(ue){return ue.preventDefault(),ue.stopPropagation(),q.status===et.UPLOADING?et.confirm(V.options.dictCancelUploadConfirmation,function(){return V.removeFile(q)}):V.options.dictRemoveFileConfirmation?et.confirm(V.options.dictRemoveFileConfirmation,function(){return V.removeFile(q)}):V.removeFile(q)},Pt=me(q.previewElement.querySelectorAll("[data-dz-remove]"),!0),Vt;try{for(Pt.s();!(Vt=Pt.n()).done;){var Yt=Vt.value;Yt.addEventListener("click",It)}}catch(Bt){Pt.e(Bt)}finally{Pt.f()}}},removedfile:function(q){return q.previewElement!=null&&q.previewElement.parentNode!=null&&q.previewElement.parentNode.removeChild(q.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(q,V){if(q.previewElement){q.previewElement.classList.remove("dz-file-preview");var it=me(q.previewElement.querySelectorAll("[data-dz-thumbnail]"),!0),L;try{for(it.s();!(L=it.n()).done;){var N=L.value;N.alt=q.name,N.src=V}}catch(nt){it.e(nt)}finally{it.f()}return setTimeout(function(){return q.previewElement.classList.add("dz-image-preview")},1)}},error:function(q,V){if(q.previewElement){q.previewElement.classList.add("dz-error"),typeof V!="string"&&V.error&&(V=V.error);var it=me(q.previewElement.querySelectorAll("[data-dz-errormessage]"),!0),L;try{for(it.s();!(L=it.n()).done;){var N=L.value;N.textContent=V}}catch(nt){it.e(nt)}finally{it.f()}}},errormultiple:function(){},processing:function(q){if(q.previewElement&&(q.previewElement.classList.add("dz-processing"),q._removeLink))return q._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(q,V,it){if(q.previewElement){var L=me(q.previewElement.querySelectorAll("[data-dz-uploadprogress]"),!0),N;try{for(L.s();!(N=L.n()).done;){var nt=N.value;nt.nodeName==="PROGRESS"?nt.value=V:nt.style.width="".concat(V,"%")}}catch(dt){L.e(dt)}finally{L.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(q){if(q.previewElement)return q.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(q){return this.emit("error",q,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(q){if(q._removeLink&&(q._removeLink.innerHTML=this.options.dictRemoveFile),q.previewElement)return q.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},$e=We;function Me(J){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Me=function(V){return typeof V}:Me=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},Me(J)}function De(J,q){var V;if(typeof Symbol=="undefined"||J[Symbol.iterator]==null){if(Array.isArray(J)||(V=t(J))||q&&J&&typeof J.length=="number"){V&&(J=V);var it=0,L=function(){};return{s:L,n:function(){return it>=J.length?{done:!0}:{done:!1,value:J[it++]}},e:function(Pt){throw Pt},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
62In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,nt=!1,dt;return{s:function(){V=J[Symbol.iterator]()},n:function(){var Pt=V.next();return N=Pt.done,Pt},e:function(Pt){nt=!0,dt=Pt},f:function(){try{!N&&V.return!=null&&V.return()}finally{if(nt)throw dt}}}}function t(J,q){if(J){if(typeof J=="string")return i(J,q);var V=Object.prototype.toString.call(J).slice(8,-1);if(V==="Object"&&J.constructor&&(V=J.constructor.name),V==="Map"||V==="Set")return Array.from(J);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return i(J,q)}}function i(J,q){(q==null||q>J.length)&&(q=J.length);for(var V=0,it=new Array(q);V<q;V++)it[V]=J[V];return it}function s(J,q){if(!(J instanceof q))throw new TypeError("Cannot call a class as a function")}function o(J,q){for(var V=0;V<q.length;V++){var it=q[V];it.enumerable=it.enumerable||!1,it.configurable=!0,"value"in it&&(it.writable=!0),Object.defineProperty(J,it.key,it)}}function p(J,q,V){return q&&o(J.prototype,q),V&&o(J,V),J}function _(J,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(q&&q.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),q&&I(J,q)}
62function I(J,q){return I=Object.setPrototypeOf||function(it,L){return it.__proto__=L,it},I(J,q)}function U(J){var q=vt();return function(){var it=xt(J),L;if(q){var N=xt(this).constructor;L=Reflect.construct(it,arguments,N)}else L=it.apply(this,arguments);return Q(this,L)}}function Q(J,q){return q&&(Me(q)==="object"||typeof q=="function")?q:ot(J)}function ot(J){if(J===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J}function vt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(J){return!1}}function xt(J){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(V){return V.__proto__||Object.getPrototypeOf(V)},xt(J)}var et=(function(J){_(V,J);var q=U(V);function V(it,L){var N;s(this,V),N=q.call(this);var nt,dt;if(N.element=it,N.version=V.version,N.clickableElements=[],N.listeners=[],N.files=[],typeof N.element=="string"&&(N.element=document.querySelector(N.element)),!N.element||N.element.nodeType==null)throw new Error("Invalid dropzone element.");if(N.element.dropzone)throw new Error("Dropzone already attached.");V.instances.push(ot(N)),N.element.dropzone=ot(N);var It=(dt=V.optionsForElement(N.element))!=null?dt:{};if(N.options=V.extend({},$e,It,L!=null?L:{}),N.options.previewTemplate=N.options.previewTemplate.replace(/\n*/g,""),N.options.forceFallback||!V.isBrowserSupported())return Q(N,N.options.fallback.call(ot(N)));if(N.options.url==null&&(N.options.url=N.element.getAttribute("action")),!N.options.url)throw new Error("No URL provided.");if(N.options.acceptedFiles&&N.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(N.options.uploadMultiple&&N.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return N.options.acceptedMimeTypes&&(N.options.acceptedFiles=N.options.acceptedMimeTypes,delete N.options.acceptedMimeTypes),N.options.renameFilename!=null&&(N.options.renameFile=function(Pt){return N.options.renameFilename.call(ot(N),Pt.name,Pt)}),typeof N.options.method=="string"&&(N.options.method=N.options.method.toUpperCase()),(nt=N.getExistingFallback())&&nt.parentNode&&nt.parentNode.removeChild(nt),N.options.previewsContainer!==!1&&(N.options.previewsContainer?N.previewsContainer=V.getElement(N.options.previewsContainer,"previewsContainer"):N.previewsContainer=N.element),N.options.clickable&&(N.options.clickable===!0?N.clickableElements=[N.element]:N.clickableElements=V.getElements(N.options.clickable,"clickable")),N.init(),N}return p(V,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(L){return L.accepted}).map(function(L){return L})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(L){return!L.accepted}).map(function(L){return L})}},{key:"getFilesWithStatus",value:function(L){return this.files.filter(function(N){return N.status===L}).map(function(N){return N})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(V.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(V.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(V.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(L){return L.status===V.UPLOADING||L.status===V.QUEUED}).map(function(L){return L})}},{key:"init",value:function(){var L=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(V.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var N=function Yt(){L.hiddenFileInput&&L.hiddenFileInput.parentNode.removeChild(L.hiddenFileInput),L.hiddenFileInput=document.createElement("input"),L.hiddenFileInput.setAttribute("type","file"),(L.options.maxFiles===null||L.options.maxFiles>1)&&L.hiddenFileInput.setAttribute("multiple","multiple"),L.hiddenFileInput.className="dz-hidden-input",L.options.acceptedFiles!==null&&L.hiddenFileInput.setAttribute("accept",L.options.acceptedFiles),L.options.capture!==null&&L.hiddenFileInput.setAttribute("capture",L.options.capture),L.hiddenFileInput.setAttribute("tabindex","-1"),L.hiddenFileInput.style.visibility="hidden",L.hiddenFileInput.style.position="absolute",L.hiddenFileInput.style.top="0",L.hiddenFileInput.style.left="0",L.hiddenFileInput.style.height="0",L.hiddenFileInput.style.width="0",V.getElement(L.options.hiddenInputContainer,"hiddenInputContainer").appendChild(L.hiddenFileInput),L.hiddenFileInput.addEventListener("change",function(){var Bt=L.hiddenFileInput.files;if(Bt.length){var ue=De(Bt,!0),Re;try{for(ue.s();!(Re=ue.n()).done;){var ke=Re.value;L.addFile(ke)}}catch(X){ue.e(X)}finally{ue.f()}}L.emit("addedfiles",Bt),Yt()})};N()}this.URL=window.URL!==null?window.URL:window.webkitURL;var nt=De(this.events,!0),dt;
62try{for(nt.s();!(dt=nt.n()).done;){var It=dt.value;this.on(It,this.options[It])}}catch(Yt){nt.e(Yt)}finally{nt.f()}this.on("uploadprogress",function(){return L.updateTotalUploadProgress()}),this.on("removedfile",function(){return L.updateTotalUploadProgress()}),this.on("canceled",function(Yt){return L.emit("complete",Yt)}),this.on("complete",function(Yt){if(L.getAddedFiles().length===0&&L.getUploadingFiles().length===0&&L.getQueuedFiles().length===0)return setTimeout(function(){return L.emit("queuecomplete")},0)});var Pt=function(Bt){if(Bt.dataTransfer.types){for(var ue=0;ue<Bt.dataTransfer.types.length;ue++)if(Bt.dataTransfer.types[ue]==="Files")return!0}return!1},Vt=function(Bt){if(Pt(Bt))return Bt.stopPropagation(),Bt.preventDefault?Bt.preventDefault():Bt.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(Bt){return L.emit("dragstart",Bt)},dragenter:function(Bt){return Vt(Bt),L.emit("dragenter",Bt)},dragover:function(Bt){var ue;try{ue=Bt.dataTransfer.effectAllowed}catch(Re){}return Bt.dataTransfer.dropEffect=ue==="move"||ue==="linkMove"?"move":"copy",Vt(Bt),L.emit("dragover",Bt)},dragleave:function(Bt){return L.emit("dragleave",Bt)},drop:function(Bt){return Vt(Bt),L.drop(Bt)},dragend:function(Bt){return L.emit("dragend",Bt)}}}],this.clickableElements.forEach(function(Yt){return L.listeners.push({element:Yt,events:{click:function(ue){return(Yt!==L.element||ue.target===L.element||V.elementInside(ue.target,L.element.querySelector(".dz-message")))&&L.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,V.instances.splice(V.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var L,N=0,nt=0,dt=this.getActiveFiles();if(dt.length){var It=De(this.getActiveFiles(),!0),Pt;try{for(It.s();!(Pt=It.n()).done;){var Vt=Pt.value;N+=Vt.upload.bytesSent,nt+=Vt.upload.total}}catch(Yt){It.e(Yt)}finally{It.f()}L=100*N/nt}else L=100;return this.emit("totaluploadprogress",L,nt,N)}},{key:"_getParamName",value:function(L){return typeof this.options.paramName=="function"?this.options.paramName(L):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(L,"]"):"")}},{key:"_renameFile",value:function(L){return typeof this.options.renameFile!="function"?L.name:this.options.renameFile(L)}},{key:"getFallbackForm",value:function(){var L,N;if(L=this.getExistingFallback())return L;var nt='<div class="dz-fallback">';this.options.dictFallbackText&&(nt+="<p>".concat(this.options.dictFallbackText,"</p>")),nt+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var dt=V.createElement(nt);return this.element.tagName!=="FORM"?(N=V.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),N.appendChild(dt)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),N!=null?N:dt}},{key:"getExistingFallback",value:function(){for(var L=function(Vt){var Yt=De(Vt,!0),Bt;try{for(Yt.s();!(Bt=Yt.n()).done;){var ue=Bt.value;if(/(^| )fallback($| )/.test(ue.className))return ue}}catch(Re){Yt.e(Re)}finally{Yt.f()}},N=0,nt=["div","form"];N<nt.length;N++){var dt=nt[N],It;if(It=L(this.element.getElementsByTagName(dt)))return It}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(L){return(function(){var N=[];for(var nt in L.events){var dt=L.events[nt];N.push(L.element.addEventListener(nt,dt,!1))}return N})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(L){return(function(){var N=[];for(var nt in L.events){var dt=L.events[nt];N.push(L.element.removeEventListener(nt,dt,!1))}return N})()})}},{key:"disable",value:function(){var L=this;
vendor: 1,222 bytes, line 62
62return this.clickableElements.forEach(function(N){return N.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(N){return L.cancelUpload(N)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(L){return L.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(L){var N=0,nt="b";if(L>0){for(var dt=["tb","gb","mb","kb","b"],It=0;It<dt.length;It++){var Pt=dt[It],Vt=Math.pow(this.options.filesizeBase,4-It)/10;if(L>=Vt){N=L/Math.pow(this.options.filesizeBase,4-It),nt=Pt;break}}N=Math.round(10*N)/10}return"<strong>".concat(N,"</strong> ").concat(this.options.dictFileSizeUnits[nt])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(L){if(L.dataTransfer){this.emit("drop",L);for(var N=[],nt=0;nt<L.dataTransfer.files.length;nt++)N[nt]=L.dataTransfer.files[nt];
62if(N.length){var dt=L.dataTransfer.items;dt&&dt.length&&dt[0].webkitGetAsEntry!=null?this._addFilesFromItems(dt):this.handleFiles(N)}this.emit("addedfiles",N)}}},{key:"paste",value:function(L){if(Lt(L!=null?L.clipboardData:void 0,function(nt){return nt.items})!=null){this.emit("paste",L);var N=L.clipboardData.items;if(N.length)return this._addFilesFromItems(N)}}},{key:"handleFiles",value:function(L){var N=De(L,!0),nt;try{for(N.s();!(nt=N.n()).done;){var dt=nt.value;this.addFile(dt)}}catch(It){N.e(It)}finally{N.f()}}},{key:"_addFilesFromItems",value:function(L){var N=this;return(function(){var nt=[],dt=De(L,!0),It;try{for(dt.s();!(It=dt.n()).done;){var Pt=It.value,Vt;Pt.webkitGetAsEntry!=null&&(Vt=Pt.webkitGetAsEntry())?Vt.isFile?nt.push(N.addFile(Pt.getAsFile())):Vt.isDirectory?nt.push(N._addFilesFromDirectory(Vt,Vt.name)):nt.push(void 0):Pt.getAsFile!=null&&(Pt.kind==null||Pt.kind==="file")?nt.push(N.addFile(Pt.getAsFile())):nt.push(void 0)}}catch(Yt){dt.e(Yt)}finally{dt.f()}return nt})()}},{key:"_addFilesFromDirectory",value:function(L,N){var nt=this,dt=L.createReader(),It=function(Yt){return oe(console,"log",function(Bt){return Bt.log(Yt)})},Pt=function Vt(){return dt.readEntries(function(Yt){if(Yt.length>0){var Bt=De(Yt,!0),ue;try{for(Bt.s();!(ue=Bt.n()).done;){var Re=ue.value;Re.isFile?Re.file(function(ke){if(!(nt.options.ignoreHiddenFiles&&ke.name.substring(0,1)==="."))return ke.fullPath="".concat(N,"/").concat(ke.name),nt.addFile(ke)}):Re.isDirectory&&nt._addFilesFromDirectory(Re,"".concat(N,"/").concat(Re.name))}}catch(ke){Bt.e(ke)}finally{Bt.f()}Vt()}return null},It)};return Pt()}},{key:"accept",value:function(L,N){this.options.maxFilesize&&L.size>this.options.maxFilesize*1024*1024?N(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(L.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):V.isValidFile(L,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(N(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",L)):this.options.accept.call(this,L,N):N(this.options.dictInvalidFileType)}},{key:"addFile",value:function(L){var N=this;L.upload={uuid:V.uuidv4(),progress:0,total:L.size,bytesSent:0,filename:this._renameFile(L)},this.files.push(L),L.status=V.ADDED,this.emit("addedfile",L),this._enqueueThumbnail(L),this.accept(L,function(nt){nt?(L.accepted=!1,N._errorProcessing([L],nt)):(L.accepted=!0,N.options.autoQueue&&N.enqueueFile(L)),N._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(L){var N=De(L,!0),nt;try{for(N.s();!(nt=N.n()).done;){var dt=nt.value;this.enqueueFile(dt)}}catch(It){N.e(It)}finally{N.f()}return null}},{key:"enqueueFile",value:function(L){var N=this;if(L.status===V.ADDED&&L.accepted===!0){if(L.status=V.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return N.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(L){var N=this;if(this.options.createImageThumbnails&&L.type.match(/image.*/)&&L.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(L),setTimeout(function(){return N._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var L=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var N=this._thumbnailQueue.shift();return this.createThumbnail(N,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(nt){return L.emit("thumbnail",N,nt),L._processingThumbnail=!1,L._processThumbnailQueue()})}}},{key:"removeFile",value:function(L){if(L.status===V.UPLOADING&&this.cancelUpload(L),this.files=bt(this.files,L),this.emit("removedfile",L),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(L){L==null&&(L=!1);var N=De(this.files.slice(),!0),nt;try{for(N.s();!(nt=N.n()).done;){var dt=nt.value;(dt.status!==V.UPLOADING||L)&&this.removeFile(dt)}}catch(It){N.e(It)}
62finally{N.f()}return null}},{key:"resizeImage",value:function(L,N,nt,dt,It){var Pt=this;return this.createThumbnail(L,N,nt,dt,!0,function(Vt,Yt){if(Yt==null)return It(L);var Bt=Pt.options.resizeMimeType;Bt==null&&(Bt=L.type);var ue=Yt.toDataURL(Bt,Pt.options.resizeQuality);return(Bt==="image/jpeg"||Bt==="image/jpg")&&(ue=Rt.restore(L.dataURL,ue)),It(V.dataURItoBlob(ue))})}},{key:"createThumbnail",value:function(L,N,nt,dt,It,Pt){var Vt=this,Yt=new FileReader;Yt.onload=function(){if(L.dataURL=Yt.result,L.type==="image/svg+xml"){Pt!=null&&Pt(Yt.result);return}Vt.createThumbnailFromUrl(L,N,nt,dt,It,Pt)},Yt.readAsDataURL(L)}},{key:"displayExistingFile",value:function(L,N,nt,dt){var It=this,Pt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",L),this.emit("complete",L),!Pt)this.emit("thumbnail",L,N),nt&&nt();else{var Vt=function(Bt){It.emit("thumbnail",L,Bt),nt&&nt()};L.dataURL=N,this.createThumbnailFromUrl(L,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Vt,dt)}}},{key:"createThumbnailFromUrl",value:function(L,N,nt,dt,It,Pt,Vt){var Yt=this,Bt=document.createElement("img");return Vt&&(Bt.crossOrigin=Vt),It=getComputedStyle(document.body).imageOrientation=="from-image"?!1:It,Bt.onload=function(){var ue=function(ke){return ke(1)};return typeof EXIF!="undefined"&&EXIF!==null&&It&&(ue=function(ke){return EXIF.getData(Bt,function(){return ke(EXIF.getTag(this,"Orientation"))})}),ue(function(Re){L.width=Bt.width,L.height=Bt.height;var ke=Yt.options.resize.call(Yt,L,N,nt,dt),X=document.createElement("canvas"),Et=X.getContext("2d");switch(X.width=ke.trgWidth,X.height=ke.trgHeight,Re>4&&(X.width=ke.trgHeight,X.height=ke.trgWidth),Re){case 2:Et.translate(X.width,0),Et.scale(-1,1);break;case 3:Et.translate(X.width,X.height),Et.rotate(Math.PI);break;case 4:Et.translate(0,X.height),Et.scale(1,-1);break;case 5:Et.rotate(.5*Math.PI),Et.scale(1,-1);break;case 6:Et.rotate(.5*Math.PI),Et.translate(0,-X.width);break;case 7:Et.rotate(.5*Math.PI),Et.translate(X.height,-X.width),Et.scale(-1,1);break;case 8:Et.rotate(-.5*Math.PI),Et.translate(-X.height,0);break}Ct(Et,Bt,ke.srcX!=null?ke.srcX:0,ke.srcY!=null?ke.srcY:0,ke.srcWidth,ke.srcHeight,ke.trgX!=null?ke.trgX:0,ke.trgY!=null?ke.trgY:0,ke.trgWidth,ke.trgHeight);var At=X.toDataURL("image/png");if(Pt!=null)return Pt(At,X)})},Pt!=null&&(Bt.onerror=Pt),Bt.src=L.dataURL}},{key:"processQueue",value:function(){var L=this.options.parallelUploads,N=this.getUploadingFiles().length,nt=N;if(!(N>=L)){var dt=this.getQueuedFiles();if(dt.length>0){if(this.options.uploadMultiple)return this.processFiles(dt.slice(0,L-N));for(;nt<L;){if(!dt.length)return;this.processFile(dt.shift()),nt++}}}}},{key:"processFile",value:function(L){return this.processFiles([L])}},{key:"processFiles",value:function(L){var N=De(L,!0),nt;try{for(N.s();!(nt=N.n()).done;){var dt=nt.value;dt.processing=!0,dt.status=V.UPLOADING,this.emit("processing",dt)}}catch(It){N.e(It)}finally{N.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",L),this.uploadFiles(L)}},{key:"_getFilesWithXhr",value:function(L){var N;return N=this.files.filter(function(nt){return nt.xhr===L}).map(function(nt){return nt})}},{key:"cancelUpload",value:function(L){if(L.status===V.UPLOADING){var N=this._getFilesWithXhr(L.xhr),nt=De(N,!0),dt;try{for(nt.s();!(dt=nt.n()).done;){var It=dt.value;It.status=V.CANCELED}}catch(Bt){nt.e(Bt)}finally{nt.f()}typeof L.xhr!="undefined"&&L.xhr.abort();var Pt=De(N,!0),Vt;try{for(Pt.s();!(Vt=Pt.n()).done;){var Yt=Vt.value;this.emit("canceled",Yt)}}catch(Bt){Pt.e(Bt)}finally{Pt.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",N)}else(L.status===V.ADDED||L.status===V.QUEUED)&&(L.status=V.CANCELED,this.emit("canceled",L),this.options.uploadMultiple&&this.emit("canceledmultiple",[L]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(L){if(typeof L=="function"){for(var N=arguments.length,nt=new Array(N>1?N-1:0),dt=1;dt<N;dt++)nt[dt-1]=arguments[dt];return L.apply(this,nt)}return L}},{key:"uploadFile",value:function(L){return this.uploadFiles([L])}},{key:"uploadFiles",value:function(L){var N=this;this._transformFiles(L,function(nt){if(N.options.chunking){var dt=nt[0];L[0].upload.chunked=N.options.chunking&&(N.options.forceChunking||dt.size>N.options.chunkSize),L[0].upload.totalChunkCount=Math.ceil(dt.size/N.options.chunkSize)}if(L[0].upload.chunked){var It=L[0],Pt=nt[0],Vt=0;It.upload.chunks=[];var Yt=function(){for(var X=0;It.upload.chunks[X]!==void 0;)X++;if(!(X>=It.upload.totalChunkCount)){Vt++;var Et=X*N.options.chunkSize,At=Math.min(Et+N.options.chunkSize,Pt.size),Wt={name:N._getParamName(0),data:Pt.webkitSlice?Pt.webkitSlice(Et,At):Pt.slice(Et,At),filename:It.upload.filename,chunkIndex:X};It.upload.chunks[X]={file:It,index:X,dataBlock:Wt,status:V.UPLOADING,progress:0,retries:0},N._uploadData(L,[Wt])}};if(It.upload.finishedChunkUpload=function(ke,X){var Et=!0;ke.status=V.SUCCESS,ke.dataBlock=null,ke.xhr=null;for(var At=0;At<It.upload.totalChunkCount;At++){if(It.upload.chunks[At]===void 0)return Yt();It.upload.chunks[At].status!==V.SUCCESS&&(Et=!1)}Et&&N.options.chunksUploaded(It,function(){N._finished(L,X,null)})},N.options.parallelChunkUploads)for(var Bt=0;Bt<It.upload.totalChunkCount;Bt++)Yt();else Yt()}else{for(var ue=[],Re=0;Re<L.length;Re++)ue[Re]={name:N._getParamName(Re),data:nt[Re],filename:L[Re].upload.filename};N._uploadData(L,ue)}})}},{key:"_getChunk",value:function(L,N){for(var nt=0;nt<L.upload.totalChunkCount;nt++)if(L.upload.chunks[nt]!==void 0&&L.upload.chunks[nt].xhr===N)return L.upload.chunks[nt]}},{key:"_uploadData",value:function(L,N){var nt=this,dt=new XMLHttpRequest,It=De(L,!0),Pt;try{for(It.s();!(Pt=It.n()).done;){var Vt=Pt.value;Vt.xhr=dt}}catch(Ye){It.e(Ye)}finally{It.f()}L[0].upload.chunked&&(L[0].upload.chunks[N[0].chunkIndex].xhr=dt);var Yt=this.resolveOption(this.options.method,L),Bt=this.resolveOption(this.options.url,L);dt.open(Yt,Bt,!0);var ue=this.resolveOption(this.options.timeout,L);ue&&(dt.timeout=this.resolveOption(this.options.timeout,L)),dt.withCredentials=!!this.options.withCredentials,dt.onload=function(Ye){nt._finishedUploading(L,dt,Ye)},dt.ontimeout=function(){nt._handleUploadError(L,dt,"Request timedout after ".concat(nt.options.timeout/1e3," seconds"))},dt.onerror=function(){nt._handleUploadError(L,dt)};var Re=dt.upload!=null?dt.upload:dt;Re.onprogress=function(Ye){return nt._updateFilesUploadProgress(L,dt,Ye)};var ke={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&V.extend(ke,this.options.headers);for(var X in ke){var Et=ke[X];Et&&dt.setRequestHeader(X,Et)}var At=new FormData;if(this.options.params){var Wt=this.options.params;typeof Wt=="function"&&(Wt=Wt.call(this,L,dt,L[0].upload.chunked?this._getChunk(L[0],dt):null));for(var Qt in Wt){var Ae=Wt[Qt];if(Array.isArray(Ae))for(var de=0;de<Ae.length;de++)At.append(Qt,Ae[de]);else At.append(Qt,Ae)}}var ze=De(L,!0),Ve;try{for(ze.s();!(Ve=ze.n()).done;){var qe=Ve.value;
62this.emit("sending",qe,dt,At)}}catch(Ye){ze.e(Ye)}finally{ze.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",L,dt,At),this._addFormElementData(At);for(var ni=0;ni<N.length;ni++){var Kt=N[ni];At.append(Kt.name,Kt.data,Kt.filename)}this.submitRequest(dt,At,L)}},{key:"_transformFiles",value:function(L,N){for(var nt=this,dt=[],It=0,Pt=function(Bt){nt.options.transformFile.call(nt,L[Bt],function(ue){dt[Bt]=ue,++It===L.length&&N(dt)})},Vt=0;Vt<L.length;Vt++)Pt(Vt)}},{key:"_addFormElementData",value:function(L){if(this.element.tagName==="FORM"){var N=De(this.element.querySelectorAll("input, textarea, select, button"),!0),nt;try{for(N.s();!(nt=N.n()).done;){var dt=nt.value,It=dt.getAttribute("name"),Pt=dt.getAttribute("type");if(Pt&&(Pt=Pt.toLowerCase()),!(typeof It=="undefined"||It===null))if(dt.tagName==="SELECT"&&dt.hasAttribute("multiple")){var Vt=De(dt.options,!0),Yt;try{for(Vt.s();!(Yt=Vt.n()).done;){var Bt=Yt.value;Bt.selected&&L.append(It,Bt.value)}}catch(ue){Vt.e(ue)}finally{Vt.f()}}else(!Pt||Pt!=="checkbox"&&Pt!=="radio"||dt.checked)&&L.append(It,dt.value)}}catch(ue){N.e(ue)}finally{N.f()}}}},{key:"_updateFilesUploadProgress",value:function(L,N,nt){if(L[0].upload.chunked){var Vt=L[0],Yt=this._getChunk(Vt,N);nt?(Yt.progress=100*nt.loaded/nt.total,Yt.total=nt.total,Yt.bytesSent=nt.loaded):(Yt.progress=100,Yt.bytesSent=Yt.total),Vt.upload.progress=0,Vt.upload.total=0,Vt.upload.bytesSent=0;for(var Bt=0;Bt<Vt.upload.totalChunkCount;Bt++)Vt.upload.chunks[Bt]&&typeof Vt.upload.chunks[Bt].progress!="undefined"&&(Vt.upload.progress+=Vt.upload.chunks[Bt].progress,Vt.upload.total+=Vt.upload.chunks[Bt].total,Vt.upload.bytesSent+=Vt.upload.chunks[Bt].bytesSent);Vt.upload.progress=Vt.upload.progress/Vt.upload.totalChunkCount,this.emit("uploadprogress",Vt,Vt.upload.progress,Vt.upload.bytesSent)}else{var dt=De(L,!0),It;try{for(dt.s();!(It=dt.n()).done;){var Pt=It.value;Pt.upload.total&&Pt.upload.bytesSent&&Pt.upload.bytesSent==Pt.upload.total||(nt?(Pt.upload.progress=100*nt.loaded/nt.total,Pt.upload.total=nt.total,Pt.upload.bytesSent=nt.loaded):(Pt.upload.progress=100,Pt.upload.bytesSent=Pt.upload.total),this.emit("uploadprogress",Pt,Pt.upload.progress,Pt.upload.bytesSent))}}catch(ue){dt.e(ue)}finally{dt.f()}}}},{key:"_finishedUploading",value:function(L,N,nt){var dt;if(L[0].status!==V.CANCELED&&N.readyState===4){if(N.responseType!=="arraybuffer"&&N.responseType!=="blob"&&(dt=N.responseText,N.getResponseHeader("content-type")&&~N.getResponseHeader("content-type").indexOf("application/json")))try{dt=JSON.parse(dt)}catch(It){nt=It,dt="Invalid JSON response from server."}this._updateFilesUploadProgress(L,N),200<=N.status&&N.status<300?L[0].upload.chunked?L[0].upload.finishedChunkUpload(this._getChunk(L[0],N),dt):this._finished(L,dt,nt):this._handleUploadError(L,N,dt)}}},{key:"_handleUploadError",value:function(L,N,nt){if(L[0].status!==V.CANCELED){if(L[0].upload.chunked&&this.options.retryChunks){var dt=this._getChunk(L[0],N);if(dt.retries++<this.options.retryChunksLimit){this._uploadData(L,[dt.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(L,nt||this.options.dictResponseError.replace("{{statusCode}}",N.status),N)}}},{key:"submitRequest",value:function(L,N,nt){if(L.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}L.send(N)}},{key:"_finished",value:function(L,N,nt){var dt=De(L,!0),It;try{for(dt.s();!(It=dt.n()).done;){var Pt=It.value;Pt.status=V.SUCCESS,this.emit("success",Pt,N,nt),this.emit("complete",Pt)}}catch(Vt){dt.e(Vt)}finally{dt.f()}
62if(this.options.uploadMultiple&&(this.emit("successmultiple",L,N,nt),this.emit("completemultiple",L)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(L,N,nt){var dt=De(L,!0),It;try{for(dt.s();!(It=dt.n()).done;){var Pt=It.value;Pt.status=V.ERROR,this.emit("error",Pt,N,nt),this.emit("complete",Pt)}}catch(Vt){dt.e(Vt)}finally{dt.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",L,N,nt),this.emit("completemultiple",L)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=ee,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(L){for(var N=arguments.length,nt=new Array(N>1?N-1:0),dt=1;dt<N;dt++)nt[dt-1]=arguments[dt];for(var It=0,Pt=nt;It<Pt.length;It++){var Vt=Pt[It];for(var Yt in Vt){var Bt=Vt[Yt];L[Yt]=Bt}}return L}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(L){var N=Math.random()*16|0,nt=L==="x"?N:N&3|8;return nt.toString(16)})}}]),V})(ee);et.initClass(),et.version="5.9.3",et.options={},et.optionsForElement=function(J){if(J.getAttribute("id"))return et.options[Mt(J.getAttribute("id"))]},et.instances=[],et.forElement=function(J){if(typeof J=="string"&&(J=document.querySelector(J)),(J!=null?J.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return J.dropzone},et.autoDiscover=!0,et.discover=function(){var J;if(document.querySelectorAll)J=document.querySelectorAll(".dropzone");else{J=[];var q=function(it){return(function(){var L=[],N=De(it,!0),nt;try{for(N.s();!(nt=N.n()).done;){var dt=nt.value;/(^| )dropzone($| )/.test(dt.className)?L.push(J.push(dt)):L.push(void 0)}}catch(It){N.e(It)}finally{N.f()}return L})()};q(document.getElementsByTagName("div")),q(document.getElementsByTagName("form"))}return(function(){var V=[],it=De(J,!0),L;try{for(it.s();!(L=it.n()).done;){var N=L.value;et.optionsForElement(N)!==!1?V.push(new et(N)):V.push(void 0)}}catch(nt){it.e(nt)}finally{it.f()}return V})()},et.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],et.isBrowserSupported=function(){var J=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))J=!1;else{et.blacklistedBrowsers!==void 0&&(et.blockedBrowsers=et.blacklistedBrowsers);var q=De(et.blockedBrowsers,!0),V;try{for(q.s();!(V=q.n()).done;){var it=V.value;if(it.test(navigator.userAgent)){J=!1;continue}}}catch(L){q.e(L)}finally{q.f()}}else J=!1;return J},et.dataURItoBlob=function(J){for(var q=atob(J.split(",")[1]),V=J.split(",")[0].split(":")[1].split(";")[0],it=new ArrayBuffer(q.length),L=new Uint8Array(it),N=0,nt=q.length,dt=0<=nt;dt?N<=nt:N>=nt;dt?N++:N--)L[N]=q.charCodeAt(N);return new Blob([it],{type:V})};var bt=function(q,V){return q.filter(function(it){return it!==V}).map(function(it){return it})},Mt=function(q){return q.replace(/[\-_](\w)/g,function(V){return V.charAt(1).toUpperCase()})};et.createElement=function(J){var q=document.createElement("div");return q.innerHTML=J,q.childNodes[0]},et.elementInside=function(J,q){if(J===q)return!0;for(;J=J.parentNode;)if(J===q)return!0;return!1},et.getElement=function(J,q){var V;if(typeof J=="string"?V=document.querySelector(J):J.nodeType!=null&&(V=J),V==null)throw new Error("Invalid `".concat(q,"` option provided. Please provide a CSS selector or a plain HTML element."));return V},et.getElements=function(J,q){var V,it;if(J instanceof Array){it=[];try{var L=De(J,!0),N;try{for(L.s();!(N=L.n()).done;)V=N.value,it.push(this.getElement(V,q))}catch(It){L.e(It)}
62finally{L.f()}}catch(It){it=null}}else if(typeof J=="string"){it=[];var nt=De(document.querySelectorAll(J),!0),dt;try{for(nt.s();!(dt=nt.n()).done;)V=dt.value,it.push(V)}catch(It){nt.e(It)}finally{nt.f()}}else J.nodeType!=null&&(it=[J]);if(it==null||!it.length)throw new Error("Invalid `".concat(q,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return it},et.confirm=function(J,q,V){if(window.confirm(J))return q();if(V!=null)return V()},et.isValidFile=function(J,q){if(!q)return!0;q=q.split(",");var V=J.type,it=V.replace(/\/.*$/,""),L=De(q,!0),N;try{for(L.s();!(N=L.n()).done;){var nt=N.value;if(nt=nt.trim(),nt.charAt(0)==="."){if(J.name.toLowerCase().indexOf(nt.toLowerCase(),J.name.length-nt.length)!==-1)return!0}else if(/\/\*$/.test(nt)){if(it===nt.replace(/\/.*$/,""))return!0}else if(V===nt)return!0}}catch(dt){L.e(dt)}finally{L.f()}return!1},typeof jQuery!="undefined"&&jQuery!==null&&(jQuery.fn.dropzone=function(J){return this.each(function(){return new et(this,J)})}),et.ADDED="added",et.QUEUED="queued",et.ACCEPTED=et.QUEUED,et.UPLOADING="uploading",et.PROCESSING=et.UPLOADING,et.CANCELED="canceled",et.ERROR="error",et.SUCCESS="success";var at=function(q){var V=q.naturalWidth,it=q.naturalHeight,L=document.createElement("canvas");L.width=1,L.height=it;var N=L.getContext("2d");N.drawImage(q,0,0);for(var nt=N.getImageData(1,0,1,it),dt=nt.data,It=0,Pt=it,Vt=it;Vt>It;){var Yt=dt[(Vt-1)*4+3];Yt===0?Pt=Vt:It=Vt,Vt=Pt+It>>1}var Bt=Vt/it;return Bt===0?1:Bt},Ct=function(q,V,it,L,N,nt,dt,It,Pt,Vt){var Yt=at(V);return q.drawImage(V,it,L,N,nt,dt,It,Pt,Vt/Yt)},Rt=(function(){function J(){s(this,J)}return p(J,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(V){for(var it="",L=void 0,N=void 0,nt="",dt=void 0,It=void 0,Pt=void 0,Vt="",Yt=0;L=V[Yt++],N=V[Yt++],nt=V[Yt++],dt=L>>2,It=(L&3)<<4|N>>4,Pt=(N&15)<<2|nt>>6,Vt=nt&63,isNaN(N)?Pt=Vt=64:isNaN(nt)&&(Vt=64),it=it+this.KEY_STR.charAt(dt)+this.KEY_STR.charAt(It)+this.KEY_STR.charAt(Pt)+this.KEY_STR.charAt(Vt),L=N=nt="",dt=It=Pt=Vt="",Yt<V.length;);return it}},{key:"restore",value:function(V,it){if(!V.match("data:image/jpeg;base64,"))return it;var L=this.decode64(V.replace("data:image/jpeg;base64,","")),N=this.slice2Segments(L),nt=this.exifManipulation(it,N);return"data:image/jpeg;base64,".concat(this.encode64(nt))}},{key:"exifManipulation",value:function(V,it){var L=this.getExifArray(it),N=this.insertExif(V,L),nt=new Uint8Array(N);return nt}},{key:"getExifArray",value:function(V){for(var it=void 0,L=0;L<V.length;){if(it=V[L],it[0]===255&it[1]===225)return it;L++}return[]}},{key:"insertExif",value:function(V,it){var L=V.replace("data:image/jpeg;base64,",""),N=this.decode64(L),nt=N.indexOf(255,3),dt=N.slice(0,nt),It=N.slice(nt),Pt=dt;return Pt=Pt.concat(it),Pt=Pt.concat(It),Pt}},{key:"slice2Segments",value:function(V){for(var it=0,L=[];;){var N;if(V[it]===255&V[it+1]===218)break;if(V[it]===255&V[it+1]===216)it+=2;else{N=V[it+2]*256+V[it+3];var nt=it+N+2,dt=V.slice(it,nt);L.push(dt),it=nt}if(it>V.length)break}return L}},{key:"decode64",value:function(V){var it="",L=void 0,N=void 0,nt="",dt=void 0,It=void 0,Pt=void 0,Vt="",Yt=0,Bt=[],ue=/[^A-Za-z0-9\+\/\=]/g;for(ue.exec(V)&&console.warn(`There were invalid base64 characters in the input text.
63Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
64Expect errors in decoding.`),V=V.replace(/[^A-Za-z0-9\+\/\=]/g,"");dt=this.KEY_STR.indexOf(V.charAt(Yt++)),It=this.KEY_STR.indexOf(V.charAt(Yt++)),Pt=this.KEY_STR.indexOf(V.charAt(Yt++)),Vt=this.KEY_STR.indexOf(V.charAt(Yt++)),L=dt<<2|It>>4,N=(It&15)<<4|Pt>>2,nt=(Pt&3)<<6|Vt,Bt.push(L),Pt!==64&&Bt.push(N),Vt!==64&&Bt.push(nt),L=N=nt="",dt=It=Pt=Vt="",Yt<V.length;);return Bt}}]),J})();Rt.initClass();var Nt=function(q,V){var it=!1,L=!0,N=q.document,nt=N.documentElement,dt=N.addEventListener?"addEventListener":"attachEvent",It=N.addEventListener?"removeEventListener":"detachEvent",Pt=N.addEventListener?"":"on",Vt=function Bt(ue){if(!(ue.type==="readystatechange"&&N.readyState!=="complete")&&((ue.type==="load"?q:N)[It](Pt+ue.type,Bt,!1),!it&&(it=!0)))return V.call(q,ue.type||ue)},Yt=function Bt(){try{nt.doScroll("left")}catch(ue){setTimeout(Bt,50);return}return Vt("poll")};if(N.readyState!=="complete"){if(N.createEventObject&&nt.doScroll){try{L=!q.frameElement}catch(Bt){}L&&Yt()}return N[dt](Pt+"DOMContentLoaded",Vt,!1),N[dt](Pt+"readystatechange",Vt,!1),q[dt](Pt+"load",Vt,!1)}};et._autoDiscoverFunction=function(){if(et.autoDiscover)return et.discover()},Nt(window,et._autoDiscoverFunction);function Lt(J,q){return typeof J!="undefined"&&J!==null?q(J):void 0}function oe(J,q,V){if(typeof J!="undefined"&&J!==null&&typeof J[q]=="function")return V(J,q)}window.Dropzone=et;var ye=et})(),mt})()});(function(e,W){"use strict";var M=e.jQuery||e.Zepto,mt=0,w=!1;M.fn.Lazy=M.fn.lazy=function(b){return new a(this,b)},M.Lazy=M.lazy=function(b,x,m){if(M.isFunction(x)&&(m=x,x=[]),!!M.isFunction(m)){b=M.isArray(b)?b:[b],x=M.isArray(x)?x:[x];for(var v=a.prototype.config,d=v._f||(v._f={}),f=0,C=b.length;f<C;f++)(v[b[f]]===W||M.isFunction(v[b[f]]))&&(v[b[f]]=m);for(var g=0,P=x.length;g<P;g++)d[x[g]]=b[0]}};function S(b,x,m,v,d){var f=0,C=-1,g=-1,P=!1,A="afterLoad",u="load",r="error",c="img",T="src",k="srcset",l="sizes",R="background-image";function F(){P=e.devicePixelRatio>1,m=Y(m),x.delay>=0&&setTimeout(function(){G(!0)},x.delay),(x.delay<0||x.combined)&&(v.e=pt(x.throttle,function(Tt){Tt.type==="resize"&&(C=g=-1),G(Tt.all)}),v.a=function(Tt){Tt=Y(Tt),m.push.apply(m,Tt)},v.g=function(){return m=M(m).filter(function(){return!M(this).data(x.loadedName)})},v.f=function(Tt){for(var Ut=0;Ut<Tt.length;Ut++){var Xt=m.filter(function(){return this===Tt[Ut]});Xt.length&&G(!1,Xt)}},G(),M(x.appendScroll).on("scroll."+d+" resize."+d,v.e))}function Y(Tt){var Ut=x.defaultImage,Xt=x.placeholder,Jt=x.imageBase,qt=x.srcsetAttribute,zt=x.loaderAttribute,Zt=x._f||{};Tt=M(Tt).filter(function(){var Se=M(this),ne=lt(this);return!Se.data(x.handledName)&&(Se.attr(x.attribute)||Se.attr(qt)||Se.attr(zt)||Zt[ne]!==W)}).data("plugin_"+x.name,b);for(var Gt=0,te=Tt.length;Gt<te;Gt++){var ie=M(Tt[Gt]),Te=lt(Tt[Gt]),ve=ie.attr(x.imageBaseAttribute)||Jt;Te===c&&ve&&ie.attr(qt)&&ie.attr(qt,ut(ie.attr(qt),ve)),Zt[Te]!==W&&!ie.attr(zt)&&ie.attr(zt,Zt[Te]),Te===c&&Ut&&!ie.attr(T)?ie.attr(T,Ut):Te!==c&&Xt&&(!ie.css(R)||ie.css(R)==="none")&&ie.css(R,"url('"+Xt+"')")}return Tt}function G(Tt,Ut){if(!m.length){x.autoDestroy&&b.destroy();return}for(var Xt=Ut||m,Jt=!1,qt=x.imageBase||"",zt=x.srcsetAttribute,Zt=x.handledName,Gt=0;Gt<Xt.length;Gt++)if(Tt||Ut||Z(Xt[Gt])){var te=M(Xt[Gt]),ie=lt(Xt[Gt]),Te=te.attr(x.attribute),ve=te.attr(x.imageBaseAttribute)||qt,Se=te.attr(x.loaderAttribute);!te.data(Zt)&&(!x.visibleOnly||te.is(":visible"))&&((Te||te.attr(zt))&&(ie===c&&(ve+Te!==te.attr(T)||te.attr(zt)!==te.attr(k))||ie!==c&&ve+Te!==te.css(R))||Se)&&(Jt
64=!0,te.data(Zt,!0),j(te,ie,ve,Se))}Jt&&(m=M(m).filter(function(){return!M(this).data(Zt)}))}function j(Tt,Ut,Xt,Jt){++f;var qt=function(){_t("onError",Tt),wt(),qt=M.noop};_t("beforeLoad",Tt);var zt=x.attribute,Zt=x.srcsetAttribute,Gt=x.sizesAttribute,te=x.retinaAttribute,ie=x.removeAttribute,Te=x.loadedName,ve=Tt.attr(te);if(Jt){var Se=function(){ie&&Tt.removeAttr(x.loaderAttribute),Tt.data(Te,!0),_t(A,Tt),setTimeout(wt,1),Se=M.noop};Tt.off(r).one(r,qt).one(u,Se),_t(Jt,Tt,function(ce){ce?(Tt.off(u),Se()):(Tt.off(r),qt())})||Tt.trigger(r)}else{var ne=M(new Image);ne.one(r,qt).one(u,function(){Tt.hide(),Ut===c?Tt.attr(l,ne.attr(l)).attr(k,ne.attr(k)).attr(T,ne.attr(T)):Tt.css(R,"url('"+ne.attr(T)+"')"),Tt[x.effect](x.effectTime),ie&&(Tt.removeAttr(zt+" "+Zt+" "+te+" "+x.imageBaseAttribute),Gt!==l&&Tt.removeAttr(Gt)),Tt.data(Te,!0),_t(A,Tt),ne.remove(),wt()});var le=(P&&ve?ve:Tt.attr(zt))||"";ne.attr(l,Tt.attr(Gt)).attr(k,Tt.attr(Zt)).attr(T,le?Xt+le:null),ne.complete&&ne.trigger(u)}}function Z(Tt){var Ut=Tt.getBoundingClientRect(),Xt=x.scrollDirection,Jt=x.threshold,qt=ht()+Jt>Ut.top&&-Jt<Ut.bottom,zt=H()+Jt>Ut.left&&-Jt<Ut.right;return Xt==="vertical"?qt:(Xt==="horizontal"||qt)&&zt}function H(){return C>=0?C:C=M(e).width()}function ht(){return g>=0?g:g=M(e).height()}function lt(Tt){return Tt.tagName.toLowerCase()}function ut(Tt,Ut){if(Ut){var Xt=Tt.split(",");Tt="";for(var Jt=0,qt=Xt.length;Jt<qt;Jt++)Tt+=Ut+Xt[Jt].trim()+(Jt!==qt-1?",":"")}return Tt}function pt(Tt,Ut){var Xt,Jt=0;return function(qt,zt){var Zt=+new Date-Jt;function Gt(){Jt=+new Date,Ut.call(b,qt)}Xt&&clearTimeout(Xt),Zt>Tt||!x.enableThrottle||zt?Gt():Xt=setTimeout(Gt,Tt-Zt)}}function wt(){--f,!m.length&&!f&&_t("onFinishedAll")}function _t(Tt,Ut,Xt){return(Tt=x[Tt])?(Tt.apply(b,[].slice.call(arguments,1)),!0):!1}x.bind==="event"||w?F():M(e).on(u+"."+d,F)}function a(b,x){var m=this,v=M.extend({},m.config,x),d={},f=v.name+"-"+ ++mt;return m.config=function(C,g){return g===W?v[C]:(v[C]=g,m)},m.addItems=function(C){return d.a&&d.a(M.type(C)==="string"?M(C):C),m},m.getItems=function(){return d.g?d.g():{}},m.update=function(C){return d.e&&d.e({},!C),m},m.force=function(C){return d.f&&d.f(M.type(C)==="string"?M(C):C),m},m.loadAll=function(){return d.e&&d.e({all:!0},!0),m},m.destroy=function(){return M(v.appendScroll).off("."+f,d.e),M(e).off("."+f),d={},W},S(m,v,b,d,f),v.chainable?b:m}a.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:e,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:W,afterLoad:W,onError:W,onFinishedAll:W},M(e).on("load",function(){w=!0})})(window),(function(e){e.fn.viewportChecker=function(W){var M={classToAdd:"visible",classToRemove:"invisible",offset:100,repeat:!1,invertBottomOffset:!0,callbackFunction:function(a,b){},scrollHorizontal:!1};e.extend(M,W);var mt=this,w={height:e(window).height(),width:e(window).width()},S=navigator.userAgent.toLowerCase().indexOf("webkit")!=-1||navigator.userAgent.toLowerCase().indexOf("windows phone")!=-1?"body":"html";return this.checkElements=function(){var a,b;M.scrollHorizontal?(a=e(S).scrollLeft(),b=a+w.width):(a=e(S).scrollTop(),b=a+w.height),mt.each(function(){var x=e(this),m={},v={};if(x.data("vp-add-class")&&(v.classToAdd=x.data("vp-add-class")),x.data("vp-remove-class")&&(v.classToRemove=x.data("vp-remove-class")),x.data("vp-offset")&&(v.offset=x.data("vp-offset")),x.data("vp-repeat")&&(v.repeat=x.data("vp-repeat")),x.data("vp-scrollHorizontal")&&(v.scrollHorizontal=x.data("vp-scrollHorizontal")),x.data("vp-invertBottomOffset")&&(v.scrollHorizontal=x.data("vp-invertBottomOffset")),e.extend(m,M),e.extend(m,v),!x.hasClass(m.classToAdd)||m.repeat){String(m.offset).indexOf("%")>0&&(m.offset=parseInt(m.offset)/100*w.height);
64var d=m.scrollHorizontal?Math.round(x.offset().left)+m.offset:Math.round(x.offset().top)+m.offset,f=m.scrollHorizontal?d+x.width():d+x.height();m.invertBottomOffset&&(f-=2*m.offset),b>d&&f>a?(x.removeClass(m.classToRemove),x.addClass(m.classToAdd),m.callbackFunction(x,"add")):x.hasClass(m.classToAdd)&&m.repeat&&(x.removeClass(m.classToAdd),m.callbackFunction(x,"remove"))}})},"ontouchstart"in window?e(document).bind("touchmove MSPointerMove pointermove",this.checkElements):e(window).bind("scroll",this.checkElements),e(window).bind("load",this.checkElements),e(window).resize(function(a){w={height:e(window).height(),width:e(window).width()},mt.checkElements()}),this.checkElements(),this}})(jQuery);

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.