nordanfinance.net
Open in
urlscan Pro
2a02:4780:b:1043:0:cad:857f:10
Public Scan
Submitted URL: http://nordanfinance.net/etc/clientlib-all.min.2f2dbb3959c1dcdb1f3b1f52f1375b62.js
Effective URL: https://nordanfinance.net/etc/clientlib-all.min.2f2dbb3959c1dcdb1f3b1f52f1375b62.js
Submission: On August 13 via api from US — Scanned from DE
Effective URL: https://nordanfinance.net/etc/clientlib-all.min.2f2dbb3959c1dcdb1f3b1f52f1375b62.js
Submission: On August 13 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
if(!Array.prototype.find){Array.prototype.find=function(b){if(this==null){throw new TypeError('"this" is null or not defined') }var f=Object(this); var a=f.length>>>0; if(typeof b!=="function"){throw new TypeError("predicate must be a function") }var c=arguments[1]; var d=0; while(d<a){var e=f[d]; if(b.call(c,e,d,f)){return e }d++ }return undefined } }if(!Array.prototype.includes){Array.prototype.includes=function(d,e){if(this==null){throw new TypeError('"this" is null or not defined') }var f=Object(this); var a=f.length>>>0; if(a===0){return false }var g=e|0; var c=Math.max(g>=0?g:a-Math.abs(g),0); function b(h,i){return h===i||(typeof h==="number"&&typeof i==="number"&&isNaN(h)&&isNaN(i)) }while(c<a){if(b(f[c],d)){return true }c++ }return false } }if(!Array.prototype.forEach){Array.prototype.forEach=function(f){var c,b; if(this==null){throw new TypeError("this is null or not defined") }var e=Object(this); var a=e.length>>>0; if(typeof f!=="function"){throw new TypeError(f+" is not a function") }if(arguments.length>1){c=arguments[1] }b=0; while(b<a){var d; if(b in e){d=e[b]; f.call(c,d,b,e) }b++ }} }if(!Array.prototype.map){Array.prototype.map=function(h){var d,b,c; if(this==null){throw new TypeError("this is null or not defined") }var g=Object(this); var a=g.length>>>0; if(typeof h!=="function"){throw new TypeError(h+" is not a function") }if(arguments.length>1){d=arguments[1] }b=new Array(a); c=0; while(c<a){var f,e; if(c in g){f=g[c]; e=h.call(d,f,c,g); b[c]=e }c++ }return b } }if(!Array.prototype.filter){Array.prototype.filter=function(c){if(this===void 0||this===null){throw new TypeError() }var f=Object(this); var a=f.length>>>0; if(typeof c!=="function"){throw new TypeError() }var e=[]; var b=arguments.length>=2?arguments[1]:void 0; for(var d=0; d<a; d++){if(d in f){var g=f[d]; if(c.call(b,g,d,f)){e.push(g) }}}return e } }if(!Element.prototype.matches){Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector }if(!Element.prototype.closest){Element.prototype.closest=function(b){var a=this; if(!document.documentElement.contains(a)){return null }do{if(a.matches(b)){return a }a=a.parentElement||a.parentNode }while(a!==null); return null } }if(typeof Object.assign!="function"){Object.assign=function(d,f){if(d==null){throw new TypeError("Cannot convert undefined or null to object") }var e=Object(d); for(var c=1; c<arguments.length; c++){var b=arguments[c]; if(b!=null){for(var a in b){if(Object.prototype.hasOwnProperty.call(b,a)){e[a]=b[a] }}}}return e } }if(typeof Object.create!=="function"){Object.create=function(c,a){function b(){}b.prototype=c; if(typeof(a)==="object"){for(prop in a){if(a.hasOwnProperty((prop))){b[prop]=a[prop] }}}return new b() } }(function(k){var u={}; k.respond=u; u.update=function(){}; var c=[],d=(function(){var w=false; try{w=new k.XMLHttpRequest() }catch(A){w=new k.ActiveXObject("Microsoft.XMLHTTP") }return function(){return w } })(),n=function(w,B){var A=d(); if(!A){return }A.open("1/2/GET.html",w,true); A.onreadystatechange=function(){if(A.readyState!==4||A.status!==200&&A.status!==304){return }B(A.responseText) }; if(A.readyState===4){return }A.send(null) },r=function(w){return w.replace(u.regex.minmaxwh,"").match(u.regex.other) }; u.ajax=n; u.queue=c; u.unsupportedmq=r; u.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g}; u.mediaQueriesSupported=k.matchMedia&&k.matchMedia("only all")!==null&&k.matchMedia("only all").matches; if(u.mediaQueriesSupported){return }var z=k.document,t=z.documentElement,h=[],j=[],q=[],o={},g=30,e=z.getElementsByTagName("head")[0]||t,f=z.getElementsByTagName("base")[0],b=e.getElementsByTagName("link"),l,s,p,y=function(){var B,E=z.createElement("div"),w=z.body,D=t.style.fontSize,C=w&&w.style.fontSize,A=false; E.style.cssText="position:absolute;font-size:1em;width:1em"; if(!w){w=A=z.createElement("body"); w.style.background="none" }t.style.fontSize="100%"; w.style.fontSize="100%"; w.appendChild(E); if(A){t.insertBefore(w,t.firstChild) }B=E.offsetWidth; if(A){t.removeChild(w) }else{w.removeChild(E) }t.style.fontSize=D; if(C){w.style.fontSize=C }B=p=parseFloat(B); return B },i=function(L){var Q="clientWidth",C=t[Q],A=z.compatMode==="CSS1Compat"&&C||z.body[Q]||C,O={},P=b[b.length-1],B=(new Date()).getTime(); if(L&&l&&B-l<g){k.clearTimeout(s); s=k.setTimeout(i,g); return }else{l=B }for(var J in h){if(h.hasOwnProperty(J)){var M=h[J],F=M.minw,I=M.maxw,K=F===null,N=I===null,w="em"; if(!!F){F=parseFloat(F)*(F.indexOf(w)>-1?(p||y()):1) }if(!!I){I=parseFloat(I)*(I.indexOf(w)>-1?(p||y()):1) }if(!M.hasquery||(!K||!N)&&(K||A>=F)&&(N||A<=I)){if(!O[M.media]){O[M.media]=[] }O[M.media].push(j[M.rules]) }}}for(var H in q){if(q.hasOwnProperty(H)){if(q[H]&&q[H].parentNode===e){e.removeChild(q[H]) }}}q.length=0; for(var G in O){if(O.hasOwnProperty(G)){var E=z.createElement("style"),D=O[G].join("\n"); E.type="text/css"; E.media=G; e.insertBefore(E,P.nextSibling); if(E.styleSheet){E.styleSheet.cssText=D }else{E.appendChild(z.createTextNode(D)) }q.push(E) }}},m=function(K,w,B){var I=K.replace(u.regex.comments,"").replace(u.regex.keyframes,"").match(u.regex.media),L=I&&I.length||0; w=w.substring(0,w.lastIndexOf("/")); var A=function(M){return M.replace(u.regex.urls,"$1"+w+"$2$3") },C=!L&&B; if(w.length){w+="/" }if(C){L=1 }for(var F=0; F<L; F++){var G,H,D,J; if(C){G=B; j.push(A(K)) }else{G=I[F].match(u.regex.findStyles)&&RegExp.$1; j.push(RegExp.$2&&A(RegExp.$2)) }D=G.split(","); J=D.length; for(var E=0; E<J; E++){H=D[E]; if(r(H)){continue }h.push({media:H.split("(")[0].match(u.regex.only)&&RegExp.$2||"all",rules:j.length-1,hasquery:H.indexOf("(")>-1,minw:H.match(u.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:H.match(u.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")}) }}i() },x=function(){if(c.length){var w=c.shift(); n(w.href,function(A){m(A,w.href,w.media); o[w.href]=true; k.setTimeout(function(){x() },0) }) }},a=function(){for(var C=0; C<b.length; C++){var B=b[C],A=B.href,D=B.media,w=B.rel&&B.rel.toLowerCase()==="stylesheet"; if(!!A&&w&&!o[A]){if(B.styleSheet&&B.styleSheet.rawCssText){m(B.styleSheet.rawCssText,A,D); o[A]=true }else{if((!/^([a-zA-Z:]*\/\/)/.test(A)&&!f)||A.replace(RegExp.$1,"").split("/")[0]===k.location.host){if(A.substring(0,2)==="//"){A=k.location.protocol+A }c.push({href:A,media:D}) }}}}x() }; a(); u.update=a; u.getEmValue=y; function v(){i(true) }if(k.addEventListener){k.addEventListener("resize",v,false) }else{if(k.attachEvent){k.attachEvent("onresize",v) }}})(this); if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"") } }if(typeof String.prototype.includes!=="function"){String.prototype.includes=function(a,b){if(typeof b!=="number"){b=0 }if(b+a.length>this.length){return false }else{return this.indexOf(a,b)!==-1 }} }if(!String.prototype.endsWith){String.prototype.endsWith=function(b,a){if(a===undefined||a>this.length){a=this.length }return this.substring(a-b.length,a)===b } } /*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ (function(b,a){if(typeof module==="object"&&typeof module.exports==="object"){module.exports=b.document?a(b,true):function(c){if(!c.document){throw new Error("jQuery requires a window with a document") }return a(c) } }else{a(b) }}(typeof window!=="undefined"?window:this,function(bc,aD){var aW=[]; var m=bc.document; var X=aW.slice; var aH=aW.concat; var w=aW.push; var b2=aW.indexOf; var ak={}; var x=ak.toString; var R=ak.hasOwnProperty; var F={}; var ap="1.12.4",bP=function(i,cd){return new bP.fn.init(i,cd) },G=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bZ=/^-ms-/,a3=/-([\da-z])/gi,W=function(i,cd){return cd.toUpperCase() }; bP.fn=bP.prototype={jquery:ap,constructor:bP,selector:"",length:0,toArray:function(){return X.call(this) },get:function(i){return i!=null?(i<0?this[i+this.length]:this[i]):X.call(this) },pushStack:function(i){var cd=bP.merge(this.constructor(),i); cd.prevObject=this; cd.context=this.context; return cd },each:function(i){return bP.each(this,i) },map:function(i){return this.pushStack(bP.map(this,function(ce,cd){return i.call(ce,cd,ce) })) },slice:function(){return this.pushStack(X.apply(this,arguments)) },first:function(){return this.eq(0) },last:function(){return this.eq(-1) },eq:function(cf){var cd=this.length,ce=+cf+(cf<0?cd:0); return this.pushStack(ce>=0&&ce<cd?[this[ce]]:[]) },end:function(){return this.prevObject||this.constructor() },push:w,sort:aW.sort,splice:aW.splice}; bP.extend=bP.fn.extend=function(){var cd,cj,ce,cf,cm,ck,ci=arguments[0]||{},ch=1,cg=arguments.length,cl=false; if(typeof ci==="boolean"){cl=ci; ci=arguments[ch]||{}; ch++ }if(typeof ci!=="object"&&!bP.isFunction(ci)){ci={} }if(ch===cg){ci=this; ch-- }for(; ch<cg; ch++){if((cm=arguments[ch])!=null){for(cf in cm){cd=ci[cf]; ce=cm[cf]; if(ci===ce){continue }if(cl&&ce&&(bP.isPlainObject(ce)||(cj=bP.isArray(ce)))){if(cj){cj=false; ck=cd&&bP.isArray(cd)?cd:[] }else{ck=cd&&bP.isPlainObject(cd)?cd:{} }ci[cf]=bP.extend(cl,ck,ce) }else{if(ce!==undefined){ci[cf]=ce }}}}}return ci }; bP.extend({expando:"jQuery"+(ap+Math.random()).replace(/\D/g,""),isReady:true,error:function(i){throw new Error(i) },noop:function(){},isFunction:function(i){return bP.type(i)==="function" },isArray:Array.isArray||function(i){return bP.type(i)==="array" },isWindow:function(i){return i!=null&&i==i.window },isNumeric:function(cd){var i=cd&&cd.toString(); return !bP.isArray(cd)&&(i-parseFloat(i)+1)>=0 },isEmptyObject:function(cd){var i; for(i in cd){return false }return true },isPlainObject:function(ce){var i; if(!ce||bP.type(ce)!=="object"||ce.nodeType||bP.isWindow(ce)){return false }try{if(ce.constructor&&!R.call(ce,"constructor")&&!R.call(ce.constructor.prototype,"isPrototypeOf")){return false }}catch(cd){return false }if(!F.ownFirst){for(i in ce){return R.call(ce,i) }}for(i in ce){}return i===undefined||R.call(ce,i) },type:function(i){if(i==null){return i+"" }return typeof i==="object"||typeof i==="function"?ak[x.call(i)]||"object":typeof i },globalEval:function(i){if(i&&bP.trim(i)){(bc.execScript||function(cd){bc["eval"].call(bc,cd) })(i) }},camelCase:function(i){return i.replace(bZ,"ms-").replace(a3,W) },nodeName:function(cd,i){return cd.nodeName&&cd.nodeName.toLowerCase()===i.toLowerCase() },each:function(cf,cg){var ce,cd=0; if(aB(cf)){ce=cf.length; for(; cd<ce; cd++){if(cg.call(cf[cd],cd,cf[cd])===false){break }}}else{for(cd in cf){if(cg.call(cf[cd],cd,cf[cd])===false){break }}}return cf },trim:function(i){return i==null?"":(i+"").replace(G,"") },makeArray:function(i,ce){var cd=ce||[]; if(i!=null){if(aB(Object(i))){bP.merge(cd,typeof i==="string"?[i]:i) }else{w.call(cd,i) }}return cd },inArray:function(cg,ce,cf){var cd; if(ce){if(b2){return b2.call(ce,cg,cf) }cd=ce.length; cf=cf?cf<0?Math.max(0,cd+cf):cf:0; for(; cf<cd; cf++){if(cf in ce&&ce[cf]===cg){return cf }}}return -1 },merge:function(ch,cf){var cd=+cf.length,ce=0,cg=ch.length; while(ce<cd){ch[cg++]=cf[ce++] }if(cd!==cd){while(cf[ce]!==undefined){ch[cg++]=cf[ce++] }}ch.length=cg; return ch },grep:function(cd,ck,ch){var cj,cg=[],ce=0,cf=cd.length,ci=!ch; for(; ce<cf; ce++){cj=!ck(cd[ce],ce); if(cj!==ci){cg.push(cd[ce]) }}return cg },map:function(ce,cj,cd){var ch,ci,cg=0,cf=[]; if(aB(ce)){ch=ce.length; for(; cg<ch; cg++){ci=cj(ce[cg],cg,cd); if(ci!=null){cf.push(ci) }}}else{for(cg in ce){ci=cj(ce[cg],cg,cd); if(ci!=null){cf.push(ci) }}}return aH.apply([],cf) },guid:1,proxy:function(cg,cf){var i,ce,cd; if(typeof cf==="string"){cd=cg[cf]; cf=cg; cg=cd }if(!bP.isFunction(cg)){return undefined }i=X.call(arguments,2); ce=function(){return cg.apply(cf||this,i.concat(X.call(arguments))) }; ce.guid=cg.guid=cg.guid||bP.guid++; return ce },now:function(){return +(new Date()) },support:F}); if(typeof Symbol==="function"){bP.fn[Symbol.iterator]=aW[Symbol.iterator] }bP.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(ce,cd){ak["[object "+cd+"]"]=cd.toLowerCase() }); function aB(ce){var cd=!!ce&&"length" in ce&&ce.length,i=bP.type(ce); if(i==="function"||bP.isWindow(ce)){return false }return i==="array"||cd===0||typeof cd==="number"&&cd>0&&(cd-1) in ce }var l= /*! * Sizzle CSS Selector Engine v2.2.1 * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-10-17 */ (function(dk){var cE,dn,ct,cN,cQ,cn,c2,dm,dt,cO,c3,c5,cI,cu,de,c9,dl,ck,cL,dg="sizzle"+1*new Date(),cP=dk.document,dp=0,da=0,cf=cG(),df=cG(),cM=cG(),cK=function(du,i){if(du===i){c3=true }return 0 },cW=1<<31,cU=({}).hasOwnProperty,di=[],dj=di.pop,cS=di.push,cd=di.push,cs=di.slice,cj=function(dx,dw){var dv=0,du=dx.length; for(; dv<du; dv++){if(dx[dv]===dw){return dv }}return -1 },ce="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",cv="[\\x20\\t\\r\\n\\f]",cR="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",dc="\\["+cv+"*("+cR+")(?:"+cv+"*([*^$|!~]?=)"+cv+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+cR+"))|)"+cv+"*\\]",cq=":("+cR+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+dc+")*)|.*)\\)|)",cA=new RegExp(cv+"+","g"),cx=new RegExp("^"+cv+"+|((?:^|[^\\\\])(?:\\\\.)*)"+cv+"+$","g"),cB=new RegExp("^"+cv+"*,"+cv+"*"),cH=new RegExp("^"+cv+"*([>+~]|"+cv+")"+cv+"*"),cz=new RegExp("="+cv+"*([^\\]'\"]*?)"+cv+"*\\]","g"),cY=new RegExp(cq),c0=new RegExp("^"+cR+"$"),c8={ID:new RegExp("^#("+cR+")"),CLASS:new RegExp("^\\.("+cR+")"),TAG:new RegExp("^("+cR+"|[*])"),ATTR:new RegExp("^"+dc),PSEUDO:new RegExp("^"+cq),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+cv+"*(even|odd|(([+-]|)(\\d*)n|)"+cv+"*(?:([+-]|)"+cv+"*(\\d+)|))"+cv+"*\\)|)","i"),bool:new RegExp("^(?:"+ce+")$","i"),needsContext:new RegExp("^"+cv+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cv+"*((?:-\\d)?\\d*)"+cv+"*\\)|)(?=[^-]|$)","i")},ci=/^(?:input|select|textarea|button)$/i,cr=/^h\d$/i,cV=/^[^{]+\{\s*\[native \w/,cX=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,c7=/[+~]/,cT=/'|\\/g,cy=new RegExp("\\\\([\\da-f]{1,6}"+cv+"?|("+cv+")|.)","ig"),db=function(i,dw,du){var dv="0x"+dw-65536; return dv!==dv||du?dw:dv<0?String.fromCharCode(dv+65536):String.fromCharCode(dv>>10|55296,dv&1023|56320) },ds=function(){c5() }; try{cd.apply((di=cs.call(cP.childNodes)),cP.childNodes); di[cP.childNodes.length].nodeType }catch(cJ){cd={apply:di.length?function(du,i){cS.apply(du,cs.call(i)) }:function(dx,dw){var du=dx.length,dv=0; while((dx[du++]=dw[dv++])){}dx.length=du-1 }} }function cC(dB,dv,dE,dH){var dz,dF,dy,du,dI,dG,dx,dC,dw=dv&&dv.ownerDocument,dD=dv?dv.nodeType:9; dE=dE||[]; if(typeof dB!=="string"||!dB||dD!==1&&dD!==9&&dD!==11){return dE }if(!dH){if((dv?dv.ownerDocument||dv:cP)!==cI){c5(dv) }dv=dv||cI; if(de){if(dD!==11&&(dG=cX.exec(dB))){if((dz=dG[1])){if(dD===9){if((dy=dv.getElementById(dz))){if(dy.id===dz){dE.push(dy); return dE }}else{return dE }}else{if(dw&&(dy=dw.getElementById(dz))&&cL(dv,dy)&&dy.id===dz){dE.push(dy); return dE }}}else{if(dG[2]){cd.apply(dE,dv.getElementsByTagName(dB)); return dE }else{if((dz=dG[3])&&dn.getElementsByClassName&&dv.getElementsByClassName){cd.apply(dE,dv.getElementsByClassName(dz)); return dE }}}}if(dn.qsa&&!cM[dB+" "]&&(!c9||!c9.test(dB))){if(dD!==1){dw=dv; dC=dB }else{if(dv.nodeName.toLowerCase()!=="object"){if((du=dv.getAttribute("id"))){du=du.replace(cT,"\\$&") }else{dv.setAttribute("id",(du=dg)) }dx=cn(dB); dF=dx.length; dI=c0.test(du)?"#"+du:"[id='"+du+"']"; while(dF--){dx[dF]=dI+" "+co(dx[dF]) }dC=dx.join(","); dw=c7.test(dB)&&cZ(dv.parentNode)||dv }}if(dC){try{cd.apply(dE,dw.querySelectorAll(dC)); return dE }catch(dA){}finally{if(du===dg){dv.removeAttribute("id") }}}}}}return dm(dB.replace(cx,"$1"),dv,dE,dH) }function cG(){var du=[]; function i(dv,dw){if(du.push(dv+" ")>ct.cacheLength){delete i[du.shift()] }return(i[dv+" "]=dw) }return i }function cp(i){i[dg]=true; return i }function cl(i){var dv=cI.createElement("div"); try{return !!i(dv) }catch(du){return false }finally{if(dv.parentNode){dv.parentNode.removeChild(dv) }dv=null }}function dq(dv,dx){var du=dv.split("|"),dw=du.length; while(dw--){ct.attrHandle[du[dw]]=dx }}function cg(du,i){var dw=i&&du,dv=dw&&du.nodeType===1&&i.nodeType===1&&(~i.sourceIndex||cW)-(~du.sourceIndex||cW); if(dv){return dv }if(dw){while((dw=dw.nextSibling)){if(dw===i){return -1 }}}return du?1:-1 }function cD(i){return function(dv){var du=dv.nodeName.toLowerCase(); return du==="input"&&dv.type===i } }function ch(i){return function(dv){var du=dv.nodeName.toLowerCase(); return(du==="input"||du==="button")&&dv.type===i } }function dd(i){return cp(function(du){du=+du; return cp(function(dv,dz){var dx,dw=i([],dv.length,du),dy=dw.length; while(dy--){if(dv[(dx=dw[dy])]){dv[dx]=!(dz[dx]=dv[dx]) }}}) }) }function cZ(i){return i&&typeof i.getElementsByTagName!=="undefined"&&i }dn=cC.support={}; cQ=cC.isXML=function(i){var du=i&&(i.ownerDocument||i).documentElement; return du?du.nodeName!=="HTML":false }; c5=cC.setDocument=function(dv){var i,du,dw=dv?dv.ownerDocument||dv:cP; if(dw===cI||dw.nodeType!==9||!dw.documentElement){return cI }cI=dw; cu=cI.documentElement; de=!cQ(cI); if((du=cI.defaultView)&&du.top!==du){if(du.addEventListener){du.addEventListener("unload",ds,false) }else{if(du.attachEvent){du.attachEvent("onunload",ds) }}}dn.attributes=cl(function(dx){dx.className="i"; return !dx.getAttribute("className") }); dn.getElementsByTagName=cl(function(dx){dx.appendChild(cI.createComment("")); return !dx.getElementsByTagName("*").length }); dn.getElementsByClassName=cV.test(cI.getElementsByClassName); dn.getById=cl(function(dx){cu.appendChild(dx).id=dg; return !cI.getElementsByName||!cI.getElementsByName(dg).length }); if(dn.getById){ct.find.ID=function(dz,dy){if(typeof dy.getElementById!=="undefined"&&de){var dx=dy.getElementById(dz); return dx?[dx]:[] }}; ct.filter.ID=function(dy){var dx=dy.replace(cy,db); return function(dz){return dz.getAttribute("id")===dx } } }else{delete ct.find.ID; ct.filter.ID=function(dy){var dx=dy.replace(cy,db); return function(dA){var dz=typeof dA.getAttributeNode!=="undefined"&&dA.getAttributeNode("id"); return dz&&dz.value===dx } } }ct.find.TAG=dn.getElementsByTagName?function(dx,dy){if(typeof dy.getElementsByTagName!=="undefined"){return dy.getElementsByTagName(dx) }else{if(dn.qsa){return dy.querySelectorAll(dx) }}}:function(dx,dB){var dC,dA=[],dz=0,dy=dB.getElementsByTagName(dx); if(dx==="*"){while((dC=dy[dz++])){if(dC.nodeType===1){dA.push(dC) }}return dA }return dy }; ct.find.CLASS=dn.getElementsByClassName&&function(dy,dx){if(typeof dx.getElementsByClassName!=="undefined"&&de){return dx.getElementsByClassName(dy) }}; dl=[]; c9=[]; if((dn.qsa=cV.test(cI.querySelectorAll))){cl(function(dx){cu.appendChild(dx).innerHTML="<a id='"+dg+"'></a><select id='"+dg+"-\r\\' msallowcapture=''><option selected=''></option></select>"; if(dx.querySelectorAll("[msallowcapture^='']").length){c9.push("[*^$]="+cv+"*(?:''|\"\")") }if(!dx.querySelectorAll("[selected]").length){c9.push("\\["+cv+"*(?:value|"+ce+")") }if(!dx.querySelectorAll("[id~="+dg+"-]").length){c9.push("~=") }if(!dx.querySelectorAll(":checked").length){c9.push(":checked") }if(!dx.querySelectorAll("a#"+dg+"+*").length){c9.push(".#.+[+~]") }}); cl(function(dy){var dx=cI.createElement("input"); dx.setAttribute("type","hidden"); dy.appendChild(dx).setAttribute("name","D"); if(dy.querySelectorAll("[name=d]").length){c9.push("name"+cv+"*[*^$|!~]?=") }if(!dy.querySelectorAll(":enabled").length){c9.push(":enabled",":disabled") }dy.querySelectorAll("*,:x"); c9.push(",.*:") }) }if((dn.matchesSelector=cV.test((ck=cu.matches||cu.webkitMatchesSelector||cu.mozMatchesSelector||cu.oMatchesSelector||cu.msMatchesSelector)))){cl(function(dx){dn.disconnectedMatch=ck.call(dx,"div"); ck.call(dx,"[s!='']:x"); dl.push("!=",cq) }) }c9=c9.length&&new RegExp(c9.join("|")); dl=dl.length&&new RegExp(dl.join("|")); i=cV.test(cu.compareDocumentPosition); cL=i||cV.test(cu.contains)?function(dy,dx){var dA=dy.nodeType===9?dy.documentElement:dy,dz=dx&&dx.parentNode; return dy===dz||!!(dz&&dz.nodeType===1&&(dA.contains?dA.contains(dz):dy.compareDocumentPosition&&dy.compareDocumentPosition(dz)&16)) }:function(dy,dx){if(dx){while((dx=dx.parentNode)){if(dx===dy){return true }}}return false }; cK=i?function(dy,dx){if(dy===dx){c3=true; return 0 }var dz=!dy.compareDocumentPosition-!dx.compareDocumentPosition; if(dz){return dz }dz=(dy.ownerDocument||dy)===(dx.ownerDocument||dx)?dy.compareDocumentPosition(dx):1; if(dz&1||(!dn.sortDetached&&dx.compareDocumentPosition(dy)===dz)){if(dy===cI||dy.ownerDocument===cP&&cL(cP,dy)){return -1 }if(dx===cI||dx.ownerDocument===cP&&cL(cP,dx)){return 1 }return cO?(cj(cO,dy)-cj(cO,dx)):0 }return dz&4?-1:1 }:function(dy,dx){if(dy===dx){c3=true; return 0 }var dE,dB=0,dD=dy.parentNode,dA=dx.parentNode,dz=[dy],dC=[dx]; if(!dD||!dA){return dy===cI?-1:dx===cI?1:dD?-1:dA?1:cO?(cj(cO,dy)-cj(cO,dx)):0 }else{if(dD===dA){return cg(dy,dx) }}dE=dy; while((dE=dE.parentNode)){dz.unshift(dE) }dE=dx; while((dE=dE.parentNode)){dC.unshift(dE) }while(dz[dB]===dC[dB]){dB++ }return dB?cg(dz[dB],dC[dB]):dz[dB]===cP?-1:dC[dB]===cP?1:0 }; return cI }; cC.matches=function(du,i){return cC(du,null,null,i) }; cC.matchesSelector=function(du,dw){if((du.ownerDocument||du)!==cI){c5(du) }dw=dw.replace(cz,"='$1']"); if(dn.matchesSelector&&de&&!cM[dw+" "]&&(!dl||!dl.test(dw))&&(!c9||!c9.test(dw))){try{var i=ck.call(du,dw); if(i||dn.disconnectedMatch||du.document&&du.document.nodeType!==11){return i }}catch(dv){}}return cC(dw,cI,null,[du]).length>0 }; cC.contains=function(i,du){if((i.ownerDocument||i)!==cI){c5(i) }return cL(i,du) }; cC.attr=function(dv,i){if((dv.ownerDocument||dv)!==cI){c5(dv) }var du=ct.attrHandle[i.toLowerCase()],dw=du&&cU.call(ct.attrHandle,i.toLowerCase())?du(dv,i,!de):undefined; return dw!==undefined?dw:dn.attributes||!de?dv.getAttribute(i):(dw=dv.getAttributeNode(i))&&dw.specified?dw.value:null }; cC.error=function(i){throw new Error("Syntax error, unrecognized expression: "+i) }; cC.uniqueSort=function(dw){var dx,dy=[],du=0,dv=0; c3=!dn.detectDuplicates; cO=!dn.sortStable&&dw.slice(0); dw.sort(cK); if(c3){while((dx=dw[dv++])){if(dx===dw[dv]){du=dy.push(dv) }}while(du--){dw.splice(dy[du],1) }}cO=null; return dw }; cN=cC.getText=function(dy){var dx,dv="",dw=0,du=dy.nodeType; if(!du){while((dx=dy[dw++])){dv+=cN(dx) }}else{if(du===1||du===9||du===11){if(typeof dy.textContent==="string"){return dy.textContent }else{for(dy=dy.firstChild; dy; dy=dy.nextSibling){dv+=cN(dy) }}}else{if(du===3||du===4){return dy.nodeValue }}}return dv }; ct=cC.selectors={cacheLength:50,createPseudo:cp,match:c8,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(i){i[1]=i[1].replace(cy,db); i[3]=(i[3]||i[4]||i[5]||"").replace(cy,db); if(i[2]==="~="){i[3]=" "+i[3]+" " }return i.slice(0,4) },CHILD:function(i){i[1]=i[1].toLowerCase(); if(i[1].slice(0,3)==="nth"){if(!i[3]){cC.error(i[0]) }i[4]=+(i[4]?i[5]+(i[6]||1):2*(i[3]==="even"||i[3]==="odd")); i[5]=+((i[7]+i[8])||i[3]==="odd") }else{if(i[3]){cC.error(i[0]) }}return i },PSEUDO:function(du){var i,dv=!du[6]&&du[2]; if(c8.CHILD.test(du[0])){return null }if(du[3]){du[2]=du[4]||du[5]||"" }else{if(dv&&cY.test(dv)&&(i=cn(dv,true))&&(i=dv.indexOf(")",dv.length-i)-dv.length)){du[0]=du[0].slice(0,i); du[2]=dv.slice(0,i) }}return du.slice(0,3) }},filter:{TAG:function(du){var i=du.replace(cy,db).toLowerCase(); return du==="*"?function(){return true }:function(dv){return dv.nodeName&&dv.nodeName.toLowerCase()===i } },CLASS:function(i){var du=cf[i+" "]; return du||(du=new RegExp("(^|"+cv+")"+i+"("+cv+"|$)"))&&cf(i,function(dv){return du.test(typeof dv.className==="string"&&dv.className||typeof dv.getAttribute!=="undefined"&&dv.getAttribute("class")||"") }) },ATTR:function(dv,du,i){return function(dx){var dw=cC.attr(dx,dv); if(dw==null){return du==="!=" }if(!du){return true }dw+=""; return du==="="?dw===i:du==="!="?dw!==i:du==="^="?i&&dw.indexOf(i)===0:du==="*="?i&&dw.indexOf(i)>-1:du==="$="?i&&dw.slice(-i.length)===i:du==="~="?(" "+dw.replace(cA," ")+" ").indexOf(i)>-1:du==="|="?dw===i||dw.slice(0,i.length+1)===i+"-":false } },CHILD:function(du,dx,dw,dy,dv){var dA=du.slice(0,3)!=="nth",i=du.slice(-4)!=="last",dz=dx==="of-type"; return dy===1&&dv===0?function(dB){return !!dB.parentNode }:function(dI,dG,dL){var dB,dE,dO,dJ,dK,dF,dH=dA!==i?"nextSibling":"previousSibling",dN=dI.parentNode,dD=dz&&dI.nodeName.toLowerCase(),dC=!dL&&!dz,dM=false; if(dN){if(dA){while(dH){dJ=dI; while((dJ=dJ[dH])){if(dz?dJ.nodeName.toLowerCase()===dD:dJ.nodeType===1){return false }}dF=dH=du==="only"&&!dF&&"nextSibling" }return true }dF=[i?dN.firstChild:dN.lastChild]; if(i&&dC){dJ=dN; dO=dJ[dg]||(dJ[dg]={}); dE=dO[dJ.uniqueID]||(dO[dJ.uniqueID]={}); dB=dE[du]||[]; dK=dB[0]===dp&&dB[1]; dM=dK&&dB[2]; dJ=dK&&dN.childNodes[dK]; while((dJ=++dK&&dJ&&dJ[dH]||(dM=dK=0)||dF.pop())){if(dJ.nodeType===1&&++dM&&dJ===dI){dE[du]=[dp,dK,dM]; break }}}else{if(dC){dJ=dI; dO=dJ[dg]||(dJ[dg]={}); dE=dO[dJ.uniqueID]||(dO[dJ.uniqueID]={}); dB=dE[du]||[]; dK=dB[0]===dp&&dB[1]; dM=dK }if(dM===false){while((dJ=++dK&&dJ&&dJ[dH]||(dM=dK=0)||dF.pop())){if((dz?dJ.nodeName.toLowerCase()===dD:dJ.nodeType===1)&&++dM){if(dC){dO=dJ[dg]||(dJ[dg]={}); dE=dO[dJ.uniqueID]||(dO[dJ.uniqueID]={}); dE[du]=[dp,dM] }if(dJ===dI){break }}}}}dM-=dv; return dM===dy||(dM%dy===0&&dM/dy>=0) }} },PSEUDO:function(dw,dv){var i,du=ct.pseudos[dw]||ct.setFilters[dw.toLowerCase()]||cC.error("unsupported pseudo: "+dw); if(du[dg]){return du(dv) }if(du.length>1){i=[dw,dw,"",dv]; return ct.setFilters.hasOwnProperty(dw.toLowerCase())?cp(function(dz,dB){var dy,dx=du(dz,dv),dA=dx.length; while(dA--){dy=cj(dz,dx[dA]); dz[dy]=!(dB[dy]=dx[dA]) }}):function(dx){return du(dx,0,i) } }return du }},pseudos:{not:cp(function(i){var du=[],dv=[],dw=c2(i.replace(cx,"$1")); return dw[dg]?cp(function(dy,dD,dB,dz){var dC,dx=dw(dy,null,dz,[]),dA=dy.length; while(dA--){if((dC=dx[dA])){dy[dA]=!(dD[dA]=dC) }}}):function(dz,dy,dx){du[0]=dz; dw(du,null,dx,dv); du[0]=null; return !dv.pop() } }),has:cp(function(i){return function(du){return cC(i,du).length>0 } }),contains:cp(function(i){i=i.replace(cy,db); return function(du){return(du.textContent||du.innerText||cN(du)).indexOf(i)>-1 } }),lang:cp(function(i){if(!c0.test(i||"")){cC.error("unsupported lang: "+i) }i=i.replace(cy,db).toLowerCase(); return function(dv){var du; do{if((du=de?dv.lang:dv.getAttribute("xml:lang")||dv.getAttribute("lang"))){du=du.toLowerCase(); return du===i||du.indexOf(i+"-")===0 }}while((dv=dv.parentNode)&&dv.nodeType===1); return false } }),target:function(i){var du=dk.location&&dk.location.hash; return du&&du.slice(1)===i.id },root:function(i){return i===cu },focus:function(i){return i===cI.activeElement&&(!cI.hasFocus||cI.hasFocus())&&!!(i.type||i.href||~i.tabIndex) },enabled:function(i){return i.disabled===false },disabled:function(i){return i.disabled===true },checked:function(i){var du=i.nodeName.toLowerCase(); return(du==="input"&&!!i.checked)||(du==="option"&&!!i.selected) },selected:function(i){if(i.parentNode){i.parentNode.selectedIndex }return i.selected===true },empty:function(i){for(i=i.firstChild; i; i=i.nextSibling){if(i.nodeType<6){return false }}return true },parent:function(i){return !ct.pseudos.empty(i) },header:function(i){return cr.test(i.nodeName) },input:function(i){return ci.test(i.nodeName) },button:function(du){var i=du.nodeName.toLowerCase(); return i==="input"&&du.type==="button"||i==="button" },text:function(du){var i; return du.nodeName.toLowerCase()==="input"&&du.type==="text"&&((i=du.getAttribute("type"))==null||i.toLowerCase()==="text") },first:dd(function(){return[0] }),last:dd(function(i,du){return[du-1] }),eq:dd(function(i,dv,du){return[du<0?du+dv:du] }),even:dd(function(du,dw){var dv=0; for(; dv<dw; dv+=2){du.push(dv) }return du }),odd:dd(function(du,dw){var dv=1; for(; dv<dw; dv+=2){du.push(dv) }return du }),lt:dd(function(du,dx,dw){var dv=dw<0?dw+dx:dw; for(; --dv>=0; ){du.push(dv) }return du }),gt:dd(function(du,dx,dw){var dv=dw<0?dw+dx:dw; for(; ++dv<dx; ){du.push(dv) }return du })}}; ct.pseudos.nth=ct.pseudos.eq; for(cE in {radio:true,checkbox:true,file:true,password:true,image:true}){ct.pseudos[cE]=cD(cE) }for(cE in {submit:true,reset:true}){ct.pseudos[cE]=ch(cE) }function c1(){}c1.prototype=ct.filters=ct.pseudos; ct.setFilters=new c1(); cn=cC.tokenize=function(dx,dC){var du,dy,dA,dB,dz,dv,i,dw=df[dx+" "]; if(dw){return dC?0:dw.slice(0) }dz=dx; dv=[]; i=ct.preFilter; while(dz){if(!du||(dy=cB.exec(dz))){if(dy){dz=dz.slice(dy[0].length)||dz }dv.push((dA=[])) }du=false; if((dy=cH.exec(dz))){du=dy.shift(); dA.push({value:du,type:dy[0].replace(cx," ")}); dz=dz.slice(du.length) }for(dB in ct.filter){if((dy=c8[dB].exec(dz))&&(!i[dB]||(dy=i[dB](dy)))){du=dy.shift(); dA.push({value:du,type:dB,matches:dy}); dz=dz.slice(du.length) }}if(!du){break }}return dC?dz.length:dz?cC.error(dx):df(dx,dv).slice(0) }; function co(dx){var dw=0,dv=dx.length,du=""; for(; dw<dv; dw++){du+=dx[dw].value }return du }function cw(dx,dv,dw){var i=dv.dir,dy=dw&&i==="parentNode",du=da++; return dv.first?function(dB,dA,dz){while((dB=dB[i])){if(dB.nodeType===1||dy){return dx(dB,dA,dz) }}}:function(dE,dC,dB){var dF,dz,dD,dA=[dp,du]; if(dB){while((dE=dE[i])){if(dE.nodeType===1||dy){if(dx(dE,dC,dB)){return true }}}}else{while((dE=dE[i])){if(dE.nodeType===1||dy){dD=dE[dg]||(dE[dg]={}); dz=dD[dE.uniqueID]||(dD[dE.uniqueID]={}); if((dF=dz[i])&&dF[0]===dp&&dF[1]===du){return(dA[2]=dF[2]) }else{dz[i]=dA; if((dA[2]=dx(dE,dC,dB))){return true }}}}}} }function dr(i){return i.length>1?function(dx,dw,du){var dv=i.length; while(dv--){if(!i[dv](dx,dw,du)){return false }}return true }:i[0] }function cF(dv,dy,dx){var dw=0,du=dy.length; for(; dw<du; dw++){cC(dv,dy[dw],dx) }return dx }function c6(du,dv,dw,dx,dA){var dy,dD=[],dz=0,dB=du.length,dC=dv!=null; for(; dz<dB; dz++){if((dy=du[dz])){if(!dw||dw(dy,dx,dA)){dD.push(dy); if(dC){dv.push(dz) }}}}return dD }function cm(dv,du,dx,dw,dy,i){if(dw&&!dw[dg]){dw=cm(dw) }if(dy&&!dy[dg]){dy=cm(dy,i) }return cp(function(dJ,dG,dB,dI){var dL,dH,dD,dC=[],dK=[],dA=dG.length,dz=dJ||cF(du||"*",dB.nodeType?[dB]:dB,[]),dE=dv&&(dJ||!du)?c6(dz,dC,dv,dB,dI):dz,dF=dx?dy||(dJ?dv:dA||dw)?[]:dG:dE; if(dx){dx(dE,dF,dB,dI) }if(dw){dL=c6(dF,dK); dw(dL,[],dB,dI); dH=dL.length; while(dH--){if((dD=dL[dH])){dF[dK[dH]]=!(dE[dK[dH]]=dD) }}}if(dJ){if(dy||dv){if(dy){dL=[]; dH=dF.length; while(dH--){if((dD=dF[dH])){dL.push((dE[dH]=dD)) }}dy(null,(dF=[]),dL,dI) }dH=dF.length; while(dH--){if((dD=dF[dH])&&(dL=dy?cj(dJ,dD):dC[dH])>-1){dJ[dL]=!(dG[dL]=dD) }}}}else{dF=c6(dF===dG?dF.splice(dA,dF.length):dF); if(dy){dy(null,dG,dF,dI) }else{cd.apply(dG,dF) }}}) }function dh(dA){var dv,dy,dw,dz=dA.length,dD=ct.relative[dA[0].type],dE=dD||ct.relative[" "],dx=dD?1:0,dB=cw(function(i){return i===dv },dE,true),dC=cw(function(i){return cj(dv,i)>-1 },dE,true),du=[function(dH,dG,dF){var i=(!dD&&(dF||dG!==dt))||((dv=dG).nodeType?dB(dH,dG,dF):dC(dH,dG,dF)); dv=null; return i }]; for(; dx<dz; dx++){if((dy=ct.relative[dA[dx].type])){du=[cw(dr(du),dy)] }else{dy=ct.filter[dA[dx].type].apply(null,dA[dx].matches); if(dy[dg]){dw=++dx; for(; dw<dz; dw++){if(ct.relative[dA[dw].type]){break }}return cm(dx>1&&dr(du),dx>1&&co(dA.slice(0,dx-1).concat({value:dA[dx-2].type===" "?"*":""})).replace(cx,"$1"),dy,dx<dw&&dh(dA.slice(dx,dw)),dw<dz&&dh((dA=dA.slice(dw))),dw<dz&&co(dA)) }du.push(dy) }}return dr(du) }function c4(dw,dv){var i=dv.length>0,dx=dw.length>0,du=function(dH,dB,dG,dF,dK){var dC,dD,dI,dM=0,dE="0",dy=dH&&[],dN=[],dL=dt,dA=dH||dx&&ct.find.TAG("*",dK),dz=(dp+=dL==null?1:Math.random()||0.1),dJ=dA.length; if(dK){dt=dB===cI||dB||dK }for(; dE!==dJ&&(dC=dA[dE])!=null; dE++){if(dx&&dC){dD=0; if(!dB&&dC.ownerDocument!==cI){c5(dC); dG=!de }while((dI=dw[dD++])){if(dI(dC,dB||cI,dG)){dF.push(dC); break }}if(dK){dp=dz }}if(i){if((dC=!dI&&dC)){dM-- }if(dH){dy.push(dC) }}}dM+=dE; if(i&&dE!==dM){dD=0; while((dI=dv[dD++])){dI(dy,dN,dB,dG) }if(dH){if(dM>0){while(dE--){if(!(dy[dE]||dN[dE])){dN[dE]=dj.call(dF) }}}dN=c6(dN) }cd.apply(dF,dN); if(dK&&!dH&&dN.length>0&&(dM+dv.length)>1){cC.uniqueSort(dF) }}if(dK){dp=dz; dt=dL }return dy }; return i?cp(du):du }c2=cC.compile=function(du,dw){var dx,dv=[],dz=[],dy=cM[du+" "]; if(!dy){if(!dw){dw=cn(du) }dx=dw.length; while(dx--){dy=dh(dw[dx]); if(dy[dg]){dv.push(dy) }else{dz.push(dy) }}dy=cM(du,c4(dz,dv)); dy.selector=du }return dy }; dm=cC.select=function(dw,du,dx,dA){var dy,dD,dv,dE,dB,dC=typeof dw==="function"&&dw,dz=!dA&&cn((dw=dC.selector||dw)); dx=dx||[]; if(dz.length===1){dD=dz[0]=dz[0].slice(0); if(dD.length>2&&(dv=dD[0]).type==="ID"&&dn.getById&&du.nodeType===9&&de&&ct.relative[dD[1].type]){du=(ct.find.ID(dv.matches[0].replace(cy,db),du)||[])[0]; if(!du){return dx }else{if(dC){du=du.parentNode }}dw=dw.slice(dD.shift().value.length) }dy=c8.needsContext.test(dw)?0:dD.length; while(dy--){dv=dD[dy]; if(ct.relative[(dE=dv.type)]){break }if((dB=ct.find[dE])){if((dA=dB(dv.matches[0].replace(cy,db),c7.test(dD[0].type)&&cZ(du.parentNode)||du))){dD.splice(dy,1); dw=dA.length&&co(dD); if(!dw){cd.apply(dx,dA); return dx }break }}}}(dC||c2(dw,dz))(dA,du,!de,dx,!du||c7.test(dw)&&cZ(du.parentNode)||du); return dx }; dn.sortStable=dg.split("").sort(cK).join("")===dg; dn.detectDuplicates=!!c3; c5(); dn.sortDetached=cl(function(i){return i.compareDocumentPosition(cI.createElement("div"))&1 }); if(!cl(function(i){i.innerHTML="<a href='#'></a>"; return i.firstChild.getAttribute("href")==="#" })){dq("type|href|height|width",function(du,i,dv){if(!dv){return du.getAttribute(i,i.toLowerCase()==="type"?1:2) }}) }if(!dn.attributes||!cl(function(i){i.innerHTML="<input/>"; i.firstChild.setAttribute("value",""); return i.firstChild.getAttribute("value")==="" })){dq("value",function(du,i,dv){if(!dv&&du.nodeName.toLowerCase()==="input"){return du.defaultValue }}) }if(!cl(function(i){return i.getAttribute("disabled")==null })){dq(ce,function(du,i,dw){var dv; if(!dw){return du[i]===true?i.toLowerCase():(dv=du.getAttributeNode(i))&&dv.specified?dv.value:null }}) }return cC })(bc); bP.find=l; bP.expr=l.selectors; bP.expr[":"]=bP.expr.pseudos; bP.uniqueSort=bP.unique=l.uniqueSort; bP.text=l.getText; bP.isXMLDoc=l.isXML; bP.contains=l.contains; var af=function(cf,cd,cg){var i=[],ce=cg!==undefined; while((cf=cf[cd])&&cf.nodeType!==9){if(cf.nodeType===1){if(ce&&bP(cf).is(cg)){break }i.push(cf) }}return i }; var o=function(ce,cd){var i=[]; for(; ce; ce=ce.nextSibling){if(ce.nodeType===1&&ce!==cd){i.push(ce) }}return i }; var z=bP.expr.match.needsContext; var a=(/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/); var aR=/^.[^:#\[\.,]*$/; function aY(ce,i,cd){if(bP.isFunction(i)){return bP.grep(ce,function(cg,cf){return !!i.call(cg,cf,cg)!==cd }) }if(i.nodeType){return bP.grep(ce,function(cf){return(cf===i)!==cd }) }if(typeof i==="string"){if(aR.test(i)){return bP.filter(i,ce,cd) }i=bP.filter(i,ce) }return bP.grep(ce,function(cf){return(bP.inArray(cf,i)>-1)!==cd }) }bP.filter=function(cf,i,ce){var cd=i[0]; if(ce){cf=":not("+cf+")" }return i.length===1&&cd.nodeType===1?bP.find.matchesSelector(cd,cf)?[cd]:[]:bP.find.matches(cf,bP.grep(i,function(cg){return cg.nodeType===1 })) }; bP.fn.extend({find:function(ce){var ch,cg=[],cf=this,cd=cf.length; if(typeof ce!=="string"){return this.pushStack(bP(ce).filter(function(){for(ch=0; ch<cd; ch++){if(bP.contains(cf[ch],this)){return true }}})) }for(ch=0; ch<cd; ch++){bP.find(ce,cf[ch],cg) }cg=this.pushStack(cd>1?bP.unique(cg):cg); cg.selector=this.selector?this.selector+" "+ce:ce; return cg },filter:function(i){return this.pushStack(aY(this,i||[],false)) },not:function(i){return this.pushStack(aY(this,i||[],true)) },is:function(i){return !!aY(this,typeof i==="string"&&z.test(i)?bP(i):i||[],false).length }}); var y,bA=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,b3=bP.fn.init=function(i,cf,cd){var ce,cg; if(!i){return this }cd=cd||y; if(typeof i==="string"){if(i.charAt(0)==="<"&&i.charAt(i.length-1)===">"&&i.length>=3){ce=[null,i,null] }else{ce=bA.exec(i) }if(ce&&(ce[1]||!cf)){if(ce[1]){cf=cf instanceof bP?cf[0]:cf; bP.merge(this,bP.parseHTML(ce[1],cf&&cf.nodeType?cf.ownerDocument||cf:m,true)); if(a.test(ce[1])&&bP.isPlainObject(cf)){for(ce in cf){if(bP.isFunction(this[ce])){this[ce](cf[ce]) }else{this.attr(ce,cf[ce]) }}}return this }else{cg=m.getElementById(ce[2]); if(cg&&cg.parentNode){if(cg.id!==ce[2]){return y.find(i) }this.length=1; this[0]=cg }this.context=m; this.selector=i; return this }}else{if(!cf||cf.jquery){return(cf||cd).find(i) }else{return this.constructor(cf).find(i) }}}else{if(i.nodeType){this.context=this[0]=i; this.length=1; return this }else{if(bP.isFunction(i)){return typeof cd.ready!=="undefined"?cd.ready(i):i(bP) }}}if(i.selector!==undefined){this.selector=i.selector; this.context=i.context }return bP.makeArray(i,this) }; b3.prototype=bP.fn; y=bP(m); var bC=/^(?:parents|prev(?:Until|All))/,bG={children:true,contents:true,next:true,prev:true}; bP.fn.extend({has:function(cg){var cf,ce=bP(cg,this),cd=ce.length; return this.filter(function(){for(cf=0; cf<cd; cf++){if(bP.contains(this,ce[cf])){return true }}}) },closest:function(ch,cg){var ci,cf=0,ce=this.length,cd=[],cj=z.test(ch)||typeof ch!=="string"?bP(ch,cg||this.context):0; for(; cf<ce; cf++){for(ci=this[cf]; ci&&ci!==cg; ci=ci.parentNode){if(ci.nodeType<11&&(cj?cj.index(ci)>-1:ci.nodeType===1&&bP.find.matchesSelector(ci,ch))){cd.push(ci); break }}}return this.pushStack(cd.length>1?bP.uniqueSort(cd):cd) },index:function(i){if(!i){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1 }if(typeof i==="string"){return bP.inArray(this[0],bP(i)) }return bP.inArray(i.jquery?i[0]:i,this) },add:function(i,cd){return this.pushStack(bP.uniqueSort(bP.merge(this.get(),bP(i,cd)))) },addBack:function(i){return this.add(i==null?this.prevObject:this.prevObject.filter(i)) }}); function a6(cd,i){do{cd=cd[i] }while(cd&&cd.nodeType!==1); return cd }bP.each({parent:function(cd){var i=cd.parentNode; return i&&i.nodeType!==11?i:null },parents:function(i){return af(i,"parentNode") },parentsUntil:function(ce,cd,cf){return af(ce,"parentNode",cf) },next:function(i){return a6(i,"nextSibling") },prev:function(i){return a6(i,"previousSibling") },nextAll:function(i){return af(i,"nextSibling") },prevAll:function(i){return af(i,"previousSibling") },nextUntil:function(ce,cd,cf){return af(ce,"nextSibling",cf) },prevUntil:function(ce,cd,cf){return af(ce,"previousSibling",cf) },siblings:function(i){return o((i.parentNode||{}).firstChild,i) },children:function(i){return o(i.firstChild) },contents:function(i){return bP.nodeName(i,"iframe")?i.contentDocument||i.contentWindow.document:bP.merge([],i.childNodes) }},function(i,cd){bP.fn[i]=function(cg,ce){var cf=bP.map(this,cd,cg); if(i.slice(-5)!=="Until"){ce=cg }if(ce&&typeof ce==="string"){cf=bP.filter(ce,cf) }if(this.length>1){if(!bG[i]){cf=bP.uniqueSort(cf) }if(bC.test(i)){cf=cf.reverse() }}return this.pushStack(cf) } }); var aM=(/\S+/g); function am(cd){var i={}; bP.each(cd.match(aM)||[],function(cf,ce){i[ce]=true }); return i }bP.Callbacks=function(cl){cl=typeof cl==="string"?am(cl):bP.extend({},cl); var cg,ce,i,cf,cj=[],ch=[],ci=-1,cd=function(){cf=cl.once; i=cg=true; for(; ch.length; ci=-1){ce=ch.shift(); while(++ci<cj.length){if(cj[ci].apply(ce[0],ce[1])===false&&cl.stopOnFalse){ci=cj.length; ce=false }}}if(!cl.memory){ce=false }cg=false; if(cf){if(ce){cj=[] }else{cj="" }}},ck={add:function(){if(cj){if(ce&&!cg){ci=cj.length-1; ch.push(ce) }(function cm(cn){bP.each(cn,function(cp,co){if(bP.isFunction(co)){if(!cl.unique||!ck.has(co)){cj.push(co) }}else{if(co&&co.length&&bP.type(co)!=="string"){cm(co) }}}) })(arguments); if(ce&&!cg){cd() }}return this },remove:function(){bP.each(arguments,function(co,cm){var cn; while((cn=bP.inArray(cm,cj,cn))>-1){cj.splice(cn,1); if(cn<=ci){ci-- }}}); return this },has:function(cm){return cm?bP.inArray(cm,cj)>-1:cj.length>0 },empty:function(){if(cj){cj=[] }return this },disable:function(){cf=ch=[]; cj=ce=""; return this },disabled:function(){return !cj },lock:function(){cf=true; if(!ce){ck.disable() }return this },locked:function(){return !!cf },fireWith:function(cn,cm){if(!cf){cm=cm||[]; cm=[cn,cm.slice?cm.slice():cm]; ch.push(cm); if(!cg){cd() }}return this },fire:function(){ck.fireWith(this,arguments); return this },fired:function(){return !!i }}; return ck }; bP.extend({Deferred:function(ce){var cd=[["resolve","done",bP.Callbacks("once memory"),"resolved"],["reject","fail",bP.Callbacks("once memory"),"rejected"],["notify","progress",bP.Callbacks("memory")]],cf="pending",cg={state:function(){return cf },always:function(){i.done(arguments).fail(arguments); return this },then:function(){var ch=arguments; return bP.Deferred(function(ci){bP.each(cd,function(ck,cj){var cl=bP.isFunction(ch[ck])&&ch[ck]; i[cj[1]](function(){var cm=cl&&cl.apply(this,arguments); if(cm&&bP.isFunction(cm.promise)){cm.promise().progress(ci.notify).done(ci.resolve).fail(ci.reject) }else{ci[cj[0]+"With"](this===cg?ci.promise():this,cl?[cm]:arguments) }}) }); ch=null }).promise() },promise:function(ch){return ch!=null?bP.extend(ch,cg):cg }},i={}; cg.pipe=cg.then; bP.each(cd,function(ci,ch){var ck=ch[2],cj=ch[3]; cg[ch[1]]=ck.add; if(cj){ck.add(function(){cf=cj },cd[ci^1][2].disable,cd[2][2].lock) }i[ch[0]]=function(){i[ch[0]+"With"](this===i?cg:this,arguments); return this }; i[ch[0]+"With"]=ck.fireWith }); cg.promise(i); if(ce){ce.call(i,i) }return i },when:function(ch){var cf=0,cj=X.call(arguments),cd=cj.length,ce=cd!==1||(ch&&bP.isFunction(ch.promise))?cd:0,cm=ce===1?ch:bP.Deferred(),cg=function(co,cp,cn){return function(i){cp[co]=this; cn[co]=arguments.length>1?X.call(arguments):i; if(cn===cl){cm.notifyWith(cp,cn) }else{if(!(--ce)){cm.resolveWith(cp,cn) }}} },cl,ci,ck; if(cd>1){cl=new Array(cd); ci=new Array(cd); ck=new Array(cd); for(; cf<cd; cf++){if(cj[cf]&&bP.isFunction(cj[cf].promise)){cj[cf].promise().progress(cg(cf,ci,cl)).done(cg(cf,ck,cj)).fail(cm.reject) }else{--ce }}}if(!ce){cm.resolveWith(ck,cj) }return cm.promise() }}); var ar; bP.fn.ready=function(i){bP.ready.promise().done(i); return this }; bP.extend({isReady:false,readyWait:1,holdReady:function(i){if(i){bP.readyWait++ }else{bP.ready(true) }},ready:function(i){if(i===true?--bP.readyWait:bP.isReady){return }bP.isReady=true; if(i!==true&&--bP.readyWait>0){return }ar.resolveWith(m,[bP]); if(bP.fn.triggerHandler){bP(m).triggerHandler("ready"); bP(m).off("ready") }}}); function bt(){if(m.addEventListener){m.removeEventListener("DOMContentLoaded",b7); bc.removeEventListener("load",b7) }else{m.detachEvent("onreadystatechange",b7); bc.detachEvent("onload",b7) }}function b7(){if(m.addEventListener||bc.event.type==="load"||m.readyState==="complete"){bt(); bP.ready() }}bP.ready.promise=function(cf){if(!ar){ar=bP.Deferred(); if(m.readyState==="complete"||(m.readyState!=="loading"&&!m.documentElement.doScroll)){bc.setTimeout(bP.ready) }else{if(m.addEventListener){m.addEventListener("DOMContentLoaded",b7); bc.addEventListener("load",b7) }else{m.attachEvent("onreadystatechange",b7); bc.attachEvent("onload",b7); var ce=false; try{ce=bc.frameElement==null&&m.documentElement }catch(cd){}if(ce&&ce.doScroll){(function i(){if(!bP.isReady){try{ce.doScroll("left") }catch(cg){return bc.setTimeout(i,50) }bt(); bP.ready() }})() }}}}return ar.promise(cf) }; bP.ready.promise(); var bo; for(bo in bP(F)){break }F.ownFirst=bo==="0"; F.inlineBlockNeedsLayout=false; bP(function(){var ce,cf,i,cd; i=m.getElementsByTagName("body")[0]; if(!i||!i.style){return }cf=m.createElement("div"); cd=m.createElement("div"); cd.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; i.appendChild(cd).appendChild(cf); if(typeof cf.style.zoom!=="undefined"){cf.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1"; F.inlineBlockNeedsLayout=ce=cf.offsetWidth===3; if(ce){i.style.zoom=1 }}i.removeChild(cd) }); (function(){var cd=m.createElement("div"); F.deleteExpando=true; try{delete cd.test }catch(i){F.deleteExpando=false }cd=null })(); var V=function(ce){var cd=bP.noData[(ce.nodeName+" ").toLowerCase()],i=+ce.nodeType||1; return i!==1&&i!==9?false:!cd||cd!==true&&ce.getAttribute("classid")===cd }; var bF=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,aX=/([A-Z])/g; function bH(ce,cd,cf){if(cf===undefined&&ce.nodeType===1){var i="data-"+cd.replace(aX,"-$1").toLowerCase(); cf=ce.getAttribute(i); if(typeof cf==="string"){try{cf=cf==="true"?true:cf==="false"?false:cf==="null"?null:+cf+""===cf?+cf:bF.test(cf)?bP.parseJSON(cf):cf }catch(cg){}bP.data(ce,cd,cf) }else{cf=undefined }}return cf }function Y(cd){var i; for(i in cd){if(i==="data"&&bP.isEmptyObject(cd[i])){continue }if(i!=="toJSON"){return false }}return true }function bj(cf,cd,ch,cg){if(!V(cf)){return }var cj,ci,ck=bP.expando,cl=cf.nodeType,i=cl?bP.cache:cf,ce=cl?cf[ck]:cf[ck]&&ck; if((!ce||!i[ce]||(!cg&&!i[ce].data))&&ch===undefined&&typeof cd==="string"){return }if(!ce){if(cl){ce=cf[ck]=aW.pop()||bP.guid++ }else{ce=ck }}if(!i[ce]){i[ce]=cl?{}:{toJSON:bP.noop} }if(typeof cd==="object"||typeof cd==="function"){if(cg){i[ce]=bP.extend(i[ce],cd) }else{i[ce].data=bP.extend(i[ce].data,cd) }}ci=i[ce]; if(!cg){if(!ci.data){ci.data={} }ci=ci.data }if(ch!==undefined){ci[bP.camelCase(cd)]=ch }if(typeof cd==="string"){cj=ci[cd]; if(cj==null){cj=ci[bP.camelCase(cd)] }}else{cj=ci }return cj }function aj(ch,cf,cd){if(!V(ch)){return }var cj,cg,ci=ch.nodeType,ce=ci?bP.cache:ch,ck=ci?ch[bP.expando]:bP.expando; if(!ce[ck]){return }if(cf){cj=cd?ce[ck]:ce[ck].data; if(cj){if(!bP.isArray(cf)){if(cf in cj){cf=[cf] }else{cf=bP.camelCase(cf); if(cf in cj){cf=[cf] }else{cf=cf.split(" ") }}}else{cf=cf.concat(bP.map(cf,bP.camelCase)) }cg=cf.length; while(cg--){delete cj[cf[cg]] }if(cd?!Y(cj):!bP.isEmptyObject(cj)){return }}}if(!cd){delete ce[ck].data; if(!Y(ce[ck])){return }}if(ci){bP.cleanData([ch],true) }else{if(F.deleteExpando||ce!=ce.window){delete ce[ck] }else{ce[ck]=undefined }}}bP.extend({cache:{},noData:{"applet ":true,"embed ":true,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(i){i=i.nodeType?bP.cache[i[bP.expando]]:i[bP.expando]; return !!i&&!Y(i) },data:function(cd,i,ce){return bj(cd,i,ce) },removeData:function(cd,i){return aj(cd,i) },_data:function(cd,i,ce){return bj(cd,i,ce,true) },_removeData:function(cd,i){return aj(cd,i,true) }}); bP.fn.extend({data:function(cg,cj){var cf,ce,ci,ch=this[0],cd=ch&&ch.attributes; if(cg===undefined){if(this.length){ci=bP.data(ch); if(ch.nodeType===1&&!bP._data(ch,"parsedAttrs")){cf=cd.length; while(cf--){if(cd[cf]){ce=cd[cf].name; if(ce.indexOf("data-")===0){ce=bP.camelCase(ce.slice(5)); bH(ch,ce,ci[ce]) }}}bP._data(ch,"parsedAttrs",true) }}return ci }if(typeof cg==="object"){return this.each(function(){bP.data(this,cg) }) }return arguments.length>1?this.each(function(){bP.data(this,cg,cj) }):ch?bH(ch,cg,bP.data(ch,cg)):undefined },removeData:function(i){return this.each(function(){bP.removeData(this,i) }) }}); bP.extend({queue:function(ce,cd,cf){var i; if(ce){cd=(cd||"fx")+"queue"; i=bP._data(ce,cd); if(cf){if(!i||bP.isArray(cf)){i=bP._data(ce,cd,bP.makeArray(cf)) }else{i.push(cf) }}return i||[] }},dequeue:function(ch,cg){cg=cg||"fx"; var cd=bP.queue(ch,cg),ci=cd.length,cf=cd.shift(),i=bP._queueHooks(ch,cg),ce=function(){bP.dequeue(ch,cg) }; if(cf==="inprogress"){cf=cd.shift(); ci-- }if(cf){if(cg==="fx"){cd.unshift("inprogress") }delete i.stop; cf.call(ch,ce,i) }if(!ci&&i){i.empty.fire() }},_queueHooks:function(ce,cd){var i=cd+"queueHooks"; return bP._data(ce,i)||bP._data(ce,i,{empty:bP.Callbacks("once memory").add(function(){bP._removeData(ce,cd+"queue"); bP._removeData(ce,i) })}) }}); bP.fn.extend({queue:function(i,cd){var ce=2; if(typeof i!=="string"){cd=i; i="fx"; ce-- }if(arguments.length<ce){return bP.queue(this[0],i) }return cd===undefined?this:this.each(function(){var cf=bP.queue(this,i,cd); bP._queueHooks(this,i); if(i==="fx"&&cf[0]!=="inprogress"){bP.dequeue(this,i) }}) },dequeue:function(i){return this.each(function(){bP.dequeue(this,i) }) },clearQueue:function(i){return this.queue(i||"fx",[]) },promise:function(cf,cj){var ce,cg=1,ck=bP.Deferred(),ci=this,cd=this.length,ch=function(){if(!(--cg)){ck.resolveWith(ci,[ci]) }}; if(typeof cf!=="string"){cj=cf; cf=undefined }cf=cf||"fx"; while(cd--){ce=bP._data(ci[cd],cf+"queueHooks"); if(ce&&ce.empty){cg++; ce.empty.add(ch) }}ch(); return ck.promise(cj) }}); (function(){var i; F.shrinkWrapBlocks=function(){if(i!=null){return i }i=false; var cf,cd,ce; cd=m.getElementsByTagName("body")[0]; if(!cd||!cd.style){return }cf=m.createElement("div"); ce=m.createElement("div"); ce.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; cd.appendChild(ce).appendChild(cf); if(typeof cf.style.zoom!=="undefined"){cf.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1"; cf.appendChild(m.createElement("div")).style.width="5px"; i=cf.offsetWidth!==3 }cd.removeChild(ce); return i } })(); var aL=(/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; var b6=new RegExp("^(?:([+-])=|)("+aL+")([a-z%]*)$","i"); var b0=["Top","Right","Bottom","Left"]; var aa=function(cd,i){cd=i||cd; return bP.css(cd,"display")==="none"||!bP.contains(cd.ownerDocument,cd) }; function A(cd,i,cg,cl){var cm,ce=1,ci=20,ck=cl?function(){return cl.cur() }:function(){return bP.css(cd,i,"") },ch=ck(),cj=cg&&cg[3]||(bP.cssNumber[i]?"":"px"),cf=(bP.cssNumber[i]||cj!=="px"&&+ch)&&b6.exec(bP.css(cd,i)); if(cf&&cf[3]!==cj){cj=cj||cf[3]; cg=cg||[]; cf=+ch||1; do{ce=ce||".5"; cf=cf/ce; bP.style(cd,i,cf+cj) }while(ce!==(ce=ck()/ch)&&ce!==1&&--ci) }if(cg){cf=+cf||+ch||0; cm=cg[1]?cf+(cg[1]+1)*cg[2]:+cg[2]; if(cl){cl.unit=cj; cl.start=cf; cl.end=cm }}return cm }var aJ=function(cd,ci,ck,cj,cg,cm,cl){var cf=0,ce=cd.length,ch=ck==null; if(bP.type(ck)==="object"){cg=true; for(cf in ck){aJ(cd,ci,cf,ck[cf],true,cm,cl) }}else{if(cj!==undefined){cg=true; if(!bP.isFunction(cj)){cl=true }if(ch){if(cl){ci.call(cd,cj); ci=null }else{ch=ci; ci=function(cn,i,co){return ch.call(bP(cn),co) } }}if(ci){for(; cf<ce; cf++){ci(cd[cf],ck,cl?cj:cj.call(cd[cf],cf,ci(cd[cf],ck))) }}}}return cg?cd:ch?ci.call(cd):ce?ci(cd[0],ck):cm }; var aS=(/^(?:checkbox|radio)$/i); var n=(/<([\w:-]+)/); var bI=(/^$|\/(?:java|ecma)script/i); var cc=(/^\s+/); var d="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video"; function C(i){var ce=d.split("|"),cd=i.createDocumentFragment(); if(cd.createElement){while(ce.length){cd.createElement(ce.pop()) }}return cd }(function(){var ce=m.createElement("div"),cd=m.createDocumentFragment(),i=m.createElement("input"); ce.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; F.leadingWhitespace=ce.firstChild.nodeType===3; F.tbody=!ce.getElementsByTagName("tbody").length; F.htmlSerialize=!!ce.getElementsByTagName("link").length; F.html5Clone=m.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>"; i.type="checkbox"; i.checked=true; cd.appendChild(i); F.appendChecked=i.checked; ce.innerHTML="<textarea>x</textarea>"; F.noCloneChecked=!!ce.cloneNode(true).lastChild.defaultValue; cd.appendChild(ce); i=m.createElement("input"); i.setAttribute("type","radio"); i.setAttribute("checked","checked"); i.setAttribute("name","t"); ce.appendChild(i); F.checkClone=ce.cloneNode(true).cloneNode(true).lastChild.checked; F.noCloneEvent=!!ce.addEventListener; ce[bP.expando]=1; F.attributes=!ce.getAttribute(bP.expando) })(); var ad={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:F.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]}; ad.optgroup=ad.option; ad.tbody=ad.tfoot=ad.colgroup=ad.caption=ad.thead; ad.th=ad.td; function k(cg,cd){var ce,ch,cf=0,ci=typeof cg.getElementsByTagName!=="undefined"?cg.getElementsByTagName(cd||"*"):typeof cg.querySelectorAll!=="undefined"?cg.querySelectorAll(cd||"*"):undefined; if(!ci){for(ci=[],ce=cg.childNodes||cg; (ch=ce[cf])!=null; cf++){if(!cd||bP.nodeName(ch,cd)){ci.push(ch) }else{bP.merge(ci,k(ch,cd)) }}}return cd===undefined||cd&&bP.nodeName(cg,cd)?bP.merge([cg],ci):ci }function bB(cd,cf){var cg,ce=0; for(; (cg=cd[ce])!=null; ce++){bP._data(cg,"globalEval",!cf||bP._data(cf[ce],"globalEval")) }}var S=/<|&#?\w+;/,b8=/<tbody/i; function b5(i){if(aS.test(i.type)){i.defaultChecked=i.checked }}function B(ce,cg,cm,cr,cj){var cn,ci,cl,cq,cs,cp,cf,ck=ce.length,ch=C(cg),cd=[],co=0; for(; co<ck; co++){ci=ce[co]; if(ci||ci===0){if(bP.type(ci)==="object"){bP.merge(cd,ci.nodeType?[ci]:ci) }else{if(!S.test(ci)){cd.push(cg.createTextNode(ci)) }else{cq=cq||ch.appendChild(cg.createElement("div")); cs=(n.exec(ci)||["",""])[1].toLowerCase(); cf=ad[cs]||ad._default; cq.innerHTML=cf[1]+bP.htmlPrefilter(ci)+cf[2]; cn=cf[0]; while(cn--){cq=cq.lastChild }if(!F.leadingWhitespace&&cc.test(ci)){cd.push(cg.createTextNode(cc.exec(ci)[0])) }if(!F.tbody){ci=cs==="table"&&!b8.test(ci)?cq.firstChild:cf[1]==="<table>"&&!b8.test(ci)?cq:0; cn=ci&&ci.childNodes.length; while(cn--){if(bP.nodeName((cp=ci.childNodes[cn]),"tbody")&&!cp.childNodes.length){ci.removeChild(cp) }}}bP.merge(cd,cq.childNodes); cq.textContent=""; while(cq.firstChild){cq.removeChild(cq.firstChild) }cq=ch.lastChild }}}}if(cq){ch.removeChild(cq) }if(!F.appendChecked){bP.grep(k(cd,"input"),b5) }co=0; while((ci=cd[co++])){if(cr&&bP.inArray(ci,cr)>-1){if(cj){cj.push(ci) }continue }cl=bP.contains(ci.ownerDocument,ci); cq=k(ch.appendChild(ci),"script"); if(cl){bB(cq) }if(cm){cn=0; while((ci=cq[cn++])){if(bI.test(ci.type||"")){cm.push(ci) }}}}cq=null; return ch }(function(){var ce,cd,cf=m.createElement("div"); for(ce in {submit:true,change:true,focusin:true}){cd="on"+ce; if(!(F[ce]=cd in bc)){cf.setAttribute(cd,"t"); F[ce]=cf.attributes[cd].expando===false }}cf=null })(); var bN=/^(?:input|select|textarea)$/i,bd=/^key/,bS=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bJ=/^(?:focusinfocus|focusoutblur)$/,bE=/^([^.]*)(?:\.(.+)|)/; function ac(){return true }function ah(){return false }function au(){try{return m.activeElement }catch(i){}}function bp(ch,ce,i,ci,cg,cd){var cj,cf; if(typeof ce==="object"){if(typeof i!=="string"){ci=ci||i; i=undefined }for(cf in ce){bp(ch,cf,i,ci,ce[cf],cd) }return ch }if(ci==null&&cg==null){cg=i; ci=i=undefined }else{if(cg==null){if(typeof i==="string"){cg=ci; ci=undefined }else{cg=ci; ci=i; i=undefined }}}if(cg===false){cg=ah }else{if(!cg){return ch }}if(cd===1){cj=cg; cg=function(ck){bP().off(ck); return cj.apply(this,arguments) }; cg.guid=cj.guid||(cj.guid=bP.guid++) }return ch.each(function(){bP.event.add(this,ce,cg,ci,i) }) }bP.event={global:{},add:function(cg,cl,cq,ci,ch){var cj,cr,cs,ce,cn,ck,cp,cf,co,i,cd,cm=bP._data(cg); if(!cm){return }if(cq.handler){ce=cq; cq=ce.handler; ch=ce.selector }if(!cq.guid){cq.guid=bP.guid++ }if(!(cr=cm.events)){cr=cm.events={} }if(!(ck=cm.handle)){ck=cm.handle=function(ct){return typeof bP!=="undefined"&&(!ct||bP.event.triggered!==ct.type)?bP.event.dispatch.apply(ck.elem,arguments):undefined }; ck.elem=cg }cl=(cl||"").match(aM)||[""]; cs=cl.length; while(cs--){cj=bE.exec(cl[cs])||[]; co=cd=cj[1]; i=(cj[2]||"").split(".").sort(); if(!co){continue }cn=bP.event.special[co]||{}; co=(ch?cn.delegateType:cn.bindType)||co; cn=bP.event.special[co]||{}; cp=bP.extend({type:co,origType:cd,data:ci,handler:cq,guid:cq.guid,selector:ch,needsContext:ch&&bP.expr.match.needsContext.test(ch),namespace:i.join(".")},ce); if(!(cf=cr[co])){cf=cr[co]=[]; cf.delegateCount=0; if(!cn.setup||cn.setup.call(cg,ci,i,ck)===false){if(cg.addEventListener){cg.addEventListener(co,ck,false) }else{if(cg.attachEvent){cg.attachEvent("on"+co,ck) }}}}if(cn.add){cn.add.call(cg,cp); if(!cp.handler.guid){cp.handler.guid=cq.guid }}if(ch){cf.splice(cf.delegateCount++,0,cp) }else{cf.push(cp) }bP.event.global[co]=true }cg=null },remove:function(cf,cl,cs,cg,ck){var ci,cp,cj,ch,cr,cq,cn,ce,co,i,cd,cm=bP.hasData(cf)&&bP._data(cf); if(!cm||!(cq=cm.events)){return }cl=(cl||"").match(aM)||[""]; cr=cl.length; while(cr--){cj=bE.exec(cl[cr])||[]; co=cd=cj[1]; i=(cj[2]||"").split(".").sort(); if(!co){for(co in cq){bP.event.remove(cf,co+cl[cr],cs,cg,true) }continue }cn=bP.event.special[co]||{}; co=(cg?cn.delegateType:cn.bindType)||co; ce=cq[co]||[]; cj=cj[2]&&new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.|)")+"(\\.|$)"); ch=ci=ce.length; while(ci--){cp=ce[ci]; if((ck||cd===cp.origType)&&(!cs||cs.guid===cp.guid)&&(!cj||cj.test(cp.namespace))&&(!cg||cg===cp.selector||cg==="**"&&cp.selector)){ce.splice(ci,1); if(cp.selector){ce.delegateCount-- }if(cn.remove){cn.remove.call(cf,cp) }}}if(ch&&!ce.length){if(!cn.teardown||cn.teardown.call(cf,i,cm.handle)===false){bP.removeEvent(cf,co,cm.handle) }delete cq[co] }}if(bP.isEmptyObject(cq)){delete cm.handle; bP._removeData(cf,"events") }},trigger:function(cd,ck,cg,cr){var cl,cf,cp,cq,cn,cj,ci,ch=[cg||m],co=R.call(cd,"type")?cd.type:cd,ce=R.call(cd,"namespace")?cd.namespace.split("."):[]; cp=cj=cg=cg||m; if(cg.nodeType===3||cg.nodeType===8){return }if(bJ.test(co+bP.event.triggered)){return }if(co.indexOf(".")>-1){ce=co.split("."); co=ce.shift(); ce.sort() }cf=co.indexOf(":")<0&&"on"+co; cd=cd[bP.expando]?cd:new bP.Event(co,typeof cd==="object"&&cd); cd.isTrigger=cr?2:3; cd.namespace=ce.join("."); cd.rnamespace=cd.namespace?new RegExp("(^|\\.)"+ce.join("\\.(?:.*\\.|)")+"(\\.|$)"):null; cd.result=undefined; if(!cd.target){cd.target=cg }ck=ck==null?[cd]:bP.makeArray(ck,[cd]); cn=bP.event.special[co]||{}; if(!cr&&cn.trigger&&cn.trigger.apply(cg,ck)===false){return }if(!cr&&!cn.noBubble&&!bP.isWindow(cg)){cq=cn.delegateType||co; if(!bJ.test(cq+co)){cp=cp.parentNode }for(; cp; cp=cp.parentNode){ch.push(cp); cj=cp }if(cj===(cg.ownerDocument||m)){ch.push(cj.defaultView||cj.parentWindow||bc) }}ci=0; while((cp=ch[ci++])&&!cd.isPropagationStopped()){cd.type=ci>1?cq:cn.bindType||co; cl=(bP._data(cp,"events")||{})[cd.type]&&bP._data(cp,"handle"); if(cl){cl.apply(cp,ck) }cl=cf&&cp[cf]; if(cl&&cl.apply&&V(cp)){cd.result=cl.apply(cp,ck); if(cd.result===false){cd.preventDefault() }}}cd.type=co; if(!cr&&!cd.isDefaultPrevented()){if((!cn._default||cn._default.apply(ch.pop(),ck)===false)&&V(cg)){if(cf&&cg[co]&&!bP.isWindow(cg)){cj=cg[cf]; if(cj){cg[cf]=null }bP.event.triggered=co; try{cg[co]() }catch(cm){}bP.event.triggered=undefined; if(cj){cg[cf]=cj }}}}return cd.result },dispatch:function(cd){cd=bP.event.fix(cd); var ch,cg,ci,ce,cm,cl=[],ck=X.call(arguments),cf=(bP._data(this,"events")||{})[cd.type]||[],cj=bP.event.special[cd.type]||{}; ck[0]=cd; cd.delegateTarget=this; if(cj.preDispatch&&cj.preDispatch.call(this,cd)===false){return }cl=bP.event.handlers.call(this,cd,cf); ch=0; while((ce=cl[ch++])&&!cd.isPropagationStopped()){cd.currentTarget=ce.elem; cg=0; while((cm=ce.handlers[cg++])&&!cd.isImmediatePropagationStopped()){if(!cd.rnamespace||cd.rnamespace.test(cm.namespace)){cd.handleObj=cm; cd.data=cm.data; ci=((bP.event.special[cm.origType]||{}).handle||cm.handler).apply(ce.elem,ck); if(ci!==undefined){if((cd.result=ci)===false){cd.preventDefault(); cd.stopPropagation() }}}}}if(cj.postDispatch){cj.postDispatch.call(this,cd) }return cd.result },handlers:function(cd,cf){var ch,ci,ce,ck,cj=[],cg=cf.delegateCount,cl=cd.target; if(cg&&cl.nodeType&&(cd.type!=="click"||isNaN(cd.button)||cd.button<1)){for(; cl!=this; cl=cl.parentNode||this){if(cl.nodeType===1&&(cl.disabled!==true||cd.type!=="click")){ci=[]; for(ch=0; ch<cg; ch++){ck=cf[ch]; ce=ck.selector+" "; if(ci[ce]===undefined){ci[ce]=ck.needsContext?bP(ce,this).index(cl)>-1:bP.find(ce,this,null,[cl]).length }if(ci[ce]){ci.push(ck) }}if(ci.length){cj.push({elem:cl,handlers:ci}) }}}}if(cg<cf.length){cj.push({elem:this,handlers:cf.slice(cg)}) }return cj },fix:function(cg){if(cg[bP.expando]){return cg }var ce,cj,ci,cf=cg.type,cd=cg,ch=this.fixHooks[cf]; if(!ch){this.fixHooks[cf]=ch=bS.test(cf)?this.mouseHooks:bd.test(cf)?this.keyHooks:{} }ci=ch.props?this.props.concat(ch.props):this.props; cg=new bP.Event(cd); ce=ci.length; while(ce--){cj=ci[ce]; cg[cj]=cd[cj] }if(!cg.target){cg.target=cd.srcElement||m }if(cg.target.nodeType===3){cg.target=cg.target.parentNode }cg.metaKey=!!cg.metaKey; return ch.filter?ch.filter(cg,cd):cg },props:("altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which").split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(cd,i){if(cd.which==null){cd.which=i.charCode!=null?i.charCode:i.keyCode }return cd }},mouseHooks:{props:("button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement").split(" "),filter:function(cf,ce){var i,cg,ch,cd=ce.button,ci=ce.fromElement; if(cf.pageX==null&&ce.clientX!=null){cg=cf.target.ownerDocument||m; ch=cg.documentElement; i=cg.body; cf.pageX=ce.clientX+(ch&&ch.scrollLeft||i&&i.scrollLeft||0)-(ch&&ch.clientLeft||i&&i.clientLeft||0); cf.pageY=ce.clientY+(ch&&ch.scrollTop||i&&i.scrollTop||0)-(ch&&ch.clientTop||i&&i.clientTop||0) }if(!cf.relatedTarget&&ci){cf.relatedTarget=ci===cf.target?ce.toElement:ci }if(!cf.which&&cd!==undefined){cf.which=(cd&1?1:(cd&2?3:(cd&4?2:0))) }return cf }},special:{load:{noBubble:true},focus:{trigger:function(){if(this!==au()&&this.focus){try{this.focus(); return false }catch(i){}}},delegateType:"focusin"},blur:{trigger:function(){if(this===au()&&this.blur){this.blur(); return false }},delegateType:"focusout"},click:{trigger:function(){if(bP.nodeName(this,"input")&&this.type==="checkbox"&&this.click){this.click(); return false }},_default:function(i){return bP.nodeName(i.target,"a") }},beforeunload:{postDispatch:function(i){if(i.result!==undefined&&i.originalEvent){i.originalEvent.returnValue=i.result }}}},simulate:function(i,ce,cd){var cf=bP.extend(new bP.Event(),cd,{type:i,isSimulated:true}); bP.event.trigger(cf,null,ce); if(cf.isDefaultPrevented()){cd.preventDefault() }}}; bP.removeEvent=m.removeEventListener?function(cd,i,ce){if(cd.removeEventListener){cd.removeEventListener(i,ce) }}:function(ce,cd,cf){var i="on"+cd; if(ce.detachEvent){if(typeof ce[i]==="undefined"){ce[i]=null }ce.detachEvent(i,cf) }}; bP.Event=function(cd,i){if(!(this instanceof bP.Event)){return new bP.Event(cd,i) }if(cd&&cd.type){this.originalEvent=cd; this.type=cd.type; this.isDefaultPrevented=cd.defaultPrevented||cd.defaultPrevented===undefined&&cd.returnValue===false?ac:ah }else{this.type=cd }if(i){bP.extend(this,i) }this.timeStamp=cd&&cd.timeStamp||bP.now(); this[bP.expando]=true }; bP.Event.prototype={constructor:bP.Event,isDefaultPrevented:ah,isPropagationStopped:ah,isImmediatePropagationStopped:ah,preventDefault:function(){var i=this.originalEvent; this.isDefaultPrevented=ac; if(!i){return }if(i.preventDefault){i.preventDefault() }else{i.returnValue=false }},stopPropagation:function(){var i=this.originalEvent; this.isPropagationStopped=ac; if(!i||this.isSimulated){return }if(i.stopPropagation){i.stopPropagation() }i.cancelBubble=true },stopImmediatePropagation:function(){var i=this.originalEvent; this.isImmediatePropagationStopped=ac; if(i&&i.stopImmediatePropagation){i.stopImmediatePropagation() }this.stopPropagation() }}; bP.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(cd,i){bP.event.special[cd]={delegateType:i,bindType:i,handle:function(cg){var ce,ci=this,ch=cg.relatedTarget,cf=cg.handleObj; if(!ch||(ch!==ci&&!bP.contains(ci,ch))){cg.type=cf.origType; ce=cf.handler.apply(this,arguments); cg.type=i }return ce }} }); if(!F.submit){bP.event.special.submit={setup:function(){if(bP.nodeName(this,"form")){return false }bP.event.add(this,"click._submit keypress._submit",function(ce){var cd=ce.target,i=bP.nodeName(cd,"input")||bP.nodeName(cd,"button")?bP.prop(cd,"form"):undefined; if(i&&!bP._data(i,"submit")){bP.event.add(i,"submit._submit",function(cf){cf._submitBubble=true }); bP._data(i,"submit",true) }}) },postDispatch:function(i){if(i._submitBubble){delete i._submitBubble; if(this.parentNode&&!i.isTrigger){bP.event.simulate("submit",this.parentNode,i) }}},teardown:function(){if(bP.nodeName(this,"form")){return false }bP.event.remove(this,"._submit") }} }if(!F.change){bP.event.special.change={setup:function(){if(bN.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){bP.event.add(this,"propertychange._change",function(i){if(i.originalEvent.propertyName==="checked"){this._justChanged=true }}); bP.event.add(this,"click._change",function(i){if(this._justChanged&&!i.isTrigger){this._justChanged=false }bP.event.simulate("change",this,i) }) }return false }bP.event.add(this,"beforeactivate._change",function(cd){var i=cd.target; if(bN.test(i.nodeName)&&!bP._data(i,"change")){bP.event.add(i,"change._change",function(ce){if(this.parentNode&&!ce.isSimulated&&!ce.isTrigger){bP.event.simulate("change",this.parentNode,ce) }}); bP._data(i,"change",true) }}) },handle:function(cd){var i=cd.target; if(this!==i||cd.isSimulated||cd.isTrigger||(i.type!=="radio"&&i.type!=="checkbox")){return cd.handleObj.handler.apply(this,arguments) }},teardown:function(){bP.event.remove(this,"._change"); return !bN.test(this.nodeName) }} }if(!F.focusin){bP.each({focus:"focusin",blur:"focusout"},function(ce,i){var cd=function(cf){bP.event.simulate(i,cf.target,bP.event.fix(cf)) }; bP.event.special[i]={setup:function(){var cg=this.ownerDocument||this,cf=bP._data(cg,i); if(!cf){cg.addEventListener(ce,cd,true) }bP._data(cg,i,(cf||0)+1) },teardown:function(){var cg=this.ownerDocument||this,cf=bP._data(cg,i)-1; if(!cf){cg.removeEventListener(ce,cd,true); bP._removeData(cg,i) }else{bP._data(cg,i,cf) }}} }) }bP.fn.extend({on:function(cd,i,cf,ce){return bp(this,cd,i,cf,ce) },one:function(cd,i,cf,ce){return bp(this,cd,i,cf,ce,1) },off:function(ce,i,cg){var cd,cf; if(ce&&ce.preventDefault&&ce.handleObj){cd=ce.handleObj; bP(ce.delegateTarget).off(cd.namespace?cd.origType+"."+cd.namespace:cd.origType,cd.selector,cd.handler); return this }if(typeof ce==="object"){for(cf in ce){this.off(cf,i,ce[cf]) }return this }if(i===false||typeof i==="function"){cg=i; i=undefined }if(cg===false){cg=ah }return this.each(function(){bP.event.remove(this,ce,cg,i) }) },trigger:function(i,cd){return this.each(function(){bP.event.trigger(i,cd,this) }) },triggerHandler:function(i,ce){var cd=this[0]; if(cd){return bP.event.trigger(i,ce,cd,true) }}}); var aK=/ jQuery\d+="(?:null|\d+)"/g,T=new RegExp("<(?:"+d+")[\\s/>]","i"),aN=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,av=/<script|<style|<link/i,b4=/checked\s*(?:[^=]|=\s*.checked.)/i,az=/^true\/(.*)/,aU=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,a0=C(m),j=a0.appendChild(m.createElement("div")); function ba(cd,i){return bP.nodeName(cd,"table")&&bP.nodeName(i.nodeType!==11?i:i.firstChild,"tr")?cd.getElementsByTagName("tbody")[0]||cd.appendChild(cd.ownerDocument.createElement("tbody")):cd }function u(i){i.type=(bP.find.attr(i,"type")!==null)+"/"+i.type; return i }function bm(cd){var i=az.exec(cd.type); if(i){cd.type=i[1] }else{cd.removeAttribute("type") }return cd }function aA(ck,ce){if(ce.nodeType!==1||!bP.hasData(ck)){return }var ch,cg,cd,cj=bP._data(ck),ci=bP._data(ce,cj),cf=cj.events; if(cf){delete ci.handle; ci.events={}; for(ch in cf){for(cg=0,cd=cf[ch].length; cg<cd; cg++){bP.event.add(ce,ch,cf[ch][cg]) }}}if(ci.data){ci.data=bP.extend({},ci.data) }}function ab(cf,i){var cg,ce,cd; if(i.nodeType!==1){return }cg=i.nodeName.toLowerCase(); if(!F.noCloneEvent&&i[bP.expando]){cd=bP._data(i); for(ce in cd.events){bP.removeEvent(i,ce,cd.handle) }i.removeAttribute(bP.expando) }if(cg==="script"&&i.text!==cf.text){u(i).text=cf.text; bm(i) }else{if(cg==="object"){if(i.parentNode){i.outerHTML=cf.outerHTML }if(F.html5Clone&&(cf.innerHTML&&!bP.trim(i.innerHTML))){i.innerHTML=cf.innerHTML }}else{if(cg==="input"&&aS.test(cf.type)){i.defaultChecked=i.checked=cf.checked; if(i.value!==cf.value){i.value=cf.value }}else{if(cg==="option"){i.defaultSelected=i.selected=cf.defaultSelected }else{if(cg==="input"||cg==="textarea"){i.defaultValue=cf.defaultValue }}}}}}function J(cl,cn,cr,cg){cn=aH.apply([],cn); var ck,cf,cd,ci,cp,cm,cj=0,ch=cl.length,cq=ch-1,co=cn[0],ce=bP.isFunction(co); if(ce||(ch>1&&typeof co==="string"&&!F.checkClone&&b4.test(co))){return cl.each(function(cs){var i=cl.eq(cs); if(ce){cn[0]=co.call(this,cs,i.html()) }J(i,cn,cr,cg) }) }if(ch){cm=B(cn,cl[0].ownerDocument,false,cl,cg); ck=cm.firstChild; if(cm.childNodes.length===1){cm=ck }if(ck||cg){ci=bP.map(k(cm,"script"),u); cd=ci.length; for(; cj<ch; cj++){cf=cm; if(cj!==cq){cf=bP.clone(cf,true,true); if(cd){bP.merge(ci,k(cf,"script")) }}cr.call(cl[cj],cf,cj) }if(cd){cp=ci[ci.length-1].ownerDocument; bP.map(ci,bm); for(cj=0; cj<cd; cj++){cf=ci[cj]; if(bI.test(cf.type||"")&&!bP._data(cf,"globalEval")&&bP.contains(cp,cf)){if(cf.src){if(bP._evalUrl){bP._evalUrl(cf.src) }}else{bP.globalEval((cf.text||cf.textContent||cf.innerHTML||"").replace(aU,"")) }}}}cm=ck=null }}return cl }function L(ch,cd,ci){var cg,ce=cd?bP.filter(cd,ch):ch,cf=0; for(; (cg=ce[cf])!=null; cf++){if(!ci&&cg.nodeType===1){bP.cleanData(k(cg)) }if(cg.parentNode){if(ci&&bP.contains(cg.ownerDocument,cg)){bB(k(cg,"script")) }cg.parentNode.removeChild(cg) }}return ch }bP.extend({htmlPrefilter:function(i){return i.replace(aN,"<$1></$2>") },clone:function(ce,cg,cd){var ci,cf,cl,ch,cj,ck=bP.contains(ce.ownerDocument,ce); if(F.html5Clone||bP.isXMLDoc(ce)||!T.test("<"+ce.nodeName+">")){cl=ce.cloneNode(true) }else{j.innerHTML=ce.outerHTML; j.removeChild(cl=j.firstChild) }if((!F.noCloneEvent||!F.noCloneChecked)&&(ce.nodeType===1||ce.nodeType===11)&&!bP.isXMLDoc(ce)){ci=k(cl); cj=k(ce); for(ch=0; (cf=cj[ch])!=null; ++ch){if(ci[ch]){ab(cf,ci[ch]) }}}if(cg){if(cd){cj=cj||k(ce); ci=ci||k(cl); for(ch=0; (cf=cj[ch])!=null; ch++){aA(cf,ci[ch]) }}else{aA(ce,cl) }}ci=k(cl,"script"); if(ci.length>0){bB(ci,!ck&&k(ce,"script")) }ci=cj=cf=null; return cl },cleanData:function(ce,cm){var cg,cl,cf,ci,cj=0,cn=bP.expando,cd=bP.cache,ch=F.attributes,ck=bP.event.special; for(; (cg=ce[cj])!=null; cj++){if(cm||V(cg)){cf=cg[cn]; ci=cf&&cd[cf]; if(ci){if(ci.events){for(cl in ci.events){if(ck[cl]){bP.event.remove(cg,cl) }else{bP.removeEvent(cg,cl,ci.handle) }}}if(cd[cf]){delete cd[cf]; if(!ch&&typeof cg.removeAttribute!=="undefined"){cg.removeAttribute(cn) }else{cg[cn]=undefined }aW.push(cf) }}}}}}); bP.fn.extend({domManip:J,detach:function(i){return L(this,i,true) },remove:function(i){return L(this,i) },text:function(i){return aJ(this,function(cd){return cd===undefined?bP.text(this):this.empty().append((this[0]&&this[0].ownerDocument||m).createTextNode(cd)) },null,i,arguments.length) },append:function(){return J(this,arguments,function(i){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var cd=ba(this,i); cd.appendChild(i) }}) },prepend:function(){return J(this,arguments,function(i){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var cd=ba(this,i); cd.insertBefore(i,cd.firstChild) }}) },before:function(){return J(this,arguments,function(i){if(this.parentNode){this.parentNode.insertBefore(i,this) }}) },after:function(){return J(this,arguments,function(i){if(this.parentNode){this.parentNode.insertBefore(i,this.nextSibling) }}) },empty:function(){var ce,cd=0; for(; (ce=this[cd])!=null; cd++){if(ce.nodeType===1){bP.cleanData(k(ce,false)) }while(ce.firstChild){ce.removeChild(ce.firstChild) }if(ce.options&&bP.nodeName(ce,"select")){ce.options.length=0 }}return this },clone:function(cd,i){cd=cd==null?false:cd; i=i==null?cd:i; return this.map(function(){return bP.clone(this,cd,i) }) },html:function(i){return aJ(this,function(cg){var cf=this[0]||{},ce=0,cd=this.length; if(cg===undefined){return cf.nodeType===1?cf.innerHTML.replace(aK,""):undefined }if(typeof cg==="string"&&!av.test(cg)&&(F.htmlSerialize||!T.test(cg))&&(F.leadingWhitespace||!cc.test(cg))&&!ad[(n.exec(cg)||["",""])[1].toLowerCase()]){cg=bP.htmlPrefilter(cg); try{for(; ce<cd; ce++){cf=this[ce]||{}; if(cf.nodeType===1){bP.cleanData(k(cf,false)); cf.innerHTML=cg }}cf=0 }catch(ch){}}if(cf){this.empty().append(cg) }},null,i,arguments.length) },replaceWith:function(){var i=[]; return J(this,arguments,function(ce){var cd=this.parentNode; if(bP.inArray(this,i)<0){bP.cleanData(k(this)); if(cd){cd.replaceChild(ce,this) }}},i) }}); bP.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(i,cd){bP.fn[i]=function(ce){var cf,ch=0,cg=[],cj=bP(ce),ci=cj.length-1; for(; ch<=ci; ch++){cf=ch===ci?this:this.clone(true); bP(cj[ch])[cd](cf); w.apply(cg,cf.get()) }return this.pushStack(cg) } }); var aO,bs={HTML:"block",BODY:"block"}; function bb(i,cf){var cd=bP(cf.createElement(i)).appendTo(cf.body),ce=bP.css(cd[0],"display"); cd.detach(); return ce }function a8(ce){var cd=m,i=bs[ce]; if(!i){i=bb(ce,cd); if(i==="none"||!i){aO=(aO||bP("<iframe frameborder='0' width='0' height='0'/>")).appendTo(cd.documentElement); cd=(aO[0].contentWindow||aO[0].contentDocument).document; cd.write(); cd.close(); i=bb(ce,cd); aO.detach() }bs[ce]=i }return i }var a7=(/^margin/); var ag=new RegExp("^("+aL+")(?!px)[a-z%]+$","i"); var K=function(ch,cg,ci,cf){var ce,cd,i={}; for(cd in cg){i[cd]=ch.style[cd]; ch.style[cd]=cg[cd] }ce=ci.apply(ch,cf||[]); for(cd in cg){ch.style[cd]=i[cd] }return ce }; var b1=m.documentElement; (function(){var ch,ce,ci,ck,cj,cf,cd=m.createElement("div"),i=m.createElement("div"); if(!i.style){return }i.style.cssText="float:left;opacity:.5"; F.opacity=i.style.opacity==="0.5"; F.cssFloat=!!i.style.cssFloat; i.style.backgroundClip="content-box"; i.cloneNode(true).style.backgroundClip=""; F.clearCloneStyle=i.style.backgroundClip==="content-box"; cd=m.createElement("div"); cd.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute"; i.innerHTML=""; cd.appendChild(i); F.boxSizing=i.style.boxSizing===""||i.style.MozBoxSizing===""||i.style.WebkitBoxSizing===""; bP.extend(F,{reliableHiddenOffsets:function(){if(ch==null){cg() }return ck },boxSizingReliable:function(){if(ch==null){cg() }return ci },pixelMarginRight:function(){if(ch==null){cg() }return ce },pixelPosition:function(){if(ch==null){cg() }return ch },reliableMarginRight:function(){if(ch==null){cg() }return cj },reliableMarginLeft:function(){if(ch==null){cg() }return cf }}); function cg(){var cm,cl,cn=m.documentElement; cn.appendChild(cd); i.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%"; ch=ci=cf=false; ce=cj=true; if(bc.getComputedStyle){cl=bc.getComputedStyle(i); ch=(cl||{}).top!=="1%"; cf=(cl||{}).marginLeft==="2px"; ci=(cl||{width:"4px"}).width==="4px"; i.style.marginRight="50%"; ce=(cl||{marginRight:"4px"}).marginRight==="4px"; cm=i.appendChild(m.createElement("div")); cm.style.cssText=i.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0"; cm.style.marginRight=cm.style.width="0"; i.style.width="1px"; cj=!parseFloat((bc.getComputedStyle(cm)||{}).marginRight); i.removeChild(cm) }i.style.display="none"; ck=i.getClientRects().length===0; if(ck){i.style.display=""; i.innerHTML="<table><tr><td></td><td>t</td></tr></table>"; i.childNodes[0].style.borderCollapse="separate"; cm=i.getElementsByTagName("td"); cm[0].style.cssText="margin:0;border:0;padding:0;display:none"; ck=cm[0].offsetHeight===0; if(ck){cm[0].style.display=""; cm[1].style.display="none"; ck=cm[0].offsetHeight===0 }}cn.removeChild(cd) }})(); var bx,I,bv=/^(top|right|bottom|left)$/; if(bc.getComputedStyle){bx=function(cd){var i=cd.ownerDocument.defaultView; if(!i||!i.opener){i=bc }return i.getComputedStyle(cd) }; I=function(cj,cd,ci){var cg,cf,ch,i,ce=cj.style; ci=ci||bx(cj); i=ci?ci.getPropertyValue(cd)||ci[cd]:undefined; if((i===""||i===undefined)&&!bP.contains(cj.ownerDocument,cj)){i=bP.style(cj,cd) }if(ci){if(!F.pixelMarginRight()&&ag.test(i)&&a7.test(cd)){cg=ce.width; cf=ce.minWidth; ch=ce.maxWidth; ce.minWidth=ce.maxWidth=ce.width=i; i=ci.width; ce.width=cg; ce.minWidth=cf; ce.maxWidth=ch }}return i===undefined?i:i+"" } }else{if(b1.currentStyle){bx=function(i){return i.currentStyle }; I=function(ci,cf,ch){var cj,cd,i,ce,cg=ci.style; ch=ch||bx(ci); ce=ch?ch[cf]:undefined; if(ce==null&&cg&&cg[cf]){ce=cg[cf] }if(ag.test(ce)&&!bv.test(cf)){cj=cg.left; cd=ci.runtimeStyle; i=cd&&cd.left; if(i){cd.left=ci.currentStyle.left }cg.left=cf==="fontSize"?"1em":ce; ce=cg.pixelLeft+"px"; cg.left=cj; if(i){cd.left=i }}return ce===undefined?ce:ce+""||"auto" } }}function be(i,cd){return{get:function(){if(i()){delete this.get; return }return(this.get=cd).apply(this,arguments) }} }var bq=/alpha\([^)]*\)/i,a2=/opacity\s*=\s*([^)]*)/i,M=/^(none|table(?!-c[ea]).+)/,bi=new RegExp("^("+aL+")(.*)$","i"),bl={position:"absolute",visibility:"hidden",display:"block"},bK={letterSpacing:"0",fontWeight:"400"},aE=["Webkit","O","Moz","ms"],bY=m.createElement("div").style; function c(cd){if(cd in bY){return cd }var cf=cd.charAt(0).toUpperCase()+cd.slice(1),ce=aE.length; while(ce--){cd=aE[ce]+cf; if(cd in bY){return cd }}}function r(ci,i){var cj,cg,ch,cd=[],ce=0,cf=ci.length; for(; ce<cf; ce++){cg=ci[ce]; if(!cg.style){continue }cd[ce]=bP._data(cg,"olddisplay"); cj=cg.style.display; if(i){if(!cd[ce]&&cj==="none"){cg.style.display="" }if(cg.style.display===""&&aa(cg)){cd[ce]=bP._data(cg,"olddisplay",a8(cg.nodeName)) }}else{ch=aa(cg); if(cj&&cj!=="none"||!ch){bP._data(cg,"olddisplay",ch?cj:bP.css(cg,"display")) }}}for(ce=0; ce<cf; ce++){cg=ci[ce]; if(!cg.style){continue }if(!i||cg.style.display==="none"||cg.style.display===""){cg.style.display=i?cd[ce]||"":"none" }}return ci }function aT(i,ce,cf){var cd=bi.exec(ce); return cd?Math.max(0,cd[1]-(cf||0))+(cd[2]||"px"):ce }function aF(ch,ce,cd,cj,cg){var cf=cd===(cj?"border":"content")?4:ce==="width"?1:0,ci=0; for(; cf<4; cf+=2){if(cd==="margin"){ci+=bP.css(ch,cd+b0[cf],true,cg) }if(cj){if(cd==="content"){ci-=bP.css(ch,"padding"+b0[cf],true,cg) }if(cd!=="margin"){ci-=bP.css(ch,"border"+b0[cf]+"Width",true,cg) }}else{ci+=bP.css(ch,"padding"+b0[cf],true,cg); if(cd!=="padding"){ci+=bP.css(ch,"border"+b0[cf]+"Width",true,cg) }}}return ci }function v(cg,cd,i){var cf=true,ch=cd==="width"?cg.offsetWidth:cg.offsetHeight,ce=bx(cg),ci=F.boxSizing&&bP.css(cg,"boxSizing",false,ce)==="border-box"; if(ch<=0||ch==null){ch=I(cg,cd,ce); if(ch<0||ch==null){ch=cg.style[cd] }if(ag.test(ch)){return ch }cf=ci&&(F.boxSizingReliable()||ch===cg.style[cd]); ch=parseFloat(ch)||0 }return(ch+aF(cg,cd,i||(ci?"border":"content"),cf,ce))+"px" }bP.extend({cssHooks:{opacity:{get:function(ce,cd){if(cd){var i=I(ce,"opacity"); return i===""?"1":i }}}},cssNumber:{animationIterationCount:true,columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":F.cssFloat?"cssFloat":"styleFloat"},style:function(ce,cd,ck,cf){if(!ce||ce.nodeType===3||ce.nodeType===8||!ce.style){return }var ci,cj,cl,cg=bP.camelCase(cd),i=ce.style; cd=bP.cssProps[cg]||(bP.cssProps[cg]=c(cg)||cg); cl=bP.cssHooks[cd]||bP.cssHooks[cg]; if(ck!==undefined){cj=typeof ck; if(cj==="string"&&(ci=b6.exec(ck))&&ci[1]){ck=A(ce,cd,ci); cj="number" }if(ck==null||ck!==ck){return }if(cj==="number"){ck+=ci&&ci[3]||(bP.cssNumber[cg]?"":"px") }if(!F.clearCloneStyle&&ck===""&&cd.indexOf("background")===0){i[cd]="inherit" }if(!cl||!("set" in cl)||(ck=cl.set(ce,ck,cf))!==undefined){try{i[cd]=ck }catch(ch){}}}else{if(cl&&"get" in cl&&(ci=cl.get(ce,false,cf))!==undefined){return ci }return i[cd] }},css:function(ci,cg,cd,ch){var cf,cj,i,ce=bP.camelCase(cg); cg=bP.cssProps[ce]||(bP.cssProps[ce]=c(ce)||ce); i=bP.cssHooks[cg]||bP.cssHooks[ce]; if(i&&"get" in i){cj=i.get(ci,true,cd) }if(cj===undefined){cj=I(ci,cg,ch) }if(cj==="normal"&&cg in bK){cj=bK[cg] }if(cd===""||cd){cf=parseFloat(cj); return cd===true||isFinite(cf)?cf||0:cj }return cj }}); bP.each(["height","width"],function(ce,cd){bP.cssHooks[cd]={get:function(cg,cf,i){if(cf){return M.test(bP.css(cg,"display"))&&cg.offsetWidth===0?K(cg,bl,function(){return v(cg,cd,i) }):v(cg,cd,i) }},set:function(cg,ch,i){var cf=i&&bx(cg); return aT(cg,ch,i?aF(cg,cd,i,F.boxSizing&&bP.css(cg,"boxSizing",false,cf)==="border-box",cf):0) }} }); if(!F.opacity){bP.cssHooks.opacity={get:function(cd,i){return a2.test((i&&cd.currentStyle?cd.currentStyle.filter:cd.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":i?"1":"" },set:function(cg,ch){var cf=cg.style,cd=cg.currentStyle,i=bP.isNumeric(ch)?"alpha(opacity="+ch*100+")":"",ce=cd&&cd.filter||cf.filter||""; cf.zoom=1; if((ch>=1||ch==="")&&bP.trim(ce.replace(bq,""))===""&&cf.removeAttribute){cf.removeAttribute("filter"); if(ch===""||cd&&!cd.filter){return }}cf.filter=bq.test(ce)?ce.replace(bq,i):ce+" "+i }} }bP.cssHooks.marginRight=be(F.reliableMarginRight,function(cd,i){if(i){return K(cd,{display:"inline-block"},I,[cd,"marginRight"]) }}); bP.cssHooks.marginLeft=be(F.reliableMarginLeft,function(cd,i){if(i){return(parseFloat(I(cd,"marginLeft"))||(bP.contains(cd.ownerDocument,cd)?cd.getBoundingClientRect().left-K(cd,{marginLeft:0},function(){return cd.getBoundingClientRect().left }):0))+"px" }}); bP.each({margin:"",padding:"",border:"Width"},function(i,cd){bP.cssHooks[i+cd]={expand:function(cg){var cf=0,ce={},ch=typeof cg==="string"?cg.split(" "):[cg]; for(; cf<4; cf++){ce[i+b0[cf]+cd]=ch[cf]||ch[cf-2]||ch[0] }return ce }}; if(!a7.test(i)){bP.cssHooks[i+cd].set=aT }}); bP.fn.extend({css:function(i,cd){return aJ(this,function(ci,cf,cj){var ch,ce,ck={},cg=0; if(bP.isArray(cf)){ch=bx(ci); ce=cf.length; for(; cg<ce; cg++){ck[cf[cg]]=bP.css(ci,cf[cg],false,ch) }return ck }return cj!==undefined?bP.style(ci,cf,cj):bP.css(ci,cf) },i,cd,arguments.length>1) },show:function(){return r(this,true) },hide:function(){return r(this) },toggle:function(i){if(typeof i==="boolean"){return i?this.show():this.hide() }return this.each(function(){if(aa(this)){bP(this).show() }else{bP(this).hide() }}) }}); function P(ce,cd,cg,i,cf){return new P.prototype.init(ce,cd,cg,i,cf) }bP.Tween=P; P.prototype={constructor:P,init:function(cf,cd,ch,i,cg,ce){this.elem=cf; this.prop=ch; this.easing=cg||bP.easing._default; this.options=cd; this.start=this.now=this.cur(); this.end=i; this.unit=ce||(bP.cssNumber[ch]?"":"px") },cur:function(){var i=P.propHooks[this.prop]; return i&&i.get?i.get(this):P.propHooks._default.get(this) },run:function(ce){var cd,i=P.propHooks[this.prop]; if(this.options.duration){this.pos=cd=bP.easing[this.easing](ce,this.options.duration*ce,0,1,this.options.duration) }else{this.pos=cd=ce }this.now=(this.end-this.start)*cd+this.start; if(this.options.step){this.options.step.call(this.elem,this.now,this) }if(i&&i.set){i.set(this) }else{P.propHooks._default.set(this) }return this }}; P.prototype.init.prototype=P.prototype; P.propHooks={_default:{get:function(cd){var i; if(cd.elem.nodeType!==1||cd.elem[cd.prop]!=null&&cd.elem.style[cd.prop]==null){return cd.elem[cd.prop] }i=bP.css(cd.elem,cd.prop,""); return !i||i==="auto"?0:i },set:function(i){if(bP.fx.step[i.prop]){bP.fx.step[i.prop](i) }else{if(i.elem.nodeType===1&&(i.elem.style[bP.cssProps[i.prop]]!=null||bP.cssHooks[i.prop])){bP.style(i.elem,i.prop,i.now+i.unit) }else{i.elem[i.prop]=i.now }}}}}; P.propHooks.scrollTop=P.propHooks.scrollLeft={set:function(i){if(i.elem.nodeType&&i.elem.parentNode){i.elem[i.prop]=i.now }}}; bP.easing={linear:function(i){return i },swing:function(i){return 0.5-Math.cos(i*Math.PI)/2 },_default:"swing"}; bP.fx=P.prototype.init; bP.fx.step={}; var U,al,bX=/^(?:toggle|show|hide)$/,bV=/queueHooks$/; function bu(){bc.setTimeout(function(){U=undefined }); return(U=bP.now()) }function bO(cf,ch){var cg,cd={height:cf},ce=0; ch=ch?1:0; for(; ce<4; ce+=2-ch){cg=b0[ce]; cd["margin"+cg]=cd["padding"+cg]=cf }if(ch){cd.opacity=cd.width=cf }return cd }function bk(cg,ci,cf){var cd,ch=(e.tweeners[ci]||[]).concat(e.tweeners["*"]),i=0,ce=ch.length; for(; i<ce; i++){if((cd=ch[i].call(cf,ci,cg))){return cd }}}function g(cf,ck,i){var ce,cn,ch,cq,cr,co,cj,cm,cg=this,cl={},cd=cf.style,ci=cf.nodeType&&aa(cf),cp=bP._data(cf,"fxshow"); if(!i.queue){cr=bP._queueHooks(cf,"fx"); if(cr.unqueued==null){cr.unqueued=0; co=cr.empty.fire; cr.empty.fire=function(){if(!cr.unqueued){co() }} }cr.unqueued++; cg.always(function(){cg.always(function(){cr.unqueued--; if(!bP.queue(cf,"fx").length){cr.empty.fire() }}) }) }if(cf.nodeType===1&&("height" in ck||"width" in ck)){i.overflow=[cd.overflow,cd.overflowX,cd.overflowY]; cj=bP.css(cf,"display"); cm=cj==="none"?bP._data(cf,"olddisplay")||a8(cf.nodeName):cj; if(cm==="inline"&&bP.css(cf,"float")==="none"){if(!F.inlineBlockNeedsLayout||a8(cf.nodeName)==="inline"){cd.display="inline-block" }else{cd.zoom=1 }}}if(i.overflow){cd.overflow="hidden"; if(!F.shrinkWrapBlocks()){cg.always(function(){cd.overflow=i.overflow[0]; cd.overflowX=i.overflow[1]; cd.overflowY=i.overflow[2] }) }}for(ce in ck){cn=ck[ce]; if(bX.exec(cn)){delete ck[ce]; ch=ch||cn==="toggle"; if(cn===(ci?"hide":"show")){if(cn==="show"&&cp&&cp[ce]!==undefined){ci=true }else{continue }}cl[ce]=cp&&cp[ce]||bP.style(cf,ce) }else{cj=undefined }}if(!bP.isEmptyObject(cl)){if(cp){if("hidden" in cp){ci=cp.hidden }}else{cp=bP._data(cf,"fxshow",{}) }if(ch){cp.hidden=!ci }if(ci){bP(cf).show() }else{cg.done(function(){bP(cf).hide() }) }cg.done(function(){var cs; bP._removeData(cf,"fxshow"); for(cs in cl){bP.style(cf,cs,cl[cs]) }}); for(ce in cl){cq=bk(ci?cp[ce]:0,ce,cg); if(!(ce in cp)){cp[ce]=cq.start; if(ci){cq.end=cq.start; cq.start=ce==="width"||ce==="height"?1:0 }}}}else{if((cj==="none"?a8(cf.nodeName):cj)==="inline"){cd.display=cj }}}function aw(cf,ch){var ce,cd,ci,cg,i; for(ce in cf){cd=bP.camelCase(ce); ci=ch[cd]; cg=cf[ce]; if(bP.isArray(cg)){ci=cg[1]; cg=cf[ce]=cg[0] }if(ce!==cd){cf[cd]=cg; delete cf[ce] }i=bP.cssHooks[cd]; if(i&&"expand" in i){cg=i.expand(cg); delete cf[cd]; for(ce in cg){if(!(ce in cf)){cf[ce]=cg[ce]; ch[ce]=ci }}}else{ch[cd]=ci }}}function e(ce,ci,cl){var cm,i,ch=0,cd=e.prefilters.length,ck=bP.Deferred().always(function(){delete cg.elem }),cg=function(){if(i){return false }var cs=U||bu(),cp=Math.max(0,cf.startTime+cf.duration-cs),cn=cp/cf.duration||0,cr=1-cn,co=0,cq=cf.tweens.length; for(; co<cq; co++){cf.tweens[co].run(cr) }ck.notifyWith(ce,[cf,cr,cp]); if(cr<1&&cq){return cp }else{ck.resolveWith(ce,[cf]); return false }},cf=ck.promise({elem:ce,props:bP.extend({},ci),opts:bP.extend(true,{specialEasing:{},easing:bP.easing._default},cl),originalProperties:ci,originalOptions:cl,startTime:U||bu(),duration:cl.duration,tweens:[],createTween:function(cp,cn){var co=bP.Tween(ce,cf.opts,cp,cn,cf.opts.specialEasing[cp]||cf.opts.easing); cf.tweens.push(co); return co },stop:function(co){var cn=0,cp=co?cf.tweens.length:0; if(i){return this }i=true; for(; cn<cp; cn++){cf.tweens[cn].run(1) }if(co){ck.notifyWith(ce,[cf,1,0]); ck.resolveWith(ce,[cf,co]) }else{ck.rejectWith(ce,[cf,co]) }return this }}),cj=cf.props; aw(cj,cf.opts.specialEasing); for(; ch<cd; ch++){cm=e.prefilters[ch].call(cf,ce,cj,cf.opts); if(cm){if(bP.isFunction(cm.stop)){bP._queueHooks(cf.elem,cf.opts.queue).stop=bP.proxy(cm.stop,cm) }return cm }}bP.map(cj,bk,cf); if(bP.isFunction(cf.opts.start)){cf.opts.start.call(ce,cf) }bP.fx.timer(bP.extend(cg,{elem:ce,anim:cf,queue:cf.opts.queue})); return cf.progress(cf.opts.progress).done(cf.opts.done,cf.opts.complete).fail(cf.opts.fail).always(cf.opts.always) }bP.Animation=bP.extend(e,{tweeners:{"*":[function(ce,cd){var i=this.createTween(ce,cd); A(i.elem,ce,b6.exec(cd),i); return i }]},tweener:function(cd,cg){if(bP.isFunction(cd)){cg=cd; cd=["*"] }else{cd=cd.match(aM) }var cf,i=0,ce=cd.length; for(; i<ce; i++){cf=cd[i]; e.tweeners[cf]=e.tweeners[cf]||[]; e.tweeners[cf].unshift(cg) }},prefilters:[g],prefilter:function(cd,i){if(i){e.prefilters.unshift(cd) }else{e.prefilters.push(cd) }}}); bP.speed=function(ce,cf,cd){var i=ce&&typeof ce==="object"?bP.extend({},ce):{complete:cd||!cd&&cf||bP.isFunction(ce)&&ce,duration:ce,easing:cd&&cf||cf&&!bP.isFunction(cf)&&cf}; i.duration=bP.fx.off?0:typeof i.duration==="number"?i.duration:i.duration in bP.fx.speeds?bP.fx.speeds[i.duration]:bP.fx.speeds._default; if(i.queue==null||i.queue===true){i.queue="fx" }i.old=i.complete; i.complete=function(){if(bP.isFunction(i.old)){i.old.call(this) }if(i.queue){bP.dequeue(this,i.queue) }}; return i }; bP.fn.extend({fadeTo:function(i,cf,ce,cd){return this.filter(aa).css("opacity",0).show().end().animate({opacity:cf},i,ce,cd) },animate:function(ci,cf,ch,cg){var ce=bP.isEmptyObject(ci),i=bP.speed(cf,ch,cg),cd=function(){var cj=e(this,bP.extend({},ci),i); if(ce||bP._data(this,"finish")){cj.stop(true) }}; cd.finish=cd; return ce||i.queue===false?this.each(cd):this.queue(i.queue,cd) },stop:function(ce,cd,i){var cf=function(cg){var ch=cg.stop; delete cg.stop; ch(i) }; if(typeof ce!=="string"){i=cd; cd=ce; ce=undefined }if(cd&&ce!==false){this.queue(ce||"fx",[]) }return this.each(function(){var cj=true,cg=ce!=null&&ce+"queueHooks",ci=bP.timers,ch=bP._data(this); if(cg){if(ch[cg]&&ch[cg].stop){cf(ch[cg]) }}else{for(cg in ch){if(ch[cg]&&ch[cg].stop&&bV.test(cg)){cf(ch[cg]) }}}for(cg=ci.length; cg--; ){if(ci[cg].elem===this&&(ce==null||ci[cg].queue===ce)){ci[cg].anim.stop(i); cj=false; ci.splice(cg,1) }}if(cj||!i){bP.dequeue(this,ce) }}) },finish:function(i){if(i!==false){i=i||"fx" }return this.each(function(){var cf,ci=bP._data(this),ce=ci[i+"queue"],cd=ci[i+"queueHooks"],ch=bP.timers,cg=ce?ce.length:0; ci.finish=true; bP.queue(this,i,[]); if(cd&&cd.stop){cd.stop.call(this,true) }for(cf=ch.length; cf--; ){if(ch[cf].elem===this&&ch[cf].queue===i){ch[cf].anim.stop(true); ch.splice(cf,1) }}for(cf=0; cf<cg; cf++){if(ce[cf]&&ce[cf].finish){ce[cf].finish.call(this) }}delete ci.finish }) }}); bP.each(["toggle","show","hide"],function(ce,cd){var cf=bP.fn[cd]; bP.fn[cd]=function(i,ch,cg){return i==null||typeof i==="boolean"?cf.apply(this,arguments):this.animate(bO(cd,true),i,ch,cg) } }); bP.each({slideDown:bO("show"),slideUp:bO("hide"),slideToggle:bO("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(i,cd){bP.fn[i]=function(ce,cg,cf){return this.animate(cd,ce,cg,cf) } }); bP.timers=[]; bP.fx.tick=function(){var cf,ce=bP.timers,cd=0; U=bP.now(); for(; cd<ce.length; cd++){cf=ce[cd]; if(!cf()&&ce[cd]===cf){ce.splice(cd--,1) }}if(!ce.length){bP.fx.stop() }U=undefined }; bP.fx.timer=function(i){bP.timers.push(i); if(i()){bP.fx.start() }else{bP.timers.pop() }}; bP.fx.interval=13; bP.fx.start=function(){if(!al){al=bc.setInterval(bP.fx.tick,bP.fx.interval) }}; bP.fx.stop=function(){bc.clearInterval(al); al=null }; bP.fx.speeds={slow:600,fast:200,_default:400}; bP.fn.delay=function(cd,i){cd=bP.fx?bP.fx.speeds[cd]||cd:cd; i=i||"fx"; return this.queue(i,function(cf,ce){var cg=bc.setTimeout(cf,cd); ce.stop=function(){bc.clearTimeout(cg) } }) }; (function(){var cd,ce=m.createElement("input"),cg=m.createElement("div"),i=m.createElement("select"),cf=i.appendChild(m.createElement("option")); cg=m.createElement("div"); cg.setAttribute("className","t"); cg.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; cd=cg.getElementsByTagName("a")[0]; ce.setAttribute("type","checkbox"); cg.appendChild(ce); cd=cg.getElementsByTagName("a")[0]; cd.style.cssText="top:1px"; F.getSetAttribute=cg.className!=="t"; F.style=/top/.test(cd.getAttribute("style")); F.hrefNormalized=cd.getAttribute("href")==="/a"; F.checkOn=!!ce.value; F.optSelected=cf.selected; F.enctype=!!m.createElement("form").enctype; i.disabled=true; F.optDisabled=!cf.disabled; ce=m.createElement("input"); ce.setAttribute("value",""); F.input=ce.getAttribute("value")===""; ce.value="t"; ce.setAttribute("type","radio"); F.radioValue=ce.value==="t" })(); var at=/\r/g,a4=/[\x20\t\r\n\f]+/g; bP.fn.extend({val:function(cf){var i,cd,cg,ce=this[0]; if(!arguments.length){if(ce){i=bP.valHooks[ce.type]||bP.valHooks[ce.nodeName.toLowerCase()]; if(i&&"get" in i&&(cd=i.get(ce,"value"))!==undefined){return cd }cd=ce.value; return typeof cd==="string"?cd.replace(at,""):cd==null?"":cd }return }cg=bP.isFunction(cf); return this.each(function(ch){var ci; if(this.nodeType!==1){return }if(cg){ci=cf.call(this,ch,bP(this).val()) }else{ci=cf }if(ci==null){ci="" }else{if(typeof ci==="number"){ci+="" }else{if(bP.isArray(ci)){ci=bP.map(ci,function(cj){return cj==null?"":cj+"" }) }}}i=bP.valHooks[this.type]||bP.valHooks[this.nodeName.toLowerCase()]; if(!i||!("set" in i)||i.set(this,ci,"value")===undefined){this.value=ci }}) }}); bP.extend({valHooks:{option:{get:function(i){var cd=bP.find.attr(i,"value"); return cd!=null?cd:bP.trim(bP.text(i)).replace(a4," ") }},select:{get:function(cd){var cj,cf,cl=cd.options,ch=cd.selectedIndex,cg=cd.type==="select-one"||ch<0,ck=cg?null:[],ci=cg?ch+1:cl.length,ce=ch<0?ci:cg?ch:0; for(; ce<ci; ce++){cf=cl[ce]; if((cf.selected||ce===ch)&&(F.optDisabled?!cf.disabled:cf.getAttribute("disabled")===null)&&(!cf.parentNode.disabled||!bP.nodeName(cf.parentNode,"optgroup"))){cj=bP(cf).val(); if(cg){return cj }ck.push(cj) }}return ck },set:function(ci,cj){var ck,ch,cf=ci.options,cd=bP.makeArray(cj),cg=cf.length; while(cg--){ch=cf[cg]; if(bP.inArray(bP.valHooks.option.get(ch),cd)>-1){try{ch.selected=ck=true }catch(ce){ch.scrollHeight }}else{ch.selected=false }}if(!ck){ci.selectedIndex=-1 }return cf }}}}); bP.each(["radio","checkbox"],function(){bP.valHooks[this]={set:function(i,cd){if(bP.isArray(cd)){return(i.checked=bP.inArray(bP(i).val(),cd)>-1) }}}; if(!F.checkOn){bP.valHooks[this].get=function(i){return i.getAttribute("value")===null?"on":i.value } }}); var bh,ca,bU=bP.expr.attrHandle,ay=/^(?:checked|selected)$/i,bT=F.getSetAttribute,bM=F.input; bP.fn.extend({attr:function(i,cd){return aJ(this,bP.attr,i,cd,arguments.length>1) },removeAttr:function(i){return this.each(function(){bP.removeAttr(this,i) }) }}); bP.extend({attr:function(cg,cf,ch){var ce,i,cd=cg.nodeType; if(cd===3||cd===8||cd===2){return }if(typeof cg.getAttribute==="undefined"){return bP.prop(cg,cf,ch) }if(cd!==1||!bP.isXMLDoc(cg)){cf=cf.toLowerCase(); i=bP.attrHooks[cf]||(bP.expr.match.bool.test(cf)?ca:bh) }if(ch!==undefined){if(ch===null){bP.removeAttr(cg,cf); return }if(i&&"set" in i&&(ce=i.set(cg,ch,cf))!==undefined){return ce }cg.setAttribute(cf,ch+""); return ch }if(i&&"get" in i&&(ce=i.get(cg,cf))!==null){return ce }ce=bP.find.attr(cg,cf); return ce==null?undefined:ce },attrHooks:{type:{set:function(i,cd){if(!F.radioValue&&cd==="radio"&&bP.nodeName(i,"input")){var ce=i.value; i.setAttribute("type",cd); if(ce){i.value=ce }return cd }}}},removeAttr:function(cf,ch){var cd,cg,ce=0,ci=ch&&ch.match(aM); if(ci&&cf.nodeType===1){while((cd=ci[ce++])){cg=bP.propFix[cd]||cd; if(bP.expr.match.bool.test(cd)){if(bM&&bT||!ay.test(cd)){cf[cg]=false }else{cf[bP.camelCase("default-"+cd)]=cf[cg]=false }}else{bP.attr(cf,cd,"") }cf.removeAttribute(bT?cd:cg) }}}}); ca={set:function(cd,ce,i){if(ce===false){bP.removeAttr(cd,i) }else{if(bM&&bT||!ay.test(i)){cd.setAttribute(!bT&&bP.propFix[i]||i,i) }else{cd[bP.camelCase("default-"+i)]=cd[i]=true }}return i }}; bP.each(bP.expr.match.bool.source.match(/\w+/g),function(cf,ce){var cd=bU[ce]||bP.find.attr; if(bM&&bT||!ay.test(ce)){bU[ce]=function(ch,cg,cj){var i,ci; if(!cj){ci=bU[cg]; bU[cg]=i; i=cd(ch,cg,cj)!=null?cg.toLowerCase():null; bU[cg]=ci }return i } }else{bU[ce]=function(cg,i,ch){if(!ch){return cg[bP.camelCase("default-"+i)]?i.toLowerCase():null }} }}); if(!bM||!bT){bP.attrHooks.value={set:function(cd,ce,i){if(bP.nodeName(cd,"input")){cd.defaultValue=ce }else{return bh&&bh.set(cd,ce,i) }}} }if(!bT){bh={set:function(ce,cf,cd){var i=ce.getAttributeNode(cd); if(!i){ce.setAttributeNode((i=ce.ownerDocument.createAttribute(cd))) }i.value=cf+=""; if(cd==="value"||cf===ce.getAttribute(cd)){return cf }}}; bU.id=bU.name=bU.coords=function(ce,cd,cf){var i; if(!cf){return(i=ce.getAttributeNode(cd))&&i.value!==""?i.value:null }}; bP.valHooks.button={get:function(ce,cd){var i=ce.getAttributeNode(cd); if(i&&i.specified){return i.value }},set:bh.set}; bP.attrHooks.contenteditable={set:function(cd,ce,i){bh.set(cd,ce===""?false:ce,i) }}; bP.each(["width","height"],function(ce,cd){bP.attrHooks[cd]={set:function(i,cf){if(cf===""){i.setAttribute(cd,"auto"); return cf }}} }) }if(!F.style){bP.attrHooks.style={get:function(i){return i.style.cssText||undefined },set:function(i,cd){return(i.style.cssText=cd+"") }} }var aP=/^(?:input|select|textarea|button|object)$/i,H=/^(?:a|area)$/i; bP.fn.extend({prop:function(i,cd){return aJ(this,bP.prop,i,cd,arguments.length>1) },removeProp:function(i){i=bP.propFix[i]||i; return this.each(function(){try{this[i]=undefined; delete this[i] }catch(cd){}}) }}); bP.extend({prop:function(cg,cf,ch){var ce,i,cd=cg.nodeType; if(cd===3||cd===8||cd===2){return }if(cd!==1||!bP.isXMLDoc(cg)){cf=bP.propFix[cf]||cf; i=bP.propHooks[cf] }if(ch!==undefined){if(i&&"set" in i&&(ce=i.set(cg,ch,cf))!==undefined){return ce }return(cg[cf]=ch) }if(i&&"get" in i&&(ce=i.get(cg,cf))!==null){return ce }return cg[cf] },propHooks:{tabIndex:{get:function(cd){var i=bP.find.attr(cd,"tabindex"); return i?parseInt(i,10):aP.test(cd.nodeName)||H.test(cd.nodeName)&&cd.href?0:-1 }}},propFix:{"for":"htmlFor","class":"className"}}); if(!F.hrefNormalized){bP.each(["href","src"],function(ce,cd){bP.propHooks[cd]={get:function(i){return i.getAttribute(cd,4) }} }) }if(!F.optSelected){bP.propHooks.selected={get:function(cd){var i=cd.parentNode; if(i){i.selectedIndex; if(i.parentNode){i.parentNode.selectedIndex }}return null },set:function(cd){var i=cd.parentNode; if(i){i.selectedIndex; if(i.parentNode){i.parentNode.selectedIndex }}}} }bP.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){bP.propFix[this.toLowerCase()]=this }); if(!F.enctype){bP.propFix.enctype="encoding" }var bR=/[\t\r\n\f]/g; function D(i){return bP.attr(i,"class")||"" }bP.fn.extend({addClass:function(ck){var cf,ce,cl,cg,cj,ch,cd,ci=0; if(bP.isFunction(ck)){return this.each(function(i){bP(this).addClass(ck.call(this,i,D(this))) }) }if(typeof ck==="string"&&ck){cf=ck.match(aM)||[]; while((ce=this[ci++])){cg=D(ce); cl=ce.nodeType===1&&(" "+cg+" ").replace(bR," "); if(cl){ch=0; while((cj=cf[ch++])){if(cl.indexOf(" "+cj+" ")<0){cl+=cj+" " }}cd=bP.trim(cl); if(cg!==cd){bP.attr(ce,"class",cd) }}}}return this },removeClass:function(ck){var cf,ce,cl,cg,cj,ch,cd,ci=0; if(bP.isFunction(ck)){return this.each(function(i){bP(this).removeClass(ck.call(this,i,D(this))) }) }if(!arguments.length){return this.attr("class","") }if(typeof ck==="string"&&ck){cf=ck.match(aM)||[]; while((ce=this[ci++])){cg=D(ce); cl=ce.nodeType===1&&(" "+cg+" ").replace(bR," "); if(cl){ch=0; while((cj=cf[ch++])){while(cl.indexOf(" "+cj+" ")>-1){cl=cl.replace(" "+cj+" "," ") }}cd=bP.trim(cl); if(cg!==cd){bP.attr(ce,"class",cd) }}}}return this },toggleClass:function(ce,i){var cd=typeof ce; if(typeof i==="boolean"&&cd==="string"){return i?this.addClass(ce):this.removeClass(ce) }if(bP.isFunction(ce)){return this.each(function(cf){bP(this).toggleClass(ce.call(this,cf,D(this),i),i) }) }return this.each(function(){var ch,cg,cf,ci; if(cd==="string"){cg=0; cf=bP(this); ci=ce.match(aM)||[]; while((ch=ci[cg++])){if(cf.hasClass(ch)){cf.removeClass(ch) }else{cf.addClass(ch) }}}else{if(ce===undefined||cd==="boolean"){ch=D(this); if(ch){bP._data(this,"__className__",ch) }bP.attr(this,"class",ch||ce===false?"":bP._data(this,"__className__")||"") }}}) },hasClass:function(cd){var cf,cg,ce=0; cf=" "+cd+" "; while((cg=this[ce++])){if(cg.nodeType===1&&(" "+D(cg)+" ").replace(bR," ").indexOf(cf)>-1){return true }}return false }}); bP.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(ce,cd){bP.fn[cd]=function(cf,i){return arguments.length>0?this.on(cd,null,cf,i):this.trigger(cd) } }); bP.fn.extend({hover:function(i,cd){return this.mouseenter(i).mouseleave(cd||i) }}); var aV=bc.location; var bw=bP.now(); var bW=(/\?/); var a9=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g; bP.parseJSON=function(i){if(bc.JSON&&bc.JSON.parse){return bc.JSON.parse(i+"") }var cf,ce=null,cd=bP.trim(i+""); return cd&&!bP.trim(cd.replace(a9,function(ci,cg,ch,cj){if(cf&&cg){ce=0 }if(ce===0){return ci }cf=ch||cg; ce+=!cj-!ch; return"" }))?(Function("return "+cd))():bP.error("Invalid JSON: "+i) }; bP.parseXML=function(ce){var i,cd; if(!ce||typeof ce!=="string"){return null }try{if(bc.DOMParser){cd=new bc.DOMParser(); i=cd.parseFromString(ce,"text/xml") }else{i=new bc.ActiveXObject("Microsoft.XMLDOM"); i.async="false"; i.loadXML(ce) }}catch(cf){i=undefined }if(!i||!i.documentElement||i.getElementsByTagName("parsererror").length){bP.error("Invalid XML: "+ce) }return i }; var ax=/#.*$/,Z=/([?&])_=[^&]*/,ao=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,E=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,q=/^(?:GET|HEAD)$/,aQ=/^\/\//,a1=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,t={},bg={},a5="*/".concat("*"),ai=aV.href,cb=a1.exec(ai.toLowerCase())||[]; function bQ(i){return function(cg,ch){if(typeof cg!=="string"){ch=cg; cg="*" }var cd,ce=0,cf=cg.toLowerCase().match(aM)||[]; if(bP.isFunction(ch)){while((cd=cf[ce++])){if(cd.charAt(0)==="+"){cd=cd.slice(1)||"*"; (i[cd]=i[cd]||[]).unshift(ch) }else{(i[cd]=i[cd]||[]).push(ch) }}}} }function p(i,ce,ci,cf){var cd={},cg=(i===bg); function ch(cj){var ck; cd[cj]=true; bP.each(i[cj]||[],function(cm,cl){var cn=cl(ce,ci,cf); if(typeof cn==="string"&&!cg&&!cd[cn]){ce.dataTypes.unshift(cn); ch(cn); return false }else{if(cg){return !(ck=cn) }}}); return ck }return ch(ce.dataTypes[0])||!cd["*"]&&ch("*") }function s(ce,cf){var i,cd,cg=bP.ajaxSettings.flatOptions||{}; for(cd in cf){if(cf[cd]!==undefined){(cg[cd]?ce:(i||(i={})))[cd]=cf[cd] }}if(i){bP.extend(true,ce,i) }return ce }function f(ck,cj,cg){var i,cf,ce,ch,cd=ck.contents,ci=ck.dataTypes; while(ci[0]==="*"){ci.shift(); if(cf===undefined){cf=ck.mimeType||cj.getResponseHeader("Content-Type") }}if(cf){for(ch in cd){if(cd[ch]&&cd[ch].test(cf)){ci.unshift(ch); break }}}if(ci[0] in cg){ce=ci[0] }else{for(ch in cg){if(!ci[0]||ck.converters[ch+" "+ci[0]]){ce=ch; break }if(!i){i=ch }}ce=ce||i }if(ce){if(ce!==ci[0]){ci.unshift(ce) }return cg[ce] }}function an(cn,cf,ck,cd){var i,ci,cl,cg,ce,cm={},cj=cn.dataTypes.slice(); if(cj[1]){for(cl in cn.converters){cm[cl.toLowerCase()]=cn.converters[cl] }}ci=cj.shift(); while(ci){if(cn.responseFields[ci]){ck[cn.responseFields[ci]]=cf }if(!ce&&cd&&cn.dataFilter){cf=cn.dataFilter(cf,cn.dataType) }ce=ci; ci=cj.shift(); if(ci){if(ci==="*"){ci=ce }else{if(ce!=="*"&&ce!==ci){cl=cm[ce+" "+ci]||cm["* "+ci]; if(!cl){for(i in cm){cg=i.split(" "); if(cg[1]===ci){cl=cm[ce+" "+cg[0]]||cm["* "+cg[0]]; if(cl){if(cl===true){cl=cm[i] }else{if(cm[i]!==true){ci=cg[0]; cj.unshift(cg[1]) }}break }}}}if(cl!==true){if(cl&&cn["throws"]){cf=cl(cf) }else{try{cf=cl(cf) }catch(ch){return{state:"parsererror",error:cl?ch:"No conversion from "+ce+" to "+ci} }}}}}}}return{state:"success",data:cf} }bP.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ai,type:"GET",isLocal:E.test(cb[1]),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":a5,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":true,"text json":bP.parseJSON,"text xml":bP.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(cd,i){return i?s(s(cd,bP.ajaxSettings),i):s(bP.ajaxSettings,cd) },ajaxPrefilter:bQ(t),ajaxTransport:bQ(bg),ajax:function(ch,ce){if(typeof ch==="object"){ce=ch; ch=undefined }ce=ce||{}; var cq,cs,ci,cx,cm,cd,ct,cf,cl=bP.ajaxSetup({},ce),cz=cl.context||cl,co=cl.context&&(cz.nodeType||cz.jquery)?bP(cz):bP.event,cy=bP.Deferred(),cv=bP.Callbacks("once memory"),cj=cl.statusCode||{},cp={},cw={},cg=0,ck="canceled",cr={readyState:0,getResponseHeader:function(cA){var i; if(cg===2){if(!cf){cf={}; while((i=ao.exec(cx))){cf[i[1].toLowerCase()]=i[2] }}i=cf[cA.toLowerCase()] }return i==null?null:i },getAllResponseHeaders:function(){return cg===2?cx:null },setRequestHeader:function(cA,cB){var i=cA.toLowerCase(); if(!cg){cA=cw[i]=cw[i]||cA; cp[cA]=cB }return this },overrideMimeType:function(i){if(!cg){cl.mimeType=i }return this },statusCode:function(cA){var i; if(cA){if(cg<2){for(i in cA){cj[i]=[cj[i],cA[i]] }}else{cr.always(cA[cr.status]) }}return this },abort:function(cA){var i=cA||ck; if(ct){ct.abort(i) }cn(0,i); return this }}; cy.promise(cr).complete=cv.add; cr.success=cr.done; cr.error=cr.fail; cl.url=((ch||cl.url||ai)+"").replace(ax,"").replace(aQ,cb[1]+"//"); cl.type=ce.method||ce.type||cl.method||cl.type; cl.dataTypes=bP.trim(cl.dataType||"*").toLowerCase().match(aM)||[""]; if(cl.crossDomain==null){cq=a1.exec(cl.url.toLowerCase()); cl.crossDomain=!!(cq&&(cq[1]!==cb[1]||cq[2]!==cb[2]||(cq[3]||(cq[1]==="http:"?"80":"443"))!==(cb[3]||(cb[1]==="http:"?"80":"443")))) }if(cl.data&&cl.processData&&typeof cl.data!=="string"){cl.data=bP.param(cl.data,cl.traditional) }p(t,cl,ce,cr); if(cg===2){return cr }cd=bP.event&&cl.global; if(cd&&bP.active++===0){bP.event.trigger("ajaxStart") }cl.type=cl.type.toUpperCase(); cl.hasContent=!q.test(cl.type); ci=cl.url; if(!cl.hasContent){if(cl.data){ci=(cl.url+=(bW.test(ci)?"&":"?")+cl.data); delete cl.data }if(cl.cache===false){cl.url=Z.test(ci)?ci.replace(Z,"$1_="+bw++):ci+(bW.test(ci)?"&":"?")+"_="+bw++ }}if(cl.ifModified){if(bP.lastModified[ci]){cr.setRequestHeader("If-Modified-Since",bP.lastModified[ci]) }if(bP.etag[ci]){cr.setRequestHeader("If-None-Match",bP.etag[ci]) }}if(cl.data&&cl.hasContent&&cl.contentType!==false||ce.contentType){cr.setRequestHeader("Content-Type",cl.contentType) }cr.setRequestHeader("Accept",cl.dataTypes[0]&&cl.accepts[cl.dataTypes[0]]?cl.accepts[cl.dataTypes[0]]+(cl.dataTypes[0]!=="*"?", "+a5+"; q=0.01":""):cl.accepts["*"]); for(cs in cl.headers){cr.setRequestHeader(cs,cl.headers[cs]) }if(cl.beforeSend&&(cl.beforeSend.call(cz,cr,cl)===false||cg===2)){return cr.abort() }ck="abort"; for(cs in {success:1,error:1,complete:1}){cr[cs](cl[cs]) }ct=p(bg,cl,ce,cr); if(!ct){cn(-1,"No Transport") }else{cr.readyState=1; if(cd){co.trigger("ajaxSend",[cr,cl]) }if(cg===2){return cr }if(cl.async&&cl.timeout>0){cm=bc.setTimeout(function(){cr.abort("timeout") },cl.timeout) }try{cg=1; ct.send(cp,cn) }catch(cu){if(cg<2){cn(-1,cu) }else{throw cu }}}function cn(cE,cA,cF,cC){var i,cI,cG,cD,cH,cB=cA; if(cg===2){return }cg=2; if(cm){bc.clearTimeout(cm) }ct=undefined; cx=cC||""; cr.readyState=cE>0?4:0; i=cE>=200&&cE<300||cE===304; if(cF){cD=f(cl,cr,cF) }cD=an(cl,cD,cr,i); if(i){if(cl.ifModified){cH=cr.getResponseHeader("Last-Modified"); if(cH){bP.lastModified[ci]=cH }cH=cr.getResponseHeader("etag"); if(cH){bP.etag[ci]=cH }}if(cE===204||cl.type==="HEAD"){cB="nocontent" }else{if(cE===304){cB="notmodified" }else{cB=cD.state; cI=cD.data; cG=cD.error; i=!cG }}}else{cG=cB; if(cE||!cB){cB="error"; if(cE<0){cE=0 }}}cr.status=cE; cr.statusText=(cA||cB)+""; if(i){cy.resolveWith(cz,[cI,cB,cr]) }else{cy.rejectWith(cz,[cr,cB,cG]) }cr.statusCode(cj); cj=undefined; if(cd){co.trigger(i?"ajaxSuccess":"ajaxError",[cr,cl,i?cI:cG]) }cv.fireWith(cz,[cr,cB]); if(cd){co.trigger("ajaxComplete",[cr,cl]); if(!(--bP.active)){bP.event.trigger("ajaxStop") }}}return cr },getJSON:function(i,cd,ce){return bP.get(i,cd,ce,"json") },getScript:function(i,cd){return bP.get(i,undefined,cd,"script") }}); bP.each(["get","post"],function(cd,ce){bP[ce]=function(i,cg,ch,cf){if(bP.isFunction(cg)){cf=cf||ch; ch=cg; cg=undefined }return bP.ajax(bP.extend({url:i,type:ce,dataType:cf,data:cg,success:ch},bP.isPlainObject(i)&&i)) } }); bP._evalUrl=function(i){return bP.ajax({url:i,type:"GET",dataType:"script",cache:true,async:false,global:false,"throws":true}) }; bP.fn.extend({wrapAll:function(i){if(bP.isFunction(i)){return this.each(function(ce){bP(this).wrapAll(i.call(this,ce)) }) }if(this[0]){var cd=bP(i,this[0].ownerDocument).eq(0).clone(true); if(this[0].parentNode){cd.insertBefore(this[0]) }cd.map(function(){var ce=this; while(ce.firstChild&&ce.firstChild.nodeType===1){ce=ce.firstChild }return ce }).append(this) }return this },wrapInner:function(i){if(bP.isFunction(i)){return this.each(function(cd){bP(this).wrapInner(i.call(this,cd)) }) }return this.each(function(){var cd=bP(this),ce=cd.contents(); if(ce.length){ce.wrapAll(i) }else{cd.append(i) }}) },wrap:function(i){var cd=bP.isFunction(i); return this.each(function(ce){bP(this).wrapAll(cd?i.call(this,ce):i) }) },unwrap:function(){return this.parent().each(function(){if(!bP.nodeName(this,"body")){bP(this).replaceWith(this.childNodes) }}).end() }}); function Q(i){return i.style&&i.style.display||bP.css(i,"display") }function N(i){if(!bP.contains(i.ownerDocument||m,i)){return true }while(i&&i.nodeType===1){if(Q(i)==="none"||i.type==="hidden"){return true }i=i.parentNode }return false }bP.expr.filters.hidden=function(i){return F.reliableHiddenOffsets()?(i.offsetWidth<=0&&i.offsetHeight<=0&&!i.getClientRects().length):N(i) }; bP.expr.filters.visible=function(i){return !bP.expr.filters.hidden(i) }; var bD=/%20/g,aZ=/\[\]$/,ae=/\r?\n/g,b=/^(?:submit|button|image|reset|file)$/i,aC=/^(?:input|select|textarea|keygen)/i; function h(ce,cg,cd,cf){var i; if(bP.isArray(cg)){bP.each(cg,function(ci,ch){if(cd||aZ.test(ce)){cf(ce,ch) }else{h(ce+"["+(typeof ch==="object"&&ch!=null?ci:"")+"]",ch,cd,cf) }}) }else{if(!cd&&bP.type(cg)==="object"){for(i in cg){h(ce+"["+i+"]",cg[i],cd,cf) }}else{cf(ce,cg) }}}bP.param=function(i,ce){var cf,cd=[],cg=function(ch,ci){ci=bP.isFunction(ci)?ci():(ci==null?"":ci); cd[cd.length]=encodeURIComponent(ch)+"="+encodeURIComponent(ci) }; if(ce===undefined){ce=bP.ajaxSettings&&bP.ajaxSettings.traditional }if(bP.isArray(i)||(i.jquery&&!bP.isPlainObject(i))){bP.each(i,function(){cg(this.name,this.value) }) }else{for(cf in i){h(cf,i[cf],ce,cg) }}return cd.join("&").replace(bD,"+") }; bP.fn.extend({serialize:function(){return bP.param(this.serializeArray()) },serializeArray:function(){return this.map(function(){var i=bP.prop(this,"elements"); return i?bP.makeArray(i):this }).filter(function(){var i=this.type; return this.name&&!bP(this).is(":disabled")&&aC.test(this.nodeName)&&!b.test(i)&&(this.checked||!aS.test(i)) }).map(function(cd,ce){var cf=bP(this).val(); return cf==null?null:bP.isArray(cf)?bP.map(cf,function(i){return{name:ce.name,value:i.replace(ae,"\r\n")} }):{name:ce.name,value:cf.replace(ae,"\r\n")} }).get() }}); bP.ajaxSettings.xhr=bc.ActiveXObject!==undefined?function(){if(this.isLocal){return bn() }if(m.documentMode>8){return bL() }return/^(get|post|head|put|delete|options)$/i.test(this.type)&&bL()||bn() }:bL; var aI=0,aq={},aG=bP.ajaxSettings.xhr(); if(bc.attachEvent){bc.attachEvent("onunload",function(){for(var i in aq){aq[i](undefined,true) }}) }F.cors=!!aG&&("withCredentials" in aG); aG=F.ajax=!!aG; if(aG){bP.ajaxTransport(function(i){if(!i.crossDomain||F.cors){var cd; return{send:function(ch,ce){var cf,cg=i.xhr(),ci=++aI; cg.open(i.type,i.url,i.async,i.username,i.password); if(i.xhrFields){for(cf in i.xhrFields){cg[cf]=i.xhrFields[cf] }}if(i.mimeType&&cg.overrideMimeType){cg.overrideMimeType(i.mimeType) }if(!i.crossDomain&&!ch["X-Requested-With"]){ch["X-Requested-With"]="XMLHttpRequest" }for(cf in ch){if(ch[cf]!==undefined){cg.setRequestHeader(cf,ch[cf]+"") }}cg.send((i.hasContent&&i.data)||null); cd=function(cl,ck){var cj,co,cm; if(cd&&(ck||cg.readyState===4)){delete aq[ci]; cd=undefined; cg.onreadystatechange=bP.noop; if(ck){if(cg.readyState!==4){cg.abort() }}else{cm={}; cj=cg.status; if(typeof cg.responseText==="string"){cm.text=cg.responseText }try{co=cg.statusText }catch(cn){co="" }if(!cj&&i.isLocal&&!i.crossDomain){cj=cm.text?200:404 }else{if(cj===1223){cj=204 }}}}if(cm){ce(cj,co,cm,cg.getAllResponseHeaders()) }}; if(!i.async){cd() }else{if(cg.readyState===4){bc.setTimeout(cd) }else{cg.onreadystatechange=aq[ci]=cd }}},abort:function(){if(cd){cd(undefined,true) }}} }}) }function bL(){try{return new bc.XMLHttpRequest() }catch(i){}}function bn(){try{return new bc.ActiveXObject("Microsoft.XMLHTTP") }catch(i){}}bP.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(i){bP.globalEval(i); return i }}}); bP.ajaxPrefilter("script",function(i){if(i.cache===undefined){i.cache=false }if(i.crossDomain){i.type="GET"; i.global=false }}); bP.ajaxTransport("script",function(ce){if(ce.crossDomain){var i,cd=m.head||bP("head")[0]||m.documentElement; return{send:function(cf,cg){i=m.createElement("script"); i.async=true; if(ce.scriptCharset){i.charset=ce.scriptCharset }i.src=ce.url; i.onload=i.onreadystatechange=function(ci,ch){if(ch||!i.readyState||/loaded|complete/.test(i.readyState)){i.onload=i.onreadystatechange=null; if(i.parentNode){i.parentNode.removeChild(i) }i=null; if(!ch){cg(200,"success") }}}; cd.insertBefore(i,cd.firstChild) },abort:function(){if(i){i.onload(undefined,true) }}} }}); var bz=[],bf=/(=)\?(?=&|$)|\?\?/; bP.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var i=bz.pop()||(bP.expando+"_"+(bw++)); this[i]=true; return i }}); bP.ajaxPrefilter("json jsonp",function(cf,i,cg){var ci,cd,ce,ch=cf.jsonp!==false&&(bf.test(cf.url)?"url":typeof cf.data==="string"&&(cf.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&bf.test(cf.data)&&"data"); if(ch||cf.dataTypes[0]==="jsonp"){ci=cf.jsonpCallback=bP.isFunction(cf.jsonpCallback)?cf.jsonpCallback():cf.jsonpCallback; if(ch){cf[ch]=cf[ch].replace(bf,"$1"+ci) }else{if(cf.jsonp!==false){cf.url+=(bW.test(cf.url)?"&":"?")+cf.jsonp+"="+ci }}cf.converters["script json"]=function(){if(!ce){bP.error(ci+" was not called") }return ce[0] }; cf.dataTypes[0]="json"; cd=bc[ci]; bc[ci]=function(){ce=arguments }; cg.always(function(){if(cd===undefined){bP(bc).removeProp(ci) }else{bc[ci]=cd }if(cf[ci]){cf.jsonpCallback=i.jsonpCallback; bz.push(ci) }if(ce&&bP.isFunction(cd)){cd(ce[0]) }ce=cd=undefined }); return"script" }}); bP.parseHTML=function(cg,ce,cf){if(!cg||typeof cg!=="string"){return null }if(typeof ce==="boolean"){cf=ce; ce=false }ce=ce||m; var cd=a.exec(cg),i=!cf&&[]; if(cd){return[ce.createElement(cd[1])] }cd=B([cg],ce,i); if(i&&i.length){bP(i).remove() }return bP.merge([],cd.childNodes) }; var b9=bP.fn.load; bP.fn.load=function(cf,ci,cj){if(typeof cf!=="string"&&b9){return b9.apply(this,arguments) }var i,cg,ce,cd=this,ch=cf.indexOf(" "); if(ch>-1){i=bP.trim(cf.slice(ch,cf.length)); cf=cf.slice(0,ch) }if(bP.isFunction(ci)){cj=ci; ci=undefined }else{if(ci&&typeof ci==="object"){cg="POST" }}if(cd.length>0){bP.ajax({url:cf,type:cg||"GET",dataType:"html",data:ci}).done(function(ck){ce=arguments; cd.html(i?bP("<div>").append(bP.parseHTML(ck)).find(i):ck) }).always(cj&&function(cl,ck){cd.each(function(){cj.apply(this,ce||[cl.responseText,ck,cl]) }) }) }return this }; bP.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(cd,ce){bP.fn[ce]=function(i){return this.on(ce,i) } }); bP.expr.filters.animated=function(i){return bP.grep(bP.timers,function(cd){return i===cd.elem }).length }; function by(i){return bP.isWindow(i)?i:i.nodeType===9?i.defaultView||i.parentWindow:false }bP.offset={setOffset:function(cf,cp,cj){var cl,ci,cd,cg,ce,cn,co,ck=bP.css(cf,"position"),ch=bP(cf),cm={}; if(ck==="static"){cf.style.position="relative" }ce=ch.offset(); cd=bP.css(cf,"top"); cn=bP.css(cf,"left"); co=(ck==="absolute"||ck==="fixed")&&bP.inArray("auto",[cd,cn])>-1; if(co){cl=ch.position(); cg=cl.top; ci=cl.left }else{cg=parseFloat(cd)||0; ci=parseFloat(cn)||0 }if(bP.isFunction(cp)){cp=cp.call(cf,cj,bP.extend({},ce)) }if(cp.top!=null){cm.top=(cp.top-ce.top)+cg }if(cp.left!=null){cm.left=(cp.left-ce.left)+ci }if("using" in cp){cp.using.call(cf,cm) }else{ch.css(cm) }}}; bP.fn.extend({offset:function(cd){if(arguments.length){return cd===undefined?this:this.each(function(ci){bP.offset.setOffset(this,cd,ci) }) }var i,ch,cf={top:0,left:0},ce=this[0],cg=ce&&ce.ownerDocument; if(!cg){return }i=cg.documentElement; if(!bP.contains(i,ce)){return cf }if(typeof ce.getBoundingClientRect!=="undefined"){cf=ce.getBoundingClientRect() }ch=by(cg); return{top:cf.top+(ch.pageYOffset||i.scrollTop)-(i.clientTop||0),left:cf.left+(ch.pageXOffset||i.scrollLeft)-(i.clientLeft||0)} },position:function(){if(!this[0]){return }var ce,cf,i={top:0,left:0},cd=this[0]; if(bP.css(cd,"position")==="fixed"){cf=cd.getBoundingClientRect() }else{ce=this.offsetParent(); cf=this.offset(); if(!bP.nodeName(ce[0],"html")){i=ce.offset() }i.top+=bP.css(ce[0],"borderTopWidth",true); i.left+=bP.css(ce[0],"borderLeftWidth",true) }return{top:cf.top-i.top-bP.css(cd,"marginTop",true),left:cf.left-i.left-bP.css(cd,"marginLeft",true)} },offsetParent:function(){return this.map(function(){var i=this.offsetParent; while(i&&(!bP.nodeName(i,"html")&&bP.css(i,"position")==="static")){i=i.offsetParent }return i||b1 }) }}); bP.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(ce,cd){var i=/Y/.test(cd); bP.fn[ce]=function(cf){return aJ(this,function(cg,cj,ci){var ch=by(cg); if(ci===undefined){return ch?(cd in ch)?ch[cd]:ch.document.documentElement[cj]:cg[cj] }if(ch){ch.scrollTo(!i?ci:bP(ch).scrollLeft(),i?ci:bP(ch).scrollTop()) }else{cg[cj]=ci }},ce,cf,arguments.length,null) } }); bP.each(["top","left"],function(cd,ce){bP.cssHooks[ce]=be(F.pixelPosition,function(cf,i){if(i){i=I(cf,ce); return ag.test(i)?bP(cf).position()[ce]+"px":i }}) }); bP.each({Height:"height",Width:"width"},function(i,cd){bP.each({padding:"inner"+i,content:cd,"":"outer"+i},function(ce,cf){bP.fn[cf]=function(cj,ci){var ch=arguments.length&&(ce||typeof cj!=="boolean"),cg=ce||(cj===true||ci===true?"margin":"border"); return aJ(this,function(cl,ck,cm){var cn; if(bP.isWindow(cl)){return cl.document.documentElement["client"+i] }if(cl.nodeType===9){cn=cl.documentElement; return Math.max(cl.body["scroll"+i],cn["scroll"+i],cl.body["offset"+i],cn["offset"+i],cn["client"+i]) }return cm===undefined?bP.css(cl,ck,cg):bP.style(cl,ck,cm,cg) },cd,ch?cj:undefined,ch,null) } }) }); bP.fn.extend({bind:function(i,ce,cd){return this.on(i,null,ce,cd) },unbind:function(i,cd){return this.off(i,null,cd) },delegate:function(i,cd,cf,ce){return this.on(cd,i,cf,ce) },undelegate:function(i,cd,ce){return arguments.length===1?this.off(i,"**"):this.off(cd,i||"**",ce) }}); bP.fn.size=function(){return this.length }; bP.fn.andSelf=bP.fn.addBack; if(typeof define==="function"&&define.amd){define("jquery",[],function(){return bP }) }var br=bc.jQuery,O=bc.$; bP.noConflict=function(i){if(bc.$===bP){bc.$=O }if(i&&bc.jQuery===bP){bc.jQuery=br }return bP }; if(!aD){bc.jQuery=bc.$=bP }return bP })); /*! jQuery UI - v1.10.4 - 2014-01-17 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ (function(b,d){function a(l,j){var p,m,h,k=l.nodeName.toLowerCase(); return"area"===k?(p=l.parentNode,m=p.name,l.href&&m&&"map"===p.nodeName.toLowerCase()?(h=b("img[usemap=#"+m+"]")[0],!!h&&c(h)):!1):(/input|select|textarea|button|object/.test(k)?!l.disabled:"a"===k?l.href||j:j)&&c(l) }function c(h){return b.expr.filters.visible(h)&&!b(h).parents().addBack().filter(function(){return"hidden"===b.css(this,"visibility") }).length }var g=0,f=/^ui-id-\d+$/; b.ui=b.ui||{},b.extend(b.ui,{version:"1.10.4",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),b.fn.extend({focus:function(h){return function(e,j){return"number"==typeof e?this.each(function(){var i=this; setTimeout(function(){b(i).focus(),j&&j.call(i) },e) }):h.apply(this,arguments) } }(b.fn.focus),scrollParent:function(){var h; return h=b.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(b.css(this,"position"))&&/(auto|scroll)/.test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x")) }).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x")) }).eq(0),/fixed/.test(this.css("position"))||!h.length?b(document):h },zIndex:function(e){if(e!==d){return this.css("zIndex",e) }if(this.length){for(var h,k,j=b(this[0]); j.length&&j[0]!==document; ){if(h=j.css("position"),("absolute"===h||"relative"===h||"fixed"===h)&&(k=parseInt(j.css("zIndex"),10),!isNaN(k)&&0!==k)){return k }j=j.parent() }}return 0 },uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++g) }) },removeUniqueId:function(){return this.each(function(){f.test(this.id)&&b(this).removeAttr("id") }) }}),b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(h){return function(e){return !!b.data(e,h) } }):function(k,h,j){return !!b.data(k,j[3]) },focusable:function(h){return a(h,!isNaN(b.attr(h,"tabindex"))) },tabbable:function(i){var h=b.attr(i,"tabindex"),j=isNaN(h); return(j||h>=0)&&a(i,!j) }}),b("<a>").outerWidth(1).jquery||b.each(["Width","Height"],function(h,j){function m(q,o,p,r){return b.each(l,function(){o-=parseFloat(b.css(q,"padding"+this))||0,p&&(o-=parseFloat(b.css(q,"border"+this+"Width"))||0),r&&(o-=parseFloat(b.css(q,"margin"+this))||0) }),o }var l="Width"===j?["Left","Right"]:["Top","Bottom"],e=j.toLowerCase(),k={innerWidth:b.fn.innerWidth,innerHeight:b.fn.innerHeight,outerWidth:b.fn.outerWidth,outerHeight:b.fn.outerHeight}; b.fn["inner"+j]=function(n){return n===d?k["inner"+j].call(this):this.each(function(){b(this).css(e,m(this,n)+"px") }) },b.fn["outer"+j]=function(o,n){return"number"!=typeof o?k["outer"+j].call(this,o):this.each(function(){b(this).css(e,m(this,o,!0,n)+"px") }) } }),b.fn.addBack||(b.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e)) }),b("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(b.fn.removeData=function(h){return function(e){return arguments.length?h.call(this,b.camelCase(e)):h.call(this) } }(b.fn.removeData)),b.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),b.support.selectstart="onselectstart" in document.createElement("div"),b.fn.extend({disableSelection:function(){return this.bind((b.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault() }) },enableSelection:function(){return this.unbind(".ui-disableSelection") }}),b.extend(b.ui,{plugin:{add:function(k,h,j){var m,l=b.ui[k].prototype; for(m in j){l.plugins[m]=l.plugins[m]||[],l.plugins[m].push([h,j[m]]) }},call:function(j,l,h){var k,m=j.plugins[l]; if(m&&j.element[0].parentNode&&11!==j.element[0].parentNode.nodeType){for(k=0; m.length>k; k++){j.options[m[k][0]]&&m[k][1].apply(j.element,h) }}}},hasScroll:function(k,h){if("hidden"===b(k).css("overflow")){return !1 }var j=h&&"left"===h?"scrollLeft":"scrollTop",l=!1; return k[j]>0?!0:(k[j]=1,l=k[j]>0,k[j]=0,l) }}) })(jQuery),function(b,d){var a=0,c=Array.prototype.slice,f=b.cleanData; b.cleanData=function(j){for(var g,h=0; null!=(g=j[h]); h++){try{b(g).triggerHandler("remove") }catch(k){}}f(j) },b.widget=function(m,u,j){var g,t,e,p,k={},q=m.split(".")[0]; m=m.split(".")[1],g=q+"-"+m,j||(j=u,u=b.Widget),b.expr[":"][g.toLowerCase()]=function(h){return !!b.data(h,g) },b[q]=b[q]||{},t=b[q][m],e=b[q][m]=function(l,h){return this._createWidget?(arguments.length&&this._createWidget(l,h),d):new e(l,h) },b.extend(e,t,{version:j.version,_proto:b.extend({},j),_childConstructors:[]}),p=new u,p.options=b.widget.extend({},p.options),b.each(j,function(h,l){return b.isFunction(l)?(k[h]=function(){var i=function(){return u.prototype[h].apply(this,arguments) },n=function(o){return u.prototype[h].apply(this,o) }; return function(){var r,v=this._super,w=this._superApply; return this._super=i,this._superApply=n,r=l.apply(this,arguments),this._super=v,this._superApply=w,r } }(),d):(k[h]=l,d) }),e.prototype=b.widget.extend(p,{widgetEventPrefix:t?p.widgetEventPrefix||m:m},k,{constructor:e,namespace:q,widgetName:m,widgetFullName:g}),t?(b.each(t._childConstructors,function(n,h){var l=h.prototype; b.widget(l.namespace+"."+l.widgetName,e,h._proto) }),delete t._childConstructors):u._childConstructors.push(e),b.widget.bridge(m,e) },b.widget.extend=function(g){for(var m,l,e=c.call(arguments,1),k=0,j=e.length; j>k; k++){for(m in e[k]){l=e[k][m],e[k].hasOwnProperty(m)&&l!==d&&(g[m]=b.isPlainObject(l)?b.isPlainObject(g[m])?b.widget.extend({},g[m],l):b.widget.extend({},l):l) }}return g },b.widget.bridge=function(e,h){var g=h.prototype.widgetFullName||e; b.fn[e]=function(j){var m="string"==typeof j,k=c.call(arguments,1),i=this; return j=!m&&k.length?b.widget.extend.apply(null,[j].concat(k)):j,m?this.each(function(){var l,o=b.data(this,g); return o?b.isFunction(o[j])&&"_"!==j.charAt(0)?(l=o[j].apply(o,k),l!==o&&l!==d?(i=l&&l.jquery?i.pushStack(l.get()):l,!1):d):b.error("no such method '"+j+"' for "+e+" widget instance"):b.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+j+"'") }):this.each(function(){var l=b.data(this,g); l?l.option(j||{})._init():b.data(this,g,new h(j,this)) }),i } },b.Widget=function(){},b.Widget._childConstructors=[],b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(h,g){g=b(g||this.defaultElement||this)[0],this.element=b(g),this.uuid=a++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=b.widget.extend({},this.options,this._getCreateOptions(),h),this.bindings=b(),this.hoverable=b(),this.focusable=b(),g!==this&&(b.data(g,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===g&&this.destroy() }}),this.document=b(g.style?g.ownerDocument:g.document||g),this.window=b(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init() },_getCreateOptions:b.noop,_getCreateEventData:b.noop,_create:b.noop,_init:b.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(b.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus") },_destroy:b.noop,widget:function(){return this.element },option:function(g,h){var l,k,e,j=g; if(0===arguments.length){return b.widget.extend({},this.options) }if("string"==typeof g){if(j={},l=g.split("."),g=l.shift(),l.length){for(k=j[g]=b.widget.extend({},this.options[g]),e=0; l.length-1>e; e++){k[l[e]]=k[l[e]]||{},k=k[l[e]] }if(g=l.pop(),1===arguments.length){return k[g]===d?null:k[g] }k[g]=h }else{if(1===arguments.length){return this.options[g]===d?null:this.options[g] }j[g]=h }}return this._setOptions(j),this },_setOptions:function(g){var h; for(h in g){this._setOption(h,g[h]) }return this },_setOption:function(g,h){return this.options[g]=h,"disabled"===g&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!h).attr("aria-disabled",h),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this },enable:function(){return this._setOption("disabled",!1) },disable:function(){return this._setOption("disabled",!0) },_on:function(g,h,k){var j,e=this; "boolean"!=typeof g&&(k=h,h=g,g=!1),k?(h=j=b(h),this.bindings=this.bindings.add(h)):(k=h,h=this.element,j=this.widget()),b.each(k,function(s,p){function o(){return g||e.options.disabled!==!0&&!b(this).hasClass("ui-state-disabled")?("string"==typeof p?e[p]:p).apply(e,arguments):d }"string"!=typeof p&&(o.guid=p.guid=p.guid||o.guid||b.guid++); var i=s.match(/^(\w+)\s*(.*)$/),q=i[1]+e.eventNamespace,m=i[2]; m?j.delegate(m,q,o):h.bind(q,o) }) },_off:function(g,h){h=(h||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,g.unbind(h).undelegate(h) },_delay:function(h,k){function g(){return("string"==typeof h?j[h]:h).apply(j,arguments) }var j=this; return setTimeout(g,k||0) },_hoverable:function(g){this.hoverable=this.hoverable.add(g),this._on(g,{mouseenter:function(h){b(h.currentTarget).addClass("ui-state-hover") },mouseleave:function(h){b(h.currentTarget).removeClass("ui-state-hover") }}) },_focusable:function(g){this.focusable=this.focusable.add(g),this._on(g,{focusin:function(h){b(h.currentTarget).addClass("ui-state-focus") },focusout:function(h){b(h.currentTarget).removeClass("ui-state-focus") }}) },_trigger:function(k,h,j){var m,l,g=this.options[k]; if(j=j||{},h=b.Event(h),h.type=(k===this.widgetEventPrefix?k:this.widgetEventPrefix+k).toLowerCase(),h.target=this.element[0],l=h.originalEvent){for(m in l){m in h||(h[m]=l[m]) }}return this.element.trigger(h,j),!(b.isFunction(g)&&g.apply(this.element[0],[h].concat(j))===!1||h.isDefaultPrevented()) }},b.each({show:"fadeIn",hide:"fadeOut"},function(h,g){b.Widget.prototype["_"+h]=function(i,l,k){"string"==typeof l&&(l={effect:l}); var e,j=l?l===!0||"number"==typeof l?g:l.effect||g:h; l=l||{},"number"==typeof l&&(l={duration:l}),e=!b.isEmptyObject(l),l.complete=k,l.delay&&i.delay(l.delay),e&&b.effects&&b.effects.effect[j]?i[h](l):j!==h&&i[j]?i[j](l.duration,l.easing,k):i.queue(function(m){b(this)[h](),k&&k.call(i[0]),m() }) } }) }(jQuery),function(a){var b=!1; a(document).mouseup(function(){b=!1 }),a.widget("ui.mouse",{version:"1.10.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var c=this; this.element.bind("mousedown."+this.widgetName,function(d){return c._mouseDown(d) }).bind("click."+this.widgetName,function(d){return !0===a.data(d.target,c.widgetName+".preventClickEvent")?(a.removeData(d.target,c.widgetName+".preventClickEvent"),d.stopImmediatePropagation(),!1):undefined }),this.started=!1 },_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate) },_mouseDown:function(c){if(!b){this._mouseStarted&&this._mouseUp(c),this._mouseDownEvent=c; var d=this,f=1===c.which,e="string"==typeof this.options.cancel&&c.target.nodeName?a(c.target).closest(this.options.cancel).length:!1; return f&&!e&&this._mouseCapture(c)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0 },this.options.delay)),this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=this._mouseStart(c)!==!1,!this._mouseStarted)?(c.preventDefault(),!0):(!0===a.data(c.target,this.widgetName+".preventClickEvent")&&a.removeData(c.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(g){return d._mouseMove(g) },this._mouseUpDelegate=function(g){return d._mouseUp(g) },a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),c.preventDefault(),b=!0,!0)):!0 }},_mouseMove:function(c){return a.ui.ie&&(!document.documentMode||9>document.documentMode)&&!c.button?this._mouseUp(c):this._mouseStarted?(this._mouseDrag(c),c.preventDefault()):(this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,c)!==!1,this._mouseStarted?this._mouseDrag(c):this._mouseUp(c)),!this._mouseStarted) },_mouseUp:function(c){return a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,c.target===this._mouseDownEvent.target&&a.data(c.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(c)),!1 },_mouseDistanceMet:function(c){return Math.max(Math.abs(this._mouseDownEvent.pageX-c.pageX),Math.abs(this._mouseDownEvent.pageY-c.pageY))>=this.options.distance },_mouseDelayMet:function(){return this.mouseDelayMet },_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return !0 }}) }(jQuery),function(a){a.widget("ui.draggable",a.ui.mouse,{version:"1.10.4",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(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit() },_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy() },_mouseCapture:function(c){var b=this.options; return this.helper||b.disabled||a(c.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(c),this.handle?(a(b.iframeFix===!0?"iframe":b.iframeFix).each(function(){a("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body") }),!0):!1) },_mouseStart:function(c){var b=this.options; return this.helper=this._createHelper(c),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),a.ui.ddmanager&&(a.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,a.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(c),this.originalPageX=c.pageX,this.originalPageY=c.pageY,b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt),this._setContainment(),this._trigger("start",c)===!1?(this._clear(),!1):(this._cacheHelperProportions(),a.ui.ddmanager&&!b.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,c),this._mouseDrag(c,!0),a.ui.ddmanager&&a.ui.ddmanager.dragStart(this,c),!0) },_mouseDrag:function(d,b){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(d),this.positionAbs=this._convertPositionTo("absolute"),!b){var c=this._uiHash(); if(this._trigger("drag",d,c)===!1){return this._mouseUp({}),!1 }this.position=c.position }return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),a.ui.ddmanager&&a.ui.ddmanager.drag(this,d),!1 },_mouseStop:function(d){var b=this,c=!1; return a.ui.ddmanager&&!this.options.dropBehaviour&&(c=a.ui.ddmanager.drop(this,d)),this.dropped&&(c=this.dropped,this.dropped=!1),"original"!==this.options.helper||a.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!c||"valid"===this.options.revert&&c||this.options.revert===!0||a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)?a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){b._trigger("stop",d)!==!1&&b._clear() }):this._trigger("stop",d)!==!1&&this._clear(),!1):!1 },_mouseUp:function(b){return a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this) }),a.ui.ddmanager&&a.ui.ddmanager.dragStop(this,b),a.ui.mouse.prototype._mouseUp.call(this,b) },cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this },_getHandle:function(b){return this.options.handle?!!a(b.target).closest(this.element.find(this.options.handle)).length:!0 },_createHelper:function(d){var b=this.options,c=a.isFunction(b.helper)?a(b.helper.apply(this.element[0],[d])):"clone"===b.helper?this.element.clone().removeAttr("id"):this.element; return c.parents("body").length||c.appendTo("parent"===b.appendTo?this.element[0].parentNode:b.appendTo),c[0]===this.element[0]||/(fixed|absolute)/.test(c.css("position"))||c.css("position","absolute"),c },_adjustOffsetFromHelper:function(b){"string"==typeof b&&(b=b.split(" ")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),"left" in b&&(this.offset.click.left=b.left+this.margins.left),"right" in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),"top" in b&&(this.offset.click.top=b.top+this.margins.top),"bottom" in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top) },_getParentOffset:function(){var b=this.offsetParent.offset(); return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&a.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&a.ui.ie)&&(b={top:0,left:0}),{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)} },_getRelativeOffset:function(){if("relative"===this.cssPosition){var b=this.element.position(); return{top:b.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()} }return{top:0,left:0} },_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 d,b,c,f=this.options; return f.containment?"window"===f.containment?(this.containment=[a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,a(window).scrollLeft()+a(window).width()-this.helperProportions.width-this.margins.left,a(window).scrollTop()+(a(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===f.containment?(this.containment=[0,0,a(document).width()-this.helperProportions.width-this.margins.left,(a(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):f.containment.constructor===Array?(this.containment=f.containment,undefined):("parent"===f.containment&&(f.containment=this.helper[0].parentNode),b=a(f.containment),c=b[0],c&&(d="hidden"!==b.css("overflow"),this.containment=[(parseInt(b.css("borderLeftWidth"),10)||0)+(parseInt(b.css("paddingLeft"),10)||0),(parseInt(b.css("borderTopWidth"),10)||0)+(parseInt(b.css("paddingTop"),10)||0),(d?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(b.css("borderRightWidth"),10)||0)-(parseInt(b.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(d?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(b.css("borderBottomWidth"),10)||0)-(parseInt(b.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=b),undefined):(this.containment=null,undefined) },_convertPositionTo:function(d,b){b||(b=this.position); var c="absolute"===d?1:-1,f="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&a.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent; return this.offset.scroll||(this.offset.scroll={top:f.scrollTop(),left:f.scrollLeft()}),{top:b.top+this.offset.relative.top*c+this.offset.parent.top*c-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*c,left:b.left+this.offset.relative.left*c+this.offset.parent.left*c-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*c} },_generatePosition:function(k){var g,p,d,c,m=this.options,b="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&a.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,j=k.pageX,f=k.pageY; return this.offset.scroll||(this.offset.scroll={top:b.scrollTop(),left:b.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(p=this.relative_container.offset(),g=[this.containment[0]+p.left,this.containment[1]+p.top,this.containment[2]+p.left,this.containment[3]+p.top]):g=this.containment,k.pageX-this.offset.click.left<g[0]&&(j=g[0]+this.offset.click.left),k.pageY-this.offset.click.top<g[1]&&(f=g[1]+this.offset.click.top),k.pageX-this.offset.click.left>g[2]&&(j=g[2]+this.offset.click.left),k.pageY-this.offset.click.top>g[3]&&(f=g[3]+this.offset.click.top)),m.grid&&(d=m.grid[1]?this.originalPageY+Math.round((f-this.originalPageY)/m.grid[1])*m.grid[1]:this.originalPageY,f=g?d-this.offset.click.top>=g[1]||d-this.offset.click.top>g[3]?d:d-this.offset.click.top>=g[1]?d-m.grid[1]:d+m.grid[1]:d,c=m.grid[0]?this.originalPageX+Math.round((j-this.originalPageX)/m.grid[0])*m.grid[0]:this.originalPageX,j=g?c-this.offset.click.left>=g[0]||c-this.offset.click.left>g[2]?c:c-this.offset.click.left>=g[0]?c-m.grid[0]:c+m.grid[0]:c)),{top:f-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:j-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)} },_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1 },_trigger:function(d,b,c){return c=c||this._uiHash(),a.ui.plugin.call(this,d,[b,c]),"drag"===d&&(this.positionAbs=this._convertPositionTo("absolute")),a.Widget.prototype._trigger.call(this,d,b,c) },plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs} }}),a.ui.plugin.add("draggable","connectToSortable",{start:function(d,b){var c=a(this).data("ui-draggable"),g=c.options,f=a.extend({},b,{item:c.element}); c.sortables=[],a(g.connectToSortable).each(function(){var e=a.data(this,"ui-sortable"); e&&!e.options.disabled&&(c.sortables.push({instance:e,shouldRevert:e.options.revert}),e.refreshPositions(),e._trigger("activate",d,f)) }) },stop:function(d,b){var c=a(this).data("ui-draggable"),f=a.extend({},b,{item:c.element}); a.each(c.sortables,function(){this.instance.isOver?(this.instance.isOver=0,c.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(d),this.instance.options.helper=this.instance.options._helper,"original"===c.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",d,f)) }) },drag:function(d,b){var c=a(this).data("ui-draggable"),f=this; a.each(c.sortables,function(){var g=!1,e=this; this.instance.positionAbs=c.positionAbs,this.instance.helperProportions=c.helperProportions,this.instance.offset.click=c.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(g=!0,a.each(c.sortables,function(){return this.instance.positionAbs=c.positionAbs,this.instance.helperProportions=c.helperProportions,this.instance.offset.click=c.offset.click,this!==e&&this.instance._intersectsWith(this.instance.containerCache)&&a.contains(e.instance.element[0],this.instance.element[0])&&(g=!1),g })),g?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=a(f).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return b.helper[0] },d.target=this.instance.currentItem[0],this.instance._mouseCapture(d,!0),this.instance._mouseStart(d,!0,!0),this.instance.offset.click.top=c.offset.click.top,this.instance.offset.click.left=c.offset.click.left,this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top,c._trigger("toSortable",d),c.dropped=this.instance.element,c.currentItem=c.element,this.instance.fromOutside=c),this.instance.currentItem&&this.instance._mouseDrag(d)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",d,this.instance._uiHash(this.instance)),this.instance._mouseStop(d,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),c._trigger("fromSortable",d),c.dropped=!1) }) }}),a.ui.plugin.add("draggable","cursor",{start:function(){var c=a("body"),b=a(this).data("ui-draggable").options; c.css("cursor")&&(b._cursor=c.css("cursor")),c.css("cursor",b.cursor) },stop:function(){var b=a(this).data("ui-draggable").options; b._cursor&&a("body").css("cursor",b._cursor) }}),a.ui.plugin.add("draggable","opacity",{start:function(d,b){var c=a(b.helper),f=a(this).data("ui-draggable").options; c.css("opacity")&&(f._opacity=c.css("opacity")),c.css("opacity",f.opacity) },stop:function(d,b){var c=a(this).data("ui-draggable").options; c._opacity&&a(b.helper).css("opacity",c._opacity) }}),a.ui.plugin.add("draggable","scroll",{start:function(){var b=a(this).data("ui-draggable"); b.scrollParent[0]!==document&&"HTML"!==b.scrollParent[0].tagName&&(b.overflowOffset=b.scrollParent.offset()) },drag:function(d){var b=a(this).data("ui-draggable"),c=b.options,f=!1; b.scrollParent[0]!==document&&"HTML"!==b.scrollParent[0].tagName?(c.axis&&"x"===c.axis||(b.overflowOffset.top+b.scrollParent[0].offsetHeight-d.pageY<c.scrollSensitivity?b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed:d.pageY-b.overflowOffset.top<c.scrollSensitivity&&(b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed)),c.axis&&"y"===c.axis||(b.overflowOffset.left+b.scrollParent[0].offsetWidth-d.pageX<c.scrollSensitivity?b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed:d.pageX-b.overflowOffset.left<c.scrollSensitivity&&(b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed))):(c.axis&&"x"===c.axis||(d.pageY-a(document).scrollTop()<c.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-c.scrollSpeed):a(window).height()-(d.pageY-a(document).scrollTop())<c.scrollSensitivity&&(f=a(document).scrollTop(a(document).scrollTop()+c.scrollSpeed))),c.axis&&"y"===c.axis||(d.pageX-a(document).scrollLeft()<c.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-c.scrollSpeed):a(window).width()-(d.pageX-a(document).scrollLeft())<c.scrollSensitivity&&(f=a(document).scrollLeft(a(document).scrollLeft()+c.scrollSpeed)))),f!==!1&&a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(b,d) }}),a.ui.plugin.add("draggable","snap",{start:function(){var c=a(this).data("ui-draggable"),b=c.options; c.snapElements=[],a(b.snap.constructor!==String?b.snap.items||":data(ui-draggable)":b.snap).each(function(){var d=a(this),e=d.offset(); this!==c.element[0]&&c.snapElements.push({item:this,width:d.outerWidth(),height:d.outerHeight(),top:e.top,left:e.left}) }) },drag:function(F,B){var q,y,x,J,t,C,A,H,k,G,w=a(this).data("ui-draggable"),E=w.options,D=E.snapTolerance,z=B.offset.left,j=z+w.helperProportions.width,K=B.offset.top,I=K+w.helperProportions.height; for(k=w.snapElements.length-1; k>=0; k--){t=w.snapElements[k].left,C=t+w.snapElements[k].width,A=w.snapElements[k].top,H=A+w.snapElements[k].height,t-D>j||z>C+D||A-D>I||K>H+D||!a.contains(w.snapElements[k].item.ownerDocument,w.snapElements[k].item)?(w.snapElements[k].snapping&&w.options.snap.release&&w.options.snap.release.call(w.element,F,a.extend(w._uiHash(),{snapItem:w.snapElements[k].item})),w.snapElements[k].snapping=!1):("inner"!==E.snapMode&&(q=D>=Math.abs(A-I),y=D>=Math.abs(H-K),x=D>=Math.abs(t-j),J=D>=Math.abs(C-z),q&&(B.position.top=w._convertPositionTo("relative",{top:A-w.helperProportions.height,left:0}).top-w.margins.top),y&&(B.position.top=w._convertPositionTo("relative",{top:H,left:0}).top-w.margins.top),x&&(B.position.left=w._convertPositionTo("relative",{top:0,left:t-w.helperProportions.width}).left-w.margins.left),J&&(B.position.left=w._convertPositionTo("relative",{top:0,left:C}).left-w.margins.left)),G=q||y||x||J,"outer"!==E.snapMode&&(q=D>=Math.abs(A-K),y=D>=Math.abs(H-I),x=D>=Math.abs(t-z),J=D>=Math.abs(C-j),q&&(B.position.top=w._convertPositionTo("relative",{top:A,left:0}).top-w.margins.top),y&&(B.position.top=w._convertPositionTo("relative",{top:H-w.helperProportions.height,left:0}).top-w.margins.top),x&&(B.position.left=w._convertPositionTo("relative",{top:0,left:t}).left-w.margins.left),J&&(B.position.left=w._convertPositionTo("relative",{top:0,left:C-w.helperProportions.width}).left-w.margins.left)),!w.snapElements[k].snapping&&(q||y||x||J||G)&&w.options.snap.snap&&w.options.snap.snap.call(w.element,F,a.extend(w._uiHash(),{snapItem:w.snapElements[k].item})),w.snapElements[k].snapping=q||y||x||J||G) }}}),a.ui.plugin.add("draggable","stack",{start:function(){var d,b=this.data("ui-draggable").options,c=a.makeArray(a(b.stack)).sort(function(g,f){return(parseInt(a(g).css("zIndex"),10)||0)-(parseInt(a(f).css("zIndex"),10)||0) }); c.length&&(d=parseInt(a(c[0]).css("zIndex"),10)||0,a(c).each(function(e){a(this).css("zIndex",d+e) }),this.css("zIndex",d+c.length)) }}),a.ui.plugin.add("draggable","zIndex",{start:function(d,b){var c=a(b.helper),f=a(this).data("ui-draggable").options; c.css("zIndex")&&(f._zIndex=c.css("zIndex")),c.css("zIndex",f.zIndex) },stop:function(d,b){var c=a(this).data("ui-draggable").options; c._zIndex&&a(b.helper).css("zIndex",c._zIndex) }}) }(jQuery),function(a){function b(d,f,c){return d>f&&f+c>d }a.widget("ui.droppable",{version:"1.10.4",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var f,c=this.options,d=c.accept; this.isover=!1,this.isout=!0,this.accept=a.isFunction(d)?d:function(e){return e.is(d) },this.proportions=function(){return arguments.length?(f=arguments[0],undefined):f?f:f={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight} },a.ui.ddmanager.droppables[c.scope]=a.ui.ddmanager.droppables[c.scope]||[],a.ui.ddmanager.droppables[c.scope].push(this),c.addClasses&&this.element.addClass("ui-droppable") },_destroy:function(){for(var d=0,c=a.ui.ddmanager.droppables[this.options.scope]; c.length>d; d++){c[d]===this&&c.splice(d,1) }this.element.removeClass("ui-droppable ui-droppable-disabled") },_setOption:function(d,c){"accept"===d&&(this.accept=a.isFunction(c)?c:function(e){return e.is(c) }),a.Widget.prototype._setOption.apply(this,arguments) },_activate:function(d){var c=a.ui.ddmanager.current; this.options.activeClass&&this.element.addClass(this.options.activeClass),c&&this._trigger("activate",d,this.ui(c)) },_deactivate:function(d){var c=a.ui.ddmanager.current; this.options.activeClass&&this.element.removeClass(this.options.activeClass),c&&this._trigger("deactivate",d,this.ui(c)) },_over:function(d){var c=a.ui.ddmanager.current; c&&(c.currentItem||c.element)[0]!==this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",d,this.ui(c))) },_out:function(d){var c=a.ui.ddmanager.current; c&&(c.currentItem||c.element)[0]!==this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",d,this.ui(c))) },_drop:function(f,c){var d=c||a.ui.ddmanager.current,g=!1; return d&&(d.currentItem||d.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var h=a.data(this,"ui-droppable"); return h.options.greedy&&!h.options.disabled&&h.options.scope===d.options.scope&&h.accept.call(h.element[0],d.currentItem||d.element)&&a.ui.intersect(d,a.extend(h,{offset:h.element.offset()}),h.options.tolerance)?(g=!0,!1):undefined }),g?!1:this.accept.call(this.element[0],d.currentItem||d.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",f,this.ui(d)),this.element):!1):!1 },ui:function(c){return{draggable:c.currentItem||c.element,helper:c.helper,position:c.position,offset:c.positionAbs} }}),a.ui.intersect=function(z,m,A){if(!m.offset){return !1 }var j,g,x=(z.positionAbs||z.position.absolute).left,e=(z.positionAbs||z.position.absolute).top,q=x+z.helperProportions.width,k=e+z.helperProportions.height,w=m.offset.left,y=m.offset.top,v=w+m.proportions().width,f=y+m.proportions().height; switch(A){case"fit":return x>=w&&v>=q&&e>=y&&f>=k; case"intersect":return x+z.helperProportions.width/2>w&&v>q-z.helperProportions.width/2&&e+z.helperProportions.height/2>y&&f>k-z.helperProportions.height/2; case"pointer":return j=(z.positionAbs||z.position.absolute).left+(z.clickOffset||z.offset.click).left,g=(z.positionAbs||z.position.absolute).top+(z.clickOffset||z.offset.click).top,b(g,y,m.proportions().height)&&b(j,w,m.proportions().width); case"touch":return(e>=y&&f>=e||k>=y&&f>=k||y>e&&k>f)&&(x>=w&&v>=x||q>=w&&v>=q||w>x&&q>v); default:return !1 }},a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(h,d){var f,k,j=a.ui.ddmanager.droppables[h.options.scope]||[],c=d?d.type:null,g=(h.currentItem||h.element).find(":data(ui-droppable)").addBack(); a:for(f=0; j.length>f; f++){if(!(j[f].options.disabled||h&&!j[f].accept.call(j[f].element[0],h.currentItem||h.element))){for(k=0; g.length>k; k++){if(g[k]===j[f].element[0]){j[f].proportions().height=0; continue a }}j[f].visible="none"!==j[f].element.css("display"),j[f].visible&&("mousedown"===c&&j[f]._activate.call(j[f],d),j[f].offset=j[f].element.offset(),j[f].proportions({width:j[f].element[0].offsetWidth,height:j[f].element[0].offsetHeight})) }}},drop:function(f,c){var d=!1; return a.each((a.ui.ddmanager.droppables[f.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&a.ui.intersect(f,this,this.options.tolerance)&&(d=this._drop.call(this,c)||d),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],f.currentItem||f.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,c))) }),d },dragStart:function(d,c){d.element.parentsUntil("body").bind("scroll.droppable",function(){d.options.refreshPositions||a.ui.ddmanager.prepareOffsets(d,c) }) },drag:function(d,c){d.options.refreshPositions&&a.ui.ddmanager.prepareOffsets(d,c),a.each(a.ui.ddmanager.droppables[d.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var f,i,h,e=a.ui.intersect(d,this,this.options.tolerance),g=!e&&this.isover?"isout":e&&!this.isover?"isover":null; g&&(this.options.greedy&&(i=this.options.scope,h=this.element.parents(":data(ui-droppable)").filter(function(){return a.data(this,"ui-droppable").options.scope===i }),h.length&&(f=a.data(h[0],"ui-droppable"),f.greedyChild="isover"===g)),f&&"isover"===g&&(f.isover=!1,f.isout=!0,f._out.call(f,c)),this[g]=!0,this["isout"===g?"isover":"isout"]=!1,this["isover"===g?"_over":"_out"].call(this,c),f&&"isout"===g&&(f.isout=!1,f.isover=!0,f._over.call(f,c))) }}) },dragStop:function(d,c){d.element.parentsUntil("body").unbind("scroll.droppable"),d.options.refreshPositions||a.ui.ddmanager.prepareOffsets(d,c) }} }(jQuery),function(b){function c(d){return parseInt(d,10)||0 }function a(d){return !isNaN(parseInt(d,10)) }b.widget("ui.resizable",b.ui.mouse,{version:"1.10.4",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,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},_create:function(){var j,f,g,l,k,d=this,h=this.options; if(this.element.addClass("ui-resizable"),b.extend(this,{_aspectRatio:!!h.aspectRatio,aspectRatio:h.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:h.helper||h.ghost||h.animate?h.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(b("<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.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom: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({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=h.handles||(b(".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.constructor===String){for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),j=this.handles.split(","),this.handles={},f=0; j.length>f; f++){g=b.trim(j[f]),k="ui-resizable-"+g,l=b("<div class='ui-resizable-handle "+k+"'></div>"),l.css({zIndex:h.zIndex}),"se"===g&&l.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[g]=".ui-resizable-"+g,this.element.append(l) }}this._renderAxis=function(q){var m,p,t,r; q=q||this.element; for(m in this.handles){this.handles[m].constructor===String&&(this.handles[m]=b(this.handles[m],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(p=b(this.handles[m],this.element),r=/sw|ne|nw|se|n|s/.test(m)?p.outerHeight():p.outerWidth(),t=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join(""),q.css(t,r),this._proportionallyResize()),b(this.handles[m]).length }},this._renderAxis(this.element),this._handles=b(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){d.resizing||(this.className&&(l=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),d.axis=l&&l[1]?l[1]:"se") }),h.autoHide&&(this._handles.hide(),b(this.element).addClass("ui-resizable-autohide").mouseenter(function(){h.disabled||(b(this).removeClass("ui-resizable-autohide"),d._handles.show()) }).mouseleave(function(){h.disabled||d.resizing||(b(this).addClass("ui-resizable-autohide"),d._handles.hide()) })),this._mouseInit() },_destroy:function(){this._mouseDestroy(); var f,d=function(g){b(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove() }; return this.elementIsWrapper&&(d(this.element),f=this.element,this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")}).insertAfter(f),f.remove()),this.originalElement.css("resize",this.originalResizeStyle),d(this.originalElement),this },_mouseCapture:function(g){var d,f,h=!1; for(d in this.handles){f=b(this.handles[d])[0],(f===g.target||b.contains(f,g.target))&&(h=!0) }return !this.options.disabled&&h },_mouseStart:function(e){var g,l,k,d=this.options,j=this.element.position(),f=this.element; return this.resizing=!0,/absolute/.test(f.css("position"))?f.css({position:"absolute",top:f.css("top"),left:f.css("left")}):f.is(".ui-draggable")&&f.css({position:"absolute",top:j.top,left:j.left}),this._renderProxy(),g=c(this.helper.css("left")),l=c(this.helper.css("top")),d.containment&&(g+=b(d.containment).scrollLeft()||0,l+=b(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:l},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:l},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof d.aspectRatio?d.aspectRatio:this.originalSize.width/this.originalSize.height||1,k=b(".ui-resizable-"+this.axis).css("cursor"),b("body").css("cursor","auto"===k?this.axis+"-resize":k),f.addClass("ui-resizable-resizing"),this._propagate("start",e),!0 },_mouseDrag:function(v){var q,A=this.helper,k={},j=this.originalMousePosition,y=this.axis,f=this.position.top,t=this.position.left,m=this.size.width,x=this.size.height,z=v.pageX-j.left||0,w=v.pageY-j.top||0,g=this._change[y]; return g?(q=g.apply(this,[v,z,w]),this._updateVirtualBoundaries(v.shiftKey),(this._aspectRatio||v.shiftKey)&&(q=this._updateRatio(q,v)),q=this._respectSize(q,v),this._updateCache(q),this._propagate("resize",v),this.position.top!==f&&(k.top=this.position.top+"px"),this.position.left!==t&&(k.left=this.position.left+"px"),this.size.width!==m&&(k.width=this.size.width+"px"),this.size.height!==x&&(k.height=this.size.height+"px"),A.css(k),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),b.isEmptyObject(k)||this._trigger("resize",v,this.ui()),!1):!1 },_mouseStop:function(p){this.resizing=!1; var k,u,g,f,t,d,m,j=this.options,q=this; return this._helper&&(k=this._proportionallyResizeElements,u=k.length&&/textarea/i.test(k[0].nodeName),g=u&&b.ui.hasScroll(k[0],"left")?0:q.sizeDiff.height,f=u?0:q.sizeDiff.width,t={width:q.helper.width()-f,height:q.helper.height()-g},d=parseInt(q.element.css("left"),10)+(q.position.left-q.originalPosition.left)||null,m=parseInt(q.element.css("top"),10)+(q.position.top-q.originalPosition.top)||null,j.animate||this.element.css(b.extend(t,{top:m,left:d})),q.helper.height(q.size.height),q.helper.width(q.size.width),this._helper&&!j.animate&&this._proportionallyResize()),b("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",p),this._helper&&this.helper.remove(),!1 },_updateVirtualBoundaries:function(f){var i,g,k,j,d,h=this.options; d={minWidth:a(h.minWidth)?h.minWidth:0,maxWidth:a(h.maxWidth)?h.maxWidth:1/0,minHeight:a(h.minHeight)?h.minHeight:0,maxHeight:a(h.maxHeight)?h.maxHeight:1/0},(this._aspectRatio||f)&&(i=d.minHeight*this.aspectRatio,k=d.minWidth/this.aspectRatio,g=d.maxHeight*this.aspectRatio,j=d.maxWidth/this.aspectRatio,i>d.minWidth&&(d.minWidth=i),k>d.minHeight&&(d.minHeight=k),d.maxWidth>g&&(d.maxWidth=g),d.maxHeight>j&&(d.maxHeight=j)),this._vBoundaries=d },_updateCache:function(d){this.offset=this.helper.offset(),a(d.left)&&(this.position.left=d.left),a(d.top)&&(this.position.top=d.top),a(d.height)&&(this.size.height=d.height),a(d.width)&&(this.size.width=d.width) },_updateRatio:function(d){var g=this.position,f=this.size,h=this.axis; return a(d.height)?d.width=d.height*this.aspectRatio:a(d.width)&&(d.height=d.width/this.aspectRatio),"sw"===h&&(d.left=g.left+(f.width-d.width),d.top=null),"nw"===h&&(d.top=g.top+(f.height-d.height),d.left=g.left+(f.width-d.width)),d },_respectSize:function(v){var k=this._vBoundaries,w=this.axis,g=a(v.width)&&k.maxWidth&&k.maxWidth<v.width,f=a(v.height)&&k.maxHeight&&k.maxHeight<v.height,p=a(v.width)&&k.minWidth&&k.minWidth>v.width,d=a(v.height)&&k.minHeight&&k.minHeight>v.height,j=this.originalPosition.left+this.originalSize.width,i=this.position.top+this.size.height,m=/sw|nw|w/.test(w),q=/nw|ne|n/.test(w); return p&&(v.width=k.minWidth),d&&(v.height=k.minHeight),g&&(v.width=k.maxWidth),f&&(v.height=k.maxHeight),p&&m&&(v.left=j-k.minWidth),g&&m&&(v.left=j-k.maxWidth),d&&q&&(v.top=i-k.minHeight),f&&q&&(v.top=i-k.maxHeight),v.width||v.height||v.left||!v.top?v.width||v.height||v.top||!v.left||(v.left=null):v.top=null,v },_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var f,h,d,g,k,j=this.helper||this.element; for(f=0; this._proportionallyResizeElements.length>f; f++){if(k=this._proportionallyResizeElements[f],!this.borderDif){for(this.borderDif=[],d=[k.css("borderTopWidth"),k.css("borderRightWidth"),k.css("borderBottomWidth"),k.css("borderLeftWidth")],g=[k.css("paddingTop"),k.css("paddingRight"),k.css("paddingBottom"),k.css("paddingLeft")],h=0; d.length>h; h++){this.borderDif[h]=(parseInt(d[h],10)||0)+(parseInt(g[h],10)||0) }}k.css({height:j.height()-this.borderDif[0]-this.borderDif[2]||0,width:j.width()-this.borderDif[1]-this.borderDif[3]||0}) }}},_renderProxy:function(){var f=this.element,d=this.options; this.elementOffset=f.offset(),this._helper?(this.helper=this.helper||b("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++d.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element },_change:{e:function(d,f){return{width:this.originalSize.width+f} },w:function(f,h){var d=this.originalSize,g=this.originalPosition; return{left:g.left+h,width:d.width-h} },n:function(f,h,d){var g=this.originalSize,j=this.originalPosition; return{top:j.top+d,height:g.height-d} },s:function(f,g,d){return{height:this.originalSize.height+d} },se:function(g,d,f){return b.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,d,f])) },sw:function(g,d,f){return b.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,d,f])) },ne:function(g,d,f){return b.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,d,f])) },nw:function(g,d,f){return b.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,d,f])) }},_propagate:function(f,d){b.ui.plugin.call(this,f,[d,this.ui()]),"resize"!==f&&this._trigger(f,d,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} }}),b.ui.plugin.add("resizable","animate",{stop:function(p){var k=b(this).data("ui-resizable"),u=k.options,g=k._proportionallyResizeElements,f=g.length&&/textarea/i.test(g[0].nodeName),t=f&&b.ui.hasScroll(g[0],"left")?0:k.sizeDiff.height,d=f?0:k.sizeDiff.width,m={width:k.size.width-d,height:k.size.height-t},j=parseInt(k.element.css("left"),10)+(k.position.left-k.originalPosition.left)||null,q=parseInt(k.element.css("top"),10)+(k.position.top-k.originalPosition.top)||null; k.element.animate(b.extend(m,q&&j?{top:q,left:j}:{}),{duration:u.animateDuration,easing:u.animateEasing,step:function(){var e={width:parseInt(k.element.css("width"),10),height:parseInt(k.element.css("height"),10),top:parseInt(k.element.css("top"),10),left:parseInt(k.element.css("left"),10)}; g&&g.length&&b(g[0]).css({width:e.width,height:e.height}),k._updateCache(e),k._propagate("resize",p) }}) }}),b.ui.plugin.add("resizable","containment",{start:function(){var m,y,j,g,w,e,q,k=b(this).data("ui-resizable"),v=k.options,x=k.element,t=v.containment,f=t instanceof b?t.get(0):/parent/.test(t)?x.parent().get(0):t; f&&(k.containerElement=b(f),/document/.test(t)||t===document?(k.containerOffset={left:0,top:0},k.containerPosition={left:0,top:0},k.parentData={element:b(document),left:0,top:0,width:b(document).width(),height:b(document).height()||document.body.parentNode.scrollHeight}):(m=b(f),y=[],b(["Top","Right","Left","Bottom"]).each(function(d,h){y[d]=c(m.css("padding"+h)) }),k.containerOffset=m.offset(),k.containerPosition=m.position(),k.containerSize={height:m.innerHeight()-y[3],width:m.innerWidth()-y[1]},j=k.containerOffset,g=k.containerSize.height,w=k.containerSize.width,e=b.ui.hasScroll(f,"left")?f.scrollWidth:w,q=b.ui.hasScroll(f)?f.scrollHeight:g,k.parentData={element:f,left:j.left,top:j.top,width:e,height:q})) },resize:function(q){var m,y,j,g,w=b(this).data("ui-resizable"),f=w.options,p=w.containerOffset,k=w.position,v=w._aspectRatio||q.shiftKey,x={top:0,left:0},t=w.containerElement; t[0]!==document&&/static/.test(t.css("position"))&&(x=p),k.left<(w._helper?p.left:0)&&(w.size.width=w.size.width+(w._helper?w.position.left-p.left:w.position.left-x.left),v&&(w.size.height=w.size.width/w.aspectRatio),w.position.left=f.helper?p.left:0),k.top<(w._helper?p.top:0)&&(w.size.height=w.size.height+(w._helper?w.position.top-p.top:w.position.top),v&&(w.size.width=w.size.height*w.aspectRatio),w.position.top=w._helper?p.top:0),w.offset.left=w.parentData.left+w.position.left,w.offset.top=w.parentData.top+w.position.top,m=Math.abs((w._helper?w.offset.left-x.left:w.offset.left-x.left)+w.sizeDiff.width),y=Math.abs((w._helper?w.offset.top-x.top:w.offset.top-p.top)+w.sizeDiff.height),j=w.containerElement.get(0)===w.element.parent().get(0),g=/relative|absolute/.test(w.containerElement.css("position")),j&&g&&(m-=Math.abs(w.parentData.left)),m+w.size.width>=w.parentData.width&&(w.size.width=w.parentData.width-m,v&&(w.size.height=w.size.width/w.aspectRatio)),y+w.size.height>=w.parentData.height&&(w.size.height=w.parentData.height-y,v&&(w.size.width=w.size.height*w.aspectRatio)) },stop:function(){var p=b(this).data("ui-resizable"),k=p.options,t=p.containerOffset,g=p.containerPosition,f=p.containerElement,q=b(p.helper),d=q.offset(),m=q.outerWidth()-p.sizeDiff.width,j=q.outerHeight()-p.sizeDiff.height; p._helper&&!k.animate&&/relative/.test(f.css("position"))&&b(this).css({left:d.left-g.left-t.left,width:m,height:j}),p._helper&&!k.animate&&/static/.test(f.css("position"))&&b(this).css({left:d.left-g.left-t.left,width:m,height:j}) }}),b.ui.plugin.add("resizable","alsoResize",{start:function(){var g=b(this).data("ui-resizable"),d=g.options,f=function(h){b(h).each(function(){var i=b(this); i.data("ui-resizable-alsoresize",{width:parseInt(i.width(),10),height:parseInt(i.height(),10),left:parseInt(i.css("left"),10),top:parseInt(i.css("top"),10)}) }) }; "object"!=typeof d.alsoResize||d.alsoResize.parentNode?f(d.alsoResize):d.alsoResize.length?(d.alsoResize=d.alsoResize[0],f(d.alsoResize)):b.each(d.alsoResize,function(e){f(e) }) },resize:function(l,f){var j=b(this).data("ui-resizable"),p=j.options,m=j.originalSize,d=j.originalPosition,k={height:j.size.height-m.height||0,width:j.size.width-m.width||0,top:j.position.top-d.top||0,left:j.position.left-d.left||0},g=function(i,h){b(i).each(function(){var r=b(this),t=b(this).data("ui-resizable-alsoresize"),s={},q=h&&h.length?h:r.parents(f.originalElement[0]).length?["width","height"]:["width","height","top","left"]; b.each(q,function(o,u){var n=(t[u]||0)+(k[u]||0); n&&n>=0&&(s[u]=n||null) }),r.css(s) }) }; "object"!=typeof p.alsoResize||p.alsoResize.nodeType?g(p.alsoResize):b.each(p.alsoResize,function(h,i){g(h,i) }) },stop:function(){b(this).removeData("resizable-alsoresize") }}),b.ui.plugin.add("resizable","ghost",{start:function(){var g=b(this).data("ui-resizable"),d=g.options,f=g.size; g.ghost=g.originalElement.clone(),g.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof d.ghost?d.ghost:""),g.ghost.appendTo(g.helper) },resize:function(){var d=b(this).data("ui-resizable"); d.ghost&&d.ghost.css({position:"relative",height:d.size.height,width:d.size.width}) },stop:function(){var d=b(this).data("ui-resizable"); d.ghost&&d.helper&&d.helper.get(0).removeChild(d.ghost.get(0)) }}),b.ui.plugin.add("resizable","grid",{resize:function(){var C=b(this).data("ui-resizable"),y=C.options,I=C.size,t=C.originalSize,q=C.originalPosition,F=C.axis,j="number"==typeof y.grid?[y.grid,y.grid]:y.grid,z=j[0]||1,x=j[1]||1,E=Math.round((I.width-t.width)/z)*z,H=Math.round((I.height-t.height)/x)*x,D=t.width+E,k=t.height+H,B=y.maxWidth&&D>y.maxWidth,A=y.maxHeight&&k>y.maxHeight,w=y.minWidth&&y.minWidth>D,G=y.minHeight&&y.minHeight>k; y.grid=j,w&&(D+=z),G&&(k+=x),B&&(D-=z),A&&(k-=x),/^(se|s|e)$/.test(F)?(C.size.width=D,C.size.height=k):/^(ne)$/.test(F)?(C.size.width=D,C.size.height=k,C.position.top=q.top-H):/^(sw)$/.test(F)?(C.size.width=D,C.size.height=k,C.position.left=q.left-E):(k-x>0?(C.size.height=k,C.position.top=q.top-H):(C.size.height=x,C.position.top=q.top+t.height-x),D-z>0?(C.size.width=D,C.position.left=q.left-E):(C.size.width=z,C.position.left=q.left+t.width-z)) }}) }(jQuery),function(a){a.widget("ui.selectable",a.ui.mouse,{version:"1.10.4",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 c,b=this; this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){c=a(b.options.filter,b.element[0]),c.addClass("ui-selectee"),c.each(function(){var f=a(this),d=f.offset(); a.data(this,"selectable-item",{element:this,$element:f,left:d.left,top:d.top,right:d.left+f.outerWidth(),bottom:d.top+f.outerHeight(),startselected:!1,selected:f.hasClass("ui-selected"),selecting:f.hasClass("ui-selecting"),unselecting:f.hasClass("ui-unselecting")}) }) },this.refresh(),this.selectees=c.addClass("ui-selectee"),this._mouseInit(),this.helper=a("<div class='ui-selectable-helper'></div>") },_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy() },_mouseStart:function(d){var b=this,c=this.options; this.opos=[d.pageX,d.pageY],this.options.disabled||(this.selectees=a(c.filter,this.element[0]),this._trigger("start",d),a(c.appendTo).append(this.helper),this.helper.css({left:d.pageX,top:d.pageY,width:0,height:0}),c.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=a.data(this,"selectable-item"); e.startselected=!0,d.metaKey||d.ctrlKey||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,b._trigger("unselecting",d,{unselecting:e.element})) }),a(d.target).parents().addBack().each(function(){var e,f=a.data(this,"selectable-item"); return f?(e=!d.metaKey&&!d.ctrlKey||!f.$element.hasClass("ui-selected"),f.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),f.unselecting=!e,f.selecting=e,f.selected=e,e?b._trigger("selecting",d,{selecting:f.element}):b._trigger("unselecting",d,{unselecting:f.element}),!1):undefined })) },_mouseDrag:function(j){if(this.dragged=!0,!this.options.disabled){var c,f=this,l=this.options,k=this.opos[0],b=this.opos[1],g=j.pageX,d=j.pageY; return k>g&&(c=g,g=k,k=c),b>d&&(c=d,d=b,b=c),this.helper.css({left:k,top:b,width:g-k,height:d-b}),this.selectees.each(function(){var h=a.data(this,"selectable-item"),e=!1; h&&h.element!==f.element[0]&&("touch"===l.tolerance?e=!(h.left>g||k>h.right||h.top>d||b>h.bottom):"fit"===l.tolerance&&(e=h.left>k&&g>h.right&&h.top>b&&d>h.bottom),e?(h.selected&&(h.$element.removeClass("ui-selected"),h.selected=!1),h.unselecting&&(h.$element.removeClass("ui-unselecting"),h.unselecting=!1),h.selecting||(h.$element.addClass("ui-selecting"),h.selecting=!0,f._trigger("selecting",j,{selecting:h.element}))):(h.selecting&&((j.metaKey||j.ctrlKey)&&h.startselected?(h.$element.removeClass("ui-selecting"),h.selecting=!1,h.$element.addClass("ui-selected"),h.selected=!0):(h.$element.removeClass("ui-selecting"),h.selecting=!1,h.startselected&&(h.$element.addClass("ui-unselecting"),h.unselecting=!0),f._trigger("unselecting",j,{unselecting:h.element}))),h.selected&&(j.metaKey||j.ctrlKey||h.startselected||(h.$element.removeClass("ui-selected"),h.selected=!1,h.$element.addClass("ui-unselecting"),h.unselecting=!0,f._trigger("unselecting",j,{unselecting:h.element}))))) }),!1 }},_mouseStop:function(c){var b=this; return this.dragged=!1,a(".ui-unselecting",this.element[0]).each(function(){var d=a.data(this,"selectable-item"); d.$element.removeClass("ui-unselecting"),d.unselecting=!1,d.startselected=!1,b._trigger("unselected",c,{unselected:d.element}) }),a(".ui-selecting",this.element[0]).each(function(){var d=a.data(this,"selectable-item"); d.$element.removeClass("ui-selecting").addClass("ui-selected"),d.selecting=!1,d.selected=!0,d.startselected=!0,b._trigger("selected",c,{selected:d.element}) }),this._trigger("stop",c),this.helper.remove(),!1 }}) }(jQuery),function(b){function c(f,g,d){return f>g&&g+d>f }function a(d){return/left|right/.test(d.css("float"))||/inline|table-cell/.test(d.css("display")) }b.widget("ui.sortable",b.ui.mouse,{version:"1.10.4",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:1000,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var d=this.options; this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===d.axis||a(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0 },_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy(); for(var d=this.items.length-1; d>=0; d--){this.items[d].item.removeData(this.widgetName+"-item") }return this },_setOption:function(f,d){"disabled"===f?(this.options[f]=d,this.widget().toggleClass("ui-sortable-disabled",!!d)):b.Widget.prototype._setOption.apply(this,arguments) },_mouseCapture:function(g,d){var f=null,j=!1,h=this; return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(g),b(g.target).parents().each(function(){return b.data(this,h.widgetName+"-item")===h?(f=b(this),!1):undefined }),b.data(g.target,h.widgetName+"-item")===h&&(f=b(g.target)),f?!this.options.handle||d||(b(this.options.handle,f).find("*").addBack().each(function(){this===g.target&&(j=!0) }),j)?(this.currentItem=f,this._removeCurrentsFromItems(),!0):!1:!1) },_mouseStart:function(h,f,g){var k,j,d=this.options; if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(h),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},b.extend(this.offset,{click:{left:h.pageX-this.offset.left,top:h.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(h),this.originalPageX=h.pageX,this.originalPageY=h.pageY,d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),d.containment&&this._setContainment(),d.cursor&&"auto"!==d.cursor&&(j=this.document.find("body"),this.storedCursor=j.css("cursor"),j.css("cursor",d.cursor),this.storedStylesheet=b("<style>*{ cursor: "+d.cursor+" !important; }</style>").appendTo(j)),d.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",d.opacity)),d.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",d.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",h,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!g){for(k=this.containers.length-1; k>=0; k--){this.containers[k]._trigger("activate",h,this._uiHash(this)) }}return b.ui.ddmanager&&(b.ui.ddmanager.current=this),b.ui.ddmanager&&!d.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,h),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(h),!0 },_mouseDrag:function(j){var f,g,l,k,d=this.options,h=!1; for(this.position=this._generatePosition(j),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-j.pageY<d.scrollSensitivity?this.scrollParent[0].scrollTop=h=this.scrollParent[0].scrollTop+d.scrollSpeed:j.pageY-this.overflowOffset.top<d.scrollSensitivity&&(this.scrollParent[0].scrollTop=h=this.scrollParent[0].scrollTop-d.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-j.pageX<d.scrollSensitivity?this.scrollParent[0].scrollLeft=h=this.scrollParent[0].scrollLeft+d.scrollSpeed:j.pageX-this.overflowOffset.left<d.scrollSensitivity&&(this.scrollParent[0].scrollLeft=h=this.scrollParent[0].scrollLeft-d.scrollSpeed)):(j.pageY-b(document).scrollTop()<d.scrollSensitivity?h=b(document).scrollTop(b(document).scrollTop()-d.scrollSpeed):b(window).height()-(j.pageY-b(document).scrollTop())<d.scrollSensitivity&&(h=b(document).scrollTop(b(document).scrollTop()+d.scrollSpeed)),j.pageX-b(document).scrollLeft()<d.scrollSensitivity?h=b(document).scrollLeft(b(document).scrollLeft()-d.scrollSpeed):b(window).width()-(j.pageX-b(document).scrollLeft())<d.scrollSensitivity&&(h=b(document).scrollLeft(b(document).scrollLeft()+d.scrollSpeed))),h!==!1&&b.ui.ddmanager&&!d.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,j)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),f=this.items.length-1; f>=0; f--){if(g=this.items[f],l=g.item[0],k=this._intersectsWithPointer(g),k&&g.instance===this.currentContainer&&l!==this.currentItem[0]&&this.placeholder[1===k?"next":"prev"]()[0]!==l&&!b.contains(this.placeholder[0],l)&&("semi-dynamic"===this.options.type?!b.contains(this.element[0],l):!0)){if(this.direction=1===k?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(g)){break }this._rearrange(j,g),this._trigger("change",j,this._uiHash()); break }}return this._contactContainers(j),b.ui.ddmanager&&b.ui.ddmanager.drag(this,j),this._trigger("sort",j,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1 },_mouseStop:function(h,f){if(h){if(b.ui.ddmanager&&!this.options.dropBehaviour&&b.ui.ddmanager.drop(this,h),this.options.revert){var g=this,k=this.placeholder.offset(),j=this.options.axis,d={}; j&&"x"!==j||(d.left=k.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),j&&"y"!==j||(d.top=k.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,b(this.helper).animate(d,parseInt(this.options.revert,10)||500,function(){g._clear(h) }) }else{this._clear(h,f) }return !1 }},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show(); for(var d=this.containers.length-1; d>=0; d--){this.containers[d]._trigger("deactivate",null,this._uiHash(this)),this.containers[d].containerCache.over&&(this.containers[d]._trigger("out",null,this._uiHash(this)),this.containers[d].containerCache.over=0) }}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),b.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?b(this.domPosition.prev).after(this.currentItem):b(this.domPosition.parent).prepend(this.currentItem)),this },serialize:function(g){var d=this._getItemsAsjQuery(g&&g.connected),f=[]; return g=g||{},b(d).each(function(){var e=(b(g.item||this).attr(g.attribute||"id")||"").match(g.expression||/(.+)[\-=_](.+)/); e&&f.push((g.key||e[1]+"[]")+"="+(g.key&&g.expression?e[1]:e[2])) }),!f.length&&g.key&&f.push(g.key+"="),f.join("&") },toArray:function(g){var d=this._getItemsAsjQuery(g&&g.connected),f=[]; return g=g||{},d.each(function(){f.push(b(g.item||this).attr(g.attribute||"id")||"") }),f },_intersectsWith:function(B){var w=this.positionAbs.left,q=w+this.helperProportions.width,C=this.positionAbs.top,k=C+this.helperProportions.height,j=B.left,z=j+B.width,f=B.top,v=f+B.height,m=this.offset.click.top,y=this.offset.click.left,A="x"===this.options.axis||C+m>f&&v>C+m,x="y"===this.options.axis||w+y>j&&z>w+y,g=A&&x; return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>B[this.floating?"width":"height"]?g:w+this.helperProportions.width/2>j&&z>q-this.helperProportions.width/2&&C+this.helperProportions.height/2>f&&v>k-this.helperProportions.height/2 },_intersectsWithPointer:function(f){var e="x"===this.options.axis||c(this.positionAbs.top+this.offset.click.top,f.top,f.height),g="y"===this.options.axis||c(this.positionAbs.left+this.offset.click.left,f.left,f.width),j=e&&g,h=this._getDragVerticalDirection(),d=this._getDragHorizontalDirection(); return j?this.floating?d&&"right"===d||"down"===h?2:1:h&&("down"===h?2:1):!1 },_intersectsWithSides:function(e){var d=c(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),f=c(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),h=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection(); return this.floating&&g?"right"===g&&f||"left"===g&&!f:h&&("down"===h&&d||"up"===h&&!d) },_getDragVerticalDirection:function(){var d=this.positionAbs.top-this.lastPositionAbs.top; return 0!==d&&(d>0?"down":"up") },_getDragHorizontalDirection:function(){var d=this.positionAbs.left-this.lastPositionAbs.left; return 0!==d&&(d>0?"right":"left") },refresh:function(d){return this._refreshItems(d),this.refreshPositions(),this },_connectWith:function(){var d=this.options; return d.connectWith.constructor===String?[d.connectWith]:d.connectWith },_getItemsAsjQuery:function(p){function k(){d.push(this) }var t,g,f,q,d=[],m=[],j=this._connectWith(); if(j&&p){for(t=j.length-1; t>=0; t--){for(f=b(j[t]),g=f.length-1; g>=0; g--){q=b.data(f[g],this.widgetFullName),q&&q!==this&&!q.options.disabled&&m.push([b.isFunction(q.options.items)?q.options.items.call(q.element):b(q.options.items,q.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),q]) }}}for(m.push([b.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):b(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=m.length-1; t>=0; t--){m[t][0].each(k) }return b(d) },_removeCurrentsFromItems:function(){var d=this.currentItem.find(":data("+this.widgetName+"-item)"); this.items=b.grep(this.items,function(f){for(var e=0; d.length>e; e++){if(d[e]===f.item[0]){return !1 }}return !0 }) },_refreshItems:function(q){this.items=[],this.containers=[this]; var m,y,j,g,w,f,p,k,v=this.items,x=[[b.isFunction(this.options.items)?this.options.items.call(this.element[0],q,{item:this.currentItem}):b(this.options.items,this.element),this]],t=this._connectWith(); if(t&&this.ready){for(m=t.length-1; m>=0; m--){for(j=b(t[m]),y=j.length-1; y>=0; y--){g=b.data(j[y],this.widgetFullName),g&&g!==this&&!g.options.disabled&&(x.push([b.isFunction(g.options.items)?g.options.items.call(g.element[0],q,{item:this.currentItem}):b(g.options.items,g.element),g]),this.containers.push(g)) }}}for(m=x.length-1; m>=0; m--){for(w=x[m][1],f=x[m][0],y=0,k=f.length; k>y; y++){p=b(f[y]),p.data(this.widgetName+"-item",w),v.push({item:p,instance:w,width:0,height:0,left:0,top:0}) }}},refreshPositions:function(g){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()); var d,f,j,h; for(d=this.items.length-1; d>=0; d--){f=this.items[d],f.instance!==this.currentContainer&&this.currentContainer&&f.item[0]!==this.currentItem[0]||(j=this.options.toleranceElement?b(this.options.toleranceElement,f.item):f.item,g||(f.width=j.outerWidth(),f.height=j.outerHeight()),h=j.offset(),f.left=h.left,f.top=h.top) }if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this) }else{for(d=this.containers.length-1; d>=0; d--){h=this.containers[d].element.offset(),this.containers[d].containerCache.left=h.left,this.containers[d].containerCache.top=h.top,this.containers[d].containerCache.width=this.containers[d].element.outerWidth(),this.containers[d].containerCache.height=this.containers[d].element.outerHeight() }}return this },_createPlaceholder:function(g){g=g||this; var d,f=g.options; f.placeholder&&f.placeholder.constructor!==String||(d=f.placeholder,f.placeholder={element:function(){var e=g.currentItem[0].nodeName.toLowerCase(),h=b("<"+e+">",g.document[0]).addClass(d||g.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper"); return"tr"===e?g.currentItem.children().each(function(){b("<td> </td>",g.document[0]).attr("colspan",b(this).attr("colspan")||1).appendTo(h) }):"img"===e&&h.attr("src",g.currentItem.attr("src")),d||h.css("visibility","hidden"),h },update:function(e,h){(!d||f.forcePlaceholderSize)&&(h.height()||h.height(g.currentItem.innerHeight()-parseInt(g.currentItem.css("paddingTop")||0,10)-parseInt(g.currentItem.css("paddingBottom")||0,10)),h.width()||h.width(g.currentItem.innerWidth()-parseInt(g.currentItem.css("paddingLeft")||0,10)-parseInt(g.currentItem.css("paddingRight")||0,10))) }}),g.placeholder=b(f.placeholder.element.call(g.element,g.currentItem)),g.currentItem.after(g.placeholder),f.placeholder.update(g,g.placeholder) },_contactContainers:function(A){var k,j,y,e,q,m,x,z,w,i,v=null,t=null; for(k=this.containers.length-1; k>=0; k--){if(!b.contains(this.currentItem[0],this.containers[k].element[0])){if(this._intersectsWith(this.containers[k].containerCache)){if(v&&b.contains(this.containers[k].element[0],v.element[0])){continue }v=this.containers[k],t=k }else{this.containers[k].containerCache.over&&(this.containers[k]._trigger("out",A,this._uiHash(this)),this.containers[k].containerCache.over=0) }}}if(v){if(1===this.containers.length){this.containers[t].containerCache.over||(this.containers[t]._trigger("over",A,this._uiHash(this)),this.containers[t].containerCache.over=1) }else{for(y=10000,e=null,i=v.floating||a(this.currentItem),q=i?"left":"top",m=i?"width":"height",x=this.positionAbs[q]+this.offset.click[q],j=this.items.length-1; j>=0; j--){b.contains(this.containers[t].element[0],this.items[j].item[0])&&this.items[j].item[0]!==this.currentItem[0]&&(!i||c(this.positionAbs.top+this.offset.click.top,this.items[j].top,this.items[j].height))&&(z=this.items[j].item.offset()[q],w=!1,Math.abs(z-x)>Math.abs(z+this.items[j][m]-x)&&(w=!0,z+=this.items[j][m]),y>Math.abs(z-x)&&(y=Math.abs(z-x),e=this.items[j],this.direction=w?"up":"down")) }if(!e&&!this.options.dropOnEmpty){return }if(this.currentContainer===this.containers[t]){return }e?this._rearrange(A,e,null,!0):this._rearrange(A,null,this.containers[t].element,!0),this._trigger("change",A,this._uiHash()),this.containers[t]._trigger("change",A,this._uiHash(this)),this.currentContainer=this.containers[t],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[t]._trigger("over",A,this._uiHash(this)),this.containers[t].containerCache.over=1 }}},_createHelper:function(g){var d=this.options,f=b.isFunction(d.helper)?b(d.helper.apply(this.element[0],[g,this.currentItem])):"clone"===d.helper?this.currentItem.clone():this.currentItem; return f.parents("body").length||b("parent"!==d.appendTo?d.appendTo:this.currentItem[0].parentNode)[0].appendChild(f[0]),f[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")}),(!f[0].style.width||d.forceHelperSize)&&f.width(this.currentItem.width()),(!f[0].style.height||d.forceHelperSize)&&f.height(this.currentItem.height()),f },_adjustOffsetFromHelper:function(d){"string"==typeof d&&(d=d.split(" ")),b.isArray(d)&&(d={left:+d[0],top:+d[1]||0}),"left" in d&&(this.offset.click.left=d.left+this.margins.left),"right" in d&&(this.offset.click.left=this.helperProportions.width-d.right+this.margins.left),"top" in d&&(this.offset.click.top=d.top+this.margins.top),"bottom" in d&&(this.offset.click.top=this.helperProportions.height-d.bottom+this.margins.top) },_getParentOffset:function(){this.offsetParent=this.helper.offsetParent(); var d=this.offsetParent.offset(); return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&b.contains(this.scrollParent[0],this.offsetParent[0])&&(d.left+=this.scrollParent.scrollLeft(),d.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&b.ui.ie)&&(d={top:0,left:0}),{top:d.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:d.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)} },_getRelativeOffset:function(){if("relative"===this.cssPosition){var d=this.currentItem.position(); return{top:d.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:d.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()} }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 g,d,f,h=this.options; "parent"===h.containment&&(h.containment=this.helper[0].parentNode),("document"===h.containment||"window"===h.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,b("document"===h.containment?document:window).width()-this.helperProportions.width-this.margins.left,(b("document"===h.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(h.containment)||(g=b(h.containment)[0],d=b(h.containment).offset(),f="hidden"!==b(g).css("overflow"),this.containment=[d.left+(parseInt(b(g).css("borderLeftWidth"),10)||0)+(parseInt(b(g).css("paddingLeft"),10)||0)-this.margins.left,d.top+(parseInt(b(g).css("borderTopWidth"),10)||0)+(parseInt(b(g).css("paddingTop"),10)||0)-this.margins.top,d.left+(f?Math.max(g.scrollWidth,g.offsetWidth):g.offsetWidth)-(parseInt(b(g).css("borderLeftWidth"),10)||0)-(parseInt(b(g).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(f?Math.max(g.scrollHeight,g.offsetHeight):g.offsetHeight)-(parseInt(b(g).css("borderTopWidth"),10)||0)-(parseInt(b(g).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]) },_convertPositionTo:function(g,d){d||(d=this.position); var f="absolute"===g?1:-1,j="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&b.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(j[0].tagName); return{top:d.top+this.offset.relative.top*f+this.offset.parent.top*f-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:j.scrollTop())*f,left:d.left+this.offset.relative.left*f+this.offset.parent.left*f-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:j.scrollLeft())*f} },_generatePosition:function(l){var f,j,p=this.options,m=l.pageX,d=l.pageY,k="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&b.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,g=/(html|body)/i.test(k[0].tagName); return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(l.pageX-this.offset.click.left<this.containment[0]&&(m=this.containment[0]+this.offset.click.left),l.pageY-this.offset.click.top<this.containment[1]&&(d=this.containment[1]+this.offset.click.top),l.pageX-this.offset.click.left>this.containment[2]&&(m=this.containment[2]+this.offset.click.left),l.pageY-this.offset.click.top>this.containment[3]&&(d=this.containment[3]+this.offset.click.top)),p.grid&&(f=this.originalPageY+Math.round((d-this.originalPageY)/p.grid[1])*p.grid[1],d=this.containment?f-this.offset.click.top>=this.containment[1]&&f-this.offset.click.top<=this.containment[3]?f:f-this.offset.click.top>=this.containment[1]?f-p.grid[1]:f+p.grid[1]:f,j=this.originalPageX+Math.round((m-this.originalPageX)/p.grid[0])*p.grid[0],m=this.containment?j-this.offset.click.left>=this.containment[0]&&j-this.offset.click.left<=this.containment[2]?j:j-this.offset.click.left>=this.containment[0]?j-p.grid[0]:j+p.grid[0]:j)),{top:d-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():g?0:k.scrollTop()),left:m-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():g?0:k.scrollLeft())} },_rearrange:function(f,h,d,g){d?d[0].appendChild(this.placeholder[0]):h.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?h.item[0]:h.item[0].nextSibling),this.counter=this.counter?++this.counter:1; var j=this.counter; this._delay(function(){j===this.counter&&this.refreshPositions(!g) }) },_clear:function(f,h){function d(l,m,k){return function(e){k._trigger(l,e,m._uiHash(m)) } }this.reverting=!1; var g,j=[]; if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(g in this._storedCSS){("auto"===this._storedCSS[g]||"static"===this._storedCSS[g])&&(this._storedCSS[g]="") }this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") }else{this.currentItem.show() }for(this.fromOutside&&!h&&j.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside)) }),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||h||j.push(function(e){this._trigger("update",e,this._uiHash()) }),this!==this.currentContainer&&(h||(j.push(function(e){this._trigger("remove",e,this._uiHash()) }),j.push(function(e){return function(i){e._trigger("receive",i,this._uiHash(this)) } }.call(this,this.currentContainer)),j.push(function(e){return function(i){e._trigger("update",i,this._uiHash(this)) } }.call(this,this.currentContainer)))),g=this.containers.length-1; g>=0; g--){h||j.push(d("deactivate",this,this.containers[g])),this.containers[g].containerCache.over&&(j.push(d("out",this,this.containers[g])),this.containers[g].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","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!h){for(this._trigger("beforeStop",f,this._uiHash()),g=0; j.length>g; g++){j[g].call(this,f) }this._trigger("stop",f,this._uiHash()) }return this.fromOutside=!1,!1 }if(h||this._trigger("beforeStop",f,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!h){for(g=0; j.length>g; g++){j[g].call(this,f) }this._trigger("stop",f,this._uiHash()) }return this.fromOutside=!1,!0 },_trigger:function(){b.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel() },_uiHash:function(f){var d=f||this; return{helper:d.helper,placeholder:d.placeholder||b([]),position:d.position,originalPosition:d.originalPosition,offset:d.positionAbs,item:d.currentItem,sender:f?f.element:null} }}) }(jQuery),function(b,c){var a="ui-effects-"; b.effects={effect:{}},function(D,y){function v(f,l,d){var h=C[l.type]||{}; return null==f?d||!l.def?null:l.def:(f=h.floor?~~f:parseFloat(f),isNaN(f)?l.def:h.mod?(f+h.mod)%h.mod:0>f?0:f>h.max?h.max:f) }function E(d){var e=q(),f=e._rgba=[]; return d=d.toLowerCase(),x(w,function(p,F){var n,u=F.re.exec(d),s=u&&F.parse(u),i=F.space||"rgba"; return s?(n=e[i](s),e[A[i].cache]=n[A[i].cache],f=e._rgba=n._rgba,!1):y }),f.length?("0,0,0,0"===f.join()&&D.extend(f,k.transparent),e):k[d] }function m(f,h,d){return d=(d+1)%1,1>6*d?f+6*(h-f)*d:1>2*d?h:2>3*d?f+6*(h-f)*(2/3-d):f }var k,B="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",g=/^([\-+])=\s*(\d+\.?\d*)/,w=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(d){return[d[1],d[2],d[3],d[4]] }},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(d){return[2.55*d[1],2.55*d[2],2.55*d[3],d[4]] }},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(d){return[parseInt(d[1],16),parseInt(d[2],16),parseInt(d[3],16)] }},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(d){return[parseInt(d[1]+d[1],16),parseInt(d[2]+d[2],16),parseInt(d[3]+d[3],16)] }},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(d){return[d[1],d[2]/100,d[3]/100,d[4]] }}],q=D.Color=function(h,d,f,l){return new D.Color.fn.parse(h,d,f,l) },A={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"}}}},C={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},z=q.support={},j=D("<p>")[0],x=D.each; j.style.cssText="background-color:rgba(1,1,1,.5)",z.rgba=j.style.backgroundColor.indexOf("rgba")>-1,x(A,function(d,f){f.cache="_"+d,f.props.alpha={idx:3,type:"percent",def:1} }),q.fn=D.extend(q.prototype,{parse:function(t,e,l,i){if(t===y){return this._rgba=[null,null,null,null],this }(t.jquery||t.nodeType)&&(t=D(t).css(e),e=y); var f=this,s=D.type(t),o=this._rgba=[]; return e!==y&&(t=[t,e,l,i],s="array"),"string"===s?this.parse(E(t)||k._default):"array"===s?(x(A.rgba.props,function(d,h){o[h.idx]=v(t[h.idx],h) }),this):"object"===s?(t instanceof q?x(A,function(d,h){t[h.cache]&&(f[h.cache]=t[h.cache].slice()) }):x(A,function(h,d){var n=d.cache; x(d.props,function(p,r){if(!f[n]&&d.to){if("alpha"===p||null==t[p]){return }f[n]=d.to(f._rgba) }f[n][r.idx]=v(t[p],r,!0) }),f[n]&&0>D.inArray(null,f[n].slice(0,3))&&(f[n][3]=1,d.from&&(f._rgba=d.from(f[n]))) }),this):y },is:function(e){var d=q(e),f=!0,h=this; return x(A,function(l,p){var i,n=d[p.cache]; return n&&(i=h[p.cache]||p.to&&p.to(h._rgba)||[],x(p.props,function(r,o){return null!=n[o.idx]?f=n[o.idx]===i[o.idx]:y })),f }),f },_space:function(){var d=[],f=this; return x(A,function(e,h){f[h.cache]&&d.push(e) }),d.pop() },transition:function(f,u){var l=q(f),G=l._space(),F=A[G],d=0===this.alpha()?q("transparent"):this,p=d[F.cache]||F.to(d._rgba),i=p.slice(); return l=l[F.cache],x(F.props,function(r,I){var s=I.idx,h=p[s],e=l[s],H=C[I.type]||{}; null!==e&&(null===h?i[s]=e:(H.mod&&(e-h>H.mod/2?h+=H.mod:h-e>H.mod/2&&(h-=H.mod)),i[s]=v((e-h)*u+h,I))) }),this[G](i) },blend:function(h){if(1===this._rgba[3]){return this }var d=this._rgba.slice(),f=d.pop(),l=q(h)._rgba; return q(D.map(d,function(i,n){return(1-f)*l[n]+f*i })) },toRgbaString:function(){var f="rgba(",d=D.map(this._rgba,function(h,i){return null==h?i>2?1:0:h }); return 1===d[3]&&(d.pop(),f="rgb("),f+d.join()+")" },toHslaString:function(){var f="hsla(",d=D.map(this.hsla(),function(h,i){return null==h&&(h=i>2?1:0),i&&3>i&&(h=Math.round(100*h)+"%"),h }); return 1===d[3]&&(d.pop(),f="hsl("),f+d.join()+")" },toHexString:function(h){var d=this._rgba.slice(),f=d.pop(); return h&&d.push(~~(255*f)),"#"+D.map(d,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e }).join("") },toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString() }}),q.fn.parse.prototype=q.fn,A.hsla.to=function(M){if(null==M[0]||null==M[1]||null==M[2]){return[null,null,null,M[3]] }var I,G,N=M[0]/255,p=M[1]/255,f=M[2]/255,K=M[3],d=Math.max(N,p,f),H=Math.min(N,p,f),F=d-H,J=d+H,L=0.5*J; return I=H===d?0:N===d?60*(p-f)/F+360:p===d?60*(f-N)/F+120:60*(N-p)/F+240,G=0===F?0:0.5>=L?F/J:F/(2-J),[Math.round(I)%360,G,L,null==K?1:K] },A.hsla.from=function(h){if(null==h[0]||null==h[1]||null==h[2]){return[null,null,null,h[3]] }var p=h[0]/360,f=h[1],l=h[2],u=h[3],d=0.5>=l?l*(1+f):l+f-l*f,n=2*l-d; return[Math.round(255*m(n,d,p+1/3)),Math.round(255*m(n,d,p)),Math.round(255*m(n,d,p-1/3)),u] },x(A,function(f,p){var i=p.props,d=p.cache,e=p.to,l=p.from; q.fn[f]=function(o){if(e&&!this[d]&&(this[d]=e(this._rgba)),o===y){return this[d].slice() }var G,t=D.type(o),h="array"===t||"object"===t?o:arguments,F=this[d].slice(); return x(i,function(n,u){var r=h["object"===t?n:u.idx]; null==r&&(r=F[u.idx]),F[u.idx]=v(r,u) }),l?(G=q(l(F)),G[d]=F,G):q(F) },x(i,function(n,h){q.fn[n]||(q.fn[n]=function(G){var u,s=D.type(G),t="alpha"===n?this._hsla?"hsla":"rgba":f,r=this[t](),F=r[h.idx]; return"undefined"===s?F:("function"===s&&(G=G.call(this,F),s=D.type(G)),null==G&&h.empty?this:("string"===s&&(u=g.exec(G),u&&(G=F+parseFloat(u[2])*("+"===u[1]?1:-1))),r[h.idx]=G,this[t](r))) }) }) }),q.hook=function(f){var d=f.split(" "); x(d,function(l,h){D.cssHooks[h]={set:function(t,F){var u,i,s=""; if("transparent"!==F&&("string"!==D.type(F)||(u=E(F)))){if(F=q(u||F),!z.rgba&&1!==F._rgba[3]){for(i="backgroundColor"===h?t.parentNode:t; (""===s||"transparent"===s)&&i&&i.style; ){try{s=D.css(i,"backgroundColor"),i=i.parentNode }catch(p){}}F=F.blend(s&&"transparent"!==s?s:"_default") }F=F.toRgbaString() }try{t.style[h]=F }catch(p){}}},D.fx.step[h]=function(i){i.colorInit||(i.start=q(i.elem,h),i.end=q(i.end),i.colorInit=!0),D.cssHooks[h].set(i.elem,i.start.transition(i.end,i.pos)) } }) },q.hook(B),D.cssHooks.borderColor={expand:function(d){var f={}; return x(["Top","Right","Bottom","Left"],function(e,h){f["border"+h+"Color"]=d }),f }},k=D.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"} }(jQuery),function(){function d(k){var h,j,m=k.ownerDocument.defaultView?k.ownerDocument.defaultView.getComputedStyle(k,null):k.currentStyle,l={}; if(m&&m.length&&m[0]&&m[m[0]]){for(j=m.length; j--; ){h=m[j],"string"==typeof m[h]&&(l[b.camelCase(h)]=m[h]) }}else{for(h in m){"string"==typeof m[h]&&(l[h]=m[h]) }}return l }function e(l,j){var k,m,h={}; for(k in j){m=j[k],l[k]!==m&&(f[k]||(b.fx.step[k]||!isNaN(parseFloat(m)))&&(h[k]=m)) }return h }var g=["add","remove","toggle"],f={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1}; b.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(j,h){b.fx.step[h]=function(i){("none"!==i.end&&!i.setAttr||1===i.pos&&!i.setAttr)&&(jQuery.style(i.elem,h,i.end),i.setAttr=!0) } }),b.fn.addBack||(b.fn.addBack=function(h){return this.add(null==h?this.prevObject:this.prevObject.filter(h)) }),b.effects.animateClass=function(l,m,i,k){var j=b.speed(m,i,k); return this.queue(function(){var q,n=b(this),p=n.attr("class")||"",h=j.children?n.find("*").addBack():n; h=h.map(function(){var o=b(this); return{el:o,start:d(this)} }),q=function(){b.each(g,function(r,o){l[o]&&n[o+"Class"](l[o]) }) },q(),h=h.map(function(){return this.end=d(this.el[0]),this.diff=e(this.start,this.end),this }),n.attr("class",p),h=h.map(function(){var t=this,o=b.Deferred(),r=b.extend({},j,{queue:!1,complete:function(){o.resolve(t) }}); return this.el.animate(this.diff,r),o.promise() }),b.when.apply(b,h.get()).done(function(){q(),b.each(arguments,function(){var o=this.el; b.each(this.diff,function(r){o.css(r,"") }) }),j.complete.call(n[0]) }) }) },b.fn.extend({addClass:function(h){return function(j,k,m,l){return k?b.effects.animateClass.call(this,{add:j},k,m,l):h.apply(this,arguments) } }(b.fn.addClass),removeClass:function(h){return function(j,k,m,l){return arguments.length>1?b.effects.animateClass.call(this,{remove:j},k,m,l):h.apply(this,arguments) } }(b.fn.removeClass),toggleClass:function(h){return function(j,m,l,i,k){return"boolean"==typeof m||m===c?l?b.effects.animateClass.call(this,m?{add:j}:{remove:j},l,i,k):h.apply(this,arguments):b.effects.animateClass.call(this,{toggle:j},m,l,i) } }(b.fn.toggleClass),switchClass:function(k,h,j,m,l){return b.effects.animateClass.call(this,{add:h,remove:k},j,m,l) }}) }(),function(){function d(h,f,g,j){return b.isPlainObject(h)&&(f=h,h=h.effect),h={effect:h},null==f&&(f={}),b.isFunction(f)&&(j=f,g=null,f={}),("number"==typeof f||b.fx.speeds[f])&&(j=g,g=f,f={}),b.isFunction(g)&&(j=g,g=null),f&&b.extend(h,f),g=g||f.duration,h.duration=b.fx.off?0:"number"==typeof g?g:g in b.fx.speeds?b.fx.speeds[g]:b.fx.speeds._default,h.complete=j||f.complete,h }function e(f){return !f||"number"==typeof f||b.fx.speeds[f]?!0:"string"!=typeof f||b.effects.effect[f]?b.isFunction(f)?!0:"object"!=typeof f||f.effect?!1:!0:!0 }b.extend(b.effects,{version:"1.10.4",save:function(f,h){for(var g=0; h.length>g; g++){null!==h[g]&&f.data(a+h[g],f[0].style[h[g]]) }},restore:function(f,g){var i,h; for(h=0; g.length>h; h++){null!==g[h]&&(i=f.data(a+g[h]),i===c&&(i=""),f.css(g[h],i)) }},setMode:function(f,g){return"toggle"===g&&(g=f.is(":hidden")?"show":"hide"),g },getBaseline:function(g,j){var f,h; switch(g[0]){case"top":f=0; break; case"middle":f=0.5; break; case"bottom":f=1; break; default:f=g[0]/j.height }switch(g[1]){case"left":h=0; break; case"center":h=0.5; break; case"right":h=1; break; default:h=g[1]/j.width }return{x:h,y:f} },createWrapper:function(j){if(j.parent().is(".ui-effects-wrapper")){return j.parent() }var g={width:j.outerWidth(!0),height:j.outerHeight(!0),"float":j.css("float")},h=b("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),l={width:j.width(),height:j.height()},k=document.activeElement; try{k.id }catch(f){k=document.body }return j.wrap(h),(j[0]===k||b.contains(j[0],k))&&b(k).focus(),h=j.parent(),"static"===j.css("position")?(h.css({position:"relative"}),j.css({position:"relative"})):(b.extend(g,{position:j.css("position"),zIndex:j.css("z-index")}),b.each(["top","left","bottom","right"],function(i,m){g[m]=j.css(m),isNaN(parseInt(g[m],10))&&(g[m]="auto") }),j.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),j.css(l),h.css(g).show() },removeWrapper:function(g){var f=document.activeElement; return g.parent().is(".ui-effects-wrapper")&&(g.parent().replaceWith(g),(g[0]===f||b.contains(g[0],f))&&b(f).focus()),g },setTransition:function(h,f,g,j){return j=j||{},b.each(f,function(l,k){var m=h.cssUnit(k); m[0]>0&&(j[k]=m[0]*g+m[1]) }),j }}),b.fn.extend({effect:function(){function h(m){function i(){b.isFunction(p)&&p.call(q[0]),b.isFunction(m)&&m() }var q=b(this),p=g.complete,l=g.mode; (q.is(":hidden")?"hide"===l:"show"===l)?(q[l](),i()):f.call(q[0],g,i) }var g=d.apply(this,arguments),k=g.mode,j=g.queue,f=b.effects.effect[g.effect]; return b.fx.off||!f?k?this[k](g.duration,g.complete):this.each(function(){g.complete&&g.complete.call(this) }):j===!1?this.each(h):this.queue(j||"fx",h) },show:function(f){return function(h){if(e(h)){return f.apply(this,arguments) }var g=d.apply(this,arguments); return g.mode="show",this.effect.call(this,g) } }(b.fn.show),hide:function(f){return function(h){if(e(h)){return f.apply(this,arguments) }var g=d.apply(this,arguments); return g.mode="hide",this.effect.call(this,g) } }(b.fn.hide),toggle:function(f){return function(h){if(e(h)||"boolean"==typeof h){return f.apply(this,arguments) }var g=d.apply(this,arguments); return g.mode="toggle",this.effect.call(this,g) } }(b.fn.toggle),cssUnit:function(h){var f=this.css(h),g=[]; return b.each(["em","px","%","pt"],function(i,j){f.indexOf(j)>0&&(g=[parseFloat(f),j]) }),g }}) }(),function(){var d={}; b.each(["Quad","Cubic","Quart","Quint","Expo"],function(f,e){d[e]=function(g){return Math.pow(g,f+2) } }),b.extend(d,{Sine:function(e){return 1-Math.cos(e*Math.PI/2) },Circ:function(e){return 1-Math.sqrt(1-e*e) },Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15) },Back:function(e){return e*e*(3*e-2) },Bounce:function(g){for(var h,f=4; ((h=Math.pow(2,--f))-1)/11>g; ){}return 1/Math.pow(4,3-f)-7.5625*Math.pow((3*h-2)/22-g,2) }}),b.each(d,function(g,f){b.easing["easeIn"+g]=f,b.easing["easeOut"+g]=function(e){return 1-f(1-e) },b.easing["easeInOut"+g]=function(e){return 0.5>e?f(2*e)/2:1-f(-2*e+2)/2 } }) }() }(jQuery),function(b){var d=0,a={},c={}; a.height=a.paddingTop=a.paddingBottom=a.borderTopWidth=a.borderBottomWidth="hide",c.height=c.paddingTop=c.paddingBottom=c.borderTopWidth=c.borderBottomWidth="show",b.widget("ui.accordion",{version:"1.10.4",options:{active:0,animate:{},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},_create:function(){var f=this.options; this.prevShow=this.prevHide=b(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),f.collapsible||f.active!==!1&&null!=f.active||(f.active=0),this._processPanels(),0>f.active&&(f.active+=this.headers.length),this._refresh() },_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():b(),content:this.active.length?this.active.next():b()} },_createIcons:function(){var f=this.options.icons; f&&(b("<span>").addClass("ui-accordion-header-icon ui-icon "+f.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(f.header).addClass(f.activeHeader),this.headers.addClass("ui-accordion-icons")) },_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove() },_destroy:function(){var e; this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id") }),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id") }),"content"!==this.options.heightStyle&&e.css("height","") },_setOption:function(f,g){return"active"===f?(this._activate(g),undefined):("event"===f&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(g)),this._super(f,g),"collapsible"!==f||g||this.options.active!==!1||this._activate(0),"icons"===f&&(this._destroyIcons(),g&&this._createIcons()),"disabled"===f&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!g),undefined) },_keydown:function(h){if(!h.altKey&&!h.ctrlKey){var f=b.ui.keyCode,g=this.headers.length,k=this.headers.index(h.target),j=!1; switch(h.keyCode){case f.RIGHT:case f.DOWN:j=this.headers[(k+1)%g]; break; case f.LEFT:case f.UP:j=this.headers[(k-1+g)%g]; break; case f.SPACE:case f.ENTER:this._eventHandler(h); break; case f.HOME:j=this.headers[0]; break; case f.END:j=this.headers[g-1] }j&&(b(h.target).attr("tabIndex",-1),b(j).attr("tabIndex",0),j.focus(),h.preventDefault()) }},_panelKeyDown:function(f){f.keyCode===b.ui.keyCode.UP&&f.ctrlKey&&b(f.currentTarget).prev().focus() },refresh:function(){var f=this.options; this._processPanels(),f.active===!1&&f.collapsible===!0||!this.headers.length?(f.active=!1,this.active=b()):f.active===!1?this._activate(0):this.active.length&&!b.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(f.active=!1,this.active=b()):this._activate(Math.max(0,f.active-1)):f.active=this.headers.index(this.active),this._destroyIcons(),this._refresh() },_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide() },_refresh:function(){var f,g=this.options,j=g.heightStyle,h=this.element.parent(),e=this.accordionId="ui-accordion-"+(this.element.attr("id")||++d); this.active=this._findActive(g.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(m){var k=b(this),l=k.attr("id"),q=k.next(),p=q.attr("id"); l||(l=e+"-header-"+m,k.attr("id",l)),p||(p=e+"-panel-"+m,q.attr("id",p)),k.attr("aria-controls",p),q.attr("aria-labelledby",l) }).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(g.event),"fill"===j?(f=h.height(),this.element.siblings(":visible").each(function(){var k=b(this),i=k.css("position"); "absolute"!==i&&"fixed"!==i&&(f-=k.outerHeight(!0)) }),this.headers.each(function(){f-=b(this).outerHeight(!0) }),this.headers.next().each(function(){b(this).height(Math.max(0,f-b(this).innerHeight()+b(this).height())) }).css("overflow","auto")):"auto"===j&&(f=0,this.headers.next().each(function(){f=Math.max(f,b(this).css("height","").height()) }).height(f)) },_activate:function(g){var f=this._findActive(g)[0]; f!==this.active[0]&&(f=f||this.active[0],this._eventHandler({target:f,currentTarget:f,preventDefault:b.noop})) },_findActive:function(f){return"number"==typeof f?this.headers.eq(f):b() },_setupEvents:function(g){var f={keydown:"_keydown"}; g&&b.each(g.split(" "),function(h,i){f[i]="_eventHandler" }),this._off(this.headers.add(this.headers.next())),this._on(this.headers,f),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers) },_eventHandler:function(q){var m=this.options,u=this.active,j=b(q.currentTarget),g=j[0]===u[0],t=g&&m.collapsible,f=t?b():j.next(),p=u.next(),k={oldHeader:u,oldPanel:p,newHeader:t?b():j,newPanel:f}; q.preventDefault(),g&&!m.collapsible||this._trigger("beforeActivate",q,k)===!1||(m.active=t?!1:this.headers.index(j),this.active=g?b():j,this._toggle(k),u.removeClass("ui-accordion-header-active ui-state-active"),m.icons&&u.children(".ui-accordion-header-icon").removeClass(m.icons.activeHeader).addClass(m.icons.header),g||(j.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),m.icons&&j.children(".ui-accordion-header-icon").removeClass(m.icons.header).addClass(m.icons.activeHeader),j.next().addClass("ui-accordion-content-active"))) },_toggle:function(h){var f=h.newPanel,g=this.prevShow.length?this.prevShow:h.oldPanel; this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=f,this.prevHide=g,this.options.animate?this._animate(f,g,h):(g.hide(),f.show(),this._toggleComplete(h)),g.attr({"aria-hidden":"true"}),g.prev().attr("aria-selected","false"),f.length&&g.length?g.prev().attr({tabIndex:-1,"aria-expanded":"false"}):f.length&&this.headers.filter(function(){return 0===b(this).attr("tabIndex") }).attr("tabIndex",-1),f.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"}) },_animate:function(y,q,j){var i,w,f,m=this,k=0,v=y.length&&(!q.length||y.index()<q.index()),x=this.options.animate||{},s=v&&x.down||x,g=function(){m._toggleComplete(j) }; return"number"==typeof s&&(f=s),"string"==typeof s&&(w=s),w=w||s.easing||x.easing,f=f||s.duration||x.duration,q.length?y.length?(i=y.show().outerHeight(),q.animate(a,{duration:f,easing:w,step:function(h,l){l.now=Math.round(h) }}),y.hide().animate(c,{duration:f,easing:w,complete:g,step:function(h,e){e.now=Math.round(h),"height"!==e.prop?k+=e.now:"content"!==m.options.heightStyle&&(e.now=Math.round(i-q.outerHeight()-k),k=0) }}),undefined):q.animate(a,f,w,g):y.animate(c,f,w,g) },_toggleComplete:function(f){var g=f.oldPanel; g.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),g.length&&(g.parent()[0].className=g.parent()[0].className),this._trigger("activate",null,f) }}) }(jQuery),function(a){a.widget("ui.autocomplete",{version:"1.10.4",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 f,c,d,h=this.element[0].nodeName.toLowerCase(),g="textarea"===h,b="input"===h; this.isMultiLine=g?!0:b?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[g||b?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(i){if(this.element.prop("readOnly")){return f=!0,d=!0,c=!0,undefined }f=!1,d=!1,c=!1; var e=a.ui.keyCode; switch(i.keyCode){case e.PAGE_UP:f=!0,this._move("previousPage",i); break; case e.PAGE_DOWN:f=!0,this._move("nextPage",i); break; case e.UP:f=!0,this._keyEvent("previous",i); break; case e.DOWN:f=!0,this._keyEvent("next",i); break; case e.ENTER:case e.NUMPAD_ENTER:this.menu.active&&(f=!0,i.preventDefault(),this.menu.select(i)); break; case e.TAB:this.menu.active&&this.menu.select(i); break; case e.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault()); break; default:c=!0,this._searchTimeout(i) }},keypress:function(e){if(f){return f=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&e.preventDefault(),undefined }if(!c){var i=a.ui.keyCode; switch(e.keyCode){case i.PAGE_UP:this._move("previousPage",e); break; case i.PAGE_DOWN:this._move("nextPage",e); break; case i.UP:this._keyEvent("previous",e); break; case i.DOWN:this._keyEvent("next",e) }}},input:function(e){return d?(d=!1,e.preventDefault(),undefined):(this._searchTimeout(e),undefined) },focus:function(){this.selectedItem=null,this.previous=this._value() },blur:function(e){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(e),this._change(e),undefined) }}),this._initSource(),this.menu=a("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(k){k.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur }); var j=this.menu.element[0]; a(k.target).closest(".ui-menu-item").length||this._delay(function(){var i=this; this.document.one("mousedown",function(e){e.target===i.element[0]||e.target===j||a.contains(j,e.target)||i.close() }) }) },menufocus:function(l,j){if(this.isNewMenu&&(this.isNewMenu=!1,l.originalEvent&&/^mouse/.test(l.originalEvent.type))){return this.menu.blur(),this.document.one("mousemove",function(){a(l.target).trigger(l.originalEvent) }),undefined }var k=j.item.data("ui-autocomplete-item"); !1!==this._trigger("focus",l,{item:k})?l.originalEvent&&/^key/.test(l.originalEvent.type)&&this._value(k.value):this.liveRegion.text(k.value) },menuselect:function(k,m){var j=m.item.data("ui-autocomplete-item"),l=this.previous; this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=l,this._delay(function(){this.previous=l,this.selectedItem=j })),!1!==this._trigger("select",k,{item:j})&&this._value(j.value),this.term=this._value(),this.close(k),this.selectedItem=j }}),this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete") }}) },_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove() },_setOption:function(b,c){this._super(b,c),"source"===b&&this._initSource(),"appendTo"===b&&this.menu.element.appendTo(this._appendTo()),"disabled"===b&&c&&this.xhr&&this.xhr.abort() },_appendTo:function(){var b=this.options.appendTo; return b&&(b=b.jquery||b.nodeType?a(b):this.document.find(b).eq(0)),b||(b=this.element.closest(".ui-front")),b.length||(b=this.document[0].body),b },_initSource:function(){var d,b,c=this; a.isArray(this.options.source)?(d=this.options.source,this.source=function(e,f){f(a.ui.autocomplete.filter(d,e.term)) }):"string"==typeof this.options.source?(b=this.options.source,this.source=function(f,g){c.xhr&&c.xhr.abort(),c.xhr=a.ajax({url:b,data:f,dataType:"json",success:function(e){g(e) },error:function(){g([]) }}) }):this.source=this.options.source },_searchTimeout:function(b){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,b)) },this.options.delay) },search:function(b,c){return b=null!=b?b:this._value(),this.term=this._value(),b.length<this.options.minLength?this.close(c):this._trigger("search",c)!==!1?this._search(b):undefined },_search:function(b){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:b},this._response()) },_response:function(){var b=++this.requestIndex; return a.proxy(function(c){b===this.requestIndex&&this.__response(c),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading") },this) },__response:function(b){b&&(b=this._normalize(b)),this._trigger("response",null,{content:b}),!this.options.disabled&&b&&b.length&&!this.cancelSearch?(this._suggest(b),this._trigger("open")):this._close() },close:function(b){this.cancelSearch=!0,this._close(b) },_close:function(b){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",b)) },_change:function(b){this.previous!==this._value()&&this._trigger("change",b,{item:this.selectedItem}) },_normalize:function(b){return b.length&&b[0].label&&b[0].value?b:a.map(b,function(c){return"string"==typeof c?{label:c,value:c}:a.extend({label:c.label||c.value,value:c.value||c.label},c) }) },_suggest:function(c){var b=this.menu.element.empty(); this._renderMenu(b,c),this.isNewMenu=!0,this.menu.refresh(),b.show(),this._resizeMenu(),b.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next() },_resizeMenu:function(){var b=this.menu.element; b.outerWidth(Math.max(b.width("").outerWidth()+1,this.element.outerWidth())) },_renderMenu:function(d,b){var c=this; a.each(b,function(f,e){c._renderItemData(d,e) }) },_renderItemData:function(b,c){return this._renderItem(b,c).data("ui-autocomplete-item",c) },_renderItem:function(c,b){return a("<li>").append(a("<a>").text(b.label)).appendTo(c) },_move:function(b,c){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(b)||this.menu.isLastItem()&&/^next/.test(b)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[b](c),undefined):(this.search(null,c),undefined) },widget:function(){return this.menu.element },_value:function(){return this.valueMethod.apply(this.element,arguments) },_keyEvent:function(b,c){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(b,c),c.preventDefault()) }}),a.extend(a.ui.autocomplete,{escapeRegex:function(b){return b.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&") },filter:function(d,b){var c=RegExp(a.ui.autocomplete.escapeRegex(b),"i"); return a.grep(d,function(e){return c.test(e.label||e.value||e) }) }}),a.widget("ui.autocomplete",a.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(b){return b+(b>1?" results are":" result is")+" available, use up and down arrow keys to navigate." }}},__response:function(b){var c; this._superApply(arguments),this.options.disabled||this.cancelSearch||(c=b&&b.length?this.options.messages.results(b.length):this.options.messages.noResults,this.liveRegion.text(c)) }}) }(jQuery),function(b){var d,a="ui-button ui-widget ui-state-default ui-corner-all",c="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",g=function(){var h=b(this); setTimeout(function(){h.find(":ui-button").button("refresh") },1) },f=function(k){var h=k.name,j=k.form,l=b([]); return h&&(h=h.replace(/'/g,"\\'"),l=j?b(j).find("[name='"+h+"']"):b("[name='"+h+"']",k.ownerDocument).filter(function(){return !this.form })),l }; b.widget("ui.button",{version:"1.10.4",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,g),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title"); var j=this,e=this.options,k="checkbox"===this.type||"radio"===this.type,i=k?"":"ui-state-active"; null===e.label&&(e.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(a).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){e.disabled||this===d&&b(this).addClass("ui-state-active") }).bind("mouseleave"+this.eventNamespace,function(){e.disabled||b(this).removeClass(i) }).bind("click"+this.eventNamespace,function(h){e.disabled&&(h.preventDefault(),h.stopImmediatePropagation()) }),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus") },blur:function(){this.buttonElement.removeClass("ui-state-focus") }}),k&&this.element.bind("change"+this.eventNamespace,function(){j.refresh() }),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return e.disabled?!1:undefined }):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(e.disabled){return !1 }b(this).addClass("ui-state-active"),j.buttonElement.attr("aria-pressed","true"); var h=j.element[0]; f(h).not(h).map(function(){return b(this).button("widget")[0] }).removeClass("ui-state-active").attr("aria-pressed","false") }):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return e.disabled?!1:(b(this).addClass("ui-state-active"),d=this,j.document.one("mouseup",function(){d=null }),undefined) }).bind("mouseup"+this.eventNamespace,function(){return e.disabled?!1:(b(this).removeClass("ui-state-active"),undefined) }).bind("keydown"+this.eventNamespace,function(h){return e.disabled?!1:((h.keyCode===b.ui.keyCode.SPACE||h.keyCode===b.ui.keyCode.ENTER)&&b(this).addClass("ui-state-active"),undefined) }).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){b(this).removeClass("ui-state-active") }),this.buttonElement.is("a")&&this.buttonElement.keyup(function(h){h.keyCode===b.ui.keyCode.SPACE&&b(this).click() })),this._setOption("disabled",e.disabled),this._resetButton() },_determineButtonType:function(){var j,k,h; this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(j=this.element.parents().last(),k="label[for='"+this.element.attr("id")+"']",this.buttonElement=j.find(k),this.buttonElement.length||(j=j.length?j.siblings():this.element.siblings(),this.buttonElement=j.filter(k),this.buttonElement.length||(this.buttonElement=j.find(k))),this.element.addClass("ui-helper-hidden-accessible"),h=this.element.is(":checked"),h&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",h)):this.buttonElement=this.element },widget:function(){return this.buttonElement },_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(a+" ui-state-active "+c).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title") },_setOption:function(h,i){return this._super(h,i),"disabled"===h?(this.element.prop("disabled",!!i),i&&this.buttonElement.removeClass("ui-state-focus"),undefined):(this._resetButton(),undefined) },refresh:function(){var h=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled"); h!==this.options.disabled&&this._setOption("disabled",h),"radio"===this.type?f(this.element[0]).each(function(){b(this).is(":checked")?b(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):b(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false") }):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false")) },_resetButton:function(){if("input"===this.type){return this.options.label&&this.element.val(this.options.label),undefined }var k=this.buttonElement.removeClass(c),j=b("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(k.empty()).text(),m=this.options.icons,l=m.primary&&m.secondary,h=[]; m.primary||m.secondary?(this.options.text&&h.push("ui-button-text-icon"+(l?"s":m.primary?"-primary":"-secondary")),m.primary&&k.prepend("<span class='ui-button-icon-primary ui-icon "+m.primary+"'></span>"),m.secondary&&k.append("<span class='ui-button-icon-secondary ui-icon "+m.secondary+"'></span>"),this.options.text||(h.push(l?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||k.attr("title",b.trim(j)))):h.push("ui-button-text-only"),k.addClass(h.join(" ")) }}),b.widget("ui.buttonset",{version:"1.10.4",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset") },_init:function(){this.refresh() },_setOption:function(h,i){"disabled"===h&&this.buttons.button("option",h,i),this._super(h,i) },refresh:function(){var h="rtl"===this.element.css("direction"); this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return b(this).button("widget")[0] }).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(h?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(h?"ui-corner-left":"ui-corner-right").end().end() },_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return b(this).button("widget")[0] }).removeClass("ui-corner-left ui-corner-right").end().button("destroy") }}) }(jQuery),function(d,g){function c(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},d.extend(this._defaults,this.regional[""]),this.dpDiv=f(d("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")) }function f(k){var a="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a"; return k.delegate(a,"mouseout",function(){d(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&d(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&d(this).removeClass("ui-datepicker-next-hover") }).delegate(a,"mouseover",function(){d.datepicker._isDisabledDatepicker(h.inline?k.parent()[0]:h.input[0])||(d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),d(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&d(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&d(this).addClass("ui-datepicker-next-hover")) }) }function j(l,a){d.extend(l,a); for(var k in a){null==a[k]&&(l[k]=a[k]) }return l }d.extend(d.ui,{datepicker:{version:"1.10.4"}}); var h,b="datepicker"; d.extend(c.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv },setDefaults:function(a){return j(this._defaults,a||{}),this },_attachDatepicker:function(l,a){var k,p,m; k=l.nodeName.toLowerCase(),p="div"===k||"span"===k,l.id||(this.uuid+=1,l.id="dp"+this.uuid),m=this._newInst(d(l),p),m.settings=d.extend({},a||{}),"input"===k?this._connectDatepicker(l,m):p&&this._inlineDatepicker(l,m) },_newInst:function(k,a){var l=k[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"); return{id:l,input:k,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:a,dpDiv:a?f(d("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv} },_connectDatepicker:function(l,a){var k=d(l); a.append=d([]),a.trigger=d([]),k.hasClass(this.markerClassName)||(this._attachments(k,a),k.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(a),d.data(l,b,a),a.settings.disabled&&this._disableDatepicker(l)) },_attachments:function(q,l){var m,u,t,k=this._get(l,"appendText"),p=this._get(l,"isRTL"); l.append&&l.append.remove(),k&&(l.append=d("<span class='"+this._appendClass+"'>"+k+"</span>"),q[p?"before":"after"](l.append)),q.unbind("focus",this._showDatepicker),l.trigger&&l.trigger.remove(),m=this._get(l,"showOn"),("focus"===m||"both"===m)&&q.focus(this._showDatepicker),("button"===m||"both"===m)&&(u=this._get(l,"buttonText"),t=this._get(l,"buttonImage"),l.trigger=d(this._get(l,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:t,alt:u,title:u}):d("<button type='button'></button>").addClass(this._triggerClass).html(t?d("<img/>").attr({src:t,alt:u,title:u}):u)),q[p?"before":"after"](l.trigger),l.trigger.click(function(){return d.datepicker._datepickerShowing&&d.datepicker._lastInput===q[0]?d.datepicker._hideDatepicker():d.datepicker._datepickerShowing&&d.datepicker._lastInput!==q[0]?(d.datepicker._hideDatepicker(),d.datepicker._showDatepicker(q[0])):d.datepicker._showDatepicker(q[0]),!1 })) },_autoSize:function(m){if(this._get(m,"autoSize")&&!m.inline){var q,l,p,u,r=new Date(2009,11,20),k=this._get(m,"dateFormat"); k.match(/[DM]/)&&(q=function(a){for(l=0,p=0,u=0; a.length>u; u++){a[u].length>l&&(l=a[u].length,p=u) }return p },r.setMonth(q(this._get(m,k.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(q(this._get(m,k.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),m.input.attr("size",this._formatDate(m,r).length) }},_inlineDatepicker:function(l,a){var k=d(l); k.hasClass(this.markerClassName)||(k.addClass(this.markerClassName).append(a.dpDiv),d.data(l,b,a),this._setDate(a,this._getDefaultDate(a),!0),this._updateDatepicker(a),this._updateAlternate(a),a.settings.disabled&&this._disableDatepicker(l),a.dpDiv.css("display","block")) },_dialogDatepicker:function(v,q,z,m,a){var t,n,x,y,w,k=this._dialogInst; return k||(this.uuid+=1,t="dp"+this.uuid,this._dialogInput=d("<input type='text' id='"+t+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),d("body").append(this._dialogInput),k=this._dialogInst=this._newInst(this._dialogInput,!1),k.settings={},d.data(this._dialogInput[0],b,k)),j(k.settings,m||{}),q=q&&q.constructor===Date?this._formatDate(k,q):q,this._dialogInput.val(q),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(n=document.documentElement.clientWidth,x=document.documentElement.clientHeight,y=document.documentElement.scrollLeft||document.body.scrollLeft,w=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[n/2-100+y,x/2-150+w]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),k.settings.onSelect=z,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),d.blockUI&&d.blockUI(this.dpDiv),d.data(this._dialogInput[0],b,k),this },_destroyDatepicker:function(l){var a,k=d(l),m=d.data(l,b); k.hasClass(this.markerClassName)&&(a=l.nodeName.toLowerCase(),d.removeData(l,b),"input"===a?(m.append.remove(),m.trigger.remove(),k.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===a||"span"===a)&&k.removeClass(this.markerClassName).empty()) },_enableDatepicker:function(l){var a,k,p=d(l),m=d.data(l,b); p.hasClass(this.markerClassName)&&(a=l.nodeName.toLowerCase(),"input"===a?(l.disabled=!1,m.trigger.filter("button").each(function(){this.disabled=!1 }).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===a||"span"===a)&&(k=p.children("."+this._inlineClass),k.children().removeClass("ui-state-disabled"),k.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=d.map(this._disabledInputs,function(e){return e===l?null:e })) },_disableDatepicker:function(l){var a,k,p=d(l),m=d.data(l,b); p.hasClass(this.markerClassName)&&(a=l.nodeName.toLowerCase(),"input"===a?(l.disabled=!0,m.trigger.filter("button").each(function(){this.disabled=!0 }).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===a||"span"===a)&&(k=p.children("."+this._inlineClass),k.children().addClass("ui-state-disabled"),k.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=d.map(this._disabledInputs,function(e){return e===l?null:e }),this._disabledInputs[this._disabledInputs.length]=l) },_isDisabledDatepicker:function(a){if(!a){return !1 }for(var i=0; this._disabledInputs.length>i; i++){if(this._disabledInputs[i]===a){return !0 }}return !1 },_getInst:function(k){try{return d.data(k,b) }catch(a){throw"Missing instance data for this datepicker" }},_optionDatepicker:function(m,p,t){var k,q,n,e,u=this._getInst(m); return 2===arguments.length&&"string"==typeof p?"defaults"===p?d.extend({},d.datepicker._defaults):u?"all"===p?d.extend({},u.settings):this._get(u,p):null:(k=p||{},"string"==typeof p&&(k={},k[p]=t),u&&(this._curInst===u&&this._hideDatepicker(),q=this._getDateDatepicker(m,!0),n=this._getMinMaxDate(u,"min"),e=this._getMinMaxDate(u,"max"),j(u.settings,k),null!==n&&k.dateFormat!==g&&k.minDate===g&&(u.settings.minDate=this._formatDate(u,n)),null!==e&&k.dateFormat!==g&&k.maxDate===g&&(u.settings.maxDate=this._formatDate(u,e)),"disabled" in k&&(k.disabled?this._disableDatepicker(m):this._enableDatepicker(m)),this._attachments(d(m),u),this._autoSize(u),this._setDate(u,q),this._updateAlternate(u),this._updateDatepicker(u)),g) },_changeDatepicker:function(k,l,a){this._optionDatepicker(k,l,a) },_refreshDatepicker:function(a){var i=this._getInst(a); i&&this._updateDatepicker(i) },_setDateDatepicker:function(k,l){var a=this._getInst(k); a&&(this._setDate(a,l),this._updateDatepicker(a),this._updateAlternate(a)) },_getDateDatepicker:function(k,l){var a=this._getInst(k); return a&&!a.inline&&this._setDateFromField(a,l),a?this._getDate(a):null },_doKeyDown:function(q){var l,m,u,t=d.datepicker._getInst(q.target),k=!0,p=t.dpDiv.is(".ui-datepicker-rtl"); if(t._keyEvent=!0,d.datepicker._datepickerShowing){switch(q.keyCode){case 9:d.datepicker._hideDatepicker(),k=!1; break; case 13:return u=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",t.dpDiv),u[0]&&d.datepicker._selectDay(q.target,t.selectedMonth,t.selectedYear,u[0]),l=d.datepicker._get(t,"onSelect"),l?(m=d.datepicker._formatDate(t),l.apply(t.input?t.input[0]:null,[m,t])):d.datepicker._hideDatepicker(),!1; case 27:d.datepicker._hideDatepicker(); break; case 33:d.datepicker._adjustDate(q.target,q.ctrlKey?-d.datepicker._get(t,"stepBigMonths"):-d.datepicker._get(t,"stepMonths"),"M"); break; case 34:d.datepicker._adjustDate(q.target,q.ctrlKey?+d.datepicker._get(t,"stepBigMonths"):+d.datepicker._get(t,"stepMonths"),"M"); break; case 35:(q.ctrlKey||q.metaKey)&&d.datepicker._clearDate(q.target),k=q.ctrlKey||q.metaKey; break; case 36:(q.ctrlKey||q.metaKey)&&d.datepicker._gotoToday(q.target),k=q.ctrlKey||q.metaKey; break; case 37:(q.ctrlKey||q.metaKey)&&d.datepicker._adjustDate(q.target,p?1:-1,"D"),k=q.ctrlKey||q.metaKey,q.originalEvent.altKey&&d.datepicker._adjustDate(q.target,q.ctrlKey?-d.datepicker._get(t,"stepBigMonths"):-d.datepicker._get(t,"stepMonths"),"M"); break; case 38:(q.ctrlKey||q.metaKey)&&d.datepicker._adjustDate(q.target,-7,"D"),k=q.ctrlKey||q.metaKey; break; case 39:(q.ctrlKey||q.metaKey)&&d.datepicker._adjustDate(q.target,p?-1:1,"D"),k=q.ctrlKey||q.metaKey,q.originalEvent.altKey&&d.datepicker._adjustDate(q.target,q.ctrlKey?+d.datepicker._get(t,"stepBigMonths"):+d.datepicker._get(t,"stepMonths"),"M"); break; case 40:(q.ctrlKey||q.metaKey)&&d.datepicker._adjustDate(q.target,7,"D"),k=q.ctrlKey||q.metaKey; break; default:k=!1 }}else{36===q.keyCode&&q.ctrlKey?d.datepicker._showDatepicker(this):k=!1 }k&&(q.preventDefault(),q.stopPropagation()) },_doKeyPress:function(a){var e,l,k=d.datepicker._getInst(a.target); return d.datepicker._get(k,"constrainInput")?(e=d.datepicker._possibleChars(d.datepicker._get(k,"dateFormat")),l=String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),a.ctrlKey||a.metaKey||" ">l||!e||e.indexOf(l)>-1):g },_doKeyUp:function(l){var a,k=d.datepicker._getInst(l.target); if(k.input.val()!==k.lastVal){try{a=d.datepicker.parseDate(d.datepicker._get(k,"dateFormat"),k.input?k.input.val():null,d.datepicker._getFormatConfig(k)),a&&(d.datepicker._setDateFromField(k),d.datepicker._updateAlternate(k),d.datepicker._updateDatepicker(k)) }catch(m){}}return !0 },_showDatepicker:function(u){if(u=u.target||u,"input"!==u.nodeName.toLowerCase()&&(u=d("input",u.parentNode)[0]),!d.datepicker._isDisabledDatepicker(u)&&d.datepicker._lastInput!==u){var n,q,v,m,t,p,k; n=d.datepicker._getInst(u),d.datepicker._curInst&&d.datepicker._curInst!==n&&(d.datepicker._curInst.dpDiv.stop(!0,!0),n&&d.datepicker._datepickerShowing&&d.datepicker._hideDatepicker(d.datepicker._curInst.input[0])),q=d.datepicker._get(n,"beforeShow"),v=q?q.apply(u,[u,n]):{},v!==!1&&(j(n.settings,v),n.lastVal=null,d.datepicker._lastInput=u,d.datepicker._setDateFromField(n),d.datepicker._inDialog&&(u.value=""),d.datepicker._pos||(d.datepicker._pos=d.datepicker._findPos(u),d.datepicker._pos[1]+=u.offsetHeight),m=!1,d(u).parents().each(function(){return m|="fixed"===d(this).css("position"),!m }),t={left:d.datepicker._pos[0],top:d.datepicker._pos[1]},d.datepicker._pos=null,n.dpDiv.empty(),n.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),d.datepicker._updateDatepicker(n),t=d.datepicker._checkOffset(n,t,m),n.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":m?"fixed":"absolute",display:"none",left:t.left+"px",top:t.top+"px"}),n.inline||(p=d.datepicker._get(n,"showAnim"),k=d.datepicker._get(n,"duration"),n.dpDiv.zIndex(d(u).zIndex()+1),d.datepicker._datepickerShowing=!0,d.effects&&d.effects.effect[p]?n.dpDiv.show(p,d.datepicker._get(n,"showOptions"),k):n.dpDiv[p||"show"](p?k:null),d.datepicker._shouldFocusInput(n)&&n.input.focus(),d.datepicker._curInst=n)) }},_updateDatepicker:function(o){this.maxRows=4,h=o,o.dpDiv.empty().append(this._generateHTML(o)),this._attachHandlers(o),o.dpDiv.find("."+this._dayOverClass+" a").mouseover(); var l,m=this._getNumberOfMonths(o),p=m[1],k=17; o.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),p>1&&o.dpDiv.addClass("ui-datepicker-multi-"+p).css("width",k*p+"em"),o.dpDiv[(1!==m[0]||1!==m[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),o.dpDiv[(this._get(o,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),o===d.datepicker._curInst&&d.datepicker._datepickerShowing&&d.datepicker._shouldFocusInput(o)&&o.input.focus(),o.yearshtml&&(l=o.yearshtml,setTimeout(function(){l===o.yearshtml&&o.yearshtml&&o.dpDiv.find("select.ui-datepicker-year:first").replaceWith(o.yearshtml),l=o.yearshtml=null },0)) },_shouldFocusInput:function(a){return a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&!a.input.is(":focus") },_checkOffset:function(v,t,x){var p=v.dpDiv.outerWidth(),m=v.dpDiv.outerHeight(),w=v.input?v.input.outerWidth():0,k=v.input?v.input.outerHeight():0,u=document.documentElement.clientWidth+(x?0:d(document).scrollLeft()),q=document.documentElement.clientHeight+(x?0:d(document).scrollTop()); return t.left-=this._get(v,"isRTL")?p-w:0,t.left-=x&&t.left===v.input.offset().left?d(document).scrollLeft():0,t.top-=x&&t.top===v.input.offset().top+k?d(document).scrollTop():0,t.left-=Math.min(t.left,t.left+p>u&&u>p?Math.abs(t.left+p-u):0),t.top-=Math.min(t.top,t.top+m>q&&q>m?Math.abs(m+k):0),t },_findPos:function(l){for(var a,k=this._getInst(l),m=this._get(k,"isRTL"); l&&("hidden"===l.type||1!==l.nodeType||d.expr.filters.hidden(l)); ){l=l[m?"previousSibling":"nextSibling"] }return a=d(l).offset(),[a.left,a.top] },_hideDatepicker:function(m){var a,k,q,p,l=this._curInst; !l||m&&l!==d.data(m,b)||this._datepickerShowing&&(a=this._get(l,"showAnim"),k=this._get(l,"duration"),q=function(){d.datepicker._tidyDialog(l) },d.effects&&(d.effects.effect[a]||d.effects[a])?l.dpDiv.hide(a,d.datepicker._get(l,"showOptions"),k,q):l.dpDiv["slideDown"===a?"slideUp":"fadeIn"===a?"fadeOut":"hide"](a?k:null,q),a||q(),this._datepickerShowing=!1,p=this._get(l,"onClose"),p&&p.apply(l.input?l.input[0]:null,[l.input?l.input.val():"",l]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),d.blockUI&&(d.unblockUI(),d("body").append(this.dpDiv))),this._inDialog=!1) },_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar") },_checkExternalClick:function(l){if(d.datepicker._curInst){var a=d(l.target),k=d.datepicker._getInst(a[0]); (a[0].id!==d.datepicker._mainDivId&&0===a.parents("#"+d.datepicker._mainDivId).length&&!a.hasClass(d.datepicker.markerClassName)&&!a.closest("."+d.datepicker._triggerClass).length&&d.datepicker._datepickerShowing&&(!d.datepicker._inDialog||!d.blockUI)||a.hasClass(d.datepicker.markerClassName)&&d.datepicker._curInst!==k)&&d.datepicker._hideDatepicker() }},_adjustDate:function(l,a,k){var p=d(l),m=this._getInst(p[0]); this._isDisabledDatepicker(p[0])||(this._adjustInstDate(m,a+("M"===k?this._get(m,"showCurrentAtPos"):0),k),this._updateDatepicker(m)) },_gotoToday:function(l){var a,k=d(l),m=this._getInst(k[0]); this._get(m,"gotoCurrent")&&m.currentDay?(m.selectedDay=m.currentDay,m.drawMonth=m.selectedMonth=m.currentMonth,m.drawYear=m.selectedYear=m.currentYear):(a=new Date,m.selectedDay=a.getDate(),m.drawMonth=m.selectedMonth=a.getMonth(),m.drawYear=m.selectedYear=a.getFullYear()),this._notifyChange(m),this._adjustDate(k) },_selectMonthYear:function(l,a,k){var p=d(l),m=this._getInst(p[0]); m["selected"+("M"===k?"Month":"Year")]=m["draw"+("M"===k?"Month":"Year")]=parseInt(a.options[a.selectedIndex].value,10),this._notifyChange(m),this._adjustDate(p) },_selectDay:function(p,l,m,r){var q,k=d(p); d(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(k[0])||(q=this._getInst(k[0]),q.selectedDay=q.currentDay=d("a",r).html(),q.selectedMonth=q.currentMonth=l,q.selectedYear=q.currentYear=m,this._selectDate(p,this._formatDate(q,q.currentDay,q.currentMonth,q.currentYear))) },_clearDate:function(k){var a=d(k); this._selectDate(a,"") },_selectDate:function(l,a){var k,p=d(l),m=this._getInst(p[0]); a=null!=a?a:this._formatDate(m),m.input&&m.input.val(a),this._updateAlternate(m),k=this._get(m,"onSelect"),k?k.apply(m.input?m.input[0]:null,[a,m]):m.input&&m.input.trigger("change"),m.inline?this._updateDatepicker(m):(this._hideDatepicker(),this._lastInput=m.input[0],"object"!=typeof m.input[0]&&m.input.focus(),this._lastInput=null) },_updateAlternate:function(l){var a,k,p,m=this._get(l,"altField"); m&&(a=this._get(l,"altFormat")||this._get(l,"dateFormat"),k=this._getDate(l),p=this.formatDate(a,k,this._getFormatConfig(l)),d(m).each(function(){d(this).val(p) })) },noWeekends:function(a){var i=a.getDay(); return[i>0&&6>i,""] },iso8601Week:function(k){var l,a=new Date(k.getTime()); return a.setDate(a.getDate()+4-(a.getDay()||7)),l=a.getTime(),a.setMonth(0),a.setDate(1),Math.floor(Math.round((l-a)/86400000)/7)+1 },parseDate:function(L,C,H){if(null==L||null==C){throw"Invalid arguments" }if(C="object"==typeof C?""+C:C+"",""===C){return null }var G,S,E,M,J=0,Q=(H?H.shortYearCutoff:null)||this._defaults.shortYearCutoff,A="string"!=typeof Q?Q:(new Date).getFullYear()%100+parseInt(Q,10),P=(H?H.dayNamesShort:null)||this._defaults.dayNamesShort,F=(H?H.dayNames:null)||this._defaults.dayNames,O=(H?H.monthNamesShort:null)||this._defaults.monthNamesShort,N=(H?H.monthNames:null)||this._defaults.monthNames,I=-1,z=-1,T=-1,R=-1,e=!1,t=function(a){var i=L.length>G+1&&L.charAt(G+1)===a; return i&&G++,i },q=function(k){var l=t(k),a="@"===k?14:"!"===k?20:"y"===k&&l?4:"o"===k?3:2,p=RegExp("^\\d{1,"+a+"}"),m=C.substring(J).match(p); if(!m){throw"Missing number at position "+J }return J+=m[0].length,parseInt(m[0],10) },K=function(l,s,p){var k=-1,m=d.map(t(l)?p:s,function(a,i){return[[i,a]] }).sort(function(a,i){return -(a[1].length-i[1].length) }); if(d.each(m,function(o,a){var r=a[1]; return C.substr(J,r.length).toLowerCase()===r.toLowerCase()?(k=a[0],J+=r.length,!1):g }),-1!==k){return k+1 }throw"Unknown name at position "+J },B=function(){if(C.charAt(J)!==L.charAt(G)){throw"Unexpected literal at position "+J }J++ }; for(G=0; L.length>G; G++){if(e){"'"!==L.charAt(G)||t("'")?B():e=!1 }else{switch(L.charAt(G)){case"d":T=q("d"); break; case"D":K("D",P,F); break; case"o":R=q("o"); break; case"m":z=q("m"); break; case"M":z=K("M",O,N); break; case"y":I=q("y"); break; case"@":M=new Date(q("@")),I=M.getFullYear(),z=M.getMonth()+1,T=M.getDate(); break; case"!":M=new Date((q("!")-this._ticksTo1970)/10000),I=M.getFullYear(),z=M.getMonth()+1,T=M.getDate(); break; case"'":t("'")?B():e=!0; break; default:B() }}}if(C.length>J&&(E=C.substr(J),!/^\s+/.test(E))){throw"Extra/unparsed characters found in date: "+E }if(-1===I?I=(new Date).getFullYear():100>I&&(I+=(new Date).getFullYear()-(new Date).getFullYear()%100+(A>=I?0:-100)),R>-1){for(z=1,T=R; ; ){if(S=this._getDaysInMonth(I,z-1),S>=T){break }z++,T-=S }}if(M=this._daylightSavingAdjust(new Date(I,z-1,T)),M.getFullYear()!==I||M.getMonth()+1!==z||M.getDate()!==T){throw"Invalid date" }return M },ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:10000000*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(C,x,v){if(!x){return"" }var D,p=(v?v.dayNamesShort:null)||this._defaults.dayNamesShort,m=(v?v.dayNames:null)||this._defaults.dayNames,A=(v?v.monthNamesShort:null)||this._defaults.monthNamesShort,k=(v?v.monthNames:null)||this._defaults.monthNames,w=function(l){var a=C.length>D+1&&C.charAt(D+1)===l; return a&&D++,a },q=function(l,o,a){var n=""+o; if(w(l)){for(; a>n.length; ){n="0"+n }}return n },z=function(l,o,a,n){return w(l)?n[o]:a[o] },B="",y=!1; if(x){for(D=0; C.length>D; D++){if(y){"'"!==C.charAt(D)||w("'")?B+=C.charAt(D):y=!1 }else{switch(C.charAt(D)){case"d":B+=q("d",x.getDate(),2); break; case"D":B+=z("D",x.getDay(),p,m); break; case"o":B+=q("o",Math.round((new Date(x.getFullYear(),x.getMonth(),x.getDate()).getTime()-new Date(x.getFullYear(),0,0).getTime())/86400000),3); break; case"m":B+=q("m",x.getMonth()+1,2); break; case"M":B+=z("M",x.getMonth(),A,k); break; case"y":B+=w("y")?x.getFullYear():(10>x.getYear()%100?"0":"")+x.getYear()%100; break; case"@":B+=x.getTime(); break; case"!":B+=10000*x.getTime()+this._ticksTo1970; break; case"'":w("'")?B+="'":y=!0; break; default:B+=C.charAt(D) }}}}return B },_possibleChars:function(k){var m,a="",l=!1,o=function(e){var n=k.length>m+1&&k.charAt(m+1)===e; return n&&m++,n }; for(m=0; k.length>m; m++){if(l){"'"!==k.charAt(m)||o("'")?a+=k.charAt(m):l=!1 }else{switch(k.charAt(m)){case"d":case"m":case"y":case"@":a+="0123456789"; break; case"D":case"M":return null; case"'":o("'")?a+="'":l=!0; break; default:a+=k.charAt(m) }}}return a },_get:function(e,a){return e.settings[a]!==g?e.settings[a]:this._defaults[a] },_setDateFromField:function(m,u){if(m.input.val()!==m.lastVal){var l=this._get(m,"dateFormat"),p=m.lastVal=m.input?m.input.val():null,w=this._getDefaultDate(m),v=w,k=this._getFormatConfig(m); try{v=this.parseDate(l,p,k)||w }catch(q){p=u?"":p }m.selectedDay=v.getDate(),m.drawMonth=m.selectedMonth=v.getMonth(),m.drawYear=m.selectedYear=v.getFullYear(),m.currentDay=p?v.getDate():0,m.currentMonth=p?v.getMonth():0,m.currentYear=p?v.getFullYear():0,this._adjustInstDate(m) }},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date)) },_determineDate:function(p,l,m){var r=function(a){var i=new Date; return i.setDate(i.getDate()+a),i },q=function(u){try{return d.datepicker.parseDate(d.datepicker._get(p,"dateFormat"),u,d.datepicker._getFormatConfig(p)) }catch(w){}for(var z=(u.toLowerCase().match(/^c/)?d.datepicker._getDate(p):null)||new Date,y=z.getFullYear(),t=z.getMonth(),x=z.getDate(),v=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,e=v.exec(u); e; ){switch(e[2]||"d"){case"d":case"D":x+=parseInt(e[1],10); break; case"w":case"W":x+=7*parseInt(e[1],10); break; case"m":case"M":t+=parseInt(e[1],10),x=Math.min(x,d.datepicker._getDaysInMonth(y,t)); break; case"y":case"Y":y+=parseInt(e[1],10),x=Math.min(x,d.datepicker._getDaysInMonth(y,t)) }e=v.exec(u) }return new Date(y,t,x) },k=null==l||""===l?m:"string"==typeof l?q(l):"number"==typeof l?isNaN(l)?m:r(l):new Date(l.getTime()); return k=k&&"Invalid Date"==""+k?m:k,k&&(k.setHours(0),k.setMinutes(0),k.setSeconds(0),k.setMilliseconds(0)),this._daylightSavingAdjust(k) },_daylightSavingAdjust:function(a){return a?(a.setHours(a.getHours()>12?a.getHours()+2:0),a):null },_setDate:function(m,q,l){var p=!q,u=m.selectedMonth,r=m.selectedYear,k=this._restrictMinMax(m,this._determineDate(m,q,new Date)); m.selectedDay=m.currentDay=k.getDate(),m.drawMonth=m.selectedMonth=m.currentMonth=k.getMonth(),m.drawYear=m.selectedYear=m.currentYear=k.getFullYear(),u===m.selectedMonth&&r===m.selectedYear||l||this._notifyChange(m),this._adjustInstDate(m),m.input&&m.input.val(p?"":this._formatDate(m)) },_getDate:function(a){var i=!a.currentYear||a.input&&""===a.input.val()?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay)); return i },_attachHandlers:function(l){var a=this._get(l,"stepMonths"),k="#"+l.id.replace(/\\\\/g,"\\"); l.dpDiv.find("[data-handler]").map(function(){var i={prev:function(){d.datepicker._adjustDate(k,-a,"M") },next:function(){d.datepicker._adjustDate(k,+a,"M") },hide:function(){d.datepicker._hideDatepicker() },today:function(){d.datepicker._gotoToday(k) },selectDay:function(){return d.datepicker._selectDay(k,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1 },selectMonth:function(){return d.datepicker._selectMonthYear(k,this,"M"),!1 },selectYear:function(){return d.datepicker._selectMonthYear(k,this,"Y"),!1 }}; d(this).bind(this.getAttribute("data-event"),i[this.getAttribute("data-handler")]) }) },_generateHTML:function(aJ){var aY,aU,aK,aP,aO,a2,aL,aV,aR,a0,aI,aZ,aN,aX,aW,aQ,aH,a3,a1,aE,aG,aF,aS,ay,az,at,al,ah,ao,ai,aD,aB,ax,au,an,ae,am,aw,aj,ap=new Date,aT=this._daylightSavingAdjust(new Date(ap.getFullYear(),ap.getMonth(),ap.getDate())),ab=this._get(aJ,"isRTL"),aA=this._get(aJ,"showButtonPanel"),af=this._get(aJ,"hideIfNoPrevNext"),aq=this._get(aJ,"navigationAsDateFormat"),aM=this._getNumberOfMonths(aJ),ag=this._get(aJ,"showCurrentAtPos"),ak=this._get(aJ,"stepMonths"),ac=1!==aM[0]||1!==aM[1],aC=this._daylightSavingAdjust(aJ.currentDay?new Date(aJ.currentYear,aJ.currentMonth,aJ.currentDay):new Date(9999,9,9)),av=this._getMinMaxDate(aJ,"min"),ar=this._getMinMaxDate(aJ,"max"),aa=aJ.drawMonth-ag,ad=aJ.drawYear; if(0>aa&&(aa+=12,ad--),ar){for(aY=this._daylightSavingAdjust(new Date(ar.getFullYear(),ar.getMonth()-aM[0]*aM[1]+1,ar.getDate())),aY=av&&av>aY?av:aY; this._daylightSavingAdjust(new Date(ad,aa,1))>aY; ){aa--,0>aa&&(aa=11,ad--) }}for(aJ.drawMonth=aa,aJ.drawYear=ad,aU=this._get(aJ,"prevText"),aU=aq?this.formatDate(aU,this._daylightSavingAdjust(new Date(ad,aa-ak,1)),this._getFormatConfig(aJ)):aU,aK=this._canAdjustMonth(aJ,-1,ad,aa)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+aU+"'><span class='ui-icon ui-icon-circle-triangle-"+(ab?"e":"w")+"'>"+aU+"</span></a>":af?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+aU+"'><span class='ui-icon ui-icon-circle-triangle-"+(ab?"e":"w")+"'>"+aU+"</span></a>",aP=this._get(aJ,"nextText"),aP=aq?this.formatDate(aP,this._daylightSavingAdjust(new Date(ad,aa+ak,1)),this._getFormatConfig(aJ)):aP,aO=this._canAdjustMonth(aJ,1,ad,aa)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+aP+"'><span class='ui-icon ui-icon-circle-triangle-"+(ab?"w":"e")+"'>"+aP+"</span></a>":af?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+aP+"'><span class='ui-icon ui-icon-circle-triangle-"+(ab?"w":"e")+"'>"+aP+"</span></a>",a2=this._get(aJ,"currentText"),aL=this._get(aJ,"gotoCurrent")&&aJ.currentDay?aC:aT,a2=aq?this.formatDate(a2,aL,this._getFormatConfig(aJ)):a2,aV=aJ.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(aJ,"closeText")+"</button>",aR=aA?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(ab?aV:"")+(this._isInRange(aJ,aL)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a2+"</button>":"")+(ab?"":aV)+"</div>":"",a0=parseInt(this._get(aJ,"firstDay"),10),a0=isNaN(a0)?0:a0,aI=this._get(aJ,"showWeek"),aZ=this._get(aJ,"dayNames"),aN=this._get(aJ,"dayNamesMin"),aX=this._get(aJ,"monthNames"),aW=this._get(aJ,"monthNamesShort"),aQ=this._get(aJ,"beforeShowDay"),aH=this._get(aJ,"showOtherMonths"),a3=this._get(aJ,"selectOtherMonths"),a1=this._getDefaultDate(aJ),aE="",aF=0; aM[0]>aF; aF++){for(aS="",this.maxRows=4,ay=0; aM[1]>ay; ay++){if(az=this._daylightSavingAdjust(new Date(ad,aa,aJ.selectedDay)),at=" ui-corner-all",al="",ac){if(al+="<div class='ui-datepicker-group",aM[1]>1){switch(ay){case 0:al+=" ui-datepicker-group-first",at=" ui-corner-"+(ab?"right":"left"); break; case aM[1]-1:al+=" ui-datepicker-group-last",at=" ui-corner-"+(ab?"left":"right"); break; default:al+=" ui-datepicker-group-middle",at="" }}al+="'>" }for(al+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+at+"'>"+(/all|left/.test(at)&&0===aF?ab?aO:aK:"")+(/all|right/.test(at)&&0===aF?ab?aK:aO:"")+this._generateMonthYearHeader(aJ,aa,ad,av,ar,aF>0||ay>0,aX,aW)+"</div><table class='ui-datepicker-calendar'><thead><tr>",ah=aI?"<th class='ui-datepicker-week-col'>"+this._get(aJ,"weekHeader")+"</th>":"",aG=0; 7>aG; aG++){ao=(aG+a0)%7,ah+="<th"+((aG+a0+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+aZ[ao]+"'>"+aN[ao]+"</span></th>" }for(al+=ah+"</tr></thead><tbody>",ai=this._getDaysInMonth(ad,aa),ad===aJ.selectedYear&&aa===aJ.selectedMonth&&(aJ.selectedDay=Math.min(aJ.selectedDay,ai)),aD=(this._getFirstDayOfMonth(ad,aa)-a0+7)%7,aB=Math.ceil((aD+ai)/7),ax=ac?this.maxRows>aB?this.maxRows:aB:aB,this.maxRows=ax,au=this._daylightSavingAdjust(new Date(ad,aa,1-aD)),an=0; ax>an; an++){for(al+="<tr>",ae=aI?"<td class='ui-datepicker-week-col'>"+this._get(aJ,"calculateWeek")(au)+"</td>":"",aG=0; 7>aG; aG++){am=aQ?aQ.apply(aJ.input?aJ.input[0]:null,[au]):[!0,""],aw=au.getMonth()!==aa,aj=aw&&!a3||!am[0]||av&&av>au||ar&&au>ar,ae+="<td class='"+((aG+a0+6)%7>=5?" ui-datepicker-week-end":"")+(aw?" ui-datepicker-other-month":"")+(au.getTime()===az.getTime()&&aa===aJ.selectedMonth&&aJ._keyEvent||a1.getTime()===au.getTime()&&a1.getTime()===az.getTime()?" "+this._dayOverClass:"")+(aj?" "+this._unselectableClass+" ui-state-disabled":"")+(aw&&!aH?"":" "+am[1]+(au.getTime()===aC.getTime()?" "+this._currentClass:"")+(au.getTime()===aT.getTime()?" ui-datepicker-today":""))+"'"+(aw&&!aH||!am[2]?"":" title='"+am[2].replace(/'/g,"'")+"'")+(aj?"":" data-handler='selectDay' data-event='click' data-month='"+au.getMonth()+"' data-year='"+au.getFullYear()+"'")+">"+(aw&&!aH?" ":aj?"<span class='ui-state-default'>"+au.getDate()+"</span>":"<a class='ui-state-default"+(au.getTime()===aT.getTime()?" ui-state-highlight":"")+(au.getTime()===aC.getTime()?" ui-state-active":"")+(aw?" ui-priority-secondary":"")+"' href='#'>"+au.getDate()+"</a>")+"</td>",au.setDate(au.getDate()+1),au=this._daylightSavingAdjust(au) }al+=ae+"</tr>" }aa++,aa>11&&(aa=0,ad++),al+="</tbody></table>"+(ac?"</div>"+(aM[0]>0&&ay===aM[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),aS+=al }aE+=aS }return aE+=aR,aJ._keyEvent=!1,aE },_generateMonthYearHeader:function(x,K,G,z,D,C,O,A){var H,F,M,w,L,B,J,I,E=this._get(x,"changeMonth"),q=this._get(x,"changeYear"),P=this._get(x,"showMonthAfterYear"),N="<div class='ui-datepicker-title'>",k=""; if(C||!E){k+="<span class='ui-datepicker-month'>"+O[K]+"</span>" }else{for(H=z&&z.getFullYear()===G,F=D&&D.getFullYear()===G,k+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",M=0; 12>M; M++){(!H||M>=z.getMonth())&&(!F||D.getMonth()>=M)&&(k+="<option value='"+M+"'"+(M===K?" selected='selected'":"")+">"+A[M]+"</option>") }k+="</select>" }if(P||(N+=k+(!C&&E&&q?"":" ")),!x.yearshtml){if(x.yearshtml="",C||!q){N+="<span class='ui-datepicker-year'>"+G+"</span>" }else{for(w=this._get(x,"yearRange").split(":"),L=(new Date).getFullYear(),B=function(a){var i=a.match(/c[+\-].*/)?G+parseInt(a.substring(1),10):a.match(/[+\-].*/)?L+parseInt(a,10):parseInt(a,10); return isNaN(i)?L:i },J=B(w[0]),I=Math.max(J,B(w[1]||"")),J=z?Math.max(J,z.getFullYear()):J,I=D?Math.min(I,D.getFullYear()):I,x.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>"; I>=J; J++){x.yearshtml+="<option value='"+J+"'"+(J===G?" selected='selected'":"")+">"+J+"</option>" }x.yearshtml+="</select>",N+=x.yearshtml,x.yearshtml=null }}return N+=this._get(x,"yearSuffix"),P&&(N+=(!C&&E&&q?"":" ")+k),N+="</div>" },_adjustInstDate:function(m,q,l){var p=m.drawYear+("Y"===l?q:0),u=m.drawMonth+("M"===l?q:0),r=Math.min(m.selectedDay,this._getDaysInMonth(p,u))+("D"===l?q:0),k=this._restrictMinMax(m,this._daylightSavingAdjust(new Date(p,u,r))); m.selectedDay=k.getDate(),m.drawMonth=m.selectedMonth=k.getMonth(),m.drawYear=m.selectedYear=k.getFullYear(),("M"===l||"Y"===l)&&this._notifyChange(m) },_restrictMinMax:function(k,m){var a=this._getMinMaxDate(k,"min"),l=this._getMinMaxDate(k,"max"),o=a&&a>m?a:m; return l&&o>l?l:o },_notifyChange:function(a){var i=this._get(a,"onChangeMonthYear"); i&&i.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a]) },_getNumberOfMonths:function(a){var i=this._get(a,"numberOfMonths"); return null==i?[1,1]:"number"==typeof i?[1,i]:i },_getMinMaxDate:function(a,i){return this._determineDate(a,this._get(a,i+"Date"),null) },_getDaysInMonth:function(a,i){return 32-this._daylightSavingAdjust(new Date(a,i,32)).getDate() },_getFirstDayOfMonth:function(a,i){return new Date(a,i,1).getDay() },_canAdjustMonth:function(k,m,a,l){var q=this._getNumberOfMonths(k),p=this._daylightSavingAdjust(new Date(a,l+(0>m?m:q[0]*q[1]),1)); return 0>m&&p.setDate(this._getDaysInMonth(p.getFullYear(),p.getMonth())),this._isInRange(k,p) },_isInRange:function(w,u){var p,x,m=this._getMinMaxDate(w,"min"),l=this._getMinMaxDate(w,"max"),v=null,k=null,q=this._get(w,"yearRange"); return q&&(p=q.split(":"),x=(new Date).getFullYear(),v=parseInt(p[0],10),k=parseInt(p[1],10),p[0].match(/[+\-].*/)&&(v+=x),p[1].match(/[+\-].*/)&&(k+=x)),(!m||u.getTime()>=m.getTime())&&(!l||u.getTime()<=l.getTime())&&(!v||u.getFullYear()>=v)&&(!k||k>=u.getFullYear()) },_getFormatConfig:function(a){var i=this._get(a,"shortYearCutoff"); return i="string"!=typeof i?i:(new Date).getFullYear()%100+parseInt(i,10),{shortYearCutoff:i,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")} },_formatDate:function(k,m,a,l){m||(k.currentDay=k.selectedDay,k.currentMonth=k.selectedMonth,k.currentYear=k.selectedYear); var o=m?"object"==typeof m?m:this._daylightSavingAdjust(new Date(l,a,m)):this._daylightSavingAdjust(new Date(k.currentYear,k.currentMonth,k.currentDay)); return this.formatDate(this._get(k,"dateFormat"),o,this._getFormatConfig(k)) }}),d.fn.datepicker=function(k){if(!this.length){return this }d.datepicker.initialized||(d(document).mousedown(d.datepicker._checkExternalClick),d.datepicker.initialized=!0),0===d("#"+d.datepicker._mainDivId).length&&d("body").append(d.datepicker.dpDiv); var a=Array.prototype.slice.call(arguments,1); return"string"!=typeof k||"isDisabled"!==k&&"getDate"!==k&&"widget"!==k?"option"===k&&2===arguments.length&&"string"==typeof arguments[1]?d.datepicker["_"+k+"Datepicker"].apply(d.datepicker,[this[0]].concat(a)):this.each(function(){"string"==typeof k?d.datepicker["_"+k+"Datepicker"].apply(d.datepicker,[this].concat(a)):d.datepicker._attachDatepicker(this,k) }):d.datepicker["_"+k+"Datepicker"].apply(d.datepicker,[this[0]].concat(a)) },d.datepicker=new c,d.datepicker.initialized=!1,d.datepicker.uuid=(new Date).getTime(),d.datepicker.version="1.10.4" }(jQuery),function(b){var c={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},a={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0}; b.widget("ui.dialog",{version:"1.10.4",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",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(f){var d=b(this).css(f).offset().top; 0>d&&b(this).css("top",f.top-d) }},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},_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=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&b.fn.draggable&&this._makeDraggable(),this.options.resizable&&b.fn.resizable&&this._makeResizable(),this._isOpen=!1 },_init:function(){this.options.autoOpen&&this.open() },_appendTo:function(){var d=this.options.appendTo; return d&&(d.jquery||d.nodeType)?b(d):this.document.find(d||"body").eq(0) },_destroy:function(){var d,f=this.originalPosition; this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),d=f.parent.children().eq(f.index),d.length&&d[0]!==this.element[0]?d.before(this.element):f.parent.append(this.element) },widget:function(){return this.uiDialog },disable:b.noop,enable:b.noop,close:function(g){var d,f=this; if(this._isOpen&&this._trigger("beforeClose",g)!==!1){if(this._isOpen=!1,this._destroyOverlay(),!this.opener.filter(":focusable").focus().length){try{d=this.document[0].activeElement,d&&"body"!==d.nodeName.toLowerCase()&&b(d).blur() }catch(h){}}this._hide(this.uiDialog,this.options.hide,function(){f._trigger("close",g) }) }},isOpen:function(){return this._isOpen },moveToTop:function(){this._moveToTop() },_moveToTop:function(f,g){var d=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length; return d&&!g&&this._trigger("focus",f),d },open:function(){var d=this; return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=b(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){d._focusTabbable(),d._trigger("focus") }),this._trigger("open"),undefined) },_focusTabbable:function(){var d=this.element.find("[autofocus]"); d.length||(d=this.element.find(":tabbable")),d.length||(d=this.uiDialogButtonPane.find(":tabbable")),d.length||(d=this.uiDialogTitlebarClose.filter(":tabbable")),d.length||(d=this.uiDialog),d.eq(0).focus() },_keepFocus:function(f){function d(){var h=this.document[0].activeElement,g=this.uiDialog[0]===h||b.contains(this.uiDialog[0],h); g||this._focusTabbable() }f.preventDefault(),d.call(this),this._delay(d) },_createWrapper:function(){this.uiDialog=b("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(g){if(this.options.closeOnEscape&&!g.isDefaultPrevented()&&g.keyCode&&g.keyCode===b.ui.keyCode.ESCAPE){return g.preventDefault(),this.close(g),undefined }if(g.keyCode===b.ui.keyCode.TAB){var d=this.uiDialog.find(":tabbable"),f=d.filter(":first"),h=d.filter(":last"); g.target!==h[0]&&g.target!==this.uiDialog[0]||g.shiftKey?g.target!==f[0]&&g.target!==this.uiDialog[0]||!g.shiftKey||(h.focus(1),g.preventDefault()):(f.focus(1),g.preventDefault()) }},mousedown:function(d){this._moveToTop(d)&&this._focusTabbable() }}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")}) },_createTitlebar:function(){var d; this.uiDialogTitlebar=b("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(f){b(f.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus() }}),this.uiDialogTitlebarClose=b("<button type='button'></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e) }}),d=b("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(d),this.uiDialog.attr({"aria-labelledby":d.attr("id")}) },_title:function(d){this.options.title||d.html(" "),d.text(this.options.title) },_createButtonPane:function(){this.uiDialogButtonPane=b("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=b("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons() },_createButtons:function(){var f=this,d=this.options.buttons; return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),b.isEmptyObject(d)||b.isArray(d)&&!d.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(b.each(d,function(e,g){var j,h; g=b.isFunction(g)?{click:g,text:e}:g,g=b.extend({type:"button"},g),j=g.click,g.click=function(){j.apply(f.element[0],arguments) },h={icons:g.icons,text:g.showText},delete g.icons,delete g.showText,b("<button></button>",g).button(h).appendTo(f.uiButtonSet) }),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined) },_makeDraggable:function(){function g(e){return{position:e.position,offset:e.offset} }var d=this,f=this.options; this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,h){b(this).addClass("ui-dialog-dragging"),d._blockFrames(),d._trigger("dragStart",e,g(h)) },drag:function(e,h){d._trigger("drag",e,g(h)) },stop:function(h,e){f.position=[e.position.left-d.document.scrollLeft(),e.position.top-d.document.scrollTop()],b(this).removeClass("ui-dialog-dragging"),d._unblockFrames(),d._trigger("dragStop",h,g(e)) }}) },_makeResizable:function(){function h(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size} }var f=this,g=this.options,k=g.resizable,j=this.uiDialog.css("position"),d="string"==typeof k?k:"n,e,s,w,se,sw,ne,nw"; this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:g.maxWidth,maxHeight:g.maxHeight,minWidth:g.minWidth,minHeight:this._minHeight(),handles:d,start:function(e,i){b(this).addClass("ui-dialog-resizing"),f._blockFrames(),f._trigger("resizeStart",e,h(i)) },resize:function(e,i){f._trigger("resize",e,h(i)) },stop:function(i,e){g.height=b(this).height(),g.width=b(this).width(),b(this).removeClass("ui-dialog-resizing"),f._unblockFrames(),f._trigger("resizeStop",i,h(e)) }}).css("position",j) },_minHeight:function(){var d=this.options; return"auto"===d.height?d.minHeight:Math.min(d.minHeight,d.height) },_position:function(){var d=this.uiDialog.is(":visible"); d||this.uiDialog.show(),this.uiDialog.position(this.options.position),d||this.uiDialog.hide() },_setOptions:function(e){var g=this,f=!1,d={}; b.each(e,function(h,i){g._setOption(h,i),h in c&&(f=!0),h in a&&(d[h]=i) }),f&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",d) },_setOption:function(f,h){var d,g,j=this.uiDialog; "dialogClass"===f&&j.removeClass(this.options.dialogClass).addClass(h),"disabled"!==f&&(this._super(f,h),"appendTo"===f&&this.uiDialog.appendTo(this._appendTo()),"buttons"===f&&this._createButtons(),"closeText"===f&&this.uiDialogTitlebarClose.button({label:""+h}),"draggable"===f&&(d=j.is(":data(ui-draggable)"),d&&!h&&j.draggable("destroy"),!d&&h&&this._makeDraggable()),"position"===f&&this._position(),"resizable"===f&&(g=j.is(":data(ui-resizable)"),g&&!h&&j.resizable("destroy"),g&&"string"==typeof h&&j.resizable("option","handles",h),g||h===!1||this._makeResizable()),"title"===f&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))) },_size:function(){var f,h,d,g=this.options; this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),g.minWidth>g.width&&(g.width=g.minWidth),f=this.uiDialog.css({height:"auto",width:g.width}).outerHeight(),h=Math.max(0,g.minHeight-f),d="number"==typeof g.maxHeight?Math.max(0,g.maxHeight-f):"none","auto"===g.height?this.element.css({minHeight:h,maxHeight:d,height:"auto"}):this.element.height(Math.max(0,g.height-f)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight()) },_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var d=b(this); return b("<div>").css({position:"absolute",width:d.outerWidth(),height:d.outerHeight()}).appendTo(d.parent()).offset(d.offset())[0] }) },_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks) },_allowInteraction:function(d){return b(d.target).closest(".ui-dialog").length?!0:!!b(d.target).closest(".ui-datepicker").length },_createOverlay:function(){if(this.options.modal){var f=this,d=this.widgetFullName; b.ui.dialog.overlayInstances||this._delay(function(){b.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(e){f._allowInteraction(e)||(e.preventDefault(),b(".ui-dialog:visible:last .ui-dialog-content").data(d)._focusTabbable()) }) }),this.overlay=b("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),b.ui.dialog.overlayInstances++ }},_destroyOverlay:function(){this.options.modal&&this.overlay&&(b.ui.dialog.overlayInstances--,b.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null) }}),b.ui.dialog.overlayInstances=0,b.uiBackCompat!==!1&&b.widget("ui.dialog",b.ui.dialog,{_position:function(){var g,d=this.options.position,f=[],h=[0,0]; d?(("string"==typeof d||"object"==typeof d&&"0" in d)&&(f=d.split?d.split(" "):[d[0],d[1]],1===f.length&&(f[1]=f[0]),b.each(["left","top"],function(i,j){+f[i]===f[i]&&(h[i]=f[i],f[i]=j) }),d={my:f[0]+(0>h[0]?h[0]:"+"+h[0])+" "+f[1]+(0>h[1]?h[1]:"+"+h[1]),at:f.join(" ")}),d=b.extend({},b.ui.dialog.prototype.options.position,d)):d=b.ui.dialog.prototype.options.position,g=this.uiDialog.is(":visible"),g||this.uiDialog.show(),this.uiDialog.position(d),g||this.uiDialog.hide() }}) }(jQuery),function(b){var c=/up|down|vertical/,a=/up|left|vertical|horizontal/; b.effects.effect.blind=function(E,k){var j,B,e,w=b(this),t=["position","top","bottom","left","right","height","width"],A=b.effects.setMode(w,E.mode||"hide"),D=E.direction||"up",z=c.test(D),i=z?"height":"width",y=z?"top":"left",x=a.test(D),q={},C="show"===A; w.parent().is(".ui-effects-wrapper")?b.effects.save(w.parent(),t):b.effects.save(w,t),w.show(),j=b.effects.createWrapper(w).css({overflow:"hidden"}),B=j[i](),e=parseFloat(j.css(y))||0,q[i]=C?B:0,x||(w.css(z?"bottom":"right",0).css(z?"top":"left","auto").css({position:"absolute"}),q[y]=C?e:B+e),C&&(j.css(i,0),x||j.css(y,e+B)),j.animate(q,{duration:E.duration,easing:E.easing,queue:!1,complete:function(){"hide"===A&&w.hide(),b.effects.restore(w,t),b.effects.removeWrapper(w),k() }}) } }(jQuery),function(a){a.effects.effect.bounce=function(H,D){var t,A,z,L=a(this),w=["position","top","bottom","left","right","height","width"],E=a.effects.setMode(L,H.mode||"effect"),C="hide"===E,J="show"===E,q=H.direction||"up",I=H.distance,x=H.times||5,G=2*x+(J||C?1:0),F=H.duration/G,B=H.easing,k="up"===q||"down"===q?"top":"left",M="up"===q||"left"===q,K=L.queue(),j=K.length; for((J||C)&&w.push("opacity"),a.effects.save(L,w),L.show(),a.effects.createWrapper(L),I||(I=L["top"===k?"outerHeight":"outerWidth"]()/3),J&&(z={opacity:1},z[k]=0,L.css("opacity",0).css(k,M?2*-I:2*I).animate(z,F,B)),C&&(I/=Math.pow(2,x-1)),z={},z[k]=0,t=0; x>t; t++){A={},A[k]=(M?"-=":"+=")+I,L.animate(A,F,B).animate(z,F,B),I=C?2*I:I/2 }C&&(A={opacity:0},A[k]=(M?"-=":"+=")+I,L.animate(A,F,B)),L.queue(function(){C&&L.hide(),a.effects.restore(L,w),a.effects.removeWrapper(L),D() }),j>1&&K.splice.apply(K,[1,0].concat(K.splice(j,G+1))),L.dequeue() } }(jQuery),function(a){a.effects.effect.clip=function(w,q){var B,k,j,z=a(this),b=["position","top","bottom","left","right","height","width"],t=a.effects.setMode(z,w.mode||"hide"),m="show"===t,y=w.direction||"vertical",A="vertical"===y,x=A?"height":"width",g=A?"top":"left",v={}; a.effects.save(z,b),z.show(),B=a.effects.createWrapper(z).css({overflow:"hidden"}),k="IMG"===z[0].tagName?B:z,j=k[x](),m&&(k.css(x,0),k.css(g,j/2)),v[x]=m?j:0,v[g]=m?0:j/2,k.animate(v,{queue:!1,duration:w.duration,easing:w.easing,complete:function(){m||z.hide(),a.effects.restore(z,b),a.effects.removeWrapper(z),q() }}) } }(jQuery),function(a){a.effects.effect.drop=function(m,j){var v,f=a(this),d=["position","top","bottom","left","right","opacity","height","width"],q=a.effects.setMode(f,m.mode||"hide"),b="show"===q,k=m.direction||"left",g="up"===k||"down"===k?"top":"left",p="up"===k||"left"===k?"pos":"neg",t={opacity:b?1:0}; a.effects.save(f,d),f.show(),a.effects.createWrapper(f),v=m.distance||f["top"===g?"outerHeight":"outerWidth"](!0)/2,b&&f.css("opacity",0).css(g,"pos"===p?-v:v),t[g]=(b?"pos"===p?"+=":"-=":"pos"===p?"-=":"+=")+v,f.animate(t,{queue:!1,duration:m.duration,easing:m.easing,complete:function(){"hide"===q&&f.hide(),a.effects.restore(f,d),a.effects.removeWrapper(f),j() }}) } }(jQuery),function(a){a.effects.effect.explode=function(F,B){function q(){I.push(this),I.length===k*G&&y() }function y(){w.css({visibility:"visible"}),a(I).remove(),D||w.hide(),B() }var x,J,t,C,A,H,k=F.pieces?Math.round(Math.sqrt(F.pieces)):3,G=k,w=a(this),E=a.effects.setMode(w,F.mode||"hide"),D="show"===E,z=w.show().css("visibility","hidden").offset(),j=Math.ceil(w.outerWidth()/G),K=Math.ceil(w.outerHeight()/k),I=[]; for(x=0; k>x; x++){for(C=z.top+x*K,H=x-(k-1)/2,J=0; G>J; J++){t=z.left+J*j,A=J-(G-1)/2,w.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-J*j,top:-x*K}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:j,height:K,left:t+(D?A*j:0),top:C+(D?H*K:0),opacity:D?0:1}).animate({left:t+(D?0:A*j),top:C+(D?0:H*K),opacity:D?1:0},F.duration||500,F.easing,q) }}} }(jQuery),function(a){a.effects.effect.fade=function(d,b){var c=a(this),f=a.effects.setMode(c,d.mode||"toggle"); c.animate({opacity:f},{queue:!1,duration:d.duration,easing:d.easing,complete:b}) } }(jQuery),function(a){a.effects.effect.fold=function(B,x){var H,q,k=a(this),E=["position","top","bottom","left","right","height","width"],b=a.effects.setMode(k,B.mode||"hide"),y="show"===b,w="hide"===b,D=B.size||15,G=/([0-9]+)%/.exec(D),C=!!B.horizFirst,j=y!==C,A=j?["width","height"]:["height","width"],z=B.duration/2,t={},F={}; a.effects.save(k,E),k.show(),H=a.effects.createWrapper(k).css({overflow:"hidden"}),q=j?[H.width(),H.height()]:[H.height(),H.width()],G&&(D=parseInt(G[1],10)/100*q[w?0:1]),y&&H.css(C?{height:0,width:D}:{height:D,width:0}),t[A[0]]=y?q[0]:D,F[A[1]]=y?q[1]:0,H.animate(t,z,B.easing).animate(F,z,B.easing,function(){w&&k.hide(),a.effects.restore(k,E),a.effects.removeWrapper(k),x() }) } }(jQuery),function(a){a.effects.effect.highlight=function(f,c){var d=a(this),h=["backgroundImage","backgroundColor","opacity"],g=a.effects.setMode(d,f.mode||"show"),b={backgroundColor:d.css("backgroundColor")}; "hide"===g&&(b.opacity=0),a.effects.save(d,h),d.show().css({backgroundImage:"none",backgroundColor:f.color||"#ffff99"}).animate(b,{queue:!1,duration:f.duration,easing:f.easing,complete:function(){"hide"===g&&d.hide(),a.effects.restore(d,h),c() }}) } }(jQuery),function(a){a.effects.effect.pulsate=function(t,m){var z,j=a(this),g=a.effects.setMode(j,t.mode||"show"),x="show"===g,b="hide"===g,q=x||"hide"===g,k=2*(t.times||5)+(q?1:0),w=t.duration/k,y=0,v=j.queue(),f=v.length; for((x||!j.is(":visible"))&&(j.css("opacity",0).show(),y=1),z=1; k>z; z++){j.animate({opacity:y},w,t.easing),y=1-y }j.animate({opacity:y},w,t.easing),j.queue(function(){b&&j.hide(),m() }),f>1&&v.splice.apply(v,[1,0].concat(v.splice(f,k+1))),j.dequeue() } }(jQuery),function(a){a.effects.effect.puff=function(j,c){var f=a(this),l=a.effects.setMode(f,j.mode||"hide"),k="hide"===l,b=parseInt(j.percent,10)||150,g=b/100,d={height:f.height(),width:f.width(),outerHeight:f.outerHeight(),outerWidth:f.outerWidth()}; a.extend(j,{effect:"scale",queue:!1,fade:!0,mode:l,complete:c,percent:k?b:100,from:k?d:{height:d.height*g,width:d.width*g,outerHeight:d.outerHeight*g,outerWidth:d.outerWidth*g}}),f.effect(j) },a.effects.effect.scale=function(m,j){var t=a(this),f=a.extend(!0,{},m),d=a.effects.setMode(t,m.mode||"effect"),q=parseInt(m.percent,10)||(0===parseInt(m.percent,10)?0:"hide"===d?0:100),b=m.direction||"both",k=m.origin,g={height:t.height(),width:t.width(),outerHeight:t.outerHeight(),outerWidth:t.outerWidth()},p={y:"horizontal"!==b?q/100:1,x:"vertical"!==b?q/100:1}; f.effect="size",f.queue=!1,f.complete=j,"effect"!==d&&(f.origin=k||["middle","center"],f.restore=!0),f.from=m.from||("show"===d?{height:0,width:0,outerHeight:0,outerWidth:0}:g),f.to={height:g.height*p.y,width:g.width*p.x,outerHeight:g.outerHeight*p.y,outerWidth:g.outerWidth*p.x},f.fade&&("show"===d&&(f.from.opacity=0,f.to.opacity=1),"hide"===d&&(f.from.opacity=1,f.to.opacity=0)),t.effect(f) },a.effects.effect.size=function(F,B){var q,y,x,J=a(this),t=["position","top","bottom","left","right","width","height","overflow","opacity"],C=["position","top","bottom","left","right","overflow","opacity"],A=["width","height","overflow"],H=["fontSize"],k=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],G=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],w=a.effects.setMode(J,F.mode||"effect"),E=F.restore||"effect"!==w,D=F.scale||"both",z=F.origin||["middle","center"],j=J.css("position"),K=E?t:C,I={height:0,width:0,outerHeight:0,outerWidth:0}; "show"===w&&J.show(),q={height:J.height(),width:J.width(),outerHeight:J.outerHeight(),outerWidth:J.outerWidth()},"toggle"===F.mode&&"show"===w?(J.from=F.to||I,J.to=F.from||q):(J.from=F.from||("show"===w?I:q),J.to=F.to||("hide"===w?I:q)),x={from:{y:J.from.height/q.height,x:J.from.width/q.width},to:{y:J.to.height/q.height,x:J.to.width/q.width}},("box"===D||"both"===D)&&(x.from.y!==x.to.y&&(K=K.concat(k),J.from=a.effects.setTransition(J,k,x.from.y,J.from),J.to=a.effects.setTransition(J,k,x.to.y,J.to)),x.from.x!==x.to.x&&(K=K.concat(G),J.from=a.effects.setTransition(J,G,x.from.x,J.from),J.to=a.effects.setTransition(J,G,x.to.x,J.to))),("content"===D||"both"===D)&&x.from.y!==x.to.y&&(K=K.concat(H).concat(A),J.from=a.effects.setTransition(J,H,x.from.y,J.from),J.to=a.effects.setTransition(J,H,x.to.y,J.to)),a.effects.save(J,K),J.show(),a.effects.createWrapper(J),J.css("overflow","hidden").css(J.from),z&&(y=a.effects.getBaseline(z,q),J.from.top=(q.outerHeight-J.outerHeight())*y.y,J.from.left=(q.outerWidth-J.outerWidth())*y.x,J.to.top=(q.outerHeight-J.to.outerHeight)*y.y,J.to.left=(q.outerWidth-J.to.outerWidth)*y.x),J.css(J.from),("content"===D||"both"===D)&&(k=k.concat(["marginTop","marginBottom"]).concat(H),G=G.concat(["marginLeft","marginRight"]),A=t.concat(k).concat(G),J.find("*[width]").each(function(){var b=a(this),c={height:b.height(),width:b.width(),outerHeight:b.outerHeight(),outerWidth:b.outerWidth()}; E&&a.effects.save(b,A),b.from={height:c.height*x.from.y,width:c.width*x.from.x,outerHeight:c.outerHeight*x.from.y,outerWidth:c.outerWidth*x.from.x},b.to={height:c.height*x.to.y,width:c.width*x.to.x,outerHeight:c.height*x.to.y,outerWidth:c.width*x.to.x},x.from.y!==x.to.y&&(b.from=a.effects.setTransition(b,k,x.from.y,b.from),b.to=a.effects.setTransition(b,k,x.to.y,b.to)),x.from.x!==x.to.x&&(b.from=a.effects.setTransition(b,G,x.from.x,b.from),b.to=a.effects.setTransition(b,G,x.to.x,b.to)),b.css(b.from),b.animate(b.to,F.duration,F.easing,function(){E&&a.effects.restore(b,A) }) })),J.animate(J.to,{queue:!1,duration:F.duration,easing:F.easing,complete:function(){0===J.to.opacity&&J.css("opacity",J.from.opacity),"hide"===w&&J.hide(),a.effects.restore(J,K),E||("static"===j?J.css({position:"relative",top:J.to.top,left:J.to.left}):a.each(["top","left"],function(b,c){J.css(c,function(g,d){var f=parseInt(d,10),h=b?J.to.left:J.to.top; return"auto"===d?h+"px":f+h+"px" }) })),a.effects.removeWrapper(J),B() }}) } }(jQuery),function(a){a.effects.effect.shake=function(E,A){var k,x=a(this),w=["position","top","bottom","left","right","height","width"],H=a.effects.setMode(x,E.mode||"effect"),q=E.direction||"left",B=E.distance||20,z=E.times||3,G=2*z+1,j=Math.round(E.duration/G),F="up"===q||"down"===q?"top":"left",t="up"===q||"left"===q,D={},C={},y={},b=x.queue(),I=b.length; for(a.effects.save(x,w),x.show(),a.effects.createWrapper(x),D[F]=(t?"-=":"+=")+B,C[F]=(t?"+=":"-=")+2*B,y[F]=(t?"-=":"+=")+2*B,x.animate(D,j,E.easing),k=1; z>k; k++){x.animate(C,j,E.easing).animate(y,j,E.easing) }x.animate(C,j,E.easing).animate(D,j/2,E.easing).queue(function(){"hide"===H&&x.hide(),a.effects.restore(x,w),a.effects.removeWrapper(x),A() }),I>1&&b.splice.apply(b,[1,0].concat(b.splice(I,G+1))),x.dequeue() } }(jQuery),function(a){a.effects.effect.slide=function(m,j){var v,f=a(this),d=["position","top","bottom","left","right","width","height"],q=a.effects.setMode(f,m.mode||"show"),b="show"===q,k=m.direction||"left",g="up"===k||"down"===k?"top":"left",p="up"===k||"left"===k,t={}; a.effects.save(f,d),f.show(),v=m.distance||f["top"===g?"outerHeight":"outerWidth"](!0),a.effects.createWrapper(f).css({overflow:"hidden"}),b&&f.css(g,p?isNaN(v)?"-"+v:-v:v),t[g]=(b?p?"+=":"-=":p?"-=":"+=")+v,f.animate(t,{queue:!1,duration:m.duration,easing:m.easing,complete:function(){"hide"===q&&f.hide(),a.effects.restore(f,d),a.effects.removeWrapper(f),j() }}) } }(jQuery),function(a){a.effects.effect.transfer=function(p,k){var x=a(this),g=a(p.to),f="fixed"===g.css("position"),v=a("body"),b=f?v.scrollTop():0,m=f?v.scrollLeft():0,j=g.offset(),t={top:j.top-b,left:j.left-m,height:g.innerHeight(),width:g.innerWidth()},w=x.offset(),q=a("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(p.className).css({top:w.top-b,left:w.left-m,height:x.innerHeight(),width:x.innerWidth(),position:f?"fixed":"absolute"}).animate(t,p.duration,p.easing,function(){q.remove(),k() }) } }(jQuery),function(a){a.widget("ui.menu",{version:"1.10.4",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},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().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,a.proxy(function(b){this.options.disabled&&b.preventDefault() },this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(b){b.preventDefault() },"click .ui-state-disabled > a":function(b){b.preventDefault() },"click .ui-menu-item:has(a)":function(c){var b=a(c.target).closest(".ui-menu-item"); !this.mouseHandled&&b.not(".ui-state-disabled").length&&(this.select(c),c.isPropagationStopped()||(this.mouseHandled=!0),b.has(".ui-menu").length?this.expand(c):!this.element.is(":focus")&&a(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))) },"mouseenter .ui-menu-item":function(c){var b=a(c.currentTarget); b.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(c,b) },mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(c,d){var b=this.active||this.element.children(".ui-menu-item").eq(0); d||this.focus(c,b) },blur:function(b){this._delay(function(){a.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(b) }) },keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(b){a(b.target).closest(".ui-menu").length||this.collapseAll(b),this.mouseHandled=!1 }}) },_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var b=a(this); b.data("ui-menu-submenu-carat")&&b.remove() }),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content") },_keydown:function(j){function c(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&") }var f,l,k,b,g,d=!0; switch(j.keyCode){case a.ui.keyCode.PAGE_UP:this.previousPage(j); break; case a.ui.keyCode.PAGE_DOWN:this.nextPage(j); break; case a.ui.keyCode.HOME:this._move("first","first",j); break; case a.ui.keyCode.END:this._move("last","last",j); break; case a.ui.keyCode.UP:this.previous(j); break; case a.ui.keyCode.DOWN:this.next(j); break; case a.ui.keyCode.LEFT:this.collapse(j); break; case a.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(j); break; case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:this._activate(j); break; case a.ui.keyCode.ESCAPE:this.collapse(j); break; default:d=!1,l=this.previousFilter||"",k=String.fromCharCode(j.keyCode),b=!1,clearTimeout(this.filterTimer),k===l?b=!0:k=l+k,g=RegExp("^"+c(k),"i"),f=this.activeMenu.children(".ui-menu-item").filter(function(){return g.test(a(this).children("a").text()) }),f=b&&-1!==f.index(this.active.next())?this.active.nextAll(".ui-menu-item"):f,f.length||(k=String.fromCharCode(j.keyCode),g=RegExp("^"+c(k),"i"),f=this.activeMenu.children(".ui-menu-item").filter(function(){return g.test(a(this).children("a").text()) })),f.length?(this.focus(j,f),f.length>1?(this.previousFilter=k,this.filterTimer=this._delay(function(){delete this.previousFilter },1000)):delete this.previousFilter):delete this.previousFilter }d&&j.preventDefault() },_activate:function(b){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(b):this.select(b)) },refresh:function(){var d,b=this.options.icons.submenu,c=this.element.find(this.options.menus); this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),c.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var g=a(this),f=g.prev("a"),h=a("<span>").addClass("ui-menu-icon ui-icon "+b).data("ui-menu-submenu-carat",!0); f.attr("aria-haspopup","true").prepend(h),g.attr("aria-labelledby",f.attr("id")) }),d=c.add(this.element),d.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),d.children(":not(.ui-menu-item)").each(function(){var f=a(this); /[^\-\u2014\u2013\s]/.test(f.text())||f.addClass("ui-widget-content ui-menu-divider") }),d.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!a.contains(this.element[0],this.active[0])&&this.blur() },_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role] },_setOption:function(b,c){"icons"===b&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(c.submenu),this._super(b,c) },focus:function(c,f){var b,d; this.blur(c,c&&"focus"===c.type),this._scrollIntoView(f),this.active=f.first(),d=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",d.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),c&&"keydown"===c.type?this._close():this.timer=this._delay(function(){this._close() },this.delay),b=f.children(".ui-menu"),b.length&&c&&/^mouse/.test(c.type)&&this._startOpening(b),this.activeMenu=f.parent(),this._trigger("focus",c,{item:f}) },_scrollIntoView:function(g){var c,d,j,h,b,f; this._hasScroll()&&(c=parseFloat(a.css(this.activeMenu[0],"borderTopWidth"))||0,d=parseFloat(a.css(this.activeMenu[0],"paddingTop"))||0,j=g.offset().top-this.activeMenu.offset().top-c-d,h=this.activeMenu.scrollTop(),b=this.activeMenu.height(),f=g.height(),0>j?this.activeMenu.scrollTop(h+j):j+f>b&&this.activeMenu.scrollTop(h+j-b+f)) },blur:function(b,c){c||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",b,{item:this.active})) },_startOpening:function(b){clearTimeout(this.timer),"true"===b.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(b) },this.delay)) },_open:function(c){var b=a.extend({of:this.active},this.options.position); clearTimeout(this.timer),this.element.find(".ui-menu").not(c.parents(".ui-menu")).hide().attr("aria-hidden","true"),c.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(b) },collapseAll:function(c,b){clearTimeout(this.timer),this.timer=this._delay(function(){var d=b?this.element:a(c&&c.target).closest(this.element.find(".ui-menu")); d.length||(d=this.element),this._close(d),this.blur(c),this.activeMenu=d },this.delay) },_close:function(b){b||(b=this.active?this.active.parent():this.element),b.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active") },collapse:function(b){var c=this.active&&this.active.parent().closest(".ui-menu-item",this.element); c&&c.length&&(this._close(),this.focus(b,c)) },expand:function(b){var c=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first(); c&&c.length&&(this._open(c.parent()),this._delay(function(){this.focus(b,c) })) },next:function(b){this._move("next","first",b) },previous:function(b){this._move("prev","last",b) },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(c,f,b){var d; this.active&&(d="first"===c||"last"===c?this.active["first"===c?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[c+"All"](".ui-menu-item").eq(0)),d&&d.length&&this.active||(d=this.activeMenu.children(".ui-menu-item")[f]()),this.focus(b,d) },nextPage:function(d){var b,c,f; return this.active?(this.isLastItem()||(this._hasScroll()?(c=this.active.offset().top,f=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return b=a(this),0>b.offset().top-c-f }),this.focus(d,b)):this.focus(d,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(d),undefined) },previousPage:function(d){var b,c,f; return this.active?(this.isFirstItem()||(this._hasScroll()?(c=this.active.offset().top,f=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return b=a(this),b.offset().top-c+f>0 }),this.focus(d,b)):this.focus(d,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(d),undefined) },_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight") },select:function(c){this.active=this.active||a(c.target).closest(".ui-menu-item"); var b={item:this.active}; this.active.has(".ui-menu").length||this.collapseAll(c,!0),this._trigger("select",c,b) }}) }(jQuery),function(C,x){function q(c,d,a){return[parseFloat(c[0])*(g.test(c[0])?d/100:1),parseFloat(c[1])*(g.test(c[1])?a/100:1)] }function D(c,a){return parseInt(C.css(c,a),10)||0 }function k(c){var a=c[0]; return 9===a.nodeType?{width:c.width(),height:c.height(),offset:{top:0,left:0}}:C.isWindow(a)?{width:c.width(),height:c.height(),offset:{top:c.scrollTop(),left:c.scrollLeft()}}:a.preventDefault?{width:0,height:0,offset:{top:a.pageY,left:a.pageX}}:{width:c.outerWidth(),height:c.outerHeight(),offset:c.offset()} }C.ui=C.ui||{}; var j,A=Math.max,b=Math.abs,v=Math.round,m=/left|center|right/,z=/top|center|bottom/,B=/[\+\-]\d+(\.[\d]+)?%?/,y=/^\w+/,g=/%$/,w=C.fn.position; C.position={scrollbarWidth:function(){if(j!==x){return j }var d,e,f=C("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),c=f.children()[0]; return C("body").append(f),d=c.offsetWidth,f.css("overflow","scroll"),e=c.offsetWidth,d===e&&(e=f[0].clientWidth),f.remove(),j=d-e },getScrollInfo:function(d){var a=d.isWindow||d.isDocument?"":d.element.css("overflow-x"),c=d.isWindow||d.isDocument?"":d.element.css("overflow-y"),h="scroll"===a||"auto"===a&&d.width<d.element[0].scrollWidth,f="scroll"===c||"auto"===c&&d.height<d.element[0].scrollHeight; return{width:f?C.position.scrollbarWidth():0,height:h?C.position.scrollbarWidth():0} },getWithinInfo:function(d){var a=C(d||window),c=C.isWindow(a[0]),f=!!a[0]&&9===a[0].nodeType; return{element:a,isWindow:c,isDocument:f,offset:a.offset()||{left:0,top:0},scrollLeft:a.scrollLeft(),scrollTop:a.scrollTop(),width:c?a.width():a.outerWidth(),height:c?a.height():a.outerHeight()} }},C.fn.position=function(i){if(!i||!i.of){return w.apply(this,arguments) }i=C.extend({},i); var c,a,h,d,u,t,n=C(i.of),l=C.position.getWithinInfo(i.within),s=C.position.getScrollInfo(l),r=(i.collision||"flip").split(" "),f={}; return t=k(n),n[0].preventDefault&&(i.at="left top"),a=t.width,h=t.height,d=t.offset,u=C.extend({},d),C.each(["my","at"],function(){var o,e,p=(i[this]||"").split(" "); 1===p.length&&(p=m.test(p[0])?p.concat(["center"]):z.test(p[0])?["center"].concat(p):["center","center"]),p[0]=m.test(p[0])?p[0]:"center",p[1]=z.test(p[1])?p[1]:"center",o=B.exec(p[0]),e=B.exec(p[1]),f[this]=[o?o[0]:0,e?e[0]:0],i[this]=[y.exec(p[0])[0],y.exec(p[1])[0]] }),1===r.length&&(r[1]=r[0]),"right"===i.at[0]?u.left+=a:"center"===i.at[0]&&(u.left+=a/2),"bottom"===i.at[1]?u.top+=h:"center"===i.at[1]&&(u.top+=h/2),c=q(f.at,a,h),u.left+=c[0],u.top+=c[1],this.each(function(){var p,E,J=C(this),M=J.outerWidth(),H=J.outerHeight(),G=D(this,"marginLeft"),L=D(this,"marginTop"),e=M+G+D(this,"marginRight")+s.width,o=H+L+D(this,"marginBottom")+s.height,K=C.extend({},u),F=q(f.my,J.outerWidth(),J.outerHeight()); "right"===i.my[0]?K.left-=M:"center"===i.my[0]&&(K.left-=M/2),"bottom"===i.my[1]?K.top-=H:"center"===i.my[1]&&(K.top-=H/2),K.left+=F[0],K.top+=F[1],C.support.offsetFractions||(K.left=v(K.left),K.top=v(K.top)),p={marginLeft:G,marginTop:L},C.each(["left","top"],function(I,N){C.ui.position[r[I]]&&C.ui.position[r[I]][N](K,{targetWidth:a,targetHeight:h,elemWidth:M,elemHeight:H,collisionPosition:p,collisionWidth:e,collisionHeight:o,offset:[c[0]+F[0],c[1]+F[1]],my:i.my,at:i.at,within:l,elem:J}) }),i.using&&(E=function(N){var I=d.left-K.left,P=I+a-M,R=d.top-K.top,Q=R+h-H,O={target:{element:n,left:d.left,top:d.top,width:a,height:h},element:{element:J,left:K.left,top:K.top,width:M,height:H},horizontal:0>P?"left":I>0?"right":"center",vertical:0>Q?"top":R>0?"bottom":"middle"}; M>a&&a>b(I+P)&&(O.horizontal="center"),H>h&&h>b(R+Q)&&(O.vertical="middle"),O.important=A(b(I),b(P))>A(b(R),b(Q))?"horizontal":"vertical",i.using.call(this,N,O) }),J.offset(C.extend(K,{using:E})) }) },C.ui.position={fit:{left:function(F,E){var p,G=E.within,d=G.isWindow?G.scrollLeft:G.offset.left,c=G.width,a=F.left-E.collisionPosition.marginLeft,u=d-a,f=a+E.collisionWidth-c-d; E.collisionWidth>c?u>0&&0>=f?(p=F.left+u+E.collisionWidth-c-d,F.left+=u-p):F.left=f>0&&0>=u?d:u>f?d+c-E.collisionWidth:d:u>0?F.left+=u:f>0?F.left-=f:F.left=A(F.left-a,F.left) },top:function(F,E){var p,G=E.within,d=G.isWindow?G.scrollTop:G.offset.top,c=E.within.height,a=F.top-E.collisionPosition.marginTop,u=d-a,f=a+E.collisionHeight-c-d; E.collisionHeight>c?u>0&&0>=f?(p=F.top+u+E.collisionHeight-c-d,F.top+=u-p):F.top=f>0&&0>=u?d:u>f?d+c-E.collisionHeight:d:u>0?F.top+=u:f>0?F.top-=f:F.top=A(F.top-a,F.top) }},flip:{left:function(P,K){var H,Q,F=K.within,E=F.offset.left+F.scrollLeft,N=F.width,I=F.isWindow?F.scrollLeft:F.offset.left,G=P.left-K.collisionPosition.marginLeft,M=G-I,O=G+K.collisionWidth-N-I,L="left"===K.my[0]?-K.elemWidth:"right"===K.my[0]?K.elemWidth:0,r="left"===K.at[0]?K.targetWidth:"right"===K.at[0]?-K.targetWidth:0,J=-2*K.offset[0]; 0>M?(H=P.left+L+r+J+K.collisionWidth-N-E,(0>H||b(M)>H)&&(P.left+=L+r+J)):O>0&&(Q=P.left-K.collisionPosition.marginLeft+L+r+J-I,(Q>0||O>b(Q))&&(P.left+=L+r+J)) },top:function(Q,L){var H,R,F=L.within,E=F.offset.top+F.scrollTop,O=F.height,I=F.isWindow?F.scrollTop:F.offset.top,G=Q.top-L.collisionPosition.marginTop,N=G-I,P=G+L.collisionHeight-O-I,M="top"===L.my[1],r=M?-L.elemHeight:"bottom"===L.my[1]?L.elemHeight:0,K="top"===L.at[1]?L.targetHeight:"bottom"===L.at[1]?-L.targetHeight:0,J=-2*L.offset[1]; 0>N?(R=Q.top+r+K+J+L.collisionHeight-O-E,Q.top+r+K+J>N&&(0>R||b(N)>R)&&(Q.top+=r+K+J)):P>0&&(H=Q.top-L.collisionPosition.marginTop+r+K+J-I,Q.top+r+K+J>P&&(H>0||P>b(H))&&(Q.top+=r+K+J)) }},flipfit:{left:function(){C.ui.position.flip.left.apply(this,arguments),C.ui.position.fit.left.apply(this,arguments) },top:function(){C.ui.position.flip.top.apply(this,arguments),C.ui.position.fit.top.apply(this,arguments) }}},function(){var l,d,f,t,p,c=document.getElementsByTagName("body")[0],h=document.createElement("div"); l=document.createElement(c?"div":"body"),f={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},c&&C.extend(f,{position:"absolute",left:"-1000px",top:"-1000px"}); for(p in f){l.style[p]=f[p] }l.appendChild(h),d=c||document.documentElement,d.insertBefore(l,d.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",t=C(h).offset().left,C.support.offsetFractions=t>10&&11>t,l.innerHTML="",d.removeChild(l) }() }(jQuery),function(a,b){a.widget("ui.progressbar",{version:"1.10.4",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=a("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue() },_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove() },value:function(c){return c===b?this.options.value:(this.options.value=this._constrainedValue(c),this._refreshValue(),b) },_constrainedValue:function(c){return c===b&&(c=this.options.value),this.indeterminate=c===!1,"number"!=typeof c&&(c=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,c)) },_setOptions:function(c){var d=c.value; delete c.value,this._super(c),this.options.value=this._constrainedValue(d),this._refreshValue() },_setOption:function(c,d){"max"===c&&(d=Math.max(this.min,d)),this._super(c,d) },_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min) },_refreshValue:function(){var d=this.options.value,c=this._percentage(); this.valueDiv.toggle(this.indeterminate||d>this.min).toggleClass("ui-corner-right",d===this.options.max).width(c.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=a("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":d}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==d&&(this.oldValue=d,this._trigger("change")),d===this.options.max&&this._trigger("complete") }}) }(jQuery),function(a){var b=5; a.widget("ui.slider",a.ui.mouse,{version:"1.10.4",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1 },_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue() },_createHandles:function(){var g,d,f=this.options,j=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),h="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",c=[]; for(d=f.values&&f.values.length||1,j.length>d&&(j.slice(d).remove(),j=j.slice(0,d)),g=j.length; d>g; g++){c.push(h) }this.handles=j.add(a(c.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(i){a(this).data("ui-slider-handle-index",i) }) },_createRange:function(){var d=this.options,c=""; d.range?(d.range===!0&&(d.values?d.values.length&&2!==d.values.length?d.values=[d.values[0],d.values[0]]:a.isArray(d.values)&&(d.values=d.values.slice(0)):d.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=a("<div></div>").appendTo(this.element),c="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(c+("min"===d.range||"max"===d.range?" ui-slider-range-"+d.range:""))):(this.range&&this.range.remove(),this.range=null) },_setupEvents:function(){var c=this.handles.add(this.range).filter("a"); this._off(c),this._on(c,this._handleEvents),this._hoverable(c),this._focusable(c) },_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy() },_mouseCapture:function(p){var k,w,g,f,t,d,m,j,q=this,v=this.options; return v.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),k={x:p.pageX,y:p.pageY},w=this._normValueFromMouse(k),g=this._valueMax()-this._valueMin()+1,this.handles.each(function(h){var c=Math.abs(w-q.values(h)); (g>c||g===c&&(h===q._lastChangedValue||q.values(h)===v.min))&&(g=c,f=a(this),t=h) }),d=this._start(p,t),d===!1?!1:(this._mouseSliding=!0,this._handleIndex=t,f.addClass("ui-state-active").focus(),m=f.offset(),j=!a(p.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=j?{left:0,top:0}:{left:p.pageX-m.left-f.width()/2,top:p.pageY-m.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(p,t,w),this._animateOff=!0,!0)) },_mouseStart:function(){return !0 },_mouseDrag:function(d){var f={x:d.pageX,y:d.pageY},c=this._normValueFromMouse(f); return this._slide(d,this._handleIndex,c),!1 },_mouseStop:function(c){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(c,this._handleIndex),this._change(c,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1 },_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal" },_normValueFromMouse:function(d){var g,c,f,j,h; return"horizontal"===this.orientation?(g=this.elementSize.width,c=d.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(g=this.elementSize.height,c=d.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),f=c/g,f>1&&(f=1),0>f&&(f=0),"vertical"===this.orientation&&(f=1-f),j=this._valueMax()-this._valueMin(),h=this._valueMin()+f*j,this._trimAlignValue(h) },_start:function(d,f){var c={handle:this.handles[f],value:this.value()}; return this.options.values&&this.options.values.length&&(c.value=this.values(f),c.values=this.values()),this._trigger("start",d,c) },_slide:function(d,g,c){var f,j,h; this.options.values&&this.options.values.length?(f=this.values(g?0:1),2===this.options.values.length&&this.options.range===!0&&(0===g&&c>f||1===g&&f>c)&&(c=f),c!==this.values(g)&&(j=this.values(),j[g]=c,h=this._trigger("slide",d,{handle:this.handles[g],value:c,values:j}),f=this.values(g?0:1),h!==!1&&this.values(g,c))):c!==this.value()&&(h=this._trigger("slide",d,{handle:this.handles[g],value:c}),h!==!1&&this.value(c)) },_stop:function(d,f){var c={handle:this.handles[f],value:this.value()}; this.options.values&&this.options.values.length&&(c.value=this.values(f),c.values=this.values()),this._trigger("stop",d,c) },_change:function(d,f){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[f],value:this.value()}; this.options.values&&this.options.values.length&&(c.value=this.values(f),c.values=this.values()),this._lastChangedValue=f,this._trigger("change",d,c) }},value:function(c){return arguments.length?(this.options.value=this._trimAlignValue(c),this._refreshValue(),this._change(null,0),undefined):this._value() },values:function(f,c){var d,h,g; if(arguments.length>1){return this.options.values[f]=this._trimAlignValue(c),this._refreshValue(),this._change(null,f),undefined }if(!arguments.length){return this._values() }if(!a.isArray(arguments[0])){return this.options.values&&this.options.values.length?this._values(f):this.value() }for(d=this.options.values,h=arguments[0],g=0; d.length>g; g+=1){d[g]=this._trimAlignValue(h[g]),this._change(null,g) }this._refreshValue() },_setOption:function(f,c){var d,g=0; switch("range"===f&&this.options.range===!0&&("min"===c?(this.options.value=this._values(0),this.options.values=null):"max"===c&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),a.isArray(this.options.values)&&(g=this.options.values.length),a.Widget.prototype._setOption.apply(this,arguments),f){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue(); break; case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1; break; case"values":for(this._animateOff=!0,this._refreshValue(),d=0; g>d; d+=1){this._change(null,d) }this._animateOff=!1; break; case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1; break; case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1 }},_value:function(){var c=this.options.value; return c=this._trimAlignValue(c) },_values:function(d){var g,c,f; if(arguments.length){return g=this.options.values[d],g=this._trimAlignValue(g) }if(this.options.values&&this.options.values.length){for(c=this.options.values.slice(),f=0; c.length>f; f+=1){c[f]=this._trimAlignValue(c[f]) }return c }return[] },_trimAlignValue:function(d){if(this._valueMin()>=d){return this._valueMin() }if(d>=this._valueMax()){return this._valueMax() }var g=this.options.step>0?this.options.step:1,c=(d-this._valueMin())%g,f=d-c; return 2*Math.abs(c)>=g&&(f+=c>0?g:-g),parseFloat(f.toFixed(5)) },_valueMin:function(){return this.options.min },_valueMax:function(){return this.options.max },_refreshValue:function(){var p,k,u,g,f,t=this.options.range,d=this.options,m=this,j=this._animateOff?!1:d.animate,q={}; this.options.values&&this.options.values.length?this.handles.each(function(c){k=100*((m.values(c)-m._valueMin())/(m._valueMax()-m._valueMin())),q["horizontal"===m.orientation?"left":"bottom"]=k+"%",a(this).stop(1,1)[j?"animate":"css"](q,d.animate),m.options.range===!0&&("horizontal"===m.orientation?(0===c&&m.range.stop(1,1)[j?"animate":"css"]({left:k+"%"},d.animate),1===c&&m.range[j?"animate":"css"]({width:k-p+"%"},{queue:!1,duration:d.animate})):(0===c&&m.range.stop(1,1)[j?"animate":"css"]({bottom:k+"%"},d.animate),1===c&&m.range[j?"animate":"css"]({height:k-p+"%"},{queue:!1,duration:d.animate}))),p=k }):(u=this.value(),g=this._valueMin(),f=this._valueMax(),k=f!==g?100*((u-g)/(f-g)):0,q["horizontal"===this.orientation?"left":"bottom"]=k+"%",this.handle.stop(1,1)[j?"animate":"css"](q,d.animate),"min"===t&&"horizontal"===this.orientation&&this.range.stop(1,1)[j?"animate":"css"]({width:k+"%"},d.animate),"max"===t&&"horizontal"===this.orientation&&this.range[j?"animate":"css"]({width:100-k+"%"},{queue:!1,duration:d.animate}),"min"===t&&"vertical"===this.orientation&&this.range.stop(1,1)[j?"animate":"css"]({height:k+"%"},d.animate),"max"===t&&"vertical"===this.orientation&&this.range[j?"animate":"css"]({height:100-k+"%"},{queue:!1,duration:d.animate})) },_handleEvents:{keydown:function(d){var e,h,g,c,f=a(d.target).data("ui-slider-handle-index"); switch(d.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(d.preventDefault(),!this._keySliding&&(this._keySliding=!0,a(d.target).addClass("ui-state-active"),e=this._start(d,f),e===!1)){return }}switch(c=this.options.step,h=g=this.options.values&&this.options.values.length?this.values(f):this.value(),d.keyCode){case a.ui.keyCode.HOME:g=this._valueMin(); break; case a.ui.keyCode.END:g=this._valueMax(); break; case a.ui.keyCode.PAGE_UP:g=this._trimAlignValue(h+(this._valueMax()-this._valueMin())/b); break; case a.ui.keyCode.PAGE_DOWN:g=this._trimAlignValue(h-(this._valueMax()-this._valueMin())/b); break; case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(h===this._valueMax()){return }g=this._trimAlignValue(h+c); break; case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(h===this._valueMin()){return }g=this._trimAlignValue(h-c) }this._slide(d,f,g) },click:function(c){c.preventDefault() },keyup:function(d){var c=a(d.target).data("ui-slider-handle-index"); this._keySliding&&(this._keySliding=!1,this._stop(d,c),this._change(d,c),a(d.target).removeClass("ui-state-active")) }}}) }(jQuery),function(a){function b(c){return function(){var d=this.element.val(); c.apply(this,arguments),this._refresh(),d!==this.element.val()&&this._trigger("change") } }a.widget("ui.spinner",{version:"1.10.4",defaultElement:"<input>",widgetEventPrefix:"spin",options:{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 d={},c=this.element; return a.each(["min","max","step"],function(e,f){var g=c.attr(f); void 0!==g&&g.length&&(d[f]=g) }),d },_events:{keydown:function(c){this._start(c)&&this._keydown(c)&&c.preventDefault() },keyup:"_stop",focus:function(){this.previous=this.element.val() },blur:function(c){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",c),void 0) },mousewheel:function(c,d){if(d){if(!this.spinning&&!this._start(c)){return !1 }this._spin((d>0?1:-1)*this.options.step,c),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(c) },100),c.preventDefault() }},"mousedown .ui-spinner-button":function(f){function c(){var e=this.element[0]===this.document[0].activeElement; e||(this.element.focus(),this.previous=d,this._delay(function(){this.previous=d })) }var d; d=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),f.preventDefault(),c.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,c.call(this) }),this._start(f)!==!1&&this._repeat(null,a(f.currentTarget).hasClass("ui-spinner-up")?1:-1,f) },"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(c){return a(c.currentTarget).hasClass("ui-state-active")?this._start(c)===!1?!1:(this._repeat(null,a(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c),void 0):void 0 },"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var c=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml()); this.element.attr("role","spinbutton"),this.buttons=c.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(0.5*c.height())&&c.height()>0&&c.height(c.height()),this.options.disabled&&this.disable() },_keydown:function(f){var c=this.options,d=a.ui.keyCode; switch(f.keyCode){case d.UP:return this._repeat(null,1,f),!0; case d.DOWN:return this._repeat(null,-1,f),!0; case d.PAGE_UP:return this._repeat(null,c.page,f),!0; case d.PAGE_DOWN:return this._repeat(null,-c.page,f),!0 }return !1 },_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>" },_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>▲</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>▼</span></a>" },_start:function(c){return this.spinning||this._trigger("start",c)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1 },_repeat:function(d,f,c){d=d||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,f,c) },d),this._spin(f*this.options.step,c) },_spin:function(d,f){var c=this.value()||0; this.counter||(this.counter=1),c=this._adjustValue(c+d*this._increment(this.counter)),this.spinning&&this._trigger("spin",f,{value:c})===!1||(this._value(c),this.counter++) },_increment:function(d){var c=this.options.incremental; return c?a.isFunction(c)?c(d):Math.floor(d*d*d/50000-d*d/500+17*d/200+1):1 },_precision:function(){var c=this._precisionOf(this.options.step); return null!==this.options.min&&(c=Math.max(c,this._precisionOf(this.options.min))),c },_precisionOf:function(d){var f=""+d,c=f.indexOf("."); return -1===c?0:f.length-c-1 },_adjustValue:function(d){var g,c,f=this.options; return g=null!==f.min?f.min:0,c=d-g,c=Math.round(c/f.step)*f.step,d=g+c,d=parseFloat(d.toFixed(this._precision())),null!==f.max&&d>f.max?f.max:null!==f.min&&f.min>d?f.min:d },_stop:function(c){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",c)) },_setOption:function(d,f){if("culture"===d||"numberFormat"===d){var c=this._parse(this.element.val()); return this.options[d]=f,this.element.val(this._format(c)),void 0 }("max"===d||"min"===d||"step"===d)&&"string"==typeof f&&(f=this._parse(f)),"icons"===d&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(f.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(f.down)),this._super(d,f),"disabled"===d&&(f?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable"))) },_setOptions:b(function(c){this._super(c),this._value(this.element.val()) }),_parse:function(c){return"string"==typeof c&&""!==c&&(c=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(c,10,this.options.culture):+c),""===c||isNaN(c)?null:c },_format:function(c){return""===c?"":window.Globalize&&this.options.numberFormat?Globalize.format(c,this.options.numberFormat,this.options.culture):c },_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())}) },_value:function(d,f){var c; ""!==d&&(c=this._parse(d),null!==c&&(f||(c=this._adjustValue(c)),d=this._format(c))),this.element.val(d),this._refresh() },_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element) },stepUp:b(function(c){this._stepUp(c) }),_stepUp:function(c){this._start()&&(this._spin((c||1)*this.options.step),this._stop()) },stepDown:b(function(c){this._stepDown(c) }),_stepDown:function(c){this._start()&&(this._spin((c||1)*-this.options.step),this._stop()) },pageUp:b(function(c){this._stepUp((c||1)*this.options.page) }),pageDown:b(function(c){this._stepDown((c||1)*this.options.page) }),value:function(c){return arguments.length?(b(this._value).call(this,c),void 0):this._parse(this.element.val()) },widget:function(){return this.uiSpinner }}) }(jQuery),function(b,d){function a(){return ++g }function c(e){return e=e.cloneNode(!1),e.hash.length>1&&decodeURIComponent(e.href.replace(f,""))===decodeURIComponent(location.href.replace(f,"")) }var g=0,f=/#.*$/; b.widget("ui.tabs",{version:"1.10.4",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var j=this,h=this.options; this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",h.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(i){b(this).is(".ui-state-disabled")&&i.preventDefault() }).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){b(this).closest("li").is(".ui-state-disabled")&&this.blur() }),this._processTabs(),h.active=this._initialActive(),b.isArray(h.disabled)&&(h.disabled=b.unique(h.disabled.concat(b.map(this.tabs.filter(".ui-state-disabled"),function(e){return j.tabs.index(e) }))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(h.active):b(),this._refresh(),this.active.length&&this.load(h.active) },_initialActive:function(){var e=this.options.active,h=this.options.collapsible,j=location.hash.substring(1); return null===e&&(j&&this.tabs.each(function(i,k){return b(k).attr("aria-controls")===j?(e=i,!1):d }),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===e||-1===e)&&(e=this.tabs.length?0:!1)),e!==!1&&(e=this.tabs.index(this.tabs.eq(e)),-1===e&&(e=h?!1:0)),!h&&e===!1&&this.anchors.length&&(e=0),e },_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):b()} },_tabKeydown:function(e){var h=b(this.document[0].activeElement).closest("li"),k=this.tabs.index(h),j=!0; if(!this._handlePageNav(e)){switch(e.keyCode){case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:k++; break; case b.ui.keyCode.UP:case b.ui.keyCode.LEFT:j=!1,k--; break; case b.ui.keyCode.END:k=this.anchors.length-1; break; case b.ui.keyCode.HOME:k=0; break; case b.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),this._activate(k),d; case b.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),this._activate(k===this.options.active?!1:k),d; default:return }e.preventDefault(),clearTimeout(this.activating),k=this._focusNextTab(k,j),e.ctrlKey||(h.attr("aria-selected","false"),this.tabs.eq(k).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",k) },this.delay)) }},_panelKeydown:function(h){this._handlePageNav(h)||h.ctrlKey&&h.keyCode===b.ui.keyCode.UP&&(h.preventDefault(),this.active.focus()) },_handlePageNav:function(e){return e.altKey&&e.keyCode===b.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===b.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):d },_findNextTab:function(k,h){function j(){return k>l&&(k=0),0>k&&(k=l),k }for(var l=this.tabs.length-1; -1!==b.inArray(j(),this.options.disabled); ){k=h?k+1:k-1 }return k },_focusNextTab:function(h,i){return h=this._findNextTab(h,i),this.tabs.eq(h).focus(),h },_setOption:function(h,e){return"active"===h?(this._activate(e),d):"disabled"===h?(this._setupDisabled(e),d):(this._super(h,e),"collapsible"===h&&(this.element.toggleClass("ui-tabs-collapsible",e),e||this.options.active!==!1||this._activate(0)),"event"===h&&this._setupEvents(e),"heightStyle"===h&&this._setupHeightStyle(e),d) },_tabId:function(e){return e.attr("aria-controls")||"ui-tabs-"+a() },_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):"" },refresh:function(){var j=this.options,h=this.tablist.children(":has(a[href])"); j.disabled=b.map(h.filter(".ui-state-disabled"),function(e){return h.index(e) }),this._processTabs(),j.active!==!1&&this.anchors.length?this.active.length&&!b.contains(this.tablist[0],this.active[0])?this.tabs.length===j.disabled.length?(j.active=!1,this.active=b()):this._activate(this._findNextTab(Math.max(0,j.active-1),!1)):j.active=this.tabs.index(this.active):(j.active=!1,this.active=b()),this._refresh() },_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0) },_processTabs:function(){var h=this; this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return b("a",this)[0] }).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=b(),this.anchors.each(function(k,t){var q,j,p,m=b(t).uniqueId().attr("id"),e=b(t).closest("li"),s=e.attr("aria-controls"); c(t)?(q=t.hash,j=h.element.find(h._sanitizeSelector(q))):(p=h._tabId(e),q="#"+p,j=h.element.find(q),j.length||(j=h._createPanel(p),j.insertAfter(h.panels[k-1]||h.tablist)),j.attr("aria-live","polite")),j.length&&(h.panels=h.panels.add(j)),s&&e.data("ui-tabs-aria-controls",s),e.attr({"aria-controls":q.substring(1),"aria-labelledby":m}),j.attr("aria-labelledby",m) }),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel") },_getList:function(){return this.tablist||this.element.find("ol,ul").eq(0) },_createPanel:function(h){return b("<div>").attr("id",h).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0) },_setupDisabled:function(k){b.isArray(k)&&(k.length?k.length===this.anchors.length&&(k=!0):k=!1); for(var h,j=0; h=this.tabs[j]; j++){k===!0||-1!==b.inArray(j,k)?b(h).addClass("ui-state-disabled").attr("aria-disabled","true"):b(h).removeClass("ui-state-disabled").removeAttr("aria-disabled") }this.options.disabled=k },_setupEvents:function(j){var h={click:function(e){e.preventDefault() }}; j&&b.each(j.split(" "),function(i,k){h[k]="_eventHandler" }),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,h),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs) },_setupHeightStyle:function(k){var h,j=this.element.parent(); "fill"===k?(h=j.height(),h-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var l=b(this),i=l.css("position"); "absolute"!==i&&"fixed"!==i&&(h-=l.outerHeight(!0)) }),this.element.children().not(this.panels).each(function(){h-=b(this).outerHeight(!0) }),this.panels.each(function(){b(this).height(Math.max(0,h-b(this).innerHeight()+b(this).height())) }).css("overflow","auto")):"auto"===k&&(h=0,this.panels.each(function(){h=Math.max(h,b(this).height("").height()) }).height(h)) },_eventHandler:function(u){var q=this.options,x=this.active,m=b(u.currentTarget),k=m.closest("li"),w=k[0]===x[0],j=w&&q.collapsible,t=j?b():this._getPanelForTab(k),p=x.length?this._getPanelForTab(x):b(),v={oldTab:x,oldPanel:p,newTab:j?b():k,newPanel:t}; u.preventDefault(),k.hasClass("ui-state-disabled")||k.hasClass("ui-tabs-loading")||this.running||w&&!q.collapsible||this._trigger("beforeActivate",u,v)===!1||(q.active=j?!1:this.tabs.index(k),this.active=w?b():k,this.xhr&&this.xhr.abort(),p.length||t.length||b.error("jQuery UI Tabs: Mismatching fragment identifier."),t.length&&this.load(this.tabs.index(k),u),this._toggle(u,v)) },_toggle:function(m,j){function k(){p.running=!1,p._trigger("activate",m,j) }function q(){j.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),h.length&&p.options.show?p._show(h,p.options.show,k):(h.show(),k()) }var p=this,h=j.newPanel,l=j.oldPanel; this.running=!0,l.length&&this.options.hide?this._hide(l,this.options.hide,function(){j.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),q() }):(j.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),l.hide(),q()),l.attr({"aria-expanded":"false","aria-hidden":"true"}),j.oldTab.attr("aria-selected","false"),h.length&&l.length?j.oldTab.attr("tabIndex",-1):h.length&&this.tabs.filter(function(){return 0===b(this).attr("tabIndex") }).attr("tabIndex",-1),h.attr({"aria-expanded":"true","aria-hidden":"false"}),j.newTab.attr({"aria-selected":"true",tabIndex:0}) },_activate:function(k){var h,j=this._findActive(k); j[0]!==this.active[0]&&(j.length||(j=this.active),h=j.find(".ui-tabs-anchor")[0],this._eventHandler({target:h,currentTarget:h,preventDefault:b.noop})) },_findActive:function(h){return h===!1?b():this.tabs.eq(h) },_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e },_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){b.data(this,"ui-tabs-destroy")?b(this).remove():b(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role") }),this.tabs.each(function(){var j=b(this),h=j.data("ui-tabs-aria-controls"); h?j.attr("aria-controls",h).removeData("ui-tabs-aria-controls"):j.removeAttr("aria-controls") }),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","") },enable:function(e){var h=this.options.disabled; h!==!1&&(e===d?h=!1:(e=this._getIndex(e),h=b.isArray(h)?b.map(h,function(i){return i!==e?i:null }):b.map(this.tabs,function(i,j){return j!==e?j:null })),this._setupDisabled(h)) },disable:function(e){var h=this.options.disabled; if(h!==!0){if(e===d){h=!0 }else{if(e=this._getIndex(e),-1!==b.inArray(e,h)){return }h=b.isArray(h)?b.merge([e],h).sort():[e] }this._setupDisabled(h) }},load:function(p,k){p=this._getIndex(p); var s=this,q=this.tabs.eq(p),j=q.find(".ui-tabs-anchor"),m=this._getPanelForTab(q),l={tab:q,panel:m}; c(j[0])||(this.xhr=b.ajax(this._ajaxSettings(j,k,l)),this.xhr&&"canceled"!==this.xhr.statusText&&(q.addClass("ui-tabs-loading"),m.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){m.html(e),s._trigger("load",k,l) },1) }).complete(function(h,i){setTimeout(function(){"abort"===i&&s.panels.stop(!1,!0),q.removeClass("ui-tabs-loading"),m.removeAttr("aria-busy"),h===s.xhr&&delete s.xhr },1) }))) },_ajaxSettings:function(k,h,j){var l=this; return{url:k.attr("href"),beforeSend:function(i,m){return l._trigger("beforeLoad",h,b.extend({jqXHR:i,ajaxSettings:m},j)) }} },_getPanelForTab:function(j){var h=b(j).attr("aria-controls"); return this.element.find(this._sanitizeSelector("#"+h)) }}) }(jQuery),function(b){function d(h,f){var g=(h.attr("aria-describedby")||"").split(/\s+/); g.push(f),h.data("ui-tooltip-id",f).attr("aria-describedby",b.trim(g.join(" "))) }function a(h){var f=h.data("ui-tooltip-id"),g=(h.attr("aria-describedby")||"").split(/\s+/),j=b.inArray(f,g); -1!==j&&g.splice(j,1),h.removeData("ui-tooltip-id"),g=b.trim(g.join(" ")),g?h.attr("aria-describedby",g):h.removeAttr("aria-describedby") }var c=0; b.widget("ui.tooltip",{version:"1.10.4",options:{content:function(){var f=b(this).attr("title")||""; return b("<a>").text(f).html() },hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable() },_setOption:function(h,f){var g=this; return"disabled"===h?(this[f?"_disable":"_enable"](),this.options[h]=f,void 0):(this._super(h,f),"content"===h&&b.each(this.tooltips,function(i,j){g._updateContent(j) }),void 0) },_disable:function(){var f=this; b.each(this.tooltips,function(e,g){var h=b.Event("blur"); h.target=h.currentTarget=g[0],f.close(h,!0) }),this.element.find(this.options.items).addBack().each(function(){var g=b(this); g.is("[title]")&&g.data("ui-tooltip-title",g.attr("title")).attr("title","") }) },_enable:function(){this.element.find(this.options.items).addBack().each(function(){var f=b(this); f.data("ui-tooltip-title")&&f.attr("title",f.data("ui-tooltip-title")) }) },open:function(h){var f=this,g=b(h?h.target:this.element).closest(this.options.items); g.length&&!g.data("ui-tooltip-id")&&(g.attr("title")&&g.data("ui-tooltip-title",g.attr("title")),g.data("ui-tooltip-open",!0),h&&"mouseover"===h.type&&g.parents().each(function(){var j,i=b(this); i.data("ui-tooltip-open")&&(j=b.Event("blur"),j.target=j.currentTarget=this,f.close(j,!0)),i.attr("title")&&(i.uniqueId(),f.parents[this.id]={element:this,title:i.attr("title")},i.attr("title","")) }),this._updateContent(g,h)) },_updateContent:function(g,j){var f,h=this.options.content,l=this,k=j?j.type:null; return"string"==typeof h?this._open(j,g,h):(f=h.call(g[0],function(e){g.data("ui-tooltip-open")&&l._delay(function(){j&&(j.type=k),this._open(j,g,e) }) }),f&&this._open(j,g,f),void 0) },_open:function(g,k,q){function p(h){e.of=h,f.is(":hidden")||f.position(e) }var f,m,j,e=b.extend({},this.options.position); if(q){if(f=this._find(k),f.length){return f.find(".ui-tooltip-content").html(q),void 0 }k.is("[title]")&&(g&&"mouseover"===g.type?k.attr("title",""):k.removeAttr("title")),f=this._tooltip(k),d(k,f.attr("id")),f.find(".ui-tooltip-content").html(q),this.options.track&&g&&/^mouse/.test(g.type)?(this._on(this.document,{mousemove:p}),p(g)):f.position(b.extend({of:k},this.options.position)),f.hide(),this._show(f,this.options.show),this.options.show&&this.options.show.delay&&(j=this.delayedShow=setInterval(function(){f.is(":visible")&&(p(e.of),clearInterval(j)) },b.fx.interval)),this._trigger("open",g,{tooltip:f}),m={keyup:function(l){if(l.keyCode===b.ui.keyCode.ESCAPE){var h=b.Event(l); h.currentTarget=k[0],this.close(h,!0) }},remove:function(){this._removeTooltip(f) }},g&&"mouseover"!==g.type||(m.mouseleave="close"),g&&"focusin"!==g.type||(m.focusout="close"),this._on(!0,k,m) }},close:function(g){var f=this,i=b(g?g.currentTarget:this.element),h=this._find(i); this.closing||(clearInterval(this.delayedShow),i.data("ui-tooltip-title")&&i.attr("title",i.data("ui-tooltip-title")),a(i),h.stop(!0),this._hide(h,this.options.hide,function(){f._removeTooltip(b(this)) }),i.removeData("ui-tooltip-open"),this._off(i,"mouseleave focusout keyup"),i[0]!==this.element[0]&&this._off(i,"remove"),this._off(this.document,"mousemove"),g&&"mouseleave"===g.type&&b.each(this.parents,function(k,j){b(j.element).attr("title",j.title),delete f.parents[k] }),this.closing=!0,this._trigger("close",g,{tooltip:h}),this.closing=!1) },_tooltip:function(g){var f="ui-tooltip-"+c++,h=b("<div>").attr({id:f,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")); return b("<div>").addClass("ui-tooltip-content").appendTo(h),h.appendTo(this.document[0].body),this.tooltips[f]=g,h },_find:function(g){var f=g.data("ui-tooltip-id"); return f?b("#"+f):b() },_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")] },_destroy:function(){var f=this; b.each(this.tooltips,function(e,g){var h=b.Event("blur"); h.target=h.currentTarget=g[0],f.close(h,!0),b("#"+e).remove(),g.data("ui-tooltip-title")&&(g.attr("title",g.data("ui-tooltip-title")),g.removeData("ui-tooltip-title")) }) }}) }(jQuery); new function(e){var d=e.separator||"&"; var c=e.spaces===false?false:true; var a=e.suffix===false?"":"[]"; var g=e.prefix===false?false:true; var b=g?e.hash===true?"#":"?":""; var f=e.numbers===false?false:true; jQuery.query=new function(){var h=function(m,l){return m!=undefined&&m!==null&&(!!l?m.constructor==l:true) }; var i=function(r){var l,q=/\[([^[]*)\]/g,n=/^([^[]+)(\[.*\])?$/.exec(r),o=n[1],p=[]; while(l=q.exec(n[2])){p.push(l[1]) }return[o,p] }; var k=function(s,r,q){var t,p=r.shift(); if(typeof s!="object"){s=null }if(p===""){if(!s){s=[] }if(h(s,Array)){s.push(r.length==0?q:k(null,r.slice(0),q)) }else{if(h(s,Object)){var n=0; while(s[n++]!=null){}s[--n]=r.length==0?q:k(s[n],r.slice(0),q) }else{s=[]; s.push(r.length==0?q:k(null,r.slice(0),q)) }}}else{if(p&&p.match(/^\s*[0-9]+\s*$/)){var m=parseInt(p,10); if(!s){s=[] }s[m]=r.length==0?q:k(s[m],r.slice(0),q) }else{if(p){var m=p.replace(/^\s*|\s*$/g,""); if(!s){s={} }if(h(s,Array)){var l={}; for(var n=0; n<s.length; ++n){l[n]=s[n] }s=l }s[m]=r.length==0?q:k(s[m],r.slice(0),q) }else{return q }}}return s }; var j=function(l){var m=this; m.keys={}; if(l.queryObject){jQuery.each(l.get(),function(n,o){m.SET(n,o) }) }else{m.parseNew.apply(m,arguments) }return m }; j.prototype={queryObject:true,parseNew:function(){var l=this; l.keys={}; jQuery.each(arguments,function(){var m=""+this; m=m.replace(/^[?#]/,""); m=m.replace(/[;&]$/,""); if(c){m=m.replace(/[+]/g," ") }jQuery.each(m.split(/[&;]/),function(){var n=decodeURIComponent(this.split("=")[0]||""); var o=decodeURIComponent(this.split("=")[1]||""); if(!n){return }if(f){if(/^[+-]?[0-9]+\.[0-9]*$/.test(o)){o=parseFloat(o) }else{if(/^[+-]?[1-9][0-9]*$/.test(o)){o=parseInt(o,10) }}}o=(!o&&o!==0)?true:o; l.SET(n,o) }) }); return l },has:function(l,m){var n=this.get(l); return h(n,m) },GET:function(m){if(!h(m)){return this.keys }var l=i(m),n=l[0],p=l[1]; var o=this.keys[n]; while(o!=null&&p.length!=0){o=o[p.shift()] }return typeof o=="number"?o:o||"" },get:function(l){var m=this.GET(l); if(h(m,Object)){return jQuery.extend(true,{},m) }else{if(h(m,Array)){return m.slice(0) }}return m },SET:function(m,r){var o=!h(r)?null:r; var l=i(m),n=l[0],q=l[1]; var p=this.keys[n]; this.keys[n]=k(p,q.slice(0),o); return this },set:function(l,m){return this.copy().SET(l,m) },REMOVE:function(m,o){if(o){var n=this.GET(m); if(h(n,Array)){for(tval in n){n[tval]=n[tval].toString() }var l=$.inArray(o,n); if(l>=0){m=n.splice(l,1); m=m[l] }else{return }}else{if(o!=n){return }}}return this.SET(m,null).COMPACT() },remove:function(l,m){return this.copy().REMOVE(l,m) },EMPTY:function(){var l=this; jQuery.each(l.keys,function(m,n){delete l.keys[m] }); return l },load:function(l){var n=l.replace(/^.*?[#](.+?)(?:\?.+)?$/,"$1"); var m=l.replace(/^.*?[?](.+?)(?:#.+)?$/,"$1"); return new j(l.length==m.length?"":m,l.length==n.length?"":n) },empty:function(){return this.copy().EMPTY() },copy:function(){return new j(this) },COMPACT:function(){function l(o){var n=typeof o=="object"?h(o,Array)?[]:{}:o; if(typeof o=="object"){function m(r,p,q){if(h(r,Array)){r.push(q) }else{r[p]=q }}jQuery.each(o,function(p,q){if(!h(q)){return true }m(n,p,l(q)) }) }return n }this.keys=l(this.keys); return this },compact:function(){return this.copy().COMPACT() },toString:function(){var n=0,r=[],q=[],m=this; var o=function(s){s=s+""; s=encodeURIComponent(s); if(c){s=s.replace(/%20/g,"+") }return s }; var l=function(s,t,u){if(!h(u)||u===false){return }var v=[o(t)]; if(u!==true){v.push("="); v.push(o(u)) }s.push(v.join("")) }; var p=function(t,s){var u=function(v){return !s||s==""?[v].join(""):[s,"[",v,"]"].join("") }; jQuery.each(t,function(v,w){if(typeof w=="object"){p(w,u(v)) }else{l(q,u(v),w) }}) }; p(this.keys); if(q.length>0){r.push(b) }r.push(q.join(d)); return r.join("") }}; return new j(location.search,location.hash) } }(jQuery.query||{}); /*! * jQuery UI Touch Punch 0.2.3 * * Copyright 2011–2014, Dave Furfero * Dual licensed under the MIT or GPL Version 2 licenses. * * Depends: * jquery.ui.widget.js * jquery.ui.mouse.js */ ; !function(h){function i(f,e){if(!(f.originalEvent.touches.length>1)){f.preventDefault(); var n=f.originalEvent.changedTouches[0],m=document.createEvent("MouseEvents"); m.initMouseEvent(e,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),f.target.dispatchEvent(m) }}if(h.support.touch="ontouchend" in document,h.support.touch){var j,g=h.ui.mouse.prototype,l=g._mouseInit,k=g._mouseDestroy; g._touchStart=function(d){var c=this; !j&&c._mouseCapture(d.originalEvent.changedTouches[0])&&(j=!0,c._touchMoved=!1,i(d,"mouseover"),i(d,"mousemove"),i(d,"mousedown")) },g._touchMove=function(b){j&&(this._touchMoved=!0,i(b,"mousemove")) },g._touchEnd=function(b){j&&(i(b,"mouseup"),i(b,"mouseout"),this._touchMoved||i(b,"click"),j=!1) },g._mouseInit=function(){var a=this; a.element.bind({touchstart:h.proxy(a,"_touchStart"),touchmove:h.proxy(a,"_touchMove"),touchend:h.proxy(a,"_touchEnd")}),l.call(a) },g._mouseDestroy=function(){var a=this; a.element.unbind({touchstart:h.proxy(a,"_touchStart"),touchmove:h.proxy(a,"_touchMove"),touchend:h.proxy(a,"_touchEnd")}),k.call(a) } }}(jQuery); (function(b,a){typeof exports==="object"&&typeof module!=="undefined"?module.exports=a():typeof define==="function"&&define.amd?define(a):b.moment=a() }(this,(function(){var b7; function ex(){return b7.apply(null,arguments) }function aP(eX){b7=eX }function V(eX){return eX instanceof Array||Object.prototype.toString.call(eX)==="[object Array]" }function v(eX){return eX!=null&&Object.prototype.toString.call(eX)==="[object Object]" }function ce(eY){var eX; for(eX in eY){return false }return true }function F(eX){return eX===void 0 }function q(eX){return typeof eX==="number"||Object.prototype.toString.call(eX)==="[object Number]" }function eq(eX){return eX instanceof Date||Object.prototype.toString.call(eX)==="[object Date]" }function bl(eX,e0){var eZ=[],eY; for(eY=0; eY<eX.length; ++eY){eZ.push(e0(eX[eY],eY)) }return eZ }function dh(eY,eX){return Object.prototype.hasOwnProperty.call(eY,eX) }function eR(eY,eX){for(var eZ in eX){if(dh(eX,eZ)){eY[eZ]=eX[eZ] }}if(dh(eX,"toString")){eY.toString=eX.toString }if(dh(eX,"valueOf")){eY.valueOf=eX.valueOf }return eY }function cr(eZ,e0,eX,eY){return ac(eZ,e0,eX,eY,true).utc() }function cn(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],meridiem:null,rfc2822:false,weekdayMismatch:false} }function a9(eX){if(eX._pf==null){eX._pf=cn() }return eX._pf }var dl; if(Array.prototype.some){dl=Array.prototype.some }else{dl=function(eY){var e0=Object(this); var eX=e0.length>>>0; for(var eZ=0; eZ<eX; eZ++){if(eZ in e0&&eY.call(this,e0[eZ],eZ,e0)){return true }}return false } }var cD=dl; function an(eY){if(eY._isValid==null){var eZ=a9(eY); var e0=cD.call(eZ.parsedDateParts,function(e1){return e1!=null }); var eX=!isNaN(eY._d.getTime())&&eZ.overflow<0&&!eZ.empty&&!eZ.invalidMonth&&!eZ.invalidWeekday&&!eZ.nullInput&&!eZ.invalidFormat&&!eZ.userInvalidated&&(!eZ.meridiem||(eZ.meridiem&&e0)); if(eY._strict){eX=eX&&eZ.charsLeftOver===0&&eZ.unusedTokens.length===0&&eZ.bigHour===undefined }if(Object.isFrozen==null||!Object.isFrozen(eY)){eY._isValid=eX }else{return eX }}return eY._isValid }function N(eY){var eX=cr(NaN); if(eY!=null){eR(a9(eX),eY) }else{a9(eX).userInvalidated=true }return eX }var cP=ex.momentProperties=[]; function p(e1,e0){var eX,eZ,eY; if(!F(e0._isAMomentObject)){e1._isAMomentObject=e0._isAMomentObject }if(!F(e0._i)){e1._i=e0._i }if(!F(e0._f)){e1._f=e0._f }if(!F(e0._l)){e1._l=e0._l }if(!F(e0._strict)){e1._strict=e0._strict }if(!F(e0._tzm)){e1._tzm=e0._tzm }if(!F(e0._isUTC)){e1._isUTC=e0._isUTC }if(!F(e0._offset)){e1._offset=e0._offset }if(!F(e0._pf)){e1._pf=a9(e0) }if(!F(e0._locale)){e1._locale=e0._locale }if(cP.length>0){for(eX=0; eX<cP.length; eX++){eZ=cP[eX]; eY=e0[eZ]; if(!F(eY)){e1[eZ]=eY }}}return e1 }var db=false; function em(eX){p(this,eX); this._d=new Date(eX._d!=null?eX._d.getTime():NaN); if(!this.isValid()){this._d=new Date(NaN) }if(db===false){db=true; ex.updateOffset(this); db=false }}function b8(eX){return eX instanceof em||(eX!=null&&eX._isAMomentObject!=null) }function de(eX){if(eX<0){return Math.ceil(eX)||0 }else{return Math.floor(eX) }}function cM(eX){var eZ=+eX,eY=0; if(eZ!==0&&isFinite(eZ)){eY=de(eZ) }return eY }function bW(e2,e1,eY){var eX=Math.min(e2.length,e1.length),eZ=Math.abs(e2.length-e1.length),e3=0,e0; for(e0=0; e0<eX; e0++){if((eY&&e2[e0]!==e1[e0])||(!eY&&cM(e2[e0])!==cM(e1[e0]))){e3++ }}return e3+eZ }function da(eX){if(ex.suppressDeprecationWarnings===false&&(typeof console!=="undefined")&&console.warn){console.warn("Deprecation warning: "+eX) }}function eb(eY,eX){var eZ=true; return eR(function(){if(ex.deprecationHandler!=null){ex.deprecationHandler(null,eY) }if(eZ){var e1=[]; var e0; for(var e3=0; e3<arguments.length; e3++){e0=""; if(typeof arguments[e3]==="object"){e0+="\n["+e3+"] "; for(var e2 in arguments[0]){e0+=e2+": "+arguments[0][e2]+", " }e0=e0.slice(0,-2) }else{e0=arguments[e3] }e1.push(e0) }da(eY+"\nArguments: "+Array.prototype.slice.call(e1).join("")+"\n"+(new Error()).stack); eZ=false }return eX.apply(this,arguments) },eX) }var aa={}; function eK(eX,eY){if(ex.deprecationHandler!=null){ex.deprecationHandler(eX,eY) }if(!aa[eX]){da(eY); aa[eX]=true }}ex.suppressDeprecationWarnings=false; ex.deprecationHandler=null; function a4(eX){return eX instanceof Function||Object.prototype.toString.call(eX)==="[object Function]" }function dj(eX){var eZ,eY; for(eY in eX){eZ=eX[eY]; if(a4(eZ)){this[eY]=eZ }else{this["_"+eY]=eZ }}this._config=eX; this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+(/\d{1,2}/).source) }function d4(eZ,eX){var eY=eR({},eZ),e0; for(e0 in eX){if(dh(eX,e0)){if(v(eZ[e0])&&v(eX[e0])){eY[e0]={}; eR(eY[e0],eZ[e0]); eR(eY[e0],eX[e0]) }else{if(eX[e0]!=null){eY[e0]=eX[e0] }else{delete eY[e0] }}}}for(e0 in eZ){if(dh(eZ,e0)&&!dh(eX,e0)&&v(eZ[e0])){eY[e0]=eR({},eY[e0]) }}return eY }function cy(eX){if(eX!=null){this.set(eX) }}var bT; if(Object.keys){bT=Object.keys }else{bT=function(eZ){var eY,eX=[]; for(eY in eZ){if(dh(eZ,eY)){eX.push(eY) }}return eX } }var dJ=bT; var cg={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"}; function d(eZ,e0,eY){var eX=this._calendar[eZ]||this._calendar.sameElse; return a4(eX)?eX.call(e0,eY):eX }var dU={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"}; function cG(eX){var eY=this._longDateFormat[eX],eZ=this._longDateFormat[eX.toUpperCase()]; if(eY||!eZ){return eY }this._longDateFormat[eX]=eZ.replace(/MMMM|MM|DD|dddd/g,function(e0){return e0.slice(1) }); return this._longDateFormat[eX] }var al="Invalid date"; function ek(){return this._invalidDate }var b3="%d"; var eV=/\d{1,2}/; function ev(eX){return this._ordinal.replace("%d",eX) }var eu={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}; function T(e0,eZ,eY,e1){var eX=this._relativeTime[eY]; return(a4(eX))?eX(e0,eZ,eY,e1):eX.replace(/%d/i,e0) }function dV(eZ,eX){var eY=this._relativeTime[eZ>0?"future":"past"]; return a4(eY)?eY(eX):eY.replace(/%s/i,eX) }var cH={}; function cb(eZ,eX){var eY=eZ.toLowerCase(); cH[eY]=cH[eY+"s"]=cH[eX]=eZ }function cL(eX){return typeof eX==="string"?cH[eX]||cH[eX.toLowerCase()]:undefined }function dH(eZ){var eY={},eX,e0; for(e0 in eZ){if(dh(eZ,e0)){eX=cL(e0); if(eX){eY[eX]=eZ[e0] }}}return eY }var bq={}; function dT(eY,eX){bq[eY]=eX }function bn(eX){var eY=[]; for(var eZ in eX){eY.push({unit:eZ,priority:bq[eZ]}) }eY.sort(function(e1,e0){return e1.priority-e0.priority }); return eY }function d8(eX,eY){return function(eZ){if(eZ!=null){aK(this,eX,eZ); ex.updateOffset(this,eY); return this }else{return dx(this,eX) }} }function dx(eY,eX){return eY.isValid()?eY._d["get"+(eY._isUTC?"UTC":"")+eX]():NaN }function aK(eY,eX,eZ){if(eY.isValid()){eY._d["set"+(eY._isUTC?"UTC":"")+eX](eZ) }}function ay(eX){eX=cL(eX); if(a4(this[eX])){return this[eX]() }return this }function at(eX,e0){if(typeof eX==="object"){eX=dH(eX); var eZ=bn(eX); for(var eY=0; eY<eZ.length; eY++){this[eZ[eY].unit](eX[eZ[eY].unit]) }}else{eX=cL(eX); if(a4(this[eX])){return this[eX](e0) }}return this }function ck(e2,e1,eY){var e0=""+Math.abs(e2),eZ=e1-e0.length,eX=e2>=0; return(eX?(eY?"+":""):"-")+Math.pow(10,Math.max(0,eZ)).toString().substr(1)+e0 }var bO=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g; var bN=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g; var bM={}; var a7={}; function ct(eY,eZ,eX,e1){var e0=e1; if(typeof e1==="string"){e0=function(){return this[e1]() } }if(eY){a7[eY]=e0 }if(eZ){a7[eZ[0]]=function(){return ck(e0.apply(this,arguments),eZ[1],eZ[2]) } }if(eX){a7[eX]=function(){return this.localeData().ordinal(e0.apply(this,arguments),eY) } }}function av(eX){if(eX.match(/\[[\s\S]/)){return eX.replace(/^\[|\]$/g,"") }return eX.replace(/\\/g,"") }function bu(eZ){var e0=eZ.match(bO),eX,eY; for(eX=0,eY=e0.length; eX<eY; eX++){if(a7[e0[eX]]){e0[eX]=a7[e0[eX]] }else{e0[eX]=av(e0[eX]) }}return function(e3){var e1="",e2; for(e2=0; e2<eY; e2++){e1+=a4(e0[e2])?e0[e2].call(e3,eZ):e0[e2] }return e1 } }function af(eX,eY){if(!eX.isValid()){return eX.localeData().invalidDate() }eY=bC(eY,eX.localeData()); bM[eY]=bM[eY]||bu(eY); return bM[eY](eX) }function bC(e0,eX){var eY=5; function eZ(e1){return eX.longDateFormat(e1)||e1 }bN.lastIndex=0; while(eY>=0&&bN.test(e0)){e0=e0.replace(bN,eZ); bN.lastIndex=0; eY-=1 }return e0 }var aJ=/\d/; var aI=/\d\d/; var aH=/\d{3}/; var aG=/\d{4}/; var aF=/[+-]?\d{6}/; var aq=/\d\d?/; var ch=/\d\d\d\d?/; var ea=/\d\d\d\d\d\d?/; var ap=/\d{1,3}/; var ao=/\d{1,4}/; var am=/[+-]?\d{1,6}/; var r=/\d+/; var B=/[+-]?\d+/; var bF=/Z|[+-]\d\d:?\d\d/gi; var cA=/Z|[+-]\d\d(?::?\d\d)?/gi; var eL=/[+-]?\d+(\.\d{1,3})?/; var a6=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i; var a1={}; function bb(eX,eY,eZ){a1[eX]=a4(eY)?eY:function(e1,e0){return(e1&&eZ)?eZ:eY } }function bB(eY,eX){if(!dh(a1,eY)){return new RegExp(df(eY)) }return a1[eY](eX._strict,eX._locale) }function df(eX){return cd(eX.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(eY,e2,e1,e0,eZ){return e2||e1||e0||eZ })) }function cd(eX){return eX.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&") }var g={}; function bR(eY,e0){var eX,eZ=e0; if(typeof eY==="string"){eY=[eY] }if(q(e0)){eZ=function(e1,e2){e2[e0]=cM(e1) } }for(eX=0; eX<eY.length; eX++){g[eY[eX]]=eZ }}function X(eX,eY){bR(eX,function(eZ,e2,e0,e1){e0._w=e0._w||{}; eY(eZ,e0._w,e0,e1) }) }function u(eZ,eX,eY){if(eX!=null&&dh(g,eZ)){g[eZ](eX,eY._a,eY,eZ) }}var eM=0; var i=1; var eo=2; var eB=3; var dE=4; var ai=5; var bH=6; var cf=7; var h=8; var cN; if(Array.prototype.indexOf){cN=Array.prototype.indexOf }else{cN=function(eY){var eX; for(eX=0; eX<this.length; ++eX){if(this[eX]===eY){return eX }}return -1 } }var c5=cN; function bE(eX,eY){return new Date(Date.UTC(eX,eY+1,0)).getUTCDate() }ct("M",["MM",2],"Mo",function(){return this.month()+1 }); ct("MMM",0,0,function(eX){return this.localeData().monthsShort(this,eX) }); ct("MMMM",0,0,function(eX){return this.localeData().months(this,eX) }); cb("month","M"); dT("month",8); bb("M",aq); bb("MM",aq,aI); bb("MMM",function(eY,eX){return eX.monthsShortRegex(eY) }); bb("MMMM",function(eY,eX){return eX.monthsRegex(eY) }); bR(["M","MM"],function(eX,eY){eY[i]=cM(eX)-1 }); bR(["MMM","MMMM"],function(eX,e1,eY,eZ){var e0=eY._locale.monthsParse(eX,eZ,eY._strict); if(e0!=null){e1[i]=e0 }else{a9(eY).invalidMonth=eX }}); var b0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/; var P="January_February_March_April_May_June_July_August_September_October_November_December".split("_"); function aZ(eX,eY){if(!eX){return V(this._months)?this._months:this._months.standalone }return V(this._months)?this._months[eX.month()]:this._months[(this._months.isFormat||b0).test(eY)?"format":"standalone"][eX.month()] }var dY="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"); function a8(eX,eY){if(!eX){return V(this._monthsShort)?this._monthsShort:this._monthsShort.standalone }return V(this._monthsShort)?this._monthsShort[eX.month()]:this._monthsShort[b0.test(eY)?"format":"standalone"][eX.month()] }function bz(eY,e3,eX){var e0,e1,e2,eZ=eY.toLocaleLowerCase(); if(!this._monthsParse){this._monthsParse=[]; this._longMonthsParse=[]; this._shortMonthsParse=[]; for(e0=0; e0<12; ++e0){e2=cr([2000,e0]); this._shortMonthsParse[e0]=this.monthsShort(e2,"").toLocaleLowerCase(); this._longMonthsParse[e0]=this.months(e2,"").toLocaleLowerCase() }}if(eX){if(e3==="MMM"){e1=c5.call(this._shortMonthsParse,eZ); return e1!==-1?e1:null }else{e1=c5.call(this._longMonthsParse,eZ); return e1!==-1?e1:null }}else{if(e3==="MMM"){e1=c5.call(this._shortMonthsParse,eZ); if(e1!==-1){return e1 }e1=c5.call(this._longMonthsParse,eZ); return e1!==-1?e1:null }else{e1=c5.call(this._longMonthsParse,eZ); if(e1!==-1){return e1 }e1=c5.call(this._shortMonthsParse,eZ); return e1!==-1?e1:null }}}function c8(eY,e2,eX){var eZ,e1,e0; if(this._monthsParseExact){return bz.call(this,eY,e2,eX) }if(!this._monthsParse){this._monthsParse=[]; this._longMonthsParse=[]; this._shortMonthsParse=[] }for(eZ=0; eZ<12; eZ++){e1=cr([2000,eZ]); if(eX&&!this._longMonthsParse[eZ]){this._longMonthsParse[eZ]=new RegExp("^"+this.months(e1,"").replace(".","")+"$","i"); this._shortMonthsParse[eZ]=new RegExp("^"+this.monthsShort(e1,"").replace(".","")+"$","i") }if(!eX&&!this._monthsParse[eZ]){e0="^"+this.months(e1,"")+"|^"+this.monthsShort(e1,""); this._monthsParse[eZ]=new RegExp(e0.replace(".",""),"i") }if(eX&&e2==="MMMM"&&this._longMonthsParse[eZ].test(eY)){return eZ }else{if(eX&&e2==="MMM"&&this._shortMonthsParse[eZ].test(eY)){return eZ }else{if(!eX&&this._monthsParse[eZ].test(eY)){return eZ }}}}}function aT(eX,eY){var eZ; if(!eX.isValid()){return eX }if(typeof eY==="string"){if(/^\d+$/.test(eY)){eY=cM(eY) }else{eY=eX.localeData().monthsParse(eY); if(!q(eY)){return eX }}}eZ=Math.min(eX.date(),bE(eX.year(),eY)); eX._d["set"+(eX._isUTC?"UTC":"")+"Month"](eY,eZ); return eX }function eA(eX){if(eX!=null){aT(this,eX); ex.updateOffset(this,true); return this }else{return dx(this,"Month") }}function bK(){return bE(this.year(),this.month()) }var dd=a6; function dg(eX){if(this._monthsParseExact){if(!dh(this,"_monthsRegex")){di.call(this) }if(eX){return this._monthsShortStrictRegex }else{return this._monthsShortRegex }}else{if(!dh(this,"_monthsShortRegex")){this._monthsShortRegex=dd }return this._monthsShortStrictRegex&&eX?this._monthsShortStrictRegex:this._monthsShortRegex }}var es=a6; function cV(eX){if(this._monthsParseExact){if(!dh(this,"_monthsRegex")){di.call(this) }if(eX){return this._monthsStrictRegex }else{return this._monthsRegex }}else{if(!dh(this,"_monthsRegex")){this._monthsRegex=es }return this._monthsStrictRegex&&eX?this._monthsStrictRegex:this._monthsRegex }}function di(){function e2(e4,e3){return e3.length-e4.length }var e1=[],eX=[],e0=[],eY,eZ; for(eY=0; eY<12; eY++){eZ=cr([2000,eY]); e1.push(this.monthsShort(eZ,"")); eX.push(this.months(eZ,"")); e0.push(this.months(eZ,"")); e0.push(this.monthsShort(eZ,"")) }e1.sort(e2); eX.sort(e2); e0.sort(e2); for(eY=0; eY<12; eY++){e1[eY]=cd(e1[eY]); eX[eY]=cd(eX[eY]) }for(eY=0; eY<24; eY++){e0[eY]=cd(e0[eY]) }this._monthsRegex=new RegExp("^("+e0.join("|")+")","i"); this._monthsShortRegex=this._monthsRegex; this._monthsStrictRegex=new RegExp("^("+eX.join("|")+")","i"); this._monthsShortStrictRegex=new RegExp("^("+e1.join("|")+")","i") }ct("Y",0,0,function(){var eX=this.year(); return eX<=9999?""+eX:"+"+eX }); ct(0,["YY",2],0,function(){return this.year()%100 }); ct(0,["YYYY",4],0,"year"); ct(0,["YYYYY",5],0,"year"); ct(0,["YYYYYY",6,true],0,"year"); cb("year","y"); dT("year",1); bb("Y",B); bb("YY",aq,aI); bb("YYYY",ao,aG); bb("YYYYY",am,aF); bb("YYYYYY",am,aF); bR(["YYYYY","YYYYYY"],eM); bR("YYYY",function(eX,eY){eY[eM]=eX.length===2?ex.parseTwoDigitYear(eX):cM(eX) }); bR("YY",function(eX,eY){eY[eM]=ex.parseTwoDigitYear(eX) }); bR("Y",function(eX,eY){eY[eM]=parseInt(eX,10) }); function dC(eX){return dX(eX)?366:365 }function dX(eX){return(eX%4===0&&eX%100!==0)||eX%400===0 }ex.parseTwoDigitYear=function(eX){return cM(eX)+(cM(eX)>68?1900:2000) }; var cC=d8("FullYear",true); function cS(){return dX(this.year()) }function d5(e4,eX,e2,e1,e3,e0,eZ){var eY=new Date(e4,eX,e2,e1,e3,e0,eZ); if(e4<100&&e4>=0&&isFinite(eY.getFullYear())){eY.setFullYear(e4) }return eY }function dr(eY){var eX=new Date(Date.UTC.apply(null,arguments)); if(eY<100&&eY>=0&&isFinite(eX.getUTCFullYear())){eX.setUTCFullYear(eY) }return eX }function bg(eY,e1,e0){var eX=7+e1-e0,eZ=(7+dr(eY,0,eX).getUTCDay()-e1)%7; return -eZ+eX-1 }function bx(e0,eY,eZ,e6,e4){var e5=(7+eZ-e6)%7,eX=bg(e0,e6,e4),e2=1+7*(eY-1)+e5+eX,e3,e1; if(e2<=0){e3=e0-1; e1=dC(e3)+e2 }else{if(e2>dC(e0)){e3=e0+1; e1=e2-dC(e0) }else{e3=e0; e1=e2 }}return{year:e3,dayOfYear:e1} }function en(e1,e3,e2){var eZ=bg(e1.year(),e3,e2),e0=Math.floor((e1.dayOfYear()-eZ-1)/7)+1,eX,eY; if(e0<1){eY=e1.year()-1; eX=e0+E(eY,e3,e2) }else{if(e0>E(e1.year(),e3,e2)){eX=e0-E(e1.year(),e3,e2); eY=e1.year()+1 }else{eY=e1.year(); eX=e0 }}return{week:eX,year:eY} }function E(eY,e1,eZ){var eX=bg(eY,e1,eZ),e0=bg(eY+1,e1,eZ); return(dC(eY)-eX+e0)/7 }ct("w",["ww",2],"wo","week"); ct("W",["WW",2],"Wo","isoWeek"); cb("week","w"); cb("isoWeek","W"); dT("week",5); dT("isoWeek",5); bb("w",aq); bb("ww",aq,aI); bb("W",aq); bb("WW",aq,aI); X(["w","ww","W","WW"],function(eX,e0,eY,eZ){e0[eZ.substr(0,1)]=cM(eX) }); function bm(eX){return en(eX,this._week.dow,this._week.doy).week }var bZ={dow:0,doy:6}; function ag(){return this._week.dow }function c6(){return this._week.doy }function J(eX){var eY=this.localeData().week(this); return eX==null?eY:this.add((eX-eY)*7,"d") }function x(eX){var eY=en(this,1,4).week; return eX==null?eY:this.add((eX-eY)*7,"d") }ct("d",0,"do","day"); ct("dd",0,0,function(eX){return this.localeData().weekdaysMin(this,eX) }); ct("ddd",0,0,function(eX){return this.localeData().weekdaysShort(this,eX) }); ct("dddd",0,0,function(eX){return this.localeData().weekdays(this,eX) }); ct("e",0,0,"weekday"); ct("E",0,0,"isoWeekday"); cb("day","d"); cb("weekday","e"); cb("isoWeekday","E"); dT("day",11); dT("weekday",11); dT("isoWeekday",11); bb("d",aq); bb("e",aq); bb("E",aq); bb("dd",function(eY,eX){return eX.weekdaysMinRegex(eY) }); bb("ddd",function(eY,eX){return eX.weekdaysShortRegex(eY) }); bb("dddd",function(eY,eX){return eX.weekdaysRegex(eY) }); X(["dd","ddd","dddd"],function(eX,e0,eY,eZ){var e1=eY._locale.weekdaysParse(eX,eZ,eY._strict); if(e1!=null){e0.d=e1 }else{a9(eY).invalidWeekday=eX }}); X(["d","e","E"],function(eX,e0,eY,eZ){e0[eZ]=cM(eX) }); function bf(eY,eX){if(typeof eY!=="string"){return eY }if(!isNaN(eY)){return parseInt(eY,10) }eY=eX.weekdaysParse(eY); if(typeof eY==="number"){return eY }return null }function bA(eY,eX){if(typeof eY==="string"){return eX.weekdaysParse(eY)%7||7 }return isNaN(eY)?null:eY }var S="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"); function aw(eX,eY){if(!eX){return V(this._weekdays)?this._weekdays:this._weekdays.standalone }return V(this._weekdays)?this._weekdays[eX.day()]:this._weekdays[this._weekdays.isFormat.test(eY)?"format":"standalone"][eX.day()] }var k="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"); function M(eX){return(eX)?this._weekdaysShort[eX.day()]:this._weekdaysShort }var br="Su_Mo_Tu_We_Th_Fr_Sa".split("_"); function ey(eX){return(eX)?this._weekdaysMin[eX.day()]:this._weekdaysMin }function dK(e2,e3,eX){var eZ,e0,e1,eY=e2.toLocaleLowerCase(); if(!this._weekdaysParse){this._weekdaysParse=[]; this._shortWeekdaysParse=[]; this._minWeekdaysParse=[]; for(eZ=0; eZ<7; ++eZ){e1=cr([2000,1]).day(eZ); this._minWeekdaysParse[eZ]=this.weekdaysMin(e1,"").toLocaleLowerCase(); this._shortWeekdaysParse[eZ]=this.weekdaysShort(e1,"").toLocaleLowerCase(); this._weekdaysParse[eZ]=this.weekdays(e1,"").toLocaleLowerCase() }}if(eX){if(e3==="dddd"){e0=c5.call(this._weekdaysParse,eY); return e0!==-1?e0:null }else{if(e3==="ddd"){e0=c5.call(this._shortWeekdaysParse,eY); return e0!==-1?e0:null }else{e0=c5.call(this._minWeekdaysParse,eY); return e0!==-1?e0:null }}}else{if(e3==="dddd"){e0=c5.call(this._weekdaysParse,eY); if(e0!==-1){return e0 }e0=c5.call(this._shortWeekdaysParse,eY); if(e0!==-1){return e0 }e0=c5.call(this._minWeekdaysParse,eY); return e0!==-1?e0:null }else{if(e3==="ddd"){e0=c5.call(this._shortWeekdaysParse,eY); if(e0!==-1){return e0 }e0=c5.call(this._weekdaysParse,eY); if(e0!==-1){return e0 }e0=c5.call(this._minWeekdaysParse,eY); return e0!==-1?e0:null }else{e0=c5.call(this._minWeekdaysParse,eY); if(e0!==-1){return e0 }e0=c5.call(this._weekdaysParse,eY); if(e0!==-1){return e0 }e0=c5.call(this._shortWeekdaysParse,eY); return e0!==-1?e0:null }}}}function bJ(e1,e2,eX){var eY,e0,eZ; if(this._weekdaysParseExact){return dK.call(this,e1,e2,eX) }if(!this._weekdaysParse){this._weekdaysParse=[]; this._minWeekdaysParse=[]; this._shortWeekdaysParse=[]; this._fullWeekdaysParse=[] }for(eY=0; eY<7; eY++){e0=cr([2000,1]).day(eY); if(eX&&!this._fullWeekdaysParse[eY]){this._fullWeekdaysParse[eY]=new RegExp("^"+this.weekdays(e0,"").replace(".",".?")+"$","i"); this._shortWeekdaysParse[eY]=new RegExp("^"+this.weekdaysShort(e0,"").replace(".",".?")+"$","i"); this._minWeekdaysParse[eY]=new RegExp("^"+this.weekdaysMin(e0,"").replace(".",".?")+"$","i") }if(!this._weekdaysParse[eY]){eZ="^"+this.weekdays(e0,"")+"|^"+this.weekdaysShort(e0,"")+"|^"+this.weekdaysMin(e0,""); this._weekdaysParse[eY]=new RegExp(eZ.replace(".",""),"i") }if(eX&&e2==="dddd"&&this._fullWeekdaysParse[eY].test(e1)){return eY }else{if(eX&&e2==="ddd"&&this._shortWeekdaysParse[eY].test(e1)){return eY }else{if(eX&&e2==="dd"&&this._minWeekdaysParse[eY].test(e1)){return eY }else{if(!eX&&this._weekdaysParse[eY].test(e1)){return eY }}}}}}function ef(eY){if(!this.isValid()){return eY!=null?this:NaN }var eX=this._isUTC?this._d.getUTCDay():this._d.getDay(); if(eY!=null){eY=bf(eY,this.localeData()); return this.add(eY-eX,"d") }else{return eX }}function ad(eX){if(!this.isValid()){return eX!=null?this:NaN }var eY=(this.day()+7-this.localeData()._week.dow)%7; return eX==null?eY:this.add(eX-eY,"d") }function cp(eX){if(!this.isValid()){return eX!=null?this:NaN }if(eX!=null){var eY=bA(eX,this.localeData()); return this.day(this.day()%7?eY:eY-7) }else{return this.day()||7 }}var ab=a6; function eO(eX){if(this._weekdaysParseExact){if(!dh(this,"_weekdaysRegex")){z.call(this) }if(eX){return this._weekdaysStrictRegex }else{return this._weekdaysRegex }}else{if(!dh(this,"_weekdaysRegex")){this._weekdaysRegex=ab }return this._weekdaysStrictRegex&&eX?this._weekdaysStrictRegex:this._weekdaysRegex }}var w=a6; function aE(eX){if(this._weekdaysParseExact){if(!dh(this,"_weekdaysRegex")){z.call(this) }if(eX){return this._weekdaysShortStrictRegex }else{return this._weekdaysShortRegex }}else{if(!dh(this,"_weekdaysShortRegex")){this._weekdaysShortRegex=w }return this._weekdaysShortStrictRegex&&eX?this._weekdaysShortStrictRegex:this._weekdaysShortRegex }}var dR=a6; function D(eX){if(this._weekdaysParseExact){if(!dh(this,"_weekdaysRegex")){z.call(this) }if(eX){return this._weekdaysMinStrictRegex }else{return this._weekdaysMinRegex }}else{if(!dh(this,"_weekdaysMinRegex")){this._weekdaysMinRegex=dR }return this._weekdaysMinStrictRegex&&eX?this._weekdaysMinStrictRegex:this._weekdaysMinRegex }}function z(){function e0(e8,e7){return e7.length-e8.length }var e2=[],e3=[],e6=[],eX=[],e1,eZ,eY,e4,e5; for(e1=0; e1<7; e1++){eZ=cr([2000,1]).day(e1); eY=this.weekdaysMin(eZ,""); e4=this.weekdaysShort(eZ,""); e5=this.weekdays(eZ,""); e2.push(eY); e3.push(e4); e6.push(e5); eX.push(eY); eX.push(e4); eX.push(e5) }e2.sort(e0); e3.sort(e0); e6.sort(e0); eX.sort(e0); for(e1=0; e1<7; e1++){e3[e1]=cd(e3[e1]); e6[e1]=cd(e6[e1]); eX[e1]=cd(eX[e1]) }this._weekdaysRegex=new RegExp("^("+eX.join("|")+")","i"); this._weekdaysShortRegex=this._weekdaysRegex; this._weekdaysMinRegex=this._weekdaysRegex; this._weekdaysStrictRegex=new RegExp("^("+e6.join("|")+")","i"); this._weekdaysShortStrictRegex=new RegExp("^("+e3.join("|")+")","i"); this._weekdaysMinStrictRegex=new RegExp("^("+e2.join("|")+")","i") }function dv(){return this.hours()%12||12 }function O(){return this.hours()||24 }ct("H",["HH",2],0,"hour"); ct("h",["hh",2],0,dv); ct("k",["kk",2],0,O); ct("hmm",0,0,function(){return""+dv.apply(this)+ck(this.minutes(),2) }); ct("hmmss",0,0,function(){return""+dv.apply(this)+ck(this.minutes(),2)+ck(this.seconds(),2) }); ct("Hmm",0,0,function(){return""+this.hours()+ck(this.minutes(),2) }); ct("Hmmss",0,0,function(){return""+this.hours()+ck(this.minutes(),2)+ck(this.seconds(),2) }); function ei(eX,eY){ct(eX,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),eY) }) }ei("a",true); ei("A",false); cb("hour","h"); dT("hour",13); function R(eY,eX){return eX._meridiemParse }bb("a",R); bb("A",R); bb("H",aq); bb("h",aq); bb("k",aq); bb("HH",aq,aI); bb("hh",aq,aI); bb("kk",aq,aI); bb("hmm",ch); bb("hmmss",ea); bb("Hmm",ch); bb("Hmmss",ea); bR(["H","HH"],eB); bR(["k","kk"],function(eY,e0,eZ){var eX=cM(eY); e0[eB]=eX===24?0:eX }); bR(["a","A"],function(eX,eZ,eY){eY._isPm=eY._locale.isPM(eX); eY._meridiem=eX }); bR(["h","hh"],function(eX,eZ,eY){eZ[eB]=cM(eX); a9(eY).bigHour=true }); bR("hmm",function(eX,e0,eY){var eZ=eX.length-2; e0[eB]=cM(eX.substr(0,eZ)); e0[dE]=cM(eX.substr(eZ)); a9(eY).bigHour=true }); bR("hmmss",function(eX,e1,eY){var e0=eX.length-4; var eZ=eX.length-2; e1[eB]=cM(eX.substr(0,e0)); e1[dE]=cM(eX.substr(e0,2)); e1[ai]=cM(eX.substr(eZ)); a9(eY).bigHour=true }); bR("Hmm",function(eX,e0,eY){var eZ=eX.length-2; e0[eB]=cM(eX.substr(0,eZ)); e0[dE]=cM(eX.substr(eZ)) }); bR("Hmmss",function(eX,e1,eY){var e0=eX.length-4; var eZ=eX.length-2; e1[eB]=cM(eX.substr(0,e0)); e1[dE]=cM(eX.substr(e0,2)); e1[ai]=cM(eX.substr(eZ)) }); function ca(eX){return((eX+"").toLowerCase().charAt(0)==="p") }var b2=/[ap]\.?m?\.?/i; function aR(eX,eY,eZ){if(eX>11){return eZ?"pm":"PM" }else{return eZ?"am":"AM" }}var cl=d8("Hours",true); var bY={calendar:cg,longDateFormat:dU,invalidDate:al,ordinal:b3,dayOfMonthOrdinalParse:eV,relativeTime:eu,months:P,monthsShort:dY,week:bZ,weekdays:S,weekdaysMin:br,weekdaysShort:k,meridiemParse:b2}; var bv={}; var l={}; var cU; function dk(eX){return eX?eX.toLowerCase().replace("_","-"):eX }function cT(e2){var e0=0,eY,e1,eX,eZ; while(e0<e2.length){eZ=dk(e2[e0]).split("-"); eY=eZ.length; e1=dk(e2[e0+1]); e1=e1?e1.split("-"):null; while(eY>0){eX=aA(eZ.slice(0,eY).join("-")); if(eX){return eX }if(e1&&e1.length>=eY&&bW(eZ,e1,true)>=eY-1){break }eY-- }e0++ }return null }function aA(eX){var eZ=null; if(!bv[eX]&&(typeof module!=="undefined")&&module&&module.exports){try{eZ=cU._abbr; require("./locale/"+eX); A(eZ) }catch(eY){}}return bv[eX] }function A(eY,eX){var eZ; if(eY){if(F(eX)){eZ=Q(eY) }else{eZ=cw(eY,eX) }if(eZ){cU=eZ }}return cU._abbr }function cw(eY,eX){if(eX!==null){var eZ=bY; eX.abbr=eY; if(bv[eY]!=null){eK("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."); eZ=bv[eY]._config }else{if(eX.parentLocale!=null){if(bv[eX.parentLocale]!=null){eZ=bv[eX.parentLocale]._config }else{if(!l[eX.parentLocale]){l[eX.parentLocale]=[] }l[eX.parentLocale].push({name:eY,config:eX}); return null }}}bv[eY]=new cy(d4(eZ,eX)); if(l[eY]){l[eY].forEach(function(e0){cw(e0.name,e0.config) }) }A(eY); return bv[eY] }else{delete bv[eY]; return null }}function eg(eZ,eY){if(eY!=null){var eX,e0=bY; if(bv[eZ]!=null){e0=bv[eZ]._config }eY=d4(e0,eY); eX=new cy(eY); eX.parentLocale=bv[eZ]; bv[eZ]=eX; A(eZ) }else{if(bv[eZ]!=null){if(bv[eZ].parentLocale!=null){bv[eZ]=bv[eZ].parentLocale }else{if(bv[eZ]!=null){delete bv[eZ] }}}}return bv[eZ] }function Q(eY){var eX; if(eY&&eY._locale&&eY._locale._abbr){eY=eY._locale._abbr }if(!eY){return cU }if(!V(eY)){eX=aA(eY); if(eX){return eX }eY=[eY] }return cT(eY) }function b1(){return dJ(bv) }function cK(eX){var eZ; var eY=eX._a; if(eY&&a9(eX).overflow===-2){eZ=eY[i]<0||eY[i]>11?i:eY[eo]<1||eY[eo]>bE(eY[eM],eY[i])?eo:eY[eB]<0||eY[eB]>24||(eY[eB]===24&&(eY[dE]!==0||eY[ai]!==0||eY[bH]!==0))?eB:eY[dE]<0||eY[dE]>59?dE:eY[ai]<0||eY[ai]>59?ai:eY[bH]<0||eY[bH]>999?bH:-1; if(a9(eX)._overflowDayOfYear&&(eZ<eM||eZ>eo)){eZ=eo }if(a9(eX)._overflowWeeks&&eZ===-1){eZ=cf }if(a9(eX)._overflowWeekday&&eZ===-1){eZ=h }a9(eX).overflow=eZ }return eX }var j=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; var aQ=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; var cB=/Z|[+-]\d\d(?::?\d\d)?/; var cO=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/]]; var cm=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]]; var bS=/^\/?Date\((\-?\d+)/i; function C(eY){var e2,e0,e4=eY._i,e3=j.exec(e4)||aQ.exec(e4),e5,eX,e1,eZ; if(e3){a9(eY).iso=true; for(e2=0,e0=cO.length; e2<e0; e2++){if(cO[e2][1].exec(e3[1])){eX=cO[e2][0]; e5=cO[e2][2]!==false; break }}if(eX==null){eY._isValid=false; return }if(e3[3]){for(e2=0,e0=cm.length; e2<e0; e2++){if(cm[e2][1].exec(e3[3])){e1=(e3[2]||" ")+cm[e2][0]; break }}if(e1==null){eY._isValid=false; return }}if(!e5&&e1!=null){eY._isValid=false; return }if(e3[4]){if(cB.exec(e3[4])){eZ="Z" }else{eY._isValid=false; return }}eY._f=eX+(e1||"")+(eZ||""); bU(eY) }else{eY._isValid=false }}var bD=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/; function bQ(e0){var e7,e6,e5,eX,e4,e1; var e9={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"}; var e3="YXWVUTSRQPONZABCDEFGHIKLM"; var e8,eY; e7=e0._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""); e6=bD.exec(e7); if(e6){e5=e6[1]?"ddd"+((e6[1].length===5)?", ":" "):""; eX="D MMM "+((e6[2].length>10)?"YYYY ":"YY "); e4="HH:mm"+(e6[4]?":ss":""); if(e6[1]){var e2=new Date(e6[2]); var eZ=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e2.getDay()]; if(e6[1].substr(0,3)!==eZ){a9(e0).weekdayMismatch=true; e0._isValid=false; return }}switch(e6[5].length){case 2:if(eY===0){e8=" +0000" }else{eY=e3.indexOf(e6[5][1].toUpperCase())-12; e8=((eY<0)?" -":" +")+((""+eY).replace(/^-?/,"0")).match(/..$/)[0]+"00" }break; case 4:e8=e9[e6[5]]; break; default:e8=e9[" GMT"] }e6[5]=e8; e0._i=e6.splice(1).join(""); e1=" ZZ"; e0._f=e5+eX+e4+e1; bU(e0); a9(e0).rfc2822=true }else{e0._isValid=false }}function ba(eY){var eX=bS.exec(eY._i); if(eX!==null){eY._d=new Date(+eX[1]); return }C(eY); if(eY._isValid===false){delete eY._isValid }else{return }bQ(eY); if(eY._isValid===false){delete eY._isValid }else{return }ex.createFromInputFallback(eY) }ex.createFromInputFallback=eb("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(eX){eX._d=new Date(eX._i+(eX._useUTC?" UTC":"")) }); function d6(eY,eX,eZ){if(eY!=null){return eY }if(eX!=null){return eX }return eZ }function a0(eY){var eX=new Date(ex.now()); if(eY._useUTC){return[eX.getUTCFullYear(),eX.getUTCMonth(),eX.getUTCDate()] }return[eX.getFullYear(),eX.getMonth(),eX.getDate()] }function e(e1){var e2,e0,eZ=[],eY,eX; if(e1._d){return }eY=a0(e1); if(e1._w&&e1._a[eo]==null&&e1._a[i]==null){cY(e1) }if(e1._dayOfYear!=null){eX=d6(e1._a[eM],eY[eM]); if(e1._dayOfYear>dC(eX)||e1._dayOfYear===0){a9(e1)._overflowDayOfYear=true }e0=dr(eX,0,e1._dayOfYear); e1._a[i]=e0.getUTCMonth(); e1._a[eo]=e0.getUTCDate() }for(e2=0; e2<3&&e1._a[e2]==null; ++e2){e1._a[e2]=eZ[e2]=eY[e2] }for(; e2<7; e2++){e1._a[e2]=eZ[e2]=(e1._a[e2]==null)?(e2===2?1:0):e1._a[e2] }if(e1._a[eB]===24&&e1._a[dE]===0&&e1._a[ai]===0&&e1._a[bH]===0){e1._nextDay=true; e1._a[eB]=0 }e1._d=(e1._useUTC?dr:d5).apply(null,eZ); if(e1._tzm!=null){e1._d.setUTCMinutes(e1._d.getUTCMinutes()-e1._tzm) }if(e1._nextDay){e1._a[eB]=24 }}function cY(e0){var e3,eX,eY,e1,e6,e4,e5,e2; e3=e0._w; if(e3.GG!=null||e3.W!=null||e3.E!=null){e6=1; e4=4; eX=d6(e3.GG,e0._a[eM],en(dy(),1,4).year); eY=d6(e3.W,1); e1=d6(e3.E,1); if(e1<1||e1>7){e2=true }}else{e6=e0._locale._week.dow; e4=e0._locale._week.doy; var eZ=en(dy(),e6,e4); eX=d6(e3.gg,e0._a[eM],eZ.year); eY=d6(e3.w,eZ.week); if(e3.d!=null){e1=e3.d; if(e1<0||e1>6){e2=true }}else{if(e3.e!=null){e1=e3.e+e6; if(e3.e<0||e3.e>6){e2=true }}else{e1=e6 }}}if(eY<1||eY>E(eX,e6,e4)){a9(e0)._overflowWeeks=true }else{if(e2!=null){a9(e0)._overflowWeekday=true }else{e5=bx(eX,eY,e1,e6,e4); e0._a[eM]=e5.year; e0._dayOfYear=e5.dayOfYear }}}ex.ISO_8601=function(){}; ex.RFC_2822=function(){}; function bU(eZ){if(eZ._f===ex.ISO_8601){C(eZ); return }if(eZ._f===ex.RFC_2822){bQ(eZ); return }eZ._a=[]; a9(eZ).empty=true; var e2=""+eZ._i,e1,eY,e5,e0,e4,eX=e2.length,e3=0; e5=bC(eZ._f,eZ._locale).match(bO)||[]; for(e1=0; e1<e5.length; e1++){e0=e5[e1]; eY=(e2.match(bB(e0,eZ))||[])[0]; if(eY){e4=e2.substr(0,e2.indexOf(eY)); if(e4.length>0){a9(eZ).unusedInput.push(e4) }e2=e2.slice(e2.indexOf(eY)+eY.length); e3+=eY.length }if(a7[e0]){if(eY){a9(eZ).empty=false }else{a9(eZ).unusedTokens.push(e0) }u(e0,eY,eZ) }else{if(eZ._strict&&!eY){a9(eZ).unusedTokens.push(e0) }}}a9(eZ).charsLeftOver=eX-e3; if(e2.length>0){a9(eZ).unusedInput.push(e2) }if(eZ._a[eB]<=12&&a9(eZ).bigHour===true&&eZ._a[eB]>0){a9(eZ).bigHour=undefined }a9(eZ).parsedDateParts=eZ._a.slice(0); a9(eZ).meridiem=eZ._meridiem; eZ._a[eB]=ec(eZ._locale,eZ._a[eB],eZ._meridiem); e(eZ); cK(eZ) }function ec(eX,eZ,e0){var eY; if(e0==null){return eZ }if(eX.meridiemHour!=null){return eX.meridiemHour(eZ,e0) }else{if(eX.isPM!=null){eY=eX.isPM(e0); if(eY&&eZ<12){eZ+=12 }if(!eY&&eZ===12){eZ=0 }return eZ }else{return eZ }}}function dA(eX){var e1,eZ,e0,eY,e2; if(eX._f.length===0){a9(eX).invalidFormat=true; eX._d=new Date(NaN); return }for(eY=0; eY<eX._f.length; eY++){e2=0; e1=p({},eX); if(eX._useUTC!=null){e1._useUTC=eX._useUTC }e1._f=eX._f[eY]; bU(e1); if(!an(e1)){continue }e2+=a9(e1).charsLeftOver; e2+=a9(e1).unusedTokens.length*10; a9(e1).score=e2; if(e0==null||e2<e0){e0=e2; eZ=e1 }}eR(eX,eZ||e1) }function a2(eX){if(eX._d){return }var eY=dH(eX._i); eX._a=bl([eY.year,eY.month,eY.day||eY.date,eY.hour,eY.minute,eY.second,eY.millisecond],function(eZ){return eZ&&parseInt(eZ,10) }); e(eX) }function ak(eX){var eY=new em(cK(bp(eX))); if(eY._nextDay){eY.add(1,"d"); eY._nextDay=undefined }return eY }function bp(eY){var eX=eY._i,eZ=eY._f; eY._locale=eY._locale||Q(eY._l); if(eX===null||(eZ===undefined&&eX==="")){return N({nullInput:true}) }if(typeof eX==="string"){eY._i=eX=eY._locale.preparse(eX) }if(b8(eX)){return new em(cK(eX)) }else{if(eq(eX)){eY._d=eX }else{if(V(eZ)){dA(eY) }else{if(eZ){bU(eY) }else{cq(eY) }}}}if(!an(eY)){eY._d=null }return eY }function cq(eY){var eX=eY._i; if(F(eX)){eY._d=new Date(ex.now()) }else{if(eq(eX)){eY._d=new Date(eX.valueOf()) }else{if(typeof eX==="string"){ba(eY) }else{if(V(eX)){eY._a=bl(eX.slice(0),function(eZ){return parseInt(eZ,10) }); e(eY) }else{if(v(eX)){a2(eY) }else{if(q(eX)){eY._d=new Date(eX) }else{ex.createFromInputFallback(eY) }}}}}}}function ac(e0,e1,eX,eZ,eY){var e2={}; if(eX===true||eX===false){eZ=eX; eX=undefined }if((v(e0)&&ce(e0))||(V(e0)&&e0.length===0)){e0=undefined }e2._isAMomentObject=true; e2._useUTC=e2._isUTC=eY; e2._l=eX; e2._i=e0; e2._f=e1; e2._strict=eZ; return ak(e2) }function dy(eZ,e0,eX,eY){return ac(eZ,e0,eX,eY,false) }var cF=eb("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var eX=dy.apply(null,arguments); if(this.isValid()&&eX.isValid()){return eX<this?this:eX }else{return N() }}); var ej=eb("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var eX=dy.apply(null,arguments); if(this.isValid()&&eX.isValid()){return eX>this?this:eX }else{return N() }}); function eS(eZ,e0){var eY,eX; if(e0.length===1&&V(e0[0])){e0=e0[0] }if(!e0.length){return dy() }eY=e0[0]; for(eX=1; eX<e0.length; ++eX){if(!e0[eX].isValid()||e0[eX][eZ](eY)){eY=e0[eX] }}return eY }function n(){var eX=[].slice.call(arguments,0); return eS("isBefore",eX) }function bj(){var eX=[].slice.call(arguments,0); return eS("isAfter",eX) }var cu=function(){return Date.now?Date.now():+(new Date()) }; var eQ=["year","quarter","month","week","day","hour","minute","second","millisecond"]; function ar(eY){for(var e0 in eY){if(!(eQ.indexOf(e0)!==-1&&(eY[e0]==null||!isNaN(eY[e0])))){return false }}var eX=false; for(var eZ=0; eZ<eQ.length; ++eZ){if(eY[eQ[eZ]]){if(eX){return false }if(parseFloat(eY[eQ[eZ]])!==cM(eY[eQ[eZ]])){eX=true }}}return true }function s(){return this._isValid }function aU(){return dc(NaN) }function dL(e2){var e4=dH(e2),e3=e4.year||0,eY=e4.quarter||0,eZ=e4.month||0,eX=e4.week||0,e7=e4.day||0,e5=e4.hour||0,e1=e4.minute||0,e6=e4.second||0,e0=e4.millisecond||0; this._isValid=ar(e4); this._milliseconds=+e0+e6*1000+e1*60000+e5*1000*60*60; this._days=+e7+eX*7; this._months=+eZ+eY*3+e3*12; this._data={}; this._locale=Q(); this._bubble() }function ae(eX){return eX instanceof dL }function ee(eX){if(eX<0){return Math.round(-1*eX)*-1 }else{return Math.round(eX) }}function bt(eX,eY){ct(eX,0,0,function(){var e0=this.utcOffset(); var eZ="+"; if(e0<0){e0=-e0; eZ="-" }return eZ+ck(~~(e0/60),2)+eY+ck(~~(e0)%60,2) }) }bt("Z",":"); bt("ZZ",""); bb("Z",cA); bb("ZZ",cA); bR(["Z","ZZ"],function(eX,eZ,eY){eY._useUTC=true; eY._tzm=m(cA,eX) }); var ew=/([\+\-]|\d\d)/gi; function m(e2,eY){var e0=(eY||"").match(e2); if(e0===null){return null }var eX=e0[e0.length-1]||[]; var e1=(eX+"").match(ew)||["-",0,0]; var eZ=+(e1[1]*60)+cM(e1[2]); return eZ===0?0:e1[0]==="+"?eZ:-eZ }function aB(eX,eY){var eZ,e0; if(eY._isUTC){eZ=eY.clone(); e0=(b8(eX)||eq(eX)?eX.valueOf():dy(eX).valueOf())-eZ.valueOf(); eZ._d.setTime(eZ._d.valueOf()+e0); ex.updateOffset(eZ,false); return eZ }else{return dy(eX).local() }}function aM(eX){return -Math.round(eX._d.getTimezoneOffset()/15)*15 }ex.updateOffset=function(){}; function ds(eX,e0,e1){var eZ=this._offset||0,eY; if(!this.isValid()){return eX!=null?this:NaN }if(eX!=null){if(typeof eX==="string"){eX=m(cA,eX); if(eX===null){return this }}else{if(Math.abs(eX)<16&&!e1){eX=eX*60 }}if(!this._isUTC&&e0){eY=aM(this) }this._offset=eX; this._isUTC=true; if(eY!=null){this.add(eY,"m") }if(eZ!==eX){if(!e0||this._changeInProgress){aX(this,dc(eX-eZ,"m"),1,false) }else{if(!this._changeInProgress){this._changeInProgress=true; ex.updateOffset(this,true); this._changeInProgress=null }}}return this }else{return this._isUTC?eZ:aM(this) }}function dm(eX,eY){if(eX!=null){if(typeof eX!=="string"){eX=-eX }this.utcOffset(eX,eY); return this }else{return -this.utcOffset() }}function aY(eX){return this.utcOffset(0,eX) }function dp(eX){if(this._isUTC){this.utcOffset(0,eX); this._isUTC=false; if(eX){this.subtract(aM(this),"m") }}return this }function b5(){if(this._tzm!=null){this.utcOffset(this._tzm,false,true) }else{if(typeof this._i==="string"){var eX=m(bF,this._i); if(eX!=null){this.utcOffset(eX) }else{this.utcOffset(0,true) }}}return this }function az(eX){if(!this.isValid()){return false }eX=eX?dy(eX).utcOffset():0; return(this.utcOffset()-eX)%60===0 }function aL(){return(this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()) }function b(){if(!F(this._isDSTShifted)){return this._isDSTShifted }var eY={}; p(eY,this); eY=bp(eY); if(eY._a){var eX=eY._isUTC?cr(eY._a):dy(eY._a); this._isDSTShifted=this.isValid()&&bW(eY._a,eX.toArray())>0 }else{this._isDSTShifted=false }return this._isDSTShifted }function dt(){return this.isValid()?!this._isUTC:false }function bP(){return this.isValid()?this._isUTC:false }function dz(){return this.isValid()?this._isUTC&&this._offset===0:false }var Z=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; var cs=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; function dc(eZ,e2){var e3=eZ,e1=null,eY,e0,eX; if(ae(eZ)){e3={ms:eZ._milliseconds,d:eZ._days,M:eZ._months} }else{if(q(eZ)){e3={}; if(e2){e3[e2]=eZ }else{e3.milliseconds=eZ }}else{if(!!(e1=Z.exec(eZ))){eY=(e1[1]==="-")?-1:1; e3={y:0,d:cM(e1[eo])*eY,h:cM(e1[eB])*eY,m:cM(e1[dE])*eY,s:cM(e1[ai])*eY,ms:cM(ee(e1[bH]*1000))*eY} }else{if(!!(e1=cs.exec(eZ))){eY=(e1[1]==="-")?-1:1; e3={y:eN(e1[2],eY),M:eN(e1[3],eY),w:eN(e1[4],eY),d:eN(e1[5],eY),h:eN(e1[6],eY),m:eN(e1[7],eY),s:eN(e1[8],eY)} }else{if(e3==null){e3={} }else{if(typeof e3==="object"&&("from" in e3||"to" in e3)){eX=bL(dy(e3.from),dy(e3.to)); e3={}; e3.ms=eX.milliseconds; e3.M=eX.months }}}}}}e0=new dL(e3); if(ae(eZ)&&dh(eZ,"_locale")){e0._locale=eZ._locale }return e0 }dc.fn=dL.prototype; dc.invalid=aU; function eN(eZ,eX){var eY=eZ&&parseFloat(eZ.replace(",",".")); return(isNaN(eY)?0:eY)*eX }function dw(eZ,eX){var eY={milliseconds:0,months:0}; eY.months=eX.month()-eZ.month()+(eX.year()-eZ.year())*12; if(eZ.clone().add(eY.months,"M").isAfter(eX)){--eY.months }eY.milliseconds=+eX-+(eZ.clone().add(eY.months,"M")); return eY }function bL(eZ,eX){var eY; if(!(eZ.isValid()&&eX.isValid())){return{milliseconds:0,months:0} }eX=aB(eX,eZ); if(eZ.isBefore(eX)){eY=dw(eZ,eX) }else{eY=dw(eX,eZ); eY.milliseconds=-eY.milliseconds; eY.months=-eY.months }return eY }function a3(eY,eX){return function(e2,e1){var e0,eZ; if(e1!==null&&!isNaN(+e1)){eK(eX,"moment()."+eX+"(period, number) is deprecated. Please use moment()."+eX+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."); eZ=e2; e2=e1; e1=eZ }e2=typeof e2==="string"?+e2:e2; e0=dc(e2,e1); aX(this,e0,eY); return this } }function aX(eZ,e2,e1,e0){var eY=e2._milliseconds,e3=ee(e2._days),eX=ee(e2._months); if(!eZ.isValid()){return }e0=e0==null?true:e0; if(eY){eZ._d.setTime(eZ._d.valueOf()+eY*e1) }if(e3){aK(eZ,"Date",dx(eZ,"Date")+e3*e1) }if(eX){aT(eZ,dx(eZ,"Month")+eX*e1) }if(e0){ex.updateOffset(eZ,e3||eX) }}var aW=a3(1,"add"); var ax=a3(-1,"subtract"); function au(eZ,eX){var eY=eZ.diff(eX,"days",true); return eY<-6?"sameElse":eY<-1?"lastWeek":eY<0?"lastDay":eY<1?"sameDay":eY<2?"nextDay":eY<7?"nextWeek":"sameElse" }function cc(e2,eX){var e0=e2||dy(),eZ=aB(e0,this).startOf("day"),e1=ex.calendarFormat(this,eZ)||"sameElse"; var eY=eX&&(a4(eX[e1])?eX[e1].call(this,e0):eX[e1]); return this.format(eY||this.localeData().calendar(e1,this,dy(e0))) }function dn(){return new em(this) }function cz(eY,eX){var eZ=b8(eY)?eY:dy(eY); if(!(this.isValid()&&eZ.isValid())){return false }eX=cL(!F(eX)?eX:"millisecond"); if(eX==="millisecond"){return this.valueOf()>eZ.valueOf() }else{return eZ.valueOf()<this.clone().startOf(eX).valueOf() }}function eI(eY,eX){var eZ=b8(eY)?eY:dy(eY); if(!(this.isValid()&&eZ.isValid())){return false }eX=cL(!F(eX)?eX:"millisecond"); if(eX==="millisecond"){return this.valueOf()<eZ.valueOf() }else{return this.clone().endOf(eX).valueOf()<eZ.valueOf() }}function el(e0,eZ,eX,eY){eY=eY||"()"; return(eY[0]==="("?this.isAfter(e0,eX):!this.isBefore(e0,eX))&&(eY[1]===")"?this.isBefore(eZ,eX):!this.isAfter(eZ,eX)) }function cE(eY,eX){var e0=b8(eY)?eY:dy(eY),eZ; if(!(this.isValid()&&e0.isValid())){return false }eX=cL(eX||"millisecond"); if(eX==="millisecond"){return this.valueOf()===e0.valueOf() }else{eZ=e0.valueOf(); return this.clone().startOf(eX).valueOf()<=eZ&&eZ<=this.clone().endOf(eX).valueOf() }}function eD(eY,eX){return this.isSame(eY,eX)||this.isAfter(eY,eX) }function eG(eY,eX){return this.isSame(eY,eX)||this.isBefore(eY,eX) }function K(e0,eZ,eX){var e2,e1,e3,eY; if(!this.isValid()){return NaN }e2=aB(e0,this); if(!e2.isValid()){return NaN }e1=(e2.utcOffset()-this.utcOffset())*60000; eZ=cL(eZ); if(eZ==="year"||eZ==="month"||eZ==="quarter"){eY=eh(this,e2); if(eZ==="quarter"){eY=eY/3 }else{if(eZ==="year"){eY=eY/12 }}}else{e3=this-e2; eY=eZ==="second"?e3/1000:eZ==="minute"?e3/60000:eZ==="hour"?e3/3600000:eZ==="day"?(e3-e1)/86400000:eZ==="week"?(e3-e1)/604800000:e3 }return eX?eY:de(eY) }function eh(eY,eX){var e2=((eX.year()-eY.year())*12)+(eX.month()-eY.month()),eZ=eY.clone().add(e2,"months"),e0,e1; if(eX-eZ<0){e0=eY.clone().add(e2-1,"months"); e1=(eX-eZ)/(eZ-e0) }else{e0=eY.clone().add(e2+1,"months"); e1=(eX-eZ)/(e0-eZ) }return -(e2+e1)||0 }ex.defaultFormat="YYYY-MM-DDTHH:mm:ssZ"; ex.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]"; function dZ(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ") }function c0(){if(!this.isValid()){return null }var eX=this.clone().utc(); if(eX.year()<0||eX.year()>9999){return af(eX,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]") }if(a4(Date.prototype.toISOString)){return this.toDate().toISOString() }return af(eX,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]") }function aO(){if(!this.isValid()){return"moment.invalid(/* "+this._i+" */)" }var eZ="moment"; var eX=""; if(!this.isLocal()){eZ=this.utcOffset()===0?"moment.utc":"moment.parseZone"; eX="Z" }var e0="["+eZ+'("]'; var eY=(0<=this.year()&&this.year()<=9999)?"YYYY":"YYYYYY"; var e2="-MM-DD[T]HH:mm:ss.SSS"; var e1=eX+'[")]'; return this.format(e0+eY+e2+e1) }function c3(eY){if(!eY){eY=this.isUtc()?ex.defaultFormatUtc:ex.defaultFormat }var eX=af(this,eY); return this.localeData().postformat(eX) }function dO(eY,eX){if(this.isValid()&&((b8(eY)&&eY.isValid())||dy(eY).isValid())){return dc({to:this,from:eY}).locale(this.locale()).humanize(!eX) }else{return this.localeData().invalidDate() }}function dI(eX){return this.from(dy(),eX) }function ah(eY,eX){if(this.isValid()&&((b8(eY)&&eY.isValid())||dy(eY).isValid())){return dc({from:this,to:eY}).locale(this.locale()).humanize(!eX) }else{return this.localeData().invalidDate() }}function aN(eX){return this.to(dy(),eX) }function eW(eY){var eX; if(eY===undefined){return this._locale._abbr }else{eX=Q(eY); if(eX!=null){this._locale=eX }return this }}var y=eb("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(eX){if(eX===undefined){return this.localeData() }else{return this.locale(eX) }}); function dP(){return this._locale }function b4(eX){eX=cL(eX); switch(eX){case"year":this.month(0); case"quarter":case"month":this.date(1); case"week":case"isoWeek":case"day":case"date":this.hours(0); case"hour":this.minutes(0); case"minute":this.seconds(0); case"second":this.milliseconds(0) }if(eX==="week"){this.weekday(0) }if(eX==="isoWeek"){this.isoWeekday(1) }if(eX==="quarter"){this.month(Math.floor(this.month()/3)*3) }return this }function er(eX){eX=cL(eX); if(eX===undefined||eX==="millisecond"){return this }if(eX==="date"){eX="day" }return this.startOf(eX).add(1,(eX==="isoWeek"?"week":eX)).subtract(1,"ms") }function dS(){return this._d.valueOf()-((this._offset||0)*60000) }function bw(){return Math.floor(this.valueOf()/1000) }function cX(){return new Date(this.valueOf()) }function dG(){var eX=this; return[eX.year(),eX.month(),eX.date(),eX.hour(),eX.minute(),eX.second(),eX.millisecond()] }function dQ(){var eX=this; return{years:eX.year(),months:eX.month(),date:eX.date(),hours:eX.hours(),minutes:eX.minutes(),seconds:eX.seconds(),milliseconds:eX.milliseconds()} }function c4(){return this.isValid()?this.toISOString():null }function o(){return an(this) }function dB(){return eR({},a9(this)) }function cv(){return a9(this).overflow }function eJ(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict} }ct(0,["gg",2],0,function(){return this.weekYear()%100 }); ct(0,["GG",2],0,function(){return this.isoWeekYear()%100 }); function W(eY,eX){ct(0,[eY,eY.length],0,eX) }W("gggg","weekYear"); W("ggggg","weekYear"); W("GGGG","isoWeekYear"); W("GGGGG","isoWeekYear"); cb("weekYear","gg"); cb("isoWeekYear","GG"); dT("weekYear",1); dT("isoWeekYear",1); bb("G",B); bb("g",B); bb("GG",aq,aI); bb("gg",aq,aI); bb("GGGG",ao,aG); bb("gggg",ao,aG); bb("GGGGG",am,aF); bb("ggggg",am,aF); X(["gggg","ggggg","GGGG","GGGGG"],function(eX,e0,eY,eZ){e0[eZ.substr(0,2)]=cM(eX) }); X(["gg","GG"],function(eX,e0,eY,eZ){e0[eZ]=ex.parseTwoDigitYear(eX) }); function bo(eX){return co.call(this,eX,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy) }function dW(eX){return co.call(this,eX,this.isoWeek(),this.isoWeekday(),1,4) }function c7(){return E(this.year(),1,4) }function I(){var eX=this.localeData()._week; return E(this.year(),eX.dow,eX.doy) }function co(eX,eY,e0,e2,e1){var eZ; if(eX==null){return en(this,e2,e1).year }else{eZ=E(eX,e2,e1); if(eY>eZ){eY=eZ }return a5.call(this,eX,eY,e0,e2,e1) }}function a5(eZ,eY,e1,e3,e2){var e0=bx(eZ,eY,e1,e3,e2),eX=dr(e0.year,0,e0.dayOfYear); this.year(eX.getUTCFullYear()); this.month(eX.getUTCMonth()); this.date(eX.getUTCDate()); return this }ct("Q",0,"Qo","quarter"); cb("quarter","Q"); dT("quarter",7); bb("Q",aJ); bR("Q",function(eX,eY){eY[i]=(cM(eX)-1)*3 }); function bX(eX){return eX==null?Math.ceil((this.month()+1)/3):this.month((eX-1)*3+this.month()%3) }ct("D",["DD",2],"Do","date"); cb("date","D"); dT("date",9); bb("D",aq); bb("DD",aq,aI); bb("Do",function(eY,eX){return eY?(eX._dayOfMonthOrdinalParse||eX._ordinalParse):eX._dayOfMonthOrdinalParseLenient }); bR(["D","DD"],eo); bR("Do",function(eX,eY){eY[eo]=cM(eX.match(aq)[0],10) }); var cj=d8("Date",true); ct("DDD",["DDDD",3],"DDDo","dayOfYear"); cb("dayOfYear","DDD"); dT("dayOfYear",4); bb("DDD",ap); bb("DDDD",aH); bR(["DDD","DDDD"],function(eX,eZ,eY){eY._dayOfYear=cM(eX) }); function bd(eX){var eY=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/86400000)+1; return eX==null?eY:this.add((eX-eY),"d") }ct("m",["mm",2],0,"minute"); cb("minute","m"); dT("minute",14); bb("m",aq); bb("mm",aq,aI); bR(["m","mm"],dE); var eH=d8("Minutes",false); ct("s",["ss",2],0,"second"); cb("second","s"); dT("second",15); bb("s",aq); bb("ss",aq,aI); bR(["s","ss"],ai); var bs=d8("Seconds",false); ct("S",0,0,function(){return ~~(this.millisecond()/100) }); ct(0,["SS",2],0,function(){return ~~(this.millisecond()/10) }); ct(0,["SSS",3],0,"millisecond"); ct(0,["SSSS",4],0,function(){return this.millisecond()*10 }); ct(0,["SSSSS",5],0,function(){return this.millisecond()*100 }); ct(0,["SSSSSS",6],0,function(){return this.millisecond()*1000 }); ct(0,["SSSSSSS",7],0,function(){return this.millisecond()*10000 }); ct(0,["SSSSSSSS",8],0,function(){return this.millisecond()*100000 }); ct(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1000000 }); cb("millisecond","ms"); dT("millisecond",16); bb("S",ap,aJ); bb("SS",ap,aI); bb("SSS",ap,aH); var bi; for(bi="SSSS"; bi.length<=9; bi+="S"){bb(bi,r) }function c1(eX,eY){eY[bH]=cM(("0."+eX)*1000) }for(bi="S"; bi.length<=9; bi+="S"){bR(bi,c1) }var bV=d8("Milliseconds",false); ct("z",0,0,"zoneAbbr"); ct("zz",0,0,"zoneName"); function eE(){return this._isUTC?"UTC":"" }function ed(){return this._isUTC?"Coordinated Universal Time":"" }var b9=em.prototype; b9.add=aW; b9.calendar=cc; b9.clone=dn; b9.diff=K; b9.endOf=er; b9.format=c3; b9.from=dO; b9.fromNow=dI; b9.to=ah; b9.toNow=aN; b9.get=ay; b9.invalidAt=cv; b9.isAfter=cz; b9.isBefore=eI; b9.isBetween=el; b9.isSame=cE; b9.isSameOrAfter=eD; b9.isSameOrBefore=eG; b9.isValid=o; b9.lang=y; b9.locale=eW; b9.localeData=dP; b9.max=ej; b9.min=cF; b9.parsingFlags=dB; b9.set=at; b9.startOf=b4; b9.subtract=ax; b9.toArray=dG; b9.toObject=dQ; b9.toDate=cX; b9.toISOString=c0; b9.inspect=aO; b9.toJSON=c4; b9.toString=dZ; b9.unix=bw; b9.valueOf=dS; b9.creationData=eJ; b9.year=cC; b9.isLeapYear=cS; b9.weekYear=bo; b9.isoWeekYear=dW; b9.quarter=b9.quarters=bX; b9.month=eA; b9.daysInMonth=bK; b9.week=b9.weeks=J; b9.isoWeek=b9.isoWeeks=x; b9.weeksInYear=I; b9.isoWeeksInYear=c7; b9.date=cj; b9.day=b9.days=ef; b9.weekday=ad; b9.isoWeekday=cp; b9.dayOfYear=bd; b9.hour=b9.hours=cl; b9.minute=b9.minutes=eH; b9.second=b9.seconds=bs; b9.millisecond=b9.milliseconds=bV; b9.utcOffset=ds; b9.utc=aY; b9.local=dp; b9.parseZone=b5; b9.hasAlignedHourOffset=az; b9.isDST=aL; b9.isLocal=dt; b9.isUtcOffset=bP; b9.isUtc=dz; b9.isUTC=dz; b9.zoneAbbr=eE; b9.zoneName=ed; b9.dates=eb("dates accessor is deprecated. Use date instead.",cj); b9.months=eb("months accessor is deprecated. Use month instead",eA); b9.years=eb("years accessor is deprecated. Use year instead",cC); b9.zone=eb("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",dm); b9.isDSTShifted=eb("isDSTShifted%20is%20deprecated.%20See%20http_/momentjs.com/guides/index.html#/warnings/dst-shifted/ for more information",b); function c9(eX){return dy(eX*1000) }function cJ(){return dy.apply(null,arguments).parseZone() }function du(eX){return eX }var d1=cy.prototype; d1.calendar=d; d1.longDateFormat=cG; d1.invalidDate=ek; d1.ordinal=ev; d1.preparse=du; d1.postformat=du; d1.relativeTime=T; d1.pastFuture=dV; d1.set=dj; d1.months=aZ; d1.monthsShort=a8; d1.monthsParse=c8; d1.monthsRegex=cV; d1.monthsShortRegex=dg; d1.week=bm; d1.firstDayOfYear=c6; d1.firstDayOfWeek=ag; d1.weekdays=aw; d1.weekdaysMin=ey; d1.weekdaysShort=M; d1.weekdaysParse=bJ; d1.weekdaysRegex=eO; d1.weekdaysShortRegex=aE; d1.weekdaysMinRegex=D; d1.isPM=ca; d1.meridiem=aR; function H(e1,eY,e0,e2){var eX=Q(); var eZ=cr().set(e2,eY); return eX[e0](eZ,e1) }function aV(e1,eY,e0){if(q(e1)){eY=e1; e1=undefined }e1=e1||""; if(eY!=null){return H(e1,eY,e0,"month") }var eZ; var eX=[]; for(eZ=0; eZ<12; eZ++){eX[eZ]=H(e1,eZ,e0,"month") }return eX }function eP(e2,e4,e0,e3){if(typeof e2==="boolean"){if(q(e4)){e0=e4; e4=undefined }e4=e4||"" }else{e4=e2; e0=e4; e2=false; if(q(e4)){e0=e4; e4=undefined }e4=e4||"" }var eX=Q(),eY=e2?eX._week.dow:0; if(e0!=null){return H(e4,(e0+eY)%7,e3,"day") }var e1; var eZ=[]; for(e1=0; e1<7; e1++){eZ[e1]=H(e4,(e1+eY)%7,e3,"day") }return eZ }function cQ(eY,eX){return aV(eY,eX,"months") }function cx(eY,eX){return aV(eY,eX,"monthsShort") }function c2(eY,eZ,eX){return eP(eY,eZ,eX,"weekdays") }function cI(eY,eZ,eX){return eP(eY,eZ,eX,"weekdaysShort") }function Y(eY,eZ,eX){return eP(eY,eZ,eX,"weekdaysMin") }A("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(eZ){var eX=eZ%10,eY=(cM(eZ%100/10)===1)?"th":(eX===1)?"st":(eX===2)?"nd":(eX===3)?"rd":"th"; return eZ+eY }}); ex.lang=eb("moment.lang is deprecated. Use moment.locale instead.",A); ex.langData=eb("moment.langData is deprecated. Use moment.localeData instead.",Q); var et=Math.abs; function bk(){var eX=this._data; this._milliseconds=et(this._milliseconds); this._days=et(this._days); this._months=et(this._months); eX.milliseconds=et(eX.milliseconds); eX.seconds=et(eX.seconds); eX.minutes=et(eX.minutes); eX.hours=et(eX.hours); eX.months=et(eX.months); eX.years=et(eX.years); return this }function aD(e1,eY,eZ,e0){var eX=dc(eY,eZ); e1._milliseconds+=e0*eX._milliseconds; e1._days+=e0*eX._days; e1._months+=e0*eX._months; return e1._bubble() }function by(eX,eY){return aD(this,eX,eY,1) }function dM(eX,eY){return aD(this,eX,eY,-1) }function ez(eX){if(eX<0){return Math.floor(eX) }else{return Math.ceil(eX) }}function cR(){var eZ=this._milliseconds; var e5=this._days; var eX=this._months; var e1=this._data; var e4,e0,e3,e2,eY; if(!((eZ>=0&&e5>=0&&eX>=0)||(eZ<=0&&e5<=0&&eX<=0))){eZ+=ez(eT(eX)+e5)*86400000; e5=0; eX=0 }e1.milliseconds=eZ%1000; e4=de(eZ/1000); e1.seconds=e4%60; e0=de(e4/60); e1.minutes=e0%60; e3=de(e0/60); e1.hours=e3%24; e5+=de(e3/24); eY=de(f(e5)); eX+=eY; e5-=ez(eT(eY)); e2=de(eX/12); eX%=12; e1.days=e5; e1.months=eX; e1.years=e2; return this }function f(eX){return eX*4800/146097 }function eT(eX){return eX*146097/4800 }function eC(eY){if(!this.isValid()){return NaN }var e0; var eX; var eZ=this._milliseconds; eY=cL(eY); if(eY==="month"||eY==="year"){e0=this._days+eZ/86400000; eX=this._months+f(e0); return eY==="month"?eX:eX/12 }else{e0=this._days+Math.round(eT(this._months)); switch(eY){case"week":return e0/7+eZ/604800000; case"day":return e0+eZ/86400000; case"hour":return e0*24+eZ/3600000; case"minute":return e0*1440+eZ/60000; case"second":return e0*86400+eZ/1000; case"millisecond":return Math.floor(e0*86400000)+eZ; default:throw new Error("Unknown unit "+eY) }}}function cZ(){if(!this.isValid()){return NaN }return(this._milliseconds+this._days*86400000+(this._months%12)*2592000000+cM(this._months/12)*31536000000) }function d3(eX){return function(){return this.as(eX) } }var eU=d3("ms"); var L=d3("s"); var dq=d3("m"); var t=d3("h"); var d7=d3("d"); var dN=d3("w"); var d2=d3("M"); var bh=d3("y"); function G(eX){eX=cL(eX); return this.isValid()?this[eX+"s"]():NaN }function b6(eX){return function(){return this.isValid()?this._data[eX]:NaN } }var c=b6("milliseconds"); var be=b6("seconds"); var aC=b6("minutes"); var U=b6("hours"); var bc=b6("days"); var eF=b6("months"); var bI=b6("years"); function d9(){return de(this.days()/7) }var cW=Math.round; var dD={ss:44,s:45,m:45,h:22,d:26,M:11}; function aj(eY,e0,eZ,e1,eX){return eX.relativeTime(e0||1,!!eZ,eY,e1) }function dF(e1,eY,e5){var eZ=dc(e1).abs(); var e6=cW(eZ.as("s")); var e0=cW(eZ.as("m")); var e4=cW(eZ.as("h")); var e7=cW(eZ.as("d")); var eX=cW(eZ.as("M")); var e2=cW(eZ.as("y")); var e3=e6<=dD.ss&&["s",e6]||e6<dD.s&&["ss",e6]||e0<=1&&["m"]||e0<dD.m&&["mm",e0]||e4<=1&&["h"]||e4<dD.h&&["hh",e4]||e7<=1&&["d"]||e7<dD.d&&["dd",e7]||eX<=1&&["M"]||eX<dD.M&&["MM",eX]||e2<=1&&["y"]||["yy",e2]; e3[2]=eY; e3[3]=+e1>0; e3[4]=e5; return aj.apply(null,e3) }function ep(eX){if(eX===undefined){return cW }if(typeof(eX)==="function"){cW=eX; return true }return false }function ci(eX,eY){if(dD[eX]===undefined){return false }if(eY===undefined){return dD[eX] }dD[eX]=eY; if(eX==="s"){dD.ss=eY-1 }return true }function a(eZ){if(!this.isValid()){return this.localeData().invalidDate() }var eX=this.localeData(); var eY=dF(this,!eZ,eX); if(eZ){eY=eX.pastFuture(+this,eY) }return eX.postformat(eY) }var aS=Math.abs; function bG(){if(!this.isValid()){return this.localeData().invalidDate() }var e7=aS(this._milliseconds)/1000; var e8=aS(this._days); var eZ=aS(this._months); var e1,e6,e3; e1=de(e7/60); e6=de(e1/60); e7%=60; e1%=60; e3=de(eZ/12); eZ%=12; var eY=e3; var e4=eZ; var eX=e8; var e2=e6; var e0=e1; var e9=e7; var e5=this.asSeconds(); if(!e5){return"P0D" }return(e5<0?"-":"")+"P"+(eY?eY+"Y":"")+(e4?e4+"M":"")+(eX?eX+"D":"")+((e2||e0||e9)?"T":"")+(e2?e2+"H":"")+(e0?e0+"M":"")+(e9?e9+"S":"") }var d0=dL.prototype; d0.isValid=s; d0.abs=bk; d0.add=by; d0.subtract=dM; d0.as=eC; d0.asMilliseconds=eU; d0.asSeconds=L; d0.asMinutes=dq; d0.asHours=t; d0.asDays=d7; d0.asWeeks=dN; d0.asMonths=d2; d0.asYears=bh; d0.valueOf=cZ; d0._bubble=cR; d0.get=G; d0.milliseconds=c; d0.seconds=be; d0.minutes=aC; d0.hours=U; d0.days=bc; d0.weeks=d9; d0.months=eF; d0.years=bI; d0.humanize=a; d0.toISOString=bG; d0.toString=bG; d0.toJSON=bG; d0.locale=eW; d0.localeData=dP; d0.toIsoString=eb("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",bG); d0.lang=y; ct("X",0,0,"unix"); ct("x",0,0,"valueOf"); bb("x",B); bb("X",eL); bR("X",function(eX,eZ,eY){eY._d=new Date(parseFloat(eX,10)*1000) }); bR("x",function(eX,eZ,eY){eY._d=new Date(cM(eX)) }); ex.version="2.18.1"; aP(dy); ex.fn=b9; ex.min=n; ex.max=bj; ex.now=cu; ex.utc=cr; ex.unix=c9; ex.months=cQ; ex.isDate=eq; ex.locale=A; ex.invalid=N; ex.duration=dc; ex.isMoment=b8; ex.weekdays=c2; ex.parseZone=cJ; ex.localeData=Q; ex.isDuration=ae; ex.monthsShort=cx; ex.weekdaysMin=Y; ex.defineLocale=cw; ex.updateLocale=eg; ex.locales=b1; ex.weekdaysShort=cI; ex.normalizeUnits=cL; ex.relativeTimeRounding=ep; ex.relativeTimeThreshold=ci; ex.calendarFormat=au; ex.prototype=b9; return ex }))); !function(d,c){"function"==typeof define&&define.amd?define(["moment"],c):"object"==typeof module&&module.exports?module.exports=c(require("moment")):c(d.moment) }(this,function(aC){function aB(b){return b>96?b-87:b>64?b-29:b-48 }function aA(r){var q,p=0,o=r.split("."),n=o[0],m=o[1]||"",l=1,k=0,b=1; for(45===r.charCodeAt(0)&&(p=1,b=-1),p; p<n.length; p++){q=aB(n.charCodeAt(p)),k=60*k+q }for(p=0; p<m.length; p++){l/=60,q=aB(m.charCodeAt(p)),k+=q*l }return k*b }function az(d){for(var c=0; c<d.length; c++){d[c]=aA(d[c]) }}function ay(e,d){for(var f=0; f<d; f++){e[f]=Math.round((e[f-1]||0)+60000*e[f]) }e[d-1]=1/0 }function ax(f,e){var h,g=[]; for(h=0; h<e.length; h++){g[h]=f[e[h]] }return g }function aw(e){var d=e.split("|"),j=d[2].split(" "),i=d[3].split(""),f=d[4].split(" "); return az(j),az(i),az(f),ay(f,i.length),{name:d[0],abbrs:ax(d[1].split(" "),i),offsets:ax(j,i),untils:f,population:0|d[5]} }function av(b){b&&this._set(aw(b)) }function au(e){var d=e.toTimeString(),f=d.match(/\([a-z ]+\)/i); f&&f[0]?(f=f[0].match(/[A-Z]/g),f=f?f.join(""):void 0):(f=d.match(/[A-Z]{3,5}/g),f=f?f[0]:void 0),"GMT"===f&&(f=void 0),this.at=+e,this.abbr=f,this.offset=e.getTimezoneOffset() }function at(b){this.zone=b,this.offsetScore=0,this.abbrScore=0 }function ar(f,e){for(var h,g; g=60000*((e.at-f.at)/120000|0); ){h=new au(new Date(f.at+g)),h.offset===f.offset?f=h:e=h }return f }function aq(){var h,g,l,k=(new Date).getFullYear()-2,j=new au(new Date(k,0,1)),i=[j]; for(l=1; l<48; l++){g=new au(new Date(k,l,1)),g.offset!==j.offset&&(h=ar(j,g),i.push(h),i.push(new au(new Date(h.at+60000)))),j=g }for(l=0; l<4; l++){i.push(new au(new Date(k+l,0,1))),i.push(new au(new Date(k+l,6,1))) }return i }function ap(d,c){return d.offsetScore!==c.offsetScore?d.offsetScore-c.offsetScore:d.abbrScore!==c.abbrScore?d.abbrScore-c.abbrScore:c.zone.population-d.zone.population }function ao(f,d){var h,g; for(az(d),h=0; h<d.length; h++){g=d[h],T[g]=T[g]||{},T[g][f]=!0 }}function an(i){var h,n,m,l=i.length,k={},j=[]; for(h=0; h<l; h++){m=T[i[h].offset]||{}; for(n in m){m.hasOwnProperty(n)&&(k[n]=!0) }}for(h in k){k.hasOwnProperty(h)&&j.push(U[h]) }return j }function am(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone; if(t){var s=U[ak(t)]; if(s){return s }ac("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.") }}catch(r){}var q,p,o,n=aq(),m=n.length,l=an(n),j=[]; for(p=0; p<l.length; p++){for(q=new at(ai(l[p]),m),o=0; o<m; o++){q.scoreOffsetAt(n[o]) }j.push(q) }return j.sort(ap),j.length>0?j[0].zone.name:void 0 }function al(b){return Y&&!b||(Y=am()),Y }function ak(b){return(b||"").toLowerCase().replace(/\//g,"_") }function aj(g){var f,j,i,h; for("string"==typeof g&&(g=[g]),f=0; f<g.length; f++){i=g[f].split("|"),j=i[0],h=ak(j),W[h]=g[f],U[h]=j,i[5]&&ao(h,i[2].split(" ")) }}function ai(f,e){f=ak(f); var h,g=W[f]; return g instanceof av?g:"string"==typeof g?(g=new av(g),W[f]=g,g):V[f]&&e!==ai&&(h=ai(V[f],ai))?(g=W[f]=new av,g._set(h),g.name=U[f],g):null }function ah(){var d,c=[]; for(d in U){U.hasOwnProperty(d)&&(W[d]||W[V[d]])&&U[d]&&c.push(U[d]) }return c.sort() }function ag(g){var f,j,i,h; for("string"==typeof g&&(g=[g]),f=0; f<g.length; f++){j=g[f].split("|"),i=ak(j[0]),h=ak(j[1]),V[i]=h,U[i]=j[0],V[h]=i,U[h]=j[1] }}function af(b){aj(b.zones),ag(b.links),ab.dataVersion=b.version }function ae(b){return ae.didShowError||(ae.didShowError=!0,ac("moment.tz.zoneExists('"+b+"') has been deprecated in favor of !moment.tz.zone('"+b+"')")),!!ai(b) }function ad(b){return !(!b._a||void 0!==b._tzm) }function ac(b){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(b) }function ab(a){var j=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],h=ai(i),g=aC.utc.apply(null,j); return h&&!aC.isMoment(a)&&ad(g)&&g.add(h.parse(g),"minutes"),g.tz(i),g }function aa(b){return function(){return this._z?this._z.abbr(this):b.call(this) } }function Z(b){return function(){return this._z=null,b.apply(this,arguments) } }var Y,X="0.5.13",W={},V={},U={},T={},S=aC.version.split("."),R=+S[0],Q=+S[1]; (R<2||2===R&&Q<6)&&ac("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+aC.version+". See momentjs.com"),av.prototype={_set:function(b){this.name=b.name,this.abbrs=b.abbrs,this.untils=b.untils,this.offsets=b.offsets,this.population=b.population },_index:function(f){var e,h=+f,g=this.untils; for(e=0; e<g.length; e++){if(h<g[e]){return e }}},parse:function(r){var q,p,o,n,m=+r,l=this.offsets,k=this.untils,j=k.length-1; for(n=0; n<j; n++){if(q=l[n],p=l[n+1],o=l[n?n-1:n],q<p&&ab.moveAmbiguousForward?q=p:q>o&&ab.moveInvalidForward&&(q=o),m<k[n]-60000*q){return l[n] }}return l[j] },abbr:function(b){return this.abbrs[this._index(b)] },offset:function(b){return this.offsets[this._index(b)] }},at.prototype.scoreOffsetAt=function(b){this.offsetScore+=Math.abs(this.zone.offset(b.at)-b.offset),this.zone.abbr(b.at).replace(/[^A-Z]/g,"")!==b.abbr&&this.abbrScore++ },ab.version=X,ab.dataVersion="",ab._zones=W,ab._links=V,ab._names=U,ab.add=aj,ab.link=ag,ab.load=af,ab.zone=ai,ab.zoneExists=ae,ab.guess=al,ab.names=ah,ab.Zone=av,ab.unpack=aw,ab.unpackBase60=aA,ab.needsOffset=ad,ab.moveInvalidForward=!0,ab.moveAmbiguousForward=!1; var P=aC.fn; aC.tz=ab,aC.defaultZone=null,aC.updateOffset=function(a,h){var g,f=aC.defaultZone; void 0===a._z&&(f&&ad(a)&&!a._isUTC&&(a._d=aC.utc(a._a)._d,a.utc().add(f.parse(a),"minutes")),a._z=f),a._z&&(g=a._z.offset(a),Math.abs(g)<16&&(g/=60),void 0!==a.utcOffset?a.utcOffset(-g,h):a.zone(g,h)) },P.tz=function(a){return a?(this._z=ai(a),this._z?aC.updateOffset(this):ac("Moment Timezone has no data for "+a+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0 },P.zoneName=aa(P.zoneName),P.zoneAbbr=aa(P.zoneAbbr),P.utc=Z(P.utc),aC.tz.setDefault=function(a){return(R<2||2===R&&Q<9)&&ac("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+aC.version+"."),aC.defaultZone=a?ai(a):null,aC }; var O=aC.momentProperties; return"[object Array]"===Object.prototype.toString.call(O)?(O.push("_z"),O.push("_a")):O&&(O._z=null),af({version:"2017b",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Khartoum|EAT|-30|0||51e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Maputo|CAT|-20|0||26e5","Africa/Cairo|EET EEST|-20 -30|01010|1M2m0 gL0 e10 mn0|15e6","Africa/Casablanca|WET WEST|0 -10|0101010101010101010101010101010101010101010|1H3C0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Tripoli|EET CET CEST|-20 -10 -20|0120|1IlA0 TA0 1o00|11e5","Africa/Windhoek|WAST WAT|-20 -10|01010101010101010101010|1GQo0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|HST HDT|a0 90|01010101010101010101010|1GIc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1GIb0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Araguaina|-03 -02|30 20|010|1IdD0 Lz0|14e4","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1GTf0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Bahia|-02 -03|20 30|01|1GCq0|27e5","America/Mexico_City|CST CDT|60 50|01010101010101010101010|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/La_Paz|-04|40|0||19e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1GI90 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|01010101010101010101010|1GCr0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0|77e4","America/Cancun|CST CDT EST|60 50 50|01010102|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|-0430 -04|4u 40|01|1QMT0|29e5","America/Chicago|CST CDT|60 50|01010101010101010101010|1GI80 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT|70 60|01010101010101010101010|1GQx0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Phoenix|MST|70|0||42e5","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/New_York|EST EDT|50 40|01010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Rio_Branco|-04 -05|40 50|01|1KLE0|31e4","America/Fort_Nelson|PST PDT MST|80 70 70|01010102|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Halifax|AST ADT|40 30|01010101010101010101010|1GI60 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02|30 20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|EST EDT AST|50 40 40|010101012|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1GQt0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Metlakatla|PST AKST AKDT|80 90 80|0121212121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1GI50 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Montevideo|-02 -03|20 30|01010101|1GI40 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Noronha|-02|20|0||30e2","America/Port-au-Prince|EST EDT|50 40|010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e5","Antarctica/Palmer|-03 -04|30 40|010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","America/Santiago|-03 -04|30 40|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0|62e5","America/Sao_Paulo|-02 -03|20 30|01010101010101010101010|1GCq0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1GI5u 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|010|1GAF0 blz0|10","Antarctica/Davis|+05 +07|-50 -70|01|1GAI0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Pacific/Guadalcanal|+11|-b0|0||11e4","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Asia/Baghdad|+03|-30|0||66e5","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST|-20 -30|010101010101010101010|1GPy0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Baku|+04 +05|-40 -50|010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|+07|-70|0||15e6","Asia/Barnaul|+07 +06|-70 -60|010|1N7v0 3rd0","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1GNy0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Manila|+08|-80|0||24e6","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+10 +08 +09|-a0 -80 -90|012|1N7s0 3re0|33e4","Asia/Ulaanbaatar|+08 +09|-80 -90|01010|1O8G0 1cJ0 1cP0 1cJ0|12e5","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1GPy0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Asia/Dili|+09|-90|0||19e4","Asia/Dubai|+04|-40|0||39e5","Asia/Famagusta|EET EEST +03|-20 -30 -30|01010101012|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1GPy0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Hovd|+07 +08|-70 -80|01010|1O8H0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|+09 +08|-90 -80|01|1N7t0|60e4","Europe/Istanbul|EET EEST +03|-20 -30 -30|01010101012|1GNB0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1GPA0 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Yakutsk|+10 +09|-a0 -90|01|1N7s0|28e4","Asia/Krasnoyarsk|+08 +07|-80 -70|01|1N7u0|10e5","Asia/Magadan|+12 +10 +11|-c0 -a0 -b0|012|1N7q0 3Cq0|95e3","Asia/Makassar|WITA|-80|0||15e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Novosibirsk|+07 +06|-70 -60|010|1N7v0 4eN0|15e5","Asia/Omsk|+07 +06|-70 -60|01|1N7v0|12e5","Asia/Pyongyang|KST KST|-90 -8u|01|1P4D0|29e5","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Sakhalin|+11 +10|-b0 -a0|010|1N7r0 3rd0|58e4","Asia/Seoul|KST|-90|0||23e6","Asia/Srednekolymsk|+12 +11|-c0 -b0|01|1N7q0|35e2","Asia/Tehran|+0330 +0430|-3u -4u|01010101010101010101010|1GLUu 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Asia/Tomsk|+07 +06|-70 -60|010|1N7v0 3Qp0|10e5","Asia/Vladivostok|+11 +10|-b0 -a0|01|1N7r0|60e4","Asia/Yekaterinburg|+06 +05|-60 -50|01|1N7w0|14e5","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1GQg0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1GQgu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1GQf0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0|","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0|","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/GMT-1|+01|-10|0|","Pacific/Fakaofo|+13|-d0|0||483","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0|","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Astrakhan|+04 +03|-40 -30|010|1N7y0 3rd0","Europe/London|GMT BST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Kaliningrad|+03 EET|-30 -20|01|1N7z0|44e4","Europe/Volgograd|+04 +03|-40 -30|01|1N7y0|10e5","Europe/Moscow|MSK MSK|-40 -30|01|1N7y0|16e6","Europe/Saratov|+04 +03|-40 -30|010|1N7y0 5810","Europe/Simferopol|EET EEST MSK MSK|-20 -30 -40 -30|0101023|1GNB0 1qM0 11A0 1o00 11z0 1nW0|33e4","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4","Pacific/Fiji|+13 +12|-d0 -c0|01010101010101010101010|1Goe0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+1130 +11|-bu -b0|01|1PoCu|25e4","Pacific/Tongatapu|+13 +14|-d0 -e0|01010101010101|1S4d0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0|75e3"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Addis_Ababa","Africa/Khartoum|Africa/Asmara","Africa/Khartoum|Africa/Asmera","Africa/Khartoum|Africa/Dar_es_Salaam","Africa/Khartoum|Africa/Djibouti","Africa/Khartoum|Africa/Juba","Africa/Khartoum|Africa/Kampala","Africa/Khartoum|Africa/Mogadishu","Africa/Khartoum|Africa/Nairobi","Africa/Khartoum|Indian/Antananarivo","Africa/Khartoum|Indian/Comoro","Africa/Khartoum|Indian/Mayotte","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Chihuahua|America/Mazatlan","America/Chihuahua|Mexico/BajaSur","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Ojinaga","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/La_Paz|America/Boa_Vista","America/La_Paz|America/Guyana","America/La_Paz|America/Manaus","America/La_Paz|America/Porto_Velho","America/La_Paz|Brazil/West","America/La_Paz|Etc/GMT+4","America/Lima|America/Bogota","America/Lima|America/Guayaquil","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Dawson","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|America/Whitehorse","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Canada/Yukon","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/East-Saskatchewan","America/Managua|Canada/Saskatchewan","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Rio_Branco|America/Eirunepe","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","Antarctica/Palmer|America/Punta_Arenas","Asia/Baghdad|Antarctica/Syowa","Asia/Baghdad|Asia/Aden","Asia/Baghdad|Asia/Bahrain","Asia/Baghdad|Asia/Kuwait","Asia/Baghdad|Asia/Qatar","Asia/Baghdad|Asia/Riyadh","Asia/Baghdad|Etc/GMT-3","Asia/Baghdad|Europe/Minsk","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Qyzylorda","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dili|Etc/GMT-9","Asia/Dili|Pacific/Palau","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Samara","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Makassar|Asia/Ujung_Pandang","Asia/Manila|Asia/Brunei","Asia/Manila|Asia/Kuala_Lumpur","Asia/Manila|Asia/Kuching","Asia/Manila|Asia/Singapore","Asia/Manila|Etc/GMT-8","Asia/Manila|Singapore","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Choibalsan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Vladivostok|Asia/Ust-Nera","Asia/Yakutsk|Asia/Khandyga","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Astrakhan|Europe/Ulyanovsk","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Europe/Volgograd|Europe/Kirov","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Fakaofo|Etc/GMT-13","Pacific/Fakaofo|Pacific/Enderbury","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guadalcanal|Antarctica/Macquarie","Pacific/Guadalcanal|Etc/GMT-11","Pacific/Guadalcanal|Pacific/Efate","Pacific/Guadalcanal|Pacific/Kosrae","Pacific/Guadalcanal|Pacific/Noumea","Pacific/Guadalcanal|Pacific/Pohnpei","Pacific/Guadalcanal|Pacific/Ponape","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga"]}),aC }); (function(a){var b={}; function c(e){if(b[e]){return b[e].exports }var d=b[e]={i:e,l:false,exports:{}}; a[e].call(d.exports,d,d.exports,c); d.l=true; return d.exports }c.m=a; c.c=b; c.d=function(e,f,d){if(!c.o(e,f)){Object.defineProperty(e,f,{configurable:false,enumerable:true,get:d}) }}; c.n=function(e){var d=e&&e.__esModule?function f(){return e["default"] }:function g(){return e }; c.d(d,"a",d); return d }; c.o=function(d,e){return Object.prototype.hasOwnProperty.call(d,e) }; c.p=""; return c(c.s=152) })({152:(function(b,a,c){c(153); c(154); c(155); c(156); c(157); c(16); c(158); c(159); c(160); c(161); c(162); c(3); b.exports=c(163) }),153:(function(b,a,c){window.Bootstrap=function(){return{jQuery:jQuery.noConflict()} }() }),154:(function(d,c,h){function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var f=Bootstrap.jQuery,b={ie:"MSIE ",edge:"rv:",ff:"Firefox/",safari:"Safari/",chrome:"Chrome/"},a={android:"Android",iphone:"iPhone OS"}; var e=function(){function i(){g(this,i); this.setUpUserAgentString(); this.setUpUserAgent(); this.useUserAgent() }i.prototype.setUpUserAgentString=function m(){this.userAgentString=navigator.userAgent }; i.prototype.setUpUserAgent=function l(){for(var q in b){var o=this.constructor.fetchBrowserVersion(this.userAgentString,b[q]); if(o){this.userAgent=q+"-"+o }}for(var n in a){var p=this.constructor.fetchBrowserVersion(this.userAgentString,a[n]); if(p){this.userAgent+=" "+n+"-"+p }}}; i.prototype.useUserAgent=function j(){f("html").addClass(this.userAgent) }; i.fetchBrowserVersion=function k(p,q){var o=p.split(q); var n=void 0; if(o.length===2){n=parseInt(o[1],10) }return n }; return i }(); new e() }),155:(function(c,a,g){function f(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var e=Bootstrap.jQuery,b={fieldsForValidation:"[data-validation-message]"}; var d=function(){function i(){f(this,i) }i.init=function j(){this.bindUIEvents() }; i.bindUIEvents=function h(){var k=e(b.fieldsForValidation); k.on("invalid",function(m){var l=e(m.target).data("validation-message"); if(l!==""){m.target.setCustomValidity(l) }}).on("input",function(m){var l=e(m.target).data("validation-message"); m.target.setCustomValidity(""); if(m.target.validity.valid!==undefined&&!m.target.validity.valid&&l!==""){m.target.setCustomValidity(l) }}); e(window).on("load",function(){e.each(k,function(l,m){m.setCustomValidity("") }) }) }; return i }(); e(document).ready(function(){return d.init() }) }),156:(function(b,a,c){(function(f){var d=["Edit","Design","Developer","Preview"],e=typeof parent.Granite!=="undefined"&&typeof parent.Granite.author!=="undefined"&&typeof parent.Granite.author.layerManager!=="undefined"&&d.indexOf(parent.Granite.author.layerManager.getCurrentLayer())!==-1; if(f("body").data("exit-intent-confirm")&&!e){if("onbeforeunload" in window){f(window).on("beforeunload",function(){return" " }) }else{if("onunload" in window){f(window).on("onunload",function(){return" " }) }else{f(document).on("pagehide",function(){return" " }) }}}})(Bootstrap.jQuery) }),157:(function(b,a,c){(function(){window.GPWS=window.GPWS||{} })() }),158:(function(c,a,f){function e(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var d=Bootstrap.jQuery,b={anchorDataVisuallyHidden:'.text a[title],.text a[target="_blank"],table a[title],table a[target="_blank"],[class*="A-PAR"] a[title],[class*="A-PAR"] a[target="_blank"], [class*="A-TYP"] a[title],[class*="A-TYP"] a[target="_blank"],[class*="A-BBS"] a[title]',linkTextWrapper:'[aria-hidden="true"]',visuallyHidden:".visuallyhidden",body:"body"},h={visuallyHiddenTagString:'<span class="visuallyhidden"></span>',linkTextWrapperTagString:'<span aria-hidden="true"></span>',visuallyHiddenString:"visuallyhidden",title:"title",globalSettingsDataKey:"global-settings"}; var g=function(){function m(){e(this,m) }m.init=function l(){this.addVisuallyHiddenTag() }; m.addVisuallyHiddenTag=function k(){var n=d(b.anchorDataVisuallyHidden); var o=this.newWindowLinkText(); d.each(n,function(s,t){var x=d(t); var u=x.text()||""; var q=x.find(b.visuallyHidden); var w=x.find(b.linkTextWrapper); var v=x.attr("target")==="_blank"; var p=x.attr(h.title)||""; var r=q.text()||""; if((p!==""||o.length)&&u.length&&!r.length){q.remove(); u=(x.text()||"").trim(); x.empty(); r=u+" "+p+(v?" "+o:""); w=d(h.linkTextWrapperTagString); x.append(w); w.html(u); q=d(h.visuallyHiddenTagString); x.append(q); q.html(r); x.removeAttr(h.title) }}) }; m.fetchGlobalSettings=function j(){return d(b.body).data(h.globalSettingsDataKey)||{} }; m.newWindowLinkText=function i(){return this.fetchGlobalSettings().newWindowLinkText||"" }; return m }(); d(window).load(function(){return g.init() }) }),159:(function(b,d,a){function e(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}var c="a[target='_blank']",g="noopener",h={childList:true,attributes:true,characterData:true,subtree:true},f=Bootstrap.jQuery; var i=function(){function m(){e(this,m) }m.init=function n(){this.timer=undefined; this.bindUIEvents(); this.setNoOpenerAttr() }; m.bindUIEvents=function k(){var o=this; if(window.MutationObserver){new MutationObserver(function(){return o.handleDOMChange() }).observe(document.body,h) }else{f("body").on("DOMNodeInserted",c,function(p){return o.setNoOpenerAttr(f(p.target)) }) }}; m.setNoOpenerAttr=function l(){var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:f(c); o.each(function(){var q=f(this),p=q.attr("rel"); if(typeof p==="undefined"){q.attr("rel",g) }else{if(!p.toLowerCase().includes(g)){q.attr("rel",p+" "+g) }}}) }; m.handleDOMChange=function j(){var o=this; if(typeof this.timer==="undefined"){this.timer=setTimeout(function(){o.setNoOpenerAttr(); o.timer=undefined },10) }}; return m }(); f(document).ready(function(){return i.init() }) }),16:(function(c,b,f){b.__esModule=true; b.Bank_utils=undefined; var e=f(2); var a=d(e); function d(h){return h&&h.__esModule?h:{"default":h} }var g=function(){var C=[],t=[],P=["a","button","input",'[tabindex="0"]'],l={small:480,medium:960},D={ENTER:13,SPACE:32,UP:38,DOWN:40,LEFT:37,RIGHT:39,ESC:27,TAB:9,SHIFT:16},R={mobile:7,tablet:9,desktop:10},I=navigator.userAgent,i=I.toLowerCase().indexOf("firefox")>-1,y=I.includes("MSIE")||navigator.appVersion.indexOf("Trident/index.html")>0,S=I.includes("Chrome"),n=I.includes("Safari")&&!S&&!/(CriOS|FxiOS|OPiOS|mercury|UCBrowser|QQBrowser)/i.test(I),T=Number(I.split("OS ").slice(1).join().slice(0,3).replace("_","."))<6,M=/iphone|ipad|ipod/i.test(I),E=/android/i.test(I),k=(0,a["default"])("body").is('[class*="globalSmart"]'),w=typeof utag_data!=="undefined",x=A(),h=p(),H=null,s=200,G=/iphone|android|webos|ipad|ipod|blackberry|iemobile|opera mini|Windows Phone/i.test(I); function v(){var X=(0,a["default"])("a[href^=tel]"); if(!G){X.addClass("no-link").attr("role","presentation").click(function(Y){Y.preventDefault() }) }}function J(X){C.push(X); if(X.reinitIfParent){t.push(X) }}function F(X){C.splice(X,1) }function j(X,Z){var Y=void 0; if(K()){Y=(0,a["default"])(Z).find(X.selector) }else{Y=(0,a["default"])(Z.querySelectorAll(X.selector)) }Y.each(function(){if(!this.gpwsInitialized){B(X,this) }}) }function B(X,Y){Y.gpwsInitialized=true; X.init(Y) }function Q(aa){var Z=aa||document.body; for(var Y=0; Y<C.length; Y++){var X=C[Y]; if(aa&&(0,a["default"])(Z).is(X.selector)){B(X,Z) }else{j(X,Z) }}v() }function r(Z){do{Z=Z.parentNode }while(Z&&!Z.gpwsInitialized); if(!Z){return }for(var Y=0; Y<t.length; Y++){var X=t[Y]; if((0,a["default"])(Z).is(X.selector)){X.reinit(Z); return }}}function V(){var X=["Edit","Design","Developer"]; return typeof parent.Granite!=="undefined"&&typeof parent.Granite.author!=="undefined"&&typeof parent.Granite.author.layerManager!=="undefined"&&X.indexOf(parent.Granite.author.layerManager.getCurrentLayer())!==-1 }function u(){var X=["Preview"]; return typeof parent.Granite!=="undefined"&&typeof parent.Granite.author!=="undefined"&&typeof parent.Granite.author.layerManager!=="undefined"&&X.indexOf(parent.Granite.author.layerManager.getCurrentLayer())!==-1 }function L(){var X=false; if(parent.document&&(0,a["default"])(parent.document.documentElement).attr("id")==="patternlab-html"){X=true }return X }function K(){return document.addEventListener?false:true }function N(aa){var Z=C.length,Y=null,X=0; if(aa.prevLayer!==aa.layer){if(aa.layer==="Edit"){Y="switchToEditHandler" }else{if(aa.layer==="Preview"){Y="switchToPreviewHandler" }}for(X; X<Z; X++){if(C[X][Y]){C[X][Y]() }}}}function A(){return{mobile:p()==="mobile",tablet:p()==="tablet",desktop:p()==="desktop"} }function p(){var Y="mobile",X=window.innerWidth; if(X<l.small){Y="mobile" }else{if(X>=l.medium){Y="desktop" }else{Y="tablet" }}return Y }function U(){return R[p()] }function z(){var Y=200,Z=1,X=300; if(H){return }H=setInterval(aa,X); function aa(){Q(); if(Z===Y){clearInterval(H); H=null }Z++ }}function q(X,af,ae,ad){var ab=void 0,Y=void 0,ac=void 0,Z=void 0,aa=void 0; ae=ae||{}; ab=ae?ae.expires:null; if(typeof ab==="number"){aa=new Date(); aa.setTime(aa.getTime()+ab*ad); ae.expires=aa; ab=ae.expires }if(ab&&ab.toUTCString){ae.expires=ab.toUTCString() }af=encodeURIComponent(af); Y=X+"="+af; for(ac in ae){if(ae.hasOwnProperty(ac)&&ae[ac]){Y+="; "+ac; Z=ae[ac]; if(Z!==true){Y+="="+Z }}}document.cookie=Y }function O(X,Z,Y){q(X,"",{domain:Y,path:Z,expires:0},-1) }function o(X){var Z=new RegExp("(?:^|; )"+X+"=([^;]*)"),Y=document.cookie.match(Z); return Y?decodeURIComponent(Y[1]):undefined }function W(Y,X){var ab=void 0,ac=void 0,aa=void 0,Z=void 0; X=X||location.href; Y=Y||""; Y=Y.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"); ab=new RegExp("[\\?&]"+Y+"=([^&#]*)"); ac=ab.exec(X); aa=ac==null?null:ac[1]; Z=aa!=null?decodeURIComponent(aa.replace(/\+/g,"%20")):null; return Z }function m(Y){var X=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false; Y.animate({height:0},s,function(){if(X){Y.remove() }}) }(0,a["default"])(window).on("resize",function(){var X=p(); if(X!==h){h=X; window.Bank_utils.matchMedia=A() }}); (0,a["default"])(document).ready(function(){Q() }); (0,a["default"])(window).on("load",function(){if(V()||u()){setTimeout(Q,300) }else{z() }}); return{deregisterComponent:F,init:Q,isEditMode:V,isPreviewMode:u,isPatternLab:L,registerComponent:J,reinitializeParent:r,isIE8orLower:K,dispatchLayerSwitchEvent:N,setCookie:q,getCookie:o,deleteCookie:O,keyCodes:D,matchMedia:x,getMatchMediaUnit:U,focusables:P,getUrlParam:W,collapseElement:m,isFirefox:i,isInternetExplorer:y,isChrome:S,isSafari:n,iOSLowerVersion:T,isMobileiOS:M,isMobileAndroid:E,isSmartTemplate:k,isTealiumReady:w} }(); window.Bank_utils=g; b.Bank_utils=g }),160:(function(d,a,h){function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var f=Bootstrap.jQuery,e=f("body"),c={noOutlines:"no-outlines"}; var b=function(){function i(){g(this,i) }i.init=function j(){e.on("mousedown",function(){return e.addClass(c.noOutlines) }).on("keydown",function(){return e.removeClass(c.noOutlines) }) }; return i }(); b.init() }),161:(function(e,i,d){var c=d(3); function j(q,r){if(!(q instanceof r)){throw new TypeError("Cannot call a class as a function") }}var k=Bootstrap.jQuery,o={wrapper:".messaging-banner",smartBanner:".smart-banner",trackEvent:".smart-banner-install",closeButton:".smart-banner-close"},g={smartBanner:"smart-banner",isIOS:"has-ios-banner",isAndroid:"has-android-banner"},a={appId:k('meta[name="apple-itunes-app"]').attr("content"),iosAppUrl:k('meta[name="app-itunes"]').attr("content"),androidAppUrl:k('meta[name="app-google-play"]').attr("content"),pageUrl:Bank_utils.isTealiumReady&&utag_data.page_url?utag_data.page_url:document.location.pathname,title:k('meta[name="app-title"]').attr("content"),desc:k('meta[name="app-desc"]').attr("content"),viewBtnTxt:k('meta[name="app-view-label"]').attr("content")||"View",closeLabel:k('meta[name="app-close-label"]').attr("content")||"Close"},h=k("body"),p=k(o.wrapper); var l="smartBanner"+a.appId,b=Bank_utils.getCookie(l),f=b?parseInt(b,10):0,n=window.location.host; var m=function(){function x(){j(this,x) }x.init=function z(){this.bindUIEvents(); this.setSmartBanner() }; x.bindUIEvents=function q(){var D=this; var B=p.find(o.trackEvent),C=p.find(o.closeButton); B.on("click",function(E){c.TealiumUtils.trackEvent({event_type:"click",page_url:a.pageUrl,event_category:"content",event_action:"button click",event_content:"view smart banner"}) }); C.on("click",function(E){h.removeClass(g.isIOS+" "+g.isAndroid); p.find(o.smartBanner).remove(); D.bindTriggeredEvents(); c.TealiumUtils.trackEvent({event_type:"click",page_url:a.pageUrl,event_category:"content",event_action:"button click",event_content:"close smart banner"}); Bank_utils.setCookie(l,"2",{domain:"."+n,path:"/",expires:1}) }) }; x.bindTriggeredEvents=function t(){k(window).trigger("resize_when_banner_closed") }; x.tealiumLoadEvent=function y(){c.TealiumUtils.trackEvent({event_type:"load",page_url:a.pageUrl,event_category:"content",event_action:"popup",event_content:"smart banner popup"}) }; x.setSmartBanner=function w(){var B=arguments.length>0&&arguments[0]!==undefined?arguments[0]:k(o.smartBanner); if(f===undefined||k.inArray(f,[0,1])>=0){if(Bank_utils.isMobileiOS&&this.isEnabledIOS()){if(!Bank_utils.isSafari||Bank_utils.iOSLowerVersion){this.iOSBannerLoad(); this.bindUIEvents() }}else{if(Bank_utils.isMobileAndroid&&this.isEnabledAndroid()){this.androidBannerLoad(); this.bindUIEvents() }}Bank_utils.setCookie(l,"1",{domain:"."+n,path:"/",expires:1}) }}; x.isEnabledAndroid=function v(){return a.androidAppUrl }; x.isEnabledIOS=function s(){return a.iosAppUrl }; x.iOSBannerLoad=function A(){var B=this.bannerTemplate("ios"); p.prepend(B); h.addClass(g.isIOS); this.tealiumLoadEvent() }; x.androidBannerLoad=function r(){var B=this.bannerTemplate("android"); p.prepend(B); h.addClass(g.isAndroid); this.tealiumLoadEvent() }; x.bannerTemplate=function u(B){if(B=="ios"){return'\n<div class="'+g.smartBanner+'-wrapper"><div id="'+g.smartBanner+'" class="'+g.smartBanner+'">\n <button id="smart-banner-close" class="smart-banner-close" role="button" aria-label=" smartBannerParam.closeLabel}">\n <span aria-hidden="true">×</span>\n </button>\n <span class="smart-banner-logo"></span>\n <p class="smart-banner-title">'+a.title+"\n <span>"+a.desc+'</span>\n </p>\n <p class="smart-banner-install">\n <a id="smart-banner-install" href="'+a.iosAppUrl+'" target="_blank">'+a.viewBtnTxt+"</a>\n </p>\n<br /></div></div>" }else{if(B=="android"){return'\n<div class="'+g.smartBanner+'-wrapper"><div id="'+g.smartBanner+'" class="'+g.smartBanner+'">\n <span class="smart-banner-logo"></span>\n <button id="smart-banner-close" class="smart-banner-close" role="button" aria-label="'+a.closeLabel+'">\n <span aria-hidden="true">×</span>\n </button>\n <p class="smart-banner-title">'+a.title+"\n <span>"+a.desc+'</span>\n </p>\n <p class="smart-banner-install">\n <a id="smart-banner-install" href="'+a.androidAppUrl+'" target="_blank">'+a.viewBtnTxt+"</a>\n </p>\n<br /></div></div>" }}}; return x }(); k(window).load(function(){return m.init() }) }),162:(function(d,b,g){function f(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var e=Bootstrap.jQuery,c={smartTemplate:'[class*="globalSmart"]',buttons:".buttons-vertically"}; var a=function(){function h(){f(this,h) }h.init=function k(){this.$smartTemplate=e(c.smartTemplate); this.$buttons=this.$smartTemplate.find(c.buttons); this.setButtonsWidth(this.$buttons); this.bindUIEvents() }; h.setButtonsWidth=function j(l){l.width("auto"); var m=216,n=Math.max.apply(null,l.map(function(p,q){return e(q).width() }).get()),o=100; if(n>m&&!Bank_utils.matchMedia.mobile){l.width(n) }else{if(Bank_utils.matchMedia.mobile){l.width(o+"%") }else{l.width(m) }}}; h.bindUIEvents=function i(){var l=this; e(window).on("resize",function(){return l.setButtonsWidth(l.$buttons) }) }; return h }(); a.init() }),163:(function(f,i,e){i.__esModule=true; i.trim=g; i.trimElements=a; var j=e(2); var c=m(j); function m(n){return n&&n.__esModule?n:{"default":n} }var h={oneWord:"one-word"},b=/^\s+/,d=/\s+$/,k=[".link-container .link"],l=[".visuallyhidden"]; function g(o){function p(s){if(s.nodeType===Node.TEXT_NODE){s.data=s.data.replace(b,""); return s.data.length===0 }else{var q=0; var r=s.childNodes.length; while(q<r&&p(s.childNodes[q])){q=q+1 }return q===r }}function n(s){if(s.nodeType===Node.TEXT_NODE){s.data=s.data.replace(d,""); return s.data.length===0 }else{var q=1; var r=s.childNodes.length; while(q<=r&&n(s.childNodes[r-q])){q=q+1 }return q>r }}n(o); p(o) }function a(){k.map(function(n){return(0,c["default"])(n) }).forEach(function(n){n.each(function(){var o=(0,c["default"])(this),q=o.text().trim(),p=q.split(" ").length; g(o[0]); if(p===1){o.addClass(h.oneWord) }}) }); l.map(function(n){return(0,c["default"])(n) }).forEach(function(n){n.each(function(){var o=(0,c["default"])(this); o.html(o.text()); o.text(o.html(o.text()).text()) }) }) }a() }),2:(function(b,a){b.exports=jQuery }),3:(function(c,b,d){b.__esModule=true; var e=b.TealiumUtils={trackEvent:function a(f){var g=window.TMS||null; if(f&&g){g.trackEvent(f) }}} })}); /*! * mustache.js - Logic-less {{mustache}} templates with JavaScript * http://github.com/janl/mustache.js */ (function defineMustache(b,a){if(typeof exports==="object"&&exports&&typeof exports.nodeName!=="string"){a(exports) }else{if(typeof define==="function"&&define.amd){define(["exports"],a) }else{b.Mustache={}; a(b.Mustache) }}}(this,function mustacheFactory(F){var x=Object.prototype.toString; var y=Array.isArray||function d(Q){return x.call(Q)==="[object Array]" }; function u(Q){return typeof Q==="function" }function L(Q){return y(Q)?"array":typeof Q }function i(Q){return Q.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&") }function J(R,Q){return R!=null&&typeof R==="object"&&(Q in R) }var o=RegExp.prototype.test; function c(R,Q){return o.call(R,Q) }var s=/\S/; function E(Q){return !c(s,Q) }var q={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="}; function z(Q){return String(Q).replace(/[&<>"'`=\/]/g,function R(S){return q[S] }) }var t=/\s*/; var C=/\s+/; var l=/\s*=/; var N=/\s*\}/; var r=/#|\^|\/|>|\{|&|=|!/; function e(aj,Y){if(!aj){return[] }var aa=[]; var Z=[]; var V=[]; var ak=false; var ah=false; function ag(){if(ak&&!ah){while(V.length){delete Z[V.pop()] }}else{V=[] }ak=false; ah=false }var ac,X,ai; function W(al){if(typeof al==="string"){al=al.split(C,2) }if(!y(al)||al.length!==2){throw new Error("Invalid tags: "+al) }ac=new RegExp(i(al[0])+"\\s*"); X=new RegExp("\\s*"+i(al[1])); ai=new RegExp("\\s*"+i("}"+al[1])) }W(Y||F.tags); var S=new a(aj); var T,R,ab,ae,U,Q; while(!S.eos()){T=S.pos; ab=S.scanUntil(ac); if(ab){for(var af=0,ad=ab.length; af<ad; ++af){ae=ab.charAt(af); if(E(ae)){V.push(Z.length) }else{ah=true }Z.push(["text",ae,T,T+1]); T+=1; if(ae==="\n"){ag() }}}if(!S.scan(ac)){break }ak=true; R=S.scan(r)||"name"; S.scan(t); if(R==="="){ab=S.scanUntil(l); S.scan(l); S.scanUntil(X) }else{if(R==="{"){ab=S.scanUntil(ai); S.scan(N); S.scanUntil(X); R="&" }else{ab=S.scanUntil(X) }}if(!S.scan(X)){throw new Error("Unclosed tag at "+S.pos) }U=[R,ab,T,S.pos]; Z.push(U); if(R==="#"||R==="^"){aa.push(U) }else{if(R==="/"){Q=aa.pop(); if(!Q){throw new Error('Unopened section "'+ab+'" at '+T) }if(Q[1]!==ab){throw new Error('Unclosed section "'+Q[1]+'" at '+T) }}else{if(R==="name"||R==="{"||R==="&"){ah=true }else{if(R==="="){W(ab) }}}}}Q=aa.pop(); if(Q){throw new Error('Unclosed section "'+Q[1]+'" at '+S.pos) }return m(p(Z)) }function p(V){var R=[]; var T,Q; for(var S=0,U=V.length; S<U; ++S){T=V[S]; if(T){if(T[0]==="text"&&Q&&Q[0]==="text"){Q[1]+=T[1]; Q[3]=T[3] }else{R.push(T); Q=T }}}return R }function m(V){var X=[]; var U=X; var W=[]; var R,T; for(var Q=0,S=V.length; Q<S; ++Q){R=V[Q]; switch(R[0]){case"#":case"^":U.push(R); W.push(R); U=R[4]=[]; break; case"/":T=W.pop(); T[5]=R[2]; U=W.length>0?W[W.length-1][4]:X; break; default:U.push(R) }}return X }function a(Q){this.string=Q; this.tail=Q; this.pos=0 }a.prototype.eos=function K(){return this.tail==="" }; a.prototype.scan=function O(S){var R=this.tail.match(S); if(!R||R.index!==0){return"" }var Q=R[0]; this.tail=this.tail.substring(Q.length); this.pos+=Q.length; return Q }; a.prototype.scanUntil=function I(S){var R=this.tail.search(S),Q; switch(R){case -1:Q=this.tail; this.tail=""; break; case 0:Q=""; break; default:Q=this.tail.substring(0,R); this.tail=this.tail.substring(R) }this.pos+=Q.length; return Q }; function M(R,Q){this.view=R; this.cache={".":this.view}; this.parent=Q }M.prototype.push=function G(Q){return new M(Q,this) }; M.prototype.lookup=function j(T){var R=this.cache; var V; if(R.hasOwnProperty(T)){V=R[T] }else{var U=this,W,S,Q=false; while(U){if(T.indexOf(".")>0){V=U.view; W=T.split("."); S=0; while(V!=null&&S<W.length){if(S===W.length-1){Q=J(V,W[S]) }V=V[W[S++]] }}else{V=U.view[T]; Q=J(U.view,T) }if(Q){break }U=U.parent }R[T]=V }if(u(V)){V=V.call(this.view) }return V }; function k(){this.cache={} }k.prototype.clearCache=function A(){this.cache={} }; k.prototype.parse=function v(S,R){var Q=this.cache; var T=Q[S]; if(T==null){T=Q[S]=e(S,R) }return T }; k.prototype.render=function B(T,Q,S){var U=this.parse(T); var R=(Q instanceof M)?Q:new M(Q); return this.renderTokens(U,R,S,T) }; k.prototype.renderTokens=function n(X,Q,V,Z){var T=""; var S,R,Y; for(var U=0,W=X.length; U<W; ++U){Y=undefined; S=X[U]; R=S[0]; if(R==="#"){Y=this.renderSection(S,Q,V,Z) }else{if(R==="^"){Y=this.renderInverted(S,Q,V,Z) }else{if(R===">"){Y=this.renderPartial(S,Q,V,Z) }else{if(R==="&"){Y=this.unescapedValue(S,Q) }else{if(R==="name"){Y=this.escapedValue(S,Q) }else{if(R==="text"){Y=this.rawValue(S) }}}}}}if(Y!==undefined){T+=Y }}return T }; k.prototype.renderSection=function w(S,Q,V,Y){var Z=this; var U=""; var W=Q.lookup(S[1]); function R(aa){return Z.render(aa,Q,V) }if(!W){return }if(y(W)){for(var T=0,X=W.length; T<X; ++T){U+=this.renderTokens(S[4],Q.push(W[T]),V,Y) }}else{if(typeof W==="object"||typeof W==="string"||typeof W==="number"){U+=this.renderTokens(S[4],Q.push(W),V,Y) }else{if(u(W)){if(typeof Y!=="string"){throw new Error("Cannot use higher-order sections without the original template") }W=W.call(Q.view,Y.slice(S[3],S[5]),R); if(W!=null){U+=W }}else{U+=this.renderTokens(S[4],Q,V,Y) }}}return U }; k.prototype.renderInverted=function b(S,R,Q,U){var T=R.lookup(S[1]); if(!T||(y(T)&&T.length===0)){return this.renderTokens(S[4],R,Q,U) }}; k.prototype.renderPartial=function H(S,R,Q){if(!Q){return }var T=u(Q)?Q(S[1]):Q[S[1]]; if(T!=null){return this.renderTokens(this.parse(T),R,Q,T) }}; k.prototype.unescapedValue=function g(R,Q){var S=Q.lookup(R[1]); if(S!=null){return S }}; k.prototype.escapedValue=function D(R,Q){var S=Q.lookup(R[1]); if(S!=null){return F.escape(S) }}; k.prototype.rawValue=function f(Q){return Q[1] }; F.name="1/2/mustache.html"; F.version="2.3.0"; F.tags=["{{","}}"]; var P=new k(); F.clearCache=function A(){return P.clearCache() }; F.parse=function v(R,Q){return P.parse(R,Q) }; F.render=function B(S,Q,R){if(typeof S!=="string"){throw new TypeError('Invalid template! Template should be a "string" but "'+L(S)+'" was given as the first argument for mustache#render(template, view, partials)') }return P.render(S,Q,R) }; F.to_html=function h(T,R,S,U){var Q=F.render(T,R,S); if(u(U)){U(Q) }else{return Q }}; F.escape=z; F.Scanner=a; F.Context=M; F.Writer=k; return F })); /*! jQuery Mustache - v0.2.8 - 2013-06-23 * https://github.com/jonnyreeves/jquery-Mustache * Copyright (c) 2013 Jonny Reeves; Licensed MIT */ (function(f,h){var b={},l=null,n={warnOnMissingTemplates:false,allowOverwrite:true,domTemplateType:"text/html",externalTemplateDataType:"text"}; function c(){if(l===null){l=h.Mustache; if(l===void 0){f.error("Failed to locate Mustache instance, are you sure it has been loaded?") }}return l }function k(o){return b[o]!==void 0 }function m(o,p){if(!n.allowOverwrite&&k(o)){f.error("TemplateName: "+o+" is already mapped."); return }b[o]=f.trim(p) }function e(){var o; if(arguments.length===0){o=f('script[type="'+n.domTemplateType+'"]').map(function(){return this.id }) }else{o=f.makeArray(arguments) }f.each(o,function(){var p=document.getElementById(this); if(p===null){f.error("No such elementId: #"+this) }else{m(this,f(p).html()) }}) }function d(p){var o=b[p]; delete b[p]; return o }function g(){b={}; c().clearCache() }function a(o,p){if(!k(o)){if(n.warnOnMissingTemplates){f.error("No template registered for: "+o) }return"" }return c().to_html(b[o],p,b) }function j(o,p){return f.ajax({url:o,dataType:n.externalTemplateDataType}).done(function(q){f(q).filter("script").each(function(r,s){m(s.id,f(s).html()) }); if(f.isFunction(p)){p() }}) }function i(){return f.map(b,function(p,o){return o }) }f.Mustache={options:n,load:j,has:k,add:m,addFromDom:e,remove:d,clear:g,render:a,templates:i,instance:l}; f.fn.mustache=function(o,s,q){var r=f.extend({method:"append"},q); var p=function(u,t){f(u)[r.method](a(o,t)) }; return this.each(function(){var t=this; if(f.isArray(s)){f.each(s,function(){p(t,this) }) }else{p(t,s) }}) } }(window.jQuery||Bootstrap.jQuery,window)); (function(a,b){if(typeof define==="function"&&define.amd){define(["mustache"],function(d){b(d||a.Mustache) }) }else{if(typeof exports!=="undefined"){var c=require("mustache"); b(c) }else{b(a.Mustache) }}}(this,function Wax(c){c.Formatters={}; c.Context.prototype.parseParam=function b(h){var f,g,e; f=/^[\'\"](.*)[\'\"]$/g; g=/^[+-]?\d+$/g; e=/^[+-]?\d*\.\d+$/g; if(f.test(h)){return h.replace(f,"$1") }if(g.test(h)){return parseInt(h,10) }if(e.test(h)){return parseFloat(h) }return this._lookup(h) }; c.Context.prototype.applyFilter=function a(h,g){var k,j,e,f,i=[h]; k=/^\s*([^\:]+)/g; j=/\:\s*([\'][^\']*[\']|[\"][^\"]*[\"]|[^\:]+)\s*/g; e=k.exec(g); f=e[1].trim(); while((e=j.exec(g))){i.push(this.parseParam(e[1].trim())) }if(c.Formatters.hasOwnProperty(f)){g=c.Formatters[f]; return g.apply(g,i) }return h }; c.Context.prototype._lookup=c.Context.prototype.lookup; c.Context.prototype.lookup=function d(g){var h,e,j,f; f=g.split("|"); j=f.shift().trim(); j=this._lookup(j); for(h=0,e=f.length; h<e; ++h){j=this.applyFilter(j,f[h]) }return j } })); (function(a){var b={}; function c(e){if(b[e]){return b[e].exports }var d=b[e]={i:e,l:false,exports:{}}; a[e].call(d.exports,d,d.exports,c); d.l=true; return d.exports }c.m=a; c.c=b; c.d=function(e,f,d){if(!c.o(e,f)){Object.defineProperty(e,f,{configurable:false,enumerable:true,get:d}) }}; c.n=function(e){var d=e&&e.__esModule?function f(){return e["default"] }:function g(){return e }; c.d(d,"a",d); return d }; c.o=function(d,e){return Object.prototype.hasOwnProperty.call(d,e) }; c.p=""; return c(c.s=63) })([(function(d,b,g){var a=g(49)("wks"); var c=g(22); var e=g(4).Symbol; var f=typeof e=="function"; var h=d.exports=function(i){return a[i]||(a[i]=f&&e[i]||(f?e:c)("Symbol."+i)) }; h.store=a }),(function(b,a,e){a.__esModule=true; function d(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var c=e(2); var f=a.TealiumObserver=function(){function j(l,k){d(this,j); this.$elements=c(l); this.config=k||{}; this.observe() }j.prototype.observe=function i(){var l=this; var k=this.config.event_type||"click"; this.$elements.on(k,function(m){return l.trigger(m) }) }; j.prototype.trigger=function h(k){if(typeof window.TMS!="undefined"){TMS.trackEvent(j.updateConfig(this.config,k.target)) }}; j.updateConfig=function g(l,m){var k=l; if(typeof l.event_action==="function"){k=c.extend({},k,{event_action:l.event_action(m)||""}) }if(typeof l.event_content==="function"){k=c.extend({},k,{event_content:l.event_content(m)||""}) }return k }; return j }() }),(function(b,a){b.exports=jQuery }),(function(c,b,d){b.__esModule=true; var e=b.TealiumUtils={trackEvent:function a(f){var g=window.TMS||null; if(f&&g){g.trackEvent(f) }}} }),(function(b,a){var c=b.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(); if(typeof __g=="number"){__g=c }}),(function(c,b){var a=c.exports={version:"2.5.7"}; if(typeof __e=="number"){__e=a }}),(function(b,a,e){a.__esModule=true; function d(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var c={findDots:/(\d)(?=(\d{3})+(?:\.\d+)?$)/g},g={defaultBranch:"uk"}; var f=a.FormatUtils=function(){function k(m){d(this,k); this.branch=m||g.defaultBranch }k.prototype.formatNumber=function i(m){return this.branch==="uk"?this.formatNumberUK(Number(m)):m }; k.prototype.formatNumberUK=function l(m){var n=m.toFixed(2).replace(c.findDots,"$1,"); return n.replace(/\.00$/,"") }; k.prototype.formatNumberCalc=function j(m){return m.replace(/\,/,"") }; k.copyJson=function h(m){return JSON.parse(JSON.stringify(m)) }; return k }() }),(function(c,b,e){b.__esModule=true; function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}var a=b.CalculationRules=function(){function g(l){d(this,g); this.rules=l }g.prototype.calculateApr=function j(m){var l=this.rules.find(g.getAmountPredicate(m)); return l?l.apr:this.rules[0].apr }; g.prototype.calculateAmountRange=function i(n){var m=this.rules.filter(g.getMonthsPredicate(n)),l=m.length?m:this.rules; return{min:l[0].minAmount,max:l[l.length-1].maxAmount} }; g.prototype.calculateMonthsRange=function k(m){var l=this.rules.find(g.getAmountPredicate(m)),n=l||this.rules[0]; return{min:n.minMonths,max:n.maxMonths} }; g.getMonthsPredicate=function h(l){return function(m){return m.minMonths<=l.months&&l.months<=m.maxMonths } }; g.getAmountPredicate=function f(l){return function(m){return m.minAmount<=l.amount&&l.amount<=m.maxAmount } }; return g }() }),(function(b,a,e){a.__esModule=true; a.CalculationService=undefined; var c=e(6); function d(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var f=a.CalculationService=function(){function l(m){d(this,l); this.settings=m||{}; this.formatUtils=new c.FormatUtils(this.settings.branch) }l.prototype.getCalculationResults=function j(p){var q=p.apr/100,m=p.months,n=p.amount,o=l.getMonthlyRepayment(q,m,n),r=o*m; return{amount:this.format(n),monthlyRepayment:this.format(o),totalAmount:this.format(r),apr:p.apr} }; l.prototype.format=function k(m){return this.formatUtils.formatNumber(m) }; l.getPmt=function i(o,m,n){return o*n*Math.pow(o+1,m)/(1-Math.pow(o+1,m)) }; l.getNominal=function h(n,m){return(Math.pow(n+1,1/m)-1)*m }; l.getMonthlyRepayment=function g(o,m,n){return this.getPmt(this.getNominal(o,12)/12,m,-n) }; return l }() }),(function(c,b,d){var e=d(10); var a=d(21); c.exports=d(12)?function(f,g,h){return e.f(f,g,a(1,h)) }:function(f,g,h){f[g]=h; return f } }),(function(e,c,g){var b=g(11); var f=g(86); var d=g(87); var h=Object.defineProperty; c.f=g(12)?Object.defineProperty:function a(k,i,l){b(k); i=d(i,true); b(l); if(f){try{return h(k,i,l) }catch(j){}}if("get" in l||"set" in l){throw TypeError("Accessors not supported!") }if("value" in l){k[i]=l.value }return k } }),(function(c,b,d){var a=d(20); c.exports=function(e){if(!a(e)){throw TypeError(e+" is not an object!") }return e } }),(function(b,a,c){b.exports=!c(42)(function(){return Object.defineProperty({},"a",{get:function(){return 7 }}).a!=7 }) }),(function(b,a){var c={}.hasOwnProperty; b.exports=function(e,d){return c.call(e,d) } }),(function(b,a,f){a.__esModule=true; function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var d=Bootstrap.jQuery; var c=a.SearchService=function(){function m(o,p){e(this,m); this.config=o||{}; this.resultsPageSize=p; this.currentId=0 }m.prototype.getSuggestions=function i(s){var u=this; var r=d.Deferred(),p=s.query,t=this.getNextId(),o=4; if(p!=null){var q=Object.assign({token:p,max_matches:o},this.getDefaultData()); this.getRequest(this.config.suggestionsEndpointURL,q).done(function(v){return u.resolveSuggestions(r,JSON.parse(v),t) }).fail(r.reject) }else{this.resolveSuggestions(r,[],t) }return r.promise() }; m.prototype.getNextId=function k(){return isFinite(this.currentId)?++this.currentId:0 }; m.prototype.resolveSuggestions=function h(p,o,q){if(q===this.currentId){p.resolve(o) }}; m.prototype.getSearchResults=function g(u){var o=this; var t=d.Deferred(),s=u.query; if(s){var r=parseInt(u.page,10),q=!isNaN(r)&&r>1?(r-1)*this.resultsPageSize:0,p=Object.assign({q:s.trim(),requiredfields:u.requiredfields,num:this.resultsPageSize,start:q,ie:"utf8",oe:"utf8",filter:0,rc:1},this.getDefaultData()); this.getRequest(this.config.endpointURL,p).done(function(v){t.resolve({results:o.formatSearchRequest(s,v),params:u}) }).fail(t.reject) }else{t.resolve([]) }return t.promise() }; m.prototype.formatSearchRequest=function l(v,s){var r={"application/pdf":"pdf","application/msword":"document","text/richtext":"document","application/x-tar":"attachment","application/zip":"attachment","image/gif":"camera","image/jpeg":"camera","image/png":"camera"}; var q={},u=d.parseXML(s),t=d(u),p=t.find("R"),o=t.find("Spelling").find("Suggestion").attr("q"); q={queryString:v,numberOfResults:t.find("M").text(),firstResult:t.find("RES").attr("SN"),lastResult:t.find("RES").attr("EN"),rows:[],suggestion:o}; if(p){p.map(function(x,A){var w=d(A),y=w.attr("MIME"),z=y?{type:r[y]||"assets",directory:w.find("HN").attr("U")}:{}; q.rows.push({url:w.find("U").text(),title:w.find("T").text(),summary:w.find("S").text(),date:w.find("FS").attr("VALUE"),size:w.find("HAS").find("C").attr("SZ"),CID:w.find("HAS").find("C").attr("CID"),attachment:z,language:w.find("LANG").text(),rank:w.find("RK").text()}) }) }return q }; m.prototype.getRequest=function n(o,q){return d.ajax({method:"GET",url:o,data:q,beforeSend:function p(r){return r.overrideMimeType("text/html; charset=UTF-8") }}) }; m.prototype.getDefaultData=function j(){return{ssid:this.config.ssid,site:this.config.site} }; return m }() }),(function(e,g,d){g.__esModule=true; g.InputWithSliderField=g.InputWithSliderFieldAlly=undefined; var a=d(6); var j=d(66); function i(m,n){if(!(m instanceof n)){throw new TypeError("Cannot call a class as a function") }}g.InputWithSliderFieldAlly=j.InputWithSliderFieldAlly; var k={calcIndicator:".calc-indicator",handle:".calc-slider-handle",handleMonths:".months-slider-handle",handleInBothSliders:".ui-slider-handle",calcSlider:".calc-slider",calcAreas:".calc-areas",message:".message",headingLeft:".heading-left",headingRight:".heading-right"},c={inputInteraction:"change keyup blur"},l={hide:"hide",areaBorder:"area-border",calcIndicator:"calc-indicator",inputError:"input-error"},b={validationMessageSufix:"-validation-message"},h=Bootstrap.jQuery; var f=g.InputWithSliderField=function(){function n(H,I){var G=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null; i(this,n); this.$scope=H; this.fieldSettings=I; this.customValues=G; this.formatUtils=new a.FormatUtils(); this.setRanges(); this._initialiseInput(); this._initialiseSlider(); this.$indicator=this.$slider.find(k.calcIndicator); this.$labelAmount=this.$scope.find(k.headingLeft); this.$labelMonths=this.$scope.find(k.headingRight); this.labelAmountId=this.$labelAmount.attr("id"); this.labelMonthsId=this.$labelMonths.attr("id"); this.$handleInBothSliders=this.$slider.find(k.handleInBothSliders); this.$handleAmount=this.$slider.find(k.handle); this.$handleMonths=this.$slider.find(k.handleMonths); this.allySlider=new j.InputWithSliderFieldAlly(this); this.allySlider.setAriaOnPercentageIndicator(); this.allySlider.setAriaOnSlider(); this.setCalcIndicatorPosition(); this.bindUiEvents() }n.prototype.bindUiEvents=function r(){var G=this; this.$slider.on("mousedown mouseup focus",function(){return G.setCalcIndicatorPosition() }); h(window).on("resize load",function(){return G.setCalcIndicatorPosition() }) }; n.prototype.setRanges=function A(){this.ranges={min:this.fieldSettings.range.min,max:this.fieldSettings.range.max} }; n.prototype.setRange=function D(G){this.fieldSettings.range=G; this.setRanges(); this.$slider.slider(this.ranges); this.$minLabel.html(this.formatUtils.formatNumber(this.fieldSettings.range.min)); this.$maxLabel.html(this.formatUtils.formatNumber(this.fieldSettings.range.max)) }; n.prototype.validateRange=function u(){return this._isInRange(this.fieldSettings.value) }; n.prototype.setAreas=function x(I){var H=this; this.$areas.empty(); var G=I.map(function(J){if(J.min>=H.fieldSettings.range.min&&J.max<=H.fieldSettings.range.max){return(J.max-H.fieldSettings.range.min)*100/(H.fieldSettings.range.max-H.fieldSettings.range.min) }return null }).filter(function(J){return J!=null }); [0].concat(G).forEach(function(J){H.$areas.append('<span class="'+l.areaBorder+'" style="margin-left:'+J+'%"></span>') }) }; n.prototype.setIndicatorValue=function v(G){this.$indicator.text(G) }; n.prototype.getProperValue=function E(){var I=this.fieldSettings.value,H=this.ranges.min,G=this.ranges.max; return I>G?G:I<H?H:I }; n.prototype._initialiseInput=function z(){var G=this; var H="[data-calc-input="+this.fieldSettings.name+"]"; this.$input=h(H+" input",this.$scope); this.$validationMessage=h(H+" "+k.message,this.$scope); h.Mustache.add(this.fieldSettings.name+b.validationMessageSufix,this.$validationMessage.html()); this.$input.val(this.formatUtils.formatNumber(this.getProperValue())); this.$input.on(c.inputInteraction,function(){G._clearValidationMessage(); if(G._isValidNumber(G.$input.val())){G.fieldSettings.value=Number(G.$input.val().replace(/\.|,/g,"")); if(G._isInRange(G.fieldSettings.value)){G._setSliderValue(G.fieldSettings.value); G._triggerUpdate() }else{G._displayValidationMessage(); G._hasError() }}else{G._displayValidationMessage(); G._hasError() }}) }; n.prototype._initialiseSlider=function p(){var J=this; var H="[data-calc-slider="+this.fieldSettings.name+"]"; this.$slider=h(H+" "+k.calcSlider,this.$scope); this.$slider.slider({range:"min",value:this.getProperValue(),min:this.fieldSettings.range.min,max:this.fieldSettings.range.max,step:this.fieldSettings.step,slide:function G(K,L){if(J.customValues){L.value=J.findNearestValue(K,L.value); J._setSliderValue(L.value) }if(J.lastValue!==L.value){J.fieldSettings.value=L.value; J._setInputValue(L.value); J._clearValidationMessage(); J._triggerUpdate(); J.setCalcIndicatorPosition(); J.lastValue=L.value }if(J.customValues){return false }},create:function I(){J.$slider.find(k.handle).html('<span class="'+l.calcIndicator+'"> </span>'); J.setCalcIndicatorPosition(); J.lastValue=J.getProperValue() }}); this.$minLabel=h(H+" [data-calc-label-min]",this.$scope); this.$minLabel.html(this.formatUtils.formatNumber(this.fieldSettings.range.min)); this.$maxLabel=h(H+" [data-calc-label-max]",this.$scope); this.$maxLabel.html(this.formatUtils.formatNumber(this.fieldSettings.range.max)); this.$areas=this.$slider.parent().find(k.calcAreas) }; n.prototype.findNearestValue=function C(I,J){var L=I.keyCode!=h.ui.keyCode.RIGHT,G=I.keyCode!=h.ui.keyCode.LEFT; var H=null,K=null; this.customValues.forEach(function(N){if(L&&N<=J||G&&N>=J){var M=Math.abs(J-N); if(K==null||M<K){H=N; K=M }}}); return H }; n.prototype.setCalcIndicatorPosition=function o(){var L=this.$slider.find(k.calcIndicator).outerWidth(),N=this.$slider.find(k.handle).width(),I=this.fieldSettings.value-this.fieldSettings.range.min,H=this.fieldSettings.range.max-this.fieldSettings.range.min,M=100*(I/H),K=parseInt(M.toFixed(0)),G=L-N,J=K/100*G; this.$slider.find(k.calcIndicator).css("left","-"+J+"px") }; n.prototype._triggerUpdate=function w(){this.$scope.trigger("fieldUpdated",{name:this.fieldSettings.name,value:this.fieldSettings.value}) }; n.prototype._hasError=function t(){this.$scope.trigger("hasError",{name:this.fieldSettings.name,value:this.fieldSettings.value}) }; n.prototype._setInputValue=function F(G){this.$input.val(this.formatUtils.formatNumber(G)) }; n.prototype._setSliderValue=function q(G){this.$slider.slider({value:G}) }; n.prototype._isValidNumber=function B(G){return(/^[,\.0-9]+$/.test(G)) }; n.prototype._isInRange=function s(G){return this.fieldSettings.range.min<=G&&G<=this.fieldSettings.range.max }; n.prototype._displayValidationMessage=function m(){var G=this.$validationMessage.attr("id"); this.$validationMessage.empty(); this.$validationMessage.mustache(this.fieldSettings.name+b.validationMessageSufix,this.fieldSettings.range); this.$input.addClass(l.inputError).attr("aria-describedby",G); this.$validationMessage.removeClass(l.hide) }; n.prototype._clearValidationMessage=function y(){var G=this.$validationMessage.attr("id"); this.$input.removeClass(l.inputError).removeAttr("aria-describedby",G); this.$validationMessage.addClass(l.hide) }; return n }() }),(function(c,b,f){b.__esModule=true; b.Bank_utils=undefined; var e=f(2); var a=d(e); function d(h){return h&&h.__esModule?h:{"default":h} }var g=function(){var C=[],t=[],P=["a","button","input",'[tabindex="0"]'],l={small:480,medium:960},D={ENTER:13,SPACE:32,UP:38,DOWN:40,LEFT:37,RIGHT:39,ESC:27,TAB:9,SHIFT:16},R={mobile:7,tablet:9,desktop:10},I=navigator.userAgent,i=I.toLowerCase().indexOf("firefox")>-1,y=I.includes("MSIE")||navigator.appVersion.indexOf("Trident/index.html")>0,S=I.includes("Chrome"),n=I.includes("Safari")&&!S&&!/(CriOS|FxiOS|OPiOS|mercury|UCBrowser|QQBrowser)/i.test(I),T=Number(I.split("OS ").slice(1).join().slice(0,3).replace("_","."))<6,M=/iphone|ipad|ipod/i.test(I),E=/android/i.test(I),k=(0,a["default"])("body").is('[class*="globalSmart"]'),w=typeof utag_data!=="undefined",x=A(),h=p(),H=null,s=200,G=/iphone|android|webos|ipad|ipod|blackberry|iemobile|opera mini|Windows Phone/i.test(I); function v(){var X=(0,a["default"])("a[href^=tel]"); if(!G){X.addClass("no-link").attr("role","presentation").click(function(Y){Y.preventDefault() }) }}function J(X){C.push(X); if(X.reinitIfParent){t.push(X) }}function F(X){C.splice(X,1) }function j(X,Z){var Y=void 0; if(K()){Y=(0,a["default"])(Z).find(X.selector) }else{Y=(0,a["default"])(Z.querySelectorAll(X.selector)) }Y.each(function(){if(!this.gpwsInitialized){B(X,this) }}) }function B(X,Y){Y.gpwsInitialized=true; X.init(Y) }function Q(aa){var Z=aa||document.body; for(var Y=0; Y<C.length; Y++){var X=C[Y]; if(aa&&(0,a["default"])(Z).is(X.selector)){B(X,Z) }else{j(X,Z) }}v() }function r(Z){do{Z=Z.parentNode }while(Z&&!Z.gpwsInitialized); if(!Z){return }for(var Y=0; Y<t.length; Y++){var X=t[Y]; if((0,a["default"])(Z).is(X.selector)){X.reinit(Z); return }}}function V(){var X=["Edit","Design","Developer"]; return typeof parent.Granite!=="undefined"&&typeof parent.Granite.author!=="undefined"&&typeof parent.Granite.author.layerManager!=="undefined"&&X.indexOf(parent.Granite.author.layerManager.getCurrentLayer())!==-1 }function u(){var X=["Preview"]; return typeof parent.Granite!=="undefined"&&typeof parent.Granite.author!=="undefined"&&typeof parent.Granite.author.layerManager!=="undefined"&&X.indexOf(parent.Granite.author.layerManager.getCurrentLayer())!==-1 }function L(){var X=false; if(parent.document&&(0,a["default"])(parent.document.documentElement).attr("id")==="patternlab-html"){X=true }return X }function K(){return document.addEventListener?false:true }function N(aa){var Z=C.length,Y=null,X=0; if(aa.prevLayer!==aa.layer){if(aa.layer==="Edit"){Y="switchToEditHandler" }else{if(aa.layer==="Preview"){Y="switchToPreviewHandler" }}for(X; X<Z; X++){if(C[X][Y]){C[X][Y]() }}}}function A(){return{mobile:p()==="mobile",tablet:p()==="tablet",desktop:p()==="desktop"} }function p(){var Y="mobile",X=window.innerWidth; if(X<l.small){Y="mobile" }else{if(X>=l.medium){Y="desktop" }else{Y="tablet" }}return Y }function U(){return R[p()] }function z(){var Y=200,Z=1,X=300; if(H){return }H=setInterval(aa,X); function aa(){Q(); if(Z===Y){clearInterval(H); H=null }Z++ }}function q(X,af,ae,ad){var ab=void 0,Y=void 0,ac=void 0,Z=void 0,aa=void 0; ae=ae||{}; ab=ae?ae.expires:null; if(typeof ab==="number"){aa=new Date(); aa.setTime(aa.getTime()+ab*ad); ae.expires=aa; ab=ae.expires }if(ab&&ab.toUTCString){ae.expires=ab.toUTCString() }af=encodeURIComponent(af); Y=X+"="+af; for(ac in ae){if(ae.hasOwnProperty(ac)&&ae[ac]){Y+="; "+ac; Z=ae[ac]; if(Z!==true){Y+="="+Z }}}document.cookie=Y }function O(X,Z,Y){q(X,"",{domain:Y,path:Z,expires:0},-1) }function o(X){var Z=new RegExp("(?:^|; )"+X+"=([^;]*)"),Y=document.cookie.match(Z); return Y?decodeURIComponent(Y[1]):undefined }function W(Y,X){var ab=void 0,ac=void 0,aa=void 0,Z=void 0; X=X||location.href; Y=Y||""; Y=Y.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"); ab=new RegExp("[\\?&]"+Y+"=([^&#]*)"); ac=ab.exec(X); aa=ac==null?null:ac[1]; Z=aa!=null?decodeURIComponent(aa.replace(/\+/g,"%20")):null; return Z }function m(Y){var X=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false; Y.animate({height:0},s,function(){if(X){Y.remove() }}) }(0,a["default"])(window).on("resize",function(){var X=p(); if(X!==h){h=X; window.Bank_utils.matchMedia=A() }}); (0,a["default"])(document).ready(function(){Q() }); (0,a["default"])(window).on("load",function(){if(V()||u()){setTimeout(Q,300) }else{z() }}); return{deregisterComponent:F,init:Q,isEditMode:V,isPreviewMode:u,isPatternLab:L,registerComponent:J,reinitializeParent:r,isIE8orLower:K,dispatchLayerSwitchEvent:N,setCookie:q,getCookie:o,deleteCookie:O,keyCodes:D,matchMedia:x,getMatchMediaUnit:U,focusables:P,getUrlParam:W,collapseElement:m,isFirefox:i,isInternetExplorer:y,isChrome:S,isSafari:n,iOSLowerVersion:T,isMobileiOS:M,isMobileAndroid:E,isSmartTemplate:k,isTealiumReady:w} }(); window.Bank_utils=g; b.Bank_utils=g }),(function(b,a){var c=Math.ceil; var d=Math.floor; b.exports=function(e){return isNaN(e=+e)?0:(e>0?d:c)(e) } }),(function(b,a){b.exports=function(c){if(c==undefined){throw TypeError("Can't call method on "+c) }return c } }),(function(c,g,b){var a=b(4); var d=b(5); var h=b(9); var i=b(44); var j=b(45); var f="prototype"; var e=function(w,m,k){var l=w&e.F; var o=w&e.G; var t=w&e.S; var n=w&e.P; var s=w&e.B; var u=o?a:t?a[m]||(a[m]={}):(a[m]||{})[f]; var r=o?d:d[m]||(d[m]={}); var v=r[f]||(r[f]={}); var x,y,q,p; if(o){k=m }for(x in k){y=!l&&u&&u[x]!==undefined; q=(y?u:k)[x]; p=s&&y?j(q,a):n&&typeof q=="function"?j(Function.call,q):q; if(u){i(u,x,q,w&e.U) }if(r[x]!=q){h(r,x,p) }if(n&&v[x]!=q){v[x]=q }}}; a.core=d; e.F=1; e.G=2; e.S=4; e.P=8; e.B=16; e.W=32; e.U=64; e.R=128; c.exports=e }),(function(b,a){b.exports=function(c){return typeof c==="object"?c!==null:typeof c==="function" } }),(function(b,a){b.exports=function(d,c){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:c} } }),(function(c,a){var d=0; var b=Math.random(); c.exports=function(e){return"Symbol(".concat(e===undefined?"":e,")_",(++d+b).toString(36)) } }),(function(b,a){b.exports={} }),(function(b,a,c){var e=c(93); var d=c(18); b.exports=function(f){return e(d(f)) } }),(function(c,a,e){var d=e(49)("keys"); var b=e(22); c.exports=function(f){return d[f]||(d[f]=b(f)) } }),(function(c,d,b){d.__esModule=true; function f(m,n){if(!(m instanceof n)){throw new TypeError("Cannot call a class as a function") }}var j={arrow:"pagination-arrow",number:"pagination-number",dots:"pagination-dots"},k={pagination:".A-PAGMAN-RW-ALL",pageSwitchers:".number a, .arrow a"},g={page:"page",currentPageText:"current-page-text",pageText:"page-text"},l={disabled:"disabled",active:"active"},a={desktop:2,tablet:1,mobile:0},e=Bootstrap.jQuery; var i=2; var h=d.Pagination=function(){function x(B,D,C){f(this,x); this.$el=e(B); this.$wrapper=this.$el.find(k.pagination); this.elNum=D; this.currentEl=C; this.allyTexts=this.getAccessibilityTexts(); this.setMustacheTemplates(); this.initElements() }x.prototype.destroy=function z(){this.$wrapper.empty() }; x.prototype.getAccessibilityTexts=function n(){var B=this.$el.data(g.currentPageText)||"",C=this.$el.data(g.pageText)||""; return{currentPage:B,page:C} }; x.prototype.setMustacheTemplates=function s(){var B=this; Object.keys(j).forEach(function(C){var D=j[C],E=B.$el.find("."+D); e.Mustache.add(D,E.html()) }) }; x.prototype.initElements=function t(){if(this.elNum>1){this.setVisibleElCount(); this.render(this.getPaginationMap()); this.bindPaginationUIEvents() }else{this.destroy() }}; x.prototype.bindPaginationUIEvents=function q(){var B=this; this.$pageSwitchers=this.$wrapper.find(k.pageSwitchers); this.$pageSwitchers.on("click",function(D){D.preventDefault(); var C=e(D.target); B.currentEl=C.data(g.page); B.initElements() }) }; x.prototype.setVisibleElCount=function A(){i=Bank_utils.matchMedia.mobile?a.mobile:Bank_utils.matchMedia.tablet?a.tablet:a.desktop }; x.prototype.render=function p(B){var C=this; this.destroy(); B.forEach(function(D){return C.$wrapper.mustache(D.template,D.data) }) }; x.prototype.getPaginationMap=function r(){var E=[]; E.push(this.getArrowElement("left")); for(var F=1; F<=this.elNum; F++){var D=F===1,I=F===this.elNum,C=this.getElementVisibilityCondition(F),G=this.getDotElement(I,F,-1),B=this.getDotElement(D,F,1); if(G!==null){E.push(G) }if(C||D||I){var H=F===this.currentEl?l.active:""; E.push(this.getNumberElement(F,H)) }if(B!==null){E.push(B) }}E.push(this.getArrowElement("right")); return E }; x.prototype.getDotVisibilityCondition=function u(B){return Math.abs(this.currentEl-B)>i+1 }; x.prototype.getElementVisibilityCondition=function o(B){return Math.abs(this.currentEl-B)<=i }; x.prototype.getPaginationControls=function y(){if(this.$pageSwitchers===undefined){return{on:function B(){}} }else{return this.$pageSwitchers }}; x.prototype.getArrowElement=function m(F){var B=this.currentEl===1&&F==="left"||this.currentEl===this.elNum&&F==="right",E=B?l.disabled:"",D=this.currentEl+(F==="left"?-1:1),C=F==="right"; return{template:j.arrow,data:{direction:F,page:D,isDisabled:B,state:E,isRight:C}} }; x.prototype.getDotElement=function w(G,C,F){if(G&&this.getDotVisibilityCondition(C)){var E=C+F,D=this.getElementVisibilityCondition(E*2)?j.number:j.dots,B=this.allyTexts.page; return{template:D,data:{page:E,accessibilityText:B}} }return null }; x.prototype.getNumberElement=function v(D,C){var B=C===l.active?this.allyTexts.currentPage:this.allyTexts.page; return{template:j.number,data:{page:D,state:C,accessibilityText:B}} }; return x }() }),(function(b,e,a){e.__esModule=true; e.SearchMobileSuggestions=undefined; var i=a(14); var l=a(136); function g(m,n){if(!(m instanceof n)){throw new TypeError("Cannot call a class as a function") }}var k={searchContainer:".header-mobile-search-container",suggestions:".search-suggestions",suggestionList:".suggestion-list",searchBox:".search-box",suggestionItem:".suggestion-item",helper:".search-suggestions-helper"},h={config:"config"},c={hidden:"hidden",suggestionItem:"suggestion-item"},j="search-suggestion-template",f=Bootstrap.jQuery; var d=e.SearchMobileSuggestions=function(){function u(x){g(this,u); this.$el=x; this.$suggestions=this.$el.find(k.suggestions); this.$suggestionList=this.$suggestions.find(k.suggestionList); this.$searchBox=this.$el.find(k.searchBox); this.$helper=this.$el.find(k.helper); this.searchService=new i.SearchService(this.getConfig()); this.results=[]; this.setMustacheTemplates(); this.bindUIEvents(); this.ally=new l.SearchMobileSuggestionsAlly(this) }u.prototype.bindUIEvents=function m(){var x=this; this.$searchBox.on("input",function(){return x.resolveSuggestions() }); f(window).on("click",function(z){var y=f(z.target); if(!y.parents(k.searchContainer).length){x.removeSuggestions() }}) }; u.prototype.resolveSuggestions=function t(){var x=this; this.searchService.getSuggestions({query:this.$searchBox.val()}).done(function(y){x.results=y||[]; if(x.results.length){x.showSuggestions() }else{x.$helper.empty().html(0); x.hideSuggestions() }}) }; u.prototype.showSuggestions=function v(){this.$suggestions.removeClass(c.hidden).attr("aria-hidden",false); this.$helper.empty().html(this.results.length); this.$helper.parent().attr("aria-hidden",false); this.render() }; u.prototype.render=function n(){var x=this; this.$suggestionList.empty(); this.results.forEach(function(y){return x.$suggestionList.mustache(j,{text:y}) }); this.$suggestionItems=this.$suggestionList.find(k.suggestionItem); this.bindSuggestionsUIEvents() }; u.prototype.bindSuggestionsUIEvents=function s(){var x=this; this.$suggestionItems.on("click",function(y){return x.handleSuggestionChoice(f(y.target)) }).on("focusout",function(z){var y=f(z.relatedTarget); if(!y.hasClass(c.suggestionItem)){x.hideSuggestions() }}); this.ally.bindSuggestionsUIEvents() }; u.prototype.handleSuggestionChoice=function p(x){var y=x.text(); this.hideSuggestions(); this.$searchBox.val(y) }; u.prototype.hideSuggestions=function r(){this.removeSuggestions(); this.$searchBox.focus() }; u.prototype.removeSuggestions=function o(){this.$suggestions.addClass(c.hidden).attr("aria-hidden",true); this.$helper.parent().attr("aria-hidden",true) }; u.prototype.getConfig=function w(){return this.$el.data(h.config) }; u.prototype.setMustacheTemplates=function q(){f.Mustache.add(j,this.$el.find("."+j).html()) }; return u }() }),(function(b,f,a){f.__esModule=true; var c=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(m){return typeof m }:function(m){return m&&typeof Symbol==="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m }; function h(m,n){if(!(m instanceof n)){throw new TypeError("Cannot call a class as a function") }}var d={hidden:"hidden"},j={accountsButton:"my-accounts-button",loginButton:".login-button",registerButton:".register-button",logoutButton:".logout-button",pagePath:"[data-page-path]",loginLinks:".login-links"},i="ICIPDOMAINCOOKIE",g=Bootstrap.jQuery,e=g("body"); var l={checked:false,during:false,authorized:false,delayed:[]}; var k=f.HeaderLoggedUserState=function(){function r(s){h(this,r); this.context=s; this.$el=s.$el; this.$logoutButton=this.$el.find(j.logoutButton); this.$loginButton=this.$el.find(j.loginButton); this.$loginLinks=this.$el.find(j.loginLinks); this.$mobileAccountsButton=this.$el.find("."+j.accountsButton); this.$registerButton=e.find(j.registerButton); if(this.$el.hasClass(j.accountsButton)){this.$accountsButton=this.$el }else{this.$accountsButton=g("<div></div>") }this.adjustHeaderElements(this.$loginButton,this.$logoutButton); this.adjustHeaderElements(this.$registerButton,this.$accountsButton); this.adjustHeaderElements(g(),this.$mobileAccountsButton); this.bindUiEvents() }r.prototype.bindUiEvents=function q(){var s=this; if(c(this.$logoutButton.attr("href"))===(true?"undefined":c(undefined))||this.$logoutButton.attr("href")===false){this.$logoutButton.on("click",function(){return s.redirectOnLogout() }) }}; r.prototype.adjustHeaderElements=function o(t,u){var v=this; var s=Bank_utils.getCookie(i); if(l.checked){this.changeLoggedState(l.authorized,t,u) }else{if(l.during){l.delayed.push(function(w){return v.changeLoggedState(w,t,u) }) }else{l.during=true; g.ajax("/authorize.auth.json?q",{cache:false,contentType:"json"}).done(function(x){var w=x&&x.authorized; v.changeLoggedState(x&&x.authorized,t,u); l.during=false; l.checked=true; l.authorized=w; l.delayed.forEach(function(y){return y(w) }); l.delayed=[] }) }}}; r.prototype.changeLoggedState=function n(u,s,t){if(u){s.addClass(d.hidden); t.removeClass(d.hidden); this.$loginLinks.remove() }else{s.removeClass(d.hidden); t.addClass(d.hidden) }}; r.prototype.getPagePath=function m(){var s=g(document).find(j.pagePath); return s?s.data("page-path"):"" }; r.prototype.redirectOnLogout=function p(){g("<form>",{method:"post",action:"/bin/logout."+this.getPagePath()}).appendTo("body").submit() }; return r }() }),(function(d,f,c){f.__esModule=true; f.LoanRepaymentCalculationService=undefined; var i=c(64); var b=h(i); var a=c(6); function h(l){if(l&&l.__esModule){return l }else{var j={}; if(l!=null){for(var k in l){if(Object.prototype.hasOwnProperty.call(l,k)){j[k]=l[k] }}}j["default"]=l; return j }}function g(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}var e=f.LoanRepaymentCalculationService=function(){function l(x){g(this,l); this.rules=x; this.formatUtils=new a.FormatUtils(); this.initData(); this.formatData(); this.updateRules() }l.prototype.initData=function w(){this.rulesData=a.FormatUtils.copyJson(this.rules.LoanCalculatorRateConfig.loanCalculatorRateTable)||[]; this.promoCodes=[].concat(this.rulesData.map(function(x){return x.promoCodeList[0]?x.promoCodeList[0]:"" })); this.rulesWithoutPromoCode=this.rulesData.filter(function(x){return !x.promoCodeList.length }); this.stages=a.FormatUtils.copyJson(b) }; l.prototype.updateRules=function v(){var x=arguments.length>0&&arguments[0]!==undefined?arguments[0]:""; this.rules=this.getRulesByPromoCode(x); this.setAmountRange() }; l.prototype.getRulesByPromoCode=function m(y){var x=this.rulesData.filter(function(z){return z.promoCodeList.includes(y) }); return(x.length?x:this.rulesWithoutPromoCode)[0].rateTable }; l.prototype.formatData=function k(){this.rulesData.forEach(function(x){x.rateTable.forEach(function(z){var y=z.amount.split("-"); z.amount={min:y[0],max:y[1]}; z.flatRate.forEach(function(B){var A=B.months.split("-"); B.months={min:A[0],max:A[1]} }) }) }) }; l.prototype.setMonthsRange=function o(y){var x=this.getMonthPointStages(y); this.monthsRange={min:Math.min.apply(null,x),max:Math.max.apply(null,x)} }; l.prototype.setAmountRange=function r(){this.amountRange={min:Math.min.apply(null,this.rules.map(function(x){return x.amount.min })),max:Math.max.apply(null,this.rules.map(function(x){return x.amount.max }))} }; l.prototype.getApr=function u(z){var y=arguments.length>1&&arguments[1]!==undefined?arguments[1]:z.amount; var A=this.getRuleByAmount(y),x=A.monthlyRepayment.find(function(B){return B.months==z.months }); return x?x.APR:0 }; l.prototype.getRuleByAmount=function n(x){return this.rules.find(function(y){return y.amount.max>=x&&y.amount.min<=x }) }; l.prototype.getAmountStages=function t(){return l.getStages(this.stages.amount) }; l.prototype.getMonthPointStages=function p(x){var y=this.getRuleByAmount(x); return y.monthlyRepayment.map(function(z){return +z.months }) }; l.prototype.getMonthStages=function s(x){return l.getStages(this.getMonthPointStages(x)) }; l.getStages=function q(y){var z=[]; for(var x=1; x<y.length; x++){z.push({max:y[x],min:y[x-1]}) }return z }; l.prototype.getFormattedResult=function j(y){var x=Number(this.getRuleByAmount(y.amount).flatRate[0].rate),z=y.amount*(1+x*y.months/100); return{monthlyRepayment:this.formatUtils.formatNumber(z/y.months),totalAmount:this.formatUtils.formatNumber(z),apr:this.getApr(y),flatRate:x} }; return l }() }),(function(d,b,g){b.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var a={hasError:"hasError",fieldUpdated:"fieldUpdated"},c=Bank_utils.keyCodes,e=Bootstrap.jQuery; var h=b.LoanRepaymentCalculatorAlly=function(){function n(o){f(this,n); this.$el=o.$el; this.context=o; this.bindUIEvents() }n.prototype.bindUIEvents=function k(){var o=this; this.context.$inputFields.on("keydown",function(p){return o.removeAriaLive(p) }).on("keyup",function(r){var p=r.keyCode,s=p===c.TAB,q=p===c.SHIFT; if(!(q||s)){o.readResults() }}); this.$el.on(a.fieldUpdated,function(){o.context.amountField.allySlider.setAriaOnSlider(); o.context.monthsField.allySlider.setAriaOnSlider() }); this.context.$sliderHandle.on("keydown",function(p){return o.handleKeyboardNavigation(p) }).one("mousedown",function(){return o.readResults() }); this.$el.on(a.hasError,function(){return o.readErrorMessageOnce() }) }; n.prototype.handleKeyboardNavigation=function i(s){var q=s.keyCode,t=q===c.TAB,p=q===c.ENTER,u=q===c.LEFT,o=q===c.RIGHT,r=s.shiftKey; if(e(document.activeElement).is(this.context.$sliderHandle)){if(u||o){this.context.$results.attr("aria-live","polite"); this.context.$calculationInputs.attr("aria-live","polite") }else{if(t||p||r){this.context.$results.removeAttr("aria-live"); this.context.$calculationInputs.removeAttr("aria-live") }}}}; n.prototype.readResults=function m(){this.context.$results.attr("aria-live","polite"); this.context.$calculationInputs.attr("aria-live","polite"); o(this.context.amountField.$input); o(this.context.monthsField.$input); function o(p){if(e(document.activeElement).is(p)){p.attr({"aria-live":"polite","aria-atomic":"true"}) }}}; n.prototype.removeAriaLive=function l(p){var q=p.keyCode===c.TAB,o=p.shiftKey; if(e(document.activeElement).is(this.context.$inputFields)){if(q||o){this.context.$results.removeAttr("aria-live"); this.context.$calculationInputs.removeAttr("aria-live"); this.context.amountField.$input.removeAttr("aria-live aria-atomic"); this.context.monthsField.$input.removeAttr("aria-live aria-atomic") }}}; n.prototype.readErrorMessageOnce=function j(){this.context.$results.attr("aria-live","polite"); this.context.$calculationInputs.attr("aria-live","polite") }; return n }() }),(function(c,b,f){b.__esModule=true; function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var d=Bootstrap.jQuery; var a=b.DataKeeper=function(){function g(l){e(this,g); this.lang=g.setUpLang(); this.settings=d.extend({name:"Bank_"+this.lang+"_"+this.constructor.name,expiresMultiplier:31536000000,cookieSettings:{path:"/",expires:1}},l); this.loacalStorage=window.localStorage; this.hasLocalStorage=typeof this.loacalStorage!=="undefined"; this.setCookie=Bank_utils.setCookie; this.getCookie=Bank_utils.getCookie }g.prototype.save=function j(l){var m=l||{}; if(this.hasLocalStorage){this.loacalStorage[this.settings.name]=JSON.stringify(m) }else{this.setCookie(this.settings.name,JSON.stringify(m),this.settings.cookieSettings,this.settings.expiresMultiplier) }}; g.prototype.read=function k(){if(this.hasLocalStorage){return g.parseData(this.loacalStorage[this.settings.name]) }return g.parseData(this.getCookie(this.settings.name)) }; g.parseData=function i(l){return l?JSON.parse(l):{} }; g.setUpLang=function h(){return d("html").attr("lang") }; return g }() }),(function(d,b,g){b.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var h={resultTemplate:"resultTemplate"},a={resultTemplate:".result-template",result:".result"},e=Bootstrap.jQuery; var c=b.ResultRenderer=function(){function i(k){f(this,i); this.$scope=k; this.$resultElement=e(a.result,k); e.Mustache.add(h.resultTemplate,e(a.resultTemplate,k).html()) }i.prototype.render=function j(k){this.$resultElement.empty(); this.$resultElement.mustache(h.resultTemplate,k) }; return i }() }),(function(c,a,f){a.__esModule=true; function e(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var b={incomePrefix:".income-prefix"},d=Bootstrap.jQuery; var g=a.CurrencyFormatter=function(){function i(j){e(this,i); this.$el=d(j) }i.prototype.addPrefixSpacing=function h(){var m=this.$el.find(b.incomePrefix),j=m.next("input[name=amount]"),k=!!j.hasClass("left-placeholder-1"); var l=m.width(); if(!k){l+=18 }else{if(k){l+=14 }}j.css("padding-left",l) }; return i }() }),(function(d,g,c){g.__esModule=true; g.LoansCalculatorBase=undefined; var l=c(31); var m=c(32); var n=c(68); var e=c(33); function i(o,p){if(!(o instanceof p)){throw new TypeError("Cannot call a class as a function") }}var f={configHolder:".config-holder",headingLeft:".heading-left",headingRight:".heading-right",results:".rightholder",calculationInputs:".placeholder-left",sliderHandle:".ui-slider-handle",inputFields:".input"},j={config:"config",amountPrefix:"amount-prefix",percentSufix:"percent-sufix",annually:"annually"},b={fieldUpdated:"fieldUpdated",beforeunload:"beforeunload"},a={endpointURL:"/bin/public/gpws/calculation",auto:"auto"},h=Bootstrap.jQuery; var k=g.LoansCalculatorBase=function(){function v(A){i(this,v); this.$el=h(A); this.initConfig(); this.cacheDOMElements(); this.initCalculationService(); this.resultRenderer=new m.ResultRenderer(this.$el); this.setInputsAreas(); this.calculate(); this.setEqualHeadingsHeight(); this.bindUiEvents(); this.currencyFormatter=new e.CurrencyFormatter(this.$el); this.currencyFormatter.addPrefixSpacing(); new n.LoansCalculatorBaseAlly(this) }v.prototype.initConfig=function o(){var A=this.$el.find(f.configHolder); this.config=A.data(j.config); this.amountPrefix=A.data(j.amountPrefix)||""; this.percentSufix=A.data(j.percentSufix)||""; this.annually=A.data(j.annually)||""; this.dataKeeper=new l.DataKeeper(); this.state=this.dataKeeper.read(); Object.assign(this.config,{defaultAmount:this.state.amount||this.config.defaultAmount,defaultMonths:this.state.months||this.config.defaultMonths}); Object.assign(this.state,{amount:this.state.amount||this.config.defaultAmount,months:this.state.months||this.config.defaultMonths}); this.addMinAmountToRules() }; v.prototype.setInputsAreas=function z(){this.amountField.setAreas(this.config.rules.map(function(A){return{max:A.maxAmount,min:A.minAmount} })) }; v.prototype.cacheDOMElements=function q(){this.$headingLeft=this.$el.find(f.headingLeft); this.$headingRight=this.$el.find(f.headingRight); this.$results=this.$el.find(f.results); this.$calculationInputs=this.$el.find(f.calculationInputs); this.$sliderHandle=this.$el.find(f.sliderHandle); this.$inputFields=this.$el.find(f.inputFields) }; v.prototype.bindUiEvents=function u(){var A=this; h(window).on("load resize",function(){return A.setEqualHeadingsHeight() }).on(b.beforeunload,function(){return A.save() }); this.$el.on(b.fieldUpdated,function(C,B){return A.recalculate(B) }) }; v.prototype.save=function w(){this.dataKeeper.save(this.state) }; v.prototype.setEqualHeadingsHeight=function p(){this.$headingLeft.height(a.auto); this.$headingRight.height(a.auto); if(!Bank_utils.matchMedia.mobile){var B=[this.$headingLeft,this.$headingRight],C=[this.$headingLeft.outerHeight(),this.$headingRight.outerHeight()],A=Math.max.apply(Math,C); B.forEach(function(D){return D.outerHeight(A) }) }}; v.prototype.addMinAmountToRules=function x(){var A=this; this.config.rules.forEach(function(C,B){return C.minAmount=B?A.config.rules[B-1].maxAmount+1:A.config.minAmount }) }; v.prototype.calculate=function s(){}; v.prototype.initCalculationService=function t(){}; v.prototype.recalculate=function y(A){}; v.prototype.displayResult=function r(A){}; return v }() }),(function(c,b,f){b.__esModule=true; b.CalculationServiceChina=undefined; var d=f(6); function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var a=b.CalculationServiceChina=function(){function g(j){e(this,g); this.settings=j||{}; this.formatUtils=new d.FormatUtils(this.settings.branch) }g.prototype.getCalculationResults=function i(n){var m=n.rate/100,j=n.months,k=n.amount,l=g.getMonthlyRepayment(m,j,k),o=l*j; return{monthlyRepayment:this.formatUtils.formatNumber(l),totalAmount:this.formatUtils.formatNumber(o),rate:n.rate} }; g.getMonthlyRepayment=function h(l,j,k){return l*k*Math.pow(l+1,j)/(Math.pow(l+1,j)-1) }; return g }() }),(function(d,c,g){c.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var h={resultBottomTemplate:"resultBottomTemplate",resultTopTemplate:"resultTopTemplate"},b={resultBottomTemplate:".result-bottom-template",resultTopTemplate:".result-top-template",resultBottom:".result-bottom",resultTop:".result-top",results:".results"},e=Bootstrap.jQuery; var a=c.OfferDetailResultRenderer=function(){function i(m){f(this,i); this.$scope=m; this.$resultElements=e(b.results,m); this.$resultBottom=e(b.resultBottom,m); this.$resultTop=e(b.resultTop,m); e.Mustache.add(this.getMustacheName(h.resultBottomTemplate),e(b.resultBottomTemplate,m).html()); e.Mustache.add(this.getMustacheName(h.resultTopTemplate),e(b.resultTopTemplate,m).html()) }i.prototype.render=function k(m){this.empty(); this.$resultBottom.mustache(this.getMustacheName(h.resultBottomTemplate),m); this.$resultTop.mustache(this.getMustacheName(h.resultTopTemplate),m) }; i.prototype.empty=function l(){this.$resultElements.empty() }; i.prototype.getMustacheName=function j(m){return m+"_"+this.$scope.uniqueId().attr("id") }; return i }() }),(function(d,b,g){b.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var h={resultTemplate:"resultTemplate"},a={result:".result",template:".result-template"},e=Bootstrap.jQuery; var c=b.ProductDynamicRatesRenderer=function(){function i(m){f(this,i); this.$scope=m; this.$result=e(a.result,m); e.Mustache.add(this.getMustacheName(h.resultTemplate),e(a.template,m).html()) }i.prototype.render=function k(m){this.empty(); this.$result.mustache(this.getMustacheName(h.resultTemplate),m) }; i.prototype.empty=function l(){this.$result.empty() }; i.prototype.getMustacheName=function j(m){return m+"_"+this.$scope.uniqueId().attr("id") }; return i }() }),(function(d,a,g){a.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var e=Bootstrap.jQuery,b=Bank_utils.keyCodes,c={focusables:Bank_utils.focusables.join(),tile:".tile",slidesNotCloned:".M-CAR3-RW-RBWM:not(.clone), .M-CARVID-RW-RBWM:not(.clone)"}; var h=a.CarouselAlly=function(){function n(o){f(this,n); this.$el=o.$el; this.context=o; this.$prevButtonHiddenText=this.$el.find(".prev .visuallyhidden"); this.$nextButtonHiddenText=this.$el.find(".next .visuallyhidden"); this.initAccessibilityTexts(); this.setTabIndexes(); this.bindUIEvents() }n.prototype.initAccessibilityTexts=function l(){this.accessibilityTexts={prevButton:this.$prevButtonHiddenText.text(),nextButton:this.$nextButtonHiddenText.text()} }; n.prototype.bindUIEvents=function k(){var p=this; var o=this.context; e(window).on("resize",function(){p.setAccessibilityTexts(); p.setTabIndexes() }); this.$el.on("keydown",function(r){var q=r.keyCode; if(q===b.LEFT){o.swipe(1,null) }else{if(q===b.RIGHT){o.swipe(-1,null) }}}) }; n.prototype.setAccessibilityTexts=function m(){var p=this.context,r=p.getCurrentSlide()+1,q=this.accessibilityTexts.prevButton.replace("{current}",r).replace("{last}",p.meatballsNr),o=this.accessibilityTexts.nextButton.replace("{current}",r).replace("{last}",p.meatballsNr); this.$prevButtonHiddenText.text(q); this.$nextButtonHiddenText.text(o) }; n.prototype.setTabIndexes=function j(){var o=this.context,z=c.focusables,v=o.$slidesContainer.find(z); if(!o.tileData.length){return }v.attr("tabindex",-1); if(Bank_utils.matchMedia.desktop){var w=o.$slidesContainer.find(c.slidesNotCloned),u=w.eq(o.getCurrentSlide()),p=u.find(z); p.attr("tabindex",0) }else{var y=o.$slidesContainer.find(c.tile),r=o.tileData[o.currentTile].tilesInSlide,s=o.currentTile+r; for(var t=o.currentTile; t<s; t++){var q=y.eq(t+o.getAdditionalTranslation()),x=q.find(z); x.attr("tabindex",0) }}}; n.prototype.setFocus=function i(){var p=this.context; var r=void 0; if(Bank_utils.matchMedia.desktop){var q=p.$slidesContainer.find(c.slidesNotCloned),t=p.getCurrentSlide(); r=q.eq(t) }else{var s=p.$slidesContainer.find(c.tile),o=p.currentTile+p.getAdditionalTranslation(); r=s.eq(o) }r.find(c.focusables).first().focus() }; return n }() }),(function(d,b,f){b.__esModule=true; function e(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var a={iconTickText:"data-accessibility-tick-icon-text",iconCrossText:"data-accessibility-cross-icon-text"},c={iconTick:".icon-agree",iconCross:".icon-delete",tableWrapper:".table-wrapper",visuallyhidden:".visuallyhidden"}; var g=b.TablesAlly=function(){function i(j){e(this,i); this.$el=j.$el||($||jQuery).call(); this.$iconTick=this.$el.find(c.iconTick); this.$iconCross=this.$el.find(c.iconCross); this.$tableWrapper=this.$el.find(c.tableWrapper); this.context=j; this.setTablesIconCrossAndTickTexts() }i.prototype.setTablesIconCrossAndTickTexts=function h(){this.iconsTexts={tick:this.$tableWrapper.attr(a.iconTickText),cross:this.$tableWrapper.attr(a.iconCrossText)}; this.$iconTick.find(c.visuallyhidden).html(this.iconsTexts.tick); this.$iconCross.find(c.visuallyhidden).html(this.iconsTexts.cross) }; return i }() }),(function(c,e,b){e.__esModule=true; var h=b(2); var a=j(h); function j(k){return k&&k.__esModule?k:{"default":k} }function f(k,l){if(!(k instanceof l)){throw new TypeError("Cannot call a class as a function") }}var i={introSection:".intro-section"},d={hasHeroNoImage:"hero-no-image"}; var g=function(){function l(m){f(this,l); this.$el=(0,a["default"])(m); this.$introSection=this.$el.parents(i.introSection); this.updateIntroSection() }l.prototype.updateIntroSection=function k(){this.$introSection.addClass(d.hasHeroNoImage) }; return l }(); e["default"]=g }),(function(b,a){b.exports=false }),(function(b,a){b.exports=function(c){try{return !!c() }catch(d){return true }} }),(function(d,c,f){var b=f(20); var a=f(4).document; var e=b(a)&&b(a.createElement); d.exports=function(g){return e?a.createElement(g):{} } }),(function(e,f,d){var b=d(4); var g=d(9); var j=d(13); var i=d(22)("src"); var k="toString"; var h=Function[k]; var a=(""+h).split(k); d(5).inspectSource=function(l){return h.call(l) }; (e.exports=function(n,l,p,m){var o=typeof p=="function"; if(o){j(p,"name")||g(p,"name",l) }if(n[l]===p){return }if(o){j(p,i)||g(p,i,n[l]?""+n[l]:a.join(String(l))) }if(n===b){n[l]=p }else{if(!m){delete n[l]; g(n,l,p) }else{if(n[l]){n[l]=p }else{g(n,l,p) }}}})(Function.prototype,k,function c(){return typeof this=="function"&&this[i]||h.call(this) }) }),(function(c,b,d){var a=d(88); c.exports=function(e,g,f){a(e); if(g===undefined){return e }switch(f){case 1:return function(h){return e.call(g,h) }; case 2:return function(i,h){return e.call(g,i,h) }; case 3:return function(i,h,j){return e.call(g,i,h,j) } }return function(){return e.apply(g,arguments) } } }),(function(c,b,f){var a=f(92); var e=f(50); c.exports=Object.keys||function d(g){return a(g,e) } }),(function(b,a){var c={}.toString; b.exports=function(d){return c.call(d).slice(8,-1) } }),(function(d,b,e){var a=e(17); var c=Math.min; d.exports=function(f){return f>0?c(a(f),9007199254740991):0 } }),(function(d,c,g){var a=g(5); var e=g(4); var f="__core-js_shared__"; var b=e[f]||(e[f]={}); (d.exports=function(h,i){return b[h]||(b[h]=i!==undefined?i:{}) })("versions",[]).push({version:a.version,mode:g(41)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"}) }),(function(b,a){b.exports=("constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf").split(",") }),(function(c,a,f){var d=f(10).f; var b=f(13); var e=f(0)("toStringTag"); c.exports=function(i,g,h){if(i&&!b(i=h?i:i.prototype,e)){d(i,e,{configurable:true,value:g}) }} }),(function(b,a,c){var d=c(18); b.exports=function(e){return Object(d(e)) } }),(function(b,a,e){a.__esModule=true; function d(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var c=jQuery; var f=a.QueryStringState=function(){function j(n,m,l){var o=this; d(this,j); this.paramConfig=this.objectToKeyValuePairs(n); this.pageNameBuilder=m||function(p,q){return p+": "+q }; this.changePageStateHandler=l?[l]:[]; this.currentState=this.readAllParams(); c(window).on("popstate",function(p){o.currentState=o.readAllParams(); o.changePageStateHandler.forEach(function(q){return q(c.extend({},o.currentState)) }) }) }j.prototype.readAllParams=function k(){var l=this; return this.paramConfig.map(function(m){return[m[0],l.parseParameter(m[1])] }).reduce(function(n,m){n[m[0]]=m[1]; return n },{}) }; j.prototype.parseParameter=function i(m){var l=Bank_utils.getUrlParam(m,location.search); if(l){return l.replace("+"," ") }else{return null }}; j.prototype.updateParameter=function g(l,m){if(history&&history.pushState){history.pushState("",this.pageNameBuilder(l,m),c.query.set(l,m)); this.currentState=this.readAllParams() }}; j.prototype.objectToKeyValuePairs=function h(l){return Object.keys(l).map(function(m){return[m,l[m]] }) }; return j }() }),(function(b,d,a){d.__esModule=true; d.SearchField=undefined; var i=a(55); function g(l,m){if(!(l instanceof m)){throw new TypeError("Cannot call a class as a function") }}var c={queryParamName:"q",moduleName:"heroSearch",moduleSelector:".O-HEROBANWSRCH-RW-DEV",searchQuery:"SEARCH_QUERY",empty:""},k={form:"form",searchInput:'input[type="search"]',tagsInput:'input[type="hidden"]',dataConfig:".O-SRCHRES-RW-RBWM [data-config]"},h={config:"config"},j=168,f=Bootstrap.jQuery; var e=d.SearchField=function(){function m(u,w,t){var v=this; g(this,m); this.$el=f(u); this.config=f(k.dataConfig).data(h.config); this.$searchInput=this.$el.find(k.searchInput); this.$tagsInput=this.$el.find(k.tagsInput); this.$form=this.$el.find(k.form); this.onSubmit=w; this.setInputMaxLength(); this.disableAutocomplete(); this.suggestions=new i.SearchFieldSuggestions(this.$el,this.config); this.$el.find("form").on("submit",function(x){x.preventDefault(); v.handleSubmit() }); this.setSearchField(t); this.trigger="free text" }m.prototype.setInputMaxLength=function q(){this.$searchInput.attr("maxlength",j) }; m.prototype.disableAutocomplete=function r(){this.$searchInput.attr("autocomplete","off") }; m.prototype.handleSubmit=function l(){var t=this.$searchInput.val(),u=this.validateEmpty(t); if(!u){this.setSearchField(c.empty) }else{this.onSubmit(t) }}; m.prototype.setSearchField=function p(t){this.$searchInput.val(t); this.$searchInput.attr("aria-controls","search-results-container") }; m.prototype.setTrigger=function n(t){this.trigger=t }; m.prototype.updateTags=function s(t){this.$tagsInput.val(t) }; m.prototype.validateEmpty=function o(t){t=t||""; return !!t.trim().length }; return m }() }),(function(b,d,a){d.__esModule=true; d.SearchFieldSuggestions=undefined; var g=a(14); function f(k,l){if(!(k instanceof l)){throw new TypeError("Cannot call a class as a function") }}var j={searchContainer:".search-panel",suggestions:".search-suggestions",suggestionList:".suggestion-list",searchField:".search-form .input",suggestionItem:".suggestion-item",helper:".search-suggestions-helper"},c={hidden:"hidden",suggestionItem:"suggestion-item"},i="search-suggestion-template",e=Bootstrap.jQuery; var h=d.SearchFieldSuggestions=function(){function t(v,u){f(this,t); this.$el=v; this.config=u; this.$suggestions=this.$el.find(j.suggestions); this.$suggestionList=this.$suggestions.find(j.suggestionList); this.$searchField=this.$el.find(j.searchField); this.$helper=this.$el.find(j.helper); this.searchService=new g.SearchService(this.config); this.results=[]; this.setMustacheTemplates(); this.bindUIEvents() }t.prototype.bindUIEvents=function k(){var u=this; this.$searchField.on("input",function(){return u.resolveSuggestions() }); e(window).on("click",function(w){var v=e(w.target); if(!v.parents(j.searchContainer).length){u.removeSuggestions() }}) }; t.prototype.resolveSuggestions=function r(){var u=this; this.searchService.getSuggestions({query:this.$searchField.val()}).done(function(v){u.results=v||[]; if(u.results.length){u.showSuggestions() }else{u.$helper.empty().html(0); u.hideSuggestions() }}) }; t.prototype.showSuggestions=function s(){this.$suggestions.removeClass(c.hidden); this.$helper.empty().html(this.results.length); this.render() }; t.prototype.render=function l(){var u=this; this.$suggestionList.empty(); this.results.forEach(function(v){return u.$suggestionList.mustache(i,{text:v}) }); this.$suggestionItems=this.$suggestionList.find(j.suggestionItem); this.bindSuggestionsUIEvents() }; t.prototype.bindSuggestionsUIEvents=function q(){var u=this; this.$suggestionItems.on("click",function(v){return u.handleSuggestionChoice(e(v.target)) }).on("focusout",function(w){var v=e(w.relatedTarget); if(!v.hasClass(c.suggestionItem)){u.hideSuggestions() }}) }; t.prototype.handleSuggestionChoice=function n(u){var v=u.text(); this.hideSuggestions(); this.$searchField.val(v) }; t.prototype.hideSuggestions=function p(){this.removeSuggestions(); this.$searchField.focus() }; t.prototype.removeSuggestions=function m(){this.$suggestions.addClass(c.hidden) }; t.prototype.setMustacheTemplates=function o(){e.Mustache.add(i,this.$el.find("."+i).html()) }; return t }() }),(function(c,a,g){a.__esModule=true; function f(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var b=Bank_utils.keyCodes,d=Bootstrap.jQuery; var e=a.SmartTabsAlly=function(){function j(u){f(this,j); this.$el=u.$el; this.context=u; this.ariaSelectedfirstchild() }j.prototype.bindUIEvents=function i(){var v=this; this.context.$tabsMenuItem.find("a").on({keydown:function u(w){v.catchDataTarget(w); v.keyboardNavigationMenu(w) }}); this.context.$tabsContainer.on({keydown:function u(w){v.keyboardNavigationContainer(w) }}); this.context.$tabsContent.on({keydown:function u(w){v.keyboardNavigationContent(w) }}) }; j.prototype.changeAriaSelectState=function s(w){var v=d(w.target),u=v.hasClass("is-active"); this.context.$tabsMenuLink.attr("aria-selected",false); v.attr("aria-selected",!u) }; j.prototype.changeAriaHiddenTabindexState=function t(w){var u=d(w.target),v=u.attr("data-target"); this.context.$tabsContent.attr({"aria-hidden":true}); d(v).attr({"aria-hidden":false}) }; j.prototype.ariaSelectedfirstchild=function k(){this.context.$tabsMenuItem.first().find("a").attr("aria-selected",true) }; j.prototype.goBackToTabMenuFromLastChild=function h(x){var v=d(x.target),w=v.closest(this.context.$tabsContent).attr("id"),u=v.closest(this.context.$tabsContent).find(Bank_utils.focusables.join()),y=u.first().is(":focus"); if(y){this.context.$tabsContainer.attr("tabindex",-1); d('[data-target="#'+w+'"]').focus(); x.preventDefault() }}; j.prototype.focusTabPanel=function r(){this.context.$tabsContainer.attr("tabindex",0); this.context.$tabsContainer.focus() }; j.prototype.goBackToSelectedTab=function m(w){var u=d(w.target),v=u.find(this.context.$tabsContent).not(".hidden").attr("id"); d('[data-target="#'+v+'"]').focus(); w.preventDefault() }; j.prototype.goBackToSelectedTabFromFirstChild=function p(x){var u=d(x.target),v=u.find(this.context.$tabsContent).not(".hidden").attr("id"),w=u.closest(this.context.$tabsContent).find(Bank_utils.focusables.join()); if(w.length<1){x.preventDefault() }this.context.$tabsContainer.attr("tabindex",-1); d('[data-target="#'+v+'"]').focus() }; j.prototype.keyboardNavigationMenu=function n(w){var x=w.keyCode,v=x===b.ENTER,u=x===b.SPACE; if(v||u){this.changeAriaSelectState(w); this.changeAriaHiddenTabindexState(w); this.focusTabPanel(); w.preventDefault() }}; j.prototype.keyboardNavigationContent=function l(x){var z=x.keyCode,w=x.shiftKey,v=z===b.ESC,y=z===b.TAB,u=y&&w; if(u){this.goBackToTabMenuFromLastChild(x) }if(v){this.goBackToSelectedTab(x) }}; j.prototype.keyboardNavigationContainer=function o(w){var y=w.keyCode,v=w.shiftKey,x=y===b.TAB,u=x&&v; if(u){this.goBackToSelectedTabFromFirstChild(w) }}; j.prototype.catchDataTarget=function q(y){var w=d(y.target),z=w.attr("data-target"),x=y.keyCode,v=x===b.SPACE,u=x===b.ENTER; if(u||v){this.context.hashChange(z); this.changeAriaSelectState(y); y.preventDefault() }}; return j }() }),(function(e,b,h){b.__esModule=true; function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var f=Bootstrap.jQuery,d={expanded:"expanded",wrapper:"A-WRAPPER-RW-ALL",notWrapper:"no-wrapper",brandBar:"O-BRBAR-RW-RBWM"},c={wrapperDropdown:".wrapper-dropdown",expanderHeading:".dropdown-text"}; var a=b.ExpanderAlly=function(){function k(q){g(this,k); this.$el=q.$el; this.$selectBar=q.$selectBar; this.$collapsibleEl=q.$collapsibleEl; this.$focusableNodes=q.$focusableNodes; this.isExpandedByDefault=q.isExpandedByDefault; this.isExpanded=q.isExpandedByDefault; this.isWrapper=q.isWrapper; this.context=q; this.bindUiEvents() }k.prototype.bindUiEvents=function n(){var q=this; f(window).on("resize",function(){return q.updateModulesAccessibility() }) }; k.prototype.setTabIndexes=function m(q){if(q){this.$focusableNodes.removeAttr("tabindex") }}; k.prototype.setAccessibilityAttributes=function j(r){var q=r?0:-1; this.$collapsibleEl.attr({tabindex:q,"aria-hidden":!r}); this.setTabIndexes(r); this.updateModulesAccessibility() }; k.prototype.removeScreenReaderText=function p(){if(!Bank_utils.matchMedia.mobile){var q=f(c.wrapperDropdown),r=q.eq(0); r.find(".visuallyhidden").text("") }}; k.prototype.updateModulesAccessibility=function o(){if(this.isWrapper){this.updateWrapperAccessibility() }else{this.updateExpanderAccessibility() }}; k.prototype.updateExpanderAccessibility=function i(){if(!Bank_utils.matchMedia.mobile){this.$selectBar.attr("tabindex",0); this.setTabIndexes(true) }else{this.setTabIndexes(this.isExpanded) }}; k.prototype.updateWrapperAccessibility=function l(){if(!Bank_utils.matchMedia.mobile||this.$collapsibleEl.hasClass(d.notWrapper)){this.$selectBar.removeAttr("tabindex"); this.$collapsibleEl.removeAttr("tabindex"); if(this.$collapsibleEl.parents().eq(2).hasClass(d.brandBar)){this.$collapsibleEl.attr({"aria-hidden":false}) }}else{this.$selectBar.attr("tabindex",0); this.$collapsibleEl.attr("tabindex",0); if(this.$collapsibleEl.parents().eq(2).hasClass(d.brandBar)){this.$collapsibleEl.attr({"aria-hidden":!(this.$selectBar.attr("aria-expanded")==="true")}) }if(!this.isExpanded){this.setTabIndexes(!this.isExpanded) }}}; return k }() }),(function(e,a,h){a.__esModule=true; function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var d={customSelectContainerClass:"custom-select-container",customSelectMenuItemClass:"custom-select-menu-item",customSelectButtonClass:"custom-select-button"},b=Bank_utils.keyCodes,f=Bootstrap.jQuery; var c=a.CustomSelectAlly=function(){function j(k){g(this,j); this.$el=k.$el; this.context=k; this.keyboardEvents() }j.prototype.keyboardEvents=function i(){var r=this; var m=this.$el,p=this.$el.not(".disabled, .error").closest("."+d.customSelectContainerClass),l=p.find("."+d.customSelectButtonClass),n=p.find("."+d.customSelectMenuItemClass); m.on({change:function q(){return r.context.updateSelectValue() },keyup:function o(){r.context.updateSelectValue() }}); l.on({keydown:function k(s){if(s.keyCode===b.SPACE||s.keyCode===b.ENTER){r.context.toggleCustomSelectMenu() }else{if(s.keyCode===b.UP||s.keyCode===b.LEFT){s.preventDefault(); r.context.focusSelectMenuItem("prev") }else{if(s.keyCode===b.DOWN||s.keyCode===b.RIGHT){s.preventDefault(); r.context.focusSelectMenuItem("next") }else{if(s.keyCode===b.ESC||s.keyCode===b.TAB){if(r.context.isOpen){r.context.toggleCustomSelectMenu() }}}}}}}); n.on({keydown:function k(s){if(s.keyCode===b.SPACE||s.keyCode===b.ENTER){r.context.updateSelectValue(s.target); if(r.context.isOpen){r.context.toggleCustomSelectMenu() }}else{if(s.keyCode===b.UP||s.keyCode===b.LEFT){r.context.focusSelectMenuItem("prev") }else{if(s.keyCode===b.DOWN||s.keyCode===b.RIGHT){r.context.focusSelectMenuItem("next") }else{if(s.keyCode===b.ESC||s.keyCode===b.TAB){if(r.context.isOpen){r.context.toggleCustomSelectMenu() }}}}}}}) }; return j }() }),(function(d,a,g){a.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var b=Bank_utils.keyCodes,e=Bootstrap.jQuery,c={hide:"hidden",modalAnnouncement:"modal-announcement-sr-text"}; var h=a.ModalAlly=function(){function k(l){f(this,k); this.$el=l.$el; this.context=l }k.prototype.bindUIEvents=function i(){var m=this; var l=this.context; this.$focusables=l.$modal.find(Bank_utils.focusables.join()); l.$modal.on("keydown",function(q){var s=e(document.activeElement),p=q.keyCode,o=p===b.ESC&&l.$modal.hasClass(c.isVisible),n=p===b.ENTER&&s.hasClass(c.closeTrigger),r=p===b.TAB; if(o||n){q.preventDefault(); l.close() }else{if(r){m.handleKeyPress(q) }}}) }; k.prototype.handleKeyPress=function j(o){var l=this.context,q=document.activeElement,p=this.$focusables.first()[0],n=this.$focusables.last()[0],m=l.$modal.find("."+c.modalAnnouncement); m.addClass(c.hide); if(q==n&&!o.shiftKey){p.focus(); o.preventDefault() }else{if(q==p&&o.shiftKey){n.focus(); o.preventDefault() }}}; return k }() }),(function(b,d,a){d.__esModule=true; function e(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}var i={headerMainMenu:".header-main-navigation",headerMainMenuTitle:".header-doormat-mobile-title",screenreaderText:".screenreader-text",doormatExpanded:".doormat-expanded",doormatCollapsed:".doormat-collapsed",navigationItem:".header-main-navigation-item"},c={active:"active",hidden:"hidden"},g=Bank_utils.keyCodes,f=Bootstrap.jQuery; var h=d.DoormatAlly=function(){function j(l){e(this,j); this.$el=l.$el; this.$navigationItem=l.$navigationItem; this.context=l; l.$allDoormatLinks.attr("tabindex",-1); this.bindUIEvents() }j.prototype.bindUIEvents=function k(){var r=this; var n=this.context,m=this.$navigationItem.find("a"),l=m.first(),o=m.last(),p=this.$navigationItem.find(i.screenreaderText),q=this.$el.find("a"); this.$el.on("mouseout",function(){return p.removeClass(c.hidden) }); this.$navigationItem.on("keydown",function(v){var s=f(v.target),u=v.keyCode,w=n.$doormatCollapsed.text(),t=s.prop("tagName"); if(u===g.ENTER||u===g.SPACE){if(!n.isEnterHandlerEnabled){n.isEnterHandlerEnabled=true; n.isInMenu=true; if(!s.hasClass(c.active)){r.$el.addClass(c.active); r.$navigationItem.addClass(c.active) }n.toggleMenuStatusText(); r.$el.attr("aria-hidden",false); q.attr("tabindex",0); q.first().focus(); v.preventDefault() }else{n.removeActiveClassState(q); p.addClass(c.hidden); s.attr("aria-label",w).removeAttr("aria-label") }}else{if(u===g.TAB&&t==="LI"){n.removeActiveClass(); n.toggleMenuStatusText(); p.removeClass(c.hidden); n.isEnterHandlerEnabled=false }}}).on("focus",function(u){var s=f(u.target),t=s.find(i.headerMainMenuTitle); if(n.getFocusCondition()){t.attr("aria-hidden",false); q.attr("tabindex",-1); n.toggleMenuStatusText() }}).on("focusout",function(u){var s=f(u.target),t=s.find(i.headerMainMenuTitle); if(n.getFocusCondition()){t.attr("aria-hidden",true); q.attr("tabindex",-1); p.removeClass(c.hidden) }}); q.on("keydown",function(t){var s=t.keyCode; if(s===g.ESC){n.isInMenu=false; p.addClass(c.hidden); q.attr("tabindex",-1); r.$navigationItem.focus(); t.preventDefault() }}); l.on("keydown",function(u){var s=u.keyCode,t=u.shiftKey; if(t&&s===g.TAB){n.isInMenu=false; p.addClass(c.hidden); q.attr("tabindex",-1); r.$el.attr("aria-hidden",true); r.$navigationItem.focus(); u.preventDefault() }}); o.on("keydown",function(u){var s=u.keyCode,t=u.shiftKey; if(!t&&s===g.TAB){n.removeActiveClassState(q); p.removeClass(c.hidden) }}) }; return j }() }),(function(c,a,e){a.__esModule=true; function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}var b=a.MessageIdManager=function(){function g(m,k){d(this,g); this.storage=m; this.key=k; if(this.storage){var l=m.getItem(k); this.ids=l?JSON.parse(l):[] }else{this.ids=[] }}g.prototype.has=function f(k){return this.ids.includes(k) }; g.prototype.add=function i(k){this.ids.push(k); this.save() }; g.prototype.updateAll=function j(k){this.ids=k; this.save() }; g.prototype.save=function h(){if(this.storage){if(this.ids.length){this.storage.setItem(this.key,JSON.stringify(this.ids)) }else{this.storage.removeItem(this.key) }}}; return g }() }),(function(d,a,h){a.__esModule=true; function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var b=Bank_utils.keyCodes,f=Bootstrap.jQuery,c={hide:"hidden",modalAnnouncement:"modal-announcement-sr-text",isVisible:"is-visible",cancelTrigger:"mw-cancel-trigger"}; var e=a.ModalWindowAlly=function(){function j(l){g(this,j); this.$el=l.$el; this.context=l }j.prototype.bindUIEvents=function i(){var n,o=this; var m=this.context,l=m.$modal.find(c.cancelTrigger); this.$focusables=(n=this.context.$modal).find.apply(n,Bank_utils.focusables); l.on("click",function(){o.$focusables.first()[0].focus() }); m.$modal.on("keydown",function(s){var u=f(document.activeElement),r=s.keyCode,q=r===b.ESC&&m.$modal.hasClass(c.isVisible),p=r===b.ENTER&&u.hasClass(c.cancelTrigger),t=r===b.TAB; if(q||p){s.preventDefault(); m.close() }else{if(t){o.handleKeyPress(s) }}}) }; j.prototype.handleKeyPress=function k(o){var l=this.context,q=document.activeElement,p=this.$focusables.first()[0],n=this.$focusables.last()[0],m=l.$modal.find("."+c.modalAnnouncement); m.addClass(c.hide); if(q==n&&!o.shiftKey){p.focus(); o.preventDefault() }else{if(q==p&&o.shiftKey){n.focus(); o.preventDefault() }}}; return j }() }),(function(b,a,c){c(29); c(65); c(30); c(7); c(8); c(67); c(35); c(69); c(70); c(36); c(71); c(72); c(37); c(73); c(74); c(38); c(75); c(76); c(77); c(40); c(78); c(79); c(80); c(81); c(105); c(106); c(111); c(112); c(113); c(53); c(54); c(55); c(114); c(14); c(115); c(116); c(56); c(1); c(117); c(118); c(120); c(121); c(122); c(123); c(57); c(124); c(58); c(125); c(59); c(26); c(126); c(128); c(130); c(131); c(132); c(60); c(133); c(134); c(135); c(138); c(139); c(140); c(28); c(142); c(144); c(27); c(61); c(146); c(147); c(62); c(148); c(149); c(150); b.exports=c(151) }),(function(b,a){b.exports={amount:[5000,210000,430000,640000,860000,1000000,1200000,1500000,1700000,1900000,2100000,2300000,2500000,2700000,3000000]} }),(function(c,f,b){var d=b(30); var h=b(29); var e=b(15); var i=b(31); var j=b(32); var a=b(33); function g(k,l){if(!(k instanceof l)){throw new TypeError("Cannot call a class as a function") }}(function(n){var r={configHolder:".config-holder",headingLeft:".heading-left",headingRight:".heading-right",results:".placeholder-right",calculationInputs:".placeholder-left",sliderHandle:".ui-slider-handle",inputFields:".input",promoCode:".promocode-wrapper",promoCodeMessageError:".promoCode-message-error"},o={config:"config",rules:"rules",defaultAmount:"default-amount",defaultMonths:"default-months",amountPrefix:"amount-prefix",percentSufix:"percent-sufix"},p={beforeunload:"beforeunload",fieldUpdated:"fieldUpdated"},k={endpointURL:"/bin/public/gpws/calculation",amount:"amount",months:"months",auto:"auto"},m={hide:"hide"}; var q=function(){function B(E){g(this,B); this.$el=n(E); this.cacheDOMElements(); this.cleanInputs(); this.initSettings(); this.initObjects(); this.calculate(); this.setEqualHeadingsHeight(); this.bindUIEvents(); this.currencyFormatter=new a.CurrencyFormatter(this.$el); this.currencyFormatter.addPrefixSpacing() }B.prototype.cacheDOMElements=function w(){this.$headingLeft=this.$el.find(r.headingLeft); this.$headingRight=this.$el.find(r.headingRight); this.$results=this.$el.find(r.results); this.$calculationInputs=this.$el.find(r.calculationInputs); this.$sliderHandle=this.$el.find(r.sliderHandle); this.$inputFields=this.$el.find(r.inputFields); this.$promoCodeWrapper=this.$el.find(r.promoCode); this.$promoCode=this.$promoCodeWrapper.find(r.inputFields); this.$promoCodeErrorMessage=this.$promoCodeWrapper.find(r.promoCodeMessageError) }; B.prototype.cleanInputs=function u(){this.$inputFields.val("") }; B.prototype.initSettings=function A(){var F=this.$el.find(r.configHolder),G=F.data(o.defaultMonths),E=F.data(o.defaultAmount); this.rules=F.data(o.rules); this.config={defaultMonths:G,defaultAmount:E}; this.amountPrefix=F.data(o.amountPrefix)||""; this.percentSufix=F.data(o.percentSufix)||""; this.dataKeeper=new i.DataKeeper(); this.state=this.dataKeeper.read(); n.extend(this.config,{defaultAmount:this.state.amount||E,defaultMonths:this.state.months||G}); n.extend(this.state,{amount:this.state.amount||E,months:this.state.months||G}) }; B.prototype.initObjects=function C(){this.calculationService=new h.LoanRepaymentCalculationService(this.rules); this.calculationService.setMonthsRange(this.state.amount); this.amountField=new e.InputWithSliderField(this.$el,{name:k.amount,value:this.config.defaultAmount,range:this.calculationService.amountRange},this.calculationService.stages.amount); this.monthsField=new e.InputWithSliderField(this.$el,{name:k.months,value:this.config.defaultMonths,range:this.calculationService.monthsRange,step:1},this.calculationService.getMonthPointStages(this.state.amount)); this.amountField.setAreas(this.calculationService.getAmountStages()); this.monthsField.setAreas(this.calculationService.getMonthStages(this.state.amount)); this.resultRenderer=new j.ResultRenderer(this.$el); new d.LoanRepaymentCalculatorAlly(this) }; B.prototype.bindUIEvents=function t(){var E=this; n(window).on("resize",function(){return E.setEqualHeadingsHeight() }).on(p.beforeunload,function(){return E.dataKeeper.save(E.state) }); this.$el.on(p.fieldUpdated,function(G,F){return E.recalculate(F) }); this.$promoCode.on("input",function(F){return E.handlePromoCodeChange(F) }) }; B.prototype.handlePromoCodeChange=function z(E){var F=n(E.target).val(); this.calculationService.updateRules(F); this.$el.trigger("fieldUpdated",{name:"promoCode",value:F}); this.$promoCodeErrorMessage.addClass(m.hide); if(!this.calculationService.promoCodes.includes(F)){this.$promoCodeErrorMessage.removeClass(m.hide) }}; B.prototype.calculate=function y(){var E=this.calculationService.getFormattedResult(this.state); n(document).trigger("LoansCalculator::recalculate",n.extend({},this.state)); n.extend(E,{amountPrefix:this.amountPrefix,percentSufix:this.percentSufix}); this.displayResult(E); this.result=E }; B.prototype.displayResult=function x(E){this.amountField.setIndicatorValue(this.calculationService.getApr(this.state)+this.percentSufix); this.resultRenderer.render(E) }; B.prototype.recalculate=function D(E){this.state[E.name]=E.value; this.calculationService.setMonthsRange(this.state.amount); this.monthsField.setRange(this.calculationService.monthsRange); this.amountField.setAreas(this.calculationService.getAmountStages()); this.monthsField.setAreas(this.calculationService.getMonthStages(this.state.amount)); if(this.amountField.validateRange()&&this.monthsField.validateRange()){this.calculate() }}; B.prototype.setEqualHeadingsHeight=function v(){var F=[this.$headingLeft,this.$headingRight]; F.map(function(H){return H.height(k.auto) }); if(!Bank_utils.matchMedia.mobile){if(!Bank_utils.matchMedia.desktop&&Bank_utils.matchMedia.tablet){F[0]=F[0].eq(0) }var G=F.map(function(H){return H.outerHeight() }),E=Math.max.apply(Math,G); F.forEach(function(H){return H.outerHeight(E) }) }}; return B }(); var l={name:"loanRepaymentCalculator",selector:".O-LNREPCALC-RW-DEV",init:function s(t){return new q(t) }}; n(window).load(function(){return Bank_utils.registerComponent(l) }) })(Bootstrap.jQuery) }),(function(c,b,e){b.__esModule=true; function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}var a=b.InputWithSliderFieldAlly=function(){function g(i){d(this,g); this.$el=i.$el; this.$indicator=i.$indicator; this.$handleInBothSliders=i.$handleInBothSliders; this.$handleAmount=i.$handleAmount; this.$handleMonths=i.$handleMonths; this.labelAmountId=i.labelAmountId; this.labelMonthsId=i.labelMonthsId; this.fieldSettings=i.fieldSettings; this.context=i; this.setAriaOnPercentageIndicator(); this.setAriaOnSlider() }g.prototype.setAriaOnPercentageIndicator=function f(){this.$indicator.attr("aria-live","off") }; g.prototype.setAriaOnSlider=function h(){this.$handleInBothSliders.attr({role:"slider","aria-valuemin":this.fieldSettings.range.min,"aria-valuemax":this.fieldSettings.range.max,"aria-valuenow":this.fieldSettings.value}); this.$handleAmount.attr("aria-labelledby",this.labelAmountId); this.$handleMonths.attr("aria-labelledby",this.labelMonthsId) }; return g }() }),(function(c,e,b){var d=b(15); var h=b(34); var g=b(7); var a=b(8); function f(k,l){if(!(k instanceof l)){throw new TypeError("Cannot call a class as a function") }}function i(k,l){if(!k){throw new ReferenceError("this hasn't been initialised - super() hasn't been called") }return l&&(typeof l==="object"||typeof l==="function")?l:k }function j(l,k){if(typeof k!=="function"&&k!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof k) }l.prototype=Object.create(k&&k.prototype,{constructor:{value:l,enumerable:false,writable:true,configurable:true}}); if(k){Object.setPrototypeOf?Object.setPrototypeOf(l,k):l.__proto__=k }}(function(l){var n={amount:"amount",months:"months"}; var k=function(t){j(r,t); function r(){f(this,r); return i(this,t.apply(this,arguments)) }r.prototype.initCalculationService=function s(){var u=this; this.calculationService=new a.CalculationService(); this.calculationRules=new g.CalculationRules(this.config.rules); this.amountField=new d.InputWithSliderField(this.$el,{name:n.amount,value:this.config.defaultAmount,range:this.calculationRules.calculateAmountRange(this.state),step:this.config.amountSliderStep}); this.monthsField=new d.InputWithSliderField(this.$el,{name:n.months,value:this.config.defaultMonths,range:this.calculationRules.calculateMonthsRange(this.state),step:1}); l(document).on("LoansCalculator::reinit",function(){return u.calculate() }) }; r.prototype.calculate=function p(){var v=Object.assign({apr:this.calculationRules.calculateApr(this.state)},this.state),u=this.calculationService.getCalculationResults(v); if(!u){return }Object.assign(u,{amountPrefix:this.amountPrefix,percentSufix:this.percentSufix}); this.displayResult(u); this.result=u; l(document).trigger("LoansCalculator::recalculate",l.extend({},this.state,{amountPrefix:this.amountPrefix,percentSufix:this.percentSufix,annually:this.annually})) }; r.prototype.recalculate=function o(u){this.state[u.name]=u.value; this.amountField.setRange(this.calculationRules.calculateAmountRange(this.state)); this.monthsField.setRange(this.calculationRules.calculateMonthsRange(this.state)); this.setInputsAreas(); if(this.amountField.validateRange()&&this.monthsField.validateRange()){this.calculate() }this.amountField.allySlider.setAriaOnSlider(); this.monthsField.allySlider.setAriaOnSlider() }; r.prototype.displayResult=function q(u){this.amountField.setIndicatorValue(this.calculationRules.calculateApr(this.state)+this.percentSufix); this.resultRenderer.render(u) }; return r }(h.LoansCalculatorBase); Bank_utils.registerComponent({name:"loansCalculator",selector:".O-LNSCALC-RW-RBWM",init:function m(o){return new k(o) }}) })(Bootstrap.jQuery) }),(function(d,a,h){a.__esModule=true; function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var c={hasError:"hasError"},b=Bank_utils.keyCodes,f=Bootstrap.jQuery; var e=a.LoansCalculatorBaseAlly=function(){function l(o){g(this,l); this.$el=o.$el; this.context=o; this.bindUIEvents() }l.prototype.bindUIEvents=function k(){var o=this; this.context.$inputFields.on("keydown",function(p){return o.removeAriaLive(p) }).on("keyup",function(r){var p=r.keyCode,s=p===b.TAB,q=p===b.SHIFT; if(!(q||s)){o.readResults() }}); this.context.$sliderHandle.on("keydown",function(p){return o.handleKeyboardNavigation(p) }); this.$el.on(c.hasError,function(){return o.readErrorMessageOnce() }) }; l.prototype.removeAriaLive=function m(p){var q=p.keyCode===b.TAB,o=p.shiftKey; if(f(document.activeElement).is(this.context.$inputFields)){if(q||o){this.context.$calculationInputs.removeAttr("aria-live"); this.context.amountField.$input.removeAttr("aria-live aria-atomic"); if(o){this.context.$results.removeAttr("aria-live") }if(this.context.monthsField.$input!==undefined){this.context.monthsField.$input.removeAttr("aria-live aria-atomic") }else{this.context.monthsField.removeAttr("aria-live aria-atomic") }}}}; l.prototype.handleKeyboardNavigation=function i(r){var p=r.keyCode,s=p===b.TAB,t=p===b.LEFT,o=p===b.RIGHT,q=r.shiftKey; if(f(document.activeElement).is(this.context.$sliderHandle)){if(t||o){this.context.$results.attr("aria-live","assertive"); this.context.$calculationInputs.attr("aria-live","polite") }else{if(s||q){this.context.$results.removeAttr("aria-live"); this.context.$calculationInputs.removeAttr("aria-live") }}}}; l.prototype.readResults=function n(){this.context.$results.attr("aria-live","assertive"); this.context.$calculationInputs.attr("aria-live","polite"); if(this.context.amountField){o(this.context.amountField.$input) }if(this.context.monthsField){o(this.context.monthsField.$input) }function o(p){if(f(document.activeElement).is(p)){p.attr({"aria-live":"polite","aria-atomic":"true"}) }}}; l.prototype.readErrorMessageOnce=function j(){this.context.$results.attr("aria-live","assertive"); this.context.$calculationInputs.attr("aria-live","polite") }; return l }() }),(function(b,d,a){var c=a(15); var g=a(35); var f=a(34); function e(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}function h(j,k){if(!j){throw new ReferenceError("this hasn't been initialised - super() hasn't been called") }return k&&(typeof k==="object"||typeof k==="function")?k:j }function i(k,j){if(typeof j!=="function"&&j!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof j) }k.prototype=Object.create(j&&j.prototype,{constructor:{value:k,enumerable:false,writable:true,configurable:true}}); if(j){Object.setPrototypeOf?Object.setPrototypeOf(k,j):k.__proto__=j }}(function(k){var m={amount:"amount",months:"months"}; var j=function(u){i(n,u); function n(){e(this,n); return h(this,u.apply(this,arguments)) }n.prototype.initCalculationService=function t(){var v=this; this.calculationService=new g.CalculationServiceChina(); this.amountField=new c.InputWithSliderField(this.$el,{name:m.amount,value:this.config.defaultAmount,range:this.calculateAmountRange(),step:this.config.amountSliderStep}); this.monthsField=this.$el.find("select[name='"+m.months+"']"); this.monthsField.val(this.config.defaultMonths); this.monthsField.on("change",function(w){v.$el.trigger("fieldUpdated",{name:m.months,value:k(w.target).val()}) }) }; n.prototype.calculate=function q(){var w=Object.assign({rate:this.calculateRate(this.state)},this.state),v=this.calculationService.getCalculationResults(w); if(!v){return }Object.assign(v,{amountPrefix:this.amountPrefix,percentSufix:this.percentSufix}); this.displayResult(v); this.result=v }; n.prototype.recalculate=function o(v){this.state[v.name]=v.value; this.calculate(); this.amountField.allySlider.setAriaOnSlider() }; n.prototype.displayResult=function r(v){this.amountField.setIndicatorValue(this.calculateRate(this.state)+this.percentSufix); this.resultRenderer.render(v) }; n.prototype.calculateRate=function s(w){var v=this.config.rules.filter(function(x){return x.minAmount<=w.amount&&w.amount<=x.maxAmount }); return v[0]?v[0].rate:this.config.rules[0].rate }; n.prototype.calculateAmountRange=function p(){var v=this.config.rules; return{min:v[0].minAmount,max:v[v.length-1].maxAmount} }; return n }(f.LoansCalculatorBase); Bank_utils.registerComponent({name:"loansCalculatorChina",selector:".O-LNSCALCC-RW-RBWM",init:function l(n){return new j(n) }}) })(Bootstrap.jQuery) }),(function(d,c,g){var a=g(36); var e=g(8); var b=g(7); function f(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}(function(k){var h={configHolder:".config-holder",loansCalculator:".O-LNSCALC-RW-RBWM",productOffersContainer:".O-PRDOFFER-RW-RBWM"},m={config:"config",amountPrefix:"amount-prefix",percentSufix:"percent-sufix"},j={fieldUpdated:"fieldUpdated"}; var i=function(){function s(w){var x=this; f(this,s); this.$element=k(w); this.$loansCalculator=this.$element.closest(h.productOffersContainer).find(h.loansCalculator); this.readAndPrepareConfig(); if(this.config.calculate){this.state={amount:this.getAmountVal(),months:this.getMonthsVal()}; this.calculationService=new e.CalculationService(); this.calculationRules=new b.CalculationRules(this.config.rules); this.resultRenderer=new a.OfferDetailResultRenderer(this.$element); this.$loansCalculator.on(j.fieldUpdated,function(z,y){return x.recalculate(y) }); this.calculate() }}s.prototype.getAmountVal=function r(){return Number(this.$loansCalculator.find("[data-calc-input='amount'] input").val().replace(/\.|,/g,"")) }; s.prototype.getMonthsVal=function n(){return Number(this.$loansCalculator.find("[data-calc-input='months'] input").val()) }; s.prototype.readAndPrepareConfig=function q(){var w=this.$element.find(h.configHolder),x=this.$loansCalculator.find(h.configHolder); this.config=w.data(m.config); this.amountPrefix=x.data(m.amountPrefix)||""; this.percentSufix=x.data(m.percentSufix)||""; this.addMinAmountToRules() }; s.prototype.calculate=function p(){if(this.validate()){var x=k.extend({apr:this.calculationRules.calculateApr(this.state)},this.state),w=this.calculationService.getCalculationResults(x); if(!w){return }this.displayResult(w) }else{this.resultRenderer.empty() }}; s.prototype.recalculate=function v(w){this.state[w.name]=w.value; this.calculate() }; s.prototype.validate=function t(){var w=this.calculationRules.calculateAmountRange(this.state),x=this.calculationRules.calculateMonthsRange(this.state); return w.min<=this.state.amount&&this.state.amount<=w.max&&x.min<=this.state.months&&this.state.months<=x.max }; s.prototype.displayResult=function o(w){k.extend(w,{amount:this.state.amount,months:this.state.months,amountPrefix:this.amountPrefix,percentSufix:this.percentSufix}); this.resultRenderer.render(w) }; s.prototype.addMinAmountToRules=function u(){var x=this.config.rules.length; for(var w=0; w<x; ++w){k.extend(this.config.rules[w],{minAmount:w===0?this.config.minAmount:this.config.rules[w-1].maxAmount+1}) }}; return s }(); Bank_utils.registerComponent({name:"offerDetail",selector:".M-OFFERDETAIL-RW-RBWM",init:function l(n){return new i(n) }}) })(Bootstrap.jQuery) }),(function(c,b,e){var a=e(1); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(j){var i={expanded:"expanded"},h={accordion:".O-ACCRD-RW-RBWM",expander:".expander",dropdown:".dropdown",expandableElements:".dropdown-text, .exp-content"}; var f=function(){function l(p){d(this,l); this.$el=j(p); this.$dropdown=this.$el.find(h.dropdown); this.dropdownBorder=this.$dropdown.css("border"); this.bindUiEvents(); this.tealiumObserver=new a.TealiumObserver(this.$dropdown,{event_type:"click",event_category:"content",event_action:"accordion",event_content:function q(r){return j(r).parents(".A-EXPCNT-RW-RBWM").siblings(".anchor").attr("id") }}) }l.prototype.bindUiEvents=function o(){var p=this; this.$dropdown.on("click",function(q){return p.collapseOtherExpanders(q) }).on("keydown",function(q){if(q.keyCode===Bank_utils.keyCodes.ENTER||q.keyCode===Bank_utils.keyCodes.SPACE){p.collapseOtherExpanders(q) }}) }; l.prototype.collapseOtherExpanders=function n(q){var p=j(q.target).closest(h.expander); this.$dropdown.each(function(){var r=j(this).closest(h.expander); if(!p.is(r)){l.collapseExpander(r) }}); this.$dropdown.css("border-bottom",this.dropdownBorder) }; l.collapseExpander=function m(p){p.find(h.expandableElements).removeClass(i.expanded) }; return l }(); var g={name:"accordion",selector:h.accordion,init:function k(l){return new f(l) }}; j(window).load(function(){return Bank_utils.registerComponent(g) }) })(Bootstrap.jQuery) }),(function(c,b,g){var d=g(37); var e=g(8); var a=g(7); function f(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}(function(k){var h={configHolder:".config-holder",loansCalculator:".O-LNSCALC-RW-RBWM",productOffersContainer:".M-PRDOFFER-RW-RBWM"},j={monthlyRepayment:"N/A",apr:"N/A",totalAmount:"N/A"},n={config:"config"},i={fieldUpdated:"fieldUpdated",calculator:{recalculate:"LoansCalculator::recalculate",reinit:"LoansCalculator::reinit"}}; var l=function(){function t(w){f(this,t); this.$element=k(w); this.readAndPrepareConfig(); this.calculationService=new e.CalculationService(); this.calculationRules=new a.CalculationRules(this.config.rules); this.resultRenderer=new d.ProductDynamicRatesRenderer(this.$element); this.hookUpOnCalculatorEvents() }t.prototype.hookUpOnCalculatorEvents=function o(){var w=this; k(document).on(i.calculator.recalculate,function(x,y){w.state=y; w.calculate() }); k(document).trigger(i.calculator.reinit); if(!this.state){this.displayResult(j) }}; t.prototype.readAndPrepareConfig=function v(){var w=this.$element.find(h.configHolder); this.config=w.data(n.config); this.addMinAmountToRules() }; t.prototype.calculate=function q(){if(this.validate()){var x=Object.assign({apr:this.calculationRules.calculateApr(this.state)},this.state),w=this.calculationService.getCalculationResults(x); if(!w){return }this.displayResult(Object.assign(w,this.state,{amount:w.amount})) }else{this.displayResult(Object.assign(j,{amount:(this.state.amountPrefix||"")+this.calculationService.format(this.state.amount),months:this.state.months})) }}; t.prototype.recalculate=function p(w){this.state[w.name]=w.value; this.calculate() }; t.prototype.validate=function u(){var w=this.calculationRules.calculateAmountRange(this.state),x=this.calculationRules.calculateMonthsRange(this.state); return w.min<=this.state.amount&&this.state.amount<=w.max&&x.min<=this.state.months&&this.state.months<=x.max }; t.prototype.displayResult=function s(w){this.resultRenderer.render(w) }; t.prototype.addMinAmountToRules=function r(){var x=this.config.rules.length; for(var w=0; w<x; ++w){k.extend(this.config.rules[w],{minAmount:w===0?this.config.minAmount:this.config.rules[w-1].maxAmount+1}) }}; return t }(); Bank_utils.registerComponent({name:"productDynamicRates",selector:".M-PRDDNRTS-RW-DEV",init:function m(o){return new l(o) }}) })(Bootstrap.jQuery) }),(function(b,a,d){var e=d(3); function c(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(l){var m={backToTopLink:".A-LNKAU-RW-ALL"},h={active:"active",topOfContent:"top-of-content"},j=l("html"),k=l(document.body),i=l(document); var g=function(){function p(s){c(this,p); this.$el=l(s); this.$backToTopLink=this.$el.find(m.backToTopLink); this.$topOfContent=i.find("."+h.topOfContent); this.bindUiEvents() }p.prototype.bindUiEvents=function r(){var s=this; this.$backToTopLink.on("click",function(u){var t=Bank_utils.isChrome?k:j; u.preventDefault(); t.animate({scrollTop:0},400,undefined,s.setFocusToTopOfContentElement.bind(s)); e.TealiumUtils.trackEvent({event_type:"click",event_category:"content",event_action:"onsite",event_content:"Back to top"}) }); i.bind("focusin click swipe",function(t){s.hideSpanWhenLosesFocus(t) }) }; p.prototype.hideSpanWhenLosesFocus=function q(s){var t=s.target; if(this.$topOfContent.hasClass(h.active)){if(!this.$topOfContent.is(t)){this.$topOfContent.removeClass(h.active).attr({tabindex:-1,"aria-hidden":"true"}) }}}; p.prototype.setFocusToTopOfContentElement=function o(){this.$topOfContent.addClass(h.active).attr({tabindex:0,"aria-hidden":"false"}).focus() }; return p }(); function n(o){new g(o) }var f={name:"backToTop",selector:".M-BACKTOTOP-RW-RBWM",init:n}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(c,b,e){var a=e(38); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(k){if(Bank_utils.isIE8orLower()){return }var n={slideModule:".M-CAR3-RW-RBWM, .M-CARVID-RW-RBWM",pagination:".A-CARPAGD-RW-ALL, .A-CARPAGL-RW-ALL",threeTileSlide:"M-CAR3-RW-RBWM",videoSlide:"M-CARVID-RW-RBWM",tileMaster:".M-TILMAST-RW-RBWM",tilePanel:".A-PNL-RW-ALL",mCar:".M-CAR3-RW-RBWM",clone:".clone",row:".row"},j={carouselRow:"carousel-row",carouselHolder:"carousel-holder",initialized:"initialized",invisible:"invisible-on-mobile-tablet"},l=400,i=3; var m=function(){function A(H){d(this,A); this.$el=k(H); this.$slidesContainer=this.$el.find(".carousel-inner"); this.addClassToParentRow(); this.updateTilesInRowNumber(); this.bindUiEvents(); this.createClones(); this.tileWidth=h(this.$el,"width")/this.tilesInRow; this.setVisible(); this.updateInlineStyles(); this.initPagination(); this.toggleArrows(); this.animationComplete=true; this.prevWindowWidth=k(window).width(); this.resize(); this.allyHelper=new a.CarouselAlly(this) }A.prototype.addClassToParentRow=function p(){var I=this.$el.closest(n.row),H=this.$el.parent(); I.addClass(j.carouselRow); H.addClass(j.carouselHolder) }; A.prototype.getCurrentSlide=function v(){var H=this.currentTile-this.leftOffset; if(H<0){H=this.meatballsNr+H }else{if(H>=this.meatballsNr){H=0 }}return H }; A.prototype.getAdditionalTranslation=function y(){var H=0; for(var I=0; I<this.currentTile; I++){H+=this.tileData[I].translation }return H }; A.prototype.initPagination=function q(){var N=this; var H=this.$el.find(n.pagination),I=k(document.createDocumentFragment()),K={button:"<button></button>",li:"<li></li>"}; H.empty(); for(var J=0; J<this.meatballsNr; J++){var M=void 0,L=void 0; M=k(K.li); L=k(K.button).attr("data-id",J+this.currentTile).attr("tabindex",-1).attr("title","pagination"); M.append(L); I.append(M); if(Bank_utils.matchMedia.desktop){L.on("click",function(O){return N.meatballsClickHandler(O) }) }}H.append(I); this.updateMeatballs(); k(n.slideModule).css("display","block") }; A.prototype.meatballsClickHandler=function E(I){var H=k(I.target),J=parseInt(H.attr("data-id")); this.swipe(null,J) }; A.prototype.bindUiEvents=function s(){var J=this; var H=this.$el.find(".next"),I=this.$el.find(".prev"); I.on("click",function(){return J.swipe(1,null) }); H.on("click",function(){return J.swipe(-1,null) }); this.$el.on("carousel:reinitialize",function(){return J.resize(true) }); k(window).on("resize",function(){return J.resize() }) }; A.prototype.swipe=function w(H,J){var N=this; var I=h(this.$slidesContainer,"padding-left"),K=this.$el.find(".prev"),M=this.$el.find(".next"); var O=void 0,L=void 0,P=void 0; if(!this.animationComplete||this.arrowsHidden){return }this.$slidesContainer.removeClass("no-transition"); this.animationComplete=false; if(!H){P=this.calculateDistancePx(J,-I,true); this.currentTile=J }else{this.currentTile+=-H; P=this.calculateDistancePx(this.currentTile,-I,true) }this.$slidesContainer.css("margin-left",P); O=this.currentTile===0; L=this.currentTile===this.tileData.length-this.rightOffset; if(O){this.currentTile=this.tileData.length-this.rightOffset-this.leftOffset }else{if(L){this.currentTile=this.leftOffset }}this.updateMeatballs(); K.attr("aria-hidden",true); M.attr("aria-hidden",true); setTimeout(function(){var Q=0; if(O){Q=N.calculateDistancePx(N.tileData.length-N.rightOffset-N.leftOffset,-I,true) }else{if(L){Q=N.calculateDistancePx(N.leftOffset,-I,true) }}if(O||L){N.$slidesContainer.addClass("no-transition").css("margin-left",Q) }N.animationComplete=true; N.allyHelper.setFocus(); N.allyHelper.setTabIndexes(); N.allyHelper.setAccessibilityTexts(); K.removeAttr("aria-hidden"); M.removeAttr("aria-hidden") },l) }; A.prototype.createClones=function x(){this.$slidesContainer.find(n.clone).remove(); var J=this.$el.find(n.slideModule); var H=void 0,I=void 0,K=void 0; if(!J.length){return }H=J.last().clone(true,true); I=J.first().clone(true,true); K=H.add(I); K.addClass("clone").find("cq").remove(); K.find("[id]").removeAttr("id"); this.$slidesContainer.prepend(H,J.first()); this.$slidesContainer.append(I) }; A.prototype.updateTilesInRowNumber=function r(){if(Bank_utils.matchMedia.desktop){this.tilesInRow=3 }else{if(Bank_utils.matchMedia.tablet){this.tilesInRow=2 }else{this.tilesInRow=1 }}}; A.prototype.resize=function C(J){var I=k(window).width(),H=this.prevWindowWidth!==I; if(!H&&this.$el.hasClass(j.initialized)&&!J){return }this.updateTilesInRowNumber(); if(J){this.createClones() }this.tileWidth=h(this.$el,"width")/this.tilesInRow||this.tileWidth; this.updateInlineStyles(); this.initPagination(); this.toggleArrows(); this.currentTile=this.leftOffset; this.prevWindowWidth=I }; A.prototype.resizeTile=function F(){var L=this.$el.find(n.tileMaster),J=this.$el.find(n.mCar),I=[],H=2; var K=0; if(L.length){L.height("auto"); L.each(function(M,N){return I.push(k(N).outerHeight(true)) }); K=Math.max.apply(null,I); J.height(K+H); L.height(K) }}; A.prototype.updateInlineStyles=function t(){var J=h(this.$slidesContainer,"padding-left"),Q=this.$el.find(n.slideModule); var H=void 0,R=void 0; this.tileData=[]; this.meatballsNr=0; for(var N=0,O=Q.length; N<O; N++){var M=Q.eq(N); if(Bank_utils.matchMedia.mobile){if(M.hasClass(n.threeTileSlide)){for(var L=0; L<i; L++){this.tileData.push({width:this.tileWidth,translation:0,tilesInSlide:1}) }M.width(i*this.tileWidth) }else{if(M.hasClass(n.videoSlide)){this.tileData.push({width:this.tileWidth,translation:0,tilesInSlide:1}); M.width(this.tileWidth) }}}else{if(Bank_utils.matchMedia.tablet){if(M.hasClass(n.threeTileSlide)){var I=Q.eq(N+1),P=Q.eq(0); for(var K=0; K<i; K++){this.tileData.push({width:this.tileWidth,translation:0,tilesInSlide:2}); if(K===0&&(I.length&&I.hasClass(n.videoSlide)||N===O-1&&P.hasClass(n.videoSlide))){this.tileData.push({width:this.tileWidth*2,translation:1,tilesInSlide:2}); break }}M.width(i*this.tileWidth) }else{if(M.hasClass(n.videoSlide)){this.tileData.push({width:this.tileWidth*2,translation:0,tilesInSlide:1}); M.width(this.tileWidth*2) }}}else{if(M.hasClass(n.threeTileSlide)){this.tileData.push({width:this.tileWidth*i,translation:0,tilesInSlide:3}) }else{if(M.hasClass(n.videoSlide)){this.tileData.push({width:this.tileWidth*i,translation:0,tilesInSlide:1}) }}M.width(this.tileWidth*i) }}if(N===0){this.leftOffset=this.tileData.length }if(N===O-2){this.rightOffset=this.tileData.length }}this.leftOffset=this.leftOffset||0; this.rightOffset=this.tileData.length-this.rightOffset||0; this.currentTile=this.leftOffset; this.meatballsNr+=this.tileData.length-this.leftOffset-this.rightOffset; H=this.calculateDistancePx(this.currentTile,-J,true); R=this.calculateDistancePx(null,J*2); this.$slidesContainer.addClass("no-transition").css({"margin-left":H,width:R}); this.resizeTile() }; A.prototype.calculateOffset=function u(I){var J=0; if(typeof I==="undefined"||I===null){I=this.tileData.length }for(var H=0; H<I; H++){if(this.tileData[H]){J+=this.tileData[H].width }}return J }; A.prototype.calculateDistancePx=function D(K,I,H){var J=H?-1:1; return J*this.calculateOffset(K)+I+"px" }; A.prototype.toggleArrows=function B(){if(Bank_utils.matchMedia.desktop&&this.tileData.length<=i){this.$el.addClass("arrows-hidden"); this.arrowsHidden=true }else{this.$el.removeClass("arrows-hidden"); this.arrowsHidden=false }}; A.prototype.updateMeatballs=function G(){var J=this.$el.find(n.pagination).find("button"),I=J.length; var H=this.currentTile-this.leftOffset; J.removeClass("active"); if(H<0){H=I+H }else{if(H>=I){H=0 }}var K=J.eq(H); if(K.length){K.addClass("active") }}; A.prototype.setVisible=function z(){var H=!!window.location.hash; this.$el.removeClass(j.invisible); if(!Bank_utils.matchMedia.desktop&&!H){k(window).scrollTop(0) }}; return A }(); function h(p,q){return parseInt(p.css(q)) }function f(p){k(p).trigger("carousel:reinitialize") }var g={name:"carousel",reinitIfParent:true,selector:".O-CAR-RW-RBWM",init:function o(p){return new m(p) },reinit:f}; k(window).load(function(){return Bank_utils.registerComponent(g) }) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var l={richText:".rich-text",quote:".quote"},g={quote:"quote"},j={quote:"<q></q>"},i={currentDate:/\{\{currentDate\}\}/g},e={"America/New_York":"M/D/YYYY","default":"DD/MM/YYYY"}; var k=function(){function p(r){c(this,p); this.$el=h(r); this.moment=moment; if(!Bank_utils.isEditMode()){this.setUpCurrenDate(); this.fillCurrentDate(); this.setQuotes() }}p.prototype.setQuotes=function o(){var r=this.$el.find(l.quote); r.each(function(){var u=h(this),t=u.html(),s=h(j.quote); s.html(t).addClass(g.quote); u.replaceWith(s) }) }; p.prototype.setUpCurrenDate=function q(){var r=this.$el.find("[data-zone]").data("zone"); if(e[r]){this.currentDate=this.moment.tz(r).format(e[r]) }else{this.currentDate=this.moment().format(e["default"]) }}; p.prototype.fillCurrentDate=function n(){var r=this.$el.html(); this.$el.html(r.replace(i.currentDate,this.currentDate)) }; return p }(); var f={name:"richText",selector:l.richText,init:function m(n){return new k(n) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(b,a,d){var e=d(39); function c(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(h){var n={smallWidth:100,mediumWidth:200,fixedSpacing:10},l={tableWrapper:".table-wrapper",adaptableTable:".adaptable-table",caption:"caption"},j={adaptableTable:"adaptable-table",adaptableTablePlaceholder:"adaptable-table-placeholder"},i={tableRendered:"table:rendered"},g=h(".tab-widget-tab-content").not(".hidden"),k=g.width(); var m=function(){function s(w){c(this,s); if(!Bank_utils.isEditMode()&&!Bank_utils.isIE8orLower()){this.$el=h(w); this.bindUIEvents(); this.bindElements(); this.parseMarkup(); this.adjustTableSize(); new e.TablesAlly(this) }}s.prototype.bindUIEvents=function u(){var w=this; h(window).on("resize",function(){w.adjustTableSize() }); this.$el.on(i.tableRendered,function(){w.bindElements(); w.generateCaption(); w.adjustTableSize() }) }; s.prototype.bindElements=function r(){this.$tableWrapper=this.$el.find(l.tableWrapper).last(); this.$table=this.$tableWrapper.find("table").last(); this.$cells=this.$table.find("th, td"); this.$stickyColumn=this.$table.find("tr > td:first-child, tr > th:first-child"); this.columnsCount=this.$table.find("tr:first-child > th, tr:first-child > td").length; this.$caption=this.$table.find(l.caption); this.$adaptableTable=this.$el.find(l.adaptableTable); if(this.$adaptableTable.length==0){this.$adaptableTable=this.$el.find(l.adaptableTablePlaceholder) }}; s.prototype.parseMarkup=function q(){this.$table.removeAttr("height width border cellpadding cellspacing"); this.$cells.removeAttr("height width border cellpadding cellspacing") }; s.prototype.resetAdaptableTable=function p(){if(this.$adaptableTable.length>0){this.$adaptableTable.css({"padding-left":0}) }this.$tableWrapper.css({"overflow-x":"auto"}); this.$stickyColumn.css({width:"auto",height:"auto",left:"auto",position:"static"}); this.$table.css("min-width","100%"); this.$cells.css("width","auto"); if(this.$adaptableTable.length>0){this.$adaptableTable.removeClass(j.adaptableTable); this.$adaptableTable.addClass(j.adaptableTablePlaceholder) }}; s.prototype.applyAdaptableTable=function v(){var x=!Bank_utils.matchMedia.mobile?n.mediumWidth:n.smallWidth,C=this.$stickyColumn.first(),y={x:C.innerWidth()-C.width(),y:C.innerHeight()-C.height()},z=this.$table.closest(".tab-widget-tab-content").length>0?k:this.$table.width(),A=z; if(this.columnsCount>1){A=(z/(this.columnsCount-1)).toFixed(2) }var D=Bank_utils.getMatchMediaUnit(); if(this.$caption){var w=2*D; this.$caption.css("top",w); var F=this.$caption.height()+w*2; this.$table.css("margin-top",F) }else{var B=2*D; this.$table.css("margin-top",B) }if(this.$adaptableTable.length==0){this.$adaptableTable=h('<div class="'+j.adaptableTable+'"></div>'); this.$tableWrapper.wrap(this.$adaptableTable); this.$adaptableTable=this.$el.find(l.adaptableTable) }else{this.$adaptableTable.addClass(j.adaptableTable); this.$adaptableTable.removeClass(j.adaptableTablePlaceholder) }this.$stickyColumn.each(function(G,H){var I=h(H); if(!Bank_utils.matchMedia.mobile&&I.width()>x){x=I.width() }else{x=n.smallWidth }}); this.$cells.width(A); var E=x-n.fixedSpacing+y.x; this.$adaptableTable.css({paddingLeft:E}); this.$tableWrapper.css({"overflow-x":"scroll"}); this.$stickyColumn.css({width:x,left:0,position:"absolute"}); this.$stickyColumn.each(function(H,J){var K=h(J),I=K.parent("tr"),G=(I.height()>K.innerHeight()?I.height():K.innerHeight())-y.y; I.find("td,th").css({height:G}) }) }; s.prototype.adjustTableSize=function t(){this.bindElements(); this.resetAdaptableTable(); if(this.$el.width()<this.$table.width()){this.applyAdaptableTable() }if(this.$table.closest(".hidden").length>0&&!Bank_utils.matchMedia.mobile){this.$table.css("width",k); this.$el.css("width",k) }this.$el.css("width","auto"); this.$table.css("width","auto") }; return s }(); var f={name:"smptbl",selector:".M-SMPTBL-RW-RBWM",init:function o(p){return new m(p) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(c,e,b){function f(k,l){if(!(k instanceof l)){throw new TypeError("Cannot call a class as a function") }}var g=Bootstrap.jQuery,d={introSection:".intro-section",bannerSection:".banner-section",heroBannerContainer:".hero-banner-container",heroBannerContent:".O-HEROBAN-RW-RBWM",heroBanner:".O-HEROBAN2-RW-DEV",noImage:".noImage"},j={hasNewHero:"has-hero-2"},a={units4:40}; var h=function(){function n(o){f(this,n); this.$homePageHero=g(o); this.$introSection=this.$homePageHero.parents(d.introSection); if(!this.$introSection.length){this.$introSection=this.$homePageHero.parents(d.bannerSection) }this.updateIntroSection(); this.updateEmptyHeight(); this.bindUIEvents() }n.prototype.updateIntroSection=function m(){this.$introSection.addClass(j.hasNewHero) }; n.prototype.updateEmptyHeight=function k(){var p=this.$introSection.find(d.noImage),o=this.$introSection.find(d.heroBannerContainer); if(!p.length){return }p.css("min-height",o.find(d.heroBannerContent).height()+a.units4+"px") }; n.prototype.bindUIEvents=function l(){var o=this; g(window).on("resize",function(){o.updateEmptyHeight() }) }; return n }(); Bank_utils.registerComponent({name:"heroBanner_rev2",selector:d.heroBanner,init:function i(k){return new h(k) }}) }),(function(c,a,g){var d=g(16); var f=g(40); var b=e(f); function e(h){return h&&h.__esModule?h:{"default":h} }(function(){d.Bank_utils.registerComponent({name:"heronoimage",selector:".O-HEROBANNOIMG-RW-DEV",init:function h(i){return new b["default"](i) }}) })() }),(function(d,b,h){b.__esModule=true; function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var c={heroImage:".O-HEROIMG-RW-RBWM",parentWrapper:".intro-section",updatedElement:".sm-12",heroBanner:".O-HEROBAN-RW-RBWM"},a={toRemoveInParent:"sm-12",toRemoveInWrapper:"row"},f=Bootstrap.jQuery; var e=b.HeroImage=function(){function j(k){g(this,j); this.$el=f(k); this.$parentWrapper=this.$el.parents(c.parentWrapper); this.$heroBanner=this.$parentWrapper.find(c.heroBanner); this.updateStructure() }j.prototype.updateStructure=function i(){this.$parentWrapper.removeClass(a.toRemoveInWrapper); this.$el.unwrap(); this.$heroBanner.wrap(f('<div class="grid"></div>')) }; return j }(); (function(){Bank_utils.registerComponent({name:"heroimage",selector:c.heroImage,init:function i(j){return new e(j) }}) })() }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var e={introSection:".intro-section",heroBanner:".O-HPHERO-RW-DEV"},f={hasNewHero:"has-home-page-hero"}; var g=function(){function k(l){c(this,k); this.$homePageHero=h(l); this.$introSection=this.$homePageHero.parents(e.introSection); this.updateIntroSection() }k.prototype.updateIntroSection=function j(){this.$introSection.addClass(f.hasNewHero) }; return k }(); function i(j){new g(j) }Bank_utils.registerComponent({name:"heroBanner",selector:e.heroBanner,init:i}) })(Bootstrap.jQuery) }),(function(d,b,f){var g=f(39); f(82); function e(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var c={basicTable:".M-BSCTBL-RW-RBWM"}; var a=function(){function i(j){e(this,i); this.element=j; if(!Bank_utils.isEditMode()){new g.TablesAlly(this.element) }this.removeAdditionalSpaces() }i.prototype.removeAdditionalSpaces=function h(){var j=document.querySelector(c.basicTable),k=j.getElementsByTagName("td"); Array.from(k).forEach(function(l){l.innerHTML=l.innerHTML.replace(/ /g,"") }) }; return i }(); (function(){var h={name:"bsctbl",selector:c.basicTable,init:function i(j){return new a(j).removeAdditionalSpaces() }}; Bank_utils.registerComponent(h) })() }),(function(b,a,c){c(83); c(98); b.exports=c(5).Array.from }),(function(b,a,c){var d=c(84)(true); c(85)(String,"String",function(e){this._t=String(e); this._i=0 },function(){var g=this._t; var f=this._i; var e; if(f>=g.length){return{value:undefined,done:true} }e=d(g,f); this._i+=e.length; return{value:e,done:false} }) }),(function(c,b,d){var a=d(17); var e=d(18); c.exports=function(f){return function(n,o){var m=String(e(n)); var k=a(o); var j=m.length; var h,g; if(k<0||k>=j){return f?"":undefined }h=m.charCodeAt(k); return h<55296||h>56319||k+1===j||(g=m.charCodeAt(k+1))<56320||g>57343?f?m.charAt(k):h:f?m.slice(k,k+2):(h-55296<<10)+(g-56320)+65536 } } }),(function(d,g,c){var e=c(41); var f=c(19); var m=c(44); var i=c(9); var h=c(23); var b=c(89); var k=c(51); var o=c(97); var j=c(0)("iterator"); var q=!([].keys&&"next" in [].keys()); var a="@@iterator"; var p="keys"; var n="values"; var l=function(){return this }; d.exports=function(z,w,x,C,F,E,K){b(x,w,C); var s=function(N){if(!q&&N in B){return B[N] }switch(N){case p:return function O(){return new x(this,N) }; case n:return function M(){return new x(this,N) } }return function L(){return new x(this,N) } }; var t=w+" Iterator"; var y=F==n; var I=false; var B=z.prototype; var H=B[j]||B[a]||F&&B[F]; var v=H||s(F); var r=F?!y?v:s("entries"):undefined; var D=w=="Array"?B.entries||H:H; var G,J,A; if(D){A=o(D.call(new z())); if(A!==Object.prototype&&A.next){k(A,t,true); if(!e&&typeof A[j]!="function"){i(A,j,l) }}}if(y&&H&&H.name!==n){I=true; v=function u(){return H.call(this) } }if((!e||K)&&(q||I||!B[j])){i(B,j,v) }h[w]=v; h[t]=l; if(F){G={values:y?v:s(n),keys:E?v:s(p),entries:r}; if(K){for(J in G){if(!(J in B)){m(B,J,G[J]) }}}else{f(f.P+f.F*(q||I),w,G) }}return G } }),(function(b,a,c){b.exports=!c(12)&&!c(42)(function(){return Object.defineProperty(c(43)("div"),"a",{get:function(){return 7 }}).a!=7 }) }),(function(c,b,d){var a=d(20); c.exports=function(g,e){if(!a(g)){return g }var f,h; if(e&&typeof(f=g.toString)=="function"&&!a(h=f.call(g))){return h }if(typeof(f=g.valueOf)=="function"&&!a(h=f.call(g))){return h }if(!e&&typeof(f=g.toString)=="function"&&!a(h=f.call(g))){return h }throw TypeError("Can't convert object to primitive value") } }),(function(b,a){b.exports=function(c){if(typeof c!="function"){throw TypeError(c+" is not a function!") }return c } }),(function(e,b,g){var d=g(90); var f=g(21); var c=g(51); var a={}; g(9)(a,g(0)("iterator"),function(){return this }); e.exports=function(j,i,h){j.prototype=d(a,{next:f(1,h)}); c(j,i+" Iterator") } }),(function(b,e,a){var h=a(11); var k=a(91); var j=a(50); var g=a(25)("IE_PROTO"); var c=function(){}; var d="prototype"; var i=function(){var o=a(43)("iframe"); var n=j.length; var l="<"; var m=">"; var p; o.style.display="none"; a(96).appendChild(o); o.src="javascript:"; p=o.contentWindow.document; p.open(); p.write(l+"script"+m+"document.F=Object"+l+"/script"+m); p.close(); i=p.F; while(n--){delete i[d][j[n]] }return i() }; b.exports=Object.create||function f(n,m){var l; if(n!==null){c[d]=h(n); l=new c(); c[d]=null; l[g]=n }else{l=i() }return m===undefined?l:k(l,m) } }),(function(d,c,e){var f=e(10); var a=e(11); var g=e(46); d.exports=e(12)?Object.defineProperties:function b(n,h){a(n); var l=g(h); var k=l.length; var j=0; var m; while(k>j){f.f(n,m=l[j++],h[m]) }return n } }),(function(d,a,f){var b=f(13); var g=f(24); var e=f(94)(false); var c=f(25)("IE_PROTO"); d.exports=function(j,n){var m=g(j); var l=0; var h=[]; var k; for(k in m){if(k!=c){b(m,k)&&h.push(k) }}while(n.length>l){if(b(m,k=n[l++])){~e(h,k)||h.push(k) }}return h } }),(function(b,a,c){var d=c(47); b.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return d(e)=="String"?e.split(""):Object(e) } }),(function(c,b,e){var f=e(24); var a=e(48); var d=e(95); c.exports=function(g){return function(n,j,i){var m=f(n); var k=a(m.length); var h=d(i,k); var l; if(g&&j!=j){while(k>h){l=m[h++]; if(l!=l){return true }}}else{for(; k>h; h++){if(g||h in m){if(m[h]===j){return g||h||0 }}}}return !g&&-1 } } }),(function(e,c,f){var b=f(17); var a=Math.max; var d=Math.min; e.exports=function(g,h){g=b(g); return g<0?a(g+h,0):d(g,h) } }),(function(c,b,d){var a=d(4).document; c.exports=a&&a.documentElement }),(function(e,a,g){var b=g(13); var f=g(52); var d=g(25)("IE_PROTO"); var c=Object.prototype; e.exports=Object.getPrototypeOf||function(h){h=f(h); if(b(h,d)){return h[d] }if(typeof h.constructor=="function"&&h instanceof h.constructor){return h.constructor.prototype }return h instanceof Object?c:null } }),(function(b,d,a){var i=a(45); var c=a(19); var k=a(52); var l=a(99); var e=a(100); var h=a(48); var f=a(101); var j=a(102); c(c.S+c.F*!a(104)(function(m){Array.from(m) }),"Array",{from:function g(x){var u=k(x); var n=typeof this=="function"?this:Array; var r=arguments.length; var q=r>1?arguments[1]:undefined; var m=q!==undefined; var v=0; var s=j(u); var o,w,p,t; if(m){q=i(q,r>2?arguments[2]:undefined,2) }if(s!=undefined&&!(n==Array&&e(s))){for(t=s.call(u),w=new n(); !(p=t.next()).done; v++){f(w,v,m?l(t,q,[p.value,v],true):p.value) }}else{o=h(u.length); for(w=new n(o); o>v; v++){f(w,v,m?q(u[v],v):u[v]) }}w.length=v; return w }}) }),(function(c,b,d){var a=d(11); c.exports=function(i,h,j,f){try{return f?h(a(j)[0],j[1]):h(j) }catch(k){var g=i["return"]; if(g!==undefined){a(g.call(i)) }throw k }} }),(function(d,c,f){var e=f(23); var b=f(0)("iterator"); var a=Array.prototype; d.exports=function(g){return g!==undefined&&(e.Array===g||a[b]===g) } }),(function(d,b,e){var c=e(10); var a=e(21); d.exports=function(g,f,h){if(f in g){c.f(g,f,a(0,h)) }else{g[f]=h }} }),(function(d,b,f){var c=f(103); var a=f(0)("iterator"); var e=f(23); d.exports=f(5).getIteratorMethod=function(g){if(g!=undefined){return g[a]||g["@@iterator"]||e[c(g)] }} }),(function(b,a,f){var g=f(47); var e=f(0)("toStringTag"); var d=g(function(){return arguments }())=="Arguments"; var c=function(i,h){try{return i[h] }catch(j){}}; b.exports=function(i){var j,h,k; return i===undefined?"Undefined":i===null?"Null":typeof(h=c(j=Object(i),e))=="string"?h:d?g(j):(k=g(j))=="Object"&&typeof j.callee=="function"?"Arguments":k } }),(function(f,b,h){var a=h(0)("iterator"); var d=false; try{var c=[7][a](); c["return"]=function(){d=true }; Array.from(c,function(){throw 2 }) }catch(g){}f.exports=function(k,l){if(!l&&!d){return false }var m=false; try{var i=[7]; var j=i[a](); j.next=function(){return{done:m=true} }; i[a]=function(){return j }; k(i) }catch(n){}return m } }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(i){var e={template:".dynamic-table-template",targetContainer:".nomustache-content",targetContent:".M-SMPTBL-RW-RBWM"},h={source:"source"},f={tableRendered:"table:rendered"}; var j=function(){function m(p){c(this,m); this.$el=i(p); this.$targetContainer=this.$el.find(e.targetContainer); this.$targetContent=this.$targetContainer.find(e.targetContent); this.dataSourceUrl=this.$targetContainer.data(h.source); this.tableTemplate=this.$el.find(e.template).html(); this.readDataFromUrl(); this.initializeMustacheFormatter() }m.prototype.readDataFromUrl=function o(){var p=this; i.ajax(this.dataSourceUrl,{dataType:"json",cache:false}).done(function(q){p.replaceWithData(false,q) }).fail(function(q,s,r){p.replaceWithData(true,{textStatus:s,errorThrown:r}) }) }; m.prototype.initializeMustacheFormatter=function n(){if(Mustache){if(Mustache.Formatters&&!Mustache.Formatters.threeDecimal){Mustache.Formatters.threeDecimal=function(p){return(Math.round(Number(p)*1000)/1000).toFixed(3) } }}}; m.prototype.replaceWithData=function l(q,r){var p=this; if(q){console.log("Error: "+JSON.stringify(r)) }else{this.$targetContent.html(Mustache.render(this.tableTemplate,r)).promise().done(function(){p.$targetContent.trigger(f.tableRendered); i(window).trigger("resize") }) }}; return m }(); var g={name:"dynamictable",selector:".M-DYNTBL-RW-RBWM",init:function k(l){return new j(l) }}; Bank_utils.registerComponent(g) })(Bootstrap.jQuery) }),(function(b,a,d){d(107); function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var g={description:".text-container",oneClickButtons:".oneClickButton",modal:"oneClickModal",close:".close-trigger",oneStepButton:"a.continue",multipleStepsButton:"button.options"}; var f={formName:"nb",cookieName:"FromWebSite",cookieSecure:true,cookieExpiration:0,dataLinks:{oneClickLinkPath:"data-oneClickLinkPath",fewStepsLinkPath:"data-fewStepsLinkPath",languageTag:"data-languageTag",countryTag:"data-countryTag",fromWebSite:"data-fromWebSite",modalPath:"data-modalPath"},cookies:{languageTag:"LANGTAG=",countryTag:"COUNTRYTAG="},onEnter:{13:1,Enter:1},onEscape:{27:1,Escape:1},onTab:{9:1,Tab:1}}; var i=function(){function Q(R){c(this,Q); this.button=R }Q.prototype.subscribeOnClicks=function B(R){var S=this; R.addEventListener("click",function(T){S.onClick(T) }); return this }; Q.prototype.subscribeOnKeyPress=function k(R){var S=this; this.onKeyDown(R,f.onEnter,function(T){S.onClick(T) }); return this }; Q.prototype.onKeyDown=function m(T,R,S){T.addEventListener("keydown",function(U){if(R[U.which]||R[U.keyCode]||R[U.key]){U.preventDefault(); S(U) }}); return T }; Q.prototype.popUpConfiguration=function N(){return["status=yes","location=no","scrollbars=yes","menubar=no","toolbar=no","resizable=yes","height="+screen.height,"width="+screen.width,"left=0","top=0"].join(",") }; Q.prototype.onClick=function o(){var T=this; var S=this.extractAttributes(this.button,f.dataLinks); var R=this.buildUrlWithParameters(S); if(!this.needToShowPopUp(S.fewStepsLinkPath)){this.focusOnEl(this.windowOpen(window)).submitForm(R,this.prepareForm(document,this.createForm(document),this.createInput(document))).setCookiesIfValueExists(S.fromWebSite); return }this.requestPopUp(S.modalPath,function(U){var V=T.whenLoadedPopUp(R,S,T.parseModal(U)); T.showModalToUser(V,document); T.modalAccessibilityHandler(V) },Bootstrap.jQuery) }; Q.prototype.focusOnEl=function p(R){R.focus(); return this }; Q.prototype.modalAccessibilityHandler=function n(R){var S=R.querySelector(g.description); this.focusOnEl(S) }; Q.prototype.requestPopUp=function E(U,T,R){R.ajax({type:"GET",url:U+".html",data:{wcmmode:"disabled"},success:T,error:function S(V){return console.error("Please configure one click button modal window",V) }}) }; Q.prototype.whenLoadedPopUp=function O(R,U,T){var S=this; try{var W=this.cyclicIterator(T.querySelectorAll("button,a")); this.modalCloseButton(T).addEventListener("click",function(){S.closeModal(T) }); this.onKeyDown(this.modalCloseButton(T),f.onEnter,function(){S.closeModal(T) }); this.onKeyDown(document,f.onEscape,function(){S.closeModal(T) }); this.modalOneStepButton(T).addEventListener("click",function(){S.oneStepAction(R,U) }); this.onKeyDown(this.modalOneStepButton(T),f.onEnter,function(){S.oneStepAction(R,U) }); this.modalMultipleStepsButton(T).addEventListener("click",function(){S.multipleStepsAction(U) }); this.onKeyDown(this.modalMultipleStepsButton(T),f.onEnter,function(){S.multipleStepsAction(U) }); this.onKeyDown(T,f.onTab,function(){W.next().focus() }) }catch(V){console.error("Not expected pop-up",V) }return T }; Q.prototype.closeModal=function q(R){R.parentNode.removeChild(R) }; Q.prototype.cyclicIterator=function C(T){var R=0; return{next:function S(){return R<T.length?T[R++]:(R=0)||T[R++] }} }; Q.prototype.multipleStepsAction=function A(R){this.focusOnEl(this.windowOpen(window)).submitForm(R.fewStepsLinkPath,this.prepareForm(document,this.createForm(document),this.createInput(document))).setCookiesIfValueExists(R.fromWebSite) }; Q.prototype.oneStepAction=function F(R,S){this.focusOnEl(this.windowOpen(window)).submitForm(R,this.prepareForm(document,this.createForm(document),this.createInput(document))).setCookiesIfValueExists(S.fromWebSite) }; Q.prototype.buildUrlWithParameters=function K(R){return this.appendGetParameters(R.oneClickLinkPath,Object.keys(R).filter(function(S){return f.cookies[S]&&R[S] }).reduce(function(T,S){T.push((f.cookies[S]||"").concat(R[S])); return T },[])) }; Q.prototype.submitForm=function t(R,S){S.action=R; S.submit(); S.parentNode.removeChild(S); return this }; Q.prototype.setAttributes=function I(S,R){Object.entries(R).forEach(function(T){S.setAttribute(T[0],T[1]) }); return S }; Q.prototype.extractAttributes=function H(S,R){var T={}; Object.entries(R).reduce(function(U,V){U[V[0]]=S.getAttribute(V[1]); return U },T); return T }; Q.prototype.setCookiesIfValueExists=function w(R){if(!R){console.info("Can't set one click button cookie, because value is empty"); return }this.setCookie(f.cookieName,R,"index.html",this.allowCookieForSubDomain(this.replaceWwwInDomain(window.location.host)),f.cookieSecure,f.cookieExpiration) }; Q.prototype.createInput=function L(R){return this.setAttributes(R.createElement("input"),{WithCookie:"true"}) }; Q.prototype.createForm=function r(R){return this.setAttributes(R.createElement("form"),{method:"post",name:f.formName,target:f.formName}) }; Q.prototype.windowOpen=function v(R){return R.open("",f.formName,this.popUpConfiguration()) }; Q.prototype.showModalToUser=function s(S,R){R.body.appendChild(S); return S }; Q.prototype.setCookie=function z(S,U,W,T,V,R){document.cookie=S+"="+escape(U)+(W?"; path="+W:"")+(T?"; domain="+T:"")+(V?";secure":"")+(R?";expires="+R.toGMTString():"") }; Q.prototype.parseModal=function M(R){return new DOMParser().parseFromString(R,"text/html").getElementById(g.modal) }; Q.prototype.replaceWwwInDomain=function x(R){return R.replace("www","") }; Q.prototype.allowCookieForSubDomain=function J(R){if(R.indexOf(".")!==0){return"."+R }return R }; Q.prototype.prepareForm=function u(R,S,T){S.appendChild(T); R.body.appendChild(S); return S }; Q.prototype.appendGetParameters=function y(R,S){if(R.indexOf("?")){return R+"&"+S.join("&") }return R+"?"+S.join("&") }; Q.prototype.needToShowPopUp=function G(R){return !!R }; Q.prototype.modalMultipleStepsButton=function D(R){return R.querySelector(g.multipleStepsButton) }; Q.prototype.modalOneStepButton=function l(R){return R.querySelector(g.oneStepButton) }; Q.prototype.modalCloseButton=function P(R){return R.querySelector(g.close) }; return Q }(); var e={name:"one-click-button",selector:g.oneClickButtons,init:function j(k){return new i(k).subscribeOnClicks(k).subscribeOnKeyPress(k) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) }),(function(b,a,c){c(108); b.exports=c(5).Object.entries }),(function(c,b,e){var f=e(19); var d=e(109)(true); f(f.S,"Object",{entries:function a(g){return d(g) }}) }),(function(b,a,c){var f=c(46); var e=c(24); var d=c(110).f; b.exports=function(g){return function(l){var o=e(l); var n=f(o); var m=n.length; var k=0; var h=[]; var j; while(m>k){if(d.call(o,j=n[k++])){h.push(g?[j,o[j]]:o[j]) }}return h } } }),(function(b,a){a.f={}.propertyIsEnumerable }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var g={quickLinksWithIcon:".M-QCKLKSWICN-RW-RBWM",quickLinkWithIcon:".M-QCKLKWICN-RW-RBWM",gridClasses:".grid-classes",linkContainer:".link-container"},f={withoutBorder:"without-bottom-border"}; var j=function(){function s(t){c(this,s); this.$el=h(t); this.$gridClasses=this.$el.find(g.gridClasses); this.$allLinks=this.$el.find(g.quickLinkWithIcon); this.$linkContainers=this.$el.find(g.linkContainer); this.$quickLinkWithIconColumn=this.$el.find(g.quickLinkWithIcon); this.initClasses(); this.setHeights(); this.removeLastRowDivider(); this.bindUIEvents() }s.prototype.initClasses=function m(){var t=this.$gridClasses.data("grid-classes"); if(t){this.$allLinks.addClass(t) }}; s.prototype.bindUIEvents=function k(){var t=this; h(window).on("resize",function(){t.setHeights(); t.removeLastRowDivider() }) }; s.prototype.setHeights=function n(){this.$linkContainers.height("auto"); if(Bank_utils.matchMedia.desktop||Bank_utils.matchMedia.tablet){this.equalizeElementsInitialHeight(); this.equalizeElementsHeight() }}; s.prototype.equalizeElementsInitialHeight=function r(){var t=s.getHighestElement(this.$linkContainers); this.$linkContainers.outerHeight(t.outerHeight()); t.height("auto"); this.$linkContainers.outerHeight(t.outerHeight()) }; s.getHighestElement=function o(t){return t.toArray().reduce(function(w,v){var u=h(v); return w.height()<u.height()?u:w },t.first()) }; s.prototype.equalizeElementsHeight=function p(){var t=this.getVerticallyGroupedColumns(); this.$linkContainers.height("auto"); t.forEach(function(u){var v=Math.max.apply(null,u.map(function(w){return w.height() })); u.forEach(function(w){return w.height(v) }) }) }; s.prototype.getVerticallyGroupedColumns=function q(){var t={}; this.$linkContainers.each(function(){var v=h(this),u=v.offset().top; if(!t[u]){t[u]=[] }t[u].push(v) }); return h.map(t,function(u){return[u] }) }; s.prototype.removeLastRowDivider=function l(){if(this.$linkContainers.length){var t=f.withoutBorder,u=this.$linkContainers.last().offset().top; this.$linkContainers.removeClass(t); this.$linkContainers.each(function(v,w){var x=h(w); if(x.offset().top===u){x.addClass(t) }}) }}; return s }(); var e={name:"quickLinksWithIcon",selector:g.quickLinksWithIcon,init:function i(k){return new j(k) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) }),(function(b,a,e){var c=e(26); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(l){var p={recentArticles:".O-RCNART-RW-RBWM",articlesDataSource:".articles-data-source",wrapper:".recent-articles-wrapper",pagination:".generic-pagination",pageSwitchers:".number a, .arrow a",customSelect:"select.A-FSSINGSEL-RW-ALL",selectedOption:"option:selected",pageHeader:".header"},o={articles:"recent-articles"},h={common:{tiles:"O-MASTERTILE-DEV",grid:"sm-12 md-6 lg-3"},featured:{tiles:"O-MASTERTILE-DEV",grid:"sm-12 md-6"}},k={emptyResults:"empty-results",selected:"selected"},m={source:"source",tagNames:"tag-names",displayMode:"display-mode",page:"page"},s={topFour:"topFour"},f="lll",j="all",q=6; var n=function(){function K(M){d(this,K); this.$el=l(M); this.$articlesDataSource=this.$el.find(p.articlesDataSource); this.$wrapper=this.$el.find(p.wrapper); this.$pagination=this.$el.find(p.pagination); this.$customSelect=this.$el.find(p.customSelect); this.prepare(); this.init(); this.bindUiEvents() }K.prototype.prepare=function v(){this.setData(); this.setMustacheTemplates(); if(this.articles.length>0){this.$el.removeClass(k.emptyResults); this.prepareSettings() }else{this.$el.addClass(k.emptyResults) }}; K.prototype.prepareSettings=function z(){var M=this; if(this.displayMode===s.topFour){this.articlesPerPage={first:4,any:4}; this.articleRowsMap={first:[4,0,0]}; this.selectedCategory=j; this.$pagination.hide() }else{this.articlesPerPage={first:10,any:12}; this.articleRowsMap={first:[2,4,4],any:[4,4,4]}; this.selectedCategory=this.$customSelect.length>0?this.$customSelect.find(p.selectedOption).val():j; this.$customSelect.on("change",function(){return M.setSelectedCategory() }) }}; K.prototype.setData=function A(){this.articles=this.$articlesDataSource.data(m.source)||[]; this.categories=this.$articlesDataSource.data(m.tagNames); this.displayMode=this.$articlesDataSource.data(m.displayMode); this.$articlesDataSource.remove(); this.filterOutdatedArticles(); this.setArticlesDate() }; K.prototype.setArticlesDate=function t(){this.articles.forEach(function(M){if(M.publishDate){M.date=moment(M.publishDate,f).fromNow() }}) }; K.prototype.filterOutdatedArticles=function G(){var M=this; this.articles.filter(function(N){return !N.publishDate||N.publishDate&&M.isArticleDateValid(N.publishDate,q) }) }; K.prototype.isArticleDateValid=function E(P,M){var O=new Date(),N=O.setMonth(O.getMonth()-M); return new Date(P).getTime()>N }; K.prototype.init=function H(){this.currentPage=1; this.setFilteredArticles(); this.initPagination(); this.render() }; K.prototype.setFilteredArticles=function F(){var M=this; this.filteredArticles=this.articles.filter(function(N){return M.isInSelectedCategory(N) }) }; K.prototype.setSelectedCategory=function C(){var M=this.$customSelect.find(p.selectedOption).val(); if(this.selectedCategory!=M){this.selectedCategory=M; this.init() }}; K.prototype.initPagination=function w(){var M=this.getPageNumber(); if(this.paginationObject){this.paginationObject.elNum=M; this.paginationObject.currentEl=this.currentPage }else{this.paginationObject=new c.Pagination(this.$pagination,M,this.currentPage) }if(M>0){this.paginationObject.initElements(); this.bindPaginationUIEvents() }else{this.paginationObject.destroy() }}; K.prototype.getPageNumber=function x(){var M=this.filteredArticles.length,N=M<this.articlesPerPage.first?"first":"any"; return Math.ceil((M-this.articlesPerPage.first)/this.articlesPerPage[N])+1 }; K.prototype.bindUiEvents=function B(){var M=this; l(window).on("resize",function(){if(M.paginationObject.getPaginationControls()){M.bindPaginationUIEvents() }}) }; K.prototype.bindPaginationUIEvents=function D(){var M=this; this.paginationObject.getPaginationControls().on("click",function(N){M.currentPage=l(N.target).data(m.page); M.render(); M.scrollToTop(); M.bindPaginationUIEvents() }) }; K.prototype.scrollToTop=function J(){window.scrollTo(0,this.$el.offset().top-g()) }; K.prototype.render=function L(){var N=this; var M=this.currentPage===1; this.$wrapper.empty(); this.getArticleRows().forEach(function(Q,O){var P=M&&N.articleRowsMap.first[O]===2?h.featured:h.common; N.$wrapper.mustache(o.articles,{articles:Q,classes:P}) }) }; K.prototype.getArticleRows=function u(){var O=this.currentPage===1?"first":"any",Q=this.articlesPerPage.first+this.articlesPerPage[O]*(this.currentPage-2),N=Q+this.articlesPerPage[O],M=this.filteredArticles.filter(function(S,R){return R>=Q&&R<N }),P=[]; this.articleRowsMap[O].map(function(R){P.push(M.filter(function(T,S){return S<R })); M.splice(0,R) }); return P }; K.prototype.setMustacheTemplates=function I(){l.Mustache.add(o.articles,this.$el.find("."+o.articles).html()) }; K.prototype.isInSelectedCategory=function y(M){return M.categories.indexOf(this.selectedCategory)!=-1&&M.categories.length||this.selectedCategory===j }; return K }(); function g(){return l(p.pageHeader).height() }var i={name:"recent-articles",selector:p.recentArticles,init:function r(t){return new n(t) }}; l(window).load(function(){return Bank_utils.registerComponent(i) }) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(i){var h={introSection:".intro-section",heroBannerWithSearch:".O-HEROBANWSRCH-RW-DEV",heroSearchBox:'input[type="search"]',clearCircle:".A-BTNCLR-RW-DEV"},g={hasHeroWithSearch:"hero-with-search"}; var e=function(){function l(q){c(this,l); this.$el=i(q); this.$introSection=this.$el.parents(h.introSection); this.$heroSearchBox=this.$el.find(h.heroSearchBox); this.$clearCircle=this.$el.find(h.clearCircle); this.bindUIEvents(); this.manageClearCircleVisibility(); this.updateIntroSection() }l.prototype.bindUIEvents=function o(){var q=this; this.$clearCircle.on("click",function(){q.clearHeroSearchBox(); q.manageClearCircleVisibility() }); this.$heroSearchBox.on("input",function(){return q.manageClearCircleVisibility() }); i(window).on("load",function(){return q.manageClearCircleVisibility() }) }; l.prototype.clearHeroSearchBox=function p(){this.$heroSearchBox.val("").focus() }; l.prototype.isSearchBoxEmpty=function k(){return !this.$heroSearchBox.val().length }; l.prototype.manageClearCircleVisibility=function n(){var q=this.isSearchBoxEmpty()?"none":"inline-block"; this.$clearCircle.css("display",q) }; l.prototype.updateIntroSection=function m(){this.$introSection.addClass(g.hasHeroWithSearch) }; return l }(); var f={name:"herowithseach",selector:h.heroBannerWithSearch,init:function j(k){return new e(k) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(d,e,c){var g=c(14); var h=c(54); var a=c(26); var b=c(3); var i=c(53); function f(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}(function(o){var r={results:".search-results",pagination:".generic-pagination",dataConfig:"[data-config]",dataServerErrorPageUrl:"[data-server-error-page-url]",noResults:".no-results",spellingSuggestionLink:".search-spelling-suggestion-link",spellingSuggestionContainer:".search-spelling-suggestion-container"},n={hidden:"hidden"},p={page:"page",config:"config",serverErrorPageUrl:"server-error-page-url"},m={resultsPageSize:8,moduleName:"searchRender",moduleSelector:".O-SRCHRES-RW-RBWM",moduleSearchField:".O-HEROBANWSRCH-RW-DEV"},q={spinner:"search-spinner",resultsNumber:"search-results-number",result:"search-result",noResults:"search-no-results",spellingSuggestion:"search-spelling-suggestion"},j={query:"q",tags:"tags"}; var l=function(){function O(Q,R){f(this,O); this.$el=o(Q); this.queryStringState=new i.QueryStringState(j,this.buildSearchName.bind(this),this.updateSearchState.bind(this)); this.searchField=new h.SearchField(o(m.moduleSearchField),this.onSubmit.bind(this),this.queryStringState.currentState.query); this.config=this.$el.find(r.dataConfig).data(p.config); this.serverErrorPageUrl=this.$el.find(r.dataServerErrorPageUrl).data(p.serverErrorPageUrl); this.$pagination=this.$el.find(r.pagination); this.$results=this.$el.find(r.results); this.resultsPageSize=R||m.resultsPageSize; this.$spellingSuggestionContainer=this.$el.find(r.spellingSuggestionContainer); this.searchService=new g.SearchService(this.config,this.resultsPageSize); this.setMustacheTemplates(); this.displayPageResult(this.queryStringState.currentState.query,1) }O.prototype.buildSearchName=function P(R,Q){return"Search: "+Q }; O.prototype.updateSearchState=function M(Q){this.displayPageResult(Q.query,Q.page||0); this.searchField.setSearchField(Q.query) }; O.prototype.setMustacheTemplates=function I(){var Q=this; o.Mustache.options.warnOnMissingTemplates=true; Object.keys(q).forEach(function(R){var S=q[R],T=Q.$el.find("."+S); o.Mustache.add(S,T.html()) }) }; O.prototype.displaySpinner=function v(){this.$results.empty().mustache(q.spinner,{}) }; O.prototype.displayPageResult=function A(S,Q){var R=this; var T={page:Q||1,query:S,requiredfields:this.getRequiredFields()}; this.searchField.updateTags(T.requiredfields); if(T.query){this.displaySpinner(T.query); this.searchService.getSearchResults(T).done(function(V){var U=V.results.numberOfResults; R.renderSpellingSuggestion(V.results); if(U==0){R.renderNoResults({query:V.results.queryString}) }else{R.renderSearchResults(V); if(U>R.resultsPageSize){R.renderSearchPagination(V).done(function(W){return R.displayPageResult(S,W.page) }) }}R.trackSearchEvent(V); R.rememberSuggestionOrEmpty(window.sessionStorage,R.suggestionWordOrEmpty(V)); R.searchField.setTrigger("free text") }).fail(function(){return R.redirectToServerErrorPage() }) }}; O.prototype.trackSearchEvent=function x(S){var R=S.results.numberOfResults; var Q=this.countOfSearchesPerformed(window.sessionStorage); this.setCountOfSearchesPerformed(window.sessionStorage,++Q); b.TealiumUtils.trackEvent({internal_search_term:S.results.queryString,internal_search_results:R>0?R:"0",previous_page:this.previousPageOrRollBackToCurrent(window.document),internal_search_null:this.emptyResultSetAndNoSuggestions(S)?1:0,internal_search:1,internal_searches_pagination:{perPage:m.resultsPageSize,pages:this.countOfPages(S.results.numberOfResults,m.resultsPageSize)},internal_searches:Q,internal_search_output:this.rememberedSuggestionOrEmpty(window.sessionStorage)}) }; O.prototype.rememberSuggestionOrEmpty=function J(R,Q){return R.setItem(m.spellingSuggestion,Q) }; O.prototype.rememberedSuggestionOrEmpty=function C(Q){return Q.getItem(m.spellingSuggestion)||"" }; O.prototype.suggestionWordOrEmpty=function L(Q){return Q&&Q.results&&Q.results.suggestion?Q.results.suggestion:"" }; O.prototype.previousPageOrRollBackToCurrent=function F(Q){return Q.referrer||Q.URL }; O.prototype.emptyResultSetAndNoSuggestions=function B(Q){return !(Q&&Q.results&&(Q.results.numberOfResults||Q.results.suggestion)) }; O.prototype.setCountOfSearchesPerformed=function E(R,Q){R.setItem(m.moduleName,Q) }; O.prototype.countOfSearchesPerformed=function y(R){var Q=R.getItem(m.moduleName); return Q>0?Q:0 }; O.prototype.redirectToServerErrorPage=function G(){document.location=this.serverErrorPageUrl }; O.prototype.renderNoResults=function z(Q){this.$results.empty().mustache(q.noResults,Q); this.$results.find(r.noResults).removeClass(n.hidden); if(this.pagination){this.pagination.destroy() }}; O.prototype.renderSpellingSuggestion=function N(R){var Q=this; this.$spellingSuggestionContainer.empty(); if(R.suggestion){this.$spellingSuggestionContainer.mustache(q.spellingSuggestion,R); this.$el.find(r.spellingSuggestionLink).on("click",function(S){Q.searchField.setSearchField(R.suggestion); Q.searchField.setTrigger("auto"); Q.searchField.$form.trigger("submit"); S.preventDefault(); Q.$spellingSuggestionContainer.empty() }) }}; O.prototype.renderSearchResults=function w(R){var Q=this; this.$results.empty().mustache(q.resultsNumber,{count:R.results.numberOfResults}); o(R.results.rows).each(function(S,T){Q.$results.mustache(q.result,{url:T.url,title:T.title,screenReaderText:T.screenReaderText||"",summary:T.summary}) }) }; O.prototype.renderSearchPagination=function D(S){var Q=this.countOfPages(S.results.numberOfResults,m.resultsPageSize),R=S.params.page||1,T=o.Deferred(); this.pagination=new a.Pagination(this.$pagination,Q,R); this.pagination.getPaginationControls().on("click",function(U){T.resolve(o(U.target).data(S.page)); U.preventDefault() }); return T.promise() }; O.prototype.countOfPages=function u(Q,R){return Math.ceil(Q/R) }; O.prototype.onSubmit=function H(Q){this.queryStringState.updateParameter("q",Q); this.displayPageResult(Q,1) }; O.prototype.getTags=function t(){return this.queryStringState.currentState.tags }; O.prototype.getRequiredFields=function K(){var Q=this.getTags(); if(Q){return"tag:"+Q }return undefined }; return O }(); var k={name:"search-render",selector:".O-SRCHRES-RW-RBWM",init:function s(t){return new l(t) }}; Bank_utils.registerComponent(k) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(g){var f={simpCon3ColKey:".O-SIMPCNT3COLKEY-RW-RBWM"}; var i=function(){function n(o){c(this,n); this.$el=g(o); this.$columnWrapper=this.$el.find(".module-wrapper"); if(Bank_utils.matchMedia.desktop){this.equalizeColumnHeight() }this.bindUIEvents() }n.prototype.equalizeColumnHeight=function m(){var o=this.$columnWrapper,p=Math.max.apply(null,o.map(function(q,r){return g(r).height() }).get()); o.each(function(q,r){var s=g(r); s.height(p) }) }; n.prototype.resetInlineHeights=function j(o){o.each(function(p,r){var q=g(r); q.height("") }) }; n.prototype.resize=function k(){var o=this.$columnWrapper; if(!Bank_utils.matchMedia.desktop){this.resetInlineHeights(o) }else{this.equalizeColumnHeight() }}; n.prototype.bindUIEvents=function l(){var p=this; g(window).on({resize:function o(){p.resize() }}) }; return n }(); var e={name:"simpleContent3ColumnKeyLine",selector:f.simpCon3ColKey,init:function h(j){return new i(j) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) }),(function(d,c,f){var b=f(56); var a=f(1); function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}(function(l){var h={activeClass:"is-active",hidden:"hidden"},k={pageHeader:".header",tabTitleItemLink:".tab-widget-link",tabTitleItemClass:".tab-widget-item",tabContent:".tab-widget-tab-content",tabsContainer:".tab-widget-tabs",tabListContainer:".tab-widget-list"},m=10; var g=false; var i=function(){function r(w){e(this,r); this.$el=l(w); this.$tabsMenuItem=this.$el.find(k.tabTitleItemClass); this.$tabsMenuLink=this.$el.find(k.tabTitleItemLink); this.$tabsContent=this.$el.find(k.tabContent); this.$tabsContainer=this.$el.find(k.tabsContainer); this.$elementsWithInlineStyleHeight=this.$tabsContent.find("[style*='height']"); this.$tabListContainer=this.$el.find(k.tabListContainer); this.smartTabsAlly=new b.SmartTabsAlly(this); this.bindUIEvents(); this.setUpAnchors(); this.setHeight(this.$elementsWithInlineStyleHeight); this.tealiumObserver=new a.TealiumObserver(this.$tabsMenuLink,{event_type:"click",event_category:"content",event_action:"tab",event_content:function x(y){return decodeURI(l(y).attr("href")||l(y).parents(".A-EXPCNT-RW-RBWM").siblings(".anchor").attr("id")).replace("#","") }}) }r.prototype.setUpAnchors=function t(){var A=this.$tabsMenuItem.find('a[data-target="'+window.location.hash+'"]'); if(A.length){var z=this.$el,w=l(k.pageHeader).first(),y=l.inArray(w.css("position"),["fixed","absolute"]),x=Math.round((z?z.offset().top:0)-(w&&y!==-1?w.outerHeight():0)-m); this.togglePanel(A); if(g){g=false }else{if(document.readyState==="complete"){window.scrollTo(0,x) }else{l(document).ready(function(){return window.scrollTo(0,x) }) }}}}; r.prototype.bindUIEvents=function s(){var w=this; this.smartTabsAlly.bindUIEvents(); this.$tabsMenuItem.find("a").on("click",function(y){var x=l(y.target),z=x.attr("data-target"); w.hashChange(z); x.focus(); y.preventDefault() }); l(window).on("hashchange",function(x){w.setUpAnchors(); x.preventDefault() }).on("resize",function(){return w.setHeight(w.$elementsWithInlineStyleHeight) }) }; r.prototype.hashChange=function q(x){var w=l(x); x=x.replace("#",""); w.attr("id",""); document.location.hash=x.length?x:""; w.attr("id",x); g=true }; r.prototype.togglePanel=function u(w){var y=w.attr("data-target"),x=this.$el.find(y); if(!w.hasClass(h.activeClass)){this.cleanElements(); this.setSelectedElement(w,x) }}; r.prototype.cleanElements=function v(){this.$tabsMenuLink.removeClass(h.activeClass); this.$tabsContent.addClass(h.hidden) }; r.prototype.setSelectedElement=function p(x,w){x.addClass(h.activeClass); w.removeClass(h.hidden) }; r.prototype.setHeight=function o(w){w.height("auto") }; return r }(); var j={name:"Smart Horizontal Tabs",selector:".O-HRZTAB-RW-RBWM",init:function n(o){return new i(o) }}; Bank_utils.registerComponent(j) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(){var i=Bootstrap.jQuery,g={masterTileItem:".M-MASTERTILEITEM-DEV",img:"img"},f={edge11:"edge-11",ie10:"ie-10"},k=i(window),e=i("html"); var h=function(){function q(u){c(this,q); if(this.isNotEdge11NorIE10()){return }this.setUpElement(u).setUpImages().fix() }q.prototype.isNotEdge11NorIE10=function o(){return !(e.hasClass(f.edge11)||e.hasClass(f.ie10)) }; q.prototype.fix=function n(){this.updateAllImagesHeight().updateAllImagesHeightOnResize(); return this }; q.prototype.setUpElement=function s(u){this.$el=i(u); return this }; q.prototype.setUpImages=function t(){this.$images=this.$el.find(g.img); return this }; q.prototype.updateAllImagesHeight=function r(){var u=this; this.$images.each(function(w,v){u.updateImageHeight(v).updateImageHeightOnLoad(v) }); return this }; q.prototype.updateImageHeight=function m(u){var v=i(u); v.height("").height(v.height()); return this }; q.prototype.updateImageHeightOnLoad=function p(u){var w=this; var v=i(u); v.on("load",function(){w.updateImageHeight(u) }); return this }; q.prototype.updateAllImagesHeightOnResize=function l(){k.on("resize",this.updateAllImagesHeight.bind(this)); return this }; return q }(); Bank_utils.registerComponent({name:"mastertileitem-iefix",selector:g.masterTileItem,init:function j(l){return new h(l) }}) })() }),(function(b,a,c){(function(d){function e(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(i){var h={guideContainerForm:".radio-form #guideContainerForm",amountErr:{yes:'.amountError > .XfaCheckBox[data-id="1"] input',no:'.amountError > .XfaCheckBox[data-id="2"] input',inf:"#guideContainer-rootPanel-informationBanner___guide-item"},stolen:{yes:'.stolen > .XfaCheckBox[data-id="1"] input',no:'.stolen > .XfaCheckBox[data-id="2"] input',inf:"#guideContainer-rootPanel-columncontrol___guide-item, #guideContainer-rootPanel-richtext_cardstolen___guide-item"},BankAtm:{yes:'.BankATM > .XfaCheckBox[data-id="1"] input',no:'.BankATM > .XfaCheckBox[data-id="2"] input',atmIdField:"#guideContainer-rootPanel-guidetextbox_atmId___guide-item",financialInstField:"#guideContainer-rootPanel-guidetextbox_financialInstitution___guide-item",atmIdExpander:"#guideContainer-rootPanel-expander___guide-item",atmLocationHeading:"#guideContainer-rootPanel-heading___guide-item",streetAddressField:"#guideContainer-rootPanel-guidetextbox_streetAddress___guide-item",cityField:"#guideContainer-rootPanel-guidetextbox_city___guide-item",stateField:"#guideContainer-rootPanel-guidedropdownlist_state___guide-item",countryField:"#guideContainer-rootPanel-guidedropdownlist_country___guide-item",sequenceNumberField:"#guideContainer-rootPanel-guidenumericbox_sequence___guide-item",sequenceNumberExpander:"#guideContainer-rootPanel-expander_sequence___guide-item"},depositOrWithdrawal:{deposit:'.operation > .XfaCheckBox[data-id="1"] input',withdrawal:'.operation > .XfaCheckBox[data-id="2"] input',section:"#guideContainer-rootPanel-radiobutton_operation___guide-item",withdrawalAmountField:"#guideContainer-rootPanel-guidenumericbox_withdrawalAmount___guide-item",dispensedAmountField:"#guideContainer-rootPanel-guidenumericbox_dispensedAmount___guide-item",cashOrCheckSection:"#guideContainer-rootPanel-radiobutton_deposit___guide-item",depositAmountField:"#guideContainer-rootPanel-guidenumericbox_depositAmount___guide-item",creditAmountField:"#guideContainer-rootPanel-guidenumericbox_creditAmoount___guide-item"},time:{container:".time-select",hour:".hour",minute:".minute",period:".period",inputName:"time"}}; var j=void 0,m=void 0,g=void 0,f=void 0; var l=function(){function p(B){e(this,p); this.$el=i(B); this.$amountErrorYesButton=this.$el.find(h.amountErr.yes); this.$amountErrorNoButton=this.$el.find(h.amountErr.no); this.$amountErrorInf=this.$el.find(h.amountErr.inf); this.$stolenYesButton=this.$el.find(h.stolen.yes); this.$stolenNoButton=this.$el.find(h.stolen.no); this.$stolenInf=this.$el.find(h.stolen.inf); this.$BankAtmYesButton=this.$el.find(h.BankAtm.yes); this.$BankAtmNoButton=this.$el.find(h.BankAtm.no); this.$atmIdField=this.$el.find(h.BankAtm.atmIdField); this.$financialInstField=this.$el.find(h.BankAtm.financialInstField); this.$atmIdExpander=this.$el.find(h.BankAtm.atmIdExpander); this.$atmLocationHeading=this.$el.find(h.BankAtm.atmLocationHeading); this.$streetAddressField=this.$el.find(h.BankAtm.streetAddressField); this.$cityField=this.$el.find(h.BankAtm.cityField); this.$stateField=this.$el.find(h.BankAtm.stateField); this.$countryField=this.$el.find(h.BankAtm.countryField); this.$sequenceNumberField=this.$el.find(h.BankAtm.sequenceNumberField); this.$sequenceNumberExpander=this.$el.find(h.BankAtm.sequenceNumberExpander); this.$cashOrCheckSection=this.$el.find(h.depositOrWithdrawal.cashOrCheckSection); this.$depositAmountField=this.$el.find(h.depositOrWithdrawal.depositAmountField); this.$creditAmountField=this.$el.find(h.depositOrWithdrawal.creditAmountField); this.$depositButton=this.$el.find(h.depositOrWithdrawal.deposit); this.$withdrawalButton=this.$el.find(h.depositOrWithdrawal.withdrawal); this.$depositOrWithdrawalSection=this.$el.find(h.depositOrWithdrawal.section); this.$withdrawalAmountField=this.$el.find(h.depositOrWithdrawal.withdrawalAmountField); this.$dispensedAmountField=this.$el.find(h.depositOrWithdrawal.dispensedAmountField); var A=this.$el.find(h.time.container); this.$hourSelect=A.find(h.time.hour); this.$minuteSelect=A.find(h.time.minute); this.$periodSelect=A.find(h.time.period); this.timeSomExpression=guidelib.runtime[h.time.inputName].somExpression; this.bindUIEvents() }p.prototype.showEl=function u(A){A.css("display","block") }; p.prototype.hideEl=function z(A){A.css("display","none") }; p.prototype.isRadioButtonChecked=function o(A){return A.attr("checked")==="checked" }; p.prototype.isStolen=function s(){if(this.isRadioButtonChecked(this.$stolenYesButton)){j=true }else{if(this.isRadioButtonChecked(this.$stolenNoButton)){j=false }}}; p.prototype.isAmountError=function x(){if(this.isRadioButtonChecked(this.$amountErrorYesButton)){m=true }else{if(this.isRadioButtonChecked(this.$amountErrorNoButton)){m=false }}}; p.prototype.isBankAtm=function y(){if(this.isRadioButtonChecked(this.$BankAtmYesButton)){g=true }else{if(this.isRadioButtonChecked(this.$BankAtmNoButton)){g=false }}}; p.prototype.isDeposit=function t(){if(this.isRadioButtonChecked(this.$depositButton)){f=true }else{if(this.isRadioButtonChecked(this.$withdrawalButton)){f=false }}}; p.prototype.displayInformationWhenStolen=function w(){if(j){this.showEl(this.$stolenInf) }else{if(!j){this.hideEl(this.$stolenInf) }}}; p.prototype.displayInformationWhenAmountError=function q(){if(j===false&&m===false){this.showEl(this.$amountErrorInf) }else{this.hideEl(this.$amountErrorInf) }}; p.prototype.displayInformationWhenBankAtm=function v(){if(g){this.hideEl(this.$financialInstField); this.showEl(this.$atmIdField); this.showEl(this.$atmIdExpander); this.showEl(this.$atmLocationHeading); this.showEl(this.$streetAddressField); this.showEl(this.$cityField); this.showEl(this.$stateField); this.showEl(this.$countryField); this.showEl(this.$sequenceNumberField); this.showEl(this.$sequenceNumberExpander) }else{this.hideEl(this.$atmIdField); this.hideEl(this.$atmIdExpander); this.hideEl(this.$sequenceNumberField); this.hideEl(this.$sequenceNumberExpander); this.showEl(this.$financialInstField); this.showEl(this.$atmLocationHeading); this.showEl(this.$streetAddressField); this.showEl(this.$cityField); this.showEl(this.$stateField); this.showEl(this.$countryField) }this.displayInformationWhenDepositOrWithdrawal() }; p.prototype.displayInformationWhenDepositOrWithdrawal=function r(){this.hideEl(this.$depositOrWithdrawalSection); this.hideEl(this.$cashOrCheckSection); this.hideEl(this.$depositAmountField); this.hideEl(this.$creditAmountField); this.hideEl(this.$withdrawalAmountField); this.hideEl(this.$dispensedAmountField); if(g){this.showEl(this.$depositOrWithdrawalSection); if(f){this.showEl(this.$cashOrCheckSection); this.showEl(this.$depositAmountField); this.showEl(this.$creditAmountField) }else{if(f!==undefined){this.showEl(this.$withdrawalAmountField); this.showEl(this.$dispensedAmountField) }}}else{if(g!==undefined){this.showEl(this.$withdrawalAmountField); this.showEl(this.$dispensedAmountField) }}}; p.prototype.bindUIEvents=function n(){var B=this; this.$stolenYesButton.change(function(){B.isStolen(); B.displayInformationWhenStolen(); B.displayInformationWhenAmountError() }); this.$stolenNoButton.change(function(){B.isStolen(); B.displayInformationWhenStolen(); B.displayInformationWhenAmountError() }); this.$amountErrorYesButton.change(function(){B.isAmountError(); B.displayInformationWhenAmountError() }); this.$amountErrorNoButton.change(function(){B.isAmountError(); B.displayInformationWhenAmountError() }); this.$BankAtmYesButton.change(function(){B.isBankAtm(); B.displayInformationWhenBankAtm() }); this.$BankAtmNoButton.change(function(){B.isBankAtm(); B.displayInformationWhenBankAtm() }); this.$depositButton.change(function(){B.isDeposit(); B.displayInformationWhenDepositOrWithdrawal() }); this.$withdrawalButton.change(function(){B.isDeposit(); B.displayInformationWhenDepositOrWithdrawal() }); var A=function A(){var C=B.$hourSelect.val(),F=B.$minuteSelect.val(),E=B.$periodSelect.val(); if(C&&F&&E){var D=C+":"+F+E; guideBridge.setProperty([B.timeSomExpression],"value",[D]) }}; this.$hourSelect.change(A); this.$minuteSelect.change(A); this.$periodSelect.change(A) }; return p }(); d={name:"guideContainerForm",selector:h.guideContainerForm,init:function k(n){return new l(n) }}; Bank_utils.registerComponent(d) })(Bootstrap.jQuery) }.call(a,c(119)(b))) }),(function(b,a){b.exports=function(c){if(!c.webpackPolyfill){c.deprecate=function(){}; c.paths=[]; if(!c.children){c.children=[] }Object.defineProperty(c,"loaded",{enumerable:true,get:function(){return c.l }}); Object.defineProperty(c,"id",{enumerable:true,get:function(){return c.i }}); c.webpackPolyfill=1 }return c } }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(g){var f={header:".header",exclude:".O-HRZTAB-RW-RBWM,.O-VRTTAB-RW-RBWM,.O-HRTAB-RW-RBWM",tabListClasses:".tab-widget-list",tabPanelClasses:".tab-widget-tabs",tabPanelContentClasses:".tab-widget-tab-content"},h=10; var e=function(){function j(n){c(this,j); this.$element=g(n); this.bindUIEvents(); window.anchorsFuncionalityLoadedOnce=false }j.prototype.bindUIEvents=function l(){var n=this; g(window).on("load",function(o){if(!window.anchorsFuncionalityLoadedOnce){window.anchorsFuncionalityLoadedOnce=true; n.checkAnchorRoots(o,window.location.hash) }}); this.$element.on("click",function(o){return n.checkAnchorRoots(o) }) }; j.prototype.scrollFire=function m(p){var o=g(f.header).first(),s=g(p),n=s.next().length===0?s:s.next(),r=g.inArray(o.css("position"),["fixed","absolute"]),t=Math.round((s&&s.offset()?s.offset().top:0)-(o&&r!==-1?o.outerHeight():0)-h),q=Math.round(g(window).scrollTop()); if(n.length===1&&q!==t){if(window.location.hash!==p){window.location.hash=p }setTimeout(function(){g(window).scrollTop(t) },10); n.attr("tabindex",-1).focus() }}; j.prototype.checkAnchorRoots=function k(n){var s=this; var q=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null; var t="",u=false; if(q!==null){t=q }else{var o=g(n.target); t=o.attr("href")||o.parent().attr("href"),u=o.parents(f.tabListClasses).length>0 }var v=g(t).parent(f.tabPanelClasses).length>0,r=g(t).parents(f.tabPanelContentClasses),p=r.length>0; if(p){var w=r[0].id; n.preventDefault(); window.location.hash=w }setTimeout(function(){if(t.length>0){if(!u){window.location.hash=t }if(!v){n.preventDefault(); setTimeout(s.scrollFire(t),100) }}},0) }; return j }(); Bank_utils.registerComponent({name:"anchor",selector:'a[href^="#"]',init:function i(j){return new e(j) }}) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var g={backgroundImage:".background-image",imageData:".image-data"}; var e=function(){function j(l){c(this,j); this.$el=h(l); this.$imageData=this.$el.find(g.imageData); this.imageLazyLoad() }j.prototype.imageLazyLoad=function k(){var m=this; var l=this.$imageData.attr("data-src"); h(window).load(function(){return m.$imageData.css("background-image",l) }) }; return j }(); function i(j){new e(j) }var f={name:"Background Image",selector:g.backgroundImage,init:i}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(i){var h={brandBarFont16:".A-BBST16R-RW-ALL"},g={firefoxFix:"firefoxFix"}; var f=function(){function k(m){c(this,k); this.$el=i(m); this.$brandBarFont16=this.$el.find(h.brandBarFont16); this.setClass() }k.prototype.setClass=function l(){this.$brandBarFont16.addClass(g.firefoxFix) }; return k }(); var e={name:"brandBar",selector:".O-BRBAR-RW-RBWM",init:function j(k){return new f(k) }}; if(Bank_utils.isFirefox){Bank_utils.registerComponent(e) }})(Bootstrap.jQuery) }),(function(d,c,f){var b=f(57); var a=f(1); function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}(function(j){var h={expanded:"expanded",wrapper:"A-WRAPPER-RW-ALL",notWrapper:"no-wrapper",smallExpander:"A-SMLEXP-RW-ALL"},o={AEMLayerChanged:"expander:AEMLayerChanged"},m={expander:".expander",expanded:".expanded",selectBar:".dropdown",wrapperDropdown:".wrapper-dropdown",collapsibleElement:".exp-content",expanderHeading:".dropdown-text",advancedExpander:".O-ADVEXP-RW-RBWM",accordion:".O-ACCRD-RW-RBWM"},k=Bank_utils.keyCodes; var l=function(){function r(x){e(this,r); this.$el=j(x); this.$selectBar=this.$el.children(m.selectBar); this.$collapsibleEl=this.$el.children(m.collapsibleElement); this.$expanderHeading=this.$selectBar.children(m.expanderHeading); this.$smallExpander=this.$el.hasClass(h.smallExpander); this.isWrapper=this.$el.hasClass(h.wrapper); var y=this.$el.find(m.expander),A=y.find(Bank_utils.focusables.join()); this.$focusableNodes=this.$collapsibleEl.find(Bank_utils.focusables.join()).not(A); this.expanderAlly=new b.ExpanderAlly(this); this.bindUiEvents(); this.setInitialState(); this.expanderAlly.setAccessibilityAttributes(this.isExpanded()); this.expanderAlly.removeScreenReaderText(); if(this.$el.parents(m.advancedExpander).length&&!this.$el.parents(m.accordion).length){this.tealiumObserver=new a.TealiumObserver(this.$selectBar,{event_type:"click",event_category:"content",event_action:"advance expander",event_content:function z(B){return j(B).closest(m.advancedExpander).children("div").children("div.anchor").attr("id") }}) }}r.prototype.bindUiEvents=function u(){var x=this; this.$selectBar.on("click",function(){return x.toggle() }).on("keydown",function(z){var y=z.keyCode,B=y===k.ENTER,A=y===k.SPACE; if(B||A){x.toggle() }}); this.$el.on(o.AEMLayerChanged,function(){return x.setInitialState() }); j(window).on("resize",function(){return x.expanderAlly.updateModulesAccessibility() }) }; r.prototype.setInitialState=function q(){if(Bank_utils.isEditMode()||this.$expanderHeading.hasClass(h.expanded)){this.expand() }else{this.collapse() }}; r.prototype.expand=function t(){this.$expanderHeading.addClass(h.expanded); this.$collapsibleEl.addClass(h.expanded) }; r.prototype.collapse=function w(){this.$expanderHeading.removeClass(h.expanded); this.$collapsibleEl.removeClass(h.expanded) }; r.prototype.isExpanded=function v(){return this.$collapsibleEl.hasClass(h.expanded) }; r.prototype.toggle=function p(){var x=this; if(this.isExpanded()){this.collapse() }else{this.expand(); setTimeout(function(){x.$collapsibleEl.focus() },50) }this.styleSmallExpander(); this.expanderAlly.setAccessibilityAttributes(this.isExpanded()) }; r.prototype.styleSmallExpander=function s(){if(this.$smallExpander){var x=this.isExpanded()?"none":this.$selectBar.css("border"); this.$selectBar.css("border-bottom",x) }}; return r }(); function i(){j(m.expander).trigger(o.AEMLayerChanged) }var g={name:"exp",selector:m.expander,switchToEditHandler:i,switchToPreviewHandler:i,init:function n(p){return new l(p) }}; Bank_utils.registerComponent(g) })(Bootstrap.jQuery) }),(function(c,a,e){var b=e(58); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(h){var g={nativeSelectClass:"native-select",customSelectButtonClass:"custom-select-button",customSelectIconClass:"custom-select-icon icon",customSelectTextClass:"custom-select-text",customSelectContainerClass:"custom-select-container",customSelectMenuContainerClass:"custom-select-menu-container",customSelectMenuItemClass:"custom-select-menu-item",customSelectMenuClass:"custom-select-menu",activeClass:"is-active",selectedClass:"selected",focusedClass:"focused",replacedClass:"replaced"}; var j=function(){function r(s){d(this,r); this.$el=h(s); this.isOpen=false; this.id=this.$el.attr("id").replace(/select-/,""); this.customSelectAlly=new b.CustomSelectAlly(this); this.createCustomSelectElements(); this.buildCustomSelect(); this.updateSelectValue(); this.customSelectAlly.keyboardEvents(); this.bindUIEvents() }r.prototype.createCustomSelectElements=function n(){this.$customSelectButton=h("<div>",{tabindex:"0",role:"combobox","class":g.customSelectButtonClass,"aria-expanded":"false","aria-autocomplete":"list","aria-readonly":"true","aria-labelledby":this.$el.data("label"),"aria-describedby":"select-text-"+this.id}); this.$customSelectContainer=h("<div>",{"class":g.customSelectContainerClass,tabindex:"-1"}); this.$customSelectIcon=h("<span>",{"class":g.customSelectIconClass}); this.$customSelectText=h("<span>",{"class":g.customSelectTextClass,id:"select-text-"+this.id,"aria-hidden":"true","aria-disabled":"true"}); this.$customSelectMenu=h("<ul>",{"class":g.customSelectMenuClass,"aria-hidden":"true",role:"listbox","aria-disabled":"false"}) }; r.prototype.buildCustomSelect=function q(){var s=this.$el.attr("class"),t=null; this.$el.wrap(this.$customSelectContainer); t=this.$el.closest("."+g.customSelectContainerClass); this.$customSelectButton.insertAfter(this.$el); this.$customSelectIcon.appendTo(this.$customSelectButton); this.$customSelectText.appendTo(this.$customSelectButton); this.$customSelectMenuContainer=h("<div>").append(this.$customSelectMenu); this.$customSelectMenuContainer.addClass(g.customSelectMenuContainerClass); this.$customSelectMenuContainer.insertAfter(this.$customSelectButton); t.addClass(s); this.$el.addClass(g.replacedClass); this.renderMenu() }; r.prototype.renderMenu=function p(){var u=this; var t=this.$el.find("option"),s=this.$el.prop("selectedIndex"); h.each(t,function(w,x){var y=h(x),v=h("<li>",{text:y.text(),tabindex:-1,role:"option","aria-selected":"false","aria-disabled":"false"}); v.addClass(g.customSelectMenuItemClass); v.appendTo(u.$customSelectMenu); if(w===s){v.addClass(g.selectedClass) }}) }; r.prototype.updateSelectValue=function k(v){var s=this.$el.find("option"),w=this.$el.closest("."+g.customSelectContainerClass),t=null,u=h(v),x=w.find("."+g.customSelectMenuItemClass); if(v!==undefined){h.each(x,function(z,A){var y=h(A); y.removeClass(g.selectedClass); y.removeClass(g.focusedClass); u.attr("aria-selected",false) }); u.addClass(g.selectedClass); u.addClass(g.focusedClass); u.attr("aria-selected",true); h.each(s,function(y,z){var A=h(z); if(A.text()===u.text()){A.prop("selected",true) }else{A.prop("selected",false) }}) }t=w.find("option:selected",this.$el).text(); w.find("."+g.customSelectTextClass).text(t) }; r.prototype.toggleCustomSelectMenu=function m(){var x=this.$el.closest("."+g.customSelectContainerClass),u=x.find("."+g.customSelectMenuContainerClass),t=x.find("."+g.customSelectMenuClass),v=t.find("."+g.customSelectMenuItemClass),s=x.find("."+g.customSelectButtonClass),w=s.find("."+g.customSelectTextClass).text(); if(u.hasClass(g.activeClass)){s.attr("aria-expanded","false"); t.attr("aria-hidden","true"); this.isOpen=false; this.$customSelectButton.focus() }else{s.attr("aria-expanded","true"); t.attr("aria-hidden","false"); this.isOpen=true; h.each(v,function(z,A){var y=h(A); if(y.text()===w){y.addClass(g.focusedClass); y.focus() }else{y.removeClass(g.focusedClass) }}) }u.toggleClass(g.activeClass); this.$el.change() }; r.prototype.focusSelectMenuItem=function o(v){var t=null,u=this.$el.closest("."+g.customSelectContainerClass).find("."+g.customSelectMenuItemClass),s=u.filter("."+g.focusedClass); if(v==="next"){t=s.next() }else{if(v==="prev"){t=s.prev() }}if(t.length){s.removeClass(g.focusedClass); t.addClass(g.focusedClass); t.focus(); if(!this.isOpen){this.updateSelectValue(t) }}}; r.prototype.bindUIEvents=function l(){var u=this; var t=this.$el,w=this.$el.not(".disabled, .error").closest("."+g.customSelectContainerClass),s=w.find("."+g.customSelectButtonClass),v=w.find("."+g.customSelectMenuItemClass); t.on("change",function(){return u.updateSelectValue() }); s.on("click",function(){return u.toggleCustomSelectMenu() }); v.on("click",function(x){u.updateSelectValue(x.target); u.toggleCustomSelectMenu() }); h(document).on("click",function(x){if(!u.$customSelectButton.is(x.target)&&!u.$customSelectMenuContainer.is(x.target)&&u.$customSelectButton.has(x.target).length===0&&u.$customSelectMenuContainer.has(x.target).length===0&&u.isOpen){u.toggleCustomSelectMenu() }}) }; return r }(); var f={name:"fssingsel",selector:".A-FSSINGSEL-RW-ALL",init:function i(k){return new j(k) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(c,b,e){var a=e(59); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(j){var h={link:"A-MODLNK-RW-ALL",modal:"A-MOD-RW-ALL",modalOverlay:"modal-overlay",closeTrigger:"close-trigger",isVisible:"is-visible",hide:"hidden",modalAnnouncement:"modal-announcement-sr-text"},g={animation:200},i=j("body"); var k=function(){function u(x){d(this,u); this.$link=j(x); this.$modal=null; this.bindUIEvents(); this.allyModule=new a.ModalAlly(this) }u.prototype.bindUIEvents=function o(){var x=this; this.$link.on("click",function(y){return x.linkClickHandler(y) }); this.$link.on("modal:switchedToEdit",function(y){return x.close() }) }; u.prototype.linkClickHandler=function w(x){x.preventDefault(); if(!Bank_utils.isEditMode()){if(!this.$modal){this.getMarkup() }else{this.open() }}}; u.prototype.getMarkup=function t(){var z=this; var y=this.$link.attr("href"); if(!y){return }j.ajax({type:"GET",dataType:"HTML",url:y,success:function A(B){z.setUpModalWindow(B); z.open() },error:function x(B){return console.error(B) }}) }; u.prototype.open=function s(){var x=this.$closeTriggers.first(); this.$modal.addClass(h.isVisible).siblings().attr("aria-hidden","true"); setTimeout(function(){return x.focus() },g.animation) }; u.prototype.close=function v(){if(this.$modal){var x=this.$modal.find("."+h.modalAnnouncement); x.removeClass(h.hide); this.$modal.removeClass(h.isVisible).siblings().removeAttr("aria-hidden") }this.$link.focus() }; u.prototype.setUpModalWindow=function p(y){var x=j(y).filter("."+h.modalOverlay); x.removeClass(h.isVisible); i.append(x); this.$modal=i.children().last("."+h.modalOverlay); this.cacheModalElements(); this.lateBindUIEvents() }; u.prototype.cacheModalElements=function q(){this.$closeTriggers=this.$modal.find("."+h.closeTrigger) }; u.prototype.lateBindUIEvents=function r(){var x=this; this.$closeTriggers.on("click",function(y){return x.close() }); this.$modal.on("click",function(z){var y=j(z.target); if(!l(y)&&!y.hasClass(h.modal)){x.close() }}); this.allyModule.bindUIEvents() }; return u }(); function l(o){return o.parents("."+h.modal).length }function m(){j("."+h.link).trigger("modal:switchedToEdit") }var f={name:"modal",selector:".A-MODLNK-RW-ALL[href*='/configuration/modals/']",init:function n(o){return new k(o) },switchToEditHandler:m}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(b,a,e){var c=e(127); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(h){var n={activeClass:"is-active",expandedClass:"is-expanded",selectedClass:"is-selected",onTop:"on-top"},k={tabTitleItemClass:".tab-title-item",tabPanelItemClass:".tab-panel",pageHeader:".header",tabsMenu:".tabs",tabsContent:".tabs-content",simpleTable:".M-SMPTBL-RW-RBWM",calculatorLabelLeft:".heading-left",calculatorLabelRight:".heading-right"},i={tabSwitched:"tabs:tabSwitched"}; var l=false; var f=function(){function p(y){d(this,p); this.$el=h(y); this.$tabsMenu=this.$el.find(k.tabsMenu); this.$tabsContent=this.$el.find(k.tabsContent); this.$tabs=this.$tabsMenu.find(k.tabTitleItemClass); this.$tabsLinks=this.$tabs.find("a"); this.$panels=this.$tabsContent.find(k.tabPanelItemClass); this.$activePanel=this.$tabsContent.find("."+n.activeClass); this.$simpleTables=this.$tabsContent.find(k.simpleTable); this.bindUIEvents(); this.ally=new c.TabsAlly(this); this.setUpAnchors() }p.prototype.setUpAnchors=function s(){var A=this.$tabsMenu.find('a[data-target="'+window.location.hash+'"]'); if(A.length){var y=h(k.pageHeader).height(),z=this.$el.offset().top-y; this.togglePanel(A); if(l){l=false }else{if(document.readyState==="complete"){window.scrollTo(0,z) }else{h(document).ready(function(){return window.scrollTo(0,z) }) }}}}; p.prototype.bindUIEvents=function o(){var y=this; this.$tabsMenu.find("a").on("click",function(z){return y.tabsMenuClickHandler(z) }); h(window).on("hashchange",function(z){y.setUpAnchors(); y.ally.setAriaSelectedTags(); z.preventDefault() }) }; p.prototype.tabsMenuClickHandler=function q(z){var y=h(z.target); this.togglePanel(y); this.tabsMenuEvents(y); this.setEqualHeightsOfLabelsInChinaCalculator(); this.$simpleTables.trigger(i.tabSwitched); z.preventDefault() }; p.prototype.tabsMenuEvents=function r(z){var A=this.$tabsContent.find("."+n.activeClass),y=A.find(Bank_utils.focusables.join()).add(this.$tabsContent); y.attr("tabindex",0); this.focusWithoutScrolling(y.first()); this.ally.setTabIndexesOnFocusLeave(); j(z.attr("data-target")) }; p.prototype.togglePanel=function w(y){var z=y.attr("data-target").replace("#","#panel-"),B=this.$tabsContent.find(z),A=y.parent(); if(!A.hasClass(n.activeClass)){this.cleanElements(); p.setSelectedElement(A,B); this.ally.setAriaSelectedTags() }}; p.prototype.cleanElements=function t(){this.$panels.removeClass(n.activeClass); this.$tabs.removeClass(n.activeClass+" "+n.selectedClass) }; p.setSelectedElement=function u(y,z){z.addClass(n.activeClass); y.addClass(n.activeClass) }; p.prototype.focusWithoutScrolling=function x(A){var C=document.documentElement,z=window.pageXOffset!==undefined?window.pageXOffset:C.scrollLeft,B=window.pageYOffset!==undefined?window.pageYOffset:C.scrollTop; A.focus(); window.scrollTo(z,B) }; p.prototype.setEqualHeightsOfLabelsInChinaCalculator=function v(){var A=this.$tabsContent.find("."+n.activeClass),y=A.find(k.calculatorLabelLeft),z=A.find(k.calculatorLabelRight); y.height("auto"); z.height("auto"); if(!Bank_utils.matchMedia.mobile){var C=[y,z],D=[y.outerHeight(),z.outerHeight()],B=Math.max.apply(Math,D); C.forEach(function(E){return E.outerHeight(B) }) }}; return p }(); function j(p){var o=h(p); p=p.replace("#",""); o.attr("id",""); document.location.hash=p.length?p:""; o.attr("id",p); l=true }var g={name:"tabs-tablet-desktop",selector:".generic-tabs.hide-on-mobile",init:function m(o){return new f(o) }}; Bank_utils.registerComponent(g) })(Bootstrap.jQuery) }),(function(d,b,h){b.__esModule=true; function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var f=Bootstrap.jQuery,c=Bank_utils.keyCodes,a={activeClass:"is-active"}; var e=b.TabsAlly=function(){function l(o){g(this,l); this.$el=o.$el; this.$tabsMenu=o.$tabsMenu; this.$tabsContent=o.$tabsContent; this.$tabsLinks=o.$tabsLinks; this.$panelFocusables=this.$tabsContent.find(Bank_utils.focusables.join()).add(this.$tabsContent); this.context=o; this.setAriaSelectedTags(); this.bindUIEvents() }l.prototype.bindUIEvents=function j(){var p=this; var o=this.$tabsContent.find(Bank_utils.focusables.join()).add(this.$tabsContent); o.on("keydown",function(q){return p.tabsContentKeyEvents(q) }); this.$tabsMenu.find("a").on("keydown",function(q){return p.tabsMenuKeyHandler(q) }); this.$tabsLinks.on("focus",function(){p.$tabsContent.attr("tabindex",0); p.$tabsLinks.attr("tabindex",0) }) }; l.prototype.tabsMenuKeyHandler=function k(t){var r=t.keyCode,q=f(t.target),p=r===c.SPACE,o=r===c.ENTER,u=r===c.TAB&&!t.shiftKey,s=q.is(this.$tabsLinks.last()); if(o||p){this.context.tabsMenuClickHandler(t) }else{if(u&&s){this.setTabIndexesOnFocusLeave() }}}; l.prototype.tabsContentKeyEvents=function n(q){var o=q.keyCode,p=this.$tabsMenu.find("."+a.activeClass+" a"); if(o===c.ESC){this.context.focusWithoutScrolling(p); q.preventDefault() }}; l.prototype.setTabIndexesOnFocusLeave=function i(){var o=this.$tabsMenu.find("."+a.activeClass+" a"); this.$tabsContent.attr("tabindex",-1); this.$tabsLinks.attr("tabindex",-1); o.attr("tabindex",0) }; l.prototype.setAriaSelectedTags=function m(){this.$tabsLinks.attr("aria-selected",false); this.$tabsMenu.find("."+a.activeClass+" a").attr("aria-selected",true) }; return l }() }),(function(b,a,e){var c=e(129); function d(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(g){var n={activeClass:"is-active",expandedClass:"is-expanded",selectedClass:"is-selected",onTop:"on-top"},k={tabTitleItemClass:".tab-title-item",tabPanelItemClass:".tab-panel",pageHeader:".header",tabsMenu:".tabs",tabsContent:".tabs-content",simpleTable:".M-SMPTBL-RW-RBWM"},i={tabSwitched:"tabs:tabSwitched"}; var l=false; var h=function(){function t(B){d(this,t); this.$el=g(B); this.$tabsMenu=this.$el.find(k.tabsMenu); this.$tabsContent=this.$el.find(k.tabsContent); this.$tabs=this.$tabsMenu.find(k.tabTitleItemClass); this.$tabsLinks=this.$tabs.find("a"); this.$panels=this.$tabsContent.find(k.tabPanelItemClass); this.$simpleTables=this.$tabsContent.find(k.simpleTable); this.bindUIEvents(); this.ally=new c.TabsMobileAlly(this); this.setUpAnchors() }t.prototype.setUpAnchors=function u(){var E=window.location.hash+"-mobile-anchor",D=this.$tabsMenu.find('a[data-target="'+E+'"]'),C=this.$tabsContent.find(E.replace("#","#panel-")); if(D.length){var B=g(k.pageHeader).height(); this.cleanElements(); this.setSelectedElement(D.parent(),C); if(l){l=false }else{if(document.readyState==="complete"){window.scrollTo(0,this.$el.offset().top-B) }}}this.ally.setAriaSelectedTags() }; t.prototype.bindUIEvents=function o(){var C=this; var B=g(k.pageHeader).height(); this.$tabsMenu.find("a").on("click",function(D){return C.tabsMenuClickHandler(D) }); g(window).on("resize",function(){return t.resizeHandler() }).on("hashchange",function(D){if(Bank_utils.matchMedia.mobile){C.setUpAnchors(); C.ally.setUpAttributes(); D.preventDefault() }}); g(document).ready(function(){return window.scrollTo(0,C.$el.offset().top-B) }) }; t.prototype.tabsMenuClickHandler=function r(C){var B=g(C.target); this.toggleDropdown(B); this.tabsMenuEvents(B); this.$simpleTables.trigger(i.tabSwitched); C.preventDefault() }; t.prototype.tabsMenuEvents=function s(C){var E=this.$tabsContent.find("."+n.activeClass),F=this.$tabsMenu.find("."+n.activeClass+" a"),B=E.find(Bank_utils.focusables.join()).add(this.$tabsContent),D=this.$tabsMenu.hasClass(n.expandedClass); B.attr("tabindex",D?-1:0); if(D){t.focusWithoutScrolling(F) }else{this.$tabsContent.attr("tabindex",0); t.focusWithoutScrolling(B.first()); this.ally.setTabIndexesOnFocusLeave(); j(C.data("target")) }t.focusWithoutScrolling(F) }; t.prototype.toggleDropdown=function A(B){var D=B.attr("data-target").replace("#","#panel-"),F=this.$tabsContent.find(D),E=B.parent(),C=this.$tabsMenu.hasClass(n.expandedClass); if(C){this.collapse(E,F) }else{this.expand() }}; t.prototype.expand=function y(){var B=this.$tabsMenu.find("."+n.activeClass); this.$tabsMenu.addClass(n.expandedClass); this.moveElementToTheTop(B); this.$tabsMenu.addClass(n.onTop) }; t.prototype.collapse=function x(C,D){var B=this.$tabsMenu.find("."+n.activeClass); B.remove(); if(C.hasClass(n.activeClass)){this.$tabsMenu.find("."+n.selectedClass).addClass(n.activeClass) }this.$tabs.removeClass(n.selectedClass); this.$tabsMenu.removeClass(n.onTop).removeClass(n.expandedClass); if(!C.hasClass(n.activeClass)){this.cleanElements(); this.setSelectedElement(C,D); this.ally.setAriaSelectedTags() }this.ally.setUpAttributes() }; t.prototype.moveElementToTheTop=function p(B){var C=B.clone(true,true); C.find("span.active-tab-hidden-text").text(this.ally.accessibility.expandedText); c.TabsMobileAlly.cleanAccessibilityAttributes(B); B.parent().prepend(C) }; t.prototype.cleanElements=function w(){var B=this.$tabsMenu.find("."+n.activeClass); c.TabsMobileAlly.cleanAccessibilityAttributes(B); this.$panels.removeClass(n.activeClass); this.$tabs.removeClass(n.activeClass+" "+n.selectedClass) }; t.prototype.setSelectedElement=function v(B,C){C.addClass(n.activeClass); if(B.length>1){B.each(function(D,F){var E=g(F); if(!E.hasClass(n.selectedClass)){E.addClass(n.activeClass) }}) }else{B.addClass(n.activeClass) }}; t.resizeHandler=function q(){if(!Bank_utils.matchMedia.mobile){return }}; t.focusWithoutScrolling=function z(C){var B=window.pageXOffset!==undefined?window.pageXOffset:document.documentElement.scrollLeft,D=window.pageYOffset!==undefined?window.pageYOffset:document.documentElement.scrollTop; C.focus(); window.scrollTo(B,D) }; return t }(); function j(p){var o=g(p); p=p.replace("#",""); o.attr("id",""); document.location.hash=p.length?p.replace("-mobile-anchor",""):""; o.attr("id",p); l=true }var f={name:"tabs-mobile",selector:".generic-tabs.hide-on-tablet-and-desktop",init:function m(o){return new h(o) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(c,e,b){e.__esModule=true; function f(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}var i={activeClass:"is-active",expandedClass:"is-expanded",selectedClass:"is-selected",onTop:"on-top"},g=Bootstrap.jQuery,h=Bank_utils.keyCodes,a={defaultPhrases:{collapsed:"Dropdown menu, collapsed",expanded:"Dropdown menu, expanded",selected:"Selected"},properties:{collapsed:"dropdown-collapsed-text",expanded:"dropdown-expanded-text",selected:"dropdown-selected-text"}}; var d=e.TabsMobileAlly=function(){function k(t){f(this,k); this.$el=t.$el; this.$tabsMenu=t.$tabsMenu; this.$tabsContent=t.$tabsContent; this.$tabsLinks=t.$tabsLinks; this.context=t; this.accessibility=this.readAccessibility(); this.setUpAttributes(); this.bindUIEvents() }k.prototype.setUpAttributes=function l(){var u=this.$tabsMenu.find("."+i.activeClass),t=u.find("a"); if(t.find(".active-tab-hidden-text").length){return }t.prepend('<span class="visuallyhidden active-tab-hidden-text"> '+this.accessibility.collapsedText+", "+this.accessibility.selectedText+"</span>").attr({"aria-haspopup":"true",role:"button"}).find("span.active-tab-selected-text").attr("aria-hidden","true") }; k.prototype.bindUIEvents=function j(){var u=this; var t=this.$tabsContent.find(Bank_utils.focusables.join()).add(this.$tabsContent); this.$tabsMenu.find("a").on("keydown",function(v){return u.tabsMenuKeyHandler(v) }); this.$tabsLinks.on("focus",function(){return u.$tabsLinks.attr("tabindex",0) }); t.on("keydown",function(v){return u.tabsContentKeyEvents(v) }) }; k.prototype.tabsMenuKeyHandler=function q(u){var C=u.keyCode,x=g(u.target),y=x.parent(),v=C===h.SPACE,z=C===h.ENTER,w=C===h.DOWN,B=C===h.UP,t=C===h.TAB&&!u.shiftKey,A=x.is(this.$tabsLinks.last()); if(z||v){this.context.tabsMenuClickHandler(u) }else{if(t&&A){this.setTabIndexesOnFocusLeave() }else{if(w){this.handleArrowKeyEvent(y,u,true) }else{if(B){this.handleArrowKeyEvent(y,u,false) }}}}}; k.prototype.handleArrowKeyEvent=function p(v,x,w){var u=w?"next":"prev",y=v[u](),t=y.hasClass(i.selectedClass)?y[u]().find("a"):y.find("a"); t.focus(); x.preventDefault() }; k.prototype.setTabIndexesOnFocusLeave=function s(){var t=this.$tabsMenu.find("."+i.activeClass+" a"); this.$tabsContent.attr("tabindex",-1); this.$tabsLinks.attr("tabindex",-1); t.attr("tabindex",0) }; k.prototype.tabsContentKeyEvents=function r(v){var t=v.keyCode,u=this.$tabsMenu.find("."+i.activeClass+" a"); if(t===h.ESC){this.context.focusWithoutScrolling(u); v.preventDefault() }}; k.prototype.setAriaSelectedTags=function o(){this.$tabsMenu.find("."+i.activeClass+" a").attr("role","button").find("span.active-tab-selected-text").attr("aria-hidden","true") }; k.cleanAccessibilityAttributes=function m(t){t.removeClass(i.activeClass).addClass(i.selectedClass).find("a").removeAttr("aria-haspopup").attr("role","menuitem").find("span.active-tab-hidden-text").remove(); t.find("span.active-tab-selected-text").attr("aria-hidden","false") }; k.prototype.readAccessibility=function n(){return{expandedText:this.$el.data(a.properties.expanded)||a.defaultPhrases.expanded,collapsedText:this.$el.data(a.properties.collapsed)||a.defaultPhrases.collapsed,selectedText:this.$el.data(a.properties.selected)||a.defaultPhrases.selected} }; return k }() }),(function(b,a,d){var e=d(3); function c(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(i){var m={browserNotification:".browser-notification",closeButton:".close-browser-notification",oldIE:".ie7-9"},g={hidden:"hidden"},j={oldBrowserNotification:"oldBrowserNotification"},k={path:"/",expires:1},l=86400000; var h=function(){function p(s){c(this,p); this.$el=i(s); this.$closeButton=this.$el.find(m.closeButton); this.showBrowserNotification(); this.bindUiEvents() }p.prototype.bindUiEvents=function q(){var s=this; this.$closeButton.on("click",function(){return s.closeBanner() }) }; p.prototype.showBrowserNotification=function o(){if(i("html").is(m.oldIE)){var s=Bank_utils.getCookie(j.oldBrowserNotification); if(!s){this.$el.removeClass(g.hidden); e.TealiumUtils.trackEvent({event_category:"content",event_action:"popup",event_content:"Browser update banner"}) }}}; p.prototype.closeBanner=function r(){if(!this.$el.hasClass(g.hidden)){Bank_utils.setCookie(j.oldBrowserNotification,true,k,l); this.$el.addClass(g.hidden); e.TealiumUtils.trackEvent({event_category:"content",event_action:"onsite",event_content:"Browser update banner close"}) }}; return p }(); var f={name:"browserNotification",selector:m.browserNotification,init:function n(o){return new h(o) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(i){var e={bannerClosed:"banner_enabled_status_close",bannerClosedLegacy:"opt_in_status"},h={cookieBanner:".cookie-banner",closeButton:".close-cookie-banner",cookieBannerText:".cookie-banner-text",messagingBanner:".messaging-banner"},g={hidden:"hidden",disable:"cookie-banner-author-mode"},k={globalSettings:"global-settings"}; var f=function(){function p(v){c(this,p); this.$cookieBanner=i(v); if(this.$cookieBanner.hasClass(g.disable)){return }this.$closeButton=this.$cookieBanner.find(h.closeButton); this.cookieValue=Bank_utils.getCookie(e.bannerClosed); this.hasHash=document.location.hash.length>0; this.showCookieNotification(); this.bindUiEvents(); this.setLinkAttributes() }p.prototype.showCookieNotification=function r(){if(!this.cookieValue){this.$cookieBanner.removeClass(g.hidden); this.$cookieBanner.insertAfter(h.messagingBanner) }}; p.prototype.bindUiEvents=function t(){var v=this; if(!this.cookieValue){i(window).on("scroll",function(){return v.bannerOnScroll() }); this.$closeButton.on("click",function(){return v.accept() }) }}; p.prototype.bindTriggeredEvents=function q(){i(window).trigger("resize_when_banner_closed") }; p.prototype.bannerOnScroll=function n(){if(!this.isCloseBlocked()){this.accept() }}; p.prototype.isCloseBlocked=function l(){if(this.hasHash){this.hasHash=false; return true }return false }; p.prototype.accept=function m(){this.setCookies(); this.closeBanner(); this.bindTriggeredEvents() }; p.prototype.closeBanner=function o(){if(!this.$cookieBanner.hasClass(g.hidden)){this.$cookieBanner.addClass(g.hidden) }}; p.prototype.setCookies=function s(){var w=86400000; var v={path:"/",expires:183}; var x=i(document.body).data(k.globalSettings); if(x&&x.cookieDomain){v.domain=x.cookieDomain }Bank_utils.setCookie(e.bannerClosedLegacy,1,v,w); Bank_utils.setCookie(e.bannerClosed,Date.now(),v,w) }; p.prototype.setLinkAttributes=function u(){var v=i(h.cookieBannerText).find("a"); if(v){v.attr("rel","nofollow") }}; return p }(); Bank_utils.registerComponent({name:"cookieBanner",selector:h.cookieBanner,init:function j(l){return new f(l) }}) })(Bootstrap.jQuery) }),(function(b,a,d){var e=d(60); function c(f,g){if(!(f instanceof g)){throw new TypeError("Cannot call a class as a function") }}(function(k){var i={expanded:"expanded",active:"active",hidden:"hidden",noSubtitles:"no-subtitles"},h={doormatMenu:".doormat-menu",headerMainMenu:".header-main-navigation",screenreaderText:".screenreader-text",doormatExpanded:".doormat-expanded",doormatCollapsed:".doormat-collapsed",doormatMainColumn:".doormat-main-column",navigationItem:".header-main-navigation-item",subTitle:".header-main-navigation-subtitle",hideOnMobileAndTablet:".hide-on-mobile-and-tablet",columnContent:".doormat-column-content",logoWrapper:".header-logo"},j=k("body"); var g=function(){function s(x){c(this,s); this.$el=k(x); this.$navigationItem=this.$el.closest(h.navigationItem); this.$headerMainMenu=this.$el.parents(h.headerMainMenu); this.$allDoormatLinks=this.$headerMainMenu.find("a"); this.$doormatExpanded=this.$navigationItem.find(h.doormatExpanded); this.$doormatCollapsed=this.$navigationItem.find(h.doormatCollapsed); this.$subTitle=this.$headerMainMenu.find(h.subTitle); this.$logoWrapper=this.$headerMainMenu.siblings(h.logoWrapper); this.isEnterHandlerEnabled=false; this.isInMenu=false; this.adjustLogoWrapperHeight(); this.equalizeColumnHeight(); this.bindUiEvents(); this.updateMaxHeight(); new e.DoormatAlly(this) }s.prototype.adjustLogoWrapperHeight=function r(){this.$logoWrapper.removeAttr("style"); this.$logoWrapper.height(Math.max(this.$logoWrapper.height(),this.$headerMainMenu.height())) }; s.prototype.equalizeColumnHeight=function u(){var x=this.$el.find(h.doormatMainColumn),y=Math.max.apply(null,x.map(function(z,A){return k(A).find(h.columnContent).height() }).get()); x.height(y) }; s.prototype.updateMaxHeight=function w(){var x=k(window).height()-this.$el.offset().top; this.$el.css("max-height",x) }; s.prototype.removeActiveClass=function q(){this.$el.removeClass(i.active); this.$navigationItem.removeClass(i.active) }; s.prototype.removeActiveClassState=function n(x){x.attr("tabindex",-1); this.toggleMenuStatusText(true); this.removeActiveClass(); this.isEnterHandlerEnabled=false; this.isInMenu=false }; s.prototype.resize=function p(){this.equalizeColumnHeight(); this.updateMaxHeight(); this.adjustLogoWrapperHeight() }; s.prototype.bindUiEvents=function t(){var x=this; k(window).on("resize",function(){return x.resize() }); this.$navigationItem.on("focus",function(){if(x.getFocusCondition()){x.toggleMenuStatusText(); x.$el.addClass(i.active); x.$navigationItem.addClass(i.active) }}).on("focusout",function(){if(x.getFocusCondition()){x.removeActiveClass(); x.toggleMenuStatusText() }}); this.$el.on("mouseout",function(){return x.removeActiveClassState(x.$allDoormatLinks) }); j.on("click",function(z){var y=k(z.target); if(!s.isInDoormat(y)&&!y.hasClass(i.headerMainMenu)){x.removeActiveClassState(x.$allDoormatLinks) }}) }; s.prototype.toggleMenuStatusText=function v(){var x=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false; if(x){this.$doormatCollapsed.removeClass(i.hidden); this.$doormatExpanded.addClass(i.hidden) }else{this.$doormatCollapsed.addClass(i.hidden); this.$doormatExpanded.removeClass(i.hidden) }}; s.prototype.getFocusCondition=function m(){return !(this.isInMenu||this.isEnterHandlerEnabled) }; s.isInDoormat=function o(x){return !!x.parents("."+i.headerMainMenu).length }; return s }(); var f={name:"doormat",selector:h.hideOnMobileAndTablet+" "+h.doormatMenu,init:function l(m){return new g(m) }}; Bank_utils.registerComponent(f) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var f={placeholderLeft:".placeholder-left",placeholderRight:".lg-4",cta:".O-PRIMCTA-RW-RBWM"}; var g=function(){function k(m){c(this,k); this.$el=h(m); i(this.$el); this.bindUiEvents() }k.prototype.bindUiEvents=function l(){var m=this; h(window).on("resize",function(){i(m.$el) }) }; return k }(); function i(k){var n=k.find(f.placeholderLeft),m=k.find(f.placeholderRight),l=m.find(f.cta),o=l.outerHeight(true)-l.outerHeight(false); n.height("auto"); if(Bank_utils.matchMedia.tablet||Bank_utils.matchMedia.desktop){if(m.outerHeight()-o>=n.outerHeight()){n.height(m.outerHeight()-o) }}}var e={name:"equalize",selector:".equalize",init:function j(k){return new g(k) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var f={footer:"footer",footerMobileSubmenuWrapper:"sidebar-submenu-wrapper",mobileSidebar:"header-mobile-sidebar",headerDoormatMobile:"header-mobile-doormat",headerMobileFooterItem:"header-mobile-footer-item",headerMobileFooterItemWrapper:"header-mobile-footer-item-wrapper",footerLarge:"footer-large",footerSupplementary:"footer-supplementary",headerMobileFooterMenu:"header-mobile-footer-menu",footerTrigger:"sidebar-submenu-trigger",headerMobileTitle:"header-doormat-mobile-title",opinionLabTrigger:"opinion-lab-trigger"}; var g=function(){function m(p){c(this,m); this.$el=h(p); this.bindUIElements(); this.createFooterMobileElements(); this.buildFooterMobile(); this.bindUIEvents() }m.prototype.bindUIElements=function j(){this.$mobileSidebar=h("."+f.mobileSidebar); this.$headerDoormatMobile=this.$mobileSidebar.find("."+f.headerDoormatMobile); this.$headerMobileFooterItem=this.$el.find("."+f.headerMobileFooterItem); this.$headerMobileFooterItemWrapper=this.$el.find("."+f.headerMobileFooterItemWrapper); this.$footerLarge=this.$el.find("."+f.footerLarge).clone(); this.$footerSupplementary=this.$el.find("."+f.footerSupplementary).clone() }; m.prototype.bindUIEvents=function k(){var p=this; h(document).on("click","."+f.opinionLabTrigger,function(q){q.preventDefault(); p.opinionLabShow(q) }) }; m.prototype.createFooterMobileElements=function o(){this.$footerMobileMenu=h("<div>",{"class":f.headerMobileFooterMenu+" "+f.footerMobileSubmenuWrapper,"data-source":"mobile-footer"}) }; m.prototype.buildFooterMobile=function n(){this.$headerMobileFooterItem.find("."+f.headerMobileTitle).data("target","mobile-footer").addClass(f.footerTrigger); this.$headerDoormatMobile.append(this.$headerMobileFooterItem); this.$headerMobileFooterItemWrapper.remove(); this.$footerMobileMenu.insertAfter(this.$headerDoormatMobile); this.$footerMobileMenu.append(this.$footerLarge).append(this.$footerSupplementary) }; m.prototype.opinionLabShow=function l(q){var p=window.oo_feedback||(window.OOo?window.OOo.oo_feedback:null); if(p){p.show(q) }}; return m }(); var e={name:"footer",selector:"."+f.footer,init:function i(j){return new g(j) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) }),(function(d,b,f){var a=f(27); var c=f(137); function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}(function(m){var l={active:"is-active",hidden:"hidden",headerSearchBlack:"header-search-black"},k={desktopClearCircle:".header-clear-container",searchBox:".search-box",searchButton:".header-search-button",pageOverlay:".page-overlay",headerSearch:".header-search"},h=m(k.pageOverlay),i=Bank_utils.keyCodes; var g=function(){function u(y){e(this,u); this.$el=m(y); this.$desktopClearCircle=this.$el.find(k.desktopClearCircle); this.$searchBox=this.$el.find(k.searchBox); this.$searchButton=this.$el.find(k.searchButton); if(!u.isVirtualAssistant()){this.suggestions=new a.SearchMobileSuggestions(this.$el) }this.bindUIEvents(); this.manageClearCircleVisibility(); this.manageTypeOfSearchButton(); new c.DesktopSearchAlly(this) }u.prototype.bindUIEvents=function p(){var y=this; this.$searchButton.on("click",function(){return y.toggleSearchBox() }); this.$desktopClearCircle.on("click",function(){y.clearSearchBox(); y.manageClearCircleVisibility() }); this.$el.on("focusout",function(z){var A=m(z.relatedTarget).closest(k.headerSearch).length; if(!A){h.addClass(l.hidden) }}).on("focusin",function(A){var z=m(A.target).is(y.$searchButton),B=y.$searchBox.val()===""; if(!(z&&B)){h.removeClass(l.hidden) }else{h.addClass(l.hidden) }}); if(u.isVirtualAssistant()){m(document).on("keyup",function(z){if(z.keyCode===i.ESC){y.fixVirtualAssistantSearchExit() }}).on("mouseup",function(){return y.fixVirtualAssistantSearchExit() }) }}; u.prototype.clearSearchBox=function s(){this.$searchBox.val("").focus(); this.manageTypeOfSearchButton() }; u.prototype.isExpanded=function o(){return this.$searchBox.hasClass(l.active) }; u.prototype.isSearchBoxEmpty=function q(){return !this.$searchBox.val().length }; u.prototype.toggleSearchBox=function v(){if(this.isExpanded()&&this.isSearchBoxEmpty()){this.$searchBox.removeClass(l.active); this.$el.addClass(l.headerSearchBlack) }else{this.$searchBox.addClass(l.active); this.$el.removeClass(l.headerSearchBlack); this.$searchBox.focus() }}; u.prototype.manageClearCircleVisibility=function w(){var y=this.isSearchBoxEmpty()?"none":"inline-block"; this.$desktopClearCircle.css("display",y) }; u.prototype.manageTypeOfSearchButton=function r(){var y=this.isSearchBoxEmpty()?"button":"submit"; this.$searchButton.attr("type",y) }; u.prototype.fixVirtualAssistantSearchExit=function x(){var y=this; setTimeout(function(){if(y.$searchBox.val()=="Search"){y.$searchBox.val("").change(); y.manageClearCircleVisibility() }},1) }; u.isVirtualAssistant=function t(){return !!m("#virtual-assistant-search").length }; return u }(); var j={name:"Desktop Search",selector:k.headerSearch,init:function n(o){return new g(o) }}; Bank_utils.registerComponent(j) })(Bootstrap.jQuery) }),(function(c,a,f){a.__esModule=true; function e(h,i){if(!(h instanceof i)){throw new TypeError("Cannot call a class as a function") }}var d=Bootstrap.jQuery,b=Bank_utils.keyCodes; var g=a.SearchMobileSuggestionsAlly=function(){function l(m){e(this,l); this.$el=m.$el; this.$suggestionItems=m.$suggestionItems; this.context=m; this.bindUIEvents() }l.prototype.bindUIEvents=function j(){var m=this; this.context.$searchBox.on("keyup",function(o){if(m.context.results.length){var n; var p=(n={},n[b.DOWN]=function(){return m.$suggestionItems.first().focus() },n[b.ESC]=function(){return m.context.hideSuggestions() },n); m.handleKeyPress(o,p) }}) }; l.prototype.bindSuggestionsUIEvents=function i(){var m=this; this.$suggestionItems.on("keydown",function(n){var o; var p=(o={},o[b.ENTER]=m.context.handleSuggestionChoice,o[b.ESC]=m.context.hideSuggestions,o[b.DOWN]=function(q){return q.next().focus() },o[b.UP]=function(q){return q.prev().focus() },o); m.handleKeyPress(n,p) }); this.$suggestionItems.first().on("keydown",function(n){return m.handleArrowKeys(n,true) }); this.$suggestionItems.last().on("keydown",function(n){return m.handleArrowKeys(n,false) }) }; l.prototype.handleArrowKeys=function h(n,m){var o=n.keyCode===(m?b.UP:b.DOWN); if(o){this.hideSuggestions() }}; l.prototype.handleKeyPress=function k(o,p){var n=o.keyCode,m=d(o.target); if(p.hasOwnProperty(n)){o.preventDefault(); p[n].call(this,m) }}; return l }() }),(function(d,b,f){b.__esModule=true; function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var a={openSearchBox:"data-aria-label-open-searchbox",closeSearchBox:"data-aria-label-close-searchbox",displaySearchResults:"data-aria-label-display-search-results"}; var c=b.DesktopSearchAlly=function(){function j(m){e(this,j); this.$el=m.$el; this.$searchButton=m.$searchButton; this.$searchBox=m.$searchBox; this.context=m; this.setSearchButtonAriaLabelTexts(); this.bindUIEvents() }j.prototype.setSearchButtonAriaLabelTexts=function i(){this.searchButtonAriaLabels={open:this.$searchButton.attr(a.openSearchBox),close:this.$searchButton.attr(a.closeSearchBox),displayResults:this.$searchButton.attr(a.displaySearchResults)} }; j.prototype.bindUIEvents=function k(){var n=this; var m=this.context; this.$searchBox.on("keyup",function(){m.manageClearCircleVisibility(); m.manageTypeOfSearchButton(); n.setSearchButtonTabindex() }).on("change",function(){return n.submitText() }); this.$searchButton.on("click",function(){return n.toggleSearchButtonText() }); m.$desktopClearCircle.on("click",function(){n.$searchButton.attr("aria-label",n.searchButtonAriaLabels.close); n.setSearchButtonTabindex() }) }; j.prototype.toggleSearchButtonText=function h(){var m=this.context.isExpanded()?this.searchButtonAriaLabels.close:this.searchButtonAriaLabels.open; this.$searchButton.attr("aria-label",m); this.setSearchButtonTabindex() }; j.prototype.submitText=function l(){this.$searchButton.attr("aria-label",this.searchButtonAriaLabels.displayResults) }; j.prototype.setSearchButtonTabindex=function g(){if(this.context.isExpanded()&&this.context.isSearchBoxEmpty()){this.$searchButton.attr("tabindex",-1); this.$searchButton.attr("aria-hidden","true") }else{this.$searchButton.attr("tabindex",0); this.$searchButton.attr("aria-hidden","false") }}; return j }() }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var l={skipToContentLink:".skip-to-content-link",topOfContent:".top-of-content",configPage:".configPage",headerMain:".header-main"},f={active:"active",patternLab:"header-patternlab",noPatternLab:"header-no-patternlab"},g=h(document).find("body"),i=Bank_utils.keyCodes,j=500; var k=function(){function s(t){c(this,s); this.$header=h(t); this.cacheDomElements(); this.bindUiEvents(); this.togglePositionFixed(); this.detectPatternLab(); this.zoomDetectionTimeout() }s.prototype.detectPatternLab=function p(){if(Bank_utils.isPatternLab()){this.$header.addClass(f.patternLab) }else{this.$header.addClass(f.noPatternLab) }}; s.prototype.cacheDomElements=function n(){this.$skipToContentLink=this.$header.find(l.skipToContentLink); this.$topOfContent=h(document).find(l.topOfContent) }; s.prototype.togglePositionFixed=function o(){if(!g.hasClass(f.configPage)&&!Bank_utils.isEditMode()&&!Bank_utils.isPatternLab()){this.$header.css("position","fixed"); this.$header.parent().css("padding-top",this.$header.innerHeight()); h(window).trigger("headerResize") }}; s.prototype.bindUiEvents=function r(){var t=this; this.$skipToContentLink.on("click",function(u){t.$topOfContent.addClass(f.active).focus(); u.preventDefault() }); h(window).on("load resize headerMessageChange",function(){t.togglePositionFixed() }) }; s.prototype.zoomDetectionTimeout=function q(){var v=this; var u=h(l.headerMain),t=u.height(); setInterval(function(){var w=u.height(); if(w!=t){t=w; v.togglePositionFixed() }},j) }; return s }(); var e={name:"header",selector:".header",init:function m(n){return new k(n) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(k){var h={HTML_SEP:"-",ISO_SEP:"_",Bank_CLIENT_COOKIE:"Bank_CLIENT_COOKIE",PREFERRED_LOCALE_PREFIX:"PreferredLocale="},g={localeManagement:".locale-management",selectedTriggerLink:".is-selected a[lang]",triggerLink:"a[lang]"},j=86400000; var i={path:"/",expires:365}; var f=function(){function o(t){c(this,o); this.$el=k(t); this.$selectedTriggerLink=this.$el.find(g.selectedTriggerLink); this.fetchGlobalSettings(); this.observeTriggers(); this.initLocale() }o.prototype.initLocale=function n(){this.updateLocale(this.$selectedTriggerLink.attr("lang")) }; o.prototype.fetchGlobalSettings=function q(){var t=k("body").data("global-settings"); if(t&&t.cookieDomain){i.domain=t.cookieDomain }}; o.prototype.observeTriggers=function p(){var t=this; this.$el.find(g.triggerLink).on("click",function(u){t.updateLocale(u.target.lang) }) }; o.prototype.updateLocale=function s(v){var u=this.getLocale(),t=e(v)||""; if(t.length&&u!=t){this.setLocale(t) }}; o.prototype.setLocale=function m(u){var w=Bank_utils.getCookie(h.Bank_CLIENT_COOKIE),t=void 0; var v=new RegExp("^(.*,)?"+h.PREFERRED_LOCALE_PREFIX+"[^,]*(,.*)?$"); u=u||""; t=h.PREFERRED_LOCALE_PREFIX+u; if(!w){w=t }else{if(w.indexOf(h.PREFERRED_LOCALE_PREFIX)!==-1){w=w.replace(v,"$1"+t+"$2") }else{w=w+","+t }}Bank_utils.deleteCookie(h.Bank_CLIENT_COOKIE,i.path); Bank_utils.setCookie(h.Bank_CLIENT_COOKIE,w,i,j) }; o.prototype.getLocale=function r(){var u=Bank_utils.getCookie(h.Bank_CLIENT_COOKIE),t=new RegExp("^(.*,)?"+h.PREFERRED_LOCALE_PREFIX+"([^,]*)(,.*)?$"); if(u&&u.indexOf(h.PREFERRED_LOCALE_PREFIX)!==-1){return u.replace(t,"$2") }return null }; return o }(); function e(n){var m=n; if(n&&n.indexOf(h.HTML_SEP)!==-1){m=n.split(h.HTML_SEP)[0]; m+=h.ISO_SEP; m+=n.split(h.HTML_SEP)[1].toUpperCase() }return m }Bank_utils.registerComponent({name:"localemanagement",selector:g.localeManagement,init:function l(m){return new f(m) }}) })(Bootstrap.jQuery) }),(function(b,a,e){var f=e(141); var d=e(28); function c(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}(function(k){var i={expanded:"is-expanded",hidden:"hidden"},h={selectedItem:".selected-item",itemList:".item-list",items:".item",loginButtonExpanded:".login-button-expanded",loginButtonCollapsed:".login-button-collapsed"},j={up:"icon-chevron-up-small",down:"icon-chevron-down-small"}; var m=function(){function r(s){c(this,r); this.$el=k(s); this.isExpanded=false; this.$arrowIcon=this.$el.find(".icon").first(); this.$menuItems=this.$el.find(h.items+" a"); this.$selectedItem=this.$el.find(h.selectedItem); this.$loginButtonExpanded=this.$selectedItem.find(h.loginButtonExpanded); this.$loginButtonCollapsed=this.$selectedItem.find(h.loginButtonCollapsed); this.bindUIEvents(); new f.HeaderDropdownAlly(this); new d.HeaderLoggedUserState(this) }r.prototype.bindUIEvents=function n(){var s=this; this.$selectedItem.on("click",function(){s.toggleDropdown() }); this.$menuItems.on("click",function(){return s.collapse() }); k(document).on("click",function(t){var u=t.target; if(!s.$el.is(u)&&!s.$el.has(u).length){s.collapse() }}) }; r.prototype.toggleDropdown=function p(){if(this.isExpanded){this.collapse() }else{this.expand() }}; r.prototype.expand=function o(){this.$el.addClass(i.expanded); this.$arrowIcon.addClass(j.up).removeClass(j.down); this.$loginButtonExpanded.removeClass(i.hidden); this.$loginButtonCollapsed.addClass(i.hidden); this.isExpanded=true }; r.prototype.collapse=function q(){this.$el.removeClass(i.expanded); this.$arrowIcon.addClass(j.down).removeClass(j.up); this.$loginButtonExpanded.addClass(i.hidden); this.$loginButtonCollapsed.removeClass(i.hidden); this.isExpanded=false }; return r }(); var g={name:"header-dropdown",selector:".header-dropdown",init:function l(n){return new m(n) }}; Bank_utils.registerComponent(g) })(Bootstrap.jQuery) }),(function(d,a,g){a.__esModule=true; function f(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var c={itemList:".item-list",items:".item",onlyOneLink:"only-one-link"},b=Bank_utils.keyCodes,e=Bootstrap.jQuery; var h=a.HeaderDropdownAlly=function(){function l(m){f(this,l); this.context=m; this.$el=m.$el; this.$menuItems=this.$el.find(c.items+" a"); this.bindUIEvents() }l.prototype.bindUIEvents=function j(){var n=this; var m=this.context; this.$menuItems.on("keydown",function(o){return n.handleItemsKeyEvent(o) }); m.$selectedItem.on("click",function(){if(m.isExpanded){n.$menuItems.first().focus() }}).on("keydown",function(r){var q=r.keyCode,p=q===b.SPACE,o=q===b.ENTER; if(p||o){m.$selectedItem.trigger("click"); if(n.isLogonWithOnlyOneLink(r)){return }r.preventDefault() }}) }; l.prototype.isLogonWithOnlyOneLink=function k(m){return m.target.classList.contains(c.onlyOneLink) }; l.prototype.handleItemsKeyEvent=function i(n){var o=this.context,w=n.keyCode,r=n.shiftKey,u=w===b.ENTER,q=w===b.DOWN,v=w===b.UP,m=w===b.TAB,t=m&&r,p=e(n.target),s=p.parent(); if(q){s.next().find("a").focus() }else{if(v||t){if(this.$menuItems.first().is(p)){o.toggleDropdown(); o.$selectedItem.focus() }else{s.prev().find("a").focus() }}}if(m&&!r){if(this.$menuItems.last().is(p)){o.toggleDropdown() }}else{if(!u){n.preventDefault() }}}; return l }() }),(function(b,a,f){var c=f(143); var e=f(28); function d(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}(function(k){if(Bank_utils.isIE8orLower()){return }var h={sidebar:"header-mobile-sidebar",sidebarTrigger:"header-sidebar-trigger",sidebarOpen:"sidebar-open",sidebarOverlay:"header-mobile-overlay",logoMobile:"header-mobile-logo",expanded:"expanded",active:"active",expandedAndActive:"expanded active",safariFixPadding:"safari-fix-padding",submenuTrigger:"sidebar-submenu-trigger",submenu:"sidebar-submenu-wrapper",doormatTrigger:"header-main-navigation-item",doormatSidebarTitle:"header-doormat-mobile-title",sidebarLinks:"header-mobile-sidebar-footer",sidebarHiddenCloseButton:"sidebar-hidden-close-button",closeSubmenuTrigger:"close-submenu-trigger",submenuExpanded:"submenu-expanded",doormatContainer:"doormat-container",doormatMenu:"doormat-menu",searchBox:"search-box",headerSearchButton:"header-search-button",contentOverlay:"header-mobile-overlay"},i=k("html"),j=k("body"),n={doormatSectionHeading:".sidebar-submenu-label, .footer-section-title",doormatSidebarItems:".header-doormat-mobile-title, .header-mobile-selected-item, .search-box, .header-mobile-search-container"}; var l=void 0; var m=function(){function C(E){d(this,C); C.initSelectorsObject(); this.cacheDomElements(E); this.bindUIEvents(); this.ally=new c.MobileHeaderAlly(this); new e.HeaderLoggedUserState(this) }C.prototype.cacheDomElements=function t(E){this.$el=k(E); this.$sidebarTrigger=this.$el.find(n.sidebarTrigger); this.$sidebar=this.$el.find(n.sidebar); this.$header=this.$el.parent(); this.$sidebarOverlay=this.$el.find(n.sidebarOverlay); this.$logoMobile=this.$el.find(n.logoMobile); this.$sidebarLinks=this.$el.find(n.sidebarLinks); this.$sidebarHiddenCloseButton=this.$el.find(n.sidebarHiddenCloseButton); this.$submenuWrapper=this.$el.find(n.submenu); this.$doormatContainer=this.$el.find(n.doormatContainer); this.$doormatMenu=this.$el.find(n.doormatMenu); this.$doormatSidebarTitle=this.$el.find(n.doormatSidebarTitle); this.$doormatSidebarItems=this.$el.find(n.doormatSidebarItems); this.$submenuTrigger=this.$el.find(n.submenuTrigger); this.$closeSubmenuTrigger=this.$el.find(n.closeSubmenuTrigger); this.$searchBox=this.$el.find(n.searchBox); this.$doormatSectionHeading=this.$el.find(n.doormatSectionHeading); this.$headerSearchButton=this.$el.find(n.headerSearchButton); this.$contentOverlay=this.$el.find(n.contentOverlay) }; C.prototype.bindUIEvents=function q(){var E=this; this.$el.on("click",n.submenuTrigger,function(F){return E.toggleSubmenu(F) }).on("click",n.closeSubmenuTrigger,function(){return E.collapseSubmenu() }); this.$sidebarTrigger.on("click",function(F){F.preventDefault(); E.toggleSidebar() }); this.$sidebarHiddenCloseButton.on("click",function(F){F.preventDefault(); E.closeSidebar(); E.$sidebarTrigger.focus() }); this.$sidebarOverlay.on("click",function(){return E.closeSidebar() }); k(window).on("resize",function(){return E.resizeEventHandler() }).on("load",function(){return E.fixPaddingSafari() }).on("resize resize_when_banner_closed",function(){E.calculateOverlayPosition(); E.ally.calculatePositionSidebarHiddenCloseButton() }) }; C.prototype.toggleSidebar=function y(){if(this.isExpanded()){this.closeSidebar() }else{this.openSidebar() }}; C.prototype.isExpanded=function p(){return this.$sidebar.hasClass(h.expandedAndActive) }; C.prototype.openSidebar=function B(){this.$sidebar.addClass(h.expandedAndActive); l=j.scrollTop()||i.scrollTop(); j.addClass(h.sidebarOpen).css("marginTop",-l); this.positionSidebarLinks(); this.ally.openSidebar(); this.calculateOverlayPosition(); this.ally.makePageContentInaccessible(); this.$sidebarHiddenCloseButton.addClass(h.sidebarOpen); this.ally.calculatePositionSidebarHiddenCloseButton() }; C.prototype.closeSidebar=function x(){j.css("marginTop",0); this.$sidebar.removeClass(h.expandedAndActive+" "+h.submenuExpanded); j.removeClass(h.sidebarOpen); this.$sidebar.find(n.expandedOrActive).removeClass(h.expandedAndActive); C.scrollTop(); this.ally.closeSidebar(); this.ally.makePageContentAccessible(); this.$sidebarHiddenCloseButton.removeClass(h.sidebarOpen) }; C.prototype.toggleSubmenu=function v(J){var G=k(J.target),F=G.hasClass(h.submenuTrigger)?G:G.closest(n.submenuTrigger),E=F.data("target"),I=this.$el.find("[data-source="+E+"]"),H=I.hasClass(h.expandedAndActive); this.collapseSubmenu(); if(!H){F.addClass(h.expandedAndActive).attr("aria-expanded","true"); this.ally.openSubmenu(); I.removeAttr("tabindex").addClass(h.expandedAndActive).attr("aria-hidden","false").find(Bank_utils.focusables.join()).first().focus(); this.$sidebar.addClass(h.submenuExpanded); J.preventDefault() }this.ally.updateFocusables() }; C.prototype.collapseSubmenu=function z(){var E=this.$submenuTrigger.filter(".expanded"); this.$sidebar.removeClass(h.submenuExpanded).find(n.expandedOrActive).removeClass(h.expandedAndActive); this.ally.closeSubmenu(); if(k(document.activeElement).is(this.$closeSubmenuTrigger)){E.focus() }this.ally.updateFocusables() }; C.prototype.fixPaddingSafari=function D(){if(Bank_utils.isSafari){this.$doormatContainer.addClass(h.safariFixPadding) }}; C.prototype.positionSidebarLinks=function u(){var F=this.$sidebarLinks.siblings(":visible").eq(-2),H=F.outerHeight(),G=this.$sidebarLinks.outerHeight(); var E=0; if(this.$sidebar.hasClass(h.expandedAndActive)){E=k(window).height()-F.offset().top-H-G }if(E>0){this.$sidebarLinks.css("top",E) }}; C.prototype.resizeEventHandler=function A(){if(Bank_utils.matchMedia.desktop){this.closeSidebar() }else{this.positionSidebarLinks() }}; C.prototype.calculateOverlayPosition=function w(){this.$contentOverlay.css("top",this.$header.innerHeight()) }; C.initSelectorsObject=function r(){Object.keys(h).map(function(E){return n[E]="."+h[E] }); n.expandedOrActive="."+h.expanded+",."+h.active }; C.scrollTop=function s(){j.scrollTop(l); i.scrollTop(l) }; return C }(); var g={name:"Mobile Header",selector:".header-mobile",init:function o(p){return new m(p) }}; Bank_utils.registerComponent(g) })(Bootstrap.jQuery) }),(function(b,e,a){e.__esModule=true; function f(j,k){if(!(j instanceof k)){throw new TypeError("Cannot call a class as a function") }}var d={sidebarTrigger:"header-sidebar-trigger",submenuTrigger:"sidebar-submenu-trigger",closeSubmenuTrigger:"close-submenu-trigger",expanded:"expanded",hidden:"hidden",expandedAndActive:"expanded active",submenuExpanded:"submenu-expanded"},i={doormatTrigger:".header-main-navigation-item"},g=Bootstrap.jQuery,h=Bank_utils.keyCodes; var c=e.MobileHeaderAlly=function(){function o(A){f(this,o); this.$el=A.$el; this.$target=A.$target; this.$sidebar=A.$sidebar; this.$header=A.$header; this.$sidebarTrigger=A.$sidebarTrigger; this.$doormatMenu=A.$doormatMenu; this.$doormatSidebarTitle=A.$doormatSidebarTitle; this.$doormatSidebarItems=A.$doormatSidebarItems; this.$submenuTrigger=A.$submenuTrigger; this.$closeSubmenuTrigger=A.$closeSubmenuTrigger; this.$submenuWrapper=A.$submenuWrapper; this.$searchBox=A.$searchBox; this.$doormatSectionHeading=A.$doormatSectionHeading; this.$headerSearchButton=A.$headerSearchButton; this.$sidebarHiddenCloseButton=A.$sidebarHiddenCloseButton; this.context=A; this.updateDoormatAccessibility(); this.setSidebarAriaLabelTexts(); this.updateFocusables(); this.bindUIEvents() }o.prototype.bindUIEvents=function j(){var A=this; this.$el.on("keydown",function(B){return A.keydownEventHandler(B) }); this.$sidebarTrigger.on("click",function(){return A.updateDoormatAccessibility() }) }; o.prototype.keydownEventHandler=function y(C){var B=C.keyCode,D=B===h.TAB,A=B===h.ENTER; if(D){this.tabPressedEventHandler(C) }else{if(A){this.enterPressedEventHandler(C) }}}; o.prototype.tabPressedEventHandler=function x(E){var G=E.target,H=this.$sidebar.hasClass(d.expanded),D=G===this.$firstFocusable[0]&&E.shiftKey,B=G===this.$lastFocusable[0]&&!E.shiftKey,F=g(G).hasClass(d.sidebarTrigger),A=this.$sidebar.hasClass(d.submenuExpanded); if(H&&F&&!A){var C=E.shiftKey?this.$lastFocusable:this.$firstFocusable; C.focus(); E.preventDefault() }else{if(H&&F&&A){this.$closeSubmenuTrigger.focus(); E.preventDefault() }else{if(D||B){this.$sidebarTrigger.focus(); E.preventDefault() }}}}; o.prototype.enterPressedEventHandler=function k(C){var B=this.context,A=g(C.target); if(A.hasClass(d.submenuTrigger)){B.toggleSubmenu(C) }else{if(A.hasClass(d.closeSubmenuTrigger)){B.collapseSubmenu() }}}; o.prototype.updateDoormatAccessibility=function m(){this.$sidebar.find(i.doormatTrigger).removeAttr("tabindex aria-expanded").attr("role","presentation").children(this.$doormatSidebarTitle).attr("tabindex",0); this.$submenuTrigger.attr({role:"menuitem","aria-haspopup":true}) }; o.prototype.setSidebarAriaLabelTexts=function s(){this.sideBarAriaLabels={open:this.$sidebarTrigger.attr("data-aria-label-open-menu"),close:this.$sidebarTrigger.attr("data-aria-label-close-menu")} }; o.prototype.updateFocusables=function p(){var B=this.$sidebar.find(Bank_utils.focusables.join()),A=B.filter(function(C,D){return g(D).css("display")!=="none" }); this.$firstFocusable=A.first(); this.$lastFocusable=A.last() }; o.prototype.closeSidebar=function q(){this.$sidebarTrigger.attr("aria-label",this.sideBarAriaLabels.open) }; o.prototype.openSidebar=function v(){this.$sidebarTrigger.attr("aria-label",this.sideBarAriaLabels.close); this.showSidebarForScreenReaders() }; o.prototype.closeSubmenu=function n(){this.$submenuTrigger.attr("aria-expanded","false"); this.$closeSubmenuTrigger.addClass(d.hidden); this.showSidebarForScreenReaders() }; o.prototype.openSubmenu=function u(){this.$closeSubmenuTrigger.removeClass(d.hidden); this.hideSidebarForScreenReaders() }; o.prototype.hideSidebarForScreenReaders=function w(){this.$doormatSectionHeading.attr("tabindex",0); this.$doormatSidebarItems.attr({tabindex:-1,"aria-hidden":"true"}); this.$submenuWrapper.attr("aria-hidden","false") }; o.prototype.showSidebarForScreenReaders=function t(){this.$doormatMenu.attr("aria-hidden","true"); this.$doormatSectionHeading.attr("tabindex",-1); this.$doormatSidebarItems.attr({tabindex:0,"aria-hidden":"false"}); this.$submenuWrapper.attr("aria-hidden","true") }; o.prototype.makePageContentInaccessible=function z(){this.$header.siblings("div").wrapAll(g("<div>").addClass("page")); this.$header.siblings(".page").attr("aria-hidden","true"); this.$sidebar.siblings("div").attr("aria-hidden","true") }; o.prototype.makePageContentAccessible=function r(){this.$header.siblings(".page").children().unwrap(); this.$sidebar.siblings("div").removeAttr("aria-hidden") }; o.prototype.calculatePositionSidebarHiddenCloseButton=function l(){this.$sidebarHiddenCloseButton.css("top",this.$header.innerHeight()-28) }; return o }() }),(function(d,b,f){var a=f(27); var c=f(145); function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}(function(l){var k={searchContainer:".header-mobile-search-container",clearCircle:".clear-container",searchBox:".search-box",searchOverlay:".search-overlay"},j={hidden:"hidden"}; var h=function(){function n(t){e(this,n); this.$el=l(t); this.$clearCircle=this.$el.find(k.clearCircle); this.$searchBox=this.$el.find(k.searchBox); this.$searchOverlay=this.$el.find(k.searchOverlay); this.suggestions=new a.SearchMobileSuggestions(this.$el); this.bindUIEvents(); this.manageClearCircleVisibility(); new c.SearchMobileAlly(this) }n.prototype.bindUIEvents=function p(){var w=this; this.$clearCircle.on("click",function(){w.clearSearchBox(); w.manageClearCircleVisibility() }); this.$searchBox.on({blur:function v(){return w.setOverlayVisibility(false) },focusin:function u(){return w.setOverlayVisibility(true) },input:function t(){return w.handleInputChange() }}) }; n.prototype.handleInputChange=function s(){this.manageClearCircleVisibility() }; n.prototype.clearSearchBox=function q(){this.$searchBox.val("").focus() }; n.prototype.manageClearCircleVisibility=function o(){g(this.$clearCircle,this.$searchBox.val().length) }; n.prototype.setOverlayVisibility=function r(t){g(this.$searchOverlay,t) }; return n }(); function g(o,n){if(n){o.removeClass(j.hidden) }else{o.addClass(j.hidden) }}var i={name:"Mobile Search",selector:k.searchContainer,init:function m(n){return new h(n) }}; Bank_utils.registerComponent(i) })(Bootstrap.jQuery) }),(function(d,a,f){a.__esModule=true; function e(g,h){if(!(g instanceof h)){throw new TypeError("Cannot call a class as a function") }}var c={searchButton:".header-search-button"}; var b=a.SearchMobileAlly=function(){function h(j){e(this,h); this.$el=j.$el; this.context=j; this.$searchButton=this.$el.find(c.searchButton); this.changeSearchButtonBehavior(); this.bindUIEvents() }h.prototype.bindUIEvents=function g(){var k=this; var j=this.context; j.$searchBox.on("input",function(){return k.changeSearchButtonBehavior() }); j.$clearCircle.on("click",function(){return k.changeSearchButtonBehavior() }) }; h.prototype.changeSearchButtonBehavior=function i(){var j=this.context,l=!j.$searchBox.val().length?-1:0,k=!j.$searchBox.val().length?"true":"false"; this.$searchButton.attr("tabindex",l); this.$searchButton.attr("aria-hidden",k) }; return h }() }),(function(e,c,h){var b=h(61); function g(i,j){if(!(i instanceof j)){throw new TypeError("Cannot call a class as a function") }}var d={messagingBanner:".messaging-banner.pub",critical:".A-PNLDRED-RW-ALL",warning:".A-PNLGLD-RW-ALL",general:".A-PNLDSPHR-RW-ALL",closeButton:".close-message-button"},f=Bootstrap.jQuery; var a=function(){function i(m){g(this,i); this.$el=f(m); this.processGroup(d.critical,sessionStorage,"Bank_msgs_critical"); this.processGroup(d.warning,sessionStorage,"Bank_msgs_warning"); this.processGroup(d.general,localStorage,"Bank_msgs_general"); this.showMessage() }i.prototype.showMessage=function l(){this.$el.show(); f(window).trigger("headerMessageChange") }; i.prototype.processGroup=function k(m,q,n){var p=this.$el.children(m); var o=new b.MessageIdManager(q,n); this.processMessages(p.children(),o) }; i.prototype.processMessages=function j(o,n){var m=[]; o.each(function(q,s){var p=f(s),r=p.find(d.closeButton),t=r.data("messageId"); if(n.has(t)){p.hide(); m.push(t) }else{r.click(function(){p.hide(); n.add(t) }) }}); f(window).trigger("headerMessageChange"); n.updateAll(m) }; return i }(); (function(){Bank_utils.registerComponent({name:"messagingBanner",selector:d.messagingBanner,init:function i(j){return new a(j) }}) })() }),(function(c,v,d){var e=d(62); function f(w,x){if(!(w instanceof x)){throw new TypeError("Cannot call a class as a function") }}var h=Bootstrap.jQuery,t={description:"text-container",modalWindow:"M-MODWIN-DEV",modalWindowOverlay:"modal-window-overlay",externalLinkModal:"external-link-modal",cancelTrigger:"mw-cancel-trigger",allowTrigger:"mw-allow-trigger",isVisible:"is-visible",hide:"hidden",modalAnnouncement:"modal-announcement-sr-text",scrollbarHidden:"vertical-scrollbar-hidden"},r="data-content-id",m="default",g={link:"a",component:"[data-external-link-modal-url]",allContents:"[data-content-id]",allNonDefaultContents:"["+r+"]["+r+' != "'+m+'"]'},a="external-link-modal-url",j={animation:200},q=h("body"),u=h(document); var k=function(){function F(L){f(this,F); this.$moduleElement=h(L); this.modalSource=this.$moduleElement.data(a); this.$link=null; this.$modal=null; this.bindUIEvents(); this.allyModule=new e.ModalWindowAlly(this) }F.prototype.bindUIEvents=function x(){var L=this; if(this.modalSource){u.on("click",g.link,function(M){return L.linkClickHandler(M) }).on("modalWindow:switchedToEdit",g.link,function(M){return L.close() }) }}; F.prototype.linkClickHandler=function K(N){this.$link=h(N.target); if(N.target.tagName.toLowerCase()!==g.link){this.$link=this.$link.parents(g.link) }var L=this.$link.attr("href")||""; if(!L.length){return }this.$link.data("which",N.which); if(N.which!=1){N.preventDefault() }var M=this.analyzeUrl(L,window.dpwsExternalLinkConfiguration); if(M.isModal){N.preventDefault(); if(!Bank_utils.isEditMode()){if(!this.$modal){this.getMarkup(); n(q,t.scrollbarHidden) }else{this.open(); n(q,t.scrollbarHidden) }}}if(N.isDefaultPrevented()&&!M.isModal&&M.inWhiteList){this.leave() }}; F.prototype.analyzeUrl=function I(N,S){var O=new RegExp("(^#)|(^/)|(^../)|(^mailto:)|(^tel:)|(^javascript*)((?!.location=).)*$"),R=new RegExp("(^http)|(^ftp)|(^//)|(^javascript.*.location=)"); if(R.test(N)){var M=N.split("//").slice(1)[0],P=M.split("index.html")[0],Q=M.split("index.html").slice(1).join("index.html"); this.contentId=b(P,Q,S.blacklist); var L=p(P,Q,S.whitelist); return this.linkCharacteristics(this.contentId||!L,L) }else{if(O.test(N)){return this.linkCharacteristics(false,false) }}return this.linkCharacteristics(true,false) }; F.prototype.linkCharacteristics=function C(M,L){return{isModal:M,inWhiteList:L} }; F.prototype.getMarkup=function E(){var M=this; if(!this.modalSource){return }h.ajax({type:"GET",dataType:"HTML",url:this.modalSource,success:function N(O){M.setUpModalWindow(h('<div class="'+t.modalWindowOverlay+" "+t.externalLinkModal+'"><div class="'+t.modalWindow+'">'+O+"</div></div>")); M.open() },error:function L(O){return console.error(O) }}) }; F.prototype.open=function D(){var L=this; this.setSpecificContent(); this.$modal.addClass(t.isVisible).removeAttr("aria-hidden").siblings().attr("aria-hidden","true"); this.setTabIndexElementValue(-1,this.$descriptionEl); this.defer(function(){return L.$descriptionEl.focus() },j.animation) }; F.prototype.setSpecificContent=function A(){this.$modal.find(g.allContents).addClass(t.hide); this.$modal.find("["+r+'="'+(this.contentId||m)+'"]').removeClass(t.hide) }; F.prototype.close=function J(){if(this.$modal){var M=this.$modal.find("."+t.modalAnnouncement); M.removeClass(t.hide); this.$modal.removeClass(t.isVisible).attr("aria-hidden","true").siblings().removeAttr("aria-hidden") }if(this.$link){this.$link.removeAttr("data-which"); var L=this; this.defer(function(){L.$link.get(0).focus() }) }n(q,t.scrollbarHidden) }; F.prototype.defer=function w(M,L){setTimeout(M||function(){},L||5) }; F.prototype.leave=function H(){var L=this.$link.attr("href"),M=this.$link.data("which")==2?"_blank":this.$link.attr("target"); if(M){window.open(L,M) }else{window.location.href=L }this.close() }; F.prototype.setUpModalWindow=function y(L){this.$modal=u.find(t.externalLinkModal); if(!this.$modal.length){this.$modal=L; this.$modal.appendTo(q) }this.$modal.removeClass(t.isVisible); this.cacheModalElements(); this.lateBindUIEvents(); this.$modal.find(g.allNonDefaultContents).each(function(){h(this).parent().replaceWith(this) }) }; F.prototype.setTabIndexElementValue=function G(M,L){if(!L.attr("tabindex")){L.attr("tabindex",M) }else{return }}; F.prototype.cacheModalElements=function z(){this.$cancelTriggers=this.$modal.find("."+t.cancelTrigger); this.$allowTriggers=this.$modal.find("."+t.allowTrigger); this.$descriptionEl=this.$modal.find("."+t.description) }; F.prototype.lateBindUIEvents=function B(){var L=this; this.$cancelTriggers.on("click",function(M){return L.close() }); this.$allowTriggers.on("click",function(M){return L.leave() }); this.$modal.on("click",function(N){var M=h(N.target); if(!i(M)&&!M.hasClass(t.modalWindowOverlay)){L.close() }}); this.allyModule.bindUIEvents() }; return F }(); function n(x,w){x.hasClass(w)?x.removeClass(w):x.addClass(w) }function i(w){return w.parents("."+t.modalWindow).length }function o(){h(g.link).trigger("modalWindow:switchedToEdit") }function b(A,B,z){for(var w in z){var x=z[w]; for(var y=0; y<x.length; y++){if(l(A,B,x[y])){return w }}}return null }function p(y,z,x){for(var w=0; w<x.length; w++){if(l(y,z,x[w])){return true }}return false }function l(A,B,x){var w=x,z="",y=false; if(x.indexOf("://")>=0){x=w=x.split("://").slice(1)[0] }if(x.indexOf("index.html")>=0){w=x.split("index.html")[0]; z=x.split("index.html").slice(1).join("index.html") }if(A.length>=w.length){if(A==w){y=true }else{if(A.indexOf(w)>=0){if(A.lastIndexOf("."+w)==A.length-w.length-1){y=true }}}if(y){if(z.length==0||B.indexOf(z)==0){return true }}}return false }Bank_utils.registerComponent({name:"externalLinkModalWindow",selector:g.component,init:function s(w){return new k(w) },switchToEditHandler:o}) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(i){var g={notificationBanner:".notification-banner",closeButton:".close-notification-banner",row:".row"},f={hidden:"hidden"},h={sessionDismissal:"session-dismissal"},e={name:"notification_banner_dismissed",value:"hide"}; var k=function(){function m(o){c(this,m); this.$el=i(o); this.$closeButton=this.$el.find(g.closeButton); this.$parentRow=this.$el.closest(g.row); if(Bank_utils.getCookie(e.name)===e.value&&!Bank_utils.isEditMode()){this.closeBanner() }else{this.$el.removeClass(f.hidden); this.bindUIEvents() }}m.prototype.bindUIEvents=function l(){var p=this; var o=this.$el.data(h.sessionDismissal); this.$closeButton.on("click",function(){p.closeBanner(); if(o){Bank_utils.setCookie(e.name,e.value) }}) }; m.prototype.closeBanner=function n(){Bank_utils.collapseElement(this.$parentRow,true) }; return m }(); Bank_utils.registerComponent({name:"notificationBanner",selector:g.notificationBanner,init:function j(l){return new k(l) }}) })(Bootstrap.jQuery) }),(function(b,c,a){var i=a(1); function d(k,l){if(!(k instanceof l)){throw new TypeError("Cannot call a class as a function") }}var e=Bootstrap.jQuery,g=Bank_utils,h={socialMediaFooter:".socialMediaFooter",link:"a"}; var f=function f(l){d(this,f); this.$el=e(l); this.$links=this.$el.find(h.link); this.tealiumObserver=new i.TealiumObserver(this.$links,{event_type:"click",event_category:"follow",event_action:function k(m){return e(m).parent().find(".visuallyhidden").text() }}) }; g.registerComponent({name:"socialMediaFooter",selector:h.socialMediaFooter,init:function j(k){return new f(k) }}) }),(function(d,f,c){var j=c(1); function g(m,n){if(!(m instanceof n)){throw new TypeError("Cannot call a class as a function") }}var h=Bootstrap.jQuery,e={socialSharing:".social-media-sharing",dropTrigger:".drop-trigger",dropContent:".drop-content",links:"a[href]",visuallyHidden:".visuallyhidden"},l={open:"open"},a={triggerPrefix:".trigger-",logger:true},b={ariaExpanded:"aria-expanded",ariaLabel:"aria-label",ariaLive:"aria-live",dataScreenReaderExpandedText:"screen-reader-expanded-text",dataScreenReaderCollapsedText:"screen-reader-collapsed-text",androidDeviceSelector:'html[class*="android"]'}; var i=function(){function x(C){g(this,x); this.$el=h(C); this.$links=this.$el.find(e.links); this.$dropTrigger=this.$el.find(e.dropTrigger); this.$dropContent=this.$el.find(e.dropContent); this.showHideDropdown().facebook().twitter().pinterest().linkedin(); new j.TealiumObserver(this.$links,{event_type:"click",event_category:"share",event_action:function B(D){return h(D).parent().find(e.visuallyHidden).text() }}); this.ally() }x.prototype.ally=function v(){var I=this; this.$dropTrigger.open=this.$dropTrigger.hasClass(l.open); this.expandedFlag=this.$dropTrigger.open; var B=this.$dropTrigger.data(b.dataScreenReaderExpandedText),E=this.$dropTrigger.data(b.dataScreenReaderCollapsedText),D=this.$dropTrigger.attr(b.ariaLabel),F=!!h(b.androidDeviceSelector).length; B=D+" "+B; E=D+" "+E; H(this,this.expandedFlag); if(F){C(this) }this.$dropTrigger.on("click",function(J){I.expandedFlag=I.$dropTrigger.open; H(I,!I.expandedFlag); if(!I.expandedFlag){G(I) }}); function H(K,J){K.$dropTrigger.open=J; K.$dropTrigger.attr(b.ariaLabel,J?B:E) }function G(J){var K=J.$dropContent.find(e.links).get(0); if(K){x.defer(function(){K.focus() }) }}function C(J){J.$dropTrigger.attr(b.ariaLive,"assertive") }}; x.defer=function n(B){B=B||function(){}; return setTimeout(function(){B() },3) }; x.prototype.showHideDropdown=function y(){var B=this; this.$dropContent.hide(); this.$dropTrigger.on("click",function(C){C.preventDefault(); if(B.$dropTrigger.hasClass(l.open)){B.$dropContent.slideUp(function(){B.$dropTrigger.removeClass(l.open) }) }else{B.$dropContent.slideDown(); B.$dropTrigger.addClass(l.open) }}); return this }; x.prototype.facebook=function t(){var B=this.$fetchSocialLink("facebook"); if(!B.length){return this }B.attr("href",B.data("href-template").replace("{{url}}",this.fetchEncodedUrl())); return this }; x.prototype.twitter=function r(){var B=this.$fetchSocialLink("twitter"); if(!B.length){return this }B.attr("href",B.data("href-template").replace("{{url}}",this.fetchEncodedUrl())); return this }; x.prototype.pinterest=function q(){var B=this.$fetchSocialLink("pinterest"); if(!B.length){return this }B.attr("href",B.data("href-template").replace("{{imageurl}}",this.fetchContentImageEncodedUrl()).replace("{{imagename}}",this.fetchContentImageName()).replace("{{imagedescription}}",this.fetchContentImageDescription())); return this }; x.prototype.linkedin=function o(){var B=this.$fetchSocialLink("linkedin"); if(!B.length){return this }B.attr("href",B.data("href-template").replace("{{url}}",this.fetchEncodedUrl()).replace("{{pagetitle}}",this.fetchPageTitle()).replace("{{pagesummary}}",this.fetchPageSummary())); return this }; x.prototype.fetchEncodedUrl=function u(){var B=h('[property="og:url"]').attr("content")||""; return encodeURIComponent(B?B:document.location+"") }; x.prototype.fetchContentImageEncodedUrl=function A(){var B=h('[property="og:image"]').attr("content")||""; return encodeURIComponent(B) }; x.prototype.fetchContentImageName=function m(){return this.fetchPageTitle()||"" }; x.prototype.fetchContentImageDescription=function z(){return this.fetchPageSummary()||"" }; x.prototype.fetchPageTitle=function w(){return h('[property="og:title"]').attr("content")||h("title").text()||"" }; x.prototype.fetchPageSummary=function p(){return h('[property="og:description"]').attr("content")||h('[name="description"]').attr("content")||"" }; x.prototype.$fetchSocialLink=function s(B){return this.$el.find(a.triggerPrefix+B) }; return x }(); function k(m){new i(m) }Bank_utils.registerComponent({name:"socialSharing",selector:e.socialSharing,init:k}) }),(function(b,a,d){function c(e,f){if(!(e instanceof f)){throw new TypeError("Cannot call a class as a function") }}(function(h){var f={loanCalculator:".loan-calculator-tool",inputs:"input",deptToIncomeRatio:"input[name=lc-dept-to-income-ratio]",income:"input[name=lc-income]",rate:"input[name=lc-rate]",idPeriod:"label[for=lc-period]",period:"input[name=lc-period]",sliderPeriod:"div[data-name=lc-sliderPeriod]",sliderPeriodHandle:"div[data-name=lc-sliderPeriod] > .ui-slider-handle",tablesContainerMedium:"div[data-name=lc-tablesContainerMedium]",tablesContainerLarge:"div[data-name=lc-tablesContainerLarge]",tablesWrapper:"div[data-name=lc-tablesWrapper]",inputsDiv:".lc-inputs",resultsDiv:".lc-results",ratePostfix:".lc-rate-postfix",inputBox:".lc-input-box",rangeError:"div[data-name=lc-range-error]",lettersError:"div[data-name=lc-letters-error]",syntaxError:"div[data-name=lc-syntax-error]",maximumLoanAmount:"p[data-name=lc-maximumLoanAmount]",monthlyRepaymentAmount:"span[data-name=lc-monthlyRepaymentAmount]",monthlyLoanPeriod:"td[data-name=lc-monthlyLoanPeriod]",monthlyInterestPayable:"td[data-name=lc-monthlyInterestPayable]",monthlyTotalRepayment:"td[data-name=lc-monthlyTotalRepayment]",fortnightlyRepaymentAmount:"span[data-name=lc-fortnightlyRepaymentAmount]",fortnightlyLoanPeriod:"td[data-name=lc-fortnightlyLoanPeriod]",fortnightlyInterestPayable:"td[data-name=lc-fortnightlyInterestPayable]",fortnightlyTotalRepayment:"td[data-name=lc-fortnightlyTotalRepayment]",headLoanCalculator:".lc-head-info",errorTextContainer:".lc-error-text",errorMessage:".lc-error-message"}; var g=function(){function x(A){c(this,x); this.$lc=h(A); this.$idPeriod=this.$lc.find(f.idPeriod).text(); this.$sliderPeriod=h(this.getElement(f.sliderPeriod)); this.$period=h(this.getElement(f.period)); this.$rate=h(this.getElement(f.rate)); this.$income=h(this.getElement(f.income)); this.$deptToIncomeRatio=Number(this.getValue(f.deptToIncomeRatio)); this.$ratePostfix=h(this.getElement(f.ratePostfix)); this.tablesContainerMedium=this.getElement(f.tablesContainerMedium); this.tablesContainerLarge=this.getElement(f.tablesContainerLarge); this.tablesWrapper=this.getElement(f.tablesWrapper); this.$headLoanCalculator=this.$lc.find(f.headLoanCalculator); this.$errorTextContainer=this.$lc.find(f.errorTextContainer); this.$inputs=this.$lc.find(f.inputs); this.value=this.$sliderPeriod.data("lc-value"); this.min=this.$sliderPeriod.data("lc-min"); this.max=this.$sliderPeriod.data("lc-max"); this.mq=null; this.hasErrors={"lc-income-range":false,"lc-income-syntax":false,"lc-income-letters":false,"lc-rate-range":false,"lc-rate-syntax":false,"lc-rate-letters":false,"lc-period-range":false,"lc-period-syntax":false,"lc-period-letters":false}; this.createAndSetSlider(); this.bindUIEvents(); this.changeWidth(); this.resizeColumns(); this.calculate() }x.prototype.createAndSetSlider=function w(){var B=this; this.$sliderPeriod.slider({range:"min",value:this.value,min:this.min,max:this.max,step:1}); this.$sliderHandle=this.$lc.find(f.sliderPeriodHandle); this.$sliderPeriod.slider({slide:function A(C,D){B.$period.val(D.value); B.$sliderHandle.attr("aria-valuenow",D.value); B.calculate() }}); this.$period.val(this.$sliderPeriod.slider("value")); this.$sliderHandle.attr({role:"slider","aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.value,"aria-labelledby":this.$idPeriod}) }; x.prototype.bindUIEvents=function j(){var A=this; this.$period.on("change keyup blur",function(){var C=A.$period.val(),B=A.$lc.find(f.sliderPeriodHandle); A.$sliderPeriod.slider("option","value",C); B.attr("aria-valuenow",C) }); this.$rate.on("change keyup blur",function(){var F=A.$rate.val(),B=30,D=9,C=F.replace(".","").length,E=C*D+B; A.$ratePostfix.css("left",E) }); this.$inputs.on("focus",function(){return A.$headLoanCalculator.attr("aria-hidden","true") }).on("focusout",function(){return A.$headLoanCalculator.attr("aria-hidden","false") }); this.$income.on("change keyup",function(){if(A.validateNumbers(A.$income)){var B=Number(A.$income.val().replace(/\.|,/g,"")); A.parseNumericWithoutLosingCursorPosition(A.$income,B,"locale"); if(A.$income.data("lc-min")<=B&&B<=A.$income.data("lc-max")){A.toggleError(A.$income,"hide","range"); A.calculate() }else{A.toggleError(A.$income,"show","range") }}else{A.toggleError(A.$income,"hide","range") }}); this.$rate.on("change keyup",function(){if(A.validateNumbers(A.$rate)){var F=A.$rate.val(); A.parseNumericWithoutLosingCursorPosition(A.$rate,null,"replace"); if(h.isNumeric(F)){var C=Number(F),G=C.toString().split("."),B=2,D=3; var E=0; if(G.length===B){E=G[1].length }if(E>D){A.toggleError(A.$rate,"hide","range"); A.toggleError(A.$rate,"show","syntax") }else{A.toggleError(A.$rate,"hide","syntax"); if(A.$rate.data("lc-min")<=C&&C<=A.$rate.data("lc-max")){A.toggleError(A.$rate,"hide","range"); A.calculate() }else{A.toggleError(A.$rate,"show","range") }}}else{A.toggleError(A.$rate,"show","syntax"); A.toggleError(A.$rate,"hide","range") }}else{A.toggleError(A.$rate,"hide","range"); A.toggleError(A.$rate,"hide","syntax") }}); this.$period.on("change keyup",function(){if(A.validateNumbers(A.$period)){var B=Number(A.$period.val().replace(/\.|,/g,"")); A.parseNumericWithoutLosingCursorPosition(A.$period,B,"numericValue"); if(A.$period.data("lc-min")<=B&&B<=A.$period.data("lc-max")){A.toggleError(A.$period,"hide","range"); A.calculate() }else{A.toggleError(A.$period,"show","range") }}else{A.toggleError(A.$period,"hide","range") }}); h(window).on("resize",function(){A.changeWidth(); A.resizeColumns() }) }; x.prototype.parseNumericWithoutLosingCursorPosition=function y(C,D){var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"locale"; var G=C[0].selectionStart,B=C[0].selectionEnd,A=0; var F=C.val().length; if(E==="locale"){C.val(D.toLocaleString("en")) }else{if(E==="replace"){C.val(C.val().replace(",",".")) }else{if(E==="numericValue"){C.val(D) }}}A=C.val().length-F; G+=A; B+=A; C[0].setSelectionRange(G,B) }; x.prototype.getElement=function m(A){return this.$lc.find(A)[0] }; x.prototype.getValue=function t(A){return this.$lc.find(A).eq(0).val() }; x.prototype.setText=function u(A,B){this.$lc.find(A).eq(0).find("span").text(B) }; x.prototype.setError=function o(A,B){this.hasErrors[A.attr("name")+"-"+B]=true }; x.prototype.removeError=function p(A,B){this.hasErrors[A.attr("name")+"-"+B]=false }; x.prototype.checkIfHasErrors=function k(){var A=false; h.each(this.hasErrors,function(B,C){if(C===true){A=true; return false }}); return A }; x.prototype.calculateTotalAmount=function r(){var C=void 0,F=this.getValue(f.income).replace(/,/g,""),B=this.getValue(f.rate)/1200,E=this.getValue(f.period),G=12,A=E*G,D=this.$deptToIncomeRatio; C=Math.round(F*D*(1-Math.pow(1+B,-A))/B); return C }; x.prototype.calculateRepaymentResult=function n(B,G){var C=12,J=this.getValue(f.rate),M=J/C/100,L=this.getValue(f.period),P=L*C,E=B*M/(1-Math.pow(1+M,-P)),H=void 0,K=void 0,F=0,A=0,O=0,N=0,I=0,D=0; if(G==="fr"){E=E/2 }H=E; if(G==="mr"){I=12 }else{I=26 }J=J/100/I; while(B>0){O=B*J; K=E-O; B=B-K; if(B<=0){E=E+B }A=A+E; N=N+O; D++ }if(D%I===0){F=D/I }else{F=Math.round(10*(D/I))/10 }if(G==="mr"){F=Math.round(F) }return{repayment:Number(Math.round(H)),period:Number(Number(F).toFixed(1)),totalInterest:Number(Math.round(N)),totalRepayment:Number(Math.round(A))} }; x.prototype.calculate=function s(){if(!this.checkIfHasErrors()){var C=this.calculateTotalAmount(),B=this.calculateRepaymentResult(C,"mr"),A=this.calculateRepaymentResult(C,"fr"); this.setText(f.maximumLoanAmount,C.toLocaleString("en")); this.setText(f.monthlyRepaymentAmount,B.repayment.toLocaleString("en")); this.setText(f.monthlyLoanPeriod,B.period.toLocaleString("en")); this.setText(f.monthlyInterestPayable,B.totalInterest.toLocaleString("en")); this.setText(f.monthlyTotalRepayment,B.totalRepayment.toLocaleString("en")); this.setText(f.fortnightlyRepaymentAmount,A.repayment.toLocaleString("en")); this.setText(f.fortnightlyLoanPeriod,A.period.toLocaleString("en")); this.setText(f.fortnightlyInterestPayable,A.totalInterest.toLocaleString("en")); this.setText(f.fortnightlyTotalRepayment,A.totalRepayment.toLocaleString("en")) }}; x.prototype.changeWidth=function z(){if(!Bank_utils.matchMedia.desktop){this.tablesContainerMedium.appendChild(this.tablesWrapper) }else{this.tablesContainerLarge.appendChild(this.tablesWrapper) }}; x.prototype.resizeColumns=function v(){var B=h(this.getElement(f.inputsDiv)),A=B.outerHeight(true),C=h(this.getElement(f.resultsDiv)).outerHeight(true); if(A<=C){B.outerHeight(C) }else{B.outerHeight("auto") }}; x.prototype.validateNumbers=function l(A){if(!/^[,\.0-9]+$/.test(A.val())){this.toggleError(A,"show","letters"); return false }else{this.toggleError(A,"hide","letters"); return true }}; x.prototype.toggleError=function q(J,B,E){var G=void 0,D=J.closest(f.inputBox).find(f.errorMessage),C=D.find(this.$errorTextContainer),A=J.attr("name"),H=A+"-range",F=A+"-letters",I=A+"-syntax"; if(B==="show"){this.setError(J,E) }else{this.removeError(J,E) }if(this.hasErrors[H]||this.hasErrors[F]||this.hasErrors[I]){if(this.hasErrors[H]){G=D.data("temp_error_1") }else{if(this.hasErrors[F]){G=D.data("temp_error_2") }else{if(this.hasErrors[I]){G=D.data("temp_error_3") }}}C.text(G); D.show() }else{C.text(""); D.hide() }}; return x }(); var e={name:"loanCalculator",selector:f.loanCalculator,init:function i(j){return new g(j) }}; Bank_utils.registerComponent(e) })(Bootstrap.jQuery) })]);