%PDF- %PDF-
Direktori : /proc/985914/root/data/old/home/stash/stash-home/tmp/webresources/ |
Current File : //proc/985914/root/data/old/home/stash/stash-home/tmp/webresources/1.cachedfile |
;/* module-key = 'com.atlassian.stash.stash-web-plugin:almond', location = '/static/bower/almond/almond.js' */ var requirejs,require,define;(function(E){var H,A,L,M,D={},C={},S={},P={},K=Object.prototype.hasOwnProperty,I=[].slice,J=/\.js$/;function T(U,V){return K.call(U,V)}function N(X,V){var f,b,Z,c,g,Y,k,l,e,d,a,h=V&&V.split("/"),W=S.map,U=(W&&W["*"])||{};if(X&&X.charAt(0)==="."){if(V){h=h.slice(0,h.length-1);X=X.split("/");g=X.length-1;if(S.nodeIdCompat&&J.test(X[g])){X[g]=X[g].replace(J,"")}X=h.concat(X);for(e=0;e<X.length;e+=1){a=X[e];if(a==="."){X.splice(e,1);e-=1}else{if(a===".."){if(e===1&&(X[2]===".."||X[0]==="..")){break}else{if(e>0){X.splice(e-1,2);e-=2}}}}}X=X.join("/")}else{if(X.indexOf("./")===0){X=X.substring(2)}}}if((h||U)&&W){f=X.split("/");for(e=f.length;e>0;e-=1){b=f.slice(0,e).join("/");if(h){for(d=h.length;d>0;d-=1){Z=W[h.slice(0,d).join("/")];if(Z){Z=Z[b];if(Z){c=Z;Y=e;break}}}}if(c){break}if(!k&&U&&U[b]){k=U[b];l=e}}if(!c&&k){c=k;Y=l}if(c){f.splice(0,Y,c);X=f.join("/")}}return X}function R(U,V){return function(){var W=I.call(arguments,0);if(typeof W[0]!=="string"&&W.length===1){W.push(null)}return A.apply(E,W.concat([U,V]))}}function O(U){return function(V){return N(V,U)}}function F(U){return function(V){D[U]=V}}function G(V){if(T(C,V)){var U=C[V];delete C[V];P[V]=true;H.apply(E,U)}if(!T(D,V)&&!T(P,V)){throw new Error("No "+V)}return D[V]}function Q(V){var W,U=V?V.indexOf("!"):-1;if(U>-1){W=V.substring(0,U);V=V.substring(U+1,V.length)}return[W,V]}L=function(V,U){var W,Y=Q(V),X=Y[0];V=Y[1];if(X){X=N(X,U);W=G(X)}if(X){if(W&&W.normalize){V=W.normalize(V,O(U))}else{V=N(V,U)}}else{V=N(V,U);Y=Q(V);X=Y[0];V=Y[1];if(X){W=G(X)}}return{f:X?X+"!"+V:V,n:V,pr:X,p:W}};function B(U){return function(){return(S&&S.config&&S.config[U])||{}}}M={require:function(U){return R(U)},exports:function(U){var V=D[U];if(typeof V!=="undefined"){return V}else{return(D[U]={})}},module:function(U){return{id:U,uri:"",exports:D[U],config:B(U)}}};H=function(V,f,e,d){var Y,c,Z,U,X,a=[],W=typeof e,b;d=d||V;if(W==="undefined"||W==="function"){f=!f.length&&e.length?["require","exports","module"]:f;for(X=0;X<f.length;X+=1){U=L(f[X],d);c=U.f;if(c==="require"){a[X]=M.require(V)}else{if(c==="exports"){a[X]=M.exports(V);b=true}else{if(c==="module"){Y=a[X]=M.module(V)}else{if(T(D,c)||T(C,c)||T(P,c)){a[X]=G(c)}else{if(U.p){U.p.load(U.n,R(d,true),F(c),{});a[X]=D[c]}else{throw new Error(V+" missing "+c)}}}}}}Z=e?e.apply(D[V],a):undefined;if(V){if(Y&&Y.exports!==E&&Y.exports!==D[V]){D[V]=Y.exports}else{if(Z!==E||!b){D[V]=Z}}}}else{if(V){D[V]=e}}};requirejs=require=A=function(X,Y,U,V,W){if(typeof X==="string"){if(M[X]){return M[X](Y)}return G(L(X,Y).f)}else{if(!X.splice){S=X;if(S.deps){A(S.deps,S.callback)}if(!Y){return }if(Y.splice){X=Y;Y=U;U=null}else{X=E}}}Y=Y||function(){};if(typeof U==="function"){U=V;V=W}if(V){H(E,X,Y,U)}else{setTimeout(function(){H(E,X,Y,U)},4)}return A};A.config=function(U){return A(U)};requirejs._defined=D;define=function(U,V,W){if(!V.splice){W=V;V=[]}if(!T(D,U)&&!T(C,U)){C[U]=[U,V,W]}};define.amd={jQuery:true}}());; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:require-lite', location = '/static/util/require-lite.js' */ (function(C){delete define.amd;var A=require;var B=false;require=function(E,D){if(typeof E==="string"&&typeof D==="function"){if(!B){B=true;console.log("WARN: require(string, function) has been deprecated in 2.11 and will throw an error in 4.0. Use an array of dependencies - require(Array<string> function). (requiring "+E+")")}E=[E]}if(D&&typeof D!=="function"){throw new Error("Callback was not a function")}return A.call(C,E,D)};C.requireLite=require;C.defineLite=define})(window||this);; ;/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:data', location = 'js/data/data.js' */ (function(){if(!window.WRM){window.WRM={}}function a(c){if(!c){return c}return JSON.parse(c)}function b(d,c){return Object.prototype.hasOwnProperty.call(d,c)}WRM.data={claim:function(c){if(WRM._unparsedData&&b(WRM._unparsedData,c)){var g=WRM._unparsedData[c];try{var d=a(g);delete WRM._unparsedData[c];return d}catch(f){console&&console.log&&console.log("JSON Error parsing data with key "+c+": "+f)}}}}}());; ;/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path', location = 'js/data/context-path.js' */ (function(){var a=null;(window.AJS||(window.AJS={}));AJS.contextPath=function(){if(a===null){a=WRM.data.claim("com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path.context-path")}return a};AJS.contextPath._reset=function(){a=null}}());; ;/* module-key = 'com.atlassian.plugins.jquery:jquery', location = '/jquery.js' */ (function(q){function Pa(a){var b=a.length,d=c.type(a);return c.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===d||"function"!==d&&(0===b||"number"===typeof b&&0<b&&b-1 in a)}function wb(a,b,d,e){if(c.acceptData(a)){var f=c.expando,g=a.nodeType,h=g?c.cache:a,i=g?a[f]:a[f]&&f;if(i&&h[i]&&(e||h[i].data)||!(void 0===d&&"string"===typeof b)){i||(i=g?a[f]=ga.pop()||c.guid++:f);h[i]||(h[i]=g?{}:{toJSON:c.noop});if("object"===typeof b||"function"===typeof b)e?h[i]=c.extend(h[i],b):h[i].data=c.extend(h[i].data, b);a=h[i];e||(a.data||(a.data={}),a=a.data);void 0!==d&&(a[c.camelCase(b)]=d);"string"===typeof b?(d=a[b],null==d&&(d=a[c.camelCase(b)])):d=a;return d}}}function xb(a,b,d){if(c.acceptData(a)){var e,f,g=a.nodeType,h=g?c.cache:a,i=g?a[c.expando]:c.expando;if(h[i]){if(b&&(e=d?h[i]:h[i].data)){c.isArray(b)?b=b.concat(c.map(b,c.camelCase)):b in e?b=[b]:(b=c.camelCase(b),b=b in e?[b]:b.split(" "));for(f=b.length;f--;)delete e[b[f]];if(d?!Qa(e):!c.isEmptyObject(e))return}if(!d&&(delete h[i].data,!Qa(h[i])))return; g?c.cleanData([a],!0):c.support.deleteExpando||h!=h.window?delete h[i]:h[i]=null}}}function yb(a,b,d){if(void 0===d&&1===a.nodeType)if(d="data-"+b.replace(Ic,"-$1").toLowerCase(),d=a.getAttribute(d),"string"===typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:Jc.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=void 0;return d}function Qa(a){for(var b in a)if(!("data"===b&&c.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function ua(){return!0}function ha(){return!1} function zb(){try{return p.activeElement}catch(a){}}function Ab(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}function Ra(a,b,d){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)!==d});if(b.nodeType)return c.grep(a,function(a){return a===b!==d});if("string"===typeof b){if(Kc.test(b))return c.filter(b,a,d);b=c.filter(b,a)}return c.grep(a,function(a){return 0<=c.inArray(a,b)!==d})}function Bb(a){var b=Cb.split("|"),a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop()); return a}function Db(a,b){return c.nodeName(a,"table")&&c.nodeName(1===b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Eb(a){a.type=(null!==c.find.attr(a,"type"))+"/"+a.type;return a}function Fb(a){var b=Lc.exec(a.type);b?a.type=b[1]:a.removeAttribute("type");return a}function Sa(a,b){for(var d,e=0;null!=(d=a[e]);e++)c._data(d,"globalEval",!b||c._data(b[e],"globalEval"))}function Gb(a,b){if(1===b.nodeType&&c.hasData(a)){var d, e,f;e=c._data(a);var g=c._data(b,e),h=e.events;if(h)for(d in delete g.handle,g.events={},h){e=0;for(f=h[d].length;e<f;e++)c.event.add(b,d,h[d][e])}g.data&&(g.data=c.extend({},g.data))}}function x(a,b){var d,e,f=0,g=typeof a.getElementsByTagName!==M?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==M?a.querySelectorAll(b||"*"):void 0;if(!g){g=[];for(d=a.childNodes||a;null!=(e=d[f]);f++)!b||c.nodeName(e,b)?g.push(e):c.merge(g,x(e,b))}return void 0===b||b&&c.nodeName(a,b)?c.merge([a],g):g}function Mc(a){Ta.test(a.type)&& (a.defaultChecked=a.checked)}function Hb(a,b){if(b in a)return b;for(var d=b.charAt(0).toUpperCase()+b.slice(1),c=b,f=Ib.length;f--;)if(b=Ib[f]+d,b in a)return b;return c}function oa(a,b){a=b||a;return"none"===c.css(a,"display")||!c.contains(a.ownerDocument,a)}function Jb(a,b){for(var d,e,f,g=[],h=0,i=a.length;h<i;h++)if(e=a[h],e.style)if(g[h]=c._data(e,"olddisplay"),d=e.style.display,b)!g[h]&&"none"===d&&(e.style.display=""),""===e.style.display&&oa(e)&&(g[h]=c._data(e,"olddisplay",Kb(e.nodeName))); else if(!g[h]&&(f=oa(e),d&&"none"!==d||!f))c._data(e,"olddisplay",f?d:c.css(e,"display"));for(h=0;h<i;h++)if(e=a[h],e.style&&(!b||"none"===e.style.display||""===e.style.display))e.style.display=b?g[h]||"":"none";return a}function Lb(a,b,d){return(a=Nc.exec(b))?Math.max(0,a[1]-(d||0))+(a[2]||"px"):b}function Mb(a,b,d,e,f){for(var b=d===(e?"border":"content")?4:"width"===b?1:0,g=0;4>b;b+=2)"margin"===d&&(g+=c.css(a,d+W[b],!0,f)),e?("content"===d&&(g-=c.css(a,"padding"+W[b],!0,f)),"margin"!==d&&(g-= c.css(a,"border"+W[b]+"Width",!0,f))):(g+=c.css(a,"padding"+W[b],!0,f),"padding"!==d&&(g+=c.css(a,"border"+W[b]+"Width",!0,f)));return g}function Nb(a,b,d){var e=!0,f="width"===b?a.offsetWidth:a.offsetHeight,g=X(a),h=c.support.boxSizing&&"border-box"===c.css(a,"boxSizing",!1,g);if(0>=f||null==f){f=Y(a,b,g);if(0>f||null==f)f=a.style[b];if(va.test(f))return f;e=h&&(c.support.boxSizingReliable||f===a.style[b]);f=parseFloat(f)||0}return f+Mb(a,b,d||(h?"border":"content"),e,g)+"px"}function Kb(a){var b= p,d=Ob[a];if(!d){d=Pb(a,b);if("none"===d||!d)pa=(pa||c("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(b.documentElement),b=(pa[0].contentWindow||pa[0].contentDocument).document,b.write("<!doctype html><html><body>"),b.close(),d=Pb(a,b),pa.detach();Ob[a]=d}return d}function Pb(a,b){var d=c(b.createElement(a)).appendTo(b.body),e=c.css(d[0],"display");d.remove();return e}function Ua(a,b,d,e){var f;if(c.isArray(b))c.each(b,function(b,c){d||Oc.test(a)? e(a,c):Ua(a+"["+("object"===typeof c?b:"")+"]",c,d,e)});else if(!d&&"object"===c.type(b))for(f in b)Ua(a+"["+f+"]",b[f],d,e);else e(a,b)}function Qb(a){return function(b,d){"string"!==typeof b&&(d=b,b="*");var e,f=0,g=b.toLowerCase().match(N)||[];if(c.isFunction(d))for(;e=g[f++];)"+"===e[0]?(e=e.slice(1)||"*",(a[e]=a[e]||[]).unshift(d)):(a[e]=a[e]||[]).push(d)}}function Rb(a,b,d,e){function f(i){var j;g[i]=!0;c.each(a[i]||[],function(a,c){var i=c(b,d,e);if("string"===typeof i&&!h&&!g[i])return b.dataTypes.unshift(i), f(i),!1;if(h)return!(j=i)});return j}var g={},h=a===Va;return f(b.dataTypes[0])||!g["*"]&&f("*")}function Wa(a,b){var d,e,f=c.ajaxSettings.flatOptions||{};for(e in b)void 0!==b[e]&&((f[e]?a:d||(d={}))[e]=b[e]);d&&c.extend(!0,a,d);return a}function Sb(){try{return new q.XMLHttpRequest}catch(a){}}function Tb(){setTimeout(function(){ia=void 0});return ia=c.now()}function Ub(a,b,d){for(var c,f=(qa[b]||[]).concat(qa["*"]),g=0,h=f.length;g<h;g++)if(c=f[g].call(d,b,a))return c}function Vb(a,b,d){var e,f, g=0,h=wa.length,i=c.Deferred().always(function(){delete j.elem}),j=function(){if(f)return!1;for(var b=ia||Tb(),b=Math.max(0,l.startTime+l.duration-b),d=1-(b/l.duration||0),c=0,e=l.tweens.length;c<e;c++)l.tweens[c].run(d);i.notifyWith(a,[l,d,b]);if(1>d&&e)return b;i.resolveWith(a,[l]);return!1},l=i.promise({elem:a,props:c.extend({},b),opts:c.extend(!0,{specialEasing:{}},d),originalProperties:b,originalOptions:d,startTime:ia||Tb(),duration:d.duration,tweens:[],createTween:function(b,d){var e=c.Tween(a, l.opts,b,d,l.opts.specialEasing[b]||l.opts.easing);l.tweens.push(e);return e},stop:function(b){var d=0,c=b?l.tweens.length:0;if(f)return this;for(f=!0;d<c;d++)l.tweens[d].run(1);b?i.resolveWith(a,[l,b]):i.rejectWith(a,[l,b]);return this}}),b=l.props,d=l.opts.specialEasing,m,k,n,E;for(e in b)if(m=c.camelCase(e),k=d[m],n=b[e],c.isArray(n)&&(k=n[1],n=b[e]=n[0]),e!==m&&(b[m]=n,delete b[e]),(E=c.cssHooks[m])&&"expand"in E)for(e in n=E.expand(n),delete b[m],n)e in b||(b[e]=n[e],d[e]=k);else d[m]=k;for(;g< h;g++)if(e=wa[g].call(l,a,b,l.opts))return e;c.map(b,Ub,l);c.isFunction(l.opts.start)&&l.opts.start.call(a,l);c.fx.timer(c.extend(j,{elem:a,anim:l,queue:l.opts.queue}));return l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function A(a,b,d,c,f){return new A.prototype.init(a,b,d,c,f)}function xa(a,b){for(var d,c={height:a},f=0,b=b?1:0;4>f;f+=2-b)d=W[f],c["margin"+d]=c["padding"+d]=a;b&&(c.opacity=c.width=a);return c}function Wb(a){return c.isWindow(a)? a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var ya,Xb,M="undefined",Qc=q.location,p=q.document,Yb=p.documentElement,Rc=q.jQuery,Sc=q.$,za={},ga=[],Zb=ga.concat,Xa=ga.push,Z=ga.slice,$b=ga.indexOf,Tc=za.toString,ja=za.hasOwnProperty,Ya="1.10.2".trim,c=function(a,b){return new c.fn.init(a,b,Xb)},Aa=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,N=/\S+/g,Uc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Vc=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ac=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Wc=/^[\],:{}\s]*$/,Xc=/(?:^|:|,)(?:\s*\[)+/g, Yc=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,Zc=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,$c=/^-ms-/,ad=/-([\da-z])/gi,bd=function(a,b){return b.toUpperCase()},P=function(a){if(p.addEventListener||"load"===a.type||"complete"===p.readyState)bc(),c.ready()},bc=function(){p.addEventListener?(p.removeEventListener("DOMContentLoaded",P,!1),q.removeEventListener("load",P,!1)):(p.detachEvent("onreadystatechange",P),q.detachEvent("onload",P))};c.fn=c.prototype={jquery:"1.10.2",constructor:c, init:function(a,b,d){var e;if(!a)return this;if("string"===typeof a){if((e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:Vc.exec(a))&&(e[1]||!b)){if(e[1]){if(b=b instanceof c?b[0]:b,c.merge(this,c.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:p,!0)),ac.test(e[1])&&c.isPlainObject(b))for(e in b)if(c.isFunction(this[e]))this[e](b[e]);else this.attr(e,b[e])}else{if((b=p.getElementById(e[2]))&&b.parentNode){if(b.id!==e[2])return d.find(a);this.length=1;this[0]=b}this.context= p;this.selector=a}return this}return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a)}if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(c.isFunction(a))return d.ready(a);void 0!==a.selector&&(this.selector=a.selector,this.context=a.context);return c.makeArray(a,this)},selector:"",length:0,toArray:function(){return Z.call(this)},get:function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a){a=c.merge(this.constructor(),a);a.prevObject=this; a.context=this.context;return a},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.ready.promise().done(a);return this},slice:function(){return this.pushStack(Z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,a=+a+(0>a?b:0);return this.pushStack(0<=a&&a<b?[this[a]]:[])},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||this.constructor(null)}, push:Xa,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,b,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;"boolean"===typeof g&&(j=g,g=arguments[1]||{},h=2);"object"!==typeof g&&!c.isFunction(g)&&(g={});i===h&&(g=this,--h);for(;h<i;h++)if(null!=(f=arguments[h]))for(e in f)a=g[e],d=f[e],g!==d&&(j&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,a=a&&c.isArray(a)?a:[]):a=a&&c.isPlainObject(a)?a:{},g[e]=c.extend(j,a,d)):void 0!==d&&(g[e]=d));return g}; c.extend({expando:"jQuery"+("1.10.2"+Math.random()).replace(/\D/g,""),noConflict:function(a){q.$===c&&(q.$=Sc);a&&q.jQuery===c&&(q.jQuery=Rc);return c},isReady:!1,readyWait:1,holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(!(!0===a?--c.readyWait:c.isReady)){if(!p.body)return setTimeout(c.ready);c.isReady=!0;!0!==a&&0<--c.readyWait||(ya.resolveWith(p,[c]),c.fn.trigger&&c(p).trigger("ready").off("ready"))}},isFunction:function(a){return"function"===c.type(a)},isArray:Array.isArray|| function(a){return"array"===c.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return null==a?String(a):"object"===typeof a||"function"===typeof a?za[Tc.call(a)]||"object":typeof a},isPlainObject:function(a){var b;if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!ja.call(a,"constructor")&&!ja.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(d){return!1}if(c.support.ownLast)for(b in a)return ja.call(a, b);for(b in a);return void 0===b||ja.call(a,b)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw Error(a);},parseHTML:function(a,b,d){if(!a||"string"!==typeof a)return null;"boolean"===typeof b&&(d=b,b=!1);var b=b||p,e=ac.exec(a),d=!d&&[];if(e)return[b.createElement(e[1])];e=c.buildFragment([a],b,d);d&&c(d).remove();return c.merge([],e.childNodes)},parseJSON:function(a){if(q.JSON&&q.JSON.parse)return q.JSON.parse(a);if(null===a)return a;if("string"===typeof a&&(a= c.trim(a))&&Wc.test(a.replace(Yc,"@").replace(Zc,"]").replace(Xc,"")))return(new Function("return "+a))();c.error("Invalid JSON: "+a)},parseXML:function(a){var b,d;if(!a||"string"!==typeof a)return null;try{q.DOMParser?(d=new DOMParser,b=d.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a))}catch(e){b=void 0}(!b||!b.documentElement||b.getElementsByTagName("parsererror").length)&&c.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&& c.trim(a)&&(q.execScript||function(a){q.eval.call(q,a)})(a)},camelCase:function(a){return a.replace($c,"ms-").replace(ad,bd)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,d){var c,f=0,g=a.length;c=Pa(a);if(d)if(c)for(;f<g&&!(c=b.apply(a[f],d),!1===c);f++);else for(f in a){if(c=b.apply(a[f],d),!1===c)break}else if(c)for(;f<g&&!(c=b.call(a[f],f,a[f]),!1===c);f++);else for(f in a)if(c=b.call(a[f],f,a[f]),!1===c)break;return a},trim:Ya&&!Ya.call("\ufeff\u00a0")? function(a){return null==a?"":Ya.call(a)}:function(a){return null==a?"":(a+"").replace(Uc,"")},makeArray:function(a,b){var d=b||[];null!=a&&(Pa(Object(a))?c.merge(d,"string"===typeof a?[a]:a):Xa.call(d,a));return d},inArray:function(a,b,d){var c;if(b){if($b)return $b.call(b,a,d);c=b.length;for(d=d?0>d?Math.max(0,c+d):d:0;d<c;d++)if(d in b&&b[d]===a)return d}return-1},merge:function(a,b){var d=b.length,c=a.length,f=0;if("number"===typeof d)for(;f<d;f++)a[c++]=b[f];else for(;void 0!==b[f];)a[c++]=b[f++]; a.length=c;return a},grep:function(a,b,d){for(var c,f=[],g=0,h=a.length,d=!!d;g<h;g++)c=!!b(a[g],g),d!==c&&f.push(a[g]);return f},map:function(a,b,d){var c,f=0,g=a.length,h=[];if(Pa(a))for(;f<g;f++)c=b(a[f],f,d),null!=c&&(h[h.length]=c);else for(f in a)c=b(a[f],f,d),null!=c&&(h[h.length]=c);return Zb.apply([],h)},guid:1,proxy:function(a,b){var d,e;"string"===typeof b&&(e=a[b],b=a,a=e);if(c.isFunction(a))return d=Z.call(arguments,2),e=function(){return a.apply(b||this,d.concat(Z.call(arguments)))}, e.guid=a.guid=a.guid||c.guid++,e},access:function(a,b,d,e,f,g,h){var i=0,j=a.length,l=null==d;if("object"===c.type(d))for(i in f=!0,d)c.access(a,b,i,d[i],!0,g,h);else if(void 0!==e&&(f=!0,c.isFunction(e)||(h=!0),l&&(h?(b.call(a,e),b=null):(l=b,b=function(a,b,d){return l.call(c(a),d)})),b))for(;i<j;i++)b(a[i],d,h?e:e.call(a[i],i,b(a[i],d)));return f?a:l?b.call(a):j?b(a[0],d):g},now:function(){return(new Date).getTime()},swap:function(a,b,d,c){var f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];d= d.apply(a,c||[]);for(f in b)a.style[f]=g[f];return d}});c.ready.promise=function(a){if(!ya)if(ya=c.Deferred(),"complete"===p.readyState)setTimeout(c.ready);else if(p.addEventListener)p.addEventListener("DOMContentLoaded",P,!1),q.addEventListener("load",P,!1);else{p.attachEvent("onreadystatechange",P);q.attachEvent("onload",P);var b=!1;try{b=null==q.frameElement&&p.documentElement}catch(d){}b&&b.doScroll&&function f(){if(!c.isReady){try{b.doScroll("left")}catch(a){return setTimeout(f,50)}bc();c.ready()}}()}return ya.promise(a)}; c.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){za["[object "+b+"]"]=b.toLowerCase()});Xb=c(p);var Za=q,u=function(a,b,d,c){var f,g,h,i,j;(b?b.ownerDocument||b:O)!==C&&$(b);b=b||C;d=d||[];if(!a||"string"!==typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(J&&!c){if(f=cd.exec(a))if(h=f[1])if(9===i)if((g=b.getElementById(h))&&g.parentNode){if(g.id===h)return d.push(g),d}else return d;else{if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&& ra(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return Q.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&t.getElementsByClassName&&b.getElementsByClassName)return Q.apply(d,b.getElementsByClassName(h)),d}if(t.qsa&&(!B||!B.test(a))){g=f=v;h=b;j=9===i&&a;if(1===i&&"object"!==b.nodeName.toLowerCase()){i=Ba(a);(f=b.getAttribute("id"))?g=f.replace(dd,"\\$&"):b.setAttribute("id",g);g="[id='"+g+"'] ";for(h=i.length;h--;)i[h]=g+Ca(i[h]);h=$a.test(a)&&b.parentNode||b;j=i.join(",")}if(j)try{return Q.apply(d, h.querySelectorAll(j)),d}catch(l){}finally{f||b.removeAttribute("id")}}}var m;a:{a=a.replace(Da,"$1");g=Ba(a);if(!c&&1===g.length){f=g[0]=g[0].slice(0);if(2<f.length&&"ID"===(m=f[0]).type&&t.getById&&9===b.nodeType&&J&&s.relative[f[1].type]){b=(s.find.ID(m.matches[0].replace(R,S),b)||[])[0];if(!b){m=d;break a}a=a.slice(f.shift().value.length)}for(i=Ea.needsContext.test(a)?0:f.length;i--;){m=f[i];if(s.relative[h=m.type])break;if(h=s.find[h])if(c=h(m.matches[0].replace(R,S),$a.test(f[0].type)&&b.parentNode|| b)){f.splice(i,1);a=c.length&&Ca(f);if(!a){Q.apply(d,c);m=d;break a}break}}}ab(a,g)(c,b,!J,d,$a.test(a));m=d}return m},bb=function(){function a(d,c){b.push(d+=" ")>s.cacheLength&&delete a[b.shift()];return a[d]=c}var b=[];return a},F=function(a){a[v]=!0;return a},H=function(a){var b=C.createElement("div");try{return!!a(b)}catch(d){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}},cb=function(a,b){for(var d=a.split("|"),c=a.length;c--;)s.attrHandle[d[c]]=b},dc=function(a,b){var d=b&&a,c= d&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||cc)-(~a.sourceIndex||cc);if(c)return c;if(d)for(;d=d.nextSibling;)if(d===b)return-1;return a?1:-1},ed=function(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}},fd=function(a){return function(b){var d=b.nodeName.toLowerCase();return("input"===d||"button"===d)&&b.type===a}},aa=function(a){return F(function(b){b=+b;return F(function(d,c){for(var f,g=a([],d.length,b),h=g.length;h--;)if(d[f=g[h]])d[f]=!(c[f]=d[f])})})},ec= function(){},Ba=function(a,b){var d,c,f,g,h,i,j;if(h=fc[a+" "])return b?0:h.slice(0);h=a;i=[];for(j=s.preFilter;h;){if(!d||(c=gd.exec(h)))c&&(h=h.slice(c[0].length)||h),i.push(f=[]);d=!1;if(c=hd.exec(h))d=c.shift(),f.push({value:d,type:c[0].replace(Da," ")}),h=h.slice(d.length);for(g in s.filter)if((c=Ea[g].exec(h))&&(!j[g]||(c=j[g](c))))d=c.shift(),f.push({value:d,type:g,matches:c}),h=h.slice(d.length);if(!d)break}return b?h.length:h?u.error(a):fc(a,i).slice(0)},Ca=function(a){for(var b=0,d=a.length, c="";b<d;b++)c+=a[b].value;return c},db=function(a,b,d){var c=b.dir,f=d&&"parentNode"===c,g=id++;return b.first?function(b,d,g){for(;b=b[c];)if(1===b.nodeType||f)return a(b,d,g)}:function(b,d,j){var l,m,k,n=K+" "+g;if(j)for(;b=b[c];){if((1===b.nodeType||f)&&a(b,d,j))return!0}else for(;b=b[c];)if(1===b.nodeType||f)if(k=b[v]||(b[v]={}),(m=k[c])&&m[0]===n){if(!0===(l=m[1])||l===Fa)return!0===l}else if(m=k[c]=[n],m[1]=a(b,d,j)||Fa,!0===m[1])return!0}},eb=function(a){return 1<a.length?function(b,d,c){for(var f= a.length;f--;)if(!a[f](b,d,c))return!1;return!0}:a[0]},Ga=function(a,b,d,c,f){for(var g,h=[],i=0,j=a.length,l=null!=b;i<j;i++)if(g=a[i])if(!d||d(g,c,f))h.push(g),l&&b.push(i);return h},fb=function(a,b,d,c,f,g){c&&!c[v]&&(c=fb(c));f&&!f[v]&&(f=fb(f,g));return F(function(g,i,j,l){var m,k,n=[],E=[],p=i.length,o;if(!(o=g)){o=b||"*";for(var y=j.nodeType?[j]:j,q=[],r=0,s=y.length;r<s;r++)u(o,y[r],q);o=q}o=a&&(g||!b)?Ga(o,n,a,j,l):o;y=d?f||(g?a:p||c)?[]:i:o;d&&d(o,y,j,l);if(c){m=Ga(y,E);c(m,[],j,l);for(j= m.length;j--;)if(k=m[j])y[E[j]]=!(o[E[j]]=k)}if(g){if(f||a){if(f){m=[];for(j=y.length;j--;)if(k=y[j])m.push(o[j]=k);f(null,y=[],m,l)}for(j=y.length;j--;)if((k=y[j])&&-1<(m=f?ba.call(g,k):n[j]))g[m]=!(i[m]=k)}}else y=Ga(y===i?y.splice(p,y.length):y),f?f(null,i,y,l):Q.apply(i,y)})},gb=function(a){var b,d,c,f=a.length,g=s.relative[a[0].type];d=g||s.relative[" "];for(var h=g?1:0,i=db(function(a){return a===b},d,!0),j=db(function(a){return-1<ba.call(b,a)},d,!0),l=[function(a,d,c){return!g&&(c||d!==Ha)|| ((b=d).nodeType?i(a,d,c):j(a,d,c))}];h<f;h++)if(d=s.relative[a[h].type])l=[db(eb(l),d)];else{d=s.filter[a[h].type].apply(null,a[h].matches);if(d[v]){for(c=++h;c<f&&!s.relative[a[c].type];c++);return fb(1<h&&eb(l),1<h&&Ca(a.slice(0,h-1).concat({value:" "===a[h-2].type?"*":""})).replace(Da,"$1"),d,h<c&&gb(a.slice(h,c)),c<f&&gb(a=a.slice(c)),c<f&&Ca(a))}l.push(d)}return eb(l)},ka,t,Fa,s,Ia,gc,ab,Ha,ca,$,C,L,J,B,da,Ja,ra,v="sizzle"+-new Date,O=Za.document,K=0,id=0,hc=bb(),fc=bb(),ic=bb(),la=!1,hb=function(a, b){a===b&&(la=!0);return 0},cc=-2147483648,jd={}.hasOwnProperty,T=[],kd=T.pop,ld=T.push,Q=T.push,jc=T.slice,ba=T.indexOf||function(a){for(var b=0,d=this.length;b<d;b++)if(this[b]===a)return b;return-1},kc="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),lc="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+kc+")|)|)[\\x20\\t\\r\\n\\f]*\\]",ib=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ lc.replace(3,8)+")*)|.*)\\)|)",Da=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),gd=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,hd=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,$a=/[\x20\t\r\n\f]*[+~]/,md=RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*)[\\x20\\t\\r\\n\\f]*\\]","g"),nd=RegExp(ib),od=RegExp("^"+kc+"$"),Ea={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"), ATTR:RegExp("^"+lc),PSEUDO:RegExp("^"+ib),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)", "i")},jb=/^[^{]+\{\s*\[native \w/,cd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,pd=/^(?:input|select|textarea|button)$/i,qd=/^h\d$/i,dd=/'|\\/g,R=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),S=function(a,b,d){a="0x"+b-65536;return a!==a||d?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)};try{Q.apply(T=jc.call(O.childNodes),O.childNodes),T[O.childNodes.length].nodeType}catch(Td){Q={apply:T.length?function(a,b){ld.apply(a,jc.call(b))}:function(a, b){for(var d=a.length,c=0;a[d++]=b[c++];);a.length=d-1}}}gc=u.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};t=u.support={};$=u.setDocument=function(a){var b=a?a.ownerDocument||a:O,a=b.defaultView;if(b===C||9!==b.nodeType||!b.documentElement)return C;C=b;L=b.documentElement;J=!gc(b);a&&(a.attachEvent&&a!==a.top)&&a.attachEvent("onbeforeunload",function(){$()});t.attributes=H(function(a){a.className="i";return!a.getAttribute("className")});t.getElementsByTagName= H(function(a){a.appendChild(b.createComment(""));return!a.getElementsByTagName("*").length});t.getElementsByClassName=H(function(a){a.innerHTML="<div class='a'></div><div class='a i'></div>";a.firstChild.className="i";return 2===a.getElementsByClassName("i").length});t.getById=H(function(a){L.appendChild(a).id=v;return!b.getElementsByName||!b.getElementsByName(v).length});t.getById?(s.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&J){var c=b.getElementById(a);return c&&c.parentNode? [c]:[]}},s.filter.ID=function(a){var b=a.replace(R,S);return function(a){return a.getAttribute("id")===b}}):(delete s.find.ID,s.filter.ID=function(a){var b=a.replace(R,S);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}});s.find.TAG=t.getElementsByTagName?function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a)}:function(a,b){var c,g=[],h=0,i=b.getElementsByTagName(a);if(a==="*"){for(;c=i[h++];)c.nodeType=== 1&&g.push(c);return g}return i};s.find.CLASS=t.getElementsByClassName&&function(a,b){if(typeof b.getElementsByClassName!=="undefined"&&J)return b.getElementsByClassName(a)};da=[];B=[];if(t.qsa=jb.test(b.querySelectorAll))H(function(a){a.innerHTML="<select><option selected=''></option></select>";a.querySelectorAll("[selected]").length||B.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"); a.querySelectorAll(":checked").length||B.push(":checked")}),H(function(a){var c=b.createElement("input");c.setAttribute("type","hidden");a.appendChild(c).setAttribute("t","");a.querySelectorAll("[t^='']").length&&B.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll(":enabled").length||B.push(":enabled",":disabled");a.querySelectorAll("*,:x");B.push(",.*:")});(t.matchesSelector=jb.test(Ja=L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&H(function(a){t.disconnectedMatch= Ja.call(a,"div");Ja.call(a,"[s!='']:x");da.push("!=",ib)});B=B.length&&RegExp(B.join("|"));da=da.length&&RegExp(da.join("|"));ra=jb.test(L.contains)||L.compareDocumentPosition?function(a,b){var c=a.nodeType===9?a.documentElement:a,g=b&&b.parentNode;return a===g||!(!g||!(g.nodeType===1&&(c.contains?c.contains(g):a.compareDocumentPosition&&a.compareDocumentPosition(g)&16)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return true;return false};hb=L.compareDocumentPosition?function(a,c){if(a=== c){la=true;return 0}var f=c.compareDocumentPosition&&a.compareDocumentPosition&&a.compareDocumentPosition(c);return f?f&1||!t.sortDetached&&c.compareDocumentPosition(a)===f?a===b||ra(O,a)?-1:c===b||ra(O,c)?1:ca?ba.call(ca,a)-ba.call(ca,c):0:f&4?-1:1:a.compareDocumentPosition?-1:1}:function(a,c){var f,g=0;f=a.parentNode;var h=c.parentNode,i=[a],j=[c];if(a===c){la=true;return 0}if(!f||!h)return a===b?-1:c===b?1:f?-1:h?1:ca?ba.call(ca,a)-ba.call(ca,c):0;if(f===h)return dc(a,c);for(f=a;f=f.parentNode;)i.unshift(f); for(f=c;f=f.parentNode;)j.unshift(f);for(;i[g]===j[g];)g++;return g?dc(i[g],j[g]):i[g]===O?-1:j[g]===O?1:0};return b};u.matches=function(a,b){return u(a,null,null,b)};u.matchesSelector=function(a,b){(a.ownerDocument||a)!==C&&$(a);b=b.replace(md,"='$1']");if(t.matchesSelector&&J&&(!da||!da.test(b))&&(!B||!B.test(b)))try{var d=Ja.call(a,b);if(d||t.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(c){}return 0<u(b,C,null,[a]).length};u.contains=function(a,b){(a.ownerDocument||a)!== C&&$(a);return ra(a,b)};u.attr=function(a,b){(a.ownerDocument||a)!==C&&$(a);var d=s.attrHandle[b.toLowerCase()],d=d&&jd.call(s.attrHandle,b.toLowerCase())?d(a,b,!J):void 0;return void 0===d?t.attributes||!J?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null:d};u.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};u.uniqueSort=function(a){var b,d=[],c=0,f=0;la=!t.detectDuplicates;ca=!t.sortStable&&a.slice(0);a.sort(hb);if(la){for(;b=a[f++];)b===a[f]&&(c= d.push(f));for(;c--;)a.splice(d[c],1)}return a};Ia=u.getText=function(a){var b,c="",e=0;if(b=a.nodeType)if(1===b||9===b||11===b){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=Ia(a)}else{if(3===b||4===b)return a.nodeValue}else for(;b=a[e];e++)c+=Ia(b);return c};s=u.selectors={cacheLength:50,createPseudo:F,match:Ea,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}}, preFilter:{ATTR:function(a){a[1]=a[1].replace(R,S);a[3]=(a[4]||a[5]||"").replace(R,S);"~="===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1].slice(0,3)?(a[3]||u.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&u.error(a[0]);return a},PSEUDO:function(a){var b,c=!a[5]&&a[2];if(Ea.CHILD.test(a[0]))return null;if(a[3]&&void 0!==a[4])a[2]=a[4];else if(c&&nd.test(c)&&(b=Ba(c,!0))&&(b=c.indexOf(")", c.length-b)-c.length))a[0]=a[0].slice(0,b),a[2]=c.slice(0,b);return a.slice(0,3)}},filter:{TAG:function(a){var b=a.replace(R,S).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=hc[a+" "];return b||(b=RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&hc(a,function(a){return b.test("string"===typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a, b,c){return function(e){e=u.attr(e,a);if(null==e)return"!="===b;if(!b)return!0;e+="";return"="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&-1<e.indexOf(c):"$="===b?c&&e.slice(-c.length)===c:"~="===b?-1<(" "+e+" ").indexOf(c):"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1}},CHILD:function(a,b,c,e,f){var g="nth"!==a.slice(0,3),h="last"!==a.slice(-4),i="of-type"===b;return 1===e&&0===f?function(a){return!!a.parentNode}:function(b,c,d){var k,n,E,o,p,c=g!==h?"nextSibling":"previousSibling", y=b.parentNode,q=i&&b.nodeName.toLowerCase(),d=!d&&!i;if(y){if(g){for(;c;){for(n=b;n=n[c];)if(i?n.nodeName.toLowerCase()===q:1===n.nodeType)return!1;p=c="only"===a&&!p&&"nextSibling"}return!0}p=[h?y.firstChild:y.lastChild];if(h&&d){d=y[v]||(y[v]={});k=d[a]||[];o=k[0]===K&&k[1];E=k[0]===K&&k[2];for(n=o&&y.childNodes[o];n=++o&&n&&n[c]||(E=o=0)||p.pop();)if(1===n.nodeType&&++E&&n===b){d[a]=[K,o,E];break}}else if(d&&(k=(b[v]||(b[v]={}))[a])&&k[0]===K)E=k[1];else for(;n=++o&&n&&n[c]||(E=o=0)||p.pop();)if((i? n.nodeName.toLowerCase()===q:1===n.nodeType)&&++E)if(d&&((n[v]||(n[v]={}))[a]=[K,E]),n===b)break;E-=f;return E===e||0===E%e&&0<=E/e}}},PSEUDO:function(a,b){var c,e=s.pseudos[a]||s.setFilters[a.toLowerCase()]||u.error("unsupported pseudo: "+a);return e[v]?e(b):1<e.length?(c=[a,a,"",b],s.setFilters.hasOwnProperty(a.toLowerCase())?F(function(a,c){for(var d,i=e(a,b),j=i.length;j--;)d=ba.call(a,i[j]),a[d]=!(c[d]=i[j])}):function(a){return e(a,0,c)}):e}},pseudos:{not:F(function(a){var b=[],c=[],e=ab(a.replace(Da, "$1"));return e[v]?F(function(a,b,c,d){for(var d=e(a,null,d,[]),j=a.length;j--;)if(c=d[j])a[j]=!(b[j]=c)}):function(a,g,h){b[0]=a;e(b,null,h,c);return!c.pop()}}),has:F(function(a){return function(b){return 0<u(a,b).length}}),contains:F(function(a){return function(b){return-1<(b.textContent||b.innerText||Ia(b)).indexOf(a)}}),lang:F(function(a){od.test(a||"")||u.error("unsupported lang: "+a);a=a.replace(R,S).toLowerCase();return function(b){var c;do if(c=J?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c= c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(a){var b=Za.location&&Za.location.hash;return b&&b.slice(1)===a.id},root:function(a){return a===L},focus:function(a){return a===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!(!a.type&&!a.href&&!~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"=== b&&!!a.selected},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if("@"<a.nodeName||3===a.nodeType||4===a.nodeType)return!1;return!0},parent:function(a){return!s.pseudos.empty(a)},header:function(a){return qd.test(a.nodeName)},input:function(a){return pd.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"=== a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||b.toLowerCase()===a.type)},first:aa(function(){return[0]}),last:aa(function(a,b){return[b-1]}),eq:aa(function(a,b,c){return[0>c?c+b:c]}),even:aa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:aa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:aa(function(a,b,c){for(b=0>c?c+b:c;0<=--b;)a.push(b);return a}),gt:aa(function(a,b,c){for(c=0>c?c+b:c;++c<b;)a.push(c);return a})}};s.pseudos.nth=s.pseudos.eq; for(ka in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})s.pseudos[ka]=ed(ka);for(ka in{submit:!0,reset:!0})s.pseudos[ka]=fd(ka);ec.prototype=s.filters=s.pseudos;s.setFilters=new ec;ab=u.compile=function(a,b){var c,e=[],f=[],g=ic[a+" "];if(!g){b||(b=Ba(a));for(c=b.length;c--;)g=gb(b[c]),g[v]?e.push(g):f.push(g);var h=0,i=0<e.length,j=0<f.length;c=function(a,b,c,d,g){var o,p,y=[],q=0,r="0",t=a&&[],v=null!=g,w=Ha,x=a||j&&s.find.TAG("*",g&&b.parentNode||b),mc=K+=null==w?1:Math.random()||0.1;v&&(Ha= b!==C&&b,Fa=h);for(;null!=(g=x[r]);r++){if(j&&g){for(o=0;p=f[o++];)if(p(g,b,c)){d.push(g);break}v&&(K=mc,Fa=++h)}i&&((g=!p&&g)&&q--,a&&t.push(g))}q+=r;if(i&&r!==q){for(o=0;p=e[o++];)p(t,y,b,c);if(a){if(0<q)for(;r--;)!t[r]&&!y[r]&&(y[r]=kd.call(d));y=Ga(y)}Q.apply(d,y);v&&(!a&&0<y.length&&1<q+e.length)&&u.uniqueSort(d)}v&&(K=mc,Ha=w);return t};c=i?F(c):c;g=ic(a,c)}return g};t.sortStable=v.split("").sort(hb).join("")===v;t.detectDuplicates=la;$();t.sortDetached=H(function(a){return a.compareDocumentPosition(C.createElement("div"))& 1});H(function(a){a.innerHTML="<a href='#'></a>";return"#"===a.firstChild.getAttribute("href")})||cb("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)});(!t.attributes||!H(function(a){a.innerHTML="<input/>";a.firstChild.setAttribute("value","");return""===a.firstChild.getAttribute("value")}))&&cb("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue});H(function(a){return null==a.getAttribute("disabled")})||cb("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", function(a,b,c){var e;if(!c)return(e=a.getAttributeNode(b))&&e.specified?e.value:!0===a[b]?b.toLowerCase():null});c.find=u;c.expr=u.selectors;c.expr[":"]=c.expr.pseudos;c.unique=u.uniqueSort;c.text=u.getText;c.isXMLDoc=u.isXML;c.contains=u.contains;var nc={};c.Callbacks=function(a){var b;if("string"===typeof a){if(!(b=nc[a])){b=a;var d=nc[b]={};c.each(b.match(N)||[],function(a,b){d[b]=!0});b=d}}else b=c.extend({},a);var a=b,e,f,g,h,i,j,l=[],m=!a.once&&[],k=function(b){f=a.memory&&b;g=!0;i=j||0;j= 0;h=l.length;for(e=!0;l&&i<h;i++)if(!1===l[i].apply(b[0],b[1])&&a.stopOnFalse){f=!1;break}e=!1;l&&(m?m.length&&k(m.shift()):f?l=[]:n.disable())},n={add:function(){if(l){var b=l.length;(function Pc(b){c.each(b,function(b,d){var e=c.type(d);"function"===e?(!a.unique||!n.has(d))&&l.push(d):d&&(d.length&&"string"!==e)&&Pc(d)})})(arguments);e?h=l.length:f&&(j=b,k(f))}return this},remove:function(){l&&c.each(arguments,function(a,b){for(var d;-1<(d=c.inArray(b,l,d));)l.splice(d,1),e&&(d<=h&&h--,d<=i&&i--)}); return this},has:function(a){return a?-1<c.inArray(a,l):!(!l||!l.length)},empty:function(){l=[];h=0;return this},disable:function(){l=m=f=void 0;return this},disabled:function(){return!l},lock:function(){m=void 0;f||n.disable();return this},locked:function(){return!m},fireWith:function(a,b){if(l&&(!g||m))b=b||[],b=[a,b.slice?b.slice():b],e?m.push(b):k(b);return this},fire:function(){n.fireWith(this,arguments);return this},fired:function(){return!!g}};return n};c.extend({Deferred:function(a){var b= [["resolve","done",c.Callbacks("once memory"),"resolved"],["reject","fail",c.Callbacks("once memory"),"rejected"],["notify","progress",c.Callbacks("memory")]],d="pending",e={state:function(){return d},always:function(){f.done(arguments).fail(arguments);return this},then:function(){var a=arguments;return c.Deferred(function(d){c.each(b,function(b,j){var l=j[0],m=c.isFunction(a[b])&&a[b];f[j[1]](function(){var a=m&&m.apply(this,arguments);if(a&&c.isFunction(a.promise))a.promise().done(d.resolve).fail(d.reject).progress(d.notify); else d[l+"With"](this===e?d.promise():this,m?[a]:arguments)})});a=null}).promise()},promise:function(a){return null!=a?c.extend(a,e):e}},f={};e.pipe=e.then;c.each(b,function(a,c){var i=c[2],j=c[3];e[c[1]]=i.add;j&&i.add(function(){d=j},b[a^1][2].disable,b[2][2].lock);f[c[0]]=function(){f[c[0]+"With"](this===f?e:this,arguments);return this};f[c[0]+"With"]=i.fireWith});e.promise(f);a&&a.call(f,f);return f},when:function(a){var b=0,d=Z.call(arguments),e=d.length,f=1!==e||a&&c.isFunction(a.promise)?e: 0,g=1===f?a:c.Deferred(),h=function(a,b,c){return function(d){b[a]=this;c[a]=1<arguments.length?Z.call(arguments):d;c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,l;if(1<e){i=Array(e);j=Array(e);for(l=Array(e);b<e;b++)d[b]&&c.isFunction(d[b].promise)?d[b].promise().done(h(b,l,d)).fail(g.reject).progress(h(b,j,i)):--f}f||g.resolveWith(l,d);return g.promise()}});var rd=c;var o={},kb,U,z,Ka,La,Ma,lb,oc,sa,r=p.createElement("div");r.setAttribute("className","t");r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; kb=r.getElementsByTagName("*")||[];if((U=r.getElementsByTagName("a")[0])&&U.style&&kb.length){Ka=p.createElement("select");Ma=Ka.appendChild(p.createElement("option"));z=r.getElementsByTagName("input")[0];U.style.cssText="top:1px;float:left;opacity:.5";o.getSetAttribute="t"!==r.className;o.leadingWhitespace=3===r.firstChild.nodeType;o.tbody=!r.getElementsByTagName("tbody").length;o.htmlSerialize=!!r.getElementsByTagName("link").length;o.style=/top/.test(U.getAttribute("style"));o.hrefNormalized="/a"=== U.getAttribute("href");o.opacity=/^0.5/.test(U.style.opacity);o.cssFloat=!!U.style.cssFloat;o.checkOn=!!z.value;o.optSelected=Ma.selected;o.enctype=!!p.createElement("form").enctype;o.html5Clone="<:nav></:nav>"!==p.createElement("nav").cloneNode(!0).outerHTML;o.inlineBlockNeedsLayout=!1;o.shrinkWrapBlocks=!1;o.pixelPosition=!1;o.deleteExpando=!0;o.noCloneEvent=!0;o.reliableMarginRight=!0;o.boxSizingReliable=!0;z.checked=!0;o.noCloneChecked=z.cloneNode(!0).checked;Ka.disabled=!0;o.optDisabled=!Ma.disabled; try{delete r.test}catch(Ud){o.deleteExpando=!1}z=p.createElement("input");z.setAttribute("value","");o.input=""===z.getAttribute("value");z.value="t";z.setAttribute("type","radio");o.radioValue="t"===z.value;z.setAttribute("checked","t");z.setAttribute("name","t");La=p.createDocumentFragment();La.appendChild(z);o.appendChecked=z.checked;o.checkClone=La.cloneNode(!0).cloneNode(!0).lastChild.checked;r.attachEvent&&(r.attachEvent("onclick",function(){o.noCloneEvent=!1}),r.cloneNode(!0).click());for(sa in{submit:!0, change:!0,focusin:!0})r.setAttribute(lb="on"+sa,"t"),o[sa+"Bubbles"]=lb in q||!1===r.attributes[lb].expando;r.style.backgroundClip="content-box";r.cloneNode(!0).style.backgroundClip="";o.clearCloneStyle="content-box"===r.style.backgroundClip;for(sa in c(o))break;o.ownLast="0"!==sa;c(function(){var a,b,d=p.getElementsByTagName("body")[0];if(d){a=p.createElement("div");a.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";d.appendChild(a).appendChild(r);r.innerHTML= "<table><tr><td></td><td>t</td></tr></table>";b=r.getElementsByTagName("td");b[0].style.cssText="padding:0;margin:0;border:0;display:none";oc=b[0].offsetHeight===0;b[0].style.display="";b[1].style.display="none";o.reliableHiddenOffsets=oc&&b[0].offsetHeight===0;r.innerHTML="";r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";c.swap(d,d.style.zoom!=null?{zoom:1}:{}, function(){o.boxSizing=r.offsetWidth===4});if(q.getComputedStyle){o.pixelPosition=(q.getComputedStyle(r,null)||{}).top!=="1%";o.boxSizingReliable=(q.getComputedStyle(r,null)||{width:"4px"}).width==="4px";b=r.appendChild(p.createElement("div"));b.style.cssText=r.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;";b.style.marginRight=b.style.width="0";r.style.width="1px";o.reliableMarginRight=!parseFloat((q.getComputedStyle(b, null)||{}).marginRight)}if(typeof r.style.zoom!==M){r.innerHTML="";r.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;width:1px;padding:1px;display:inline;zoom:1";o.inlineBlockNeedsLayout=r.offsetWidth===3;r.style.display="block";r.innerHTML="<div></div>";r.firstChild.style.width="5px";o.shrinkWrapBlocks=r.offsetWidth!==3;if(o.inlineBlockNeedsLayout)d.style.zoom=1}d.removeChild(a);a=r=b=b=null}});kb=Ka=La=Ma= U=z=null}rd.support=o;var Jc=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Ic=/([A-Z])/g;c.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!Qa(a)},data:function(a,b,c){return wb(a,b,c)},removeData:function(a,b){return xb(a,b)},_data:function(a,b,c){return wb(a,b,c,!0)},_removeData:function(a,b){return xb(a,b,!0)},acceptData:function(a){if(a.nodeType&&1!==a.nodeType&&9!==a.nodeType)return!1; var b=a.nodeName&&c.noData[a.nodeName.toLowerCase()];return!b||!0!==b&&a.getAttribute("classid")===b}});c.fn.extend({data:function(a,b){var d,e,f=null,g=0,h=this[0];if(void 0===a){if(this.length&&(f=c.data(h),1===h.nodeType&&!c._data(h,"parsedAttrs"))){for(d=h.attributes;g<d.length;g++)e=d[g].name,0===e.indexOf("data-")&&(e=c.camelCase(e.slice(5)),yb(h,e,f[e]));c._data(h,"parsedAttrs",!0)}return f}return"object"===typeof a?this.each(function(){c.data(this,a)}):1<arguments.length?this.each(function(){c.data(this, a,b)}):h?yb(h,a,c.data(h,a)):null},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){var e;if(a)return b=(b||"fx")+"queue",e=c._data(a,b),d&&(!e||c.isArray(d)?e=c._data(a,b,c.makeArray(d)):e.push(d)),e||[]},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),e=d.length,f=d.shift(),g=c._queueHooks(a,b),h=function(){c.dequeue(a,b)};"inprogress"===f&&(f=d.shift(),e--);f&&("fx"===b&&d.unshift("inprogress"),delete g.stop,f.call(a,h,g));!e&&g&&g.empty.fire()}, _queueHooks:function(a,b){var d=b+"queueHooks";return c._data(a,d)||c._data(a,d,{empty:c.Callbacks("once memory").add(function(){c._removeData(a,b+"queue");c._removeData(a,d)})})}});c.fn.extend({queue:function(a,b){var d=2;"string"!==typeof a&&(b=a,a="fx",d--);return arguments.length<d?c.queue(this[0],a):void 0===b?this:this.each(function(){var d=c.queue(this,a,b);c._queueHooks(this,a);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this, a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;return this.queue(b||"fx",function(b,c){var f=setTimeout(b,a);c.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var d,e=1,f=c.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};"string"!==typeof a&&(b=a,a=void 0);for(a=a||"fx";h--;)if((d=c._data(g[h],a+"queueHooks"))&&d.empty)e++,d.empty.add(i);i();return f.promise(b)}});var ma,pc,mb=/[\t\r\n\f]/g,sd=/\r/g,td=/^(?:input|select|textarea|button|object)$/i, ud=/^(?:a|area)$/i,nb=/^(?:checked|selected)$/i,ea=c.support.getSetAttribute,Na=c.support.input;c.fn.extend({attr:function(a,b){return c.access(this,c.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,c.prop,a,b,1<arguments.length)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})},addClass:function(a){var b,d,e,f,g,h=0,i=this.length;b="string"=== typeof a&&a;if(c.isFunction(a))return this.each(function(b){c(this).addClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(N)||[];h<i;h++)if(d=this[h],e=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(mb," "):" ")){for(g=0;f=b[g++];)0>e.indexOf(" "+f+" ")&&(e+=f+" ");d.className=c.trim(e)}return this},removeClass:function(a){var b,d,e,f,g,h=0,i=this.length;b=0===arguments.length||"string"===typeof a&&a;if(c.isFunction(a))return this.each(function(b){c(this).removeClass(a.call(this, b,this.className))});if(b)for(b=(a||"").match(N)||[];h<i;h++)if(d=this[h],e=1===d.nodeType&&(d.className?(" "+d.className+" ").replace(mb," "):"")){for(g=0;f=b[g++];)for(;0<=e.indexOf(" "+f+" ");)e=e.replace(" "+f+" "," ");d.className=a?c.trim(e):""}return this},toggleClass:function(a,b){var d=typeof a;return"boolean"===typeof b&&"string"===d?b?this.addClass(a):this.removeClass(a):c.isFunction(a)?this.each(function(d){c(this).toggleClass(a.call(this,d,this.className,b),b)}):this.each(function(){if("string"=== d)for(var b,f=0,g=c(this),h=a.match(N)||[];b=h[f++];)g.hasClass(b)?g.removeClass(b):g.addClass(b);else if(d===M||"boolean"===d)this.className&&c._data(this,"__className__",this.className),this.className=this.className||!1===a?"":c._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(mb," ").indexOf(a))return!0;return!1},val:function(a){var b,d,e,f=this[0];if(arguments.length)return e=c.isFunction(a), this.each(function(b){if(1===this.nodeType&&(b=e?a.call(this,b,c(this).val()):a,null==b?b="":"number"===typeof b?b+="":c.isArray(b)&&(b=c.map(b,function(a){return a==null?"":a+""})),d=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()],!d||!("set"in d)||void 0===d.set(this,b,"value")))this.value=b});if(f){if((d=c.valHooks[f.type]||c.valHooks[f.nodeName.toLowerCase()])&&"get"in d&&void 0!==(b=d.get(f,"value")))return b;b=f.value;return"string"===typeof b?b.replace(sd,""):null==b?"":b}}}); c.extend({valHooks:{option:{get:function(a){var b=c.find.attr(a,"value");return null!=b?b:a.text}},select:{get:function(a){for(var b,d=a.options,e=a.selectedIndex,f=(a="select-one"===a.type||0>e)?null:[],g=a?e+1:d.length,h=0>e?g:a?e:0;h<g;h++)if(b=d[h],(b.selected||h===e)&&(c.support.optDisabled?!b.disabled:null===b.getAttribute("disabled"))&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(a)return b;f.push(b)}return f},set:function(a,b){for(var d,e,f=a.options,g=c.makeArray(b), h=f.length;h--;)if(e=f[h],e.selected=0<=c.inArray(c(e).val(),g))d=!0;d||(a.selectedIndex=-1);return g}}},attr:function(a,b,d){var e,f,g=a.nodeType;if(a&&!(3===g||8===g||2===g)){if(typeof a.getAttribute===M)return c.prop(a,b,d);if(1!==g||!c.isXMLDoc(a))b=b.toLowerCase(),e=c.attrHooks[b]||(c.expr.match.bool.test(b)?pc:ma);if(void 0!==d)if(null===d)c.removeAttr(a,b);else{if(e&&"set"in e&&void 0!==(f=e.set(a,d,b)))return f;a.setAttribute(b,d+"");return d}else{if(e&&"get"in e&&null!==(f=e.get(a,b)))return f; f=c.find.attr(a,b);return null==f?void 0:f}}},removeAttr:function(a,b){var d,e,f=0,g=b&&b.match(N);if(g&&1===a.nodeType)for(;d=g[f++];)e=c.propFix[d]||d,c.expr.match.bool.test(d)?Na&&ea||!nb.test(d)?a[e]=!1:a[c.camelCase("default-"+d)]=a[e]=!1:c.attr(a,d,""),a.removeAttribute(ea?d:e)},attrHooks:{type:{set:function(a,b){if(!c.support.radioValue&&"radio"===b&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);d&&(a.value=d);return b}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(a, b,d){var e,f,g;g=a.nodeType;if(a&&!(3===g||8===g||2===g)){if(g=1!==g||!c.isXMLDoc(a))b=c.propFix[b]||b,f=c.propHooks[b];return void 0!==d?f&&"set"in f&&void 0!==(e=f.set(a,d,b))?e:a[b]=d:f&&"get"in f&&null!==(e=f.get(a,b))?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=c.find.attr(a,"tabindex");return b?parseInt(b,10):td.test(a.nodeName)||ud.test(a.nodeName)&&a.href?0:-1}}}});pc={set:function(a,b,d){!1===b?c.removeAttr(a,d):Na&&ea||!nb.test(d)?a.setAttribute(!ea&&c.propFix[d]||d,d):a[c.camelCase("default-"+ d)]=a[d]=!0;return d}};c.each(c.expr.match.bool.source.match(/\w+/g),function(a,b){var d=c.expr.attrHandle[b]||c.find.attr;c.expr.attrHandle[b]=Na&&ea||!nb.test(b)?function(a,b,g){var h=c.expr.attrHandle[b],a=g?void 0:(c.expr.attrHandle[b]=void 0)!=d(a,b,g)?b.toLowerCase():null;c.expr.attrHandle[b]=h;return a}:function(a,b,d){return d?void 0:a[c.camelCase("default-"+b)]?b.toLowerCase():null}});if(!Na||!ea)c.attrHooks.value={set:function(a,b,d){if(c.nodeName(a,"input"))a.defaultValue=b;else return ma&& ma.set(a,b,d)}};ea||(ma={set:function(a,b,c){var e=a.getAttributeNode(c);e||a.setAttributeNode(e=a.ownerDocument.createAttribute(c));e.value=b+="";return"value"===c||b===a.getAttribute(c)?b:void 0}},c.expr.attrHandle.id=c.expr.attrHandle.name=c.expr.attrHandle.coords=function(a,b,c){var e;return c?void 0:(e=a.getAttributeNode(b))&&""!==e.value?e.value:null},c.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:ma.set},c.attrHooks.contenteditable= {set:function(a,b,c){ma.set(a,""===b?!1:b,c)}},c.each(["width","height"],function(a,b){c.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}}));c.support.hrefNormalized||c.each(["href","src"],function(a,b){c.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}});c.support.style||(c.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});c.support.optSelected||(c.propHooks.selected={get:function(a){if(a=a.parentNode){a.selectedIndex; a.parentNode&&a.parentNode.selectedIndex}return null}});c.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){c.propFix[this.toLowerCase()]=this});c.support.enctype||(c.propFix.enctype="encoding");c.each(["radio","checkbox"],function(){c.valHooks[this]={set:function(a,b){if(c.isArray(b))return a.checked=c.inArray(c(a).val(),b)>=0}};if(!c.support.checkOn)c.valHooks[this].get=function(a){return a.getAttribute("value")=== null?"on":a.value}});var ob=/^(?:input|select|textarea)$/i,vd=/^key/,wd=/^(?:mouse|contextmenu)|click/,qc=/^(?:focusinfocus|focusoutblur)$/,rc=/^([^.]*)(?:\.(.+)|)$/;c.event={global:{},add:function(a,b,d,e,f){var g,h,i,j,l,m,k,n,o;if(i=c._data(a)){if(d.handler){j=d;d=j.handler;f=j.selector}if(!d.guid)d.guid=c.guid++;if(!(h=i.events))h=i.events={};if(!(l=i.handle)){l=i.handle=function(a){return typeof c!==M&&(!a||c.event.triggered!==a.type)?c.event.dispatch.apply(l.elem,arguments):void 0};l.elem=a}b= (b||"").match(N)||[""];for(i=b.length;i--;){g=rc.exec(b[i])||[];n=m=g[1];o=(g[2]||"").split(".").sort();if(n){g=c.event.special[n]||{};n=(f?g.delegateType:g.bindType)||n;g=c.event.special[n]||{};m=c.extend({type:n,origType:m,data:e,handler:d,guid:d.guid,selector:f,needsContext:f&&c.expr.match.needsContext.test(f),namespace:o.join(".")},j);if(!(k=h[n])){k=h[n]=[];k.delegateCount=0;if(!g.setup||g.setup.call(a,e,o,l)===false)a.addEventListener?a.addEventListener(n,l,false):a.attachEvent&&a.attachEvent("on"+ n,l)}if(g.add){g.add.call(a,m);if(!m.handler.guid)m.handler.guid=d.guid}f?k.splice(k.delegateCount++,0,m):k.push(m);c.event.global[n]=true}}a=null}},remove:function(a,b,d,e,f){var g,h,i,j,l,m,k,n,o,p,q,r=c.hasData(a)&&c._data(a);if(r&&(m=r.events)){b=(b||"").match(N)||[""];for(l=b.length;l--;){i=rc.exec(b[l])||[];o=q=i[1];p=(i[2]||"").split(".").sort();if(o){k=c.event.special[o]||{};o=(e?k.delegateType:k.bindType)||o;n=m[o]||[];i=i[2]&&RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");for(j=g=n.length;g--;){h= n[g];if((f||q===h.origType)&&(!d||d.guid===h.guid)&&(!i||i.test(h.namespace))&&(!e||e===h.selector||e==="**"&&h.selector)){n.splice(g,1);h.selector&&n.delegateCount--;k.remove&&k.remove.call(a,h)}}if(j&&!n.length){(!k.teardown||k.teardown.call(a,p,r.handle)===false)&&c.removeEvent(a,o,r.handle);delete m[o]}}else for(o in m)c.event.remove(a,o+b[l],d,e,true)}if(c.isEmptyObject(m)){delete r.handle;c._removeData(a,"events")}}},trigger:function(a,b,d,e){var f,g,h,i,j,l,m=[d||p],k=ja.call(a,"type")?a.type: a;j=ja.call(a,"namespace")?a.namespace.split("."):[];h=f=d=d||p;if(!(d.nodeType===3||d.nodeType===8)&&!qc.test(k+c.event.triggered)){if(k.indexOf(".")>=0){j=k.split(".");k=j.shift();j.sort()}g=k.indexOf(":")<0&&"on"+k;a=a[c.expando]?a:new c.Event(k,typeof a==="object"&&a);a.isTrigger=e?2:3;a.namespace=j.join(".");a.namespace_re=a.namespace?RegExp("(^|\\.)"+j.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;a.result=void 0;if(!a.target)a.target=d;b=b==null?[a]:c.makeArray(b,[a]);j=c.event.special[k]||{};if(e|| !(j.trigger&&j.trigger.apply(d,b)===false)){if(!e&&!j.noBubble&&!c.isWindow(d)){i=j.delegateType||k;if(!qc.test(i+k))h=h.parentNode;for(;h;h=h.parentNode){m.push(h);f=h}if(f===(d.ownerDocument||p))m.push(f.defaultView||f.parentWindow||q)}for(l=0;(h=m[l++])&&!a.isPropagationStopped();){a.type=l>1?i:j.bindType||k;(f=(c._data(h,"events")||{})[a.type]&&c._data(h,"handle"))&&f.apply(h,b);(f=g&&h[g])&&(c.acceptData(h)&&f.apply&&f.apply(h,b)===false)&&a.preventDefault()}a.type=k;if(!e&&!a.isDefaultPrevented()&& (!j._default||j._default.apply(m.pop(),b)===false)&&c.acceptData(d)&&g&&d[k]&&!c.isWindow(d)){(f=d[g])&&(d[g]=null);c.event.triggered=k;try{d[k]()}catch(n){}c.event.triggered=void 0;f&&(d[g]=f)}return a.result}}},dispatch:function(a){var a=c.event.fix(a),b,d,e,f,g=[],h=Z.call(arguments);b=(c._data(this,"events")||{})[a.type]||[];var i=c.event.special[a.type]||{};h[0]=a;a.delegateTarget=this;if(!(i.preDispatch&&i.preDispatch.call(this,a)===false)){g=c.event.handlers.call(this,a,b);for(b=0;(e=g[b++])&& !a.isPropagationStopped();){a.currentTarget=e.elem;for(f=0;(d=e.handlers[f++])&&!a.isImmediatePropagationStopped();)if(!a.namespace_re||a.namespace_re.test(d.namespace)){a.handleObj=d;a.data=d.data;d=((c.event.special[d.origType]||{}).handle||d.handler).apply(e.elem,h);if(d!==void 0&&(a.result=d)===false){a.preventDefault();a.stopPropagation()}}}i.postDispatch&&i.postDispatch.call(this,a);return a.result}},handlers:function(a,b){var d,e,f,g,h=[],i=b.delegateCount,j=a.target;if(i&&j.nodeType&&(!a.button|| a.type!=="click"))for(;j!=this;j=j.parentNode||this)if(j.nodeType===1&&(j.disabled!==true||a.type!=="click")){f=[];for(g=0;g<i;g++){e=b[g];d=e.selector+" ";f[d]===void 0&&(f[d]=e.needsContext?c(d,this).index(j)>=0:c.find(d,this,null,[j]).length);f[d]&&f.push(e)}f.length&&h.push({elem:j,handlers:f})}i<b.length&&h.push({elem:this,handlers:b.slice(i)});return h},fix:function(a){if(a[c.expando])return a;var b,d,e;b=a.type;var f=a,g=this.fixHooks[b];g||(this.fixHooks[b]=g=wd.test(b)?this.mouseHooks:vd.test(b)? this.keyHooks:{});e=g.props?this.props.concat(g.props):this.props;a=new c.Event(f);for(b=e.length;b--;){d=e[b];a[d]=f[d]}if(!a.target)a.target=f.srcElement||p;if(a.target.nodeType===3)a.target=a.target.parentNode;a.metaKey=!!a.metaKey;return g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,b){if(a.which== null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f=b.button,g=b.fromElement;if(a.pageX==null&&b.clientX!=null){c=a.target.ownerDocument||p;e=c.documentElement;c=c.body;a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop|| c&&c.clientTop||0)}if(!a.relatedTarget&&g)a.relatedTarget=g===a.target?b.toElement:g;if(!a.which&&f!==void 0)a.which=f&1?1:f&2?3:f&4?2:0;return a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==zb()&&this.focus)try{this.focus();return false}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===zb()&&this.blur){this.blur();return false}},delegateType:"focusout"},click:{trigger:function(){if(c.nodeName(this,"input")&&this.type==="checkbox"&&this.click){this.click(); return false}},_default:function(a){return c.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){if(a.result!==void 0)a.originalEvent.returnValue=a.result}}},simulate:function(a,b,d,e){a=c.extend(new c.Event,d,{type:a,isSimulated:true,originalEvent:{}});e?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.removeEvent=p.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,false)}:function(a,b,c){b="on"+b;if(a.detachEvent){typeof a[b]=== M&&(a[b]=null);a.detachEvent(b,c)}};c.Event=function(a,b){if(!(this instanceof c.Event))return new c.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?ua:ha}else this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c.expando]=true};c.Event.prototype={isDefaultPrevented:ha,isPropagationStopped:ha,isImmediatePropagationStopped:ha,preventDefault:function(){var a= this.originalEvent;this.isDefaultPrevented=ua;if(a)a.preventDefault?a.preventDefault():a.returnValue=false},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ua;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ua;this.stopPropagation()}};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(a){var e,f=a.relatedTarget, g=a.handleObj;if(!f||f!==this&&!c.contains(this,f)){a.type=g.origType;e=g.handler.apply(this,arguments);a.type=b}return e}}});c.support.submitBubbles||(c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:void 0)&&!c._data(a,"submitBubbles")){c.event.add(a,"submit._submit",function(a){a._submit_bubble=true});c._data(a,"submitBubbles",true)}})}, postDispatch:function(a){if(a._submit_bubble){delete a._submit_bubble;this.parentNode&&!a.isTrigger&&c.event.simulate("submit",this.parentNode,a,true)}},teardown:function(){if(c.nodeName(this,"form"))return false;c.event.remove(this,"._submit")}});c.support.changeBubbles||(c.event.special.change={setup:function(){if(ob.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){c.event.add(this,"propertychange._change",function(a){if(a.originalEvent.propertyName==="checked")this._just_changed= true});c.event.add(this,"click._change",function(a){if(this._just_changed&&!a.isTrigger)this._just_changed=false;c.event.simulate("change",this,a,true)})}return false}c.event.add(this,"beforeactivate._change",function(a){a=a.target;if(ob.test(a.nodeName)&&!c._data(a,"changeBubbles")){c.event.add(a,"change._change",function(a){this.parentNode&&(!a.isSimulated&&!a.isTrigger)&&c.event.simulate("change",this.parentNode,a,true)});c._data(a,"changeBubbles",true)}})},handle:function(a){var b=a.target;if(this!== b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"._change");return!ob.test(this.nodeName)}});c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){c.event.simulate(b,a.target,c.event.fix(a),true)};c.event.special[b]={setup:function(){d++===0&&p.addEventListener(a,e,true)},teardown:function(){--d===0&&p.removeEventListener(a,e,true)}}});c.fn.extend({on:function(a, b,d,e,f){var g,h;if(typeof a==="object"){if(typeof b!=="string"){d=d||b;b=void 0}for(g in a)this.on(g,b,d,a[g],f);return this}if(d==null&&e==null){e=b;d=b=void 0}else if(e==null)if(typeof b==="string"){e=d;d=void 0}else{e=d;d=b;b=void 0}if(e===false)e=ha;else if(!e)return this;if(f===1){h=e;e=function(a){c().off(a);return h.apply(this,arguments)};e.guid=h.guid||(h.guid=c.guid++)}return this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,c,e){return this.on(a,b,c,e,1)},off:function(a, b,d){var e;if(a&&a.preventDefault&&a.handleObj){e=a.handleObj;c(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===false||typeof b==="function"){d=b;b=void 0}d===false&&(d=ha);return this.each(function(){c.event.remove(this,a,d,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){var d=this[0];if(d)return c.event.trigger(a, b,d,true)}});var Kc=/^.[^:#\[\.,]*$/,xd=/^(?:parents|prev(?:Until|All))/,sc=c.expr.match.needsContext,yd={children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){var b,d=[],e=this,f=e.length;if(typeof a!=="string")return this.pushStack(c(a).filter(function(){for(b=0;b<f;b++)if(c.contains(e[b],this))return true}));for(b=0;b<f;b++)c.find(a,e[b],d);d=this.pushStack(f>1?c.unique(d):d);d.selector=this.selector?this.selector+" "+a:a;return d},has:function(a){var b,d=c(a,this),e=d.length; return this.filter(function(){for(b=0;b<e;b++)if(c.contains(this,d[b]))return true})},not:function(a){return this.pushStack(Ra(this,a||[],true))},filter:function(a){return this.pushStack(Ra(this,a||[],false))},is:function(a){return!!Ra(this,typeof a==="string"&&sc.test(a)?c(a):a||[],false).length},closest:function(a,b){for(var d,e=0,f=this.length,g=[],h=sc.test(a)||typeof a!=="string"?c(a,b||this.context):0;e<f;e++)for(d=this[e];d&&d!==b;d=d.parentNode)if(d.nodeType<11&&(h?h.index(d)>-1:d.nodeType=== 1&&c.find.matchesSelector(d,a))){g.push(d);break}return this.pushStack(g.length>1?c.unique(g):g)},index:function(a){return!a?this[0]&&this[0].parentNode?this.first().prevAll().length:-1:typeof a==="string"?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),d=c.merge(this.get(),d);return this.pushStack(c.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}});c.each({parent:function(a){return(a= a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return Ab(a,"nextSibling")},prev:function(a){return Ab(a,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling((a.parentNode|| {}).firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.merge([],a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);a.slice(-5)!=="Until"&&(e=d);e&&typeof e==="string"&&(f=c.filter(e,f));if(this.length>1){yd[a]||(f=c.unique(f));xd.test(a)&&(f=f.reverse())}return this.pushStack(f)}});c.extend({filter:function(a,b,d){var e=b[0];d&&(a=":not("+a+")");return b.length=== 1&&e.nodeType===1?c.find.matchesSelector(e,a)?[e]:[]:c.find.matches(a,c.grep(b,function(a){return a.nodeType===1}))},dir:function(a,b,d){for(var e=[],a=a[b];a&&a.nodeType!==9&&(d===void 0||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Cb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", zd=/ jQuery\d+="(?:null|\d+)"/g,tc=RegExp("<(?:"+Cb+")[\\s/>]","i"),pb=/^\s+/,uc=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vc=/<([\w:]+)/,wc=/<tbody/i,Ad=/<|&#?\w+;/,Bd=/<(?:script|style|link)/i,Ta=/^(?:checkbox|radio)$/i,Cd=/checked\s*(?:[^=]|=\s*.checked.)/i,xc=/^$|\/(?:java|ecma)script/i,Lc=/^true\/(.*)/,Dd=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,G={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:c.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},qb=Bb(p).appendChild(p.createElement("div"));G.optgroup=G.option;G.tbody=G.tfoot=G.colgroup=G.caption=G.thead;G.th=G.td;c.fn.extend({text:function(a){return c.access(this,function(a){return a===void 0?c.text(this): this.empty().append((this[0]&&this[0].ownerDocument||p).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&Db(this,a).appendChild(a)})},prepend:function(){return this.domManip(arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=Db(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&& this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var d,e=a?c.filter(a,this):this,f=0;(d=e[f])!=null;f++){!b&&d.nodeType===1&&c.cleanData(x(d));if(d.parentNode){b&&c.contains(d.ownerDocument,d)&&Sa(x(d,"script"));d.parentNode.removeChild(d)}}return this},empty:function(){for(var a,b=0;(a=this[b])!=null;b++){for(a.nodeType===1&&c.cleanData(x(a,false));a.firstChild;)a.removeChild(a.firstChild); if(a.options&&c.nodeName(a,"select"))a.options.length=0}return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){return c.access(this,function(a){var d=this[0]||{},e=0,f=this.length;if(a===void 0)return d.nodeType===1?d.innerHTML.replace(zd,""):void 0;if(typeof a==="string"&&!Bd.test(a)&&(c.support.htmlSerialize||!tc.test(a))&&(c.support.leadingWhitespace||!pb.test(a))&&!G[(vc.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(uc, "<$1></$2>");try{for(;e<f;e++){d=this[e]||{};if(d.nodeType===1){c.cleanData(x(d,false));d.innerHTML=a}}d=0}catch(g){}}d&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=c.map(this,function(a){return[a.nextSibling,a.parentNode]}),b=0;this.domManip(arguments,function(d){var e=a[b++],f=a[b++];if(f){if(e&&e.parentNode!==f)e=this.nextSibling;c(this).remove();f.insertBefore(d,e)}},true);return b?this:this.remove()},detach:function(a){return this.remove(a,true)},domManip:function(a, b,d){var a=Zb.apply([],a),e,f,g,h,i=0,j=this.length,l=this,m=j-1,k=a[0],n=c.isFunction(k);if(n||!(j<=1||typeof k!=="string"||c.support.checkClone||!Cd.test(k)))return this.each(function(c){var e=l.eq(c);n&&(a[0]=k.call(this,c,e.html()));e.domManip(a,b,d)});if(j){h=c.buildFragment(a,this[0].ownerDocument,false,!d&&this);e=h.firstChild;h.childNodes.length===1&&(h=e);if(e){g=c.map(x(h,"script"),Eb);for(f=g.length;i<j;i++){e=h;if(i!==m){e=c.clone(e,true,true);f&&c.merge(g,x(e,"script"))}b.call(this[i], e,i)}if(f){h=g[g.length-1].ownerDocument;c.map(g,Fb);for(i=0;i<f;i++){e=g[i];if(xc.test(e.type||"")&&!c._data(e,"globalEval")&&c.contains(h,e))e.src?c._evalUrl(e.src):c.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Dd,""))}}h=e=null}}return this}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(a){for(var e=0,f=[],g=c(a),h=g.length-1;e<=h;e++){a=e===h?this:this.clone(true);c(g[e])[b](a); Xa.apply(f,a.get())}return this.pushStack(f)}});c.extend({clone:function(a,b,d){var e,f,g,h,i,j=c.contains(a.ownerDocument,a);if(c.support.html5Clone||c.isXMLDoc(a)||!tc.test("<"+a.nodeName+">"))g=a.cloneNode(true);else{qb.innerHTML=a.outerHTML;qb.removeChild(g=qb.firstChild)}if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){e=x(g);i=x(a);for(h=0;(f=i[h])!=null;++h)if(e[h]){var l=e[h],m=void 0,k=void 0,n=void 0;if(l.nodeType===1){m=l.nodeName.toLowerCase(); if(!c.support.noCloneEvent&&l[c.expando]){n=c._data(l);for(k in n.events)c.removeEvent(l,k,n.handle);l.removeAttribute(c.expando)}if(m==="script"&&l.text!==f.text){Eb(l).text=f.text;Fb(l)}else if(m==="object"){if(l.parentNode)l.outerHTML=f.outerHTML;if(c.support.html5Clone&&f.innerHTML&&!c.trim(l.innerHTML))l.innerHTML=f.innerHTML}else if(m==="input"&&Ta.test(f.type)){l.defaultChecked=l.checked=f.checked;if(l.value!==f.value)l.value=f.value}else if(m==="option")l.defaultSelected=l.selected=f.defaultSelected; else if(m==="input"||m==="textarea")l.defaultValue=f.defaultValue}}}if(b)if(d){i=i||x(a);e=e||x(g);for(h=0;(f=i[h])!=null;h++)Gb(f,e[h])}else Gb(a,g);e=x(g,"script");e.length>0&&Sa(e,!j&&x(a,"script"));return g},buildFragment:function(a,b,d,e){for(var f,g,h,i,j,l,m=a.length,k=Bb(b),n=[],o=0;o<m;o++)if((g=a[o])||g===0)if(c.type(g)==="object")c.merge(n,g.nodeType?[g]:g);else if(Ad.test(g)){h=h||k.appendChild(b.createElement("div"));i=(vc.exec(g)||["",""])[1].toLowerCase();l=G[i]||G._default;h.innerHTML= l[1]+g.replace(uc,"<$1></$2>")+l[2];for(f=l[0];f--;)h=h.lastChild;!c.support.leadingWhitespace&&pb.test(g)&&n.push(b.createTextNode(pb.exec(g)[0]));if(!c.support.tbody)for(f=(g=i==="table"&&!wc.test(g)?h.firstChild:l[1]==="<table>"&&!wc.test(g)?h:0)&&g.childNodes.length;f--;)c.nodeName(j=g.childNodes[f],"tbody")&&!j.childNodes.length&&g.removeChild(j);c.merge(n,h.childNodes);for(h.textContent="";h.firstChild;)h.removeChild(h.firstChild);h=k.lastChild}else n.push(b.createTextNode(g));h&&k.removeChild(h); c.support.appendChecked||c.grep(x(n,"input"),Mc);for(o=0;g=n[o++];)if(!(e&&c.inArray(g,e)!==-1)){a=c.contains(g.ownerDocument,g);h=x(k.appendChild(g),"script");a&&Sa(h);if(d)for(f=0;g=h[f++];)xc.test(g.type||"")&&d.push(g)}return k},cleanData:function(a,b){for(var d,e,f,g,h=0,i=c.expando,j=c.cache,l=c.support.deleteExpando,m=c.event.special;(d=a[h])!=null;h++)if(b||c.acceptData(d))if(g=(f=d[i])&&j[f]){if(g.events)for(e in g.events)m[e]?c.event.remove(d,e):c.removeEvent(d,e,g.handle);if(j[f]){delete j[f]; l?delete d[i]:typeof d.removeAttribute!==M?d.removeAttribute(i):d[i]=null;ga.push(f)}}},_evalUrl:function(a){return c.ajax({url:a,type:"GET",dataType:"script",async:false,global:false,"throws":true})}});c.fn.extend({wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild; return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()}});var pa,X,Y,rb=/alpha\([^)]*\)/i,Ed=/opacity\s*=\s*([^)]*)/, Fd=/^(top|right|bottom|left)$/,Gd=/^(none|table(?!-c[ea]).+)/,yc=/^margin/,Nc=RegExp("^("+Aa+")(.*)$","i"),va=RegExp("^("+Aa+")(?!px)[a-z%]+$","i"),Hd=RegExp("^([+-])=("+Aa+")","i"),Ob={BODY:"block"},Id={position:"absolute",visibility:"hidden",display:"block"},zc={letterSpacing:0,fontWeight:400},W=["Top","Right","Bottom","Left"],Ib=["Webkit","O","Moz","ms"];c.fn.extend({css:function(a,b){return c.access(this,function(a,b,f){var g,h={},i=0;if(c.isArray(b)){g=X(a);for(f=b.length;i<f;i++)h[b[i]]=c.css(a, b[i],false,g);return h}return f!==void 0?c.style(a,b,f):c.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,true)},hide:function(){return Jb(this)},toggle:function(a){return typeof a==="boolean"?a?this.show():this.hide():this.each(function(){oa(this)?c(this).show():c(this).hide()})}});c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Y(a,"opacity");return c===""?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0, zIndex:!0,zoom:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var f,g,h,i=c.camelCase(b),j=a.style,b=c.cssProps[i]||(c.cssProps[i]=Hb(j,i));h=c.cssHooks[b]||c.cssHooks[i];if(d!==void 0){g=typeof d;if(g==="string"&&(f=Hd.exec(d))){d=(f[1]+1)*f[2]+parseFloat(c.css(a,b));g="number"}if(!(d==null||g==="number"&&isNaN(d))){g==="number"&&!c.cssNumber[i]&&(d=d+"px");!c.support.clearCloneStyle&&(d===""&&b.indexOf("background")=== 0)&&(j[b]="inherit");if(!h||!("set"in h)||(d=h.set(a,d,e))!==void 0)try{j[b]=d}catch(l){}}}else return h&&"get"in h&&(f=h.get(a,false,e))!==void 0?f:j[b]}},css:function(a,b,d,e){var f,g;g=c.camelCase(b);b=c.cssProps[g]||(c.cssProps[g]=Hb(a.style,g));(g=c.cssHooks[b]||c.cssHooks[g])&&"get"in g&&(f=g.get(a,true,d));f===void 0&&(f=Y(a,b,e));f==="normal"&&b in zc&&(f=zc[b]);if(d===""||d){a=parseFloat(f);return d===true||c.isNumeric(a)?a||0:f}return f}});q.getComputedStyle?(X=function(a){return q.getComputedStyle(a, null)},Y=function(a,b,d){var e,f=(d=d||X(a))?d.getPropertyValue(b)||d[b]:void 0,g=a.style;if(d){f===""&&!c.contains(a.ownerDocument,a)&&(f=c.style(a,b));if(va.test(f)&&yc.test(b)){a=g.width;b=g.minWidth;e=g.maxWidth;g.minWidth=g.maxWidth=g.width=f;f=d.width;g.width=a;g.minWidth=b;g.maxWidth=e}}return f}):p.documentElement.currentStyle&&(X=function(a){return a.currentStyle},Y=function(a,b,c){var e,f,g=(c=c||X(a))?c[b]:void 0,h=a.style;g==null&&(h&&h[b])&&(g=h[b]);if(va.test(g)&&!Fd.test(b)){c=h.left; if(f=(e=a.runtimeStyle)&&e.left)e.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":g;g=h.pixelLeft+"px";h.left=c;if(f)e.left=f}return g===""?"auto":g});c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,e,f){if(e)return a.offsetWidth===0&&Gd.test(c.css(a,"display"))?c.swap(a,Id,function(){return Nb(a,b,f)}):Nb(a,b,f)},set:function(a,e,f){var g=f&&X(a);return Lb(a,e,f?Mb(a,b,f,c.support.boxSizing&&c.css(a,"boxSizing",false,g)==="border-box",g):0)}}});c.support.opacity||(c.cssHooks.opacity= {get:function(a,b){return Ed.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var d=a.style,e=a.currentStyle,f=c.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=e&&e.filter||d.filter||"";d.zoom=1;if((b>=1||b==="")&&c.trim(g.replace(rb,""))===""&&d.removeAttribute){d.removeAttribute("filter");if(b===""||e&&!e.filter)return}d.filter=rb.test(g)?g.replace(rb,f):g+" "+f}});c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight= {get:function(a,b){if(b)return c.swap(a,{display:"inline-block"},Y,[a,"marginRight"])}};!c.support.pixelPosition&&c.fn.position&&c.each(["top","left"],function(a,b){c.cssHooks[b]={get:function(a,e){if(e){e=Y(a,b);return va.test(e)?c(a).position()[b]+"px":e}}}})});c.expr&&c.expr.filters&&(c.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!c.support.reliableHiddenOffsets&&(a.style&&a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}); c.each({margin:"",padding:"",border:"Width"},function(a,b){c.cssHooks[a+b]={expand:function(c){for(var e=0,f={},c=typeof c==="string"?c.split(" "):[c];e<4;e++)f[a+W[e]+b]=c[e]||c[e-2]||c[0];return f}};if(!yc.test(a))c.cssHooks[a+b].set=Lb});var Jd=/%20/g,Oc=/\[\]$/,Ac=/\r?\n/g,Kd=/^(?:submit|button|image|reset|file)$/i,Ld=/^(?:input|select|textarea|keygen)/i;c.fn.extend({serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=c.prop(this, "elements");return a?c.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!c(this).is(":disabled")&&Ld.test(this.nodeName)&&!Kd.test(a)&&(this.checked||!Ta.test(a))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a.replace(Ac,"\r\n")}}):{name:b.name,value:d.replace(Ac,"\r\n")}}).get()}});c.param=function(a,b){var d,e=[],f=function(a,b){b=c.isFunction(b)?b():b==null?"":b;e[e.length]=encodeURIComponent(a)+"="+ encodeURIComponent(b)};b===void 0&&(b=c.ajaxSettings&&c.ajaxSettings.traditional);if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){f(this.name,this.value)});else for(d in a)Ua(d,a[d],b,f);return e.join("&").replace(Jd,"+")};c.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(a,b){c.fn[b]=function(a,c){return arguments.length> 0?this.on(b,null,a,c):this.trigger(b)}});c.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,e){return this.on(b,a,c,e)},undelegate:function(a,b,c){return arguments.length===1?this.off(a,"**"):this.off(b,a||"**",c)}});var fa,V,sb=c.now(),tb=/\?/,Md=/#.*$/,Bc=/([?&])_=[^&]*/,Nd=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Od=/^(?:GET|HEAD)$/,Pd=/^\/\//,Cc=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, Dc=c.fn.load,Ec={},Va={},Fc="*/".concat("*");try{V=Qc.href}catch(Vd){V=p.createElement("a"),V.href="",V=V.href}fa=Cc.exec(V.toLowerCase())||[];c.fn.load=function(a,b,d){if(typeof a!=="string"&&Dc)return Dc.apply(this,arguments);var e,f,g,h=this,i=a.indexOf(" ");if(i>=0){e=a.slice(i,a.length);a=a.slice(0,i)}if(c.isFunction(b)){d=b;b=void 0}else b&&typeof b==="object"&&(g="POST");h.length>0&&c.ajax({url:a,type:g,dataType:"html",data:b}).done(function(a){f=arguments;h.html(e?c("<div>").append(c.parseHTML(a)).find(e): a)}).complete(d&&function(a,b){h.each(d,f||[a.responseText,b,a])});return this};c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.on(b,a)}});c.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:V,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(fa[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Fc,text:"text/plain", html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Wa(Wa(a,c.ajaxSettings),b):Wa(c.ajaxSettings,a)},ajaxPrefilter:Qb(Ec),ajaxTransport:Qb(Va),ajax:function(a,b){function d(a,b,d,e){var f, m,s,t;t=b;if(u!==2){u=2;i&&clearTimeout(i);l=void 0;h=e||"";w.readyState=a>0?4:0;e=a>=200&&a<300||a===304;if(d){s=k;for(var v=w,x,C,z,D,A=s.contents,B=s.dataTypes;B[0]==="*";){B.shift();C===void 0&&(C=s.mimeType||v.getResponseHeader("Content-Type"))}if(C)for(D in A)if(A[D]&&A[D].test(C)){B.unshift(D);break}if(B[0]in d)z=B[0];else{for(D in d){if(!B[0]||s.converters[D+" "+B[0]]){z=D;break}x||(x=D)}z=z||x}if(z){z!==B[0]&&B.unshift(z);s=d[z]}else s=void 0}a:{d=k;x=s;C=w;z=e;var G,I,F,v={},A=d.dataTypes.slice(); if(A[1])for(I in d.converters)v[I.toLowerCase()]=d.converters[I];for(D=A.shift();D;){d.responseFields[D]&&(C[d.responseFields[D]]=x);!F&&(z&&d.dataFilter)&&(x=d.dataFilter(x,d.dataType));F=D;if(D=A.shift())if(D==="*")D=F;else if(F!=="*"&&F!==D){I=v[F+" "+D]||v["* "+D];if(!I)for(G in v){s=G.split(" ");if(s[1]===D)if(I=v[F+" "+s[0]]||v["* "+s[0]]){if(I===true)I=v[G];else if(v[G]!==true){D=s[0];A.unshift(s[1])}break}}if(I!==true)if(I&&d["throws"])x=I(x);else try{x=I(x)}catch(H){s={state:"parsererror", error:I?H:"No conversion from "+F+" to "+D};break a}}}s={state:"success",data:x}}if(e){if(k.ifModified){(t=w.getResponseHeader("Last-Modified"))&&(c.lastModified[g]=t);(t=w.getResponseHeader("etag"))&&(c.etag[g]=t)}if(a===204||k.type==="HEAD")t="nocontent";else if(a===304)t="notmodified";else{t=s.state;f=s.data;m=s.error;e=!m}}else{m=t;if(a||!t){t="error";a<0&&(a=0)}}w.status=a;w.statusText=(b||t)+"";e?p.resolveWith(n,[f,t,w]):p.rejectWith(n,[w,t,m]);w.statusCode(q);q=void 0;j&&o.trigger(e?"ajaxSuccess": "ajaxError",[w,k,e?f:m]);r.fireWith(n,[w,t]);if(j){o.trigger("ajaxComplete",[w,k]);--c.active||c.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=void 0}var b=b||{},e,f,g,h,i,j,l,m,k=c.ajaxSetup({},b),n=k.context||k,o=k.context&&(n.nodeType||n.jquery)?c(n):c.event,p=c.Deferred(),r=c.Callbacks("once memory"),q=k.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(u===2){if(!m)for(m={};b=Nd.exec(h);)m[b[1].toLowerCase()]=b[2];b=m[a.toLowerCase()]}return b== null?null:b},getAllResponseHeaders:function(){return u===2?h:null},setRequestHeader:function(a,b){var c=a.toLowerCase();if(!u){a=t[c]=t[c]||a;s[a]=b}return this},overrideMimeType:function(a){if(!u)k.mimeType=a;return this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)q[b]=[q[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){a=a||v;l&&l.abort(a);d(0,a);return this}};p.promise(w).complete=r.add;w.success=w.done;w.error=w.fail;k.url=((a||k.url||V)+"").replace(Md,"").replace(Pd, fa[1]+"//");k.type=b.method||b.type||k.method||k.type;k.dataTypes=c.trim(k.dataType||"*").toLowerCase().match(N)||[""];if(k.crossDomain==null){e=Cc.exec(k.url.toLowerCase());k.crossDomain=!(!e||!(e[1]!==fa[1]||e[2]!==fa[2]||(e[3]||(e[1]==="http:"?"80":"443"))!==(fa[3]||(fa[1]==="http:"?"80":"443"))))}if(k.data&&k.processData&&typeof k.data!=="string")k.data=c.param(k.data,k.traditional);Rb(Ec,k,b,w);if(u===2)return w;(j=k.global)&&c.active++===0&&c.event.trigger("ajaxStart");k.type=k.type.toUpperCase(); k.hasContent=!Od.test(k.type);g=k.url;if(!k.hasContent){if(k.data){g=k.url=k.url+((tb.test(g)?"&":"?")+k.data);delete k.data}if(k.cache===false)k.url=Bc.test(g)?g.replace(Bc,"$1_="+sb++):g+(tb.test(g)?"&":"?")+"_="+sb++}if(k.ifModified){c.lastModified[g]&&w.setRequestHeader("If-Modified-Since",c.lastModified[g]);c.etag[g]&&w.setRequestHeader("If-None-Match",c.etag[g])}(k.data&&k.hasContent&&k.contentType!==false||b.contentType)&&w.setRequestHeader("Content-Type",k.contentType);w.setRequestHeader("Accept", k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+(k.dataTypes[0]!=="*"?", "+Fc+"; q=0.01":""):k.accepts["*"]);for(f in k.headers)w.setRequestHeader(f,k.headers[f]);if(k.beforeSend&&(k.beforeSend.call(n,w,k)===false||u===2))return w.abort();v="abort";for(f in{success:1,error:1,complete:1})w[f](k[f]);if(l=Rb(Va,k,b,w)){w.readyState=1;j&&o.trigger("ajaxSend",[w,k]);k.async&&k.timeout>0&&(i=setTimeout(function(){w.abort("timeout")},k.timeout));try{u=1;l.send(s,d)}catch(x){if(u<2)d(-1, x);else throw x;}}else d(-1,"No Transport");return w},getJSON:function(a,b,d){return c.get(a,b,d,"json")},getScript:function(a,b){return c.get(a,void 0,b,"script")}});c.each(["get","post"],function(a,b){c[b]=function(a,e,f,g){if(c.isFunction(e)){g=g||f;f=e;e=void 0}return c.ajax({url:a,type:b,dataType:g,data:e,success:f})}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){c.globalEval(a); return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===void 0)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=p.head||c("head")[0]||p.documentElement;return{send:function(c,f){b=p.createElement("script");b.async=true;if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(a,c){if(c||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;b.parentNode&& b.parentNode.removeChild(b);b=null;c||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){if(b)b.onload(void 0,true)}}}});var Gc=[],ub=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||c.expando+"_"+sb++;this[a]=true;return a}});c.ajaxPrefilter("json jsonp",function(a,b,d){var e,f,g,h=a.jsonp!==false&&(ub.test(a.url)?"url":typeof a.data==="string"&&!(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&ub.test(a.data)&&"data");if(h|| a.dataTypes[0]==="jsonp"){e=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback;if(h)a[h]=a[h].replace(ub,"$1"+e);else if(a.jsonp!==false)a.url=a.url+((tb.test(a.url)?"&":"?")+a.jsonp+"="+e);a.converters["script json"]=function(){g||c.error(e+" was not called");return g[0]};a.dataTypes[0]="json";f=q[e];q[e]=function(){g=arguments};d.always(function(){q[e]=f;if(a[e]){a.jsonpCallback=b.jsonpCallback;Gc.push(e)}g&&c.isFunction(f)&&f(g[0]);g=f=void 0});return"script"}});var na, ta,Qd=0,vb=q.ActiveXObject&&function(){for(var a in na)na[a](void 0,true)};c.ajaxSettings.xhr=q.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&Sb()))a:{try{a=new q.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:Sb;ta=c.ajaxSettings.xhr();c.support.cors=!!ta&&"withCredentials"in ta;(ta=c.support.ajax=!!ta)&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f,g,h=a.xhr();a.username?h.open(a.type,a.url,a.async,a.username, a.password):h.open(a.type,a.url,a.async);if(a.xhrFields)for(g in a.xhrFields)h[g]=a.xhrFields[g];a.mimeType&&h.overrideMimeType&&h.overrideMimeType(a.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(g in d)h.setRequestHeader(g,d[g])}catch(i){}h.send(a.hasContent&&a.data||null);b=function(d,g){var i,k,n,o;try{if(b&&(g||h.readyState===4)){b=void 0;if(f){h.onreadystatechange=c.noop;vb&&delete na[f]}if(g)h.readyState!==4&&h.abort();else{o={};i=h.status; k=h.getAllResponseHeaders();if(typeof h.responseText==="string")o.text=h.responseText;try{n=h.statusText}catch(p){n=""}!i&&a.isLocal&&!a.crossDomain?i=o.text?200:404:i===1223&&(i=204)}}}catch(q){g||e(-1,q)}o&&e(i,n,o,k)};if(a.async)if(h.readyState===4)setTimeout(b);else{f=++Qd;if(vb){if(!na){na={};c(q).unload(vb)}na[f]=b}h.onreadystatechange=b}else b()},abort:function(){b&&b(void 0,true)}}}});var ia,Oa,Rd=/^(?:toggle|show|hide)$/,Hc=RegExp("^(?:([+-])=|)("+Aa+")([a-z%]*)$","i"),Sd=/queueHooks$/,wa= [function(a,b,d){var e,f,g,h,i,j=this,l={},m=a.style,k=a.nodeType&&oa(a),n=c._data(a,"fxshow");if(!d.queue){h=c._queueHooks(a,"fx");if(h.unqueued==null){h.unqueued=0;i=h.empty.fire;h.empty.fire=function(){h.unqueued||i()}}h.unqueued++;j.always(function(){j.always(function(){h.unqueued--;c.queue(a,"fx").length||h.empty.fire()})})}if(a.nodeType===1&&("height"in b||"width"in b)){d.overflow=[m.overflow,m.overflowX,m.overflowY];if(c.css(a,"display")==="inline"&&c.css(a,"float")==="none")!c.support.inlineBlockNeedsLayout|| Kb(a.nodeName)==="inline"?m.display="inline-block":m.zoom=1}if(d.overflow){m.overflow="hidden";c.support.shrinkWrapBlocks||j.always(function(){m.overflow=d.overflow[0];m.overflowX=d.overflow[1];m.overflowY=d.overflow[2]})}for(e in b){f=b[e];if(Rd.exec(f)){delete b[e];g=g||f==="toggle";if(f!==(k?"hide":"show"))l[e]=n&&n[e]||c.style(a,e)}}if(!c.isEmptyObject(l)){if(n){if("hidden"in n)k=n.hidden}else n=c._data(a,"fxshow",{});if(g)n.hidden=!k;k?c(a).show():j.done(function(){c(a).hide()});j.done(function(){var b; c._removeData(a,"fxshow");for(b in l)c.style(a,b,l[b])});for(e in l){b=Ub(k?n[e]:0,e,j);if(!(e in n)){n[e]=b.start;if(k){b.end=b.start;b.start=e==="width"||e==="height"?1:0}}}}}],qa={"*":[function(a,b){var d=this.createTween(a,b),e=d.cur(),f=Hc.exec(b),g=f&&f[3]||(c.cssNumber[a]?"":"px"),h=(c.cssNumber[a]||g!=="px"&&+e)&&Hc.exec(c.css(d.elem,a)),i=1,j=20;if(h&&h[3]!==g){g=g||h[3];f=f||[];h=+e||1;do{i=i||".5";h=h/i;c.style(d.elem,a,h+g)}while(i!==(i=d.cur()/e)&&i!==1&&--j)}if(f){h=d.start=+h||+e|| 0;d.unit=g;d.end=f[1]?h+(f[1]+1)*f[2]:+f[2]}return d}]};c.Animation=c.extend(Vb,{tweener:function(a,b){if(c.isFunction(a)){b=a;a=["*"]}else a=a.split(" ");for(var d,e=0,f=a.length;e<f;e++){d=a[e];qa[d]=qa[d]||[];qa[d].unshift(b)}},prefilter:function(a,b){b?wa.unshift(a):wa.push(a)}});c.Tween=A;A.prototype={constructor:A,init:function(a,b,d,e,f,g){this.elem=a;this.prop=d;this.easing=f||"swing";this.options=b;this.start=this.now=this.cur();this.end=e;this.unit=g||(c.cssNumber[d]?"":"px")},cur:function(){var a= A.propHooks[this.prop];return a&&a.get?a.get(this):A.propHooks._default.get(this)},run:function(a){var b,d=A.propHooks[this.prop];this.pos=this.options.duration?b=c.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);d&&d.set?d.set(this):A.propHooks._default.set(this);return this}};A.prototype.init.prototype=A.prototype;A.propHooks={_default:{get:function(a){if(a.elem[a.prop]!= null&&(!a.elem.style||a.elem.style[a.prop]==null))return a.elem[a.prop];a=c.css(a.elem,a.prop,"");return!a||a==="auto"?0:a},set:function(a){if(c.fx.step[a.prop])c.fx.step[a.prop](a);else a.elem.style&&(a.elem.style[c.cssProps[a.prop]]!=null||c.cssHooks[a.prop])?c.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(a){if(a.elem.nodeType&&a.elem.parentNode)a.elem[a.prop]=a.now}};c.each(["toggle","show","hide"],function(a,b){var d=c.fn[b]; c.fn[b]=function(a,c,g){return a==null||typeof a==="boolean"?d.apply(this,arguments):this.animate(xa(b,true),a,c,g)}});c.fn.extend({fadeTo:function(a,b,c,e){return this.filter(oa).css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,d,e){var f=c.isEmptyObject(a),g=c.speed(b,d,e),b=function(){var b=Vb(this,c.extend({},a),g);(f||c._data(this,"finish"))&&b.stop(true)};b.finish=b;return f||g.queue===false?this.each(b):this.queue(g.queue,b)},stop:function(a,b,d){var e=function(a){var b= a.stop;delete a.stop;b(d)};if(typeof a!=="string"){d=b;b=a;a=void 0}b&&a!==false&&this.queue(a||"fx",[]);return this.each(function(){var b=true,g=a!=null&&a+"queueHooks",h=c.timers,i=c._data(this);if(g)i[g]&&i[g].stop&&e(i[g]);else for(g in i)i[g]&&(i[g].stop&&Sd.test(g))&&e(i[g]);for(g=h.length;g--;)if(h[g].elem===this&&(a==null||h[g].queue===a)){h[g].anim.stop(d);b=false;h.splice(g,1)}(b||!d)&&c.dequeue(this,a)})},finish:function(a){a!==false&&(a=a||"fx");return this.each(function(){var b,d=c._data(this), e=d[a+"queue"];b=d[a+"queueHooks"];var f=c.timers,g=e?e.length:0;d.finish=true;c.queue(this,a,[]);b&&b.stop&&b.stop.call(this,true);for(b=f.length;b--;)if(f[b].elem===this&&f[b].queue===a){f[b].anim.stop(true);f.splice(b,1)}for(b=0;b<g;b++)e[b]&&e[b].finish&&e[b].finish.call(this);delete d.finish})}});c.each({slideDown:xa("show"),slideUp:xa("hide"),slideToggle:xa("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,f){return this.animate(b, a,c,f)}});c.speed=function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(){c.isFunction(e.old)&&e.old.call(this);e.queue&&c.dequeue(this,e.queue)};return e};c.easing={linear:function(a){return a}, swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};c.timers=[];c.fx=A.prototype.init;c.fx.tick=function(){var a,b=c.timers,d=0;for(ia=c.now();d<b.length;d++){a=b[d];!a()&&b[d]===a&&b.splice(d--,1)}b.length||c.fx.stop();ia=void 0};c.fx.timer=function(a){a()&&c.timers.push(a)&&c.fx.start()};c.fx.interval=13;c.fx.start=function(){Oa||(Oa=setInterval(c.fx.tick,c.fx.interval))};c.fx.stop=function(){clearInterval(Oa);Oa=null};c.fx.speeds={slow:600,fast:200,_default:400};c.fx.step={};c.expr&&c.expr.filters&& (c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length});c.fn.offset=function(a){if(arguments.length)return a===void 0?this:this.each(function(b){c.offset.setOffset(this,a,b)});var b,d,e={top:0,left:0},f=(d=this[0])&&d.ownerDocument;if(f){b=f.documentElement;if(!c.contains(b,d))return e;typeof d.getBoundingClientRect!==M&&(e=d.getBoundingClientRect());d=Wb(f);return{top:e.top+(d.pageYOffset||b.scrollTop)-(b.clientTop||0),left:e.left+(d.pageXOffset||b.scrollLeft)- (b.clientLeft||0)}}};c.offset={setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),g=f.offset(),h=c.css(a,"top"),i=c.css(a,"left"),j={},l={};if((e==="absolute"||e==="fixed")&&c.inArray("auto",[h,i])>-1){l=f.position();e=l.top;i=l.left}else{e=parseFloat(h)||0;i=parseFloat(i)||0}c.isFunction(b)&&(b=b.call(a,d,g));if(b.top!=null)j.top=b.top-g.top+e;if(b.left!=null)j.left=b.left-g.left+i;"using"in b?b.using.call(a,j):f.css(j)}};c.fn.extend({position:function(){if(this[0]){var a, b,d={top:0,left:0},e=this[0];if(c.css(e,"position")==="fixed")b=e.getBoundingClientRect();else{a=this.offsetParent();b=this.offset();c.nodeName(a[0],"html")||(d=a.offset());d.top=d.top+c.css(a[0],"borderTopWidth",true);d.left=d.left+c.css(a[0],"borderLeftWidth",true)}return{top:b.top-d.top-c.css(e,"marginTop",true),left:b.left-d.left-c.css(e,"marginLeft",true)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||Yb;a&&!c.nodeName(a,"html")&&c.css(a,"position")==="static";)a= a.offsetParent;return a||Yb})}});c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var d=/Y/.test(b);c.fn[a]=function(e){return c.access(this,function(a,e,h){var i=Wb(a);if(h===void 0)return i?b in i?i[b]:i.document.documentElement[e]:a[e];i?i.scrollTo(!d?h:c(i).scrollLeft(),d?h:c(i).scrollTop()):a[e]=h},a,e,arguments.length,null)}});c.each({Height:"height",Width:"width"},function(a,b){c.each({padding:"inner"+a,content:b,"":"outer"+a},function(d,e){c.fn[e]=function(e,g){var h= arguments.length&&(d||typeof e!=="boolean"),i=d||(e===true||g===true?"margin":"border");return c.access(this,function(b,d,e){if(c.isWindow(b))return b.document.documentElement["client"+a];if(b.nodeType===9){d=b.documentElement;return Math.max(b.body["scroll"+a],d["scroll"+a],b.body["offset"+a],d["offset"+a],d["client"+a])}return e===void 0?c.css(b,d,i):c.style(b,d,e,i)},b,h?e:void 0,h,null)}})});c.fn.size=function(){return this.length};c.fn.andSelf=c.fn.addBack;"object"===typeof module&&module&&"object"=== typeof module.exports?module.exports=c:(q.jQuery=q.$=c,"function"===typeof define&&define.amd&&define("jquery",[],function(){return c}))})(window);; ;/* module-key = 'com.atlassian.plugins.jquery:jquery', location = '/jquery-migrate.js' */ (function(a,j){function g(b){var c=j.console;l[b]||(l[b]=!0,a.migrateWarnings.push(b),c&&(c.warn&&!a.migrateMute)&&(c.warn("JQMIGRATE: "+b),a.migrateTrace&&c.trace&&c.trace()))}function m(b,c,d,e){if(Object.defineProperty)try{Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){g(e);return d},set:function(a){g(e);d=a}});return}catch(f){}a._definePropertyBroken=!0;b[c]=d}var l={};a.migrateWarnings=[];!a.migrateMute&&(j.console&&j.console.log)&&j.console.log("JQMIGRATE: Logging is active"); void 0===a.migrateTrace&&(a.migrateTrace=!0);a.migrateReset=function(){l={};a.migrateWarnings.length=0};"BackCompat"===document.compatMode&&g("jQuery is not compatible with Quirks Mode");var n=a("<input/>",{size:1}).attr("size")&&a.attrFn,o=a.attr,v=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},w=a.attrHooks.value&&a.attrHooks.value.set||function(){},x=/^(?:input|button)$/i,y=/^[238]$/,z=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, A=/^(?:checked|selected)$/i;m(a,"attrFn",n||{},"jQuery.attrFn is deprecated");a.attr=function(b,c,d,e){var f=c.toLowerCase(),h=b&&b.nodeType;if(e){o.length<4&&g("jQuery.fn.attr( props, pass ) is deprecated");if(b&&!y.test(h)&&(n?c in n:a.isFunction(a.fn[c])))return a(b)[c](d)}c==="type"&&(d!==void 0&&x.test(b.nodeName)&&b.parentNode)&&g("Can't change the 'type' of an input or button in IE 6/7/8");if(!a.attrHooks[f]&&z.test(f)){a.attrHooks[f]={get:function(b,c){var d,e=a.prop(b,c);return e===true|| typeof e!=="boolean"&&(d=b.getAttributeNode(c))&&d.nodeValue!==false?c.toLowerCase():void 0},set:function(b,c,d){if(c===false)a.removeAttr(b,d);else{c=a.propFix[d]||d;c in b&&(b[c]=true);b.setAttribute(d,d.toLowerCase())}return d}};A.test(f)&&g("jQuery.fn.attr('"+f+"') may use property instead of attribute")}return o.call(a,b,c,d)};a.attrHooks.value={get:function(b,a){var d=(b.nodeName||"").toLowerCase();if(d==="button")return v.apply(this,arguments);d!=="input"&&d!=="option"&&g("jQuery.fn.attr('value') no longer gets properties"); return a in b?b.value:null},set:function(a,c){var d=(a.nodeName||"").toLowerCase();if(d==="button")return w.apply(this,arguments);d!=="input"&&d!=="option"&&g("jQuery.fn.attr('value', val) no longer sets properties");a.value=c}};var k,i,p=a.fn.init,B=a.parseJSON,C=/^([^<]*)(<[\w\W]+>)([^>]*)$/;a.fn.init=function(b,c,d){var e;if(b&&typeof b==="string"&&!a.isPlainObject(c)&&(e=C.exec(a.trim(b)))&&e[0]){b.charAt(0)!=="<"&&g("$(html) HTML strings must start with '<' character");e[3]&&g("$(html) HTML text after last tag is ignored"); if(e[0].charAt(0)==="#"){g("HTML string cannot start with a '#' character");a.error("JQMIGRATE: Invalid selector string (XSS)")}if(c&&c.context)c=c.context;if(a.parseHTML)return p.call(this,a.parseHTML(e[2],c,true),c,d)}return p.apply(this,arguments)};a.fn.init.prototype=a.fn;a.parseJSON=function(a){if(!a&&a!==null){g("jQuery.parseJSON requires a valid JSON string");return null}return B.apply(this,arguments)};a.uaMatch=function(a){a=a.toLowerCase();a=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)|| /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}};a.browser||(k=a.uaMatch(navigator.userAgent),i={},k.browser&&(i[k.browser]=!0,i.version=k.version),i.chrome?i.webkit=!0:i.webkit&&(i.safari=!0),a.browser=i);m(a,"browser",a.browser,"jQuery.browser is deprecated");a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(true,b,this);b.superclass=this;b.fn= b.prototype=this();b.fn.constructor=b;b.sub=this.sub;b.fn.init=function(d,e){e&&(e instanceof a&&!(e instanceof b))&&(e=b(e));return a.fn.init.call(this,d,e,c)};b.fn.init.prototype=b.fn;var c=b(document);g("jQuery.sub() is deprecated");return b};a.ajaxSetup({converters:{"text json":a.parseJSON}});var D=a.fn.data;a.fn.data=function(b){var c,d;if((d=this[0])&&b==="events"&&arguments.length===1){c=a.data(d,b);d=a._data(d,b);if((c===void 0||c===d)&&d!==void 0){g("Use of jQuery.fn.data('events') is deprecated"); return d}}return D.apply(this,arguments)};var E=/\/(java|ecma)script/i,F=a.fn.andSelf||a.fn.addBack;a.fn.andSelf=function(){g("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()");return F.apply(this,arguments)};a.clean||(a.clean=function(b,c,d,e){c=c||document;c=!c.nodeType&&c[0]||c;c=c.ownerDocument||c;g("jQuery.clean() is deprecated");var f,h=[];a.merge(h,a.buildFragment(b,c).childNodes);if(d){c=function(a){if(!a.type||E.test(a.type))return e?e.push(a.parentNode?a.parentNode.removeChild(a):a): d.appendChild(a)};for(b=0;(f=h[b])!=null;b++)if(!a.nodeName(f,"script")||!c(f)){d.appendChild(f);if(typeof f.getElementsByTagName!=="undefined"){f=a.grep(a.merge([],f.getElementsByTagName("script")),c);h.splice.apply(h,[b+1,0].concat(f));b=b+f.length}}}return h});var G=a.event.add,H=a.event.remove,I=a.event.trigger,J=a.fn.toggle,q=a.fn.live,r=a.fn.die,s=/\b(?:ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess)\b/,t=/(?:^|\s)hover(\.\S+|)\b/,u=function(b){if(typeof b!=="string"||a.event.special.hover)return b; t.test(b)&&g("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'");return b&&b.replace(t,"mouseenter$1 mouseleave$1")};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement");a.event.dispatch&&m(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated");a.event.add=function(a,c,d,e,f){a!==document&&s.test(c)&&g("AJAX events should be attached to document: "+c);G.call(this,a,u(c||""),d,e,f)}; a.event.remove=function(a,c,d,e,f){H.call(this,a,u(c)||"",d,e,f)};a.fn.error=function(){var a=Array.prototype.slice.call(arguments,0);g("jQuery.fn.error() is deprecated");a.splice(0,0,"error");if(arguments.length)return this.bind.apply(this,a);this.triggerHandler.apply(this,a);return this};a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return J.apply(this,arguments);g("jQuery.fn.toggle(handler, handler...) is deprecated");var d=arguments,e=b.guid||a.guid++,f=0,h=function(c){var e= (a._data(this,"lastToggle"+b.guid)||0)%f;a._data(this,"lastToggle"+b.guid,e+1);c.preventDefault();return d[e].apply(this,arguments)||false};for(h.guid=e;f<d.length;)d[f++].guid=e;return this.click(h)};a.fn.live=function(b,c,d){g("jQuery.fn.live() is deprecated");if(q)return q.apply(this,arguments);a(this.context).on(b,this.selector,c,d);return this};a.fn.die=function(b,c){g("jQuery.fn.die() is deprecated");if(r)return r.apply(this,arguments);a(this.context).off(b,this.selector||"**",c);return this}; a.event.trigger=function(a,c,d,e){!d&&!s.test(a)&&g("Global events are undocumented and deprecated");return I.call(this,a,c,d||document,e)};a.each("ajaxStart ajaxStop ajaxSend ajaxComplete ajaxError ajaxSuccess".split(" "),function(b,c){a.event.special[c]={setup:function(){var b=this;if(b!==document){a.event.add(document,c+"."+a.guid,function(){a.event.trigger(c,null,b,true)});a._data(this,c,a.guid++)}return false},teardown:function(){this!==document&&a.event.remove(document,c+"."+a._data(this,c)); return false}}})})(jQuery,window);; ;/* module-key = 'com.atlassian.auiplugin:jquery-compatibility', location = 'js-vendor/jquery/jquery-compatibility.js' */ jQuery.noConflict();; ;/* module-key = 'com.atlassian.auiplugin:aui-deprecation', location = 'js/aui/internal/console.js' */ window.AJS=window.AJS||{};(function(){if(typeof window.console==="undefined"){window.console={messages:[],log:function(B){this.messages.push(B)},show:function(){alert(this.messages.join("\n"));this.messages=[]}}}else{window.console.show=function(){}}function A(B){return function(){if(typeof console!=="undefined"&&console[B]){Function.prototype.apply.call(console[B],console,arguments)}}}AJS.log=A("log");AJS.warn=A("warn");AJS.error=A("error")})();; ;/* module-key = 'com.atlassian.auiplugin:aui-deprecation', location = 'js/aui/internal/deprecation.js' */ window.AJS=window.AJS||{};window.AJS.deprecate={};(function(G,F){var N=Object.prototype.hasOwnProperty;var B=Object.prototype.toString;function J(O){O+="";if(!O){return""}return O.charAt(0).toUpperCase()+O.substring(1)}var H=[];function M(O,P){if(typeof O==="function"){return O}var Q=false;P=P||{};return function(R){var T=F.__getDeprecatedLocation(R?R:1)||"";if(!Q||H.indexOf(T)===-1){Q=true;var S="DEPRECATED - "+J(O)+" has been deprecated"+(P.sinceVersion?" since "+P.sinceVersion:"")+" and will be removed in "+(P.removeInVersion||"a future release")+".";if(P.alternativeName){S+=" Use "+P.alternativeName+" instead. "}if(P.extraInfo){S+=" "+P.extraInfo}if(T===""){F.__logger(S+" \n No stack trace of the deprecated usage is available in your current browser.")}else{F.__logger(S+" \n "+T)}H.push(T)}}}F.__logger=function(){return AJS.warn.apply(undefined,arguments)};F.__getDeprecatedLocation=function(P){var Q=new Error();var O=Q.stack||Q.stacktrace;var R=(O&&O.replace(/^Error\n/,""))||"";if(R){R=R.split("\n");return R[P+2]}return R};function D(R,P,Q){var O=M(P||R.name||"this function",Q);return function(){O();return R.apply(this,arguments)}}function L(Q,O,P){var R=D(Q,O,P);R.prototype=Q.prototype;G.extend(R,Q);return R}var E=false;try{if(Object.defineProperty){Object.defineProperty({},"blam",{get:function(){},set:function(){}});E=true}}catch(I){}function K(R,T,Q){if(E){var P=R[T];Q=Q||{};var S=Q.displayName||T;var O=M(S,Q);Object.defineProperty(R,T,{get:function(){O();return P},set:function(U){P=U;O();return U}})}else{}}function A(P,R,O){if(typeof P[R]==="function"){O=O||{};var Q=O.displayName||R;P[R]=D(P[R],Q,O)}else{K(P,R,O)}}function C(R,P,Q){Q=Q||{};for(var O in R){if(N.call(R,O)){Q.displayName=P+O;Q.alternativeName=Q.alternativeNamePrefix&&(Q.alternativeNamePrefix+O);A(R,O,G.extend({},Q))}}}F.fn=D;F.construct=L;F.prop=A;F.obj=C;F.propertyDeprecationSupported=E;F.getMessageLogger=M})(jQuery||Zepto,window.AJS.deprecate);; ;/* module-key = 'com.atlassian.auiplugin:aui-core', location = '/js/polyfills/custom-event.js' */ (function(){if(window.CustomEvent){try{new A()}catch(B){return }}function A(D,E){E=E||{bubbles:false,cancelable:false,detail:undefined};var C=document.createEvent("CustomEvent");C.initCustomEvent(D,E.bubbles,E.cancelable,E.detail);return C}A.prototype=window.Event.prototype;window.CustomEvent=A}());; ;/* module-key = 'com.atlassian.auiplugin:aui-core', location = 'skate/dist/skate.js' */ (function(){function D(s,r){if(W(s,r.id+".initialised")){return }Z(s,r.id+".initialised",true);A(s,r,function(){l(s,r)})}function A(u,t,r){var s=/^[^(]+\([^,)]+,/;r=r||function(){};if(W(u,t.id+".ready-called")){return r()}Z(u,t.id+".ready-called",true);if(t.template){t.template(u)}S(u,t.prototype);Y(u,t);if(t.ready&&s.test(t.ready)){t.ready(u,r)}else{if(t.ready){t.ready(u);r()}else{r()}}}function l(s,r){if(!s.parentNode){return }if(W(s,r.id+".insert-called")){return }Z(s,r.id+".insert-called",true);b(s,r.classname);if(r.insert){r.insert(s)}H(s,r)}function E(s,r){if(W(s,r.id+".remove-called")){return }Z(s,r.id+".remove-called",true);if(r.remove){r.remove(s)}}function H(y,v){function x(AB,AA,AC,z){var AD;if(v.attributes&&v.attributes[AA]&&typeof v.attributes[AA][AB]==="function"){AD=v.attributes[AA][AB]}else{if(v.attributes&&typeof v.attributes[AA]==="function"){AD=v.attributes[AA]}else{if(typeof v.attributes==="function"){AD=v.attributes}}}if(AD){AD(y,{type:AB,name:AA,newValue:AC,oldValue:z})}}var u=y.attributes;var w=u.length;var t=new d(function(z){z.forEach(function(AB){var AD;var AC=AB.attributeName;var AA=u[AC];if(AA&&AB.oldValue===null){AD="insert"}else{if(AA&&AB.oldValue!==null){AD="update"}else{if(!AA){AD="remove"}}}x(AD,AC,AA?(AA.value||AA.nodeValue):undefined,AB.oldValue)})});t.observe(y,{attributes:true,attributeOldValue:true});for(var s=0;s<w;s++){var r=u[s];if(r){x("insert",r.nodeName,(r.value||r.nodeValue))}}}function Y(t,s){if(typeof s.events!=="object"){return }function r(v,u){return function(w){if(!u||G.call(w.target,u)){v(t,w)}}}f(s.events,function(w,v){var u=i(v);t.addEventListener(u.name,r(w,u.delegate))})}function i(s){var r=s.split(" ");return{name:r.shift(),delegate:r.join(" ")}}function W(s,r){if(s.__SKATE_DATA){return s.__SKATE_DATA[r]}}function Z(s,r,t){if(!s.__SKATE_DATA){s.__SKATE_DATA={}}s.__SKATE_DATA[r]=t}function b(r,s){if(r.classList){r.classList.add(s)}else{r.className+=r.className?" "+s:s}}function F(s){var t=s.classList;if(t){return t}var r=s.attributes;return(r["class"]&&r["class"].nodeValue.split(/\s+/))||[]}function S(s,r){f(r,function(u,t){if(s[t]===undefined){s[t]=u}});return s}function I(s,r){return Object.prototype.hasOwnProperty.call(s,r)}function f(t,s){for(var r in t){if(I(t,r)){s(t[r],r)}}}function L(r){function s(){var t=document.createElement(r.id);r.prototype=s.prototype;A(t,r);return t}s.prototype=r.prototype;return s}function V(r){var s=r;while(s&&s!==document){if(s.hasAttribute(q)){return s}s=s.parentNode}}function U(x,t,v){var u=t.indexOf(O.types.TAG)>-1;var r=t.indexOf(O.types.ATTR)>-1;var w=t.indexOf(O.types.CLASS)>-1;var s=[];v=v?":not("+v+")":"";if(u){s.push(x+v);s.push("[is="+x+"]"+v)}if(r){s.push("["+x+"]"+v)}if(w){s.push("."+x+v)}return s.join(",")}function p(s,r){return I(o,s)&&o[s].type.indexOf(r)>-1}function n(v,r){if(r){var x=v.querySelectorAll(r);var t=x.length;var u=[];for(var s=0;s<t;s++){var w=x[s];if(w.parentNode===v){u.push(w)}}return u}return v.childNodes||[]}function m(t){var s={caption:"table",dd:"dl",dt:"dl",li:"ul",tbody:"table",td:"tr",thead:"table",tr:"tbody"};var r=t.match(/\s*<([^\s>]+)/);var v=document.createDocumentFragment();var u=document.createElement(r&&s[r[1]]||"div");u.innerHTML=t;c(v,u.childNodes);return v}function c(w,u){var s=u.length;if(u&&s){for(var t=s-1;t>=0;t--){var v=u[t];var r=w.childNodes[0];if(r){w.insertBefore(v,r)}else{w.appendChild(v)}}}}function Q(u,t){var r=t.length;if(t&&r){for(var s=0;s<r;s++){var v=t[s];u.removeChild(v)}}}function e(r,s){if(r.nodeType!==1){return false}return r.contains?r.contains(s):B.call(r,s)}function k(v){if(v.nodeType!==1||v.attributes[q]){return }var r=document.createTreeWalker(v,NodeFilter.SHOW_ELEMENT,M,true);var y=O.components(v);var s=y.length;for(var x=0;x<s;x++){D(v,y[x])}while(r.nextNode()){var t=r.currentNode;var u=O.components(t);var z=u.length;for(var w=0;w<z;w++){D(t,u[w])}}}function a(t){var r=t.length;for(var s=0;s<r;s++){k(t[s])}}function P(u){var r=u.length;for(var s=0;s<r;s++){var t=u[s];if(t.nodeType!==1){continue}var v=t.childNodes;P(v);O.components(t).forEach(K(t))}}function K(r){return function(s){E(r,s)}}function J(r){var s=false;return function(){if(!s){s=true;setTimeout(function(){s=false;r()},1)}}}function M(s){var r=s.attributes;return r&&r[q]?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}var X=J(function(){k(document.getElementsByTagName("html")[0])});var N="data-skate-content";var q="data-skate-ignore";var R=/^[\s\r\n]*$/;var C=window.HTMLElement.prototype;var B=C.contains;var G=(C.matches||C.msMatchesSelector||C.webkitMatchesSelector||C.mozMatchesSelector||C.oMatchesSelector);var j;var T=false;var h=document.createElement("style");var o={};var d=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver;if(!d){d=function(r){this.callback=r;this.elements=[]};d.prototype={observe:function(y,AG){function s(AH){AF.push(AH);r()}function AE(AJ){var AI=AJ.target;if(!AI){return }var AH=AI.parentNode;if(!z(AH)){return }if(AD&&e(AD,AI)){return }if(!AB){AA.push(AB=g(AH))}if(AH){if(!AB.addedNodes){AB.addedNodes=[]}AB.addedNodes.push(AI)}else{if(!AB.removedNodes){AB.removedNodes=[]}AB.removedNodes.push(AI)}AD=AI}function x(AH){return AH===y}function z(AH){return AG.childList&&(AG.subtree||AH===y)}var v=this;var AD;var AB;var AF=[];var AA=[];var r=J(function(){var AH=AF.length;for(var AI=0;AI<AH;AI++){AE(AF[AI])}v.callback(AA);AF=[];AA=[];AD=undefined;AB=undefined});var AC={};var u=[];var w=J(function(){var AH=u.length;v.callback(u);u.splice(0,AH)});var t={target:y,options:AG,insertHandler:s,removeHandler:s,attributeHandler:function(AM){var AK=AM.target;if(!x(AK)){return }var AI=AM.attrName;var AJ=AM.prevValue;var AL=AM.newValue;var AH=g(AK,"attributes");AH.attributeName=AI;if(AG.attributeOldValue){AH.oldValue=AC[AI]||AJ||null}u.push(AH);if(AG.attributeOldValue){AC[AI]=AL}w()}};this.elements.push(t);if(AG.childList){y.addEventListener("DOMNodeInserted",t.insertHandler);y.addEventListener("DOMNodeRemoved",t.removeHandler)}if(AG.attributes){y.addEventListener("DOMAttrModified",t.attributeHandler)}return this},disconnect:function(){f(this.elements,function(r){r.target.removeEventListener("DOMNodeInserted",r.insertHandler);r.target.removeEventListener("DOMNodeRemoved",r.removeHandler);r.target.removeEventListener("DOMAttrModified",r.attributeHandler)});this.elements=[];return this}}}function g(s,r){return{addedNodes:null,attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:null,target:s,type:r||"childList"}}function O(s,r){r=S(r||{},O.defaults);r.id=s;if(I(o,r.id)){throw new Error('A component of type "'+r.type+'" with the ID of "'+s+'" already exists.')}if(r.template&&typeof r.template==="string"){r.template=O.template.html(r.template)}if(r.ready||r.template){h.sheet.insertRule(U(r.id,r.type,"."+r.classname)+"{display:none}",h.sheet.cssRules.length)}o[r.id]=r;if(T){X()}if(r.type.indexOf(O.types.TAG)>-1){return L(r)}}O.components=function(u){var AB=u.attributes;var AA=AB.length;var v=[];var s=AB.is;var AC=s&&(s.value||s.nodeValue)||u.tagName.toLowerCase();if(p(AC,O.types.TAG)){v.push(o[AC])}for(var z=0;z<AA;z++){var w=AB[z].nodeName;if(p(w,O.types.ATTR)){v.push(o[w])}}var r=F(u);var t=r.length;for(var y=0;y<t;y++){var x=r[y];if(p(x,O.types.CLASS)){v.push(o[x])}}return v};O.destroy=function(){o={};return O};O.init=function(r){if(typeof r.length==="undefined"){r=[r]}a(r);return arguments[0]};O.template={};O.template.html=function(u){var s=m(u);var t=false;var r=new d(function(w){if(t){t=false;return }t=true;for(var v=0;v<w.length;v++){var x=w[v];var z=x.target;var y=W(z,"default-content");if(x.addedNodes){Q(z,y)}if(x.removedNodes&&z.innerHTML.match(R)){z.innerHTML="";c(z,y)}}});return function(y){var AB=m(y.innerHTML);var w=s.cloneNode(true);var AA=w.querySelectorAll("["+N+"]");var AC=AA.length;if(AC){for(var x=0;x<AC;x++){var v=AA[x];var z=n(AB,v.getAttribute(N));Z(v,"default-content",[].slice.call(v.childNodes));if(z.length){v.innerHTML="";c(v,z)}r.observe(v,{childList:true})}}y.innerHTML="";y.appendChild(w)}};O.types={ANY:"act",ATTR:"a",CLASS:"c",NOATTR:"ct",NOCLASS:"at",NOTAG:"ac",TAG:"t"};O.unregister=function(r){delete o[r];return O};O.version="0.9.2";O.defaults={attributes:false,classname:"__skate",events:false,id:"",prototype:{},template:false,type:O.types.ANY};document.getElementsByTagName("head")[0].appendChild(h);document.addEventListener("DOMContentLoaded",function(){X();j=new d(function(t){var w=t.length;for(var s=0;s<w;s++){var u=t[s];var v=u.addedNodes;var r=u.removedNodes;if(v&&v.length&&!V(v[0].parentNode)){a(v)}if(r&&r.length){P(r)}}});j.observe(document,{childList:true,subtree:true});T=true});window.skate=O;if(typeof define==="function"&&define.amd){define("aui/internal/skate",[],function(){return O})}else{if(typeof exports==="object"){module.exports=O}}})();; ;/* module-key = 'com.atlassian.auiplugin:aui-core', location = 'tether/tether.js' */ /* tether 0.6.5 */ (function(A){(function(){var O,G,C,U,S,P,E,H,T,R,L,B,Q,I,F,M,J,K={}.hasOwnProperty,D=[].indexOf||function(X){for(var W=0,V=this.length;W<V;W++){if(W in this&&this[W]===X){return W}}return -1},N=[].slice;if(this.Tether==null){this.Tether={modules:[]}}L=function(Y){var X,V,b,W,Z;V=getComputedStyle(Y).position;if(V==="fixed"){return Y}b=void 0;X=Y;while(X=X.parentNode){try{W=getComputedStyle(X)}catch(a){}if(W==null){return X}if(/(auto|scroll)/.test(W.overflow+W["overflow-y"]+W["overflow-x"])){if(V!=="absolute"||((Z=W.position)==="relative"||Z==="absolute"||Z==="fixed")){return X}}}return document.body};F=(function(){var V;V=0;return function(){return V++}})();J={};T=function(Z){var a,W,X,V,Y;X=Z._tetherZeroElement;if(X==null){X=Z.createElement("div");X.setAttribute("data-tether-id",F());S(X.style,{top:0,left:0,position:"absolute"});Z.body.appendChild(X);Z._tetherZeroElement=X}a=X.getAttribute("data-tether-id");if(J[a]==null){J[a]={};Y=X.getBoundingClientRect();for(W in Y){V=Y[W];J[a][W]=V}C(function(){return J[a]=void 0})}return J[a]};Q=null;E=function(Y){var Z,b,c,X,W,V,a;if(Y===document){b=document;Y=document.documentElement}else{b=Y.ownerDocument}c=b.documentElement;Z={};a=Y.getBoundingClientRect();for(X in a){V=a[X];Z[X]=V}W=T(b);Z.top-=W.top;Z.left-=W.left;if(Z.width==null){Z.width=document.body.scrollWidth-Z.left-Z.right}if(Z.height==null){Z.height=document.body.scrollHeight-Z.top-Z.bottom}Z.top=Z.top-c.clientTop;Z.left=Z.left-c.clientLeft;Z.right=b.body.clientWidth-Z.width-Z.left;Z.bottom=b.body.clientHeight-Z.height-Z.top;return Z};H=function(V){return V.offsetParent||document.documentElement};R=function(){var W,X,Y,Z,V;W=document.createElement("div");W.style.width="100%";W.style.height="200px";X=document.createElement("div");S(X.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"});X.appendChild(W);document.body.appendChild(X);Z=W.offsetWidth;X.style.overflow="scroll";V=W.offsetWidth;if(Z===V){V=X.clientWidth}document.body.removeChild(X);Y=Z-V;return{width:Y,height:Y}};S=function(X){var W,Y,b,c,a,V,Z;if(X==null){X={}}W=[];Array.prototype.push.apply(W,arguments);Z=W.slice(1);for(a=0,V=Z.length;a<V;a++){b=Z[a];if(b){for(Y in b){if(!K.call(b,Y)){continue}c=b[Y];X[Y]=c}}}return X};I=function(Z,Y){var X,b,W,a,V;if(Z.classList!=null){a=Y.split(" ");V=[];for(b=0,W=a.length;b<W;b++){X=a[b];if(X.trim()){V.push(Z.classList.remove(X))}}return V}else{return Z.className=Z.className.replace(new RegExp("(^| )"+(Y.split(" ").join("|"))+"( |$)","gi")," ")}};G=function(Z,Y){var X,b,W,a,V;if(Z.classList!=null){a=Y.split(" ");V=[];for(b=0,W=a.length;b<W;b++){X=a[b];if(X.trim()){V.push(Z.classList.add(X))}}return V}else{I(Z,Y);return Z.className+=" "+Y}};B=function(W,V){if(W.classList!=null){return W.classList.contains(V)}else{return new RegExp("(^| )"+V+"( |$)","gi").test(W.className)}};M=function(W,c,b){var d,Z,Y,a,V,X;for(Z=0,a=b.length;Z<a;Z++){d=b[Z];if(D.call(c,d)<0){if(B(W,d)){I(W,d)}}}X=[];for(Y=0,V=c.length;Y<V;Y++){d=c[Y];if(!B(W,d)){X.push(G(W,d))}else{X.push(void 0)}}return X};U=[];C=function(V){return U.push(V)};P=function(){var W,V;V=[];while(W=U.pop()){V.push(W())}return V};O=(function(){function V(){}V.prototype.on=function(a,Z,W,Y){var X;if(Y==null){Y=false}if(this.bindings==null){this.bindings={}}if((X=this.bindings)[a]==null){X[a]=[]}return this.bindings[a].push({handler:Z,ctx:W,once:Y})};V.prototype.once=function(Y,X,W){return this.on(Y,X,W,true)};V.prototype.off=function(Z,Y){var X,a,W;if(((a=this.bindings)!=null?a[Z]:void 0)==null){return }if(Y==null){return delete this.bindings[Z]}else{X=0;W=[];while(X<this.bindings[Z].length){if(this.bindings[Z][X].handler===Y){W.push(this.bindings[Z].splice(X,1))}else{W.push(X++)}}return W}};V.prototype.trigger=function(){var c,e,W,d,b,X,a,Z,Y;W=arguments[0],c=2<=arguments.length?N.call(arguments,1):[];if((a=this.bindings)!=null?a[W]:void 0){b=0;Y=[];while(b<this.bindings[W].length){Z=this.bindings[W][b],d=Z.handler,e=Z.ctx,X=Z.once;d.apply(e!=null?e:this,c);if(X){Y.push(this.bindings[W].splice(b,1))}else{Y.push(b++)}}return Y}};return V})();this.Tether.Utils={getScrollParent:L,getBounds:E,getOffsetParent:H,extend:S,addClass:G,removeClass:I,hasClass:B,updateClasses:M,defer:C,flush:P,uniqueId:F,Evented:O,getScrollBarSize:R}}).call(this);(function(){var Z,a,d,H,K,c,e,I,D,b,X,G,M,P,Y,Q,C,B,L,N,T,f,O,E,S,R,W,V,J,U=[].slice,F=function(g,h){return function(){return g.apply(h,arguments)}};if(this.Tether==null){throw new Error("You must include the utils.js file before tether.js")}H=this.Tether;J=H.Utils,Q=J.getScrollParent,C=J.getSize,P=J.getOuterSize,G=J.getBounds,M=J.getOffsetParent,b=J.extend,K=J.addClass,O=J.removeClass,R=J.updateClasses,D=J.defer,X=J.flush,Y=J.getScrollBarSize;W=function(h,g,i){if(i==null){i=1}return(h+i>=g&&g>=h-i)};S=(function(){var j,i,k,h,g;j=document.createElement("div");g=["transform","webkitTransform","OTransform","MozTransform","msTransform"];for(k=0,h=g.length;k<h;k++){i=g[k];if(j.style[i]!==void 0){return i}}})();E=[];f=function(){var h,i,g;for(i=0,g=E.length;i<g;i++){h=E[i];h.position(false)}return X()};B=function(){var g;return(g=typeof performance!=="undefined"&&performance!==null?typeof performance.now==="function"?performance.now():void 0:void 0)!=null?g:+(new Date)};(function(){var g,o,m,h,l,k,n,j,i;o=null;m=null;h=null;l=function(){if((m!=null)&&m>16){m=Math.min(m-16,250);h=setTimeout(l,250);return }if((o!=null)&&(B()-o)<10){return }if(h!=null){clearTimeout(h);h=null}o=B();f();return m=B()-o};j=["resize","scroll","touchmove"];i=[];for(k=0,n=j.length;k<n;k++){g=j[k];i.push(window.addEventListener(g,l))}return i})();Z={center:"center",left:"right",right:"left"};a={middle:"middle",top:"bottom",bottom:"top"};d={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"};I=function(j,g){var i,h;i=j.left,h=j.top;if(i==="auto"){i=Z[g.left]}if(h==="auto"){h=a[g.top]}return{left:i,top:h}};e=function(h){var g,i;return{left:(g=d[h.left])!=null?g:h.left,top:(i=d[h.top])!=null?i:h.top}};c=function(){var m,j,i,l,k,h,g;j=1<=arguments.length?U.call(arguments,0):[];i={top:0,left:0};for(k=0,h=j.length;k<h;k++){g=j[k],l=g.top,m=g.left;if(typeof l==="string"){l=parseFloat(l,10)}if(typeof m==="string"){m=parseFloat(m,10)}i.top+=l;i.left+=m}return i};L=function(h,g){if(typeof h.left==="string"&&h.left.indexOf("%")!==-1){h.left=parseFloat(h.left,10)/100*g.width}if(typeof h.top==="string"&&h.top.indexOf("%")!==-1){h.top=parseFloat(h.top,10)/100*g.height}return h};N=T=function(h){var j,i,g;g=h.split(" "),i=g[0],j=g[1];return{top:i,left:j}};V=(function(){g.modules=[];function g(j){this.position=F(this.position,this);var k,l,i,h,m;E.push(this);this.history=[];this.setOptions(j,false);h=H.modules;for(l=0,i=h.length;l<i;l++){k=h[l];if((m=k.initialize)!=null){m.call(this)}}this.position()}g.prototype.getClass=function(i){var h,j;if((h=this.options.classes)!=null?h[i]:void 0){return this.options.classes[i]}else{if(((j=this.options.classes)!=null?j[i]:void 0)!==false){if(this.options.classPrefix){return""+this.options.classPrefix+"-"+i}else{return i}}else{return""}}};g.prototype.setOptions=function(k,i){var n,l,m,j,h,o;this.options=k;if(i==null){i=true}n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=b(n,this.options);h=this.options,this.element=h.element,this.target=h.target,this.targetModifier=h.targetModifier;if(this.target==="viewport"){this.target=document.body;this.targetModifier="visible"}else{if(this.target==="scroll-handle"){this.target=document.body;this.targetModifier="scroll-handle"}}o=["element","target"];for(m=0,j=o.length;m<j;m++){l=o[m];if(this[l]==null){throw new Error("Tether Error: Both element and target must be defined")}if(this[l].jquery!=null){this[l]=this[l][0]}else{if(typeof this[l]==="string"){this[l]=document.querySelector(this[l])}}}K(this.element,this.getClass("element"));K(this.target,this.getClass("target"));if(!this.options.attachment){throw new Error("Tether Error: You must provide an attachment")}this.targetAttachment=N(this.options.targetAttachment);this.attachment=N(this.options.attachment);this.offset=T(this.options.offset);this.targetOffset=T(this.options.targetOffset);if(this.scrollParent!=null){this.disable()}if(this.targetModifier==="scroll-handle"){this.scrollParent=this.target}else{this.scrollParent=Q(this.target)}if(this.options.enabled!==false){return this.enable(i)}};g.prototype.getTargetBounds=function(){var h,n,k,p,l,j,o,i,m;if(this.targetModifier!=null){switch(this.targetModifier){case"visible":if(this.target===document.body){return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}}else{h=G(this.target);l={height:h.height,width:h.width,top:h.top,left:h.left};l.height=Math.min(l.height,h.height-(pageYOffset-h.top));l.height=Math.min(l.height,h.height-((h.top+h.height)-(pageYOffset+innerHeight)));l.height=Math.min(innerHeight,l.height);l.height-=2;l.width=Math.min(l.width,h.width-(pageXOffset-h.left));l.width=Math.min(l.width,h.width-((h.left+h.width)-(pageXOffset+innerWidth)));l.width=Math.min(innerWidth,l.width);l.width-=2;if(l.top<pageYOffset){l.top=pageYOffset}if(l.left<pageXOffset){l.left=pageXOffset}return l}break;case"scroll-handle":m=this.target;if(m===document.body){m=document.documentElement;h={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}}else{h=G(m)}i=getComputedStyle(m);k=m.scrollWidth>m.clientWidth||"scroll"===[i.overflow,i.overflowX]||this.target!==document.body;j=0;if(k){j=15}p=h.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-j;l={width:15,height:p*0.975*(p/m.scrollHeight),left:h.left+h.width-parseFloat(i.borderLeftWidth)-15};n=0;if(p<408&&this.target===document.body){n=-0.00011*Math.pow(p,2)-0.00727*p+22.58}if(this.target!==document.body){l.height=Math.max(l.height,24)}o=this.target.scrollTop/(m.scrollHeight-p);l.top=o*(p-l.height-n)+h.top+parseFloat(i.borderTopWidth);if(this.target===document.body){l.height=Math.max(l.height,24)}return l}}else{return G(this.target)}};g.prototype.clearCache=function(){return this._cache={}};g.prototype.cache=function(i,h){if(this._cache==null){this._cache={}}if(this._cache[i]==null){this._cache[i]=h.call(this)}return this._cache[i]};g.prototype.enable=function(h){if(h==null){h=true}K(this.target,this.getClass("enabled"));K(this.element,this.getClass("enabled"));this.enabled=true;if(this.scrollParent!==document){this.scrollParent.addEventListener("scroll",this.position)}if(h){return this.position()}};g.prototype.disable=function(){O(this.target,this.getClass("enabled"));O(this.element,this.getClass("enabled"));this.enabled=false;if(this.scrollParent!=null){return this.scrollParent.removeEventListener("scroll",this.position)}};g.prototype.destroy=function(){var l,k,m,j,h;this.disable();h=[];for(l=m=0,j=E.length;m<j;l=++m){k=E[l];if(k===this){E.splice(l,1);break}else{h.push(void 0)}}return h};g.prototype.updateAttachClasses=function(k,i){var s,r,p,j,n,m,q,h,l,o=this;if(k==null){k=this.attachment}if(i==null){i=this.targetAttachment}j=["left","top","bottom","right","middle","center"];if((l=this._addAttachClasses)!=null?l.length:void 0){this._addAttachClasses.splice(0,this._addAttachClasses.length)}s=this._addAttachClasses!=null?this._addAttachClasses:this._addAttachClasses=[];if(k.top){s.push(""+(this.getClass("element-attached"))+"-"+k.top)}if(k.left){s.push(""+(this.getClass("element-attached"))+"-"+k.left)}if(i.top){s.push(""+(this.getClass("target-attached"))+"-"+i.top)}if(i.left){s.push(""+(this.getClass("target-attached"))+"-"+i.left)}r=[];for(n=0,q=j.length;n<q;n++){p=j[n];r.push(""+(this.getClass("element-attached"))+"-"+p)}for(m=0,h=j.length;m<h;m++){p=j[m];r.push(""+(this.getClass("target-attached"))+"-"+p)}return D(function(){if(o._addAttachClasses==null){return }R(o.element,o._addAttachClasses,r);R(o.target,o._addAttachClasses,r);return o._addAttachClasses=void 0})};g.prototype.position=function(AP){var o,AI,k,p,AN,AH,l,m,AL,AG,AF,z,AA,u,AJ,AE,AR,AD,AB,i,AM,AK,j,q,h,AQ,AO,AC,r,y,x,w,v,t,s,n=this;if(AP==null){AP=true}if(!this.enabled){return }this.clearCache();i=I(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,i);o=this.cache("element-bounds",function(){return G(n.element)});h=o.width,k=o.height;if(h===0&&k===0&&(this.lastSize!=null)){y=this.lastSize,h=y.width,k=y.height}else{this.lastSize={width:h,height:k}}j=AK=this.cache("target-bounds",function(){return n.getTargetBounds()});AL=L(e(this.attachment),{width:h,height:k});AM=L(e(i),j);AN=L(this.offset,{width:h,height:k});AH=L(this.targetOffset,j);AL=c(AL,AN);AM=c(AM,AH);p=AK.left+AM.left-AL.left;q=AK.top+AM.top-AL.top;x=H.modules;for(AQ=0,AC=x.length;AQ<AC;AQ++){l=x[AQ];AJ=l.position.call(this,{left:p,top:q,targetAttachment:i,targetPos:AK,attachment:this.attachment,elementPos:o,offset:AL,targetOffset:AM,manualOffset:AN,manualTargetOffset:AH,scrollbarSize:AD});if((AJ==null)||typeof AJ!=="object"){continue}else{if(AJ===false){return false}else{q=AJ.top,p=AJ.left}}}m={page:{top:q,left:p},viewport:{top:q-pageYOffset,bottom:pageYOffset-q-k+innerHeight,left:p-pageXOffset,right:pageXOffset-p-h+innerWidth}};if(document.body.scrollWidth>window.innerWidth){AD=this.cache("scrollbar-size",Y);m.viewport.bottom-=AD.height}if(document.body.scrollHeight>window.innerHeight){AD=this.cache("scrollbar-size",Y);m.viewport.right-=AD.width}if(((w=document.body.style.position)!==""&&w!=="static")||((v=document.body.parentElement.style.position)!==""&&v!=="static")){m.page.bottom=document.body.scrollHeight-q-k;m.page.right=document.body.scrollWidth-p-h}if(((t=this.options.optimizations)!=null?t.moveElement:void 0)!==false&&(this.targetModifier==null)){AF=this.cache("target-offsetparent",function(){return M(n.target)});u=this.cache("target-offsetparent-bounds",function(){return G(AF)});AA=getComputedStyle(AF);AI=getComputedStyle(this.element);z=u;AG={};s=["Top","Left","Bottom","Right"];for(AO=0,r=s.length;AO<r;AO++){AB=s[AO];AG[AB.toLowerCase()]=parseFloat(AA["border"+AB+"Width"])}u.right=document.body.scrollWidth-u.left-z.width+AG.right;u.bottom=document.body.scrollHeight-u.top-z.height+AG.bottom;if(m.page.top>=(u.top+AG.top)&&m.page.bottom>=u.bottom){if(m.page.left>=(u.left+AG.left)&&m.page.right>=u.right){AR=AF.scrollTop;AE=AF.scrollLeft;m.offset={top:m.page.top-u.top+AR-AG.top,left:m.page.left-u.left+AE-AG.left}}}}this.move(m);this.history.unshift(m);if(this.history.length>3){this.history.pop()}if(AP){X()}return true};g.prototype.move=function(x){var n,s,o,y,m,h,r,u,q,l,z,v,p,i,w,k,j,t=this;if(this.element.parentNode==null){return }u={};for(l in x){u[l]={};for(y in x[l]){o=false;k=this.history;for(i=0,w=k.length;i<w;i++){r=k[i];if(!W((j=r[l])!=null?j[y]:void 0,x[l][y])){o=true;break}}if(!o){u[l][y]=true}}}n={top:"",left:"",right:"",bottom:""};q=function(AE,AD){var AC,AA,AB;if(((AB=t.options.optimizations)!=null?AB.gpu:void 0)!==false){if(AE.top){n.top=0;AA=AD.top}else{n.bottom=0;AA=-AD.bottom}if(AE.left){n.left=0;AC=AD.left}else{n.right=0;AC=-AD.right}n[S]="translateX("+(Math.round(AC))+"px) translateY("+(Math.round(AA))+"px)";if(S!=="msTransform"){return n[S]+=" translateZ(0)"}}else{if(AE.top){n.top=""+AD.top+"px"}else{n.bottom=""+AD.bottom+"px"}if(AE.left){return n.left=""+AD.left+"px"}else{return n.right=""+AD.right+"px"}}};m=false;if((u.page.top||u.page.bottom)&&(u.page.left||u.page.right)){n.position="absolute";q(u.page,x.page)}else{if((u.viewport.top||u.viewport.bottom)&&(u.viewport.left||u.viewport.right)){n.position="fixed";q(u.viewport,x.viewport)}else{if((u.offset!=null)&&u.offset.top&&u.offset.left){n.position="absolute";h=this.cache("target-offsetparent",function(){return M(t.target)});if(M(this.element)!==h){D(function(){t.element.parentNode.removeChild(t.element);return h.appendChild(t.element)})}q(u.offset,x.offset);m=true}else{n.position="absolute";q({top:true,left:true},x.page)}}}if(!m&&this.element.parentNode.tagName!=="BODY"){this.element.parentNode.removeChild(this.element);document.body.appendChild(this.element)}p={};v=false;for(y in n){z=n[y];s=this.element.style[y];if(s!==""&&z!==""&&(y==="top"||y==="left"||y==="bottom"||y==="right")){s=parseFloat(s);z=parseFloat(z)}if(s!==z){v=true;p[y]=n[y]}}if(v){return D(function(){return b(t.element.style,p)})}};return g})();H.position=f;this.Tether=b(V,H)}).call(this);(function(){var F,C,B,H,J,G,I,L,E,D,K=[].indexOf||function(O){for(var N=0,M=this.length;N<M;N++){if(N in this&&this[N]===O){return N}}return -1};D=this.Tether.Utils,I=D.getOuterSize,G=D.getBounds,L=D.getSize,H=D.extend,E=D.updateClasses,B=D.defer;C={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle"};F=["left","top","right","bottom"];J=function(M,T){var P,R,Q,U,N,O,S;if(T==="scrollParent"){T=M.scrollParent}else{if(T==="window"){T=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]}}if(T===document){T=T.documentElement}if(T.nodeType!=null){R=U=G(T);N=getComputedStyle(T);T=[R.left,R.top,U.width+R.left,U.height+R.top];for(P=O=0,S=F.length;O<S;P=++O){Q=F[P];Q=Q[0].toUpperCase()+Q.substr(1);if(Q==="Top"||Q==="Left"){T[P]+=parseFloat(N["border"+Q+"Width"])}else{T[P]-=parseFloat(N["border"+Q+"Width"])}}}return T};this.Tether.modules.push({position:function(t){var x,y,r,w,Z,X,R,AI,AH,P,U,AF,u,z,v,s,Q,l,n,q,N,T,O,m,AJ,V,M,AG,AE,AD,AC,o,d,b,a,Y,W,AB,AA,k,j,i,h,g,f,e,c,S=this;V=t.top,U=t.left,N=t.targetAttachment;if(!this.options.constraints){return true}l=function(AN){var AL,AM,AK,p;S.removeClass(AN);p=[];for(AM=0,AK=F.length;AM<AK;AM++){AL=F[AM];p.push(S.removeClass(""+AN+"-"+AL))}return p};k=this.cache("element-bounds",function(){return G(S.element)}),P=k.height,M=k.width;if(M===0&&P===0&&(this.lastSize!=null)){j=this.lastSize,M=j.width,P=j.height}O=this.cache("target-bounds",function(){return S.getTargetBounds()});T=O.height;m=O.width;q={};AH={};y=[this.getClass("pinned"),this.getClass("out-of-bounds")];i=this.options.constraints;for(AG=0,o=i.length;AG<o;AG++){AI=i[AG];if(AI.outOfBoundsClass){y.push(AI.outOfBoundsClass)}if(AI.pinnedClass){y.push(AI.pinnedClass)}}for(AE=0,d=y.length;AE<d;AE++){R=y[AE];h=["left","top","right","bottom"];for(AD=0,b=h.length;AD<b;AD++){n=h[AD];y.push(""+R+"-"+n)}}x=[];q=H({},N);AH=H({},this.attachment);g=this.options.constraints;for(AC=0,a=g.length;AC<a;AC++){AI=g[AC];AJ=AI.to,r=AI.attachment,v=AI.pin;if(r==null){r=""}if(K.call(r," ")>=0){f=r.split(" "),X=f[0],Z=f[1]}else{Z=X=r}w=J(this,AJ);if(X==="target"||X==="both"){if(V<w[1]&&q.top==="top"){V+=T;q.top="bottom"}if(V+P>w[3]&&q.top==="bottom"){V-=T;q.top="top"}}if(X==="together"){if(V<w[1]&&q.top==="top"){if(AH.top==="bottom"){V+=T;q.top="bottom";V+=P;AH.top="top"}else{if(AH.top==="top"){V+=T;q.top="bottom";V-=P;AH.top="bottom"}}}if(V+P>w[3]&&q.top==="bottom"){if(AH.top==="top"){V-=T;q.top="top";V-=P;AH.top="bottom"}else{if(AH.top==="bottom"){V-=T;q.top="top";V+=P;AH.top="top"}}}if(q.top==="middle"){if(V+P>w[3]&&AH.top==="top"){V-=P;AH.top="bottom"}else{if(V<w[1]&&AH.top==="bottom"){V+=P;AH.top="top"}}}}if(Z==="target"||Z==="both"){if(U<w[0]&&q.left==="left"){U+=m;q.left="right"}if(U+M>w[2]&&q.left==="right"){U-=m;q.left="left"}}if(Z==="together"){if(U<w[0]&&q.left==="left"){if(AH.left==="right"){U+=m;q.left="right";U+=M;AH.left="left"}else{if(AH.left==="left"){U+=m;q.left="right";U-=M;AH.left="right"}}}else{if(U+M>w[2]&&q.left==="right"){if(AH.left==="left"){U-=m;q.left="left";U-=M;AH.left="right"}else{if(AH.left==="right"){U-=m;q.left="left";U+=M;AH.left="left"}}}else{if(q.left==="center"){if(U+M>w[2]&&AH.left==="left"){U-=M;AH.left="right"}else{if(U<w[0]&&AH.left==="right"){U+=M;AH.left="left"}}}}}}if(X==="element"||X==="both"){if(V<w[1]&&AH.top==="bottom"){V+=P;AH.top="top"}if(V+P>w[3]&&AH.top==="top"){V-=P;AH.top="bottom"}}if(Z==="element"||Z==="both"){if(U<w[0]&&AH.left==="right"){U+=M;AH.left="left"}if(U+M>w[2]&&AH.left==="left"){U-=M;AH.left="right"}}if(typeof v==="string"){v=(function(){var AM,AK,AL,p;AL=v.split(",");p=[];for(AK=0,AM=AL.length;AK<AM;AK++){z=AL[AK];p.push(z.trim())}return p})()}else{if(v===true){v=["top","left","right","bottom"]}}v||(v=[]);s=[];AF=[];if(V<w[1]){if(K.call(v,"top")>=0){V=w[1];s.push("top")}else{AF.push("top")}}if(V+P>w[3]){if(K.call(v,"bottom")>=0){V=w[3]-P;s.push("bottom")}else{AF.push("bottom")}}if(U<w[0]){if(K.call(v,"left")>=0){U=w[0];s.push("left")}else{AF.push("left")}}if(U+M>w[2]){if(K.call(v,"right")>=0){U=w[2]-M;s.push("right")}else{AF.push("right")}}if(s.length){Q=(e=this.options.pinnedClass)!=null?e:this.getClass("pinned");x.push(Q);for(AB=0,Y=s.length;AB<Y;AB++){n=s[AB];x.push(""+Q+"-"+n)}}if(AF.length){u=(c=this.options.outOfBoundsClass)!=null?c:this.getClass("out-of-bounds");x.push(u);for(AA=0,W=AF.length;AA<W;AA++){n=AF[AA];x.push(""+u+"-"+n)}}if(K.call(s,"left")>=0||K.call(s,"right")>=0){AH.left=q.left=false}if(K.call(s,"top")>=0||K.call(s,"bottom")>=0){AH.top=q.top=false}if(q.top!==N.top||q.left!==N.left||AH.top!==this.attachment.top||AH.left!==this.attachment.left){this.updateAttachClasses(AH,q)}}B(function(){E(S.target,x,y);return E(S.element,x,y)});return{top:V,left:U}}})}).call(this);(function(){var E,C,B,D;D=this.Tether.Utils,C=D.getBounds,B=D.updateClasses,E=D.defer;this.Tether.modules.push({position:function(T){var V,P,f,S,W,R,a,L,Z,Q,U,X,M,J,H,F,c,e,d,b,O,N,K,I,G,Y=this;U=T.top,R=T.left;O=this.cache("element-bounds",function(){return C(Y.element)}),W=O.height,X=O.width;Q=this.getTargetBounds();S=U+W;a=R+X;V=[];if(U<=Q.bottom&&S>=Q.top){N=["left","right"];for(M=0,c=N.length;M<c;M++){L=N[M];if((K=Q[L])===R||K===a){V.push(L)}}}if(R<=Q.right&&a>=Q.left){I=["top","bottom"];for(J=0,e=I.length;J<e;J++){L=I[J];if((G=Q[L])===U||G===S){V.push(L)}}}f=[];P=[];Z=["left","top","right","bottom"];f.push(this.getClass("abutted"));for(H=0,d=Z.length;H<d;H++){L=Z[H];f.push(""+(this.getClass("abutted"))+"-"+L)}if(V.length){P.push(this.getClass("abutted"))}for(F=0,b=V.length;F<b;F++){L=V[F];P.push(""+(this.getClass("abutted"))+"-"+L)}E(function(){B(Y.target,P,f);return B(Y.element,P,f)});return true}})}).call(this);(function(){this.Tether.modules.push({position:function(D){var H,B,C,I,G,F,E;F=D.top,H=D.left;if(!this.options.shift){return }B=function(J){if(typeof J==="function"){return J.call(this,{top:F,left:H})}else{return J}};C=B(this.options.shift);if(typeof C==="string"){C=C.split(" ");C[1]||(C[1]=C[0]);G=C[0],I=C[1];G=parseFloat(G,10);I=parseFloat(I,10)}else{E=[C.top,C.left],G=E[0],I=E[1]}F+=G;H+=I;return{top:F,left:H}}})}).call(this);A.Tether=this.Tether;if(typeof define==="function"){define("aui/internal/tether",[],function(){return A.Tether})}}(this));; ;/* module-key = 'com.atlassian.auiplugin:aui-core', location = 'js/aui.js' */ /* Atlassian UI and the Atlassian Design Guidelines are created by Atlassian. See https://developer.atlassian.com/display/AUI/ for API documentation and https://developer.atlassian.com/design/ for license details. */ (function(){if(!window.jQuery&&!window.Zepto){throw new Error("either jQuery or Zepto is required for AJS to function.")}window.AJS=(function(){var F=[];var A;var E;var H=0;function D(L){var K={"<":"<",">":">","&":"&","'":"'","`":"`"};if(typeof K[L]==="string"){return K[L]}return"""}var I=/[&"'<>`]/g;var G={version:"5.7.19",params:{},$:window.jQuery||window.Zepto,preventDefault:function(K){K.preventDefault()},stopEvent:function(K){K.stopPropagation();return false},include:function(K){if(!this.contains(F,K)){F.push(K);var L=document.createElement("script");L.src=K;this.$("body").append(L)}},toggleClassName:function(K,L){if(!(K=this.$(K))){return }K.toggleClass(L)},setVisible:function(L,K){if(!(L=this.$(L))){return }var M=this.$;M(L).each(function(){var N=M(this).hasClass("hidden");if(N&&K){M(this).removeClass("hidden")}else{if(!N&&!K){M(this).addClass("hidden")}}})},setCurrent:function(K,L){if(!(K=this.$(K))){return }if(L){K.addClass("current")}else{K.removeClass("current")}},isVisible:function(K){return !this.$(K).hasClass("hidden")},isClipped:function(K){K=AJS.$(K);return(K.prop("scrollWidth")>K.prop("clientWidth"))},populateParameters:function(L){if(!L){L=this.params}var K=this;this.$(".parameters input").each(function(){var M=this.value,N=this.title||this.id;if(K.$(this).hasClass("list")){if(L[N]){L[N].push(M)}else{L[N]=[M]}}else{L[N]=(M.match(/^(tru|fals)e$/i)?M.toLowerCase()==="true":M)}})},toInit:function(L){var K=this;this.$(function(){try{L.apply(this,arguments)}catch(M){K.log("Failed to run init function: "+M+"\n"+L.toString())}});return this},indexOf:function(O,N,L){var M=O.length;if(!L){L=0}else{if(L<0){L=Math.max(0,M+L)}}for(var K=L;K<M;K++){if(O[K]===N){return K}}return -1},contains:function(L,K){return this.indexOf(L,K)>-1},firebug:function(){var K=this.$(document.createElement("script"));K.attr("src","https://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js");this.$("head").append(K);(function(){if(window.firebug){firebug.init()}else{setTimeout(AJS.firebug,0)}})()},clone:function(K){return AJS.$(K).clone().removeAttr("id")},alphanum:function(R,Q){R=(R+"").toLowerCase();Q=(Q+"").toLowerCase();var M=/(\d+|\D+)/g;var N=R.match(M);var K=Q.match(M);var P=Math.max(N.length,K.length);for(var L=0;L<P;L++){if(L===N.length){return -1}if(L===K.length){return 1}var S=parseInt(N[L],10)+"";var O=parseInt(K[L],10)+"";if(S===N[L]&&O===K[L]&&S!==O){return(S-O)/Math.abs(S-O)}if((S!==N[L]||O!==K[L])&&N[L]!==K[L]){return N[L]<K[L]?-1:1}}return 0},onTextResize:function(L){if(typeof L==="function"){if(AJS.onTextResize["on-text-resize"]){AJS.onTextResize["on-text-resize"].push(function(M){L(M)})}else{var K=AJS("div");K.css({width:"1em",height:"1em",position:"absolute",top:"-9999em",left:"-9999em"});this.$("body").append(K);K.size=K.width();setInterval(function(){if(K.size!==K.width()){K.size=K.width();for(var M=0,N=AJS.onTextResize["on-text-resize"].length;M<N;M++){AJS.onTextResize["on-text-resize"][M](K.size)}}},0);AJS.onTextResize.em=K;AJS.onTextResize["on-text-resize"]=[function(M){L(M)}]}}},unbindTextResize:function(M){for(var K=0,L=AJS.onTextResize["on-text-resize"].length;K<L;K++){if(AJS.onTextResize["on-text-resize"][K]===M){return AJS.onTextResize["on-text-resize"].splice(K,1)}}},escape:function(K){return escape(K).replace(/%u\w{4}/gi,function(L){return unescape(L)})},escapeHtml:function(K){return K.replace(I,D)},filterBySearch:function(O,T,U){if(!T){return[]}var M=this.$;var R=(U&&U.keywordsField)||"keywords";var Q=(U&&U.ignoreForCamelCase)?"i":"";var N=(U&&U.matchBoundary)?"\\b":"";var L=(U&&U.splitRegex)||(/\s+/);var P=T.split(L);var K=[];P.forEach(function(X){var W=[new RegExp(N+X,"i")];if(/^([A-Z][a-z]*) {2,}$/.test(this)){var V=this.replace(/([A-Z][a-z]*)/g,"\\b$1[^,]*");W.push(new RegExp(V,Q))}K.push(W)});var S=[];O.forEach(function(Y){for(var X=0;X<K.length;X++){var V=false;for(var W=0;W<K[X].length;W++){if(K[X][W].test(Y[R])){V=true;break}}if(!V){return }}S.push(Y)});return S},drawLogo:function(T){var M=T.scaleFactor||1;var R=T.fill||"#fff";var S=T.stroke||"#000";var K=400*M;var P=40*M;var O=T.strokeWidth||1;var Q=T.containerID||".aui-logo";if(!AJS.$(".aui-logo").length){AJS.$("body").append('<div id="aui-logo" class="aui-logo"><div>')}var N=Raphael(Q,K+50*M,P+100*M);var L=N.path("M 0,0 c 3.5433333,-4.7243333 7.0866667,-9.4486667 10.63,-14.173 -14.173,0 -28.346,0 -42.519,0 C -35.432667,-9.4486667 -38.976333,-4.7243333 -42.52,0 -28.346667,0 -14.173333,0 0,0 z m 277.031,28.346 c -14.17367,0 -28.34733,0 -42.521,0 C 245.14,14.173 255.77,0 266.4,-14.173 c -14.17267,0 -28.34533,0 -42.518,0 C 213.25167,0 202.62133,14.173 191.991,28.346 c -14.17333,0 -28.34667,0 -42.52,0 14.17333,-18.8976667 28.34667,-37.7953333 42.52,-56.693 -7.08667,-9.448667 -14.17333,-18.897333 -21.26,-28.346 -14.173,0 -28.346,0 -42.519,0 7.08667,9.448667 14.17333,18.897333 21.26,28.346 -14.17333,18.8976667 -28.34667,37.7953333 -42.52,56.693 -14.173333,0 -28.346667,0 -42.52,0 10.63,-14.173 21.26,-28.346 31.89,-42.519 -14.390333,0 -28.780667,0 -43.171,0 C 42.520733,1.330715e-4 31.889933,14.174867 21.26,28.347 c -42.520624,6.24e-4 -85.039187,-8.13e-4 -127.559,-0.001 11.220667,-14.961 22.441333,-29.922 33.662,-44.883 -6.496,-8.661 -12.992,-17.322 -19.488,-25.983 5.905333,0 11.810667,0 17.716,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 14.173333,0 28.346667,0 42.52,0 10.63,14.173333 21.26,28.346667 31.89,42.52 14.173333,0 28.3466667,0 42.52,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 14.1733333,0 28.3466667,0 42.52,0 10.63,14.173333 21.26,28.346667 31.89,42.52 14.390333,0 28.780667,0 43.171,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 42.51967,0 85.03933,0 127.559,0 10.63033,14.173333 21.26067,28.346667 31.891,42.52 14.17267,0 28.34533,0 42.518,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 14.17367,0 28.34733,0 42.521,0 14.17333,18.897667 28.34667,37.795333 42.52,56.693 -14.17333,18.8976667 -28.34667,37.7953333 -42.52,56.693 z");L.scale(M,-M,0,0);L.translate(120*M,P);L.attr("fill",R);L.attr("stroke",S);L.attr("stroke-width",O)},debounce:function(L,N){var M;var K;return function(){var O=arguments;var P=this;var Q=function(){K=L.apply(P,O)};clearTimeout(M);M=setTimeout(Q,N);return K}},id:function(K){A=H+++"";E=K?K+A:"aui-uid-"+A;if(!document.getElementById(E)){return E}else{E=E+"-"+new Date().getTime();if(!document.getElementById(E)){return E}else{throw new Error("ERROR: timestamped fallback ID "+E+" exists. AJS.id stopped.")}}},_addID:function(L,M){var K=AJS.$(L);var N=M||false;K.each(function(){var O=AJS.$(this);if(!O.attr("id")){O.attr("id",AJS.id(N))}})},enable:function(M,K){var L=AJS.$(M);if(typeof K==="undefined"){K=true}return L.each(function(){this.disabled=!K})}};if(typeof AJS!=="undefined"){for(var C in AJS){G[C]=AJS[C]}}var J=function(){var K=null;if(arguments.length&&typeof arguments[0]==="string"){K=AJS.$(document.createElement(arguments[0]));if(arguments.length===2){K.html(arguments[1])}}return K};for(var B in G){J[B]=G[B]}return J})();AJS.$(function(){var A=AJS.$("body");if(!A.data("auiVersion")){A.attr("data-aui-version",AJS.version)}AJS.populateParameters()});AJS.$.ajaxSettings.traditional=true;AJS.deprecate.prop(AJS,"firebug");AJS.deprecate.prop(AJS,"stopEvent",{alternativeName:"AJS.preventDefault()"});AJS.deprecate.prop(AJS,"drawLogo");AJS.deprecate.prop(AJS,"toggleClassName")})();; ;/* module-key = 'com.atlassian.auiplugin:aui-core', location = 'js/format.js' */ AJS.format=function(I){var B=/'(?!')/g,H=/^\d+$/,E=/^(\d+),number$/,C=/^(\d+)\,choice\,(.+)/,G=/^(\d+)([#<])(.+)/;var F=function(R,P){var O="",M;if(M=R.match(H)){O=P.length>++R?P[R]:""}else{if(M=R.match(E)){O=P.length>++M[1]?P[M[1]]:""}else{if(M=R.match(C)){var S=(P.length>++M[1]?P[M[1]]:null);if(S!==null){var T=M[2].split("|");var N=null;for(var L=0;L<T.length;L++){var K=T[L].match(G);var Q=parseInt(K[1],10);if(S<Q){if(N){O=N;break}else{O=K[3];break}}if(S==Q&&K[2]=="#"){O=K[3];break}else{}if(L==T.length-1){O=K[3]}N=K[3]}var J=[O].concat(Array.prototype.slice.call(P,1));O=AJS.format.apply(AJS,J)}}}}return O};var D=function(O){var M=false,J=-1,N=0;for(var L=0;L<O.length;L++){var P=O.charAt(L);if(P=="'"){M=!M}if(M){continue}if(P==="{"){if(N===0){J=L}N++}else{if(P==="}"){if(N>0){N--;if(N===0){var K=[];K.push(O.substring(0,L+1));K.push(O.substring(0,J));K.push(O.substring(J+1,L));return K}}}}}return null};var A=function(M){var K=arguments,L="",J=D(M);while(J){M=M.substring(J[0].length);L+=J[1].replace(B,"");L+=F(J[2],K);J=D(M)}L+=M.replace(B,"");return L};return A.apply(AJS,arguments)};AJS.I18n={getText:function(A){var B=Array.prototype.slice.call(arguments,1);if(AJS.I18n.keys&&Object.prototype.hasOwnProperty.call(AJS.I18n.keys,A)){return AJS.format.apply(null,[AJS.I18n.keys[A]].concat(B))}return A}};; ;/* module-key = 'com.atlassian.auiplugin:aui-core', location = 'js/blanket.js' */ (function(C){var A;AJS.dim=function(E,F){if(!A){A=C(document.body)}if(E===true){B()}var D=(!!AJS.dim.$dim)&&AJS.dim.$dim.attr("aria-hidden")==="false";if(!!AJS.dim.$dim){AJS.dim.$dim.remove();AJS.dim.$dim=null}AJS.dim.$dim=AJS("div").addClass("aui-blanket");AJS.dim.$dim.attr("tabindex","0");AJS.dim.$dim.appendTo(document.body);if(!D){AJS._internal.animation.recomputeStyle(AJS.dim.$dim);AJS.dim.cachedOverflow=A.css("overflow");A.css("overflow","hidden")}AJS.dim.$dim.attr("aria-hidden","false");if(F){AJS.dim.$dim.css({zIndex:F})}return AJS.dim.$dim};AJS.undim=function(){if(AJS.dim.$dim){AJS.dim.$dim.attr("aria-hidden","true");A&&A.css("overflow",AJS.dim.cachedOverflow)}};var B=AJS.deprecate.getMessageLogger("useShim",{extraInfo:"useShim has no alternative as it is now calculated by dim()."})}(AJS.$));; ;/* module-key = 'com.atlassian.auiplugin:ajs-gadgets-base', location = 'js-vendor/jquery/plugins/jquery.aop.js' */ (function(){var _after=1;var _afterThrow=2;var _afterFinally=3;var _before=4;var _around=5;var _intro=6;var _regexEnabled=true;var _arguments="arguments";var _undef="undefined";var getType=(function(){var toString=Object.prototype.toString,toStrings={},nodeTypes={1:"element",3:"textnode",9:"document",11:"fragment"},types="Arguments Array Boolean Date Document Element Error Fragment Function NodeList Null Number Object RegExp String TextNode Undefined Window".split(" ");for(var i=types.length;i--;){var type=types[i],constructor=window[type];if(constructor){try{toStrings[toString.call(new constructor)]=type.toLowerCase()}catch(e){}}}return function(item){return item==null&&(item===undefined?_undef:"null")||item.nodeType&&nodeTypes[item.nodeType]||typeof item.length=="number"&&(item.callee&&_arguments||item.alert&&"window"||item.item&&"nodelist")||toStrings[toString.call(item)]}})();var isFunc=function(obj){return getType(obj)=="function"};var weaveOne=function(source,method,advice){var old=source[method];if(advice.type!=_intro&&!isFunc(old)){var oldObject=old;old=function(){var code=arguments.length>0?_arguments+"[0]":"";for(var i=1;i<arguments.length;i++){code+=","+_arguments+"["+i+"]"}return eval("oldObject("+code+");")}}var aspect;if(advice.type==_after||advice.type==_afterThrow||advice.type==_afterFinally){aspect=function(){var returnValue,exceptionThrown=null;try{returnValue=old.apply(this,arguments)}catch(e){exceptionThrown=e}if(advice.type==_after){if(exceptionThrown==null){returnValue=advice.value.apply(this,[returnValue,method])}else{throw exceptionThrown}}else{if(advice.type==_afterThrow&&exceptionThrown!=null){returnValue=advice.value.apply(this,[exceptionThrown,method])}else{if(advice.type==_afterFinally){returnValue=advice.value.apply(this,[returnValue,exceptionThrown,method])}}}return returnValue}}else{if(advice.type==_before){aspect=function(){advice.value.apply(this,[arguments,method]);return old.apply(this,arguments)}}else{if(advice.type==_intro){aspect=function(){return advice.value.apply(this,arguments)}}else{if(advice.type==_around){aspect=function(){var invocation={object:this,args:Array.prototype.slice.call(arguments)};return advice.value.apply(invocation.object,[{arguments:invocation.args,method:method,proceed:function(){return old.apply(invocation.object,invocation.args)}}])}}}}}aspect.unweave=function(){source[method]=old;pointcut=source=aspect=old=null};source[method]=aspect;return aspect};var search=function(source,pointcut,advice){var methods=[];for(var method in source){var item=null;try{item=source[method]}catch(e){}if(item!=null&&method.match(pointcut.method)&&isFunc(item)){methods[methods.length]={source:source,method:method,advice:advice}}}return methods};var weave=function(pointcut,advice){var source=typeof (pointcut.target.prototype)!=_undef?pointcut.target.prototype:pointcut.target;var advices=[];if(advice.type!=_intro&&typeof (source[pointcut.method])==_undef){var methods=search(pointcut.target,pointcut,advice);if(methods.length==0){methods=search(source,pointcut,advice)}for(var i in methods){advices[advices.length]=weaveOne(methods[i].source,methods[i].method,methods[i].advice)}}else{advices[0]=weaveOne(source,pointcut.method,advice)}return _regexEnabled?advices:advices[0]};jQuery.aop={after:function(pointcut,advice){return weave(pointcut,{type:_after,value:advice})},afterThrow:function(pointcut,advice){return weave(pointcut,{type:_afterThrow,value:advice})},afterFinally:function(pointcut,advice){return weave(pointcut,{type:_afterFinally,value:advice})},before:function(pointcut,advice){return weave(pointcut,{type:_before,value:advice})},around:function(pointcut,advice){return weave(pointcut,{type:_around,value:advice})},introduction:function(pointcut,advice){return weave(pointcut,{type:_intro,value:advice})},setup:function(settings){_regexEnabled=settings.regexMatch}}})();; ;/* module-key = 'com.atlassian.auiplugin:ajs-gadgets-base', location = 'js/dropdown.js' */ AJS.dropDown=function(L,E){var U=null,I=[],Q=false,H=AJS.$(document),C={item:"li:has(a)",activeClass:"active",alignment:"right",displayHandler:function(W){return W.name},escapeHandler:function(){this.hide("escape");return false},hideHandler:function(){},moveHandler:function(X,W){},useDisabled:false};AJS.$.extend(C,E);C.alignment={left:"left",right:"right"}[C.alignment.toLowerCase()]||"left";if(L&&L.jquery){U=L}else{if(typeof L=="string"){U=AJS.$(L)}else{if(L&&L.constructor==Array){U=AJS("div").addClass("aui-dropdown").toggleClass("hidden",!!C.isHiddenByDefault);for(var P=0,K=L.length;P<K;P++){var J=AJS("ol");for(var O=0,S=L[P].length;O<S;O++){var M=AJS("li");var G=L[P][O];if(G.href){M.append(AJS("a").html("<span>"+C.displayHandler(G)+"</span>").attr({href:G.href}).addClass(G.className));AJS.$.data(AJS.$("a > span",M)[0],"properties",G)}else{M.html(G.html).addClass(G.className)}if(G.icon){M.prepend(AJS("img").attr("src",G.icon))}if(G.insideSpanIcon){M.children("a").prepend(AJS("span").attr("class","icon"))}AJS.$.data(M[0],"properties",G);J.append(M)}if(P==K-1){J.addClass("last")}U.append(J)}AJS.$("body").append(U)}else{throw new Error("AJS.dropDown function was called with illegal parameter. Should be AJS.$ object, AJS.$ selector or array.")}}}var F=function(){N(+1)};var T=function(){N(-1)};var N=function(Z){var Y=!Q,W=AJS.dropDown.current.$[0],X=AJS.dropDown.current.links,a=W.focused;Q=true;if(X.length===0){return }W.focused=(typeof a==="number")?a:-1;if(!AJS.dropDown.current){AJS.log("move - not current, aborting");return true}W.focused+=Z;if(W.focused<0){W.focused=X.length-1}else{if(W.focused>=X.length){W.focused=0}}C.moveHandler(AJS.$(X[W.focused]),Z<0?"up":"down");if(Y&&X.length){AJS.$(X[W.focused]).addClass(C.activeClass);Q=false}else{if(!X.length){Q=false}}};var V=function(Y){if(!AJS.dropDown.current){return true}var Z=Y.which,W=AJS.dropDown.current.$[0],X=AJS.dropDown.current.links;AJS.dropDown.current.cleanActive();switch(Z){case 40:F();break;case 38:T();break;case 27:return C.escapeHandler.call(AJS.dropDown.current,Y);case 13:if(W.focused>=0){if(!C.selectionHandler){if(AJS.$(X[W.focused]).attr("nodeName")!="a"){return AJS.$("a",X[W.focused]).trigger("focus")}else{return AJS.$(X[W.focused]).trigger("focus")}}else{return C.selectionHandler.call(AJS.dropDown.current,Y,AJS.$(X[W.focused]))}}return true;default:if(X.length){AJS.$(X[W.focused]).addClass(C.activeClass)}return true}Y.stopPropagation();Y.preventDefault();return false};var A=function(W){if(!((W&&W.which&&(W.which==3))||(W&&W.button&&(W.button==2))||false)){if(AJS.dropDown.current){AJS.dropDown.current.hide("click")}}};var D=function(W){return function(){if(!AJS.dropDown.current){return }AJS.dropDown.current.cleanFocus();this.originalClass=this.className;AJS.$(this).addClass(C.activeClass);AJS.dropDown.current.$[0].focused=W}};var R=function(W){if(W.button||W.metaKey||W.ctrlKey||W.shiftKey){return true}if(AJS.dropDown.current&&C.selectionHandler){C.selectionHandler.call(AJS.dropDown.current,W,AJS.$(this))}};var B=function(X){var W=false;if(X.data("events")){AJS.$.each(X.data("events"),function(Y,Z){AJS.$.each(Z,function(b,a){if(R===a){W=true;return false}})})}return W};U.each(function(){var W=this,Y=AJS.$(this),Z={};var X={reset:function(){Z=AJS.$.extend(Z,{$:Y,links:AJS.$(C.item||"li:has(a)",W),cleanActive:function(){if(W.focused+1&&Z.links.length){AJS.$(Z.links[W.focused]).removeClass(C.activeClass)}},cleanFocus:function(){Z.cleanActive();W.focused=-1},moveDown:F,moveUp:T,moveFocus:V,getFocusIndex:function(){return(typeof W.focused=="number")?W.focused:-1}});Z.links.each(function(a){var b=AJS.$(this);if(!B(b)){b.hover(D(a),Z.cleanFocus);b.click(R)}})},appear:function(a){if(a){Y.removeClass("hidden");Y.addClass("aui-dropdown-"+C.alignment)}else{Y.addClass("hidden")}},fade:function(a){if(a){Y.fadeIn("fast")}else{Y.fadeOut("fast")}},scroll:function(a){if(a){Y.slideDown("fast")}else{Y.slideUp("fast")}}};Z.reset=X.reset;Z.reset();Z.addControlProcess=function(b,a){AJS.$.aop.around({target:this,method:b},a)};Z.addCallback=function(b,a){return AJS.$.aop.after({target:this,method:b},a)};Z.show=function(a){if(C.useDisabled&&this.$.closest(".aui-dd-parent").hasClass("disabled")){return }this.alignment=C.alignment;A();AJS.dropDown.current=this;this.method=a||this.method||"appear";this.timer=setTimeout(function(){H.click(A)},0);H.keydown(V);if(C.firstSelected&&this.links[0]){D(0).call(this.links[0])}AJS.$(W.offsetParent).css({zIndex:2000});X[this.method](true);AJS.$(document).trigger("showLayer",["dropdown",AJS.dropDown.current])};Z.hide=function(a){this.method=this.method||"appear";AJS.$(Y.get(0).offsetParent).css({zIndex:""});this.cleanFocus();X[this.method](false);H.unbind("click",A).unbind("keydown",V);AJS.$(document).trigger("hideLayer",["dropdown",AJS.dropDown.current]);AJS.dropDown.current=null;return a};Z.addCallback("reset",function(){if(C.firstSelected&&this.links[0]){D(0).call(this.links[0])}});if(!AJS.dropDown.iframes){AJS.dropDown.iframes=[]}AJS.dropDown.createShims=function(){AJS.$("iframe").each(function(a){var b=this;if(!b.shim){b.shim=AJS.$("<div />").addClass("shim hidden").appendTo("body");AJS.dropDown.iframes.push(b)}});return arguments.callee}();Z.addCallback("show",function(){AJS.$(AJS.dropDown.iframes).each(function(){var a=AJS.$(this);if(a.is(":visible")){var b=a.offset();b.height=a.height();b.width=a.width();this.shim.css({left:b.left+"px",top:b.top+"px",height:b.height+"px",width:b.width+"px"}).removeClass("hidden")}})});Z.addCallback("hide",function(){AJS.$(AJS.dropDown.iframes).each(function(){this.shim.addClass("hidden")});C.hideHandler()});I.push(Z)});return I};AJS.dropDown.getAdditionalPropertyValue=function(D,A){var C=D[0];if(!C||(typeof C.tagName!="string")||C.tagName.toLowerCase()!="li"){AJS.log("AJS.dropDown.getAdditionalPropertyValue : item passed in should be an LI element wrapped by jQuery")}var B=AJS.$.data(C,"properties");return B?B[A]:null};AJS.dropDown.removeAllAdditionalProperties=function(A){};AJS.dropDown.Standard=function(H){var C=[],G,B={selector:".aui-dd-parent",dropDown:".aui-dropdown",trigger:".aui-dd-trigger"};AJS.$.extend(B,H);var F=function(I,L,K,J){AJS.$.extend(J,{trigger:I});L.addClass("dd-allocated");K.addClass("hidden");if(B.isHiddenByDefault==false){J.show()}J.addCallback("show",function(){L.addClass("active")});J.addCallback("hide",function(){L.removeClass("active")})};var A=function(K,I,L,J){if(J!=AJS.dropDown.current){L.css({top:I.outerHeight()});J.show();K.stopImmediatePropagation()}K.preventDefault()};if(B.useLiveEvents){var D=[];var E=[];AJS.$(B.trigger).live("click",function(L){var I=AJS.$(this);var N,M,J;var K;if((K=AJS.$.inArray(this,D))>=0){var O=E[K];N=O.parent;M=O.dropdown;J=O.ddcontrol}else{N=I.closest(B.selector);M=N.find(B.dropDown);if(M.length===0){return }J=AJS.dropDown(M,B)[0];if(!J){return }D.push(this);O={parent:N,dropdown:M,ddcontrol:J};F(I,N,M,J);E.push(O)}A(L,I,M,J)})}else{if(this instanceof AJS.$){G=this}else{G=AJS.$(B.selector)}G=G.not(".dd-allocated").filter(":has("+B.dropDown+")").filter(":has("+B.trigger+")");G.each(function(){var L=AJS.$(this),K=AJS.$(B.dropDown,this),I=AJS.$(B.trigger,this),J=AJS.dropDown(K,B)[0];AJS.$.extend(J,{trigger:I});F(I,L,K,J);I.click(function(M){A(M,I,K,J)});C.push(J)})}return C};AJS.dropDown.Ajax=function(C){var B,A={cache:true};AJS.$.extend(A,C||{});B=AJS.dropDown.Standard.call(this,A);AJS.$(B).each(function(){var D=this;AJS.$.extend(D,{getAjaxOptions:function(E){var F=function(G){if(A.formatResults){G=A.formatResults(G)}if(A.cache){D.cache.set(D.getAjaxOptions(),G)}D.refreshSuccess(G)};if(A.ajaxOptions){if(AJS.$.isFunction(A.ajaxOptions)){return AJS.$.extend(A.ajaxOptions.call(D),{success:F})}else{return AJS.$.extend(A.ajaxOptions,{success:F})}}return AJS.$.extend(E,{success:F})},refreshSuccess:function(E){this.$.html(E)},cache:function(){var E={};return{get:function(F){var G=F.data||"";return E[(F.url+G).replace(/[\?\&]/gi,"")]},set:function(F,G){var H=F.data||"";E[(F.url+H).replace(/[\?\&]/gi,"")]=G},reset:function(){E={}}}}(),show:function(E){return function(F){if(A.cache&&!!D.cache.get(D.getAjaxOptions())){D.refreshSuccess(D.cache.get(D.getAjaxOptions()));E.call(D)}else{AJS.$(AJS.$.ajax(D.getAjaxOptions())).throbber({target:D.$,end:function(){D.reset()}});E.call(D);if(D.iframeShim){D.iframeShim.hide()}}}}(D.show),resetCache:function(){D.cache.reset()}});D.addCallback("refreshSuccess",function(){D.reset()})});return B};AJS.$.fn.dropDown=function(B,A){B=(B||"Standard").replace(/^([a-z])/,function(C){return C.toUpperCase()});return AJS.dropDown[B].call(this,A)};AJS.$.fn.dropDown=AJS.deprecate.construct(AJS.$.fn.dropDown,"Dropdown constructor",{alternativeName:"Dropdown2"});; ;/* module-key = 'com.atlassian.auiplugin:ajs-raphael', location = 'js-vendor/raphael/raphael.js' */ /* THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. See https://ecosystem.atlassian.net/browse/AUI-1535 for details. Modified lines are marked below, search "ATLASSIAN" */ (function(I){var E="0.3.4",J="hasOwnProperty",B=/[\.\/]/,A="*",G=function(){},F=function(M,L){return M-L},D,H,K={n:{}},C=function(L,a){var U=K,R=H,V=Array.prototype.slice.call(arguments,2),X=C.listeners(L),W=0,T=false,O,N=[],S={},P=[],M=D,Y=[];D=L;H=0;for(var Q=0,Z=X.length;Q<Z;Q++){if("zIndex" in X[Q]){N.push(X[Q].zIndex);if(X[Q].zIndex<0){S[X[Q].zIndex]=X[Q]}}}N.sort(F);while(N[W]<0){O=S[N[W++]];P.push(O.apply(a,V));if(H){H=R;return P}}for(Q=0;Q<Z;Q++){O=X[Q];if("zIndex" in O){if(O.zIndex==N[W]){P.push(O.apply(a,V));if(H){break}do{W++;O=S[N[W]];O&&P.push(O.apply(a,V));if(H){break}}while(O)}else{S[O.zIndex]=O}}else{P.push(O.apply(a,V));if(H){break}}}H=R;D=M;return P.length?P:null};C.listeners=function(L){var T=L.split(B),R=K,X,S,M,P,W,O,Q,U,V=[R],N=[];for(P=0,W=T.length;P<W;P++){U=[];for(O=0,Q=V.length;O<Q;O++){R=V[O].n;S=[R[T[P]],R[A]];M=2;while(M--){X=S[M];if(X){U.push(X);N=N.concat(X.f||[])}}}V=U}return N};C.on=function(L,O){var Q=L.split(B),P=K;for(var M=0,N=Q.length;M<N;M++){P=P.n;!P[Q[M]]&&(P[Q[M]]={n:{}});P=P[Q[M]]}P.f=P.f||[];for(M=0,N=P.f.length;M<N;M++){if(P.f[M]==O){return G}}P.f.push(O);return function(R){if(+R==+R){O.zIndex=+R}}};C.stop=function(){H=1};C.nt=function(L){if(L){return new RegExp("(?:\\.|\\/|^)"+L+"(?:\\.|\\/|$)").test(D)}return D};C.off=C.unbind=function(M,R){var T=M.split(B),S,V,N,P,W,O,Q,U=[K];for(P=0,W=T.length;P<W;P++){for(O=0;O<U.length;O+=N.length-2){N=[O,1];S=U[O].n;if(T[P]!=A){if(S[T[P]]){N.push(S[T[P]])}}else{for(V in S){if(S[J](V)){N.push(S[V])}}}U.splice.apply(U,N)}}for(P=0,W=U.length;P<W;P++){S=U[P];while(S.n){if(R){if(S.f){for(O=0,Q=S.f.length;O<Q;O++){if(S.f[O]==R){S.f.splice(O,1);break}}!S.f.length&&delete S.f}for(V in S.n){if(S.n[J](V)&&S.n[V].f){var L=S.n[V].f;for(O=0,Q=L.length;O<Q;O++){if(L[O]==R){L.splice(O,1);break}}!L.length&&delete S.n[V].f}}}else{delete S.f;for(V in S.n){if(S.n[J](V)&&S.n[V].f){delete S.n[V].f}}}S=S.n}}};C.once=function(L,M){var N=function(){var O=M.apply(this,arguments);C.unbind(L,N);return O};return C.on(L,N)};C.version=E;C.toString=function(){return"You are running Eve "+E};I.eve=C;if(typeof define==="function"){define("eve",function(){console&&console.warn&&console.warn("DEPRECATED - requiring 'eve' has been deprecated since AUI 5.7 and will be removed in AUI 6.0.");return C});define("aui/internal/eve",function(){return C})}})(this);(function(){function Aq(S){if(Aq.is(S,"function")){return AO?S():eve.on("raphael.DOMload",S)}else{if(Aq.is(S,BC)){return Aq._engine.create[Bf](Aq,S.splice(0,3+Aq.is(S[0],Ak))).add(S)}else{var E=Array.prototype.slice.call(arguments,0);if(Aq.is(E[E.length-1],"function")){var R=E.pop();return AO?R.call(Aq._engine.create[Bf](Aq,E)):eve.on("raphael.DOMload",function(){R.call(Aq._engine.create[Bf](Aq,E))})}else{return Aq._engine.create[Bf](Aq,arguments)}}}}Aq.version="2.1.0";Aq.eve=eve;var AO,A=/[, ]+/,BV={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},BQ=/\{(\d+)\}/g,Bi="prototype",AK="hasOwnProperty",AZ={doc:document,win:window},P={was:Object.prototype[AK].call(AZ.win,"Raphael"),is:AZ.win.Raphael},Be=function(){this.ca=this.customAttributes={}},A3,BN="appendChild",Bf="apply",Bd="concat",z="createTouch" in AZ.doc,Aw="",Ap=" ",Bg=String,f="split",s="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[f](Ap),BW={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},Bj=Bg.prototype.toLowerCase,AT=Math,J=AT.max,BL=AT.min,AV=AT.abs,BO=AT.pow,Au=AT.PI,Ak="number",AJ="string",BC="array",A4="toString",A8="fill",A0=Object.prototype.toString,BY={},G="push",D=Aq._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i,Z=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,AU={"NaN":1,"Infinity":1,"-Infinity":1},B=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,AH=AT.round,Y="setAttribute",AN=parseFloat,u=parseInt,BS=Bg.prototype.toUpperCase,O=Aq._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0},AR=Aq._availableAnimAttrs={blur:Ak,"clip-rect":"csv",cx:Ak,cy:Ak,fill:"colour","fill-opacity":Ak,"font-size":Ak,height:Ak,opacity:Ak,path:"path",r:Ak,rx:Ak,ry:Ak,stroke:"colour","stroke-opacity":Ak,"stroke-width":Ak,transform:"transform",width:Ak,x:Ak,y:Ak},AC=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]/g,BH=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,K={hs:1,rg:1},BF=/,?([achlmqrstvxz]),?/gi,Az=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/ig,AI=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/ig,Ao=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/ig,Av=Aq._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,At={},BP=function(R,E){return R.key-E.key},T=function(R,E){return AN(R)-AN(E)},k=function(){},Ba=function(E){return E},AY=Aq._rectPath=function(E,d,R,S,b){if(b){return[["M",E+b,d],["l",R-b*2,0],["a",b,b,0,0,1,b,b],["l",0,S-b*2],["a",b,b,0,0,1,-b,b],["l",b*2-R,0],["a",b,b,0,0,1,-b,-b],["l",0,b*2-S],["a",b,b,0,0,1,b,-b],["z"]]}return[["M",E,d],["l",R,0],["l",0,S],["l",-R,0],["z"]]},m=function(E,b,S,R){if(R==null){R=S}return[["M",E,b],["m",0,-R],["a",S,R,0,1,1,0,2*R],["a",S,R,0,1,1,0,-2*R],["z"]]},p=Aq._getPath={path:function(E){return E.attr("path")},circle:function(R){var E=R.attrs;return m(E.cx,E.cy,E.r)},ellipse:function(R){var E=R.attrs;return m(E.cx,E.cy,E.rx,E.ry)},rect:function(R){var E=R.attrs;return AY(E.x,E.y,E.width,E.height,E.r)},image:function(R){var E=R.attrs;return AY(E.x,E.y,E.width,E.height)},text:function(E){var R=E._getBBox();return AY(R.x,R.y,R.width,R.height)}},n=Aq.mapPath=function(Bm,g){if(!g){return Bm}var Bk,d,S,E,Bl,b,R;Bm=w(Bm);for(S=0,Bl=Bm.length;S<Bl;S++){R=Bm[S];for(E=1,b=R.length;E<b;E+=2){Bk=g.x(R[E],R[E+1]);d=g.y(R[E],R[E+1]);R[E]=Bk;R[E+1]=d}}return Bm};Aq._g=AZ;Aq.type=(AZ.win.SVGAngle||AZ.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML");if(Aq.type=="VML"){var Ad=AZ.doc.createElement("div"),Ag;Ad.innerHTML='<v:shape adj="1"/>';Ag=Ad.firstChild;Ag.style.behavior="url(#default#VML)";if(!(Ag&&typeof Ag.adj=="object")){return(Aq.type=Aw)}Ad=null}Aq.svg=!(Aq.vml=Aq.type=="VML");Aq._Paper=Be;Aq.fn=A3=Be.prototype=Aq.prototype;Aq._id=0;Aq._oid=0;Aq.is=function(R,E){E=Bj.call(E);if(E=="finite"){return !AU[AK](+R)}if(E=="array"){return R instanceof Array}return(E=="null"&&R===null)||(E==typeof R&&R!==null)||(E=="object"&&R===Object(R))||(E=="array"&&Array.isArray&&Array.isArray(R))||A0.call(R).slice(8,-1).toLowerCase()==E};function x(S){if(Object(S)!==S){return S}var R=new S.constructor;for(var E in S){if(S[AK](E)){R[E]=x(S[E])}}return R}Aq.angle=function(d,i,S,g,R,b){if(R==null){var E=d-S,Bk=i-g;if(!E&&!Bk){return 0}return(180+AT.atan2(-Bk,-E)*180/Au+360)%360}else{return Aq.angle(d,i,R,b)-Aq.angle(S,g,R,b)}};Aq.rad=function(E){return E%360*Au/180};Aq.deg=function(E){return E*180/Au%360};Aq.snapTo=function(R,b,E){E=Aq.is(E,"finite")?E:10;if(Aq.is(R,BC)){var S=R.length;while(S--){if(AV(R[S]-b)<=E){return R[S]}}}else{R=+R;var d=b%R;if(d<E){return b-d}if(d>R-E){return b-d+R}}return b};var F=Aq.createUUID=(function(E,R){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(E,R).toUpperCase()}})(/[xy]/g,function(S){var R=AT.random()*16|0,E=S=="x"?R:(R&3|8);return E.toString(16)});Aq.setWindow=function(E){eve("raphael.setWindow",Aq,AZ.win,E);AZ.win=E;AZ.doc=AZ.win.document;if(Aq._engine.initWin){Aq._engine.initWin(AZ.win)}};var BE=function(S){if(Aq.vml){var E=/^\s+|\s+$/g;var d;try{var g=new ActiveXObject("htmlfile");g.write("<body>");g.close();d=g.body}catch(Bk){d=createPopup().document.body}var R=d.createTextRange();BE=Af(function(i){try{d.style.color=Bg(i).replace(E,Aw);var Bl=R.queryCommandValue("ForeColor");Bl=((Bl&255)<<16)|(Bl&65280)|((Bl&16711680)>>>16);return"#"+("000000"+Bl.toString(16)).slice(-6)}catch(Bm){return"none"}})}else{var b=AZ.doc.createElement("i");b.title="Rapha\xebl Colour Picker";b.style.display="none";AZ.doc.body.appendChild(b);BE=Af(function(i){b.style.color=i;return AZ.doc.defaultView.getComputedStyle(b,Aw).getPropertyValue("color")})}return BE(S)},Ah=function(){return"hsb("+[this.h,this.s,this.b]+")"},o=function(){return"hsl("+[this.h,this.s,this.l]+")"},W=function(){return this.hex},Ax=function(d,S,E){if(S==null&&Aq.is(d,"object")&&"r" in d&&"g" in d&&"b" in d){E=d.b;S=d.g;d=d.r}if(S==null&&Aq.is(d,AJ)){var R=Aq.getRGB(d);d=R.r;S=R.g;E=R.b}if(d>1||S>1||E>1){d/=255;S/=255;E/=255}return[d,S,E]},A1=function(d,S,E,i){d*=255;S*=255;E*=255;var R={r:d,g:S,b:E,hex:Aq.rgb(d,S,E),toString:W};Aq.is(i,"finite")&&(R.opacity=i);return R};Aq.color=function(E){var R;if(Aq.is(E,"object")&&"h" in E&&"s" in E&&"b" in E){R=Aq.hsb2rgb(E);E.r=R.r;E.g=R.g;E.b=R.b;E.hex=R.hex}else{if(Aq.is(E,"object")&&"h" in E&&"s" in E&&"l" in E){R=Aq.hsl2rgb(E);E.r=R.r;E.g=R.g;E.b=R.b;E.hex=R.hex}else{if(Aq.is(E,"string")){E=Aq.getRGB(E)}if(Aq.is(E,"object")&&"r" in E&&"g" in E&&"b" in E){R=Aq.rgb2hsl(E);E.h=R.h;E.s=R.s;E.l=R.l;R=Aq.rgb2hsb(E);E.v=R.b}else{E={hex:"none"};E.r=E.g=E.b=E.h=E.s=E.v=E.l=-1}}}E.toString=W;return E};Aq.hsb2rgb=function(i,Bm,Bk,d){if(this.is(i,"object")&&"h" in i&&"s" in i&&"b" in i){Bk=i.b;Bm=i.s;i=i.h;d=i.o}i*=360;var g,Bl,S,b,E;i=(i%360)/60;E=Bk*Bm;b=E*(1-AV(i%2-1));g=Bl=S=Bk-E;i=~~i;g+=[E,b,0,0,b,E][i];Bl+=[b,E,E,b,0,0][i];S+=[0,0,b,E,E,b][i];return A1(g,Bl,S,d)};Aq.hsl2rgb=function(Bk,Bm,g,d){if(this.is(Bk,"object")&&"h" in Bk&&"s" in Bk&&"l" in Bk){g=Bk.l;Bm=Bk.s;Bk=Bk.h}if(Bk>1||Bm>1||g>1){Bk/=360;Bm/=100;g/=100}Bk*=360;var i,Bl,S,b,E;Bk=(Bk%360)/60;E=2*Bm*(g<0.5?g:1-g);b=E*(1-AV(Bk%2-1));i=Bl=S=g-E/2;Bk=~~Bk;i+=[E,b,0,0,b,E][Bk];Bl+=[b,E,E,b,0,0][Bk];S+=[0,0,b,E,E,b][Bk];return A1(i,Bl,S,d)};Aq.rgb2hsb=function(Bl,Bk,E){E=Ax(Bl,Bk,E);Bl=E[0];Bk=E[1];E=E[2];var i,d,R,Bm;R=J(Bl,Bk,E);Bm=R-BL(Bl,Bk,E);i=(Bm==0?null:R==Bl?(Bk-E)/Bm:R==Bk?(E-Bl)/Bm+2:(Bl-Bk)/Bm+4);i=((i+360)%6)*60/360;d=Bm==0?0:Bm/R;return{h:i,s:d,b:R,toString:Ah}};Aq.rgb2hsl=function(E,Bk,Bn){Bn=Ax(E,Bk,Bn);E=Bn[0];Bk=Bn[1];Bn=Bn[2];var Bo,i,Bm,Bl,d,R;Bl=J(E,Bk,Bn);d=BL(E,Bk,Bn);R=Bl-d;Bo=(R==0?null:Bl==E?(Bk-Bn)/R:Bl==Bk?(Bn-E)/R+2:(E-Bk)/R+4);Bo=((Bo+360)%6)*60/360;Bm=(Bl+d)/2;i=(R==0?0:Bm<0.5?R/(2*Bm):R/(2-2*Bm));return{h:Bo,s:i,l:Bm,toString:o}};Aq._path2string=function(){return this.join(",").replace(BF,"$1")};function BJ(b,S){for(var E=0,R=b.length;E<R;E++){if(b[E]===S){return b.push(b.splice(E,1)[0])}}}function Af(b,R,E){function S(){var d=Array.prototype.slice.call(arguments,0),i=d.join("\u2400"),g=S.cache=S.cache||{},Bk=S.count=S.count||[];if(g[AK](i)){BJ(Bk,i);return E?E(g[i]):g[i]}Bk.length>=1000&&delete g[Bk.shift()];Bk.push(i);g[i]=b[Bf](R,d);return E?E(g[i]):g[i]}return S}var BU=Aq._preload=function(S,R){var E=AZ.doc.createElement("img");E.style.cssText="position:absolute;left:-9999em;top:-9999em";E.onload=function(){R.call(this);this.onload=null;AZ.doc.body.removeChild(this)};E.onerror=function(){AZ.doc.body.removeChild(this)};AZ.doc.body.appendChild(E);E.src=S};function AQ(){return this.hex}Aq.getRGB=Af(function(E){if(!E||!!((E=Bg(E)).indexOf("-")+1)){return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:AQ}}if(E=="none"){return{r:-1,g:-1,b:-1,hex:"none",toString:AQ}}!(K[AK](E.toLowerCase().substring(0,2))||E.charAt()=="#")&&(E=BE(E));var d,R,S,i,b,Bl,Bk,g=E.match(Z);if(g){if(g[2]){i=u(g[2].substring(5),16);S=u(g[2].substring(3,5),16);R=u(g[2].substring(1,3),16)}if(g[3]){i=u((Bl=g[3].charAt(3))+Bl,16);S=u((Bl=g[3].charAt(2))+Bl,16);R=u((Bl=g[3].charAt(1))+Bl,16)}if(g[4]){Bk=g[4][f](BH);R=AN(Bk[0]);Bk[0].slice(-1)=="%"&&(R*=2.55);S=AN(Bk[1]);Bk[1].slice(-1)=="%"&&(S*=2.55);i=AN(Bk[2]);Bk[2].slice(-1)=="%"&&(i*=2.55);g[1].toLowerCase().slice(0,4)=="rgba"&&(b=AN(Bk[3]));Bk[3]&&Bk[3].slice(-1)=="%"&&(b/=100)}if(g[5]){Bk=g[5][f](BH);R=AN(Bk[0]);Bk[0].slice(-1)=="%"&&(R*=2.55);S=AN(Bk[1]);Bk[1].slice(-1)=="%"&&(S*=2.55);i=AN(Bk[2]);Bk[2].slice(-1)=="%"&&(i*=2.55);(Bk[0].slice(-3)=="deg"||Bk[0].slice(-1)=="\xb0")&&(R/=360);g[1].toLowerCase().slice(0,4)=="hsba"&&(b=AN(Bk[3]));Bk[3]&&Bk[3].slice(-1)=="%"&&(b/=100);return Aq.hsb2rgb(R,S,i,b)}if(g[6]){Bk=g[6][f](BH);R=AN(Bk[0]);Bk[0].slice(-1)=="%"&&(R*=2.55);S=AN(Bk[1]);Bk[1].slice(-1)=="%"&&(S*=2.55);i=AN(Bk[2]);Bk[2].slice(-1)=="%"&&(i*=2.55);(Bk[0].slice(-3)=="deg"||Bk[0].slice(-1)=="\xb0")&&(R/=360);g[1].toLowerCase().slice(0,4)=="hsla"&&(b=AN(Bk[3]));Bk[3]&&Bk[3].slice(-1)=="%"&&(b/=100);return Aq.hsl2rgb(R,S,i,b)}g={r:R,g:S,b:i,toString:AQ};g.hex="#"+(16777216|i|(S<<8)|(R<<16)).toString(16).slice(1);Aq.is(b,"finite")&&(g.opacity=b);return g}return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:AQ}},Aq);Aq.hsb=Af(function(S,R,E){return Aq.hsb2rgb(S,R,E).hex});Aq.hsl=Af(function(S,R,E){return Aq.hsl2rgb(S,R,E).hex});Aq.rgb=Af(function(S,R,E){return"#"+(16777216|E|(R<<8)|(S<<16)).toString(16).slice(1)});Aq.getColor=function(R){var S=this.getColor.start=this.getColor.start||{h:0,s:1,b:R||0.75},E=this.hsb2rgb(S.h,S.s,S.b);S.h+=0.075;if(S.h>1){S.h=0;S.s-=0.2;S.s<=0&&(this.getColor.start={h:0,s:1,b:S.b})}return E.hex};Aq.getColor.reset=function(){delete this.start};function BA(S,Bk){var g=[];for(var R=0,E=S.length;E-2*!Bk>R;R+=2){var b=[{x:+S[R-2],y:+S[R-1]},{x:+S[R],y:+S[R+1]},{x:+S[R+2],y:+S[R+3]},{x:+S[R+4],y:+S[R+5]}];if(Bk){if(!R){b[0]={x:+S[E-2],y:+S[E-1]}}else{if(E-4==R){b[3]={x:+S[0],y:+S[1]}}else{if(E-2==R){b[2]={x:+S[0],y:+S[1]};b[3]={x:+S[2],y:+S[3]}}}}}else{if(E-4==R){b[3]=b[2]}else{if(!R){b[0]={x:+S[R],y:+S[R+1]}}}}g.push(["C",(-b[0].x+6*b[1].x+b[2].x)/6,(-b[0].y+6*b[1].y+b[2].y)/6,(b[1].x+6*b[2].x-b[3].x)/6,(b[1].y+6*b[2].y-b[3].y)/6,b[2].x,b[2].y])}return g}Aq.parsePathString=function(E){if(!E){return null}var S=y(E);if(S.arr){return Ay(S.arr)}var b={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},R=[];if(Aq.is(E,BC)&&Aq.is(E[0],BC)){R=Ay(E)}if(!R.length){Bg(E).replace(Az,function(g,d,Bl){var Bk=[],i=d.toLowerCase();Bl.replace(Ao,function(Bn,Bm){Bm&&Bk.push(+Bm)});if(i=="m"&&Bk.length>2){R.push([d][Bd](Bk.splice(0,2)));i="l";d=d=="m"?"l":"L"}if(i=="r"){R.push([d][Bd](Bk))}else{while(Bk.length>=b[i]){R.push([d][Bd](Bk.splice(0,b[i])));if(!b[i]){break}}}})}R.toString=Aq._path2string;S.arr=Ay(R);return R};Aq.parseTransformString=Af(function(R){if(!R){return null}var S={r:3,s:4,t:2,m:6},E=[];if(Aq.is(R,BC)&&Aq.is(R[0],BC)){E=Ay(R)}if(!E.length){Bg(R).replace(AI,function(g,d,Bl){var Bk=[],i=Bj.call(d);Bl.replace(Ao,function(Bn,Bm){Bm&&Bk.push(+Bm)});E.push([d][Bd](Bk))})}E.toString=Aq._path2string;return E});var y=function(R){var E=y.ps=y.ps||{};if(E[R]){E[R].sleep=100}else{E[R]={sleep:100}}setTimeout(function(){for(var S in E){if(E[AK](S)&&S!=R){E[S].sleep--;!E[S].sleep&&delete E[S]}}});return E[R]};Aq.findDotsAtSegment=function(R,E,B1,Bz,i,d,Bm,Bk,Bu){var Br=1-Bu,Bw=BO(Br,3),Bx=BO(Br,2),Bo=Bu*Bu,Bl=Bo*Bu,Bq=Bw*R+Bx*3*Bu*B1+Br*3*Bu*Bu*i+Bl*Bm,Bn=Bw*E+Bx*3*Bu*Bz+Br*3*Bu*Bu*d+Bl*Bk,Bv=R+2*Bu*(B1-R)+Bo*(i-2*B1+R),Bt=E+2*Bu*(Bz-E)+Bo*(d-2*Bz+E),B0=B1+2*Bu*(i-B1)+Bo*(Bm-2*i+B1),By=Bz+2*Bu*(d-Bz)+Bo*(Bk-2*d+Bz),Bs=Br*R+Bu*B1,Bp=Br*E+Bu*Bz,b=Br*i+Bu*Bm,S=Br*d+Bu*Bk,g=(90-AT.atan2(Bv-B0,Bt-By)*180/Au);(Bv>B0||Bt<By)&&(g+=180);return{x:Bq,y:Bn,m:{x:Bv,y:Bt},n:{x:B0,y:By},start:{x:Bs,y:Bp},end:{x:b,y:S},alpha:g}};Aq.bezierBBox=function(R,E,b,S,Bl,i,g,d){if(!Aq.is(R,"array")){R=[R,E,b,S,Bl,i,g,d]}var Bk=A9.apply(null,R);return{x:Bk.min.x,y:Bk.min.y,x2:Bk.max.x,y2:Bk.max.y,width:Bk.max.x-Bk.min.x,height:Bk.max.y-Bk.min.y}};Aq.isPointInsideBBox=function(R,E,S){return E>=R.x&&E<=R.x2&&S>=R.y&&S<=R.y2};Aq.isBBoxIntersect=function(S,R){var E=Aq.isPointInsideBBox;return E(R,S.x,S.y)||E(R,S.x2,S.y)||E(R,S.x,S.y2)||E(R,S.x2,S.y2)||E(S,R.x,R.y)||E(S,R.x2,R.y)||E(S,R.x,R.y2)||E(S,R.x2,R.y2)||(S.x<R.x2&&S.x>R.x||R.x<S.x2&&R.x>S.x)&&(S.y<R.y2&&S.y>R.y||R.y<S.y2&&R.y>S.y)};function BI(E,i,g,d,b){var S=-3*i+9*g-9*d+3*b,R=E*S+6*i-12*g+6*d;return E*R-3*i+3*g}function N(Bv,d,Bu,S,Bt,R,Bq,E,Bn){if(Bn==null){Bn=1}Bn=Bn>1?1:Bn<0?0:Bn;var Bo=Bn/2,Bp=12,Bk=[-0.1252,0.1252,-0.3678,0.3678,-0.5873,0.5873,-0.7699,0.7699,-0.9041,0.9041,-0.9816,0.9816],Bs=[0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472],b=0;for(var Br=0;Br<Bp;Br++){var Bl=Bo*Bk[Br]+Bo,Bm=BI(Bl,Bv,Bu,Bt,Bq),Bw=BI(Bl,d,S,R,E),g=Bm*Bm+Bw*Bw;b+=Bs[Br]*AT.sqrt(g)}return Bo*b}function c(S,Bo,R,Bn,E,Bl,Bq,Bk,Bm){if(Bm<0||N(S,Bo,R,Bn,E,Bl,Bq,Bk)<Bm){return }var Bp=1,b=Bp/2,g=Bp-b,d,i=0.01;d=N(S,Bo,R,Bn,E,Bl,Bq,Bk,g);while(AV(d-Bm)>i){b/=2;g+=(d<Bm?1:-1)*b;d=N(S,Bo,R,Bn,E,Bl,Bq,Bk,g)}return g}function q(b,Bp,S,Bn,E,Bm,Br,Bl){if(J(b,S)<BL(E,Br)||BL(b,S)>J(E,Br)||J(Bp,Bn)<BL(Bm,Bl)||BL(Bp,Bn)>J(Bm,Bl)){return }var Bk=(b*Bn-Bp*S)*(E-Br)-(b-S)*(E*Bl-Bm*Br),i=(b*Bn-Bp*S)*(Bm-Bl)-(Bp-Bn)*(E*Bl-Bm*Br),d=(b-S)*(Bm-Bl)-(Bp-Bn)*(E-Br);if(!d){return }var Bq=Bk/d,Bo=i/d,g=+Bq.toFixed(2),R=+Bo.toFixed(2);if(g<+BL(b,S).toFixed(2)||g>+J(b,S).toFixed(2)||g<+BL(E,Br).toFixed(2)||g>+J(E,Br).toFixed(2)||R<+BL(Bp,Bn).toFixed(2)||R>+J(Bp,Bn).toFixed(2)||R<+BL(Bm,Bl).toFixed(2)||R>+J(Bm,Bl).toFixed(2)){return }return{x:Bq,y:Bo}}function AX(R,E){return AF(R,E)}function Q(R,E){return AF(R,E,1)}function AF(B1,B0,Bz){var b=Aq.bezierBBox(B1),R=Aq.bezierBBox(B0);if(!Aq.isBBoxIntersect(b,R)){return Bz?0:[]}var Bu=N.apply(0,B1),Bt=N.apply(0,B0),Bl=~~(Bu/5),Bk=~~(Bt/5),Br=[],Bq=[],S={},B2=Bz?0:[];for(var Bw=0;Bw<Bl+1;Bw++){var Bs=Aq.findDotsAtSegment.apply(Aq,B1.concat(Bw/Bl));Br.push({x:Bs.x,y:Bs.y,t:Bw/Bl})}for(Bw=0;Bw<Bk+1;Bw++){Bs=Aq.findDotsAtSegment.apply(Aq,B0.concat(Bw/Bk));Bq.push({x:Bs.x,y:Bs.y,t:Bw/Bk})}for(Bw=0;Bw<Bl;Bw++){for(var Bv=0;Bv<Bk;Bv++){var By=Br[Bw],E=Br[Bw+1],Bx=Bq[Bv],g=Bq[Bv+1],Bp=AV(E.x-By.x)<0.001?"y":"x",Bo=AV(g.x-Bx.x)<0.001?"y":"x",d=q(By.x,By.y,E.x,E.y,Bx.x,Bx.y,g.x,g.y);if(d){if(S[d.x.toFixed(4)]==d.y.toFixed(4)){continue}S[d.x.toFixed(4)]=d.y.toFixed(4);var Bn=By.t+AV((d[Bp]-By[Bp])/(E[Bp]-By[Bp]))*(E.t-By.t),Bm=Bx.t+AV((d[Bo]-Bx[Bo])/(g[Bo]-Bx[Bo]))*(g.t-Bx.t);if(Bn>=0&&Bn<=1&&Bm>=0&&Bm<=1){if(Bz){B2++}else{B2.push({x:d.x,y:d.y,t1:Bn,t2:Bm})}}}}}return B2}Aq.pathIntersection=function(R,E){return e(R,E)};Aq.pathIntersectionNumber=function(R,E){return e(R,E,1)};function e(S,E,Bv){S=Aq._path2curve(S);E=Aq._path2curve(E);var Bt,g,Bs,b,Bq,Bk,R,Bn,Bz,By,B0=Bv?0:[];for(var Br=0,Bl=S.length;Br<Bl;Br++){var Bx=S[Br];if(Bx[0]=="M"){Bt=Bq=Bx[1];g=Bk=Bx[2]}else{if(Bx[0]=="C"){Bz=[Bt,g].concat(Bx.slice(1));Bt=Bz[6];g=Bz[7]}else{Bz=[Bt,g,Bt,g,Bq,Bk,Bq,Bk];Bt=Bq;g=Bk}for(var Bp=0,Bu=E.length;Bp<Bu;Bp++){var Bw=E[Bp];if(Bw[0]=="M"){Bs=R=Bw[1];b=Bn=Bw[2]}else{if(Bw[0]=="C"){By=[Bs,b].concat(Bw.slice(1));Bs=By[6];b=By[7]}else{By=[Bs,b,Bs,b,R,Bn,R,Bn];Bs=R;b=Bn}var Bm=AF(Bz,By,Bv);if(Bv){B0+=Bm}else{for(var Bo=0,d=Bm.length;Bo<d;Bo++){Bm[Bo].segment1=Br;Bm[Bo].segment2=Bp;Bm[Bo].bez1=Bz;Bm[Bo].bez2=By}B0=B0.concat(Bm)}}}}}return B0}Aq.isPointInsidePath=function(R,E,b){var S=Aq.pathBBox(R);return Aq.isPointInsideBBox(S,E,b)&&e(R,[["M",E,b],["H",S.x2+10]],1)%2==1};Aq._removedFactory=function(E){return function(){eve("raphael.log",null,"Rapha\xebl: you are calling to method \u201c"+E+"\u201d of removed object",E)}};var AM=Aq.pathBBox=function(Bs){var Bm=y(Bs);if(Bm.bbox){return Bm.bbox}if(!Bs){return{x:0,y:0,width:0,height:0,x2:0,y2:0}}Bs=w(Bs);var Bp=0,Bo=0,d=[],R=[],S;for(var Bk=0,Br=Bs.length;Bk<Br;Bk++){S=Bs[Bk];if(S[0]=="M"){Bp=S[1];Bo=S[2];d.push(Bp);R.push(Bo)}else{var Bl=A9(Bp,Bo,S[1],S[2],S[3],S[4],S[5],S[6]);d=d[Bd](Bl.min.x,Bl.max.x);R=R[Bd](Bl.min.y,Bl.max.y);Bp=S[5];Bo=S[6]}}var E=BL[Bf](0,d),Bq=BL[Bf](0,R),g=J[Bf](0,d),b=J[Bf](0,R),Bn={x:E,y:Bq,x2:g,y2:b,width:g-E,height:b-Bq};Bm.bbox=x(Bn);return Bn},Ay=function(R){var E=x(R);E.toString=Aq._path2string;return E},Ab=Aq._pathToRelative=function(b){var Bl=y(b);if(Bl.rel){return Ay(Bl.rel)}if(!Aq.is(b,BC)||!Aq.is(b&&b[0],BC)){b=Aq.parsePathString(b)}var Bo=[],Bq=0,Bp=0,Bt=0,Bs=0,S=0;if(b[0][0]=="M"){Bq=b[0][1];Bp=b[0][2];Bt=Bq;Bs=Bp;S++;Bo.push(["M",Bq,Bp])}for(var Bk=S,Bu=b.length;Bk<Bu;Bk++){var E=Bo[Bk]=[],Br=b[Bk];if(Br[0]!=Bj.call(Br[0])){E[0]=Bj.call(Br[0]);switch(E[0]){case"a":E[1]=Br[1];E[2]=Br[2];E[3]=Br[3];E[4]=Br[4];E[5]=Br[5];E[6]=+(Br[6]-Bq).toFixed(3);E[7]=+(Br[7]-Bp).toFixed(3);break;case"v":E[1]=+(Br[1]-Bp).toFixed(3);break;case"m":Bt=Br[1];Bs=Br[2];default:for(var g=1,Bm=Br.length;g<Bm;g++){E[g]=+(Br[g]-((g%2)?Bq:Bp)).toFixed(3)}}}else{E=Bo[Bk]=[];if(Br[0]=="m"){Bt=Br[1]+Bq;Bs=Br[2]+Bp}for(var d=0,R=Br.length;d<R;d++){Bo[Bk][d]=Br[d]}}var Bn=Bo[Bk].length;switch(Bo[Bk][0]){case"z":Bq=Bt;Bp=Bs;break;case"h":Bq+=+Bo[Bk][Bn-1];break;case"v":Bp+=+Bo[Bk][Bn-1];break;default:Bq+=+Bo[Bk][Bn-2];Bp+=+Bo[Bk][Bn-1]}}Bo.toString=Aq._path2string;Bl.rel=Ay(Bo);return Bo},V=Aq._pathToAbsolute=function(Bp){var S=y(Bp);if(S.abs){return Ay(S.abs)}if(!Aq.is(Bp,BC)||!Aq.is(Bp&&Bp[0],BC)){Bp=Aq.parsePathString(Bp)}if(!Bp||!Bp.length){return[["M",0,0]]}var Bv=[],Bk=0,g=0,Bn=0,Bm=0,b=0;if(Bp[0][0]=="M"){Bk=+Bp[0][1];g=+Bp[0][2];Bn=Bk;Bm=g;b++;Bv[0]=["M",Bk,g]}var Bu=Bp.length==3&&Bp[0][0]=="M"&&Bp[1][0].toUpperCase()=="R"&&Bp[2][0].toUpperCase()=="Z";for(var Bo,E,Bs=b,Bl=Bp.length;Bs<Bl;Bs++){Bv.push(Bo=[]);E=Bp[Bs];if(E[0]!=BS.call(E[0])){Bo[0]=BS.call(E[0]);switch(Bo[0]){case"A":Bo[1]=E[1];Bo[2]=E[2];Bo[3]=E[3];Bo[4]=E[4];Bo[5]=E[5];Bo[6]=+(E[6]+Bk);Bo[7]=+(E[7]+g);break;case"V":Bo[1]=+E[1]+g;break;case"H":Bo[1]=+E[1]+Bk;break;case"R":var d=[Bk,g][Bd](E.slice(1));for(var Br=2,Bt=d.length;Br<Bt;Br++){d[Br]=+d[Br]+Bk;d[++Br]=+d[Br]+g}Bv.pop();Bv=Bv[Bd](BA(d,Bu));break;case"M":Bn=+E[1]+Bk;Bm=+E[2]+g;default:for(Br=1,Bt=E.length;Br<Bt;Br++){Bo[Br]=+E[Br]+((Br%2)?Bk:g)}}}else{if(E[0]=="R"){d=[Bk,g][Bd](E.slice(1));Bv.pop();Bv=Bv[Bd](BA(d,Bu));Bo=["R"][Bd](E.slice(-2))}else{for(var Bq=0,R=E.length;Bq<R;Bq++){Bo[Bq]=E[Bq]}}}switch(Bo[0]){case"Z":Bk=Bn;g=Bm;break;case"H":Bk=Bo[1];break;case"V":g=Bo[1];break;case"M":Bn=Bo[Bo.length-2];Bm=Bo[Bo.length-1];default:Bk=Bo[Bo.length-2];g=Bo[Bo.length-1]}}Bv.toString=Aq._path2string;S.abs=Ay(Bv);return Bv},Bh=function(R,b,E,S){return[R,b,E,S,E,S]},BM=function(R,b,i,d,E,S){var g=1/3,Bk=2/3;return[g*R+Bk*i,g*b+Bk*d,g*E+Bk*i,g*S+Bk*d,E,S]},AE=function(Br,CM,B0,By,Bs,Bm,b,Bq,CL,Bt){var Bx=Au*120/180,E=Au/180*(+Bs||0),B4=[],B1,CI=Af(function(CN,CQ,i){var CP=CN*AT.cos(i)-CQ*AT.sin(i),CO=CN*AT.sin(i)+CQ*AT.cos(i);return{x:CP,y:CO}});if(!Bt){B1=CI(Br,CM,-E);Br=B1.x;CM=B1.y;B1=CI(Bq,CL,-E);Bq=B1.x;CL=B1.y;var R=AT.cos(Au/180*Bs),Bo=AT.sin(Au/180*Bs),B6=(Br-Bq)/2,B5=(CM-CL)/2;var CG=(B6*B6)/(B0*B0)+(B5*B5)/(By*By);if(CG>1){CG=AT.sqrt(CG);B0=CG*B0;By=CG*By}var S=B0*B0,B9=By*By,CB=(Bm==b?-1:1)*AT.sqrt(AV((S*B9-S*B5*B5-B9*B6*B6)/(S*B5*B5+B9*B6*B6))),Bv=CB*B0*B5/By+(Br+Bq)/2,Bu=CB*-By*B6/B0+(CM+CL)/2,Bl=AT.asin(((CM-Bu)/By).toFixed(9)),Bk=AT.asin(((CL-Bu)/By).toFixed(9));Bl=Br<Bv?Au-Bl:Bl;Bk=Bq<Bv?Au-Bk:Bk;Bl<0&&(Bl=Au*2+Bl);Bk<0&&(Bk=Au*2+Bk);if(b&&Bl>Bk){Bl=Bl-Au*2}if(!b&&Bk>Bl){Bk=Bk-Au*2}}else{Bl=Bt[0];Bk=Bt[1];Bv=Bt[2];Bu=Bt[3]}var Bp=Bk-Bl;if(AV(Bp)>Bx){var Bw=Bk,Bz=Bq,Bn=CL;Bk=Bl+Bx*(b&&Bk>Bl?1:-1);Bq=Bv+B0*AT.cos(Bk);CL=Bu+By*AT.sin(Bk);B4=AE(Bq,CL,B0,By,Bs,0,b,Bz,Bn,[Bk,Bw,Bv,Bu])}Bp=Bk-Bl;var g=AT.cos(Bl),CK=AT.sin(Bl),d=AT.cos(Bk),CJ=AT.sin(Bk),B7=AT.tan(Bp/4),CA=4/3*B0*B7,B8=4/3*By*B7,CH=[Br,CM],CF=[Br+CA*CK,CM-B8*g],CE=[Bq+CA*CJ,CL-B8*d],CC=[Bq,CL];CF[0]=2*CH[0]-CF[0];CF[1]=2*CH[1]-CF[1];if(Bt){return[CF,CE,CC][Bd](B4)}else{B4=[CF,CE,CC][Bd](B4).join()[f](",");var B2=[];for(var CD=0,B3=B4.length;CD<B3;CD++){B2[CD]=CD%2?CI(B4[CD-1],B4[CD],E).y:CI(B4[CD],B4[CD+1],E).x}return B2}},AG=function(R,E,b,S,Bl,Bk,i,g,Bm){var d=1-Bm;return{x:BO(d,3)*R+BO(d,2)*3*Bm*b+d*3*Bm*Bm*Bl+BO(Bm,3)*i,y:BO(d,3)*E+BO(d,2)*3*Bm*S+d*3*Bm*Bm*Bk+BO(Bm,3)*g}},A9=Af(function(S,E,g,d,Bt,Bs,Bp,Bm){var Br=(Bt-2*g+S)-(Bp-2*Bt+g),Bo=2*(g-S)-2*(Bt-g),Bl=S-g,Bk=(-Bo+AT.sqrt(Bo*Bo-4*Br*Bl))/2/Br,i=(-Bo-AT.sqrt(Bo*Bo-4*Br*Bl))/2/Br,Bn=[E,Bm],Bq=[S,Bp],R;AV(Bk)>"1e12"&&(Bk=0.5);AV(i)>"1e12"&&(i=0.5);if(Bk>0&&Bk<1){R=AG(S,E,g,d,Bt,Bs,Bp,Bm,Bk);Bq.push(R.x);Bn.push(R.y)}if(i>0&&i<1){R=AG(S,E,g,d,Bt,Bs,Bp,Bm,i);Bq.push(R.x);Bn.push(R.y)}Br=(Bs-2*d+E)-(Bm-2*Bs+d);Bo=2*(d-E)-2*(Bs-d);Bl=E-d;Bk=(-Bo+AT.sqrt(Bo*Bo-4*Br*Bl))/2/Br;i=(-Bo-AT.sqrt(Bo*Bo-4*Br*Bl))/2/Br;AV(Bk)>"1e12"&&(Bk=0.5);AV(i)>"1e12"&&(i=0.5);if(Bk>0&&Bk<1){R=AG(S,E,g,d,Bt,Bs,Bp,Bm,Bk);Bq.push(R.x);Bn.push(R.y)}if(i>0&&i<1){R=AG(S,E,g,d,Bt,Bs,Bp,Bm,i);Bq.push(R.x);Bn.push(R.y)}return{min:{x:BL[Bf](0,Bq),y:BL[Bf](0,Bn)},max:{x:J[Bf](0,Bq),y:J[Bf](0,Bn)}}}),w=Aq._path2curve=Af(function(Bt,Bo){var Bm=!Bo&&y(Bt);if(!Bo&&Bm.curve){return Ay(Bm.curve)}var b=V(Bt),Bp=Bo&&V(Bo),Bq={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},R={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},g=function(Bu,Bv){var i,Bw;if(!Bu){return["C",Bv.x,Bv.y,Bv.x,Bv.y,Bv.x,Bv.y]}!(Bu[0] in {T:1,Q:1})&&(Bv.qx=Bv.qy=null);switch(Bu[0]){case"M":Bv.X=Bu[1];Bv.Y=Bu[2];break;case"A":Bu=["C"][Bd](AE[Bf](0,[Bv.x,Bv.y][Bd](Bu.slice(1))));break;case"S":i=Bv.x+(Bv.x-(Bv.bx||Bv.x));Bw=Bv.y+(Bv.y-(Bv.by||Bv.y));Bu=["C",i,Bw][Bd](Bu.slice(1));break;case"T":Bv.qx=Bv.x+(Bv.x-(Bv.qx||Bv.x));Bv.qy=Bv.y+(Bv.y-(Bv.qy||Bv.y));Bu=["C"][Bd](BM(Bv.x,Bv.y,Bv.qx,Bv.qy,Bu[1],Bu[2]));break;case"Q":Bv.qx=Bu[1];Bv.qy=Bu[2];Bu=["C"][Bd](BM(Bv.x,Bv.y,Bu[1],Bu[2],Bu[3],Bu[4]));break;case"L":Bu=["C"][Bd](Bh(Bv.x,Bv.y,Bu[1],Bu[2]));break;case"H":Bu=["C"][Bd](Bh(Bv.x,Bv.y,Bu[1],Bv.y));break;case"V":Bu=["C"][Bd](Bh(Bv.x,Bv.y,Bv.x,Bu[1]));break;case"Z":Bu=["C"][Bd](Bh(Bv.x,Bv.y,Bv.X,Bv.Y));break}return Bu},E=function(Bu,Bv){if(Bu[Bv].length>7){Bu[Bv].shift();var Bw=Bu[Bv];while(Bw.length){Bu.splice(Bv++,0,["C"][Bd](Bw.splice(0,6)))}Bu.splice(Bv,1);Br=J(b.length,Bp&&Bp.length||0)}},S=function(By,Bx,Bv,Bu,Bw){if(By&&Bx&&By[Bw][0]=="M"&&Bx[Bw][0]!="M"){Bx.splice(Bw,0,["M",Bu.x,Bu.y]);Bv.bx=0;Bv.by=0;Bv.x=By[Bw][1];Bv.y=By[Bw][2];Br=J(b.length,Bp&&Bp.length||0)}};for(var Bl=0,Br=J(b.length,Bp&&Bp.length||0);Bl<Br;Bl++){b[Bl]=g(b[Bl],Bq);E(b,Bl);Bp&&(Bp[Bl]=g(Bp[Bl],R));Bp&&E(Bp,Bl);S(b,Bp,Bq,R,Bl);S(Bp,b,R,Bq,Bl);var Bk=b[Bl],Bs=Bp&&Bp[Bl],d=Bk.length,Bn=Bp&&Bs.length;Bq.x=Bk[d-2];Bq.y=Bk[d-1];Bq.bx=AN(Bk[d-4])||Bq.x;Bq.by=AN(Bk[d-3])||Bq.y;R.bx=Bp&&(AN(Bs[Bn-4])||R.x);R.by=Bp&&(AN(Bs[Bn-3])||R.y);R.x=Bp&&Bs[Bn-2];R.y=Bp&&Bs[Bn-1]}if(!Bp){Bm.curve=Ay(b)}return Bp?[b,Bp]:b},null,Ay),U=Aq._parseDots=Af(function(Bn){var Bm=[];for(var g=0,Bo=Bn.length;g<Bo;g++){var E={},Bl=Bn[g].match(/^([^:]*):?([\d\.]*)/);E.color=Aq.getRGB(Bl[1]);if(E.color.error){return null}E.color=E.color.hex;Bl[2]&&(E.offset=Bl[2]+"%");Bm.push(E)}for(g=1,Bo=Bm.length-1;g<Bo;g++){if(!Bm[g].offset){var R=AN(Bm[g-1].offset||0),S=0;for(var b=g+1;b<Bo;b++){if(Bm[b].offset){S=Bm[b].offset;break}}if(!S){S=100;b=Bo}S=AN(S);var Bk=(S-R)/(b-g+1);for(;g<b;g++){R+=Bk;Bm[g].offset=R+"%"}}}return Bm}),Aj=Aq._tear=function(E,R){E==R.top&&(R.top=E.prev);E==R.bottom&&(R.bottom=E.next);E.next&&(E.next.prev=E.prev);E.prev&&(E.prev.next=E.next)},AP=Aq._tofront=function(E,R){if(R.top===E){return }Aj(E,R);E.next=null;E.prev=R.top;R.top.next=E;R.top=E},M=Aq._toback=function(E,R){if(R.bottom===E){return }Aj(E,R);E.next=R.bottom;E.prev=null;R.bottom.prev=E;R.bottom=E},h=Aq._insertafter=function(R,E,S){Aj(R,S);E==S.top&&(S.top=R);E.next&&(E.next.prev=R);R.next=E.next;R.prev=E;E.next=R},As=Aq._insertbefore=function(R,E,S){Aj(R,S);E==S.bottom&&(S.bottom=R);E.prev&&(E.prev.next=R);R.prev=E.prev;E.prev=R;R.next=E},BK=Aq.toMatrix=function(S,E){var b=AM(S),R={_:{transform:Aw},getBBox:function(){return b}};An(R,E);return R.matrix},t=Aq.transformPath=function(R,E){return n(R,BK(R,E))},An=Aq._extractTransform=function(R,By){if(By==null){return R._.transform}By=Bg(By).replace(/\.{3}|\u2026/g,R._.transform||Aw);var Bq=Aq.parseTransformString(By),Bo=0,Bm=0,Bl=0,Bs=1,Br=1,Bz=R._,Bt=new Ae;Bz.transform=Bq||[];if(Bq){for(var Bu=0,Bn=Bq.length;Bu<Bn;Bu++){var Bp=Bq[Bu],E=Bp.length,d=Bg(Bp[0]).toLowerCase(),Bx=Bp[0]!=d,Bk=Bx?Bt.invert():0,Bw,b,Bv,S,g;if(d=="t"&&E==3){if(Bx){Bw=Bk.x(0,0);b=Bk.y(0,0);Bv=Bk.x(Bp[1],Bp[2]);S=Bk.y(Bp[1],Bp[2]);Bt.translate(Bv-Bw,S-b)}else{Bt.translate(Bp[1],Bp[2])}}else{if(d=="r"){if(E==2){g=g||R.getBBox(1);Bt.rotate(Bp[1],g.x+g.width/2,g.y+g.height/2);Bo+=Bp[1]}else{if(E==4){if(Bx){Bv=Bk.x(Bp[2],Bp[3]);S=Bk.y(Bp[2],Bp[3]);Bt.rotate(Bp[1],Bv,S)}else{Bt.rotate(Bp[1],Bp[2],Bp[3])}Bo+=Bp[1]}}}else{if(d=="s"){if(E==2||E==3){g=g||R.getBBox(1);Bt.scale(Bp[1],Bp[E-1],g.x+g.width/2,g.y+g.height/2);Bs*=Bp[1];Br*=Bp[E-1]}else{if(E==5){if(Bx){Bv=Bk.x(Bp[3],Bp[4]);S=Bk.y(Bp[3],Bp[4]);Bt.scale(Bp[1],Bp[2],Bv,S)}else{Bt.scale(Bp[1],Bp[2],Bp[3],Bp[4])}Bs*=Bp[1];Br*=Bp[2]}}}else{if(d=="m"&&E==7){Bt.add(Bp[1],Bp[2],Bp[3],Bp[4],Bp[5],Bp[6])}}}}Bz.dirtyT=1;R.matrix=Bt}}R.matrix=Bt;Bz.sx=Bs;Bz.sy=Br;Bz.deg=Bo;Bz.dx=Bm=Bt.e;Bz.dy=Bl=Bt.f;if(Bs==1&&Br==1&&!Bo&&Bz.bbox){Bz.bbox.x+=+Bm;Bz.bbox.y+=+Bl}else{Bz.dirtyT=1}},I=function(R){var E=R[0];switch(E.toLowerCase()){case"t":return[E,0,0];case"m":return[E,1,0,0,1,0,0];case"r":if(R.length==4){return[E,0,R[2],R[3]]}else{return[E,0]}case"s":if(R.length==5){return[E,1,1,R[3],R[4]]}else{if(R.length==3){return[E,1,1]}else{return[E,1]}}}},Aa=Aq._equaliseTransform=function(d,b){b=Bg(b).replace(/\.{3}|\u2026/g,d);d=Aq.parseTransformString(d)||[];b=Aq.parseTransformString(b)||[];var E=J(d.length,b.length),Bm=[],Bn=[],S=0,R,g,Bl,Bk;for(;S<E;S++){Bl=d[S]||I(b[S]);Bk=b[S]||I(Bl);if((Bl[0]!=Bk[0])||(Bl[0].toLowerCase()=="r"&&(Bl[2]!=Bk[2]||Bl[3]!=Bk[3]))||(Bl[0].toLowerCase()=="s"&&(Bl[3]!=Bk[3]||Bl[4]!=Bk[4]))){return }Bm[S]=[];Bn[S]=[];for(R=0,g=J(Bl.length,Bk.length);R<g;R++){R in Bl&&(Bm[S][R]=Bl[R]);R in Bk&&(Bn[S][R]=Bk[R])}}return{from:Bm,to:Bn}};Aq._getContainer=function(E,d,S,b){var R;R=b==null&&!Aq.is(E,"object")?AZ.doc.getElementById(E):E;if(R==null){return }if(R.tagName){if(d==null){return{container:R,width:R.style.pixelWidth||R.offsetWidth,height:R.style.pixelHeight||R.offsetHeight}}else{return{container:R,width:d,height:S}}}return{container:1,x:E,y:d,width:S,height:b}};Aq.pathToRelative=Ab;Aq._engine={};Aq.path2curve=w;Aq.matrix=function(R,E,Bk,i,g,S){return new Ae(R,E,Bk,i,g,S)};function Ae(R,E,Bk,i,g,S){if(R!=null){this.a=+R;this.b=+E;this.c=+Bk;this.d=+i;this.e=+g;this.f=+S}else{this.a=1;this.b=0;this.c=0;this.d=1;this.e=0;this.f=0}}(function(S){S.add=function(Bu,Br,Bp,Bn,Bl,Bk){var i=[[],[],[]],g=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],Bt=[[Bu,Bp,Bl],[Br,Bn,Bk],[0,0,1]],Bs,Bq,Bo,Bm;if(Bu&&Bu instanceof Ae){Bt=[[Bu.a,Bu.c,Bu.e],[Bu.b,Bu.d,Bu.f],[0,0,1]]}for(Bs=0;Bs<3;Bs++){for(Bq=0;Bq<3;Bq++){Bm=0;for(Bo=0;Bo<3;Bo++){Bm+=g[Bs][Bo]*Bt[Bo][Bq]}i[Bs][Bq]=Bm}}this.a=i[0][0];this.b=i[1][0];this.c=i[0][1];this.d=i[1][1];this.e=i[0][2];this.f=i[1][2]};S.invert=function(){var d=this,b=d.a*d.d-d.b*d.c;return new Ae(d.d/b,-d.b/b,-d.c/b,d.a/b,(d.c*d.f-d.d*d.e)/b,(d.b*d.e-d.a*d.f)/b)};S.clone=function(){return new Ae(this.a,this.b,this.c,this.d,this.e,this.f)};S.translate=function(b,d){this.add(1,0,0,1,b,d)};S.scale=function(d,i,b,g){i==null&&(i=d);(b||g)&&this.add(1,0,0,1,b,g);this.add(d,0,0,i,0,0);(b||g)&&this.add(1,0,0,1,-b,-g)};S.rotate=function(d,b,Bk){d=Aq.rad(d);b=b||0;Bk=Bk||0;var i=+AT.cos(d).toFixed(9),g=+AT.sin(d).toFixed(9);this.add(i,g,-g,i,b,Bk);this.add(1,0,0,1,-b,-Bk)};S.x=function(b,d){return b*this.a+d*this.c+this.e};S.y=function(b,d){return b*this.b+d*this.d+this.f};S.get=function(b){return +this[Bg.fromCharCode(97+b)].toFixed(4)};S.toString=function(){return Aq.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()};S.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"};S.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};function R(b){return b[0]*b[0]+b[1]*b[1]}function E(b){var d=AT.sqrt(R(b));b[0]&&(b[0]/=d);b[1]&&(b[1]/=d)}S.split=function(){var d={};d.dx=this.e;d.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];d.scalex=AT.sqrt(R(i[0]));E(i[0]);d.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1];i[1]=[i[1][0]-i[0][0]*d.shear,i[1][1]-i[0][1]*d.shear];d.scaley=AT.sqrt(R(i[1]));E(i[1]);d.shear/=d.scaley;var b=-i[0][1],g=i[1][1];if(g<0){d.rotate=Aq.deg(AT.acos(g));if(b<0){d.rotate=360-d.rotate}}else{d.rotate=Aq.deg(AT.asin(b))}d.isSimple=!+d.shear.toFixed(9)&&(d.scalex.toFixed(9)==d.scaley.toFixed(9)||!d.rotate);d.isSuperSimple=!+d.shear.toFixed(9)&&d.scalex.toFixed(9)==d.scaley.toFixed(9)&&!d.rotate;d.noRotation=!+d.shear.toFixed(9)&&!d.rotate;return d};S.toTransformString=function(b){var d=b||this[f]();if(d.isSimple){d.scalex=+d.scalex.toFixed(4);d.scaley=+d.scaley.toFixed(4);d.rotate=+d.rotate.toFixed(4);return(d.dx||d.dy?"t"+[d.dx,d.dy]:Aw)+(d.scalex!=1||d.scaley!=1?"s"+[d.scalex,d.scaley,0,0]:Aw)+(d.rotate?"r"+[d.rotate,0,0]:Aw)}else{return"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}})(Ae.prototype);var v=navigator.userAgent.match(/Version\/(.*?)\s/)||navigator.userAgent.match(/Chrome\/(\d+)/);if((navigator.vendor=="Apple Computer, Inc.")&&(v&&v[1]<4||navigator.platform.slice(0,2)=="iP")||(navigator.vendor=="Google Inc."&&v&&v[1]<8)){A3.safari=function(){var E=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});setTimeout(function(){E.remove()})}}else{A3.safari=k}var r=function(){this.returnValue=false},Bc=function(){return this.originalEvent.preventDefault()},A7=function(){this.cancelBubble=true},Ai=function(){return this.originalEvent.stopPropagation()},Ac=(function(){if(AZ.doc.addEventListener){return function(g,b,S,R){var E=z&&BW[b]?BW[b]:b,d=function(Bp){var Bo=AZ.doc.documentElement.scrollTop||AZ.doc.body.scrollTop,Bq=AZ.doc.documentElement.scrollLeft||AZ.doc.body.scrollLeft,Bk=Bp.clientX+Bq,Br=Bp.clientY+Bo;if(z&&BW[AK](b)){for(var Bm=0,Bn=Bp.targetTouches&&Bp.targetTouches.length;Bm<Bn;Bm++){if(Bp.targetTouches[Bm].target==g){var Bl=Bp;Bp=Bp.targetTouches[Bm];Bp.originalEvent=Bl;Bp.preventDefault=Bc;Bp.stopPropagation=Ai;break}}}return S.call(R,Bp,Bk,Br)};g.addEventListener(E,d,false);return function(){g.removeEventListener(E,d,false);return true}}}else{if(AZ.doc.attachEvent){return function(g,b,S,R){var d=function(Bl){Bl=Bl||AZ.win.event;var Bk=AZ.doc.documentElement.scrollTop||AZ.doc.body.scrollTop,Bm=AZ.doc.documentElement.scrollLeft||AZ.doc.body.scrollLeft,i=Bl.clientX+Bm,Bn=Bl.clientY+Bk;Bl.preventDefault=Bl.preventDefault||r;Bl.stopPropagation=Bl.stopPropagation||A7;return S.call(R,Bl,i,Bn)};g.attachEvent("on"+b,d);var E=function(){g.detachEvent("on"+b,d);return true};return E}}}})(),BD=[],BX=function(Bl){var Bo=Bl.clientX,Bn=Bl.clientY,Bq=AZ.doc.documentElement.scrollTop||AZ.doc.body.scrollTop,Br=AZ.doc.documentElement.scrollLeft||AZ.doc.body.scrollLeft,S,b=BD.length;while(b--){S=BD[b];if(z){var g=Bl.touches.length,d;while(g--){d=Bl.touches[g];if(d.identifier==S.el._drag.id){Bo=d.clientX;Bn=d.clientY;(Bl.originalEvent?Bl.originalEvent:Bl).preventDefault();break}}}else{Bl.preventDefault()}var R=S.el.node,E,Bk=R.nextSibling,Bp=R.parentNode,Bm=R.style.display;AZ.win.opera&&Bp.removeChild(R);R.style.display="none";E=S.el.paper.getElementByPoint(Bo,Bn);R.style.display=Bm;AZ.win.opera&&(Bk?Bp.insertBefore(R,Bk):Bp.appendChild(R));E&&eve("raphael.drag.over."+S.el.id,S.el,E);Bo+=Br;Bn+=Bq;eve("raphael.drag.move."+S.el.id,S.move_scope||S.el,Bo-S.el._drag.x,Bn-S.el._drag.y,Bo,Bn,Bl)}},C=function(S){Aq.unmousemove(BX).unmouseup(C);var R=BD.length,E;while(R--){E=BD[R];E.el._drag={};eve("raphael.drag.end."+E.el.id,E.end_scope||E.start_scope||E.move_scope||E.el,S)}BD=[]},BG=Aq.el={};for(var AW=s.length;AW--;){(function(E){Aq[E]=BG[E]=function(S,R){if(Aq.is(S,"function")){this.events=this.events||[];this.events.push({name:E,f:S,unbind:Ac(this.shape||this.node||AZ.doc,E,S,R||this)})}return this};Aq["un"+E]=BG["un"+E]=function(b){var S=this.events||[],R=S.length;while(R--){if(S[R].name==E&&S[R].f==b){S[R].unbind();S.splice(R,1);!S.length&&delete this.events;return this}}return this}})(s[AW])}BG.data=function(R,b){var S=At[this.id]=At[this.id]||{};if(arguments.length==1){if(Aq.is(R,"object")){for(var E in R){if(R[AK](E)){this.data(E,R[E])}}return this}eve("raphael.data.get."+this.id,this,S[R],R);return S[R]}S[R]=b;eve("raphael.data.set."+this.id,this,b,R);return this};BG.removeData=function(E){if(E==null){At[this.id]={}}else{At[this.id]&&delete At[this.id][E]}return this};BG.hover=function(b,E,S,R){return this.mouseover(b,S).mouseout(E,R||S)};BG.unhover=function(R,E){return this.unmouseover(R).unmouseout(E)};var BT=[];BG.drag=function(R,g,d,E,S,b){function i(Bl){(Bl.originalEvent||Bl).preventDefault();var Bk=AZ.doc.documentElement.scrollTop||AZ.doc.body.scrollTop,Bm=AZ.doc.documentElement.scrollLeft||AZ.doc.body.scrollLeft;this._drag.x=Bl.clientX+Bm;this._drag.y=Bl.clientY+Bk;this._drag.id=Bl.identifier;!BD.length&&Aq.mousemove(BX).mouseup(C);BD.push({el:this,move_scope:E,start_scope:S,end_scope:b});g&&eve.on("raphael.drag.start."+this.id,g);R&&eve.on("raphael.drag.move."+this.id,R);d&&eve.on("raphael.drag.end."+this.id,d);eve("raphael.drag.start."+this.id,S||E||this,Bl.clientX+Bm,Bl.clientY+Bk,Bl)}this._drag={};BT.push({el:this,start:i});this.mousedown(i);return this};BG.onDragOver=function(E){E?eve.on("raphael.drag.over."+this.id,E):eve.unbind("raphael.drag.over."+this.id)};BG.undrag=function(){var E=BT.length;while(E--){if(BT[E].el==this){this.unmousedown(BT[E].start);BT.splice(E,1);eve.unbind("raphael.drag.*."+this.id)}}!BT.length&&Aq.unmousemove(BX).unmouseup(C)};A3.circle=function(E,b,S){var R=Aq._engine.circle(this,E||0,b||0,S||0);this.__set__&&this.__set__.push(R);return R};A3.rect=function(E,g,R,b,d){var S=Aq._engine.rect(this,E||0,g||0,R||0,b||0,d||0);this.__set__&&this.__set__.push(S);return S};A3.ellipse=function(E,d,b,S){var R=Aq._engine.ellipse(this,E||0,d||0,b||0,S||0);this.__set__&&this.__set__.push(R);return R};A3.path=function(E){E&&!Aq.is(E,AJ)&&!Aq.is(E[0],BC)&&(E+=Aw);var R=Aq._engine.path(Aq.format[Bf](Aq,arguments),this);this.__set__&&this.__set__.push(R);return R};A3.image=function(d,E,g,R,b){var S=Aq._engine.image(this,d||"about:blank",E||0,g||0,R||0,b||0);this.__set__&&this.__set__.push(S);return S};A3.text=function(E,b,S){var R=Aq._engine.text(this,E||0,b||0,Bg(S));this.__set__&&this.__set__.push(R);return R};A3.set=function(R){!Aq.is(R,"array")&&(R=Array.prototype.splice.call(arguments,0,arguments.length));var E=new AL(R);this.__set__&&this.__set__.push(E);return E};A3.setStart=function(E){this.__set__=E||this.set()};A3.setFinish=function(R){var E=this.__set__;delete this.__set__;return E};A3.setSize=function(R,E){return Aq._engine.setSize.call(this,R,E)};A3.setViewBox=function(E,d,R,b,S){return Aq._engine.setViewBox.call(this,E,d,R,b,S)};A3.top=A3.bottom=null;A3.raphael=Aq;var BR=function(S){var d=S.getBoundingClientRect(),Bl=S.ownerDocument,g=Bl.body,E=Bl.documentElement,b=E.clientTop||g.clientTop||0,i=E.clientLeft||g.clientLeft||0,Bk=d.top+(AZ.win.pageYOffset||E.scrollTop||g.scrollTop)-b,R=d.left+(AZ.win.pageXOffset||E.scrollLeft||g.scrollLeft)-i;return{y:Bk,x:R}};A3.getElementByPoint=function(R,Bk){var i=this,S=i.canvas,g=AZ.doc.elementFromPoint(R,Bk);if(AZ.win.opera&&g.tagName=="svg"){var d=BR(S),b=S.createSVGRect();b.x=R-d.x;b.y=Bk-d.y;b.width=b.height=1;var E=S.getIntersectionList(b,null);if(E.length){g=E[E.length-1]}}if(!g){return null}while(g.parentNode&&g!=S.parentNode&&!g.raphael){g=g.parentNode}g==i.canvas.parentNode&&(g=S);g=g&&g.raphael?i.getById(g.raphaelid):null;return g};A3.getById=function(R){var E=this.bottom;while(E){if(E.id==R){return E}E=E.next}return null};A3.forEach=function(S,E){var R=this.bottom;while(R){if(S.call(E,R)===false){return this}R=R.next}return this};A3.getElementsByPoint=function(E,S){var R=this.set();this.forEach(function(b){if(b.isPointInside(E,S)){R.push(b)}});return R};function X(){return this.x+Ap+this.y}function AS(){return this.x+Ap+this.y+Ap+this.width+" \xd7 "+this.height}BG.isPointInside=function(E,S){var R=this.realPath=this.realPath||p[this.type](this);return Aq.isPointInsidePath(R,E,S)};BG.getBBox=function(R){if(this.removed){return{}}var E=this._;if(R){if(E.dirty||!E.bboxwt){this.realPath=p[this.type](this);E.bboxwt=AM(this.realPath);E.bboxwt.toString=AS;E.dirty=0}return E.bboxwt}if(E.dirty||E.dirtyT||!E.bbox){if(E.dirty||!this.realPath){E.bboxwt=0;this.realPath=p[this.type](this)}E.bbox=AM(n(this.realPath,this.matrix));E.bbox.toString=AS;E.dirty=E.dirtyT=0}return E.bbox};BG.clone=function(){if(this.removed){return null}var E=this.paper[this.type]().attr(this.attr());this.__set__&&this.__set__.push(E);return E};BG.glow=function(Bk){if(this.type=="text"){return null}Bk=Bk||{};var S={width:(Bk.width||10)+(+this.attr("stroke-width")||1),fill:Bk.fill||false,opacity:Bk.opacity||0.5,offsetx:Bk.offsetx||0,offsety:Bk.offsety||0,color:Bk.color||"#000"},g=S.width/2,b=this.paper,E=b.set(),d=this.realPath||p[this.type](this);d=this.matrix?n(d,this.matrix):d;for(var R=1;R<g+1;R++){E.push(b.path(d).attr({stroke:S.color,fill:S.fill?S.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(S.width/g*R).toFixed(3),opacity:+(S.opacity/g).toFixed(3)}))}return E.insertBefore(this).translate(S.offsetx,S.offsety)};var A6={},H=function(R,E,d,b,Bl,Bk,i,g,S){if(S==null){return N(R,E,d,b,Bl,Bk,i,g)}else{return Aq.findDotsAtSegment(R,E,d,b,Bl,Bk,i,g,c(R,E,d,b,Bl,Bk,i,g,S))}},A5=function(E,R){return function(Bs,d,g){Bs=w(Bs);var Bo,Bn,S,Bk,b="",Br={},Bp,Bm=0;for(var Bl=0,Bq=Bs.length;Bl<Bq;Bl++){S=Bs[Bl];if(S[0]=="M"){Bo=+S[1];Bn=+S[2]}else{Bk=H(Bo,Bn,S[1],S[2],S[3],S[4],S[5],S[6]);if(Bm+Bk>d){if(R&&!Br.start){Bp=H(Bo,Bn,S[1],S[2],S[3],S[4],S[5],S[6],d-Bm);b+=["C"+Bp.start.x,Bp.start.y,Bp.m.x,Bp.m.y,Bp.x,Bp.y];if(g){return b}Br.start=b;b=["M"+Bp.x,Bp.y+"C"+Bp.n.x,Bp.n.y,Bp.end.x,Bp.end.y,S[5],S[6]].join();Bm+=Bk;Bo=+S[5];Bn=+S[6];continue}if(!E&&!R){Bp=H(Bo,Bn,S[1],S[2],S[3],S[4],S[5],S[6],d-Bm);return{x:Bp.x,y:Bp.y,alpha:Bp.alpha}}}Bm+=Bk;Bo=+S[5];Bn=+S[6]}b+=S.shift()+S}Br.end=b;Bp=E?Bm:R?Br:Aq.findDotsAtSegment(Bo,Bn,S[0],S[1],S[2],S[3],S[4],S[5],1);Bp.alpha&&(Bp={x:Bp.x,y:Bp.y,alpha:Bp.alpha});return Bp}};var Ar=A5(1),l=A5(),AD=A5(0,1);Aq.getTotalLength=Ar;Aq.getPointAtLength=l;Aq.getSubpath=function(R,b,S){if(this.getTotalLength(R)-S<0.000001){return AD(R,b).end}var E=AD(R,S,1);return b?AD(E,b).end:E};BG.getTotalLength=function(){if(this.type!="path"){return }if(this.node.getTotalLength){return this.node.getTotalLength()}return Ar(this.attrs.path)};BG.getPointAtLength=function(E){if(this.type!="path"){return }return l(this.attrs.path,E)};BG.getSubpath=function(R,E){if(this.type!="path"){return }return Aq.getSubpath(this.attrs.path,R,E)};var L=Aq.easing_formulas={linear:function(E){return E},"<":function(E){return BO(E,1.7)},">":function(E){return BO(E,0.48)},"<>":function(Bk){var b=0.48-Bk/1.04,S=AT.sqrt(0.1734+b*b),E=S-b,i=BO(AV(E),1/3)*(E<0?-1:1),g=-S-b,d=BO(AV(g),1/3)*(g<0?-1:1),R=i+d+0.5;return(1-R)*3*R*R+R*R*R},backIn:function(R){var E=1.70158;return R*R*((E+1)*R-E)},backOut:function(R){R=R-1;var E=1.70158;return R*R*((E+1)*R+E)+1},elastic:function(E){if(E==!!E){return E}return BO(2,-10*E)*AT.sin((E-0.075)*(2*Au)/0.3)+1},bounce:function(b){var R=7.5625,S=2.75,E;if(b<(1/S)){E=R*b*b}else{if(b<(2/S)){b-=(1.5/S);E=R*b*b+0.75}else{if(b<(2.5/S)){b-=(2.25/S);E=R*b*b+0.9375}else{b-=(2.625/S);E=R*b*b+0.984375}}}return E}};L.easeIn=L["ease-in"]=L["<"];L.easeOut=L["ease-out"]=L[">"];L.easeInOut=L["ease-in-out"]=L["<>"];L["back-in"]=L.backIn;L["back-out"]=L.backOut;var AB=[],Am=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(E){setTimeout(E,16)},Bb=function(){var Bk=+new Date,Bs=0;for(;Bs<AB.length;Bs++){var By=AB[Bs];if(By.el.removed||By.paused){continue}var b=Bk-By.start,Bq=By.ms,Bp=By.easing,Bt=By.from,Bn=By.diff,R=By.to,Bm=By.t,g=By.el,Bo={},E,Bw={},B0;if(By.initstatus){b=(By.initstatus*By.anim.top-By.prev)/(By.percent-By.prev)*Bq;By.status=By.initstatus;delete By.initstatus;By.stop&&AB.splice(Bs--,1)}else{By.status=(By.prev+(By.percent-By.prev)*(b/Bq))/By.anim.top}if(b<0){continue}if(b<Bq){var S=Bp(b/Bq);for(var Br in Bt){if(Bt[AK](Br)){switch(AR[Br]){case Ak:E=+Bt[Br]+S*Bq*Bn[Br];break;case"colour":E="rgb("+[j(AH(Bt[Br].r+S*Bq*Bn[Br].r)),j(AH(Bt[Br].g+S*Bq*Bn[Br].g)),j(AH(Bt[Br].b+S*Bq*Bn[Br].b))].join(",")+")";break;case"path":E=[];for(var Bv=0,Bl=Bt[Br].length;Bv<Bl;Bv++){E[Bv]=[Bt[Br][Bv][0]];for(var Bu=1,Bx=Bt[Br][Bv].length;Bu<Bx;Bu++){E[Bv][Bu]=+Bt[Br][Bv][Bu]+S*Bq*Bn[Br][Bv][Bu]}E[Bv]=E[Bv].join(Ap)}E=E.join(Ap);break;case"transform":if(Bn[Br].real){E=[];for(Bv=0,Bl=Bt[Br].length;Bv<Bl;Bv++){E[Bv]=[Bt[Br][Bv][0]];for(Bu=1,Bx=Bt[Br][Bv].length;Bu<Bx;Bu++){E[Bv][Bu]=Bt[Br][Bv][Bu]+S*Bq*Bn[Br][Bv][Bu]}}}else{var Bz=function(B1){return +Bt[Br][B1]+S*Bq*Bn[Br][B1]};E=[["m",Bz(0),Bz(1),Bz(2),Bz(3),Bz(4),Bz(5)]]}break;case"csv":if(Br=="clip-rect"){E=[];Bv=4;while(Bv--){E[Bv]=+Bt[Br][Bv]+S*Bq*Bn[Br][Bv]}}break;default:var d=[][Bd](Bt[Br]);E=[];Bv=g.paper.customAttributes[Br].length;while(Bv--){E[Bv]=+d[Bv]+S*Bq*Bn[Br][Bv]}break}Bo[Br]=E}}g.attr(Bo);(function(B2,i,B1){setTimeout(function(){eve("raphael.anim.frame."+B2,i,B1)})})(g.id,g,By.anim)}else{(function(B2,B1,i){setTimeout(function(){eve("raphael.anim.frame."+B1.id,B1,i);eve("raphael.anim.finish."+B1.id,B1,i);Aq.is(B2,"function")&&B2.call(B1)})})(By.callback,g,By.anim);g.attr(R);AB.splice(Bs--,1);if(By.repeat>1&&!By.next){for(B0 in R){if(R[AK](B0)){Bw[B0]=By.totalOrigin[B0]}}By.el.attr(Bw);Al(By.anim,By.el,By.anim.percents[0],null,By.totalOrigin,By.repeat-1)}if(By.next&&!By.stop){Al(By.anim,By.el,By.next,null,By.totalOrigin,By.repeat)}}}Aq.svg&&g&&g.paper&&g.paper.safari();AB.length&&Am(Bb)},j=function(E){return E>255?255:E<0?0:E};BG.animateWith=function(R,b,S,E,Bk,Bp){var g=this;if(g.removed){Bp&&Bp.call(g);return g}var Bn=S instanceof BZ?S:Aq.animation(S,E,Bk,Bp),Bm,Bl;Al(Bn,g,Bn.percents[0],null,g.attr());for(var d=0,Bo=AB.length;d<Bo;d++){if(AB[d].anim==b&&AB[d].el==R){AB[Bo-1].start=AB[d].start;break}}return g};function A2(Bq,b,R,Bp,Bo,Bk){var Bl=3*b,Bn=3*(Bp-b)-Bl,E=1-Bl-Bn,i=3*R,Bm=3*(Bo-R)-i,Br=1-i-Bm;function g(Bs){return((E*Bs+Bn)*Bs+Bl)*Bs}function S(Bs,Bu){var Bt=d(Bs,Bu);return((Br*Bt+Bm)*Bt+i)*Bt}function d(Bs,Bz){var By,Bx,Bv,Bt,Bw,Bu;for(Bv=Bs,Bu=0;Bu<8;Bu++){Bt=g(Bv)-Bs;if(AV(Bt)<Bz){return Bv}Bw=(3*E*Bv+2*Bn)*Bv+Bl;if(AV(Bw)<0.000001){break}Bv=Bv-Bt/Bw}By=0;Bx=1;Bv=Bs;if(Bv<By){return By}if(Bv>Bx){return Bx}while(By<Bx){Bt=g(Bv);if(AV(Bt-Bs)<Bz){return Bv}if(Bs>Bt){By=Bv}else{Bx=Bv}Bv=(Bx-By)/2+By}return Bv}return S(Bq,1/(200*Bk))}BG.onAnimation=function(E){E?eve.on("raphael.anim.frame."+this.id,E):eve.unbind("raphael.anim.frame."+this.id);return this};function BZ(d,S){var R=[],b={};this.ms=S;this.times=1;if(d){for(var E in d){if(d[AK](E)){b[AN(E)]=d[E];R.push(AN(E))}}R.sort(T)}this.anim=b;this.top=R[R.length-1];this.percents=R}BZ.prototype.delay=function(R){var E=new BZ(this.anim,this.ms);E.times=this.times;E.del=+R||0;return E};BZ.prototype.repeat=function(R){var E=new BZ(this.anim,this.ms);E.del=this.del;E.times=AT.floor(J(R,0))||1;return E};function Al(B2,S,E,B0,Bk,Bo){E=AN(E);var B9,g,Bn,CA=[],Bu,Bt,d,Bw=B2.ms,B1={},b={},Bq={};if(B0){for(B5=0,Bp=AB.length;B5<Bp;B5++){var B7=AB[B5];if(B7.el.id==S.id&&B7.anim==B2){if(B7.percent!=E){AB.splice(B5,1);Bn=1}else{g=B7}S.attr(B7.totalOrigin);break}}}else{B0=+b}for(var B5=0,Bp=B2.percents.length;B5<Bp;B5++){if(B2.percents[B5]==E||B2.percents[B5]>B0*B2.top){E=B2.percents[B5];Bt=B2.percents[B5-1]||0;Bw=Bw/B2.top*(E-Bt);Bu=B2.percents[B5+1];B9=B2.anim[E];break}else{if(B0){S.attr(B2.anim[B2.percents[B5]])}}}if(!B9){return }if(!g){for(var By in B9){if(B9[AK](By)){if(AR[AK](By)||S.paper.customAttributes[AK](By)){B1[By]=S.attr(By);(B1[By]==null)&&(B1[By]=O[By]);b[By]=B9[By];switch(AR[By]){case Ak:Bq[By]=(b[By]-B1[By])/Bw;break;case"colour":B1[By]=Aq.getRGB(B1[By]);var Bz=Aq.getRGB(b[By]);Bq[By]={r:(Bz.r-B1[By].r)/Bw,g:(Bz.g-B1[By].g)/Bw,b:(Bz.b-B1[By].b)/Bw};break;case"path":var Bl=w(B1[By],b[By]),Bs=Bl[1];B1[By]=Bl[0];Bq[By]=[];for(B5=0,Bp=B1[By].length;B5<Bp;B5++){Bq[By][B5]=[0];for(var B4=1,B6=B1[By][B5].length;B4<B6;B4++){Bq[By][B5][B4]=(Bs[B5][B4]-B1[By][B5][B4])/Bw}}break;case"transform":var CC=S._,CB=Aa(CC[By],b[By]);if(CB){B1[By]=CB.from;b[By]=CB.to;Bq[By]=[];Bq[By].real=true;for(B5=0,Bp=B1[By].length;B5<Bp;B5++){Bq[By][B5]=[B1[By][B5][0]];for(B4=1,B6=B1[By][B5].length;B4<B6;B4++){Bq[By][B5][B4]=(b[By][B5][B4]-B1[By][B5][B4])/Bw}}}else{var Bx=(S.matrix||new Ae),B8={_:{transform:CC.transform},getBBox:function(){return S.getBBox(1)}};B1[By]=[Bx.a,Bx.b,Bx.c,Bx.d,Bx.e,Bx.f];An(B8,b[By]);b[By]=B8._.transform;Bq[By]=[(B8.matrix.a-Bx.a)/Bw,(B8.matrix.b-Bx.b)/Bw,(B8.matrix.c-Bx.c)/Bw,(B8.matrix.d-Bx.d)/Bw,(B8.matrix.e-Bx.e)/Bw,(B8.matrix.f-Bx.f)/Bw]}break;case"csv":var R=Bg(B9[By])[f](A),Bm=Bg(B1[By])[f](A);if(By=="clip-rect"){B1[By]=Bm;Bq[By]=[];B5=Bm.length;while(B5--){Bq[By][B5]=(R[B5]-B1[By][B5])/Bw}}b[By]=R;break;default:R=[][Bd](B9[By]);Bm=[][Bd](B1[By]);Bq[By]=[];B5=S.paper.customAttributes[By].length;while(B5--){Bq[By][B5]=((R[B5]||0)-(Bm[B5]||0))/Bw}break}}}}var Bv=B9.easing,B3=Aq.easing_formulas[Bv];if(!B3){B3=Bg(Bv).match(B);if(B3&&B3.length==5){var Br=B3;B3=function(i){return A2(i,+Br[1],+Br[2],+Br[3],+Br[4],Bw)}}else{B3=Ba}}d=B9.start||B2.start||+new Date;B7={anim:B2,percent:E,timestamp:d,start:d+(B2.del||0),status:0,initstatus:B0||0,stop:false,ms:Bw,easing:B3,from:B1,diff:Bq,to:b,el:S,callback:B9.callback,prev:Bt,next:Bu,repeat:Bo||B2.times,origin:S.attr(),totalOrigin:Bk};AB.push(B7);if(B0&&!g&&!Bn){B7.stop=true;B7.start=new Date-Bw*B0;if(AB.length==1){return Bb()}}if(Bn){B7.start=new Date-B7.ms*B0}AB.length==1&&Am(Bb)}else{g.initstatus=B0;g.start=new Date-g.ms*B0}eve("raphael.anim.start."+S.id,S,B2)}Aq.animation=function(d,R,i,g){if(d instanceof BZ){return d}if(Aq.is(i,"function")||!i){g=g||i||null;i=null}d=Object(d);R=+R||0;var b={},S,E;for(E in d){if(d[AK](E)&&AN(E)!=E&&AN(E)+"%"!=E){S=true;b[E]=d[E]}}if(!S){return new BZ(d,R)}else{i&&(b.easing=i);g&&(b.callback=g);return new BZ({100:b},R)}};BG.animate=function(b,E,g,d){var R=this;if(R.removed){d&&d.call(R);return R}var S=b instanceof BZ?b:Aq.animation(b,E,g,d);Al(S,R,S.percents[0],null,R.attr());return R};BG.setTime=function(R,E){if(R&&E!=null){this.status(R,BL(E,R.ms)/R.ms)}return this};BG.status=function(d,b){var R=[],S=0,E,g;if(b!=null){Al(d,this,-1,BL(b,1));return this}else{E=AB.length;for(;S<E;S++){g=AB[S];if(g.el.id==this.id&&(!d||g.anim==d)){if(d){return g.status}R.push({anim:g.anim,status:g.status})}}if(d){return 0}return R}};BG.pause=function(R){for(var E=0;E<AB.length;E++){if(AB[E].el.id==this.id&&(!R||AB[E].anim==R)){if(eve("raphael.anim.pause."+this.id,this,AB[E].anim)!==false){AB[E].paused=true}}}return this};BG.resume=function(R){for(var E=0;E<AB.length;E++){if(AB[E].el.id==this.id&&(!R||AB[E].anim==R)){var S=AB[E];if(eve("raphael.anim.resume."+this.id,this,S.anim)!==false){delete S.paused;this.status(S.anim,S.status)}}}return this};BG.stop=function(R){for(var E=0;E<AB.length;E++){if(AB[E].el.id==this.id&&(!R||AB[E].anim==R)){if(eve("raphael.anim.stop."+this.id,this,AB[E].anim)!==false){AB.splice(E--,1)}}}return this};function AA(R){for(var E=0;E<AB.length;E++){if(AB[E].el.paper==R){AB.splice(E--,1)}}}eve.on("raphael.remove",AA);eve.on("raphael.clear",AA);BG.toString=function(){return"Rapha\xebl\u2019s object"};var AL=function(E){this.items=[];this.length=0;this.type="set";if(E){for(var R=0,S=E.length;R<S;R++){if(E[R]&&(E[R].constructor==BG.constructor||E[R].constructor==AL)){this[this.items.length]=this.items[this.items.length]=E[R];this.length++}}}},BB=AL.prototype;BB.push=function(){var b,E;for(var R=0,S=arguments.length;R<S;R++){b=arguments[R];if(b&&(b.constructor==BG.constructor||b.constructor==AL)){E=this.items.length;this[E]=this.items[E]=b;this.length++}}return this};BB.pop=function(){this.length&&delete this[this.length--];return this.items.pop()};BB.forEach=function(b,E){for(var R=0,S=this.items.length;R<S;R++){if(b.call(E,this.items[R],R)===false){return this}}return this};for(var a in BG){if(BG[AK](a)){BB[a]=(function(E){return function(){var R=arguments;return this.forEach(function(S){S[E][Bf](S,R)})}})(a)}}BB.attr=function(R,g){if(R&&Aq.is(R,BC)&&Aq.is(R[0],"object")){for(var E=0,d=R.length;E<d;E++){this.items[E].attr(R[E])}}else{for(var S=0,b=this.items.length;S<b;S++){this.items[S].attr(R,g)}}return this};BB.clear=function(){while(this.length){this.pop()}};BB.splice=function(b,Bk,Bl){b=b<0?J(this.length+b,0):b;Bk=J(0,BL(this.length-b,Bk));var S=[],E=[],R=[],d;for(d=2;d<arguments.length;d++){R.push(arguments[d])}for(d=0;d<Bk;d++){E.push(this[b+d])}for(;d<this.length-b;d++){S.push(this[b+d])}var g=R.length;for(d=0;d<g+S.length;d++){this.items[b+d]=this[b+d]=d<g?R[d]:S[d-g]}d=this.items.length=this.length-=Bk-g;while(this[d]){delete this[d++]}return new AL(E)};BB.exclude=function(S){for(var E=0,R=this.length;E<R;E++){if(this[E]==S){this.splice(E,1);return true}}};BB.animate=function(S,E,Bk,Bm){(Aq.is(Bk,"function")||!Bk)&&(Bm=Bk||null);var g=this.items.length,b=g,Bn,Bl=this,d;if(!g){return this}Bm&&(d=function(){!--g&&Bm.call(Bl)});Bk=Aq.is(Bk,AJ)?Bk:d;var R=Aq.animation(S,E,Bk,d);Bn=this.items[--b].animate(R);while(b--){this.items[b]&&!this.items[b].removed&&this.items[b].animateWith(Bn,R,R)}return this};BB.insertAfter=function(R){var E=this.items.length;while(E--){this.items[E].insertAfter(R)}return this};BB.getBBox=function(){var E=[],g=[],R=[],b=[];for(var S=this.items.length;S--;){if(!this.items[S].removed){var d=this.items[S].getBBox();E.push(d.x);g.push(d.y);R.push(d.x+d.width);b.push(d.y+d.height)}}E=BL[Bf](0,E);g=BL[Bf](0,g);R=J[Bf](0,R);b=J[Bf](0,b);return{x:E,y:g,x2:R,y2:b,width:R-E,height:b-g}};BB.clone=function(S){S=new AL;for(var E=0,R=this.items.length;E<R;E++){S.push(this.items[E].clone())}return S};BB.toString=function(){return"Rapha\xebl\u2018s set"};Aq.registerFont=function(R){if(!R.face){return R}this.fonts=this.fonts||{};var b={w:R.w,face:{},glyphs:{}},S=R.face["font-family"];for(var i in R.face){if(R.face[AK](i)){b.face[i]=R.face[i]}}if(this.fonts[S]){this.fonts[S].push(b)}else{this.fonts[S]=[b]}if(!R.svg){b.face["units-per-em"]=u(R.face["units-per-em"],10);for(var d in R.glyphs){if(R.glyphs[AK](d)){var g=R.glyphs[d];b.glyphs[d]={w:g.w,k:{},d:g.d&&"M"+g.d.replace(/[mlcxtrv]/g,function(Bk){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[Bk]||"M"})+"z"};if(g.k){for(var E in g.k){if(g[AK](E)){b.glyphs[d].k[E]=g.k[E]}}}}}}return R};A3.getFont=function(Bl,Bm,R,b){b=b||"normal";R=R||"normal";Bm=+Bm||{normal:400,bold:700,lighter:300,bolder:800}[Bm]||400;if(!Aq.fonts){return }var d=Aq.fonts[Bl];if(!d){var S=new RegExp("(^|\\s)"+Bl.replace(/[^\w\d\s+!~.:_-]/g,Aw)+"(\\s|$)","i");for(var E in Aq.fonts){if(Aq.fonts[AK](E)){if(S.test(E)){d=Aq.fonts[E];break}}}}var g;if(d){for(var Bk=0,Bn=d.length;Bk<Bn;Bk++){g=d[Bk];if(g.face["font-weight"]==Bm&&(g.face["font-style"]==R||!g.face["font-style"])&&g.face["font-stretch"]==b){break}}}return g};A3.print=function(Bk,g,E,Bn,Bo,Bx,R){Bx=Bx||"middle";R=J(BL(R||0,1),-1);var Bw=Bg(E)[f](Aw),Bt=0,Bv=0,Br=Aw,By;Aq.is(Bn,E)&&(Bn=this.getFont(Bn));if(Bn){By=(Bo||16)/Bn.face["units-per-em"];var b=Bn.face.bbox[f](A),Bm=+b[0],S=b[3]-b[1],d=0,Bp=+b[1]+(Bx=="baseline"?S+(+Bn.face.descent):S/2);for(var Bs=0,Bl=Bw.length;Bs<Bl;Bs++){if(Bw[Bs]=="\n"){Bt=0;Bu=0;Bv=0;d+=S}else{var Bq=Bv&&Bn.glyphs[Bw[Bs-1]]||{},Bu=Bn.glyphs[Bw[Bs]];Bt+=Bv?(Bq.w||Bn.w)+(Bq.k&&Bq.k[Bw[Bs]]||0)+(Bn.w*R):0;Bv=1}if(Bu&&Bu.d){Br+=Aq.transformPath(Bu.d,["t",Bt*By,d*By,"s",By,By,Bm,Bp,"t",(Bk-Bm)/By,(g-Bp)/By])}}}return this.path(Br).attr({fill:"#000",stroke:"none"})};A3.add=function(b){if(Aq.is(b,"array")){var S=this.set(),R=0,d=b.length,E;for(;R<d;R++){E=b[R]||{};BV[AK](E.type)&&S.push(this[E.type]().attr(E))}}return S};Aq.format=function(R,S){var E=Aq.is(S,BC)?[0][Bd](S):arguments;R&&Aq.is(R,AJ)&&E.length-1&&(R=R.replace(BQ,function(d,b){return E[++b]==null?Aw:E[b]}));return R||Aw};Aq.fullfill=(function(){var S=/\{([^\}]+)\}/g,E=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,R=function(g,d,i){var b=i;d.replace(E,function(Bm,Bl,Bk,Bo,Bn){Bl=Bl||Bo;if(b){if(Bl in b){b=b[Bl]}typeof b=="function"&&Bn&&(b=b())}});b=(b==null||b==i?g:b)+"";return b};return function(d,b){return String(d).replace(S,function(i,g){return R(i,g,b)})}})();Aq.ninja=function(){P.was?(AZ.win.Raphael=P.is):delete Raphael;return Aq};Aq.st=BB;(function(b,R,S){if(b.readyState==null&&b.addEventListener){b.addEventListener(R,S=function(){b.removeEventListener(R,S,false);b.readyState="complete"},false);b.readyState="loading"}function E(){(/in/).test(b.readyState)?setTimeout(E,9):Aq.eve("raphael.DOMload")}E()})(document,"DOMContentLoaded");P.was?(AZ.win.Raphael=Aq):(Raphael=Aq);eve.on("raphael.DOMload",function(){AO=true})})();window.Raphael&&window.Raphael.svg&&function(M){var D="hasOwnProperty",e=String,O=parseFloat,T=parseInt,G=Math,f=G.max,V=G.abs,I=G.pow,H=/[, ]+/,c=M.eve,U="",K=" ";var P="http://www.w3.org/1999/xlink",b={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},X={};M.toString=function(){return"Your browser supports SVG.\nYou are running Rapha\xebl "+this.version};var J=function(S,E){if(E){if(typeof S=="string"){S=J(S)}for(var R in E){if(E[D](R)){if(R.substring(0,6)=="xlink:"){S.setAttributeNS(P,R.substring(6),e(E[R]))}else{S.setAttribute(R,e(E[R]))}}}}else{S=M._g.doc.createElementNS("http://www.w3.org/2000/svg",S);S.style&&(S.style.webkitTapHighlightColor="rgba(0,0,0,0)")}return S},A=function(n,t){var q="linear",R=n.id+t,l=0.5,j=0.5,g=n.node,E=n.paper,v=g.style,S=M._g.doc.getElementById(R);if(!S){t=e(t).replace(M._radial_gradient,function(s,i,w){q="radial";if(i&&w){l=O(i);j=O(w);var o=((j>0.5)*2-1);I(l-0.5,2)+I(j-0.5,2)>0.25&&(j=G.sqrt(0.25-I(l-0.5,2))*o+0.5)&&j!=0.5&&(j=j.toFixed(5)-0.00001*o)}return U});t=t.split(/\s*\-\s*/);if(q=="linear"){var k=t.shift();k=-O(k);if(isNaN(k)){return null}var h=[0,0,G.cos(M.rad(k)),G.sin(M.rad(k))],r=1/(f(V(h[2]),V(h[3]))||1);h[2]*=r;h[3]*=r;if(h[2]<0){h[0]=-h[2];h[2]=0}if(h[3]<0){h[1]=-h[3];h[3]=0}}var p=M._parseDots(t);if(!p){return null}R=R.replace(/[\(\)\s,\xb0#]/g,"_");if(n.gradient&&R!=n.gradient.id){E.defs.removeChild(n.gradient);delete n.gradient}if(!n.gradient){S=J(q+"Gradient",{id:R});n.gradient=S;J(S,q=="radial"?{fx:l,fy:j}:{x1:h[0],y1:h[1],x2:h[2],y2:h[3],gradientTransform:n.matrix.invert()});E.defs.appendChild(S);for(var m=0,u=p.length;m<u;m++){S.appendChild(J("stop",{offset:p[m].offset?p[m].offset:m?"100%":"0%","stop-color":p[m].color||"#fff"}))}}}J(g,{fill:"url(#"+R+")",opacity:1,"fill-opacity":1});v.fill=U;v.opacity=1;v.fillOpacity=1;return 1},B=function(R){var E=R.getBBox(1);J(R.pattern,{patternTransform:R.matrix.invert()+" translate("+E.x+","+E.y+")"})},C=function(s,v,l){if(s.type=="path"){var E=e(v).toLowerCase().split("-"),r=s.paper,AH=l?"end":"start",y=s.node,u=s.attrs,k=u["stroke-width"],AC=E.length,g="classic",AB,S,n,z,x,m=3,AD=3,q=5;while(AC--){switch(E[AC]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":g=E[AC];break;case"wide":AD=5;break;case"narrow":AD=2;break;case"long":m=5;break;case"short":m=2;break}}if(g=="open"){m+=2;AD+=2;q+=2;n=1;z=l?4:1;x={fill:"none",stroke:u.stroke}}else{z=n=m/2;x={fill:u.stroke,stroke:"none"}}if(s._.arrows){if(l){s._.arrows.endPath&&X[s._.arrows.endPath]--;s._.arrows.endMarker&&X[s._.arrows.endMarker]--}else{s._.arrows.startPath&&X[s._.arrows.startPath]--;s._.arrows.startMarker&&X[s._.arrows.startMarker]--}}else{s._.arrows={}}if(g!="none"){var R="raphael-marker-"+g,AG="raphael-marker-"+AH+g+m+AD;if(!M._g.doc.getElementById(R)){r.defs.appendChild(J(J("path"),{"stroke-linecap":"round",d:b[g],id:R}));X[R]=1}else{X[R]++}var j=M._g.doc.getElementById(AG),AA;if(!j){j=J(J("marker"),{id:AG,markerHeight:AD,markerWidth:m,orient:"auto",refX:z,refY:AD/2});AA=J(J("use"),{"xlink:href":"#"+R,transform:(l?"rotate(180 "+m/2+" "+AD/2+") ":U)+"scale("+m/q+","+AD/q+")","stroke-width":(1/((m/q+AD/q)/2)).toFixed(4)});j.appendChild(AA);r.defs.appendChild(j);X[AG]=1}else{X[AG]++;AA=j.getElementsByTagName("use")[0]}J(AA,x);var AF=n*(g!="diamond"&&g!="oval");if(l){AB=s._.arrows.startdx*k||0;S=M.getTotalLength(u.path)-AF*k}else{AB=AF*k;S=M.getTotalLength(u.path)-(s._.arrows.enddx*k||0)}x={};x["marker-"+AH]="url(#"+AG+")";if(S||AB){x.d=Raphael.getSubpath(u.path,AB,S)}J(y,x);s._.arrows[AH+"Path"]=R;s._.arrows[AH+"Marker"]=AG;s._.arrows[AH+"dx"]=AF;s._.arrows[AH+"Type"]=g;s._.arrows[AH+"String"]=v}else{if(l){AB=s._.arrows.startdx*k||0;S=M.getTotalLength(u.path)-AB}else{AB=0;S=M.getTotalLength(u.path)-(s._.arrows.enddx*k||0)}s._.arrows[AH+"Path"]&&J(y,{d:Raphael.getSubpath(u.path,AB,S)});delete s._.arrows[AH+"Path"];delete s._.arrows[AH+"Marker"];delete s._.arrows[AH+"dx"];delete s._.arrows[AH+"Type"];delete s._.arrows[AH+"String"]}for(x in X){if(X[D](x)&&!X[x]){var AE=M._g.doc.getElementById(x);AE&&AE.parentNode.removeChild(AE)}}}},Y={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},L=function(k,h,j){h=Y[e(h).toLowerCase()];if(h){var S=k.attrs["stroke-width"]||"1",E={round:S,square:S,butt:0}[k.attrs["stroke-linecap"]||j["stroke-linecap"]]||0,g=[],R=h.length;while(R--){g[R]=h[R]*S+((R%2)?1:-1)*E}J(k.node,{"stroke-dasharray":g.join(",")})}},Z=function(p,x){var t=p.node,q=p.attrs,m=t.style.visibility;t.style.visibility="hidden";for(var s in x){if(x[D](s)){if(!M._availableAttrs[D](s)){continue}var r=x[s];q[s]=r;switch(s){case"blur":p.blur(r);break;case"href":case"title":case"target":var v=t.parentNode;if(v.tagName.toLowerCase()!="a"){var h=J("a");v.insertBefore(h,t);h.appendChild(t);v=h}if(s=="target"){v.setAttributeNS(P,"show",r=="blank"?"new":r)}else{v.setAttributeNS(P,s,r)}break;case"cursor":t.style.cursor=r;break;case"transform":p.transform(r);break;case"arrow-start":C(p,r);break;case"arrow-end":C(p,r,1);break;case"clip-rect":var R=e(r).split(H);if(R.length==4){p.clip&&p.clip.parentNode.parentNode.removeChild(p.clip.parentNode);var S=J("clipPath"),u=J("rect");S.id=M.createUUID();J(u,{x:R[0],y:R[1],width:R[2],height:R[3]});S.appendChild(u);p.paper.defs.appendChild(S);J(t,{"clip-path":"url(#"+S.id+")"});p.clip=u}if(!r){var n=t.getAttribute("clip-path");if(n){var w=M._g.doc.getElementById(n.replace(/(^url\(#|\)$)/g,U));w&&w.parentNode.removeChild(w);J(t,{"clip-path":U});delete p.clip}}break;case"path":if(p.type=="path"){J(t,{d:r?q.path=M._pathToAbsolute(r):"M0,0"});p._.dirty=1;if(p._.arrows){"startString" in p._.arrows&&C(p,p._.arrows.startString);"endString" in p._.arrows&&C(p,p._.arrows.endString,1)}}break;case"width":t.setAttribute(s,r);p._.dirty=1;if(q.fx){s="x";r=q.x}else{break}case"x":if(q.fx){r=-q.x-(q.width||0)}case"rx":if(s=="rx"&&p.type=="rect"){break}case"cx":t.setAttribute(s,r);p.pattern&&B(p);p._.dirty=1;break;case"height":t.setAttribute(s,r);p._.dirty=1;if(q.fy){s="y";r=q.y}else{break}case"y":if(q.fy){r=-q.y-(q.height||0)}case"ry":if(s=="ry"&&p.type=="rect"){break}case"cy":t.setAttribute(s,r);p.pattern&&B(p);p._.dirty=1;break;case"r":if(p.type=="rect"){J(t,{rx:r,ry:r})}else{t.setAttribute(s,r)}p._.dirty=1;break;case"src":if(p.type=="image"){t.setAttributeNS(P,"href",r)}break;case"stroke-width":if(p._.sx!=1||p._.sy!=1){r/=f(V(p._.sx),V(p._.sy))||1}if(p.paper._vbSize){r*=p.paper._vbSize}t.setAttribute(s,r);if(q["stroke-dasharray"]){L(p,q["stroke-dasharray"],x)}if(p._.arrows){"startString" in p._.arrows&&C(p,p._.arrows.startString);"endString" in p._.arrows&&C(p,p._.arrows.endString,1)}break;case"stroke-dasharray":L(p,r,x);break;case"fill":var i=e(r).match(M._ISURL);if(i){S=J("pattern");var l=J("image");S.id=M.createUUID();J(S,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1});J(l,{x:0,y:0,"xlink:href":i[1]});S.appendChild(l);(function(o){M._preload(i[1],function(){var y=this.offsetWidth,z=this.offsetHeight;J(o,{width:y,height:z});J(l,{width:y,height:z});p.paper.safari()})})(S);p.paper.defs.appendChild(S);J(t,{fill:"url(#"+S.id+")"});p.pattern=S;p.pattern&&B(p);break}var g=M.getRGB(r);if(!g.error){delete x.gradient;delete q.gradient;!M.is(q.opacity,"undefined")&&M.is(x.opacity,"undefined")&&J(t,{opacity:q.opacity});!M.is(q["fill-opacity"],"undefined")&&M.is(x["fill-opacity"],"undefined")&&J(t,{"fill-opacity":q["fill-opacity"]})}else{if((p.type=="circle"||p.type=="ellipse"||e(r).charAt()!="r")&&A(p,r)){if("opacity" in q||"fill-opacity" in q){var E=M._g.doc.getElementById(t.getAttribute("fill").replace(/^url\(#|\)$/g,U));if(E){var j=E.getElementsByTagName("stop");J(j[j.length-1],{"stop-opacity":("opacity" in q?q.opacity:1)*("fill-opacity" in q?q["fill-opacity"]:1)})}}q.gradient=r;q.fill="none";break}}g[D]("opacity")&&J(t,{"fill-opacity":g.opacity>1?g.opacity/100:g.opacity});case"stroke":g=M.getRGB(r);t.setAttribute(s,g.hex);s=="stroke"&&g[D]("opacity")&&J(t,{"stroke-opacity":g.opacity>1?g.opacity/100:g.opacity});if(s=="stroke"&&p._.arrows){"startString" in p._.arrows&&C(p,p._.arrows.startString);"endString" in p._.arrows&&C(p,p._.arrows.endString,1)}break;case"gradient":(p.type=="circle"||p.type=="ellipse"||e(r).charAt()!="r")&&A(p,r);break;case"opacity":if(q.gradient&&!q[D]("stroke-opacity")){J(t,{"stroke-opacity":r>1?r/100:r})}case"fill-opacity":if(q.gradient){E=M._g.doc.getElementById(t.getAttribute("fill").replace(/^url\(#|\)$/g,U));if(E){j=E.getElementsByTagName("stop");J(j[j.length-1],{"stop-opacity":r})}break}default:s=="font-size"&&(r=T(r,10)+"px");var k=s.replace(/(\-.)/g,function(o){return o.substring(1).toUpperCase()});t.style[k]=r;p._.dirty=1;t.setAttribute(s,r);break}}}Q(p,x);t.style.visibility=m},d=1.2,Q=function(E,h){if(E.type!="text"||!(h[D]("text")||h[D]("font")||h[D]("font-size")||h[D]("x")||h[D]("y"))){return }var n=E.attrs,S=E.node,p=S.firstChild?T(M._g.doc.defaultView.getComputedStyle(S.firstChild,U).getPropertyValue("font-size"),10):10;if(h[D]("text")){n.text=h.text;while(S.firstChild){S.removeChild(S.firstChild)}var g=e(h.text).split("\n"),R=[],l;for(var j=0,o=g.length;j<o;j++){l=J("tspan");j&&J(l,{dy:p*d,x:n.x});l.appendChild(M._g.doc.createTextNode(g[j]));S.appendChild(l);R[j]=l}}else{R=S.getElementsByTagName("tspan");for(j=0,o=R.length;j<o;j++){if(j){J(R[j],{dy:p*d,x:n.x})}else{J(R[0],{dy:0})}}}J(S,{x:n.x,y:n.y});E._.dirty=1;var k=E._getBBox(),m=n.y-(k.y+k.height/2);m&&M.is(m,"finite")&&J(R[0],{dy:m})},W=function(R,E){var g=0,S=0;this[0]=this.node=R;R.raphael=true;this.id=M._oid++;R.raphaelid=this.id;this.matrix=M.matrix();this.realPath=null;this.paper=E;this.attrs=this.attrs||{};this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1};!E.bottom&&(E.bottom=this);this.prev=E.top;E.top&&(E.top.next=this);E.top=this;this.next=null},N=M.el;W.prototype=N;N.constructor=W;M._engine.path=function(E,g){var R=J("path");g.canvas&&g.canvas.appendChild(R);var S=new W(R,g);S.type="path";Z(S,{fill:"none",stroke:"#000",path:E});return S};N.rotate=function(R,E,g){if(this.removed){return this}R=e(R).split(H);if(R.length-1){E=O(R[1]);g=O(R[2])}R=O(R[0]);(g==null)&&(E=g);if(E==null||g==null){var S=this.getBBox(1);E=S.x+S.width/2;g=S.y+S.height/2}this.transform(this._.transform.concat([["r",R,E,g]]));return this};N.scale=function(h,S,E,g){if(this.removed){return this}h=e(h).split(H);if(h.length-1){S=O(h[1]);E=O(h[2]);g=O(h[3])}h=O(h[0]);(S==null)&&(S=h);(g==null)&&(E=g);if(E==null||g==null){var R=this.getBBox(1)}E=E==null?R.x+R.width/2:E;g=g==null?R.y+R.height/2:g;this.transform(this._.transform.concat([["s",h,S,E,g]]));return this};N.translate=function(R,E){if(this.removed){return this}R=e(R).split(H);if(R.length-1){E=O(R[1])}R=O(R[0])||0;E=+E||0;this.transform(this._.transform.concat([["t",R,E]]));return this};N.transform=function(R){var S=this._;if(R==null){return S.transform}M._extractTransform(this,R);this.clip&&J(this.clip,{transform:this.matrix.invert()});this.pattern&&B(this);this.node&&J(this.node,{transform:this.matrix});if(S.sx!=1||S.sy!=1){var E=this.attrs[D]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":E})}return this};N.hide=function(){!this.removed&&this.paper.safari(this.node.style.display="none");return this};N.show=function(){!this.removed&&this.paper.safari(this.node.style.display="");return this};N.remove=function(){if(this.removed||!this.node.parentNode){return }var R=this.paper;R.__set__&&R.__set__.exclude(this);c.unbind("raphael.*.*."+this.id);if(this.gradient){R.defs.removeChild(this.gradient)}M._tear(this,R);if(this.node.parentNode.tagName.toLowerCase()=="a"){this.node.parentNode.parentNode.removeChild(this.node.parentNode)}else{this.node.parentNode.removeChild(this.node)}for(var E in this){this[E]=typeof this[E]=="function"?M._removedFactory(E):null}this.removed=true};N._getBBox=function(){if(this.node.style.display=="none"){this.show();var E=true}var S={};try{S=this.node.getBBox()}catch(R){}finally{S=S||{}}E&&this.hide();return S};N.attr=function(E,n){if(this.removed){return this}if(E==null){var k={};for(var m in this.attrs){if(this.attrs[D](m)){k[m]=this.attrs[m]}}k.gradient&&k.fill=="none"&&(k.fill=k.gradient)&&delete k.gradient;k.transform=this._.transform;return k}if(n==null&&M.is(E,"string")){if(E=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient){return this.attrs.gradient}if(E=="transform"){return this._.transform}var l=E.split(H),g={};for(var h=0,p=l.length;h<p;h++){E=l[h];if(E in this.attrs){g[E]=this.attrs[E]}else{if(M.is(this.paper.customAttributes[E],"function")){g[E]=this.paper.customAttributes[E].def}else{g[E]=M._availableAttrs[E]}}}return p-1?g:g[l[0]]}if(n==null&&M.is(E,"array")){g={};for(h=0,p=E.length;h<p;h++){g[E[h]]=this.attr(E[h])}return g}if(n!=null){var R={};R[E]=n}else{if(E!=null&&M.is(E,"object")){R=E}}for(var o in R){c("raphael.attr."+o+"."+this.id,this,R[o])}for(o in this.paper.customAttributes){if(this.paper.customAttributes[D](o)&&R[D](o)&&M.is(this.paper.customAttributes[o],"function")){var j=this.paper.customAttributes[o].apply(this,[].concat(R[o]));this.attrs[o]=R[o];for(var S in j){if(j[D](S)){R[S]=j[S]}}}}Z(this,R);return this};N.toFront=function(){if(this.removed){return this}if(this.node.parentNode.tagName.toLowerCase()=="a"){this.node.parentNode.parentNode.appendChild(this.node.parentNode)}else{this.node.parentNode.appendChild(this.node)}var E=this.paper;E.top!=this&&M._tofront(this,E);return this};N.toBack=function(){if(this.removed){return this}var R=this.node.parentNode;if(R.tagName.toLowerCase()=="a"){R.parentNode.insertBefore(this.node.parentNode,this.node.parentNode.parentNode.firstChild)}else{if(R.firstChild!=this.node){R.insertBefore(this.node,this.node.parentNode.firstChild)}}M._toback(this,this.paper);var E=this.paper;return this};N.insertAfter=function(E){if(this.removed){return this}var R=E.node||E[E.length-1].node;if(R.nextSibling){R.parentNode.insertBefore(this.node,R.nextSibling)}else{R.parentNode.appendChild(this.node)}M._insertafter(this,E,this.paper);return this};N.insertBefore=function(E){if(this.removed){return this}var R=E.node||E[0].node;R.parentNode.insertBefore(this.node,R);M._insertbefore(this,E,this.paper);return this};N.blur=function(R){var E=this;if(+R!==0){var S=J("filter"),g=J("feGaussianBlur");E.attrs.blur=R;S.id=M.createUUID();J(g,{stdDeviation:+R||1.5});S.appendChild(g);E.paper.defs.appendChild(S);E._blur=S;J(E.node,{filter:"url(#"+S.id+")"})}else{if(E._blur){E._blur.parentNode.removeChild(E._blur);delete E._blur;delete E.attrs.blur}E.node.removeAttribute("filter")}};M._engine.circle=function(R,E,i,h){var g=J("circle");R.canvas&&R.canvas.appendChild(g);var S=new W(g,R);S.attrs={cx:E,cy:i,r:h,fill:"none",stroke:"#000"};S.type="circle";J(g,S.attrs);return S};M._engine.rect=function(S,E,l,R,j,k){var i=J("rect");S.canvas&&S.canvas.appendChild(i);var g=new W(i,S);g.attrs={x:E,y:l,width:R,height:j,r:k||0,rx:k||0,ry:k||0,fill:"none",stroke:"#000"};g.type="rect";J(i,g.attrs);return g};M._engine.ellipse=function(R,E,j,i,h){var g=J("ellipse");R.canvas&&R.canvas.appendChild(g);var S=new W(g,R);S.attrs={cx:E,cy:j,rx:i,ry:h,fill:"none",stroke:"#000"};S.type="ellipse";J(g,S.attrs);return S};M._engine.image=function(S,k,E,l,R,j){var i=J("image");J(i,{x:E,y:l,width:R,height:j,preserveAspectRatio:"none"});i.setAttributeNS(P,"href",k);S.canvas&&S.canvas.appendChild(i);var g=new W(i,S);g.attrs={x:E,y:l,width:R,height:j,src:k};g.type="image";return g};M._engine.text=function(R,E,i,h){var g=J("text");R.canvas&&R.canvas.appendChild(g);var S=new W(g,R);S.attrs={x:E,y:i,"text-anchor":"middle",text:h,font:M._availableAttrs.font,stroke:"none",fill:"#000"};S.type="text";Z(S,S.attrs);return S};M._engine.setSize=function(R,E){this.width=R||this.width;this.height=E||this.height;this.canvas.setAttribute("width",this.width);this.canvas.setAttribute("height",this.height);if(this._viewBox){this.setViewBox.apply(this,this._viewBox)}return this};M._engine.create=function(){var g=M._getContainer.apply(0,arguments),R=g&&g.container,k=g.x,j=g.y,S=g.width,l=g.height;if(!R){throw new Error("SVG container not found.")}var E=J("svg"),i="overflow:hidden;",h;k=k||0;j=j||0;S=S||512;l=l||342;J(E,{height:l,version:1.1,width:S,xmlns:"http://www.w3.org/2000/svg"});if(R==1){E.style.cssText=i+"position:absolute;left:"+k+"px;top:"+j+"px";M._g.doc.body.appendChild(E);h=1}else{E.style.cssText=i+"position:relative";if(R.firstChild){R.insertBefore(E,R.firstChild)}else{R.appendChild(E)}}R=new M._Paper;R.width=S;R.height=l;R.canvas=E;R.clear();R._left=R._top=0;h&&(R.renderfix=function(){});R.renderfix();return R};M._engine.setViewBox=function(j,g,l,E,R){c("raphael.setViewBox",this,this._viewBox,[j,g,l,E,R]);var n=f(l/this.width,E/this.height),i=this.top,m=R?"meet":"xMinYMin",S,k;if(j==null){if(this._vbSize){n=1}delete this._vbSize;S="0 0 "+this.width+K+this.height}else{this._vbSize=n;S=j+K+g+K+l+K+E}J(this.canvas,{viewBox:S,preserveAspectRatio:m});while(n&&i){k="stroke-width" in i.attrs?i.attrs["stroke-width"]:1;i.attr({"stroke-width":k});i._.dirty=1;i._.dirtyT=1;i=i.prev}this._viewBox=[j,g,l,E,!!R];return this};M.prototype.renderfix=function(){var i=this.canvas,E=i.style,h;try{h=i.getScreenCTM()||i.createSVGMatrix()}catch(g){h=i.createSVGMatrix()}var S=-h.e%1,R=-h.f%1;if(S||R){if(S){this._left=(this._left+S)%1;E.left=this._left+"px"}if(R){this._top=(this._top+R)%1;E.top=this._top+"px"}}};M.prototype.clear=function(){M.eve("raphael.clear",this);var E=this.canvas;while(E.firstChild){E.removeChild(E.firstChild)}this.bottom=this.top=null;(this.desc=J("desc")).appendChild(M._g.doc.createTextNode("Created with Rapha\xebl "+M.version));E.appendChild(this.desc);E.appendChild(this.defs=J("defs"))};M.prototype.remove=function(){c("raphael.remove",this);this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var E in this){this[E]=typeof this[E]=="function"?M._removedFactory(E):null}};var a=M.st;for(var F in N){if(N[D](F)&&!a[D](F)){a[F]=(function(E){return function(){var R=arguments;return this.forEach(function(S){S[E].apply(S,R)})}})(F)}}}(window.Raphael);window.Raphael&&window.Raphael.vml&&function(M){var F="hasOwnProperty",h=String,O=parseFloat,I=Math,e=I.round,k=I.max,f=I.min,V=I.abs,Y="fill",J=/[, ]+/,d=M.eve,Z=" progid:DXImageTransform.Microsoft",L=" ",T="",g={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},K=/([clmz]),?([^clmz]*)/gi,W=/ progid:\S+Blur\([^\)]+\)/g,j=/-?[^,\s-]+/g,D="position:absolute;left:0;top:0;width:1px;height:1px",B=21600,c={path:1,rect:1,image:1},U={circle:1,ellipse:1},G=function(u){var q=/[ahqstv]/ig,S=M._pathToAbsolute;h(u).match(q)&&(S=M._path2curve);q=/[clmz]/g;if(S==M._pathToAbsolute&&!h(u).match(q)){var o=h(u).replace(K,function(w,y,r){var x=[],p=y.toLowerCase()=="m",v=g[y];r.replace(j,function(z){if(p&&x.length==2){v+=x+g[y=="m"?"l":"L"];x=[]}x.push(e(z*B))});return v+x});return o}var s=S(u),R,E;o=[];for(var m=0,t=s.length;m<t;m++){R=s[m];E=s[m][0].toLowerCase();E=="z"&&(E="x");for(var l=1,n=R.length;l<n;l++){E+=e(R[l]*B)+(l!=n-1?",":T)}o.push(E)}return o.join(L)},P=function(l,S,R){var E=M.matrix();E.rotate(-l,0.5,0.5);return{dx:E.x(S,R),dy:E.y(S,R)}},Q=function(v,u,t,n,l,q){var AE=v._,x=v.matrix,E=AE.fillpos,w=v.node,r=w.style,S=1,R="",AA,AC=B/u,AB=B/t;r.visibility="hidden";if(!u||!t){return }w.coordsize=V(AC)+L+V(AB);r.rotation=q*(u*t<0?-1:1);if(q){var AD=P(q,n,l);n=AD.dx;l=AD.dy}u<0&&(R+="x");t<0&&(R+=" y")&&(S=-1);r.flip=R;w.coordorigin=(n*-AC)+L+(l*-AB);if(E||AE.fillsize){var z=w.getElementsByTagName(Y);z=z&&z[0];w.removeChild(z);if(E){AD=P(q,x.x(E[0],E[1]),x.y(E[0],E[1]));z.position=AD.dx*S+L+AD.dy*S}if(AE.fillsize){z.size=AE.fillsize[0]*V(u)+L+AE.fillsize[1]*V(t)}w.appendChild(z)}r.visibility="visible"};M.toString=function(){return"Your browser doesn\u2019t support SVG. Falling down to VML.\nYou are running Rapha\xebl "+this.version};var C=function(E,p,R){var r=h(p).toLowerCase().split("-"),m=R?"end":"start",S=r.length,n="classic",q="medium",l="medium";while(S--){switch(r[S]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":n=r[S];break;case"wide":case"narrow":l=r[S];break;case"long":case"short":q=r[S];break}}var s=E.node.getElementsByTagName("stroke")[0];s[m+"arrow"]=n;s[m+"arrowlength"]=q;s[m+"arrowwidth"]=l},a=function(AC,AM){AC.attrs=AC.attrs||{};var AH=AC.node,AQ=AC.attrs,y=AH.style,u,AK=c[AC.type]&&(AM.x!=AQ.x||AM.y!=AQ.y||AM.width!=AQ.width||AM.height!=AQ.height||AM.cx!=AQ.cx||AM.cy!=AQ.cy||AM.rx!=AQ.rx||AM.ry!=AQ.ry||AM.r!=AQ.r),AB=U[AC.type]&&(AQ.cx!=AM.cx||AQ.cy!=AM.cy||AQ.r!=AM.r||AQ.rx!=AM.rx||AQ.ry!=AM.ry),AT=AC;for(var z in AM){if(AM[F](z)){AQ[z]=AM[z]}}if(AK){AQ.path=M._getPath[AC.type](AC);AC._.dirty=1}AM.href&&(AH.href=AM.href);AM.title&&(AH.title=AM.title);AM.target&&(AH.target=AM.target);AM.cursor&&(y.cursor=AM.cursor);"blur" in AM&&AC.blur(AM.blur);if(AM.path&&AC.type=="path"||AK){AH.path=G(~h(AQ.path).toLowerCase().indexOf("r")?M._pathToAbsolute(AQ.path):AQ.path);if(AC.type=="image"){AC._.fillpos=[AQ.x,AQ.y];AC._.fillsize=[AQ.width,AQ.height];Q(AC,1,1,0,0,0)}}"transform" in AM&&AC.transform(AM.transform);if(AB){var n=+AQ.cx,S=+AQ.cy,t=+AQ.rx||+AQ.r||0,r=+AQ.ry||+AQ.r||0;AH.path=M.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",e((n-t)*B),e((S-r)*B),e((n+t)*B),e((S+r)*B),e(n*B))}if("clip-rect" in AM){var R=h(AM["clip-rect"]).split(J);if(R.length==4){R[2]=+R[2]+(+R[0]);R[3]=+R[3]+(+R[1]);var AA=AH.clipRect||M._g.doc.createElement("div"),AS=AA.style;AS.clip=M.format("rect({1}px {2}px {3}px {0}px)",R);if(!AH.clipRect){AS.position="absolute";AS.top=0;AS.left=0;AS.width=AC.paper.width+"px";AS.height=AC.paper.height+"px";AH.parentNode.insertBefore(AA,AH);AA.appendChild(AH);AH.clipRect=AA}}if(!AM["clip-rect"]){AH.clipRect&&(AH.clipRect.style.clip="auto")}}if(AC.textpath){var AO=AC.textpath.style;AM.font&&(AO.font=AM.font);AM["font-family"]&&(AO.fontFamily='"'+AM["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,T)+'"');AM["font-size"]&&(AO.fontSize=AM["font-size"]);AM["font-weight"]&&(AO.fontWeight=AM["font-weight"]);AM["font-style"]&&(AO.fontStyle=AM["font-style"])}if("arrow-start" in AM){C(AT,AM["arrow-start"])}if("arrow-end" in AM){C(AT,AM["arrow-end"],1)}if(AM.opacity!=null||AM["stroke-width"]!=null||AM.fill!=null||AM.src!=null||AM.stroke!=null||AM["stroke-width"]!=null||AM["stroke-opacity"]!=null||AM["fill-opacity"]!=null||AM["stroke-dasharray"]!=null||AM["stroke-miterlimit"]!=null||AM["stroke-linejoin"]!=null||AM["stroke-linecap"]!=null){var AI=AH.getElementsByTagName(Y),AP=false;AI=AI&&AI[0];!AI&&(AP=AI=i(Y));if(AC.type=="image"&&AM.src){AI.src=AM.src}AM.fill&&(AI.on=true);if(AI.on==null||AM.fill=="none"||AM.fill===null){AI.on=false}if(AI.on&&AM.fill){var q=h(AM.fill).match(M._ISURL);if(q){AI.parentNode==AH&&AH.removeChild(AI);AI.rotate=true;AI.src=q[1];AI.type="tile";var E=AC.getBBox(1);AI.position=E.x+L+E.y;AC._.fillpos=[E.x,E.y];M._preload(q[1],function(){AC._.fillsize=[this.offsetWidth,this.offsetHeight]})}else{AI.color=M.getRGB(AM.fill).hex;AI.src=T;AI.type="solid";if(M.getRGB(AM.fill).error&&(AT.type in {circle:1,ellipse:1}||h(AM.fill).charAt()!="r")&&A(AT,AM.fill,AI)){AQ.fill="none";AQ.gradient=AM.fill;AI.rotate=false}}}if("fill-opacity" in AM||"opacity" in AM){var p=((+AQ["fill-opacity"]+1||2)-1)*((+AQ.opacity+1||2)-1)*((+M.getRGB(AM.fill).o+1||2)-1);p=f(k(p,0),1);AI.opacity=p;if(AI.src){AI.color="none"}}AH.appendChild(AI);var v=(AH.getElementsByTagName("stroke")&&AH.getElementsByTagName("stroke")[0]),AR=false;!v&&(AR=v=i("stroke"));if((AM.stroke&&AM.stroke!="none")||AM["stroke-width"]||AM["stroke-opacity"]!=null||AM["stroke-dasharray"]||AM["stroke-miterlimit"]||AM["stroke-linejoin"]||AM["stroke-linecap"]){v.on=true}(AM.stroke=="none"||AM.stroke===null||v.on==null||AM.stroke==0||AM["stroke-width"]==0)&&(v.on=false);var AG=M.getRGB(AM.stroke);v.on&&AM.stroke&&(v.color=AG.hex);p=((+AQ["stroke-opacity"]+1||2)-1)*((+AQ.opacity+1||2)-1)*((+AG.o+1||2)-1);var AD=(O(AM["stroke-width"])||1)*0.75;p=f(k(p,0),1);AM["stroke-width"]==null&&(AD=AQ["stroke-width"]);AM["stroke-width"]&&(v.weight=AD);AD&&AD<1&&(p*=AD)&&(v.weight=1);v.opacity=p;AM["stroke-linejoin"]&&(v.joinstyle=AM["stroke-linejoin"]||"miter");v.miterlimit=AM["stroke-miterlimit"]||8;AM["stroke-linecap"]&&(v.endcap=AM["stroke-linecap"]=="butt"?"flat":AM["stroke-linecap"]=="square"?"square":"round");if(AM["stroke-dasharray"]){var AF={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};v.dashstyle=AF[F](AM["stroke-dasharray"])?AF[AM["stroke-dasharray"]]:T}AR&&AH.appendChild(v)}if(AT.type=="text"){AT.paper.canvas.style.display=T;var AJ=AT.paper.span,AE=100,l=AQ.font&&AQ.font.match(/\d+(?:\.\d*)?(?=px)/);y=AJ.style;AQ.font&&(y.font=AQ.font);AQ["font-family"]&&(y.fontFamily=AQ["font-family"]);AQ["font-weight"]&&(y.fontWeight=AQ["font-weight"]);AQ["font-style"]&&(y.fontStyle=AQ["font-style"]);l=O(AQ["font-size"]||l&&l[0])||10;y.fontSize=l*AE+"px";AT.textpath.string&&(AJ.innerHTML=h(AT.textpath.string).replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,"<br>"));var x=AJ.getBoundingClientRect();AT.W=AQ.w=(x.right-x.left)/AE;AT.H=AQ.h=(x.bottom-x.top)/AE;AT.X=AQ.x;AT.Y=AQ.y+AT.H/2;("x" in AM||"y" in AM)&&(AT.path.v=M.format("m{0},{1}l{2},{1}",e(AQ.x*B),e(AQ.y*B),e(AQ.x*B)+1));var w=["x","y","text","font","font-family","font-weight","font-style","font-size"];for(var AL=0,AN=w.length;AL<AN;AL++){if(w[AL] in AM){AT._.dirty=1;break}}switch(AQ["text-anchor"]){case"start":AT.textpath.style["v-text-align"]="left";AT.bbx=AT.W/2;break;case"end":AT.textpath.style["v-text-align"]="right";AT.bbx=-AT.W/2;break;default:AT.textpath.style["v-text-align"]="center";AT.bbx=0;break}AT.textpath.style["v-text-kern"]=true}},A=function(E,s,v){E.attrs=E.attrs||{};var t=E.attrs,l=Math.pow,m,n,q="linear",r=".5 .5";E.attrs.gradient=s;s=h(s).replace(M._radial_gradient,function(x,y,o){q="radial";if(y&&o){y=O(y);o=O(o);l(y-0.5,2)+l(o-0.5,2)>0.25&&(o=I.sqrt(0.25-l(y-0.5,2))*((o>0.5)*2-1)+0.5);r=y+L+o}return T});s=s.split(/\s*\-\s*/);if(q=="linear"){var R=s.shift();R=-O(R);if(isNaN(R)){return null}}var p=M._parseDots(s);if(!p){return null}E=E.shape||E.node;if(p.length){E.removeChild(v);v.on=true;v.method="none";v.color=p[0].color;v.color2=p[p.length-1].color;var w=[];for(var S=0,u=p.length;S<u;S++){p[S].offset&&w.push(p[S].offset+L+p[S].color)}v.colors=w.length?w.join():"0% "+v.color;if(q=="radial"){v.type="gradientTitle";v.focus="100%";v.focussize="0 0";v.focusposition=r;v.angle=0}else{v.type="gradient";v.angle=(270-R)%360}E.appendChild(v)}return 1},X=function(R,E){this[0]=this.node=R;R.raphael=true;this.id=M._oid++;R.raphaelid=this.id;this.X=0;this.Y=0;this.attrs={};this.paper=E;this.matrix=M.matrix();this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1};!E.bottom&&(E.bottom=this);this.prev=E.top;E.top&&(E.top.next=this);E.top=this;this.next=null};var N=M.el;X.prototype=N;N.constructor=X;N.transform=function(m){if(m==null){return this._.transform}var p=this.paper._viewBoxShift,n=p?"s"+[p.scale,p.scale]+"-1-1t"+[p.dx,p.dy]:T,s;if(p){s=m=h(m).replace(/\.{3}|\u2026/g,this._.transform||T)}M._extractTransform(this,n+m);var t=this.matrix.clone(),v=this.skew,S=this.node,r,l=~h(this.attrs.fill).indexOf("-"),E=!h(this.attrs.fill).indexOf("url(");t.translate(-0.5,-0.5);if(E||l||this.type=="image"){v.matrix="1 0 0 1";v.offset="0 0";r=t.split();if((l&&r.noRotation)||!r.isSimple){S.style.filter=t.toFilter();var q=this.getBBox(),R=this.getBBox(1),w=q.x-R.x,u=q.y-R.y;S.coordorigin=(w*-B)+L+(u*-B);Q(this,1,1,w,u,0)}else{S.style.filter=T;Q(this,r.scalex,r.scaley,r.dx,r.dy,r.rotate)}}else{S.style.filter=T;v.matrix=h(t);v.offset=t.offset()}s&&(this._.transform=s);return this};N.rotate=function(R,E,l){if(this.removed){return this}if(R==null){return }R=h(R).split(J);if(R.length-1){E=O(R[1]);l=O(R[2])}R=O(R[0]);(l==null)&&(E=l);if(E==null||l==null){var S=this.getBBox(1);E=S.x+S.width/2;l=S.y+S.height/2}this._.dirtyT=1;this.transform(this._.transform.concat([["r",R,E,l]]));return this};N.translate=function(R,E){if(this.removed){return this}R=h(R).split(J);if(R.length-1){E=O(R[1])}R=O(R[0])||0;E=+E||0;if(this._.bbox){this._.bbox.x+=R;this._.bbox.y+=E}this.transform(this._.transform.concat([["t",R,E]]));return this};N.scale=function(m,S,E,l){if(this.removed){return this}m=h(m).split(J);if(m.length-1){S=O(m[1]);E=O(m[2]);l=O(m[3]);isNaN(E)&&(E=null);isNaN(l)&&(l=null)}m=O(m[0]);(S==null)&&(S=m);(l==null)&&(E=l);if(E==null||l==null){var R=this.getBBox(1)}E=E==null?R.x+R.width/2:E;l=l==null?R.y+R.height/2:l;this.transform(this._.transform.concat([["s",m,S,E,l]]));this._.dirtyT=1;return this};N.hide=function(){!this.removed&&(this.node.style.display="none");return this};N.show=function(){!this.removed&&(this.node.style.display=T);return this};N._getBBox=function(){if(this.removed){return{}}return{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}};N.remove=function(){if(this.removed||!this.node.parentNode){return }this.paper.__set__&&this.paper.__set__.exclude(this);M.eve.unbind("raphael.*.*."+this.id);M._tear(this,this.paper);this.node.parentNode.removeChild(this.node);this.shape&&this.shape.parentNode.removeChild(this.shape);for(var E in this){this[E]=typeof this[E]=="function"?M._removedFactory(E):null}this.removed=true};N.attr=function(E,r){if(this.removed){return this}if(E==null){var o={};for(var q in this.attrs){if(this.attrs[F](q)){o[q]=this.attrs[q]}}o.gradient&&o.fill=="none"&&(o.fill=o.gradient)&&delete o.gradient;o.transform=this._.transform;return o}if(r==null&&M.is(E,"string")){if(E==Y&&this.attrs.fill=="none"&&this.attrs.gradient){return this.attrs.gradient}var p=E.split(J),l={};for(var m=0,t=p.length;m<t;m++){E=p[m];if(E in this.attrs){l[E]=this.attrs[E]}else{if(M.is(this.paper.customAttributes[E],"function")){l[E]=this.paper.customAttributes[E].def}else{l[E]=M._availableAttrs[E]}}}return t-1?l:l[p[0]]}if(this.attrs&&r==null&&M.is(E,"array")){l={};for(m=0,t=E.length;m<t;m++){l[E[m]]=this.attr(E[m])}return l}var R;if(r!=null){R={};R[E]=r}r==null&&M.is(E,"object")&&(R=E);for(var s in R){d("raphael.attr."+s+"."+this.id,this,R[s])}if(R){for(s in this.paper.customAttributes){if(this.paper.customAttributes[F](s)&&R[F](s)&&M.is(this.paper.customAttributes[s],"function")){var n=this.paper.customAttributes[s].apply(this,[].concat(R[s]));this.attrs[s]=R[s];for(var S in n){if(n[F](S)){R[S]=n[S]}}}}if(R.text&&this.type=="text"){this.textpath.string=R.text}a(this,R)}return this};N.toFront=function(){!this.removed&&this.node.parentNode.appendChild(this.node);this.paper&&this.paper.top!=this&&M._tofront(this,this.paper);return this};N.toBack=function(){if(this.removed){return this}if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);M._toback(this,this.paper)}return this};N.insertAfter=function(E){if(this.removed){return this}if(E.constructor==M.st.constructor){E=E[E.length-1]}if(E.node.nextSibling){E.node.parentNode.insertBefore(this.node,E.node.nextSibling)}else{E.node.parentNode.appendChild(this.node)}M._insertafter(this,E,this.paper);return this};N.insertBefore=function(E){if(this.removed){return this}if(E.constructor==M.st.constructor){E=E[0]}E.node.parentNode.insertBefore(this.node,E.node);M._insertbefore(this,E,this.paper);return this};N.blur=function(E){var R=this.node.runtimeStyle,S=R.filter;S=S.replace(W,T);if(+E!==0){this.attrs.blur=E;R.filter=S+L+Z+".Blur(pixelradius="+(+E||1.5)+")";R.margin=M.format("-{0}px 0 0 -{0}px",e(+E||1.5))}else{R.filter=S;R.margin=0;delete this.attrs.blur}};M._engine.path=function(l,R){var m=i("shape");m.style.cssText=D;m.coordsize=B+L+B;m.coordorigin=R.coordorigin;var n=new X(m,R),E={fill:"none",stroke:"#000"};l&&(E.path=l);n.type="path";n.path=[];n.Path=T;a(n,E);R.canvas.appendChild(m);var S=i("skew");S.on=true;m.appendChild(S);n.skew=S;n.transform(T);return n};M._engine.rect=function(R,o,m,p,S,E){var q=M._rectPath(o,m,p,S,E),l=R.path(q),n=l.attrs;l.X=n.x=o;l.Y=n.y=m;l.W=n.width=p;l.H=n.height=S;n.r=E;n.path=q;l.type="rect";return l};M._engine.ellipse=function(R,E,o,n,m){var l=R.path(),S=l.attrs;l.X=E-n;l.Y=o-m;l.W=n*2;l.H=m*2;l.type="ellipse";a(l,{cx:E,cy:o,rx:n,ry:m});return l};M._engine.circle=function(R,E,n,m){var l=R.path(),S=l.attrs;l.X=E-m;l.Y=n-m;l.W=l.H=m*2;l.type="circle";a(l,{cx:E,cy:n,r:m});return l};M._engine.image=function(R,E,p,n,q,l){var s=M._rectPath(p,n,q,l),m=R.path(s).attr({stroke:"none"}),o=m.attrs,S=m.node,r=S.getElementsByTagName(Y)[0];o.src=E;m.X=o.x=p;m.Y=o.y=n;m.W=o.width=q;m.H=o.height=l;o.path=s;m.type="image";r.parentNode==S&&S.removeChild(r);r.rotate=true;r.src=E;r.type="tile";m._.fillpos=[p,n];m._.fillsize=[q,l];S.appendChild(r);Q(m,1,1,0,0,0);return m};M._engine.text=function(E,q,n,r){var l=i("shape"),t=i("path"),S=i("textpath");q=q||0;n=n||0;r=r||"";t.v=M.format("m{0},{1}l{2},{1}",e(q*B),e(n*B),e(q*B)+1);t.textpathok=true;S.string=h(r);S.on=true;l.style.cssText=D;l.coordsize=B+L+B;l.coordorigin="0 0";var R=new X(l,E),m={fill:"#000",stroke:"none",font:M._availableAttrs.font,text:r};R.shape=l;R.path=t;R.textpath=S;R.type="text";R.attrs.text=h(r);R.attrs.x=q;R.attrs.y=n;R.attrs.w=1;R.attrs.h=1;a(R,m);l.appendChild(S);l.appendChild(t);E.canvas.appendChild(l);var s=i("skew");s.on=true;l.appendChild(s);R.skew=s;R.transform(T);return R};M._engine.setSize=function(S,E){var R=this.canvas.style;this.width=S;this.height=E;S==+S&&(S+="px");E==+E&&(E+="px");R.width=S;R.height=E;R.clip="rect(0 "+S+" "+E+" 0)";if(this._viewBox){M._engine.setViewBox.apply(this,this._viewBox)}return this};M._engine.setViewBox=function(n,m,o,S,l){M.eve("raphael.setViewBox",this,this._viewBox,[n,m,o,S,l]);var E=this.width,q=this.height,r=1/k(o/E,S/q),p,R;if(l){p=q/S;R=E/o;if(o*p<E){n-=(E-o*p)/2/p}if(S*R<q){m-=(q-S*R)/2/R}}this._viewBox=[n,m,o,S,!!l];this._viewBoxShift={dx:-n,dy:-m,scale:r};this.forEach(function(s){s.transform("...")});return this};var i;M._engine.initWin=function(S){var R=S.document;R.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!R.namespaces.rvml&&R.namespaces.add("rvml","urn:schemas-microsoft-com:vml");i=function(l){return R.createElement("<rvml:"+l+' class="rvml">')}}catch(E){i=function(l){return R.createElement("<"+l+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}};M._engine.initWin(M._g.win);M._engine.create=function(){var S=M._getContainer.apply(0,arguments),E=S.container,q=S.height,r,R=S.width,p=S.x,o=S.y;if(!E){throw new Error("VML container not found.")}var m=new M._Paper,n=m.canvas=M._g.doc.createElement("div"),l=n.style;p=p||0;o=o||0;R=R||512;q=q||342;m.width=R;m.height=q;R==+R&&(R+="px");q==+q&&(q+="px");m.coordsize=B*1000+L+B*1000;m.coordorigin="0 0";m.span=M._g.doc.createElement("span");m.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;";n.appendChild(m.span);l.cssText=M.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",R,q);if(E==1){M._g.doc.body.appendChild(n);l.left=p+"px";l.top=o+"px";l.position="absolute"}else{if(E.firstChild){E.insertBefore(n,E.firstChild)}else{E.appendChild(n)}}m.renderfix=function(){};return m};M.prototype.clear=function(){M.eve("raphael.clear",this);this.canvas.innerHTML=T;this.span=M._g.doc.createElement("span");this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";this.canvas.appendChild(this.span);this.bottom=this.top=null};M.prototype.remove=function(){M.eve("raphael.remove",this);this.canvas.parentNode.removeChild(this.canvas);for(var E in this){this[E]=typeof this[E]=="function"?M._removedFactory(E):null}return true};var b=M.st;for(var H in N){if(N[F](H)&&!b[F](H)){b[H]=(function(E){return function(){var R=arguments;return this.forEach(function(S){S[E].apply(S,R)})}})(H)}}}(window.Raphael);; ;/* module-key = 'com.atlassian.soy.soy-template-plugin:soy-deps', location = 'js/soyutils.js' */ /*! * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ var goog=goog||{};goog.DEBUG=false;goog.inherits=function(b,a){function c(){}c.prototype=a.prototype;b.superClass_=a.prototype;b.prototype=new c();b.prototype.constructor=b;b.base=function(f,d,g){var e=Array.prototype.slice.call(arguments,2);return a.prototype[d].apply(f,e)}};if(!goog.userAgent){goog.userAgent=(function(){var b="";if("undefined"!==typeof navigator&&navigator&&"string"==typeof navigator.userAgent){b=navigator.userAgent}var a=b.indexOf("Opera")==0;return{jscript:{HAS_JSCRIPT:"ScriptEngine" in this},OPERA:a,IE:!a&&b.indexOf("MSIE")!=-1,WEBKIT:!a&&b.indexOf("WebKit")!=-1}})()}if(!goog.asserts){goog.asserts={assert:function(a){if(!a){throw Error("Assertion error")}},fail:function(a){}}}if(!goog.dom){goog.dom={};goog.dom.DomHelper=function(a){this.document_=a||document};goog.dom.DomHelper.prototype.getDocument=function(){return this.document_};goog.dom.DomHelper.prototype.createElement=function(a){return this.document_.createElement(a)};goog.dom.DomHelper.prototype.createDocumentFragment=function(){return this.document_.createDocumentFragment()}}if(!goog.format){goog.format={insertWordBreaks:function(j,a){j=String(j);var f=[];var h=0;var b=false;var k=false;var g=0;var d=0;for(var e=0,c=j.length;e<c;++e){var l=j.charCodeAt(e);if(g>=a&&l!=32){f[h++]=j.substring(d,e);d=e;f[h++]=goog.format.WORD_BREAK;g=0}if(b){if(l==62){b=false}}else{if(k){switch(l){case 59:k=false;++g;break;case 60:k=false;b=true;break;case 32:k=false;g=0;break}}else{switch(l){case 60:b=true;break;case 38:k=true;break;case 32:g=0;break;default:++g;break}}}}f[h++]=j.substring(d);return f.join("")},WORD_BREAK:goog.userAgent.WEBKIT?"<wbr></wbr>":goog.userAgent.OPERA?"­":goog.userAgent.IE?"​":"<wbr>"}}if(!goog.i18n){goog.i18n={bidi:{}}}goog.i18n.bidi.IS_RTL=false;goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0,UNKNOWN:0};goog.i18n.bidi.toDir=function(b,a){if(typeof b=="number"){return b>0?goog.i18n.bidi.Dir.LTR:b<0?goog.i18n.bidi.Dir.RTL:a?null:goog.i18n.bidi.Dir.NEUTRAL}else{if(b==null){return null}else{return b?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR}}};goog.i18n.bidi.estimateDirection=function(h,c){var d=0;var a=0;var b=false;var g=soyshim.$$bidiStripHtmlIfNecessary_(h,c).split(soyshim.$$bidiWordSeparatorRe_);for(var f=0;f<g.length;f++){var e=g[f];if(soyshim.$$bidiRtlDirCheckRe_.test(e)){d++;a++}else{if(soyshim.$$bidiIsRequiredLtrRe_.test(e)){b=true}else{if(soyshim.$$bidiLtrCharRe_.test(e)){a++}else{if(soyshim.$$bidiHasNumeralsRe_.test(e)){b=true}}}}}return a==0?(b?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL):(d/a>soyshim.$$bidiRtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR)};goog.i18n.BidiFormatter=function(a){this.dir_=goog.i18n.bidi.toDir(a,true)};goog.i18n.BidiFormatter.prototype.getContextDir=function(){return this.dir_};goog.i18n.BidiFormatter.prototype.knownDirAttr=function(a){return !a||a==this.dir_?"":a<0?'dir="rtl"':'dir="ltr"'};goog.i18n.BidiFormatter.prototype.endEdge=function(){return this.dir_<0?"left":"right"};goog.i18n.BidiFormatter.prototype.mark=function(){return((this.dir_>0)?"\u200E":(this.dir_<0)?"\u200F":"")};goog.i18n.BidiFormatter.prototype.markAfterKnownDir=function(b,c,a){if(b==null){b=goog.i18n.bidi.estimateDirection(c,a)}return(this.dir_>0&&(b<0||soyshim.$$bidiIsRtlExitText_(c,a))?"\u200E":this.dir_<0&&(b>0||soyshim.$$bidiIsLtrExitText_(c,a))?"\u200F":"")};goog.i18n.BidiFormatter.prototype.spanWrapWithKnownDir=function(b,d,c){if(b==null){b=goog.i18n.bidi.estimateDirection(d,true)}var a=this.markAfterKnownDir(b,d,true);if(b>0&&this.dir_<=0){d='<span dir="ltr">'+d+"</span>"}else{if(b<0&&this.dir_>=0){d='<span dir="rtl">'+d+"</span>"}}return d+a};goog.i18n.BidiFormatter.prototype.startEdge=function(){return this.dir_<0?"right":"left"};goog.i18n.BidiFormatter.prototype.unicodeWrapWithKnownDir=function(c,d,a){if(c==null){c=goog.i18n.bidi.estimateDirection(d,a)}var b=this.markAfterKnownDir(c,d,a);if(c>0&&this.dir_<=0){d="\u202A"+d+"\u202C"}else{if(c<0&&this.dir_>=0){d="\u202B"+d+"\u202C"}}return d+b};if(!goog.string){goog.string={newLineToBr:function(b,a){b=String(b);if(!goog.string.NEWLINE_TO_BR_RE_.test(b)){return b}return b.replace(/(\r\n|\r|\n)/g,a?"<br />":"<br>")},urlEncode:encodeURIComponent,NEWLINE_TO_BR_RE_:/[\r\n]/}}goog.string.StringBuffer=function(a,b){this.buffer_=goog.userAgent.jscript.HAS_JSCRIPT?[]:"";if(a!=null){this.append.apply(this,arguments)}};goog.string.StringBuffer.prototype.bufferLength_=0;goog.string.StringBuffer.prototype.append=function(c,b,e){if(goog.userAgent.jscript.HAS_JSCRIPT){if(b==null){this.buffer_[this.bufferLength_++]=c}else{var a=(this.buffer_);a.push.apply(a,arguments);this.bufferLength_=this.buffer_.length}}else{this.buffer_+=c;if(b!=null){for(var d=1;d<arguments.length;d++){this.buffer_+=arguments[d]}}}return this};goog.string.StringBuffer.prototype.clear=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){this.buffer_.length=0;this.bufferLength_=0}else{this.buffer_=""}};goog.string.StringBuffer.prototype.toString=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){var a=this.buffer_.join("");this.clear();if(a){this.append(a)}return a}else{return(this.buffer_)}};if(!goog.soy){goog.soy={renderAsElement:function(c,a,b,d){return(soyshim.$$renderWithWrapper_(c,a,d,true,b))},renderAsFragment:function(c,a,b,d){return soyshim.$$renderWithWrapper_(c,a,d,false,b)},renderElement:function(c,d,a,b){c.innerHTML=d(a,null,b)},data:{}}}goog.soy.data.SanitizedContentKind={HTML:goog.DEBUG?{sanitizedContentKindHtml:true}:{},JS:goog.DEBUG?{sanitizedContentJsChars:true}:{},JS_STR_CHARS:goog.DEBUG?{sanitizedContentJsStrChars:true}:{},URI:goog.DEBUG?{sanitizedContentUri:true}:{},ATTRIBUTES:goog.DEBUG?{sanitizedContentHtmlAttribute:true}:{},CSS:goog.DEBUG?{sanitizedContentCss:true}:{},TEXT:goog.DEBUG?{sanitizedContentKindText:true}:{}};goog.soy.data.SanitizedContent=function(){throw Error("Do not instantiate directly")};goog.soy.data.SanitizedContent.prototype.contentKind;goog.soy.data.SanitizedContent.prototype.contentDir=null;goog.soy.data.SanitizedContent.prototype.content;goog.soy.data.SanitizedContent.prototype.toString=function(){return this.content};var soy={esc:{}};var soydata={};soydata.VERY_UNSAFE={};var soyshim={$$DEFAULT_TEMPLATE_DATA_:{}};soyshim.$$renderWithWrapper_=function(h,f,b,c,i){var d=b||document;var a=d.createElement("div");a.innerHTML=h(f||soyshim.$$DEFAULT_TEMPLATE_DATA_,undefined,i);if(a.childNodes.length==1){var g=a.firstChild;if(!c||g.nodeType==1){return(g)}}if(c){return a}var e=d.createDocumentFragment();while(a.firstChild){e.appendChild(a.firstChild)}return e};soyshim.$$bidiStripHtmlIfNecessary_=function(b,a){return a?b.replace(soyshim.$$BIDI_HTML_SKIP_RE_,""):b};soyshim.$$BIDI_HTML_SKIP_RE_=/<[^>]*>|&[^;]+;/g;soyshim.$$bidiLtrChars_="A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF";soyshim.$$bidiRtlChars_="\u0591-\u07FF\u200F\uFB1D-\uFDFF\uFE70-\uFEFC";soyshim.$$bidiRtlDirCheckRe_=new RegExp("^[^"+soyshim.$$bidiLtrChars_+"]*["+soyshim.$$bidiRtlChars_+"]");soyshim.$$bidiLtrCharRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"]");soyshim.$$bidiIsRequiredLtrRe_=/^http:\/\/.*/;soyshim.$$bidiHasNumeralsRe_=/\d/;soyshim.$$bidiWordSeparatorRe_=/\s+/;soyshim.$$bidiRtlDetectionThreshold_=0.4;soyshim.$$bidiLtrExitDirCheckRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"][^"+soyshim.$$bidiRtlChars_+"]*$");soyshim.$$bidiRtlExitDirCheckRe_=new RegExp("["+soyshim.$$bidiRtlChars_+"][^"+soyshim.$$bidiLtrChars_+"]*$");soyshim.$$bidiIsLtrExitText_=function(b,a){b=soyshim.$$bidiStripHtmlIfNecessary_(b,a);return soyshim.$$bidiLtrExitDirCheckRe_.test(b)};soyshim.$$bidiIsRtlExitText_=function(b,a){b=soyshim.$$bidiStripHtmlIfNecessary_(b,a);return soyshim.$$bidiRtlExitDirCheckRe_.test(b)};soy.StringBuilder=goog.string.StringBuffer;soydata.SanitizedContentKind=goog.soy.data.SanitizedContentKind;soydata.isContentKind=function(a,b){return a!=null&&a.contentKind===b};soydata.getContentDir=function(a){if(a!=null){switch(a.contentDir){case goog.i18n.bidi.Dir.LTR:return goog.i18n.bidi.Dir.LTR;case goog.i18n.bidi.Dir.RTL:return goog.i18n.bidi.Dir.RTL;case goog.i18n.bidi.Dir.NEUTRAL:return goog.i18n.bidi.Dir.NEUTRAL}}return null};soydata.SanitizedHtml=function(){goog.soy.data.SanitizedContent.call(this)};goog.inherits(soydata.SanitizedHtml,goog.soy.data.SanitizedContent);soydata.SanitizedHtml.prototype.contentKind=soydata.SanitizedContentKind.HTML;soydata.SanitizedHtml.from=function(a){if(a!=null&&a.contentKind===soydata.SanitizedContentKind.HTML){goog.asserts.assert(a.constructor===soydata.SanitizedHtml);return(a)}return soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.esc.$$escapeHtmlHelper(String(a)),soydata.getContentDir(a))};soydata.SanitizedJs=function(){goog.soy.data.SanitizedContent.call(this)};goog.inherits(soydata.SanitizedJs,goog.soy.data.SanitizedContent);soydata.SanitizedJs.prototype.contentKind=soydata.SanitizedContentKind.JS;soydata.SanitizedJs.prototype.contentDir=goog.i18n.bidi.Dir.LTR;soydata.SanitizedJsStrChars=function(){goog.soy.data.SanitizedContent.call(this)};goog.inherits(soydata.SanitizedJsStrChars,goog.soy.data.SanitizedContent);soydata.SanitizedJsStrChars.prototype.contentKind=soydata.SanitizedContentKind.JS_STR_CHARS;soydata.SanitizedUri=function(){goog.soy.data.SanitizedContent.call(this)};goog.inherits(soydata.SanitizedUri,goog.soy.data.SanitizedContent);soydata.SanitizedUri.prototype.contentKind=soydata.SanitizedContentKind.URI;soydata.SanitizedUri.prototype.contentDir=goog.i18n.bidi.Dir.LTR;soydata.SanitizedHtmlAttribute=function(){goog.soy.data.SanitizedContent.call(this)};goog.inherits(soydata.SanitizedHtmlAttribute,goog.soy.data.SanitizedContent);soydata.SanitizedHtmlAttribute.prototype.contentKind=soydata.SanitizedContentKind.ATTRIBUTES;soydata.SanitizedHtmlAttribute.prototype.contentDir=goog.i18n.bidi.Dir.LTR;soydata.SanitizedCss=function(){goog.soy.data.SanitizedContent.call(this)};goog.inherits(soydata.SanitizedCss,goog.soy.data.SanitizedContent);soydata.SanitizedCss.prototype.contentKind=soydata.SanitizedContentKind.CSS;soydata.SanitizedCss.prototype.contentDir=goog.i18n.bidi.Dir.LTR;soydata.UnsanitizedText=function(a,b){this.content=String(a);this.contentDir=b!=null?b:null};goog.inherits(soydata.UnsanitizedText,goog.soy.data.SanitizedContent);soydata.UnsanitizedText.prototype.contentKind=soydata.SanitizedContentKind.TEXT;soydata.$$EMPTY_STRING_={VALUE:""};soydata.$$makeSanitizedContentFactory_=function(b){function a(){}a.prototype=b.prototype;function c(e,f){var d=new a();d.content=String(e);if(f!==undefined){d.contentDir=f}return d}return c};soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_=function(b){function a(){}a.prototype=b.prototype;function c(e){var d=new a();d.content=String(e);return d}return c};soydata.markUnsanitizedText=function(a,b){return new soydata.UnsanitizedText(a,b)};soydata.VERY_UNSAFE.ordainSanitizedHtml=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedHtml);soydata.VERY_UNSAFE.ordainSanitizedJs=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedJs);soydata.VERY_UNSAFE.ordainSanitizedJsStrChars=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedJsStrChars);soydata.VERY_UNSAFE.ordainSanitizedUri=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedUri);soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedHtmlAttribute);soydata.VERY_UNSAFE.ordainSanitizedCss=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedCss);soy.renderElement=goog.soy.renderElement;soy.renderAsFragment=function(d,b,a,c){return goog.soy.renderAsFragment(d,b,c,new goog.dom.DomHelper(a))};soy.renderAsElement=function(d,b,a,c){return goog.soy.renderAsElement(d,b,c,new goog.dom.DomHelper(a))};soy.$$IS_LOCALE_RTL=goog.i18n.bidi.IS_RTL;soy.$$augmentMap=function(a,d){function e(){}e.prototype=a;var b=new e();for(var c in d){b[c]=d[c]}return b};soy.$$checkMapKey=function(a){if((typeof a)!="string"){throw Error("Map literal's key expression must evaluate to string (encountered type \""+(typeof a)+'").')}return a};soy.$$getMapKeys=function(c){var b=[];for(var a in c){b.push(a)}return b};soy.$$getDelTemplateId=function(a){return a};soy.$$DELEGATE_REGISTRY_PRIORITIES_={};soy.$$DELEGATE_REGISTRY_FUNCTIONS_={};soy.$$registerDelegateFn=function(f,c,d,b){var e="key_"+f+":"+c;var a=soy.$$DELEGATE_REGISTRY_PRIORITIES_[e];if(a===undefined||d>a){soy.$$DELEGATE_REGISTRY_PRIORITIES_[e]=d;soy.$$DELEGATE_REGISTRY_FUNCTIONS_[e]=b}else{if(d==a){throw Error('Encountered two active delegates with the same priority ("'+f+":"+c+'").')}else{}}};soy.$$getDelegateFn=function(c,b,d){var a=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+c+":"+b];if(!a&&b!=""){a=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+c+":"]}if(a){return a}else{if(d){return soy.$$EMPTY_TEMPLATE_FN_}else{throw Error('Found no active impl for delegate call to "'+c+":"+b+'" (and not allowemptydefault="true").')}}};soy.$$EMPTY_TEMPLATE_FN_=function(a,c,b){return""};soydata.$$makeSanitizedContentFactoryForInternalBlocks_=function(b){function a(){}a.prototype=b.prototype;function c(e,f){var g=String(e);if(!g){return soydata.$$EMPTY_STRING_.VALUE}var d=new a();d.content=String(e);if(f!==undefined){d.contentDir=f}return d}return c};soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_=function(b){function a(){}a.prototype=b.prototype;function c(e){var f=String(e);if(!f){return soydata.$$EMPTY_STRING_.VALUE}var d=new a();d.content=String(e);return d}return c};soydata.$$markUnsanitizedTextForInternalBlocks=function(a,b){var c=String(a);if(!c){return soydata.$$EMPTY_STRING_.VALUE}return new soydata.UnsanitizedText(c,b)};soydata.VERY_UNSAFE.$$ordainSanitizedHtmlForInternalBlocks=soydata.$$makeSanitizedContentFactoryForInternalBlocks_(soydata.SanitizedHtml);soydata.VERY_UNSAFE.$$ordainSanitizedJsForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedJs);soydata.VERY_UNSAFE.$$ordainSanitizedUriForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedUri);soydata.VERY_UNSAFE.$$ordainSanitizedAttributesForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedHtmlAttribute);soydata.VERY_UNSAFE.$$ordainSanitizedCssForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedCss);soy.$$escapeHtml=function(a){return soydata.SanitizedHtml.from(a)};soy.$$cleanHtml=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(a.constructor===soydata.SanitizedHtml);return(a)}return soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.$$stripHtmlTags(a,soy.esc.$$SAFE_TAG_WHITELIST_),soydata.getContentDir(a))};soy.$$escapeHtmlRcdata=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(a.constructor===soydata.SanitizedHtml);return soy.esc.$$normalizeHtmlHelper(a.content)}return soy.esc.$$escapeHtmlHelper(a)};soy.$$HTML5_VOID_ELEMENTS_=new RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b");soy.$$stripHtmlTags=function(d,c){if(!c){return String(d).replace(soy.esc.$$HTML_TAG_REGEX_,"").replace(soy.esc.$$LT_REGEX_,"<")}var b=String(d).replace(/\[/g,"[");var a=[];b=b.replace(soy.esc.$$HTML_TAG_REGEX_,function(f,h){if(h){h=h.toLowerCase();if(c.hasOwnProperty(h)&&c[h]){var i=f.charAt(1)==="/"?"</":"<";var g=a.length;a[g]=i+h+">";return"["+g+"]"}}return""});b=soy.esc.$$normalizeHtmlHelper(b);var e=soy.$$balanceTags_(a);b=b.replace(/\[(\d+)\]/g,function(g,f){return a[f]});return b+e};soy.$$balanceTags_=function(c){var b=[];for(var d=0,f=c.length;d<f;++d){var a=c[d];if(a.charAt(1)==="/"){var e=b.length-1;while(e>=0&&b[e]!=a){e--}if(e<0){c[d]=""}else{c[d]=b.slice(e).reverse().join("");b.length=e}}else{if(!soy.$$HTML5_VOID_ELEMENTS_.test(a)){b.push("</"+a.substring(1))}}}return b.reverse().join("")};soy.$$escapeHtmlAttribute=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(a.constructor===soydata.SanitizedHtml);return soy.esc.$$normalizeHtmlHelper(soy.$$stripHtmlTags(a.content))}return soy.esc.$$escapeHtmlHelper(a)};soy.$$escapeHtmlAttributeNospace=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(a.constructor===soydata.SanitizedHtml);return soy.esc.$$normalizeHtmlNospaceHelper(soy.$$stripHtmlTags(a.content))}return soy.esc.$$escapeHtmlNospaceHelper(a)};soy.$$filterHtmlAttributes=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.ATTRIBUTES)){goog.asserts.assert(a.constructor===soydata.SanitizedHtmlAttribute);return a.content.replace(/([^"'\s])$/,"$1 ")}return soy.esc.$$filterHtmlAttributesHelper(a)};soy.$$filterHtmlElementName=function(a){return soy.esc.$$filterHtmlElementNameHelper(a)};soy.$$escapeJs=function(a){return soy.$$escapeJsString(a)};soy.$$escapeJsString=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.JS_STR_CHARS)){goog.asserts.assert(a.constructor===soydata.SanitizedJsStrChars);return a.content}return soy.esc.$$escapeJsStringHelper(a)};soy.$$escapeJsValue=function(a){if(a==null){return" null "}if(soydata.isContentKind(a,soydata.SanitizedContentKind.JS)){goog.asserts.assert(a.constructor===soydata.SanitizedJs);return a.content}switch(typeof a){case"boolean":case"number":return" "+a+" ";default:return"'"+soy.esc.$$escapeJsStringHelper(String(a))+"'"}};soy.$$escapeJsRegex=function(a){return soy.esc.$$escapeJsRegexHelper(a)};soy.$$problematicUriMarks_=/['()]/g;soy.$$pctEncode_=function(a){return"%"+a.charCodeAt(0).toString(16)};soy.$$escapeUri=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.URI)){goog.asserts.assert(a.constructor===soydata.SanitizedUri);return soy.$$normalizeUri(a)}var b=soy.esc.$$escapeUriHelper(a);soy.$$problematicUriMarks_.lastIndex=0;if(soy.$$problematicUriMarks_.test(b)){return b.replace(soy.$$problematicUriMarks_,soy.$$pctEncode_)}return b};soy.$$normalizeUri=function(a){return soy.esc.$$normalizeUriHelper(a)};soy.$$filterNormalizeUri=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.URI)){goog.asserts.assert(a.constructor===soydata.SanitizedUri);return soy.$$normalizeUri(a)}return soy.esc.$$filterNormalizeUriHelper(a)};soy.$$filterImageDataUri=function(a){return soydata.VERY_UNSAFE.ordainSanitizedUri(soy.esc.$$filterImageDataUriHelper(a))};soy.$$escapeCssString=function(a){return soy.esc.$$escapeCssStringHelper(a)};soy.$$filterCssValue=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.CSS)){goog.asserts.assert(a.constructor===soydata.SanitizedCss);return a.content}if(a==null){return""}return soy.esc.$$filterCssValueHelper(a)};soy.$$filterNoAutoescape=function(a){if(soydata.isContentKind(a,soydata.SanitizedContentKind.TEXT)){goog.asserts.fail("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[a.content]);return"zSoyz"}return a};soy.$$changeNewlineToBr=function(b){var a=goog.string.newLineToBr(String(b),false);if(soydata.isContentKind(b,soydata.SanitizedContentKind.HTML)){return soydata.VERY_UNSAFE.ordainSanitizedHtml(a,soydata.getContentDir(b))}return a};soy.$$insertWordBreaks=function(c,b){var a=goog.format.insertWordBreaks(String(c),b);if(soydata.isContentKind(c,soydata.SanitizedContentKind.HTML)){return soydata.VERY_UNSAFE.ordainSanitizedHtml(a,soydata.getContentDir(c))}return a};soy.$$truncate=function(c,a,b){c=String(c);if(c.length<=a){return c}if(b){if(a>3){a-=3}else{b=false}}if(soy.$$isHighSurrogate_(c.charAt(a-1))&&soy.$$isLowSurrogate_(c.charAt(a))){a-=1}c=c.substring(0,a);if(b){c+="..."}return c};soy.$$isHighSurrogate_=function(a){return 55296<=a&&a<=56319};soy.$$isLowSurrogate_=function(a){return 56320<=a&&a<=57343};soy.$$bidiFormatterCache_={};soy.$$getBidiFormatterInstance_=function(a){return soy.$$bidiFormatterCache_[a]||(soy.$$bidiFormatterCache_[a]=new goog.i18n.BidiFormatter(a))};soy.$$bidiTextDir=function(d,a){var c=soydata.getContentDir(d);if(c!=null){return c}var b=a||soydata.isContentKind(d,soydata.SanitizedContentKind.HTML);return goog.i18n.bidi.estimateDirection(d+"",b)};soy.$$bidiDirAttr=function(b,f,a){var c=soy.$$getBidiFormatterInstance_(b);var e=soydata.getContentDir(f);if(e==null){var d=a||soydata.isContentKind(f,soydata.SanitizedContentKind.HTML);e=goog.i18n.bidi.estimateDirection(f+"",d)}return soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute(c.knownDirAttr(e))};soy.$$bidiMarkAfter=function(b,e,a){var c=soy.$$getBidiFormatterInstance_(b);var d=a||soydata.isContentKind(e,soydata.SanitizedContentKind.HTML);return c.markAfterKnownDir(soydata.getContentDir(e),e+"",d)};soy.$$bidiSpanWrap=function(a,d){var c=soy.$$getBidiFormatterInstance_(a);var b=c.spanWrapWithKnownDir(soydata.getContentDir(d),d+"",true);return b};soy.$$bidiUnicodeWrap=function(a,f){var c=soy.$$getBidiFormatterInstance_(a);var d=soydata.isContentKind(f,soydata.SanitizedContentKind.HTML);var b=c.unicodeWrapWithKnownDir(soydata.getContentDir(f),f+"",d);var e=c.getContextDir();if(soydata.isContentKind(f,soydata.SanitizedContentKind.TEXT)){return new soydata.UnsanitizedText(b,e)}if(d){return soydata.VERY_UNSAFE.ordainSanitizedHtml(b,e)}if(soydata.isContentKind(f,soydata.SanitizedContentKind.JS_STR_CHARS)){return soydata.VERY_UNSAFE.ordainSanitizedJsStrChars(b,e)}return b};soy.esc.$$escapeUriHelper=function(a){return encodeURIComponent(String(a))};soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_={"\x00":"\x26#0;","\x22":"\x26quot;","\x26":"\x26amp;","\x27":"\x26#39;","\x3c":"\x26lt;","\x3e":"\x26gt;","\x09":"\x26#9;","\x0a":"\x26#10;","\x0b":"\x26#11;","\x0c":"\x26#12;","\x0d":"\x26#13;"," ":"\x26#32;","-":"\x26#45;","/":"\x26#47;","\x3d":"\x26#61;","`":"\x26#96;","\x85":"\x26#133;","\xa0":"\x26#160;","\u2028":"\x26#8232;","\u2029":"\x26#8233;"};soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_=function(a){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_[a]};soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_={"\x00":"\\x00","\x08":"\\x08","\x09":"\\t","\x0a":"\\n","\x0b":"\\x0b","\x0c":"\\f","\x0d":"\\r","\x22":"\\x22","\x26":"\\x26","\x27":"\\x27","/":"\\/","\x3c":"\\x3c","\x3d":"\\x3d","\x3e":"\\x3e","\\":"\\\\","\x85":"\\x85","\u2028":"\\u2028","\u2029":"\\u2029","$":"\\x24","(":"\\x28",")":"\\x29","*":"\\x2a","+":"\\x2b",",":"\\x2c","-":"\\x2d",".":"\\x2e",":":"\\x3a","?":"\\x3f","[":"\\x5b","]":"\\x5d","^":"\\x5e","{":"\\x7b","|":"\\x7c","}":"\\x7d"};soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_=function(a){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_[a]};soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_={"\x00":"\\0 ","\x08":"\\8 ","\x09":"\\9 ","\x0a":"\\a ","\x0b":"\\b ","\x0c":"\\c ","\x0d":"\\d ","\x22":"\\22 ","\x26":"\\26 ","\x27":"\\27 ","(":"\\28 ",")":"\\29 ","*":"\\2a ","/":"\\2f ",":":"\\3a ",";":"\\3b ","\x3c":"\\3c ","\x3d":"\\3d ","\x3e":"\\3e ","@":"\\40 ","\\":"\\5c ","{":"\\7b ","}":"\\7d ","\x85":"\\85 ","\xa0":"\\a0 ","\u2028":"\\2028 ","\u2029":"\\2029 "};soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_=function(a){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_[a]};soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_={"\x00":"%00","\x01":"%01","\x02":"%02","\x03":"%03","\x04":"%04","\x05":"%05","\x06":"%06","\x07":"%07","\x08":"%08","\x09":"%09","\x0a":"%0A","\x0b":"%0B","\x0c":"%0C","\x0d":"%0D","\x0e":"%0E","\x0f":"%0F","\x10":"%10","\x11":"%11","\x12":"%12","\x13":"%13","\x14":"%14","\x15":"%15","\x16":"%16","\x17":"%17","\x18":"%18","\x19":"%19","\x1a":"%1A","\x1b":"%1B","\x1c":"%1C","\x1d":"%1D","\x1e":"%1E","\x1f":"%1F"," ":"%20","\x22":"%22","\x27":"%27","(":"%28",")":"%29","\x3c":"%3C","\x3e":"%3E","\\":"%5C","{":"%7B","}":"%7D","\x7f":"%7F","\x85":"%C2%85","\xa0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"};soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_=function(a){return soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_[a]};soy.esc.$$MATCHER_FOR_ESCAPE_HTML_=/[\x00\x22\x26\x27\x3c\x3e]/g;soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_=/[\x00\x22\x27\x3c\x3e]/g;soy.esc.$$MATCHER_FOR_ESCAPE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g;soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g;soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\\\x85\u2028\u2029]/g;soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_=/[\x00\x08-\x0d\x22\x24\x26-\/\x3a\x3c-\x3f\x5b-\x5e\x7b-\x7d\x85\u2028\u2029]/g;soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_=/[\x00\x08-\x0d\x22\x26-\x2a\/\x3a-\x3e@\\\x7b\x7d\x85\xa0\u2028\u2029]/g;soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g;soy.esc.$$FILTER_FOR_FILTER_CSS_VALUE_=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i;soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_=/^(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i;soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_=/^data:image\/(?:bmp|gif|jpe?g|png|tiff|webp);base64,[a-z0-9+\/]+=*$/i;soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_=/^(?!style|on|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|src|usemap)(?:[a-z0-9_$:-]*)$/i;soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_=/^(?!script|style|title|textarea|xmp|no)[a-z0-9_$:-]*$/i;soy.esc.$$escapeHtmlHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_ESCAPE_HTML_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)};soy.esc.$$normalizeHtmlHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)};soy.esc.$$escapeHtmlNospaceHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_ESCAPE_HTML_NOSPACE_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)};soy.esc.$$normalizeHtmlNospaceHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_NOSPACE_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)};soy.esc.$$escapeJsStringHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_)};soy.esc.$$escapeJsRegexHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_,soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_)};soy.esc.$$escapeCssStringHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_)};soy.esc.$$filterCssValueHelper=function(a){var b=String(a);if(!soy.esc.$$FILTER_FOR_FILTER_CSS_VALUE_.test(b)){return"zSoyz"}return b};soy.esc.$$normalizeUriHelper=function(a){var b=String(a);return b.replace(soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_,soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_)};soy.esc.$$filterNormalizeUriHelper=function(a){var b=String(a);if(!soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_.test(b)){return"#zSoyz"}return b.replace(soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_,soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_)};soy.esc.$$filterImageDataUriHelper=function(a){var b=String(a);if(!soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_.test(b)){return"data:image/gif;base64,zSoyz"}return b};soy.esc.$$filterHtmlAttributesHelper=function(a){var b=String(a);if(!soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_.test(b)){return"zSoyz"}return b};soy.esc.$$filterHtmlElementNameHelper=function(a){var b=String(a);if(!soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_.test(b)){return"zSoyz"}return b};soy.esc.$$HTML_TAG_REGEX_=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g;soy.esc.$$LT_REGEX_=/</g;soy.esc.$$SAFE_TAG_WHITELIST_={b:1,br:1,em:1,i:1,s:1,sub:1,sup:1,u:1};; ;/* module-key = 'com.atlassian.soy.soy-template-plugin:soy-deps', location = 'js/atlassian-deps.js' */ window.atl_soy=window.atl_soy||{};atl_soy.concat=function(d,c){if(d.concat){return d.concat(c)}var e={};for(var f in d){if(d.hasOwnProperty(f)){e[f]=d[f]}}for(var f in c){if(c.hasOwnProperty(f)){e[f]=c[f]}}return e};; ;/* module-key = 'com.atlassian.auiplugin:internal-aui-widget', location = 'js/aui/internal/widget.js' */ (function(A){AJS._internal=AJS._internal||{};AJS._internal.widget=A(AJS.$)})(function(B){return function A(D,C){var E="_aui-widget-"+D;return function(K,I){var F;var G;if(B.isPlainObject(K)){G=K}else{F=K;G=I}var H=F&&B(F);var J;if(!H||!H.data(E)){J=new C(H,G||{});H=J.$el;H.data(E,J)}else{J=H.data(E)}return J}}});; ;/* module-key = 'com.atlassian.auiplugin:aui-navigation', location = 'js/aui-navigation.js' */ (function(A){AJS.navigation=A(AJS.$,window.skate,AJS._internal.widget)})(function(E,A,D){function C(F){this.$el=E(F).closest(".aui-nav");if(this.$el.length>1){return this.$el.map(function(H,I){return new C(I)})[0]}if(this.$el.data("aui-navigation")){return this.$el.data("aui-navigation")}this.$el.data("aui-navigation",this);this.$treeParent=this.$el.parent("li[aria-expanded]");this.$subtreeToggleIcon=this.$treeParent.children(".aui-nav-subtree-toggle").children("span.aui-icon");this.hideMoreItems();this.$el.children("li:has(.aui-nav-selected)").addClass("aui-nav-child-selected");var G=this.$el.children(".aui-nav-selected");G.parents(".aui-nav > [aria-expanded=false]").add(G.filter("[aria-expanded=false]")).each(function(){var H=B(E(this).children(".aui-nav"));H.expand()});this.$el.find("> li[aria-expanded] > .aui-nav-subtree-toggle").on("click",function(){var H=B(E(this).siblings(".aui-nav"));H.toggle()});return this}C.prototype.isNested=function(){return this.$treeParent.length===1};C.prototype.isCollapsed=function(){return this.$treeParent.attr("aria-expanded")==="false"};C.prototype.expand=function(){this.$treeParent.attr("aria-expanded","true");this.$subtreeToggleIcon.removeClass("aui-iconfont-collapsed").addClass("aui-iconfont-expanded");this.hideMoreItems();return this};C.prototype.collapse=function(){this.$treeParent.attr("aria-expanded","false");this.$subtreeToggleIcon.removeClass("aui-iconfont-expanded").addClass("aui-iconfont-collapsed");return this};C.prototype.toggle=function(){if(this.isCollapsed()){this.expand()}else{this.collapse()}return this};C.prototype.hideMoreItems=function(){if(this.$el.is(".aui-nav:not([aria-expanded=false]) [data-more]")){var I=this.$el.attr("data-more")||"More\u2026";var H=Math.abs(parseInt(this.$el.attr("data-more-limit")))||5;var J=this.$el.children("li");var G=J.length<=H+1;var K=J.filter(".aui-nav-selected").length;var F=J.filter(".aui-nav-more").length;if(G||K||F){return this}E("<li>",{"class":"aui-nav-more","aria-hidden":"true"}).append(E("<a>",{href:"#","class":"aui-nav-item",text:I,click:function(L){L.preventDefault();E(this).parent().remove()}})).insertAfter(J.eq(H-1))}return this};var B=D("navigation",C);A("aui-nav",{insert:function(F){B(F)}});return B});; ;/* module-key = 'com.atlassian.auiplugin:aui-navigation', location = 'soy/navigation.soy' */ // This file was automatically generated from navigation.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.navigation. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.navigation == 'undefined') { aui.navigation = {}; } aui.navigation.item = function(opt_data, opt_ignored) { return '<li class="' + ((opt_data.isSelected || opt_data.key && opt_data.selectedItemKey == opt_data.key) ? 'aui-nav-selected' : '') + aui.renderExtraClasses(opt_data) + '"' + ((opt_data.isCollapsible && opt_data.children && opt_data.children.length > 0) ? 'aria-expanded="' + ((opt_data.isCollapsed) ? 'false' : 'true') + '"' : '') + aui.renderExtraAttributes(opt_data) + '><a class="aui-nav-item" href="' + soy.$$escapeHtml(opt_data.href) + '">' + ((opt_data.iconClass && ! opt_data.isChild) ? aui.icons.icon({icon: opt_data.iconClass, size: 'small', useIconFont: true}) : '') + ((opt_data.count == 0 || opt_data.count) ? '<span class="aui-badge">' + soy.$$escapeHtml(opt_data.count) + '</span>' : '') + '<span class="aui-nav-item-label">' + soy.$$escapeHtml(opt_data.label) + '</span></a>' + ((opt_data.children && opt_data.children.length > 0) ? ((opt_data.isCollapsible) ? '<a href="#" class="aui-nav-subtree-toggle">' + aui.icons.icon({icon: opt_data.isCollapsed ? 'collapsed' : 'expanded', size: 'small', useIconFont: true}) + '</a>' : '') + aui.navigation.nav({items: opt_data.children, selectedItemKey: opt_data.selectedItemKey, isChild: true}) : '') + '</li>'; }; if (goog.DEBUG) { aui.navigation.item.soyTemplateName = 'aui.navigation.item'; } aui.navigation.nav = function(opt_data, opt_ignored) { var output = '<ul class="aui-nav' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>'; var itemList57 = opt_data.items; var itemListLen57 = itemList57.length; for (var itemIndex57 = 0; itemIndex57 < itemListLen57; itemIndex57++) { var itemData57 = itemList57[itemIndex57]; output += aui.navigation.item(soy.$$augmentMap(itemData57, {isChild: opt_data.isChild, selectedItemKey: opt_data.selectedItemKey})); } output += '</ul>'; return output; }; if (goog.DEBUG) { aui.navigation.nav.soyTemplateName = 'aui.navigation.nav'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-header', location = 'js/aui-header-responsive.js' */ (function(A){AJS.responsiveheader={};AJS.responsiveheader.setup=function(){var C=A(".aui-header");if(!C.length){return }C.each(function(D,E){B(A(E),D)});function B(J,O){function F(Y){var X;R();if(E>H){M(Y)}else{L.show();X=E-P;for(var W=0;X>=0;W++){X-=U[W].itemWidth}W=W-1;K(W,Y);G(W,I,Y);return W}}function R(){var W=T.length!==0?T.offset().left:J.width();var X=Q.offset().left+Q.outerWidth(true)+S;E=W-X}function D(X){var W=A("<li>"+aui.dropdown2.trigger({menu:{id:"aui-responsive-header-dropdown-content-"+X},text:"More",extraAttributes:{href:"#"},id:"aui-responsive-header-dropdown-trigger-"+X})+"</li>");W.append(aui.dropdown2.contents({id:"aui-responsive-header-dropdown-content-"+X,extraClasses:"aui-style-default",content:aui.dropdown2.section({content:"<ul id='aui-responsive-header-dropdown-list-"+X+"'></ul>"})}));if(S===0){W.appendTo(N(".aui-nav"))}else{W.insertBefore(N(".aui-nav > li > .aui-button").first().parent())}L=W;skate.init(L);P=L.outerWidth(true)}function G(W,b,d){if(W<0||b<0||W===b){return }var Z=A("#aui-responsive-header-dropdown-trigger-"+d);var c=Z.parent();var a;var X;if(Z.hasClass("active")){Z.trigger("aui-button-invoke")}var Y=N(".aui-nav > li > a:not(.aui-button):not(#aui-responsive-header-dropdown-trigger-"+d+")").length;while(W>b){a=U[b];if(a&&a.itemElement){X=a.itemElement;if(Y===0){X.prependTo(N(".aui-nav"))}else{X.insertBefore(c)}X.children("a").removeClass("aui-dropdown2-sub-trigger active");b=b+1;Y=Y+1}}}function K(W,a){if(W<0){return }var Y=A("#aui-responsive-header-dropdown-list-"+a);for(var X=W;X<U.length;X++){U[X].itemElement.appendTo(Y);var Z=U[X].itemElement.children("a");if(Z.hasClass("aui-dropdown2-trigger")){Z.addClass("aui-dropdown2-sub-trigger")}}}function M(W){L.hide();G(U.length,I,W)}var T=J.find(".aui-header-secondary .aui-nav").first();A(".aui-header").attr("data-aui-responsive","true");var U=[];var E=0;var H=0;var L;var I;var Q=J.find("#logo");var P=0;var N=(function(){var W=J.find(".aui-header-primary").first();return function(X){return W.find(X)}})();var S=0;N(".aui-button").parent().each(function(W,X){S+=A(X).outerWidth(true)});N(".aui-nav > li > a:not(.aui-button)").each(function(X,Y){var W=A(Y).parent();var Z=W.outerWidth(true);U.push({itemElement:W,itemWidth:Z});H+=Z});I=U.length;A(window).resize(function(){I=F(O)});D(O);var V=Q.find("img");if(V.length!==0){V.attr("data-aui-responsive-header-index",O);V.load(function(W){I=F(O)})}I=F(O);N(".aui-nav").css("width","auto")}}})(AJS.$);AJS.$(AJS.responsiveheader.setup);; ;/* module-key = 'com.atlassian.auiplugin:aui-dropdown2', location = 'js/dropdown2.js' */ (function(H){var F=H(document);var C=null;function J(M){M.preventDefault()}function E(M){return M[0].getAttribute("aria-hidden")!=="true"&&M.is(":visible")}var B=(function(){var O=false;function M(Q){if(!O&&Q.which===1){O=true;F.bind("mouseup mouseleave",N);H(this).trigger("aui-button-invoke")}}function N(){F.unbind("mouseup mouseleave",N);setTimeout(function(){O=false},0)}function P(){if(!O){H(this).trigger("aui-button-invoke")}}if(typeof document.addEventListener==="undefined"){return{click:P,"click selectstart":J,mousedown:function(S){var T=this;var R=document.activeElement;function Q(U){switch(U.toElement){case null:case T:case document.body:case document.documentElement:U.returnValue=false}}M.call(this,S);if(R!==null){R.attachEvent("onbeforedeactivate",Q);setTimeout(function(){R.detachEvent("onbeforedeactivate",Q)},0)}}}}return{click:P,"click mousedown":J,mousedown:M}})();var A={"aui-button-invoke":function(i,S){S=H.extend({selectFirst:true},S);var P=K(this);var O=H(this).addClass("active aui-dropdown2-active");var s=O.hasClass("aui-dropdown2-sub-trigger");var n=P.parent()[0];var q=P.next()[0];var e=H(this).attr("data-dropdown2-hide-location");if(e){var a=document.getElementById(e);if(a){n=H(a);q=undefined}else{throw new Error("The specified data-dropdown2-hide-location id doesn't exist")}}var U=S.$menu||O.closest(".aui-dropdown2-trigger-group");if(s){var f=O.closest(".aui-dropdown2");P.addClass(f.attr("class")).addClass("aui-dropdown2-sub-menu")}var T={click:function(u){var t=H(this);if(!Q(t)){return }if(!t.hasClass("interactive")&&!t.hasClass("aui-dropdown2-interactive")){m()}if(W(t)){g(t,{selectFirst:false});J(u)}},mousemove:function(){var u=H(this);var t=V(u);if(t){g(u,{selectFirst:false})}}};var o={"click focusin mousedown":function(t){var u=t.target;if(document===u&&t.type==="focusin"){return }if(!D(u,P[0])&&!D(u,O[0])){m()}},keydown:function(v){var u;if(v.shiftKey&&v.keyCode==9){k(-1)}else{switch(v.keyCode){case 13:u=Z();if(W(u)){g(u)}else{L(u[0])}break;case 27:b();break;case 37:u=Z();if(W(u)){var t=K(u);if(E(t)){P.trigger("aui-dropdown2-step-out");return }}if(s){b()}else{r(-1)}break;case 38:k(-1);break;case 39:u=Z();if(W(u)){g(u)}else{r(1)}break;case 40:k(1);break;case 9:k(1);break;default:return }}J(v)}};function d(t,u){t.each(function(){var v=H(this);v.attr("role",u);if(v.hasClass("checked")||v.hasClass("aui-dropdown2-checked")){v.attr("aria-checked","true");if(u=="radio"){v.closest("ul").attr("role","radiogroup")}}else{v.attr("aria-checked","false")}})}O.attr("aria-controls",O.attr("aria-owns"));P.find(".disabled,.aui-dropdown2-disabled").attr("aria-disabled","true");P.find("li.hidden > a,li.aui-dropdown2-hidden > a").addClass("disabled aui-dropdown2-disabled").attr("aria-disabled","true");d(P.find(".aui-dropdown2-checkbox"),"checkbox");d(P.find(".aui-dropdown2-radio"),"radio");function R(){var AC=O.offset();var AG=O.outerWidth();P.css({left:0,top:0});var AF=P.outerWidth();var AB=H("body").outerWidth(true);var u=Math.max(parseInt(P.css("min-width"),10),AG);var v=O.data("container")||false;var AE="left";var w;if(!s){P.css("min-width",u+"px")}var x=AC.left,AD=AC.top+O.outerHeight();if(s){var z=3;x=AC.left+f.outerWidth()-z;AD=AC.top}if(AB<x+AF&&AF<=x+AG){x=AC.left+AG-AF;if(s){x=AC.left-AF}AE="right"}if(v){var t=O.closest(v),AA=O.offset().left+O.outerWidth(),y=AA+AF;if(u>=AF){AF=u}if(y>AA){x=AA-AF;AE="right"}}P.attr({"data-dropdown2-alignment":AE,"aria-hidden":"false"}).css({display:"block",left:x+"px",top:AD+"px"});P.appendTo(document.body)}R();if(O.hasClass("toolbar-trigger")){P.addClass("aui-dropdown2-in-toolbar")}if(O.parent().hasClass("aui-buttons")){P.addClass("aui-dropdown2-in-buttons")}if(O.parents().hasClass("aui-header")){P.addClass("aui-dropdown2-in-header")}P.trigger("aui-dropdown2-show",S);if(S.selectFirst){N()}j("on");function b(){M();j("off");setTimeout(function(){P.css("display","none").css("min-width","").insertAfter(O).attr("aria-hidden","true");if(!s){O.removeClass("active aui-dropdown2-active")}Z().removeClass("active aui-dropdown2-active");P.removeClass("aui-dropdown2-in-toolbar");P.removeClass("aui-dropdown2-in-buttons");if(q){P.insertBefore(q)}else{P.appendTo(n)}P.trigger("aui-dropdown2-hide")},0)}function m(){b();if(s){f.trigger("aui-dropdown2-hide-all")}}function h(t){if(s&&t.target===f[0]){b()}}function Q(t){return !t.is(".disabled, .aui-dropdown2-disabled, [aria-disabled=true]")}function W(t){return t.hasClass("aui-dropdown2-sub-trigger")}function g(t,u){if(!W(t)){return }u=H.extend({},u,{$menu:U});var v=K(t);if(E(v)){v.trigger("aui-dropdown2-select-first")}else{t.trigger("aui-button-invoke",u)}}function Z(){return P.find("a.active,a.aui-dropdown2-active")}var X=null;function V(t){if(X&&X[0]===t[0]){return false}X=t;Z().removeClass("active aui-dropdown2-active");if(Q(t)){t.addClass("active aui-dropdown2-active")}P.trigger("aui-dropdown2-item-selected");Y();return true}function N(){V(P.find("a:not(.disabled):not(.aui-dropdown2-disabled)").first())}function k(u){var t=P.find("> ul > li > a, > .aui-dropdown2-section > ul > li > a").not(".disabled,.aui-dropdown2-disabled");V(l(t,u,true))}function c(t){if(t.length>0){m();t.trigger("aui-button-invoke")}}function r(t){c(l(U.find(".aui-dropdown2-trigger").not(".disabled, .aui-dropdown2-disabled, [aria-disabled=true], .aui-dropdown2-sub-trigger"),t,false))}function l(v,w,u){var t=v.index(v.filter(".active,.aui-dropdown2-active"));t+=(t<0&&w<0)?1:0;t+=w;if(u){t%=v.length}else{if(t<0){t=v.length}}return v.eq(t)}function p(){c(H(this))}function M(){if(C===o){F.unbind(o);C=null}}function Y(){if(C===o){return }F.unbind(C);F.bind(o);C=o}function j(u){var v="bind";var t="delegate";if(u!=="on"){v="unbind";t="undelegate"}if(!s){U[t](".aui-dropdown2-trigger:not(.active):not(.aui-dropdown2-active)","mousemove",p);O[v]("aui-button-invoke",b)}else{f[v]("aui-dropdown2-hide aui-dropdown2-item-selected aui-dropdown2-step-out",h)}P[v]("aui-dropdown2-hide-all",m);P[t]("a",T);P[v]("aui-dropdown2-hide",Y);P[v]("aui-dropdown2-select-first",N)}},mousedown:function(M){if(M.which===1){H(this).bind(G)}}};var G={mouseleave:function(){F.bind(I)},"mouseup mouseleave":function(){H(this).unbind(G)}};var I={mouseup:function(M){var N=H(M.target).closest(".aui-dropdown2 a, .aui-dropdown2-trigger")[0];if(N){setTimeout(function(){L(N)},0)}},"mouseup mouseleave":function(){H(this).unbind(I)}};function L(M){if(M.click){M.click()}else{var N=document.createEvent("MouseEvents");N.initMouseEvent("click",true,true,window,0,0,0,0,0,false,false,false,false,0,null);M.dispatchEvent(N)}}function D(N,M){return(N===M)||H.contains(M,N)}function K(O){if(!(O instanceof AJS.$)){O=H(O)}var P=O.attr("aria-owns"),M=O.attr("aria-haspopup"),N=document.getElementById(P);if(N){return H(N)}else{if(!P){throw new Error("Dropdown 2 trigger required attribute not set: aria-owns")}if(!M){throw new Error("Dropdown 2 trigger required attribute not set: aria-haspopup")}if(!N){throw new Error("Dropdown 2 trigger aria-owns attr set to nonexistent id: "+P)}throw new Error("Dropdown 2 trigger unknown error. I don't know what you did, but there's smoke everywhere. Consult the documentation.")}}F.delegate(".aui-dropdown2-trigger",B);F.delegate(".aui-dropdown2-trigger:not(.active):not(.aui-dropdown2-active):not([aria-disabled=true]),.aui-dropdown2-sub-trigger:not([aria-disabled=true])",A);F.delegate(".aui-dropdown2-checkbox:not(.disabled):not(.aui-dropdown2-disabled)","click",function(){var M=H(this);if(M.hasClass("checked")||M.hasClass("aui-dropdown2-checked")){M.removeClass("checked aui-dropdown2-checked").attr("aria-checked","false");M.trigger("aui-dropdown2-item-uncheck")}else{M.addClass("checked aui-dropdown2-checked").attr("aria-checked","true");M.trigger("aui-dropdown2-item-check")}});F.delegate(".aui-dropdown2-radio:not(.checked):not(.aui-dropdown2-checked):not(.disabled):not(.aui-dropdown2-disabled)","click",function(){var M=H(this);var N=M.closest("ul").find(".checked,.aui-dropdown2-checked");N.removeClass("checked aui-dropdown2-checked").attr("aria-checked","false").trigger("aui-dropdown2-item-uncheck");M.addClass("checked aui-dropdown2-checked").attr("aria-checked","true").trigger("aui-dropdown2-item-check")});F.delegate(".aui-dropdown2 a.disabled,.aui-dropdown2 a.aui-dropdown2-disabled","click",function(M){J(M)})})(AJS.$);; ;/* module-key = 'com.atlassian.auiplugin:fancy-file-input', location = 'fancy-file-input/dist/fancy-file-input.js' */ /* jQuery Fancy File Input plugin - v1.0.0 - 2014-10-22 * http://seancurtis.com/experiments/fancy-file-input/ * Copyright (c) 2014 Sean Curtis <scurtis@atlassian.com>; Licensed http://www.apache.org/licenses/LICENSE-2.0 */ (function(A,B){A.FancyFileInput=B(jQuery);if(typeof define==="function"){define("aui/internal/fancy-file-input",[],function(){return A.FancyFileInput})}}(this,function(D){var F=/^.*[\\\/]/;var B=/\{0\}/gi;var E=(function(){var G=3;var I=document.createElement("div");var H=I.getElementsByTagName("i");do{I.innerHTML="<!--[if gt IE "+(++G)+"]><i></i><![endif]-->"}while(H[0]);return G>4?G:document.documentMode}());D.fn.fancyFileInput=function(G){return this.each(function(){var H=new A(this,G);D(this).data("FancyFileInput",H)})};function A(I,H){var G=D(I).data("FancyFileInput");if(G){return G}H=D.extend({},A.defaults,H);this.el=I;this.$el=D(I);this.$label=this.createLabel(H.buttonText);this._addLabelText();this.$clearButton=D("<button>",{text:(this.$label.attr("data-ffi-clearButtonText")||H.clearButtonText),"class":"ffi-clear",type:"button",tabindex:"-1"});this.multipleFileTextPattern=this.$label.attr("data-ffi-multipleFileTextPattern")||H.multipleFileTextPattern;this._eventNamespace=".ffi";this.CLASSES={disabled:"is-disabled",focused:"is-focused",active:"is-active",valid:"is-valid",invalid:"is-invalid"};this[this.isDisabled()?"disable":"enable"]();this.isFocused=false}A.defaults={buttonText:"Browse\u2026",clearButtonText:"Clear",multipleFileTextPattern:"{0} files"};A.prototype._addLabelText=function C(){var G=D('label[for="'+this.el.id+'"]');if(G.length){this.$el.attr("aria-label",G.text())}};A.prototype.createLabel=function(H){var G=this.$el.parent(".ffi[data-ffi-button-text]");if(!G.length){G=this.$el.wrap(D("<label>",{"class":"ffi","data-ffi-button-text":H})).parent()}return G};A.prototype.isDisabled=function(){return this.$el.is(":disabled")};A.prototype.formatMultipleFileText=function(G){return this.multipleFileTextPattern.replace(B,G)};A.prototype.bindEvents=function(){this.$el.on("invalid"+this._eventNamespace,D.proxy(this.checkValidity,this)).on("change"+this._eventNamespace,D.proxy(this.change,this)).on("keydown"+this._eventNamespace,D.proxy(this.keydown,this)).on("mousedown"+this._eventNamespace,D.proxy(this.mousedown,this)).on("mouseup"+this._eventNamespace,D.proxy(this.mouseup,this)).on("focus"+this._eventNamespace,D.proxy(this.focus,this)).on("blur"+this._eventNamespace,D.proxy(this.blur,this));this.$clearButton.on("click"+this._eventNamespace,D.proxy(this.clear,this))};A.prototype.unbindEvents=function(){this.$el.off(this._eventNamespace);this.$clearButton.off(this._eventNamespace)};A.prototype.fireEvent=function(G){this.$el.trigger(G+this._eventNamespace)};A.prototype.enable=function(){this.bindEvents();this.$el.prop("disabled",false);this.$label.removeClass(this.CLASSES.disabled)};A.prototype.disable=function(){this.unbindEvents();this.$el.prop("disabled",true);this.$label.addClass(this.CLASSES.disabled)};A.prototype.clear=function(){this.$el.wrap("<form>").closest("form").get(0).reset();this.$el.unwrap();this.el.value="";this.change();return false};A.prototype.focus=function(){var G=this;this.$label.addClass(this.CLASSES.focused);if(E&&!this.isFocused){this.isFocused=true;setTimeout(function(){G.$el.blur();G.$el.focus()},0)}};A.prototype.blur=function(){if(!E||!this.isFocused){this.$label.removeClass(this.CLASSES.focused);this.isFocused=false}};A.prototype.mousedown=function(){this.$label.addClass(this.CLASSES.active)};A.prototype.mouseup=function(){this.$label.removeClass(this.CLASSES.active)};A.prototype.keydown=function(L){var K=L.which;var J=8;var H=9;var I=46;if(K===J||K===I){this.clear();L.preventDefault()}if(E&&K===H){var G=this;this.isFocused=false;this.$el.prop("disabled",true);setTimeout(function(){G.$el.prop("disabled",false).blur()},0)}};A.prototype.checkValidity=function(){if(!this.el.required){return }var G=this.$el.is(":invalid");this.$label.toggleClass(this.CLASSES.invalid,G).toggleClass(this.CLASSES.valid,!G)};A.prototype.change=function(){var G;var H="";this.checkValidity();if(this.el.multiple&&this.el.files.length>1){G=this.formatMultipleFileText(this.el.files.length)}else{G=this.el.value}if(G.length){H=G.replace(F,"");this.$clearButton.appendTo(this.$label)}else{this.$clearButton.detach()}this.$el.focus();this.setFieldText(H);this.fireEvent("value-changed")};A.prototype.setFieldText=function(H){var G="data-ffi-value";if(H.length){this.$label.attr(G,H);this.fireEvent("value-added")}else{this.$label.removeAttr(G);this.fireEvent("value-cleared")}};return A}));; ;/* module-key = 'com.atlassian.auiplugin:hotkeys', location = 'js/jquery/jquery.hotkeys.js' */ (function(D){D.hotkeys={version:"0.8",specialKeys:{8:"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",188:",",190:".",191:"/",224:"meta",219:"[",221:"]"},keypressKeys:["<",">","?"],shiftNums:{"`":"~","1":"!","2":"@","3":"#","4":"$","5":"%","6":"^","7":"&","8":"*","9":"(","0":")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"}};D.each(D.hotkeys.keypressKeys,function(E,F){D.hotkeys.shiftNums[F]=F});function A(E){this.num=0;this.timer=E>0?E:false}A.prototype.val=function(){return this.num};A.prototype.inc=function(){if(this.timer){clearTimeout(this.timeout);this.timeout=setTimeout(D.proxy(A.prototype.reset,this),this.timer)}this.num++};A.prototype.reset=function(){if(this.timer){clearTimeout(this.timeout)}this.num=0};function C(G){if(!(D.isPlainObject(G.data)||D.isArray(G.data)||typeof G.data==="string")){return }var F=G.handler,E={timer:700};(function(H){if(typeof H==="string"){E.combo=[H]}else{if(D.isArray(H)){E.combo=H}else{D.extend(E,H)}}E.combo=D.map(E.combo,function(I){return I.toLowerCase()})})(G.data);G.index=new A(E.timer);G.handler=function(M){if(this!==M.target&&(/textarea|select|input/i.test(M.target.nodeName))){return }var J=M.type!=="keypress"?D.hotkeys.specialKeys[M.which]:null,N=String.fromCharCode(M.which).toLowerCase(),K,L="",I={};if(M.altKey&&J!=="alt"){L+="alt+"}if(M.ctrlKey&&J!=="ctrl"){L+="ctrl+"}if(M.metaKey&&!M.ctrlKey&&J!=="meta"){L+="meta+"}if(M.shiftKey&&J!=="shift"){L+="shift+"}if(M.metaKey&&N==="["){N=null}if(J){I[L+J]=true}if(N){I[L+N]=true}if(/shift+/.test(L)){I[L.replace("shift+","")+D.hotkeys.shiftNums[(J||N)]]=true}var H=G.index,O=E.combo;if(B(O[H.val()],I)){if(H.val()===O.length-1){H.reset();return F.apply(this,arguments)}else{H.inc()}}else{H.reset();if(B(O[0],I)){H.inc()}}}}function B(H,F){var I=H.split(" ");for(var G=0,E=I.length;G<E;G++){if(F[I[G]]){return true}}return false}D.each(["keydown","keyup","keypress"],function(){D.event.special[this]={add:C}})})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:aui-focus-manager', location = 'js/focus-manager.js' */ AJS.FocusManager=(function(G){(function B(){function J(L){return(G.css(L,"visibility")==="visible")}function I(P,Q){var S=P.nodeName.toLowerCase();if(S==="area"){var M=P.parentNode;var R=M.name;var T=G("img[usemap=#"+R+"]").get();if(!P.href||!R||M.nodeName.toLowerCase()!=="map"){return false}return T&&J(T)}var O=/input|select|textarea|button|object/.test(S);var L=S==="a";var N=(P.href||Q);return(O?!P.disabled:(L?N:Q))&&J(P)}function K(N){var L=G.attr(N,"tabindex"),M=isNaN(L);var O=(M||L>=0);return O&&I(N,!M)}G.extend(G.expr[":"],{"aui-focusable":function(L){return I(L,!isNaN(G.attr(L,"tabindex")))},"aui-tabbable":K})}());var D="_aui-focus-restore";function C(){this._focusTrapStack=[];G(document).on("focusout",{focusTrapStack:this._focusTrapStack},F)}C.defaultFocusSelector=":aui-tabbable";C.prototype.enter=function(I){I.data(D,G(document.activeElement));if(I.attr("data-aui-focus")!=="false"){var J=I.attr("data-aui-focus-selector")||C.defaultFocusSelector;var K=I.is(J)?I:I.find(J);K.first().focus()}if(H(I)){E(I,this._focusTrapStack)}};function E(I,J){J.push(I)}function A(I){I.pop()}function H(I){return I.is(".aui-dialog2")}C.prototype.exit=function(I){if(H(I)){A(this._focusTrapStack)}var J=document.activeElement;if(I[0]===J||I.has(J).length){G(J).blur()}var K=I.data(D);if(K&&K.length){I.removeData(D);K.focus()}};function F(K){var O=K.data.focusTrapStack;if(!K.relatedTarget){return }if(O.length===0){return }var R=O[O.length-1];var I=K.target;var N=K.relatedTarget;var M=R.find(":aui-tabbable");var L=AJS.$(M.first());var J=AJS.$(M.last());var Q=R.has(N).length===0;var P=Q&&N;if(P){if(L.is(I)){J.focus()}else{if(J.is(I)){L.focus()}}}}C.global=new C();return C}(AJS.$));; ;/* module-key = 'com.atlassian.auiplugin:aui-layer-manager', location = 'js/layer-manager.js' */ (function(B){function F(L,N){var M=L.length;while(M--){if(N(L[M])){return M}}return -1}function D(L,M){return F(L,function(N){return N[0]===M[0]})}function G(L){return F(L,function(M){return AJS.layer(M).isBlanketed()})}function A(M){var L;if(M.length){var N=M[M.length-1];var O=parseInt(N.css("z-index"),10);L=(isNaN(O)?0:O)+100}else{L=0}return Math.max(3000,L)}function E(L,N){var M=G(L);if(N!==M){if(M>-1){AJS.dim(false,L[M].css("z-index")-20)}else{AJS.undim()}}}function K(L,P,O){if(P<0){return }for(var N=L.length-1;N>=P;N--){var M=L[N];var Q=AJS.layer(M);if(O||!Q.isPersistent()){Q._hideLayer(true);L.splice(N,1)}}}function C(M){var L=I(M);if(L.length>0){return L.closest(".aui-layer")}}function J(L){return I(L).length>0}function I(L){return B('[aria-controls="'+L.attr("id")+'"]')}function H(){this._stack=[]}H.prototype={push:function(N){var M=(N instanceof B)?N:B(N);if(D(this._stack,M)>=0){throw new Error("The given element is already an active layer.")}this.popLayersBeside(M);var L=AJS.layer(M);var O=A(this._stack);L._showLayer(O);if(L.isBlanketed()){AJS.dim(false,O-20)}this._stack.push(M);return this},popLayersBeside:function(O){var M=(O instanceof B)?O:B(O);if(!J(M)){var L=G(this._stack);K(this._stack,++L,false);return }var P=C(M);if(P){var N=this.indexOf(P);K(this._stack,++N,false)}else{K(this._stack,0,false)}},indexOf:function(L){return D(this._stack,B(L))},item:function(L){return this._stack[L]},hideAll:function(){this._stack.reverse().forEach(function(M){var L=AJS.layer(M);if(L.isBlanketed()||L.isPersistent()){return }L.hide()});return this},getNextLowerNonPersistentOrBlanketedLayer:function(P){var O=(P instanceof B)?P:B(P);var M=D(this._stack,O);if(M<0){return null}var L;M--;while(M>=0){L=this._stack[M];var N=AJS.layer(L);if(!N.isPersistent()||N.isBlanketed()){return L}M--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(P){var O=(P instanceof B)?P:B(P);var M=D(this._stack,O);if(M<0){return null}var L;M++;while(M<this._stack.length){L=this._stack[M];var N=AJS.layer(L);if(!(N.isPersistent()||N.isBlanketed())){return L}M++}return null},popUntil:function(O){var N=(O instanceof B)?O:B(O);var M=D(this._stack,N);if(M===-1){return null}var L=G(this._stack);K(this._stack,M+1,AJS.layer(N).isBlanketed());AJS.layer(N)._hideLayer();this._stack.splice(M,1);E(this._stack,L);return N},getTopLayer:function(){if(!this._stack.length){return null}var L=this._stack[this._stack.length-1];return L},popTopIfNonPersistent:function(){var L=this.getTopLayer();var M=AJS.layer(L);if(!L||M.isPersistent()){return null}return this.popUntil(L)},popUntilTopBlanketed:function(){var P=G(this._stack);if(P<0){return null}var M=this._stack[P];var O=AJS.layer(M);if(O.isPersistent()){var L=this.getNextHigherNonPeristentAndNonBlanketedLayer(M);if(L){var N=D(this._stack,L);K(this._stack,N,true);return L}return null}K(this._stack,P,true);E(this._stack,P);return M},popUntilTopPersistent:function(){var N=AJS.LayerManager.global.getTopLayer();if(!N){return }var L;var M=G(this._stack);var O=AJS.layer(N);if(O.isPersistent()){if(O.isBlanketed()){return }else{N=AJS.LayerManager.global.getNextLowerNonPersistentOrBlanketedLayer(N);O=AJS.layer(N);if(N&&!O.isPersistent()){L=D(this._stack,N);K(this._stack,L,true);E(this._stack,M)}else{return }}}else{L=D(this._stack,N);K(this._stack,L,true);E(this._stack,M)}}};AJS.LayerManager=H}(AJS.$));; ;/* module-key = 'com.atlassian.auiplugin:aui-layer-manager', location = 'js/layer-manager-global.js' */ (function(C){var F=C(document);function D(){F.on("keydown",function(G){if(G.keyCode===AJS.keyCode.ESCAPE){AJS.LayerManager.global.popUntilTopPersistent();G.preventDefault()}})}function E(){F.on("click",".aui-blanket",function(G){if(AJS.LayerManager.global.popUntilTopBlanketed()){G.preventDefault()}})}function B(){F.on("click",function(K){var H=C(K.target);if(H.closest(".aui-blanket").length){return }var G=H.closest("[aria-controls]");var J=H.closest(".aui-layer");if(!J.length&&!A(G)){AJS.LayerManager.global.hideAll();return }if(A(G)){return }if(J.length){var I=AJS.LayerManager.global.getNextHigherNonPeristentAndNonBlanketedLayer(J);if(I){AJS.layer(I).hide()}}})}function A(G){if(!G.length){return false}var H=document.getElementById(G.attr("aria-controls"));return AJS.LayerManager.global.indexOf(H)>-1}D();E();B();AJS.LayerManager.global=new AJS.LayerManager()}(AJS.$));; ;/* module-key = 'com.atlassian.auiplugin:layer', location = 'js/layer.js' */ (function(A){AJS.layer=A(AJS.$,AJS._internal.widget)})(function(F,I){var H="_aui-internal-layer-";var K="_aui-internal-layer-global-";var B="aui-layer-";var E=F(document);function A(L){L.attr("aria-hidden","true")}function G(L){L.attr("aria-hidden","false")}function J(O,M,N){var Q=F.Event(H+M);var P=F.Event(K+M);var L=new CustomEvent(B+N,{bubbles:true,cancelable:true});O.trigger(Q);O.trigger(P,[O]);O[0].dispatchEvent(L);return !Q.isDefaultPrevented()&&!P.isDefaultPrevented()&&!L.defaultPrevented}function C(L){this.$el=F(L||'<div class="aui-layer" aria-hidden="true"></div>');this.$el.addClass("aui-layer")}C.prototype={below:function(){return AJS.LayerManager.global.item(AJS.LayerManager.global.indexOf(this.$el)-1)},above:function(){return AJS.LayerManager.global.item(AJS.LayerManager.global.indexOf(this.$el)+1)},changeSize:function(M,L){this.$el.css("width",M);this.$el.css("height",L==="content"?"":L);return this},on:function(M,L){this.$el.on(H+M,L);return this},off:function(M,L){this.$el.off(H+M,L);return this},show:function(){if(this.isVisible()){G(this.$el);return this}if(J(this.$el,"beforeShow","show")){AJS.LayerManager.global.push(this.$el)}return this},hide:function(){if(!this.isVisible()){A(this.$el);return this}if(J(this.$el,"beforeHide","hide")){AJS.LayerManager.global.popUntil(this.$el)}return this},isVisible:function(){return this.$el.attr("aria-hidden")==="false"},remove:function(){this.hide();this.$el.remove();this.$el=null},isBlanketed:function(){return this.$el.attr("data-aui-blanketed")==="true"},isPersistent:function(){return this.$el.attr("data-aui-persistent")==="true"||this.$el.attr("data-aui-modal")==="true"},_hideLayer:function(L){if(this.isPersistent()||this.isBlanketed()){AJS.FocusManager.global.exit(this.$el)}if(L){J(this.$el,"beforeHide","hide")}this.$el.attr("aria-hidden","true");this.$el.css("z-index",this.$el.data("_aui-layer-cached-z-index")||"");this.$el.data("_aui-layer-cached-z-index","");this.$el.trigger(H+"hide");this.$el.trigger(K+"hide",[this.$el])},_showLayer:function(L){if(!this.$el.parent().is("body")){this.$el.appendTo(document.body)}this.$el.data("_aui-layer-cached-z-index",this.$el.css("z-index"));this.$el.css("z-index",L);this.$el.attr("aria-hidden","false");if(this.isPersistent()||this.isBlanketed()){AJS.FocusManager.global.enter(this.$el)}this.$el.trigger(H+"show");this.$el.trigger(K+"show",[this.$el])}};var D=I("layer",C);D.on=function(M,L,N){E.on(K+M,L,N);return this};D.off=function(M,L,N){E.off(K+M,L,N);return this};return D});; ;/* module-key = 'com.atlassian.auiplugin:dialog', location = 'js/dialog.js' */ AJS.popup=function(I){var D={width:800,height:600,closeOnOutsideClick:false,keypressListener:function(J){if(J.keyCode===27&&B.is(":visible")){F.hide()}}};if(typeof I!="object"){I={width:arguments[0],height:arguments[1],id:arguments[2]};I=AJS.$.extend({},I,arguments[3])}I=AJS.$.extend({},D,I);var B=AJS("div").addClass("aui-popup");if(I.id){B.attr("id",I.id)}var E=3000;AJS.$(".aui-dialog").each(function(){var J=AJS.$(this);E=(J.css("z-index")>E)?J.css("z-index"):E});var G=(function(K,J){I.width=(K=(K||I.width));I.height=(J=(J||I.height));B.css({marginTop:-Math.round(J/2)+"px",marginLeft:-Math.round(K/2)+"px",width:K,height:J,"z-index":parseInt(E,10)+2});return arguments.callee})(I.width,I.height);AJS.$("body").append(B);B.hide();AJS.enable(B);var C=AJS.$(".aui-blanket"),A=function(J,K){var L=AJS.$(J,K);if(L.length){L.focus();return true}return false},H=function(J){if(AJS.$(".dialog-page-body",J).find(":focus").length!==0){return }if(I.focusSelector){return A(I.focusSelector,J)}var K=":input:visible:enabled:first";if(A(K,AJS.$(".dialog-page-body",J))){return }if(A(K,AJS.$(".dialog-button-panel",J))){return }A(K,AJS.$(".dialog-page-menu",J))};var F={changeSize:function(J,K){if((J&&J!=I.width)||(K&&K!=I.height)){G(J,K)}this.show()},show:function(){var J=function(){AJS.$(document).off("keydown",I.keypressListener).on("keydown",I.keypressListener);AJS.dim();C=AJS.$(".aui-blanket");if(C.size()!=0&&I.closeOnOutsideClick){C.click(function(){if(B.is(":visible")){F.hide()}})}B.show();AJS.popup.current=this;H(B);AJS.$(document).trigger("showLayer",["popup",this])};J.call(this);this.show=J},hide:function(){AJS.$(document).unbind("keydown",I.keypressListener);C.unbind();this.element.hide();if(AJS.$(".aui-dialog:visible").size()==0){AJS.undim()}var J=document.activeElement;if(this.element.has(J).length){J.blur()}AJS.$(document).trigger("hideLayer",["popup",this]);AJS.popup.current=null;this.enable()},element:B,remove:function(){B.remove();this.element=null},disable:function(){if(!this.disabled){this.popupBlanket=AJS.$("<div class='dialog-blanket'> </div>").css({height:B.height(),width:B.width()});B.append(this.popupBlanket);this.disabled=true}},enable:function(){if(this.disabled){this.disabled=false;this.popupBlanket.remove();this.popupBlanket=null}}};return F};(function(){function F(N,L,K,M){if(!N.buttonpanel){N.addButtonPanel()}this.page=N;this.onclick=K;this._onclick=function(O){return K.call(this,N.dialog,N,O)===true};this.item=AJS("button",L).addClass("button-panel-button");if(M){this.item.addClass(M)}if(typeof K=="function"){this.item.click(this._onclick)}N.buttonpanel.append(this.item);this.id=N.button.length;N.button[this.id]=this}function A(O,M,L,N,K){if(!O.buttonpanel){O.addButtonPanel()}if(!K){K="#"}this.page=O;this.onclick=L;this._onclick=function(P){return L.call(this,O.dialog,O,P)===true};this.item=AJS("a",M).attr("href",K).addClass("button-panel-link");if(N){this.item.addClass(N)}if(typeof L=="function"){this.item.click(this._onclick)}O.buttonpanel.append(this.item);this.id=O.button.length;O.button[this.id]=this}function B(M,L){var K=M=="left"?-1:1;return function(Q){var O=this.page[L];if(this.id!=((K==1)?O.length-1:0)){K*=(Q||1);O[this.id+K].item[(K<0?"before":"after")](this.item);O.splice(this.id,1);O.splice(this.id+K,0,this);for(var N=0,P=O.length;N<P;N++){if(L=="panel"&&this.page.curtab==O[N].id){this.page.curtab=N}O[N].id=N}}return this}}function G(K){return function(){this.page[K].splice(this.id,1);for(var L=0,M=this.page[K].length;L<M;L++){this.page[K][L].id=L}this.item.remove()}}F.prototype.moveUp=F.prototype.moveLeft=B("left","button");F.prototype.moveDown=F.prototype.moveRight=B("right","button");F.prototype.remove=G("button");F.prototype.html=function(K){return this.item.html(K)};F.prototype.onclick=function(K){if(typeof K=="undefined"){return this.onclick}else{this.item.unbind("click",this._onclick);this._onclick=function(L){return K.call(this,page.dialog,page,L)===true};if(typeof K=="function"){this.item.click(this._onclick)}}};var D=20;var H=function(Q,R,K,P,N){if(!(K instanceof AJS.$)){K=AJS.$(K)}this.dialog=Q.dialog;this.page=Q;this.id=Q.panel.length;this.button=AJS("button").html(R).addClass("item-button");if(N){this.button[0].id=N}this.item=AJS("li").append(this.button).addClass("page-menu-item");this.body=AJS("div").append(K).addClass("dialog-panel-body").css("height",Q.dialog.height+"px");this.padding=D;if(P){this.body.addClass(P)}var M=Q.panel.length,O=this;Q.menu.append(this.item);Q.body.append(this.body);Q.panel[M]=this;var L=function(){var S;if(Q.curtab+1){S=Q.panel[Q.curtab];S.body.hide();S.item.removeClass("selected");(typeof S.onblur=="function")&&S.onblur()}Q.curtab=O.id;O.body.show();O.item.addClass("selected");(typeof O.onselect=="function")&&O.onselect();(typeof Q.ontabchange=="function")&&Q.ontabchange(O,S)};if(!this.button.click){AJS.log("atlassian-dialog:Panel:constructor - this.button.click false");this.button.onclick=L}else{this.button.click(L)}L();if(M==0){Q.menu.css("display","none")}else{Q.menu.show()}};H.prototype.select=function(){this.button.click()};H.prototype.moveUp=H.prototype.moveLeft=B("left","panel");H.prototype.moveDown=H.prototype.moveRight=B("right","panel");H.prototype.remove=G("panel");H.prototype.html=function(K){if(K){this.body.html(K);return this}else{return this.body.html()}};H.prototype.setPadding=function(K){if(!isNaN(+K)){this.body.css("padding",+K);this.padding=+K;this.page.recalcSize()}return this};var E=56;var C=51;var I=50;var J=function(K,L){this.dialog=K;this.id=K.page.length;this.element=AJS("div").addClass("dialog-components");this.body=AJS("div").addClass("dialog-page-body");this.menu=AJS("ul").addClass("dialog-page-menu").css("height",K.height+"px");this.body.append(this.menu);this.curtab;this.panel=[];this.button=[];if(L){this.body.addClass(L)}K.popup.element.append(this.element.append(this.menu).append(this.body));K.page[K.page.length]=this};J.prototype.recalcSize=function(){var K=this.header?E:0;var N=this.buttonpanel?C:0;for(var M=this.panel.length;M--;){var L=this.dialog.height-K-N;this.panel[M].body.css("height",L);this.menu.css("height",L)}};J.prototype.addButtonPanel=function(){this.buttonpanel=AJS("div").addClass("dialog-button-panel");this.element.append(this.buttonpanel)};J.prototype.addPanel=function(N,K,M,L){new H(this,N,K,M,L);this.recalcSize();return this};J.prototype.addHeader=function(L,K){if(this.header){this.header.remove()}this.header=AJS("h2").text(L||"").addClass("dialog-title");K&&this.header.addClass(K);this.element.prepend(this.header);this.recalcSize();return this};J.prototype.addButton=function(L,K,M){new F(this,L,K,M);this.recalcSize();return this};J.prototype.addLink=function(M,L,N,K){new A(this,M,L,N,K);this.recalcSize();return this};J.prototype.gotoPanel=function(K){this.panel[K.id||K].select()};J.prototype.getCurrentPanel=function(){return this.panel[this.curtab]};J.prototype.hide=function(){this.element.hide()};J.prototype.show=function(){this.element.show()};J.prototype.remove=function(){this.element.remove()};AJS.Dialog=function(M,K,N){var L={};if(!+M){L=Object(M);M=L.width;K=L.height;N=L.id}this.height=K||480;this.width=M||640;this.id=N;L=AJS.$.extend({},L,{width:this.width,height:this.height,id:this.id});this.popup=AJS.popup(L);this.popup.element.addClass("aui-dialog");this.page=[];this.curpage=0;new J(this)};AJS.Dialog.prototype.addHeader=function(L,K){this.page[this.curpage].addHeader(L,K);return this};AJS.Dialog.prototype.addButton=function(L,K,M){this.page[this.curpage].addButton(L,K,M);return this};AJS.Dialog.prototype.addLink=function(M,L,N,K){this.page[this.curpage].addLink(M,L,N,K);return this};AJS.Dialog.prototype.addSubmit=function(L,K){this.page[this.curpage].addButton(L,K,"button-panel-submit-button");return this};AJS.Dialog.prototype.addCancel=function(L,K){this.page[this.curpage].addLink(L,K,"button-panel-cancel-link");return this};AJS.Dialog.prototype.addButtonPanel=function(){this.page[this.curpage].addButtonPanel();return this};AJS.Dialog.prototype.addPanel=function(N,K,M,L){this.page[this.curpage].addPanel(N,K,M,L);return this};AJS.Dialog.prototype.addPage=function(K){new J(this,K);this.page[this.curpage].hide();this.curpage=this.page.length-1;return this};AJS.Dialog.prototype.nextPage=function(){this.page[this.curpage++].hide();if(this.curpage>=this.page.length){this.curpage=0}this.page[this.curpage].show();return this};AJS.Dialog.prototype.prevPage=function(){this.page[this.curpage--].hide();if(this.curpage<0){this.curpage=this.page.length-1}this.page[this.curpage].show();return this};AJS.Dialog.prototype.gotoPage=function(K){this.page[this.curpage].hide();this.curpage=K;if(this.curpage<0){this.curpage=this.page.length-1}else{if(this.curpage>=this.page.length){this.curpage=0}}this.page[this.curpage].show();return this};AJS.Dialog.prototype.getPanel=function(L,M){var K=(M==null)?this.curpage:L;if(M==null){M=L}return this.page[K].panel[M]};AJS.Dialog.prototype.getPage=function(K){return this.page[K]};AJS.Dialog.prototype.getCurrentPanel=function(){return this.page[this.curpage].getCurrentPanel()};AJS.Dialog.prototype.gotoPanel=function(M,L){if(L!=null){var K=M.id||M;this.gotoPage(K)}this.page[this.curpage].gotoPanel(typeof L=="undefined"?M:L)};AJS.Dialog.prototype.show=function(){this.popup.show();AJS.trigger("show.dialog",{dialog:this});return this};AJS.Dialog.prototype.hide=function(){this.popup.hide();AJS.trigger("hide.dialog",{dialog:this});return this};AJS.Dialog.prototype.remove=function(){this.popup.hide();this.popup.remove();AJS.trigger("remove.dialog",{dialog:this})};AJS.Dialog.prototype.disable=function(){this.popup.disable();return this};AJS.Dialog.prototype.enable=function(){this.popup.enable();return this};AJS.Dialog.prototype.get=function(S){var L=[],R=this;var T='#([^"][^ ]*|"[^"]*")';var U=":(\\d+)";var M="page|panel|button|header";var N="(?:("+M+")(?:"+T+"|"+U+")?|"+T+")";var P=new RegExp("(?:^|,)\\s*"+N+"(?:\\s+"+N+")?\\s*(?=,|$)","ig");(S+"").replace(P,function(f,V,e,W,c,b,Y,g,d){V=V&&V.toLowerCase();var X=[];if(V=="page"&&R.page[W]){X.push(R.page[W]);V=b;V=V&&V.toLowerCase();e=Y;W=g;c=d}else{X=R.page}e=e&&(e+"").replace(/"/g,"");Y=Y&&(Y+"").replace(/"/g,"");c=c&&(c+"").replace(/"/g,"");d=d&&(d+"").replace(/"/g,"");if(V||c){for(var a=X.length;a--;){if(c||(V=="panel"&&(e||(!e&&W==null)))){for(var Z=X[a].panel.length;Z--;){if(X[a].panel[Z].button.html()==c||X[a].panel[Z].button.html()==e||(V=="panel"&&!e&&W==null)){L.push(X[a].panel[Z])}}}if(c||(V=="button"&&(e||(!e&&W==null)))){for(var Z=X[a].button.length;Z--;){if(X[a].button[Z].item.html()==c||X[a].button[Z].item.html()==e||(V=="button"&&!e&&W==null)){L.push(X[a].button[Z])}}}if(X[a][V]&&X[a][V][W]){L.push(X[a][V][W])}if(V=="header"&&X[a].header){L.push(X[a].header)}}}else{L=L.concat(X)}});var Q={length:L.length};for(var O=L.length;O--;){Q[O]=L[O];for(var K in L[O]){if(!(K in Q)){(function(V){Q[V]=function(){for(var W=this.length;W--;){if(typeof this[W][V]=="function"){this[W][V].apply(this[W],arguments)}}}})(K)}}}return Q};AJS.Dialog.prototype.updateHeight=function(){var K=0;var M=AJS.$(window).height()-E-C-(I*2);for(var L=0;this.getPanel(L);L++){if(this.getPanel(L).body.css({height:"auto",display:"block"}).outerHeight()>K){K=Math.min(M,this.getPanel(L).body.outerHeight())}if(L!==this.page[this.curpage].curtab){this.getPanel(L).body.css({display:"none"})}}for(L=0;this.getPanel(L);L++){this.getPanel(L).body.css({height:K||this.height})}this.page[0].menu.height(K);this.height=K+E+C+1;this.popup.changeSize(undefined,this.height)};AJS.Dialog.prototype.isMaximised=function(){return this.popup.element.outerHeight()>=AJS.$(window).height()-(I*2)};AJS.Dialog.prototype.getCurPanel=function(){return this.getPanel(this.page[this.curpage].curtab)};AJS.Dialog.prototype.getCurPanelButton=function(){return this.getCurPanel().button};AJS.Dialog=AJS.deprecate.construct(AJS.Dialog,"Dialog constructor",{alternativeName:"Dialog2"});AJS.popup=AJS.deprecate.construct(AJS.popup,"Dialog popup constructor",{alternatveName:"Dialog2"})})();; ;/* module-key = 'com.atlassian.auiplugin:internal-aui-animation', location = 'js/aui/internal/animation.js' */ window.AJS=window.AJS||{};(function(A){A._internal=A._internal||{};A._internal.animation={};A._internal.animation.recomputeStyle=function(B){B=B.length?B[0]:B;window.getComputedStyle(B,null).getPropertyValue("left")}}(AJS));; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/raphael/raphael.shadow.js' */ if(window.Raphael){Raphael.shadow=function(K,J,L,F,Q){Q=Q||{};var B=jQuery(Q.target),N=jQuery("<div/>",{"class":"aui-shadow"}),A=Q.shadow||Q.color||"#000",P=Q.size*10||0,O=Q.offsetSize||3,M=Q.zindex||0,H=Q.radius||0,G="0.4",D=Q.blur||3,C,I,E;L+=P+2*D;F+=P+2*D;if(Raphael.shadow.BOX_SHADOW_SUPPORT){B.addClass("aui-box-shadow");return N.addClass("hidden")}if(K===0&&J===0&&B.length>0){E=B.offset();K=O-D+E.left;J=O-D+E.top}if(jQuery.browser.msie&&jQuery.browser.version<"9"){A="#f0f0f0";G="0.2"}N.css({position:"absolute",left:K,top:J,width:L,height:F,zIndex:M});if(B.length>0){N.appendTo(document.body);C=Raphael(N[0],L,F,H)}else{C=Raphael(K,J,L,F,H)}C.canvas.style.position="absolute";I=C.rect(D,D,L-2*D,F-2*D).attr({fill:A,stroke:A,blur:""+D,opacity:G});return N};Raphael.shadow.BOX_SHADOW_SUPPORT=(function(){var C=document.documentElement.style;var A=["boxShadow","MozBoxShadow","WebkitBoxShadow","msBoxShadow"];for(var B=0;B<A.length;B++){if(A[B] in C){return true}}return false})()};; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/jquery/jquery.os.js' */ jQuery.os={};var jQueryOSplatform=navigator.platform.toLowerCase();jQuery.os.windows=(jQueryOSplatform.indexOf("win")!=-1);jQuery.os.mac=(jQueryOSplatform.indexOf("mac")!=-1);jQuery.os.linux=(jQueryOSplatform.indexOf("linux")!=-1);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js-vendor/jquery/jquery-ui/jquery.ui.core.js' */ /* * jQuery UI 1.8.24 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI */ (function(A,D){A.ui=A.ui||{};if(A.ui.version){return }A.extend(A.ui,{version:"1.8.24",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,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,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});A.fn.extend({propAttr:A.fn.prop||A.fn.attr,_focus:A.fn.focus,focus:function(E,F){return typeof E==="number"?this.each(function(){var G=this;setTimeout(function(){A(G).focus();if(F){F.call(G)}},E)}):this._focus.apply(this,arguments)},scrollParent:function(){var E;if((A.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){E=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(A.curCSS(this,"position",1))&&(/(auto|scroll)/).test(A.curCSS(this,"overflow",1)+A.curCSS(this,"overflow-y",1)+A.curCSS(this,"overflow-x",1))}).eq(0)}else{E=this.parents().filter(function(){return(/(auto|scroll)/).test(A.curCSS(this,"overflow",1)+A.curCSS(this,"overflow-y",1)+A.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!E.length?A(document):E},zIndex:function(H){if(H!==D){return this.css("zIndex",H)}if(this.length){var F=A(this[0]),E,G;while(F.length&&F[0]!==document){E=F.css("position");if(E==="absolute"||E==="relative"||E==="fixed"){G=parseInt(F.css("zIndex"),10);if(!isNaN(G)&&G!==0){return G}}F=F.parent()}}return 0},disableSelection:function(){return this.bind((A.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(E){E.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});if(!A("<a>").outerWidth(1).jquery){A.each(["Width","Height"],function(G,E){var F=E==="Width"?["Left","Right"]:["Top","Bottom"],H=E.toLowerCase(),J={innerWidth:A.fn.innerWidth,innerHeight:A.fn.innerHeight,outerWidth:A.fn.outerWidth,outerHeight:A.fn.outerHeight};function I(M,L,K,N){A.each(F,function(){L-=parseFloat(A.curCSS(M,"padding"+this,true))||0;if(K){L-=parseFloat(A.curCSS(M,"border"+this+"Width",true))||0}if(N){L-=parseFloat(A.curCSS(M,"margin"+this,true))||0}});return L}A.fn["inner"+E]=function(K){if(K===D){return J["inner"+E].call(this)}return this.each(function(){A(this).css(H,I(this,K)+"px")})};A.fn["outer"+E]=function(K,L){if(typeof K!=="number"){return J["outer"+E].call(this,K)}return this.each(function(){A(this).css(H,I(this,K,true,L)+"px")})}})}function C(G,E){var J=G.nodeName.toLowerCase();if("area"===J){var I=G.parentNode,H=I.name,F;if(!G.href||!H||I.nodeName.toLowerCase()!=="map"){return false}F=A("img[usemap=#"+H+"]")[0];return !!F&&B(F)}return(/input|select|textarea|button|object/.test(J)?!G.disabled:"a"==J?G.href||E:E)&&B(G)}function B(E){return !A(E).parents().andSelf().filter(function(){return A.curCSS(this,"visibility")==="hidden"||A.expr.filters.hidden(this)}).length}A.extend(A.expr[":"],{data:A.expr.createPseudo?A.expr.createPseudo(function(E){return function(F){return !!A.data(F,E)}}):function(G,F,E){return !!A.data(G,E[3])},focusable:function(E){return C(E,!isNaN(A.attr(E,"tabindex")))},tabbable:function(G){var E=A.attr(G,"tabindex"),F=isNaN(E);return(F||E>=0)&&C(G,!F)}});A(function(){var E=document.body,F=E.appendChild(F=document.createElement("div"));F.offsetHeight;A.extend(F.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});A.support.minHeight=F.offsetHeight===100;A.support.selectstart="onselectstart" in F;E.removeChild(F).style.display="none"});if(!A.curCSS){A.curCSS=A.css}A.extend(A.ui,{plugin:{add:function(F,G,I){var H=A.ui[F].prototype;for(var E in I){H.plugins[E]=H.plugins[E]||[];H.plugins[E].push([G,I[E]])}},call:function(E,G,F){var I=E.plugins[G];if(!I||!E.element[0].parentNode){return }for(var H=0;H<I.length;H++){if(E.options[I[H][0]]){I[H][1].apply(E.element,F)}}}},contains:function(F,E){return document.compareDocumentPosition?F.compareDocumentPosition(E)&16:F!==E&&F.contains(E)},hasScroll:function(H,F){if(A(H).css("overflow")==="hidden"){return false}var E=(F&&F==="left")?"scrollLeft":"scrollTop",G=false;if(H[E]>0){return true}H[E]=1;G=(H[E]>0);H[E]=0;return G},isOverAxis:function(F,E,G){return(F>E)&&(F<(E+G))},isOver:function(J,F,I,H,E,G){return A.ui.isOverAxis(J,I,E)&&A.ui.isOverAxis(F,H,G)}})})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js-vendor/jquery/jquery-ui/jquery.ui.widget.js' */ /* * jQuery UI Widget 1.8.24 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Widget */ (function(B,D){if(B.cleanData){var C=B.cleanData;B.cleanData=function(E){for(var F=0,G;(G=E[F])!=null;F++){try{B(G).triggerHandler("remove")}catch(H){}}C(E)}}else{var A=B.fn.remove;B.fn.remove=function(E,F){return this.each(function(){if(!F){if(!E||B.filter(E,[this]).length){B("*",this).add([this]).each(function(){try{B(this).triggerHandler("remove")}catch(G){}})}}return A.call(B(this),E,F)})}}B.widget=function(F,H,E){var G=F.split(".")[0],J;F=F.split(".")[1];J=G+"-"+F;if(!E){E=H;H=B.Widget}B.expr[":"][J]=function(K){return !!B.data(K,F)};B[G]=B[G]||{};B[G][F]=function(K,L){if(arguments.length){this._createWidget(K,L)}};var I=new H();I.options=B.extend(true,{},I.options);B[G][F].prototype=B.extend(true,I,{namespace:G,widgetName:F,widgetEventPrefix:B[G][F].prototype.widgetEventPrefix||F,widgetBaseClass:J},E);B.widget.bridge(F,B[G][F])};B.widget.bridge=function(F,E){B.fn[F]=function(I){var G=typeof I==="string",H=Array.prototype.slice.call(arguments,1),J=this;I=!G&&H.length?B.extend.apply(null,[true,I].concat(H)):I;if(G&&I.charAt(0)==="_"){return J}if(G){this.each(function(){var K=B.data(this,F),L=K&&B.isFunction(K[I])?K[I].apply(K,H):K;if(L!==K&&L!==D){J=L;return false}})}else{this.each(function(){var K=B.data(this,F);if(K){K.option(I||{})._init()}else{B.data(this,F,new E(I,this))}})}return J}};B.Widget=function(E,F){if(arguments.length){this._createWidget(E,F)}};B.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(F,G){B.data(G,this.widgetName,this);this.element=B(G);this.options=B.extend(true,{},this.options,this._getCreateOptions(),F);var E=this;this.element.bind("remove."+this.widgetName,function(){E.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return B.metadata&&B.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(F,G){var E=F;if(arguments.length===0){return B.extend({},this.options)}if(typeof F==="string"){if(G===D){return this.options[F]}E={};E[F]=G}this._setOptions(E);return this},_setOptions:function(F){var E=this;B.each(F,function(G,H){E._setOption(G,H)});return this},_setOption:function(E,F){this.options[E]=F;if(E==="disabled"){this.widget()[F?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",F)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(E,F,G){var J,I,H=this.options[E];G=G||{};F=B.Event(F);F.type=(E===this.widgetEventPrefix?E:this.widgetEventPrefix+E).toLowerCase();F.target=this.element[0];I=F.originalEvent;if(I){for(J in I){if(!(J in F)){F[J]=I[J]}}}this.element.trigger(F,G);return !(B.isFunction(H)&&H.call(this.element[0],F,G)===false||F.isDefaultPrevented())}}})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js-vendor/jquery/jquery-ui/jquery.ui.mouse.js' */ /* * jQuery UI Mouse 1.8.24 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Mouse * * Depends: * jquery.ui.widget.js */ (function(B,C){var A=false;B(document).mouseup(function(D){A=false});B.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var D=this;this.element.bind("mousedown."+this.widgetName,function(E){return D._mouseDown(E)}).bind("click."+this.widgetName,function(E){if(true===B.data(E.target,D.widgetName+".preventClickEvent")){B.removeData(E.target,D.widgetName+".preventClickEvent");E.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);if(this._mouseMoveDelegate){B(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(F){if(A){return }(this._mouseStarted&&this._mouseUp(F));this._mouseDownEvent=F;var E=this,G=(F.which==1),D=(typeof this.options.cancel=="string"&&F.target.nodeName?B(F.target).closest(this.options.cancel).length:false);if(!G||D||!this._mouseCapture(F)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){E.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(F)&&this._mouseDelayMet(F)){this._mouseStarted=(this._mouseStart(F)!==false);if(!this._mouseStarted){F.preventDefault();return true}}if(true===B.data(F.target,this.widgetName+".preventClickEvent")){B.removeData(F.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(H){return E._mouseMove(H)};this._mouseUpDelegate=function(H){return E._mouseUp(H)};B(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);F.preventDefault();A=true;return true},_mouseMove:function(D){if(B.browser.msie&&!(document.documentMode>=9)&&!D.button){return this._mouseUp(D)}if(this._mouseStarted){this._mouseDrag(D);return D.preventDefault()}if(this._mouseDistanceMet(D)&&this._mouseDelayMet(D)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,D)!==false);(this._mouseStarted?this._mouseDrag(D):this._mouseUp(D))}return !this._mouseStarted},_mouseUp:function(D){B(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(D.target==this._mouseDownEvent.target){B.data(D.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(D)}return false},_mouseDistanceMet:function(D){return(Math.max(Math.abs(this._mouseDownEvent.pageX-D.pageX),Math.abs(this._mouseDownEvent.pageY-D.pageY))>=this.options.distance)},_mouseDelayMet:function(D){return this.mouseDelayMet},_mouseStart:function(D){},_mouseDrag:function(D){},_mouseStop:function(D){},_mouseCapture:function(D){return true}})})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js-vendor/jquery/jquery-ui/jquery.ui.draggable.js' */ /* * jQuery UI Draggable 1.8.24 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Draggables * * Depends: * jquery.ui.core.js * jquery.ui.mouse.js * jquery.ui.widget.js */ (function(A,B){A.widget("ui.draggable",A.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?: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(){if(!this.element.data("draggable")){return }this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this},_mouseCapture:function(C){var D=this.options;if(this.helper||D.disabled||A(C.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(C);if(!this.handle){return false}if(D.iframeFix){A(D.iframeFix===true?"iframe":D.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")})}return true},_mouseStart:function(C){var D=this.options;this.helper=this._createHelper(C);this.helper.addClass("ui-draggable-dragging");this._cacheHelperProportions();if(A.ui.ddmanager){A.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};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;(D.cursorAt&&this._adjustOffsetFromHelper(D.cursorAt));if(D.containment){this._setContainment()}if(this._trigger("start",C)===false){this._clear();return false}this._cacheHelperProportions();if(A.ui.ddmanager&&!D.dropBehaviour){A.ui.ddmanager.prepareOffsets(this,C)}this._mouseDrag(C,true);if(A.ui.ddmanager){A.ui.ddmanager.dragStart(this,C)}return true},_mouseDrag:function(C,E){this.position=this._generatePosition(C);this.positionAbs=this._convertPositionTo("absolute");if(!E){var D=this._uiHash();if(this._trigger("drag",C,D)===false){this._mouseUp({});return false}this.position=D.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if(A.ui.ddmanager){A.ui.ddmanager.drag(this,C)}return false},_mouseStop:function(E){var G=false;if(A.ui.ddmanager&&!this.options.dropBehaviour){G=A.ui.ddmanager.drop(this,E)}if(this.dropped){G=this.dropped;this.dropped=false}var D=this.element[0],F=false;while(D&&(D=D.parentNode)){if(D==document){F=true}}if(!F&&this.options.helper==="original"){return false}if((this.options.revert=="invalid"&&!G)||(this.options.revert=="valid"&&G)||this.options.revert===true||(A.isFunction(this.options.revert)&&this.options.revert.call(this.element,G))){var C=this;A(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(C._trigger("stop",E)!==false){C._clear()}})}else{if(this._trigger("stop",E)!==false){this._clear()}}return false},_mouseUp:function(C){A("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});if(A.ui.ddmanager){A.ui.ddmanager.dragStop(this,C)}return A.ui.mouse.prototype._mouseUp.call(this,C)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(C){var D=!this.options.handle||!A(this.options.handle,this.element).length?true:false;A(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==C.target){D=true}});return D},_createHelper:function(D){var E=this.options;var C=A.isFunction(E.helper)?A(E.helper.apply(this.element[0],[D])):(E.helper=="clone"?this.element.clone().removeAttr("id"):this.element);if(!C.parents("body").length){C.appendTo((E.appendTo=="parent"?this.element[0].parentNode:E.appendTo))}if(C[0]!=this.element[0]&&!(/(fixed|absolute)/).test(C.css("position"))){C.css("position","absolute")}return C},_adjustOffsetFromHelper:function(C){if(typeof C=="string"){C=C.split(" ")}if(A.isArray(C)){C={left:+C[0],top:+C[1]||0}}if("left" in C){this.offset.click.left=C.left+this.margins.left}if("right" in C){this.offset.click.left=this.helperProportions.width-C.right+this.margins.left}if("top" in C){this.offset.click.top=C.top+this.margins.top}if("bottom" in C){this.offset.click.top=this.helperProportions.height-C.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var C=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0])){C.left+=this.scrollParent.scrollLeft();C.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&A.browser.msie)){C={top:0,left:0}}return{top:C.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:C.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var C=this.element.position();return{top:C.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:C.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{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 F=this.options;if(F.containment=="parent"){F.containment=this.helper[0].parentNode}if(F.containment=="document"||F.containment=="window"){this.containment=[F.containment=="document"?0:A(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,F.containment=="document"?0:A(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(F.containment=="document"?0:A(window).scrollLeft())+A(F.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(F.containment=="document"?0:A(window).scrollTop())+(A(F.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(F.containment)&&F.containment.constructor!=Array){var G=A(F.containment);var D=G[0];if(!D){return }var E=G.offset();var C=(A(D).css("overflow")!="hidden");this.containment=[(parseInt(A(D).css("borderLeftWidth"),10)||0)+(parseInt(A(D).css("paddingLeft"),10)||0),(parseInt(A(D).css("borderTopWidth"),10)||0)+(parseInt(A(D).css("paddingTop"),10)||0),(C?Math.max(D.scrollWidth,D.offsetWidth):D.offsetWidth)-(parseInt(A(D).css("borderLeftWidth"),10)||0)-(parseInt(A(D).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(C?Math.max(D.scrollHeight,D.offsetHeight):D.offsetHeight)-(parseInt(A(D).css("borderTopWidth"),10)||0)-(parseInt(A(D).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=G}else{if(F.containment.constructor==Array){this.containment=F.containment}}},_convertPositionTo:function(F,H){if(!H){H=this.position}var D=F=="absolute"?1:-1;var E=this.options,C=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,G=(/(html|body)/i).test(C[0].tagName);return{top:(H.top+this.offset.relative.top*D+this.offset.parent.top*D-(A.browser.safari&&A.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(G?0:C.scrollTop()))*D)),left:(H.left+this.offset.relative.left*D+this.offset.parent.left*D-(A.browser.safari&&A.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():G?0:C.scrollLeft())*D))}},_generatePosition:function(D){var E=this.options,L=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,I=(/(html|body)/i).test(L[0].tagName);var H=D.pageX;var G=D.pageY;if(this.originalPosition){var C;if(this.containment){if(this.relative_container){var K=this.relative_container.offset();C=[this.containment[0]+K.left,this.containment[1]+K.top,this.containment[2]+K.left,this.containment[3]+K.top]}else{C=this.containment}if(D.pageX-this.offset.click.left<C[0]){H=C[0]+this.offset.click.left}if(D.pageY-this.offset.click.top<C[1]){G=C[1]+this.offset.click.top}if(D.pageX-this.offset.click.left>C[2]){H=C[2]+this.offset.click.left}if(D.pageY-this.offset.click.top>C[3]){G=C[3]+this.offset.click.top}}if(E.grid){var J=E.grid[1]?this.originalPageY+Math.round((G-this.originalPageY)/E.grid[1])*E.grid[1]:this.originalPageY;G=C?(!(J-this.offset.click.top<C[1]||J-this.offset.click.top>C[3])?J:(!(J-this.offset.click.top<C[1])?J-E.grid[1]:J+E.grid[1])):J;var F=E.grid[0]?this.originalPageX+Math.round((H-this.originalPageX)/E.grid[0])*E.grid[0]:this.originalPageX;H=C?(!(F-this.offset.click.left<C[0]||F-this.offset.click.left>C[2])?F:(!(F-this.offset.click.left<C[0])?F-E.grid[0]:F+E.grid[0])):F}}return{top:(G-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(A.browser.safari&&A.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(I?0:L.scrollTop())))),left:(H-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(A.browser.safari&&A.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():I?0:L.scrollLeft())))}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");if(this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(C,D,E){E=E||this._uiHash();A.ui.plugin.call(this,C,[D,E]);if(C=="drag"){this.positionAbs=this._convertPositionTo("absolute")}return A.Widget.prototype._trigger.call(this,C,D,E)},plugins:{},_uiHash:function(C){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});A.extend(A.ui.draggable,{version:"1.8.24"});A.ui.plugin.add("draggable","connectToSortable",{start:function(D,F){var E=A(this).data("draggable"),G=E.options,C=A.extend({},F,{item:E.element});E.sortables=[];A(G.connectToSortable).each(function(){var H=A.data(this,"sortable");if(H&&!H.options.disabled){E.sortables.push({instance:H,shouldRevert:H.options.revert});H.refreshPositions();H._trigger("activate",D,C)}})},stop:function(D,F){var E=A(this).data("draggable"),C=A.extend({},F,{item:E.element});A.each(E.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;E.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true}this.instance._mouseStop(D);this.instance.options.helper=this.instance.options._helper;if(E.options.helper=="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",D,C)}})},drag:function(D,G){var F=A(this).data("draggable"),C=this;var E=function(J){var O=this.offset.click.top,N=this.offset.click.left;var H=this.positionAbs.top,L=this.positionAbs.left;var K=J.height,M=J.width;var P=J.top,I=J.left;return A.ui.isOver(H+O,L+N,P,I,K,M)};A.each(F.sortables,function(H){this.instance.positionAbs=F.positionAbs;this.instance.helperProportions=F.helperProportions;this.instance.offset.click=F.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=A(C).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return G.helper[0]};D.target=this.instance.currentItem[0];this.instance._mouseCapture(D,true);this.instance._mouseStart(D,true,true);this.instance.offset.click.top=F.offset.click.top;this.instance.offset.click.left=F.offset.click.left;this.instance.offset.parent.left-=F.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=F.offset.parent.top-this.instance.offset.parent.top;F._trigger("toSortable",D);F.dropped=this.instance.element;F.currentItem=F.element;this.instance.fromOutside=F}if(this.instance.currentItem){this.instance._mouseDrag(D)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",D,this.instance._uiHash(this.instance));this.instance._mouseStop(D,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}F._trigger("fromSortable",D);F.dropped=false}}})}});A.ui.plugin.add("draggable","cursor",{start:function(D,E){var C=A("body"),F=A(this).data("draggable").options;if(C.css("cursor")){F._cursor=C.css("cursor")}C.css("cursor",F.cursor)},stop:function(C,D){var E=A(this).data("draggable").options;if(E._cursor){A("body").css("cursor",E._cursor)}}});A.ui.plugin.add("draggable","opacity",{start:function(D,E){var C=A(E.helper),F=A(this).data("draggable").options;if(C.css("opacity")){F._opacity=C.css("opacity")}C.css("opacity",F.opacity)},stop:function(C,D){var E=A(this).data("draggable").options;if(E._opacity){A(D.helper).css("opacity",E._opacity)}}});A.ui.plugin.add("draggable","scroll",{start:function(D,E){var C=A(this).data("draggable");if(C.scrollParent[0]!=document&&C.scrollParent[0].tagName!="HTML"){C.overflowOffset=C.scrollParent.offset()}},drag:function(E,F){var D=A(this).data("draggable"),G=D.options,C=false;if(D.scrollParent[0]!=document&&D.scrollParent[0].tagName!="HTML"){if(!G.axis||G.axis!="x"){if((D.overflowOffset.top+D.scrollParent[0].offsetHeight)-E.pageY<G.scrollSensitivity){D.scrollParent[0].scrollTop=C=D.scrollParent[0].scrollTop+G.scrollSpeed}else{if(E.pageY-D.overflowOffset.top<G.scrollSensitivity){D.scrollParent[0].scrollTop=C=D.scrollParent[0].scrollTop-G.scrollSpeed}}}if(!G.axis||G.axis!="y"){if((D.overflowOffset.left+D.scrollParent[0].offsetWidth)-E.pageX<G.scrollSensitivity){D.scrollParent[0].scrollLeft=C=D.scrollParent[0].scrollLeft+G.scrollSpeed}else{if(E.pageX-D.overflowOffset.left<G.scrollSensitivity){D.scrollParent[0].scrollLeft=C=D.scrollParent[0].scrollLeft-G.scrollSpeed}}}}else{if(!G.axis||G.axis!="x"){if(E.pageY-A(document).scrollTop()<G.scrollSensitivity){C=A(document).scrollTop(A(document).scrollTop()-G.scrollSpeed)}else{if(A(window).height()-(E.pageY-A(document).scrollTop())<G.scrollSensitivity){C=A(document).scrollTop(A(document).scrollTop()+G.scrollSpeed)}}}if(!G.axis||G.axis!="y"){if(E.pageX-A(document).scrollLeft()<G.scrollSensitivity){C=A(document).scrollLeft(A(document).scrollLeft()-G.scrollSpeed)}else{if(A(window).width()-(E.pageX-A(document).scrollLeft())<G.scrollSensitivity){C=A(document).scrollLeft(A(document).scrollLeft()+G.scrollSpeed)}}}}if(C!==false&&A.ui.ddmanager&&!G.dropBehaviour){A.ui.ddmanager.prepareOffsets(D,E)}}});A.ui.plugin.add("draggable","snap",{start:function(D,E){var C=A(this).data("draggable"),F=C.options;C.snapElements=[];A(F.snap.constructor!=String?(F.snap.items||":data(draggable)"):F.snap).each(function(){var H=A(this);var G=H.offset();if(this!=C.element[0]){C.snapElements.push({item:this,width:H.outerWidth(),height:H.outerHeight(),top:G.top,left:G.left})}})},drag:function(O,L){var F=A(this).data("draggable"),M=F.options;var S=M.snapTolerance;var R=L.offset.left,Q=R+F.helperProportions.width,E=L.offset.top,D=E+F.helperProportions.height;for(var P=F.snapElements.length-1;P>=0;P--){var N=F.snapElements[P].left,K=N+F.snapElements[P].width,J=F.snapElements[P].top,U=J+F.snapElements[P].height;if(!((N-S<R&&R<K+S&&J-S<E&&E<U+S)||(N-S<R&&R<K+S&&J-S<D&&D<U+S)||(N-S<Q&&Q<K+S&&J-S<E&&E<U+S)||(N-S<Q&&Q<K+S&&J-S<D&&D<U+S))){if(F.snapElements[P].snapping){(F.options.snap.release&&F.options.snap.release.call(F.element,O,A.extend(F._uiHash(),{snapItem:F.snapElements[P].item})))}F.snapElements[P].snapping=false;continue}if(M.snapMode!="inner"){var C=Math.abs(J-D)<=S;var T=Math.abs(U-E)<=S;var H=Math.abs(N-Q)<=S;var I=Math.abs(K-R)<=S;if(C){L.position.top=F._convertPositionTo("relative",{top:J-F.helperProportions.height,left:0}).top-F.margins.top}if(T){L.position.top=F._convertPositionTo("relative",{top:U,left:0}).top-F.margins.top}if(H){L.position.left=F._convertPositionTo("relative",{top:0,left:N-F.helperProportions.width}).left-F.margins.left}if(I){L.position.left=F._convertPositionTo("relative",{top:0,left:K}).left-F.margins.left}}var G=(C||T||H||I);if(M.snapMode!="outer"){var C=Math.abs(J-E)<=S;var T=Math.abs(U-D)<=S;var H=Math.abs(N-R)<=S;var I=Math.abs(K-Q)<=S;if(C){L.position.top=F._convertPositionTo("relative",{top:J,left:0}).top-F.margins.top}if(T){L.position.top=F._convertPositionTo("relative",{top:U-F.helperProportions.height,left:0}).top-F.margins.top}if(H){L.position.left=F._convertPositionTo("relative",{top:0,left:N}).left-F.margins.left}if(I){L.position.left=F._convertPositionTo("relative",{top:0,left:K-F.helperProportions.width}).left-F.margins.left}}if(!F.snapElements[P].snapping&&(C||T||H||I||G)){(F.options.snap.snap&&F.options.snap.snap.call(F.element,O,A.extend(F._uiHash(),{snapItem:F.snapElements[P].item})))}F.snapElements[P].snapping=(C||T||H||I||G)}}});A.ui.plugin.add("draggable","stack",{start:function(D,E){var G=A(this).data("draggable").options;var F=A.makeArray(A(G.stack)).sort(function(I,H){return(parseInt(A(I).css("zIndex"),10)||0)-(parseInt(A(H).css("zIndex"),10)||0)});if(!F.length){return }var C=parseInt(F[0].style.zIndex)||0;A(F).each(function(H){this.style.zIndex=C+H});this[0].style.zIndex=C+F.length}});A.ui.plugin.add("draggable","zIndex",{start:function(D,E){var C=A(E.helper),F=A(this).data("draggable").options;if(C.css("zIndex")){F._zIndex=C.css("zIndex")}C.css("zIndex",F.zIndex)},stop:function(C,D){var E=A(this).data("draggable").options;if(E._zIndex){A(D.helper).css("zIndex",E._zIndex)}}})})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js-vendor/jquery/jquery-ui/jquery.ui.sortable.js' */ /* * jQuery UI Sortable 1.8.24 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Sortables * * Depends: * jquery.ui.core.js * jquery.ui.mouse.js * jquery.ui.widget.js */ (function(A,B){A.widget("ui.sortable",A.ui.mouse,{widgetEventPrefix:"sort",ready:false,options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000},_create:function(){var C=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?C.axis==="x"||(/left|right/).test(this.items[0].item.css("float"))||(/inline|table-cell/).test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit();this.ready=true},destroy:function(){A.Widget.prototype.destroy.call(this);this.element.removeClass("ui-sortable ui-sortable-disabled");this._mouseDestroy();for(var C=this.items.length-1;C>=0;C--){this.items[C].item.removeData(this.widgetName+"-item")}return this},_setOption:function(C,D){if(C==="disabled"){this.options[C]=D;this.widget()[D?"addClass":"removeClass"]("ui-sortable-disabled")}else{A.Widget.prototype._setOption.apply(this,arguments)}},_mouseCapture:function(G,H){var F=this;if(this.reverting){return false}if(this.options.disabled||this.options.type=="static"){return false}this._refreshItems(G);var E=null,D=this,C=A(G.target).parents().each(function(){if(A.data(this,F.widgetName+"-item")==D){E=A(this);return false}});if(A.data(G.target,F.widgetName+"-item")==D){E=A(G.target)}if(!E){return false}if(this.options.handle&&!H){var I=false;A(this.options.handle,E).find("*").andSelf().each(function(){if(this==G.target){I=true}});if(!I){return false}}this.currentItem=E;this._removeCurrentsFromItems();return true},_mouseStart:function(F,G,C){var H=this.options,D=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(F);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};A.extend(this.offset,{click:{left:F.pageX-this.offset.left,top:F.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(F);this.originalPageX=F.pageX;this.originalPageY=F.pageY;(H.cursorAt&&this._adjustOffsetFromHelper(H.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!=this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(H.containment){this._setContainment()}if(H.cursor){if(A("body").css("cursor")){this._storedCursor=A("body").css("cursor")}A("body").css("cursor",H.cursor)}if(H.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",H.opacity)}if(H.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",H.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",F,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!C){for(var E=this.containers.length-1;E>=0;E--){this.containers[E]._trigger("activate",F,D._uiHash(this))}}if(A.ui.ddmanager){A.ui.ddmanager.current=this}if(A.ui.ddmanager&&!H.dropBehaviour){A.ui.ddmanager.prepareOffsets(this,F)}this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(F);return true},_mouseDrag:function(G){this.position=this._generatePosition(G);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){var H=this.options,C=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-G.pageY<H.scrollSensitivity){this.scrollParent[0].scrollTop=C=this.scrollParent[0].scrollTop+H.scrollSpeed}else{if(G.pageY-this.overflowOffset.top<H.scrollSensitivity){this.scrollParent[0].scrollTop=C=this.scrollParent[0].scrollTop-H.scrollSpeed}}if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-G.pageX<H.scrollSensitivity){this.scrollParent[0].scrollLeft=C=this.scrollParent[0].scrollLeft+H.scrollSpeed}else{if(G.pageX-this.overflowOffset.left<H.scrollSensitivity){this.scrollParent[0].scrollLeft=C=this.scrollParent[0].scrollLeft-H.scrollSpeed}}}else{if(G.pageY-A(document).scrollTop()<H.scrollSensitivity){C=A(document).scrollTop(A(document).scrollTop()-H.scrollSpeed)}else{if(A(window).height()-(G.pageY-A(document).scrollTop())<H.scrollSensitivity){C=A(document).scrollTop(A(document).scrollTop()+H.scrollSpeed)}}if(G.pageX-A(document).scrollLeft()<H.scrollSensitivity){C=A(document).scrollLeft(A(document).scrollLeft()-H.scrollSpeed)}else{if(A(window).width()-(G.pageX-A(document).scrollLeft())<H.scrollSensitivity){C=A(document).scrollLeft(A(document).scrollLeft()+H.scrollSpeed)}}}if(C!==false&&A.ui.ddmanager&&!H.dropBehaviour){A.ui.ddmanager.prepareOffsets(this,G)}}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}for(var E=this.items.length-1;E>=0;E--){var F=this.items[E],D=F.item[0],I=this._intersectsWithPointer(F);if(!I){continue}if(F.instance!==this.currentContainer){continue}if(D!=this.currentItem[0]&&this.placeholder[I==1?"next":"prev"]()[0]!=D&&!A.ui.contains(this.placeholder[0],D)&&(this.options.type=="semi-dynamic"?!A.ui.contains(this.element[0],D):true)){this.direction=I==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(F)){this._rearrange(G,F)}else{break}this._trigger("change",G,this._uiHash());break}}this._contactContainers(G);if(A.ui.ddmanager){A.ui.ddmanager.drag(this,G)}this._trigger("sort",G,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(D,E){if(!D){return }if(A.ui.ddmanager&&!this.options.dropBehaviour){A.ui.ddmanager.drop(this,D)}if(this.options.revert){var C=this;var F=C.placeholder.offset();C.reverting=true;A(this.helper).animate({left:F.left-this.offset.parent.left-C.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:F.top-this.offset.parent.top-C.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){C._clear(D)})}else{this._clear(D,E)}return false},cancel:function(){var C=this;if(this.dragging){this._mouseUp({target:null});if(this.options.helper=="original"){this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}for(var D=this.containers.length-1;D>=0;D--){this.containers[D]._trigger("deactivate",null,C._uiHash(this));if(this.containers[D].containerCache.over){this.containers[D]._trigger("out",null,C._uiHash(this));this.containers[D].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}A.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){A(this.domPosition.prev).after(this.currentItem)}else{A(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(E){var C=this._getItemsAsjQuery(E&&E.connected);var D=[];E=E||{};A(C).each(function(){var F=(A(E.item||this).attr(E.attribute||"id")||"").match(E.expression||(/(.+)[-=_](.+)/));if(F){D.push((E.key||F[1]+"[]")+"="+(E.key&&E.expression?F[1]:F[2]))}});if(!D.length&&E.key){D.push(E.key+"=")}return D.join("&")},toArray:function(E){var C=this._getItemsAsjQuery(E&&E.connected);var D=[];E=E||{};C.each(function(){D.push(A(E.item||this).attr(E.attribute||"id")||"")});return D},_intersectsWith:function(L){var E=this.positionAbs.left,D=E+this.helperProportions.width,K=this.positionAbs.top,J=K+this.helperProportions.height;var F=L.left,C=F+L.width,M=L.top,I=M+L.height;var N=this.offset.click.top,H=this.offset.click.left;var G=(K+N)>M&&(K+N)<I&&(E+H)>F&&(E+H)<C;if(this.options.tolerance=="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>L[this.floating?"width":"height"])){return G}else{return(F<E+(this.helperProportions.width/2)&&D-(this.helperProportions.width/2)<C&&M<K+(this.helperProportions.height/2)&&J-(this.helperProportions.height/2)<I)}},_intersectsWithPointer:function(E){var F=(this.options.axis==="x")||A.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,E.top,E.height),D=(this.options.axis==="y")||A.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,E.left,E.width),H=F&&D,C=this._getDragVerticalDirection(),G=this._getDragHorizontalDirection();if(!H){return false}return this.floating?(((G&&G=="right")||C=="down")?2:1):(C&&(C=="down"?2:1))},_intersectsWithSides:function(F){var D=A.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,F.top+(F.height/2),F.height),E=A.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,F.left+(F.width/2),F.width),C=this._getDragVerticalDirection(),G=this._getDragHorizontalDirection();if(this.floating&&G){return((G=="right"&&E)||(G=="left"&&!E))}else{return C&&((C=="down"&&D)||(C=="up"&&!D))}},_getDragVerticalDirection:function(){var C=this.positionAbs.top-this.lastPositionAbs.top;return C!=0&&(C>0?"down":"up")},_getDragHorizontalDirection:function(){var C=this.positionAbs.left-this.lastPositionAbs.left;return C!=0&&(C>0?"right":"left")},refresh:function(C){this._refreshItems(C);this.refreshPositions();return this},_connectWith:function(){var C=this.options;return C.connectWith.constructor==String?[C.connectWith]:C.connectWith},_getItemsAsjQuery:function(C){var K=this;var H=[];var F=[];var I=this._connectWith();if(I&&C){for(var E=I.length-1;E>=0;E--){var J=A(I[E]);for(var D=J.length-1;D>=0;D--){var G=A.data(J[D],this.widgetName);if(G&&G!=this&&!G.options.disabled){F.push([A.isFunction(G.options.items)?G.options.items.call(G.element):A(G.options.items,G.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),G])}}}}F.push([A.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):A(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var E=F.length-1;E>=0;E--){F[E][0].each(function(){H.push(this)})}return A(H)},_removeCurrentsFromItems:function(){var E=this.currentItem.find(":data("+this.widgetName+"-item)");for(var D=0;D<this.items.length;D++){for(var C=0;C<E.length;C++){if(E[C]==this.items[D].item[0]){this.items.splice(D,1)}}}},_refreshItems:function(C){this.items=[];this.containers=[this];var I=this.items;var O=this;var G=[[A.isFunction(this.options.items)?this.options.items.call(this.element[0],C,{item:this.currentItem}):A(this.options.items,this.element),this]];var K=this._connectWith();if(K&&this.ready){for(var F=K.length-1;F>=0;F--){var L=A(K[F]);for(var E=L.length-1;E>=0;E--){var H=A.data(L[E],this.widgetName);if(H&&H!=this&&!H.options.disabled){G.push([A.isFunction(H.options.items)?H.options.items.call(H.element[0],C,{item:this.currentItem}):A(H.options.items,H.element),H]);this.containers.push(H)}}}}for(var F=G.length-1;F>=0;F--){var J=G[F][1];var D=G[F][0];for(var E=0,M=D.length;E<M;E++){var N=A(D[E]);N.data(this.widgetName+"-item",J);I.push({item:N,instance:J,width:0,height:0,left:0,top:0})}}},refreshPositions:function(C){if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}for(var E=this.items.length-1;E>=0;E--){var F=this.items[E];if(F.instance!=this.currentContainer&&this.currentContainer&&F.item[0]!=this.currentItem[0]){continue}var D=this.options.toleranceElement?A(this.options.toleranceElement,F.item):F.item;if(!C){F.width=D.outerWidth();F.height=D.outerHeight()}var G=D.offset();F.left=G.left;F.top=G.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(var E=this.containers.length-1;E>=0;E--){var G=this.containers[E].element.offset();this.containers[E].containerCache.left=G.left;this.containers[E].containerCache.top=G.top;this.containers[E].containerCache.width=this.containers[E].element.outerWidth();this.containers[E].containerCache.height=this.containers[E].element.outerHeight()}}return this},_createPlaceholder:function(E){var C=E||this,F=C.options;if(!F.placeholder||F.placeholder.constructor==String){var D=F.placeholder;F.placeholder={element:function(){var G=A(document.createElement(C.currentItem[0].nodeName)).addClass(D||C.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!D){G.style.visibility="hidden"}return G},update:function(G,H){if(D&&!F.forcePlaceholderSize){return }if(!H.height()){H.height(C.currentItem.innerHeight()-parseInt(C.currentItem.css("paddingTop")||0,10)-parseInt(C.currentItem.css("paddingBottom")||0,10))}if(!H.width()){H.width(C.currentItem.innerWidth()-parseInt(C.currentItem.css("paddingLeft")||0,10)-parseInt(C.currentItem.css("paddingRight")||0,10))}}}}C.placeholder=A(F.placeholder.element.call(C.element,C.currentItem));C.currentItem.after(C.placeholder);F.placeholder.update(C,C.placeholder)},_contactContainers:function(C){var E=null,J=null;for(var G=this.containers.length-1;G>=0;G--){if(A.ui.contains(this.currentItem[0],this.containers[G].element[0])){continue}if(this._intersectsWith(this.containers[G].containerCache)){if(E&&A.ui.contains(this.containers[G].element[0],E.element[0])){continue}E=this.containers[G];J=G}else{if(this.containers[G].containerCache.over){this.containers[G]._trigger("out",C,this._uiHash(this));this.containers[G].containerCache.over=0}}}if(!E){return }if(this.containers.length===1){this.containers[J]._trigger("over",C,this._uiHash(this));this.containers[J].containerCache.over=1}else{if(this.currentContainer!=this.containers[J]){var I=10000;var H=null;var D=this.positionAbs[this.containers[J].floating?"left":"top"];for(var F=this.items.length-1;F>=0;F--){if(!A.ui.contains(this.containers[J].element[0],this.items[F].item[0])){continue}var K=this.containers[J].floating?this.items[F].item.offset().left:this.items[F].item.offset().top;if(Math.abs(K-D)<I){I=Math.abs(K-D);H=this.items[F];this.direction=(K-D>0)?"down":"up"}}if(!H&&!this.options.dropOnEmpty){return }this.currentContainer=this.containers[J];H?this._rearrange(C,H,null,true):this._rearrange(C,null,this.containers[J].element,true);this._trigger("change",C,this._uiHash());this.containers[J]._trigger("change",C,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[J]._trigger("over",C,this._uiHash(this));this.containers[J].containerCache.over=1}}},_createHelper:function(D){var E=this.options;var C=A.isFunction(E.helper)?A(E.helper.apply(this.element[0],[D,this.currentItem])):(E.helper=="clone"?this.currentItem.clone():this.currentItem);if(!C.parents("body").length){A(E.appendTo!="parent"?E.appendTo:this.currentItem[0].parentNode)[0].appendChild(C[0])}if(C[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")}}if(C[0].style.width==""||E.forceHelperSize){C.width(this.currentItem.width())}if(C[0].style.height==""||E.forceHelperSize){C.height(this.currentItem.height())}return C},_adjustOffsetFromHelper:function(C){if(typeof C=="string"){C=C.split(" ")}if(A.isArray(C)){C={left:+C[0],top:+C[1]||0}}if("left" in C){this.offset.click.left=C.left+this.margins.left}if("right" in C){this.offset.click.left=this.helperProportions.width-C.right+this.margins.left}if("top" in C){this.offset.click.top=C.top+this.margins.top}if("bottom" in C){this.offset.click.top=this.helperProportions.height-C.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var C=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0])){C.left+=this.scrollParent.scrollLeft();C.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&A.browser.msie)){C={top:0,left:0}}return{top:C.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:C.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var C=this.currentItem.position();return{top:C.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:C.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var F=this.options;if(F.containment=="parent"){F.containment=this.helper[0].parentNode}if(F.containment=="document"||F.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,A(F.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(A(F.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(F.containment)){var D=A(F.containment)[0];var E=A(F.containment).offset();var C=(A(D).css("overflow")!="hidden");this.containment=[E.left+(parseInt(A(D).css("borderLeftWidth"),10)||0)+(parseInt(A(D).css("paddingLeft"),10)||0)-this.margins.left,E.top+(parseInt(A(D).css("borderTopWidth"),10)||0)+(parseInt(A(D).css("paddingTop"),10)||0)-this.margins.top,E.left+(C?Math.max(D.scrollWidth,D.offsetWidth):D.offsetWidth)-(parseInt(A(D).css("borderLeftWidth"),10)||0)-(parseInt(A(D).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,E.top+(C?Math.max(D.scrollHeight,D.offsetHeight):D.offsetHeight)-(parseInt(A(D).css("borderTopWidth"),10)||0)-(parseInt(A(D).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(F,H){if(!H){H=this.position}var D=F=="absolute"?1:-1;var E=this.options,C=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,G=(/(html|body)/i).test(C[0].tagName);return{top:(H.top+this.offset.relative.top*D+this.offset.parent.top*D-(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(G?0:C.scrollTop()))*D)),left:(H.left+this.offset.relative.left*D+this.offset.parent.left*D-(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():G?0:C.scrollLeft())*D))}},_generatePosition:function(F){var I=this.options,C=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,J=(/(html|body)/i).test(C[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var E=F.pageX;var D=F.pageY;if(this.originalPosition){if(this.containment){if(F.pageX-this.offset.click.left<this.containment[0]){E=this.containment[0]+this.offset.click.left}if(F.pageY-this.offset.click.top<this.containment[1]){D=this.containment[1]+this.offset.click.top}if(F.pageX-this.offset.click.left>this.containment[2]){E=this.containment[2]+this.offset.click.left}if(F.pageY-this.offset.click.top>this.containment[3]){D=this.containment[3]+this.offset.click.top}}if(I.grid){var H=this.originalPageY+Math.round((D-this.originalPageY)/I.grid[1])*I.grid[1];D=this.containment?(!(H-this.offset.click.top<this.containment[1]||H-this.offset.click.top>this.containment[3])?H:(!(H-this.offset.click.top<this.containment[1])?H-I.grid[1]:H+I.grid[1])):H;var G=this.originalPageX+Math.round((E-this.originalPageX)/I.grid[0])*I.grid[0];E=this.containment?(!(G-this.offset.click.left<this.containment[0]||G-this.offset.click.left>this.containment[2])?G:(!(G-this.offset.click.left<this.containment[0])?G-I.grid[0]:G+I.grid[0])):G}}return{top:(D-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(J?0:C.scrollTop())))),left:(E-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(A.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():J?0:C.scrollLeft())))}},_rearrange:function(H,G,D,F){D?D[0].appendChild(this.placeholder[0]):G.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction=="down"?G.item[0]:G.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var E=this,C=this.counter;window.setTimeout(function(){if(C==E.counter){E.refreshPositions(!F)}},0)},_clear:function(E,F){this.reverting=false;var G=[],C=this;if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var D in this._storedCSS){if(this._storedCSS[D]=="auto"||this._storedCSS[D]=="static"){this._storedCSS[D]=""}}this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!F){G.push(function(H){this._trigger("receive",H,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!F){G.push(function(H){this._trigger("update",H,this._uiHash())})}if(this!==this.currentContainer){if(!F){G.push(function(H){this._trigger("remove",H,this._uiHash())});G.push((function(H){return function(I){H._trigger("receive",I,this._uiHash(this))}}).call(this,this.currentContainer));G.push((function(H){return function(I){H._trigger("update",I,this._uiHash(this))}}).call(this,this.currentContainer))}}for(var D=this.containers.length-1;D>=0;D--){if(!F){G.push((function(H){return function(I){H._trigger("deactivate",I,this._uiHash(this))}}).call(this,this.containers[D]))}if(this.containers[D].containerCache.over){G.push((function(H){return function(I){H._trigger("out",I,this._uiHash(this))}}).call(this,this.containers[D]));this.containers[D].containerCache.over=0}}if(this._storedCursor){A("body").css("cursor",this._storedCursor)}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!F){this._trigger("beforeStop",E,this._uiHash());for(var D=0;D<G.length;D++){G[D].call(this,E)}this._trigger("stop",E,this._uiHash())}this.fromOutside=false;return false}if(!F){this._trigger("beforeStop",E,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(this.helper[0]!=this.currentItem[0]){this.helper.remove()}this.helper=null;if(!F){for(var D=0;D<G.length;D++){G[D].call(this,E)}this._trigger("stop",E,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){if(A.Widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(D){var C=D||this;return{helper:C.helper,placeholder:C.placeholder||A([]),position:C.position,originalPosition:C.originalPosition,offset:C.positionAbs,item:C.currentItem,sender:D?D.element:null}}});A.extend(A.ui.sortable,{version:"1.8.24"})})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js-vendor/jquery/plugins/jquery.form.js' */ /* * jQuery Form Plugin * version: 2.67 (12-MAR-2011) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ (function(B){B.fn.ajaxSubmit=function(Q){if(!this.length){A("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof Q=="function"){Q={success:Q}}var H=this.attr("action");var D=(typeof H==="string")?B.trim(H):"";if(D){D=(D.match(/^([^#]+)/)||[])[1]}D=D||window.location.href||"";Q=B.extend(true,{url:D,type:this[0].getAttribute("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},Q);var R={};this.trigger("form-pre-serialize",[this,Q,R]);if(R.veto){A("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(Q.beforeSerialize&&Q.beforeSerialize(this,Q)===false){A("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var F,N,L=this.formToArray(Q.semantic);if(Q.data){Q.extraData=Q.data;for(F in Q.data){if(Q.data[F] instanceof Array){for(var I in Q.data[F]){L.push({name:F,value:Q.data[F][I]})}}else{N=Q.data[F];N=B.isFunction(N)?N():N;L.push({name:F,value:N})}}}if(Q.beforeSubmit&&Q.beforeSubmit(L,this,Q)===false){A("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[L,this,Q,R]);if(R.veto){A("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var C=B.param(L);if(Q.type.toUpperCase()=="GET"){Q.url+=(Q.url.indexOf("?")>=0?"&":"?")+C;Q.data=null}else{Q.data=C}var P=this,K=[];if(Q.resetForm){K.push(function(){P.resetForm()})}if(Q.clearForm){K.push(function(){P.clearForm()})}if(!Q.dataType&&Q.target){var O=Q.success||function(){};K.push(function(T){var S=Q.replaceTarget?"replaceWith":"html";B(Q.target)[S](T).each(O,arguments)})}else{if(Q.success){K.push(Q.success)}}Q.success=function(W,T,X){var V=Q.context||Q;for(var U=0,S=K.length;U<S;U++){K[U].apply(V,[W,T,X||P,P])}};var G=B("input:file",this).length>0;var E="multipart/form-data";var J=(P.attr("enctype")==E||P.attr("encoding")==E);if(Q.iframe!==false&&(G||Q.iframe||J)){if(Q.closeKeepAlive){B.get(Q.closeKeepAlive,M)}else{M()}}else{B.ajax(Q)}this.trigger("form-submit-notify",[this,Q]);return this;function M(){var U=P[0];if(B(":input[name=submit],:input[id=submit]",U).length){alert('Error: Form elements must not have name or id of "submit".');return }var a=B.extend(true,{},B.ajaxSettings,Q);a.context=a.context||a;var d="jqFormIO"+(new Date().getTime()),Y="_"+d;var V=B('<iframe id="'+d+'" name="'+d+'" src="'+a.iframeSrc+'" />');var Z=V[0];V.css({position:"absolute",top:"-1000px",left:"-1000px"});var W={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){A("aborting upload...");var g="aborted";this.aborted=1;V.attr("src",a.iframeSrc);W.error=g;a.error&&a.error.call(a.context,W,"error",g);i&&B.event.trigger("ajaxError",[W,a,g]);a.complete&&a.complete.call(a.context,W,"error")}};var i=a.global;if(i&&!B.active++){B.event.trigger("ajaxStart")}if(i){B.event.trigger("ajaxSend",[W,a])}if(a.beforeSend&&a.beforeSend.call(a.context,W,a)===false){if(a.global){B.active--}return }if(W.aborted){return }var h=0;var X=U.clk;if(X){var e=X.name;if(e&&!X.disabled){a.extraData=a.extraData||{};a.extraData[e]=X.value;if(X.type=="image"){a.extraData[e+".x"]=U.clk_x;a.extraData[e+".y"]=U.clk_y}}}function f(){var o=P.attr("target"),g=P.attr("action");U.setAttribute("target",d);if(U.getAttribute("method")!="POST"){U.setAttribute("method","POST")}if(U.getAttribute("action")!=a.url){U.setAttribute("action",a.url)}if(!a.skipEncodingOverride){P.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(a.timeout){setTimeout(function(){h=true;c()},a.timeout)}var m=[];try{if(a.extraData){for(var p in a.extraData){m.push(B('<input type="hidden" name="'+p+'" value="'+a.extraData[p]+'" />').appendTo(U)[0])}}V.appendTo("body");Z.attachEvent?Z.attachEvent("onload",c):Z.addEventListener("load",c,false);U.submit()}finally{U.setAttribute("action",g);if(o){U.setAttribute("target",o)}else{P.removeAttr("target")}B(m).remove()}}if(a.forceSync){f()}else{setTimeout(f,10)}var k,l,j=50;function c(){if(W.aborted){return }var r=Z.contentWindow?Z.contentWindow.document:Z.contentDocument?Z.contentDocument:Z.document;if(!r||r.location.href==a.iframeSrc){return }Z.detachEvent?Z.detachEvent("onload",c):Z.removeEventListener("load",c,false);var n=true;try{if(h){throw"timeout"}var s=a.dataType=="xml"||r.XMLDocument||B.isXMLDoc(r);A("isXml="+s);if(!s&&window.opera&&(r.body==null||r.body.innerHTML=="")){if(--j){A("requeing onLoad callback, DOM not available");setTimeout(c,250);return }}W.responseText=r.body?r.body.innerHTML:r.documentElement?r.documentElement.innerHTML:null;W.responseXML=r.XMLDocument?r.XMLDocument:r;W.getResponseHeader=function(u){var t={"content-type":a.dataType};return t[u]};var q=/(json|script)/.test(a.dataType);if(q||a.textarea){var m=r.getElementsByTagName("textarea")[0];if(m){W.responseText=m.value}else{if(q){var p=r.getElementsByTagName("pre")[0];var g=r.getElementsByTagName("body")[0];if(p){W.responseText=p.textContent}else{if(g){W.responseText=g.innerHTML}}}}}else{if(a.dataType=="xml"&&!W.responseXML&&W.responseText!=null){W.responseXML=b(W.responseText)}}k=S(W,a.dataType,a)}catch(o){A("error caught:",o);n=false;W.error=o;a.error&&a.error.call(a.context,W,"error",o);i&&B.event.trigger("ajaxError",[W,a,o])}if(W.aborted){A("upload aborted");n=false}if(n){a.success&&a.success.call(a.context,k,"success",W);i&&B.event.trigger("ajaxSuccess",[W,a])}i&&B.event.trigger("ajaxComplete",[W,a]);if(i&&!--B.active){B.event.trigger("ajaxStop")}a.complete&&a.complete.call(a.context,W,n?"success":"error");setTimeout(function(){V.removeData("form-plugin-onload");V.remove();W.responseXML=null},100)}var b=B.parseXML||function(g,m){if(window.ActiveXObject){m=new ActiveXObject("Microsoft.XMLDOM");m.async="false";m.loadXML(g)}else{m=(new DOMParser()).parseFromString(g,"text/xml")}return(m&&m.documentElement&&m.documentElement.nodeName!="parsererror")?m:null};var T=B.parseJSON||function(g){return window["eval"]("("+g+")")};var S=function(q,o,n){var m=q.getResponseHeader("content-type")||"",g=o==="xml"||!o&&m.indexOf("xml")>=0,p=g?q.responseXML:q.responseText;if(g&&p.documentElement.nodeName==="parsererror"){B.error&&B.error("parsererror")}if(n&&n.dataFilter){p=n.dataFilter(p,o)}if(typeof p==="string"){if(o==="json"||!o&&m.indexOf("json")>=0){p=T(p)}else{if(o==="script"||!o&&m.indexOf("javascript")>=0){B.globalEval(p)}}}return p}}};B.fn.ajaxForm=function(C){if(this.length===0){var D={s:this.selector,c:this.context};if(!B.isReady&&D.s){A("DOM not ready, queuing ajaxForm");B(function(){B(D.s,D.c).ajaxForm(C)});return this}A("terminating; zero elements found by selector"+(B.isReady?"":" (DOM not ready)"));return this}return this.ajaxFormUnbind().bind("submit.form-plugin",function(E){if(!E.isDefaultPrevented()){E.preventDefault();B(this).ajaxSubmit(C)}}).bind("click.form-plugin",function(I){var H=I.target;var F=B(H);if(!(F.is(":submit,input:image"))){var E=F.closest(":submit");if(E.length==0){return }H=E[0]}var G=this;G.clk=H;if(H.type=="image"){if(I.offsetX!=undefined){G.clk_x=I.offsetX;G.clk_y=I.offsetY}else{if(typeof B.fn.offset=="function"){var J=F.offset();G.clk_x=I.pageX-J.left;G.clk_y=I.pageY-J.top}else{G.clk_x=I.pageX-H.offsetLeft;G.clk_y=I.pageY-H.offsetTop}}}setTimeout(function(){G.clk=G.clk_x=G.clk_y=null},100)})};B.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};B.fn.formToArray=function(N){var M=[];if(this.length===0){return M}var D=this[0];var G=N?D.getElementsByTagName("*"):D.elements;if(!G){return M}var I,H,F,O,E,K,C;for(I=0,K=G.length;I<K;I++){E=G[I];F=E.name;if(!F){continue}if(N&&D.clk&&E.type=="image"){if(!E.disabled&&D.clk==E){M.push({name:F,value:B(E).val()});M.push({name:F+".x",value:D.clk_x},{name:F+".y",value:D.clk_y})}continue}O=B.fieldValue(E,true);if(O&&O.constructor==Array){for(H=0,C=O.length;H<C;H++){M.push({name:F,value:O[H]})}}else{if(O!==null&&typeof O!="undefined"){M.push({name:F,value:O})}}}if(!N&&D.clk){var J=B(D.clk),L=J[0];F=L.name;if(F&&!L.disabled&&L.type=="image"){M.push({name:F,value:J.val()});M.push({name:F+".x",value:D.clk_x},{name:F+".y",value:D.clk_y})}}return M};B.fn.formSerialize=function(C){return B.param(this.formToArray(C))};B.fn.fieldSerialize=function(D){var C=[];this.each(function(){var H=this.name;if(!H){return }var F=B.fieldValue(this,D);if(F&&F.constructor==Array){for(var G=0,E=F.length;G<E;G++){C.push({name:H,value:F[G]})}}else{if(F!==null&&typeof F!="undefined"){C.push({name:this.name,value:F})}}});return B.param(C)};B.fn.fieldValue=function(H){for(var G=[],E=0,C=this.length;E<C;E++){var F=this[E];var D=B.fieldValue(F,H);if(D===null||typeof D=="undefined"||(D.constructor==Array&&!D.length)){continue}D.constructor==Array?B.merge(G,D):G.push(D)}return G};B.fieldValue=function(C,I){var E=C.name,N=C.type,O=C.tagName.toLowerCase();if(I===undefined){I=true}if(I&&(!E||C.disabled||N=="reset"||N=="button"||(N=="checkbox"||N=="radio")&&!C.checked||(N=="submit"||N=="image")&&C.form&&C.form.clk!=C||O=="select"&&C.selectedIndex==-1)){return null}if(O=="select"){var J=C.selectedIndex;if(J<0){return null}var L=[],D=C.options;var G=(N=="select-one");var K=(G?J+1:D.length);for(var F=(G?J:0);F<K;F++){var H=D[F];if(H.selected){var M=H.value;if(!M){M=(H.attributes&&H.attributes.value&&!(H.attributes.value.specified))?H.text:H.value}if(G){return M}L.push(M)}}return L}return B(C).val()};B.fn.clearForm=function(){return this.each(function(){B("input,select,textarea",this).clearFields()})};B.fn.clearFields=B.fn.clearInputs=function(){return this.each(function(){var D=this.type,C=this.tagName.toLowerCase();if(D=="text"||D=="password"||C=="textarea"){this.value=""}else{if(D=="checkbox"||D=="radio"){this.checked=false}else{if(C=="select"){this.selectedIndex=-1}}}})};B.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};B.fn.enable=function(C){if(C===undefined){C=true}return this.each(function(){this.disabled=!C})};B.fn.selected=function(C){if(C===undefined){C=true}return this.each(function(){var D=this.type;if(D=="checkbox"||D=="radio"){this.checked=C}else{if(this.tagName.toLowerCase()=="option"){var E=B(this).parent("select");if(C&&E[0]&&E[0].type=="select-one"){E.find("option").selected(false)}this.selected=C}}})};function A(){if(B.fn.ajaxSubmit.debug){var C="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(C)}else{if(window.opera&&window.opera.postError){window.opera.postError(C)}}}}})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/jquery/jquery.moveto.js' */ jQuery.fn.moveTo=function(C){var G={transition:false,scrollOffset:35};var E=jQuery.extend(G,C),A=this,D=A.offset().top,B;if((jQuery(window).scrollTop()+jQuery(window).height()-this.outerHeight()<D||jQuery(window).scrollTop()+E.scrollOffset>D)&&jQuery(window).height()>E.scrollOffset){if(jQuery(window).scrollTop()+E.scrollOffset>D){B=D-(jQuery(window).height()-this.outerHeight())+E.scrollOffset}else{B=D-E.scrollOffset}if(!jQuery.fn.moveTo.animating&&E.transition){jQuery(document).trigger("moveToStarted",this);jQuery.fn.moveTo.animating=true;jQuery("html,body").animate({scrollTop:B},1000,function(){jQuery(document).trigger("moveToFinished",A);delete jQuery.fn.moveTo.animating});return this}else{var F=jQuery("html, body");if(F.is(":animated")){F.stop();delete jQuery.fn.moveTo.animating}jQuery(document).trigger("moveToStarted");jQuery(window).scrollTop(B);setTimeout(function(){jQuery(document).trigger("moveToFinished",A)},100);return this}}jQuery(document).trigger("moveToFinished",this);return this};; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/event.js' */ AJS.bind=function(A,C,B){try{if(typeof B==="function"){return AJS.$(window).bind(A,C,B)}else{return AJS.$(window).bind(A,C)}}catch(D){AJS.log("error while binding: "+D.message)}};AJS.unbind=function(A,B){try{return AJS.$(window).unbind(A,B)}catch(C){AJS.log("error while unbinding: "+C.message)}};AJS.trigger=function(A,C){try{return AJS.$(window).trigger(A,C)}catch(B){AJS.log("error while triggering: "+B.message)}};; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/cookie.js' */ (function(){var B="AJS.conglomerate.cookie",F=/(\\|^"|"$)/g,G=/\|\|+/g,I=/"/g,C=/[.*+?|^$()[\]{\\]/g;function E(L,O){O=O||"";var N=new RegExp(D(L)+"=([^|]+)"),M=O.match(N);return M&&M[1]}function J(L,N,P){var M=new RegExp("(\\s|\\|)*\\b"+D(L)+"=[^|]*[|]*");P=P||"";P=P.replace(M,"|");if(N!==""){var O=L+"="+N;if(P.length+O.length<4020){P+="|"+O}}return P.replace(G,"|")}function H(L){return L.replace(F,"")}function K(L){var N=new RegExp("\\b"+D(L)+"=((?:[^\\\\;]+|\\\\.)*)(?:;|$)"),M=document.cookie.match(N);return M&&H(M[1])}function A(M,O,Q){var N="",P,L='"'+O.replace(I,'\\"')+'"';if(Q){P=new Date();P.setTime(+P+Q*24*60*60*1000);N="; expires="+P.toGMTString()}document.cookie=M+"="+L+N+";path=/"}function D(L){return L.replace(C,"\\$&")}AJS.Cookie={save:function(M,N,L){var O=K(B);O=J(M,N,O);A(B,O,L||365)},read:function(M,L){var O=K(B);var N=E(M,O);if(N!=null){return N}return L},erase:function(L){this.save(L,"")}};AJS.deprecate.prop(AJS.Cookie,"save",{alternativeName:"AJS.cookie"})})();; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/inline-dialog.js' */ (function(C){AJS.InlineDialog=function(g,S,W,U){U=U||[];if(U.hasOwnProperty("getArrowAttributes")){H()}if(U.hasOwnProperty("getArrowPath")){E();if(U.hasOwnProperty("gravity")){B()}}if(U.hasOwnProperty("onTop")){J();if(U.onTop&&U.gravity===undefined){U.gravity="s"}}if(typeof S==="undefined"){S=String(Math.random()).replace(".","");if(C("#inline-dialog-"+S+", #arrow-"+S+", #inline-dialog-shim-"+S).length){throw"GENERATED_IDENTIFIER_NOT_UNIQUE"}}var e=C.extend(false,AJS.InlineDialog.opts,U);if(e.gravity==="w"){e.offsetX=U.offsetX===undefined?10:U.offsetX;e.offsetY=U.offsetY===undefined?0:U.offsetY}var a=function(){return window.Raphael&&U&&(U.getArrowPath||U.getArrowAttributes)};var O;var V;var p;var Z=false;var f=false;var n=false;var o;var c;var L=C('<div id="inline-dialog-'+S+'" class="aui-inline-dialog"><div class="aui-inline-dialog-contents contents"></div><div id="arrow-'+S+'" class="aui-inline-dialog-arrow arrow"></div></div>');var R=C("#arrow-"+S,L);var l=L.find(".contents");if(!a()){L.find(".aui-inline-dialog-arrow").addClass("aui-css-arrow")}if(!e.displayShadow){l.addClass("aui-inline-dialog-no-shadow")}if(e.autoWidth){l.addClass("aui-inline-dialog-auto-width")}else{l.css("width",e.width+"px")}l.on({mouseenter:function(){clearTimeout(V);L.unbind("mouseenter")},mouseleave:function(){j()}});var i=function(){if(!O){O={popup:L,hide:function(){j(0)},id:S,show:function(){d()},persistent:e.persistent?true:false,reset:function(){function x(z,y){z.css(y.popupCss);if(a()){if(y.gravity==="s"){y.arrowCss.top-=C.browser.msie?10:9}if(!z.arrowCanvas){z.arrowCanvas=Raphael("arrow-"+S,16,16)}var AA=e.getArrowPath,AB=C.isFunction(AA)?AA(y):AA;z.arrowCanvas.path(AB).attr(e.getArrowAttributes())}else{R.removeClass("aui-bottom-arrow aui-left-arrow aui-right-arrow");if(y.gravity==="s"&&!R.hasClass("aui-bottom-arrow")){R.addClass("aui-bottom-arrow")}else{if(y.gravity==="n"){}else{if(y.gravity==="w"){R.addClass("aui-left-arrow")}else{if(y.gravity==="e"){R.addClass("aui-right-arrow")}}}}}R.css(y.arrowCss)}var u=AJS.$(window).height();var v=Math.round(u*0.75);L.children(".aui-inline-dialog-contents").css("max-height",v);var t=e.calculatePositions(L,c,o,e);if(t.hasOwnProperty("displayAbove")){F();t.gravity=t.displayAbove?"s":"n"}x(L,t);L.fadeIn(e.fadeTime,function(){});if(C.browser.msie&&~~(C.browser.version)<10){var w=C("#inline-dialog-shim-"+S);if(!w.length){C(L).prepend(C('<iframe class = "inline-dialog-shim" id="inline-dialog-shim-'+S+'" frameBorder="0" src="javascript:false;"></iframe>'))}w.css({width:l.outerWidth(),height:l.outerHeight()})}}}}return O};var d=function(){if(L.is(":visible")){return }p=setTimeout(function(){if(!n||!f){return }e.addActiveClass&&C(g).addClass("active");Z=true;if(!e.persistent){m()}AJS.InlineDialog.current=i();C(document).trigger("showLayer",["inlineDialog",i()]);i().reset()},e.showDelay)};var j=function(t){if(typeof t=="undefined"&&e.persistent){return }if(typeof L.get(0)._datePickerPopup!=="undefined"){return }f=false;if(Z&&e.preHideCallback.call(L[0].popup)){t=(t==null)?e.hideDelay:t;clearTimeout(V);clearTimeout(p);if(t!=null){V=setTimeout(function(){Q();e.addActiveClass&&C(g).removeClass("active");L.fadeOut(e.fadeTime,function(){e.hideCallback.call(L[0].popup)});if(L.arrowCanvas){L.arrowCanvas.remove();L.arrowCanvas=null}Z=false;f=false;C(document).trigger("hideLayer",["inlineDialog",i()]);AJS.InlineDialog.current=null;if(!e.cacheContent){n=false;b=false}},t)}}};var k=function(w,u){var t=C(u);e.upfrontCallback.call({popup:L,hide:function(){j(0)},id:S,show:function(){d()}});L.each(function(){if(typeof this.popup!="undefined"){this.popup.hide()}});if(e.closeOthers){C(".aui-inline-dialog:not(aui-inline-dialog2)").each(function(){!this.popup.persistent&&this.popup.hide()})}c={target:t};if(!w){o={x:t.offset().left,y:t.offset().top}}else{o={x:w.pageX,y:w.pageY}}if(!Z){clearTimeout(p)}f=true;var v=function(){b=false;n=true;e.initCallback.call({popup:L,hide:function(){j(0)},id:S,show:function(){d()}});d()};if(!b){b=true;if(C.isFunction(W)){W(l,u,v)}else{C.get(W,function(y,x,z){l.html(e.responseHandler(y,x,z));n=true;e.initCallback.call({popup:L,hide:function(){j(0)},id:S,show:function(){d()}});d()})}}clearTimeout(V);if(!Z){d()}return false};L[0].popup=i();var b=false;var Y=false;var X=function(){if(!Y){C(e.container).append(L);Y=true}};var T=C(g);if(e.onHover){if(e.useLiveEvents){if(T.selector){C(document).on("mouseenter",T.selector,function(t){X();k(t,this)}).on("mouseleave",T.selector,function(){j()})}else{AJS.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled.")}}else{T.on({mouseenter:function(t){X();k(t,this)},mouseleave:function(){j()}})}}else{if(!e.noBind){if(e.useLiveEvents){if(T.selector){C(document).on("click",T.selector,function(t){X();if(r()){L.hide()}else{k(t,this)}return false}).on("mouseleave",T.selector,function(){j()})}else{AJS.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled.")}}else{T.on("click",function(t){X();if(r()){L.hide()}else{k(t,this)}return false}).on("mouseleave",function(){j()})}}}var r=function(){return Z&&e.closeOnTriggerClick};var m=function(){P();K()};var Q=function(){h();s()};var N=false;var M=S+".inline-dialog-check";var P=function(){if(!N){C("body").bind("click."+M,function(u){var t=C(u.target);if(t.closest("#inline-dialog-"+S+" .contents").length===0){j(0)}});N=true}};var h=function(){if(N){C("body").unbind("click."+M)}N=false};var q=function(t){if(t.keyCode===27){j(0)}};var K=function(){C(document).on("keydown",q)};var s=function(){C(document).off("keydown",q)};L.show=function(u,t){if(u){u.stopPropagation()}X();if(e.noBind&&!(g&&g.length)){k(u,t===undefined?u.target:t)}else{k(u,g)}};L.hide=function(){j(0)};L.refresh=function(){if(Z){i().reset()}};L.getOptions=function(){return e};return L};function A(L){var K=C(L);var M=C.extend({left:0,top:0},K.offset());return{left:M.left,top:M.top,width:K.outerWidth(),height:K.outerHeight()}}function G(M,O,Y,K){var R=AJS.$.isFunction(K.offsetX)?K.offsetX(M,O,Y,K):K.offsetX;var Q=AJS.$.isFunction(K.offsetY)?K.offsetY(M,O,Y,K):K.offsetY;var V=AJS.$.isFunction(K.arrowOffsetX)?K.arrowOffsetX(M,O,Y,K):K.arrowOffsetX;var U=AJS.$.isFunction(K.arrowOffsetY)?K.arrowOffsetY(M,O,Y,K):K.arrowOffsetY;var X=K.container.toLowerCase()!=="body";var L=AJS.$(K.container);var T=X?AJS.$(K.container).parent():AJS.$(window);var W=X?L.offset():{left:0,top:0};var P=X?T.offset():{left:0,top:0};var N=O.target;var Z=N.offset();var S=N[0].getBBox&&N[0].getBBox();return{screenPadding:10,arrowMargin:5,window:{top:P.top,left:P.left,scrollTop:T.scrollTop(),scrollLeft:T.scrollLeft(),width:T.width(),height:T.height()},scrollContainer:{width:L.width(),height:L.height()},trigger:{top:Z.top-W.top,left:Z.left-W.left,width:S?S.width:N.outerWidth(),height:S?S.height:N.outerHeight()},dialog:{width:M.width(),height:M.height(),offset:{top:Q,left:R}},arrow:{height:M.find(".arrow").outerHeight(),offset:{top:U,left:V}}}}function D(K,U,l,W){var S=G(K,U,l,W);var O=S.screenPadding;var P=S.window;var Y=S.trigger;var i=S.dialog;var N=S.arrow;var e=S.scrollContainer;var j={top:Y.top-P.scrollTop,left:Y.left-P.scrollLeft};var f=Math.floor(Y.height/2);var a=Math.floor(i.height/2);var Z=Math.floor(N.height/2);var h=j.left-i.offset.left-O;var m=e.width-j.left-Y.width-i.offset.left-O;var g=h>=i.width;var M=m>=i.width;var Q=!M&&g?"e":"w";var T=j.top+f-Z;var V=P.height-T-N.height;O=Math.min(O,T-S.arrowMargin);O=Math.min(O,V-S.arrowMargin);var L=j.top+f;var c=Math.max(L-O,0);var k=Math.max(P.height-L-O,0);var d=a-i.offset.top>c;var R=a+i.offset.top>k;var b;var X;if(d){b={top:P.scrollTop+O,left:Q==="w"?Y.left+Y.width+i.offset.left:Y.left-i.width-i.offset.left};X={top:(Y.top+f)-(b.top+Z)}}else{if(R){b={top:P.scrollTop+P.height-i.height-O,left:Q==="w"?Y.left+Y.width+i.offset.left:Y.left-i.width-i.offset.left};X={top:(Y.top+f)-(b.top+Z)}}else{b={top:Y.top+f-a+i.offset.top,left:Q==="w"?Y.left+Y.width+i.offset.left:Y.left-i.width-i.offset.left};X={top:a-Z+N.offset.top}}}return{gravity:Q,popupCss:b,arrowCss:X}}function I(L,T,e,X){var c=AJS.$.isFunction(X.offsetX)?X.offsetX(L,T,e,X):X.offsetX;var a=AJS.$.isFunction(X.offsetY)?X.offsetY(L,T,e,X):X.offsetY;var R=AJS.$.isFunction(X.arrowOffsetX)?X.arrowOffsetX(L,T,e,X):X.arrowOffsetX;var Q=AJS.$.isFunction(X.arrowOffsetY)?X.arrowOffsetY(L,T,e,X):X.arrowOffsetY;var K=A(window);var U=A(T.target);var d=A(L);var O=A(L.find(".aui-inline-dialog-arrow"));var N=U.left+U.width/2;var Z=(window.pageYOffset||document.documentElement.scrollTop)+K.height;var P=10;d.top=U.top+U.height+~~a;d.left=U.left+~~c;var W=K.width-(d.left+d.width+P);O.left=N-d.left+~~R;O.top=-(O.height/2);var S=U.top>d.height;var M=(d.top+d.height)<Z;var V=(!M&&S)||(S&&X.gravity==="s");if(V){d.top=U.top-d.height-(O.height/2);O.top=d.height}if(X.isRelativeToMouse){if(W<0){d.right=P;d.left="auto";O.left=e.x-(K.width-d.width)}else{d.left=e.x-20;O.left=e.x-d.left}}else{if(W<0){d.right=P;d.left="auto";var b=K.width-d.right;var Y=b-d.width;O.right="auto";O.left=N-Y-O.width/2}else{if(d.width<=U.width/2){O.left=d.width/2;d.left=N-d.width/2}}}return{gravity:V?"s":"n",displayAbove:V,popupCss:{left:d.left,top:d.top,right:d.right},arrowCss:{left:O.left,top:O.top,right:O.right}}}AJS.InlineDialog.opts={onTop:false,responseHandler:function(L,K,M){return L},closeOthers:true,isRelativeToMouse:false,addActiveClass:true,onHover:false,useLiveEvents:false,noBind:false,fadeTime:100,persistent:false,hideDelay:10000,showDelay:0,width:300,offsetX:0,offsetY:10,arrowOffsetX:0,arrowOffsetY:0,container:"body",cacheContent:true,displayShadow:true,autoWidth:false,gravity:"n",closeOnTriggerClick:false,preHideCallback:function(){return true},hideCallback:function(){},initCallback:function(){},upfrontCallback:function(){},calculatePositions:function(K,N,O,M){M=M||{};var L=M.gravity==="w"?D:I;return L(K,N,O,M)},getArrowPath:function(K){if(K.gravity==="s"){return"M0,8L8,16,16,8"}else{return"M0,8L8,0,16,8"}},getArrowAttributes:function(){return{fill:"#fff",stroke:"#ccc"}}};AJS.InlineDialog=AJS.deprecate.construct(AJS.InlineDialog,"Inline dialog constructor",{alternativeName:"inline dialog 2"});var F=AJS.deprecate.getMessageLogger("displayAbove","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."});var J=AJS.deprecate.getMessageLogger("onTop","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."});var H=AJS.deprecate.getMessageLogger("getArrowAttributes","[remove version]",{extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-1362."});var E=AJS.deprecate.getMessageLogger("getArrowPath","[remove version]",{extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-1362."});var B=AJS.deprecate.getMessageLogger("getArrowPath does not support gravity","[remove version]",{extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."})})(AJS.$);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/firebug.js' */ AJS.warnAboutFirebug=function(A){};AJS.deprecate.prop(AJS,"warnAboutFirebug");; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/forms.js' */ AJS.inlineHelp=function(){AJS.$(".icon-inline-help").click(function(){var A=AJS.$(this).siblings(".field-help");if(A.hasClass("hidden")){A.removeClass("hidden")}else{A.addClass("hidden")}})};; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/keyCode.js' */ (function(){AJS.keyCode={ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,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,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}());; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/messages.js' */ (function(D,F){var C=500;var L=5000;var J=100;var A='<div class="aui-message aui-message-{type} {type} {closeable} {shadowed} {fadeout}"><p class="title"><strong>{title}</strong></p>{body}<!-- .aui-message --></div>';function K(M){D.messages[M]=function(O,P){if(!P){P=O;O="#aui-message-bar"}P.closeable=(P.closeable!==false);P.shadowed=(P.shadowed!==false);var N=G(this.template,P,M);B(N,P.insert,O);if(P.closeable){I(N)}if(P.fadeout){H(N,P.delay,P.duration)}return N}}function I(M){F(M||"div.aui-message.closeable").each(function(){var P=F(this),O=P.find(".aui-icon.icon-close");var N=O.length>0?O.first():F('<span class="aui-icon icon-close" role="button" tabindex="0"></span>');P.addClass("closeable");P.append(N);E(P)})}function H(N,M,O){M=(typeof M!=="undefined")?M:L;O=(typeof O!=="undefined")?O:C;F(N||"div.aui-message.fadeout").each(function(){var S=F(this);var U=false;var Q=false;function P(){S.stop(true,false).delay(M).fadeOut(O,function(){S.closeMessage()})}function T(){S.stop(true,false).fadeTo(J,1)}function R(){return !U&&!Q}S.focusin(function(){U=true;T()}).focusout(function(){U=false;if(R()){P()}}).hover(function(){Q=true;T()},function(){Q=false;if(R()){P()}});P()})}D.messages={setup:function(){K("generic");K("error");K("warning");K("info");K("success");K("hint");I();H()},makeCloseable:I,makeFadeout:H,template:A,createMessage:K};function E(M){M.on("click",".aui-icon.icon-close",function(N){F(N.target).closest(".aui-message").closeMessage()}).on("keydown",".aui-icon.icon-close",function(N){if((N.which===AJS.keyCode.ENTER)||(N.which===AJS.keyCode.SPACE)){F(N.target).closest(".aui-message").closeMessage();N.preventDefault()}})}function B(N,M,O){if(M==="prepend"){N.prependTo(O)}else{N.appendTo(O)}}function G(P,N,O){var M=F(AJS.template(P).fill({type:O,closeable:N.closeable?"closeable":"",shadowed:N.shadowed?"shadowed":"",fadeout:N.fadeout?"fadeout":"",title:N.title||"","body:html":N.body||""}).toString());if(N.id){if(/[#\'\"\.\s]/g.test(N.id)){AJS.log("AJS.Messages error: ID rejected, must not include spaces, hashes, dots or quotes.")}else{M.attr("id",N.id)}}return M}F.fn.closeMessage=function(){var M=F(this);if(M.hasClass("aui-message")&&M.hasClass("closeable")){M.stop(true);M.trigger("messageClose",[this]).remove();F(document).trigger("aui-message-close",[this])}};F(function(){D.messages.setup()});AJS.deprecate.prop(D.messages,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://docs.atlassian.com/aui/latest/docs/messages.html'});AJS.deprecate.prop(D.messages,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. AJS.messages.generic(). Docs: https://docs.atlassian.com/aui/latest/docs/messages.html"});AJS.deprecate.prop(D.messages,"makeFadeout",{extraInfo:'Use the "fadeout" option in the constructor instead. Docs: https://docs.atlassian.com/aui/latest/docs/messages.html'})})(AJS,AJS.$);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/tabs.js' */ (function(H){var I=/#.*/;var F="_internal-aui-tabs-";var A='.aui-tabs.horizontal-tabs[data-aui-responsive]:not([data-aui-responsive="false"])';function N(){var P=H(this);AJS._addID(P);P.attr("role","tab");var O=P.attr("href");H(O).attr("aria-labelledby",P.attr("id"));if(P.parent().hasClass("active-tab")){P.attr("aria-selected","true")}else{P.attr("aria-selected","false")}}var J={totalTabsWidth:function(O,Q){var R=this.totalVisibleTabWidth(O);var P=0;Q.find("li").each(function(S,T){P+=parseInt(T.getAttribute("data-aui-tab-width"))});return R+P},totalVisibleTabWidth:function(P){var O=0;P.each(function(Q,R){O+=H(R).outerWidth()});return O},removeResponsiveDropdown:function(P,O){P.remove();O.remove()},createResponsiveDropdownTrigger:function(P,R){var Q='<li class="menu-item aui-tabs-responsive-trigger-item"><a class="aui-dropdown2-trigger aui-tabs-responsive-trigger aui-dropdown2-trigger-arrowless" id="aui-tabs-responsive-trigger-'+R+'" aria-haspopup="true" aria-owns="aui-tabs-responsive-dropdown-'+R+'" href="aui-tabs-responsive-dropdown-'+R+'">...</a></li>';P.append(Q);var O=P.find(".aui-tabs-responsive-trigger-item");return O},createResponsiveDropdown:function(O,R){var P='<div class="aui-dropdown2 aui-style-default aui-tabs-responsive-dropdown" id="aui-tabs-responsive-dropdown-'+R+'"><ul></ul></div>';O.append(P);var Q=O.find("#aui-tabs-responsive-dropdown-"+R);return Q},findNewVisibleTabs:function(R,S,V){function U(W,Y,X){return W+Y<=X}var P=0;for(var Q=0;U(P,V,S)&&Q<R.length;Q++){var T=H(R[Q]);var O=T.outerWidth(true);P+=O}return R.slice(0,Q-1)},processVisibleTabs:function(P,W,R){var O=R.find("a").attr("aria-owns");var U=H("#"+O);var T=this.findNewVisibleTabs(P,W.outerWidth(),R.parent().outerWidth(true));var S=T.length-1;for(var Q=P.length-1;Q>=S;Q--){var V=H(P[Q]);this.moveTabToResponsiveDropdown(V,U,R)}return H(T)},moveTabToResponsiveDropdown:function(Q,R,O){var P=Q.find("a");Q.attr("data-aui-tab-width",Q.outerWidth(true));P.addClass("aui-dropdown2-radio aui-tabs-responsive-item");if(Q.hasClass("active-tab")){P.addClass("aui-dropdown2-checked");O.addClass("active-tab")}R.find("ul").prepend(Q)},processInvisibleTabs:function(S,U,P){function V(W){return W>0}for(var R=0;V(U)&&R<S.length;R++){var T=H(S[R]);var O=parseInt(T.attr("data-aui-tab-width"),10);var Q=O<U;if(Q){this.moveTabOutOfDropdown(T,P)}U-=O}},moveTabOutOfDropdown:function(Q,P){var O=Q.find("a").hasClass("aui-dropdown2-checked");if(O){Q.addClass("active-tab");P.removeClass("active-tab")}Q.children("a").removeClass("aui-dropdown2-radio aui-tabs-responsive-item aui-dropdown2-checked");P.before(Q)}};function L(R,X){var O=H(R);var e=O.find(".tabs-menu").first();var a=e.find("li:not(.aui-tabs-responsive-trigger-item)");var V=e.find(".aui-tabs-responsive-trigger").parent();var W=V.find("a");var T=W.attr("aria-owns");var Z=H(document).find("#"+T).attr("aria-checked",false);var Q=Z.length>0;var c=J.totalTabsWidth(a,Z);var b=c>O.outerWidth();if(!Q&&b){V=J.createResponsiveDropdownTrigger(e,X);Z=J.createResponsiveDropdown(O,X)}W.attr("aria-owns","aui-tabs-responsive-dropdown-"+X);W.attr("id","aui-tabs-responsive-trigger-"+X);W.attr("href","aui-tabs-responsive-trigger-"+X);Z.attr("id","aui-tabs-responsive-dropdown-"+X);if(b){var S=J.processVisibleTabs(a.toArray(),O,V);var Y=J.totalVisibleTabWidth(S);var d=O.outerWidth()-Y-V.outerWidth(true);var P=d>0;if(P){var U=Z.find("li");J.processInvisibleTabs(U.toArray(),d,V)}Z.on("click","a",G)}if(Q&&!b){Z.find("li").each(function(){J.moveTabOutOfDropdown(H(this),V)});J.removeResponsiveDropdown(Z,V)}}function M(S){if(S.hasClass("aui-tabs-responsive-trigger")){return }var R=H(S.attr("href").match(I)[0]);R.addClass("active-pane").attr("aria-hidden","false").siblings(".tabs-pane").removeClass("active-pane").attr("aria-hidden","true");var P=S.parents(".aui-tabs").find(".aui-tabs-responsive-trigger-item a");var Q=P.attr("aria-owns");var T=H(document).find("#"+Q);T.find("li a").attr("aria-checked",false).removeClass("checked aui-dropdown2-checked");T.find("li").removeClass("active-tab");S.parent("li.menu-item").addClass("active-tab").siblings(".menu-item").removeClass("active-tab");if(S.hasClass("aui-tabs-responsive-item")){var O=R.parent(".aui-tabs").find("li.menu-item:not(.aui-tabs-responsive-trigger-item)");O.removeClass("active-tab");O.find("a").removeClass("checked").removeAttr("aria-checked")}if(S.hasClass("aui-tabs-responsive-item")){R.parent(".aui-tabs").find("li.menu-item.aui-tabs-responsive-trigger-item").addClass("active-tab")}S.closest(".tabs-menu").find("a").attr("aria-selected","false");S.attr("aria-selected","true");S.trigger("tabSelect",{tab:S,pane:R})}function D(O){return O.attr("data-aui-persist")!==undefined&&O.attr("data-aui-persist")!=="false"}function C(O){var P=O.attr("id");var Q=O.attr("data-aui-persist");return F+(P?P:"")+(Q&&Q!=="true"?"-"+Q:"")}function E(O){for(var T=0,U=O.length;T<U;T++){var R=O.eq(T);if(D(R)&&window.localStorage){var S=R.attr("id");if(S){var Q=window.localStorage.getItem(C(R));if(Q){var P=R.find("#"+Q);if(P.length){M(P)}}}else{AJS.warn("A tab group must specify an id attribute if it specifies data-aui-persist")}}}}function K(R){var P=R.closest(".aui-tabs");var Q=P.attr("id");if(Q){var O=R.attr("id");if(O){window.localStorage.setItem(C(P),O)}}else{AJS.warn("A tab group must specify an id attribute if it specifies data-aui-persist")}}function G(O){AJS.tabs.change(H(this),O);O&&O.preventDefault()}function B(O){O.forEach(function(Q,P){L(Q,P)})}AJS.tabs={setup:function(){var O=H(".aui-tabs:not(.aui-tabs-disabled)");var P=H(A).toArray();B(P);var Q=AJS.debounce(B,200);H(window).resize(function(){Q(P)});O.attr("role","application");O.find(".tabs-pane").each(function(){var V=H(this);V.attr("role","tabpanel");if(V.hasClass("active-pane")){V.attr("aria-hidden","false")}else{V.attr("aria-hidden","true")}});for(var R=0,S=O.length;R<S;R++){var T=O.eq(R);if(!T.data("aui-tab-events-bound")){var U=T.children("ul.tabs-menu");U.attr("role","tablist");U.children("li").attr("role","presentation");U.find("> .menu-item a").each(N);U.delegate("a","click",G);T.data("aui-tab-events-bound",true)}}E(O);H(".aui-tabs.vertical-tabs").find("a").each(function(){var V=H(this);if(!V.attr("title")){if(AJS.isClipped(V)){V.attr("title",V.text())}}})},change:function(P,Q){M(P);var O=P.closest(".aui-tabs");if(D(O)&&window.localStorage){K(P)}}};H(AJS.tabs.setup)})(AJS.$);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/template.js' */ AJS.template=(function(H){var J=/\{([^\}]+)\}/g,D=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,F=function(O,N,P,L){var M=P;N.replace(D,function(S,R,Q,U,T){R=R||U;if(M){if(R+":html" in M){M=M[R+":html"];L=true}else{if(R in M){M=M[R]}}if(T&&typeof M==="function"){M=M()}}});if(M==null||M==P){M=O}M=String(M);if(!L){M=G.escape(M)}return M},B=function(L){this.template=this.template.replace(J,function(N,M){return F(N,M,L,true)});return this},K=function(L){this.template=this.template.replace(J,function(N,M){return F(N,M,L)});return this},C=function(){return this.template};var G=function(M){function L(){return L.template}L.template=String(M);L.toString=L.valueOf=C;L.fill=K;L.fillHtml=B;return L},A={},I=[];var E=function(L){return H("script").filter(function(){return this.getAttribute("title")===L})};G.load=function(L){L=String(L);if(!A.hasOwnProperty(L)){if(I.length>=1000){delete A[I.shift()]}I.push(L);A[L]=E(L)[0].text}return this(A[L])};G.escape=AJS.escapeHtml;return G})(AJS.$);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/whenitype.js' */ (function(A,D){var C=navigator.platform.indexOf("Mac")!==-1;var B=/^(backspace|tab|r(ight|eturn)|s(hift|pace|croll)|c(trl|apslock)|alt|pa(use|ge(up|down))|e(sc|nd)|home|left|up|d(el|own)|insert|f\d\d?|numlock|meta)/i;A.whenIType=function(P){var O=[],I=D.Callbacks();function F(Q){if(!AJS.popup.current&&I){I.fire(Q)}}function G(Q){Q.preventDefault()}function N(Q){var R=Q&&Q.split?D.trim(Q).split(" "):[Q];R.forEach(function(S){H(S)})}function K(R){var Q=R.length;while(Q--){if(R[Q].length>1&&R[Q]!=="space"){return true}}return false}function H(S){var R=S instanceof Array?S:M(S.toString());var Q=K(R)?"keydown":"keypress";O.push(R);D(document).bind(Q,R,F);D(document).bind(Q+" keyup",R,G)}function M(S){var U=[],T="";while(S.length){var R=S.match(/^(ctrl|meta|shift|alt)\+/i);var Q=S.match(B);if(R){T+=R[0];S=S.substring(R[0].length)}else{if(Q){U.push(T+Q[0]);S=S.substring(Q[0].length);T=""}else{U.push(T+S[0]);S=S.substring(1);T=""}}}return U}function J(S){var U=D(S),W=U.attr("title")||"",V=O.slice();var R=U.data("kbShortcutAppended")||"";var Q=!R;var T=Q?W:W.substring(0,W.length-R.length);while(V.length){R=E(V.shift().slice(),R,Q);Q=false}if(C){R=R.replace(/Meta/ig,"\u2318").replace(/Shift/ig,"\u21E7")}U.attr("title",T+R);U.data("kbShortcutAppended",R)}function L(R){var S=D(R);var Q=S.data("kbShortcutAppended");if(!Q){return }var T=S.attr("title");S.attr("title",T.replace(Q,""));S.removeData("kbShortcutAppended")}function E(S,R,Q){if(Q){R+=" ("+AJS.format("Type \u0027\u0027{0}\u0027\u0027",S.shift())}else{R=R.replace(/\)$/,"");R+=AJS.format("OR \u0027\u0027{0}\u0027\u0027",S.shift())}S.forEach(function(T){R+=" "+AJS.format("then \u0027\u0027{0}\u0027\u0027",T)});R+=")";return R}N(P);return A.whenIType.makeShortcut({executor:I,bindKeys:N,addShortcutsToTitle:J,removeShortcutsFromTitle:L,keypressHandler:F,defaultPreventionHandler:G})};A.whenIType.makeShortcut=function(M){var H=M.executor;var K=M.bindKeys;var I=M.addShortcutsToTitle;var J=M.removeShortcutsFromTitle;var F=M.keypressHandler;var G=M.defaultPreventionHandler;var L=[];function E(N){return function(O,Q){Q=Q||{};var P=Q.focusedClass||"focused";var R=Q.hasOwnProperty("wrapAround")?Q.wrapAround:true;var S=Q.hasOwnProperty("escToCancel")?Q.escToCancel:true;H.add(function(){var V=D(O),U=V.filter("."+P),T=U.length===0?undefined:{transition:true};if(S){D(document).one("keydown",function(W){if(W.keyCode===AJS.keyCode.ESCAPE&&U){U.removeClass(P)}})}if(U.length){U.removeClass(P)}U=N(U,V,R);if(U&&U.length>0){U.addClass(P);U.moveTo(T);if(U.is("a")){U.focus()}else{U.find("a:first").focus()}}});return this}}return{moveToNextItem:E(function(P,Q,O){var N;if(O&&P.length===0){return Q.eq(0)}else{N=D.inArray(P.get(0),Q);if(N<Q.length-1){N=N+1;return Q.eq(N)}else{if(O){return Q.eq(0)}}}return P}),moveToPrevItem:E(function(P,Q,O){var N;if(O&&P.length===0){return Q.filter(":last")}else{N=D.inArray(P.get(0),Q);if(N>0){N=N-1;return Q.eq(N)}else{if(O){return Q.filter(":last")}}}return P}),click:function(N){L.push(N);I(N);H.add(function(){var O=D(N);if(O.length>0){O.click()}});return this},goTo:function(N){H.add(function(){window.location.href=N});return this},followLink:function(N){L.push(N);I(N);H.add(function(){var O=D(N)[0];if(O&&{a:true,link:true}[O.nodeName.toLowerCase()]){window.location.href=O.href}});return this},execute:function(O){var N=this;H.add(function(){O.apply(N,arguments)});return this},evaluate:function(N){N.call(this)},moveToAndClick:function(N){L.push(N);I(N);H.add(function(){var O=D(N);if(O.length>0){O.click();O.moveTo()}});return this},moveToAndFocus:function(N){L.push(N);I(N);H.add(function(P){var O=AJS.$(N);if(O.length>0){O.focus();if(O.moveTo){O.moveTo()}if(O.is(":input")){P.preventDefault()}}});return this},or:function(N){K(N);return this},unbind:function(){D(document).unbind("keydown keypress",F).unbind("keydown keypress keyup",G);for(var O=0,N=L.length;O<N;O++){J(L[O])}L=[]}}};A.whenIType.fromJSON=function(G,F){var E=[];if(G){D.each(G,function(I,J){var H=J.op,M=J.param,L;if(H==="execute"||H==="evaluate"){L=[new Function(M)]}else{if(/^\[[^\]\[]*,[^\]\[]*\]$/.test(M)){try{L=JSON.parse(M)}catch(K){AJS.error("When using a parameter array, array must be in strict JSON format: "+M)}if(!D.isArray(L)){AJS.error("Badly formatted shortcut parameter. String or JSON Array of parameters required: "+M)}}else{L=[M]}}D.each(J.keys,function(){var N=this;if(F&&C){N=D.map(N,function(P){return P.replace(/ctrl/i,"meta")})}var O=AJS.whenIType(N);O[H].apply(O,L);E.push(O)})})}return E};D(document).bind("iframeAppended",function(F,E){D(E).load(function(){var G=D(E).contents();G.bind("keyup keydown keypress",function(H){if(D.browser.safari&&H.type==="keypress"){return }if(!D(H.target).is(":input")){D.event.trigger(H,arguments,document,true)}})})})})(AJS,AJS.$);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/jquery/jquery.is-dirty.js' */ jQuery.fn.isDirty=function(){var B,A=[];window.onbeforeunload=function(){var C=window.onbeforeunload;if(B!==false){jQuery.each(A,function(){if(this.initVal!==AJS.$(this).val()){B=true;return false}})}if(B){window.onbeforeunload=null;window.setTimeout(function(){jQuery(document).bind("mousemove",function(){window.onbeforeunload=C;jQuery(document).unbind("mousemove",arguments.callee)})},1000);B=void (0);return AJS.params.dirtyMessage||""}};return function(D){if(this.length===0){return }function C(F){var E=jQuery(this);jQuery.fn.isDirty.fieldInFocus=E;if(jQuery.inArray(this,A)===-1){this.initVal=E.val();A.push(this);E.die(F.type,C)}}jQuery(":not(:input)").live("click",function(){delete jQuery.fn.isDirty.fieldInFocus});jQuery(":input[type != hidden]",this.selector).bind("keydown",C).bind("keypress",C).bind("click",C);jQuery(D.ignoreUnloadFromElems).live("mousedown",function(){B=false});this.each(function(){this.onsubmit=function(E){return function(){B=false;if(E){return E.apply(this,arguments)}}}(this.onsubmit);AJS.$(this).submit(function(){B=false})});return this}}();; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/jquery/jquery.progressbar.js' */ (function(A){A.fn.progressBar=function(I,L){var C=this;var F={height:"1em",showPercentage:true};var B=A.extend(F,L);var J=C.attr("id")+"-incomplete-bar";var D=C.attr("id")+"-complete-bar";var K=C.attr("id")+"-percent-complete-text";if(A("#"+J).length==0){var E=A(document.createElement("div"));E.attr("id",J);E.css({width:"90%",border:"solid 1px #ccc","float":"left","margin-right":"0.5em"});E.addClass("progress-background-color");var G=A(document.createElement("div"));G.attr("id",D);G.addClass("progress-fill-color");G.css({height:B.height,width:I+"%"});var H=A(document.createElement("span"));H.attr("id",K);H.addClass("percent-complete-text");H.html(I+"%");E.append(G);C.append(E);if(B.showPercentage){C.append(H)}}else{A("#"+D).css("width",I+"%");A("#"+K).html(I+"%")}}})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/jquery/jquery.selection.js' */ (function(A){if(document.selection){var B=function(C){return C.replace(/\u000D/g,"")};A.fn.selection=function(F){var E=this[0];this.focus();if(!E){return false}if(F==null){return document.selection.createRange().text}else{var D=E.scrollTop;var C=document.selection.createRange();C.text=F;C.select();E.focus();E.scrollTop=D}};A.fn.selectionRange=function(C,F){var G=this[0];this.focus();var I=document.selection.createRange();if(C==null){var K=this.val(),J=K.length,E=I.duplicate();E.moveToElementText(G);E.setEndPoint("StartToEnd",I);var D=J-B(E.text).length;E.setEndPoint("StartToStart",I);var H=J-B(E.text).length;if(D!=H&&K.charAt(D+1)=="\n"){D+=1}return{end:D,start:H,text:K.substring(H,D),textBefore:K.substring(0,H),textAfter:K.substring(D)}}else{I.moveToElementText(G);I.collapse(true);I.moveStart("character",C);I.moveEnd("character",F-C);I.select()}}}else{A.fn.selection=function(E){var D=this[0];if(!D){return false}if(E==null){if(D.setSelectionRange){return D.value.substring(D.selectionStart,D.selectionEnd)}else{return false}}else{var C=D.scrollTop;if(!!D.setSelectionRange){var F=D.selectionStart;D.value=D.value.substring(0,F)+E+D.value.substring(D.selectionEnd);D.selectionStart=F;D.selectionEnd=F+E.length}D.focus();D.scrollTop=C}};A.fn.selectionRange=function(F,C){if(F==null){var D={start:this[0].selectionStart,end:this[0].selectionEnd};var E=this.val();D.text=E.substring(D.start,D.end);D.textBefore=E.substring(0,D.start);D.textAfter=E.substring(D.end);return D}else{this[0].selectionStart=F;this[0].selectionEnd=C}}}A.fn.wrapSelection=function(C,D){this.selection(C+this.selection()+(D||""))}})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:internal-ajs-no-context-path', location = 'js/jquery/jquery.throbber.js' */ jQuery.fn.throbber=function(A){return function(){var C=[],B={isLatentThreshold:100,minThrobberDisplay:200,loadingClass:"loading"};A(document).ajaxComplete(function(E,D){A(C).each(function(F){if(D===this.get(0)){this.hideThrobber();C.splice(F,1)}})});return function(F){var E,G,D=function(I,H){D.t=setTimeout(function(){clearTimeout(D.t);D.t=undefined;I()},H)};F=A.extend(B,F||{});if(!F.target){return this}G=jQuery(F.target);C.push(A.extend(this,{showThrobber:function(){D(function(){if(!E){G.addClass(F.loadingClass);D(function(){if(E){E()}},F.minThrobberDisplay)}},F.isLatentThreshold)},hideThrobber:function(){E=function(){G.removeClass(F.loadingClass);if(F.end){F.end()}};if(!D.t){E()}}}));this.showThrobber();return this}}()}(jQuery);; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:ajs-AMD', location = '/static/lib/ajs-AMD.js' */ define("aui",function(){return window.AJS});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:jquery-AMD', location = '/static/lib/jquery-AMD.js' */ define("jquery",function(){return window.jQuery});; ;/* module-key = 'com.atlassian.auiplugin:aui-banner', location = '/js/aui/banner.js' */ (function(A){define("aui/banner",[],function(){return A(AJS,AJS.$,AJS.template)})})(function(E,A,I){var G="header";function F(J){var K=H(J);C();B(K);return K}function H(J){var L='<div class="aui-banner aui-banner-{type}" role="banner"><p class="aui-banner-title" role="heading">{title}</p>{body}</div>';var K=A(I(L).fill({type:"error",title:J.title||"","body:html":J.body||""}).toString());K.find(".aui-banner-title:empty").remove();return K}function C(){var K=D();var J=K.find(".aui-banner");J.get().forEach(function(L){var M=L.getAttribute("aria-hidden")==="true";if(M){A(L).remove()}})}function D(){return A("#"+G)}function B(J){var K=D();if(!K.length){throw new Error("You must implement the application header")}J.prependTo(K);E._internal.animation.recomputeStyle(J);J.attr("aria-hidden","false")}return F});; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/aui.soy' */ // This file was automatically generated from aui.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui. */ if (typeof aui == 'undefined') { var aui = {}; } aui.renderExtraAttributes = function(opt_data, opt_ignored) { opt_data = opt_data || {}; var output = ''; if (opt_data.extraAttributes) { if (Object.prototype.toString.call(opt_data.extraAttributes) === '[object Object]') { var attrList7 = soy.$$getMapKeys(opt_data.extraAttributes); var attrListLen7 = attrList7.length; for (var attrIndex7 = 0; attrIndex7 < attrListLen7; attrIndex7++) { var attrData7 = attrList7[attrIndex7]; output += ' ' + soy.$$escapeHtml(attrData7) + '="' + soy.$$escapeHtml(opt_data.extraAttributes[attrData7]) + '"'; } } else { output += ' ' + soy.$$filterNoAutoescape(opt_data.extraAttributes); } } return output; }; if (goog.DEBUG) { aui.renderExtraAttributes.soyTemplateName = 'aui.renderExtraAttributes'; } aui.renderExtraClasses = function(opt_data, opt_ignored) { opt_data = opt_data || {}; var output = ''; if (opt_data.extraClasses) { if ((opt_data.extraClasses) instanceof Array) { var classList23 = opt_data.extraClasses; var classListLen23 = classList23.length; for (var classIndex23 = 0; classIndex23 < classListLen23; classIndex23++) { var classData23 = classList23[classIndex23]; output += ' ' + soy.$$escapeHtml(classData23); } } else { output += ' ' + soy.$$escapeHtml(opt_data.extraClasses); } } return output; }; if (goog.DEBUG) { aui.renderExtraClasses.soyTemplateName = 'aui.renderExtraClasses'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/badges.soy' */ // This file was automatically generated from badges.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.badges. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.badges == 'undefined') { aui.badges = {}; } aui.badges.badge = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-badge' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$escapeHtml(opt_data.text) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + '>'; }; if (goog.DEBUG) { aui.badges.badge.soyTemplateName = 'aui.badges.badge'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/buttons.soy' */ // This file was automatically generated from buttons.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.buttons. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.buttons == 'undefined') { aui.buttons = {}; } aui.buttons.button = function(opt_data, opt_ignored) { var output = ''; if (opt_data.href) { output += '<a href="' + soy.$$escapeHtml(opt_data.href) + '"' + aui.buttons.buttonAttributes(soy.$$augmentMap(opt_data, {tagName: 'a'})) + '>' + aui.buttons.buttonIcon(opt_data) + ((opt_data.hasLabel) ? '<span class="aui-button-label">' : '') + soy.$$escapeHtml(opt_data.text) + ((opt_data.hasLabel) ? '</span>' : '') + '</a>'; } else if (opt_data.tagName == 'input') { output += '<input type="' + soy.$$escapeHtml(opt_data.inputType ? opt_data.inputType : 'button') + '" ' + aui.buttons.buttonAttributes(opt_data) + ' value="' + soy.$$escapeHtml(opt_data.text) + '" />'; } else { var theTagName__soy29 = opt_data.tagName ? opt_data.tagName : 'button'; output += '<' + soy.$$escapeHtml(theTagName__soy29) + aui.buttons.buttonAttributes(soy.$$augmentMap(opt_data, {tagName: theTagName__soy29})) + '>' + aui.buttons.buttonIcon(opt_data) + ((opt_data.hasLabel) ? '<span class="aui-button-label">' : '') + soy.$$escapeHtml(opt_data.text) + ((opt_data.hasLabel) ? '</span>' : '') + '</' + soy.$$escapeHtml(theTagName__soy29) + '>'; } return output; }; if (goog.DEBUG) { aui.buttons.button.soyTemplateName = 'aui.buttons.button'; } aui.buttons.buttons = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-buttons' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { aui.buttons.buttons.soyTemplateName = 'aui.buttons.buttons'; } aui.buttons.buttonAttributes = function(opt_data, opt_ignored) { opt_data = opt_data || {}; var output = ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-button' + ((opt_data.splitButtonType == 'main') ? ' aui-button-split-main' : '') + ((opt_data.dropdown2Target) ? ' aui-dropdown2-trigger' + ((opt_data.splitButtonType == 'more') ? ' aui-button-split-more' : '') : ''); switch (opt_data.type) { case 'primary': output += ' aui-button-primary'; break; case 'link': output += ' aui-button-link'; break; case 'subtle': output += ' aui-button-subtle'; break; } output += aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ((opt_data.isPressed) ? ' aria-pressed="' + soy.$$escapeHtml(opt_data.isPressed) + '"' : '') + ((opt_data.isDisabled) ? ' aria-disabled="' + soy.$$escapeHtml(opt_data.isDisabled) + '"' + ((opt_data.isDisabled == true) ? (opt_data.tagName == 'button' || opt_data.tagName == 'input') ? ' disabled="disabled" ' : '' : '') : '') + ((opt_data.dropdown2Target) ? ' aria-owns="' + soy.$$escapeHtml(opt_data.dropdown2Target) + '" aria-haspopup="true"' : '') + ((opt_data.tagName == 'a') ? ' tabindex="0"' : ''); return output; }; if (goog.DEBUG) { aui.buttons.buttonAttributes.soyTemplateName = 'aui.buttons.buttonAttributes'; } aui.buttons.buttonIcon = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '' + ((opt_data.iconType) ? '<span class="' + ((opt_data.iconType == 'aui') ? 'aui-icon' : '') + ((opt_data.iconClass) ? ' ' + soy.$$escapeHtml(opt_data.iconClass) : '') + '">' + ((opt_data.iconText) ? soy.$$escapeHtml(opt_data.iconText) + ' ' : '') + '</span>' : ''); }; if (goog.DEBUG) { aui.buttons.buttonIcon.soyTemplateName = 'aui.buttons.buttonIcon'; } aui.buttons.splitButton = function(opt_data, opt_ignored) { return '' + aui.buttons.button(soy.$$augmentMap(opt_data.splitButtonMain, {splitButtonType: 'main'})) + aui.buttons.button(soy.$$augmentMap(opt_data.splitButtonMore, {splitButtonType: 'more'})); }; if (goog.DEBUG) { aui.buttons.splitButton.soyTemplateName = 'aui.buttons.splitButton'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/dropdown.soy' */ // This file was automatically generated from dropdown.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.dropdown. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.dropdown == 'undefined') { aui.dropdown = {}; } aui.dropdown.trigger = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<a' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dd-trigger' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><span class="dropdown-text">' + ((opt_data.accessibilityText) ? soy.$$escapeHtml(opt_data.accessibilityText) : '') + '</span>' + ((! (opt_data.showIcon == false)) ? '<span class="icon icon-dropdown"></span>' : '') + '</a>'; }; if (goog.DEBUG) { aui.dropdown.trigger.soyTemplateName = 'aui.dropdown.trigger'; } aui.dropdown.menu = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'ul') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dropdown hidden' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'ul') + '>'; }; if (goog.DEBUG) { aui.dropdown.menu.soyTemplateName = 'aui.dropdown.menu'; } aui.dropdown.parent = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dd-parent' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.dropdown.parent.soyTemplateName = 'aui.dropdown.parent'; } aui.dropdown.item = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'li') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="dropdown-item' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><a href="' + soy.$$escapeHtml(opt_data.url ? opt_data.url : '#') + '">' + soy.$$escapeHtml(opt_data.text) + '</a></' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'li') + '>'; }; if (goog.DEBUG) { aui.dropdown.item.soyTemplateName = 'aui.dropdown.item'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/dropdown2.soy' */ // This file was automatically generated from dropdown2.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.dropdown2. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.dropdown2 == 'undefined') { aui.dropdown2 = {}; } aui.dropdown2.dropdown2 = function(opt_data, opt_ignored) { return '' + aui.dropdown2.trigger(soy.$$augmentMap(opt_data.trigger, {menu: opt_data.menu})) + aui.dropdown2.contents(opt_data.menu); }; if (goog.DEBUG) { aui.dropdown2.dropdown2.soyTemplateName = 'aui.dropdown2.dropdown2'; } aui.dropdown2.trigger = function(opt_data, opt_ignored) { return '' + aui.trigger.trigger(soy.$$augmentMap(opt_data, {extraClasses: 'aui-dropdown2-trigger' + aui.renderExtraClasses(opt_data)})); }; if (goog.DEBUG) { aui.dropdown2.trigger.soyTemplateName = 'aui.dropdown2.trigger'; } aui.dropdown2.contents = function(opt_data, opt_ignored) { return '<div id="' + soy.$$escapeHtml(opt_data.id) + '" class="aui-dropdown2' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; }; if (goog.DEBUG) { aui.dropdown2.contents.soyTemplateName = 'aui.dropdown2.contents'; } aui.dropdown2.section = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dropdown2-section' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.label) ? '<strong>' + soy.$$escapeHtml(opt_data.label) + '</strong>' : '') + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { aui.dropdown2.section.soyTemplateName = 'aui.dropdown2.section'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/form.soy' */ // This file was automatically generated from form.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.form. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.form == 'undefined') { aui.form = {}; } aui.form.form = function(opt_data, opt_ignored) { return '<form' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui' + ((opt_data.isUnsectioned) ? ' unsectioned' : '') + ((opt_data.isLongLabels) ? ' long-label' : '') + ((opt_data.isTopLabels) ? ' top-label' : '') + aui.renderExtraClasses(opt_data) + '" action="' + soy.$$escapeHtml(opt_data.action) + '" method="' + soy.$$escapeHtml(opt_data.method ? opt_data.method : 'post') + '"' + ((opt_data.enctype) ? ' enctype="' + soy.$$escapeHtml(opt_data.enctype) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</form>'; }; if (goog.DEBUG) { aui.form.form.soyTemplateName = 'aui.form.form'; } aui.form.formDescription = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="field-group' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { aui.form.formDescription.soyTemplateName = 'aui.form.formDescription'; } aui.form.fieldset = function(opt_data, opt_ignored) { var output = ''; var hasClass__soy51 = opt_data.isInline || opt_data.isDateSelect || opt_data.isGroup || opt_data.extraClasses; output += '<fieldset' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((hasClass__soy51) ? ' class="' + soy.$$escapeHtml(opt_data.isInline ? 'inline' : opt_data.isDateSelect ? 'date-select' : opt_data.isGroup ? 'group' : '') + aui.renderExtraClasses(opt_data) + '"' : '') + aui.renderExtraAttributes(opt_data) + '><legend><span>' + soy.$$filterNoAutoescape(opt_data.legendContent) + '</span></legend>' + soy.$$filterNoAutoescape(opt_data.content) + '</fieldset>'; return output; }; if (goog.DEBUG) { aui.form.fieldset.soyTemplateName = 'aui.form.fieldset'; } aui.form.fieldGroup = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="field-group' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { aui.form.fieldGroup.soyTemplateName = 'aui.form.fieldGroup'; } aui.form.buttons = function(opt_data, opt_ignored) { return '<div class="buttons-container' + ((opt_data.alignment) ? ' ' + soy.$$escapeHtml(opt_data.alignment) : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><div class="buttons">' + soy.$$filterNoAutoescape(opt_data.content) + '</div></div>'; }; if (goog.DEBUG) { aui.form.buttons.soyTemplateName = 'aui.form.buttons'; } aui.form.label = function(opt_data, opt_ignored) { return '<label' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.forField) ? ' for="' + soy.$$escapeHtml(opt_data.forField) + '"' : '') + ((opt_data.extraClasses) ? ' class="' + aui.renderExtraClasses(opt_data) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + ((opt_data.isRequired) ? '<span class="aui-icon icon-required"></span>' : '') + '</label>'; }; if (goog.DEBUG) { aui.form.label.soyTemplateName = 'aui.form.label'; } aui.form.input = function(opt_data, opt_ignored) { var output = ''; var baseType__soy126 = ''; switch (opt_data.type) { case 'password': case 'email': case 'url': case 'tel': case 'search': baseType__soy126 += 'text'; break; case 'submit': case 'reset': baseType__soy126 += 'button'; break; default: baseType__soy126 += soy.$$escapeHtml(opt_data.type); } output += '<input class="' + soy.$$escapeHtml(baseType__soy126) + aui.renderExtraClasses(opt_data) + ((opt_data.icon && baseType__soy126 == 'text') ? ' aui-field-has-icon' : '') + '" type="' + soy.$$escapeHtml(opt_data.type) + '" name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.value) ? ' value="' + soy.$$escapeHtml(opt_data.value) + '"' : '') + (((opt_data.type == 'checkbox' || opt_data.type == 'radio') && opt_data.isChecked) ? ' checked="checked"' : '') + ((baseType__soy126 == 'text' && opt_data.type != 'password' && opt_data.maxLength) ? ' maxlength="' + soy.$$escapeHtml(opt_data.maxLength) + '"' : '') + ((baseType__soy126 == 'text' && opt_data.type != 'password' && opt_data.size) ? ' size="' + soy.$$escapeHtml(opt_data.size) + '"' : '') + ((baseType__soy126 == 'text' && opt_data.placeholderText) ? ' placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + ((baseType__soy126 == 'text' && opt_data.autocomplete) ? ' autocomplete="' + soy.$$escapeHtml(opt_data.autocomplete) + '"' : '') + ((opt_data.isDisabled) ? ' disabled' : '') + ((opt_data.isAutofocus) ? ' autofocus' : '') + aui.renderExtraAttributes(opt_data) + aui.form.renderValidationArguments(opt_data) + aui.form.renderInfoMessage(opt_data) + aui.form.renderFieldComponentAttribute(opt_data) + aui.form.renderTooltipArguments(opt_data) + '/>' + ((opt_data.icon && baseType__soy126 == 'text') ? aui.icons.icon({icon: opt_data.icon, useIconFont: true, size: 'small'}) : ''); return output; }; if (goog.DEBUG) { aui.form.input.soyTemplateName = 'aui.form.input'; } aui.form.renderValidationArguments = function(opt_data, opt_ignored) { opt_data = opt_data || {}; var output = ''; if (opt_data.validationArguments) { var argumentList203 = soy.$$getMapKeys(opt_data.validationArguments); var argumentListLen203 = argumentList203.length; for (var argumentIndex203 = 0; argumentIndex203 < argumentListLen203; argumentIndex203++) { var argumentData203 = argumentList203[argumentIndex203]; output += ' ' + soy.$$escapeHtml('data-aui-validation-' + argumentData203) + '="' + soy.$$escapeHtml(opt_data.validationArguments[argumentData203]) + '"'; } } return output; }; if (goog.DEBUG) { aui.form.renderValidationArguments.soyTemplateName = 'aui.form.renderValidationArguments'; } aui.form.renderTooltipArguments = function(opt_data, opt_ignored) { opt_data = opt_data || {}; var output = ''; if (opt_data.tooltipArguments) { var argumentList213 = soy.$$getMapKeys(opt_data.tooltipArguments); var argumentListLen213 = argumentList213.length; for (var argumentIndex213 = 0; argumentIndex213 < argumentListLen213; argumentIndex213++) { var argumentData213 = argumentList213[argumentIndex213]; output += ' ' + soy.$$escapeHtml('data-aui-notification-' + argumentData213) + '="' + soy.$$escapeHtml(opt_data.tooltipArguments[argumentData213]) + '"'; } } return output; }; if (goog.DEBUG) { aui.form.renderTooltipArguments.soyTemplateName = 'aui.form.renderTooltipArguments'; } aui.form.renderInfoMessage = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '' + ((opt_data.infoMessage) ? ' data-aui-notification-info="' + soy.$$escapeHtml(opt_data.infoMessage) + '"' : ''); }; if (goog.DEBUG) { aui.form.renderInfoMessage.soyTemplateName = 'aui.form.renderInfoMessage'; } aui.form.renderFieldComponentAttribute = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '' + ((opt_data.infoMessage) ? ' data-aui-notification-field' : '') + ((opt_data.validationArguments) ? ' data-aui-validation-field' : ''); }; if (goog.DEBUG) { aui.form.renderFieldComponentAttribute.soyTemplateName = 'aui.form.renderFieldComponentAttribute'; } aui.form.submit = function(opt_data, opt_ignored) { return '' + aui.form.button(soy.$$augmentMap(opt_data, {tagName: 'input', inputType: 'submit'})); }; if (goog.DEBUG) { aui.form.submit.soyTemplateName = 'aui.form.submit'; } aui.form.button = function(opt_data, opt_ignored) { return '' + aui.buttons.button(soy.$$augmentMap(opt_data, {extraClasses: opt_data.extraClasses, extraAttributes: '' + ((opt_data.name) ? 'name="' + soy.$$escapeHtml(opt_data.name) + '"' : '') + aui.renderExtraAttributes(opt_data)})); }; if (goog.DEBUG) { aui.form.button.soyTemplateName = 'aui.form.button'; } aui.form.linkButton = function(opt_data, opt_ignored) { return '' + aui.buttons.button(soy.$$augmentMap(opt_data, {tagName: 'a', type: 'link', href: opt_data.href ? opt_data.href : opt_data.url, extraClasses: 'cancel' + aui.renderExtraClasses(opt_data), extraAttributes: '' + ((opt_data.name) ? 'name="' + soy.$$escapeHtml(opt_data.name) + '"' : '') + aui.renderExtraAttributes(opt_data)})); }; if (goog.DEBUG) { aui.form.linkButton.soyTemplateName = 'aui.form.linkButton'; } aui.form.textarea = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<textarea name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '" class="textarea' + aui.renderExtraClasses(opt_data) + ' ' + ((opt_data.icon) ? 'aui-field-has-icon' : '') + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.rows) ? ' rows="' + soy.$$escapeHtml(opt_data.rows) + '"' : '') + ((opt_data.cols) ? ' cols="' + soy.$$escapeHtml(opt_data.cols) + '"' : '') + ((opt_data.autocomplete) ? ' autocomplete="' + soy.$$escapeHtml(opt_data.autocomplete) + '"' : '') + ((opt_data.isDisabled) ? ' disabled' : '') + ((opt_data.isAutofocus) ? ' autofocus' : '') + ((opt_data.placeholderText) ? ' placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + aui.renderExtraAttributes(opt_data) + aui.form.renderValidationArguments(opt_data) + aui.form.renderInfoMessage(opt_data) + aui.form.renderFieldComponentAttribute(opt_data) + aui.form.renderTooltipArguments(opt_data) + '>' + ((opt_data.value) ? soy.$$escapeHtml(opt_data.value) : '') + '</textarea>' + ((opt_data.icon) ? aui.icons.icon({icon: opt_data.icon, useIconFont: true, size: 'small'}) : ''); }; if (goog.DEBUG) { aui.form.textarea.soyTemplateName = 'aui.form.textarea'; } aui.form.select = function(opt_data, opt_ignored) { var output = '<select' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '" class="' + soy.$$escapeHtml(opt_data.isMultiple ? 'multi-select' : 'select') + aui.renderExtraClasses(opt_data) + '"' + ((opt_data.size) ? ' size="' + soy.$$escapeHtml(opt_data.size) + '"' : '') + ((opt_data.isDisabled) ? ' disabled' : '') + ((opt_data.isAutofocus) ? ' autofocus' : '') + ((opt_data.isMultiple) ? ' multiple' : '') + aui.renderExtraAttributes(opt_data) + aui.form.renderValidationArguments(opt_data) + aui.form.renderInfoMessage(opt_data) + aui.form.renderFieldComponentAttribute(opt_data) + aui.form.renderTooltipArguments(opt_data) + '>'; var optionList367 = opt_data.options; var optionListLen367 = optionList367.length; for (var optionIndex367 = 0; optionIndex367 < optionListLen367; optionIndex367++) { var optionData367 = optionList367[optionIndex367]; output += aui.form.optionOrOptgroup(soy.$$augmentMap(optionData367, {defaultValue: opt_data.value})); } output += '</select>'; return output; }; if (goog.DEBUG) { aui.form.select.soyTemplateName = 'aui.form.select'; } aui.form.optionOrOptgroup = function(opt_data, opt_ignored) { var output = ''; if (opt_data.options) { output += '<optgroup label="' + soy.$$escapeHtml(opt_data.text) + '"' + ((opt_data.disabled) ? ' disabled' : '') + '>'; var optionList382 = opt_data.options; var optionListLen382 = optionList382.length; for (var optionIndex382 = 0; optionIndex382 < optionListLen382; optionIndex382++) { var optionData382 = optionList382[optionIndex382]; output += aui.form.optionOrOptgroup(soy.$$augmentMap(optionData382, {defaultValue: opt_data.defaultValue})); } output += '</optgroup>'; } else { output += '<option value="' + soy.$$escapeHtml(opt_data.value) + '"' + ((opt_data.selected || opt_data.defaultValue == opt_data.value) ? ' selected' : '') + ((opt_data.disabled) ? ' disabled' : '') + '>' + soy.$$escapeHtml(opt_data.text) + '</option>'; } return output; }; if (goog.DEBUG) { aui.form.optionOrOptgroup.soyTemplateName = 'aui.form.optionOrOptgroup'; } aui.form.value = function(opt_data, opt_ignored) { return '<span' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="field-value' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</span>'; }; if (goog.DEBUG) { aui.form.value.soyTemplateName = 'aui.form.value'; } aui.form.field = function(opt_data, opt_ignored) { opt_data = opt_data || {}; var output = ''; var isCheckboxOrRadio__soy416 = opt_data.type == 'checkbox' || opt_data.type == 'radio'; var fieldWidthClass__soy417 = opt_data.fieldWidth ? opt_data.fieldWidth + '-field' : ''; output += '<div class="' + ((isCheckboxOrRadio__soy416) ? soy.$$escapeHtml(opt_data.type) : 'field-group') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.labelContent && ! isCheckboxOrRadio__soy416) ? aui.form.label({forField: opt_data.id, isRequired: opt_data.isRequired, content: opt_data.labelContent}) : ''); switch (opt_data.type) { case 'textarea': output += aui.form.textarea({id: opt_data.id, name: opt_data.name, value: opt_data.value, rows: opt_data.rows, cols: opt_data.cols, autocomplete: opt_data.autocomplete, placeholderText: opt_data.placeholderText, isDisabled: opt_data.isDisabled ? true : false, isAutofocus: opt_data.isAutofocus, extraClasses: fieldWidthClass__soy417, icon: opt_data.icon, validationArguments: opt_data.validationArguments, infoMessage: opt_data.infoMessage, tooltipArguments: opt_data.tooltipArguments}); break; case 'select': output += aui.form.select({id: opt_data.id, name: opt_data.name, value: opt_data.value, options: opt_data.options, isMultiple: opt_data.isMultiple, size: opt_data.size, isDisabled: opt_data.isDisabled ? true : false, isAutofocus: opt_data.isAutofocus, extraClasses: fieldWidthClass__soy417, validationArguments: opt_data.validationArguments, infoMessage: opt_data.infoMessage, tooltipArguments: opt_data.tooltipArguments}); break; case 'value': output += aui.form.value({id: opt_data.id, content: '' + soy.$$escapeHtml(opt_data.value)}); break; case 'text': case 'password': case 'email': case 'url': case 'tel': case 'search': case 'file': case 'radio': case 'checkbox': case 'button': case 'submit': case 'reset': output += aui.form.input({id: opt_data.id, name: opt_data.name, type: opt_data.type, value: opt_data.value, maxLength: opt_data.maxLength, size: opt_data.size, autocomplete: opt_data.autocomplete, placeholderText: opt_data.placeholderText, isChecked: opt_data.isChecked, isDisabled: opt_data.isDisabled ? true : false, isAutofocus: opt_data.isAutofocus, extraClasses: fieldWidthClass__soy417, icon: opt_data.icon, validationArguments: opt_data.validationArguments, infoMessage: opt_data.infoMessage, tooltipArguments: opt_data.tooltipArguments}); break; } output += ((opt_data.labelContent && isCheckboxOrRadio__soy416) ? aui.form.label({forField: opt_data.id, isRequired: opt_data.isRequired, content: opt_data.labelContent}) : '') + ((opt_data.descriptionText || opt_data.descriptionContent) ? aui.form.fieldDescription({text: opt_data.descriptionText, content: opt_data.descriptionContent}) : ''); if (opt_data.errorTexts) { var errorList502 = opt_data.errorTexts; var errorListLen502 = errorList502.length; for (var errorIndex502 = 0; errorIndex502 < errorListLen502; errorIndex502++) { var errorData502 = errorList502[errorIndex502]; output += aui.form.fieldError({message: errorData502}); } } output += '</div>'; return output; }; if (goog.DEBUG) { aui.form.field.soyTemplateName = 'aui.form.field'; } aui.form.fieldError = function(opt_data, opt_ignored) { return '<div class="error' + aui.renderExtraClasses(opt_data) + '">' + soy.$$escapeHtml(opt_data.message) + '</div>'; }; if (goog.DEBUG) { aui.form.fieldError.soyTemplateName = 'aui.form.fieldError'; } aui.form.fieldDescription = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<div class="description' + aui.renderExtraClasses(opt_data) + '">' + ((opt_data.text) ? soy.$$escapeHtml(opt_data.text) : (opt_data.message) ? soy.$$escapeHtml(opt_data.message) : soy.$$filterNoAutoescape(opt_data.content)) + '</div>'; }; if (goog.DEBUG) { aui.form.fieldDescription.soyTemplateName = 'aui.form.fieldDescription'; } aui.form.textField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'text'})); }; if (goog.DEBUG) { aui.form.textField.soyTemplateName = 'aui.form.textField'; } aui.form.textareaField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'textarea'})); }; if (goog.DEBUG) { aui.form.textareaField.soyTemplateName = 'aui.form.textareaField'; } aui.form.passwordField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'password'})); }; if (goog.DEBUG) { aui.form.passwordField.soyTemplateName = 'aui.form.passwordField'; } aui.form.fileField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'file'})); }; if (goog.DEBUG) { aui.form.fileField.soyTemplateName = 'aui.form.fileField'; } aui.form.selectField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'select'})); }; if (goog.DEBUG) { aui.form.selectField.soyTemplateName = 'aui.form.selectField'; } aui.form.checkboxField = function(opt_data, opt_ignored) { var param547 = '' + ((opt_data.isMatrix) ? '<div class="matrix">' : ''); var fieldList551 = opt_data.fields; var fieldListLen551 = fieldList551.length; for (var fieldIndex551 = 0; fieldIndex551 < fieldListLen551; fieldIndex551++) { var fieldData551 = fieldList551[fieldIndex551]; param547 += aui.form.field(soy.$$augmentMap(fieldData551, {type: 'checkbox', labelContent: '' + soy.$$escapeHtml(fieldData551.labelText)})); } param547 += ((opt_data.isMatrix) ? '</div>' : '') + ((opt_data.descriptionText || opt_data.descriptionContent || opt_data.errorTexts && opt_data.errorTexts.length) ? aui.form.field({descriptionText: opt_data.descriptionText, descriptionContent: opt_data.descriptionContent, errorTexts: opt_data.errorTexts, isDisabled: false}) : ''); var output = '' + aui.form.fieldset({legendContent: opt_data.legendContent + (opt_data.isRequired ? '<span class="aui-icon icon-required"></span>' : ''), isGroup: true, id: opt_data.id, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: param547}); return output; }; if (goog.DEBUG) { aui.form.checkboxField.soyTemplateName = 'aui.form.checkboxField'; } aui.form.radioField = function(opt_data, opt_ignored) { var param574 = '' + ((opt_data.isMatrix) ? '<div class="matrix">' : ''); var fieldList578 = opt_data.fields; var fieldListLen578 = fieldList578.length; for (var fieldIndex578 = 0; fieldIndex578 < fieldListLen578; fieldIndex578++) { var fieldData578 = fieldList578[fieldIndex578]; param574 += aui.form.field(soy.$$augmentMap(fieldData578, {type: 'radio', name: opt_data.name ? opt_data.name : opt_data.id, labelContent: '' + soy.$$escapeHtml(fieldData578.labelText)})); } param574 += ((opt_data.isMatrix) ? '</div>' : '') + ((opt_data.descriptionText || opt_data.descriptionContent || opt_data.errorTexts && opt_data.errorTexts.length) ? aui.form.field({descriptionText: opt_data.descriptionText, descriptionContent: opt_data.descriptionContent, errorTexts: opt_data.errorTexts, isDisabled: false}) : ''); var output = '' + aui.form.fieldset({legendContent: opt_data.legendContent + (opt_data.isRequired ? '<span class="aui-icon icon-required"></span>' : ''), isGroup: true, id: opt_data.id, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: param574}); return output; }; if (goog.DEBUG) { aui.form.radioField.soyTemplateName = 'aui.form.radioField'; } aui.form.valueField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'value'})); }; if (goog.DEBUG) { aui.form.valueField.soyTemplateName = 'aui.form.valueField'; } aui.form.emailField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'email'})); }; if (goog.DEBUG) { aui.form.emailField.soyTemplateName = 'aui.form.emailField'; } aui.form.urlField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'url'})); }; if (goog.DEBUG) { aui.form.urlField.soyTemplateName = 'aui.form.urlField'; } aui.form.telephoneField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'tel'})); }; if (goog.DEBUG) { aui.form.telephoneField.soyTemplateName = 'aui.form.telephoneField'; } aui.form.searchField = function(opt_data, opt_ignored) { return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'search'})); }; if (goog.DEBUG) { aui.form.searchField.soyTemplateName = 'aui.form.searchField'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/group.soy' */ // This file was automatically generated from group.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.group. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.group == 'undefined') { aui.group = {}; } aui.group.group = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-group' + ((opt_data.isSplit) ? ' aui-group-split' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.group.group.soyTemplateName = 'aui.group.group'; } aui.group.item = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-item' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.group.item.soyTemplateName = 'aui.group.item'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/labels.soy' */ // This file was automatically generated from labels.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.labels. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.labels == 'undefined') { aui.labels = {}; } aui.labels.label = function(opt_data, opt_ignored) { return '' + ((opt_data.url && opt_data.isCloseable == true) ? '<span' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-label aui-label-closeable aui-label-split' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><a class="aui-label-split-main" href="' + soy.$$escapeHtml(opt_data.url) + '">' + soy.$$escapeHtml(opt_data.text) + '</a><span class="aui-label-split-close" >' + aui.labels.closeIcon(opt_data) + '</span></span>' : '<' + soy.$$escapeHtml(opt_data.url ? 'a' : 'span') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-label' + ((opt_data.isCloseable) ? ' aui-label-closeable' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ((opt_data.url) ? ' href="' + soy.$$escapeHtml(opt_data.url) + '"' : '') + '>' + soy.$$escapeHtml(opt_data.text) + ((opt_data.isCloseable) ? aui.labels.closeIcon(opt_data) : '') + '</' + soy.$$escapeHtml(opt_data.url ? 'a' : 'span') + '>'); }; if (goog.DEBUG) { aui.labels.label.soyTemplateName = 'aui.labels.label'; } aui.labels.closeIcon = function(opt_data, opt_ignored) { return '<span tabindex="0" class="aui-icon aui-icon-close"' + ((opt_data.hasTitle != false) ? ' title="' + aui.labels.closeIconText(opt_data) + '"' : '') + '>' + aui.labels.closeIconText(opt_data) + '</span>'; }; if (goog.DEBUG) { aui.labels.closeIcon.soyTemplateName = 'aui.labels.closeIcon'; } aui.labels.closeIconText = function(opt_data, opt_ignored) { return '' + ((opt_data.closeIconText) ? soy.$$escapeHtml(opt_data.closeIconText) : '(' + soy.$$escapeHtml("Remove") + ' ' + soy.$$escapeHtml(opt_data.text) + ')'); }; if (goog.DEBUG) { aui.labels.closeIconText.soyTemplateName = 'aui.labels.closeIconText'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/message.soy' */ // This file was automatically generated from message.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.message. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.message == 'undefined') { aui.message = {}; } aui.message.info = function(opt_data, opt_ignored) { return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'info'})); }; if (goog.DEBUG) { aui.message.info.soyTemplateName = 'aui.message.info'; } aui.message.warning = function(opt_data, opt_ignored) { return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'warning'})); }; if (goog.DEBUG) { aui.message.warning.soyTemplateName = 'aui.message.warning'; } aui.message.error = function(opt_data, opt_ignored) { return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'error'})); }; if (goog.DEBUG) { aui.message.error.soyTemplateName = 'aui.message.error'; } aui.message.success = function(opt_data, opt_ignored) { return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'success'})); }; if (goog.DEBUG) { aui.message.success.soyTemplateName = 'aui.message.success'; } aui.message.hint = function(opt_data, opt_ignored) { return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'hint'})); }; if (goog.DEBUG) { aui.message.hint.soyTemplateName = 'aui.message.hint'; } aui.message.generic = function(opt_data, opt_ignored) { return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'generic'})); }; if (goog.DEBUG) { aui.message.generic.soyTemplateName = 'aui.message.generic'; } aui.message.message = function(opt_data, opt_ignored) { var output = ''; var theTagName__soy21 = opt_data.tagName ? opt_data.tagName : 'div'; var theType__soy22 = opt_data.type ? opt_data.type : 'generic'; output += '<' + soy.$$escapeHtml(theTagName__soy21) + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-message aui-message-' + soy.$$escapeHtml(theType__soy22) + ' ' + soy.$$escapeHtml(theType__soy22) + ((opt_data.isCloseable) ? ' closeable' : '') + ((opt_data.isShadowed) ? ' shadowed' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.titleContent) ? '<p class="title"><strong>' + soy.$$filterNoAutoescape(opt_data.titleContent) + '</strong></p>' : '') + soy.$$filterNoAutoescape(opt_data.content) + ((opt_data.isCloseable) ? '<span class="aui-icon icon-close" role="button" tabindex="0"></span>' : '') + '</' + soy.$$escapeHtml(theTagName__soy21) + '>'; return output; }; if (goog.DEBUG) { aui.message.message.soyTemplateName = 'aui.message.message'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/page.soy' */ // This file was automatically generated from page.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.page. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.page == 'undefined') { aui.page = {}; } aui.page.document = function(opt_data, opt_ignored, opt_ijData) { return '<!DOCTYPE html><html lang="' + soy.$$escapeHtml(opt_ijData.language ? opt_ijData.language : 'en') + '">' + aui.page.documentHTMLContent(opt_data, null, opt_ijData) + '</html>'; }; if (goog.DEBUG) { aui.page.document.soyTemplateName = 'aui.page.document'; } aui.page.documentHTMLContent = function(opt_data, opt_ignored, opt_ijData) { var output = ''; var thePageSize__soy9 = opt_data.pageSize ? opt_data.pageSize : opt_data.focusedPageSize ? opt_data.focusedPageSize : 'xlarge'; output += '<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>' + soy.$$escapeHtml(opt_data.windowTitle) + '</title>' + ((opt_data.headContent) ? soy.$$filterNoAutoescape(opt_data.headContent) : '') + '</head><body' + ((opt_data.pageType) ? (opt_data.pageType == 'generic') ? (opt_data.extraClasses) ? ' class="' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' : '' : (opt_data.pageType == 'focused') ? ' class="aui-page-focused aui-page-focused-' + soy.$$escapeHtml(thePageSize__soy9) + ' aui-page-size-' + soy.$$escapeHtml(thePageSize__soy9) + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' : (opt_data.pageType == 'notification') ? ' class="aui-page-notification aui-page-size-' + soy.$$escapeHtml(thePageSize__soy9) + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' : (opt_data.pageType == 'sidebar') ? ' class="aui-page-sidebar' + soy.$$escapeHtml(opt_data.sidebarState ? ' aui-sidebar-' + opt_data.sidebarState : '') + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' : ' class="aui-page-' + soy.$$escapeHtml(opt_data.pageType) + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' : ' class="' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</body>'; return output; }; if (goog.DEBUG) { aui.page.documentHTMLContent.soyTemplateName = 'aui.page.documentHTMLContent'; } aui.page.page = function(opt_data, opt_ignored, opt_ijData) { return '<div id="page"><header id="header" role="banner">' + soy.$$filterNoAutoescape(opt_data.headerContent) + '</header><!-- #header --><section id="content" role="main">' + soy.$$filterNoAutoescape(opt_data.contentContent) + '</section><!-- #content --><footer id="footer" role="contentinfo">' + soy.$$filterNoAutoescape(opt_data.footerContent) + '</footer><!-- #footer --></div><!-- #page -->'; }; if (goog.DEBUG) { aui.page.page.soyTemplateName = 'aui.page.page'; } aui.page.header = function(opt_data, opt_ignored, opt_ijData) { return ((opt_data.bannerContent) ? '<div class="aui-banner aui-banner-error" role="banner">' + soy.$$filterNoAutoescape(opt_data.bannerContent) + '</div>' : '') + '<nav' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-header aui-dropdown2-trigger-group' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + aui.renderExtraAttributes(opt_data, null, opt_ijData) + ' role="navigation"><div class="aui-header-inner">' + ((opt_data.headerBeforeContent) ? '<div class="aui-header-before">' + soy.$$filterNoAutoescape(opt_data.headerBeforeContent) + '</div>' : '') + '<div class="aui-header-primary"><h1 id="logo" class="aui-header-logo' + ((opt_data.headerLogoImageUrl) ? ' aui-header-logo-custom' : (opt_data.logo) ? ' aui-header-logo-' + soy.$$escapeHtml(opt_data.logo) : '') + '"><a href="' + soy.$$escapeHtml(opt_data.headerLink ? opt_data.headerLink : '/') + '">' + ((opt_data.headerLogoImageUrl) ? '<img src="' + soy.$$escapeHtml(opt_data.headerLogoImageUrl) + '" alt="' + soy.$$escapeHtml(opt_data.headerLogoText) + '" />' : '<span class="aui-header-logo-device">' + soy.$$escapeHtml(opt_data.headerLogoText ? opt_data.headerLogoText : '') + '</span>') + ((opt_data.headerText) ? '<span class="aui-header-logo-text">' + soy.$$escapeHtml(opt_data.headerText) + '</span>' : '') + '</a></h1>' + ((opt_data.primaryNavContent) ? soy.$$filterNoAutoescape(opt_data.primaryNavContent) : '') + '</div>' + ((opt_data.secondaryNavContent) ? '<div class="aui-header-secondary">' + soy.$$filterNoAutoescape(opt_data.secondaryNavContent) + '</div>' : '') + ((opt_data.headerAfterContent) ? '<div class="aui-header-after">' + soy.$$filterNoAutoescape(opt_data.headerAfterContent) + '</div>' : '') + '</div><!-- .aui-header-inner--></nav><!-- .aui-header -->'; }; if (goog.DEBUG) { aui.page.header.soyTemplateName = 'aui.page.header'; } aui.page.pagePanel = function(opt_data, opt_ignored, opt_ijData) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ' class="aui-page-panel' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '><div class="aui-page-panel-inner">' + soy.$$filterNoAutoescape(opt_data.content) + '</div><!-- .aui-page-panel-inner --></' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '><!-- .aui-page-panel -->'; }; if (goog.DEBUG) { aui.page.pagePanel.soyTemplateName = 'aui.page.pagePanel'; } aui.page.pagePanelNav = function(opt_data, opt_ignored, opt_ijData) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ' class="aui-page-panel-nav' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '><!-- .aui-page-panel-nav -->'; }; if (goog.DEBUG) { aui.page.pagePanelNav.soyTemplateName = 'aui.page.pagePanelNav'; } aui.page.pagePanelContent = function(opt_data, opt_ignored, opt_ijData) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + ' class="aui-page-panel-content' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + '><!-- .aui-page-panel-content -->'; }; if (goog.DEBUG) { aui.page.pagePanelContent.soyTemplateName = 'aui.page.pagePanelContent'; } aui.page.pagePanelSidebar = function(opt_data, opt_ignored, opt_ijData) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'aside') + ' class="aui-page-panel-sidebar' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'aside') + '><!-- .aui-page-panel-sidebar -->'; }; if (goog.DEBUG) { aui.page.pagePanelSidebar.soyTemplateName = 'aui.page.pagePanelSidebar'; } aui.page.pagePanelItem = function(opt_data, opt_ignored, opt_ijData) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + ' class="aui-page-panel-item' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + '><!-- .aui-page-panel-item -->'; }; if (goog.DEBUG) { aui.page.pagePanelItem.soyTemplateName = 'aui.page.pagePanelItem'; } aui.page.pageHeader = function(opt_data, opt_ignored, opt_ijData) { return '<header class="aui-page-header' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '><div class="aui-page-header-inner">' + soy.$$filterNoAutoescape(opt_data.content) + '</div><!-- .aui-page-header-inner --></header><!-- .aui-page-header -->'; }; if (goog.DEBUG) { aui.page.pageHeader.soyTemplateName = 'aui.page.pageHeader'; } aui.page.pageHeaderImage = function(opt_data, opt_ignored, opt_ijData) { return '<div class="aui-page-header-image' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div><!-- .aui-page-header-image -->'; }; if (goog.DEBUG) { aui.page.pageHeaderImage.soyTemplateName = 'aui.page.pageHeaderImage'; } aui.page.pageHeaderMain = function(opt_data, opt_ignored, opt_ijData) { return '<div class="aui-page-header-main' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div><!-- .aui-page-header-main -->'; }; if (goog.DEBUG) { aui.page.pageHeaderMain.soyTemplateName = 'aui.page.pageHeaderMain'; } aui.page.pageHeaderActions = function(opt_data, opt_ignored, opt_ijData) { return '<div class="aui-page-header-actions' + aui.renderExtraClasses(opt_data, null, opt_ijData) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + aui.renderExtraAttributes(opt_data, null, opt_ijData) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div><!-- .aui-page-header-actions -->'; }; if (goog.DEBUG) { aui.page.pageHeaderActions.soyTemplateName = 'aui.page.pageHeaderActions'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/panel.soy' */ // This file was automatically generated from panel.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui. */ if (typeof aui == 'undefined') { var aui = {}; } aui.panel = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-panel' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.panel.soyTemplateName = 'aui.panel'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/table.soy' */ // This file was automatically generated from table.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui. */ if (typeof aui == 'undefined') { var aui = {}; } aui.table = function(opt_data, opt_ignored) { return '<table' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.columnsContent) ? soy.$$filterNoAutoescape(opt_data.columnsContent) : '') + ((opt_data.captionContent) ? '<caption>' + soy.$$filterNoAutoescape(opt_data.captionContent) + '</caption>' : '') + ((opt_data.theadContent) ? '<thead>' + soy.$$filterNoAutoescape(opt_data.theadContent) + '</thead>' : '') + ((opt_data.tfootContent) ? '<tfoot>' + soy.$$filterNoAutoescape(opt_data.tfootContent) + '</tfoot>' : '') + ((! opt_data.contentIncludesTbody) ? '<tbody>' : '') + soy.$$filterNoAutoescape(opt_data.content) + ((! opt_data.contentIncludesTbody) ? '</tbody>' : '') + '</table>'; }; if (goog.DEBUG) { aui.table.soyTemplateName = 'aui.table'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/tabs.soy' */ // This file was automatically generated from tabs.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui. */ if (typeof aui == 'undefined') { var aui = {}; } aui.tabs = function(opt_data, opt_ignored) { var output = '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-tabs ' + soy.$$escapeHtml(opt_data.isVertical ? 'vertical-tabs' : 'horizontal-tabs') + ((opt_data.isDisabled) ? ' aui-tabs-disabled' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><ul class="tabs-menu">'; var itemList19 = opt_data.menuItems; var itemListLen19 = itemList19.length; for (var itemIndex19 = 0; itemIndex19 < itemListLen19; itemIndex19++) { var itemData19 = itemList19[itemIndex19]; output += aui.tabMenuItem(itemData19); } output += '</ul>' + soy.$$filterNoAutoescape(opt_data.paneContent) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; return output; }; if (goog.DEBUG) { aui.tabs.soyTemplateName = 'aui.tabs'; } aui.tabMenuItem = function(opt_data, opt_ignored) { return '<li' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="menu-item' + ((opt_data.isActive) ? ' active-tab' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><a href="' + soy.$$escapeHtml(opt_data.url) + '"><strong>' + soy.$$escapeHtml(opt_data.text) + '</strong></a></li>'; }; if (goog.DEBUG) { aui.tabMenuItem.soyTemplateName = 'aui.tabMenuItem'; } aui.tabPane = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="tabs-pane' + ((opt_data.isActive) ? ' active-pane' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.tabPane.soyTemplateName = 'aui.tabPane'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/trigger.soy' */ // This file was automatically generated from trigger.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.trigger. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.trigger == 'undefined') { aui.trigger = {}; } aui.trigger.trigger = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'a') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="' + aui.renderExtraClasses(opt_data) + '" aria-owns="' + soy.$$escapeHtml(opt_data.menu.id) + '" aria-controls="' + soy.$$escapeHtml(opt_data.menu.id) + '" aria-haspopup="true"' + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + ((opt_data.container) ? ' data-container="' + soy.$$escapeHtml(opt_data.container) + '"' : '') + (((! opt_data.tagName || opt_data.tagName == 'a') && (! opt_data.extraAttributes || Object.prototype.toString.call(opt_data.extraAttributes) === '[object Object]' && ! opt_data.extraAttributes.href && ! opt_data.extraAttributes.tabindex)) ? ' tabindex="0"' : '') + ' data-aui-trigger' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + ((opt_data.text) ? soy.$$escapeHtml(opt_data.text) : '') + ((! (opt_data.showIcon == false)) ? '<span class="icon ' + soy.$$escapeHtml(opt_data.iconClasses ? opt_data.iconClasses : 'aui-icon-dropdown') + '">' + ((opt_data.iconText) ? soy.$$escapeHtml(opt_data.iconText) : '') + '</span>' : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'a') + '>'; }; if (goog.DEBUG) { aui.trigger.trigger.soyTemplateName = 'aui.trigger.trigger'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/toolbar.soy' */ // This file was automatically generated from toolbar.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.toolbar. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.toolbar == 'undefined') { aui.toolbar = {}; } aui.toolbar.toolbar = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-toolbar' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.toolbar.toolbar.soyTemplateName = 'aui.toolbar.toolbar'; } aui.toolbar.split = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="toolbar-split toolbar-split-' + soy.$$escapeHtml(opt_data.split) + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.toolbar.split.soyTemplateName = 'aui.toolbar.split'; } aui.toolbar.group = function(opt_data, opt_ignored) { return '<ul' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="toolbar-group' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</ul>'; }; if (goog.DEBUG) { aui.toolbar.group.soyTemplateName = 'aui.toolbar.group'; } aui.toolbar.item = function(opt_data, opt_ignored) { return '<li ' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="toolbar-item' + ((opt_data.isPrimary) ? ' primary' : '') + ((opt_data.isActive) ? ' active' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</li>'; }; if (goog.DEBUG) { aui.toolbar.item.soyTemplateName = 'aui.toolbar.item'; } aui.toolbar.trigger = function(opt_data, opt_ignored) { return '<a' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="toolbar-trigger' + aui.renderExtraClasses(opt_data) + '" href="' + soy.$$escapeHtml(opt_data.url ? opt_data.url : '#') + '"' + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</a>'; }; if (goog.DEBUG) { aui.toolbar.trigger.soyTemplateName = 'aui.toolbar.trigger'; } aui.toolbar.button = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '' + aui.toolbar.item({isActive: opt_data.isActive, isPrimary: opt_data.isPrimary, id: opt_data.id, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: '' + aui.toolbar.trigger({url: opt_data.url, title: opt_data.title, content: '' + ((opt_data.iconClass) ? '<span class="icon ' + soy.$$escapeHtml(opt_data.iconClass) + '"></span>' : '') + ((opt_data.text) ? '<span class="trigger-text">' + soy.$$escapeHtml(opt_data.text) + '</span>' : '')})}); }; if (goog.DEBUG) { aui.toolbar.button.soyTemplateName = 'aui.toolbar.button'; } aui.toolbar.link = function(opt_data, opt_ignored) { return '' + aui.toolbar.item({id: opt_data.id, extraClasses: 'toolbar-item-link' + aui.renderExtraClasses(opt_data), extraAttributes: opt_data.extraAttributes, content: '' + aui.toolbar.trigger({url: opt_data.url, content: '' + soy.$$escapeHtml(opt_data.text)})}); }; if (goog.DEBUG) { aui.toolbar.link.soyTemplateName = 'aui.toolbar.link'; } aui.toolbar.dropdownInternal = function(opt_data, opt_ignored) { return '' + aui.toolbar.item({isPrimary: opt_data.isPrimary, id: opt_data.id, extraClasses: '' + soy.$$filterNoAutoescape(opt_data.itemClass) + aui.renderExtraClasses(opt_data), extraAttributes: opt_data.extraAttributes, content: '' + ((opt_data.splitButtonContent) ? soy.$$filterNoAutoescape(opt_data.splitButtonContent) : '') + aui.dropdown.parent({content: '' + aui.dropdown.trigger({extraClasses: 'toolbar-trigger', accessibilityText: opt_data.text}) + aui.dropdown.menu({content: opt_data.dropdownItemsContent})})}); }; if (goog.DEBUG) { aui.toolbar.dropdownInternal.soyTemplateName = 'aui.toolbar.dropdownInternal'; } aui.toolbar.dropdown = function(opt_data, opt_ignored) { return '' + aui.toolbar.dropdownInternal({isPrimary: opt_data.isPrimary, id: opt_data.id, itemClass: 'toolbar-dropdown', extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, text: opt_data.text, dropdownItemsContent: opt_data.dropdownItemsContent}); }; if (goog.DEBUG) { aui.toolbar.dropdown.soyTemplateName = 'aui.toolbar.dropdown'; } aui.toolbar.splitButton = function(opt_data, opt_ignored) { return '' + aui.toolbar.dropdownInternal({isPrimary: opt_data.isPrimary, id: opt_data.id, itemClass: 'toolbar-splitbutton', extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, dropdownItemsContent: opt_data.dropdownItemsContent, splitButtonContent: '' + aui.toolbar.trigger({url: opt_data.url, content: '' + soy.$$escapeHtml(opt_data.text)})}); }; if (goog.DEBUG) { aui.toolbar.splitButton.soyTemplateName = 'aui.toolbar.splitButton'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/toolbar2.soy' */ // This file was automatically generated from toolbar2.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.toolbar2. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.toolbar2 == 'undefined') { aui.toolbar2 = {}; } aui.toolbar2.toolbar2 = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-toolbar2' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ' role="toolbar"><div class="aui-toolbar2-inner">' + soy.$$filterNoAutoescape(opt_data.content) + '</div></div>'; }; if (goog.DEBUG) { aui.toolbar2.toolbar2.soyTemplateName = 'aui.toolbar2.toolbar2'; } aui.toolbar2.item = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-toolbar2-' + soy.$$escapeHtml(opt_data.item) + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { aui.toolbar2.item.soyTemplateName = 'aui.toolbar2.item'; } aui.toolbar2.group = function(opt_data, opt_ignored) { return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-toolbar2-group' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { aui.toolbar2.group.soyTemplateName = 'aui.toolbar2.group'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/progress-tracker.soy' */ // This file was automatically generated from progress-tracker.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.progressTracker. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.progressTracker == 'undefined') { aui.progressTracker = {}; } aui.progressTracker.progressTracker = function(opt_data, opt_ignored) { var output = '<ol' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-progress-tracker' + ((opt_data.isInverted) ? ' aui-progress-tracker-inverted' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>'; var param18 = ''; var currentStepList19 = opt_data.steps; var currentStepListLen19 = currentStepList19.length; for (var currentStepIndex19 = 0; currentStepIndex19 < currentStepListLen19; currentStepIndex19++) { var currentStepData19 = currentStepList19[currentStepIndex19]; if (currentStepData19['isCurrent']) { var stepList22 = opt_data.steps; var stepListLen22 = stepList22.length; for (var stepIndex22 = 0; stepIndex22 < stepListLen22; stepIndex22++) { var stepData22 = stepList22[stepIndex22]; param18 += aui.progressTracker.step(soy.$$augmentMap(stepData22, {width: Math.round(100 / opt_data.steps.length * 10000) / 10000, href: stepIndex22 < currentStepIndex19 ? stepData22['href'] : null})); } } } output += aui.progressTracker.content({steps: opt_data.steps, content: param18}); output += '</ol>'; return output; }; if (goog.DEBUG) { aui.progressTracker.progressTracker.soyTemplateName = 'aui.progressTracker.progressTracker'; } aui.progressTracker.content = function(opt_data, opt_ignored) { var output = ''; if (opt_data.content != '') { output += soy.$$filterNoAutoescape(opt_data.content); } else { var stepList36 = opt_data.steps; var stepListLen36 = stepList36.length; for (var stepIndex36 = 0; stepIndex36 < stepListLen36; stepIndex36++) { var stepData36 = stepList36[stepIndex36]; output += aui.progressTracker.step(soy.$$augmentMap(stepData36, {isCurrent: stepIndex36 == 0, width: Math.round(100 / opt_data.steps.length * 10000) / 10000, href: null})); } } return output; }; if (goog.DEBUG) { aui.progressTracker.content.soyTemplateName = 'aui.progressTracker.content'; } aui.progressTracker.step = function(opt_data, opt_ignored) { return '<li' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-progress-tracker-step' + ((opt_data.isCurrent) ? ' aui-progress-tracker-step-current' : '') + aui.renderExtraClasses(opt_data) + '" style="width: ' + soy.$$escapeHtml(opt_data.width) + '%;"' + aui.renderExtraAttributes(opt_data) + '><' + soy.$$escapeHtml(opt_data.href ? 'a' : 'span') + ((opt_data.href) ? ' href="' + soy.$$escapeHtml(opt_data.href) + '"' : '') + '>' + soy.$$escapeHtml(opt_data.text) + '</' + soy.$$escapeHtml(opt_data.href ? 'a' : 'span') + '></li>'; }; if (goog.DEBUG) { aui.progressTracker.step.soyTemplateName = 'aui.progressTracker.step'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/expander.soy' */ // This file was automatically generated from expander.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.expander. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.expander == 'undefined') { aui.expander = {}; } aui.expander.content = function(opt_data, opt_ignored) { return '<div id="' + soy.$$escapeHtml(opt_data.id) + '" class="aui-expander-content' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ((opt_data.initiallyExpanded) ? ' aria-expanded="' + soy.$$escapeHtml(opt_data.initiallyExpanded) + '"' : '') + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; }; if (goog.DEBUG) { aui.expander.content.soyTemplateName = 'aui.expander.content'; } aui.expander.trigger = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tag ? opt_data.tag : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.replaceText) ? ' data-replace-text="' + soy.$$escapeHtml(opt_data.replaceText) + '"' : '') + ((opt_data.replaceSelector) ? ' data-replace-selector="' + soy.$$escapeHtml(opt_data.replaceSelector) + '"' : '') + ' class="aui-expander-trigger' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ' aria-controls="' + soy.$$escapeHtml(opt_data.contentId) + '"' + ((opt_data.collapsible) ? ' data-collapsible="' + soy.$$escapeHtml(opt_data.collapsible) + '"' : '') + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</' + soy.$$escapeHtml(opt_data.tag ? opt_data.tag : 'div') + '>'; }; if (goog.DEBUG) { aui.expander.trigger.soyTemplateName = 'aui.expander.trigger'; } aui.expander.revealText = function(opt_data, opt_ignored) { return '' + aui.expander.content({id: opt_data.contentId, content: '' + soy.$$escapeHtml(opt_data.contentContent) + aui.expander.trigger({id: opt_data.triggerId, contentId: opt_data.contentId, tag: 'a', content: '<span class=\'reveal-text-trigger-text\'>Show more</span>', replaceSelector: '.reveal-text-trigger-text', replaceText: 'Show less', extraAttributes: opt_data.triggerExtraAttributes, extraClasses: ((opt_data.triggerExtraClasses) ? soy.$$escapeHtml(opt_data.triggerExtraClasses) + ' ' : '') + ' aui-expander-reveal-text'}), extraAttributes: opt_data.contentExtraAttributes, extraClasses: opt_data.contentExtraClasses}); }; if (goog.DEBUG) { aui.expander.revealText.soyTemplateName = 'aui.expander.revealText'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/avatar.soy' */ // This file was automatically generated from avatar.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.avatar. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.avatar == 'undefined') { aui.avatar = {}; } aui.avatar.avatar = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-avatar aui-avatar-' + soy.$$escapeHtml(opt_data.size) + soy.$$escapeHtml(opt_data.isProject ? ' aui-avatar-project' : '') + soy.$$escapeHtml(opt_data.badgeContent ? ' aui-avatar-badged' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><span class="aui-avatar-inner"><img src="' + soy.$$escapeHtml(opt_data.avatarImageUrl) + '"' + ((opt_data.accessibilityText) ? ' alt="' + soy.$$escapeHtml(opt_data.accessibilityText) + '"' : '') + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + ((opt_data.imageClasses) ? ' class="' + soy.$$escapeHtml(opt_data.imageClasses) + '"' : '') + ' /></span>' + ((opt_data.badgeContent) ? soy.$$filterNoAutoescape(opt_data.badgeContent) : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + '>'; }; if (goog.DEBUG) { aui.avatar.avatar.soyTemplateName = 'aui.avatar.avatar'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/icons.soy' */ // This file was automatically generated from icons.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.icons. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.icons == 'undefined') { aui.icons = {}; } aui.icons.icon = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-icon' + ((opt_data.useIconFont) ? ' aui-icon-' + soy.$$escapeHtml(opt_data.size ? opt_data.size : 'small') : '') + ' aui' + soy.$$escapeHtml(opt_data.useIconFont ? '-iconfont' : '-icon') + soy.$$escapeHtml(opt_data.iconFontSet ? '-' + opt_data.iconFontSet : '') + '-' + soy.$$escapeHtml(opt_data.icon) + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.accessibilityText) ? soy.$$escapeHtml(opt_data.accessibilityText) : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + '>'; }; if (goog.DEBUG) { aui.icons.icon.soyTemplateName = 'aui.icons.icon'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/lozenges.soy' */ // This file was automatically generated from lozenges.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.lozenges. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.lozenges == 'undefined') { aui.lozenges = {}; } aui.lozenges.lozenge = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + ' class="aui-lozenge' + soy.$$escapeHtml(opt_data.type ? ' aui-lozenge-' + opt_data.type : '') + soy.$$escapeHtml(opt_data.isSubtle ? ' aui-lozenge-subtle' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.maxLength) ? soy.$$truncate(soy.$$escapeHtml(opt_data.text), opt_data.maxLength, true) : soy.$$escapeHtml(opt_data.text)) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + '>'; }; if (goog.DEBUG) { aui.lozenges.lozenge.soyTemplateName = 'aui.lozenges.lozenge'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-soy-templates', location = 'soy/sidebar.soy' */ // This file was automatically generated from sidebar.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.sidebar. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.sidebar == 'undefined') { aui.sidebar = {}; } aui.sidebar.sidebar = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.state) ? ' aria-expanded="' + ((opt_data.state == 'collapsed') ? 'false' : 'true') + '"' : '') + ' class="aui-sidebar ' + ((opt_data.isAnimated) ? 'aui-is-animated' : '') + aui.renderExtraClasses(opt_data) + '" ' + ((opt_data.isResponsive == false) ? 'data-aui-responsive="false"' : '') + aui.renderExtraAttributes(opt_data) + '><div class="aui-sidebar-wrapper"><div class="aui-sidebar-body">' + soy.$$filterNoAutoescape(opt_data.headerContent) + soy.$$filterNoAutoescape(opt_data.content) + '</div><div class="aui-sidebar-footer">' + ((opt_data.footerContent) ? soy.$$filterNoAutoescape(opt_data.footerContent) : (opt_data.settingsButtonUrl && opt_data.settingsText) ? '<a href="' + soy.$$escapeHtml(opt_data.settingsButtonUrl) + '" class="aui-button aui-button-subtle aui-sidebar-settings-button' + ((opt_data.isSettingsButtonSelected) ? ' aui-sidebar-settings-selected' : '') + '" data-tooltip="' + soy.$$escapeHtml(opt_data.settingsTooltip ? opt_data.settingsTooltip : opt_data.settingsText) + '"><span class="aui-icon aui-icon-small aui-iconfont-configure"></span><span class="aui-button-label">' + soy.$$escapeHtml(opt_data.settingsText) + '</span></a>' : '') + '<a class="aui-button aui-button-subtle aui-sidebar-toggle aui-sidebar-footer-tipsy" data-tooltip="' + soy.$$escapeHtml("Expand sidebar ( [ )") + '" href="#"><span class="aui-icon aui-icon-small"></span></a></div>' + ((opt_data.isResizable) ? '<div class="aui-sidebar-handle"></div>' : '') + '</div></' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { aui.sidebar.sidebar.soyTemplateName = 'aui.sidebar.sidebar'; } ; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-spinner', location = 'js-vendor/spin/spin.js' */ !function(I,K,A){var E=["webkit","Moz","ms","O"],P={},O;function G(Q,T){var R=K.createElement(Q||"div"),S;for(S in T){R[S]=T[S]}return R}function H(R){for(var Q=1,S=arguments.length;Q<S;Q++){R.appendChild(arguments[Q])}return R}var J=function(){var Q=G("style",{type:"text/css"});H(K.getElementsByTagName("head")[0],Q);return Q.sheet||Q.styleSheet}();function C(U,Q,V,Y){var R=["opacity",Q,~~(U*100),V,Y].join("-"),S=0.01+V/Y*100,X=Math.max(1-(1-U)/Q*(100-S),U),W=O.substring(0,O.indexOf("Animation")).toLowerCase(),T=W&&"-"+W+"-"||"";if(!P[R]){J.insertRule("@"+T+"keyframes "+R+"{0%{opacity:"+X+"}"+S+"%{opacity:"+U+"}"+(S+0.01)+"%{opacity:1}"+(S+Q)%100+"%{opacity:"+U+"}100%{opacity:"+X+"}}",J.cssRules.length);P[R]=1}return R}function N(T,U){var S=T.style,Q,R;if(S[U]!==A){return U}U=U.charAt(0).toUpperCase()+U.slice(1);for(R=0;R<E.length;R++){Q=E[R]+U;if(S[Q]!==A){return Q}}}function F(Q,S){for(var R in S){Q.style[N(Q,R)||R]=S[R]}return Q}function M(S){for(var Q=1;Q<arguments.length;Q++){var R=arguments[Q];for(var T in R){if(S[T]===A){S[T]=R[T]}}}return S}function L(Q){var R={x:Q.offsetLeft,y:Q.offsetTop};while((Q=Q.offsetParent)){R.x+=Q.offsetLeft,R.y+=Q.offsetTop}return R}var D={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",speed:1,trail:100,opacity:1/4,fps:20,zIndex:2000000000,className:"spinner",top:"auto",left:"auto",position:"relative"};var B=function B(Q){if(!this.spin){return new B(Q)}this.opts=M(Q||{},B.defaults,D)};B.defaults={};M(B.prototype,{spin:function(X){this.stop();var b=this,Q=b.opts,R=b.el=F(G(0,{className:Q.className}),{position:Q.position,width:0,zIndex:Q.zIndex}),a=Q.radius+Q.length+Q.width,c,Z;if(X){X.insertBefore(R,X.firstChild||null);Z=L(X);c=L(R);F(R,{left:(Q.left=="auto"?Z.x-c.x+(X.offsetWidth>>1):parseInt(Q.left,10)+a)+"px",top:(Q.top=="auto"?Z.y-c.y+(X.offsetHeight>>1):parseInt(Q.top,10)+a)+"px"})}R.setAttribute("aria-role","progressbar");b.lines(R,b.opts);if(!O){var U=0,S=Q.fps,W=S/Q.speed,V=(1-Q.opacity)/(W*Q.trail/100),Y=W/Q.lines;(function T(){U++;for(var d=Q.lines;d;d--){var e=Math.max(1-(U+d*Y)%W*V,Q.opacity);b.opacity(R,Q.lines-d,e,Q)}b.timeout=b.el&&setTimeout(T,~~(1000/S))})()}return b},stop:function(){var Q=this.el;if(Q){clearTimeout(this.timeout);if(Q.parentNode){Q.parentNode.removeChild(Q)}this.el=A}return this},lines:function(S,U){var R=0,Q;function T(V,W){return F(G(),{position:"absolute",width:(U.length+U.width)+"px",height:U.width+"px",background:V,boxShadow:W,transformOrigin:"left",transform:"rotate("+~~(360/U.lines*R+U.rotate)+"deg) translate("+U.radius+"px,0)",borderRadius:(U.corners*U.width>>1)+"px"})}for(;R<U.lines;R++){Q=F(G(),{position:"absolute",top:1+~(U.width/2)+"px",transform:U.hwaccel?"translate3d(0,0,0)":"",opacity:U.opacity,animation:O&&C(U.opacity,U.trail,R,U.lines)+" "+1/U.speed+"s linear infinite"});if(U.shadow){H(Q,F(T("#000","0 0 4px #000"),{top:2+"px"}))}H(S,H(Q,T(U.color,"0 0 1px rgba(0,0,0,.1)")))}return S},opacity:function(R,Q,S){if(Q<R.childNodes.length){R.childNodes[Q].style.opacity=S}}});(function(){function Q(T,S){return G("<"+T+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',S)}var R=F(G("group"),{behavior:"url(#default#VML)"});if(!N(R,"transform")&&R.adj){J.addRule(".spin-vml","behavior:url(#default#VML)");B.prototype.lines=function(U,T){var S=T.length+T.width,a=2*S;function Z(){return F(Q("group",{coordsize:a+" "+a,coordorigin:-S+" "+-S}),{width:a,height:a})}var V=-(T.width+T.length)*2+"px",Y=F(Z(),{position:"absolute",top:V,left:V}),X;function W(c,b,d){H(Y,H(F(Z(),{rotation:360/T.lines*c+"deg",left:~~b}),H(F(Q("roundrect",{arcsize:T.corners}),{width:S,height:T.width,left:T.radius,top:-T.width>>1,filter:d}),Q("fill",{color:T.color,opacity:T.opacity}),Q("stroke",{opacity:0}))))}if(T.shadow){for(X=1;X<=T.lines;X++){W(X,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)")}}for(X=1;X<=T.lines;X++){W(X)}return H(U,Y)};B.prototype.opacity=function(T,S,V,U){var W=T.firstChild;U=U.shadow&&U.lines||0;if(W&&S+U<W.childNodes.length){W=W.childNodes[S+U];W=W&&W.firstChild;W=W&&W.firstChild;if(W){W.opacity=V}}}}else{O=N(R,"animation")}})();if(typeof define=="function"){define("aui/internal/spin",[],function(){return B})}I.Spinner=B}(window,document);; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-spinner', location = 'js-vendor/jquery/jquery.spin.js' */ (function(A){A.fn.spin=function(E,D){var C,B;if(typeof E==="string"){if(!E in A.fn.spin.presets){throw new Error("Preset '"+E+"' isn't defined")}C=A.fn.spin.presets[E];B=D||{}}else{if(D){throw new Error("Invalid arguments. Accepted arguments:\n$.spin([String preset[, Object options]]),\n$.spin(Object options),\n$.spin(Boolean shouldSpin)")}C=A.fn.spin.presets.small;B=A.isPlainObject(E)?E:{}}if(window.Spinner){return this.each(function(){var G=A(this),F=G.data();if(F.spinner){F.spinner.stop();delete F.spinner}if(E===false){return }B=A.extend({color:G.css("color")},C,B);F.spinner=new Spinner(B).spin(this)})}else{throw"Spinner class not available."}};A.fn.spin.presets={small:{lines:12,length:3,width:2,radius:3,trail:60,speed:1.5},medium:{lines:12,length:5,width:3,radius:8,trail:60,speed:1.5},large:{lines:12,length:8,width:4,radius:10,trail:60,speed:1.5}};A.fn.spinStop=function(){if(window.Spinner){return this.each(function(){var C=A(this),B=C.data();if(B.spinner){B.spinner.stop();delete B.spinner}})}else{throw"Spinner class not available."}}})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:aui-tipsy', location = 'js-vendor/jquery/jquery.tipsy.js' */ (function(E){function D(H,G){return(typeof H=="function")?(H.call(G)):H}function F(G){while(G=G.parentNode){if(G==document){return true}}return false}var A=0;function B(){var G=A++;return"tipsyuid"+G}function C(H,G){this.$element=E(H);this.options=G;this.enabled=true;this.fixTitle()}C.prototype={show:function(){if(!F(this.$element[0])){return }var P=this.getTitle();if(P&&this.enabled){var I=this.tip();I.find(".tipsy-inner")[this.options.html?"html":"text"](P);I[0].className="tipsy";I.remove().css({top:0,left:0,visibility:"hidden",display:"block"}).prependTo(document.body);var L=this;function H(){L.hoverTooltip=true}function M(){if(L.hoverState=="in"){return }L.hoverTooltip=false;if(L.options.trigger!="manual"){var R=L.options.trigger=="hover"?"mouseleave.tipsy":"blur.tipsy";L.$element.trigger(R)}}if(this.options.hoverable){I.hover(H,M)}if(this.options.className){I.addClass(D(this.options.className,this.$element[0]))}var N=E.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight});var G=I[0].offsetWidth,K=I[0].offsetHeight,Q=D(this.options.gravity,this.$element[0]);var O;switch(Q.charAt(0)){case"n":O={top:N.top+N.height+this.options.offset,left:N.left+N.width/2-G/2};break;case"s":O={top:N.top-K-this.options.offset,left:N.left+N.width/2-G/2};break;case"e":O={top:N.top+N.height/2-K/2,left:N.left-G-this.options.offset};break;case"w":O={top:N.top+N.height/2-K/2,left:N.left+N.width+this.options.offset};break}if(Q.length==2){if(Q.charAt(1)=="w"){O.left=N.left+N.width/2-15}else{O.left=N.left+N.width/2-G+15}}I.css(O).addClass("tipsy-"+Q);I.find(".tipsy-arrow")[0].className="tipsy-arrow tipsy-arrow-"+Q.charAt(0);if(this.options.fade){I.stop().css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:this.options.opacity})}else{I.css({visibility:"visible",opacity:this.options.opacity})}if(this.options.aria){var J=B();I.attr("id",J);this.$element.attr("aria-describedby",J)}}},hide:function(){if(this.options.fade){this.tip().stop().fadeOut(function(){E(this).remove()})}else{this.tip().remove()}if(this.options.aria){this.$element.removeAttr("aria-describedby")}},fixTitle:function(){var G=this.$element;if(G.attr("title")||typeof (G.attr("original-title"))!="string"){G.attr("original-title",G.attr("title")||"").removeAttr("title")}},getTitle:function(){var I,G=this.$element,H=this.options;this.fixTitle();var I,H=this.options;if(typeof H.title=="string"){I=G.attr(H.title=="title"?"original-title":H.title)}else{if(typeof H.title=="function"){I=H.title.call(G[0])}}I=(""+I).replace(/(^\s*|\s*$)/,"");return I||H.fallback},tip:function(){if(!this.$tip){this.$tip=E('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>').attr("role","tooltip");this.$tip.data("tipsy-pointee",this.$element[0])}return this.$tip},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled}};E.fn.tipsy=function(J){if(J===true){return this.data("tipsy")}else{if(typeof J=="string"){var L=this.data("tipsy");if(L){L[J]()}return this}}J=E.extend({},E.fn.tipsy.defaults,J);if(J.hoverable){J.delayOut=J.delayOut||20}function I(N){var O=E.data(N,"tipsy");if(!O){O=new C(N,E.fn.tipsy.elementOptions(N,J));E.data(N,"tipsy",O)}return O}function M(){var N=I(this);N.hoverState="in";if(J.delayIn==0){N.show()}else{N.fixTitle();setTimeout(function(){if(N.hoverState=="in"){N.show()}},J.delayIn)}}function H(){var N=I(this);N.hoverState="out";if(J.delayOut==0){N.hide()}else{setTimeout(function(){if(N.hoverState=="out"&&!N.hoverTooltip){N.hide()}},J.delayOut)}}if(!J.live){this.each(function(){I(this)})}if(J.trigger!="manual"){var K=J.trigger=="hover"?"mouseenter.tipsy":"focus.tipsy",G=J.trigger=="hover"?"mouseleave.tipsy":"blur.tipsy";if(J.live){E(this.context).on(K,this.selector,M).on(G,this.selector,H)}else{this.bind(K,M).bind(G,H)}}return this};E.fn.tipsy.defaults={aria:false,className:null,delayIn:0,delayOut:0,fade:false,fallback:"",gravity:"n",html:false,live:false,hoverable:false,offset:0,opacity:0.8,title:"title",trigger:"hover"};E.fn.tipsy.revalidate=function(){E(".tipsy").each(function(){var G=E.data(this,"tipsy-pointee");if(!G||!F(G)){E(this).remove()}})};E.fn.tipsy.elementOptions=function(H,G){return E.metadata?E.extend({},G,E(H).metadata()):G};E.fn.tipsy.autoNS=function(){return E(this).offset().top>(E(document).scrollTop()+E(window).height()/2)?"s":"n"};E.fn.tipsy.autoWE=function(){return E(this).offset().left>(E(document).scrollLeft()+E(window).width()/2)?"e":"w"};E.fn.tipsy.autoBounds=function(H,G){return function(){var I={ns:G[0],ew:(G.length>1?G[1]:false)},L=E(document).scrollTop()+H,J=E(document).scrollLeft()+H,K=E(this);if(K.offset().top<L){I.ns="n"}if(K.offset().left<J){I.ew="w"}if(E(window).width()+E(document).scrollLeft()-K.offset().left<H){I.ew="e"}if(E(window).height()+E(document).scrollTop()-K.offset().top<H){I.ns="s"}return I.ns+(I.ew?I.ew:"")}}})(jQuery);; ;/* module-key = 'com.atlassian.auiplugin:aui-experimental-tooltips', location = 'js/aui-experimental-tooltip.js' */ (function(A){A.fn.tooltip=function(B){if(typeof B=="string"){this.tipsy(B);return C}var E=A.extend({},A.fn.tooltip.defaults,B),C=this.tipsy(E);if(E.hideOnClick&&(E.trigger=="hover"||!E.trigger&&this.tipsy.defaults.trigger=="hover")){var D=function(){A(this).tipsy("hide")};if(E.live){A(this.context).on("click.tipsy",this.selector,D)}else{this.bind("click.tipsy",D)}}return C};A.fn.tooltip.defaults={opacity:1,offset:1,delayIn:500,hoverable:true,hideOnClick:true}}(AJS.$));; ;/* module-key = 'com.atlassian.auiplugin:internal-aui-browser', location = 'js/aui/internal/browser.js' */ (function(A){AJS._internal=AJS._internal||{};AJS._internal.browser=A(AJS.$)})(function(B){var A={};var C=null;A.supportsCalc=function(){if(C===null){var D=B('<div style="height: 10px; height: -webkit-calc(20px + 0); height: calc(20px);"></div>');C=(20===D.appendTo(document.documentElement).height());D.remove()}return C};A.supportsRequestAnimationFrame=function(){return !!window.requestAnimationFrame};return A});; ;/* module-key = 'com.atlassian.auiplugin:dialog2', location = 'js/dialog2.js' */ (function(A){AJS.dialog2=A(AJS.$,AJS.layer,AJS._internal.widget)})(function(D,G,C){var F={"aui-focus":"false","aui-blanketed":"true"};function B(H){D.each(F,function(I,J){var K="data-"+I;if(!H[0].hasAttribute(K)){H.attr(K,J)}})}function A(H){if(H){this.$el=D(H)}else{this.$el=D(aui.dialog.dialog2({}))}B(this.$el)}A.prototype.on=function(I,H){G(this.$el).on(I,H);return this};A.prototype.off=function(I,H){G(this.$el).off(I,H);return this};A.prototype.show=function(){G(this.$el).show();return this};A.prototype.hide=function(){G(this.$el).hide();return this};A.prototype.remove=function(){G(this.$el).remove();return this};A.prototype.isVisible=function(){return G(this.$el).isVisible()};var E=C("dialog2",A);E.on=function(H,I){G.on(H,".aui-dialog2",I);return this};E.off=function(H,I){G.off(H,".aui-dialog2",I);return this};D(document).on("click",".aui-dialog2-header-close",function(H){H.preventDefault();E(D(this).closest(".aui-dialog2")).hide()});E.on("show",function(K,J){var I=[".aui-dialog2-content",".aui-dialog2-footer",".aui-dialog2-header"];var H;I.some(function(L){H=J.find(L+" :aui-tabbable");return H.length});H&&H.first().focus()});E.on("hide",function(J,I){var H=G(I);if(I.data("aui-remove-on-hide")){H.remove()}});return E});; ;/* module-key = 'com.atlassian.auiplugin:dialog2', location = 'soy/dialog2.soy' */ // This file was automatically generated from dialog2.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace aui.dialog. */ if (typeof aui == 'undefined') { var aui = {}; } if (typeof aui.dialog == 'undefined') { aui.dialog = {}; } aui.dialog.dialog2 = function(opt_data, opt_ignored) { return '' + aui.dialog.dialog2Chrome({id: opt_data.id, titleId: opt_data.id ? opt_data.id + '-dialog-title' : null, modal: opt_data.modal, tagName: opt_data.tagName, removeOnHide: opt_data.removeOnHide, visible: opt_data.visible, size: opt_data.size, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: '' + aui.dialog.dialog2Content({id: null, titleText: opt_data.titleText, titleContent: opt_data.titleContent, headerActionContent: opt_data.headerActionContent, headerSecondaryContent: opt_data.headerSecondaryContent, modal: opt_data.modal, content: opt_data.content, footerHintText: opt_data.footerHintText, footerHintContent: opt_data.footerHintContent, footerActionContent: opt_data.footerActionContent})}); }; if (goog.DEBUG) { aui.dialog.dialog2.soyTemplateName = 'aui.dialog.dialog2'; } aui.dialog.dialog2Chrome = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.titleId) ? ' aria-labelledby="' + soy.$$escapeHtml(opt_data.titleId) + '"' : '') + ' role="dialog" class=" aui-layer aui-dialog2 aui-dialog2-' + soy.$$escapeHtml(opt_data.size ? opt_data.size : 'medium') + aui.renderExtraClasses(opt_data) + '"' + ((opt_data.modal) ? 'data-aui-modal="true"' : '') + ((opt_data.removeOnHide) ? 'data-aui-remove-on-hide="true"' : '') + ((opt_data.visible != true) ? 'aria-hidden="true"' : '') + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + '>'; }; if (goog.DEBUG) { aui.dialog.dialog2Chrome.soyTemplateName = 'aui.dialog.dialog2Chrome'; } aui.dialog.dialog2Content = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '' + aui.dialog.dialog2Header({titleId: opt_data.id ? opt_data.id + '-dialog-title' : null, titleText: opt_data.titleText, titleContent: opt_data.titleContent, actionContent: opt_data.headerActionContent, secondaryContent: opt_data.headerSecondaryContent, modal: opt_data.modal}) + aui.dialog.dialog2Panel(opt_data) + aui.dialog.dialog2Footer({hintText: opt_data.footerHintText, hintContent: opt_data.footerHintContent, actionContent: opt_data.footerActionContent}); }; if (goog.DEBUG) { aui.dialog.dialog2Content.soyTemplateName = 'aui.dialog.dialog2Content'; } aui.dialog.dialog2Header = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<header' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dialog2-header' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><h2 ' + ((opt_data.titleId) ? ' id="' + soy.$$escapeHtml(opt_data.titleId) + '"' : '') + ' class="aui-dialog2-header-main">' + ((opt_data.titleText) ? soy.$$escapeHtml(opt_data.titleText) : '') + ((opt_data.titleContent) ? soy.$$filterNoAutoescape(opt_data.titleContent) : '') + '</h2>' + ((opt_data.actionContent) ? '<div class="aui-dialog2-header-actions">' + soy.$$filterNoAutoescape(opt_data.actionContent) + '</div>' : '') + ((opt_data.secondaryContent) ? '<div class="aui-dialog2-header-secondary">' + soy.$$filterNoAutoescape(opt_data.secondaryContent) + '</div>' : '') + ((opt_data.modal != true) ? '<a class="aui-dialog2-header-close"><span class="aui-icon aui-icon-small aui-iconfont-close-dialog">' + soy.$$escapeHtml("Close") + '</span></a>' : '') + '</header>'; }; if (goog.DEBUG) { aui.dialog.dialog2Header.soyTemplateName = 'aui.dialog.dialog2Header'; } aui.dialog.dialog2Footer = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<footer' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dialog2-footer' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.actionContent) ? '<div class="aui-dialog2-footer-actions">' + soy.$$filterNoAutoescape(opt_data.actionContent) + '</div>' : '') + ((opt_data.hintText || opt_data.hintContent) ? '<div class="aui-dialog2-footer-hint">' + ((opt_data.hintText) ? soy.$$escapeHtml(opt_data.hintText) : '') + ((opt_data.hintContent) ? soy.$$filterNoAutoescape(opt_data.hintContent) : '') + '</div>' : '') + '</footer>'; }; if (goog.DEBUG) { aui.dialog.dialog2Footer.soyTemplateName = 'aui.dialog.dialog2Footer'; } aui.dialog.dialog2Panel = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dialog2-content' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; }; if (goog.DEBUG) { aui.dialog.dialog2Panel.soyTemplateName = 'aui.dialog.dialog2Panel'; } ; ;/* module-key = 'com.atlassian.auiplugin:ajs-raf', location = 'js-vendor/raf/raf.js' */ (function(B){var C=0,F=["webkit","moz"],E=B.requestAnimationFrame,D=B.cancelAnimationFrame,A=F.length;while(--A>=0&&!E){E=B[F[A]+"RequestAnimationFrame"];D=B[F[A]+"CancelAnimationFrame"]}if(!E||!D){E=function(I){var H=Date.now(),G=Math.max(C+16,H);return setTimeout(function(){I(C=G)},G-H)};D=clearTimeout}B.requestAnimationFrame=E;B.cancelAnimationFrame=D}(window));; ;/* module-key = 'com.atlassian.auiplugin:modernizr-touch', location = 'js-vendor/modernizr/modernizr-touch.js' */ window.Modernizr=(function(L,P,G){var C="2.8.0",J={},Z=P.documentElement,a="modernizr",X=P.createElement(a),M=X.style,D,S={}.toString,U=" -webkit- -moz- -o- -ms- ".split(" "),H={},B={},Q={},W=[],R=W.slice,A,V=function(k,m,e,l){var d,j,g,h,c=P.createElement("div"),i=P.body,f=i||P.createElement("body");if(parseInt(e,10)){while(e--){g=P.createElement("div");g.id=l?l[e]:a+(e+1);c.appendChild(g)}}d=["­",'<style id="s',a,'">',k,"</style>"].join("");c.id=a;(i?c:f).innerHTML+=d;f.appendChild(c);if(!i){f.style.background="";f.style.overflow="hidden";h=Z.style.overflow;Z.style.overflow="hidden";Z.appendChild(f)}j=m(c,k);if(!i){f.parentNode.removeChild(f);Z.style.overflow=h}else{c.parentNode.removeChild(c)}return !!j},O=({}).hasOwnProperty,Y;if(!I(O,"undefined")&&!I(O.call,"undefined")){Y=function(c,d){return O.call(c,d)}}else{Y=function(c,d){return((d in c)&&I(c.constructor.prototype[d],"undefined"))}}if(!Function.prototype.bind){Function.prototype.bind=function b(e){var f=this;if(typeof f!="function"){throw new TypeError()}var c=R.call(arguments,1),d=function(){if(this instanceof d){var i=function(){};i.prototype=f.prototype;var h=new i();var g=f.apply(h,c.concat(R.call(arguments)));if(Object(g)===g){return g}return h}else{return f.apply(e,c.concat(R.call(arguments)))}};return d}}function N(c){M.cssText=c}function F(d,c){return N(U.join(d+";")+(c||""))}function I(d,c){return typeof d===c}function K(d,c){return !!~(""+d).indexOf(c)}function T(d,g,f){for(var c in d){var e=g[d[c]];if(e!==G){if(f===false){return d[c]}if(I(e,"function")){return e.bind(f||g)}return e}}return false}H.touch=function(){var c;if(("ontouchstart" in L)||L.DocumentTouch&&P instanceof DocumentTouch){c=true}else{V(["@media (",U.join("touch-enabled),("),a,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(d){c=d.offsetTop===9})}return c};for(var E in H){if(Y(H,E)){A=E.toLowerCase();J[A]=H[E]();W.push((J[A]?"":"no-")+A)}}J.addTest=function(d,e){if(typeof d=="object"){for(var c in d){if(Y(d,c)){J.addTest(c,d[c])}}}else{d=d.toLowerCase();if(J[d]!==G){return J}e=typeof e=="function"?e():e;if(typeof enableClasses!=="undefined"&&enableClasses){Z.className+=" "+(e?"":"no-")+d}J[d]=e}return J};N("");X=D=null;J._version=C;J._prefixes=U;J.testStyles=V;return J})(this,this.document);; ;/* module-key = 'com.atlassian.auiplugin:aui-sidebar', location = 'js/aui-sidebar.js' */ (function(E){var A=(typeof document.documentElement.style.transition!=="undefined")||(typeof document.documentElement.style.webkitTransition!=="undefined");function H(M){return M.offset().top}function I(M){this.$el=E(M);if(!this.$el.length){return }this.$body=E("body");this.$wrapper=this.$el.children(".aui-sidebar-wrapper");this.submenus=new K();this.$body.addClass("aui-page-sidebar");this._previousScrollTop=null;this._previousViewportHeight=null;this._previousViewportWidth=null;this._previousOffsetTop=null;L(this)}var D=1240;var F="_aui-internal-sidebar-";I.prototype.on=function(){var O=arguments[0];var N=Array.prototype.slice.call(arguments,1);var M=E.map(O.split(" "),function(P){return F+P}).join(" ");this.$el.on.apply(this.$el,[M].concat(N));return this};I.prototype.setHeight=function(P,N,M){var O=Math.max(0,M-P);this.$wrapper.height(N-O);return this};I.prototype.setPosition=function(M){M=M||window.pageYOffset;this.$wrapper.toggleClass("aui-is-docked",M>H(this.$el));return this};I.prototype.setCollapsedState=function(M){var Q={collapsed:{},expanded:{}};Q.collapsed.narrow={narrow:E.noop,wide:function(R){R._expand(M)}};Q.collapsed.wide={narrow:E.noop,wide:E.noop};Q.expanded.narrow={narrow:E.noop,wide:function(R){R.$body.removeClass("aui-sidebar-collapsed");R.$el.removeClass("aui-sidebar-fly-out")}};Q.expanded.wide={narrow:function(R){R.collapse()},wide:E.noop};var P=this.isCollapsed()?"collapsed":"expanded";var O=this.isViewportNarrow(this._previousViewportWidth)?"narrow":"wide";var N=this.isViewportNarrow(M)?"narrow":"wide";Q[P][O][N](this);return this};I.prototype.collapse=function(){if(this.isCollapsed()){return this}this.$el.trigger(E.Event(F+"collapse-start"));this.$body.addClass("aui-sidebar-collapsed");this.$el.attr("aria-expanded","false");this.$el.removeClass("aui-sidebar-fly-out");if(!this.isAnimated()){this.$el.trigger(E.Event(F+"collapse-end"))}return this};I.prototype._expand=function(M){this.$el.trigger(E.Event(F+"expand-start"));var N=this.isViewportNarrow(M);this.$el.attr("aria-expanded","true");this.$body.toggleClass("aui-sidebar-collapsed",N);this.$el.toggleClass("aui-sidebar-fly-out",N);if(!this.isAnimated()){this.$el.trigger(E.Event(F+"expand-end"))}return this};I.prototype.expand=function(){if(this.isCollapsed()){this._expand(this._previousViewportWidth)}return this};I.prototype.isAnimated=function(){return A&&this.$el.hasClass("aui-is-animated")};I.prototype.isCollapsed=function(){return this.$el.attr("aria-expanded")==="false"};I.prototype.isViewportNarrow=function(M){M=M===undefined?this._previousViewportWidth:M;return M<D};I.prototype.reflow=function(N,S,T,U){N=N===undefined?window.pageYOffset:N;S=S===undefined?document.documentElement.clientHeight:S;U=U===undefined?document.documentElement.scrollHeight:U;T=T===undefined?window.innerWidth:T;var O=H(this.$el);if(!(N===this._previousScrollTop&&S===this._previousViewportHeight&&O===this._previousOffsetTop)){if(!this.$body.hasClass("aui-page-sidebar-touch")&&N<=U-S){this.setHeight(N,S,O);this.setPosition(N)}}var P=this.$el.attr("data-aui-responsive")!=="false";if(P){var R=this._previousViewportWidth===null;if(R){if(!this.isCollapsed()&&this.isViewportNarrow(T)){var M=this.isAnimated();if(M){this.$el.removeClass("aui-is-animated")}this.collapse();if(M){this.$el[0].offsetHeight;this.$el.addClass("aui-is-animated")}}}else{if(T!==this._previousViewportWidth){this.setCollapsedState(T)}}}else{var Q=!this.isCollapsed()&&this.isViewportNarrow(T);this.$el.toggleClass("aui-sidebar-fly-out",Q)}this._previousScrollTop=N;this._previousViewportHeight=S;this._previousViewportWidth=T;this._previousOffsetTop=O;return this};I.prototype.toggle=function(){if(this.isCollapsed()){if(this.submenus.isShowing()){this.submenus.hide(this.expand.bind(this))}else{this.expand();E(".aui-sidebar-section-tooltip").remove()}}else{this.collapse()}return this};I.prototype.collapsedTriggersSelector=[".aui-sidebar-group:not(.aui-sidebar-group-tier-one)",".aui-sidebar-group.aui-sidebar-group-tier-one > .aui-nav > li > a",".aui-sidebar-footer > .aui-sidebar-settings-button"].join(", ");I.prototype.toggleSelector=".aui-sidebar-footer > .aui-sidebar-toggle";function K(){this.inlineDialog=AJS.InlineDialog(E(),"sidebar-submenu",this.inlineDialogShowHandler.bind(this),{noBind:true,addActiveClass:false,hideCallback:this.inlineDialogHideHandler.bind(this),gravity:"w",hideDelay:300,offsetY:function(M,P){var O=P.target.height()/2;var N=M.height()/2;return N-O-this.submenuHeadingHeight()}.bind(this),arrowOffsetY:function(M,P){var O=P.target.height()/2;var N=M.height()/2;return -N+this.submenuHeadingHeight()+O}.bind(this)});this.$trigger=null;this.$placeholder=null;this.$placeholderSubmenu=null;this.postHideCallback=null}K.prototype.submenu=function(M){return M.is("a")?M.next(".aui-nav"):M.children(".aui-nav, hr")};K.prototype.hasSubmenu=function(M){return this.submenu(M).length!==0};K.prototype.submenuHeadingHeight=function(){return 34};K.prototype.isShowing=function(){return this.$trigger!==null};K.prototype.show=function(O,N){var M=this.isShowing();this.inlineDialog.show(O,N);if(M){this.inlineDialog.refresh()}return this};K.prototype.hide=function(M){if(M!==undefined){this.postHideCallback=M}this.inlineDialog.hide();return this};var G='<div class="aui-sidebar-submenu"><div class="aui-navgroup aui-navgroup-vertical"><div class="aui-navgroup-inner"><div class="aui-nav-heading"><strong></strong></div></div></div></div>';K.prototype.inlineDialogShowHandler=function(M,N,Q){if(this.isShowing()){this.restoreSubmenu();this.$trigger.removeClass("active")}this.$trigger=E(N).is(".aui-sidebar-group")?E(N):E(N).closest("a");this.$trigger.addClass("active");var P=this.$trigger.is("a")?this.$trigger.text():this.$trigger.children(".aui-nav-heading").text();M.html(G);var O=M.find(".aui-navgroup-inner");O.children(".aui-nav-heading").attr("title",P).children("strong").text(P);this.moveSubmenuToInlineDialog(this.submenu(this.$trigger));Q()};K.prototype.inlineDialogHideHandler=function(){this.restoreSubmenu();this.$trigger.removeClass("active");this.$trigger=null;if(this.postHideCallback!==null){this.postHideCallback();this.postHideCallback=null}};K.prototype.moveSubmenuToInlineDialog=function(M){this.$placeholder=E("<!-- placholder -->");this.$placeholderSubmenu=M.clone(true);M.replaceWith(this.$placeholder);this.inlineDialog.find(".aui-navgroup-inner").append(this.$placeholderSubmenu);return this};K.prototype.restoreSubmenu=function(){this.$placeholder.replaceWith(this.$placeholderSubmenu);delete this.$placeholder;delete this.$placeholderSubmenu;return this};var B={trigger:"manual",gravity:"w",className:"aui-sidebar-section-tooltip",title:function(){var M=E(this);if(M.is("a")){return M.attr("title")||M.find(".aui-nav-item-label").text()||M.data("tooltip")}else{return M.children(".aui-nav").attr("title")||M.children(".aui-nav-heading").text()}}};function C(M){M.tipsy(B).tipsy("show");var N=M.data("tipsy")&&M.data("tipsy").$tip;if(N){N.css({opacity:""}).addClass("tooltip-shown")}}function J(M){var N=M.data("tipsy")&&M.data("tipsy").$tip;if(N){N.on("transitionend",function(){M.tipsy("hide")});N.removeClass("tooltip-shown")}}function L(O){var N=E(".aui-sidebar");if(!N.length){return }if(Modernizr.touch){E("body").addClass("aui-page-sidebar-touch")}var M=null;E(window).on("scroll resize",function(){if(M===null){M=requestAnimationFrame(function(){O.reflow();M=null})}});O.reflow();if(O.isAnimated()){O.$el.on("transitionend webkitTransitionEnd",function(){O.$el.trigger(E.Event(F+(O.isCollapsed()?"collapse-end":"expand-end")))})}O.$el.on("click",".aui-sidebar-toggle",function(P){P.preventDefault();O.toggle()});O.$el.on("click",".aui-sidebar-body",function(P){if(E(P.target).is(".aui-sidebar-body")){P.preventDefault();O.toggle()}});E(".aui-page-panel").click(function(P){if(!O.isCollapsed()&&O.isViewportNarrow()){O.collapse()}});AJS.whenIType("[").execute(function(){O.toggle()});O.$el.on("touchend",function(P){if(O.isCollapsed()){O.expand();P.preventDefault()}});O.$el.on("mouseenter focus",O.collapsedTriggersSelector,function(Q){if(!O.isCollapsed()){return }var P=E(this);if(O.submenus.hasSubmenu(P)){Q.preventDefault();O.submenus.show(Q,this)}else{if(P.hasClass("active")&&O.submenus.isShowing()){Q.stopImmediatePropagation()}else{O.submenus.hide();C(P)}}});O.$el.on("click blur mouseleave",O.collapsedTriggersSelector,function(P){if(!O.isCollapsed()){return }J(E(this))});O.$el.on("click",O.collapsedTriggersSelector,function(P){if(O.submenus.isShowing()){P.stopImmediatePropagation()}});O.$el.on("mouseenter focus",O.toggleSelector,function(){var P=E(this);if(O.isCollapsed()){P.data("tooltip","Expand sidebar ( [ )")}else{P.data("tooltip","Collapse sidebar ( [ )")}C(P)});O.$el.on("click blur mouseleave",O.toggleSelector,function(){J(E(this))});O.$el.find(".aui-sidebar-body").on("mouseenter mouseover mouseleave",function(P){O.$el.toggleClass("aui-is-hover",(P.type==="mouseover"||P.type==="mouseenter")&&!E(P.target).parentsUntil(O.$el).filter(".aui-page-header, .aui-navgroup").length);if(P.type==="mouseover"&&!E(P.target).closest("a").hasClass("active")){O.submenus.hide()}})}AJS.sidebar=AJS._internal.widget("sidebar",I);E(function(){AJS.sidebar(".aui-sidebar")})}(AJS.$));; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:eve-AMD', location = '/static/lib/eve-AMD.js' */ define("eve",function(){return window.eve});; ;/* module-key = 'com.atlassian.stash.stash-web-api:events', location = '/static/stash/api/util/events.js' */ define("stash/api/util/events",["eve"],function(B){var A={trigger:function(C,D){return B.apply(this,arguments)},on:function(C,D){return B.on(C,D)},off:function(C,D){return B.off(C,D)},once:function(C,D){return B.once(C,D)},listeners:function(C){return B.listeners(C)},name:function(C){return B.nt(C)},chain:function(){return this.chainWith(this)},chainWith:function(E){var C=[];var D={on:function(G,F){var H=arguments;E.on.apply(E,H);C.push(function(){E.off.apply(E,H)});return this},once:function(G,F){var H=function(){E.off(G,H);return F.apply(this,arguments)};E.on(G,H);C.push(function(){E.off(G,H)});return this},destroy:function(){for(var F=0;F<C.length;F++){C[F]()}C=[]}};return D}};return A});; ;/* module-key = 'com.atlassian.auiplugin:ajs-underscorejs', location = 'js-vendor/underscorejs/underscore.js' */ (function(){var W=this;var K=W._;var d={};var c=Array.prototype,F=Object.prototype,R=Function.prototype;var h=c.push,O=c.slice,Y=c.concat,D=F.toString,J=F.hasOwnProperty;var l=c.forEach,Q=c.map,e=c.reduce,C=c.reduceRight,B=c.filter,b=c.every,P=c.some,N=c.indexOf,L=c.lastIndexOf,U=Array.isArray,E=Object.keys,f=R.bind;var m=function(n){if(n instanceof m){return n}if(!(this instanceof m)){return new m(n)}this._wrapped=n};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports){exports=module.exports=m}exports._=m}else{W._=m}m.VERSION="1.5.2";var i=m.each=m.forEach=function(s,p,o){if(s==null){return }if(l&&s.forEach===l){s.forEach(p,o)}else{if(s.length===+s.length){for(var n=0,r=s.length;n<r;n++){if(p.call(o,s[n],n,s)===d){return }}}else{var q=m.keys(s);for(var n=0,r=q.length;n<r;n++){if(p.call(o,s[q[n]],q[n],s)===d){return }}}}};m.map=m.collect=function(q,p,o){var n=[];if(q==null){return n}if(Q&&q.map===Q){return q.map(p,o)}i(q,function(t,r,s){n.push(p.call(o,t,r,s))});return n};var G="Reduce of empty array with no initial value";m.reduce=m.foldl=m.inject=function(r,q,n,p){var o=arguments.length>2;if(r==null){r=[]}if(e&&r.reduce===e){if(p){q=m.bind(q,p)}return o?r.reduce(q,n):r.reduce(q)}i(r,function(u,s,t){if(!o){n=u;o=true}else{n=q.call(p,n,u,s,t)}});if(!o){throw new TypeError(G)}return n};m.reduceRight=m.foldr=function(t,q,n,p){var o=arguments.length>2;if(t==null){t=[]}if(C&&t.reduceRight===C){if(p){q=m.bind(q,p)}return o?t.reduceRight(q,n):t.reduceRight(q)}var s=t.length;if(s!==+s){var r=m.keys(t);s=r.length}i(t,function(w,u,v){u=r?r[--s]:--s;if(!o){n=t[u];o=true}else{n=q.call(p,n,t[u],u,v)}});if(!o){throw new TypeError(G)}return n};m.find=m.detect=function(q,p,o){var n;a(q,function(t,r,s){if(p.call(o,t,r,s)){n=t;return true}});return n};m.filter=m.select=function(q,p,o){var n=[];if(q==null){return n}if(B&&q.filter===B){return q.filter(p,o)}i(q,function(t,r,s){if(p.call(o,t,r,s)){n.push(t)}});return n};m.reject=function(p,o,n){return m.filter(p,function(s,q,r){return !o.call(n,s,q,r)},n)};m.every=m.all=function(q,p,o){p||(p=m.identity);var n=true;if(q==null){return n}if(b&&q.every===b){return q.every(p,o)}i(q,function(t,r,s){if(!(n=n&&p.call(o,t,r,s))){return d}});return !!n};var a=m.some=m.any=function(q,p,o){p||(p=m.identity);var n=false;if(q==null){return n}if(P&&q.some===P){return q.some(p,o)}i(q,function(t,r,s){if(n||(n=p.call(o,t,r,s))){return d}});return !!n};m.contains=m.include=function(o,n){if(o==null){return false}if(N&&o.indexOf===N){return o.indexOf(n)!=-1}return a(o,function(p){return p===n})};m.invoke=function(p,q){var n=O.call(arguments,2);var o=m.isFunction(q);return m.map(p,function(r){return(o?q:r[q]).apply(r,n)})};m.pluck=function(o,n){return m.map(o,function(p){return p[n]})};m.where=function(o,n,p){if(m.isEmpty(n)){return p?void 0:[]}return m[p?"find":"filter"](o,function(r){for(var q in n){if(n[q]!==r[q]){return false}}return true})};m.findWhere=function(o,n){return m.where(o,n,true)};m.max=function(q,p,o){if(!p&&m.isArray(q)&&q[0]===+q[0]&&q.length<65535){return Math.max.apply(Math,q)}if(!p&&m.isEmpty(q)){return -Infinity}var n={computed:-Infinity,value:-Infinity};i(q,function(u,r,t){var s=p?p.call(o,u,r,t):u;s>n.computed&&(n={value:u,computed:s})});return n.value};m.min=function(q,p,o){if(!p&&m.isArray(q)&&q[0]===+q[0]&&q.length<65535){return Math.min.apply(Math,q)}if(!p&&m.isEmpty(q)){return Infinity}var n={computed:Infinity,value:Infinity};i(q,function(u,r,t){var s=p?p.call(o,u,r,t):u;s<n.computed&&(n={value:u,computed:s})});return n.value};m.shuffle=function(q){var p;var o=0;var n=[];i(q,function(r){p=m.random(o++);n[o-1]=n[p];n[p]=r});return n};m.sample=function(p,q,o){if(arguments.length<2||o){return p[m.random(p.length-1)]}return m.shuffle(p).slice(0,Math.max(0,q))};var A=function(n){return m.isFunction(n)?n:function(o){return o[n]}};m.sortBy=function(q,p,n){var o=A(p);return m.pluck(m.map(q,function(t,r,s){return{value:t,index:r,criteria:o.call(n,t,r,s)}}).sort(function(u,t){var s=u.criteria;var r=t.criteria;if(s!==r){if(s>r||s===void 0){return 1}if(s<r||r===void 0){return -1}}return u.index-t.index}),"value")};var T=function(n){return function(s,r,p){var o={};var q=r==null?m.identity:A(r);i(s,function(v,t){var u=q.call(p,v,t,s);n(o,u,v)});return o}};m.groupBy=T(function(n,o,p){(m.has(n,o)?n[o]:(n[o]=[])).push(p)});m.indexBy=T(function(n,o,p){n[o]=p});m.countBy=T(function(n,o){m.has(n,o)?n[o]++:n[o]=1});m.sortedIndex=function(u,t,q,p){q=q==null?m.identity:A(q);var s=q.call(p,t);var n=0,r=u.length;while(n<r){var o=(n+r)>>>1;q.call(p,u[o])<s?n=o+1:r=o}return n};m.toArray=function(n){if(!n){return[]}if(m.isArray(n)){return O.call(n)}if(n.length===+n.length){return m.map(n,m.identity)}return m.values(n)};m.size=function(n){if(n==null){return 0}return(n.length===+n.length)?n.length:m.keys(n).length};m.first=m.head=m.take=function(q,p,o){if(q==null){return void 0}return(p==null)||o?q[0]:O.call(q,0,p)};m.initial=function(q,p,o){return O.call(q,0,q.length-((p==null)||o?1:p))};m.last=function(q,p,o){if(q==null){return void 0}if((p==null)||o){return q[q.length-1]}else{return O.call(q,Math.max(q.length-p,0))}};m.rest=m.tail=m.drop=function(q,p,o){return O.call(q,(p==null)||o?1:p)};m.compact=function(n){return m.filter(n,m.identity)};var X=function(o,p,n){if(p&&m.every(o,m.isArray)){return Y.apply(n,o)}i(o,function(q){if(m.isArray(q)||m.isArguments(q)){p?h.apply(n,q):X(q,p,n)}else{n.push(q)}});return n};m.flatten=function(o,n){return X(o,n,[])};m.without=function(n){return m.difference(n,O.call(arguments,1))};m.uniq=m.unique=function(t,s,r,q){if(m.isFunction(s)){q=r;r=s;s=false}var o=r?m.map(t,r,q):t;var p=[];var n=[];i(o,function(v,u){if(s?(!u||n[n.length-1]!==v):!m.contains(n,v)){n.push(v);p.push(t[u])}});return p};m.union=function(){return m.uniq(m.flatten(arguments,true))};m.intersection=function(o){var n=O.call(arguments,1);return m.filter(m.uniq(o),function(p){return m.every(n,function(q){return m.indexOf(q,p)>=0})})};m.difference=function(o){var n=Y.apply(c,O.call(arguments,1));return m.filter(o,function(p){return !m.contains(n,p)})};m.zip=function(){var p=m.max(m.pluck(arguments,"length").concat(0));var o=new Array(p);for(var n=0;n<p;n++){o[n]=m.pluck(arguments,""+n)}return o};m.object=function(r,o){if(r==null){return{}}var n={};for(var p=0,q=r.length;p<q;p++){if(o){n[r[p]]=o[p]}else{n[r[p][0]]=r[p][1]}}return n};m.indexOf=function(r,p,q){if(r==null){return -1}var n=0,o=r.length;if(q){if(typeof q=="number"){n=(q<0?Math.max(0,o+q):q)}else{n=m.sortedIndex(r,p);return r[n]===p?n:-1}}if(N&&r.indexOf===N){return r.indexOf(p,q)}for(;n<o;n++){if(r[n]===p){return n}}return -1};m.lastIndexOf=function(r,p,q){if(r==null){return -1}var n=q!=null;if(L&&r.lastIndexOf===L){return n?r.lastIndexOf(p,q):r.lastIndexOf(p)}var o=(n?q:r.length);while(o--){if(r[o]===p){return o}}return -1};m.range=function(s,p,r){if(arguments.length<=1){p=s||0;s=0}r=arguments[2]||1;var q=Math.max(Math.ceil((p-s)/r),0);var n=0;var o=new Array(q);while(n<q){o[n++]=s;s+=r}return o};var g=function(){};m.bind=function(q,o){var n,p;if(f&&q.bind===f){return f.apply(q,O.call(arguments,1))}if(!m.isFunction(q)){throw new TypeError}n=O.call(arguments,2);return p=function(){if(!(this instanceof p)){return q.apply(o,n.concat(O.call(arguments)))}g.prototype=q.prototype;var s=new g;g.prototype=null;var r=q.apply(s,n.concat(O.call(arguments)));if(Object(r)===r){return r}return s}};m.partial=function(o){var n=O.call(arguments,1);return function(){return o.apply(this,n.concat(O.call(arguments)))}};m.bindAll=function(o){var n=O.call(arguments,1);if(n.length===0){throw new Error("bindAll must be passed function names")}i(n,function(p){o[p]=m.bind(o[p],o)});return o};m.memoize=function(p,o){var n={};o||(o=m.identity);return function(){var q=o.apply(this,arguments);return m.has(n,q)?n[q]:(n[q]=p.apply(this,arguments))}};m.delay=function(o,p){var n=O.call(arguments,2);return setTimeout(function(){return o.apply(null,n)},p)};m.defer=function(n){return m.delay.apply(m,[n,1].concat(O.call(arguments,1)))};m.throttle=function(o,q,u){var n,s,v;var t=null;var r=0;u||(u={});var p=function(){r=u.leading===false?0:new Date;t=null;v=o.apply(n,s)};return function(){var w=new Date;if(!r&&u.leading===false){r=w}var x=q-(w-r);n=this;s=arguments;if(x<=0){clearTimeout(t);t=null;r=w;v=o.apply(n,s)}else{if(!t&&u.trailing!==false){t=setTimeout(p,x)}}return v}};m.debounce=function(r,u,o){var t,p,q,s,n;return function(){q=this;p=arguments;s=new Date();var w=function(){var x=(new Date())-s;if(x<u){t=setTimeout(w,u-x)}else{t=null;if(!o){n=r.apply(q,p)}}};var v=o&&!t;if(!t){t=setTimeout(w,u)}if(v){n=r.apply(q,p)}return n}};m.once=function(p){var n=false,o;return function(){if(n){return o}n=true;o=p.apply(this,arguments);p=null;return o}};m.wrap=function(n,o){return function(){var p=[n];h.apply(p,arguments);return o.apply(this,p)}};m.compose=function(){var n=arguments;return function(){var o=arguments;for(var p=n.length-1;p>=0;p--){o=[n[p].apply(this,o)]}return o[0]}};m.after=function(o,n){return function(){if(--o<1){return n.apply(this,arguments)}}};m.keys=E||function(p){if(p!==Object(p)){throw new TypeError("Invalid object")}var o=[];for(var n in p){if(m.has(p,n)){o.push(n)}}return o};m.values=function(r){var q=m.keys(r);var p=q.length;var n=new Array(p);for(var o=0;o<p;o++){n[o]=r[q[o]]}return n};m.pairs=function(r){var p=m.keys(r);var o=p.length;var q=new Array(o);for(var n=0;n<o;n++){q[n]=[p[n],r[p[n]]]}return q};m.invert=function(r){var n={};var q=m.keys(r);for(var o=0,p=q.length;o<p;o++){n[r[q[o]]]=q[o]}return n};m.functions=m.methods=function(p){var o=[];for(var n in p){if(m.isFunction(p[n])){o.push(n)}}return o.sort()};m.extend=function(n){i(O.call(arguments,1),function(o){if(o){for(var p in o){n[p]=o[p]}}});return n};m.pick=function(o){var p={};var n=Y.apply(c,O.call(arguments,1));i(n,function(q){if(q in o){p[q]=o[q]}});return p};m.omit=function(p){var q={};var o=Y.apply(c,O.call(arguments,1));for(var n in p){if(!m.contains(o,n)){q[n]=p[n]}}return q};m.defaults=function(n){i(O.call(arguments,1),function(o){if(o){for(var p in o){if(n[p]===void 0){n[p]=o[p]}}}});return n};m.clone=function(n){if(!m.isObject(n)){return n}return m.isArray(n)?n.slice():m.extend({},n)};m.tap=function(o,n){n(o);return o};var j=function(u,t,o,p){if(u===t){return u!==0||1/u==1/t}if(u==null||t==null){return u===t}if(u instanceof m){u=u._wrapped}if(t instanceof m){t=t._wrapped}var r=D.call(u);if(r!=D.call(t)){return false}switch(r){case"[object String]":return u==String(t);case"[object Number]":return u!=+u?t!=+t:(u==0?1/u==1/t:u==+t);case"[object Date]":case"[object Boolean]":return +u==+t;case"[object RegExp]":return u.source==t.source&&u.global==t.global&&u.multiline==t.multiline&&u.ignoreCase==t.ignoreCase}if(typeof u!="object"||typeof t!="object"){return false}var n=o.length;while(n--){if(o[n]==u){return p[n]==t}}var s=u.constructor,q=t.constructor;if(s!==q&&!(m.isFunction(s)&&(s instanceof s)&&m.isFunction(q)&&(q instanceof q))){return false}o.push(u);p.push(t);var x=0,w=true;if(r=="[object Array]"){x=u.length;w=x==t.length;if(w){while(x--){if(!(w=j(u[x],t[x],o,p))){break}}}}else{for(var v in u){if(m.has(u,v)){x++;if(!(w=m.has(t,v)&&j(u[v],t[v],o,p))){break}}}if(w){for(v in t){if(m.has(t,v)&&!(x--)){break}}w=!x}}o.pop();p.pop();return w};m.isEqual=function(o,n){return j(o,n,[],[])};m.isEmpty=function(o){if(o==null){return true}if(m.isArray(o)||m.isString(o)){return o.length===0}for(var n in o){if(m.has(o,n)){return false}}return true};m.isElement=function(n){return !!(n&&n.nodeType===1)};m.isArray=U||function(n){return D.call(n)=="[object Array]"};m.isObject=function(n){return n===Object(n)};i(["Arguments","Function","String","Number","Date","RegExp"],function(n){m["is"+n]=function(o){return D.call(o)=="[object "+n+"]"}});if(!m.isArguments(arguments)){m.isArguments=function(n){return !!(n&&m.has(n,"callee"))}}if(typeof (/./)!=="function"){m.isFunction=function(n){return typeof n==="function"}}m.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};m.isNaN=function(n){return m.isNumber(n)&&n!=+n};m.isBoolean=function(n){return n===true||n===false||D.call(n)=="[object Boolean]"};m.isNull=function(n){return n===null};m.isUndefined=function(n){return n===void 0};m.has=function(o,n){return J.call(o,n)};m.noConflict=function(){W._=K;return this};m.identity=function(n){return n};m.times=function(s,r,q){var o=Array(Math.max(0,s));for(var p=0;p<s;p++){o[p]=r.call(q,p)}return o};m.random=function(o,n){if(n==null){n=o;o=0}return o+Math.floor(Math.random()*(n-o+1))};var M={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};M.unescape=m.invert(M.escape);var k={escape:new RegExp("["+m.keys(M.escape).join("")+"]","g"),unescape:new RegExp("("+m.keys(M.unescape).join("|")+")","g")};m.each(["escape","unescape"],function(n){m[n]=function(o){if(o==null){return""}return(""+o).replace(k[n],function(p){return M[n][p]})}});m.result=function(n,p){if(n==null){return void 0}var o=n[p];return m.isFunction(o)?o.call(n):o};m.mixin=function(n){i(m.functions(n),function(o){var p=m[o]=n[o];m.prototype[o]=function(){var q=[this._wrapped];h.apply(q,arguments);return S.call(this,p.apply(m,q))}})};var Z=0;m.uniqueId=function(n){var o=++Z+"";return n?n+o:o};m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var V=/(.)^/;var H={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"};var I=/\\|'|\r|\n|\t|\u2028|\u2029/g;m.template=function(v,q,p){var o;p=m.defaults({},p,m.templateSettings);var r=new RegExp([(p.escape||V).source,(p.interpolate||V).source,(p.evaluate||V).source].join("|")+"|$","g");var s=0;var n="__p+='";v.replace(r,function(x,y,w,AA,z){n+=v.slice(s,z).replace(I,function(AB){return"\\"+H[AB]});if(y){n+="'+\n((__t=("+y+"))==null?'':_.escape(__t))+\n'"}if(w){n+="'+\n((__t=("+w+"))==null?'':__t)+\n'"}if(AA){n+="';\n"+AA+"\n__p+='"}s=z+x.length;return x});n+="';\n";if(!p.variable){n="with(obj||{}){\n"+n+"}\n"}n="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+n+"return __p;\n";try{o=new Function(p.variable||"obj","_",n)}catch(t){t.source=n;throw t}if(q){return o(q,m)}var u=function(w){return o.call(this,w,m)};u.source="function("+(p.variable||"obj")+"){\n"+n+"}";return u};m.chain=function(n){return m(n).chain()};var S=function(n){return this._chain?m(n).chain():n};m.mixin(m);i(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var o=c[n];m.prototype[n]=function(){var p=this._wrapped;o.apply(p,arguments);if((n=="shift"||n=="splice")&&p.length===0){delete p[0]}return S.call(this,p)}});i(["concat","join","slice"],function(n){var o=c[n];m.prototype[n]=function(){return S.call(this,o.apply(this._wrapped,arguments))}});m.extend(m.prototype,{chain:function(){this._chain=true;return this},value:function(){return this._wrapped}})}).call(this);; ;/* module-key = 'com.atlassian.auiplugin:ajs-backbone', location = 'js-vendor/backbone/backbone.js' */ /* THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. Modified lines are marked below, search "ATLASSIAN" */ (function(){var U=this;var b=U.Backbone;var G=[];var d=G.push;var N=G.slice;var T=G.splice;var Z;if(typeof exports!=="undefined"){Z=exports}else{Z=U.Backbone={}}Z.VERSION="1.0.0";var l=U._;if(!l&&(typeof require!=="undefined")){l=require("underscore")}Z.$=U.jQuery||U.Zepto||U.ender||U.$;Z.noConflict=function(){U.Backbone=b;return this};Z.emulateHTTP=false;Z.emulateJSON=false;var j=Z.Events={on:function(m,p,o){if(!X(this,"on",m,[p,o])||!p){return this}this._events||(this._events={});var n=this._events[m]||(this._events[m]=[]);n.push({callback:p,context:o,ctx:o||this});return this},once:function(n,q,o){if(!X(this,"once",n,[q,o])||!q){return this}var m=this;var p=l.once(function(){m.off(n,p);q.apply(this,arguments)});p._callback=q;return this.on(n,p,o)},off:function(m,v,n){var t,u,w,s,r,o,q,p;if(!this._events||!X(this,"off",m,[v,n])){return this}if(!m&&!v&&!n){this._events={};return this}s=m?[m]:l.keys(this._events);for(r=0,o=s.length;r<o;r++){m=s[r];if(w=this._events[m]){this._events[m]=t=[];if(v||n){for(q=0,p=w.length;q<p;q++){u=w[q];if((v&&v!==u.callback&&v!==u.callback._callback)||(n&&n!==u.context)){t.push(u)}}}if(!t.length){delete this._events[m]}}}return this},trigger:function(o){if(!this._events){return this}var n=N.call(arguments,1);if(!X(this,"trigger",o,n)){return this}var p=this._events[o];var m=this._events.all;if(p){B(p,n)}if(m){B(m,arguments)}return this},stopListening:function(p,m,r){var n=this._listeners;if(!n){return this}var o=!m&&!r;if(typeof m==="object"){r=this}if(p){(n={})[p._listenerId]=p}for(var q in n){n[q].off(m,r,this);if(o){delete this._listeners[q]}}return this}};var W=/\s+/;var X=function(t,r,n,q){if(!n){return true}if(typeof n==="object"){for(var p in n){t[r].apply(t,[p,n[p]].concat(q))}return false}if(W.test(n)){var s=n.split(W);for(var o=0,m=s.length;o<m;o++){t[r].apply(t,[s[o]].concat(q))}return false}return true};var B=function(r,p){var s,q=-1,o=r.length,n=p[0],m=p[1],t=p[2];switch(p.length){case 0:while(++q<o){(s=r[q]).callback.call(s.ctx)}return ;case 1:while(++q<o){(s=r[q]).callback.call(s.ctx,n)}return ;case 2:while(++q<o){(s=r[q]).callback.call(s.ctx,n,m)}return ;case 3:while(++q<o){(s=r[q]).callback.call(s.ctx,n,m,t)}return ;default:while(++q<o){(s=r[q]).callback.apply(s.ctx,p)}}};var c={listenTo:"on",listenToOnce:"once"};l.each(c,function(m,n){j[n]=function(q,o,s){var p=this._listeners||(this._listeners={});var r=q._listenerId||(q._listenerId=l.uniqueId("l"));p[r]=q;if(typeof o==="object"){s=this}q[m](o,s,this);return this}});j.bind=j.on;j.unbind=j.off;l.extend(Z,j);var e=Z.Model=function(m,o){var p;var n=m||{};o||(o={});this.cid=l.uniqueId("c");this.attributes={};l.extend(this,l.pick(o,f));if(o.parse){n=this.parse(n,o)||{}}if(p=l.result(this,"defaults")){n=l.defaults({},n,p)}this.set(n,o);this.changed={};this.initialize.apply(this,arguments)};var f=["url","urlRoot","collection"];l.extend(e.prototype,j,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(m){return l.clone(this.attributes)},sync:function(){return Z.sync.apply(this,arguments)},get:function(m){return this.attributes[m]},escape:function(m){return l.escape(this.get(m))},has:function(m){return this.get(m)!=null},set:function(u,m,y){var s,v,w,t,r,x,o,q;if(u==null){return this}if(typeof u==="object"){v=u;y=m}else{(v={})[u]=m}y||(y={});if(!this._validate(v,y)){return false}w=y.unset;r=y.silent;t=[];x=this._changing;this._changing=true;if(!x){this._previousAttributes=l.clone(this.attributes);this.changed={}}q=this.attributes,o=this._previousAttributes;if(this.idAttribute in v){this.id=v[this.idAttribute]}for(s in v){m=v[s];if(!l.isEqual(q[s],m)){t.push(s)}if(!l.isEqual(o[s],m)){this.changed[s]=m}else{delete this.changed[s]}w?delete q[s]:q[s]=m}if(!r){if(t.length){this._pending=true}for(var p=0,n=t.length;p<n;p++){this.trigger("change:"+t[p],this,q[t[p]],y)}}if(x){return this}if(!r){while(this._pending){this._pending=false;this.trigger("change",this,y)}}this._pending=false;this._changing=false;return this},unset:function(m,n){return this.set(m,void 0,l.extend({},n,{unset:true}))},clear:function(n){var m={};for(var o in this.attributes){m[o]=void 0}return this.set(m,l.extend({},n,{unset:true}))},hasChanged:function(m){if(m==null){return !l.isEmpty(this.changed)}return l.has(this.changed,m)},changedAttributes:function(o){if(!o){return this.hasChanged()?l.clone(this.changed):false}var q,p=false;var n=this._changing?this._previousAttributes:this.attributes;for(var m in o){if(l.isEqual(n[m],(q=o[m]))){continue}(p||(p={}))[m]=q}return p},previous:function(m){if(m==null||!this._previousAttributes){return null}return this._previousAttributes[m]},previousAttributes:function(){return l.clone(this._previousAttributes)},fetch:function(n){n=n?l.clone(n):{};if(n.parse===void 0){n.parse=true}var m=this;var o=n.success;n.success=function(p){if(!m.set(m.parse(p,n),n)){return false}if(o){o(m,p,n)}m.trigger("sync",m,p,n)};h(this,n);return this.sync("read",this,n)},save:function(q,n,u){var r,m,t,o=this.attributes;if(q==null||typeof q==="object"){r=q;u=n}else{(r={})[q]=n}if(r&&(!u||!u.wait)&&!this.set(r,u)){return false}u=l.extend({validate:true},u);if(!this._validate(r,u)){return false}if(r&&u.wait){this.attributes=l.extend({},o,r)}if(u.parse===void 0){u.parse=true}var p=this;var s=u.success;u.success=function(w){p.attributes=o;var v=p.parse(w,u);if(u.wait){v=l.extend(r||{},v)}if(l.isObject(v)&&!p.set(v,u)){return false}if(s){s(p,w,u)}p.trigger("sync",p,w,u)};h(this,u);m=this.isNew()?"create":(u.patch?"patch":"update");if(m==="patch"){u.attrs=r}t=this.sync(m,this,u);if(r&&u.wait){this.attributes=o}return t},destroy:function(n){n=n?l.clone(n):{};var m=this;var q=n.success;var o=function(){m.trigger("destroy",m,m.collection,n)};n.success=function(r){if(n.wait||m.isNew()){o()}if(q){q(m,r,n)}if(!m.isNew()){m.trigger("sync",m,r,n)}};if(this.isNew()){n.success();return false}h(this,n);var p=this.sync("delete",this,n);if(!n.wait){o()}return p},url:function(){var m=l.result(this,"urlRoot")||l.result(this.collection,"url")||R();if(this.isNew()){return m}return m+(m.charAt(m.length-1)==="/"?"":"/")+encodeURIComponent(this.id)},parse:function(n,m){return n},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return this.id==null},isValid:function(m){return this._validate({},l.extend(m||{},{validate:true}))},_validate:function(o,n){if(!n.validate||!this.validate){return true}o=l.extend({},this.attributes,o);var m=this.validationError=this.validate(o,n)||null;if(!m){return true}this.trigger("invalid",this,m,l.extend(n||{},{validationError:m}));return false}});var A=["keys","values","pairs","invert","pick","omit"];l.each(A,function(m){e.prototype[m]=function(){var n=N.call(arguments);n.unshift(this.attributes);return l[m].apply(l,n)}});var C=Z.Collection=function(n,m){m||(m={});if(m.url){this.url=m.url}if(m.model){this.model=m.model}if(m.comparator!==void 0){this.comparator=m.comparator}this._reset();this.initialize.apply(this,arguments);if(n){this.reset(n,l.extend({silent:true},m))}};var O={add:true,remove:true,merge:true};var k={add:true,merge:false,remove:false};l.extend(C.prototype,j,{model:e,initialize:function(){},toJSON:function(m){return this.map(function(n){return n.toJSON(m)})},sync:function(){return Z.sync.apply(this,arguments)},add:function(n,m){return this.set(n,l.defaults(m||{},k))},remove:function(r,p){r=l.isArray(r)?r.slice():[r];p||(p={});var q,m,o,n;for(q=0,m=r.length;q<m;q++){n=this.get(r[q]);if(!n){continue}delete this._byId[n.id];delete this._byId[n.cid];o=this.indexOf(n);this.models.splice(o,1);this.length--;if(!p.silent){p.index=o;n.trigger("remove",n,this,p)}this._removeReference(n)}return this},set:function(n,z){z=l.defaults(z||{},O);if(z.parse){n=this.parse(n,z)}if(!l.isArray(n)){n=n?[n]:[]}var u,q,w,x,o,v;var p=z.at;var t=this.comparator&&(p==null)&&z.sort!==false;var r=l.isString(this.comparator)?this.comparator:null;var y=[],m=[],s={};for(u=0,q=n.length;u<q;u++){if(!(w=this._prepareModel(n[u],z))){continue}if(o=this.get(w)){if(z.remove){s[o.cid]=true}if(z.merge){o.set(w.attributes,z);if(t&&!v&&o.hasChanged(r)){v=true}}}else{if(z.add){y.push(w);w.on("all",this._onModelEvent,this);this._byId[w.cid]=w;if(w.id!=null){this._byId[w.id]=w}}}}if(z.remove){for(u=0,q=this.length;u<q;++u){if(!s[(w=this.models[u]).cid]){m.push(w)}}if(m.length){this.remove(m,z)}}if(y.length){if(t){v=true}this.length+=y.length;if(p!=null){T.apply(this.models,[p,0].concat(y))}else{d.apply(this.models,y)}}if(v){this.sort({silent:true})}if(z.silent){return this}for(u=0,q=y.length;u<q;u++){(w=y[u]).trigger("add",w,this,z)}if(v){this.trigger("sort",this,z)}return this},reset:function(p,n){n||(n={});for(var o=0,m=this.models.length;o<m;o++){this._removeReference(this.models[o])}n.previousModels=this.models;this._reset();this.add(p,l.extend({silent:true},n));if(!n.silent){this.trigger("reset",this,n)}return this},push:function(n,m){n=this._prepareModel(n,m);this.add(n,l.extend({at:this.length},m));return n},pop:function(n){var m=this.at(this.length-1);this.remove(m,n);return m},unshift:function(n,m){n=this._prepareModel(n,m);this.add(n,l.extend({at:0},m));return n},shift:function(n){var m=this.at(0);this.remove(m,n);return m},slice:function(n,m){return this.models.slice(n,m)},get:function(m){if(m==null){return void 0}return this._byId[m.id!=null?m.id:m.cid||m]},at:function(m){return this.models[m]},where:function(m,n){if(l.isEmpty(m)){return n?void 0:[]}return this[n?"find":"filter"](function(o){for(var p in m){if(m[p]!==o.get(p)){return false}}return true})},findWhere:function(m){return this.where(m,true)},sort:function(m){if(!this.comparator){throw new Error("Cannot sort a set without a comparator")}m||(m={});if(l.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(l.bind(this.comparator,this))}if(!m.silent){this.trigger("sort",this,m)}return this},sortedIndex:function(m,p,n){p||(p=this.comparator);var o=l.isFunction(p)?p:function(q){return q.get(p)};return l.sortedIndex(this.models,m,o,n)},pluck:function(m){return l.invoke(this.models,"get",m)},fetch:function(m){m=m?l.clone(m):{};if(m.parse===void 0){m.parse=true}var o=m.success;var n=this;m.success=function(p){var q=m.reset?"reset":"set";n[q](p,m);if(o){o(n,p,m)}n.trigger("sync",n,p,m)};h(this,m);return this.sync("read",this,m)},create:function(n,m){m=m?l.clone(m):{};if(!(n=this._prepareModel(n,m))){return false}if(!m.wait){this.add(n,m)}var p=this;var o=m.success;m.success=function(r,s,q){if(q.wait){p.add(r,q)}if(o){o(r,s,q)}};n.save(null,m);return n},parse:function(n,m){return n},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(o,n){if(o instanceof e){if(!o.collection){o.collection=this}return o}n||(n={});n.collection=this;var m=new this.model(o,n);if(!m._validate(o,n)){this.trigger("invalid",this,o,n);return false}return m},_removeReference:function(m){if(this===m.collection){delete m.collection}m.off("all",this._onModelEvent,this)},_onModelEvent:function(o,n,p,m){if((o==="add"||o==="remove")&&p!==this){return }if(o==="destroy"){this.remove(n,m)}if(n&&o==="change:"+n.idAttribute){delete this._byId[n.previous(n.idAttribute)];if(n.id!=null){this._byId[n.id]=n}}this.trigger.apply(this,arguments)}});var Y=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain"];l.each(Y,function(m){C.prototype[m]=function(){var n=N.call(arguments);n.unshift(this.models);return l[m].apply(l,n)}});var K=["groupBy","countBy","sortBy"];l.each(K,function(m){C.prototype[m]=function(p,n){var o=l.isFunction(p)?p:function(q){return q.get(p)};return l[m](this.models,o,n)}});var g=Z.View=function(m){this.cid=l.uniqueId("view");this._configure(m||{});this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var V=/^(\S+)\s*(.*)$/;var E=["model","collection","el","id","attributes","className","tagName","events"];l.extend(g.prototype,j,{tagName:"div",$:function(m){return this.$el.find(m)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(m,n){if(this.$el){this.undelegateEvents()}this.$el=m instanceof Z.$?m:Z.$(m);this.el=this.$el[0];if(n!==false){this.delegateEvents()}return this},delegateEvents:function(q){if(!(q||(q=l.result(this,"events")))){return this}this.undelegateEvents();for(var p in q){var r=q[p];if(!l.isFunction(r)){r=this[q[p]]}if(!r){continue}var o=p.match(V);var n=o[1],m=o[2];r=l.bind(r,this);n+=".delegateEvents"+this.cid;if(m===""){this.$el.on(n,r)}else{this.$el.on(n,m,r)}}return this},undelegateEvents:function(){this.$el.off(".delegateEvents"+this.cid);return this},_configure:function(m){if(this.options){m=l.extend({},l.result(this,"options"),m)}l.extend(this,l.pick(m,E));this.options=m},_ensureElement:function(){if(!this.el){var m=l.extend({},l.result(this,"attributes"));if(this.id){m.id=l.result(this,"id")}if(this.className){m["class"]=l.result(this,"className")}var n=Z.$("<"+l.result(this,"tagName")+">").attr(m);this.setElement(n,false)}else{this.setElement(l.result(this,"el"),false)}}});Z.sync=function(s,n,m){var p=J[s];l.defaults(m||(m={}),{emulateHTTP:Z.emulateHTTP,emulateJSON:Z.emulateJSON});var r={type:p,dataType:"json"};if(!m.url){r.url=l.result(n,"url")||R()}if(m.data==null&&n&&(s==="create"||s==="update"||s==="patch")){r.contentType="application/json";r.data=JSON.stringify(m.attrs||n.toJSON(m))}if(m.emulateJSON){r.contentType="application/x-www-form-urlencoded";r.data=r.data?{model:r.data}:{}}if(m.emulateHTTP&&(p==="PUT"||p==="DELETE"||p==="PATCH")){r.type="POST";if(m.emulateJSON){r.data._method=p}var o=m.beforeSend;m.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",p);if(o){return o.apply(this,arguments)}}}if(r.type!=="GET"&&!m.emulateJSON){r.processData=false}if(r.type==="PATCH"&&window.ActiveXObject&&!(window.external&&window.external.msActiveXFilteringEnabled)){r.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var q=m.xhr=Z.ajax(l.extend(r,m));n.trigger("request",n,q,m);return q};var J={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};Z.ajax=function(){return Z.$.ajax.apply(Z.$,arguments)};var P=Z.Router=function(m){m||(m={});if(m.routes){this.routes=m.routes}this._bindRoutes();this.initialize.apply(this,arguments)};var Q=/\((.*?)\)/g;var S=/(\(\?)?:\w+/g;var D=/\*\w+/g;var H=/[\-{}\[\]+?.,\\\^$|#\s]/g;l.extend(P.prototype,j,{initialize:function(){},route:function(n,o,p){if(!l.isRegExp(n)){n=this._routeToRegExp(n)}if(l.isFunction(o)){p=o;o=""}if(!p){p=this[o]}var m=this;Z.history.route(n,function(r){var q=m._extractParameters(n,r);p&&p.apply(m,q);m.trigger.apply(m,["route:"+o].concat(q));m.trigger("route",o,q);Z.history.trigger("route",m,o,q)});return this},navigate:function(n,m){Z.history.navigate(n,m);return this},_bindRoutes:function(){if(!this.routes){return }this.routes=l.result(this,"routes");var n,m=l.keys(this.routes);while((n=m.pop())!=null){this.route(n,this.routes[n])}},_routeToRegExp:function(m){m=m.replace(H,"\\$&").replace(Q,"(?:$1)?").replace(S,function(o,n){return n?o:"([^/]+)"}).replace(D,"(.*?)");return new RegExp("^"+m+"$")},_extractParameters:function(m,n){var o=m.exec(n).slice(1);return l.map(o,function(p){return p?decodeURIComponent(p):null})}});var I=Z.History=function(){this.handlers=[];l.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var a=/^[#\/]|\s+$/g;var F=/^\/+|\/+$/g;var i=/msie [\w.]+/;var M=/\/$/;I.started=false;l.extend(I.prototype,j,{interval:50,getHash:function(n){var m=(n||this).location.href.match(/#(.*)$/);return m?m[1]:""},getFragment:function(o,n){if(o==null){if(this._hasPushState||!this._wantsHashChange||n){o=this.location.pathname;var m=this.root.replace(M,"");if(!o.indexOf(m)){o=o.substr(m.length)}}else{o=this.getHash()}}return o.replace(a,"")},start:function(o){if(I.started){throw new Error("Backbone.history has already been started")}I.started=true;this.options=l.extend({},{root:"/"},this.options,o);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var n=this.getFragment();var m=document.documentMode;var q=(i.exec(navigator.userAgent.toLowerCase())&&(!m||m<=7));this.root=("/"+this.root+"/").replace(F,"/");if(q&&this._wantsHashChange){this.iframe=Z.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow;this.navigate(n)}if(this._hasPushState){Z.$(window).on("popstate",this.checkUrl)}else{if(this._wantsHashChange&&("onhashchange" in window)&&!q){Z.$(window).on("hashchange",this.checkUrl)}else{if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}}}this.fragment=n;var r=this.location;var p=r.pathname.replace(/[^\/]$/,"$&/")===this.root;if(this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!p){this.fragment=this.getFragment(null,true);this.location.replace(this.root+this.location.search+"#"+this.fragment);return true}else{if(this._wantsPushState&&this._hasPushState&&p&&r.hash){this.fragment=this.getHash().replace(a,"");this.history.replaceState({},document.title,this.root+this.fragment+r.search)}}if(!this.options.silent){return this.loadUrl()}},stop:function(){Z.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl);clearInterval(this._checkUrlInterval);I.started=false},route:function(m,n){this.handlers.unshift({route:m,callback:n})},checkUrl:function(n){var m=this.getFragment();if(m===this.fragment&&this.iframe){m=this.getFragment(this.getHash(this.iframe))}if(m===this.fragment){return false}if(this.iframe){this.navigate(m)}this.loadUrl()||this.loadUrl(this.getHash())},loadUrl:function(o){var n=this.fragment=this.getFragment(o);var m=l.any(this.handlers,function(p){if(p.route.test(n)){p.callback(n);return true}});return m},navigate:function(o,n){if(!I.started){return false}if(!n||n===true){n={trigger:n}}o=this.getFragment(o||"");if(this.fragment===o){return }this.fragment=o;var m=this.root+o;if(this._hasPushState){this.history[n.replace?"replaceState":"pushState"]({},document.title,m)}else{if(this._wantsHashChange){this._updateHash(this.location,o,n.replace);if(this.iframe&&(o!==this.getFragment(this.getHash(this.iframe)))){if(!n.replace){this.iframe.document.open().close()}this._updateHash(this.iframe.location,o,n.replace)}}else{return this.location.assign(m)}}if(n.trigger){this.loadUrl(o)}},_updateHash:function(m,o,p){if(p){var n=m.href.replace(/(javascript:|#).*$/,"");m.replace(n+"#"+o)}else{m.hash="#"+o}}});Z.history=new I;var L=function(m,o){var n=this;var q;if(m&&l.has(m,"constructor")){q=m.constructor}else{q=function(){return n.apply(this,arguments)}}l.extend(q,n,o);var p=function(){this.constructor=q};p.prototype=n.prototype;q.prototype=new p;if(m){l.extend(q.prototype,m)}q.__super__=n.prototype;return q};e.extend=C.extend=P.extend=g.extend=I.extend=L;var R=function(){throw new Error('A "url" property or function must be specified')};var h=function(o,n){var m=n.error;n.error=function(p){if(m){m(o,p,n)}o.trigger("error",o,p,n)}}}).call(this);; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:events', location = '/static/util/events.js' */ define("util/events",["backbone-raw","eve","lodash","stash/api/util/events"],function(E,C,A,D){var B={stop:function(){return C.stop()},createEventMixin:function(G,F){F=F||{};return A.extend({},E.Events,{trigger:function(I){var H=E.Events.trigger.apply(this,arguments);if(!F.localOnly){D.trigger.apply(D,[G+"/"+I,this].concat(Array.prototype.slice.call(arguments,1)))}return H},retriggerFrom:function(H){var J=Array.prototype.slice.call(arguments,1);function I(L,K){return L.on(K,this.trigger.bind(this,K))}return J.reduce(I.bind(this),D.chainWith(H))}})},createLocalEventMixin:function(){return B.createEventMixin(null,{localOnly:true})},addEventMixin:function(G,H,F){A.extend(G,B.createEventMixin(H,F))},addLocalEventMixin:function(F){A.extend(F,B.createLocalEventMixin())}};return A.extend(B,D)});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:lodash', location = '/static/bower/lodash/lodash.js' */ (function(){var f;var AR="3.0.0";var n=1,g=2,s=4,z=8,M=16,AA=32,AQ=64,J=128,h=256;var T=30,AZ="...";var U=150,p=16;var m=0,AI=1,B=2;var Ag="Expected a function";var Ak="__lodash_placeholder__";var Y="[object Arguments]",AV="[object Array]",Aj="[object Boolean]",a="[object Date]",Ae="[object Error]",A="[object Function]",Af="[object Map]",H="[object Number]",D="[object Object]",r="[object RegExp]",C="[object Set]",Z="[object String]",X="[object WeakMap]";var Am="[object ArrayBuffer]",Au="[object Float32Array]",t="[object Float64Array]",W="[object Int8Array]",Aa="[object Int16Array]",d="[object Int32Array]",Ah="[object Uint8Array]",AH="[object Uint8ClampedArray]",AM="[object Uint16Array]",Q="[object Uint32Array]";var AX=/\b__p \+= '';/g,AK=/\b(__p \+=) '' \+/g,b=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var At=/&(?:amp|lt|gt|quot|#39|#96);/g,I=/[&<>"'`]/g,S=RegExp(At.source),AO=RegExp(I.source);var N=/<%-([\s\S]+?)%>/g,e=/<%([\s\S]+?)%>/g,u=/<%=([\s\S]+?)%>/g;var E=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var AY=/\w*$/;var AW=/^\s*function[ \n\r\t]+\w/;var AU=/^0[xX]/;var Ay=/^\[object .+?Constructor\]$/;var o=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g;var Al=/($^)/;var AF=/[.*+?^${}()|[\]\/\\]/g,Ac=RegExp(AF.source);var F=/\bthis\b/;var R=/['\n\r\u2028\u2029\\]/g;var AE=(function(){var A0="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Az="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(A0+"{2,}(?="+A0+Az+")|"+A0+"?"+Az+"|"+A0+"+|[0-9]+","g")}());var k=(" \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000");var AB=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","document","isFinite","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","window","WinRTError"];var i=-1;var AG={};AG[Au]=AG[t]=AG[W]=AG[Aa]=AG[d]=AG[Ah]=AG[AH]=AG[AM]=AG[Q]=true;AG[Y]=AG[AV]=AG[Am]=AG[Aj]=AG[a]=AG[Ae]=AG[A]=AG[Af]=AG[H]=AG[D]=AG[r]=AG[C]=AG[Z]=AG[X]=false;var AJ={};AJ[Y]=AJ[AV]=AJ[Am]=AJ[Aj]=AJ[a]=AJ[Au]=AJ[t]=AJ[W]=AJ[Aa]=AJ[d]=AJ[H]=AJ[D]=AJ[r]=AJ[Z]=AJ[Ah]=AJ[AH]=AJ[AM]=AJ[Q]=true;AJ[Ae]=AJ[A]=AJ[Af]=AJ[C]=AJ[X]=false;var AD={leading:false,maxWait:0,trailing:false};var K={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcC":"I","\xcd":"I","\xce":"I","\xcf":"I","\xeC":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss"};var Aq={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};var q={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"};var Ab={"function":true,object:true};var x={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var Ap=(Ab[typeof window]&&window!==(this&&this.window))?window:this;var c=Ab[typeof exports]&&exports&&!exports.nodeType&&exports;var y=Ab[typeof module]&&module&&!module.nodeType&&module;var Ad=c&&y&&typeof global=="object"&&global;if(Ad&&(Ad.global===Ad||Ad.window===Ad||Ad.self===Ad)){Ap=Ad}var Av=y&&y.exports===c&&c;function w(A1,Az){if(A1!==Az){var A2=A1===A1,A0=Az===Az;if(A1>Az||!A2||(typeof A1=="undefined"&&A0)){return 1}if(A1<Az||!A0||(typeof Az=="undefined"&&A2)){return -1}}return 0}function Ar(A3,A2,A0){if(A2!==A2){return AN(A3,A0)}var Az=(A0||0)-1,A1=A3.length;while(++Az<A1){if(A3[Az]===A2){return Az}}return -1}function Ax(A1,Az){var A0=A1.length;A1.sort(Az);while(A0--){A1[A0]=A1[A0].value}return A1}function AT(Az){if(typeof Az=="string"){return Az}return Az==null?"":(Az+"")}function Ai(Az){return Az.charCodeAt(0)}function L(A0,A2){var Az=-1,A1=A0.length;while(++Az<A1&&A2.indexOf(A0.charAt(Az))>-1){}return Az}function O(A0,A1){var Az=A0.length;while(Az--&&A1.indexOf(A0.charAt(Az))>-1){}return Az}function j(A0,Az){return w(A0.criteria,Az.criteria)||(A0.index-Az.index)}function P(A3,A0){var A2=-1,A1=A3.criteria,A5=A0.criteria,A4=A1.length;while(++A2<A4){var Az=w(A1[A2],A5[A2]);if(Az){return Az}}return A3.index-A0.index}function AL(Az){return K[Az]}function Aw(Az){return Aq[Az]}function An(Az){return"\\"+x[Az]}function AN(A4,A1,A3){var A2=A4.length,A0=A3?(A1||A2):((A1||0)-1);while((A3?A0--:++A0<A2)){var Az=A4[A0];if(Az!==Az){return A0}}return -1}function G(Az){return(Az&&typeof Az=="object")||false}function As(Az){return((Az<=160&&(Az>=9&&Az<=13)||Az==32||Az==160)||Az==5760||Az==6158||(Az>=8192&&(Az<=8202||Az==8232||Az==8233||Az==8239||Az==8287||Az==12288||Az==65279)))}function l(A4,A3){var A0=-1,A2=A4.length,A1=-1,Az=[];while(++A0<A2){if(A4[A0]===A3){A4[A0]=Ak;Az[++A1]=A0}}return Az}function v(A4,A2){var Az,A3=-1,A0=A4.length,A6=-1,A7=[];while(++A3<A0){var A5=A4[A3],A1=A2?A2(A5,A3,A4):A5;if(!A3||Az!==A1){Az=A1;A7[++A6]=A5}}return A7}function Ao(A0){var Az=-1,A1=A0.length;while(++Az<A1&&As(A0.charCodeAt(Az))){}return Az}function V(A0){var Az=A0.length;while(Az--&&As(A0.charCodeAt(Az))){}return Az}function AP(Az){return q[Az]}function AS(BV){BV=BV?AC.defaults(Ap.Object(),BV,AC.pick(Ap,AB)):Ap;var Es=BV.Array,Db=BV.Date,Fr=BV.Error,EJ=BV.Function,Fq=BV.Math,DW=BV.Number,Dd=BV.Object,EH=BV.RegExp,Dk=BV.String,Fg=BV.TypeError;var CZ=Es.prototype,Dx=Dd.prototype;var E0=(E0=BV.window)&&E0.document;var EE=EJ.prototype.toString;var Ek=F2("length");var Be=Dx.hasOwnProperty;var Dv=0;var Fv=Dx.toString;var DT=BV._;var F3=EH("^"+DC(Fv).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var DL=Bb(DL=BV.ArrayBuffer)&&DL,D2=Bb(D2=DL&&new DL(0).slice)&&D2,FU=Fq.ceil,D4=BV.clearTimeout,DK=Fq.floor,By=Bb(By=Dd.getPrototypeOf)&&By,DQ=CZ.push,Fw=Dx.propertyIsEnumerable,FC=Bb(FC=BV.Set)&&FC,Bu=BV.setTimeout,Em=CZ.splice,Fz=Bb(Fz=BV.Uint8Array)&&Fz,Dp=CZ.unshift,Ct=Bb(Ct=BV.WeakMap)&&Ct;var Bh=(function(){try{var GS=Bb(GS=BV.Float64Array)&&GS,GR=new GS(new DL(10),0,1)&&GS}catch(GT){}return GR}());var Ft=Bb(Ft=Es.isArray)&&Ft,F5=Bb(F5=Dd.create)&&F5,EW=BV.isFinite,E9=Bb(E9=Dd.keys)&&E9,DD=Fq.max,BY=Fq.min,EC=Bb(EC=Db.now)&&EC,Dr=Bb(Dr=DW.isFinite)&&Dr,A5=BV.parseInt,Bs=Fq.random;var Az=DW.NEGATIVE_INFINITY,D6=DW.POSITIVE_INFINITY;var Bx=Fq.pow(2,32)-1,Fp=Bx-1,DM=Bx>>>1;var CU=Bh?Bh.BYTES_PER_ELEMENT:0;var Fa=Fq.pow(2,53)-1;var CH=Ct&&new Ct;function Fl(GR){if(G(GR)&&!Bg(GR)){if(GR instanceof Bq){return GR}if(Be.call(GR,"__wrapped__")){return new Bq(GR.__wrapped__,GR.__chain__,DB(GR.__actions__))}}return new Bq(GR)}function Bq(GS,GR,GT){this.__actions__=GT||[];this.__chain__=!!GR;this.__wrapped__=GS}var FP=Fl.support={};(function(GR){FP.funcDecomp=!Bb(BV.WinRTError)&&F.test(AS);FP.funcNames=typeof EJ.name=="string";try{FP.dom=E0.createDocumentFragment().nodeType===11}catch(GS){FP.dom=false}try{FP.nonEnumArgs=!Fw.call(arguments,1)}catch(GS){FP.nonEnumArgs=true}}(0,0));Fl.templateSettings={escape:N,evaluate:e,interpolate:u,variable:"",imports:{_:Fl}};function Ez(GR){this.actions=null;this.dir=1;this.dropCount=0;this.filtered=false;this.iteratees=null;this.takeCount=D6;this.views=null;this.wrapped=GR}function GO(){var GU=this.actions,GT=this.iteratees,GS=this.views,GR=new Ez(this.wrapped);GR.actions=GU?DB(GU):null;GR.dir=this.dir;GR.dropCount=this.dropCount;GR.filtered=this.filtered;GR.iteratees=GT?DB(GT):null;GR.takeCount=this.takeCount;GR.views=GS?DB(GS):null;return GR}function Fc(){var GS=this.filtered,GR=GS?new Ez(this):this.clone();GR.dir=this.dir*-1;GR.filtered=GS;return GR}function DH(){var Gc=this.wrapped.value();if(!Bg(Gc)){return BE(Gc,this.actions)}var Gg=this.dir,GR=Gg<0,GX=Gc.length,Gf=E6(0,GX,this.views),GY=Gf.start,GW=Gf.end,GV=this.dropCount,GZ=BY(GW-GY,this.takeCount-GV),Gb=GR?GW:GY-1,Ga=this.iteratees,Gk=Ga?Ga.length:0,GT=0,Gd=[];outer:while(GX--&><GZ){Gb+=Gg;var Gi=-1,Gh=Gc[Gb];while(++Gi<Gk){var Gj=Ga[Gi],Ge=Gj.iteratee,GS=Ge(Gh,Gb,Gc),GU=Gj.type;if(GU==AI){Gh=GS}else{if(!GS){if(GU==m){continue outer}else{break outer}}}}if(GV){GV--}else{Gd[GT++]=Gh}}return GR?Gd.reverse():Gd}function CP(){this.__data__={}}function Eu(GR){return this.has(GR)&&delete this.__data__[GR]}function Ev(GR){return GR=="__proto__"?f:this.__data__[GR]}function ES(GR){return GR!="__proto__"&&Be.call(this.__data__,GR)}function Eh(GR,GS){if(GR!="__proto__"){this.__data__[GR]=GS}return this}function CJ(GR){var GS=GR?GR.length:0;this.data={hash:F5(null),set:new FC};while(GS--){this.push(GR[GS])}}function GK(GS,GU){var GT=GS.data,GR=(typeof GU=="string"||BL(GU))?GT.set.has(GU):GT.hash[GU];return GR?0:-1}function BZ(GS){var GR=this.data;if(typeof GS=="string"||BL(GS)){GR.set.add(GS)}else{GR.hash[GS]=true}}function DB(GT,GU){var GR=-1,GS=GT.length;GU||(GU=Es(GS));while(++GR<GS){GU[GR]=GT[GR]}return GU}function FO(GU,GT){var GR=-1,GS=GU.length;while(++GR<GS){if(GT(GU[GR],GR,GU)===false){break}}return GU}function BJ(GT,GS){var GR=GT.length;while(GR--){if(GS(GT[GR],GR,GT)===false){break}}return GT}function CY(GU,GR){var GS=-1,GT=GU.length;while(++GS<GT){if(!GR(GU[GS],GS,GU)){return false}}return true}function Di(GX,GS){var GT=-1,GV=GX.length,GU=-1,GR=[];while(++GT<GV){var GW=GX[GT];if(GS(GW,GT,GX)){GR[++GU]=GW}}return GR}function FQ(GV,GU){var GS=-1,GT=GV.length,GR=Es(GT);while(++GS<GT){GR[GS]=GU(GV[GS],GS,GV)}return GR}function FJ(GV){var GS=-1,GT=GV.length,GR=Az;while(++GS<GT){var GU=GV[GS];if(GU>GR){GR=GU}}return GR}function Dl(GV){var GS=-1,GT=GV.length,GR=D6;while(++GS<GT){var GU=GV[GS];if(GU<GR){GR=GU}}return GR}function EM(GW,GV,GR,GU){var GS=-1,GT=GW.length;if(GU&>){GR=GW[++GS]}while(++GS<GT){GR=GV(GR,GW[GS],GS,GW)}return GR}function En(GV,GU,GR,GT){var GS=GV.length;if(GT&&GS){GR=GV[--GS]}while(GS--){GR=GU(GR,GV[GS],GS,GV)}return GR}function BX(GU,GR){var GS=-1,GT=GU.length;while(++GS<GT){if(GR(GU[GS],GS,GU)){return true}}return false}function FI(GR,GS){return typeof GR=="undefined"?GS:GR}function E2(GR,GU,GT,GS){return(typeof GR=="undefined"||!Be.call(GS,GT))?GU:GR}function D9(GU,GR,GT){var GW=DO(GR);if(!GT){return Eq(GR,GU,GW)}var GV=-1,GS=GW.length;while(++GV<GS){var GY=GW[GV],GX=GU[GY],GZ=GT(GX,GR[GY],GY,GU,GR);if((GZ===GZ?GZ!==GX:GX===GX)||(typeof GX=="undefined"&&!(GY in GU))){GU[GY]=GZ}}return GU}function ER(GY,GV){var GS=-1,GX=GY.length,GW=Ew(GX),GU=GV.length,GR=Es(GU);while(++GS<GU){var GT=GV[GS];if(GW){GT=parseFloat(GT);GR[GS]=Cj(GT,GX)?GY[GT]:f}else{GR[GS]=GY[GT]}}return GR}function Eq(GW,GS,GU){if(!GU){GU=GS;GS={}}var GR=-1,GV=GU.length;while(++GR<GV){var GT=GU[GR];GS[GT]=GW[GT]}return GS}function C0(GS,GV){var GR=-1,GU=GV.length;while(++GR<GU){var GT=GV[GR];GS[GT]=EQ(GS[GT],n,GS)}return GS}function Bi(GT,GR,GU){var GS=typeof GT;if(GS=="function"){return(typeof GR!="undefined"&&Cq(GT))?D8(GT,GR,GU):GT}if(GT==null){return CR}return GS=="object"?BW(GT,!GU):F2(GU?AT(GT):GT)}function CQ(GZ,GX,GS,Ga,GU,GV,GT){var Gc;if(GS){Gc=GU?GS(GZ,Ga,GU):GS(GZ)}if(typeof Gc!="undefined"){return Gc}if(!BL(GZ)){return GZ}var GW=Bg(GZ);if(GW){Gc=A8(GZ);if(!GX){return DB(GZ,Gc)}}else{var Gb=Fv.call(GZ),GY=Gb==A;if(Gb==D||Gb==Y||(GY&&!GU)){Gc=CO(GY?{}:GZ);if(!GX){return Eq(GZ,Gc,DO(GZ))}}else{return AJ[Gb]?Ee(GZ,Gb,GX):(GU?GZ:{})}}GV||(GV=[]);GT||(GT=[]);var GR=GV.length;while(GR--){if(GV[GR]==GZ){return GT[GR]}}GV.push(GZ);GT.push(Gc);(GW?FO:Fx)(GZ,function(Ge,Gd){Gc[Gd]=CQ(Ge,GX,GS,Gd,GZ,GV,GT)});return Gc}var EP=(function(){function GR(){}return function(GT){if(BL(GT)){GR.prototype=GT;var GS=new GR;GR.prototype=null}return GS||BV.Object()}}());function Cr(GT,GU,GR,GS){if(!Ck(GT)){throw new Fg(Ag)}return Bu(function(){GT.apply(f,Bd(GR,GS))},GU)}function B8(GW,Ga){var GT=GW?GW.length:0,Gb=[];if(!GT){return Gb}var GV=-1,GY=BP(),GU=GY==Ar,GS=GU&&Ga.length>=200&&Fd(Ga),GX=Ga.length;if(GS){GY=GK;GU=false;Ga=GS}outer:while(++GV<GT){var GZ=GW[GV];if(GU&&GZ===GZ){var GR=GX;while(GR--){if(Ga[GR]===GZ){continue outer}}Gb.push(GZ)}else{if(GY(Ga,GZ)<0){Gb.push(GZ)}}}return Gb}function Bm(GV,GU){var GS=GV?GV.length:0;if(!Ew(GS)){return Fx(GV,GU)}var GR=-1,GT=E8(GV);while(++GR<GS){if(GU(GT[GR],GR,GT)===false){break}}return GV}function CI(GU,GT){var GR=GU?GU.length:0;if(!Ew(GR)){return CA(GU,GT)}var GS=E8(GU);while(GR--){if(GT(GS[GR],GR,GS)===false){break}}return GU}function BF(GT,GS){var GR=true;Bm(GT,function(GV,GU,GW){GR=!!GS(GV,GU,GW);return GR});return GR}function Er(GT,GS){var GR=[];Bm(GT,function(GV,GU,GW){if(GS(GV,GU,GW)){GR.push(GV)}});return GR}function FW(GV,GS,GU,GT){var GR;GU(GV,function(GX,GW,GY){if(GS(GX,GW,GY)){GR=GT?GW:GX;return false}});return GR}function DS(GV,GT,GS,GX){var GU=(GX||0)-1,GR=GV.length,GZ=-1,Gb=[];while(++GU<GR){var GY=GV[GU];if(G(GY)&&Ew(GY.length)&&(Bg(GY)||GG(GY))){if(GT){GY=DS(GY,GT,GS)}var Ga=-1,GW=GY.length;Gb.length+=GW;while(++Ga<GW){Gb[++GZ]=GY[Ga]}}else{if(!GS){Gb[++GZ]=GY}}}return Gb}function EU(GS,GY,GW){var GR=-1,GX=E8(GS),GU=GW(GS),GV=GU.length;while(++GR<GV){var GT=GU[GR];if(GY(GX[GT],GT,GX)===false){break}}return GS}function C1(GR,GX,GV){var GW=E8(GR),GT=GV(GR),GU=GT.length;while(GU--){var GS=GT[GU];if(GX(GW[GS],GS,GW)===false){break}}return GR}function CN(GR,GS){return EU(GR,GS,B5)}function Fx(GR,GS){return EU(GR,GS,DO)}function CA(GR,GS){return C1(GR,GS,DO)}function Fe(GT,GV){var GS=-1,GX=GV.length,GW=-1,GR=[];while(++GS<GX){var GU=GV[GS];if(Ck(GT[GU])){GR[++GW]=GU}}return GR}function ED(GX,GS,GU){var GT=-1,GW=typeof GS=="function",GV=GX?GX.length:0,GR=Ew(GV)?Es(GV):[];Bm(GX,function(GZ){var GY=GW?GS:(GZ!=null&&GZ[GS]);GR[++GT]=GY?GY.apply(GZ,GU):f});return GR}function CB(GW,GS,GV,GU,GR,GY){if(GW===GS){return GW!==0||(1/GW==1/GS)}var GX=typeof GW,GT=typeof GS;if((GX!="function"&&GX!="object"&>!="function"&>!="object")||GW==null||GS==null){return GW!==GW&&GS!==GS}return CL(GW,GS,CB,GV,GU,GR,GY)}function CL(Gh,GV,Gd,Ga,GY,Gf,Ge){var GZ=Bg(Gh),Gb=Bg(GV),GT=AV,Gg=AV;if(!GZ){GT=Fv.call(Gh);if(GT==Y){GT=D}else{if(GT!=D){GZ=EV(Gh)}}}if(!Gb){Gg=Fv.call(GV);if(Gg==Y){Gg=D}else{if(Gg!=D){Gb=EV(GV)}}}var GR=GT==D,GS=Gg==D,GX=GT==Gg;if(GX&&!(GZ||GR)){return DU(Gh,GV,GT)}var Gi=GR&&Be.call(Gh,"__wrapped__"),Gc=GS&&Be.call(GV,"__wrapped__");if(Gi||Gc){return Gd(Gi?Gh.value():Gh,Gc?GV.value():GV,Ga,GY,Gf,Ge)}if(!GX){return false}Gf||(Gf=[]);Ge||(Ge=[]);var GU=Gf.length;while(GU--){if(Gf[GU]==Gh){return Ge[GU]==GV}}Gf.push(Gh);Ge.push(GV);var GW=(GZ?EZ:Cu)(Gh,GV,Gd,Ga,GY,Gf,Ge);Gf.pop();Ge.pop();return GW}function Cd(GW,GZ,Gb,GS,GV){var GT=GZ.length;if(GW==null){return !GT}var GY=-1,GU=!GV;while(++GY<GT){if((GU&&GS[GY])?Gb[GY]!==GW[GZ[GY]]:!Be.call(GW,GZ[GY])){return false}}GY=-1;while(++GY<GT){var Ga=GZ[GY];if(GU&&GS[GY]){var Gc=Be.call(GW,Ga)}else{var GX=GW[Ga],GR=Gb[GY];Gc=GV?GV(GX,GR,Ga):f;if(typeof Gc=="undefined"){Gc=CB(GR,GX,GV,true)}}if(!Gc){return false}}return true}function DY(GT,GS){var GR=[];Bm(GT,function(GV,GU,GW){GR.push(GS(GV,GU,GW))});return GR}function BW(GX,GY){var GU=DO(GX),GV=GU.length;if(GV==1){var GT=GU[0],GW=GX[GT];if(EN(GW)){return function(GZ){return GZ!=null&&GW===GZ[GT]&&Be.call(GZ,GT)}}}if(GY){GX=CQ(GX,true)}var GR=Es(GV),GS=Es(GV);while(GV--){GW=GX[GU[GV]];GR[GV]=GW;GS[GV]=EN(GW)}return function(GZ){return Cd(GZ,GU,GR,GS)}}function GJ(GT,GV,GU,GR,GW){var GS=Ew(GV.length)&&(Bg(GV)||EV(GV));(GS?FO:Fx)(GV,function(Gc,GZ,Gb){if(G(Gc)){GR||(GR=[]);GW||(GW=[]);return EX(GT,Gb,GZ,GJ,GU,GR,GW)}var Ga=GT[GZ],GX=GU?GU(Ga,Gc,GZ,GT,Gb):f,GY=typeof GX=="undefined";if(GY){GX=Gc}if((GS||typeof GX!="undefined")&&(GY||(GX===GX?GX!==Ga:Ga===Ga))){GT[GZ]=GX}});return GT}function EX(GY,GR,Gb,GV,GW,GZ,GX){var GT=GZ.length,GS=GR[Gb];while(GT--){if(GZ[GT]==GS){GY[Gb]=GX[GT];return }}var Ga=GY[Gb],Gc=GW?GW(Ga,GS,Gb,GY,GR):f,GU=typeof Gc=="undefined";if(GU){Gc=GS;if(Ew(GS.length)&&(Bg(GS)||EV(GS))){Gc=Bg(Ga)?Ga:(Ga?DB(Ga):[])}else{if(EG(GS)||GG(GS)){Gc=GG(Ga)?Df(Ga):(EG(Ga)?Ga:{})}}}GZ.push(GS);GX.push(Gc);if(GU){GY[Gb]=GV(Gc,GS,GW,GZ,GX)}else{if(Gc===Gc?Gc!==Ga:Ga===Ga){GY[Gb]=Gc}}}function F2(GR){return function(GS){return GS==null?f:GS[GR]}}function GE(GW,GT){var GV=GT.length,GR=ER(GW,GT);GT.sort(w);while(GV--){var GS=parseFloat(GT[GV]);if(GS!=GU&&Cj(GS)){var GU=GS;Em.call(GW,GS,1)}}return GR}function D1(GS,GR){return GS+DK(Bs()*(GR-GS+1))}function Fm(GV,GU,GR,GS,GT){GT(GV,function(GX,GW,GY){GR=GS?(GS=false,GX):GU(GR,GX,GW,GY)});return GR}var GB=!CH?CR:function(GR,GS){CH.set(GR,GS);return GR};function Bd(GW,GV,GS){var GT=-1,GU=GW.length;GV=GV==null?0:(+GV||0);if(GV<0){GV=-GV>GU?0:(GU+GV)}GS=(typeof GS=="undefined"||GS>GU)?GU:(+GS||0);if(GS<0){GS+=GU}GU=GV>GS?0:(GS-GV);var GR=Es(GU);while(++GT<GU){GR[GT]=GW[GT+GV]}return GR}function DI(GT,GS){var GR;Bm(GT,function(GV,GU,GW){GR=GS(GV,GU,GW);return !GR});return !!GR}function Bp(GY,GW){var GX=-1,GZ=BP(),GS=GY.length,GT=GZ==Ar,Ga=GT&&GS>=200,GR=Ga&&Fd(),Gc=[];if(GR){GZ=GK;GT=false}else{Ga=false;GR=GW?[]:Gc}outer:while(++GX<GS){var Gb=GY[GX],GU=GW?GW(Gb,GX,GY):Gb;if(GT&&Gb===Gb){var GV=GR.length;while(GV--){if(GR[GV]===GU){continue outer}}if(GW){GR.push(GU)}Gc.push(Gb)}else{if(GZ(GR,GU)<0){if(GW||Ga){GR.push(GU)}Gc.push(Gb)}}}return Gc}function E4(GT,GU){var GS=-1,GV=GU.length,GR=Es(GV);while(++GS<GV){GR[GS]=GT[GU[GS]]}return GR}function BE(GW,GX){var GR=GW;if(GR instanceof Ez){GR=GR.value()}var GT=-1,GU=GX.length;while(++GT<GU){var GS=[GR],GV=GX[GT];DQ.apply(GS,GV.args);GR=GV.func.apply(GV.thisArg,GS)}return GR}function F4(GX,GW,GV){var GR=0,GU=GX?GX.length:GR;if(typeof GW=="number"&&GW===GW&&GU<=DM){while(GR<GU){var GS=(GR+GU)>>>1,GT=GX[GS];if(GV?(GT<=GW):(GT<GW)){GR=GS+1}else{GU=GS}}return GU}return Bn(GX,GW,CR,GV)}function Bn(GV,GZ,GU,GW){GZ=GU(GZ);var GX=0,GT=GV?GV.length:0,GR=GZ!==GZ,Ga=typeof GZ=="undefined";while(GX<GT){var GY=DK((GX+GT)/2),GS=GU(GV[GY]),Gc=GS===GS;if(GR){var Gb=Gc||GW}else{if(Ga){Gb=Gc&&(GW||typeof GS!="undefined")}else{Gb=GW?(GS<=GZ):(GS<GZ)}}if(Gb){GX=GY+1}else{GT=GY}}return BY(GT,Fp)}function D8(GS,GR,GT){if(typeof GS!="function"){return CR}if(typeof GR=="undefined"){return GS}switch(GT){case 1:return function(GU){return GS.call(GR,GU)};case 3:return function(GV,GU,GW){return GS.call(GR,GV,GU,GW)};case 4:return function(GU,GW,GV,GX){return GS.call(GR,GU,GW,GV,GX)};case 5:return function(GY,GU,GW,GV,GX){return GS.call(GR,GY,GU,GW,GV,GX)}}return function(){return GS.apply(GR,arguments)}}function Eg(GR){return D2.call(GR,0)}if(!D2){Eg=!(DL&&Fz)?BT(null):function(GT){var GU=GT.byteLength,GW=Bh?DK(GU/CU):0,GV=GW*CU,GR=new DL(GU);if(GW){var GS=new Bh(GR,0,GW);GS.set(new Bh(GT,0,GW))}if(GU!=GV){GS=new Fz(GR,GV);GS.set(new Fz(GT,GV))}return GR}}function Fi(GW,GV,GT){var GS=GT.length,GR=-1,GU=DD(GW.length-GS,0),GX=-1,GY=GV.length,GZ=Es(GU+GY);while(++GX<GY){GZ[GX]=GV[GX]}while(++GR<GS){GZ[GT[GR]]=GW[GR]}while(GU--){GZ[GX++]=GW[GR++]}return GZ}function ET(GZ,GY,GV){var Ga=-1,GT=GV.length,GR=-1,GX=DD(GZ.length-GT,0),GS=-1,GW=GY.length,Gb=Es(GX+GW);while(++GR<GX){Gb[GR]=GZ[GR]}var GU=GR;while(++GS<GW){Gb[GU+GS]=GY[GS]}while(++Ga<GT){Gb[GU+GV[Ga]]=GZ[GR++]}return Gb}function D3(GS,GR){return function(GZ,GY,GU){var GT=GR?GR():{};GY=F8(GY,GU,3);if(Bg(GZ)){var GV=-1,GW=GZ.length;while(++GV<GW){var GX=GZ[GV];GS(GT,GX,GY(GX,GV,GZ),GZ)}}else{Bm(GZ,function(Gb,Ga,Gc){GS(GT,Gb,GY(Gb,Ga,Gc),Gc)})}return GT}}function E1(GR){return function(){var GV=arguments.length,GT=arguments[0];if(GV<2||GT==null){return GT}if(GV>3&&Dc(arguments[1],arguments[2],arguments[3])){GV=2}if(GV>3&&typeof arguments[GV-2]=="function"){var GU=D8(arguments[--GV-1],arguments[GV--],5)}else{if(GV>2&&typeof arguments[GV-1]=="function"){GU=arguments[--GV]}}var GS=0;while(++GS<GV){var GW=arguments[GS];if(GW){GR(GT,GW,GU)}}return GT}}function BN(GT,GR){var GS=D7(GT);function GU(){return(this instanceof GU?GS:GT).apply(GR,arguments)}return GU}var Fd=!(F5&&FC)?BT(null):function(GR){return new CJ(GR)};function Fj(GR){return function(GU){var GT=-1,GW=DF(Cw(GU)),GV=GW.length,GS="";while(++GT<GV){GS=GR(GS,GW[GT],GT)}return GS}}function D7(GR){return function(){var GT=EP(GR.prototype),GS=GR.apply(GT,arguments);return BL(GS)?GS:GT}}function A0(GR,GS){return function(GY,GX,GT){if(GT&&Dc(GY,GX,GT)){GX=null}var GW=F8(),GU=GX==null;if(!(GW===Bi&&GU)){GU=false;GX=GW(GX,GT,3)}if(GU){var GV=Bg(GY);if(!GV&&BR(GY)){GX=Ai}else{return GR(GV?GY:EA(GY))}}return Fh(GY,GX,GS)}}function CC(GV,Gg,Ge,GY,GU,Gd,GX,GS,Gh,Gf){var GT=Gg&h,GR=Gg&n,Gc=Gg&g,Gi=Gg&z,Ga=Gg&s,GZ=Gg&M;var Gb=!Gc&&D7(GV),Gj=GV;function GW(){var Gl=arguments.length,Gp=Gl,Gr=Es(Gl);while(Gp--){Gr[Gp]=arguments[Gp]}if(GY){Gr=Fi(Gr,GY,GU)}if(Gd){Gr=ET(Gr,Gd,GX)}if(Gi||GZ){var Gu=GW.placeholder,Gn=l(Gr,Gu);Gl-=Gn.length;if(Gl<Gf){var Gv=GS?DB(GS):null,Gm=DD(Gf-Gl,0),Gq=Gi?Gn:null,Gt=Gi?null:Gn,Go=Gi?Gr:null,Gk=Gi?null:Gr;Gg|=(Gi?AA:AQ);Gg&=~(Gi?AQ:AA);if(!Ga){Gg&=~(n|g)}var Gw=CC(GV,Gg,Ge,Go,Gq,Gk,Gt,Gv,Gh,Gm);Gw.placeholder=Gu;return Gw}}var Gs=GR?Ge:this;if(Gc){GV=Gs[Gj]}if(GS){Gr=Fn(Gr,GS)}if(GT&&Gh<Gr.length){Gr.length=Gh}return(this instanceof GW?(Gb||D7(GV)):GV).apply(Gs,Gr)}return GW}function CF(GR,GU,GT){var GS=GR.length;GU=+GU;if(GS>=GU||!EW(GU)){return""}var GV=GU-GS;GT=GT==null?" ":AT(GT);return Co(GT,FU(GV/GT.length)).slice(0,GV)}function GQ(GW,GT,GS,GV){var GR=GT&n,GU=D7(GW);function GX(){var GY=-1,Gc=arguments.length,Gb=-1,Ga=GV.length,GZ=Es(Gc+Ga);while(++Gb<Ga){GZ[Gb]=GV[Gb]}while(Gc--){GZ[Gb++]=arguments[++GY]}return(this instanceof GX?GU:GW).apply(GR?GS:this,GZ)}return GX}function EQ(GW,GV,Gb,Ga,GX,Gc,GU,GR){var Gg=GV&g;if(!Gg&&!Ck(GW)){throw new Fg(Ag)}var GT=Ga?Ga.length:0;if(!GT){GV&=~(AA|AQ);Ga=GX=null}GT-=(GX?GX.length:0);if(GV&AQ){var Gd=Ga,GS=GX;Ga=GX=null}var GZ=!Gg&&Cv(GW),Gf=[GW,GV,Gb,Ga,GX,Gd,GS,Gc,GU,GR];if(GZ&&GZ!==true){BH(Gf,GZ);GV=Gf[1];GR=Gf[9]}Gf[9]=GR==null?(Gg?0:GW.length):(DD(GR-GT,0)||0);if(GV==n){var Ge=BN(Gf[0],Gf[2])}else{if((GV==AA||GV==(n|AA))&&!Gf[4].length){Ge=GQ.apply(null,Gf)}else{Ge=CC.apply(null,Gf)}}var GY=GZ?GB:GL;return GY(Ge,Gf)}function EZ(GZ,Ga,Gd,GT,GV,GW,GU){var GY=-1,Gb=GZ.length,Gc=Ga.length,Ge=true;if(Gb!=Gc&&!(GV&&Gc>Gb)){return false}while(Ge&&++GY<Gb){var GR=GZ[GY],GX=Ga[GY];Ge=f;if(GT){Ge=GV?GT(GX,GR,GY):GT(GR,GX,GY)}if(typeof Ge=="undefined"){if(GV){var GS=Gc;while(GS--){GX=Ga[GS];Ge=(GR&&GR===GX)||Gd(GR,GX,GT,GV,GW,GU);if(Ge){break}}}else{Ge=(GR&&GR===GX)||Gd(GR,GX,GT,GV,GW,GU)}}}return !!Ge}function DU(GT,GS,GR){switch(GR){case Aj:case a:return +GT==+GS;case Ae:return GT.name==GS.name&>.message==GS.message;case H:return(GT!=+GT)?GS!=+GS:(GT==0?((1/GT)==(1/GS)):GT==+GS);case r:case Z:return GT==AT(GS)}return false}function Cu(Gh,GT,Ge,Ga,GX,Gg,Gf){var GW=DO(Gh),GZ=GW.length,GY=DO(GT),Gc=GY.length;if(GZ!=Gc&&!GX){return false}var GR,GU=-1;while(++GU<GZ){var Gi=GW[GU],GV=Be.call(GT,Gi);if(GV){var Gj=Gh[Gi],GS=GT[Gi];GV=f;if(Ga){GV=GX?Ga(GS,Gj,Gi):Ga(Gj,GS,Gi)}if(typeof GV=="undefined"){GV=(Gj&&Gj===GS)||Ge(Gj,GS,Ga,GX,Gg,Gf)}}if(!GV){return false}GR||(GR=Gi=="constructor")}if(!GR){var Gb=Gh.constructor,Gd=GT.constructor;if(Gb!=Gd&&("constructor" in Gh&&"constructor" in GT)&&!(typeof Gb=="function"&&Gb instanceof Gb&&typeof Gd=="function"&&Gd instanceof Gd)){return false}}return true}function Fh(GV,GU,GW){var GS=GW?D6:Az,GT=GS,GR=GT;Bm(GV,function(GY,GX,Ga){var GZ=GU(GY,GX,Ga);if((GW?GZ<GT:GZ>GT)||(GZ===GS&&GZ===GR)){GT=GZ;GR=GY}});return GR}function F8(GT,GS,GU){var GR=Fl.callback||Ci;GR=GR===Ci?Bi:GR;return GU?GR(GT,GS,GU):GR}var Cv=!CH?FH:function(GR){return CH.get(GR)};function BP(GU,GT,GS){var GR=Fl.indexOf||EB;GR=GR===EB?Ar:GR;return GU?GR(GU,GT,GS):GR}function E6(GX,GR,GU){var GS=-1,GV=GU?GU.length:0;while(++GS<GV){var GW=GU[GS],GT=GW.size;switch(GW.type){case"drop":GX+=GT;break;case"dropRight":GR-=GT;break;case"take":GR=BY(GR,GX+GT);break;case"takeRight":GX=DD(GX,GR-GT);break}}return{start:GX,end:GR}}function A8(GT){var GS=GT.length,GR=new GT.constructor(GS);if(GS&&typeof GT[0]=="string"&&Be.call(GT,"index")){GR.index=GT.index;GR.input=GT.input}return GR}function CO(GS){var GR=GS.constructor;if(!(typeof GR=="function"&&GR instanceof GR)){GR=Dd}return new GR}function Ee(GW,GS,GU){var GV=GW.constructor;switch(GS){case Am:return Eg(GW);case Aj:case a:return new GV(+GW);case Au:case t:case W:case Aa:case d:case Ah:case AH:case AM:case Q:var GT=GW.buffer;return new GV(GU?Eg(GT):GT,GW.byteOffset,GW.length);case H:case Z:return new GV(GW);case r:var GR=new GV(GW.source,AY.exec(GW));GR.lastIndex=GW.lastIndex}return GR}function Cq(GT){var GS=Fl.support,GR=!(GS.funcNames?GT.name:GS.funcDecomp);if(!GR){var GU=EE.call(GT);if(!GS.funcNames){GR=!AW.test(GU)}if(!GR){GR=F.test(GU)||Bb(GT);GB(GT,GR)}}return GR}function Cj(GS,GR){GS=+GS;GR=GR==null?Fa:GR;return GS>-1&&GS%1==0&&GS<GR}function Dc(GW,GT,GS){if(!BL(GS)){return false}var GU=typeof GT;if(GU=="number"){var GV=GS.length,GR=Ew(GV)&&Cj(GT,GV)}else{GR=GU=="string"&> in GW}return GR&&GS[GT]===GW}function Ew(GR){return typeof GR=="number"&&GR>-1&&GR%1==0&&GR<=Fa}function EN(GR){return GR===GR&&(GR===0?((1/GR)>0):!BL(GR))}function BH(GZ,GR){var GV=GZ[1],Gd=GR[1],Gb=GV|Gd;var GY=h|J,Gg=n|g,GX=GY|Gg|s|M;var GS=GV&h&&!(Gd&h),Gc=GV&J&&!(Gd&J),Ge=(Gc?GZ:GR)[7],GU=(GS?GZ:GR)[8];var GW=!(GV>=J&&Gd>Gg)&&!(GV>Gg&&Gd>=J);var GT=(Gb>=GY&&Gb<=GX)&&(GV<J||((Gc||GS)&&Ge.length<=GU));if(!(GW||GT)){return GZ}if(Gd&n){GZ[2]=GR[2];Gb|=(GV&n)?0:s}var Gf=GR[3];if(Gf){var Ga=GZ[3];GZ[3]=Ga?Fi(Ga,Gf,GR[4]):DB(Gf);GZ[4]=Ga?l(GZ[3],Ak):DB(GR[4])}Gf=GR[5];if(Gf){Ga=GZ[5];GZ[5]=Ga?ET(Ga,Gf,GR[6]):DB(Gf);GZ[6]=Ga?l(GZ[5],Ak):DB(GR[6])}Gf=GR[7];if(Gf){GZ[7]=DB(Gf)}if(Gd&h){GZ[8]=GZ[8]==null?GR[8]:BY(GZ[8],GR[8])}if(GZ[9]==null){GZ[9]=GR[9]}GZ[0]=GR[0];GZ[1]=Gb;return GZ}function CV(GT,GV){GT=E8(GT);var GS=-1,GW=GV.length,GR={};while(++GS<GW){var GU=GV[GS];if(GU in GT){GR[GU]=GT[GU]}}return GR}function FF(GT,GS){var GR={};CN(GT,function(GW,GV,GU){if(GS(GW,GV,GU)){GR[GV]=GW}});return GR}function Fn(GW,GS){var GV=GW.length,GU=BY(GS.length,GV),GT=DB(GW);while(GU--){var GR=GS[GU];GW[GU]=Cj(GR,GV)?GT[GR]:f}return GW}var GL=(function(){var GS=0,GR=0;return function(GU,GW){var GT=Dw(),GV=p-(GT-GR);GR=GT;if(GV>0){if(++GS>=U){return GU}}else{GS=0}return GB(GU,GW)}}());function B3(GU){var GS,GT=Fl.support;if(!(G(GU)&&Fv.call(GU)==D)||(!Be.call(GU,"constructor")&&(GS=GU.constructor,typeof GS=="function"&&!(GS instanceof GS)))){return false}var GR;CN(GU,function(GW,GV){GR=GV});return typeof GR=="undefined"||Be.call(GU,GR)}function BK(GT){var GV=B5(GT),GR=GV.length,GS=GR&>.length,GX=Fl.support;var GY=GS&&Ew(GS)&&(Bg(GT)||(GX.nonEnumArgs&&GG(GT)));var GU=-1,GZ=[];while(++GU<GR){var GW=GV[GU];if((GY&&Cj(GW,GS))||Be.call(GT,GW)){GZ.push(GW)}}return GZ}function EA(GR){if(GR==null){return[]}if(!Ew(GR.length)){return B6(GR)}return BL(GR)?GR:Dd(GR)}function E8(GR){return BL(GR)?GR:Dd(GR)}function Dt(GX,GT,GW){if(GW?Dc(GX,GT,GW):GT==null){GT=1}else{GT=DD(+GT||1,1)}var GS=0,GV=GX?GX.length:0,GU=-1,GR=Es(FU(GV/GT));while(GS<GV){GR[++GU]=Bd(GX,GS,(GS+=GT))}return GR}function C4(GW){var GS=-1,GU=GW?GW.length:0,GT=-1,GR=[];while(++GS<GU){var GV=GW[GS];if(GV){GR[++GT]=GV}}return GR}function FK(){var GR=-1,GS=arguments.length;while(++GR<GS){var GT=arguments[GR];if(Bg(GT)||GG(GT)){break}}return B8(GT,DS(arguments,false,true,++GR))}function DR(GU,GT,GS){var GR=GU?GU.length:0;if(!GR){return[]}if(GS?Dc(GU,GT,GS):GT==null){GT=1}return Bd(GU,GT<0?0:GT)}function Dy(GU,GT,GS){var GR=GU?GU.length:0;if(!GR){return[]}if(GS?Dc(GU,GT,GS):GT==null){GT=1}GT=GR-(+GT||0);return Bd(GU,0,GT<0?0:GT)}function BA(GU,GR,GS){var GT=GU?GU.length:0;if(!GT){return[]}GR=F8(GR,GS,3);while(GT--&&GR(GU[GT],GT,GU)){}return Bd(GU,0,GT+1)}function C5(GV,GR,GS){var GU=GV?GV.length:0;if(!GU){return[]}var GT=-1;GR=F8(GR,GS,3);while(++GT<GU&&GR(GV[GT],GT,GV)){}return Bd(GV,GT)}function Bj(GV,GR,GS){var GT=-1,GU=GV?GV.length:0;GR=F8(GR,GS,3);while(++GT<GU){if(GR(GV[GT],GT,GV)){return GT}}return -1}function BI(GU,GR,GS){var GT=GU?GU.length:0;GR=F8(GR,GS,3);while(GT--){if(GR(GU[GT],GT,GU)){return GT}}return -1}function A3(GR){return GR?GR[0]:f}function Dh(GU,GR,GT){var GS=GU?GU.length:0;if(GT&&Dc(GU,GR,GT)){GR=false}return GS?DS(GU,GR):[]}function FB(GS){var GR=GS?GS.length:0;return GR?DS(GS,true):[]}function EB(GW,GV,GT){var GU=GW?GW.length:0;if(!GU){return -1}if(typeof GT=="number"){GT=GT<0?DD(GU+GT,0):(GT||0)}else{if(GT){var GS=F4(GW,GV),GR=GW[GS];return(GV===GV?GV===GR:GR!==GR)?GS:-1}}return Ar(GW,GV,GT)}function Ea(GR){return Dy(GR,1)}function Cm(){var Ga=[],GT=-1,GW=arguments.length,GZ=[],Gb=BP(),GV=Gb==Ar;while(++GT<GW){var Gc=arguments[GT];if(Bg(Gc)||GG(Gc)){Ga.push(Gc);GZ.push(GV&&Gc.length>=120&&Fd(GT&&Gc))}}GW=Ga.length;var GY=Ga[0],GX=-1,GU=GY?GY.length:0,Gd=[],GS=GZ[0];outer:while(++GX<GU){Gc=GY[GX];if((GS?GK(GS,Gc):Gb(Gd,Gc))<0){GT=GW;while(--GT){var GR=GZ[GT];if((GR?GK(GR,Gc):Gb(Ga[GT],Gc))<0){continue outer}}if(GS){GS.push(Gc)}Gd.push(Gc)}}return Gd}function Ff(GS){var GR=GS?GS.length:0;return GR?GS[GR-1]:f}function DJ(GW,GV,GT){var GU=GW?GW.length:0;if(!GU){return -1}var GS=GU;if(typeof GT=="number"){GS=(GT<0?DD(GU+GT,0):BY(GT||0,GU-1))+1}else{if(GT){GS=F4(GW,GV,true)-1;var GR=GW[GS];return(GV===GV?GV===GR:GR!==GR)?GS:-1}}if(GV!==GV){return AN(GW,GS,true)}while(GS--){if(GW[GS]===GV){return GS}}return -1}function Eo(){var GW=arguments[0];if(!(GW&&GW.length)){return GW}var GR=0,GT=BP(),GU=arguments.length;while(++GR<GU){var GS=0,GV=arguments[GR];while((GS=GT(GW,GV,GS))>-1){Em.call(GW,GS,1)}}return GW}function C6(GR){return GE(GR||[],DS(arguments,false,false,1))}function Dj(GX,GS,GT){var GU=-1,GV=GX?GX.length:0,GR=[];GS=F8(GS,GT,3);while(++GU<GV){var GW=GX[GU];if(GS(GW,GU,GX)){GR.push(GW);Em.call(GX,GU--,1);GV--}}return GR}function FG(GR){return DR(GR,1)}function D0(GU,GT,GR){var GS=GU?GU.length:0;if(!GS){return[]}if(GR&&typeof GR!="number"&&Dc(GU,GT,GR)){GT=0;GR=GS}return Bd(GU,GT,GR)}function Dm(GV,GT,GU,GR){var GS=F8(GU);return(GS===Bi&&GU==null)?F4(GV,GT):Bn(GV,GT,GS(GU,GR,1))}function FM(GV,GT,GU,GR){var GS=F8(GU);return(GS===Bi&&GU==null)?F4(GV,GT,true):Bn(GV,GT,GS(GU,GR,1),true)}function Da(GU,GT,GS){var GR=GU?GU.length:0;if(!GR){return[]}if(GS?Dc(GU,GT,GS):GT==null){GT=1}return Bd(GU,0,GT<0?0:GT)}function Do(GU,GT,GS){var GR=GU?GU.length:0;if(!GR){return[]}if(GS?Dc(GU,GT,GS):GT==null){GT=1}GT=GR-(+GT||0);return Bd(GU,GT<0?0:GT)}function FX(GU,GR,GS){var GT=GU?GU.length:0;if(!GT){return[]}GR=F8(GR,GS,3);while(GT--&&GR(GU[GT],GT,GU)){}return Bd(GU,GT+1)}function Cy(GV,GR,GS){var GU=GV?GV.length:0;if(!GU){return[]}var GT=-1;GR=F8(GR,GS,3);while(++GT<GU&&GR(GV[GT],GT,GV)){}return Bd(GV,0,GT)}function CE(){return Bp(DS(arguments,false,true))}function DA(GW,GV,GU,GR){var GT=GW?GW.length:0;if(!GT){return[]}if(typeof GV!="boolean"&&GV!=null){GR=GU;GU=Dc(GW,GV,GR)?null:GV;GV=false}var GS=F8();if(!(GS===Bi&&GU==null)){GU=GS(GU,GR,3)}return(GV&&BP()==Ar)?v(GW,GU):Bp(GW,GU)}function Bz(GU){var GS=-1,GT=(GU&&GU.length&&FJ(FQ(GU,Ek)))>>>0,GR=Es(GT);while(++GS<GT){GR[GS]=FQ(GU,F2(GS))}return GR}function Ds(GR){return B8(GR,Bd(arguments,1))}function A1(){var GS=-1,GT=arguments.length;while(++GS<GT){var GU=arguments[GS];if(Bg(GU)||GG(GU)){var GR=GR?B8(GR,GU).concat(B8(GU,GR)):GU}}return GR?Bp(GR):[]}function E3(){var GR=arguments.length,GS=Es(GR);while(GR--){GS[GR]=arguments[GR]}return Bz(GS)}function Ba(GV,GS){var GT=-1,GW=GV?GV.length:0,GR={};if(GW&&!GS&&!Bg(GV[0])){GS=[]}while(++GT<GW){var GU=GV[GT];if(GS){GR[GU]=GS[GT]}else{if(GU){GR[GU[0]]=GU[1]}}}return GR}function FD(GS){var GR=Fl(GS);GR.__chain__=true;return GR}function EF(GS,GT,GR){GT.call(GR,GS);return GS}function C7(GS,GT,GR){return GT.call(GR,GS)}function GC(){return FD(this)}function GN(){var GR=this.__wrapped__;if(GR instanceof Ez){return new Bq(GR.reverse())}return this.thru(function(GS){return GS.reverse()})}function FY(){return(this.value()+"")}function CW(){return BE(this.__wrapped__,this.__actions__)}function F6(GS){var GR=GS?GS.length:0;if(Ew(GR)){GS=EA(GS)}return ER(GS,DS(arguments,false,false,1))}function B4(GU,GT,GR){var GS=GU?GU.length:0;if(!Ew(GS)){GU=B6(GU);GS=GU.length}if(!GS){return false}if(typeof GR=="number"){GR=GR<0?DD(GS+GR,0):(GR||0)}else{GR=0}return(typeof GU=="string"||!Bg(GU)&&BR(GU))?(GR<GS&&GU.indexOf(GT,GR)>-1):(BP(GU,GT,GR)>-1)}var A7=D3(function(GR,GT,GS){Be.call(GR,GS)?++GR[GS]:(GR[GS]=1)});function Dg(GU,GR,GS){var GT=Bg(GU)?CY:BF;if(typeof GR!="function"||typeof GS!="undefined"){GR=F8(GR,GS,3)}return GT(GU,GR)}function Bw(GU,GR,GS){var GT=Bg(GU)?Di:Er;GR=F8(GR,GS,3);return GT(GU,GR)}function BU(GU,GR,GS){if(Bg(GU)){var GT=Bj(GU,GR,GS);return GT>-1?GU[GT]:f}GR=F8(GR,GS,3);return FW(GU,GR,Bm)}function B1(GT,GR,GS){GR=F8(GR,GS,3);return FW(GT,GR,CI)}function DV(GS,GR){return BU(GS,Bl(GR))}function Ce(GT,GS,GR){return(typeof GS=="function"&&typeof GR=="undefined"&&Bg(GT))?FO(GT,GS):Bm(GT,D8(GS,GR,3))}function Dz(GT,GS,GR){return(typeof GS=="function"&&typeof GR=="undefined"&&Bg(GT))?BJ(GT,GS):CI(GT,D8(GS,GR,3))}var Bo=D3(function(GR,GT,GS){if(Be.call(GR,GS)){GR[GS].push(GT)}else{GR[GS]=[GT]}});var BQ=D3(function(GR,GT,GS){GR[GS]=GT});function A2(GS,GR){return ED(GS,GR,Bd(arguments,2))}function Cz(GU,GT,GR){var GS=Bg(GU)?FQ:DY;GT=F8(GT,GR,3);return GS(GU,GT)}var Cx=A0(FJ);var BC=A0(Dl,true);var Bt=D3(function(GR,GT,GS){GR[GS?0:1].push(GT)},function(){return[[],[]]});function El(GS,GR){return Cz(GS,DG(GR))}function Cf(GV,GU,GS,GR){var GT=Bg(GV)?EM:Fm;return GT(GV,F8(GU,GR,4),GS,arguments.length<3,Bm)}function C9(GV,GU,GS,GR){var GT=Bg(GV)?En:Fm;return GT(GV,F8(GU,GR,4),GS,arguments.length<3,CI)}function Ca(GU,GR,GS){var GT=Bg(GU)?Di:Er;GR=F8(GR,GS,3);return GT(GU,function(GW,GV,GX){return !GR(GW,GV,GX)})}function FA(GU,GV,GT){if(GT?Dc(GU,GV,GT):GV==null){GU=EA(GU);var GS=GU.length;return GS>0?GU[D1(0,GS-1)]:f}var GR=GD(GU);GR.length=BY(GV<0?0:(+GV||0),GR.length);return GR}function GD(GV){GV=EA(GV);var GS=-1,GU=GV.length,GR=Es(GU);while(++GS<GU){var GT=D1(0,GS);if(GS!=GT){GR[GS]=GR[GT]}GR[GT]=GV[GS]}return GR}function EY(GS){var GR=GS?GS.length:0;return Ew(GR)?GR:DO(GS).length}function Eb(GU,GR,GS){var GT=Bg(GU)?BX:DI;if(typeof GR!="function"||typeof GS!="undefined"){GR=F8(GR,GS,3)}return GT(GU,GR)}function CS(GW,GV,GS){var GT=-1,GU=GW?GW.length:0,GR=Ew(GU)?Es(GU):[];if(GS&&Dc(GW,GV,GS)){GV=null}GV=F8(GV,GS,3);Bm(GW,function(GY,GX,GZ){GR[++GT]={criteria:GV(GY,GX,GZ),index:GT,value:GY}});return Ax(GR,j)}function Cg(GW){var GT=arguments;if(GT.length>3&&Dc(GT[1],GT[2],GT[3])){GT=[GW,GT[1]]}var GS=-1,GV=GW?GW.length:0,GU=DS(GT,false,false,1),GR=Ew(GV)?Es(GV):[];Bm(GW,function(GZ,GX,Ga){var GY=GU.length,Gb=Es(GY);while(GY--){Gb[GY]=GZ==null?f:GZ[GU[GY]]}GR[++GS]={criteria:Gb,index:GS,value:GZ}});return Ax(GR,P)}function A9(GS,GR){return Bw(GS,Bl(GR))}var Dw=EC||function(){return new Db().getTime()};function GA(GT,GS){if(!Ck(GS)){if(Ck(GT)){var GR=GT;GT=GS;GS=GR}else{throw new Fg(Ag)}}GT=EW(GT=+GT)?GT:0;return function(){if(--GT<1){return GS.apply(this,arguments)}}}function Ej(GS,GT,GR){if(GR&&Dc(GS,GT,GR)){GT=null}GT=(GS&>==null)?GS.length:DD(+GT||0,0);return EQ(GS,h,null,null,null,null,GT)}function FN(GU,GT){var GR;if(!Ck(GT)){if(Ck(GU)){var GS=GU;GU=GT;GT=GS}else{throw new Fg(Ag)}}return function(){if(--GU>0){GR=GT.apply(this,arguments)}else{GT=null}return GR}}function DX(GU,GS){var GR=n;if(arguments.length>2){var GT=Bd(arguments,2),GV=l(GT,DX.placeholder);GR|=AA}return EQ(GU,GR,GS,GT,GV)}function Bc(GR){return C0(GR,arguments.length>1?DS(arguments,false,false,1):FL(GR))}function Fb(GS,GU){var GR=n|g;if(arguments.length>2){var GT=Bd(arguments,2),GV=l(GT,Fb.placeholder);GR|=AA}return EQ(GU,GR,GS,GT,GV)}function B2(GT,GU,GS){if(GS&&Dc(GT,GU,GS)){GU=null}var GR=EQ(GT,z,null,null,null,null,null,GU);GR.placeholder=B2.placeholder;return GR}function FZ(GT,GU,GS){if(GS&&Dc(GT,GU,GS)){GU=null}var GR=EQ(GT,M,null,null,null,null,null,GU);GR.placeholder=FZ.placeholder;return GR}function EI(GX,Gb,GU){var GR,Gi,GZ,Ga,Gd,GY,Ge,GW=0,GV=false,GS=true;if(!Ck(GX)){throw new Fg(Ag)}Gb=Gb<0?0:Gb;if(GU===true){var Gh=true;GS=false}else{if(BL(GU)){Gh=GU.leading;GV="maxWait" in GU&&DD(+GU.maxWait||0,Gb);GS="trailing" in GU?GU.trailing:GS}}function GT(){if(GY){D4(GY)}if(Gi){D4(Gi)}Gi=GY=Ge=f}function Gc(){var Gk=Gb-(Dw()-Ga);if(Gk<=0||Gk>Gb){if(Gi){D4(Gi)}var Gj=Ge;Gi=GY=Ge=f;if(Gj){GW=Dw();GZ=GX.apply(Gd,GR);if(!GY&&!Gi){GR=Gd=null}}}else{GY=Bu(Gc,Gk)}}function Gf(){if(GY){D4(GY)}Gi=GY=Ge=f;if(GS||(GV!==Gb)){GW=Dw();GZ=GX.apply(Gd,GR);if(!GY&&!Gi){GR=Gd=null}}}function Gg(){GR=arguments;Ga=Dw();Gd=this;Ge=GS&&(GY||!Gh);if(GV===false){var Gj=Gh&&!GY}else{if(!Gi&&!Gh){GW=Ga}var Gl=GV-(Ga-GW),Gk=Gl<=0||Gl>GV;if(Gk){if(Gi){Gi=D4(Gi)}GW=Ga;GZ=GX.apply(Gd,GR)}else{if(!Gi){Gi=Bu(Gf,Gl)}}}if(Gk&&GY){GY=D4(GY)}else{if(!GY&&Gb!==GV){GY=Bu(Gc,Gb)}}if(Gj){Gk=true;GZ=GX.apply(Gd,GR)}if(Gk&&!GY&&!Gi){GR=Gd=null}return GZ}Gg.cancel=GT;return Gg}function Bk(GR){return Cr(GR,1,arguments,1)}function E7(GR,GS){return Cr(GR,GS,arguments,2)}function CT(){var GR=arguments,GS=GR.length;if(!GS){return function(){}}if(!CY(GR,Ck)){throw new Fg(Ag)}return function(){var GU=0,GT=GR[GU].apply(this,arguments);while(++GU<GS){GT=GR[GU].call(this,GT)}return GT}}function FT(){var GR=arguments,GS=GR.length-1;if(GS<0){return function(){}}if(!CY(GR,Ck)){throw new Fg(Ag)}return function(){var GU=GS,GT=GR[GU].apply(this,arguments);while(GU--){GT=GR[GU].call(this,GT)}return GT}}function Fk(GS,GT){if(!Ck(GS)||(GT&&!Ck(GT))){throw new Fg(Ag)}var GR=function(){var GV=GR.cache,GW=GT?GT.apply(this,arguments):arguments[0];if(GV.has(GW)){return GV.get(GW)}var GU=GS.apply(this,arguments);GV.set(GW,GU);return GU};GR.cache=new Fk.Cache;return GR}function Ep(GR){if(!Ck(GR)){throw new Fg(Ag)}return function(){return !GR.apply(this,arguments)}}function Ei(GR){return FN(GR,2)}function GH(GS){var GR=Bd(arguments,1),GT=l(GR,GH.placeholder);return EQ(GS,AA,null,GR,GT)}function Cp(GS){var GR=Bd(arguments,1),GT=l(GR,Cp.placeholder);return EQ(GS,AQ,null,GR,GT)}function Fy(GS){var GR=DS(arguments,false,false,1);return EQ(GS,J,null,null,null,GR)}function CX(GS,GT,GR){var GV=true,GU=true;if(!Ck(GS)){throw new Fg(Ag)}if(GR===false){GV=false}else{if(BL(GR)){GV="leading" in GR?!!GR.leading:GV;GU="trailing" in GR?!!GR.trailing:GU}}AD.leading=GV;AD.maxWait=+GT;AD.trailing=GU;return EI(GS,GT,AD)}function A6(GR,GS){GS=GS==null?CR:GS;return EQ(GS,AA,null,[GR],[])}function Ed(GU,GS,GT,GR){if(typeof GS!="boolean"&&GS!=null){GR=GT;GT=Dc(GU,GS,GR)?null:GS;GS=false}GT=typeof GT=="function"&&D8(GT,GR,1);return CQ(GU,GS,GT)}function GF(GT,GS,GR){GS=typeof GS=="function"&&D8(GS,GR,1);return CQ(GT,true,GS)}function GG(GS){var GR=G(GS)?GS.length:f;return(Ew(GR)&&Fv.call(GS)==Y)||false}var Bg=Ft||function(GR){return(G(GR)&&Ew(GR.length)&&Fv.call(GR)==AV)||false};function CD(GR){return(GR===true||GR===false||G(GR)&&Fv.call(GR)==Aj)||false}function Fs(GR){return(G(GR)&&Fv.call(GR)==a)||false}function BG(GR){return(GR&&GR.nodeType===1&&G(GR)&&Fv.call(GR).indexOf("Element")>-1)||false}if(!FP.dom){BG=function(GR){return(GR&&GR.nodeType===1&&G(GR)&&!EG(GR))||false}}function FE(GS){if(GS==null){return true}var GR=GS.length;if(Ew(GR)&&(Bg(GS)||BR(GS)||GG(GS)||(G(GS)&&Ck(GS.splice)))){return !GR}return !DO(GS).length}function F7(GV,GS,GU,GT){GU=typeof GU=="function"&&D8(GU,GT,3);if(!GU&&EN(GV)&&EN(GS)){return GV===GS}var GR=GU?GU(GV,GS):f;return typeof GR=="undefined"?CB(GV,GS,GU):!!GR}function Cc(GR){return(G(GR)&&typeof GR.message=="string"&&Fv.call(GR)==Ae)||false}var FS=Dr||function(GR){return typeof GR=="number"&&EW(GR)};function Ck(GR){return typeof GR=="function"||false}if(Ck(/x/)||(Fz&&!Ck(Fz))){Ck=function(GR){return Fv.call(GR)==A}}function BL(GS){var GR=typeof GS;return GR=="function"||(GS&&GR=="object")||false}function A4(GV,GR,GU,GX){var GW=DO(GR),GT=GW.length;GU=typeof GU=="function"&&D8(GU,GX,3);if(!GU&>==1){var Ga=GW[0],GY=GR[Ga];if(EN(GY)){return GV!=null&&GY===GV[Ga]&&Be.call(GV,Ga)}}var GZ=Es(GT),GS=Es(GT);while(GT--){GY=GZ[GT]=GR[GW[GT]];GS[GT]=EN(GY)}return Cd(GV,GW,GZ,GS,GU)}function Cb(GR){return BD(GR)&&GR!=+GR}function Bb(GR){if(GR==null){return false}if(Fv.call(GR)==A){return F3.test(EE.call(GR))}return(G(GR)&&Ay.test(GR))||false}function Ey(GR){return GR===null}function BD(GR){return typeof GR=="number"||(G(GR)&&Fv.call(GR)==H)||false}var EG=!By?B3:function(GT){if(!(GT&&Fv.call(GT)==D)){return false}var GR=GT.valueOf,GS=Bb(GR)&&(GS=By(GR))&&By(GS);return GS?(GT==GS||By(GT)==GS):B3(GT)};function B9(GR){return(G(GR)&&Fv.call(GR)==r)||false}function BR(GR){return typeof GR=="string"||(G(GR)&&Fv.call(GR)==Z)||false}function EV(GR){return(G(GR)&&Ew(GR.length)&&AG[Fv.call(GR)])||false}function BS(GR){return typeof GR=="undefined"}function Ex(GS){var GR=GS?GS.length:0;if(!Ew(GR)){return B6(GS)}if(!GR){return[]}return DB(GS)}function Df(GR){return Eq(GR,B5(GR))}var GP=E1(D9);function BO(GS,GT,GU){var GR=EP(GS);if(GU&&Dc(GS,GT,GU)){GT=null}return GT?Eq(GT,GR,DO(GT)):GR}function FR(GS){if(GS==null){return GS}var GR=DB(arguments);GR.push(FI);return GP.apply(f,GR)}function FV(GT,GR,GS){GR=F8(GR,GS,3);return FW(GT,GR,Fx,true)}function BM(GT,GR,GS){GR=F8(GR,GS,3);return FW(GT,GR,CA,true)}function Ec(GS,GT,GR){if(typeof GT!="function"||typeof GR!="undefined"){GT=D8(GT,GR,3)}return EU(GS,GT,B5)}function E5(GS,GT,GR){GT=D8(GT,GR,3);return C1(GS,GT,B5)}function Cs(GS,GT,GR){if(typeof GT!="function"||typeof GR!="undefined"){GT=D8(GT,GR,3)}return Fx(GS,GT)}function CK(GS,GT,GR){GT=D8(GT,GR,3);return C1(GS,GT,DO)}function FL(GR){return Fe(GR,B5(GR))}function EL(GR,GS){return GR?Be.call(GR,GS):false}function CM(GS,GW,GU){if(GU&&Dc(GS,GW,GU)){GW=null}var GT=-1,GV=DO(GS),GR=GV.length,GZ={};while(++GT<GR){var GY=GV[GT],GX=GS[GY];if(GW){if(Be.call(GZ,GX)){GZ[GX].push(GY)}else{GZ[GX]=[GY]}}else{GZ[GX]=GY}}return GZ}var DO=!E9?BK:function(GS){if(GS){var GR=GS.constructor,GT=GS.length}if((typeof GR=="function"&&GR.prototype===GS)||(typeof GS!="function"&&(GT&&Ew(GT)))){return BK(GS)}return BL(GS)?E9(GS):[]};function B5(GU){if(GU==null){return[]}if(!BL(GU)){GU=Dd(GU)}var GX=GU.length;GX=(GX&&Ew(GX)&&(Bg(GU)||(FP.nonEnumArgs&&GG(GU)))&&GX)||0;var GT=GU.constructor,GS=-1,GY=typeof GT=="function"&>.prototype==GU,GR=Es(GX),GW=GX>0;while(++GS<GX){GR[GS]=(GS+"")}for(var GV in GU){if(!(GW&&Cj(GV,GX))&&!(GV=="constructor"&&(GY||!Be.call(GU,GV)))){GR.push(GV)}}return GR}function GM(GT,GU,GS){var GR={};GU=F8(GU,GS,3);Fx(GT,function(GX,GW,GV){GR[GW]=GU(GX,GW,GV)});return GR}var DE=E1(GJ);function Ef(GT,GR,GS){if(GT==null){return{}}if(typeof GR!="function"){var GU=FQ(DS(arguments,false,false,1),Dk);return CV(GT,B8(B5(GT),GU))}GR=D8(GR,GS,3);return FF(GT,function(GX,GW,GV){return !GR(GX,GW,GV)})}function C2(GT){var GS=-1,GV=DO(GT),GW=GV.length,GR=Es(GW);while(++GS<GW){var GU=GV[GS];GR[GS]=[GU,GT[GU]]}return GR}function Bf(GT,GR,GS){if(GT==null){return{}}return typeof GR=="function"?FF(GT,D8(GR,GS,3)):CV(GT,DS(arguments,false,false,1))}function Ch(GS,GT,GR){var GU=GS==null?f:GS[GT];if(typeof GU=="undefined"){GU=GR}return Ck(GU)?GU.call(GS):GU}function Bv(GU,GW,GS,GR){var GV=Bg(GU)||EV(GU);GW=F8(GW,GR,4);if(GS==null){if(GV||BL(GU)){var GT=GU.constructor;if(GV){GS=Bg(GU)?new GT:[]}else{GS=EP(typeof GT=="function"&>.prototype)}}else{GS={}}}(GV?FO:Fx)(GU,function(GZ,GY,GX){return GW(GS,GZ,GY,GX)});return GS}function B6(GR){return E4(GR,DO(GR))}function EO(GR){return E4(GR,B5(GR))}function GI(GT,GR,GW){if(GW&&Dc(GT,GR,GW)){GR=GW=null}var GV=GT==null,GS=GR==null;if(GW==null){if(GS&&typeof GT=="boolean"){GW=GT;GT=1}else{if(typeof GR=="boolean"){GW=GR;GS=true}}}if(GV&&GS){GR=1;GS=false}GT=+GT||0;if(GS){GR=GT;GT=0}else{GR=+GR||0}if(GW||GT%1||GR%1){var GU=Bs();return BY(GT+(GU*(GR-GT+parseFloat("1e-"+((GU+"").length-1)))),GR)}return D1(GT,GR)}var B7=Fj(function(GR,GT,GS){GT=GT.toLowerCase();return GS?(GR+GT.charAt(0).toUpperCase()+GT.slice(1)):GT});function DZ(GR){GR=AT(GR);return GR&&(GR.charAt(0).toUpperCase()+GR.slice(1))}function Cw(GR){GR=AT(GR);return GR&&GR.replace(o,AL)}function De(GS,GU,GR){GS=AT(GS);GU=(GU+"");var GT=GS.length;GR=(typeof GR=="undefined"?GT:BY(GR<0?0:(+GR||0),GT))-GU.length;return GR>=0&&GS.indexOf(GU,GR)==GR}function D5(GR){GR=AT(GR);return(GR&&AO.test(GR))?GR.replace(I,Aw):GR}function DC(GR){GR=AT(GR);return(GR&&Ac.test(GR))?GR.replace(AF,"\\$&"):GR}var Dq=Fj(function(GR,GT,GS){return GR+(GS?"-":"")+GT.toLowerCase()});function EK(GS,GX,GW){GS=AT(GS);GX=+GX;var GV=GS.length;if(GV>=GX||!EW(GX)){return GS}var GR=(GX-GV)/2,GT=DK(GR),GU=FU(GR);GW=CF("",GU,GW);return GW.slice(0,GT)+GS+GW}function C3(GR,GT,GS){GR=AT(GR);return GR&&(CF(GR,GT,GS)+GR)}function Et(GR,GT,GS){GR=AT(GR);return GR&&(GR+CF(GR,GT,GS))}function B0(GR,GS,GT){if(GT&&Dc(GR,GS,GT)){GS=0}return A5(GR,GS)}if(A5(k+"08")!=8){B0=function(GR,GS,GT){if(GT?Dc(GR,GS,GT):GS==null){GS=0}else{if(GS){GS=+GS}}GR=CG(GR);return A5(GR,GS||(AU.test(GR)?16:10))}}function Co(GS,GT){var GR="";GS=AT(GS);GT=+GT;if(GT<1||!GS||!EW(GT)){return GR}do{if(GT%2){GR+=GS}GT=DK(GT/2);GS+=GS}while(GT);return GR}var F1=Fj(function(GR,GT,GS){return GR+(GS?"_":"")+GT.toLowerCase()});function Du(GS,GT,GR){GS=AT(GS);GR=GR==null?0:BY(GR<0?0:(+GR||0),GS.length);return GS.lastIndexOf(GT,GR)==GR}function BB(GY,Gg,GX){var GV=Fl.templateSettings;if(GX&&Dc(GY,Gg,GX)){Gg=GX=null}GY=AT(GY);Gg=D9(D9({},GX||Gg),GV,E2);var GT=D9(D9({},Gg.imports),GV.imports,E2),GZ=DO(GT),GU=E4(GT,GZ);var Gc,Gd,Ga=0,Gb=Gg.interpolate||Al,GS="__p += '";var Gf=EH((Gg.escape||Al).source+"|"+Gb.source+"|"+(Gb===u?E:Al).source+"|"+(Gg.evaluate||Al).source+"|$","g");var GR="//# sourceURL="+("sourceURL" in Gg?Gg.sourceURL:("lodash.templateSources["+(++i)+"]"))+"\n";GY.replace(Gf,function(Gh,Gl,Gj,Gi,Gk,Gm){Gj||(Gj=Gi);GS+=GY.slice(Ga,Gm).replace(R,An);if(Gl){Gc=true;GS+="' +\n__e("+Gl+") +\n'"}if(Gk){Gd=true;GS+="';\n"+Gk+";\n__p += '"}if(Gj){GS+="' +\n((__t = ("+Gj+")) == null ? '' : __t) +\n'"}Ga=Gm+Gh.length;return Gh});GS+="';\n";var GW=Gg.variable;if(!GW){GS="with (obj) {\n"+GS+"\n}\n"}GS=(Gd?GS.replace(AX,""):GS).replace(AK,"$1").replace(b,"$1;");GS="function("+(GW||"obj")+") {\n"+(GW?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Gc?", __e = _.escape":"")+(Gd?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+GS+"return __p\n}";var Ge=C8(function(){return EJ(GZ,GR+"return "+GS).apply(f,GU)});Ge.source=GS;if(Cc(Ge)){throw Ge}return Ge}function CG(GR,GT,GS){var GU=GR;GR=AT(GR);if(!GR){return GR}if(GS?Dc(GU,GT,GS):GT==null){return GR.slice(Ao(GR),V(GR)+1)}GT=AT(GT);return GR.slice(L(GR,GT),O(GR,GT)+1)}function Dn(GR,GT,GS){var GU=GR;GR=AT(GR);if(!GR){return GR}if(GS?Dc(GU,GT,GS):GT==null){return GR.slice(Ao(GR))}return GR.slice(L(GR,AT(GT)))}function Br(GR,GT,GS){var GU=GR;GR=AT(GR);if(!GR){return GR}if(GS?Dc(GU,GT,GS):GT==null){return GR.slice(0,V(GR)+1)}return GR.slice(0,O(GR,AT(GT))+1)}function F9(GX,Gb,GZ){if(GZ&&Dc(GX,Gb,GZ)){Gb=null}var GR=T,Ga=AZ;if(Gb!=null){if(BL(Gb)){var GV="separator" in Gb?Gb.separator:GV;GR="length" in Gb?+Gb.length||0:GR;Ga="omission" in Gb?AT(Gb.omission):Ga}else{GR=+Gb||0}}GX=AT(GX);if(GR>=GX.length){return GX}var GT=GR-Ga.length;if(GT<1){return Ga}var Gc=GX.slice(0,GT);if(GV==null){return Gc+Ga}if(B9(GV)){if(GX.slice(GT).search(GV)){var GU,GS,GW=GX.slice(0,GT);if(!GV.global){GV=EH(GV.source,(AY.exec(GV)||"")+"g")}GV.lastIndex=0;while((GU=GV.exec(GW))){GS=GU.index}Gc=Gc.slice(0,GS==null?GT:GS)}}else{if(GX.indexOf(GV,GT)!=GT){var GY=Gc.lastIndexOf(GV);if(GY>-1){Gc=Gc.slice(0,GY)}}}return Gc+Ga}function Cn(GR){GR=AT(GR);return(GR&&S.test(GR))?GR.replace(At,AP):GR}function DF(GR,GT,GS){if(GS&&Dc(GR,GT,GS)){GT=null}GR=AT(GR);return GR.match(GT||AE)||[]}function C8(GR){try{return GR()}catch(GS){return Cc(GS)?GS:Fr(GS)}}function Ci(GT,GR,GS){if(GS&&Dc(GT,GR,GS)){GR=null}return Bi(GT,GR)}function BT(GR){return function(){return GR}}function CR(GR){return GR}function Bl(GR){return BW(GR,true)}function DN(GV,GR,Gc){if(Gc==null){var GW=BL(GR),GY=GW&&DO(GR),Gb=GY&&GY.length&&Fe(GR,GY);if(!(Gb?Gb.length:GW)){Gb=false;Gc=GR;GR=GV;GV=this}}if(!Gb){Gb=Fe(GR,DO(GR))}var GS=true,GX=-1,Ga=Ck(GV),GT=Gb.length;if(Gc===false){GS=false}else{if(BL(Gc)&&"chain" in Gc){GS=Gc.chain}}while(++GX<GT){var GZ=Gb[GX],GU=GR[GZ];GV[GZ]=GU;if(Ga){GV.prototype[GZ]=(function(Gd){return function(){var Gf=this.__chain__;if(GS||Gf){var Ge=GV(this.__wrapped__);(Ge.__actions__=DB(this.__actions__)).push({func:Gd,args:arguments,thisArg:GV});Ge.__chain__=Gf;return Ge}var Gg=[this.value()];DQ.apply(Gg,arguments);return Gd.apply(GV,Gg)}}(GU))}}return GV}function Fu(){BV._=DT;return this}function FH(){}function DG(GR){return F2(GR+"")}function F0(GR){return function(GS){return GR==null?f:GR[GS]}}function DP(GW,GS,GV){if(GV&&Dc(GW,GS,GV)){GS=GV=null}GW=+GW||0;GV=GV==null?1:(+GV||0);if(GS==null){GS=GW;GW=0}else{GS=+GS||0}var GT=-1,GU=DD(FU((GS-GW)/(GV||1)),0),GR=Es(GU);while(++GT<GU){GR[GT]=GW;GW+=GV}return GR}function Fo(GV,GU,GS){GV=+GV;if(GV<1||!EW(GV)){return[]}var GT=-1,GR=Es(BY(GV,Bx));GU=D8(GU,GS,1);while(++GT<GV){if(GT<Bx){GR[GT]=GU(GT)}else{GU(GT)}}return GR}function Cl(GR){var GS=++Dv;return AT(GR)+GS}Bq.prototype=Fl.prototype;CP.prototype["delete"]=Eu;CP.prototype.get=Ev;CP.prototype.has=ES;CP.prototype.set=Eh;CJ.prototype.push=BZ;Fk.Cache=CP;Fl.after=GA;Fl.ary=Ej;Fl.assign=GP;Fl.at=F6;Fl.before=FN;Fl.bind=DX;Fl.bindAll=Bc;Fl.bindKey=Fb;Fl.callback=Ci;Fl.chain=FD;Fl.chunk=Dt;Fl.compact=C4;Fl.constant=BT;Fl.countBy=A7;Fl.create=BO;Fl.curry=B2;Fl.curryRight=FZ;Fl.debounce=EI;Fl.defaults=FR;Fl.defer=Bk;Fl.delay=E7;Fl.difference=FK;Fl.drop=DR;Fl.dropRight=Dy;Fl.dropRightWhile=BA;Fl.dropWhile=C5;Fl.filter=Bw;Fl.flatten=Dh;Fl.flattenDeep=FB;Fl.flow=CT;Fl.flowRight=FT;Fl.forEach=Ce;Fl.forEachRight=Dz;Fl.forIn=Ec;Fl.forInRight=E5;Fl.forOwn=Cs;Fl.forOwnRight=CK;Fl.functions=FL;Fl.groupBy=Bo;Fl.indexBy=BQ;Fl.initial=Ea;Fl.intersection=Cm;Fl.invert=CM;Fl.invoke=A2;Fl.keys=DO;Fl.keysIn=B5;Fl.map=Cz;Fl.mapValues=GM;Fl.matches=Bl;Fl.memoize=Fk;Fl.merge=DE;Fl.mixin=DN;Fl.negate=Ep;Fl.omit=Ef;Fl.once=Ei;Fl.pairs=C2;Fl.partial=GH;Fl.partialRight=Cp;Fl.partition=Bt;Fl.pick=Bf;Fl.pluck=El;Fl.property=DG;Fl.propertyOf=F0;Fl.pull=Eo;Fl.pullAt=C6;Fl.range=DP;Fl.rearg=Fy;Fl.reject=Ca;Fl.remove=Dj;Fl.rest=FG;Fl.shuffle=GD;Fl.slice=D0;Fl.sortBy=CS;Fl.sortByAll=Cg;Fl.take=Da;Fl.takeRight=Do;Fl.takeRightWhile=FX;Fl.takeWhile=Cy;Fl.tap=EF;Fl.throttle=CX;Fl.thru=C7;Fl.times=Fo;Fl.toArray=Ex;Fl.toPlainObject=Df;Fl.transform=Bv;Fl.union=CE;Fl.uniq=DA;Fl.unzip=Bz;Fl.values=B6;Fl.valuesIn=EO;Fl.where=A9;Fl.without=Ds;Fl.wrap=A6;Fl.xor=A1;Fl.zip=E3;Fl.zipObject=Ba;Fl.backflow=FT;Fl.collect=Cz;Fl.compose=FT;Fl.each=Ce;Fl.eachRight=Dz;Fl.extend=GP;Fl.iteratee=Ci;Fl.methods=FL;Fl.object=Ba;Fl.select=Bw;Fl.tail=FG;Fl.unique=DA;DN(Fl,Fl);Fl.attempt=C8;Fl.camelCase=B7;Fl.capitalize=DZ;Fl.clone=Ed;Fl.cloneDeep=GF;Fl.deburr=Cw;Fl.endsWith=De;Fl.escape=D5;Fl.escapeRegExp=DC;Fl.every=Dg;Fl.find=BU;Fl.findIndex=Bj;Fl.findKey=FV;Fl.findLast=B1;Fl.findLastIndex=BI;Fl.findLastKey=BM;Fl.findWhere=DV;Fl.first=A3;Fl.has=EL;Fl.identity=CR;Fl.includes=B4;Fl.indexOf=EB;Fl.isArguments=GG;Fl.isArray=Bg;Fl.isBoolean=CD;Fl.isDate=Fs;Fl.isElement=BG;Fl.isEmpty=FE;Fl.isEqual=F7;Fl.isError=Cc;Fl.isFinite=FS;Fl.isFunction=Ck;Fl.isMatch=A4;Fl.isNaN=Cb;Fl.isNative=Bb;Fl.isNull=Ey;Fl.isNumber=BD;Fl.isObject=BL;Fl.isPlainObject=EG;Fl.isRegExp=B9;Fl.isString=BR;Fl.isTypedArray=EV;Fl.isUndefined=BS;Fl.kebabCase=Dq;Fl.last=Ff;Fl.lastIndexOf=DJ;Fl.max=Cx;Fl.min=BC;Fl.noConflict=Fu;Fl.noop=FH;Fl.now=Dw;Fl.pad=EK;Fl.padLeft=C3;Fl.padRight=Et;Fl.parseInt=B0;Fl.random=GI;Fl.reduce=Cf;Fl.reduceRight=C9;Fl.repeat=Co;Fl.result=Ch;Fl.runInContext=AS;Fl.size=EY;Fl.snakeCase=F1;Fl.some=Eb;Fl.sortedIndex=Dm;Fl.sortedLastIndex=FM;Fl.startsWith=Du;Fl.template=BB;Fl.trim=CG;Fl.trimLeft=Dn;Fl.trimRight=Br;Fl.trunc=F9;Fl.unescape=Cn;Fl.uniqueId=Cl;Fl.words=DF;Fl.all=Dg;Fl.any=Eb;Fl.contains=B4;Fl.detect=BU;Fl.foldl=Cf;Fl.foldr=C9;Fl.head=A3;Fl.include=B4;Fl.inject=Cf;DN(Fl,(function(){var GR={};Fx(Fl,function(GT,GS){if(!Fl.prototype[GS]){GR[GS]=GT}});return GR}()),false);Fl.sample=FA;Fl.prototype.sample=function(GR){if(!this.__chain__&&GR==null){return FA(this.value())}return this.thru(function(GS){return FA(GS,GR)})};Fl.VERSION=AR;FO(["bind","bindKey","curry","curryRight","partial","partialRight"],function(GR){Fl[GR].placeholder=Fl});FO(["filter","map","takeWhile"],function(GS,GT){var GR=GT==m;Ez.prototype[GS]=function(GY,GV){var GU=this.clone(),GW=GU.filtered,GX=GU.iteratees||(GU.iteratees=[]);GU.filtered=GW||GR||(GT==B&&GU.dir<0);GX.push({iteratee:F8(GY,GV,3),type:GT});return GU}});FO(["drop","take"],function(GR,GS){var GU=GR+"Count",GT=GR+"While";Ez.prototype[GR]=function(GY){GY=GY==null?1:DD(+GY||0,0);var GV=this.clone();if(GV.filtered){var GX=GV[GU];GV[GU]=GS?BY(GX,GY):(GX+GY)}else{var GW=GV.views||(GV.views=[]);GW.push({size:GY,type:GR+(GV.dir<0?"Right":"")})}return GV};Ez.prototype[GR+"Right"]=function(GV){return this.reverse()[GR](GV).reverse()};Ez.prototype[GR+"RightWhile"]=function(GV,GW){return this.reverse()[GT](GV,GW).reverse()}});FO(["first","last"],function(GR,GS){var GT="take"+(GS?"Right":"");Ez.prototype[GR]=function(){return this[GT](1).value()[0]}});FO(["initial","rest"],function(GS,GT){var GR="drop"+(GT?"":"Right");Ez.prototype[GS]=function(){return this[GR](1)}});FO(["pluck","where"],function(GT,GU){var GR=GU?"filter":"map",GS=GU?Bl:DG;Ez.prototype[GT]=function(GV){return this[GR](GS(GV))}});Ez.prototype.dropWhile=function(GU,GS){var GR,GV,GT=this.dir<0;GU=F8(GU,GS,3);return this.filter(function(GX,GW,GY){GR=GR&&(GT?GW<GV:GW>GV);GV=GW;return GR||(GR=!GU(GX,GW,GY))})};Ez.prototype.reject=function(GS,GR){GS=F8(GS,GR,3);return this.filter(function(GU,GT,GV){return !GS(GU,GT,GV)})};Ez.prototype.slice=function(GT,GS){GT=GT==null?0:(+GT||0);var GR=GT<0?this.takeRight(-GT):this.drop(GT);if(typeof GS!="undefined"){GS=(+GS||0);GR=GS<0?GR.dropRight(-GS):GR.take(GS-GT)}return GR};Fx(Ez.prototype,function(GT,GS){var GR=/^(?:first|last)$/.test(GS);Fl.prototype[GS]=function(){var Gc=this.__wrapped__,Ga=arguments,GY=this.__chain__,GW=!!this.__actions__.length,Gb=Gc instanceof Ez,GU=Gb&&!GW;if(GR&&!GY){return GU?GT.call(Gc):Fl[GS](this.value())}var GZ=function(Gf){var Ge=[Gf];DQ.apply(Ge,Ga);return Fl[GS].apply(Fl,Ge)};if(Gb||Bg(Gc)){var GV=GU?Gc:new Ez(this),Gd=GT.apply(GV,Ga);if(!GR&&(GW||Gd.actions)){var GX=Gd.actions||(Gd.actions=[]);GX.push({func:C7,args:[GZ],thisArg:Fl})}return new Bq(Gd,GY)}return this.thru(GZ)}});FO(["concat","join","pop","push","shift","sort","splice","unshift"],function(GS){var GT=CZ[GS],GU=/^(?:push|sort|unshift)$/.test(GS)?"tap":"thru",GR=/^(?:join|pop|shift)$/.test(GS);Fl.prototype[GS]=function(){var GV=arguments;if(GR&&!this.__chain__){return GT.apply(this.value(),GV)}return this[GU](function(GW){return GT.apply(GW,GV)})}});Ez.prototype.clone=GO;Ez.prototype.reverse=Fc;Ez.prototype.value=DH;Fl.prototype.chain=GC;Fl.prototype.reverse=GN;Fl.prototype.toString=FY;Fl.prototype.toJSON=Fl.prototype.valueOf=Fl.prototype.value=CW;Fl.prototype.collect=Fl.prototype.map;Fl.prototype.head=Fl.prototype.first;Fl.prototype.select=Fl.prototype.filter;Fl.prototype.tail=Fl.prototype.rest;return Fl}var AC=AS();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){Ap._=AC;define(function(){return AC})}else{if(c&&y){if(Av){(y.exports=AC)._=AC}else{c._=AC}}else{Ap._=AC}}}.call(this));; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:lodash', location = '/static/lib/lodash/lodash-AMD.js' */ define("lodash",function(){return window._});require("lodash").noConflict();; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:feature-detect-util', location = '/static/lib/react/anim-event-name.js' */ define("lib/react/anim-event-name",["exports"],function(A){transitionEndEventName=function(){var C={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"};if(!("TransitionEvent" in window)){delete C.transition}for(var B in C){if(B in document.body.style){return C[B]}}};animationEndEventName=function(){var C={animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"};if(!("AnimationEvent" in window)){delete C.animation}for(var B in C){if(B in document.body.style){return C[B]}}};A.transitionEndEventName=transitionEndEventName;A.animationEndEventName=animationEndEventName});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:feature-detect-util', location = '/static/util/feature-detect.js' */ define("util/feature-detect",["lib/react/anim-event-name","lodash","exports"],function(O,Q,R){var M=["ms","moz","webkit","o"];function C(T){var S=T.charAt(0).toUpperCase()+T.substring(1);return[T].concat(Q.map(M,function(U){return U+S}))}var I=Q.once(function(){try{window.localStorage.setItem("___stash_test","true");window.localStorage.removeItem("___stash_test");return true}catch(S){console&&console.log("Note: localStorage not supported in this browser.");return false}});var B=Q.once(function(){var S=document.createElement("canvas");return(typeof S.getContext==="function")&&!!S.getContext("2d")});var F=Q.once(function(){return !!(window.File&&window.FileList&&window.FileReader)});var A=Q.once(function(){return !!(window.FormData)});var D=Q.once(function(){return"a1a".split(/(\d)/).length===3});var L=Q.once(function(){return Q.find(C("transform"),function(S){return document.body.style[S]!==undefined})});var J=Q.once(function(){return Q.find(C("transition"),function(S){return document.body.style[S]!==undefined})});var H=Q.once(function(){return"classList" in document.documentElement});var K=Q.once(function(){return Q.find(C("animationName"),function(S){return document.documentElement.style[S]!==undefined})});var E={"pointer-events":function(){var S=document.createElement("x");S.style.cssText="pointer-events:auto";return S.style.pointerEvents==="auto"},"no-cssanimations":function(){return !K()}};var P=Q.once(function(){return !!(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia)});var N=Q.once(function(){return !!document.createElement("video").canPlayType});(function G(S){var T=document.documentElement;Q.forEach(S,function(V,U){V()&&(H()?T.classList.add(U):T.className+=" "+U)})})(E);R.localStorage=I;R.canvas=B;R.fileReader=F;R.formData=A;R.splitCapture=D;R.cssAnimation=K;R.cssTransform=L;R.cssTransition=J;R.getUserMedia=P;R.video=N;R.transitionEndEventName=Q.once(O.transitionEndEventName);R.animationEndEventName=Q.once(O.animationEndEventName)});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:text-util', location = '/static/util/text.js' */ define("util/text",["lodash"],function(A){return{capInt:function(B,C){return parseInt(B,10)<=parseInt(C,10)?String(B):(C+"+")},toSentenceCase:function(B){B+="";if(!B){return""}return B.charAt(0).toUpperCase()+B.substring(1)},camelCaseToHyphenated:function(B){if(typeof B!=="string"){return undefined}return B.replace(/([^\s\-_])(?=[A-Z])/g,"$1-").replace(/\s/,"-").toLowerCase()},camelCaseToDotCase:function(C){var B=this.camelCaseToHyphenated(C);return B&&B.replace(/(\w)(-)(?=[\w])/gi,"$1.")},indent:function(F,E,B){var D=(typeof E==="number"&&isFinite(E))?E:4,C=(typeof B==="string")?B:" ";if(typeof F!=="string"){return undefined}if(D<0){return F}return new Array(D+1).join(C)+F},unindent:function(F,E,B){var D=(typeof E==="number"&&isFinite(E))?E:4,C=(typeof B==="string")?B:" ";if(typeof F!=="string"){return undefined}if(D<0){return F}while(F.charAt(0)===C&&D){F=F.substring(1);D--}return F},padLeft:function(D,C,B){return this.indent(D,C-D.length,B)},formatSizeInBytes:function(E){var C=[" bytes","KB","MB","GB","TB","PB"],D=1024,B=0,F=C.length-1;E=(typeof E==="number")?E:parseInt(E,10);if(isNaN(E)){return""}while(E>=D&&B<F){E/=D;B++}E=Math.floor((E*10))/10;return E+C[B]},abbreviateText:function(G,B,F){if(typeof G!=="string"){return undefined}if(isNaN(B)||B<0||G.length<=B){return G}var D=(typeof F==="string")?F:"…",C=G.length-B+D.length,E=Math.round(G.length/2);return G.substring(0,E-Math.ceil(C/2))+D+G.substring(E+Math.floor(C/2),G.length)},convertBranchNameToSentence:function(B){if(!B||typeof B!=="string"){return""}var C=/([A-Z]{1,10}-\d+)/,D=A.map(B.split(C),function(F,E){return(E%2===0)?F.replace(/[\-_]/g," "):F});return this.toSentenceCase(D.join(""))},endsWith:A.isFunction(String.prototype.endsWith)?function(C,B){return C.endsWith(B)}:function(C,B){B=String(B);var D=C.lastIndexOf(B);return D!==-1&&D===(C.length-B.length)}}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:deprecation-util', location = '/static/util/deprecation.js' */ define("util/deprecation",["lodash","util/events","util/text"],function(R,D,A){var E=Object.prototype.hasOwnProperty;var N=Object.prototype.toString;function C(Y,X,U,V){if(typeof Y==="function"){return Y}var W=false;return function T(){if(!W){W=true;var b=A.toSentenceCase(Y)+" has been deprecated"+(U?" since "+U:"")+" and will be removed in "+(V||"a future release")+".";if(X){b+=" Use "+X+" instead."}var a=new Error();var Z=a.stack||a.stacktrace;var c=(Z&&Z.replace(/^Error\n/,""))||"No stack trace of the deprecated usage is available in your current browser.";console.log(b+"\n"+c)}}}function H(X,a,Z,V,W){if(X.__deprecated){return X}var T=C(a||X.name||"this function",Z,V,W);var Y=function U(){T();return X.apply(this,arguments)};Object.defineProperty(Y,"__deprecated",{enumerable:false,configurable:false,writable:false,value:true});return Y}function O(V,Y,X,T,U){if(V.__deprecated){return V}var W=H(V,Y,X,T,U);W.prototype=V.prototype;R.extend(W,V);return W}function P(Y,a,Z,X,V,W){var U=Y[a];var T=C(Z||a,X,V,W);Object.defineProperty(Y,a,{get:function(){T();return U},set:function(b){U=b;T();return b}})}function G(W,Y,X,V,T,U){if(typeof W[Y]==="function"){W[Y]=O(W[Y],X||Y,V,T,U)}else{P(W,Y,X,V,T,U)}}function B(Y,U,X,V,W){for(var T in Y){if(E.call(Y,T)){G(Y,T,U+T,X&&(X+T),V,W)}}}var S="id";var F=/^(attributes|url|isNew|hasChanged|changed(Attributes)|previous(Attributes)|clone)$/;function Q(Y,X,U,V,W){if(S===U){return }if(F.test(U)){throw new Error("The property "+U+" cannot be deprecated when converting to a Brace model.")}var T=C(X+"::"+U,X+"::get|set('"+U+"')",V,W);Object.defineProperty(Y.prototype,U,{get:function(){T();return this.get(U)},set:function(Z){T();this.set(U,Z)}})}function M(Z,Y,V,W){var U=Z.prototype.namedAttributes;var T;if(N.call(U)==="[object Array]"){var X=U.length;while(X--){Q(Z,Y,U[X],V,W)}}else{for(T in U){if(E.call(U,T)){Q(Z,Y,T,V,W)}}}}function J(Y,W,X,U,V){if(E.call(Y.prototype.namedAttributes,W)){var T=A.toSentenceCase(W);Y.prototype["get"+T]=H(Y.prototype["get"+T],W,X,U,V);Y.prototype["set"+T]=H(Y.prototype["set"+T],W,X,U,V)}}function L(V,U,W){var Y=V.constructor.prototype;V=V.clone();var X=V.toJSON();var T;Object.defineProperty(V,"__json",{enumerable:false,configurable:false,writable:false,value:X});var Z=C("use of this object's Backbone properties","raw JSON properties on this object",U,W);for(T in V){if(!E.call(X,T)){G(V,T,Z)}}for(T in X){if(E.call(X,T)&&!E.call(V,T)&&!E.call(Y,T)){V[T]=X[T]}}return V}var I={};function K(V,X){if(D.listeners(V).length){if(arguments.length<5){throw new Error("eventName, context, alternativeName, sinceVersion, and removeInVersion must all be provided (but can be null).")}var T=Array.prototype.slice.call(arguments,0,arguments.length-3);var Y=arguments[arguments.length-3];var U=arguments[arguments.length-2];var W=arguments[arguments.length-1];var Z=I[V]||(I[V]=C("Event '"+V+"'","'"+Y+"'",U,W));Z();D.trigger.apply(D,T)}}return{fn:H,construct:O,prop:G,obj:B,braceAsJson:M,braceAttribute:J,jsonAsBrace:L,triggerDeprecated:K,getMessageLogger:C}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:jsuri', location = '/static/bower/jsuri/src/query.js' */ var Query=function(B){var E=function(N){var K=[],M,P,O,L;if(typeof (N)==="undefined"||N===null||N===""){return K}if(N.indexOf("?")===0){N=N.substring(1)}P=N.toString().split(/[&;]/);for(M=0;M<P.length;M++){O=P[M];L=O.split("=");K.push([L[0],L[1]])}return K},D=E(B),C=function(){var L="",K,M;for(K=0;K<D.length;K++){M=D[K];if(L.length>0){L+="&"}L+=M.join("=")}return L.length>0?"?"+L:L},A=function(K){K=decodeURIComponent(K);K=K.replace("+"," ");return K},I=function(L){var M,K;for(K=0;K<D.length;K++){M=D[K];if(A(L)===A(M[0])){return M[1]}}},H=function(M){var K=[],L,N;for(L=0;L<D.length;L++){N=D[L];if(A(M)===A(N[0])){K.push(N[1])}}return K},J=function(N,Q){var K=[],M,P,L,O;for(M=0;M<D.length;M++){P=D[M];L=A(P[0])===A(N);O=A(P[1])===A(Q);if((arguments.length===1&&!L)||(arguments.length===2&&!L&&!O)){K.push(P)}}D=K;return this},F=function(L,M,K){if(arguments.length===3&&K!==-1){K=Math.min(K,D.length);D.splice(K,0,[L,M])}else{if(arguments.length>0){D.push([L,M])}}return this},G=function(O,M,K){var L=-1,N,P;if(arguments.length===3){for(N=0;N<D.length;N++){P=D[N];if(A(P[0])===A(O)&&decodeURIComponent(P[1])===A(K)){L=N;break}}J(O,K).addParam(O,M,L)}else{for(N=0;N<D.length;N++){P=D[N];if(A(P[0])===A(O)){L=N;break}}J(O);F(O,M,L)}return this};return{getParamValue:I,getParamValues:H,deleteParam:J,addParam:F,replaceParam:G,toString:C}};; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:jsuri', location = '/static/bower/jsuri/src/uri.js' */ var Uri=function(K){var L=false,X=function(k){var f={strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},h=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],j={name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},d=f[L?"strict":"loose"].exec(k),g={},e=14;while(e--){g[h[e]]=d[e]||""}g[j.name]={};g[h[12]].replace(j.parser,function(l,i,m){if(i){g[j.name][i]=m}});return g},J=X(K||""),c=new Query(J.query),O=function(d){if(typeof d!=="undefined"){J.protocol=d}return J.protocol},H=null,B=function(d){if(typeof d!=="undefined"){H=d}if(H===null){return(J.source.indexOf("//")!==-1)}else{return H}},G=function(d){if(typeof d!=="undefined"){J.userInfo=d}return J.userInfo},P=function(d){if(typeof d!=="undefined"){J.host=d}return J.host},M=function(d){if(typeof d!=="undefined"){J.port=d}return J.port},R=function(d){if(typeof d!=="undefined"){J.path=d}return J.path},F=function(d){if(typeof d!=="undefined"){c=new Query(d)}return c},I=function(d){if(typeof d!=="undefined"){J.anchor=d}return J.anchor},W=function(d){O(d);return this},S=function(d){B(d);return this},N=function(d){G(d);return this},Y=function(d){P(d);return this},U=function(d){M(d);return this},b=function(d){R(d);return this},T=function(d){F(d);return this},A=function(d){I(d);return this},C=function(d){return F().getParamValue(d)},E=function(d){return F().getParamValues(d)},Z=function(d,e){if(arguments.length===2){F().deleteParam(d,e)}else{F().deleteParam(d)}return this},D=function(e,f,d){if(arguments.length===3){F().addParam(e,f,d)}else{F().addParam(e,f)}return this},Q=function(f,e,d){if(arguments.length===3){F().replaceParam(f,e,d)}else{F().replaceParam(f,e)}return this},V=function(){var d="",e=function(f){return(f!==null&&f!=="")};if(e(O())){d+=O();if(O().indexOf(":")!==O().length-1){d+=":"}d+="//"}else{if(B()&&e(P())){d+="//"}}if(e(G())&&e(P())){d+=G();if(G().indexOf("@")!==G().length-1){d+="@"}}if(e(P())){d+=P();if(e(M())){d+=":"+M()}}if(e(R())){d+=R()}else{if(e(P())&&(e(F().toString())||e(I()))){d+="/"}}if(e(F().toString())){if(F().toString().indexOf("?")!==0){d+="?"}d+=F().toString()}if(e(I())){if(I().indexOf("#")!==0){d+="#"}d+=I()}return d},a=function(){return new Uri(V())};return{protocol:O,hasAuthorityPrefix:B,userInfo:G,host:P,port:M,path:R,query:F,anchor:I,setProtocol:W,setHasAuthorityPrefix:S,setUserInfo:N,setHost:Y,setPort:U,setPath:b,setQuery:T,setAnchor:A,getQueryParamValue:C,getQueryParamValues:E,deleteQueryParam:Z,addQueryParam:D,replaceQueryParam:Q,toString:V,clone:a}};; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:jsuri', location = '/static/lib/jsuri/jsuri-AMD.js' */ define("lib/jsuri",function(){var A=window.Uri;return A});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:page-state', location = '/static/model/page-state.js' */ define("model/page-state",["util/events","util/text"],function(L,G){var K=Object.prototype.hasOwnProperty;var A={};var F={};var H={extend:function(M,O,N){if(O||N){return C(M,O,N)}else{return D(M)}}};function I(M){return K.call(A,M)?A[M]:undefined}function B(N,O){var M=I(N);A[N]=O;L.trigger("stash.model.page-state.changed."+N,H,{key:N,newValue:O,oldValue:M})}function J(M){return function(){return I(M)}}function E(M){return function(N){return B(M,N)}}function C(M,O,N){if(K.call(F,M)){throw new Error("The property "+M+" is already in use. Please use a different key.")}F[M]=true;if(O){H["get"+G.toSentenceCase(M)]=O}if(N){H["set"+G.toSentenceCase(M)]=N}return this}function D(M){return C(M,J(M),E(M))}D("currentUser");D("project");D("repository");D("pullRequest");D("branch");D("changeset");D("filePath");D("revisionRef");return H});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:path', location = '/static/model/path.js' */ define("model/path",["backbone-brace","backbone-raw"],function(A,E){function D(F){return F.length?F[F.length-1]:null}function C(F){F=F||"";var G=F.lastIndexOf(".");return G>0?F.substring(G+1):""}var B=A.Model.extend({_separator:"/",namedAttributes:{components:["string"],extension:"string",name:"string"},constructor:function(G){var H=[];if(G instanceof Array){H=G.slice(0)}else{if(G){if(G.split){H=G.length?G.split(this._separator):[];if(H.length){if(!H[H.length-1]){H.pop()}if(!H[0]){H.shift()}}}else{if(G.components){H=G.components.slice(0)}else{if(G.getComponents){H=G.getComponents().slice(0)}}}}}var F=D(H);var I=C(F);E.Model.call(this,{});this.setComponents(H);this.setName(F);this.setExtension(I)},getParent:function(){return this.getComponents().length?new B(this.getComponents().slice(0,this.getComponents().length-1)):null},isSameDirectory:function(G){if(this.getComponents().length!==G.getComponents().length){return false}var F=this.getComponents().length-2;while(F>=0&&this.getComponents()[F]===G.getComponents()[F]){F--}return F<0},toString:function(){return this.getComponents().join(this._separator)}},{fromParentAndName:function(F,G){return new B(F.getComponents().concat(G))}});return B});; ;/* module-key = 'com.atlassian.stash.stash-web-api:navbuilder', location = '/static/stash/api/util/navbuilder.js' */ define("stash/api/util/navbuilder",["aui","jquery","lib/jsuri","lodash","util/deprecation","model/page-state","model/path","exports"],function(AF,Ab,f,AD,Am,R,AT,w){function d(Ap,Aq,Ao){this.components=(AD.isString(Ap)?[Ap]:Ap)||[];this.params=Aq||{};this.anchor=Ao||undefined}d.prototype.buildRelNoContext=function(){var Ap="/"+AD.map(this.components,encodeURIComponent).join("/");var Aq=AD.reduce(this.params,function(As,Ar,At){if(!(AD.isArray(Ar))){Ar=[Ar]}AD.forEach(Ar,function(Au){As.push({key:At,value:Au})});return As},[]);var Ao=AD.map(Aq,function(As){var Ar=encodeURIComponent(As.value);return encodeURIComponent(As.key)+(Ar?"="+Ar:"")}).join("&");return Ap+(Ao?"?"+Ao:"")+(this.anchor?"#"+this.anchor:"")};d.prototype.buildRelative=function(){return AF.contextPath()+this.buildRelNoContext()};d.prototype.buildAbsolute=function(){return location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")+this.buildRelative()};d.prototype.toString=function(){return this.buildRelative()};d.prototype.addParams=function(Ap){var Ao=new d(this.components,AD.extend({},this.params));if(AD.isString(Ap)){Ao.params[Ap]=""}else{if(Ap){if(Ap.hasOwnProperty("queryParams")){Ao.params=AD.extend(Ao.params,Ap.queryParams)}else{if(!Ap.hasOwnProperty("urlMode")){Ao.params=AD.extend(Ao.params,Ap)}}}}return Ao};d.prototype.withFragment=function(Ao){return new d(this.components,this.params,Ao)};d.prototype.pushComponents=function(){var Ao=new d(this.components.slice(0),this.params);AD.each(AD.toArray(arguments).slice(0),function(Ap){if(Ap!==""){Ao.components.push(Ap)}});return Ao};d.prototype.makeBuilder=function(Ao){var Ap=this;return AD.extend({_path:function(){return Ap},build:function(){return Ap.buildRelative()},buildAbsolute:function(){return Ap.buildAbsolute()},parse:function(){return AS(this.build())},withParams:function(Aq){return Ap.addParams(Aq).makeBuilder(Ao)},withFragment:function(Aq){return Ap.withFragment(Aq).makeBuilder(Ao)},addPathComponents:function(){return Ap.pushComponents.apply(Ap,arguments).makeBuilder(Ao)}},Ao)};function An(Ao){if(typeof (Ao)==="string"){return Ao}else{if(!Ao){throw new Error("No project key was provided.")}}return Ao.getKey?Ao.getKey():Ao.key}function Ac(){if(R.getProject()){return R.getProject()}throw new Error("There is no project in this context.")}function AI(Ao){if(typeof (Ao)==="string"){return Ao}else{if(!Ao){throw new Error("No repository slug was provided.")}}return Ao.getSlug?Ao.getSlug():Ao.slug}function Al(Ao){if(typeof (Ao)==="string"){return Ao}else{if(!Ao){throw new Error("No hook key was provided.")}}return Ao.getDetails().getKey()}function u(){if(R.getRepository()){return R.getRepository()}throw new Error("There is no repository in this context.")}function j(Ao){if(Ao!==0&&!Ao){throw new Error("No pull request ID was provided.")}if(typeof Ao in {string:1,number:1}){return Ao}return Ao.getId?Ao.getId():Ao.id}function g(){if(R.getPullRequest()){return R.getPullRequest()}throw new Error("There is no pull request in this context.")}function AB(Ar){var Aq=Ar.components[1];var Ap=/~(.*)/;var Ao=Ap.exec(Aq);if(Ao){return new d(["users",Ao[1].toLowerCase()])}else{return Ar}}function D(Ao){if(Ao.length===1){if(Ao[0]&&Ao[0].components){return Ao[0].components}else{if(Ao[0]&&Ao[0].getComponents){return Ao[0].getComponents()}else{if(Ab.isArray(Ao[0])){return Ao[0]}}}}return AD.toArray(Ao)}function AX(){return new d("login").makeBuilder({next:Y})}function Y(Ap){if(typeof Ap!=="string"){var Ao=AF.contextPath();var Aq=location.pathname;if(Ao.length>0){Aq=Aq.substring(Aq.indexOf(Ao)+Ao.length)}Ap=Aq+location.search+location.hash}return this._path().addParams({next:Ap}).makeBuilder()}function M(){return new d("tmp").makeBuilder({avatars:function Ao(){return this._path().pushComponents("avatars").makeBuilder()}})}function J(){return AO()}function AO(){return new d("getting-started").makeBuilder({next:Y})}function h(){return new d("admin").makeBuilder({permissions:e,users:S,groups:F,licensing:function Ao(){return this._path().pushComponents("license").makeBuilder({edit:function Ar(){return this._path().addParams({edit:""}).makeBuilder()}})},mailServer:function Aq(){return this._path().pushComponents("mail-server").makeBuilder()},db:function Ap(){return this._path().pushComponents("db").makeBuilder()}})}function AA(){return new d("projects").makeBuilder()}function AL(){return new d("repos").makeBuilder({visibility:function Ao(Ap){return this._path().addParams({visibility:Ap}).makeBuilder()}})}function Af(){return new d("captcha").addParams({ts:new Date().getTime().toString()}).makeBuilder()}function Ad(At){var As=new d(["projects",An(At)]);return AB(As).makeBuilder({allRepos:Ai,repo:H,createRepo:function Ap(){return AB(this._path()).pushComponents("repos").addParams("create").makeBuilder()},settings:function Aq(){return this._path().pushComponents("settings").makeBuilder()},permissions:e,remove:function Ao(){return this._path().makeBuilder()},users:S,groups:F,avatar:function Ar(Av){var Au=this._path().pushComponents("avatar.png");if(Av){Au=Au.addParams({s:Av})}return Au.makeBuilder()}})}function AY(){return Ad(Ac())}function v(){return new d("projects").addParams("create").makeBuilder()}function AJ(At,Ap){At=At||"api";Ap=Ap||"latest";return new d(["rest",At,Ap]).makeBuilder({project:b,currentProject:X,currentRepo:O,currentPullRequest:AH,markup:function Ao(){return this._path().pushComponents("markup").makeBuilder({preview:function Av(){return this._path().pushComponents("preview").makeBuilder()}})},profile:function Ar(){return this._path().pushComponents("profile").makeBuilder({recent:function Av(){return this._path().pushComponents("recent").makeBuilder({repos:function Aw(){return this._path().pushComponents("repos").makeBuilder()}})}})},users:function Aq(Aw){var Av=this._path().pushComponents("users");if(Aw){return Av.pushComponents(Aw).makeBuilder({avatar:G})}return Av.makeBuilder()},groups:function Au(){return this._path().pushComponents("groups").makeBuilder()},hooks:T,allRepos:Ai,admin:function As(){return this._path().pushComponents("admin").makeBuilder({users:function Av(){return this._path().pushComponents("users").makeBuilder()}})}})}function Aj(){return new d(["plugins","servlet","upm"]).makeBuilder({requests:function Ao(){return this._path().pushComponents("requests","popular").makeBuilder({category:function(Ap){return this._path().addParams({category:Ap}).makeBuilder()}})}})}function B(){return new d(["plugins","servlet"]).makeBuilder({path:function Ao(){var Ap=this._path();return Ap.pushComponents.apply(Ap,D(arguments)).makeBuilder()}})}function e(){return this._path().pushComponents("permissions").makeBuilder({permission:V,users:S,groups:F})}function V(Ao){return this._path().pushComponents(Ao).makeBuilder({users:function Aq(){return this._path().pushComponents("users").makeBuilder()},groups:function Ar(){return this._path().pushComponents("groups").makeBuilder()},all:function Ap(){return this._path().pushComponents("all").makeBuilder()}})}function S(){return this._path().pushComponents("users").makeBuilder({create:A,deleteUser:AU,captcha:function Ao(Ap){return this._path().pushComponents("captcha").addParams({name:Ap}).makeBuilder()},view:Ah,filter:AC,deleteSuccess:Ak,permissions:e,none:AG})}function F(){return this._path().pushComponents("groups").makeBuilder({create:A,deleteGroup:AU,view:Ah,filter:AC,deleteSuccess:Ak,permissions:e,none:AG})}function AG(){return this._path().pushComponents("none").makeBuilder()}function Ai(){return AB(this._path()).pushComponents("repos").makeBuilder()}function x(Ao){return new d(["users",Ao]).makeBuilder({avatar:G})}function A(){return this._path().addParams({create:""}).makeBuilder()}function AU(Ao){return this._path().addParams({name:Ao}).makeBuilder()}function Ah(Ao){return this._path().pushComponents("view").addParams({name:Ao}).makeBuilder()}function AC(Ao){return this._path().addParams({filter:Ao}).makeBuilder()}function Ak(Ao){return this._path().addParams({deleted:Ao}).makeBuilder()}function H(Av){return AB(this._path()).pushComponents("repos",AI(Av)).makeBuilder({browse:function At(){return this._path().pushComponents("browse").makeBuilder(k)},diff:U,commits:function Ao(){return this._path().pushComponents("commits").makeBuilder({until:function A0(A2){var A1=this._path();if(A2&&!A2.isDefault){if(typeof A2!=="string"){A2=A2.displayId||A2}A1=A1.addParams({until:A2})}return A1.makeBuilder()}})},branches:function Aq(A1){var A0=this._path().pushComponents("branches");if(A1&&!A1.isDefault){if(typeof A1!=="string"){A1=A1.displayId||A1.id||A1}A0=A0.addParams({base:A1})}return A0.makeBuilder()},changeset:r,commit:r,compare:function Az(){function A0(A1){return function(){return this._path().pushComponents(A1).makeBuilder(t)}}return this._path().pushComponents("compare").makeBuilder(AD.extend({commits:A0("commits"),diff:A0("diff")},E))},settings:function Aw(){return this._path().pushComponents("settings").makeBuilder()},permissions:e,hooks:Aa,clone:function As(A1){var A3=this._path(),A0=A3.components[1].toLowerCase(),A2=A3.components[3].toLowerCase();if(A3.components[0]==="users"){A0="~"+A0}return new d(["scm",A0,A2+"."+A1],A3.params).makeBuilder()},fork:function Au(){return this._path().addParams("fork").makeBuilder()},allPullRequests:function Ar(){return this._path().pushComponents("pull-requests").makeBuilder()},createPullRequest:function Ay(){return this._path().pushComponents("pull-requests").addParams("create").makeBuilder(t)},pullRequest:AK,attachments:function Ap(){return this._path().pushComponents("attachments").makeBuilder()},sizes:function Ax(){return this._path().pushComponents("sizes").makeBuilder()},build:function(){return this._path().pushComponents("browse").toString()}})}function I(){return AY().repo(R.getRepository())}var i={at:function y(Ap){var Ao=this._path();if(Ap){if(typeof Ap!=="string"){Ap=Ap.displayId||Ap}Ao=Ao.addParams({at:Ap})}return Ao.makeBuilder(i)},until:function AM(Ao){return this._path().addParams({until:Ao}).makeBuilder(i)},raw:function P(){return this._path().addParams({raw:""}).makeBuilder(i)}};var k={path:function AQ(){var Ao=this._path();return Ao.pushComponents.apply(Ao,D(arguments)).makeBuilder(i)},at:i.at};function U(Ap){var Aq=this._path(),Au;var At=(Ap.getCommitRange&&Ap.getPath&&Ap.getSrcPath);var As=(Ap.commitRange&&Ap.path&&Ap.srcPath);var Ao;if(At||As){Ao=Ap.toJSON?Ap.toJSON():Ap}if(Ao){var Ar=Ao.commitRange;Au=Ao.path;if(Ar.pullRequest){Aq=Aq.pushComponents("pull-requests",Ar.pullRequest.id)}else{Aq=Aq.addParams(Ab.extend({},{until:Ar.untilRevision&&Ar.untilRevision.id||undefined,since:Ar.sinceRevision&&Ar.sinceRevision.id||undefined}))}}else{Au=Ap}Aq=Aq.pushComponents("diff");Aq=Aq.pushComponents.apply(Aq,Au&&D([Au]));Aq=Aq.addParams(Ab.extend({},{srcPath:Ao&&Ao.srcPath||undefined}));return Aq.makeBuilder(i)}function r(Ao){return this._path().pushComponents("commits",Ao).makeBuilder({comment:function Ap(Aq){return this._path().addParams({commentId:Aq}).makeBuilder()}})}function Aa(){return this._path().pushComponents("settings","hooks").makeBuilder()}var t={_builder:null,sourceBranch:function N(Ao){return this._path().addParams({sourceBranch:Ao}).makeBuilder(this._builder)},targetBranch:function l(Ao){return this._path().addParams({targetBranch:Ao}).makeBuilder(this._builder)},targetRepo:function AZ(Ao){return this._path().addParams({targetRepoId:Ao}).makeBuilder(this._builder)}};t._builder=t;var E=AD.extend({build:function(){return this._path().pushComponents("commits").toString()}},t);E._builder=E;function AK(Aq){return this._path().pushComponents("pull-requests",j(Aq)).makeBuilder({unwatch:function At(){return this._path().pushComponents("unwatch").makeBuilder()},changeset:function Ao(Au){return this._path().pushComponents("commits",Au).makeBuilder()},overview:function As(){return this._path().pushComponents("overview").makeBuilder({comment:function Av(Aw){return this._path().addParams({commentId:Aw}).makeBuilder()},activity:function Au(Aw){return this._path().addParams({activityId:Aw}).makeBuilder()}})},diff:function Ar(){return this._path().pushComponents("diff").makeBuilder({change:function(Au){return this._path().withFragment(Au).makeBuilder()}})},commits:function Ap(){return this._path().pushComponents("commits").makeBuilder()},build:function(){return this._path().pushComponents("overview").toString()}})}function n(){return I.call(this).pullRequest(g())}function b(Aq){var Ao=An(Aq);return this._path().pushComponents("projects",Ao).makeBuilder({allRepos:function Ap(){return this._path().pushComponents("repos").makeBuilder()},repo:AE,permissions:a})}function X(){return b.call(this,Ac())}function O(){return X.call(this).repo(u())}function Q(Ar){var Ap=Al(Ar);return this._path().pushComponents("settings").pushComponents("hooks",Ap).makeBuilder({enabled:function Ao(){return this._path().pushComponents("enabled").makeBuilder()},settings:function Aq(){return this._path().pushComponents("settings").makeBuilder()}})}function AE(Au){var Ar=AI(Au);return this._path().pushComponents("repos",Ar).makeBuilder({tags:function Aq(){return this._path().pushComponents("tags").makeBuilder()},branches:function Ap(){return this._path().pushComponents("branches").makeBuilder()},commits:function Aw(){return this._path().pushComponents("commits").makeBuilder()},commit:o,compare:function As(){var Ay=function(A1,A2){var A3={};A3[A1]=A2;return this._path().addParams(A3).makeBuilder(Az)};var A0=function(A1){return function(){return this._path().pushComponents(A1).makeBuilder(Az)}};var Az={from:AD.partial(Ay,"from"),to:AD.partial(Ay,"to"),fromRepo:AD.partial(Ay,"fromRepo")};return this._path().pushComponents("compare").makeBuilder({changes:A0("changes"),commits:A0("commits"),diff:function(A1){return q.call(this,A1,Az)}})},changeset:o,changes:function Ax(Ay){Ay=Ay.toJSON?Ay.toJSON():Ay;if(Ay.pullRequest){return this.pullRequest(Ay.pullRequest).changes()}else{if(Ay.untilRevision){return this.changeset(Ay).changes()}else{throw new Error("A valid commit-range is required to retrieve changes")}}},browse:function Av(){return this._path().pushComponents("browse").makeBuilder(k)},files:Z,related:function Ao(){return this._path().pushComponents("related").makeBuilder()},pullRequest:AR,allPullRequests:function At(){return this._path().pushComponents("pull-requests").makeBuilder()},hooks:Aa,hook:Q})}function AR(Av){var Ao=j(Av);return this._path().pushComponents("pull-requests",Ao).makeBuilder({activities:function(){return this._path().pushComponents("activities").makeBuilder()},approve:function Ap(){return this._path().pushComponents("approve").makeBuilder()},comment:function Ar(Ax){return this._path().pushComponents("comments",Ax).makeBuilder({comment:Ar})},comments:function(){return this._path().pushComponents("comments").makeBuilder()},changes:function As(){return this._path().pushComponents("changes").makeBuilder()},diff:AV,watch:function At(){return this._path().pushComponents("watch").makeBuilder()},merge:function Au(){return this._path().pushComponents("merge").makeBuilder()},reopen:function Aq(){return this._path().pushComponents("reopen").makeBuilder()},decline:function Aw(){return this._path().pushComponents("decline").makeBuilder()}})}function AH(){return O.call(this).pullRequest(g())}function o(Aq){Aq=Aq.toJSON?Aq.toJSON():Aq;var At=this._path().pushComponents("commits");if(typeof Aq==="string"){At=At.pushComponents(Aq)}else{if(Aq.untilRevision){At=At.pushComponents(Aq.untilRevision.id);var Ar=Aq.sinceRevision&&Aq.sinceRevision.id;if(Ar){At=At.addParams({since:Ar})}}else{throw new Error("No commit id or commit range was provided.")}}return At.makeBuilder({diff:AV,changes:function Ap(){return this._path().pushComponents("changes").makeBuilder(C)},comments:function As(){return this._path().pushComponents("comments").makeBuilder(C)},watch:function Ao(){return this._path().pushComponents("watch").makeBuilder()}})}var C={path:function L(Ao){return this._path().addParams({path:Ao.toString()}).makeBuilder()}};function q(Ap,Ar){var Ao=Ap.toJSON?Ap.toJSON():Ap;var Aq=this._path();Aq=Aq.pushComponents("diff");Aq=Aq.pushComponents.apply(Aq,D([Ao.path]));if(Ao.srcPath){Aq=Aq.addParams({srcPath:new AT(Ao.srcPath).toString()})}return Aq.makeBuilder(Ar)}function AV(Ao){return q.call(this,Ao)}function Ae(){return this._path().pushComponents("browse").makeBuilder(k)}var c={at:i.at};var W={path:function m(){var Ao=this._path();return Ao.pushComponents.apply(Ao,D(arguments)).makeBuilder(c)},at:c.at};function Z(){return this._path().pushComponents("files").makeBuilder(Ab.extend({all:Am.fn(K,"nav.rest().{currentRepo()|project().repo()}.files().all()",null,"3.0","4.0")},W))}function K(){return this._path().addParams({limit:100000}).makeBuilder(W)}function a(){return this._path().pushComponents("permissions").makeBuilder({projectRead:function Ap(){return this._path().pushComponents("project-read").makeBuilder({all:AN,anon:function Aq(){return this._path().pushComponents("anon").makeBuilder(p)}})},projectWrite:function Ao(){return this._path().pushComponents("project-write").makeBuilder({all:AN})}})}var p={allow:AW};function AN(){return this._path().pushComponents("all").makeBuilder(p)}function AW(Ao){return this._path().addParams({allow:Ao}).makeBuilder()}function T(){return this._path().pushComponents("hooks").makeBuilder({hook:function Ao(Ap){return this._path().pushComponents(Ap).makeBuilder({avatar:function Aq(Ar){return this._path().pushComponents("avatar").addParams({version:Ar}).makeBuilder()}})}})}function G(Ap){var Ao=this._path().pushComponents("avatar.png");if(Ap){Ao=Ao.addParams({s:Ap})}return Ao.makeBuilder()}var Ag=/(default-avatar-)\d+(\.png)/;function z(Ao,Ap){return{build:function(){var Aq=AS(Ao.avatarUrl);if(Aq.getQueryParamValue("s")){Aq.replaceQueryParam("s",Ap)}return Aq.toString().replace(Ag,"$1"+Ap+"$2")}}}function AS(Ao){return new f(Ao)}function AP(Ao){return new Query(Ao)}function s(Ao,Ap){return new d(Ao,Ap).makeBuilder()}w._avatarUrl=z;w.addons=Aj;w.admin=h;w.allProjects=AA;w.allRepos=AL;w.captcha=Af;w.createProject=v;w.currentProject=AY;w.currentPullRequest=n;w.currentRepo=I;w.login=AX;w.newBuilder=s;w.parse=AS;w.parseQuery=AP;w.pluginServlets=B;w.project=Ad;w.rest=AJ;w.tmp=M;w.user=x;w.welcome=J;w.gettingStarted=AO});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:error-dialog', location = '/static/widget/error-dialog/error-dialog.js' */ define("widget/error-dialog",["aui","jquery"],function(B,C){function A(E){this._okCallbacks=C.Callbacks();this._closeCallbacks=C.Callbacks();this.reinit(E);var D=this;C(document).bind("hideLayer",function(F,G){if(D._dialog&&D._dialog.popup===G){D.hide()}})}A.prototype.reinit=function(D){this.dialogOptions=C.extend({},A.dialogDefaults,D);return this};A.prototype._createDialog=function(){if(!this._dialog){var D=this,F=this.dialogOptions,E=this._dialog=new B.Dialog({width:433,height:230,id:F.id,closeOnOutsideClick:F.closeOnOutsideClick,keypressListener:function(H){if(H.keyCode===B.keyCode.ESCAPE){D.hide()}}}),G=this._okCallbacks;E.popup.element.addClass("error-dialog");E.addHeader(F.titleText,F.titleClass);E.addPanel("",F.panelContent,F.panelClass);E.addButton(F.okButtonText,function(H){var I=C.Event("ok");G.fireWith(D,[I]);if(!I.isDefaultPrevented()){D.remove()}},"button "+(F.okButtonClass||""));if(F.showCloseButton){E.addCancel(F.closeButtonText,function(H){D.remove()})}}};A.prototype.show=function(){this._createDialog();this._dialog.show();return this};A.prototype.isShowing=function(){return this._dialog&&this._dialog.popup.element.is(":visible")};A.prototype.hide=function(){if(this.isShowing()){this._dialog.hide();this._closeCallbacks.fireWith(this,[])}return this};A.prototype.remove=function(){if(this._dialog){this.hide();this._dialog.remove();this._dialog=null}return this};A.prototype.addOkListener=function(D){this._okCallbacks.add(D);return this};A.prototype.addHideListener=function(D){this._closeCallbacks.add(D);return this};A.prototype.getOkButton=function(){this._createDialog();return this._dialog.popup.element.find("."+this.dialogOptions.okButtonClass)};A.dialogDefaults={id:undefined,titleText:"Unexpected Error",titleClass:"error-header",panelContent:"<p>"+"An unexpected error has occurred. If the problem persists, contact your administrator."+"</p>",panelClass:"panel-body",okButtonText:"OK",okButtonClass:"ok-button",showCloseButton:false,closeButtonText:"Close",closeOnOutsideClick:false};return A});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:underscore', location = '/static/lib/underscore/underscore-AMD.js' */ define("underscore",function(){console.log("Underscore has been deprecated since 3.4 and will be removed in 4.0. You should use `lodash` instead");return window._});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:internal-function-util', location = '/static/bower/atlassian-functional/lib/internal/util/function.js' */ define("internal/util/function",["underscore","exports"],function(Z,b){var M=Array.prototype.slice;function a(){var c=M.call(arguments);return function(){return c.every(R(arguments))}}function A(d,c){return d.map(R.call(this,c))}function Q(d,c){return C(d,0,c)}function P(c){return function(){return c.apply(this,M.call(arguments).reverse())}}function O(c){var d=M.call(arguments,1);return function(){return c.apply(this,d.map(S(arguments)))}}function C(d,e,c){return function(){return d.apply(this,M.call(arguments,e,c))}}function D(c){return function(){return c}}function H(d){return function c(){var f=Object.create(d.prototype);var e=d.apply(f,arguments);return e!==null&&typeof e==="object"?e:f}}function N(c){return function(d){return d!=null?d:c}}function L(d){var c=d.split(".");return function(e){return c.reduce(function(g,f){return(g!=null)?g[f]:undefined},e)}}function I(d,c){return Z.compose(Y(c),L(d))}function U(f){var c=M.call(arguments,1);var e=L(f);var d=null;if(f.indexOf(".")!==-1){d=L(f.substr(0,f.lastIndexOf(".")))}return function(g){var h=e(g);if(d){g=d(g)}return(typeof h==="function")?h.apply(g,c):h}}function Y(c){return function(d){return c===d}}function J(c){return function(){var d=c.apply(this,arguments);return d>=0}}function X(d){var c=M.call(arguments,1);return function(e){var g=L(d)(e);var f=(d.indexOf(".")!==-1)?L(d.substr(0,d.lastIndexOf(".")))(e):e;if(typeof g!=="function"){throw new TypeError(g+" is not a function")}return g.apply(f,c)}}function R(c){return function(d){return d.apply(this,c)}}function B(c,d){return function(){var f=M.call(arguments);var e=this;setTimeout(function(){c.apply(e,f)},d)}}function S(c){return function(d){return c[d]}}function E(c){return function(){return !c.apply(this,arguments)}}function G(){var c=M.call(arguments);return function(){return c.some(R(arguments))}}function T(d){var c=M.call(arguments,1);return function(){return d.apply(this,M.call(arguments).concat(c))}}function F(d){var c=Z.map(d,O(I,1,0));return a.apply(null,c)}function K(g,e,d){var f=g.split(".");var c=f.pop();return function(h){f.reduce(function(j,i){if(j[i]!=null&&typeof j[i]!=="object"){throw new TypeError("Can't set property on non-object")}return(j[i]==null&&d)?j[i]={}:j[i]},h)[c]=e;return h}}function W(d,c){return function(){if(arguments.length<=c){return d.apply(this,arguments)}var e=M.call(arguments);e.splice.apply(e,[c||0,1].concat(e[c||0]));return d.apply(this,e)}}function V(c){return function(){var d=M.call(arguments);d.unshift(this);return c.apply(this,d)}}b.and=a;b.applyAll=A;b.arity=Q;b.argFlip=P;b.argMap=O;b.argSlice=C;b.constant=D;b.create=H;b.defaultValue=N;b.dot=L;b.dotEq=I;b.dotX=U;b.eq=Y;b.found=J;b.invoke=X;b.lookup=S;b.lazyApply=R;b.lazyDefer=T(B,1);b.lazyDelay=B;b.not=E;b.or=G;b.partialRight=T;b.propEqual=F;b.set=K;b.spread=W;b.thisToParam=V;b.unary=T(Q,1);b.binary=T(Q,2)});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:function-util', location = '/static/util/function.js' */ define("util/function",["internal/util/function"],function(A){return A});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:navbuilder', location = '/static/util/navbuilder.js' */ define("util/navbuilder",["jquery","stash/api/util/navbuilder","util/deprecation"],function(E,F,C){var B=E.extend({},F,{newBuilder:function(){return F.newBuilder.apply(this,arguments)._path()}});var A={appendSlashToUrl:function D(G){if(typeof G!=="string"){return"/"}else{return G+((G.charAt(G.length-1)!=="/")?"/":"")}},avatarUrl:F._avatarUrl};C.obj(B,"util/navbuilder.","stash/api/util/navbuilder.","3.0","4.0");C.obj(A,"util/navbuilder.",null,"3.0","4.0");return E.extend(A,B)});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:internal-navigator-util', location = '/static/bower/atlassian-navigator/lib/internal/util/navigator.js' */ define("internal/util/navigator",["exports"],function(Q){var O=window.navigator.userAgent;var R=window.navigator.platform;var A=false;var K=false;var D=false;var M=false;var G=false;var N=false;var B;var E=NaN;var I=false;var C=false;var F=false;var P;function H(T){T=T.toLowerCase();var S=/(chrome)[ \/]([\w.]+)/.exec(T)||/(webkit)(?:.*version\/)([\w.]+)/.exec(T)||/(webkit)[ \/]([\w.]+)/.exec(T)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(T)||/(msie) ([\w.]+)/.exec(T)||T.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(T)||[];if(S[1]==="mozilla"&&/\btrident\b/.test(T)){S[1]="msie"}return{browser:S[1]||"",version:S[2]||"0"}}function J(S){if(typeof S!=="object"){return undefined}return Object.keys(S).filter(function(T){return S[T]})[0]}function L(){var V=H(O);var W=V.browser;var U=V.version;A=(W==="chrome");K=(W==="msie");D=(W==="mozilla");G=A||(W==="webkit");M=G&&!A;N=(W==="opera");var S={Chrome:A,Firefox:D,IE:K,Safari:M,Opera:N};B=J(S);E=parseInt(U,10);I=R.indexOf("Linux")!==-1;C=R.indexOf("Mac")!==-1;F=R.indexOf("Win")!==-1;var T={Win:F,Mac:C,Linux:I};P=J(T)}Q.isChrome=function(){return A};Q.isIE=function(){return K};Q.isMozilla=function(){return D};Q.isSafari=function(){return M};Q.isWebkit=function(){return G};Q.isOpera=function(){return N};Q.shortBrowser=function(){return B};Q.majorVersion=function(){return E};Q.isLinux=function(){return I};Q.isMac=function(){return C};Q.isWin=function(){return F};Q.shortPlatform=function(){return P};Q._setUserAgent=function(S){O=S;L()};Q._setPlatform=function(S){R=S;L()};Q._getFirstTruthyPropKey=J;L()});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:navigator-util', location = '/static/util/navigator.js' */ define("util/navigator",["internal/util/navigator"],function(A){return A});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:error-util', location = '/static/util/error.js' */ define("util/error",["aui","jquery","lodash","stash/api/util/navbuilder","util/function","util/navigator","model/page-state","exports"],function(H,D,Q,G,I,S,K,R){var O=false,J=0;D(document).ready(function(){O=true;var T=window.onbeforeunload;window.onbeforeunload=function(){O=false;return T?T.apply(this,arguments):undefined}}).on("keydown",function(T){if(T.keyCode===H.keyCode.ESCAPE){J=new Date().getTime()}});R.showNonFieldErrors=function(V){var T=D("#content > header > .notifications").empty();if(typeof (V)==="string"){P(T,V)}else{if(V&&V.length){var U=Q.filter(V,I.not(I.pluck("context")));if(U.length){Q.each(U,function(X){var W=(X&&X.message)?X.message:X;P(T,W)})}}else{P(T,"Unknown error has occurred.")}}};var P=function(U,T){D(aui.message.error({content:H.escapeHtml(T)})).appendTo(U)};R.isErrorEntityWithinRepository=function(T){return T&&/branch|tag|repository object|changeset|revision|comment/i.test(T.message)};R.level={INFO:"INFO",WARNING:"WARNING",ERROR:"ERROR",SUCCESS:"SUCCESS"};function M(W,V,U,T,X){this._out={title:W,message:V,details:U,context:T,level:X||R.level.ERROR,fallbackUrl:undefined,fallbackTitle:undefined,shouldLogin:false,shouldReload:false,canRetry:false,shouldRetry:false,retryAfterDate:undefined}}M.prototype.title=function(T){this._out.title=T;return this};M.prototype.message=function(T){this._out.message=T;return this};M.prototype.details=function(T){this._out.details=T;return this};M.prototype.context=function(T){this._out.context=T;return this};M.prototype.level=function(T){this._out.level=T||R.level.ERROR;return this};M.prototype.shouldLogin=function(){this._out.shouldLogin=true;return this};M.prototype.shouldReload=function(){this._out.shouldReload=true;return this};M.prototype.shouldRetry=function(){this._out.shouldRetry=true;return this.canRetry()};M.prototype.canRetry=function(){this._out.canRetry=true;return this};M.prototype.fallbackUrl=function(T,U){this._out.fallbackUrl=T;this._out.fallbackTitle=U;return this};M.prototype.retryAfterDate=function(T){this._out.retryAfterDate=isNaN(T)?undefined:T;if(this._out.retryAfterDate){this.shouldRetry()}return this};M.prototype.doAccessDenied=function(T){this.title(this._out.title||N["401"]);if(T){this.message(this._out.message||"You aren\u0027t allowed to see this. Your project or system administrator will need to grant you permission.");this.fallbackUrl(G.allProjects().build(),"Back to Projects")}else{this.message(this._out.message||"Anonymous users aren\u0027t allowed to see this.");this.shouldLogin()}return this};M.prototype.doServerDown=function(){this.title(this._out.title||N["0"]);this.message(this._out.message||E["0"]);this.canRetry();return this};M.prototype.doRequestThrottled=function(T){this.title(this._out.title||N["503"]);this.message(this._out.message||E["503"]);this.canRetry();this.retryAfterDate(!isNaN(Number(T))?new Date(new Date().getTime()+(1000*Number(T))):new Date(Date.parse(T)));return this};M.prototype.doNotFound=function(U,T){this.title(this._out.title||N["404"]);this.message(this._out.message||E["404"]);this.fallbackUrl(U||this._out.fallbackUrl||G.allProjects().build(),T||this._out.fallbackTitle||"Back to Projects");return this};M.prototype.build=function(){if(!this._out.title){this.title("An error occurred")}return this._out};var N={"401":"User not permitted","404":"Page not found","502":"Server Unreachable","0":"Server Unreachable","503":"Server Busy"};var E={"404":"We couldn\u0027t find the page you requested.","502":"The server didn\u0027t respond. You may retry your request when the server comes back up.","0":"The server didn\u0027t respond. You may retry your request when the server comes back up.","503":"The server couldn\u0027t process your request, please try again later."};function B(T){return T>=200&&T<400}function A(U,T){return T===204&&S.isIE()&&!U.getAllResponseHeaders()}function F(W,T,V,U){if((T===401||B(T))&&!C(V,U)){var X;if(T===401){X=new M().doAccessDenied(V!=null)}else{if(V||!A(W,T)){X=new M()[V?"shouldReload":"shouldLogin"]()}else{return null}}if(!U){if(T===401){return X.message(H.format("You\u0027\u0027ve logged in as {0}, but that user doesn\u0027\u0027t have permission to see this content.",'"'+V.name+'"')).build()}else{return X.title("You\u0027ve logged in").message(H.format("You\u0027\u0027ve logged in as {0}. Please refresh the page to avoid seeing inconsistent information.",'"'+V.name+'"')).build()}}else{if(!V){return X.title("You\u0027re not logged in").message("You are no longer logged in. Your session may have timed out.").build()}else{if(T===401){return X.message(H.format("You are no longer logged in as {0}, and your current user {1} doesn\u0027\u0027t have access to view this.",'"'+U.name+'"','"'+V.name+'"')).build()}else{return X.title("You\u0027ve switched users").message(H.format("You logged out as {0} and logged in as {1}. Please refresh the page to avoid seeing inconsistent information.",'"'+U.name+'"','"'+V.name+'"')).build()}}}}return null}function L(U){var T=U.getResponseHeader("X-AUSERID");var V=U.getResponseHeader("X-AUSERNAME");return V!=null?{id:T!=null?parseInt(T,10):null,name:decodeURIComponent(V)}:null}function C(U,T){if(U==null||T==null){return(U||null)===(T||null)}else{if(U.id!=null&&T.id!=null){return U.id===T.id}else{return U.name===T.name}}}R.getDominantAJAXError=function(Y,X,Z){var T=Number(Y.status);var U=Z!==undefined?Z:K.getCurrentUser()?K.getCurrentUser().toJSON():null;var W=X!==undefined?X:L(Y);var V=F(Y,T,W,U);if(V){return V}if(T===0||T>=400&&T<600){switch(T){case 401:return new M().doAccessDenied(!!U).build();case 404:return new M().doNotFound().build();case 0:if(O&&Y.statusText!=="abort"&&((new Date().getTime())-J>100)){return new M().doServerDown().build()}break;case 502:return new M().doServerDown().build();case 503:return new M().doRequestThrottled(Y.getResponseHeader("Retry-After")).build();default:return new M(null,"Something went wrong while trying to serve your request. Try reloading the page.").shouldReload().build()}}return null};R.getDominantRESTError=function(a,Z){var T,Y,V;V=K.getCurrentUser()?K.getCurrentUser().toJSON():null;if(Z){T=Number(Z.status);Y=L(Z);var X=F(Z,T,Y,V);if(X){return X}}if(a&&a.errors&&a.errors.length){var W=a.errors[0],U=new M(W.title||N[T],W.message,W.details,W.context,W.level||R.level.ERROR);switch(T){case 401:U.doAccessDenied(V!=null);break;case 404:U.doNotFound();break;case 409:U.shouldReload();break;case 503:U.doRequestThrottled(Z.getResponseHeader("Retry-After"));break}return U.build()}if(Z){return R.getDominantAJAXError(Z,Y,V)}return null};R.setFormErrors=function(V,W){var T=D(V);R.clearFormErrors(T);var U=Q.chain(W).filter(function(X){if(!X.message){return false}if(X.context){var Y=T.find('[name="'+X.context+'"]').closest(".field-group");if(Y.length){D(document.createElement("div")).addClass("error").text(X.message).appendTo(Y);return false}}return true}).pluck("message").map(H.escapeHtml).value().join("<br>");if(U){T.prepend(aui.message.error({content:U}))}};R.clearFormErrors=function(T){D(T).find(".error").remove()}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:exception', location = '/static/widget/exception/exception.js' */ define("widget/exception",["aui","jquery","exports"],function(B,C,A){A.onReady=function(){C(".formatted-throwable-toggle").click(function(){var E=C(this);var D=E.next(".formatted-throwable");if(E.data("message-visible")){D.hide("slow",function(){E.text("Show details")});E.data("message-visible",false)}else{D.show("slow",function(){E.text("Hide details")});E.data("message-visible",true)}})}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:exception', location = '/static/widget/exception/exception.soy' */ // This file was automatically generated from exception.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace stash.widget. */ if (typeof stash == 'undefined') { var stash = {}; } if (typeof stash.widget == 'undefined') { stash.widget = {}; } stash.widget.errorContent = function(opt_data, opt_ignored) { var output = '' + soy.$$escapeHtml(opt_data.message); if (opt_data.details && opt_data.details.length) { output += '<ul' + ((opt_data.detailListExtraClasses) ? ' class="' + aui.renderExtraClasses(opt_data) + '"' : '') + '>'; var detailList13 = opt_data.details; var detailListLen13 = detailList13.length; for (var detailIndex13 = 0; detailIndex13 < detailListLen13; detailIndex13++) { var detailData13 = detailList13[detailIndex13]; output += '<li>' + soy.$$escapeHtml(detailData13) + '</li>'; } output += '</ul>'; } return output; }; if (goog.DEBUG) { stash.widget.errorContent.soyTemplateName = 'stash.widget.errorContent'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-api:server', location = '/static/stash/api/util/server.js' */ define("stash/api/util/server",["aui","jquery","lodash","stash/api/util/navbuilder","util/error","util/function","model/page-state","widget/error-dialog","exports"],function(L,F,M,A,B,I,K,O,E){F.ajaxSetup({timeout:60000});var G=false;function D(W,X,V,U){var R=new Date();if(R<V){var T=function(){var Y=Math.ceil((+V-+new Date())/X);if(Y<=0){clearInterval(S);U()}else{W.text(Y)}},S=setInterval(T,X);T()}else{U()}}function Q(T,S,V,W,U){var R=new Date();if(R<U){T.addClass("hidden");T.before(S);D(V,W,U,function(){S.remove();T.removeClass("hidden")})}}function N(V,W,Z,a){var U,R,e;function b(f){R=f;e=R.abort;R.abort=Y}function Y(){e.apply(R,arguments)}function T(o,w,i,t,u,v,l){if(o.shouldLogin){window.onbeforeunload=null;window.location.href=A.login().next(window.location.href).build();return F.Deferred()}if(w){delete w.errors}var p;if(!G){p=new O()}var s=o.shouldRetry&&!G?F.Deferred():F.Deferred().rejectWith(this,[t,i,u,w,p]);if(!G){var m="",j=false;var q=stash.widget.errorContent(o);p.addHideListener(function(){G=false});var r={id:"ajax-error",titleText:o.title,titleClass:o.titleClass||"error-header",showCloseButton:M.isUndefined(o.canClose)?true:o.canClose,closeOnOutsideClick:false};if(o.fallbackUrl){r.okButtonText=L.escapeHtml(o.fallbackTitle);p.addOkListener(function(x){window.location.href=o.fallbackUrl;x.preventDefault()})}else{if(o.shouldReload){r.okButtonText=L.escapeHtml("Reload the page");p.addOkListener(function(x){window.location.reload();x.preventDefault()})}else{if(o.shouldRetry){s.notify("stalled");if(o.retryAfterDate){if(+o.retryAfterDate-+new Date()>60*60*1000){m="Unfortunately, the server won\u0027t be available for over an hour."}else{j=true}}r.okButtonText=L.escapeHtml("Try again");var n;p.addOkListener(function(x){s.notify("unstalled");n=J(v,l);p.remove();b(n);n.done(function(){return s.resolveWith(this,arguments)});n.fail(function(){return s.rejectWith(this,arguments)});x.preventDefault()});p.addHideListener(function(){if(s.state()==="pending"&&!n){s.rejectWith(this,[t,i,u,w])}})}else{r.showCloseButton=false}}}r.panelContent="<p>"+q+m+"</p>";p.reinit(r).show();G=true;if(j){var f,k;if(+o.retryAfterDate-+new Date()>60*1000){k=L.format("Retry in {0}m{1}","<time><span></span>","</time>");f=60*1000}else{k=L.format("Retry in {0}s{1}","<time><span></span>","</time>");f=1000}var h=F("<span>"+k+"</span>"),g=h.children("time").children();Q(p.getOkButton(),h,g,f,o.retryAfterDate)}}return s}function c(h,f,g,i,n,m){var l=a?B.getDominantRESTError(h,g):B.getDominantAJAXError(g),j=true;if(n){var k=n(l);if(k&&typeof k.promise==="function"){return k.promise(g)}if(k&&M.isObject(k)){l=k}j=k!==false}if(j&&l){return T(l,h,f,g,i,W,a)}else{return m()}}function d(f){var g=Z[f];if(g===undefined||g===null){g=Z["*"]}if(typeof g==="function"){return g}else{return I.constant(g)}}function X(j,k,i){var g=this;var h=d(i.status),f=h?M.bind(h,g,j,k,i):null;return c(j,k,i,null,f,function(){return F.Deferred().resolveWith(g,[j,k,i])})}function S(i,m,l){var g=this;var j=i.responseText;try{j=JSON.parse(j)}catch(k){}var h=d(i.status),f=h?M.bind(h,g,i,m,l,j):null;return c(j,m,i,l,f,function(){return F.Deferred().rejectWith(g,[i,m,l,j])})}b(V);U=V.then(X,S);return U.promise(V)}function P(T,S){var R;if(T.statusCode){R=T.statusCode;delete T.statusCode}R=R||{};var U=N(F.ajax(T),T,R,S);U.statusCode=function(W){if(W){if(U.state()==="pending"){F.extend(R,W)}else{for(var X in W){if(W.hasOwnProperty(X)){L.log("xhr.statusCode() should not be called after the request has completed. Your handler will have no affect on the resolution of the request.");break}}var V=W[U.status];U.then(V,V)}}};return U}function J(R){return P(R)}function C(R){var S={};if(K.getCurrentUser()){S["X-AUSERNAME"]=K.getCurrentUser().getName();S["X-AUSERID"]=K.getCurrentUser().getId()}R=F.extend(true,{dataType:"json",contentType:"application/json",headers:S,jsonp:false,type:"GET"},R);if(R.type.toUpperCase()!=="GET"&&(F.isPlainObject(R.data)||F.isArray(R.data))){R.data=JSON.stringify(R.data)}return P(R,true)}function H(S){S=F.extend({pollTimeout:60000,interval:500,delay:0,tick:F.noop},S);var T=false;var V=false;var X=F.Deferred(),U=new Date().getTime(),R=function(){if(T||V){return }V=true;C(S).done(function(Z,b,a){var Y=S.tick(Z,b,a);if(Y){X.resolveWith(this,[Z,b,a])}else{if((new Date().getTime()-U)>S.pollTimeout||typeof Y!=="undefined"){X.rejectWith(this,[a,b,null,Z])}else{setTimeout(R,S.interval)}}}).fail(function(a,b,Z,Y){X.rejectWith(this,[a,b,Z,Y])}).always(function(){V=false})};setTimeout(R,S.delay);var W=X.promise();W.resume=function(){if(T){T=false;R()}};W.pause=function(){T=true};return W}E.ajax=J;E.rest=C;E.poll=H});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:jquery-hashchange', location = '/static/bower/jquery-hashchange/jquery.ba-hashchange.js' */ /* * jQuery hashchange event - v1.3 - 7/21/2010 * http://benalman.com/projects/jquery-hashchange-plugin/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ (function($,E,B){var C="hashchange",H=document,F,G=$.event.special,I=H.documentMode,D="on"+C in E&&(I===B||I>7);function A(J){J=J||location.href;return"#"+J.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[C]=function(J){return J?this.bind(C,J):this.trigger(C)};$.fn[C].delay=50;G[C]=$.extend(G[C],{setup:function(){if(D){return false}$(F.start)},teardown:function(){if(D){return false}$(F.stop)}});F=(function(){var J={},P,M=A(),K=function(Q){return Q},L=K,O=K;J.start=function(){P||N()};J.stop=function(){P&&clearTimeout(P);P=B};function N(){var R=A(),Q=O(M);if(R!==M){L(M=R,Q);$(E).trigger(C)}else{if(Q!==M){location.href=location.href.replace(/#.*/,"")+Q}}P=setTimeout(N,$.fn[C].delay)}$.browser.msie&&!D&&(function(){var Q,R;J.start=function(){if(!Q){R=$.fn[C].src;R=R&&R+A();Q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){R||L(A());N()}).attr("src",R||"javascript:0").insertAfter("body")[0].contentWindow;H.onpropertychange=function(){try{if(event.propertyName==="title"){Q.document.title=H.title}}catch(S){}}}};J.stop=K;O=function(){return A(Q.location.href)};L=function(V,S){var U=Q.document,T=$.fn[C].domain;if(V!==S){U.title=H.title;U.open();T&&U.write('<script>document.domain="'+T+'"<\/script>');U.close();Q.location.hash=V}}})();return J})()})(jQuery,this);; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:global-polyfills', location = '/static/bower/raf.js/raf.js' */ (function(B){var C=0,F=["webkit","moz"],E=B.requestAnimationFrame,D=B.cancelAnimationFrame,A=F.length;while(--A>=0&&!E){E=B[F[A]+"RequestAnimationFrame"];D=B[F[A]+"CancelAnimationFrame"]}if(!E||!D){E=function(I){var H=Date.now(),G=Math.max(C+16,H);return setTimeout(function(){I(C=G)},G-H)};D=clearTimeout}B.requestAnimationFrame=E;B.cancelAnimationFrame=D}(window));; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:ajax', location = '/static/util/ajax.js' */ define("util/ajax",["jquery","lodash","stash/api/util/server","util/error","exports"],function(E,C,F,B,A){function D(G){var H=C.reduce(G.find("input[type=checkbox]:checked"),function(K,J){var I=E(J);if(I.attr("value")==="on"){K[I.attr("name")]=true}return K},{});return C.reduce(G.serializeArray(),function(L,J){var K=L[J.name],I=J.value===undefined?"":J.value;if(H[J.name]){I=true}if(K!==undefined){if(!E.isArray(K)){L[J.name]=[K]}L[J.name].push(I)}else{L[J.name]=I}return L},{})}A.ignore404WithinRepository=function(G){return{"404":function(M,H,L,J,K){var I=J&&J.errors&&J.errors.length&&J.errors[0];if(B.isErrorEntityWithinRepository(I)){return G&&G(J)||false}}}};A.ajax=F.ajax;A.rest=F.rest;A.poll=F.poll;A.formToJSON=D});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/message/message.soy' */ // This file was automatically generated from message.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui.message. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } if (typeof widget.aui.message == 'undefined') { widget.aui.message = {}; } widget.aui.message.info = function(opt_data, opt_ignored) { return '' + widget.aui.message.message(soy.$$augmentMap(opt_data, {type: 'info'})); }; if (goog.DEBUG) { widget.aui.message.info.soyTemplateName = 'widget.aui.message.info'; } widget.aui.message.warning = function(opt_data, opt_ignored) { return '' + widget.aui.message.message(soy.$$augmentMap(opt_data, {type: 'warning'})); }; if (goog.DEBUG) { widget.aui.message.warning.soyTemplateName = 'widget.aui.message.warning'; } widget.aui.message.error = function(opt_data, opt_ignored) { return '' + widget.aui.message.message(soy.$$augmentMap(opt_data, {type: 'error'})); }; if (goog.DEBUG) { widget.aui.message.error.soyTemplateName = 'widget.aui.message.error'; } widget.aui.message.success = function(opt_data, opt_ignored) { return '' + widget.aui.message.message(soy.$$augmentMap(opt_data, {type: 'success'})); }; if (goog.DEBUG) { widget.aui.message.success.soyTemplateName = 'widget.aui.message.success'; } widget.aui.message.message = function(opt_data, opt_ignored) { return '<div class="deprecated aui-message aui-message-' + soy.$$escapeHtml(opt_data.type ? opt_data.type : 'generic') + ((opt_data.closeable) ? ' closeable' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '">' + ((opt_data.title) ? '<p class="title"><strong>' + soy.$$escapeHtml(opt_data.title) + '</strong></p>' : '') + soy.$$filterNoAutoescape(opt_data.content) + '<span class="aui-icon' + ((opt_data.type) ? ' icon-' + soy.$$escapeHtml(opt_data.type) : '') + '"></span>' + ((opt_data.closeable) ? '<span class="aui-icon icon-close" role="button" tabindex="0"></span>' : '') + '</div>'; }; if (goog.DEBUG) { widget.aui.message.message.soyTemplateName = 'widget.aui.message.message'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/table/table.soy' */ // This file was automatically generated from table.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } widget.aui.table = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<table class="aui' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '" ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.dataAttributes) ? stash.util.dataAttributes({data: opt_data.dataAttributes}) : '') + '>' + ((opt_data.captionContent) ? '<caption>' + soy.$$filterNoAutoescape(opt_data.captionContent) + '</caption>' : '') + ((opt_data.theadContent) ? '<thead ' + ((opt_data.theadId) ? 'id="' + soy.$$escapeHtml(opt_data.theadId) + '"' : '') + '>' + soy.$$filterNoAutoescape(opt_data.theadContent) + '</thead>' : '') + ((opt_data.tfootContent) ? '<tfoot ' + ((opt_data.tfootId) ? 'id="' + soy.$$escapeHtml(opt_data.tfootId) + '"' : '') + '>' + soy.$$filterNoAutoescape(opt_data.tfootContent) + '</tfoot>' : '') + '<tbody ' + ((opt_data.tbodyId) ? 'id="' + soy.$$escapeHtml(opt_data.tbodyId) + '"' : '') + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</tbody></table>'; }; if (goog.DEBUG) { widget.aui.table.soyTemplateName = 'widget.aui.table'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/page-header.soy' */ // This file was automatically generated from page-header.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } widget.aui.pageHeader = function(opt_data, opt_ignored) { return '<header class="aui-page-header' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '"><div class="aui-page-header-inner"><div class="aui-page-header-main' + ((opt_data.mainClasses) ? ' ' + soy.$$escapeHtml(opt_data.mainClasses) : '') + '">' + soy.$$filterNoAutoescape(opt_data.content) + '</div>' + ((opt_data.actionListContent) ? '<div class="aui-page-header-actions' + ((opt_data.actionsClasses) ? ' ' + soy.$$escapeHtml(opt_data.actionsClasses) : '') + '">' + soy.$$filterNoAutoescape(opt_data.actionListContent) + '</div>' : '') + '</div></header>'; }; if (goog.DEBUG) { widget.aui.pageHeader.soyTemplateName = 'widget.aui.pageHeader'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/group.soy' */ // This file was automatically generated from group.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui.group. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } if (typeof widget.aui.group == 'undefined') { widget.aui.group = {}; } widget.aui.group.group = function(opt_data, opt_ignored) { return '<div ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '" ' : '') + 'class="aui-group' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '">' + soy.$$filterNoAutoescape(opt_data.content ? opt_data.content : '') + '</div>'; }; if (goog.DEBUG) { widget.aui.group.group.soyTemplateName = 'widget.aui.group.group'; } widget.aui.group.item = function(opt_data, opt_ignored) { return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ' class="aui-item' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content ? opt_data.content : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { widget.aui.group.item.soyTemplateName = 'widget.aui.group.item'; } widget.aui.group.split = function(opt_data, opt_ignored) { return '<div class="aui-group aui-group-split' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '">' + soy.$$filterNoAutoescape(opt_data.content ? opt_data.content : '') + '</div>'; }; if (goog.DEBUG) { widget.aui.group.split.soyTemplateName = 'widget.aui.group.split'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/form/form.js' */ define("widget/aui/form",["jquery","exports"],function(E,B){function C(F){F.preventDefault()}function A(F,G){F.data("preventSubmission",G);F.find(":submit").toggleClass("disabled",G).prop("disabled",G);F.find('a, button, input[type="button"]')[G?"on":"off"]("click",C).toggleClass("disabled",G)}B.preventSubmission=function(F){A(F,true)};B.allowSubmission=function(F){A(F,false)};B.isSubmissionPrevented=function(F){return F.data("preventSubmission")};function D(H){var I=E(window);var G=Object.prototype.hasOwnProperty.call(window,"onpagehide")?"pagehide":"unload";var F=function(){I.off(G,F);return H.apply(this,arguments)};I.on(G,F)}B.onReady=function(){E(document).on("submit",".prevent-double-submit",function(G){var F=E(G.target);if(B.isSubmissionPrevented(F)){G.preventDefault()}else{setTimeout(function(){if(!G.isDefaultPrevented()){A(F,true);D(function(){A(F,false)})}},0)}})}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/form/form.soy' */ // This file was automatically generated from form.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui.form. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } if (typeof widget.aui.form == 'undefined') { widget.aui.form = {}; } widget.aui.form.form = function(opt_data, opt_ignored) { var output = '<form class="deprecated aui' + ((opt_data.unsectioned) ? ' unsectioned' : '') + ((opt_data.longLabels) ? ' long-label' : '') + ((! (opt_data.preventDoubleSubmit == false)) ? ' prevent-double-submit' : '') + ((opt_data.topLabels) ? ' top-label' : '') + ((opt_data.extraClass) ? ' ' + soy.$$escapeHtml(opt_data.extraClass) : '') + '" action="' + soy.$$escapeHtml(opt_data.action) + '" method="' + ((opt_data.method) ? soy.$$escapeHtml(opt_data.method) : 'post') + '" ' + ((opt_data.autocomplete) ? ' autocomplete="' + soy.$$escapeHtml(opt_data.autocomplete) + '"' : '') + ' accept-charset="UTF-8">' + ((opt_data.xsrfTokenName && opt_data.xsrfTokenValue) ? '<input type="hidden" name="' + soy.$$escapeHtml(opt_data.xsrfTokenName) + '" value="' + soy.$$escapeHtml(opt_data.xsrfTokenValue) + '">' : ''); if (opt_data.errors) { var messageList44 = opt_data.errors; var messageListLen44 = messageList44.length; for (var messageIndex44 = 0; messageIndex44 < messageListLen44; messageIndex44++) { var messageData44 = messageList44[messageIndex44]; output += aui.message.error({content: '' + stash.widget.errorContent({message: messageData44})}); } } if (opt_data.detailedErrors) { var errorList52 = opt_data.detailedErrors; var errorListLen52 = errorList52.length; for (var errorIndex52 = 0; errorIndex52 < errorListLen52; errorIndex52++) { var errorData52 = errorList52[errorIndex52]; output += aui.message.error({content: '' + stash.widget.errorContent(errorData52)}); } } output += ((opt_data.additionalErrorContent) ? soy.$$filterNoAutoescape(opt_data.additionalErrorContent) : '') + soy.$$filterNoAutoescape(opt_data.content) + '</form>'; return output; }; if (goog.DEBUG) { widget.aui.form.form.soyTemplateName = 'widget.aui.form.form'; } widget.aui.form.text = function(opt_data, opt_ignored) { return '' + widget.aui.form.field(soy.$$augmentMap(opt_data, {input: '' + widget.aui.form.input(soy.$$augmentMap(opt_data, {type: 'text', extraClasses: '' + ((opt_data.sizeClass) ? soy.$$escapeHtml(opt_data.sizeClass) + '-field' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : ''), readonly: opt_data.readonly}))})); }; if (goog.DEBUG) { widget.aui.form.text.soyTemplateName = 'widget.aui.form.text'; } widget.aui.form.largetext = function(opt_data, opt_ignored) { return '' + widget.aui.form.field(soy.$$augmentMap(opt_data, {input: '' + ((opt_data.isExpanding) ? widget.aui.form.expandingTextarea(soy.$$augmentMap(opt_data, {extraClasses: '' + ((opt_data.sizeClass) ? soy.$$escapeHtml(opt_data.sizeClass) + '-field' : '') + ((opt_data.monospace) ? ' monospace' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '')})) : widget.aui.form.textarea(soy.$$augmentMap(opt_data, {extraClasses: '' + ((opt_data.sizeClass) ? soy.$$escapeHtml(opt_data.sizeClass) + '-field' : '') + ((opt_data.monospace) ? ' monospace' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '')})))})); }; if (goog.DEBUG) { widget.aui.form.largetext.soyTemplateName = 'widget.aui.form.largetext'; } widget.aui.form.password = function(opt_data, opt_ignored) { return '' + widget.aui.form.field(soy.$$augmentMap(opt_data, {input: '' + widget.aui.form.input(soy.$$augmentMap(opt_data, {type: 'password', extraClasses: '' + ((opt_data.sizeClass) ? soy.$$escapeHtml(opt_data.sizeClass) + '-field' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '')}))})); }; if (goog.DEBUG) { widget.aui.form.password.soyTemplateName = 'widget.aui.form.password'; } widget.aui.form.checkbox = function(opt_data, opt_ignored) { var param130 = '<div class="checkbox">' + widget.aui.form.input(soy.$$augmentMap(opt_data, {type: 'checkbox'})) + '<label for="' + soy.$$escapeHtml(opt_data.id) + '" ' + ((opt_data.disabled) ? 'class="disabled"' : '') + '>' + soy.$$filterNoAutoescape(opt_data.labelContent) + ((opt_data.required) ? '<span class="aui-icon icon-required"><span>(required)</span></span>' : '') + '</label>' + ((opt_data.description || opt_data.descriptionContent) ? '<div class="description">' + ((opt_data.description) ? soy.$$escapeHtml(opt_data.description) : '') + ((opt_data.descriptionContent) ? soy.$$filterNoAutoescape(opt_data.descriptionContent) : '') + '</div>' : ''); if (opt_data.errors) { var errorList160 = opt_data.errors; var errorListLen160 = errorList160.length; for (var errorIndex160 = 0; errorIndex160 < errorListLen160; errorIndex160++) { var errorData160 = errorList160[errorIndex160]; param130 += widget.aui.form.fieldError({message: errorData160}); } } param130 += '</div>'; var output = '' + widget.aui.form.fieldset(soy.$$augmentMap(opt_data, {isGroup: true, extraClasses: 'checkbox', legendContent: opt_data.legendContent, id: opt_data.fieldsetId, content: param130})); return output; }; if (goog.DEBUG) { widget.aui.form.checkbox.soyTemplateName = 'widget.aui.form.checkbox'; } widget.aui.form.fieldValue = function(opt_data, opt_ignored) { return '' + widget.aui.form.field(soy.$$augmentMap(opt_data, {input: '' + widget.aui.form.value(opt_data)})); }; if (goog.DEBUG) { widget.aui.form.fieldValue.soyTemplateName = 'widget.aui.form.fieldValue'; } widget.aui.form.description = function(opt_data, opt_ignored) { return '<div class="field-group">' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; }; if (goog.DEBUG) { widget.aui.form.description.soyTemplateName = 'widget.aui.form.description'; } widget.aui.form.buttons = function(opt_data, opt_ignored) { return '<div class="buttons-container"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + '><div class="buttons">' + soy.$$filterNoAutoescape(opt_data.content) + '</div></div>'; }; if (goog.DEBUG) { widget.aui.form.buttons.soyTemplateName = 'widget.aui.form.buttons'; } widget.aui.form.submit = function(opt_data, opt_ignored) { return '' + widget.aui.form.input(soy.$$augmentMap(opt_data, {type: 'submit', initialValue: opt_data.label})); }; if (goog.DEBUG) { widget.aui.form.submit.soyTemplateName = 'widget.aui.form.submit'; } widget.aui.form.button = function(opt_data, opt_ignored) { return '' + widget.aui.form.input(soy.$$augmentMap(opt_data, {type: 'button', initialValue: opt_data.label})); }; if (goog.DEBUG) { widget.aui.form.button.soyTemplateName = 'widget.aui.form.button'; } widget.aui.form.linkButton = function(opt_data, opt_ignored) { return '' + stash.buttons.button({id: opt_data.id, title: opt_data.tooltip, type: 'link', href: opt_data.href, extraClasses: opt_data.extraClasses, extraAttributes: 'name="' + soy.$$escapeHtml(opt_data.name ? opt_data.name : opt_data.id) + '"' + ((opt_data.accessKey) ? ' accesskey="' + soy.$$escapeHtml(opt_data.accessKey) + '"' : ''), buttonText: opt_data.text}); }; if (goog.DEBUG) { widget.aui.form.linkButton.soyTemplateName = 'widget.aui.form.linkButton'; } widget.aui.form.cancelButton = function(opt_data, opt_ignored) { return '' + widget.aui.form.linkButton(soy.$$augmentMap(opt_data, {name: opt_data.name ? opt_data.name : opt_data.id ? opt_data.id : 'cancel', id: opt_data.id ? opt_data.id : 'cancel', accessKey: 'c', extraClasses: 'cancel' + (opt_data.extraClasses ? ' ' + opt_data.extraClasses : ''), text: "Cancel"})); }; if (goog.DEBUG) { widget.aui.form.cancelButton.soyTemplateName = 'widget.aui.form.cancelButton'; } widget.aui.form.fieldError = function(opt_data, opt_ignored) { return '<div class="error' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '">' + soy.$$escapeHtml(opt_data.message) + '</div>'; }; if (goog.DEBUG) { widget.aui.form.fieldError.soyTemplateName = 'widget.aui.form.fieldError'; } widget.aui.form.field = function(opt_data, opt_ignored) { var output = '<div class="field-group' + ((opt_data.fieldGroupClass) ? ' ' + soy.$$escapeHtml(opt_data.fieldGroupClass) : '') + '"><label for="' + soy.$$escapeHtml(opt_data.id) + '" ' + ((opt_data.disabled) ? 'class="disabled"' : '') + '>' + soy.$$filterNoAutoescape(opt_data.labelContent) + ((opt_data.required) ? '<span class="aui-icon icon-required"><span>(required)</span></span>' : '') + '</label>' + soy.$$filterNoAutoescape(opt_data.input) + ((opt_data.description || opt_data.descriptionContent) ? '<div class="description">' + ((opt_data.description) ? soy.$$escapeHtml(opt_data.description) : '') + ((opt_data.descriptionContent) ? soy.$$filterNoAutoescape(opt_data.descriptionContent) : '') + '</div>' : ''); if (opt_data.errors) { var errorList261 = opt_data.errors; var errorListLen261 = errorList261.length; for (var errorIndex261 = 0; errorIndex261 < errorListLen261; errorIndex261++) { var errorData261 = errorList261[errorIndex261]; output += widget.aui.form.fieldError({message: errorData261}); } } output += '</div>'; return output; }; if (goog.DEBUG) { widget.aui.form.field.soyTemplateName = 'widget.aui.form.field'; } widget.aui.form.fieldset = function(opt_data, opt_ignored) { var output = ''; var hasClass__soy267 = opt_data.isInline || opt_data.isDateSelect || opt_data.isGroup || opt_data.extraClasses; output += '<fieldset' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((hasClass__soy267) ? ' class="' + soy.$$escapeHtml(opt_data.isInline ? 'inline' : opt_data.isDateSelect ? 'date-select' : opt_data.isGroup ? 'group' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '"' : '') + '>' + ((opt_data.legendContent) ? '<legend ' + ((opt_data.isAssistive) ? 'class="assistive"' : '') + '><span>' + soy.$$filterNoAutoescape(opt_data.legendContent) + '</span></legend>' : '') + soy.$$filterNoAutoescape(opt_data.content) + '</fieldset>'; return output; }; if (goog.DEBUG) { widget.aui.form.fieldset.soyTemplateName = 'widget.aui.form.fieldset'; } widget.aui.form.input = function(opt_data, opt_ignored) { return '<input class="' + soy.$$escapeHtml(opt_data.type == 'password' ? 'text' : opt_data.type == 'submit' || opt_data.type == 'button' ? 'aui-button' : opt_data.type) + ((opt_data.disabled) ? ' disabled' : '') + ((opt_data.isPrimary) ? ' aui-button-primary' : '') + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '" type="' + soy.$$escapeHtml(opt_data.type) + '" ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '" ' : '') + ' name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '" ' + ((opt_data.tooltip) ? 'title="' + soy.$$escapeHtml(opt_data.tooltip) + '"' : '') + ((opt_data.initialValue) ? ' value="' + soy.$$escapeHtml(opt_data.initialValue) + '"' : '') + ((opt_data.autofocus) ? ' autofocus' : '') + ((opt_data.autocomplete) ? ' autocomplete="' + soy.$$escapeHtml(opt_data.autocomplete) + '"' : '') + (((opt_data.type == 'checkbox' || opt_data.type == 'radio') && opt_data.checked) ? ' checked="checked" ' : '') + ((opt_data.accessKey) ? ' accesskey="' + soy.$$escapeHtml(opt_data.accessKey) + '"' : '') + ((opt_data.maxLength) ? ' maxLength="' + soy.$$escapeHtml(opt_data.maxLength) + '"' : '') + ((opt_data.placeholderText) ? ' placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + ((opt_data.disabled) ? ' disabled="' + soy.$$escapeHtml(opt_data.disabled) + '"' : '') + ((opt_data.readonly) ? ' readonly' : '') + '/>'; }; if (goog.DEBUG) { widget.aui.form.input.soyTemplateName = 'widget.aui.form.input'; } widget.aui.form.textarea = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<textarea class="textarea' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '" name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.tooltip) ? ' title="' + soy.$$escapeHtml(opt_data.tooltip) + '"' : '') + ((opt_data.rows) ? ' rows="' + soy.$$escapeHtml(opt_data.rows) + '"' : '') + ((opt_data.cols) ? ' cols="' + soy.$$escapeHtml(opt_data.cols) + '"' : '') + ((opt_data.placeholderText) ? ' placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + ((opt_data.accessKey) ? ' accesskey="' + soy.$$escapeHtml(opt_data.accessKey) + '"' : '') + ((opt_data.autofocus) ? ' autofocus' : '') + '>' + ((opt_data.initialValue) ? soy.$$escapeHtml(opt_data.initialValue) : '') + '</textarea>'; }; if (goog.DEBUG) { widget.aui.form.textarea.soyTemplateName = 'widget.aui.form.textarea'; } widget.aui.form.expandingTextarea = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '' + widget.aui.form.textarea(soy.$$augmentMap(opt_data, {extraClasses: (opt_data.extraClasses ? opt_data.extraClasses : '') + ' expanding'})); }; if (goog.DEBUG) { widget.aui.form.expandingTextarea.soyTemplateName = 'widget.aui.form.expandingTextarea'; } widget.aui.form.value = function(opt_data, opt_ignored) { return '<span id="' + soy.$$escapeHtml(opt_data.id) + '" class="field-value">' + soy.$$filterNoAutoescape(opt_data.valueContent) + '</span>'; }; if (goog.DEBUG) { widget.aui.form.value.soyTemplateName = 'widget.aui.form.value'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/panel.soy' */ // This file was automatically generated from panel.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } widget.aui.panel = function(opt_data, opt_ignored) { return '' + aui.page.pagePanel({extraClasses: 'content-body' + (opt_data.extraClasses ? ' ' + opt_data.extraClasses : ''), content: opt_data.content}); }; if (goog.DEBUG) { widget.aui.panel.soyTemplateName = 'widget.aui.panel'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/dropdown/dropdown.js' */ define("widget/aui/dropdown",["aui","jquery","exports"],function(B,C,A){A.onReady=function(){var D={};D.dropDown=".aui-dropdown-left:not(.aui-dropdown-ajax)";D.alignment="left";B.dropDown.Standard(C.extend({},D));D.dropDown=".aui-dropdown-right:not(.aui-dropdown-ajax)";D.alignment="right";B.dropDown.Standard(C.extend({},D))}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/dropdown/dropdown2.soy' */ // This file was automatically generated from dropdown2.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } widget.aui.dropdown2 = function(opt_data, opt_ignored) { return '<a class="aui-dropdown2-trigger' + ((opt_data.triggerClass) ? ' ' + soy.$$escapeHtml(opt_data.triggerClass) : '') + '" aria-owns="' + soy.$$escapeHtml(opt_data.menuId) + '" aria-haspopup="true" ' + ((opt_data.triggerId) ? 'id="' + soy.$$escapeHtml(opt_data.triggerId) + '"' : '') + ' ' + ((opt_data.triggerTitle) ? 'title="' + soy.$$escapeHtml(opt_data.triggerTitle) + '"' : '') + ' ' + ((opt_data.dataContainer) ? 'data-container="' + soy.$$escapeHtml(opt_data.dataContainer) + '"' : '') + ' href="#">' + ((opt_data.triggerContent) ? soy.$$filterNoAutoescape(opt_data.triggerContent) : '') + ((opt_data.triggerText) ? soy.$$escapeHtml(opt_data.triggerText) : '') + ((opt_data.showIcon) ? '<span class="icon aui-icon-dropdown"></span>' : '') + '</a><div style="display: none" id="' + soy.$$escapeHtml(opt_data.menuId) + '" class="aui-dropdown2' + ((! opt_data.hasCustomStyle) ? ' aui-style-default' : '') + ((opt_data.menuClass) ? ' ' + soy.$$escapeHtml(opt_data.menuClass) : '') + '">' + soy.$$filterNoAutoescape(opt_data.menuContent) + '</div>'; }; if (goog.DEBUG) { widget.aui.dropdown2.soyTemplateName = 'widget.aui.dropdown2'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:aui-wrappers', location = '/static/widget/aui/dropdown/dropdown.soy' */ // This file was automatically generated from dropdown.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace widget.aui. */ if (typeof widget == 'undefined') { var widget = {}; } if (typeof widget.aui == 'undefined') { widget.aui = {}; } widget.aui.dropdownItem = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<li class=\'dropdown-item' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '\'>' + ((opt_data.dropdownText) ? soy.$$escapeHtml(opt_data.dropdownText) : (opt_data.dropdownContent) ? soy.$$filterNoAutoescape(opt_data.dropdownContent) : '') + '</li>'; }; if (goog.DEBUG) { widget.aui.dropdownItem.soyTemplateName = 'widget.aui.dropdownItem'; } widget.aui.dropdown = function(opt_data, opt_ignored) { return '<a class="aui-dd-trigger' + ((opt_data.triggerClass) ? ' ' + soy.$$escapeHtml(opt_data.triggerClass) : '') + '" ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' ' + ((opt_data.title) ? 'title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + '>' + ((opt_data.triggerText) ? '<span class="dropdown-text">' + soy.$$escapeHtml(opt_data.triggerText) + '</span>' : '') + ((opt_data.triggerContent) ? soy.$$filterNoAutoescape(opt_data.triggerContent) : '') + ((opt_data.showIcon) ? '<span class="icon icon-dropdown"></span>' : '') + '</a><' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'ul') + ' class="aui-dropdown hidden ' + soy.$$escapeHtml(opt_data.rightAligned ? 'aui-dropdown-right' : 'aui-dropdown-left') + ' ' + ((opt_data.dropdownClass) ? soy.$$escapeHtml(opt_data.dropdownClass) : '') + ' ' + soy.$$escapeHtml(opt_data.ajax ? 'aui-dropdown-ajax' : '') + '">' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'ul') + '>'; }; if (goog.DEBUG) { widget.aui.dropdown.soyTemplateName = 'widget.aui.dropdown'; } widget.aui.dropdownParent = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + ' ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dd-parent' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '">' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; }; if (goog.DEBUG) { widget.aui.dropdownParent.soyTemplateName = 'widget.aui.dropdownParent'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:momentjs', location = '/static/bower/moment/moment.js' */ (function(g){var v,Ak="2.9.0",BB=(typeof global!=="undefined"&&(typeof window==="undefined"||window===global.window))?global:this,AV,AD=Math.round,Aq=Object.prototype.hasOwnProperty,AL,a=0,I=1,A3=2,Z=3,Ah=4,X=5,z=6,AT={},Aw=[],AU=(typeof module!=="undefined"&&module&&module.exports),E=/^\/?Date\((\-?\d+)/i,BF=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Am=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,AY=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,AK=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,J=/\d\d?/,AM=/\d{1,3}/,h=/\d{1,4}/,BL=/[+\-]?\d{1,6}/,A9=/\d+/,n=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,R=/Z|[\+\-]\d\d:?\d\d/gi,N=/T/i,V=/[\+\-]?\d+/,Ay=/[\+\-]?\d+(\.\d{1,3})?/,AJ=/\d/,U=/\d\d/,BD=/\d{3}/,Ax=/\d{4}/,AQ=/[+-]?\d{6}/,AG=/[+-]?\d+/,Au=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,AA="YYYY-MM-DDTHH:mm:ssZ",BC=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],l=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],AI=/([\+\-]|\d\d)/gi,Ao="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),f={Milliseconds:1,Seconds:1000,Minutes:60000,Hours:3600000,Days:86400000,Months:2592000000,Years:31536000000},F={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},A8={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},AS={},b={s:45,m:45,h:22,d:26,M:11},A2="DDD w W M D d".split(" "),AW="M D H h m s w W".split(" "),A4={M:function(){return this.month()+1},MMM:function(i){return this.localeData().monthsShort(this,i)},MMMM:function(i){return this.localeData().months(this,i)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(i){return this.localeData().weekdaysMin(this,i)},ddd:function(i){return this.localeData().weekdaysShort(this,i)},dddd:function(i){return this.localeData().weekdays(this,i)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return o(this.year()%100,2)},YYYY:function(){return o(this.year(),4)},YYYYY:function(){return o(this.year(),5)},YYYYYY:function(){var BR=this.year(),i=BR>=0?"+":"-";return i+o(Math.abs(BR),6)},gg:function(){return o(this.weekYear()%100,2)},gggg:function(){return o(this.weekYear(),4)},ggggg:function(){return o(this.weekYear(),5)},GG:function(){return o(this.isoWeekYear()%100,2)},GGGG:function(){return o(this.isoWeekYear(),4)},GGGGG:function(){return o(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),true)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),false)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return q(this.milliseconds()/100)},SS:function(){return o(q(this.milliseconds()/10),2)},SSS:function(){return o(this.milliseconds(),3)},SSSS:function(){return o(this.milliseconds(),3)},Z:function(){var BR=this.utcOffset(),i="+";if(BR<0){BR=-BR;i="-"}return i+o(q(BR/60),2)+":"+o(q(BR)%60,2)},ZZ:function(){var BR=this.utcOffset(),i="+";if(BR<0){BR=-BR;i="-"}return i+o(q(BR/60),2)+o(q(BR)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},A={},AB=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"],AH=false;function Az(BR,i,BS){switch(arguments.length){case 2:return BR!=null?BR:i;case 3:return BR!=null?BR:i!=null?i:BS;default:throw new Error("Implement me")}}function A5(BR,i){return Aq.call(BR,i)}function AO(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false}}function BQ(i){if(v.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+i)}}function BO(BR,i){var BS=true;return Ai(function(){if(BS){BQ(BR);BS=false}return i.apply(this,arguments)},i)}function G(i,BR){if(!A[i]){BQ(BR);A[i]=true}}function s(BR,i){return function(BS){return o(BR.call(this,BS),i)}}function K(i,BR){return function(BS){return this.localeData().ordinal(i.call(this,BS),BR)}}function L(BR,i){var BV=((i.year()-BR.year())*12)+(i.month()-BR.month()),BS=BR.clone().add(BV,"months"),BT,BU;if(i-BS<0){BT=BR.clone().add(BV-1,"months");BU=(i-BS)/(BS-BT)}else{BT=BR.clone().add(BV+1,"months");BU=(i-BS)/(BT-BS)}return -(BV+BU)}while(A2.length){AL=A2.pop();A4[AL+"o"]=K(A4[AL],AL)}while(AW.length){AL=AW.pop();A4[AL+AL]=s(A4[AL],2)}A4.DDDD=s(A4.DDD,3);function BE(i,BS,BT){var BR;if(BT==null){return BS}if(i.meridiemHour!=null){return i.meridiemHour(BS,BT)}else{if(i.isPM!=null){BR=i.isPM(BT);if(BR&&BS<12){BS+=12}if(!BR&&BS===12){BS=0}return BS}else{return BS}}}function AF(){}function p(BR,i){if(i!==false){BI(BR)}As(this,BR);this._d=new Date(+BR._d);if(AH===false){AH=true;v.updateOffset(this);AH=false}}function AN(BV){var BX=O(BV),BW=BX.year||0,BR=BX.quarter||0,BS=BX.month||0,i=BX.week||0,Ba=BX.day||0,BY=BX.hour||0,BU=BX.minute||0,BZ=BX.second||0,BT=BX.millisecond||0;this._milliseconds=+BT+BZ*1000+BU*60000+BY*3600000;this._days=+Ba+i*7;this._months=+BS+BR*3+BW*12;this._data={};this._locale=v.localeData();this._bubble()}function Ai(BS,BR){for(var BT in BR){if(A5(BR,BT)){BS[BT]=BR[BT]}}if(A5(BR,"toString")){BS.toString=BR.toString}if(A5(BR,"valueOf")){BS.valueOf=BR.valueOf}return BS}function As(BV,BU){var BR,BT,BS;if(typeof BU._isAMomentObject!=="undefined"){BV._isAMomentObject=BU._isAMomentObject}if(typeof BU._i!=="undefined"){BV._i=BU._i}if(typeof BU._f!=="undefined"){BV._f=BU._f}if(typeof BU._l!=="undefined"){BV._l=BU._l}if(typeof BU._strict!=="undefined"){BV._strict=BU._strict}if(typeof BU._tzm!=="undefined"){BV._tzm=BU._tzm}if(typeof BU._isUTC!=="undefined"){BV._isUTC=BU._isUTC}if(typeof BU._offset!=="undefined"){BV._offset=BU._offset}if(typeof BU._pf!=="undefined"){BV._pf=BU._pf}if(typeof BU._locale!=="undefined"){BV._locale=BU._locale}if(Aw.length>0){for(BR in Aw){BT=Aw[BR];BS=BU[BT];if(typeof BS!=="undefined"){BV[BT]=BS}}}return BV}function P(i){if(i<0){return Math.ceil(i)}else{return Math.floor(i)}}function o(BU,BT,BS){var BR=""+Math.abs(BU),i=BU>=0;while(BR.length<BT){BR="0"+BR}return(i?(BS?"+":""):"-")+BR}function D(BS,i){var BR={milliseconds:0,months:0};BR.months=i.month()-BS.month()+(i.year()-BS.year())*12;if(BS.clone().add(BR.months,"M").isAfter(i)){--BR.months}BR.milliseconds=+i-+(BS.clone().add(BR.months,"M"));return BR}function AC(BS,i){var BR;i=c(i,BS);if(BS.isBefore(i)){BR=D(BS,i)}else{BR=D(i,BS);BR.milliseconds=-BR.milliseconds;BR.months=-BR.months}return BR}function w(BR,i){return function(BV,BU){var BT,BS;if(BU!==null&&!isNaN(+BU)){G(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period).");BS=BV;BV=BU;BU=BS}BV=typeof BV==="string"?+BV:BV;BT=v.duration(BV,BU);k(this,BT,BR);return this}}function k(BS,BV,BU,BT){var BR=BV._milliseconds,BW=BV._days,i=BV._months;BT=BT==null?true:BT;if(BR){BS._d.setTime(+BS._d+BR*BU)}if(BW){A0(BS,"Date",BP(BS,"Date")+BW*BU)}if(i){BK(BS,BP(BS,"Month")+i*BU)}if(BT){v.updateOffset(BS,BW||i)}}function B(i){return Object.prototype.toString.call(i)==="[object Array]"}function H(i){return Object.prototype.toString.call(i)==="[object Date]"||i instanceof Date}function A1(BW,BV,BS){var BR=Math.min(BW.length,BV.length),BT=Math.abs(BW.length-BV.length),BX=0,BU;for(BU=0;BU<BR;BU++){if((BS&&BW[BU]!==BV[BU])||(!BS&&q(BW[BU])!==q(BV[BU]))){BX++}}return BX+BT}function A7(BR){if(BR){var i=BR.toLowerCase().replace(/(.)s$/,"$1");BR=F[BR]||A8[i]||i}return BR}function O(BS){var BR={},i,BT;for(BT in BS){if(A5(BS,BT)){i=A7(BT);if(i){BR[i]=BS[BT]}}}return BR}function Ae(BR){var i,BS;if(BR.indexOf("week")===0){i=7;BS="day"}else{if(BR.indexOf("month")===0){i=12;BS="month"}else{return }}v[BR]=function(BX,BU){var BW,BT,BY=v._locale[BR],BV=[];if(typeof BX==="number"){BU=BX;BX=g}BT=function(Ba){var BZ=v().utc().set(BS,Ba);return BY.call(v._locale,BZ,BX||"")};if(BU!=null){return BT(BU)}else{for(BW=0;BW<i;BW++){BV.push(BT(BW))}return BV}}}function q(i){var BS=+i,BR=0;if(BS!==0&&isFinite(BS)){if(BS>=0){BR=Math.floor(BS)}else{BR=Math.ceil(BS)}}return BR}function BG(i,BR){return new Date(Date.UTC(i,BR+1,0)).getUTCDate()}function An(i,BS,BR){return e(v([i,11,31+BS-BR]),BS,BR).week}function BA(i){return At(i)?366:365}function At(i){return(i%4===0&&i%100!==0)||i%400===0}function BI(i){var BR;if(i._a&&i._pf.overflow===-2){BR=i._a[I]<0||i._a[I]>11?I:i._a[A3]<1||i._a[A3]>BG(i._a[a],i._a[I])?A3:i._a[Z]<0||i._a[Z]>24||(i._a[Z]===24&&(i._a[Ah]!==0||i._a[X]!==0||i._a[z]!==0))?Z:i._a[Ah]<0||i._a[Ah]>59?Ah:i._a[X]<0||i._a[X]>59?X:i._a[z]<0||i._a[z]>999?z:-1;if(i._pf._overflowDayOfYear&&(BR<a||BR>A3)){BR=A3}i._pf.overflow=BR}}function Aj(i){if(i._isValid==null){i._isValid=!isNaN(i._d.getTime())&&i._pf.overflow<0&&!i._pf.empty&&!i._pf.invalidMonth&&!i._pf.nullInput&&!i._pf.invalidFormat&&!i._pf.userInvalidated;if(i._strict){i._isValid=i._isValid&&i._pf.charsLeftOver===0&&i._pf.unusedTokens.length===0&&i._pf.bigHour===g}}return i._isValid}function Av(i){return i?i.toLowerCase().replace("_","-"):i}function Ab(BW){var BU=0,BS,BV,BR,BT;while(BU<BW.length){BT=Av(BW[BU]).split("-");BS=BT.length;BV=Av(BW[BU+1]);BV=BV?BV.split("-"):null;while(BS>0){BR=C(BT.slice(0,BS).join("-"));if(BR){return BR}if(BV&&BV.length>=BS&&A1(BT,BV,true)>=BS-1){break}BS--}BU++}return null}function C(i){var BS=null;if(!AT[i]&&AU){try{BS=v.locale();require("./locale/"+i);v.locale(BS)}catch(BR){}}return AT[i]}function c(i,BR){var BS,BT;if(BR._isUTC){BS=BR.clone();BT=(v.isMoment(i)||H(i)?+i:+v(i))-(+BS);BS._d.setTime(+BS._d+BT);v.updateOffset(BS,false);return BS}else{return v(i).local()}}Ai(AF.prototype,{set:function(BR){var BT,BS;for(BS in BR){BT=BR[BS];if(typeof BT==="function"){this[BS]=BT}else{this["_"+BS]=BT}}this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(i){return this._months[i.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(i){return this._monthsShort[i.month()]},monthsParse:function(BS,BW,BR){var BT,BV,BU;if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(BT=0;BT<12;BT++){BV=v.utc([2000,BT]);if(BR&&!this._longMonthsParse[BT]){this._longMonthsParse[BT]=new RegExp("^"+this.months(BV,"").replace(".","")+"$","i");this._shortMonthsParse[BT]=new RegExp("^"+this.monthsShort(BV,"").replace(".","")+"$","i")}if(!BR&&!this._monthsParse[BT]){BU="^"+this.months(BV,"")+"|^"+this.monthsShort(BV,"");this._monthsParse[BT]=new RegExp(BU.replace(".",""),"i")}if(BR&&BW==="MMMM"&&this._longMonthsParse[BT].test(BS)){return BT}else{if(BR&&BW==="MMM"&&this._shortMonthsParse[BT].test(BS)){return BT}else{if(!BR&&this._monthsParse[BT].test(BS)){return BT}}}}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(i){return this._weekdays[i.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(i){return this._weekdaysShort[i.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(i){return this._weekdaysMin[i.day()]},weekdaysParse:function(BU){var BR,BT,BS;if(!this._weekdaysParse){this._weekdaysParse=[]}for(BR=0;BR<7;BR++){if(!this._weekdaysParse[BR]){BT=v([2000,1]).day(BR);BS="^"+this.weekdays(BT,"")+"|^"+this.weekdaysShort(BT,"")+"|^"+this.weekdaysMin(BT,"");this._weekdaysParse[BR]=new RegExp(BS.replace(".",""),"i")}if(this._weekdaysParse[BR].test(BU)){return BR}}},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(BR){var i=this._longDateFormat[BR];if(!i&&this._longDateFormat[BR.toUpperCase()]){i=this._longDateFormat[BR.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(BS){return BS.slice(1)});this._longDateFormat[BR]=i}return i},isPM:function(i){return((i+"").toLowerCase().charAt(0)==="p")},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(i,BR,BS){if(i>11){return BS?"pm":"PM"}else{return BS?"am":"AM"}},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(BS,BT,BR){var i=this._calendar[BS];return typeof i==="function"?i.apply(BT,[BR]):i},_relativeTime:{future:"in %s",past:"%s ago",s:"a few 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"},relativeTime:function(BT,BS,BR,BU){var i=this._relativeTime[BR];return(typeof i==="function")?i(BT,BS,BR,BU):i.replace(/%d/i,BT)},pastFuture:function(BS,i){var BR=this._relativeTime[BS>0?"future":"past"];return typeof BR==="function"?BR(i):BR.replace(/%s/i,i)},ordinal:function(i){return this._ordinal.replace("%d",i)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(i){return i},postformat:function(i){return i},week:function(i){return e(i,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},firstDayOfWeek:function(){return this._week.dow},firstDayOfYear:function(){return this._week.doy},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}});function AR(i){if(i.match(/\[[\s\S]/)){return i.replace(/^\[|\]$/g,"")}return i.replace(/\\/g,"")}function W(BT){var BU=BT.match(AY),BR,BS;for(BR=0,BS=BU.length;BR<BS;BR++){if(A4[BU[BR]]){BU[BR]=A4[BU[BR]]}else{BU[BR]=AR(BU[BR])}}return function(BV){var i="";for(BR=0;BR<BS;BR++){i+=BU[BR] instanceof Function?BU[BR].call(BV,BT):BU[BR]}return i}}function AX(i,BR){if(!i.isValid()){return i.localeData().invalidDate()}BR=BM(BR,i.localeData());if(!AS[BR]){AS[BR]=W(BR)}return AS[BR](i)}function BM(BU,BR){var BS=5;function BT(i){return BR.longDateFormat(i)||i}AK.lastIndex=0;while(BS>=0&&AK.test(BU)){BU=BU.replace(AK,BT);AK.lastIndex=0;BS-=1}return BU}function Ac(BT,BS){var BR,i=BS._strict;switch(BT){case"Q":return AJ;case"DDDD":return BD;case"YYYY":case"GGGG":case"gggg":return i?Ax:h;case"Y":case"G":case"g":return AG;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?AQ:BL;case"S":if(i){return AJ}case"SS":if(i){return U}case"SSS":if(i){return BD}case"DDD":return AM;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return n;case"a":case"A":return BS._locale._meridiemParse;case"x":return V;case"X":return Ay;case"Z":case"ZZ":return R;case"T":return N;case"SSSS":return A9;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return i?U:J;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return J;case"Do":return i?BS._locale._ordinalParse:BS._locale._ordinalParseLenient;default:BR=new RegExp(BJ(Ag(BT.replace("\\","")),"i"));return BR}}function Ap(BR){BR=BR||"";var i=(BR.match(R)||[]),BU=i[i.length-1]||[],BT=(BU+"").match(AI)||["-",0,0],BS=+(BT[1]*60)+q(BT[2]);return BT[0]==="+"?BS:-BS}function Af(BU,BS,BT){var BR,i=BT._a;switch(BU){case"Q":if(BS!=null){i[I]=(q(BS)-1)*3}break;case"M":case"MM":if(BS!=null){i[I]=q(BS)-1}break;case"MMM":case"MMMM":BR=BT._locale.monthsParse(BS,BU,BT._strict);if(BR!=null){i[I]=BR}else{BT._pf.invalidMonth=BS}break;case"D":case"DD":if(BS!=null){i[A3]=q(BS)}break;case"Do":if(BS!=null){i[A3]=q(parseInt(BS.match(/\d{1,2}/)[0],10))}break;case"DDD":case"DDDD":if(BS!=null){BT._dayOfYear=q(BS)}break;case"YY":i[a]=v.parseTwoDigitYear(BS);break;case"YYYY":case"YYYYY":case"YYYYYY":i[a]=q(BS);break;case"a":case"A":BT._meridiem=BS;break;case"h":case"hh":BT._pf.bigHour=true;case"H":case"HH":i[Z]=q(BS);break;case"m":case"mm":i[Ah]=q(BS);break;case"s":case"ss":i[X]=q(BS);break;case"S":case"SS":case"SSS":case"SSSS":i[z]=q(("0."+BS)*1000);break;case"x":BT._d=new Date(q(BS));break;case"X":BT._d=new Date(parseFloat(BS)*1000);break;case"Z":case"ZZ":BT._useUTC=true;BT._tzm=Ap(BS);break;case"dd":case"ddd":case"dddd":BR=BT._locale.weekdaysParse(BS);if(BR!=null){BT._w=BT._w||{};BT._w.d=BR}else{BT._pf.invalidWeekday=BS}break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":BU=BU.substr(0,1);case"gggg":case"GGGG":case"GGGGG":BU=BU.substr(0,2);if(BS){BT._w=BT._w||{};BT._w[BU]=q(BS)}break;case"gg":case"GG":BT._w=BT._w||{};BT._w[BU]=v.parseTwoDigitYear(BS)}}function x(BS){var i,BU,BT,BV,BX,BW,BR;i=BS._w;if(i.GG!=null||i.W!=null||i.E!=null){BX=1;BW=4;BU=Az(i.GG,BS._a[a],e(v(),1,4).year);BT=Az(i.W,1);BV=Az(i.E,1)}else{BX=BS._locale._week.dow;BW=BS._locale._week.doy;BU=Az(i.gg,BS._a[a],e(v(),BX,BW).year);BT=Az(i.w,1);if(i.d!=null){BV=i.d;if(BV<BX){++BT}}else{if(i.e!=null){BV=i.e+BX}else{BV=BX}}}BR=Y(BU,BT,BV,BW,BX);BS._a[a]=BR.year;BS._dayOfYear=BR.dayOfYear}function AP(BV){var BW,BU,BT=[],BS,BR;if(BV._d){return }BS=Q(BV);if(BV._w&&BV._a[A3]==null&&BV._a[I]==null){x(BV)}if(BV._dayOfYear){BR=Az(BV._a[a],BS[a]);if(BV._dayOfYear>BA(BR)){BV._pf._overflowDayOfYear=true}BU=m(BR,0,BV._dayOfYear);BV._a[I]=BU.getUTCMonth();BV._a[A3]=BU.getUTCDate()}for(BW=0;BW<3&&BV._a[BW]==null;++BW){BV._a[BW]=BT[BW]=BS[BW]}for(;BW<7;BW++){BV._a[BW]=BT[BW]=(BV._a[BW]==null)?(BW===2?1:0):BV._a[BW]}if(BV._a[Z]===24&&BV._a[Ah]===0&&BV._a[X]===0&&BV._a[z]===0){BV._nextDay=true;BV._a[Z]=0}BV._d=(BV._useUTC?m:AZ).apply(null,BT);if(BV._tzm!=null){BV._d.setUTCMinutes(BV._d.getUTCMinutes()-BV._tzm)}if(BV._nextDay){BV._a[Z]=24}}function Al(BR){var i;if(BR._d){return }i=O(BR._i);BR._a=[i.year,i.month,i.day||i.date,i.hour,i.minute,i.second,i.millisecond];AP(BR)}function Q(BR){var i=new Date();if(BR._useUTC){return[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]}else{return[i.getFullYear(),i.getMonth(),i.getDate()]}}function u(BT){if(BT._f===v.ISO_8601){Aa(BT);return }BT._a=[];BT._pf.empty=true;var BW=""+BT._i,BV,BS,BZ,BU,BY,BR=BW.length,BX=0;BZ=BM(BT._f,BT._locale).match(AY)||[];for(BV=0;BV<BZ.length;BV++){BU=BZ[BV];BS=(BW.match(Ac(BU,BT))||[])[0];if(BS){BY=BW.substr(0,BW.indexOf(BS));if(BY.length>0){BT._pf.unusedInput.push(BY)}BW=BW.slice(BW.indexOf(BS)+BS.length);BX+=BS.length}if(A4[BU]){if(BS){BT._pf.empty=false}else{BT._pf.unusedTokens.push(BU)}Af(BU,BS,BT)}else{if(BT._strict&&!BS){BT._pf.unusedTokens.push(BU)}}}BT._pf.charsLeftOver=BR-BX;if(BW.length>0){BT._pf.unusedInput.push(BW)}if(BT._pf.bigHour===true&&BT._a[Z]<=12){BT._pf.bigHour=g}BT._a[Z]=BE(BT._locale,BT._a[Z],BT._meridiem);AP(BT);BI(BT)}function Ag(i){return i.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(BR,BV,BU,BT,BS){return BV||BU||BT||BS})}function BJ(i){return i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function A6(BR){var BV,BT,BU,BS,BW;if(BR._f.length===0){BR._pf.invalidFormat=true;BR._d=new Date(NaN);return }for(BS=0;BS<BR._f.length;BS++){BW=0;BV=As({},BR);if(BR._useUTC!=null){BV._useUTC=BR._useUTC}BV._pf=AO();BV._f=BR._f[BS];u(BV);if(!Aj(BV)){continue}BW+=BV._pf.charsLeftOver;BW+=BV._pf.unusedTokens.length*10;BV._pf.score=BW;if(BU==null||BW<BU){BU=BW;BT=BV}}Ai(BR,BT||BV)}function Aa(BU){var BV,BR,BT=BU._i,BS=Au.exec(BT);if(BS){BU._pf.iso=true;for(BV=0,BR=BC.length;BV<BR;BV++){if(BC[BV][1].exec(BT)){BU._f=BC[BV][0]+(BS[6]||" ");break}}for(BV=0,BR=l.length;BV<BR;BV++){if(l[BV][1].exec(BT)){BU._f+=l[BV][0];break}}if(BT.match(R)){BU._f+="Z"}u(BU)}else{BU._isValid=false}}function M(i){Aa(i);if(i._isValid===false){delete i._isValid;v.createFromInputFallback(i)}}function j(BR,BU){var BT=[],BS;for(BS=0;BS<BR.length;++BS){BT.push(BU(BR[BS],BS))}return BT}function t(BS){var BR=BS._i,i;if(BR===g){BS._d=new Date()}else{if(H(BR)){BS._d=new Date(+BR)}else{if((i=E.exec(BR))!==null){BS._d=new Date(+i[1])}else{if(typeof BR==="string"){M(BS)}else{if(B(BR)){BS._a=j(BR.slice(0),function(BT){return parseInt(BT,10)});AP(BS)}else{if(typeof (BR)==="object"){Al(BS)}else{if(typeof (BR)==="number"){BS._d=new Date(BR)}else{v.createFromInputFallback(BS)}}}}}}}}function AZ(BX,i,BV,BU,BW,BT,BS){var BR=new Date(BX,i,BV,BU,BW,BT,BS);if(BX<1970){BR.setFullYear(BX)}return BR}function m(BR){var i=new Date(Date.UTC.apply(null,arguments));if(BR<1970){i.setUTCFullYear(BR)}return i}function BH(BR,i){if(typeof BR==="string"){if(!isNaN(BR)){BR=parseInt(BR,10)}else{BR=i.weekdaysParse(BR);if(typeof BR!=="number"){return null}}}return BR}function Ar(BR,BT,BS,BU,i){return i.relativeTime(BT||1,!!BS,BR,BU)}function d(BU,BR,BY){var BS=v.duration(BU).abs(),BZ=AD(BS.as("s")),BT=AD(BS.as("m")),BX=AD(BS.as("h")),Ba=AD(BS.as("d")),i=AD(BS.as("M")),BV=AD(BS.as("y")),BW=BZ<b.s&&["s",BZ]||BT===1&&["m"]||BT<b.m&&["mm",BT]||BX===1&&["h"]||BX<b.h&&["hh",BX]||Ba===1&&["d"]||Ba<b.d&&["dd",Ba]||i===1&&["M"]||i<b.M&&["MM",i]||BV===1&&["y"]||["yy",BV];BW[2]=BR;BW[3]=+BU>0;BW[4]=BY;return Ar.apply({},BW)}function e(BU,BS,BV){var BR=BV-BS,i=BV-BU.day(),BT;if(i>BR){i-=7}if(i<BR-7){i+=7}BT=v(BU).add(i,"d");return{week:Math.ceil(BT.dayOfYear()/7),year:BT.year()}}function Y(BU,BT,BV,BX,i){var BW=m(BU,0,1).getUTCDay(),BS,BR;BW=BW===0?7:BW;BV=BV!=null?BV:i;BS=i-BW+(BW>BX?7:0)-(BW<i?7:0);BR=7*(BT-1)+(BV-i)+BS+1;return{year:BR>0?BU:BU-1,dayOfYear:BR>0?BR:BA(BU-1)+BR}}function r(BR){var i=BR._i,BT=BR._f,BS;BR._locale=BR._locale||v.localeData(BR._l);if(i===null||(BT===g&&i==="")){return v.invalid({nullInput:true})}if(typeof i==="string"){BR._i=i=BR._locale.preparse(i)}if(v.isMoment(i)){return new p(i,true)}else{if(BT){if(B(BT)){A6(BR)}else{u(BR)}}else{t(BR)}}BS=new p(BR);if(BS._nextDay){BS.add(1,"d");BS._nextDay=g}return BS}v=function(BS,BT,i,BR){var BU;if(typeof (i)==="boolean"){BR=i;i=g}BU={};BU._isAMomentObject=true;BU._i=BS;BU._f=BT;BU._l=i;BU._strict=BR;BU._isUTC=false;BU._pf=AO();return r(BU)};v.suppressDeprecationWarnings=false;v.createFromInputFallback=BO("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(i){i._d=new Date(i._i+(i._useUTC?" UTC":""))});function Ad(BT,BU){var BS,BR;if(BU.length===1&&B(BU[0])){BU=BU[0]}if(!BU.length){return v()}BS=BU[0];for(BR=1;BR<BU.length;++BR){if(BU[BR][BT](BS)){BS=BU[BR]}}return BS}v.min=function(){var i=[].slice.call(arguments,0);return Ad("isBefore",i)};v.max=function(){var i=[].slice.call(arguments,0);return Ad("isAfter",i)};v.utc=function(BS,BT,i,BR){var BU;if(typeof (i)==="boolean"){BR=i;i=g}BU={};BU._isAMomentObject=true;BU._useUTC=true;BU._isUTC=true;BU._l=i;BU._i=BS;BU._f=BT;BU._strict=BR;BU._pf=AO();return r(BU).utc()};v.unix=function(i){return v(i*1000)};v.duration=function(BS,BW){var BX=BS,BV=null,BR,BU,BT,i;if(v.isDuration(BS)){BX={ms:BS._milliseconds,d:BS._days,M:BS._months}}else{if(typeof BS==="number"){BX={};if(BW){BX[BW]=BS}else{BX.milliseconds=BS}}else{if(!!(BV=BF.exec(BS))){BR=(BV[1]==="-")?-1:1;BX={y:0,d:q(BV[A3])*BR,h:q(BV[Z])*BR,m:q(BV[Ah])*BR,s:q(BV[X])*BR,ms:q(BV[z])*BR}}else{if(!!(BV=Am.exec(BS))){BR=(BV[1]==="-")?-1:1;BT=function(BZ){var BY=BZ&&parseFloat(BZ.replace(",","."));return(isNaN(BY)?0:BY)*BR};BX={y:BT(BV[2]),M:BT(BV[3]),d:BT(BV[4]),h:BT(BV[5]),m:BT(BV[6]),s:BT(BV[7]),w:BT(BV[8])}}else{if(BX==null){BX={}}else{if(typeof BX==="object"&&("from" in BX||"to" in BX)){i=AC(v(BX.from),v(BX.to));BX={};BX.ms=i.milliseconds;BX.M=i.months}}}}}}BU=new AN(BX);if(v.isDuration(BS)&&A5(BS,"_locale")){BU._locale=BS._locale}return BU};v.version=Ak;v.defaultFormat=AA;v.ISO_8601=function(){};v.momentProperties=Aw;v.updateOffset=function(){};v.relativeTimeThreshold=function(i,BR){if(b[i]===g){return false}if(BR===g){return b[i]}b[i]=BR;return true};v.lang=BO("moment.lang is deprecated. Use moment.locale instead.",function(i,BR){return v.locale(i,BR)});v.locale=function(BR,i){var BS;if(BR){if(typeof (i)!=="undefined"){BS=v.defineLocale(BR,i)}else{BS=v.localeData(BR)}if(BS){v.duration._locale=v._locale=BS}}return v._locale._abbr};v.defineLocale=function(BR,i){if(i!==null){i.abbr=BR;if(!AT[BR]){AT[BR]=new AF()}AT[BR].set(i);v.locale(BR);return AT[BR]}else{delete AT[BR];return null}};v.langData=BO("moment.langData is deprecated. Use moment.localeData instead.",function(i){return v.localeData(i)});v.localeData=function(BR){var i;if(BR&&BR._locale&&BR._locale._abbr){BR=BR._locale._abbr}if(!BR){return v._locale}if(!B(BR)){i=C(BR);if(i){return i}BR=[BR]}return Ab(BR)};v.isMoment=function(i){return i instanceof p||(i!=null&&A5(i,"_isAMomentObject"))};v.isDuration=function(i){return i instanceof AN};for(AL=AB.length-1;AL>=0;--AL){Ae(AB[AL])}v.normalizeUnits=function(i){return A7(i)};v.invalid=function(BR){var i=v.utc(NaN);if(BR!=null){Ai(i._pf,BR)}else{i._pf.userInvalidated=true}return i};v.parseZone=function(){return v.apply(null,arguments).parseZone()};v.parseTwoDigitYear=function(i){return q(i)+(q(i)>68?1900:2000)};v.isDate=H;Ai(v.fn=p.prototype,{clone:function(){return v(this)},valueOf:function(){return +this._d-((this._offset||0)*60000)},unix:function(){return Math.floor(+this/1000)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var i=v(this).utc();if(0<i.year()&&i.year()<=9999){if("function"===typeof Date.prototype.toISOString){return this.toDate().toISOString()}else{return AX(i,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}}else{return AX(i,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}},toArray:function(){var i=this;return[i.year(),i.month(),i.date(),i.hours(),i.minutes(),i.seconds(),i.milliseconds()]},isValid:function(){return Aj(this)},isDSTShifted:function(){if(this._a){return this.isValid()&&A1(this._a,(this._isUTC?v.utc(this._a):v(this._a)).toArray())>0}return false},parsingFlags:function(){return Ai({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(i){return this.utcOffset(0,i)},local:function(i){if(this._isUTC){this.utcOffset(0,i);this._isUTC=false;if(i){this.subtract(this._dateUtcOffset(),"m")}}return this},format:function(BR){var i=AX(this,BR||v.defaultFormat);return this.localeData().postformat(i)},add:w(1,"add"),subtract:w(-1,"subtract"),diff:function(BW,BV,BY){var BU=c(BW,this),BS=(BU.utcOffset()-this.utcOffset())*60000,BR,BX,i,BT;BV=A7(BV);if(BV==="year"||BV==="month"||BV==="quarter"){i=L(this,BU);if(BV==="quarter"){i=i/3}else{if(BV==="year"){i=i/12}}}else{BX=this-BU;i=BV==="second"?BX/1000:BV==="minute"?BX/60000:BV==="hour"?BX/3600000:BV==="day"?(BX-BS)/86400000:BV==="week"?(BX-BS)/604800000:BX}return BY?i:P(i)},from:function(BR,i){return v.duration({to:this,from:BR}).locale(this.locale()).humanize(!i)},fromNow:function(i){return this.from(v(),i)},calendar:function(BU){var BR=BU||v(),i=c(BR,this).startOf("day"),BT=this.diff(i,"days",true),BS=BT<-6?"sameElse":BT<-1?"lastWeek":BT<0?"lastDay":BT<1?"sameDay":BT<2?"nextDay":BT<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(BS,this,v(BR)))},isLeapYear:function(){return At(this.year())},isDST:function(){return(this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset())},day:function(BR){var i=this._isUTC?this._d.getUTCDay():this._d.getDay();if(BR!=null){BR=BH(BR,this.localeData());return this.add(BR-i,"d")}else{return i}},month:T("Month",true),startOf:function(i){i=A7(i);switch(i){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}if(i==="week"){this.weekday(0)}else{if(i==="isoWeek"){this.isoWeekday(1)}}if(i==="quarter"){this.month(Math.floor(this.month()/3)*3)}return this},endOf:function(i){i=A7(i);if(i===g||i==="millisecond"){return this}return this.startOf(i).add(1,(i==="isoWeek"?"week":i)).subtract(1,"ms")},isAfter:function(BR,i){var BS;i=A7(typeof i!=="undefined"?i:"millisecond");if(i==="millisecond"){BR=v.isMoment(BR)?BR:v(BR);return +this>+BR}else{BS=v.isMoment(BR)?+BR:+v(BR);return BS<+this.clone().startOf(i)}},isBefore:function(BR,i){var BS;i=A7(typeof i!=="undefined"?i:"millisecond");if(i==="millisecond"){BR=v.isMoment(BR)?BR:v(BR);return +this<+BR}else{BS=v.isMoment(BR)?+BR:+v(BR);return +this.clone().endOf(i)<BS}},isBetween:function(BS,BR,i){return this.isAfter(BS,i)&&this.isBefore(BR,i)},isSame:function(BR,i){var BS;i=A7(i||"millisecond");if(i==="millisecond"){BR=v.isMoment(BR)?BR:v(BR);return +this===+BR}else{BS=+v(BR);return +(this.clone().startOf(i))<=BS&&BS<=+(this.clone().endOf(i))}},min:BO("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(i){i=v.apply(null,arguments);return i<this?this:i}),max:BO("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(i){i=v.apply(null,arguments);return i>this?this:i}),zone:BO("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(i,BR){if(i!=null){if(typeof i!=="string"){i=-i}this.utcOffset(i,BR);return this}else{return -this.utcOffset()}}),utcOffset:function(i,BT){var BS=this._offset||0,BR;if(i!=null){if(typeof i==="string"){i=Ap(i)}if(Math.abs(i)<16){i=i*60}if(!this._isUTC&&BT){BR=this._dateUtcOffset()}this._offset=i;this._isUTC=true;if(BR!=null){this.add(BR,"m")}if(BS!==i){if(!BT||this._changeInProgress){k(this,v.duration(i-BS,"m"),1,false)}else{if(!this._changeInProgress){this._changeInProgress=true;v.updateOffset(this,true);this._changeInProgress=null}}}return this}else{return this._isUTC?BS:this._dateUtcOffset()}},isLocal:function(){return !this._isUTC},isUtcOffset:function(){return this._isUTC},isUtc:function(){return this._isUTC&&this._offset===0},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){if(this._tzm){this.utcOffset(this._tzm)}else{if(typeof this._i==="string"){this.utcOffset(Ap(this._i))}}return this},hasAlignedHourOffset:function(i){if(!i){i=0}else{i=v(i).utcOffset()}return(this.utcOffset()-i)%60===0},daysInMonth:function(){return BG(this.year(),this.month())},dayOfYear:function(i){var BR=AD((v(this).startOf("day")-v(this).startOf("year"))/86400000)+1;return i==null?BR:this.add((i-BR),"d")},quarter:function(i){return i==null?Math.ceil((this.month()+1)/3):this.month((i-1)*3+this.month()%3)},weekYear:function(i){var BR=e(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return i==null?BR:this.add((i-BR),"y")},isoWeekYear:function(i){var BR=e(this,1,4).year;return i==null?BR:this.add((i-BR),"y")},week:function(i){var BR=this.localeData().week(this);return i==null?BR:this.add((i-BR)*7,"d")},isoWeek:function(i){var BR=e(this,1,4).week;return i==null?BR:this.add((i-BR)*7,"d")},weekday:function(i){var BR=(this.day()+7-this.localeData()._week.dow)%7;return i==null?BR:this.add(i-BR,"d")},isoWeekday:function(i){return i==null?this.day()||7:this.day(this.day()%7?i:i-7)},isoWeeksInYear:function(){return An(this.year(),1,4)},weeksInYear:function(){var i=this.localeData()._week;return An(this.year(),i.dow,i.doy)},get:function(i){i=A7(i);return this[i]()},set:function(i,BS){var BR;if(typeof i==="object"){for(BR in i){this.set(BR,i[BR])}}else{i=A7(i);if(typeof this[i]==="function"){this[i](BS)}}return this},locale:function(BR){var i;if(BR===g){return this._locale._abbr}else{i=v.localeData(BR);if(i!=null){this._locale=i}return this}},lang:BO("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(i){if(i===g){return this.localeData()}else{return this.locale(i)}}),localeData:function(){return this._locale},_dateUtcOffset:function(){return -Math.round(this._d.getTimezoneOffset()/15)*15}});function BK(i,BR){var BS;if(typeof BR==="string"){BR=i.localeData().monthsParse(BR);if(typeof BR!=="number"){return i}}BS=Math.min(i.date(),BG(i.year(),BR));i._d["set"+(i._isUTC?"UTC":"")+"Month"](BR,BS);return i}function BP(BR,i){return BR._d["get"+(BR._isUTC?"UTC":"")+i]()}function A0(BR,i,BS){if(i==="Month"){return BK(BR,BS)}else{return BR._d["set"+(BR._isUTC?"UTC":"")+i](BS)}}function T(i,BR){return function(BS){if(BS!=null){A0(this,i,BS);v.updateOffset(this,BR);return this}else{return BP(this,i)}}}v.fn.millisecond=v.fn.milliseconds=T("Milliseconds",false);v.fn.second=v.fn.seconds=T("Seconds",false);v.fn.minute=v.fn.minutes=T("Minutes",false);v.fn.hour=v.fn.hours=T("Hours",true);v.fn.date=T("Date",true);v.fn.dates=BO("dates accessor is deprecated. Use date instead.",T("Date",true));v.fn.year=T("FullYear",true);v.fn.years=BO("years accessor is deprecated. Use year instead.",T("FullYear",true));v.fn.days=v.fn.day;v.fn.months=v.fn.month;v.fn.weeks=v.fn.week;v.fn.isoWeeks=v.fn.isoWeek;v.fn.quarters=v.fn.quarter;v.fn.toJSON=v.fn.toISOString;v.fn.isUTC=v.fn.isUtc;function S(i){return i*400/146097}function BN(i){return i*146097/400}Ai(v.duration.fn=AN.prototype,{_bubble:function(){var BS=this._milliseconds,BX=this._days,i=this._months,BV=this._data,BW,BU,BR,BT=0;BV.milliseconds=BS%1000;BW=P(BS/1000);BV.seconds=BW%60;BU=P(BW/60);BV.minutes=BU%60;BR=P(BU/60);BV.hours=BR%24;BX+=P(BR/24);BT=P(S(BX));BX-=P(BN(BT));i+=P(BX/30);BX%=30;BT+=P(i/12);i%=12;BV.days=BX;BV.months=i;BV.years=BT},abs:function(){this._milliseconds=Math.abs(this._milliseconds);this._days=Math.abs(this._days);this._months=Math.abs(this._months);this._data.milliseconds=Math.abs(this._data.milliseconds);this._data.seconds=Math.abs(this._data.seconds);this._data.minutes=Math.abs(this._data.minutes);this._data.hours=Math.abs(this._data.hours);this._data.months=Math.abs(this._data.months);this._data.years=Math.abs(this._data.years);return this},weeks:function(){return P(this.days()/7)},valueOf:function(){return this._milliseconds+this._days*86400000+(this._months%12)*2592000000+q(this._months/12)*31536000000},humanize:function(BR){var i=d(this,!BR,this.localeData());if(BR){i=this.localeData().pastFuture(+this,i)}return this.localeData().postformat(i)},add:function(i,BS){var BR=v.duration(i,BS);this._milliseconds+=BR._milliseconds;this._days+=BR._days;this._months+=BR._months;this._bubble();return this},subtract:function(i,BS){var BR=v.duration(i,BS);this._milliseconds-=BR._milliseconds;this._days-=BR._days;this._months-=BR._months;this._bubble();return this},get:function(i){i=A7(i);return this[i.toLowerCase()+"s"]()},as:function(BR){var BS,i;BR=A7(BR);if(BR==="month"||BR==="year"){BS=this._days+this._milliseconds/86400000;i=this._months+S(BS)*12;return BR==="month"?i:i/12}else{BS=this._days+Math.round(BN(this._months/12));switch(BR){case"week":return BS/7+this._milliseconds/604800000;case"day":return BS+this._milliseconds/86400000;case"hour":return BS*24+this._milliseconds/3600000;case"minute":return BS*24*60+this._milliseconds/60000;case"second":return BS*24*60*60+this._milliseconds/1000;case"millisecond":return Math.floor(BS*24*60*60*1000)+this._milliseconds;default:throw new Error("Unknown unit "+BR)}}},lang:v.fn.lang,locale:v.fn.locale,toIsoString:BO("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var BT=Math.abs(this.years()),i=Math.abs(this.months()),BV=Math.abs(this.days()),BR=Math.abs(this.hours()),BS=Math.abs(this.minutes()),BU=Math.abs(this.seconds()+this.milliseconds()/1000);if(!this.asSeconds()){return"P0D"}return(this.asSeconds()<0?"-":"")+"P"+(BT?BT+"Y":"")+(i?i+"M":"")+(BV?BV+"D":"")+((BR||BS||BU)?"T":"")+(BR?BR+"H":"")+(BS?BS+"M":"")+(BU?BU+"S":"")},localeData:function(){return this._locale},toJSON:function(){return this.toISOString()}});v.duration.fn.toString=v.duration.fn.toISOString;function AE(i){v.duration.fn[i]=function(){return this._data[i]}}for(AL in f){if(A5(f,AL)){AE(AL.toLowerCase())}}v.duration.fn.asMilliseconds=function(){return this.as("ms")};v.duration.fn.asSeconds=function(){return this.as("s")};v.duration.fn.asMinutes=function(){return this.as("m")};v.duration.fn.asHours=function(){return this.as("h")};v.duration.fn.asDays=function(){return this.as("d")};v.duration.fn.asWeeks=function(){return this.as("weeks")};v.duration.fn.asMonths=function(){return this.as("M")};v.duration.fn.asYears=function(){return this.as("y")};v.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(BS){var i=BS%10,BR=(q(BS%100/10)===1)?"th":(i===1)?"st":(i===2)?"nd":(i===3)?"rd":"th";return BS+BR}});function y(i){if(typeof ender!=="undefined"){return }AV=BB.moment;if(i){BB.moment=BO("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",v)}else{BB.moment=v}}if(AU){module.exports=v}else{if(typeof define==="function"&&define.amd){define(function(BR,i,BS){if(BS.config&&BS.config()&&BS.config().noGlobal===true){BB.moment=AV}return v});y(true)}else{y()}}}).call(this);; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:momentjs', location = '/static/bower/moment/min/locales.js' */ (function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(B){return/^nm$/i.test(B)},meridiem:function(B,C,D){if(B<12){return D?"vm":"VM"}else{return D?"nm":"NM"}},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(B){return B+((B===1||B===8||B>=20)?"ste":"de")},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},B={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return C.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(D){return"م"===D},meridiem:function(D,F,E){if(D<12){return"ص"}else{return"م"}},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(D){return D.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(E){return B[E]}).replace(/،/g,",")},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(G){var B={"1":"١","2":"٢","3":"٣","4":"٤","5":"٥","6":"٦","7":"٧","8":"٨","9":"٩","0":"٠"},F={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},D=function(H){return H===0?0:H===1?1:H===2?2:H%100>=3&&H%100<=10?3:H%100>=11?4:5},E={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},C=function(H){return function(K,J,I,M){var L=D(K),N=E[H][D(K)];if(L===2){N=N[J?0:1]}return N.replace(/%d/i,K)}},A=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];return G.defineLocale("ar",{months:A,monthsShort:A,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(H){return"م"===H},meridiem:function(H,J,I){if(H<12){return"ص"}else{return"م"}},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(H){return H.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(I){return F[I]}).replace(/،/g,",")},postformat:function(H){return H.replace(/\d/g,function(I){return B[I]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){var A={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};return B.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(C){return/^(gündüz|axşam)$/.test(C)},meridiem:function(C,E,D){if(C<4){return"gecə"}else{if(C<12){return"səhər"}else{if(C<17){return"gündüz"}else{return"axşam"}}}},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(E){if(E===0){return E+"-ıncı"}var D=E%10,C=E%100-D,F=E>=100?100:null;return E+(A[D]||A[C]||A[F])},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(D){function B(H,G){var F=H.split("_");return G%10===1&&G%100!==11?F[0]:(G%10>=2&&G%10<=4&&(G%100<10||G%100>=20)?F[1]:F[2])}function E(H,G,F){var I={mm:G?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:G?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};if(F==="m"){return G?"хвіліна":"хвіліну"}else{if(F==="h"){return G?"гадзіна":"гадзіну"}else{return H+" "+B(I[F],+H)}}}function C(G,I){var F={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},H=(/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(I)?"accusative":"nominative";return F[H][G.month()]}function A(F,I){var G={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},H=(/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/).test(I)?"accusative":"nominative";return G[H][F.day()]}return D.defineLocale("be",{months:C,monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:A,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:E,mm:E,h:E,hh:E,d:"дзень",dd:E,M:"месяц",MM:E,y:"год",yy:E},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(F){return/^(дня|вечара)$/.test(F)},meridiem:function(F,H,G){if(F<4){return"ночы"}else{if(F<12){return"раніцы"}else{if(F<17){return"дня"}else{return"вечара"}}}},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(F,G){switch(G){case"M":case"d":case"DDD":case"w":case"W":return(F%10===2||F%10===3)&&(F%100!==12&&F%100!==13)?F+"-і":F+"-ы";case"D":return F+"-га";default:return F}},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(D){var C=D%10,B=D%100;if(D===0){return D+"-ев"}else{if(B===0){return D+"-ен"}else{if(B>10&&B<20){return D+"-ти"}else{if(C===1){return D+"-ви"}else{if(C===2){return D+"-ри"}else{if(C===7||C===8){return D+"-ми"}else{return D+"-ти"}}}}}}},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"১","2":"২","3":"৩","4":"৪","5":"৫","6":"৬","7":"৭","8":"৮","9":"৯","0":"০"},B={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return C.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(D){return D.replace(/[১২৩৪৫৬৭৮৯০]/g,function(E){return B[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]})},meridiemParse:/রাত|শকাল|দুপুর|বিকেল|রাত/,isPM:function(D){return/^(দুপুর|বিকেল|রাত)$/.test(D)},meridiem:function(D,F,E){if(D<4){return"রাত"}else{if(D<10){return"শকাল"}else{if(D<17){return"দুপুর"}else{if(D<20){return"বিকেল"}else{return"রাত"}}}}},week:{dow:0,doy:6}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"༡","2":"༢","3":"༣","4":"༤","5":"༥","6":"༦","7":"༧","8":"༨","9":"༩","0":"༠"},B={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return C.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(D){return D.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(E){return B[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(D){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(D)},meridiem:function(D,F,E){if(D<4){return"མཚན་མོ"}else{if(D<10){return"ཞོགས་ཀས"}else{if(D<17){return"ཉིན་གུང"}else{if(D<20){return"དགོང་དག"}else{return"མཚན་མོ"}}}}},week:{dow:0,doy:6}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(E){function F(I,H,G){var J={mm:"munutenn",MM:"miz",dd:"devezh"};return I+" "+A(J[G],I)}function D(G){switch(B(G)){case 1:case 3:case 4:case 5:case 9:return G+" bloaz";default:return G+" vloaz"}}function B(G){if(G>9){return B(G%10)}return G}function A(H,G){if(G===2){return C(H)}return H}function C(H){var G={m:"v",b:"v",d:"z"};if(G[H.charAt(0)]===undefined){return H}return G[H.charAt(0)]+H.substring(1)}return E.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY LT",LLLL:"dddd, D [a viz] MMMM YYYY LT"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:F,h:"un eur",hh:"%d eur",d:"un devezh",dd:F,M:"ur miz",MM:F,y:"ur bloaz",yy:D},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(H){var G=(H===1)?"añ":"vet";return H+G},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){function B(F,E,D){var C=F+" ";switch(D){case"m":return E?"jedna minuta":"jedne minute";case"mm":if(F===1){C+="minuta"}else{if(F===2||F===3||F===4){C+="minute"}else{C+="minuta"}}return C;case"h":return E?"jedan sat":"jednog sata";case"hh":if(F===1){C+="sat"}else{if(F===2||F===3||F===4){C+="sata"}else{C+="sati"}}return C;case"dd":if(F===1){C+="dan"}else{C+="dana"}return C;case"MM":if(F===1){C+="mjesec"}else{if(F===2||F===3||F===4){C+="mjeseca"}else{C+="mjeseci"}}return C;case"yy":if(F===1){C+="godina"}else{if(F===2||F===3||F===4){C+="godine"}else{C+="godina"}}return C}}return A.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:B,mm:B,h:B,hh:B,d:"dan",dd:B,M:"mjesec",MM:B,y:"godinu",yy:B},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[avui a "+((this.hours()!==1)?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+((this.hours()!==1)?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+((this.hours()!==1)?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+((this.hours()!==1)?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+((this.hours()!==1)?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(C,D){var B=(C===1)?"r":(C===2)?"n":(C===3)?"r":(C===4)?"t":"è";if(D==="w"||D==="W"){B="a"}return C+B},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(D){var A="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),C="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function B(F){return(F>1)&&(F<5)&&(~~(F/10)!==1)}function E(I,H,G,J){var F=I+" ";switch(G){case"s":return(H||J)?"pár sekund":"pár sekundami";case"m":return H?"minuta":(J?"minutu":"minutou");case"mm":if(H||J){return F+(B(I)?"minuty":"minut")}else{return F+"minutami"}break;case"h":return H?"hodina":(J?"hodinu":"hodinou");case"hh":if(H||J){return F+(B(I)?"hodiny":"hodin")}else{return F+"hodinami"}break;case"d":return(H||J)?"den":"dnem";case"dd":if(H||J){return F+(B(I)?"dny":"dní")}else{return F+"dny"}break;case"M":return(H||J)?"měsíc":"měsícem";case"MM":if(H||J){return F+(B(I)?"měsíce":"měsíců")}else{return F+"měsíci"}break;case"y":return(H||J)?"rok":"rokem";case"yy":if(H||J){return F+(B(I)?"roky":"let")}else{return F+"lety"}break}}return D.defineLocale("cs",{months:A,monthsShort:C,monthsParse:(function(F,H){var G,I=[];for(G=0;G<12;G++){I[G]=new RegExp("^"+F[G]+"$|^"+H[G]+"$","i")}return I}(A,C)),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("cv",{months:"кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),monthsShort:"кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кç_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD-MM-YYYY",LL:"YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]",LLL:"YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT",LLLL:"dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ĕнер] LT [сехетре]",nextWeek:"[Çитес] dddd LT [сехетре]",lastWeek:"[Иртнĕ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(C){var B=/сехет$/i.exec(C)?"рен":/çул$/i.exec(C)?"тан":"ран";return C+B},past:"%s каялла",s:"пĕр-ик çеккунт",m:"пĕр минут",mm:"%d минут",h:"пĕр сехет",hh:"%d сехет",d:"пĕр кун",dd:"%d кун",M:"пĕр уйăх",MM:"%d уйăх",y:"пĕр çул",yy:"%d çул"},ordinalParse:/\d{1,2}-мĕш/,ordinal:"%d-мĕш",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(D){var B=D,C="",E=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];if(B>20){if(B===40||B===50||B===60||B===80||B===100){C="fed"}else{C="ain"}}else{if(B>0){C=E[B]}}return D+C},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd [d.] D. MMMM YYYY LT"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){function A(E,D,C,G){var F={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[E+" Tage",E+" Tagen"],M:["ein Monat","einem Monat"],MM:[E+" Monate",E+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[E+" Jahre",E+" Jahren"]};return D?F[C][0]:F[C][1]}return B.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:A,mm:"%d Minuten",h:A,hh:"%d Stunden",d:A,dd:A,M:A,MM:A,y:A,yy:A},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){function A(E,D,C,G){var F={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[E+" Tage",E+" Tagen"],M:["ein Monat","einem Monat"],MM:[E+" Monate",E+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[E+" Jahre",E+" Jahren"]};return D?F[C][0]:F[C][1]}return B.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:A,mm:"%d Minuten",h:A,hh:"%d Stunden",d:A,dd:A,M:A,MM:A,y:A,yy:A},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(C,B){if(/D/.test(B.substring(0,B.indexOf("MMMM")))){return this._monthsGenitiveEl[C.month()]}else{return this._monthsNominativeEl[C.month()]}},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(B,C,D){if(B>11){return D?"μμ":"ΜΜ"}else{return D?"πμ":"ΠΜ"}},isPM:function(B){return((B+"").toLowerCase()[0]==="μ")},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(D,E){var C=this._calendarEl[D],B=E&&E.hours();if(typeof C==="function"){C=C.apply(E)}return C.replace("{}",(B%12===1?"στη":"στις"))},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few 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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var B=D%10,C=(~~(D%100/10)===1)?"th":(B===1)?"st":(B===2)?"nd":(B===3)?"rd":"th";return D+C},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY LT",LLLL:"dddd, D MMMM, YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few 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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var B=D%10,C=(~~(D%100/10)===1)?"th":(B===1)?"st":(B===2)?"nd":(B===3)?"rd":"th";return D+C}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few 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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var B=D%10,C=(~~(D%100/10)===1)?"th":(B===1)?"st":(B===2)?"nd":(B===3)?"rd":"th";return D+C},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY LT",LLLL:"dddd, [la] D[-an de] MMMM, YYYY LT"},meridiemParse:/[ap]\.t\.m/i,isPM:function(B){return B.charAt(0).toLowerCase()==="p"},meridiem:function(B,C,D){if(B>11){return D?"p.t.m.":"P.T.M."}else{return D?"a.t.m.":"A.T.M."}},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var B="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return C.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(D,E){if(/-MMM-/.test(E)){return A[D.month()]}else{return B[D.month()]}},weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:function(){return"[hoy a la"+((this.hours()!==1)?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+((this.hours()!==1)?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+((this.hours()!==1)?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+((this.hours()!==1)?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+((this.hours()!==1)?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){function A(E,D,C,G){var F={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[E+" minuti",E+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[E+" tunni",E+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[E+" kuu",E+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[E+" aasta",E+" aastat"]};if(D){return F[C][2]?F[C][2]:F[C][1]}return G?F[C][0]:F[C][1]}return B.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:A,m:A,mm:A,h:A,hh:A,d:A,dd:"%d päeva",M:A,MM:A,y:A,yy:A},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] LT",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] LT",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] LT",llll:"ddd, YYYY[ko] MMM D[a] LT"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"۱","2":"۲","3":"۳","4":"۴","5":"۵","6":"۶","7":"۷","8":"۸","9":"۹","0":"۰"},B={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return C.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(D){return/بعد از ظهر/.test(D)},meridiem:function(D,F,E){if(D<12){return"قبل از ظهر"}else{return"بعد از ظهر"}},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(D){return D.replace(/[۰-۹]/g,function(E){return B[E]}).replace(/،/g,",")},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(D){var C="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),B=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",C[7],C[8],C[9]];function E(I,H,G,J){var F="";switch(G){case"s":return J?"muutaman sekunnin":"muutama sekunti";case"m":return J?"minuutin":"minuutti";case"mm":F=J?"minuutin":"minuuttia";break;case"h":return J?"tunnin":"tunti";case"hh":F=J?"tunnin":"tuntia";break;case"d":return J?"päivän":"päivä";case"dd":F=J?"päivän":"päivää";break;case"M":return J?"kuukauden":"kuukausi";case"MM":F=J?"kuukauden":"kuukautta";break;case"y":return J?"vuoden":"vuosi";case"yy":F=J?"vuoden":"vuotta";break}F=A(I,J)+" "+F;return F}function A(F,G){return F<10?(G?B[F]:C[F]):F}return D.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] LT",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] LT",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] LT",llll:"ddd, Do MMM YYYY, [klo] LT"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D. MMMM, YYYY LT"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(B){return B+(B===1?"er":"")}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(B){return B+(B===1?"er":"")},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var B="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),A="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return C.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(D,E){if(/-MMM-/.test(E)){return A[D.month()]}else{return B[D.month()]}},weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(D){return D+((D===1||D===8||D>=20)?"ste":"de")},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("gl",{months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),weekdays:"Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[hoxe "+((this.hours()!==1)?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+((this.hours()!==1)?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+((this.hours()!==1)?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+((this.hours()!==1)?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+((this.hours()!==1)?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(B){if(B==="uns segundos"){return"nuns segundos"}return"en "+B},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY LT",LLLL:"dddd, D [ב]MMMM YYYY LT",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(B){if(B===2){return"שעתיים"}return B+" שעות"},d:"יום",dd:function(B){if(B===2){return"יומיים"}return B+" ימים"},M:"חודש",MM:function(B){if(B===2){return"חודשיים"}return B+" חודשים"},y:"שנה",yy:function(B){if(B===2){return"שנתיים"}else{if(B%10===0&&B!==10){return B+" שנה"}}return B+" שנים"}}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},B={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return C.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(D){return D.replace(/[१२३४५६७८९०]/g,function(E){return B[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(D,E){if(D===12){D=0}if(E==="रात"){return D<4?D:D+12}else{if(E==="सुबह"){return D}else{if(E==="दोपहर"){return D>=10?D:D+12}else{if(E==="शाम"){return D+12}}}}},meridiem:function(D,F,E){if(D<4){return"रात"}else{if(D<10){return"सुबह"}else{if(D<17){return"दोपहर"}else{if(D<20){return"शाम"}else{return"रात"}}}}},week:{dow:0,doy:6}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){function B(F,E,D){var C=F+" ";switch(D){case"m":return E?"jedna minuta":"jedne minute";case"mm":if(F===1){C+="minuta"}else{if(F===2||F===3||F===4){C+="minute"}else{C+="minuta"}}return C;case"h":return E?"jedan sat":"jednog sata";case"hh":if(F===1){C+="sat"}else{if(F===2||F===3||F===4){C+="sata"}else{C+="sati"}}return C;case"dd":if(F===1){C+="dan"}else{C+="dana"}return C;case"MM":if(F===1){C+="mjesec"}else{if(F===2||F===3||F===4){C+="mjeseca"}else{C+="mjeseci"}}return C;case"yy":if(F===1){C+="godina"}else{if(F===2||F===3||F===4){C+="godine"}else{C+="godina"}}return C}}return A.defineLocale("hr",{months:"sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),monthsShort:"sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:B,mm:B,h:B,hh:B,d:"dan",dd:B,M:"mjesec",MM:B,y:"godinu",yy:B},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var B="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function D(H,G,F,J){var E=H,I;switch(F){case"s":return(J||G)?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(J||G?" perc":" perce");case"mm":return E+(J||G?" perc":" perce");case"h":return"egy"+(J||G?" óra":" órája");case"hh":return E+(J||G?" óra":" órája");case"d":return"egy"+(J||G?" nap":" napja");case"dd":return E+(J||G?" nap":" napja");case"M":return"egy"+(J||G?" hónap":" hónapja");case"MM":return E+(J||G?" hónap":" hónapja");case"y":return"egy"+(J||G?" év":" éve");case"yy":return E+(J||G?" év":" éve")}return""}function A(E){return(E?"":"[múlt] ")+"["+B[this.day()]+"] LT[-kor]"}return C.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},meridiemParse:/de|du/i,isPM:function(E){return E.charAt(1).toLowerCase()==="u"},meridiem:function(E,F,G){if(E<12){return G===true?"de":"DE"}else{return G===true?"du":"DU"}},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return A.call(this,true)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return A.call(this,false)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(D){function C(F,H){var E={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},G=(/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(H)?"accusative":"nominative";return E[G][F.month()]}function B(E,G){var F="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return F[E.month()]}function A(E,G){var F="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return F[E.day()]}return D.defineLocale("hy-am",{months:C,monthsShort:B,weekdays:A,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., LT",LLLL:"dddd, D MMMM YYYY թ., LT"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(E){return/^(ցերեկվա|երեկոյան)$/.test(E)},meridiem:function(E){if(E<4){return"գիշերվա"}else{if(E<12){return"առավոտվա"}else{if(E<17){return"ցերեկվա"}else{return"երեկոյան"}}}},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(E,F){switch(F){case"DDD":case"w":case"W":case"DDDo":if(E===1){return E+"-ին"}return E+"-րդ";default:return E}},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(B,C){if(B===12){B=0}if(C==="pagi"){return B}else{if(C==="siang"){return B>=11?B:B+12}else{if(C==="sore"||C==="malam"){return B+12}}}},meridiem:function(B,C,D){if(B<11){return"pagi"}else{if(B<15){return"siang"}else{if(B<19){return"sore"}else{return"malam"}}}},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){function A(D){if(D%100===11){return true}else{if(D%10===1){return false}}return true}function C(G,F,E,H){var D=G+" ";switch(E){case"s":return F||H?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return F?"mínúta":"mínútu";case"mm":if(A(G)){return D+(F||H?"mínútur":"mínútum")}else{if(F){return D+"mínúta"}}return D+"mínútu";case"hh":if(A(G)){return D+(F||H?"klukkustundir":"klukkustundum")}return D+"klukkustund";case"d":if(F){return"dagur"}return H?"dag":"degi";case"dd":if(A(G)){if(F){return D+"dagar"}return D+(H?"daga":"dögum")}else{if(F){return D+"dagur"}}return D+(H?"dag":"degi");case"M":if(F){return"mánuður"}return H?"mánuð":"mánuði";case"MM":if(A(G)){if(F){return D+"mánuðir"}return D+(H?"mánuði":"mánuðum")}else{if(F){return D+"mánuður"}}return D+(H?"mánuð":"mánuði");case"y":return F||H?"ár":"ári";case"yy":if(A(G)){return D+(F||H?"ár":"árum")}return D+(F||H?"ár":"ári")}}return B.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd, D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:C,m:C,mm:C,h:"klukkustund",hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(B){return((/^[0-9].+$/).test(B)?"tra":"in")+" "+B},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"LTs秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiemParse:/午前|午後/i,isPM:function(B){return B==="午後"},meridiem:function(B,D,C){if(B<12){return"午前"}else{return"午後"}},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){function B(E,G){var D={nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},F=(/D[oD] *MMMM?/).test(G)?"accusative":"nominative";return D[F][E.month()]}function A(D,G){var E={nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")},F=(/(წინა|შემდეგ)/).test(G)?"accusative":"nominative";return E[F][D.day()]}return C.defineLocale("ka",{months:B,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:A,weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(D){return(/(წამი|წუთი|საათი|წელი)/).test(D)?D.replace(/ი$/,"ში"):D+"ში"},past:function(D){if((/(წამი|წუთი|საათი|დღე|თვე)/).test(D)){return D.replace(/(ი|ე)$/,"ის წინ")}if((/წელი/).test(D)){return D.replace(/წელი$/,"წლის წინ")}},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(D){if(D===0){return D}if(D===1){return D+"-ლი"}if((D<20)||(D<=100&&(D%20===0))||(D%100===0)){return"მე-"+D}return D+"-ე"},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("km",{months:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[ថ្ងៃនៈ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(B){return B==="오후"},meridiem:function(B,D,C){return B<12?"오전":"오후"}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(E){function B(H,G,F,J){var I={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return G?I[F][0]:I[F][1]}function D(F){var G=F.substr(0,F.indexOf(" "));if(C(G)){return"a "+F}return"an "+F}function A(F){var G=F.substr(0,F.indexOf(" "));if(C(G)){return"viru "+F}return"virun "+F}function C(G){G=parseInt(G,10);if(isNaN(G)){return false}if(G<0){return true}else{if(G<10){if(4<=G&&G<=7){return true}return false}else{if(G<100){var F=G%10,H=G/10;if(F===0){return C(H)}return C(F)}else{if(G<10000){while(G>=10){G=G/10}return C(G)}else{G=G/1000;return C(G)}}}}}return E.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:D,past:A,s:"e puer Sekonnen",m:B,mm:"%d Minutten",h:B,hh:"%d Stonnen",d:B,dd:"%d Deeg",M:B,MM:"%d Méint",y:B,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(I){var G={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},D="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_");function E(L,K,J,M){if(K){return"kelios sekundės"}else{return M?"kelių sekundžių":"kelias sekundes"}}function F(L,K,J,M){return K?A(J)[0]:(M?A(J)[1]:A(J)[2])}function H(J){return J%10===0||(J>10&&J<20)}function A(J){return G[J].split("_")}function C(M,L,K,N){var J=M+" ";if(M===1){return J+F(M,L,K[0],N)}else{if(L){return J+(H(M)?A(K)[1]:A(K)[0])}else{if(N){return J+A(K)[1]}else{return J+(H(M)?A(K)[1]:A(K)[2])}}}}function B(L,K){var M=K.indexOf("dddd HH:mm")===-1,J=D[L.day()];return M?J:J.substring(0,J.length-2)+"į"}return I.defineLocale("lt",{months:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:B,weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], LT [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, LT [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], LT [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, LT [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:E,m:F,mm:C,h:F,hh:C,d:F,dd:C,M:F,MM:C,y:F,yy:C},ordinalParse:/\d{1,2}-oji/,ordinal:function(J){return J+"-oji"},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={mm:"minūti_minūtes_minūte_minūtes",hh:"stundu_stundas_stunda_stundas",dd:"dienu_dienas_diena_dienas",MM:"mēnesi_mēnešus_mēnesis_mēneši",yy:"gadu_gadus_gads_gadi"};function B(H,G,F){var E=H.split("_");if(F){return G%10===1&&G!==11?E[2]:E[3]}else{return G%10===1&&G!==11?E[0]:E[1]}}function D(G,F,E){return G+" "+B(A[E],G,F)}return C.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, LT",LLLL:"YYYY. [gada] D. MMMM, dddd, LT"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"%s vēlāk",past:"%s agrāk",s:"dažas sekundes",m:"minūti",mm:D,h:"stundu",hh:D,d:"dienu",dd:D,M:"mēnesi",MM:D,y:"gadu",yy:D},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(D){var C=D%10,B=D%100;if(D===0){return D+"-ев"}else{if(B===0){return D+"-ен"}else{if(B>10&&B<20){return D+"-ти"}else{if(C===1){return D+"-ви"}else{if(C===2){return D+"-ри"}else{if(C===7||C===8){return D+"-ми"}else{return D+"-ти"}}}}}}},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(B){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(B)},meridiem:function(B,D,C){if(B<4){return"രാത്രി"}else{if(B<12){return"രാവിലെ"}else{if(B<17){return"ഉച്ച കഴിഞ്ഞ്"}else{if(B<20){return"വൈകുന്നേരം"}else{return"രാത്രി"}}}}}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},B={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return C.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(D){return D.replace(/[१२३४५६७८९०]/g,function(E){return B[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(D,E){if(D===12){D=0}if(E==="रात्री"){return D<4?D:D+12}else{if(E==="सकाळी"){return D}else{if(E==="दुपारी"){return D>=10?D:D+12}else{if(E==="सायंकाळी"){return D+12}}}}},meridiem:function(D,F,E){if(D<4){return"रात्री"}else{if(D<10){return"सकाळी"}else{if(D<17){return"दुपारी"}else{if(D<20){return"सायंकाळी"}else{return"रात्री"}}}}},week:{dow:0,doy:6}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(B,C){if(B===12){B=0}if(C==="pagi"){return B}else{if(C==="tengahari"){return B>=11?B:B+12}else{if(C==="petang"||C==="malam"){return B+12}}}},meridiem:function(B,C,D){if(B<11){return"pagi"}else{if(B<15){return"tengahari"}else{if(B<19){return"petang"}else{return"malam"}}}},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"၁","2":"၂","3":"၃","4":"၄","5":"၅","6":"၆","7":"၇","8":"၈","9":"၉","0":"၀"},B={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};return C.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(D){return D.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(E){return B[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]})},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tirs_ons_tors_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"H.mm",LTS:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var A={"1":"१","2":"२","3":"३","4":"४","5":"५","6":"६","7":"७","8":"८","9":"९","0":"०"},B={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return C.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आइ._सो._मङ्_बु._बि._शु._श.".split("_"),longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},preparse:function(D){return D.replace(/[१२३४५६७८९०]/g,function(E){return B[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(D,E){if(D===12){D=0}if(E==="राती"){return D<3?D:D+12}else{if(E==="बिहान"){return D}else{if(E==="दिउँसो"){return D>=10?D:D+12}else{if(E==="बेलुका"||E==="साँझ"){return D+12}}}}},meridiem:function(D,F,E){if(D<3){return"राती"}else{if(D<10){return"बिहान"}else{if(D<15){return"दिउँसो"}else{if(D<18){return"बेलुका"}else{if(D<20){return"साँझ"}else{return"राती"}}}}}},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(C){var B="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");return C.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(D,E){if(/-MMM-/.test(E)){return A[D.month()]}else{return B[D.month()]}},weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(D){return D+((D===1||D===8||D>=20)?"ste":"de")},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(D){var C="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),A="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function B(F){return(F%10<5)&&(F%10>1)&&((~~(F/10)%10)!==1)}function E(I,H,G){var F=I+" ";switch(G){case"m":return H?"minuta":"minutę";case"mm":return F+(B(I)?"minuty":"minut");case"h":return H?"godzina":"godzinę";case"hh":return F+(B(I)?"godziny":"godzin");case"MM":return F+(B(I)?"miesiące":"miesięcy");case"yy":return F+(B(I)?"lata":"lat")}}return D.defineLocale("pl",{months:function(G,F){if(/D MMMM/.test(F)){return A[G.month()]}else{return C[G.month()]}},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:E,mm:E,h:E,hh:E,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:E,y:"rok",yy:E},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] LT",LLLL:"dddd, D [de] MMMM [de] YYYY [às] LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return(this.day()===0||this.day()===6)?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return(this.day()===0||this.day()===6)?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){function B(E,D,C){var G={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},F=" ";if(E%100>=20||(E>=100&&E%100===0)){F=" de "}return E+F+G[C]}return A.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:B,h:"o oră",hh:B,d:"o zi",dd:B,M:"o lună",MM:B,y:"un an",yy:B},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(E){function C(I,H){var G=I.split("_");return H%10===1&&H%100!==11?G[0]:(H%10>=2&&H%10<=4&&(H%100<10||H%100>=20)?G[1]:G[2])}function F(I,H,G){var J={mm:H?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};if(G==="m"){return H?"минута":"минуту"}else{return I+" "+C(J[G],+I)}}function D(H,J){var G={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},I=(/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(J)?"accusative":"nominative";return G[I][H.month()]}function B(G,J){var I={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},H=(/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(J)?"accusative":"nominative";return I[H][G.month()]}function A(G,J){var H={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},I=(/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/).test(J)?"accusative":"nominative";return H[I][G.day()]}return E.defineLocale("ru",{months:D,monthsShort:B,weekdays:A,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(G){if(G.week()!==this.week()){switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}}else{if(this.day()===2){return"[Во] dddd [в] LT"}else{return"[В] dddd [в] LT"}}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:F,mm:F,h:"час",hh:F,d:"день",dd:F,M:"месяц",MM:F,y:"год",yy:F},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(G){return/^(дня|вечера)$/.test(G)},meridiem:function(G,I,H){if(G<4){return"ночи"}else{if(G<12){return"утра"}else{if(G<17){return"дня"}else{return"вечера"}}}},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(G,H){switch(H){case"M":case"d":case"DDD":return G+"-й";case"D":return G+"-го";case"w":case"W":return G+"-я";default:return G}},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(D){var A="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),C="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function B(F){return(F>1)&&(F<5)}function E(I,H,G,J){var F=I+" ";switch(G){case"s":return(H||J)?"pár sekúnd":"pár sekundami";case"m":return H?"minúta":(J?"minútu":"minútou");case"mm":if(H||J){return F+(B(I)?"minúty":"minút")}else{return F+"minútami"}break;case"h":return H?"hodina":(J?"hodinu":"hodinou");case"hh":if(H||J){return F+(B(I)?"hodiny":"hodín")}else{return F+"hodinami"}break;case"d":return(H||J)?"deň":"dňom";case"dd":if(H||J){return F+(B(I)?"dni":"dní")}else{return F+"dňami"}break;case"M":return(H||J)?"mesiac":"mesiacom";case"MM":if(H||J){return F+(B(I)?"mesiace":"mesiacov")}else{return F+"mesiacmi"}break;case"y":return(H||J)?"rok":"rokom";case"yy":if(H||J){return F+(B(I)?"roky":"rokov")}else{return F+"rokmi"}break}}return D.defineLocale("sk",{months:A,monthsShort:C,monthsParse:(function(F,H){var G,I=[];for(G=0;G<12;G++){I[G]=new RegExp("^"+F[G]+"$|^"+H[G]+"$","i")}return I}(A,C)),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){function B(F,E,D){var C=F+" ";switch(D){case"m":return E?"ena minuta":"eno minuto";case"mm":if(F===1){C+="minuta"}else{if(F===2){C+="minuti"}else{if(F===3||F===4){C+="minute"}else{C+="minut"}}}return C;case"h":return E?"ena ura":"eno uro";case"hh":if(F===1){C+="ura"}else{if(F===2){C+="uri"}else{if(F===3||F===4){C+="ure"}else{C+="ur"}}}return C;case"dd":if(F===1){C+="dan"}else{C+="dni"}return C;case"MM":if(F===1){C+="mesec"}else{if(F===2){C+="meseca"}else{if(F===3||F===4){C+="mesece"}else{C+="mesecev"}}}return C;case"yy":if(F===1){C+="leto"}else{if(F===2){C+="leti"}else{if(F===3||F===4){C+="leta"}else{C+="let"}}}return C}}return A.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[prejšnja] dddd [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"%s nazaj",s:"nekaj sekund",m:B,mm:B,h:B,hh:B,d:"en dan",dd:B,M:"en mesec",MM:B,y:"eno leto",yy:B},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),meridiemParse:/PD|MD/,isPM:function(B){return B.charAt(0)==="M"},meridiem:function(B,C,D){return B<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){var A={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(D,C){return D===1?C[0]:(D>=2&&D<=4?C[1]:C[2])},translate:function(F,D,C){var E=A.words[C];if(C.length===1){return D?E[0]:E[1]}else{return F+" "+A.correctGrammaticalCase(F,E)}}};return B.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var C=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return C[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:"дан",dd:A.translate,M:"месец",MM:A.translate,y:"годину",yy:A.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){var A={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(D,C){return D===1?C[0]:(D>=2&&D<=4?C[1]:C[2])},translate:function(F,D,C){var E=A.words[C];if(C.length===1){return D?E[0]:E[1]}else{return F+" "+A.correctGrammaticalCase(F,E)}}};return B.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var C=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return C[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:"dan",dd:A.translate,M:"mesec",MM:A.translate,y:"godinu",yy:A.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"dddd LT",lastWeek:"[Förra] dddd[en] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(D){var B=D%10,C=(~~(D%100/10)===1)?"e":(B===1)?"a":(B===2)?"a":(B===3)?"e":"e";return D+C},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(B){return B+"வது"},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(B,D,C){if(B<2){return" யாமம்"}else{if(B<6){return" வைகறை"}else{if(B<10){return" காலை"}else{if(B<14){return" நண்பகல்"}else{if(B<18){return" எற்பாடு"}else{if(B<22){return" மாலை"}else{return" யாமம்"}}}}}}},meridiemHour:function(B,C){if(B===12){B=0}if(C==="யாமம்"){return B<2?B:B+12}else{if(C==="வைகறை"||C==="காலை"){return B}else{if(C==="நண்பகல்"){return B>=10?B:B+12}else{return B+12}}}},week:{dow:0,doy:6}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"LT s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา LT",LLLL:"วันddddที่ D MMMM YYYY เวลา LT"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(B){return B==="หลังเที่ยง"},meridiem:function(B,D,C){if(B<12){return"ก่อนเที่ยง"}else{return"หลังเที่ยง"}},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM DD, YYYY LT"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(B){return B},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(B){var A={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return B.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(E){if(E===0){return E+"'ıncı"}var D=E%10,C=E%100-D,F=E>=100?100:null;return E+(A[D]||A[C]||A[F])},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(E){function C(I,H){var G=I.split("_");return H%10===1&&H%100!==11?G[0]:(H%10>=2&&H%10<=4&&(H%100<10||H%100>=20)?G[1]:G[2])}function F(I,H,G){var J={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};if(G==="m"){return H?"хвилина":"хвилину"}else{if(G==="h"){return H?"година":"годину"}else{return I+" "+C(J[G],+I)}}}function D(H,J){var G={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},I=(/D[oD]? *MMMM?/).test(J)?"accusative":"nominative";return G[I][H.month()]}function A(G,J){var H={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},I=(/(\[[ВвУу]\]) ?dddd/).test(J)?"accusative":((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(J)?"genitive":"nominative");return H[I][G.day()]}function B(G){return function(){return G+"о"+(this.hours()===11?"б":"")+"] LT"}}return E.defineLocale("uk",{months:D,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:A,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., LT",LLLL:"dddd, D MMMM YYYY р., LT"},calendar:{sameDay:B("[Сьогодні "),nextDay:B("[Завтра "),lastDay:B("[Вчора "),nextWeek:B("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return B("[Минулої] dddd [").call(this);case 1:case 2:case 4:return B("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:F,mm:F,h:"годину",hh:F,d:"день",dd:F,M:"місяць",MM:F,y:"рік",yy:F},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(G){return/^(дня|вечора)$/.test(G)},meridiem:function(G,I,H){if(G<4){return"ночі"}else{if(G<12){return"ранку"}else{if(G<17){return"дня"}else{return"вечора"}}}},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(G,H){switch(H){case"M":case"d":case"DDD":case"w":case"W":return G+"-й";case"D":return G+"-го";default:return G}},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("uz",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"D MMMM YYYY, dddd LT"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY LT",LLLL:"dddd, D MMMM [năm] YYYY LT",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(B){return B},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(B,C){if(B===12){B=0}if(C==="凌晨"||C==="早上"||C==="上午"){return B}else{if(C==="下午"||C==="晚上"){return B+12}else{return B>=11?B:B+12}}},meridiem:function(B,D,C){var E=B*100+D;if(E<600){return"凌晨"}else{if(E<900){return"早上"}else{if(E<1130){return"上午"}else{if(E<1230){return"中午"}else{if(E<1800){return"下午"}else{return"晚上"}}}}}},calendar:{sameDay:function(){return this.minutes()===0?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return this.minutes()===0?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return this.minutes()===0?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var B,C;B=A().startOf("week");C=this.unix()-B.unix()>=7*24*3600?"[下]":"[本]";return this.minutes()===0?C+"dddAh点整":C+"dddAh点mm"},lastWeek:function(){var B,C;B=A().startOf("week");C=this.unix()<B.unix()?"[上]":"[本]";return this.minutes()===0?C+"dddAh点整":C+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(B,C){switch(C){case"d":case"D":case"DDD":return B+"日";case"M":return B+"月";case"w":case"W":return B+"周";default:return B}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}})}));(function(A){if(typeof define==="function"&&define.amd){define(["moment"],A)}else{if(typeof exports==="object"){module.exports=A(require("../moment"))}else{A((typeof global!=="undefined"?global:this).moment)}}}(function(A){return A.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(B,C){if(B===12){B=0}if(C==="早上"||C==="上午"){return B}else{if(C==="中午"){return B>=11?B:B+12}else{if(C==="下午"||C==="晚上"){return B+12}}}},meridiem:function(B,D,C){var E=B*100+D;if(E<900){return"早上"}else{if(E<1130){return"上午"}else{if(E<1230){return"中午"}else{if(E<1800){return"下午"}else{return"晚上"}}}}},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(B,C){switch(C){case"d":case"D":case"DDD":return B+"日";case"M":return B+"月";case"w":case"W":return B+"週";default:return B}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}})}));; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:momentjs', location = '/static/lib/moment/moment-AMD.js' */ define("moment",[],function(){moment.locale("en");moment.locale(document.documentElement.getAttribute("lang"));return moment});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:dateformat', location = '/static/util/time.js' */ define("util/time",["aui","moment","util/text","exports"],function(G,Y,C,b){var M=Object.prototype.hasOwnProperty;var R={};var S=/d{1,2}|'[^']+'|M{1,4}|y{2,4}|h{1,2}|H{1,2}|m{2}|s{2}|S{1,4}|Z{1,2}|z{1,2}|a|:|-|\/|\s+/g;function H(c,a){this.key=c;this.isAge=a}H.types={};for(var Z=["shortAge","longAge","short","long","full","timestamp"],U=0,O=Z.length,L;U<O;U++){L=Z[U];H.types[L]=new H(L,L.toLowerCase().indexOf("age")!==-1)}function D(a,c,d){return c===H.types.shortAge?V(a,d):N(a,d)}function V(a,c){switch(a){case"aMomentAgo":return "A moment ago";case"oneMinuteAgo":return "1 min ago";case"xMinutesAgo":return G.format("{0} mins ago",c);case"oneHourAgo":return "1 hour ago";case"xHoursAgo":return G.format("{0} hours ago",c);case"oneDayAgo":return "Yesterday";case"xDaysAgo":return G.format("{0} days ago",c);case"oneWeekAgo":return "1 week ago";default:return null}}function N(a,c){switch(a){case"aMomentAgo":return "A moment ago";case"oneMinuteAgo":return "1 minute ago";case"xMinutesAgo":return G.format("{0} minutes ago",c);case"oneHourAgo":return "1 hour ago";case"xHoursAgo":return G.format("{0} hours ago",c);case"oneDayAgo":return "Yesterday";case"xDaysAgo":return G.format("{0} days ago",c);case"oneWeekAgo":return "1 week ago";default:return null}}function X(d){if(M.call(R,d)){return R[d]}var a="",c;S.exec("");while(c=S.exec(d)){c=c[0];switch(c.charAt(0)){case"'":a+="["+c.substring(1,c.length-1)+"]";break;case"d":case"y":case"a":a+=c.toUpperCase();break;default:a+=c}}R[d]=a;return a}function F(a){switch(a.key){case"short":case"shortAge":return 'dd MMM yyyy';case"long":case"longAge":return 'dd MMMM yyyy';case"full":return 'dd MMMM yyyy hh:mm a';case"timestamp":return 'yyyy-MM-dd\'T\'HH:mm:ssZ';default:return null}}function T(){var a=document.getElementById("content");if(a){return parseInt(a.getAttribute("data-timezone"),10)}return 0}function E(f,e){var h=typeof e==="number"?e:b.getTimezoneOffset(),a=Math.abs(h),c=Math.floor(a/60),g=a%60,d="";d+=h<=0?"+":"-";d+=C.padLeft(c.toString(),2,"0");d+=f||"";d+=C.padLeft(g.toString(),2,"0");return d}function B(a,d){var c=a.clone(),e=typeof d==="number"?d:b.getTimezoneOffset();if(a.zone()!==e){c.add("m",a.zone()-e)}return c}function W(d,c){var a=d.clone().add("d",1).hours(0).minutes(0).seconds(0).milliseconds(0).subtract("m",c.zone()-b.getTimezoneOffset());while(a>d){a.subtract("d",1)}var e=a.clone().subtract("d",1);return e<=c&&c<a}function I(c,a){return Math.floor(a.diff(c,"minutes",true))}function K(d,c){var a=c.diff(d,"hours",true);return Math.round(a)}function A(c,a){return Math.floor(a.diff(c,"days",true))}function Q(c,d,f){var g=typeof f==="number"?f:b.getTimezoneOffset();var e=B(c,g);var a=X(F(d)).replace(/Z+/g,function(h){return"["+E(h.length===1?"":":",g)+"]"});return e.format(a)}function P(c,d,a){a=a||Y();if(c<=a){if(c>a.clone().subtract("m",1)){return D("aMomentAgo",d)}else{if(c>a.clone().subtract("m",2)){return D("oneMinuteAgo",d)}else{if(c>a.clone().subtract("m",50)){return D("xMinutesAgo",d,I(c,a))}else{if(c>a.clone().subtract("m",90)){return D("oneHourAgo",d)}else{if(W(a,c)&&c<a.clone().subtract("h",5)){return D("oneDayAgo",d)}else{if(c>a.clone().subtract("d",1)){return D("xHoursAgo",d,K(c,a))}else{if(c>a.clone().subtract("d",7)){return D("xDaysAgo",d,Math.max(A(c,a),2))}else{if(c>a.clone().subtract("d",8)){return D("oneWeekAgo",d)}}}}}}}}}return Q(c,d)}function J(c,a){if(c&&a){if(a.isAge){return P(c,a)}else{return Q(c,a)}}else{return null}}b.format=function(c,a){return J(c?Y(c):null,H.types[a])};b.formatDateWithFormatString=Q;b.formatDateWithRelativeAge=P;b.FormatType=H;b.getTimezoneOffset=T});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:pageUtil-resources', location = '/static/page/util/pageUtil.soy' */ // This file was automatically generated from pageUtil.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace stash.util. */ if (typeof stash == 'undefined') { var stash = {}; } if (typeof stash.util == 'undefined') { stash.util = {}; } stash.util.dataAttributes = function(opt_data, opt_ignored) { var output = ''; if (opt_data.data) { var attributeKeyList5 = soy.$$getMapKeys(opt_data.data); var attributeKeyListLen5 = attributeKeyList5.length; for (var attributeKeyIndex5 = 0; attributeKeyIndex5 < attributeKeyListLen5; attributeKeyIndex5++) { var attributeKeyData5 = attributeKeyList5[attributeKeyIndex5]; output += ' data-' + soy.$$escapeHtml(attributeKeyData5) + '="' + soy.$$escapeHtml(opt_data.data[attributeKeyData5]) + '"'; } } return output; }; if (goog.DEBUG) { stash.util.dataAttributes.soyTemplateName = 'stash.util.dataAttributes'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:buttons', location = '/static/widget/buttons/buttons.soy' */ // This file was automatically generated from buttons.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace stash.buttons. */ if (typeof stash == 'undefined') { var stash = {}; } if (typeof stash.buttons == 'undefined') { stash.buttons = {}; } stash.buttons.buttons = function(opt_data, opt_ignored) { return '' + aui.buttons.buttons(opt_data); }; if (goog.DEBUG) { stash.buttons.buttons.soyTemplateName = 'stash.buttons.buttons'; } stash.buttons.button = function(opt_data, opt_ignored) { return '' + aui.buttons.button({tagName: opt_data.tagName ? opt_data.tagName : opt_data.href ? 'a' : null, id: opt_data.id, type: opt_data.isPrimary ? 'primary' : opt_data.type, isDisabled: opt_data.isDisabled, isPressed: opt_data.isPressed, text: opt_data.buttonText, iconType: opt_data.iconType, iconText: opt_data.iconText, iconClass: opt_data.iconClass, extraClasses: opt_data.extraClasses, extraAttributes: '' + aui.renderExtraAttributes(opt_data) + ((opt_data.href) ? ' href="' + soy.$$escapeHtml(opt_data.href) + '"' : '') + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + ' autocomplete="off"'}); }; if (goog.DEBUG) { stash.buttons.button.soyTemplateName = 'stash.buttons.button'; } stash.buttons.deleteButton = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<a href="' + soy.$$escapeHtml(opt_data.href ? opt_data.href : '#') + '" class="delete-button' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + ((opt_data.extraAttributes) ? aui.renderExtraAttributes(opt_data) : '') + '>' + aui.icons.icon({icon: 'remove', size: opt_data.size, useIconFont: true}) + '</a>'; }; if (goog.DEBUG) { stash.buttons.deleteButton.soyTemplateName = 'stash.buttons.deleteButton'; } stash.buttons.editButton = function(opt_data, opt_ignored) { opt_data = opt_data || {}; return '<a href="' + soy.$$escapeHtml(opt_data.href ? opt_data.href : '#') + '" class="edit-button' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.title) ? ' title="' + soy.$$escapeHtml(opt_data.title) + '"' : '') + ((opt_data.extraAttributes) ? aui.renderExtraAttributes(opt_data) : '') + '>' + aui.icons.icon({icon: 'edit', useIconFont: true}) + '</a>'; }; if (goog.DEBUG) { stash.buttons.editButton.soyTemplateName = 'stash.buttons.editButton'; } stash.buttons.switchButtons = function(opt_data, opt_ignored) { return '' + stash.buttons.buttons({id: opt_data.id, extraClasses: 'switch' + aui.renderExtraClasses(opt_data), content: '' + stash.buttons.button({id: opt_data.offId, extraClasses: 'switch-mode-off' + aui.renderExtraClasses({extraClasses: opt_data.offExtraClasses}), extraAttributes: opt_data.offExtraAttributes, isPressed: ! opt_data.isOn, buttonText: opt_data.offText, title: opt_data.offTitle}) + stash.buttons.button({id: opt_data.onId, extraClasses: 'switch-mode-on ' + aui.renderExtraClasses({extraClasses: opt_data.onExtraClasses}), extraAttributes: opt_data.onExtraAttributes, isPressed: opt_data.isOn, buttonText: opt_data.onText, title: opt_data.onTitle})}); }; if (goog.DEBUG) { stash.buttons.switchButtons.soyTemplateName = 'stash.buttons.switchButtons'; } stash.buttons.linkButton = function(opt_data, opt_ignored) { return '<button class="stash-link-button' + ((opt_data.extraClasses) ? ' ' + soy.$$escapeHtml(opt_data.extraClasses) : '') + '"' + ((opt_data.extraAttributes) ? aui.renderExtraAttributes(opt_data) : '') + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</button>'; }; if (goog.DEBUG) { stash.buttons.linkButton.soyTemplateName = 'stash.buttons.linkButton'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:dom-event-util', location = '/static/util/dom-event.js' */ define("util/dom-event",["jquery","lodash","util/events","util/navigator","exports"],function(G,C,D,B,A){var E=B.isMac();A.openInSameTab=function(H){return(!H.which||H.which===1)&&!(H.metaKey||H.ctrlKey||H.shiftKey||(H.altKey&&!B.isIE()))};A.isRightClick=function(H){return H.which===3};A.isCtrlish=function(H){return E?H.metaKey:H.ctrlKey};A.modifiersPreventScroll=function(I){var H=false;if(B.isMozilla()||B.isLinux()){H=F(I)}else{if(B.isChrome()){H=I.shiftKey||(B.isWin()?I.altKey:I.metaKey)}else{if(B.isSafari()){H=B.isWin()?I.altKey:F(I)}else{if(B.isIE()){H=I.altKey}}}}return !!H};function F(H){return H.altKey||H.shiftKey||H.ctrlKey||H.metaKey}A.listenForFontSizeChange=C.once(function(){var K=G('<div style="position: fixed; visibility: hidden; speak: none; height: auto; top: -999px; left: -999px;">Ignore this text</div>').appendTo(document.body),I=K.height(),J,H=500;setTimeout(J=function(){var L=K.height();if(L!==I){I=L;D.trigger("stash.util.events.fontSizeChanged")}setTimeout(J,H)},H)});A.preventDefault=function(H){return function(I){I&&C.isFunction(I.preventDefault)&&I.preventDefault();if(C.isFunction(H)){return H.apply(this,arguments)}}};A.stopPropagation=function(H){return function(I){I&&C.isFunction(I.stopPropagation)&&I.stopPropagation();if(C.isFunction(H)){return H.apply(this,arguments)}}};A.filterByTarget=function(I,H){return function(J){if(G(J.target).is(I)){return H.apply(this,arguments)}}}});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:memoir', location = '/static/bower/memoir.js/memoir.js' */ (function(L,D){var K=Boolean(typeof history!=="undefined"&&history.pushState&&history.replaceState&&!((/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i).test(navigator.userAgent)||(/AppleWebKit\/5([0-2]|3[0-2])/i).test(navigator.userAgent))),O=function(){return O.nativeSupport()};O.version="0.1.2";O.nativeSupport=function(){return K};var A={"memoir.popstate":[],"memoir.changestate":[]};var I="";function B(Q,T){for(var R=0,S=A[Q],P=S.length;R<P;R++){S[R](T)}}function H(P){if(P){document.title=P+I}}var N={pushState:function(Q,R,P){history.pushState(Q,R||"",P||"");H(R);B("memoir.changestate",{state:Q})},replaceState:function(Q,R,P){history.replaceState(Q,R||"",P||"");H(R);B("memoir.changestate",{state:Q})},bind:function(P,Q){if(P in A){A[P].push(Q)}},state:function(){return history.state},initialState:function(P){return history.replaceState(P,"",location.href)},setTitleSuffix:function(P){I=P||""}};var C={pushState:function(Q,R,P){if(P&&location.href!==P){location.href=P}else{H(R)}},replaceState:function(Q,R,P){if(P&&location.href!==P){location.href=P}else{H(R)}},bind:function(P,Q){},initialState:function(P){},state:function(){return null},setTitleSuffix:function(P){I=P||""}};function M(Q,P){for(var R in P){if(P.hasOwnProperty(R)){Q[R]=P[R]}}}M(O,K?N:C);var F=L.onpopstate,E=("state" in history),J=location.href;L.onpopstate=function(Q){if(F){F.call(this,Q)}var P=!E&&location.href==J;E=true;if(!P){B("memoir.popstate",Q);B("memoir.changestate",Q)}};if(typeof define!=="undefined"){define("memoir",[],function(){return O})}else{var G=L.memoir;O.noConflict=G?function(){L.memoir=G;return O}:function(){delete L.memoir;return O};L.memoir=O}})(window);; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:memoir', location = '/static/lib/eve.event.memoir.js' */ (function(A,B){B.bind("memoir.popstate",function(C){A("memoir.popstate",this,C)});B.bind("memoir.changestate",function(C){A("memoir.changestate",this,C)})})(window.eve||require("eve"),window.memoir||require("memoir"));; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:backbone', location = '/static/lib/backbone/backbone-raw-AMD.js' */ define("backbone-raw",function(){return Backbone});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:backbone', location = '/static/lib/backbone/backbone-AMD.js' */ define("backbone",["backbone-raw","util/ajax"],function(C,B){var A={create:"POST",read:"GET",update:"PUT","delete":"DELETE"};C.sync=function(G,E,F){var D=_.extend({url:_.isFunction(E.url)?E.url():E.url,type:A[G],data:E.toJSON()},F);return B.rest(D)};return C});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:backbone-brace', location = '/static/bower/backbone-brace/backbone.brace.js' */ (function(){var I=this;var K;if(typeof exports!=="undefined"){K=exports}else{K=I.Brace={}}var O=I._;if(!O&&(typeof require!=="undefined")){O=require("underscore")}var N=I.Backbone;if(!N&&(typeof require!=="undefined")){N=require("backbone")}function F(Q){if(O.isArray(Q)){return O.reduce(Q,function(R,S){R[S]=null;return R},{})}return Q}function B(Q,R){if(!Q||R==null){return R}if(typeof Q==="string"||Q instanceof String){if(typeof R!==""+Q){throw"The typeof "+R+" is "+typeof R+" but expected it to be "+Q}return R}if(O.isArray(Q)||Q===Array){if(!L(R)){throw"Array type expected, but nonnull, non-Array value provided."}return Q===Array||!Q[0]?R:O.map(R,O.bind(B,null,Q[0]))}if(typeof Q!=="function"){throw"Invalid expected type "+Q+". Should be falsy, String, Array, Backbone.Collection constructor, or function."}if(R instanceof Q){return R}if(H(Q)){return new Q(B([Q.model],R))}return new Q(R)}function H(R,Q){return R&&(R.__super__ instanceof (Q||N.Collection)||R.__super__===(Q||N.Collection).prototype||R===(Q||N.Collection))}function L(Q){return O.has(Q,"length")&&!(Q instanceof String||O.has({string:1,"function":1},typeof Q)||Q instanceof N.Collection)}function M(S,R){var Q={};O.each(S,function(U,T){if(!R[T]||P(U,R[T])){Q[T]=U}else{if(!U||P(R[T],U)){return }else{throw T+" has conflicted type descriptors."}}});return Q}function P(R,Q){if(!Q||Q===R){return true}if(!R||typeof R==="string"){return false}if(R instanceof Array){return Q===Array||(Q instanceof Array&&P(R[0],Q[0]))}if(typeof Q!=="function"){return false}if(H(Q)){return H(R,Q)}return R.prototype instanceof Q}function E(Q){if(O.isObject(Q)){return O.reduce(Q,function(R,T,S){if(T&&O.isFunction(T.toJSON)){R[S]=T.toJSON()}else{if(O.isArray(T)){R[S]=O.map(T,function(U){if(U&&O.isFunction(U.toJSON)){return U.toJSON()}else{return U}})}}return R},Q)}else{return Q}}function A(R){return function Q(){var S=R.call(this);return E(S)}}K.Mixins={createMethodName:function(Q,R){return Q+R.charAt(0).toUpperCase()+R.substr(1)},applyMixin:function(R,Q){O.forEach(O.keys(Q),function(Z){var W=R.prototype;if("initialize"===Z){var Y=W.initialize;W.initialize=function(){if(Y){Y.apply(this,arguments)}Q.initialize.apply(this,arguments)};return }if("validate"===Z){var S=W.validate;W.validate=function(){if(S){var b=S.apply(this,arguments);if(b){return b}}return Q.validate.apply(this,arguments)};return }if("defaults"===Z){var V=W.defaults||(W.defaults={});var X=Q[Z];for(var U in X){if(V.hasOwnProperty(U)){throw"Mixin error: class already has default '"+U+"' defined"}V[U]=X[U]}return }if("namedAttributes"===Z){var T=F(W.namedAttributes)||{};var a=F(Q[Z]);W.namedAttributes=O.extend(T,M(a,T));return }if("namedEvents"===Z){if(!O.isArray(Q[Z])){throw"Expects events member on mixin to be an array"}if(!W.namedEvents){W.namedEvents=[]}W.namedEvents=O.uniq(W.namedEvents.concat(Q[Z]));return }if(W.hasOwnProperty(Z)){throw"Mixin error: class already has property '"+Z+"' defined"}W[Z]=Q[Z]},this)}};K.AttributesMixinCreator={create:function(R){var Q={};if(!R){R={}}if(!O.has(R,"id")){R.id=null}O.each(R,function(U,T){var V=K.Mixins.createMethodName("set",T);Q[V]=function(X,W){return this.set(T,X,W)};var S=K.Mixins.createMethodName("get",T);Q[S]=function(){return this.get(T)}});return Q},ensureType:B};K.EventsMixinCreator={create:function(R){var Q={};var S=function(U){var T=K.Mixins.createMethodName("on",U);Q[T]=function(){return this.on.apply(this,[U].concat(O.toArray(arguments)))};var V=K.Mixins.createMethodName("trigger",U);Q[V]=function(){return this.trigger.apply(this,[U].concat(O.toArray(arguments)))}};O.each(R,O.bind(S,this));return Q}};function D(R){return function Q(U,V){var W;var T=O.extend({},U);var S;if(U&&U.mixins){S=U.mixins;delete T.mixins}W=R.call(this,T,V);if(this.prototype.namedEvents){K.Mixins.applyMixin(W,{namedEvents:this.prototype.namedEvents})}if(this.prototype.namedAttributes){K.Mixins.applyMixin(W,{namedAttributes:this.prototype.namedAttributes})}if(S){O.each(U.mixins,function(X){K.Mixins.applyMixin(W,X)})}if(W.prototype.namedEvents){K.Mixins.applyMixin(W,K.EventsMixinCreator.create(W.prototype.namedEvents))}if(W.prototype.namedAttributes){W.prototype.namedAttributes=F(W.prototype.namedAttributes);K.Mixins.applyMixin(W,K.AttributesMixinCreator.create(W.prototype.namedAttributes))}if(W.prototype.toJSON){W.prototype.toJSON=A(W.prototype.toJSON)}W.extend=Q;return W}}function G(U,S){var T=U.prototype;var Q=S.prototype;var R=T.set;Q.set=function(a,b,Z){var Y,X=this.namedAttributes;if(!X||a==null){return R.apply(this,arguments)}if(O.isObject(a)){Y=O.clone(a);Z=b}else{Y={};Y[a]=b}for(var W in Y){if(!O.has(Y,W)){continue}if(!O.has(X,W)){throw"Attribute '"+W+"' does not exist"}Y[W]=B(X[W],Y[W])}return R.call(this,Y,Z)};var V=T.get;Q.get=function(W){if(this.namedAttributes&&!O.has(this.namedAttributes,W)){throw"Attribute '"+W+"' does not exist"}return V.apply(this,arguments)}}function C(Q){var S=Q.extend();var R=Q.extend;S.extend=D(R);return S}function J(Q){var R=C(Q);G(Q,R);return R}K.Model=J(N.Model);K.Collection=C(N.Collection);K.View=C(N.View);K.Router=C(N.Router)}());; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:backbone-brace', location = '/static/lib/backbone-brace/backbone.brace-AMD.js' */ define("backbone-brace",["backbone-raw"],function(){return Brace});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:badges', location = '/static/widget/badges/badges.soy' */ // This file was automatically generated from badges.soy. // Please don't edit this file by hand. /** * @fileoverview Templates in namespace stash.widget.badges. */ if (typeof stash == 'undefined') { var stash = {}; } if (typeof stash.widget == 'undefined') { stash.widget = {}; } if (typeof stash.widget.badges == 'undefined') { stash.widget.badges = {}; } stash.widget.badges.pullRequestCount = function(opt_data, opt_ignored) { return '' + ((opt_data.count > 0) ? aui.badges.badge({text: opt_data.count, extraAttributes: {title: AJS.format("There are {0} {1} pull requests",opt_data.count,opt_data.state)}}) : ''); }; if (goog.DEBUG) { stash.widget.badges.pullRequestCount.soyTemplateName = 'stash.widget.badges.pullRequestCount'; } ; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:analytics', location = '/static/util/analytics.js' */ define("util/analytics",["aui","jquery","util/navigator","exports"],function(D,E,C,B){var A="stash.client.";function G(I){var H={d_platform:C.shortPlatform(),d_browser:C.shortBrowser(),d_version:C.majorVersion(),d_windowHeight:window.innerHeight,d_windowWidth:window.innerWidth,d_screenHeight:screen.height,d_screenWidth:screen.width};return E.extend({},I,H)}function F(I,J,H){if(I){if(J!=null&&!E.isPlainObject(J)){throw new Error("Analytics only supports plain objects")}if(I.indexOf(A)!==0){I=A+I}if(H){J=G(J)}var K=E.extend({name:I},{data:J});D.trigger("analytics",K)}}B.add=F;B._mixinDemographics=G});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:html-util', location = '/static/util/html.js' */ define("util/html",["aui","util/function","exports"],function(E,F,P){var M=window.console&&console.error?function(){console.error.apply(console,arguments)}:E.log;var D={OPEN:"open",CLOSE:"close"};function G(){}G.prototype.next=function(){M("NodeStream.next is abstract and must be implemented")};G.prototype.getNextType=function(){M("NodeStream.getNextType is abstract and must be implemented")};G.prototype.getNextTextPosition=function(){M("NodeStream.getNextTextPosition is abstract and must be implemented")};var O=/<\s*(\w+)(?=\s|>)/,C=1;function B(Y,d){var f=0,T=0,Z=Y.length,V="<",c=">";var g,e;var X=d||function(h){M("Not yet implemented")};function b(){g=null;e=false}function W(){if(e||f==null){return }e=true;var h=Y.indexOf(V,f);if(h===f){return }if(h===-1){f=null;T=null}else{T+=X(Y.substring(f,h)).length;f=h}}function U(){W();if(f==null){return null}return Y[f+1]==="/"?D.CLOSE:D.OPEN}var S=new G();var a=[];S.getNextType=function(){return g||(g=U())};S.next=function(){W();if(f==null){return null}var h=this.getNextType();var l=Y.indexOf(c,f),i=l===-1?Z:l+1,j=Y.substring(f,i);var k={type:h,value:j,textPosition:T};if(h===D.OPEN){k.close={type:D.CLOSE,value:"</"+j.match(O)[C]+">"};a.push(T)}f=i;b();return k};S.getNextTextPosition=function(){W();return T};return S}function Q(S){return B(S,function(T){return T.replace(/&|<|>/gm,function(U){switch(U){case"&":return"&";case"<":return"<";case">":return">"}})})}function R(T,U,S){S=S||"string";return typeof T==="function"?T:F.constant(typeof T===S?T:U)}function J(i,W,T){T=T||{};var h=0,U=0,c=i.length,V=D.OPEN,b=R(T.lineStart,""),Z=R(T.lineEnd,"<br />"),Y=R(T.emptyLine,""),X=R(T.lineOffset,1,"number"),e,d;W=W||F.dot("text");function a(){V=D.CLOSE;var j=W(i[h],h).length;d={type:D.CLOSE,value:j?Z(i[h],h):(Y(i[h],h)+Z(i[h],h))};e={type:D.OPEN,value:b(i[h],h),close:d,textPosition:U};U=U+j+X(i[h],h);return e}function g(){h++;d.textPosition=U;V=D.OPEN;e=null;return d}var f={open:a,close:g};var S=new G();S.getNextType=function(){if(h>=c){return null}return V};S.next=function(){if(h>=c){return null}return f[V]()};S.getNextTextPosition=function(){if(h>=c){return null}return U};return S}function L(Z){var W,T=Infinity,U={getNextTextPosition:F.constant(null)};for(var V=0,S=Z.length;V<S;V++){var X=Z[V],Y=X.getNextTextPosition();if(Y!=null&&Y<T){U=X;T=Y;W=V;continue}if(Y===T){if(X.getNextType()===D.CLOSE){U=X;W=V}}}return{index:W,stream:U}}function I(){this._backing=[]}I.prototype.pushAtPriority=function(U,S){var T=this._backing[S]||(this._backing[S]=[]);T.push(U)};I.prototype.popAtPriority=function(S){var T=this._backing[S]||(this._backing[S]=[]);return T.pop()};I.prototype.popPrioritiesAbove=function(V){var U=[],X=this._backing,T=V+1;while(X.length>T){var W=this._backing.pop();if(W){for(var S=W.length-1;S>=0;S--){U.push(W[S])}}}return U};I.prototype.peek=function(){var S=this._backing.length;while(S--){if(this._backing[S]&&this._backing[S].length){return this._backing[S][this._backing[S].length-1]}}return undefined};function N(V){var U=Array.prototype.slice.call(arguments,1),d=0,S=new I(),W=[],Y;var c="";while(true){var g=L(U),h=g.index,T=g.stream,f=T.getNextTextPosition(),Z=f==null,l=Z||f>d;if(W.length&&(l||h>=Y)){for(var b=W.length-1;b>=0;b--){var X=W[b];c+=X.tag.value;S.pushAtPriority(X,X.streamIndex)}W=[];Y=null}if(l){c+=E.escapeHtml(V.substring(d,f||undefined))}if(Z){return c}var m=T.next();if(m!=null){if(m.type===D.CLOSE){S.popAtPriority(h)}else{S.pushAtPriority({streamIndex:h,tag:m},h)}var k=S.popPrioritiesAbove(h);if(k.length){Y=k[0].streamIndex;for(var a=0,e=k.length;a<e;a++){c+=k[a].tag.close.value}W.push.apply(W,k)}c+=m.value}d=f}}var H=document.createElement("div");function A(V,U,W){if(W==="html"||!V.hasChildNodes()){V.innerHTML=U;return }H.innerHTML=U;var S=document.createDocumentFragment(),T=H.childNodes.length;while(T--){S.appendChild(H.childNodes[0])}if(W==="append"){V.appendChild(S)}else{V.insertBefore(S,V.firstChild)}}function K(S){return S.replace(/:/g,"\\:").replace(/\./g,"\\.")}P.quickNDirtyAttach=A;P.NodeStream=G;P.NodeType=D;P.htmlNodeStream=B;P.highlightJsNodeStream=Q;P.lineNodeStream=J;P.mergeStreams=N;P.sanitizeId=K});; ;/* module-key = 'com.atlassian.stash.stash-web-api:state', location = '/static/stash/api/util/state.js' */ define("stash/api/util/state",["jquery","lodash","model/page-state"],function(D,A,B){var F={};var C=["getCurrentUser","getProject","getRepository","getPullRequest","getRevisionRef","getFilePath","getChangeset"];function E(I,H){if(typeof I==="function"&&A.indexOf(C,H)!==-1){var G=B[H];H={getRevisionRef:"getRef",getChangeset:"getCommit"}[H]||H;F[H]=function(){var J=G.call(B);if(J==null){return false}if(typeof J!=="object"){return J}if(J.toJSON){J=J.toJSON()}return D.extend(true,{},J)}}}B.extend=(function(G){return function(){var H=G.apply(this,arguments);A.each(B,E);return H}})(B.extend);A.each(B,E);return F});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:analytics-helper', location = '/static/util/analytics-helper/analytics-helper.js' */ define("util/analytics-helper/analytics-helper",["lodash","util/analytics","util/events","util/text","exports"],function(K,G,M,D,A){var B="internal.stash.ui.";var I=[];function L(){var N=["nav.logo.clicked","nav.projects.clicked","applinks.menu.opened","applinks.menu.clicked","nav.search.focused","nav.search.result.clicked","nav.repositories.opened","nav.repositories.public.clicked","nav.repositories.item.clicked","nav.help.opened","nav.help.item.clicked","nav.globalsettings.clicked","nav.profile.opened","nav.profile.item.clicked","nav.inbox.opened","nav.inbox.tab.selected","nav.inbox.item.clicked","nav.footer.item.clicked","diff-view.viewed","project-list.welcome-mat.item.clicked","project-list.item.clicked","project-list.create.clicked","project-create.change-avatar.clicked","project-create.submitted","repository-list.item.clicked","repository-list.create.clicked"];H(N)}function C(N){return N.replace(/^internal\.stash\.ui\./,"")}function E(O,N){return K.transform(O,function(S,R,Q){var P;P=N?N[Q]:D.camelCaseToDotCase(Q);if(P){S[P]=R}})}function H(N){N.forEach(function(Q){var P;var O=Q;if(K.isObject(Q)){O=Q.name;P=Q.attributesMap}I.push(M.chain().on(F(O),function(R){G.add(C(O),E(R,P))}))})}function F(N){if(K.isString(N)&&N.indexOf(B)!==0){N=B+N}return N}function J(){K.invoke(I,"destroy")}A.init=L;A.destroy=J;A.watchEvents=H;A.prefixEventName=F});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:analytics-helper', location = '/static/util/analytics-helper/analytics-helper-ui-bindings.js' */ define("util/analytics-helper/analytics-helper-ui-bindings",["jquery","lodash","stash/api/util/navbuilder","stash/api/util/state","util/analytics-helper/analytics-helper","util/events","util/html"],function(D,H,I,F,M,K,A){var E="a";var B="click";function J(){var T=D(document);var O=D("#header");var U=D("#app-switcher");var N=D(A.sanitizeId("#com.atlassian.stash.stash-server-web-fragments-help-menu"));var R=D("#user-dropdown-menu");var Q=D("#inbox-pull-requests");var S=[{container:O,eventMap:{"#logo a":"nav.logo.clicked",".projects-link":"nav.projects.clicked",".admin-link":"nav.globalsettings.clicked"}},{container:U,selector:U,event:"aui-dropdown2-show",eventName:"applinks.menu.opened"},{container:U,eventName:"applinks.menu.clicked"},{container:N,selector:N,event:"aui-dropdown2-show",eventName:"nav.help.opened"},{container:N,eventMap:{a:function(){return{eventName:"nav.help.item.clicked",data:{webItemKey:D(this).attr("data-web-item-key")}}}}},{container:R,selector:R,event:"aui-dropdown2-show",eventName:"nav.profile.opened"},{container:R,eventMap:{a:function(){return{eventName:"nav.profile.item.clicked",data:{webItemKey:D(this).attr("data-web-item-key")}}}}},{container:Q,selector:Q,eventName:"nav.inbox.opened"},{container:T,selector:"#inline-dialog-inbox-pull-requests-content a",eventMap:{".menu-item a":function(){return{eventName:"nav.inbox.tab.selected",data:{name:D(this).attr("href")==="#inbox-pull-request-reviewer"?"reviewing":"created"}}},".pull-requests-table td.title a":function(){var V=D(this);return{eventName:"nav.inbox.item.clicked",data:{isAuthor:V.closest(".tabs-pane").is("#inbox-pull-request-author")}}}}},{container:D("#footer ul"),eventMap:{a:function(){return{eventName:"nav.footer.item.clicked",data:{linkId:D(this).closest("li").attr("data-key")}}}}}];var P=[{on:"stash.feature.fileContent.diffViewDataLoaded",callback:function(){if(F.getPullRequest()&&window.location.pathname===I.currentPullRequest().overview().build()){return }var V;if(F.getPullRequest()!==false){V="pullrequest"}else{if(F.getCommit()!==false){V="commit"}else{if(F.getPullRequest()===false&&F.getCommit()===false&&F.getRef()){V="source-view"}else{if(F.getPullRequest()===false&&F.getCommit()===false&&F.getRef()===false){V="create-pullrequest";if(window.location.pathname===I.currentRepo().compare().diff().build()){V="compare-branch"}}}}}var W=require("feature/file-content/diff-view-options").getOptions();return{eventName:"diff-view.viewed",data:{ignoreWhitespace:W.ignoreWhitespace,hideComments:W.hideComments,hideEdiff:W.hideEdiff,diffType:W.diffType,source:V}}}}];S.forEach(C);P.forEach(G)}function G(N){if(N.on){K.on(N.on,function(O){L(N.callback(O))})}}function C(N){N.container.on(N.event||B,N.selector||E,function(Q){if(N.eventName){L(N.eventName);return }var P=D(this);var O=this;H.forEach(N.eventMap,function(S,R){var T;if(P.is(R)){T=H.isFunction(S)?S.call(O,Q):S;if(T){L(T)}}})})}function L(N){if(!N){return }if(H.isString(N)){N={eventName:N}}K.trigger(M.prefixEventName(N.eventName),null,N.data)}D(document).ready(J)});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:analytics-helper', location = '/static/util/analytics-helper/analytics-helper-init.js' */ jQuery(document).ready(function(){require("util/analytics-helper/analytics-helper").init();require("util/analytics-helper/analytics-helper-ui-bindings")});; ;/* module-key = 'com.atlassian.plugins.shortcuts.atlassian-shortcuts-plugin:shortcuts', location = '/js/keycommands.js' */ AJS.bind("initialize.keyboardshortcuts",function(){var D=AJS.$,B=function(F){return(AJS.Data&&AJS.Data.get(F))||AJS.params[F]},A=B("build-number"),E=B("keyboardshortcut-hash");if(!A||!E){throw new Error("build-number and keyboardshortcut-hash must both exist in AJS.Data or AJS.params.")}var C=AJS.contextPath()+"/rest/shortcuts/latest/shortcuts/"+encodeURIComponent(A)+"/"+encodeURIComponent(E);D.getJSON(C,function(H){var F=H.shortcuts;if(!F){throw new Error("Server returned no shortcuts.")}AJS.trigger("shortcuts-loaded.keyboardshortcuts",{shortcuts:F});var I=[];var K={enableContext:function(M){var L=D.grep(F,function(N){return N.context===M});I=I.concat(AJS.whenIType.fromJSON(L,true))}};var G=function(){AJS.trigger("register-contexts.keyboardshortcuts",{shortcutRegistry:K})};G();AJS.bind("add-bindings.keyboardshortcuts",G);var J=function(){D.each(I,function(){this.unbind()});I=[]};AJS.bind("remove-bindings.keyboardshortcuts",J)})});; ;/* module-key = 'com.atlassian.stash.stash-web-plugin:global', location = '/static/soy-overrides.js' */ goog.string.newLineToBr=function(A,B){return A.replace(/\r\n|\r|\n/g,"<br/>")};;