1WRMCB=function(e){var c=console;if(c&&c.log&&c.error){c.log('Error running batched script.');c.error(e);}} 2; 3try { 4/* module-key = 'jira.webresources:almond', location = '/static/lib/almond-noconflict-pre.js' */ 5window.__require=window.require;window.__requirejs=window.requirejs;window.__define=window.define; 6}catch(e){WRMCB(e)}; 7; 8try { 9/* module-key = 'jira.webresources:almond', location = '/static/lib/almond/almond.js' */ 10var requirejs,require,define;!function(e){var n,i,r,t,f={},o={},u={},c={},l=Object.prototype.hasOwnProperty,s=[].slice;function a(e,n){return l.call(e,n)}function p(e,n){var i,r,t,f,o,c,l,s,a,p,g=n&&n.split("/"),d=u.map,y=d&&d["*"]||{};if(e&&"."===e.charAt(0))if(n){e=(g=g.slice(0,g.length-1)).concat(e.split("/"));for(s=0;s<e.length;s+=1)if("."===(p=e[s])){e.splice(s,1);s-=1}else if(".."===p){if(1===s&&(".."===e[2]||".."===e[0]))break;if(s>0){e.splice(s-1,2);s-=2}}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((g||y)&&d){for(s=(i=e.split("/")).length;s>0;s-=1){r=i.slice(0,s).join("/");if(g)for(a=g.length;a>0;a-=1)if((t=d[g.slice(0,a).join("/")])&&(t=t[r])){f=t;o=s;break}if(f)break;if(!c&&y&&y[r]){c=y[r];l=s}}if(!f&&c){f=c;o=l}if(f){i.splice(0,o,f);e=i.join("/")}}return e}function g(n,r){return function(){return i.apply(e,s.call(arguments,0).concat([n,r]))}}function d(e){return function(n){f[e]=n}}function y(i){if(a(o,i)){var r=o[i];delete o[i];c[i]=!0;n.apply(e,r)}if(!a(f,i)&&!a(c,i))throw new Error("No "+i);return f[i]}function h(e){var n,i=e?e.indexOf("!"):-1;if(i>-1){n=e.substring(0,i);e=e.substring(i+1,e.length)}return[n,e]}r=function(e,n){var i,r=h(e),t=r[0];e=r[1];t&&(i=y(t=p(t,n)));if(t)e=i&&i.normalize?i.normalize(e,function(e){return function(n){return p(n,e)}}(n)):p(e,n);else{t=(r=h(e=p(e,n)))[0];e=r[1];t&&(i=y(t))}return{f:t?t+"!"+e:e,n:e,pr:t,p:i}};function q(e){return function(){return u&&u.config&&u.config[e]||{}}}t={require:function(e){return g(e)},exports:function(e){var n=f[e];return void 0!==n?n:f[e]={}},module:function(e){return{id:e,uri:"",exports:f[e],config:q(e)}}};n=function(n,i,u,l){var s,p,h,q,m,v,x=[];l=l||n;if("function"==typeof u){i=!i.length&&u.length?["require","exports","module"]:i;for(m=0;m<i.length;m+=1)if("require"===(p=(q=r(i[m],l)).f))x[m]=t.require(n);else if("exports"===p){x[m]=t.exports(n);v=!0}else if("module"===p)s=x[m]=t.module(n);else if(a(f,p)||a(o,p)||a(c,p))x[m]=y(p);else{if(!q.p)throw new Error(n+" missing "+p);q.p.load(q.n,g(l,!0),d(p),{});x[m]=f[p]}h=u.apply(f[n],x);n&&(s&&s.exports!==e&&s.exports!==f[n]?f[n]=s.exports:h===e&&v||(f[n]=h))}else n&&(f[n]=u);require.analytics("invoked",l||n,i)};requirejs=require=i=function(f,o,c,l,s){if("string"==typeof f){if(t[f])return t[f](o);1===arguments.length&&require.analytics("legacyRequire",f);return y(r(f,o).f)}if(!f.splice){u=f;if(o.splice){f=o;o=c;c=null}else f=e}o=o||function(){};if("function"==typeof c){c=l;l=s}l?n(e,f,o,c):setTimeout((function(){n(e,f,o,c)}),4);return i};i.config=function(e){(u=e).deps&&i(u.deps,u.callback);return i};require.analytics=function(e,n,i){};(define=function(e,n,i){if(!n.splice){i=n;n=[]}if(!a(f,e)&&!a(o,e)){o[e]=[e,n,i];require.analytics("defined",e,n)}}).amd={jQuery:!0}}(); 11}catch(e){WRMCB(e)}; 12; 13try { 14/* module-key = 'jira.webresources:almond', location = '/static/lib/almond-noconflict-post.js' */ 15if(window.__require){window.require=window.__require;window.requirejs=window.__requirejs;window.define=window.__define}else delete window.define.amd;!function(e){var i=window.require;window.require=function(e,w){var n=i.apply(window,arguments);"string"==typeof e&&(n instanceof Array||"object"!=typeof n&&"function"!=typeof n||(n.__amdModuleName=e));return n};window.require.analytics=i.analytics}();try{delete window.__require}catch(e){window.__require=void 0}try{delete window.__requirejs}catch(e){window.__requirejs=void 0}try{delete window.__define}catch(e){window.__define=void 0} 16}catch(e){WRMCB(e)}; 17; 18try { 19/* module-key = 'jira.webresources:almond-analytics', location = '/static/lib/almond-analytics.js' */ 20!function(){var e,t=[],a=function(){var e=window.location.pathname;return e=(e=e.replace(/(projects?|issues?|browse)\/[A-Z][A-Z0-9]+\-\d+(.*|$)/gi,"$1/ISSUEKEY$2")).replace(/(projects?|issues?|browse)\/[A-Z][A-Z0-9](\/|$)/gi,"$1/PROJECTKEY$2")}();if("function"==typeof require.analytics){var n=document.querySelector("meta[name=ajs-enabled-dark-features]");if((n=n&&n.getAttribute("content")||"")&&-1!==n.indexOf("amd.loader.anal
20ytics.enabled")){e=require.analytics;require.analytics=function(e,n,r){var i={path:a,moduleName:n,deps:r,afterDomReady:"interactive"===document.readyState||"complete"===document.readyState};t.push({name:"amd.loader."+e,properties:i})};setTimeout((function(){if(AJS&&void 0!==AJS.EventQueue){for(var a=0,n=t.length;a<n;a++)AJS.EventQueue.push(t[a]);t=AJS.EventQueue}else{t.length=0;require.analytics=e}}),5e3)}}}(); 21}catch(e){WRMCB(e)}; 22; 23try { 24/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:root', location = 'js/root.js' */ 25window.WRM||(window.WRM={});window.AJS||(window.AJS={}); 26}catch(e){WRMCB(e)}; 27; 28try { 29/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:format', location = 'js/data/format.js' */ 30(function(){function h(m,...r){const n=/'(?!')/g,t=/^\d+$/,u=/^(\d+),\s*number\s*$/,v=/^(\d+),\s*choice\s*,\s*(.+)/,w=/^(\d+)\s*([#<])(.+)/,x=/\|\s*/,y=function(a,c){if(null!==a.match(t))return a=parseInt(a,10),c.length>a?c[a]:"";var d=a.match(u);if(null!==d)return a=parseInt(d[1],10),c.length>a?c[a]:"";var b=a.match(v);if(null!==b){d=parseInt(b[1],10);d=c.length>d?c[d]:null;if(null===d)return"";b=b[2].split(x);let e=!1,f=null,k="";for(let l=0;l<b.length;l++){const g=b[l].match(w);if(null==g){e=!0; 31continue}const p=parseInt(g[1],10);if(d===p&&"#"===g[2]){k=g[3];break}if(d<=p){k=f?f:g[3];break}l===b.length-1&&(k=g[3]);f=g[3]}e&&console&&console.error&&console.error('The format "'+a+'" from message "'+m+'" is invalid.');return h(k,...c)}return""},q=function(a){var c=!1;let d=-1,b=0;for(let e=0;e<a.length;e++){const f=a.charAt(e);"'"===f&&(c=!c);if(!c)if("{"===f)0===b&&(d=e),b++;else if("}"===f&&0<b&&(b--,0===b))return c=[],c.push(a.substring(0,e+1)),c.push(a.substring(0,d)),c.push(a.substring(d+ 321,e)),c}return null};return function(a,c){let d="";if(!a)return d;let b=q(a);for(;b;)a=a.substring(b[0].length),d+=b[1].replace(n,""),d+=y(b[2],c),b=q(a);return d+=a.replace(n,"")}(m,r)}"function"===typeof define&&define("wrm/format",function(){return h});WRM.format=h;AJS.format=h})(); 33}catch(e){WRMCB(e)}; 34; 35try { 36/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:format', location = 'js/data/i18n.js' */ 37(function(){const b={km:new Map,format:WRM.format,getText(a,...c){b.km.has(a)||console.debug(`No translation found for '${a}'. Have you included the "jsI18n" transformation in your web-resource configuration?`);a=b.km.get(a)||a;return b.format.apply(null,[a,...c])}};"function"===typeof define&&define("wrm/i18n",()=>b);WRM.I18n=b;AJS.I18n=b})(); 38}catch(e){WRMCB(e)}; 39; 40try { 41/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:data', location = 'js/data/data.js' */ 42(function(g){function h(a,e,c){try{var b=e[a];var d=b?JSON.parse(b):b;delete e[a];c.set(a,!0);return d}catch(f){return console.error(`Exception extracting data with key '${a}'`,f),g}}function m(a,e,c){setTimeout(()=>{try{a(e)}catch(b){console.error(`Exception calling data callback for '${c}'`,b)}})}function k(a,e,c,b){for(let d of Object.keys(a))if(c.has(d)){const f=h(d,a,e),l=f!==g?c.get(d):b.get(d);c.delete(d);b.delete(d);l&&m(l,f,d)}}WRM._createDataImpl=function(a){a._unparsedData=a._unparsedData|| 43{};a._unparsedErrors=a._unparsedErrors||{};a._claimedData=a._claimedData||new Map;const e=new Map,c=new Map;a._dataArrived=function(){k(a._unparsedData,a._claimedData,e,c);k(a._unparsedErrors,a._claimedData,c,c)};return{claim(b,d,f){if(d||f)d&&!e.has(b)&&e.set(b,d),f&&!c.has(b)&&c.set(b,f),a._dataArrived();else{if(a._claimedData.has(b))return console.error(`Data with key '${b}' has already been claimed`),g;if(Object.hasOwnProperty.call(a._unparsedData,b))return h(b,a._unparsedData,a._claimedData)}}}}; 44WRM.data=WRM._createDataImpl(WRM);"function"===typeof define&&define("wrm/data",()=>WRM.data)})(); 45}catch(e){WRMCB(e)}; 46; 47try { 48/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path', location = 'js/data/context-path.js' */ 49(function(){function a(){null===b&&(b=WRM.data.claim("com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path.context-path"));return b}var b=null;"function"===typeof define&&define("wrm/context-path",()=>a);WRM.contextPath=a;AJS.contextPath=a})(); 50}catch(e){WRMCB(e)}; 51; 52try { 53/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-rest:web-resource-manager', location = '
53js/dist/wrm.js' */ 54!function(){"use strict";const e=window.WRM.contextPath,r={debug:1,info:2,log:3,warn:4,error:5};let t="log";const n=(e,n)=>(...s)=>{r[e]>=(r[t]||r.log)&&console[e](...n,...s)},s=({context:e="default"})=>{const t=["[WRM]",`[${e}]`];return Object.keys(r).reduce(((e,r)=>Object.assign(Object.assign({},e),{[r]:n(r,t)})),{})},i=e=>{t=e},o=s({context:"tracker"}),a={resource:"wr!",context:"wrc!"},u=e=>e.length>0&&"-"!==e[0];class c{constructor(e){this._container=e,this._initialized=!1,this._resourceKeys=new Set}_getLoaded(){return Array.from(this._resourceKeys)}getResources(){return this._initialized||(this._container.querySelectorAll("[data-initially-rendered]").forEach((e=>{var r,t;"SCRIPT"!==e.nodeName&&"LINK"!==e.nodeName||this.addResource(null!==(r=e.getAttribute("data-wrm-key"))&&void 0!==r?r:"",null!==(t=e.getAttribute("data-wrm-batch-type"))&&void 0!==t?t:"")})),this._initialized=!0),this._getLoaded()}addResource(e,r){const t=r.toLowerCase();if(!Object.keys(a).includes(t)){const t=`Unknown batch type '${r}' discovered when adding a resource '${e}'`;throw o.error(t),new Error(t)}const n=a[t];e.split(",").filter(u).forEach((e=>{this._resourceKeys.add(`${n}${e}`)}))}}const d=s({context:"queue"}),l=e=>{const r=[];return{enqueue:(t,n)=>new Promise(((s,i)=>{d.debug("Resources entering the queue... ",{resourceKeys:t,phase:e}),r.push({phase:e,resourceKeys:t,resolve:s,reject:i}),n()})),isNotEmpty:()=>r.length>0,drain:()=>{const e=[...r];return r.length=0,e}}},h=e=>({result:r,queuedElements:t})=>Promise.all(t.map((t=>t[e](r)))),g=e=>{const r={require:l("require"),interaction:l("interaction")},t=[],n=()=>Promise.all(t.flatMap((e=>e.drain()))),s=()=>{t.some((e=>e.isNotEmpty()))?(d.debug("There are resources waiting in queue: ",r),i?d.debug("Draining already scheduled"):(d.debug("Scheduling next draining"),i=Promise.resolve().then(n).then(e).then(h("resolve"),h("reject")).finally((()=>{d.debug("Resources from drained queues processed"),i=void 0,s()})))):d.debug("Nothing waiting in queue. Draining won't be scheduled this time.")};var i;switch(document.readyState){default:d.error("There's a missing readyState, fix it ASAP! No guarantees the page will ever work nor load");case"loading":document.addEventListener("DOMContentLoaded",(()=>{t.push(r.interaction),s()}),{once:!0}),document.addEventListener("readystatechange",(()=>{"interactive"===document.readyState&&(t.push(r.require),s())}),{once:!0});break;case"interactive":document.addEventListener("DOMContentLoaded",(()=>{t.push(r.interaction),s()}),{once:!0}),t.push(r.require),s();break;case"complete":t.push(r.require),t.push(r.interaction),s()}return console.debug(`[WRM] Client-side initialised during '${document.readyState}' state`),{enqueue:(e,t)=>r[t].enqueue(e,s)}},p="JS",m="CSS",y=e=>(document.head.appendChild(e),new Promise(((r,t)=>{e.addEventListener("load",r),e.addEventListener("error",t)}))),f=e=>{const[r,t]=e.split("!");return"js"===r?(e=>{const r=document.createElement("script");return r.src=e,r.async=!1,r.defer=!0,y(r)})(t):"css"===r?(e=>{const r=document.createElement("link");return r.href=e,r.rel="stylesheet",y(r)})(t):Promise.reject(new Error("Unsupported resource identifier"))},q=1,R=2,w=4,b=8,_=s({context:"handler"}),v=()=>{};function M(e){_.warn("asynchronously loading a CSS resource containing a media query",e.url);var r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",e.url),r.setAttribute("media",e.media),document.head.appendChild(r)}function P(e){return Boolean(document.querySelector(`script[src='${e}']`))}function W(e){return Boolean(document.querySelector(`link[href='${e}']`))}function E(e,r){return e.filter((e=>e.phase===r)).flatMap((e=>e.resourceKeys))}"curl"in WRM||(WRM.curl=()=>{_.error("WRM.curl is deprecated. Use WRM.require instead. See https://bitbucket.org/atlassian/atlassian-plugins-webresource/src/master/UPGRADE_500.md")});const S=e=>e.join(","),k=e=>{const r=window.WRM.__localeOverride;if(void 0===r)return e;if("string"!=typeof r||""===r.trim())return _.warn("Locale override failed. The window.WRM.__localeOverride should either be undefined or a non-empty, non-blank string."),e;try{const t=new URL(e);return t.searchParams.set("locale",r),_.warn("Resource locale is overriden by window.WRM.__localeOverride: ",r),t.toString()}catch(r){return _.warn("Locale override failed. Invalid resource URL. Falling back to the default locale."),e}};const A=new class{constructor(){this._requireCache={"":Promise.resolve()},this._queueManager=g(this._getScriptsForResources.bind(this)),this._tracker=new c(document)}_genericRequire(e,r,t){const n=[].concat(e).filter((e=>"string"==typeof e&&e.trim().length>0)),s=S(n);this._requireCache.hasOwnProperty(s)||(this._requireCache[s]=new Promise(((e,r)=>{this._resolveAsync(n,t.phase).then(e,r)})));const i=(e=>{const r=e;let t="pending";return r.state=()=>t,r.done=n=>(e.then((()=>(t="resolved",n())),v),r),r.fail=n=>(e.catch((e=>(t="rejected",n.apply(void 0,e)))),r),r.always=t=>(e.finally(t),r),r.promise=()=>r,r.progress=()=>r,r})(this._requireCache[s]);return"function"==typeof r&&i.done(r),i}require(e,r){return this._genericRequire(e,r,{phase:"require"})}requireLazily(e,r){return this._genericRequire(e,r,{phase:"interaction"})}
54_resolveAsync(e,r){return this._queueManager.enqueue(e,r).catch((([r,t])=>{if(r!==R){const r=S(e);delete this._requireCache[r]}return Promise.reject(t)}))}_processResourceResponse({unparsedData:e,unparsedErrors:r,resources:t}){if(e&&(WRM._unparsedData||(WRM._unparsedData={}),Object.assign(WRM._unparsedData,e),WRM._dataArrived()),r&&(WRM._unparsedErrors||(WRM._unparsedErrors={}),Object.assign(WRM._unparsedErrors,r),WRM._dataArrived()),!t.length)return _.debug("There is nothing to be requested by resource-loader"),Promise.resolve();const n=[],s=[];for(let e of t){const r=k(e.url);this._tracker.addResource(e.key,e.batchType),e.resourceType===p?P(r)||n.push(`js!${r}`):e.resourceType===m?W(r)||(e.media&&"all"!==e.media?s.push(e):n.push(`css!${r}`)):_.log("Unknown resource type required",r)}return _.log("Downloading resources",n),new Promise((function(e,r){var t,i,o;_.debug("resource-loader requesting resources: ",n),t=n,i=(...r)=>{s.forEach(M),_.debug("resource-loader resolves",r),e(r)},o=(...e)=>{_.debug("resource-loader fails",e),r(e)},Promise.all(t.map(f)).then(i,o)}))}_getScriptsForResources(r){if(0===r.length)return _.debug("Nothing to request from WRM API"),Promise.resolve({result:void 0,queuedElements:r});const t={require:E(r,"require"),interaction:E(r,"interaction"),exclude:this._tracker.getResources()};return _.debug("Payload for WRM API call prepared: ",t),new Promise(((n,s)=>{let i;const o=e=>r=>(i=i||[e,r],Promise.reject());_.debug("Calling WRM API..."),fetch(e()+"/rest/wrm/2.0/resources",{method:"POST",cache:"no-cache",credentials:"same-origin",mode:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((e=>e.ok?e.json():Promise.reject(e)),o(w)).then((({require:e,interaction:r})=>{_.debug("WRM API responded: ",{require:e,interaction:r});return(()=>this._processResourceResponse(e))().then((()=>this._processResourceResponse(r)))}),o(q)).then((e=>n({result:e,queuedElements:r})),o(R)).catch((e=>{const t=e?[b,e]:i;_.debug("WRM API call failed",t),s({result:t,queuedElements:r})}))}))}},L=e=>(r,t)=>A[e](r,t),j=L("require"),C=L("requireLazily");WRM.require=j,WRM.requireLazily=C,WRM.setLoggingLevel=i,"function"==typeof define&&(define("wrm/require",(()=>j)),define("wrm/require-lazily",(()=>C)),define("wrm/set-logging-level",(()=>i)),define("wrm",(()=>WRM)))}(); 55 56}catch(e){WRMCB(e)}; 57; 58try { 59/* module-key = 'com.atlassian.auiplugin:common-runtime', location = 'aui.chunk.3dfbc63aaeb7f0b69e57--954b70c531c7e3db7da9.js' */ 60(()=>{"use strict";var e,a,i={},t={};function n(e){var a=t[e];if(void 0!==a)return a.exports;var u=t[e]={exports:{}};return i[e].call(u.exports,u,u.exports,n),u.exports}n.m=i,e=[],n.O=(a,i,t,u)=>{if(!i){var o=1/0;for(l=0;l<e.length;l++){for(var[i,t,u]=e[l],c=!0,r=0;r<i.length;r++)(!1&u||o>=u)&&Object.keys(n.O).every((e=>n.O[e](i[r])))?i.splice(r--,1):(c=!1,u<o&&(o=u));if(c){e.splice(l--,1);var s=t();void 0!==s&&(a=s)}}return a}u=u||0;for(var l=e.length;l>0&&e[l-1][2]>u;l--)e[l]=e[l-1];e[l]=[i,t,u]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var i in a)n.o(a,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:a[i]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((a,i)=>(n.f[i](e,a),a)),[])),n.u=e=>"aui.chunk."+{592:"7bcca83490abea2a3ec2",915:"d801d27f15d7a7899ab9",1138:"db5ba8db9d7b5a2a98d7",2186:"90cb3ebda8bc53042fb8",2735:"b98efee0c309272462c7",5177:"56a2de85f671c57d5b30",6567:"95c10f2118a9a45836b3",6917:"310659e664a6eca28e5c",7498:"4c15162683e31a6b77f9",7995:"c370ff27922b5c222c50"}[e]+"--"+{592:"a7ef6d14ed45c21695df",915:"b5c2805a32c37b8a1eda",1138:"56324018c75f94081b33",2186:"760db2f256567a72b359",2735:"b4eb4ff09ad2f9355d55",5177:"5b9b67bc5ff2d5187bef",6567:"cdd7c87415f7616fa023",6917:"40f93102b3bcc593d2bd",7498:"6feb52ab647ec37caac1",7995:"4c8bcae4eb3b20e2cb2b"}[e]+".js",n.miniCssF=e=>({263:"aui.page.dark-mode",328:"aui.splitchunk.a61395d23c",731:"aui.page.focus",908:"aui.component.form.date-select",910:"aui.splitchunk.vendors--702a95f3b7",953:"aui.component.tabs",1263:"aui.splitchunk.44a664103a",1326:"aui.splitchunk.vendors--3442b04575",1484:"aui.splitchunk.vendors--2c9afa705d",1589:"aui.splitchunk.fc7962e097",1700:"aui.splitchunk.fe1bcd26f2",2190:"aui.splitchunk.ce4a1e45e0",2286:"aui.component.sortable-table",2602:"aui.pattern.lozenge",2673:"aui.splitchunk.b31d61f755",2710:"aui.pattern.label",2758:"aui.component.form.file-select",2965:"aui.splitchunk.b3f8cd7728",3002:"aui.splitchunk.0bd4341e97",3142:"aui.splitchunk.7a6058a025",3393:"aui.splitchunk.vendors--205ddc970a",3499:"aui.splitchunk.778837af2c",3910:"aui.splitchunk.49995219e2",3981:"aui.component.form.checkbox-multi-select",4192:"aui.page.design-tokens-compatibility-themes",4563:"aui.component.progressbar",4671:"aui.component.flag",4700:"aui.component.form.single-select",4798:"aui.pattern.multi-step-progress",4825:"aui.deprecated.pattern.toolbar1",4903:"aui.component.form.select2",5147:"aui.splitchunk.vendors--38baed5f09",5366:"aui.splitchunk.1f82c35ea5",5387:"aui.deprecated.component.dialog1",5388:"aui.splitchunk.51ee36ecdd",5669:"aui.pattern.help",5828:"aui.splitchunk.47718634a4",6327:"aui.splitchunk.5fe669cbc9",6412:"aui.splitchunk.871e90a3b7",6483:"aui.splitchunk.361829ca76",6495:"aui.splitchunk.02009f6265",6641:"aui.page.design-tokens-base-themes-css",6738:"aui.deprecated.component.dropdown1",6991:"aui.component.form.toggle",7381:"aui.splitchunk.vendors--4a3ab9ef75",7571:"aui.splitchunk.02143d3841",8071:"aui.splitchunk.bb9d7904fa",8072:"aui.splitchunk.a092119004",8115:"aui.splitchunk.11fa269f31",8308:"aui.splitchunk.ae2ebdffe7",8359:"aui.component.banner",8574:"aui.splitchunk.caeac40c12",8607:"aui.component.async-header",8608:"aui.component.expander",8847:"aui.component.sidebar",9245:"aui.component.dialog2",9385:"aui.splitchunk.vendors--370ef9fb90",9489:"aui.splitchunk.3c42e7d257",9803:"aui.component.restful-table",9924:"aui.splitchunk.5e80a25b41"}[e]+".css"),n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
60}(),n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),a={},n.l=(e,i,t,n)=>{if(a[e])a[e].push(i);else{var u,o;if(void 0!==t)for(var c=document.getElementsByTagName("script"),r=0;r<c.length;r++){var s=c[r];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")=="__auiRuntime:"+t){u=s;break}}if(u){a[e]=[i];var l=(i,t)=>{u.onerror=u.onload=null,clearTimeout(d);var n=a[e];if(delete a[e],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach((e=>e(t))),i)return i(t)},d=setTimeout(l.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=l.bind(null,u.onerror),u.onload=l.bind(null,u.onload),o&&document.head.appendChild(u)}else{o=!0;const e=(t||"").replace(/^chunk-/,"");WRM.require("wrc!com.atlassian.auiplugin:"+e).then((()=>i()),(e=>{var a=new Event("missing");a.data=e,i(a)}))}}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="","undefined"!=typeof AJS&&(n.p=AJS.contextPath()+"/s/fa869e13-6406-4f93-afb6-dab61fffc8ee/_/download/resources/com.atlassian.auiplugin:assets-fa869e13-6406-4f93-afb6-dab61fffc8ee/"),(()=>{var e={1502:0,3393:0,9385:0,6327:0,1263:0,8574:0,5366:0,3910:0,8115:0,5388:0,1700:0,5828:0,9489:0,2965:0,7571:0,6495:0,8071:0,6412:0,2673:0,9924:0,6483:0,3142:0};n.f.j=(a,i)=>{var t=n.o(e,a)?e[a]:void 0;if(0!==t)if(t)i.push(t[2]);else if(/^(1(263|502|700)|3(142|393|910)|5(366|388|828)|6(4(12|83|95)|327)|8(071|115|574)|9(385|489|924)|2673|2965|7571)$/.test(a))e[a]=0;else{var u=new Promise(((i,n)=>t=e[a]=[i,n]));i.push(t[2]=u);var o=n.p+n.u(a),c=new Error;n.l(o,(i=>{if(n.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var u=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;c.message="Loading chunk "+a+" failed.\n("+u+": "+o+")",c.name="ChunkLoadError",c.type=u,c.request=o,t[1](c)}}),"chunk-"+a,a)}},n.O.j=a=>0===e[a];var a=(a,i)=>{var t,u,[o,c,r]=i,s=0;if(o.some((a=>0!==e[a]))){for(t in c)n.o(c,t)&&(n.m[t]=c[t]);if(r)var l=r(n)}for(a&&a(i);s<o.length;s++)u=o[s],n.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return n.O(l)},i=globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[];i.forEach(a.bind(null,0)),i.push=a.bind(null,i.push.bind(i))})()})(); 61}catch(e){WRMCB(e)}; 62; 63try { 64/* module-key = 'com.atlassian.auiplugin:split_aui.page.reset', location = 'aui.chunk.38f09d996ce35cd2740c--368763660a373deb9856.js' */ 65"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7970],{620:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[1263],(()=>{return a=620,u(u.s=a);var a}));u.O()}]); 66}catch(e){WRMCB(e)}; 67; 68try { 69/* module-key = 'com.atlassian.auiplugin:split_aui.page.typography', location = 'aui.chunk.63e71f328511fe306778--adab36e006c7d36e72e0.js' */ 70"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5110],{4126:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[1263,5366],(()=>{return a=4126,u(u.s=a);var a}));u.O()}]); 71}catch(e){WRMCB(e)}; 72; 73try { 74/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.page-layout', location = 'aui.chunk.5b1a18919ced37fcc4a3--58d6c43495c4421f77b4.js' */ 75"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9632],{5264:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[1263,5366,3910,9924],(()=>{return a=5264,u(u.s=a);var a}));u.O()}]); 76}catch(e){WRMCB(e)}; 77; 78try { 79/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--51bd201801', location = 'aui.chunk.3e7c462dfe57a6022a8a--2e78efe47375aaa5027a.js' */ 80(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8658],{6221:(e,t)=>{var n,r,i;r=[t],n=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t="data-skate-ignore";e.ATTR_IGNORE=t;var n="a";e.TYPE_ATTRIBUTE=n;var r="c";e.TYPE_CLASSNAME=r;var i="t";e.TYPE_ELEMENT=i},void 0===(i="function"==typeof n?n.apply(t,r):n)||(e.exports=i)},2894:(e,t)=>{var n,r,i;r=[t,e],n=function(e,t){"use strict";t.exports=function(e){var t=void 0===arguments[1]?"":arguments[1],n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n}},void 0===(i="function"==typeof n?n.apply(t,r):n)||(e.exports=i)},5310:(e,t,n)=>{var r,i,o;i=[t,e,n(5108),n(2740),n(2580),n(1590),n(9537)],r=function(e,t,n,r,i,o,a){"use strict";var s,u=(s=n)&&s.__esModule?s.default:s,d=r.initElements,c=r.removeElements,l=a.getClosestIgnoredElement;function v(e){for(var t=e.length,n=0;n<t;n++){var r=e[n],i=r.addedNodes,o=r.removedNodes;i&&i.length&&!l(i[0].parentNode)&&d(i),o&&o.length&&c(o)}}function f(){var e=new window.MutationObserver(v);return e.observe(document,{childList:!0,subtree:!0}),e}t.exports={register:function(e){return e&&this.unregister(),u.observer||(u.observer=f()),this},unregister:function(){return u.observer&&(u.observer.disconnect(),u.observer=void 0),this}}},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},1590:(e,t)=>{var n,r,i;r=[t],void 0===(i="function"==typeof(n=function(e){"use strict";var t=/MSIE/.test(navigator.userAgent),n=/Trident/.test(navigator.userAgent),r=t||n,i=window.HTMLElement.prototype;function o(e,t){var n=e.childNodes;if(n)for(var r=n.length,i=0;i<r;i++){var a=n[i];t(a,e),o(a,t)}}function a(){var e=Object.getOwnPropertyDescriptor(i,"innerHTML"),t=function(){return e.get.call(this)};t._hasBeenEnhanced=!0,Object.defineProperty(i,"innerHTML",{get:t,set:function(t){o(this,(function(e,t){var n=document.createEvent("MutationEvent");n.initMutationEvent("DOMNodeRemoved",!0,!1,t,null,null,null,null),e.dispatchEvent(n)})),e.set.call(this,t)}})}if(r){var s=Object.getOwnPropertyDescriptor(i,"innerHTML");s&&s.get._hasBeenEnhanced||(n&&(window.MutationObserver=window.JsMutationObserver||window.MutationObserver),a())}})?n.apply(t,r):n)||(e.exports=i)},5108:(e,t,n)=>{var r,i,o;i=[t,e,n(6996)],r=function(e,t,n){"use strict";var r,i="__skate_"+(r=n,r&&r.__esModule?r.default:r).replace(/[^\w]/g,"_");window[i]||(window[i]={observer:void 0,registry:{}}),t.exports=window[i]},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},2740:(e,t,n)=>{var r,i,o;i=[t,n(6221),n(2894),n(2580),n(937),n(9537)],r=function(e,t,n,r,i,o){"use strict";
80var a=function(e){return e&&e.__esModule?e.default:e};Object.defineProperty(e,"__esModule",{value:!0});var s=t.ATTR_IGNORE,u=a(n),d=a(i),c=o.camelCase,l=o.elementContains,v=o.hasOwn,f=o.inherit,h=o.objEach,p=window.Node,m=window.HTMLElement.prototype,b=m.matches||m.msMatchesSelector||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector,g=!b.call(document.createElement("div"),"div"),E=function(e,t){if(g){var n=e.cloneNode();return document.createElement("div").appendChild(n),b.call(n,t)}return b.call(e,t)},y=/Edge/.test(navigator.userAgent);function w(e){var t=e.split(" ");return{name:t.shift(),delegate:t.join(" ")}}function N(e,t){var n=t.attributes;if("object"==typeof n)for(var r in n)if(v(n,r)&&v(n[r],"value")&&!e.hasAttribute(r)){var i=n[r].value;i="function"==typeof i?i(e):i,e.setAttribute(r,i)}}function M(e,t,n){Object.defineProperty(e,n,{get:function(){return this.getAttribute(t)},set:function(e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}})}function O(e,t){var n=t.attributes;if("object"==typeof n)for(var r in n){var i=c(r);v(n,r)&&!v(e,i)&&M(e,r,i)}}function _(e,t,n){var r,i,o,a=n.name,s=n.newValue;y&&(o=u(e,"cachedAttributeOldValues"));var d=y&&v(o,a)?o[a]:n.oldValue,c="string"==typeof s,l="string"==typeof d,f=t.attributes,h=f&&f[a];!l&&c?i="created":l&&c?i="updated":l&&!c&&(i="removed"),y&&("removed"===i?delete o[a]:o[a]=s),h&&"function"==typeof h[i]?r=h[i]:h&&"function"==typeof h.fallback?r=h.fallback:"function"==typeof h?r=h:"function"==typeof f&&(r=f),s=void 0===s?null:s,d=void 0===d?null:d,r&&r(e,{type:i,name:a,newValue:s,oldValue:d})}function T(e,t){var n,r=e.attributes,i=[],o=r.length;for(n=0;n<o;n++)i.push(r[n]);for(n=0;n<o;n++){var a=i[n];_(e,t,{name:a.nodeName,newValue:a.value||a.nodeValue})}}function A(e,t){var n=e.attributes;t.attributes&&!d.isNativeCustomElement(t.id)&&new window.MutationObserver((function(r){r.forEach((function(r){var i=r.attributeName,o=n[i];_(e,t,{name:i,newValue:o&&(o.value||o.nodeValue),oldValue:r.oldValue})}))})).observe(e,{attributes:!0,attributeOldValue:!0})}function L(e,t){function n(t,n){return function(r){if(!n)return t(e,r,e);for(var i=r.target;i&&i!==document&&i!==e.parentNode;){if(E(i,n))return t(e,r,i);i=i.parentNode}}}"object"==typeof t.events&&h(t.events,(function(t,r){var i=w(r),o=!!i.delegate&&("blur"===i.name||"focus"===i.name);e.addEventListener(i.name,n(t,i.delegate),o)}))}function D(e,t){var n=u(e,t.id);n.created||(n.created=!0,f(e,t.prototype,!0),t.template&&!e.hasAttribute(t.resolvedAttribute)&&t.template(e),e.removeAttribute(t.unresolvedAttribute),e.setAttribute(t.resolvedAttribute,""),L(e,t),A(e,t),O(e,t),N(e,t),T(e,t),t.created&&t.created(e))}function x(e,t){var n=u(e,t.id);n.attached||l(document,e)&&(n.attached=!0,t.attached&&t.attached(e),n.detached=!1)}function C(e,t){var n=u(e,t.id);n.detached||(n.detached=!0,t.detached&&t.detached(e),n.attached=!1)}function S(e,t){D(e,t),x(e,t)}function k(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===p.ELEMENT_NODE&&!n.attributes[s]){for(var r=d.getForElement(n),i=r.length,o=0;o<i;o++)S(n,r[o]);var a=n.childNodes||[];a.length&&k(a)}}}function V(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===p.ELEMENT_NODE){V(n.childNodes);for(var r=d.getForElement(n),i=r.length,o=0;o<i;o++)C(n,r[o])}}}e.initElements=k,e.removeElements=V,e.triggerAttached=x,e.triggerAttributeChanged=_,e.triggerCreated=D,e.triggerDetached=C},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},2580:(e,t)=>{var n,r,i;r=[t],void 0===(i="function"==typeof(n=function(e){"use strict";var t;t=window, 81/** 82 * @license 83 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 84 * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 85 * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 86 * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 87 * Code distributed by Google as part of the polymer project is also 88 * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 89 */ 90"undefined"==typeof WeakMap&&function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+t+++"__"};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=void 0,0))},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){if(!e.JsMutationObserver){var t,n=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))t=setTimeout;else if(window.setImmediate)t=window.setImmediate;else{var r=[],i=String(Math.random());window.addEventListener("message",(function(e){if(e.data===i){var t=r;r=[],t.forEach((function(e){e()}
90))}})),t=function(e){r.push(e),window.postMessage(i,"*")}}var o,a,s=!1,u=[],d=0;p.prototype={observe:function(e,t){if(e=l(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var r,i=n.get(e);i||n.set(e,i=[]);for(var o=0;o<i.length;o++)if(i[o].observer===this){(r=i[o]).removeListeners(),r.options=t;break}r||(r=new M(this,e,t),i.push(r),this.nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach((function(e){for(var t=n.get(e),r=0;r<t.length;r++){var i=t[r];if(i.observer===this){i.removeListeners(),t.splice(r,1);break}}}),this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}},M.prototype={enqueue:function(e){var t=this.observer.records_,n=t.length;if(t.length>0){var r=N(t[n-1],e);if(r)return void(t[n-1]=r)}else c(this.observer);t[n]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=n.get(e);t||n.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach((function(e){this.removeListeners_(e);for(var t=n.get(e),r=0;r<t.length;r++)if(t[r]===this){t.splice(r,1);break}}),this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,r=e.target;(o=new g("attributes",r)).attributeName=t,o.attributeNamespace=n;var i=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;h(r,(function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||-1!==e.attributeFilter.indexOf(t)||-1!==e.attributeFilter.indexOf(n)))return e.attributeOldValue?E(i):o}));break;case"DOMCharacterDataModified":var o=g("characterData",r=e.target);i=e.prevValue,h(r,(function(e){if(e.characterData)return e.characterDataOldValue?E(i):o}));break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var a,s,u=e.target;"DOMNodeInserted"===e.type?(a=[u],s=[]):(a=[],s=[u]);var d=u.previousSibling,c=u.nextSibling;(o=g("childList",e.target.parentNode)).addedNodes=a,o.removedNodes=s,o.previousSibling=d,o.nextSibling=c,h(e.relatedNode,(function(e){if(e.childList)return o}))}y()}},e.JsMutationObserver=p,e.MutationObserver||(e.MutationObserver=p,p._isPolyfilled=!0)}function c(e){u.push(e),s||(s=!0,t(v))}function l(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function v(){s=!1;var e=u;u=[],e.sort((function(e,t){return e.uid_-t.uid_}));var t=!1;e.forEach((function(e){var n=e.takeRecords();f(e),n.length&&(e.callback_(n,e),t=!0)})),t&&v()}function f(e){e.nodes_.forEach((function(t){var r=n.get(t);r&&r.forEach((function(t){t.observer===e&&t.removeTransientObservers()}))}))}function h(e,t){for(var r=e;r;r=r.parentNode){var i=n.get(r);if(i)for(var o=0;o<i.length;o++){var a=i[o],s=a.options;if(r===e||s.subtree){var u=t(s);u&&a.enqueue(u)}}}}function p(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++d}function m(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function b(e){var t=new m(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function g(e,t){return o=new m(e,t)}function E(e){return a||((a=b(o)).oldValue=e,a)}function y(){o=a=void 0}function w(e){return e===a||e===o}function N(e,t){return e===t?e:a&&w(e)?a:null}function M(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}}(t)})?n.apply(t,r):n)||(e.exports=i)},937:(e,t,n)=>{var r,i,o;i=[t,e,n(6221),n(5108),n(9537)],r=function(e,t,n,r,i){"use strict";
90var o=function(e){return e&&e.__esModule?e.default:e},a=n.TYPE_ATTRIBUTE,s=n.TYPE_CLASSNAME,u=n.TYPE_ELEMENT,d=o(r),c=i.hasOwn,l=i.isValidNativeCustomElementName,v=i.supportsNativeCustomElements;function f(e){var t=e.classList;if(t)return t;var n=e.attributes;return n.class&&n.class.nodeValue.split(/\s+/)||[]}t.exports={clear:function(){return d.registry={},this},get:function(e){return c(d.registry,e)&&d.registry[e]},getForElement:function(e){var t,n,r=e.attributes,i=r.length,o=[],c=r.is,l=c&&(c.value||c.nodeValue),v=(e.tagName||e.localName).toLowerCase(),h=l||v;this.isType(h,u)&&(n=(t=d.registry[h]).extends,l?v===n&&o.push(t):n||o.push(t));for(var p=0;p<i;p++){var m=r[p].nodeName;this.isType(m,a)&&((n=(t=d.registry[m]).extends)&&v!==n||o.push(t))}for(var b=f(e),g=b.length,E=0;E<g;E++){var y=b[E];this.isType(y,s)&&((n=(t=d.registry[y]).extends)&&v!==n||o.push(t))}return o},isType:function(e,t){var n=this.get(e);return n&&n.type===t},isNativeCustomElement:function(e){return v()&&this.isType(e,u)&&l(e)},set:function(e,t){if(c(d.registry,e))throw new Error('A component definition of type "'+t.type+'" with the ID of "'+e+'" already exists.');return d.registry[e]=t,this}}},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},2714:(e,t,n)=>{var r,i,o;i=[t,e,n(6221),n(5310),n(2740),n(937),n(9537),n(6996)],r=function(e,t,n,r,i,o,a,s){"use strict";var u=function(e){return e&&e.__esModule?e.default:e},d=n.TYPE_ATTRIBUTE,c=n.TYPE_CLASSNAME,l=n.TYPE_ELEMENT,v=u(r),f=i.triggerCreated,h=i.triggerAttached,p=i.triggerDetached,m=i.triggerAttributeChanged,b=i.initElements,g=u(o),E=a.debounce,y=a.inherit,w=u(s),N=window.HTMLElement,M=!!document.attachEvent;function O(){return M?"complete"===document.readyState:"interactive"===document.readyState||"complete"===document.readyState}var _=E((function(){var e=function(){b(document.documentElement.childNodes)};O()?e():M?window.addEventListener("load",e):document.addEventListener("DOMContentLoaded",e)}));function T(e){function t(){var n,r=e.extends,i=e.id;return r?(n=document.createElement(r)).setAttribute("is",i):n=document.createElement(i),e.prototype=t.prototype,f(n,e),n}return t.prototype=e.prototype,t}function A(e,t){if(t=y({},t),(t=y(t,A.defaults)).id=e,g.set(e,t),g.isNativeCustomElement(e)){var n=t.extends?document.createElement(t.extends).constructor.prototype:N.prototype;n.isPrototypeOf(t.prototype)||(t.prototype=y(Object.create(n),t.prototype,!0));var r={prototype:y(t.prototype,{createdCallback:function(){f(this,t)},attachedCallback:function(){h(this,t)},detachedCallback:function(){p(this,t)},attributeChangedCallback:function(e,n,r){m(this,t,{name:e,oldValue:n,newValue:r})}})};return t.extends&&(r.extends=t.extends),document.registerElement(e,r)}if(_(),v.register(!!t.detached),g.isType(e,l))return T(t)}A.init=function(e){var t=e;return e?("string"==typeof e?t=e=document.querySelectorAll(e):e instanceof N&&(t=[e]),b(t),e):e},A.type={ATTRIBUTE:d,CLASSNAME:c,ELEMENT:l},A.version=w,A.defaults={attributes:void 0,events:void 0,extends:void 0,id:"",prototype:{},resolvedAttribute:"resolved",template:void 0,type:l,unresolvedAttribute:"unresolved"};var L=window.skate;A.noConflict=function(){return window.skate=L,A},window.skate=A,t.exports=A},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},9537:(e,t,n)=>{var r,i,o;i=[t,n(6221)],r=function(e,t){"use strict";e.hasOwn=o,e.camelCase=a,e.elementContains=s,e.debounce=u,e.getClosestIgnoredElement=d,e.inherit=c,e.objEach=l,e.supportsNativeCustomElements=v,e.isValidNativeCustomElementName=f,Object.defineProperty(e,"__esModule",{value:!0});var n=t.ATTR_IGNORE,r=window.HTMLElement.prototype;e.elementPrototype=r;var i=r.contains;function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){return e.split(/-/g).map((function(e,t){return 0===t?e:e[0].toUpperCase()+e.substring(1)})).join("")}function s(e,t){return e!==document||e.contains?e.contains?e.contains(t):i.call(e,t):document.head.contains(t)||document.body.contains(t)}function u(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),1))}}function d(e){for(var t=e;t instanceof Element;){if(t.hasAttribute(n))return t;t=t.parentNode}}
vendor: 10,794 bytes, lines 90-123
90function c(e,t,n){for(var r=Object.getOwnPropertyNames(t),i=r.length,o=0;o<i;o++){var a=r[o];if(n||void 0===e[a]){var s=Object.getOwnPropertyDescriptor(t,a);!s.get&&!s.set&&s.writable&&s.enumerable&&s.configurable?e[a]=t[a]:Object.defineProperty(e,a,s)}}return e}function l(e,t){for(var n in e)o(e,n)&&t(e[n],n)}function v(){return"function"==typeof document.registerElement}function f(e){return e.indexOf("-")>0}},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},6996:(e,t)=>{var n,r,i;r=[t,e],n=function(e,t){"use strict";t.exports="0.13.17"},void 0===(i="function"==typeof n?n.apply(t,r):n)||(e.exports=i)}}]); 91}catch(e){WRMCB(e)}; 92; 93try { 94/* module-key = 'com.atlassian.plugins.jquery:jquery-lib', location = '/jquery.js' */ 95/*! 96 * jQuery JavaScript Library v2.2.4 97 * http://jquery.com/ 98 * 99 * Includes Sizzle.js 100 * http://sizzlejs.com/ 101 * 102 * Copyright jQuery Foundation and other contributors 103 * Released under the MIT license 104 * http://jquery.org/license 105 * 106 * Date: 2016-05-20T17:23Z 107 */ 108!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){function t(e,t){return t.toUpperCase()}var n=[],E=C.document,c=n.slice,g=n.concat,a=n.push,i=n.indexOf,r={},o=r.toString,h=r.hasOwnProperty,v={},s="2.2.4",k=function(e,t){return new k.fn.init(e,t)},u=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,f=/-([\da-z])/gi;function p(e){var t=!!e&&"length"in e&&e.length,n=k.type(e);return"function"!==n&&!k.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:s,constructor:k,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||k.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t], 109/*! BEGIN Modified by Atlassian: apply security patch from jquery 3.4.0 5a853bc */ 110"__proto__"!==t&&s!==r&&( 111/*! END Modified by Atlassian */ 112l&&r&&(k.isPlainObject(r)||(i=k.isArray(r)))?(o=i?(i=!1,n&&k.isArray(n)?n:[]):n&&k.isPlainObject(n)?n:{},s[t]=k.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},k.extend({expando:"jQuery"+(s+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===k.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!k.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==k.type(e)||e.nodeType||k.isWindow(e))return!1;if(e.constructor&&!h.call(e,"constructor")&&!h.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||h.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=k.trim(e))&&(1===e.indexOf("use strict")?((t=E.createElement("script")).text=e,E.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(l,"ms-").replace(f,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(u,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?k.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!=s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return g.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),k.isFunction(e))return r=c.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(c.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},now:Date.now,support:v}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=n[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){r["[object "+t+"]"]=t.toLowerCase()});var d= 113/*! 114 * Sizzle CSS Selector Engine v2.2.1 115 * http://sizzlejs.com/ 116 * 117 * Copyright jQuery Foundation and other contributors 118 * Released under the MIT license 119 * http://jquery.org/license 120 * 121 * Date: 2015-10-17 122 */ 123function(n){function f(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function i(){T()}var e,h,b,o,s,g,p,v,w,u,l,T,C,a,E,m,c,d,y,k="sizzle"+ +new Date,x=n.document,N=0,r=0,S=ie(),D=ie(),j=ie(),A=function(e,t){return e===t&&(l=!0),0},q={}.hasOwnProperty,t=[],L=t.pop,H=t.push,O=t.push,F=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",$=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),_=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),X=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),Y=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig");try{O.apply(t=F.call(x.childNodes),x.childNodes),t[x.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,n,r){var i,o,s,a,u,l,c,f,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:x)!==C&&T(t),t=t||C,E)){if(11!==d&&(l=Z.exec(e)))if(i=l[1]){if(9===d){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(p&&(s=p.getElementById(i))&&y(t,s)&&s.id===i)return n.push(s),n}else{if(l[2])return O.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(i)),n}if(h.qsa&&!j[e+" "]&&(!m||!m.test(e))){if(1!==d)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,"\\$&"):t.setAttribute("id",a=k),o=(c=g(e)).length,u=V.test(a)?"#"+a:"[id='"+a+"']";o--;)c[o]=u+" "+he(c[o]);f=c.join(","),p=ee.test(e)&&pe(t.parentNode)||t}if(f)try{return O.apply(n,p.querySelectorAll(f)),n}catch(e){}finally{a===k&&t.removeAttribute("id")}}}return v(e.replace(_,"$1"),t,n,r)}function ie(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function oe(e){return e[k]=!0,e}function se(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ce(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function fe(s){return oe(function(o){return o=+o,oe(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=re.support={},s=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=re.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:x;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!s(C),(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),h.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=se(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=K.test(C.getElementsByClassName),h.getById=se(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),h.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ne,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var n=e.replace(ne,f);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),b.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);
vendor: 4,417 bytes, line 123
123if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},c=[],m=[],(h.qsa=K.test(C.querySelectorAll))&&(se(function(e){a.appendChild(e).innerHTML="<a id='"+k+"'></a><select id='"+k+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||m.push(".#.+[+~]")}),se(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=K.test(d=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&se(function(e){h.disconnectedMatch=d.call(e,"div"),d.call(e,"[s!='']:x"),c.push("!=",$)}),m=m.length&&new RegExp(m.join("|")),c=c.length&&new RegExp(c.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===x&&y(x,e)?-1:t===C||t.ownerDocument===x&&y(x,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ue(s[r],a[r]):s[r]===x?-1:a[r]===x?1:0}),C},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(U,"='$1']"),h.matchesSelector&&E&&!j[t+" "]&&(!c||!c.test(t))&&(!m||!m.test(t)))try{var n=d.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<re(t,C,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&q.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:h.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!h.detectDuplicates,u=!h.sortStable&&e.slice(0),e.sort(A),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=re.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=re.selectors={cacheLength:50,createPseudo:oe,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,f),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,f).toLowerCase();return"*"===e?function(){return!0}
vendor: 21,923 bytes, lines 123-133
123:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=re.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var m="nth"!==h.slice(0,3),y="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,u,l=m!=y?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(m){for(;l;){for(s=e;s=s[l];)if(x?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?c.firstChild:c.lastChild],y&&p){for(d=(a=(r=(i=(o=(s=c)[k]||(s[k]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1])&&r[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(d=a=0)||u.pop();)if(1===s.nodeType&&++d&&s===e){i[h]=[N,a,d];break}}else if(p&&(d=a=(r=(i=(o=(s=e)[k]||(s[k]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1]),!1===d)for(;(s=++a&&s&&s[l]||(d=a=0)||u.pop())&&((x?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++d||(p&&((i=(o=s[k]||(s[k]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]=[N,d]),s!==e)););return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return s[k]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:oe(function(e){var r=[],i=[],a=p(e.replace(_,"$1"));return a[k]?oe(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),r[0]=null,!i.pop()}}),has:oe(function(t){return function(e){return 0<re(t,e).length}}),contains:oe(function(t){return t=t.replace(ne,f),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:oe(function(n){return V.test(n||"")||re.error("unsupported lang: "+n),n=n.replace(ne,f).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=le(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=ce(e);function de(){}function he(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ge(a,e,t){var u=e.dir,l=t&&"parentNode"===u,c=r++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||l)return a(e,t,n)}:function(e,t,n){var r,i,o,s=[N,c];if(n){for(;e=e[u];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||l){if((r=(i=(o=e[k]||(e[k]={}))[e.uniqueID]||(o[e.uniqueID]={}))[u])&&r[0]===N&&r[1]===c)return s[2]=r[2];if((i[u]=s)[2]=a(e,t,n))return!0}}}function ve(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function me(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function ye(d,h,g,v,m,e){return v&&!v[k]&&(v=ye(v)),m&&!m[k]&&(m=ye(m,e)),oe(function(e,t,n,r){var i,o,s,a=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)re(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:me(c,a,d,n,r),p=g?m||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v)for(i=me(p,u),v(i,[],n,r),o=i.length;o--;)(s=i[o])&&(p[u[o]]=!(f[u[o]]=s));if(e){if(m||d){if(m){for(i=[],o=p.length;o--;)(s=p[o])&&i.push(f[o]=s);m(null,p=[],i,r)}for(o=p.length;o--;)(s=p[o])&&-1<(i=m?P(e,s):a[o])&&(e[i]=!(t[i]=s))}}else p=me(p===t?p.splice(l,p.length):p),m?m(null,t,p,r):O.apply(t,p)})}function xe(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],s=o||b.relative[" "],a=o?1:0,u=ge(function(e){return e===i},s,!0),l=ge(function(e){return-1<P(i,e)},s,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u:l)(e,t,n);return i=null,r}];a<r;a++)if(t=b.relative[e[a].type])c=[ge(ve(c),t)];else{if((t=b.filter[e[a].type].apply(null,e[a].matches))[k]){for(n=++a;n<r&&!b.relative[e[n].type];n++);return ye(1<a&&ve(c),1<a&&he(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(_,"$1"),t,a<n&&xe(e.slice(a,n)),n<r&&xe(e=e.slice(n)),n<r&&he(e))}c.push(t)}return ve(c)}function be(v,m){function e(e,t,n,r,i){var o,s,a,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=N+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(s=0,t||o.ownerDocument===C||(T(o),n=!E);a=v[s++];)if(a(o,t||C,n)){r.push(o);break}i&&(N=h)}y&&((o=!a&&o)&&u--,e&&c.push(o))}if(u+=l,y&&l!==u){for(s=0;a=m[s++];)a(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=L.call(r));f=me(f)}O.apply(r,f),i&&!e&&0<f.length&&1<u+m.length&&re.uniqueSort(r)}return i&&(N=h,w=p),c}var y=0<m.length,x=0<v.length;return y?oe(e):e}return de.prototype=b.filters=b.pseudos,b.setFilters=new de,g=re.tokenize=function(e,t){var n,r,i,o,s,a,u,l=D[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=b.preFilter;s;){for(o in n&&!(r=X.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=z.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(_," ")}),s=s.slice(n.length)),b.filter)!(r=G[o].exec(s))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?re.error(e):D(e,a).slice(0)},p=re.compile=function(e,t){var n,r=[],i=[],o=j[e+" "];if(!o){for(n=(t=t||g(e)).length;n--;)(o=xe(t[n]))[k]?r.push(o):i.push(o);(o=j(e,be(i,r))).selector=e}return o},v=re.select=function(e,t,n,r){var i,o,s,a,u,l="function"==typeof e&&e,c=!r&&g(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&h.getById&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(ne,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=G.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((u=b.find[a])&&(r=u(s.matches[0].replace(ne,f),ee.test(o[0].type)&&pe(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&he(o)))return O.apply(n,r),n;break}}return(l||p(e,c))(r,t,!E,n,!t||ee.test(e)&&pe(t.parentNode)||t),n},h.sortStable=k.split("").sort(A).join("")===k,h.detectDuplicates=!!l,T(),h.sortDetached=se(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ae(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),re}(C);k.find=d,k.expr=d.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=d.uniqueSort,k.text=d.getText,k.isXMLDoc=d.isXML,k.contains=d.contains;function m(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r}function y(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var x=k.expr.match.needsContext,b=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function T(e,n,r){if(k.isFunction(n))return k.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return k.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(w.test(n))return k.filter(n,e,r);n=k.filter(n,e)}return k.grep(e,function(e){return-1<i.call(n,e)!==r})}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<n;t++)if(k.contains(i[t],this))return!0}));for(t=0;t<n;t++)k.find(e,i[t],r);return(r=this.pushStack(1<n?k.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&x.test(e)?k(e):e||[],!1).length}});var N,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):k.isFunction(e)?void 0!==n.ready?n.ready(e):e(k):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),k.makeArray(e,this));if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),b.test(r[1])&&k.isPlainObject(t))for(r in t)k.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=E,this.selector=e,this}).prototype=k.fn,N=k(E);var D=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=x.test(e)||"string"!=typeof e?k(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(k(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return m(e,"parentNode")},parentsUntil:function(e,t,n){return m(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return m(e,"nextSibling")},prevAll:function(e){return m(e,"previousSibling")},nextUntil:function(e,t,n){return m(e,"nextSibling",n)},prevUntil:function(e,t,n){return m(e,"previousSibling",n)},siblings:function(e){return y((e.parentNode||{}).firstChild,e)},children:function(e){return y(e.firstChild)},contents:function(e){return e.contentDocument||k.merge([],e.childNodes)}},function(r,i){k.fn[r]=function(e,t){var n=k.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=k.filter(t,n)),1<this.length&&(j[r]||k.uniqueSort(n),D.test(r)&&n.reverse()),this.pushStack(n)}});var q,L=/\S+/g;function H(){E.removeEventListener("DOMContentLoaded",H),C.removeEventListener("load",H),k.ready()}k.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},k.each(e.match(L)||[],function(e,t){n[t]=!0}),n):k.extend({},r);function i(){for(a=r.once,s=o=!0;l.length;c=-1)for(t=l.shift();++c<u.length;)!1===u[c].apply(t[0],t[1])&&r.stopOnFalse&&(c=u.length,t=!1);r.memory||(t=!1),o=!1,a&&(u=t?[]:"")}var o,t,s,a,u=[],l=[],c=-1,f={add:function(){return u&&(t&&!o&&(c=u.length-1,l.push(t)),function n(e){k.each(e,function(e,t){k.isFunction(t)?r.unique&&f.has(t)||u.push(t):t&&t.length&&"string"!==k.type(t)&&n(t)})}(arguments),t&&!o&&i()),this},remove:function(){return k.each(arguments,function(e,t){for(var n;-1<(n=k.inArray(t,u,n));)u.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<k.inArray(e,u):0<u.length},empty:function(){return u=u&&[],this},disable:function(){return a=l=[],u=t="",this},disabled:function(){return!u},lock:function(){return a=l=[],t||(u=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o||i()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!s}};return f},k.extend({Deferred:function(e){var o=[["resolve","done",k.Callbacks("once memory"),"resolved"],["reject","fail",k.Callbacks("once memory"),"rejected"],["notify","progress",k.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var i=arguments;return k.Deferred(function(r){k.each(o,function(e,t){var n=k.isFunction(i[e])&&i[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&k.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===s?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?k.extend(e,s):s}},a={};return s.pipe=s.then,k.each(o,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?l.notifyWith(n,r):--u||l.resolveWith(n,r)}}var i,n,r,o=0,s=c.call(arguments),a=s.length,u=1!==a||e&&k.isFunction(e.promise)?a:0,l=1===u?e:k.Deferred();if(1<a)for(i=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)s[o]&&k.isFunction(s[o].promise)?s[o].promise().progress(t(o,n,i)).done(t(o,r,s)).fail(l.reject):--u;return u||l.resolveWith(r,s),l.promise()}}),k.fn.ready=function(e){return k.ready.promise().done(e),this},k.extend({isReady:!1,readyWait:1,holdReady:function(e){e?k.readyWait++:k.ready(!0)},ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||(q.resolveWith(E,[k]),k.fn.triggerHandler&&(k(E).triggerHandler("ready"),k(E).off("ready")))}}),k.ready.promise=function(e){return q||(q=k.Deferred(),"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(k.ready):(E.addEventListener("DOMContentLoaded",H),C.addEventListener("load",H))),q.promise(e)},k.ready.promise();function O(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}var F=function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===k.type(n))for(a in i=!0,n)F(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,k.isFunction(r)||(s=!0),l&&(t=s?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(k(e),n)})),t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o};function P(){this.expando=k.expando+P.uid++}P.uid=1,P.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!O(e))return{};var t=e[this.expando];return t||(t={},O(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,k.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{n=(r=k.isArray(t)?t.concat(t.map(k.camelCase)):(i=k.camelCase(t),t in o?[t,i]:(r=i)in o?[r]:r.match(L)||[])).length;for(;n--;)delete o[r[n]]}void 0!==t&&!k.isEmptyObject(o)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var R=new P,M=new P,I=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,W=/[A-Z]/g;function $(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(W,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:I.test(n)?k.parseJSON(n):n)}catch(e){}M.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return M.hasData(e)||R.hasData(e)},data:function(e,t,n){return M.access(e,t,n)},removeData:function(e,t){M.remove(e,t)},_data:function(e,t,n){return R.access(e,t,n)},_removeData:function(e,t){R.remove(e,t)}}),k.fn.extend({data:function(r,e){var t,n,i,o=this[0],s=o&&o.attributes;if(void 0!==r)return"object"==typeof r?this.each(function(){M.set(this,r)}):F(this,function(t){var e,n;if(o&&void 0===t)return void 0!==(e=M.get(o,r)||M.get(o,r.replace(W,"-$&").toLowerCase()))?e:(n=k.camelCase(r),void 0!==(e=M.get(o,n))||void 0!==(e=$(o,n,void 0))?e:void 0);n=k.camelCase(r),this.each(function(){var e=M.get(this,n);M.set(this,n,t),-1<r.indexOf("-")&&void 0!==e&&M.set(this,r,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=M.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(n=s[t].name).indexOf("data-")&&(n=k.camelCase(n.slice(5)),$(o,n,i[n]));R.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){M.remove(this,e)})}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=R.get(e,t),n&&(!r||k.isArray(n)?r=R.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){k.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return R.get(e,n)||R.access(e,n,{empty:k.Callbacks("once memory").add(function(){R.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):void 0===n?this:this.each(function(){var e=k.queue(this,t,n);k._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(s,[s])}var r,i=1,o=k.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=R.get(s[a],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function B(e,t){return e=t||e,"none"===k.css(e,"display")||!k.contains(e.ownerDocument,e)}var _=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,X=new RegExp("^(?:([+-])=|)("+_+")([a-z%]*)$","i"),z=["Top","Right","Bottom","Left"];function U(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return k.css(e,t,"")},u=a(),l=n&&n[3]||(k.cssNumber[t]?"":"px"),c=(k.cssNumber[t]||"px"!==l&&+u)&&X.exec(k.css(e,t));if(c&&c[3]!==l)for(l=l||c[3],n=n||[],c=+u||1;c/=o=o||".5",k.style(e,t,c+l),o!==(o=a()/u)&&1!==o&&--s;);return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var Y=/^(?:checkbox|radio)$/i,V=/<([\w:-]+)/,G=/^$|\/(?:java|ecma)script/i,Q={ 124/*! 125 * Modified by Atlassian: apply security patch from jquery 3.5.0 (removed lines here) 126 * CVE-2020-11023 - https://github.com/advisories/GHSA-jpcq-cgw6-v4j6 127 */ 128thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function J(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&k.nodeName(e,t)?k.merge([e],n):n}function K(e,t){for(var n=0,r=e.length;n<r;n++)R.set(e[n],"globalEval",!t||R.get(t[n],"globalEval"))} 129/*! 130 * Modified by Atlassian: apply security patch from jquery 3.5.0 (removed lines here) 131 * CVE-2020-11023 - https://github.com/advisories/GHSA-jpcq-cgw6-v4j6 132 */ 133Q.tbody=Q.tfoot=Q.colgroup=Q.caption=Q.thead,Q.th=Q.td;var Z,ee,te=/<|&#?\w+;/;function ne(e,t,n,r,i){for(var o,s,a,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;
vendor: 7,462 bytes, line 133
133d++)if((o=e[d])||0===o)if("object"===k.type(o))k.merge(p,o.nodeType?[o]:o);else if(te.test(o)){for(s=s||f.appendChild(t.createElement("div")),a=(V.exec(o)||["",""])[1].toLowerCase(),u=Q[a]||Q._default,s.innerHTML=u[1]+k.htmlPrefilter(o)+u[2],c=u[0];c--;)s=s.lastChild;k.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&-1<k.inArray(o,r))i&&i.push(o);else if(l=k.contains(o.ownerDocument,o),s=J(f.appendChild(o),"script"),l&&K(s),n)for(c=0;o=s[c++];)G.test(o.type||"")&&n.push(o);return f}Z=E.createDocumentFragment().appendChild(E.createElement("div")),(ee=E.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),Z.appendChild(ee),v.checkClone=Z.cloneNode(!0).cloneNode(!0).lastChild.checked,Z.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Z.cloneNode(!0).lastChild.defaultValue;var re=/^key/,ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=/^([^.]*)(?:\.(.+)|)/;function se(){return!0}function ae(){return!1}function ue(){try{return E.activeElement}catch(e){}}function le(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)le(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ae;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return k().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}k.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(L)||[""]).length;l--;)d=g=(a=oe.exec(e[l])||[])[1],h=(a[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(d,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.hasData(e)&&R.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(L)||[""]).length;l--;)if(d=g=(a=oe.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&R.remove(e,"handle events")}},dispatch:function(e){e=k.event.fix(e);var t,n,r,i,o,s,a=c.call(arguments),u=(R.get(this,"events")||{})[e.type]||[],l=k.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(s=k.event.handlers.call(this,e,u),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<a;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?-1<k(i,this).index(u):k.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:k.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},props:[],fixHooks:{},keyHooks:{props:[]},mouseHooks:{props:[]},fix:function(e){if(e[k.expando])return e;var t,n,r,i,o=e.type,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=ie.test(o)?this.mouseHooks:re.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new k.Event(e),n=i.length;n--;)t[r=i[n]]=e[r];return t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ue()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ue()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&k.nodeName(this,"input"))return this.click(),!1},_default:function(e){return k.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?se:ae,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:ae,isPropagationStopped:ae,isImmediatePropagationStopped:ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,screenX:!0,screenY:!0,toElement:!0,which:function(e){var t=e.button;return null==e.which&&re.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ie.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which},pageX:function(e){var t,n,r;return null==e.pageX&&null!=e.clientX?(n=(t=e.target.ownerDocument||E).documentElement,r=t.body,e.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0)):e.pageX},pageY:function(e){var t,n,r;return null==e.pageY&&null!=e.clientY?(n=(t=e.target.ownerDocument||E).documentElement,r=t.body,e.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)):e.pageY}},k.event.addProp),k.each({mouseenter:"mouseover",mouseleave:"mou
vendor: 40,378 bytes, lines 133-151
133seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){k.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),k.fn.extend({on:function(e,t,n,r){return le(this,e,t,n,r)},one:function(e,t,n,r){return le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ae),this.each(function(){k.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var 134/*! 135 * Modified by Atlassian: apply security patches from jquery 3.5.0: 136 * CVE-2020-11022 - https://github.com/advisories/GHSA-gxr4-xjj5-5px2 137 */ 138ce=/<script|<style|<link/i,fe=/checked\s*(?:[^=]|=\s*.checked.)/i,pe=/^true\/(.*)/,de=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function he(e,t){return k.nodeName(e,"table")&&k.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ve(e){var t=pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function me(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(R.hasData(e)&&(o=R.access(e),s=R.set(t,o),l=o.events))for(i in delete s.handle,s.events={},l)for(n=0,r=l[i].length;n<r;n++)k.event.add(t,i,l[i][n]);M.hasData(e)&&(a=M.access(e),u=k.extend({},a),M.set(t,u))}}function ye(n,r,i,o){r=g.apply([],r);var e,t,s,a,u,l,c=0,f=n.length,p=f-1,d=r[0],h=k.isFunction(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&fe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),ye(t,r,i,o)});if(f&&(t=(e=ne(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=k.map(J(e,"script"),ge)).length;c<f;c++)u=e,c!==p&&(u=k.clone(u,!0,!0),a&&k.merge(s,J(u,"script"))),i.call(n[c],u,c);if(a)for(l=s[s.length-1].ownerDocument,k.map(s,ve),c=0;c<a;c++)u=s[c],G.test(u.type||"")&&!R.access(u,"globalEval")&&k.contains(l,u)&&(u.src?k._evalUrl&&k._evalUrl(u.src):k.globalEval(u.textContent.replace(de,"")))}return n}function xe(e,t,n){for(var r,i=t?k.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||k.cleanData(J(r)),r.parentNode&&(n&&k.contains(r.ownerDocument,r)&&K(J(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){ 139/*! 140 * Modified by Atlassian: apply security patches from jquery 3.5.0: 141 * CVE-2020-11022 - https://github.com/advisories/GHSA-gxr4-xjj5-5px2 142 */ 143return e},clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=k.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(s=J(c),r=0,i=(o=J(e)).length;r<i;r++)a=o[r],u=s[r],"input"===(l=u.nodeName.toLowerCase())&&Y.test(a.type)?u.checked=a.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=a.defaultValue);if(t)if(n)for(o=o||J(e),s=s||J(c),r=0,i=o.length;r<i;r++)me(o[r],s[r]);else me(e,c);return 0<(s=J(c,"script")).length&&K(s,!f&&J(e,"script")),c},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if(O(n)){if(t=n[R.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[R.expando]=void 0}n[M.expando]&&(n[M.expando]=void 0)}}}),k.fn.extend({domManip:ye,detach:function(e){return xe(this,e,!0)},remove:function(e){return xe(this,e)},text:function(e){return F(this,function(e){return void 0===e?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ye(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||he(this,e).appendChild(e)})},prepend:function(){return ye(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=he(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(J(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return F(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ce.test(e)&&!Q[(V.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(J(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return ye(this,arguments,function(e){var t=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(J(this)),t&&t.replaceChild(e,this))},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){k.fn[e]=function(e){for(var t,n=[],r=k(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),k(r[o])[s](t),a.apply(n,t.get());return this.pushStack(n)}});var be,we={HTML:"block",BODY:"block"};function Te(e,t){var n=k(t.createElement(e)).appendTo(t.body),r=k.css(n[0],"display");return n.detach(),r}function Ce(e){var t=E,n=we[e];return n||("none"!==(n=Te(e,t))&&n||((t=(be=(be||k("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Te(e,t),be.detach()),we[e]=n),n}function Ee(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=s[o];return i}var ke,Ne,Se,De,je,Ae,qe=/^margin/,Le=new RegExp("^("+_+")(?!px)[a-z%]+$","i"),He=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Oe=E.documentElement;function Fe(){Ae.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",Ae.innerHTML="",Oe.appendChild(je);var e=C.getComputedStyle(Ae);ke="1%"!==e.top,De="2px"===e.marginLeft,Ne="4px"===e.width,Ae.style.marginRight="50%",Se="4px"===e.marginRight,Oe.removeChild(je)}function Pe(e,t,n){var r,i,o,s,a=e.style;return""!==(s=(n=n||He(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==s||k.contains(e.ownerDocument,e)||(s=k.style(e,t)),n&&!v.pixelMarginRight()&&Le.test(s)&&qe.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function Re(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}je=E.createElement("div"),(Ae=E.createElement("div")).style&&(Ae.style.backgroundClip="content-box",Ae.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===Ae.style.backgroundClip,je.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",je.appendChild(Ae),k.extend(v,{pixelPosition:function(){return Fe(),ke},boxSizingReliable:function(){return null==Ne&&Fe(),Ne},pixelMarginRight:function(){return null==Ne&&Fe(),Se},reliableMarginLeft:function(){return null==Ne&&Fe(),De},reliableMarginRight:function(){var e,t=Ae.appendChild(E.createElement("div"));return t.style.cssText=Ae.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",Ae.style.width="1px",Oe.appendChild(je),e=!parseFloat(C.getComputedStyle(t).marginRight),Oe.removeChild(je),Ae.removeChild(t),e}}));var Me=/^(none|table(?!-c[ea]).+)/,Ie={position:"absolute",visibility:"hidden",display:"block"},We={letterSpacing:"0",fontWeight:"400"},$e=["Webkit","O","Moz","ms"],Be=E.createElement("div").style;function _e(e){if(e in Be)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=$e.length;n--;)if((e=$e[n]+t)in Be)return e}function Xe(e,t,n){var r=X.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ze(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=k.css(e,n+z[o],!0,i)),r?("content"===n&&(s-=k.css(e,"padding"+z[o],!0,i)),"margin"!==n&&(s-=k.css(e,"border"+z[o]+"Width",!0,i))):(s+=k.css(e,"padding"+z[o],!0,i),"padding"!==n&&(s+=k.css(e,"border"+z[o]+"Width",!0,i)));return s}function Ue(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=He(e),s="border-box"===k.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Pe(e,t,o))<0||null==i)&&(i=e.style[t]),Le.test(i))return i;r=s&&(v.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+ze(e,t,n||(s?"border":"content"),r,o)+"px"}function Ye(e,t){for(var n,r,i,o=[],s=0,a=e.length;s<a;s++)(r=e[s]).style&&(o[s]=R.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&B(r)&&(o[s]=R.access(r,"olddisplay",Ce(r.nodeName)))):(i=B(r),"none"===n&&i||R.set(r,"olddisplay",i?n:k.css(r,"display"))));for(s=0;s<a;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function Ve(e,t,n,r,i){return new Ve.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Pe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=k.camelCase(t),u=e.style;if(t=k.cssProps[a]||(k.cssProps[a]=_e(a)||a),s=k.cssHooks[t]||k.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t];"string"===(o=typeof n)&&(i=X.exec(n))&&i[1]&&(n=U(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(k.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))}},css:function(e,t,n,r){var i,o,s,a=k.camelCase(t);return t=k.cssProps[a]||(k.cssProps[a]=_e(a)||a),(s=k.cssHooks[t]||k.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Pe(e,t,r)),"normal"===i&&t in We&&(i=We[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],function(e,s){k.cssHooks[s]={get:function(e,t,n){if(t)return Me.test(k.css(e,"display"))&&0===e.offsetWidth?Ee(e,Ie,function(){return Ue(e,s,n)}):Ue(e,s,n)},set:function(e,t,n){var r,i=n&&He(e),o=n&&ze(e,s,n,"border-box"===k.css(e,"boxSizing",!1,i),i);return o&&(r=X.exec(t))&&"px"!==(r[3]||"px")&&(e.style[s]=t,t=k.css(e,s)),Xe(0,t,o)}}}),k.cssHooks.marginLeft=Re(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Pe(e,"marginLeft"))||e.getBoundingClientRect().left-Ee(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.cssHooks.marginRight=Re(v.reliableMarginRight,function(e,t){if(t)return Ee(e,{display:"inline-block"},Pe,[e,"marginRight"])}),k.each({margin:"",padding:"",border:"Width"},function(i,o){k.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+z[t]+o]=r[t]||r[t-2]||r[0];return n}},qe.test(i)||(k.cssHooks[i+o].set=Xe)}),k.fn.extend({css:function(e,t){return F(this,function(e,t,n){var r,i,o={},s=0;if(k.isArray(t)){for(r=He(e),i=t.length;s<i;s++)o[t[s]]=k.css(e,t[s],!1,r);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,1<arguments.length)},show:function(){return Ye(this,!0)},hide:function(){return Ye(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){B(this)?k(this).show():k(this).hide()})}}),((k.Tween=Ve).prototype={constructor:Ve,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=Ve.propHooks[this.prop];return e&&e.get?e.get(this):Ve.propHooks._default.get(this)},run:function(e){var t,n=Ve.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ve.propHooks._default.set(this),this}}).init.prototype=Ve.prototype,(Ve.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[k.cssProps[e.prop]]&&!k.cssHooks[e.prop]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ve.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=Ve.prototype.init,k.fx.step={};var Ge,Qe,Je,Ke,Ze,et=/^(?:toggle|show|hide)$/,tt=/queueHooks$/;function nt(){return C.setTimeout(function(){Ge=void 0}),Ge=k.now()}function rt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=z[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function it(e,t,n){for(var r,i=(ot.tweeners[t]||[]).concat(ot.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function ot(o,e,t){var n,s,r=0,i=ot.prefilters.length,a=k.Deferred().always(function(){delete u.elem}),u=function(){if(s)return!1;for(var e=Ge||nt(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return a.notifyWith(o,[l,n,t]),n<1&&i?t:(a.resolveWith(o,[l]),!1)},l=a.promise({elem:o,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ge||nt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=k.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(s)return this;for(s=!0;t<n;t++)l.tweens[t].run(1);return e?(a.notifyWith(o,[l,1,0]),a.resolveWith(o,[l,e])):a.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=k.camelCase(n)],o=e[n],k.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=k.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=ot.prefilters[r].call(l,o,c,l.opts))return k.isFunction(n.stop)&&(k._queueHooks(l.elem,l.opts.queue).stop=k.proxy(n.stop,n)),n;return k.map(c,it,l),k.isFunction(l.opts.start)&&l.opts.start.call(o,l),k.fx.timer(k.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}k.Animation=k.extend(ot,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return U(n.elem,e,X.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=k.isFunction(e)?(t=e,["*"]):e.match(L)).length;r<i;r++)n=e[r],ot.tweeners[n]=ot.tweeners[n]||[],ot.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var r,i,o,s,a,u,l,c=this,f={},p=t.style,d=t.nodeType&&B(t),h=R.get(t,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,k.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(l=k.css(t,"display"))?R.get(t,"olddisplay")||Ce(t.nodeName):l)&&"none"===k.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(i=e[r],et.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||k.style(t,r)}else l=void 0;if(k.isEmptyObject(f))"inline"===("none"===l?Ce(t.nodeName):l)&&(p.display=l);else for(r in h?"hidden"in h&&(d=h.hidden):h=R.access(t,"fxshow",{}),o&&(h.hidden=!d),d?k(t).show():c.done(function(){k(t).hide()}),c.done(function(){var e;for(e in R.remove(t,"fxshow"),f)k.style(t,e,f[e])}),f)s=it(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?ot.prefilters.unshift(e):ot.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||k.isFunction(e)&&e,duration:e,easing:n&&t||t&&!k.isFunction(t)&&t};return r.duration=k.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in k.fx.speeds?k.fx.speeds[r.duration]:k.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){k.isFunction(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(B).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=ot(this,k.extend({},t),s);(o||R.get(this,"finish"))&&e.stop(!0)}var o=k.isEmptyObject(t),s=k.speed(e,n,r);return i.finish=i,o||!1===s.queue?this.each(i):this.queue(s.queue,i)},stop:function(i,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=k.timers,r=R.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&tt.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||k.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=R.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=k.timers,o=n?n.length:0;for(t.finish=!0,k.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),k.each(["toggle","show","hide"],function(e,r){var i=k.fn[r];k.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(rt(r,!0),e,t,n)}}),k.each({slideDown:rt("show"),slideUp:rt("hide"),slideToggle:rt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){k.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(Ge=k.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),Ge=void 0},k.fx.timer=function(e){k.timers.push(e),e()?k.fx.start():k.timers.pop()},k.fx.interval=13,k.fx.start=function(){Qe=Qe||C.setInterval(k.fx.tick,k.fx.interval)},k.fx.stop=function(){C.clearInterval(Qe),Qe=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(r,e){return r=k.fx&&k.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},Je=E.createElement("input"),Ke=E.createElement("select"),Ze=Ke.appendChild(E.createElement("option")),Je.type="checkbox",v.checkOn=""!==Je.value,v.optSelected=Ze.selected,Ke.disabled=!0,v.optDisabled=!Ze.disabled,(Je=E.createElement("input")).value="t",Je.type="radio",v.radioValue="t"===Je.value;var st,at=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return F(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(t=t.toLowerCase(),i=k.attrHooks[t]||(k.expr.match.bool.test(t)?st:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):!(i&&"get"in i&&null!==(r=i.get(e,t)))&&null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&k.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[i++];)r=k.propFix[n]||n,k.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),st={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var o=at[t]||k.find.attr;at[t]=function(e,t,n){var r,i;return n||(i=at[t],at[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,at[t]=i),r}});var ut=/^(?:input|select|textarea|button)$/i,lt=/^(?:a|area)$/i;k.fn.extend({prop:function(e,t){return F(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):ut.test(e.nodeName)||lt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this});var ct=/[\t\r\n\f]/g;function ft(e){return e.getAttribute&&e.getAttribute("class")||""}k.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(k.isFunction(t))return this.each(function(e){k(this).addClass(t.call(this,e,ft(this)))});if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[u++];)if(i=ft(n),r=1===n.nodeType&&(" "+i+" ").replace(ct," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=k.trim(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(k.isFunction(t))return this.each(function(e){k(this).removeClass(t.call(this,e,ft(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[u++];)if(i=ft(n),r=1===n.nodeType&&(" "+i+" ").replace(ct," ")){for(s=0;o=e[s++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(a=k.trim(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):k.isFunction(i)?this.each(function(e){k(this).toggleClass(i.call(this,e,ft(this),t),t)}):this.each(function(){var e,t,n,r;if("string"==o)for(t=0,n=k(this),r=i.match(L)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=ft(this))&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==i&&R.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+ft(n)+" ").replace(ct," ").indexOf(t))return!0;return!1}});var pt=/\r/g,dt=/[\x20\t\r\n\f]+/g;k.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=k.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,k(this).val()):n)?t="":"number"==typeof t?t+="":k.isArray(t)&&(t=k.map(t,function(e){return null==e?"":e+""})),(r=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=k.valHooks[t.type]||k.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(pt,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:k.trim(k.text(e)).replace(dt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(((n=r[u]).selected||u===i)&&(v.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!k.nodeName(n.parentNode,"optgroup"))){if(t=k(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=k.makeArray(t),s=i.length;s--;)((r=i[s]).selected=-1<k.inArray(k.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(k.isArray(t))return e.checked=-1<k.inArray(k(e).val(),t)}},v.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ht=/^(?:focusinfocus|focusoutblur)$/;k.extend(k.event,{trigger:function(e,t,n,r){var i,o,s,a,u,l,c,f=[n||E],p=h.call(e,"type")?e.type:e,d=h.call(e,"namespace")?e.namespace.split("."):[];if(o=s=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!ht.test(p+k.event.triggered)&&(-1<p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),u=p.indexOf(":")<0&&"on"+p,(e=e[k.expando]?e:new k.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[p]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!k.isWindow(n)){for(a=c.delegateType||p,ht.test(a+p)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(n.ownerDocument||E)&&f.push(s.defaultView||s.parentWindow||C)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)e.type=1<i?a:c.bindType||p,(l=(R.get(o,"events")||{})[e.type]&&R.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&O(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!O(n)||u&&k.isFunction(n[p])&&!k.isWindow(n)&&((s=n[u])&&(n[u]=null),n[k.event.triggered=p](),k.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),k.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(e,n){k.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.focusin="onfocusin"in C,v.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){k.event.simulate(r,e.target,k.event.fix(e))}k.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=R.access(e,r);t||e.addEventListener(n,i,!0),R.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=R.access(e,r)-1;t?R.access(e,r,t):(e.removeEventListener(n,i,!0),R.remove(e,r))}}});var gt=C.location,vt=k.now(),mt=/\?/;k.parseJSON=function(e){return JSON.parse(e+"")},k.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var yt=/#.*$/,xt=/([?&])_=[^&]*/,bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,wt=/^(?:GET|HEAD)$/,Tt=/^\/\//,Ct={},Et={},kt="*/".concat("*"),Nt=E.createElement("a");function St(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(L)||[];if(k.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Dt(t,i,o,s){var a={},u=t===Et;function l(e){var r;return a[e]=!0,k.each(t[e]||[],function(e,t){var n=t(i,o,s);return"string"!=typeof n||u||a[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!a["*"]&&l("*")}function jt(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&k.extend(!0,e,r),e}Nt.href=gt.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(gt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":function(e){return""!==e&&void 0!==e||(e="null"),JSON.parse(e)},"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?jt(jt(e,k.ajaxSettings),t):jt(k.ajaxSettings,e)},ajaxPrefilter:St(Ct),ajaxTransport:St(Et),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,i,g=k.ajaxSetup({},t),v=g.context||g,m=g.context&&(v.nodeType||v.jquery)?k(v):k.event,y=k.Deferred(),x=k.Callbacks("once memory"),b=g.statusCode||{},o={},s={},w=0,a="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!n)for(n={};t=bt.exec(p);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?p:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,o[e]=t),this},overrideMimeType:function(e){return w||(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)b[t]=[b[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||a;return c&&c.abort(t),u(0,t),this}};if(y.promise(T).complete=x.add,T.success=T.done,T.error=T.fail,g.url=((e||g.url||gt.href)+"").replace(yt,"").replace(Tt,gt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=k.trim(g.dataType||"*").toLowerCase().match(L)||[""],null==g.crossDomain){r=E.createElement("a");try{r.href=g.url,r.href=r.href,g.crossDomain=Nt.protocol+"//"+Nt.host!=r.protocol+"//"+r.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=k.param(g.data,g.traditional)),Dt(Ct,g,t,T),2===w)return T;for(i in(h=k.event&&g.global)&&0==k.active++&&k.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!wt.test(g.type),f=g.url,g.hasContent||(g.data&&(f=g.url+=(mt.test(f)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=xt.test(f)?f.replace(xt,"$1_="+vt++):f+(mt.test(f)?"&":"?")+"_="+vt++)),g.ifModified&&(k.lastModified[f]&&T.setRequestHeader("If-Modified-Since",k.lastModified[f]),k.etag[f]&&T.setRequestHeader("If-None-Match",k.etag[f])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&T.setRequestHeader("Content-Type",g.contentType),T.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+kt+"; q=0.01":""):g.accepts["*"]),g.headers)T.setRequestHeader(i,g.headers[i]);if(g.beforeSend&&(!1===g.beforeSend.call(v,T,g)||2===w))return T.abort();for(i in a="abort",{success:1,error:1,complete:1})T[i](g[i]);if(c=Dt(Et,g,t,T)){if(T.readyState=1,h&&m.trigger("ajaxSend",[T,g]),2===w)return T;g.async&&0<g.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},g.timeout));try{w=1,c.send(o,u)}catch(e){if(!(w<2))throw e;u(-1,e)}}else u(-1,"No Transport");function u(e,t,n,r){var i,o,s,a,u,l=t;2!==w&&(w=2,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s=s||i}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}(g,T,n)),a=function(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(g,a,T,i),i?(g.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(k.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(k.etag[f]=u)),204===e||"HEAD"===g.type?l="nocontent":304===e?l="notmodified":(l=a.state,o=a.data,i=!(s=a.error))):(s=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?y.resolveWith(v,[o,l,T]):y.rejectWith(v,[T,l,s]),T.statusCode(b),b=void 0,h&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,g,i?o:s]),x.fireWith(v,[T,l]),h&&(m.trigger("ajaxComplete",[T,g]),--k.active||k.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,i){k[i]=function(e,t,n,r){return k.isFunction(t)&&(r=r||n,n=t,t=void 0),k.ajax(k.extend({url:e,type:i,dataType:r,data:t,success:n},k.isPlainObject(e)&&e))}}),k._evalUrl=function(e){return k.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},k.fn.extend({wrapAll:function(t){var e;return k.isFunction(t)?this.each(function(e){k(this).wrapAll(t.call(this,e))}):(this[0]&&(e=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return k.isFunction(n)?this.each(function(e){k(this).wrapInner(n.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=k.isFunction(t);return this.each(function(e){k(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){k.nodeName(this,"body")||k(this).replaceWith(this.childNodes)}).end()}}),k.expr.filters.hidden=function(e){return!k.expr.filters.visible(e)},k.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var At=/%20/g,qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Ft(n,e,r,i){var t;if(k.isArray(e))k.each(e,function(e,t){r||qt.test(n)?i(n,t):Ft(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==k.type(e))i(n,e);else for(t in e)Ft(n+"["+t+"]",e[t],r,i)}k.param=function(e,t){function n(e,t){t=k.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(void 0===t&&(t=k.ajaxSettings&&k.ajaxSettings.traditional),k.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){n(this.name,this.value)});else for(r in e)Ft(r,e[r],t,n);return i.join("&").replace(At,"+")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!Y.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:k.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}}),k.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Pt={0:200,1223:204},Rt=k.ajaxSettings.xhr();v.cors=!!Rt&&"withCredentials"in Rt,v.ajax=Rt=!!Rt,k.ajaxTransport(function(i){var o,s;if(v.cors||Rt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Pt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=o("error"),void 0!==r.onabort?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}), 144/*! BEGIN Modified by Atlassian: apply security patch from jquery 3.3.1 */ 145k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}), 146/*! END Modified by Atlassian */ 147k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=k("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Mt=[],It=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||k.expando+"_"+vt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(It.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&It.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=k.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(It,"$1"+r):!1!==e.jsonp&&(e.url+=(mt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Mt.push(r)),o&&k.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}), 148/*! BEGIN Modified by Atlassian: jQuery.parseHTML replaced with one from jquery 3.3.1 without the support for Safari 8 */ 149k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)),o=!n&&[],(i=b.exec(e))?[t.createElement(i[1])]:(i=ne([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o}; 150/*! END Modified by Atlassian */ 151var Wt=k.fn.load;function $t(e){return k.isWindow(e)?e:9===e.nodeType&&e.defaultView}k.fn.load=function(e,t,n){if("string"!=typeof e&&Wt)return Wt.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return-1<a&&(r=k.trim(e.slice(a)),e=e.slice(0,a)),k.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.filters.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),a=c.offset(),o=k.css(e,"to
151p"),u=k.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(s=(r=c.position()).top,r.left):(s=parseFloat(o)||0,parseFloat(u)||0),k.isFunction(t)&&(t=t.call(e,n,k.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;return o?(e=o.documentElement,k.contains(e,r)?(i=r.getBoundingClientRect(),n=$t(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===k.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),k.nodeName(e[0],"html")||(r=e.offset()),r.top+=k.css(e[0],"borderTopWidth",!0),r.left+=k.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-k.css(n,"marginTop",!0),left:t.left-r.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||Oe})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return F(this,function(e,t,n){var r=$t(e);if(void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=Re(v.pixelPosition,function(e,t){if(t)return t=Pe(e,n),Le.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(o,s){k.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){k.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,n){var r;return k.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),k.fn.andSelf=k.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Bt=C.jQuery,_t=C.$;return k.noConflict=function(e){return C.$===k&&(C.$=_t),e&&C.jQuery===k&&(C.jQuery=Bt),k},e||(C.jQuery=C.$=k),k}); 152}catch(e){WRMCB(e)}; 153; 154try { 155/* module-key = 'com.atlassian.plugins.jquery:jquery-browser', location = '/plugins/jquery.browser.js' */ 156/*! THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. Modified lines are marked below, search "ATLASSIAN" */ 157/*! 158 * jQuery Browser Plugin 0.1.0 159 * https://github.com/gabceb/jquery-browser-plugin 160 * 161 * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors 162 * http://jquery.org/license 163 * 164 * Modifications Copyright 2015 Gabriel Cebrian 165 * https://github.com/gabceb 166 * 167 * Released under the MIT license 168 * 169 * Date: 05-07-2015 170 */ 171//! FOLLOWING REMOVED BY ATLASSIAN: definition of AMD module. It will always register to the global variable. 172!function(e){"use strict";function r(e){if(e===undefined){e=window.navigator.userAgent}e=e.toLowerCase();var r=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];var i=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[];var o={},a={browser:r[5]||r[3]||r[1]||"",version:r[2]||r[4]||"0",versionNumber:r[4]||r[2]||"0",platform:i[0]||""};if(a.browser){o[a.browser]=true;o.version=a.version;o.versionNumber=parseInt(a.versionNumber,10)}if(a.platform){o[a.platform]=true}if(o.android||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"]){o.mobile=true}if(o.cros||o.mac||o.linux||o.win){o.desktop=true}if(o.chrome||o.opr||o.safari){o.webkit=true}if(o.rv||o.iemobile){var s="msie";a.browser=s;o[s]=true}if(o.edge){delete o.edge;var n="msedge";a.browser=n;o[n]=true}if(o.safari&&o.blackberry){var b="blackberry";a.browser=b;o[b]=true}if(o.safari&&o.playbook){var w="playbook";a.browser=w;o[w]=true}if(o.bb){var c="blackberry";a.browser=c;o[c]=true}if(o.opr){var t="opera";a.browser=t;o[t]=true}if(o.safari&&o.android){var f="android";a.browser=f;o[f]=true}if(o.safari&&o.kindle){var d="kindle";a.browser=d;o[d]=true}if(o.safari&&o.silk){var l="silk";a.browser=l;o[l]=true}o.name=a.browser;o.platform=a.platform;return o} 173//! FOLLOWING MODIFIED BY ATLASSIAN: definition of window.jQBrowser; it is only exposed on the jQuery object. 174var i=r(window.navigator.userAgent);if(i.uaMatch=r,e){e.browser=i}}(window.jQuery); 175}catch(e){WRMCB(e)}; 176; 177try { 178/* module-key = 'com.atlassian.plugins.jquery:jquery-migrate', location = '/jquery-migrate.js' */ 179/*! THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. Modified lines are marked below, search "ATLASSIAN" */ 180/*! 181 * jQuery Migrate - v1.4.1 - 2016-05-19 182 * Copyright jQuery Foundation and other contributors 183 */ 184!function(u,n,i){u.migrateVersion="1.4.1";var r={};function d(e){var t=n.console;r[e]||(r[e]=!0,u.migrateWarnings.push(e),t&&t.warn&&!u.migrateMute&&(t.warn("JQMIGRATE: "+e),u.migrateTrace&&t.trace&&t.trace()))}function e(e,t,n,r){if(Object.defineProperty)try{return void Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return d(r),n},set:function(e){d(r),n=e}})}catch(e){}u._definePropertyBroken=!0,e[t]=n}u.migrateWarnings=[],u.migrateMute=!0,n.console&&n.console.log&&n.console.log("JQMIGRATE: Migrate is installed"+(u.migrateMute?"":" with logging active")+", version "+u.migrateVersion),u.migrateTrace===i&&(u.migrateTrace=!0),u.migrateReset=function(){r={},u.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var s=u("<input/>",{size:1}).attr("size")&&u.attrFn,c=u.attr,o=u.attrHooks.value&&u.attrHooks.value.get||function(){return null},a=u.attrHooks.value&&u.attrHooks.value.set||function(){return i},l=/^(?:input|button)$/i,p=/^[238]$/,f=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,h=/^(?:checked|selected)$/i;e(u,"attrFn",s||{},"jQuery.attrFn is deprecated"),u.attr=function(e,t,n,r){var o=t.toLowerCase(),a=e&&e.nodeType;return r&&(c.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),e&&!p.test(a)&&(s?t in s:u.isFunction(u.fn[t])))?u(e)[t](n):("type"===t&&n!==i&&l.test(e.nodeName)&&e.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!u.attrHooks[o]&&f.test(o)&&(u.attrHooks[o]={get:function(e,t){var n,r=u.prop(e,t);return!0===r||"boolean"!=typeof r&&(n=e.getAttributeNode(t))&&!1!==n.nodeValue?t.toLowerCase():i}
184,set:function(e,t,n){var r;return!1===t?u.removeAttr(e,n):((r=u.propFix[n]||n)in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},h.test(o)&&d("jQuery.fn.attr('"+o+"') might use property instead of attribute")),c.call(u,e,t,n))},u.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?o.apply(this,arguments):("input"!==n&&"option"!==n&&d("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var n=(e.nodeName||"").toLowerCase();if("button"===n)return a.apply(this,arguments);"input"!==n&&"option"!==n&&d("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t}};var t,g=u.fn.init,v=u.find,y=u.parseJSON,m=/^\s*</,b=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,w=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,x=/^([^<]*)(<[\w\W]+>)([^>]*)$/;for(t in u.fn.init=function(e,t,n){var r,o;return e&&"string"==typeof e&&!u.isPlainObject(t)&&(r=x.exec(u.trim(e)))&&r[0]&&(m.test(e)||d("$(html) HTML strings must start with '<' character"),r[3]&&d("$(html) HTML text after last tag is ignored"),"#"===r[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),u.error("JQMIGRATE: Invalid selector string (XSS)")),t&&t.context&&t.context.nodeType&&(t=t.context),u.parseHTML)?g.call(this,u.parseHTML(r[2],t&&t.ownerDocument||t||document,!0),t,n):(o=g.apply(this,arguments),e&&e.selector!==i?(o.selector=e.selector,o.context=e.context):(o.selector="string"==typeof e?e:"",e&&(o.context=e.nodeType?e:t||document)),o)},u.fn.init.prototype=u.fn,u.find=function(t){var n=Array.prototype.slice.call(arguments);if("string"==typeof t&&b.test(t))try{document.querySelector(t)}catch(e){t=t.replace(w,function(e,t,n,r){return"["+t+n+'"'+r+'"]'});try{document.querySelector(t),d("Attribute selector with '#' must be quoted: "+n[0]),n[0]=t}catch(e){d("Attribute selector with '#' was not fixed: "+n[0])}}return v.apply(this,n)},v)Object.prototype.hasOwnProperty.call(v,t)&&(u.find[t]=v[t]);u.parseJSON=function(e){return e?y.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},u.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}, 185//! FOLLOWING REMOVED BY ATLASSIAN: definition of jQuery.browser; it is provided via a separate plugin and guaranteed to load before this file via a web-resource dependency. 186e(u,"browser",u.browser,"jQuery.browser is deprecated"),u.boxModel=u.support.boxModel="CSS1Compat"===document.compatMode,e(u,"boxModel",u.boxModel,"jQuery.boxModel is deprecated"),e(u.support,"boxModel",u.support.boxModel,"jQuery.support.boxModel is deprecated"),u.sub=function(){function r(e,t){return new r.fn.init(e,t)}u.extend(!0,r,this),r.superclass=this,((r.fn=r.prototype=this()).constructor=r).sub=this.sub,r.fn.init=function(e,t){var n=u.fn.init.call(this,e,t,o);return n instanceof r?n:r(n)},r.fn.init.prototype=r.fn;var o=r(document);return d("jQuery.sub() is deprecated"),r};var j=!(u.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length});u.swap&&u.each(["height","width","reliableMarginRight"],function(e,t){var n=u.cssHooks[t]&&u.cssHooks[t].get;n&&(u.cssHooks[t].get=function(){var e;return j=!0,e=n.apply(this,arguments),j=!1,e})}),u.swap=function(e,t,n,r){var o,a,i={};for(a in j||d("jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=n.apply(e,r||[]),t)e.style[a]=i[a];return o},u.ajaxSetup({converters:{"text json":u.parseJSON}});var Q=u.fn.data;u.fn.data=function(e){var t,n,r=this[0];return!r||"events"!==e||1!==arguments.length||(t=u.data(r,e),n=u._data(r,e),t!==i&&t!==n||n===i)?Q.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),n)};var M=/\/(java|ecma)script/i;u.clean||(u.clean=function(e,t,n,r){t=(t=!(t=t||document).nodeType&&t[0]||t).ownerDocument||t,d("jQuery.clean() is deprecated");var o,a,i,s,c=[];if(u.merge(c,u.buildFragment(e,t).childNodes),n)for(i=function(e){if(!e.type||M.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)},o=0;null!=(a=c[o]);o++)u.nodeName(a,"script")&&i(a)||(n.appendChild(a),void 0!==a.getElementsByTagName&&(s=u.grep(u.merge([],a.getElementsByTagName("script")),i),c.splice.apply(c,[o+1,0].concat(s)),o+=s.length));return c});function S(e){return"string"!=typeof e||u.event.special.hover?e:(E.test(e)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),e&&e.replace(E,"mouseenter$1 mouseleave$1"))}var k=u.event.add,T=u.event.remove,N=u.event.trigger,C=u.fn.toggle,H=u.fn.live,A=u.fn.die,L=u.fn.load,O="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",$=new RegExp("\\b(?:"+O+")\\b"),E=/(?:^|\s)hover(\.\S+|)\b/;u.event.props&&"attrChange"!==u.event.props[0]&&u.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),u.event.dispatch&&e(u.event,"handle",u.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),u.event.add=function(e,t,n,r,o){e!==document&&$.test(t)&&d("AJAX events should be attached to document: "+t),k.call(this,e,S(t||""),n,r,o)},u.event.remove=function(e,t,n,r,o){T.call(this,e,S(t)||"",n,r,o)},u.each(["load","unload","error"],function(e,t){u.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?L.apply(this,e):(d("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),u.fn.toggle=function(n,e){if(!u.isFunction(n)||!u.isFunction(e))return C.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");function t(e){var t=(u._data(this,"lastToggle"+n.guid)||0)%a;return u._data(this,"lastToggle"+n.guid,1+t),e.preventDefault(),r[t].apply(this,arguments)||!1}var r=arguments,o=n.guid||u.guid++,a=0;for(t.guid=o;a<r.length;)r[a++].guid=o;return this.click(t)},u.fn.live=function(e,t,n){return d("jQuery.fn.live() is deprecated"),H?H.apply(this,arguments):(u(this.context).on(e,this.selector,t,n),this)},u.fn.die=function(e,t){return d("jQuery.fn.die() is deprecated"),A?A.apply(this,arguments):(u(this.context).off(e,this.selector||"**",t),this)},u.event.trigger=function(e,t,n,r){return n||$.test(e)||d("Global events are undocumented and deprecated"),N.call(this,e,t,n||document,r)},u.each(O.split("|"),function(e,t){u.event.special[t]={setup:function(){var e=this;return e!==document&&(u.event.add(document,t+"."+u.guid,function(){u.event.trigger(t,Array.prototype.slice.call(arguments,1
186),e,!0)}),u._data(this,t,u.guid++)),!1},teardown:function(){return this!==document&&u.event.remove(document,t+"."+u._data(this,t)),!1}}}),u.event.special.ready={setup:function(){this===document&&d("'ready' event is deprecated")}};var J=u.fn.andSelf||u.fn.addBack,F=u.fn.find;u.fn.andSelf=function(){return d("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),J.apply(this,arguments)},u.fn.find=function(e){var t=F.apply(this,arguments);return t.context=this.context,t.selector=this.selector?this.selector+" "+e:e,t}, 187//! FOLLOWING REMOVED BY ATLASSIAN: changes to $.Deferred 188//! FOLLOWING LINE ADDED BY ATLASSIAN 189u.curCSS=u.css}(jQuery,window); 190}catch(e){WRMCB(e)}; 191; 192try { 193/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.1d5e938604', location = 'aui.chunk.57f3662743cb5f36591a--65ae7efcc778edbc45cd.js' */ 194"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4496],{4440:u=>{u.exports=jQuery}}]); 195}catch(e){WRMCB(e)}; 196; 197try { 198/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b1e13b7559', location = 'aui.chunk.333a9d7ca6ae1981dd5f--d5e8d022fc5c347ea247.js' */ 199"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5131],{9392:(n,o,i)=>{i.r(o),i.d(o,{default:()=>e,globalizeI18n:()=>c});const t="AJS",u="I18n";function w(){"object"!=typeof window[t]&&(window[t]={})}function e(n,o){return w(),window[t][n]=o}function c(n){w(),"object"!=typeof window[t][u]&&(window[t][u]={});const o=window[t][u];for(const i in n)void 0===o[i]&&(o[i]=n[i]);return o}}}]); 200}catch(e){WRMCB(e)}; 201; 202try { 203/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.6be109ac60', location = 'aui.chunk.d706f010e4e0e7768a47--e1c08d8b39cb6864fbce.js' */ 204"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2178],{6311:(u,i,a)=>{a.r(i),a.d(i,{default:()=>t});var e=a(4440),n=a.n(e);const t=window.jQuery||window.Zepto||n()}}]); 205}catch(e){WRMCB(e)}; 206; 207try { 208/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.8fd6a41d13', location = 'aui.chunk.71c44091cafefde6608f--3af0f36d56f677d3c3ff.js' */ 209"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[3447],{1005:(e,t,n)=>{n.r(t),n.d(t,{construct:()=>f,css:()=>h,fn:()=>u,getMessageLogger:()=>p,obj:()=>y,prop:()=>d,propertyDeprecationSupported:()=>l});var r=n(6311),o=n(9392),a=Object.prototype.hasOwnProperty,c=[];function i(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function p(e,t){if("function"==typeof e)return e;var n=!1;return t=t||{},function(r){var o,a=function(e){var t=new Error,n=t.stack||t.stacktrace,r=n&&n.replace(/^Error\n/,"")||"";return r?(r=r.split("\n"))[e+2]:r}(r||1)||"";if(!n||-1===c.indexOf(a)){c.push(a),n=!0;var p="DEPRECATED "+(t.deprecationType+" "||0)+"- "+(o=e,((o+="")?o.charAt(0).toUpperCase()+o.substring(1):"")+" has been deprecated")+(t.sinceVersion?" since "+t.sinceVersion:"")+" and will be removed in "+(t.removeInVersion||"a future release")+".";t.alternativeName&&(p+=" Use "+t.alternativeName+" instead. "),t.extraInfo&&(p+=" "+t.extraInfo),a=""===a?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+a,t.extraObject?i(p+="\n",t.extraObject,a):i(p,a)}}}function s(e,t){var n=e.options.displayName;n=n?" ("+n+")":"";var o=r.default.extend({deprecationType:"CSS",extraObject:t},e.options);p("'"+e.selector+"' pattern"+n,o)()}function u(e,t,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var r=p(t||e.name||"this function",n);return function(){return r(),e.apply(this,arguments)}}function f(e,t,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var o=u(e,t,n);return o.prototype=e.prototype,r.default.extend(o,e),o}var l=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),l=!0)}catch(e){}function d(e,t,n){if("function"==typeof e[t]){(n=n||{}).deprecationType=n.deprecationType||"JS";var r=n.displayName||t;e[t]=u(e[t],r,n)}else!function(e,t,n){if(l){var r=e[t];(n=n||{}).deprecationType=n.deprecationType||"JS";var o=p(n.displayName||t,n);Object.defineProperty(e,t,{get:function(){return o(),r},set:function(e){return r=e,o(),e}})}}
209(e,t,n)}function y(e,t,n){for(var o in n=n||{},e)a.call(e,o)&&(n.deprecationType=n.deprecationType||"JS",n.displayName=t+o,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+o,d(e,o,r.default.extend({},n)))}function v(e){return function(t){for(var n={selector:t,options:e||{}},r=document.querySelectorAll(t),o=0;o<r.length;o++)s(n,r[o]);!function(e){if(m.push(e),!g){g=new MutationObserver((function(e){e.forEach((function(e){for(var t=e.addedNodes,n=0;n<t.length;n++){var r=t[n];1===r.nodeType&&m.forEach(b(r))}}))}));var t={childList:!0,subtree:!0};g.observe(document,t)}}(n)}}function h(e,t){"string"==typeof e&&(e=[e]),e.forEach(v(t))}function b(e){return function(t){var n,r;n=e,r=t.selector,(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector).call(n,r)&&s(t,e)}}const m=[];let g;(0,o.default)("deprecate",{fn:u,construct:f,css:h,prop:d,obj:y,propertyDeprecationSupported:l,getMessageLogger:p})}}]); 210}catch(e){WRMCB(e)}; 211; 212try { 213/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.238de622f7', location = 'aui.chunk.dcce4fa65bd61cdf4a05--9c26d469b4966436ef73.js' */ 214"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9146],{5017:(o,e,n)=>{n.r(e),n.d(e,{error:()=>t,log:()=>a,warn:()=>u});var r=n(9392);function l(o){return function(){"undefined"!=typeof console&&console[o]&&Function.prototype.apply.call(console[o],console,arguments)}}var a=l("log"),u=l("warn"),t=l("error");(0,r.default)("error",t),(0,r.default)("log",a),(0,r.default)("warn",u)}}]); 215}catch(e){WRMCB(e)}; 216; 217try { 218/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.71f913d481', location = 'aui.chunk.bbf632d8abd6675882b4--f966d001598f257ee4ee.js' */ 219"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1661],{6249:(u,a,i)=>{i.r(a),i.d(a,{default:()=>t});var n=i(2714);const t=i.n(n)().noConflict()}}]); 220}catch(e){WRMCB(e)}; 221; 222try { 223/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.2e87193100', location = 'aui.chunk.72f92546122841a0cf70--1f3d4719f546b3fb6acb.js' */ 224"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9121],{2390:(E,A,D)=>{D.r(A),D.d(A,{default:()=>M});var T={ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,LEFT_SQUARE_BRACKET:91,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};(0,D(9392).default)("keyCode",T);const M=T}}]); 225}catch(e){WRMCB(e)}; 226; 227try { 228/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ae218db3f9', location = 'aui.chunk.cc77b40fa552a9bab5cf--3248fd33465fe6294260.js' */ 229"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2016],{1415:(n,i,u)=>{function e(n,i){window.define&&(0,window.define)(n,[],(function(){return i}));return i}u.r(i),u.d(i,{default:()=>e})}}]); 230}catch(e){WRMCB(e)}; 231; 232try { 233/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e1516f437c', location = 'aui.chunk.2db2e48284f1f8e6cd03--4b4720e8360a39023d68.js' */ 234"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1646],{1262:(r,e,a)=>{a.r(e),a.d(e,{default:()=>u});var n=a(9392),l=a(5017);function t(r){var e=/'(?!')/g,a=/^\d+$/,n=/^(\d+),number$/,u=/^(\d+),choice,(.+)/,i=/^(\d+)([#<])(.+)/,s=function(e,s){var f,h="";if(f=e.match(a))h=s.length>++e?s[e]:"";else if(f=e.match(n))h=s.length>++f[1]?s[f[1]]:"";else if(f=e.match(u)){var c=s.length>++f[1]?s[f[1]]:null;if(null!==c){for(var o=f[2].split("|"),p=!1,g=null,v=0;v<o.length;v++){var b=o[v].match(i);if(null!=b){var m=parseInt(b[1],10);if(c<m){if(g){h=g;break}h=b[3];break}if(c==m&&"#"==b[2]){h=b[3];break}v==o.length-1&&(h=b[3]),g=b[3]}else p=!0}p&&l.error('The format "'+e+'" from message "'+r+'" is invalid.');var d=[h].concat(Array.prototype.slice.call(s,1));h=t.apply(null,d)}}return h},f=function(r){for(var e=!1,a=-1,n=0,l=0;l<r.length;l++){var t=r.charAt(l);if("'"==t&&(e=!e),!e)if("{"===t)0===n&&(a=l),n++;else if("}"===t&&n>0&&0===--n){var u=[];return u.push(r.substring(0,l+1)),u.push(r.substring(0,a)),u.push(r.substring(a+1,l)),u}}return null};return function(r){var a=arguments,n="";if(!r)return n;for(var l=f(r);l;)r=r.substring(l[0].length),n+=l[1].replace(e,""),n+=s(l[2],a),l=f(r);return n+=r.replace(e,"")}.apply(null,arguments)}(0,n.default)("format",t);const u=t}}]); 235}catch(e){WRMCB(e)}; 236; 237try { 238/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.6baeae3f03', location = 'aui.chunk.584032e29e477644618b--63984a4ea7e473275e57.js' */ 239"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8235],{9501:(e,u,t)=>{function l(e){e=e.jquery?e[0]:e,window.getComputedStyle(e,null).getPropertyValue("left")}t.r(u),t.d(u,{recomputeStyle:()=>l})}}]); 240}catch(e){WRMCB(e)}; 241; 242try { 243/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b3732fff33', location = 'aui.chunk.efd550ffe5ab093e5dcb--a2825dc821c4777e576c.js' */ 244"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6534],{2618:(t,e,r)=>{r.r(e),r.d(e,{default:()=>n});const n=function(t){return{set:function(e,r){void 0===t._state&&(t._state={}),t._state[e]=r},get:function(e){if(t._state)return t._state[e]}}}},1865:(t,e,r)=>{r.r(e),r.d(e,{doIfTrigger:()=>f,forEachTrigger:()=>d,getTrigger:()=>l,hasTrigger:()=>g,setTrigger:()=>s});var n=r(6311),a=r(2390),i=r(1415),o=r(6249),u=r(2618),c=r(5017);function l(t){return(0,u.default)(t).get("last-trigger")||p(t)[0]}function s(t,e){var r=e&&e.nodeType&&1===e.nodeType;return(0,u.default)(t).set("last-trigger",!!r&&e)}function g(t){return!!l(t)}function f(t,e){var r=l(t);r&&e(r)}function d(t,e){return Array.prototype.forEach.call(p(t),e)}function p(t){const e=window.frames,r=`[aria-controls="${t.id}"]`;let n=[],a=!1;for(let t=0;t<e.length;t++)try{let a=e[t].document.querySelectorAll(r);
244n=n.concat(Array.prototype.slice.apply(a))}catch(t){a=!0}const i=document.querySelectorAll(r),o=Array.prototype.slice.apply(i).concat(n);return 0===o.length&&!0===a&&(0,c.warn)([`No triggers found for element (${t.id}) in iframes from the same origin.`,"However some iframes in this document are cross-origin.","The trigger-element relations crossing the origin boundary are not supported."].join(" ")),o}function h(t){return document.getElementById(t.getAttribute("aria-controls"))}function y(t){return"true"!==t.getAttribute("aria-disabled")}function m(t,e){if(y(t)){var r=h(t);r&&r.message&&r.message(e)}}const T={click(t,e){(function(t,e){var r=(0,n.default)(e).closest("a[href]",t);return!!r.length&&r[0]!==t})(t,e.target)||(m(t,e),e.preventDefault())},keydown(t,e){const r=e.data;r!==a.default.ENTER&&r!==a.default.SPACE||(e.preventDefault(),e.type="click",T.click(t,e))},mouseenter(t,e){m(t,e)},mouseleave(t,e){m(t,e)},focus(t,e){m(t,e)},blur(t,e){(function(t,e){let r=e.relatedTarget;return r||(r=document.activeElement),(0,n.default)(h(t)).find(r).length>0})(t,e)||m(t,e)}};Object.keys(T).forEach((function(t){const e=T[t];(0,n.default)(document).on(`${t}.aui-trigger`,"[data-aui-trigger]",(function(r){e(r.currentTarget,function(t,e){const{target:r,currentTarget:n,relatedTarget:a}=t,{keyCode:i,which:o}=t;return{type:e,data:"keydown"===e?o||i:void 0,target:r,currentTarget:n,relatedTarget:a,preventDefault:()=>t.preventDefault()}}(r,t))}))})),(0,o.default)("data-aui-trigger",{type:o.default.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return y(this)}}}),(0,i.default)("aui/trigger")}}]); 245}catch(e){WRMCB(e)}; 246; 247try { 248/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.73d16a88c7', location = 'aui.chunk.cc2490212dab200eb1b1--961fa68569a5e76da4e7.js' */ 249"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9869],{3225:(e,o,d)=>{d.r(o),d.d(o,{dim:()=>n,undim:()=>s});var i,l=d(6311),t=d(1005),r=d(9501),a=d(9392);function n(e,o){i||(i=document.body),!0===e&&m();const d=!!n.$dim&&!n.$dim[0].hasAttribute("hidden");return n.$dim&&(n.$dim.remove(),n.$dim=null),n.$dim=(0,l.default)('<div aria-hidden="true"></div>').addClass("aui-blanket"),n.$dim.appendTo(document.body),d||((0,r.recomputeStyle)(n.$dim),n.cachedOverflow={overflow:i.style.overflow,overflowX:i.style.overflowX,overflowY:i.style.overflowY},i.style.overflowX="hidden",i.style.overflowY="hidden",i.style.overflow="hidden"),n.$dim.removeAttr("hidden"),o&&n.$dim.css({zIndex:o}),n.$dim}function s(){n.$dim&&(n.$dim[0].setAttribute("hidden",""),i&&(i.style.overflow=n.cachedOverflow.overflow,i.style.overflowX=n.cachedOverflow.overflowX,i.style.overflowY=n.cachedOverflow.overflowY))}const m=(0,t.getMessageLogger)("useShim",{extraInfo:"useShim has no alternative as it is now calculated by dim()."});(0,a.default)("dim",n),(0,a.default)("undim",s)}}]); 250}catch(e){WRMCB(e)}; 251; 252try { 253/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.5c751fd12b', location = 'aui.chunk.96fd648d95a28961f17a--43bd8f76f41cf0ddc722.js' */ 254"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6843],{5214:(e,t,n)=>{let o;n.r(t),n.d(t,{default:()=>r}),function(){if(window.CustomEvent)try{const e=new window.CustomEvent("name",{bubbles:!1,cancelable:!0,detail:{x:"y"}});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default");if("name"!==e.type)throw new Error("Could not set custom name");if("y"!==e.detail.x)throw new Error("Could not set detail");return void(o=window.CustomEvent)}catch(e){}o=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail);var o=n.preventDefault;return n.preventDefault=function(){o.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented||(this.defaultPrevented=!0)}},n},o.prototype=window.Event.prototype}();const r=o}}]); 255}catch(e){WRMCB(e)}; 256; 257try { 258/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.6cf0c96ecb', location = 'aui.chunk.fb585f4176cfbff0d4fd--1d8cc5de1c5b2007937e.js' */ 259"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[700],{1971:(t,e,a)=>{a.r(e),a.d(e,{default:()=>h});var n=a(6311),i=a(9392),r=a(2390),u=a(1865);!function(){function t(t){return"visible"===n.default.css(t,"visibility")&&(0,n.default)(t).is(":visible")}function e(e,a){var i=e.nodeName.toLowerCase();if("aui-select"===i)return!0;
259if("area"===i){var r=e.parentNode,u=r.name,o=(0,n.default)("img[usemap=#"+u+"]").get();return!(!e.href||!u||"map"!==r.nodeName.toLowerCase())&&(o&&t(o))}var f=/input|select|textarea|button|object|iframe/.test(i),s="a"===i,l=e.href||a;return(f?!e.disabled:s?l:a)&&t(e)}n.default.extend(n.default.expr.pseudos,{"aui-focusable":t=>e(t,!isNaN(n.default.attr(t,"tabindex"))),"aui-tabbable":function(t){var a=n.default.attr(t,"tabindex"),i=isNaN(a);return(i||a>=0)&&e(t,!i)}})}();var o="_aui-focus-restore";function f(t){return t.is(".aui-dialog2")||t.is('[aui-focus-trap="true"]')}function s(){this._focusTrapStack=[],this._handler}function l(t,e){if(0===t.length)return;if(e.keyCode!==r.default.TAB)return;const a=e.shiftKey?-1:1,i=e.target,o=t[t.length-1],s=o.find(":aui-tabbable");if(!s.length&&f(o)&&(o.trigger("focus"),e.preventDefault()),!s.length)return;const l=s.index(i);let c=-1;if(l>-1)c=l;else{let t;if(t=(0,n.default)(i).closest(".aui-layer"),!t.length){t=o.find("[aria-controls]").map((function(){return document.getElementById(this.getAttribute("aria-controls"))})).has(i)}if(t.length){const e=t.find(":aui-tabbable"),n=e.index(i)+a;if(!(n<0||n>=e.length))return;{const e=(0,u.getTrigger)(t.get(0));c=s.index(e)}}}c=c>-1?function(t,e,a,n){function i(t){return(t+a)%n.length}let r=i(e);if("radio"===t.type&&t.name)for(;n.eq(r).attr("name")===t.name&&r!==e;)r=i(r);if(r!==e&&"radio"===n.eq(r).attr("type")){const t=n.eq(r).attr("name"),e=n.filter((function(){return"radio"===this.type&&this.name===t})),i=e.filter(":checked");let u;u=i.length>0?i.first():a>0?e.first():e.last(),r=n.index(u)}return r}(i,c,a,s):0,"IFRAME"!==s.get(c).nodeName&&(s.eq(c).trigger("focus"),e.preventDefault())}let c;function d(){return c||(c=new s),c}s.defaultFocusSelector=":aui-tabbable",s.prototype.enter=function(t,e){if(function(t,e=document.activeElement){t.data(o,e)}(t,e),"false"!==t.attr("data-aui-focus")){var a=t.attr("data-aui-focus-selector")||s.defaultFocusSelector;(t.is(a)?t:t.find(a)).first().trigger("focus")}f(t)&&(this._focusTrapStack.push(t),this._handler||(this._handler=l.bind(void 0,this._focusTrapStack),(0,n.default)(document).on("keydown.aui-focus-manager",this._handler)))},s.prototype.exit=function(t){f(t)&&(this._focusTrapStack.splice(this._focusTrapStack.indexOf(t),1),this._focusTrapStack.length||((0,n.default)(document).off(".aui-focus-manager",this._handler),delete this._handler));var e=document.activeElement;if(t[0]===e||t.has(e).length){(0,n.default)(e).trigger("blur");var a=function(t){return(0,n.default)(t.data(o))}(t);a.length&&(t.removeData(o),a.trigger("focus"))}},d.global=d(),(0,i.default)("FocusManager",d);const h=d}}]); 260}catch(e){WRMCB(e)}; 261; 262try { 263/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.fbff6178a8', location = 'aui.chunk.bc8234c6b4f9a90112a5--7b05de6a066b383cd043.js' */ 264"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9610],{6087:(a,t,u)=>{u.r(t),u.d(t,{default:()=>i});var e=u(6311);function i(a,t){var u="_aui-widget-"+a;return function(a,i){var n,r;e.default.isPlainObject(a)?r=a:(n=a,r=i);var l,d=n&&(0,e.default)(n);return d&&d.data(u)?l=d.data(u):(d=(l=new t(d,r||{})).$el).data(u,l),l}}}}]); 265}catch(e){WRMCB(e)}; 266; 267try { 268/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ff6a1e4013', location = 'aui.chunk.1a88283b70e158de57e0--e9713c0c64c31d2025a2.js' */ 269"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7794],{2496:(t,e,i)=>{i.r(e),i.d(e,{EVENT_PREFIX:()=>c,default:()=>B});var n=i(6311),s=i(3225),r=i(1971),a=i(1865),l=i(9392),u=i(2390),o=i(6087),h=i(5214);const c="_aui-internal-layer-",f="_aui-internal-layer-global-";var d=(0,n.default)(document);function g(t,e,i,n){!function(t,e){var i=window.getComputedStyle(t).transitionProperty;return!!i&&i.indexOf(e)>-1}(t,e)?i.call(t):t.addEventListener("transitionend",(function s(r){e===r.propertyName&&(i.call(t),n&&t.removeEventListener("transitionend",s))}))}function k(t,e,i){var s=n.default.Event(c+e),r=n.default.Event(f+e),a=new h.default("aui-layer-"+i,{bubbles:!0,cancelable:!0}),l=new h.default("aui-"+i,{bubbles:!0,cancelable:!0});return t.trigger(s),t.trigger(r,[t]),t[0].dispatchEvent(a),t[0].dispatchEvent(l),!(s.isDefaultPrevented()||r.isDefaultPrevented()||a.defaultPrevented||l.defaultPrevented)}function p(t){this.$el=(0,n.default)(t||'<div class="aui-layer"></div>'),this.el=this.$el[0],this.$el.addClass("aui-layer")}function v(t,e){return t.getAttribute(e)||t.getAttribute("data-aui-"+e)}p.prototype={below:function(){return w.global.item(w.global.indexOf(this.$el)-1)},above:function(){return w.global.item(w.global.indexOf(this.$el)+1)},changeSize:function(t,e){return this.$el.css("width",t),this.$el.css("height","content"===e?"":e),this},on:function(t,e){return this.$el.on(c+t,e),this},off:function(t,e){return this.$el.off(c+t,e),this},show:function(){return this.isVisible()||w.global.indexOf(this.$el)>
269-1?this:k(this.$el,"beforeShow","show")?("none"===this.$el.css("display")&&this.$el.css("display",""),w.global.push(this.$el),this):this},hide:function(){if(!this.isVisible())return this;const t=this;return g(this.$el.get(0),"opacity",(function(){t.isVisible()||(this.style.display="none")}),!0),w.global.popUntil(this.$el,!0),this},isVisible:function(){return!0===this.$el.data("_aui-layer-shown")},remove:function(){this.hide(),this.$el.remove(),this.$el=null,this.el=null},isBlanketed:function(){return"true"===this.el.dataset.auiBlanketed},isPersistent:function(){var t=v(this.el,"modal"),e=this.el.hasAttribute("persistent");return"true"===t||e},getDOMContainer:function(){let t=v(this.el,"dom-container");return t&&(t=document.querySelector(t)||document.body),t},_hideLayer:function(t){return!(t&&!k(this.$el,"beforeHide","hide"))&&((this.isPersistent()||this.isBlanketed())&&r.default.global.exit(this.$el),this.el.removeAttribute("open"),this.$el.removeData("_aui-layer-shown"),this.$el.css("z-index",this.$el.data("_aui-layer-cached-z-index")||""),this.$el.data("_aui-layer-cached-z-index",""),this.$el.trigger(c+"hide"),this.$el.trigger(f+"hide",[this.$el]),!0)},_showLayer:function(t){let e=this.getDOMContainer();if(this.isBlanketed()||e){let t=e||"body";this.$el.parent().is(t)||this.$el.appendTo(t)}this.$el.data("_aui-layer-shown",!0),this.$el.data("_aui-layer-cached-z-index",this.$el.css("z-index")),this.$el.css("z-index",t),this.el.removeAttribute("hidden"),this.el.setAttribute("open",""),this.isBlanketed()&&r.default.global.enter(this.$el),this.$el.trigger(c+"show"),this.$el.trigger(f+"show",[this.$el])}};var _=(0,o.default)("layer",p);function y(t,e){for(var i=t.length;i--;)if(e(t[i]))return i;return-1}function b(t,e){return y(t,(function(t){return t[0]===e[0]}))}function $(t){return y(t,(function(t){return _(t).isBlanketed()}))}function P(t,e){var i=$(t);e!==i&&(i>-1?(0,s.dim)(!1,t[i].css("z-index")-20):(0,s.undim)())}function m(t,e,i,n=!0){if(e<0)return[!1,null];for(var s,r=t.length-1;r>=e;r--){s=t[r];var a=_(s);if(i||!a.isPersistent()){if(!a._hideLayer(n))return[!1,s];t.splice(r,1)}}return[!0,s]}function w(){this._stack=[]}function x(t){if(!t.length)return!1;var e=document.getElementById(t.attr("aria-controls"));return w.global.indexOf(e)>-1}_.on=function(t,e,i){return d.on(f+t,e,i),this},_.off=function(t,e,i){return d.off(f+t,e,i),this},w.prototype={push:function(t){var e=t instanceof n.default?t:(0,n.default)(t);if(b(this._stack,e)>=0)throw new Error("The given element is already an active layer.");this.popLayersBeside(e);var i=_(e),r=function(t){var e;if(t.length){var i=t[t.length-1],n=parseInt(i.css("z-index"),10);e=(isNaN(n)?0:n)+100}else e=0;return Math.max(3e3,e)}(this._stack);return i._showLayer(r),i.isBlanketed()&&(0,s.dim)(!1,r-20),this._stack.push(e),this},popLayersBeside:function(t){const e=(0,n.default)(t).get(0);if(!(0,a.hasTrigger)(e)){var i=$(this._stack);return void m(this._stack,++i,!1)}const s=function(t){var e=(0,a.getTrigger)(t);if(e)return(0,n.default)(e).closest(".aui-layer").get(0)}(e);if(s){let t=this.indexOf(s);m(this._stack,++t,!1)}else m(this._stack,0,!1)},indexOf:function(t){return b(this._stack,(0,n.default)(t))},item:function(t){return this._stack[t]},hideAll:function(){return this._stack.slice().reverse().forEach((function(t){let e=_(t);e.isBlanketed()||e.isPersistent()||e.hide()})),this},getNextLowerNonPersistentOrBlanketedLayer:function(t){var e,i=t instanceof n.default?t:(0,n.default)(t),s=b(this._stack,i);if(s<0)return null;for(s--;s>=0;){e=this._stack[s];var r=_(e);if(!r.isPersistent()||r.isBlanketed())return e;s--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(t){var e,i=t instanceof n.default?t:(0,n.default)(t),s=b(this._stack,i);if(s<0)return null;for(s++;s<this._stack.length;){e=this._stack[s];var r=_(e);if(!r.isPersistent()&&!r.isBlanketed())return e;s++}return null},getTopLayer:function(){return this._stack[this._stack.length-1]||null},getTopOpenLayer:function(){return this._stack.slice().reverse().find((t=>t.attr("open")))||null},popUntil:function(t,e=!1){var i=t instanceof n.default?t:(0,n.default)(t),s=b(this._stack,i);if(-1===s)return null;const r=$(this._stack),a=_(i),[l,u]=m(this._stack,s+1,a.isBlanketed(),e);return l&&a._hideLayer(e)?(this._stack.splice(s,1),P(this._stack,r),i):u},popTopIfNonPersistent:function(t=!1){var e=this.getTopLayer(),i=_(e);
269return!e||i.isPersistent()?null:this.popUntil(e,t)},popUntilTopBlanketed:function(t=!1){var e=$(this._stack);if(e<0)return null;var i=this._stack[e];if(_(i).isPersistent()){var n=this.getNextHigherNonPeristentAndNonBlanketedLayer(i);if(n){var s=b(this._stack,n);return m(this._stack,s,!0,t),n}return null}return m(this._stack,e,!0),P(this._stack,e),i},popUntilTopPersistent:function(t=!1){var e=w.global.getTopLayer();if(e){var i,n=$(this._stack),s=_(e);if(s.isPersistent()){if(s.isBlanketed())return;if(e=w.global.getNextLowerNonPersistentOrBlanketedLayer(e),s=_(e),!e||s.isPersistent())return;i=b(this._stack,e),m(this._stack,i,!0,t),P(this._stack,n)}else i=b(this._stack,e),m(this._stack,i,!0,t),P(this._stack,n)}}},d.on("keydown",(function(t){t.keyCode===u.default.ESCAPE&&(w.global.popUntilTopPersistent(!0),t.preventDefault())})),d.on("click",".aui-blanket",(function(t){w.global.popUntilTopBlanketed(!0)&&t.preventDefault()})),d.on("click",(function(t){var e=(0,n.default)(t.target);if(!e.closest(".aui-blanket").length){var i=e.closest("[aria-controls]"),s=e.closest(".aui-layer");if(!s.length&&!x(i)){const e=n.default.Event("aui-close-layers-on-outer-click");return d.trigger(e),e.isDefaultPrevented()?void t.preventDefault():void w.global.hideAll()}if(!x(i)&&s.length){var r=w.global.getNextHigherNonPeristentAndNonBlanketedLayer(s);r&&_(r).hide()}}})),w.global=new w,_.Manager=w,(0,l.default)("layer",_);const B=_}}]); 270}catch(e){WRMCB(e)}; 271; 272try { 273/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.eb92b2ea3e', location = 'aui.chunk.65c708575153f7ac71f7--62ba411a086447f7c045.js' */ 274"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[449],{588:(e,n,i)=>{i.r(n),i.d(n,{enable:()=>r,inlineHelp:()=>d});var t=i(6311),a=i(9392),c=i(2714),l=i.n(c);var u=i(4440),o=i.n(u);function s(e){let n;return{type:l().type.CLASSNAME,attached:function(i){!function(e,n){let i=!1;if(n((()=>{i=!0})),i)return;const t=new MutationObserver((e=>{(function(e){for(const n of e)if("childList"===n.type)return!0;return!1})(e)&&n((()=>t.disconnect()))}));t.observe(e,{childList:!0})}(i,(t=>{n=t;const a=o()(`input[type=${e}]`,i);a.each((function(e,n){o()('<span class="aui-form-glyph"></span>').insertAfter(n)}));a.length>0&&n()}))},detached:function(e){o()(".aui-form-glyph",e).remove(),n&&n()}}}function r(e,n){var i=(0,t.default)(e);return void 0===n&&(n=!0),i.each((function(){this.disabled=!n}))}function d(){(0,t.default)(document).on("click",".icon-inline-help",(function(){var e=(0,t.default)(this).siblings(".field-help");e.hasClass("hidden")?e.removeClass("hidden"):e.addClass("hidden")}))}l()("checkbox",s("checkbox")),l()("radio",s("radio")),(0,a.default)("enable",r),(0,a.default)("inlineHelp",d)}}]); 275}catch(e){WRMCB(e)}; 276; 277try { 278/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a61395d23c', location = 'aui.chunk.d34f04a5c68b97164e77--43cbd7d5d2f16c1dfd1e.js' */ 279"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[328],{1667:(u,i,a)=>{a.r(i);a(588)}}]); 280}catch(e){WRMCB(e)}; 281; 282try { 283/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e5cac58685', location = 'aui.chunk.0e43bcaee93cb30feca4--54fb03c1e028aa490e1a.js' */ 284"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1166],{9106:(e,t,u)=>{u.r(t),u.d(t,{default:()=>l});var a=u(9392);const n={"<":"<",">":">","&":"&",'"':""","'":"'","`":"`"},c=new RegExp(`[${Object.keys(n).join("")}]`,"g");function i(e){return e.replace(c,(e=>n[e]))}
284(0,a.default)("escapeHtml",i);const l=i}}]); 285}catch(e){WRMCB(e)}; 286; 287try { 288/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bf8135db29', location = 'aui.chunk.a8d7c818e594c14baf19--f44e3b7aedf97db15677.js' */ 289"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6319],{5725:(n,e,r)=>{r.r(e),r.d(e,{bind:()=>a,trigger:()=>l,unbind:()=>c});var i=r(6311),t=r(5017),u=r(9392);const g=!1,o=(0,i.default)(window);function a(n,e,r){try{return"function"==typeof r?o.on(n,g,e,r):o.on(n,g,e)}catch(n){t.log("error while binding: ",n.message)}}function c(n,e){try{return o.off(n,e)}catch(n){t.log("error while unbinding: ",n.message)}}function l(n,e){try{return o.trigger(n,e)}catch(n){t.log("error while triggering: "+n.message)}}(0,u.default)("bind",a),(0,u.default)("trigger",l),(0,u.default)("unbind",c)}}]); 290}catch(e){WRMCB(e)}; 291; 292try { 293/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f7ba736494', location = 'aui.chunk.044a3213a8bd5ea90c79--4aca02c268a77ac8a38c.js' */ 294"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7522],{2980:(a,u,i)=>{i.r(u),i.d(u,{format:()=>e.default});var e=i(1262)}}]); 295}catch(e){WRMCB(e)}; 296; 297try { 298/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4717e31b0f', location = 'aui.chunk.2247a8b9896a0b5fffcd--772a21c2441b022eadd5.js' */ 299"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7463],{2440:(i,n,u)=>{u.r(n),u.d(n,{bind:()=>b.bind,trigger:()=>b.trigger,unbind:()=>b.unbind});var b=u(5725)}}]); 300}catch(e){WRMCB(e)}; 301; 302try { 303/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.175d337e8b', location = 'aui.chunk.f9ec9a014287d7cff205--ac8559fde7f1e9d4afa6.js' */ 304"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9416],{2341:(i,a,n)=>{n.r(a),n.d(a,{bind:()=>e.bind,format:()=>r.format,trigger:()=>e.trigger,unbind:()=>e.unbind,version:()=>u.default});var r=n(2980),u=n(8237),e=n(2440);n(9106)},8237:(i,a,n)=>{n.r(a),n.d(a,{default:()=>u});var r="9.12.9";(0,n(9392).default)("version",r);const u=r}}]); 305}catch(e){WRMCB(e)}; 306; 307try { 308/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4e3616a7eb', location = 'aui.chunk.089b4e9b5e99a0f10ff4--93fef94a0683f8d2babc.js' */ 309"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5441],{5651:(a,e,u)=>{var i=u(9392),l=u(2496);(0,i.default)("LayerManager",l.default.Manager);l.default.Manager}}]); 310}catch(e){WRMCB(e)}; 311; 312try { 313/* module-key = 'com.atlassian.auiplugin:split_aui.side-effects', location = 'aui.chunk.9321e4b195377031fdfc--683e91939e0a63cab41b.js' */ 314"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1492],{2090:(t,e,a)=>{a.r(e),a.d(e,{$:()=>h,bind:()=>n.bind,format:()=>n.format,toInit:()=>p,trigger:()=>n.trigger,unbind:()=>n.unbind,version:()=>n.version});a(1667);var n=a(2341),i=(a(5651),a(6311)),r=a(9392),u=a(1005);const s={sinceVersion:"9.0.0",removeInVersion:"10.0.0"},o=new Proxy({},{get:function(t,e){return(0,u.getMessageLogger)("AJS.params",s)(),t[e]}}),l=(0,r.default)("params",o);const f=(0,u.fn)((function(t){t||(t=l),(0,i.default)(".parameters input").each((function(){var e=this.value,a=this.title||this.id;(0,i.default)(this).hasClass("list")?t[a]?t[a].push(e):t[a]=[e]:t[a]=e.match(/^(tru|fals)e$/i)?"true"===e.toLowerCase():e}))}),"populateParameters",{sinceVersion:"9.0.0",removeInVersion:"10.0.0"});(0,r.default)("populateParameters",f);const d=f;var c=a(8237);(0,i.default)((function(){var t=(0,i.default)("body");t.data("auiVersion")||t.attr("data-aui-version",c.default),d()})),(0,r.default)("$",i.default);const h=i.default;var m=a(5017);function g(t){return i.default.when(i.default.ready).then((function(){setTimeout((function(){try{t.call(this,i.default)}catch(e){m.error("Failed to run init function: "+e.message,t,e,e.stack)}}),1)})),this}(0,r.default)("toInit",g);const p=g}},t=>{t.O(0,[8658,4496,1263,5131,5366,2178,3910,3447,9146,1661,5828,9121,8574,5388,2016,1646,8235,9489,6534,9869,6843,700,1700,9610,7794,449,328,2965,8115,1166,6319,9924,8071,7522,7463,6483,9416,3142,5441],(()=>{return e=2090,t(t.s=e);var e}));t.O()}]); 315}catch(e){WRMCB(e)}; 316; 317try { 318/* module-key = 'jira.webresources:jira-logger', location = '/static/util/logger.js' */ 319define("jira/util/logger",["exports"],(function(n){"use strict";function o(){}function e(n){return function(n){return"undefined"!=typeof console&&"function"==typeof console[n]?console[n].bind(console):function(){if("undefined"!=typeof console&&console[n])return Function.prototype.apply.call(console[n],console,arguments)}}(n)||o}n.log=e("log");n.info=e("info");n.warn=e("warn");n.error=e("error");n.debug=e("debug");n.trace=function n(){var e=window.__tracer||o;if(e!==n)return e.apply(e,arguments)}})); 320}catch(e){WRMCB(e)}; 321; 322try { 323/* module-key = 'jira-frontend-api:jquery', location = '/js/jquery/jquery.js' */ 324define("jira/api/jquery",(function(){"use strict";return window.jQuery})); 325}catch(e){WRMCB(e)}; 326; 327try { 328/* module-key = 'jira-frontend-api:jquery', location = '/includes/jquery/isolated-onready.js' */ 329define("jira/jquery/isolated-onready",["jira/api/jquery","jira/util/logger"],(function(r,e){"use strict";var n=r.fn.ready;r.fn.ready=function(r){return n.call(this,function(r){return function(){try{for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r.apply(this,a)}catch(r){e.error("An error occurred in one of the jQuery onReady callbacks",r)}}}(r))}}));require("jira/jquery/isolated-onready"); 330}catch(e){WRMCB(e)}; 331; 332try { 333/* module-key = 'jira.webresources:jquery', location = '/includes/jquery/plugins/form/form.js' */ 334function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e) 335/*! 336 * jQuery Form Plugin 337 * version: 2.67 (12-MAR-2011) 338 * @requires jQuery v1.3.2 or later 339 * 340 * Examples and documentation at: http://malsup.com/jquery/form/ 341 * Dual licensed under the MIT and GPL licenses: 342 * http://www.opensource.org/licenses/mit-license.php 343 * http://www.gnu.org/licenses/gpl.html 344 */}!function(e){e.fn.ajaxSubmit=function(r){if(!this.length){t("ajaxSubmit: ski
344pping submit process - no element selected");return this}"function"==typeof r&&(r={success:r});var a=this.attr("action"),n="string"==typeof a?e.trim(a):"";n&&(n=(n.match(/^([^#]+)/)||[])[1]);n=n||window.location.href||"";r=e.extend(!0,{url:n,type:this[0].getAttribute("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},r);var i={};this.trigger("form-pre-serialize",[this,r,i]);if(i.veto){t("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(r.beforeSerialize&&!1===r.beforeSerialize(this,r)){t("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var o,s,l=this.formToArray(r.semantic);if(r.data){r.extraData=r.data;for(o in r.data)if(r.data[o]instanceof Array)for(var u in r.data[o])l.push({name:o,value:r.data[o][u]});else{s=r.data[o];s=e.isFunction(s)?s():s;l.push({name:o,value:s})}}if(r.beforeSubmit&&!1===r.beforeSubmit(l,this,r)){t("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[l,this,r,i]);if(i.veto){t("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var c=e.param(l);if("GET"==r.type.toUpperCase()){r.url+=(r.url.indexOf("?")>=0?"&":"?")+c;r.data=null}else r.data=c;var f=this,m=[];r.resetForm&&m.push((function(){f.resetForm()}));r.clearForm&&m.push((function(){f.clearForm()}));if(!r.dataType&&r.target){var d=r.success||function(){};m.push((function(t){var a=r.replaceTarget?"replaceWith":"html";"html"==a&&(t=e.parseHTML(e("<div>").text(t).html()));e(r.target)[a](t).each(d,arguments)}))}else r.success&&m.push(r.success);r.success=function(e,t,a){for(var n=r.context||r,i=0,o=m.length;i<o;i++)m[i].apply(n,[e,t,a||f,f])};var p=e("input:file",this).length>0,h="multipart/form-data",v=f.attr("enctype")==h||f.attr("encoding")==h;!1!==r.iframe&&(p||r.iframe||v)?r.closeKeepAlive?e.get(r.closeKeepAlive,b):b():e.ajax(r);this.trigger("form-submit-notify",[this,r]);return this;function b(){var a=f[0];if(e(":input[name=submit],:input[id=submit]",a).length)alert('Error: Form elements must not have name or id of "submit".');else{var n=e.extend(!0,{},e.ajaxSettings,r);n.context=n.context||n;var i="jqFormIO"+(new Date).getTime(),o=e('<iframe id="'+i+'" name="'+i+'" src="'+n.iframeSrc+'" />'),s=o[0];o.css({position:"absolute",top:"-1000px",left:"-1000px"});var l={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){t("aborting upload...");var r="aborted";this.aborted=1;o.attr("src",n.iframeSrc);l.error=r;n.error&&n.error.call(n.context,l,"error",r);u&&e.event.trigger("ajaxError",[l,n,r]);n.complete&&n.complete.call(n.context,l,"error")}},u=n.global;u&&!e.active++&&e.event.trigger("ajaxStart");u&&e.event.trigger("ajaxSend",[l,n]);if(n.beforeSend&&!1===n.beforeSend.call(n.context,l,n))n.global&&e.active--;else if(!l.aborted){var c=0,m=a.clk;if(m){var d=m.name;if(d&&!m.disabled){n.extraData=n.extraData||{};n.extraData[d]=m.value;if("image"==m.type){n.extraData[d+".x"]=a.clk_x;n.extraData[d+".y"]=a.clk_y}}}n.forceSync?y():setTimeout(y,10);var p,h=50,v=e.parseXML||function(e,t){if(window.ActiveXObject){(t=new ActiveXObject("Microsoft.XMLDOM")).async="false";t.loadXML(e)}else t=(new DOMParser).parseFromString(e,"text/xml");return t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},b=e.parseJSON||function(e){window.console.error("jquery.parseJSON is undefined");return null},g=function(t,r,a){var n=t.getResponseHeader("content-type")||"",i="xml"===r||!r&&n.indexOf("xml")>=0,o=i?t.responseXML:t.responseText;i&&"parsererror"===o.documentElement.nodeName&&e.error&&e.error("parsererror");a&&a.dataFilter&&(o=a.dataFilter(o,r));"string"==typeof o&&("json"===r||!r&&n.indexOf("json")>=0?o=b(o):("script"===r||!r&&n.indexOf("javascript")>=0)&&e.globalEval(o));return o}}}function y(){var t=f.attr("target"),r=f.attr("action");a.setAttribute("target",i);"POST"!=a.getAttribute("method")&&a.setAttribute("method","POST");a.getAttribute("action")!=n.url&&a.setAttribute("action",n.url);n.skipEncodingOverride||f.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});n.timeout&&setTimeout((function(){c=!0;x()}),n.timeout);var l=[];
344try{if(n.extraData)for(var u in n.extraData)l.push(e('<input type="hidden" name="'+u+'" value="'+n.extraData[u]+'" />').appendTo(a)[0]);o.appendTo("body");s.attachEvent?s.attachEvent("onload",x):s.addEventListener("load",x,!1);a.submit()}finally{a.setAttribute("action",r);t?a.setAttribute("target",t):f.removeAttr("target");e(l).remove()}}function x(){if(!l.aborted){var r=s.contentWindow?s.contentWindow.document:s.contentDocument?s.contentDocument:s.document;if(r&&r.location.href!=n.iframeSrc){s.detachEvent?s.detachEvent("onload",x):s.removeEventListener("load",x,!1);var a=!0;try{if(c)throw"timeout";var i="xml"==n.dataType||r.XMLDocument||e.isXMLDoc(r);t("isXml="+i);if(!i&&window.opera&&(null==r.body||""==r.body.innerHTML)&&--h){t("requeing onLoad callback, DOM not available");setTimeout(x,250);return}l.responseText=r.body?r.body.innerHTML:r.documentElement?r.documentElement.innerHTML:null;l.responseXML=r.XMLDocument?r.XMLDocument:r;l.getResponseHeader=function(e){return{"content-type":n.dataType}[e]};var f=/(json|script)/.test(n.dataType);if(f||n.textarea){var m=r.getElementsByTagName("textarea")[0];if(m)l.responseText=m.value;else if(f){var d=r.getElementsByTagName("pre")[0],b=r.getElementsByTagName("body")[0];d?l.responseText=d.textContent:b&&(l.responseText=b.innerHTML)}}else"xml"!=n.dataType||l.responseXML||null==l.responseText||(l.responseXML=v(l.responseText));p=g(l,n.dataType,n)}catch(r){t("error caught:",r);a=!1;l.error=r;n.error&&n.error.call(n.context,l,"error",r);u&&e.event.trigger("ajaxError",[l,n,r])}if(l.aborted){t("upload aborted");a=!1}if(a){n.success&&n.success.call(n.context,p,"success",l);u&&e.event.trigger("ajaxSuccess",[l,n])}u&&e.event.trigger("ajaxComplete",[l,n]);u&&!--e.active&&e.event.trigger("ajaxStop");n.complete&&n.complete.call(n.context,l,a?"success":"error");setTimeout((function(){o.removeData("form-plugin-onload");o.remove();l.responseXML=null}),100)}}}}};e.fn.ajaxForm=function(r){if(0===this.length){var a={s:this.selector,c:this.context};if(!e.isReady&&a.s){t("DOM not ready, queuing ajaxForm");e((function(){e(a.s,a.c).ajaxForm(r)}));return this}t("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)"));return this}return this.ajaxFormUnbind().bind("submit.form-plugin",(function(t){if(!t.isDefaultPrevented()){t.preventDefault();e(this).ajaxSubmit(r)}})).bind("click.form-plugin",(function(t){var r=t.target,a=e(r);if(!a.is(":submit,input:image")){var n=a.closest(":submit");if(0==n.length)return;r=n[0]}var i=this;i.clk=r;if("image"==r.type)if(null!=t.offsetX){i.clk_x=t.offsetX;i.clk_y=t.offsetY}else if("function"==typeof e.fn.offset){var o=a.offset();i.clk_x=t.pageX-o.left;i.clk_y=t.pageY-o.top}else{i.clk_x=t.pageX-r.offsetLeft;i.clk_y=t.pageY-r.offsetTop}setTimeout((function(){i.clk=i.clk_x=i.clk_y=null}),100)}))};e.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};e.fn.formToArray=function(t){var r=[];if(0===this.length)return r;var a,n,i,o,s,l,u,c=this[0],f=t?c.getElementsByTagName("*"):c.elements;if(!f)return r;for(a=0,l=f.length;a<l;a++)if(i=(s=f[a]).name)if(t&&c.clk&&"image"==s.type){if(!s.disabled&&c.clk==s){r.push({name:i,value:e(s).val()});r.push({name:i+".x",value:c.clk_x},{name:i+".y",value:c.clk_y})}}else if((o=e.fieldValue(s,!0))&&o.constructor==Array)for(n=0,u=o.length;n<u;n++)r.push({name:i,value:o[n]});else null!=o&&r.push({name:i,value:o});if(!t&&c.clk){var m=e(c.clk),d=m[0];if((i=d.name)&&!d.disabled&&"image"==d.type){r.push({name:i,value:m.val()});r.push({name:i+".x",value:c.clk_x},{name:i+".y",value:c.clk_y})}}return r};e.fn.formSerialize=function(t){return e.param(this.formToArray(t))};e.fn.fieldSerialize=function(t){var r=[];this.each((function(){var a=this.name;if(a){var n=e.fieldValue(this,t);if(n&&n.constructor==Array)for(var i=0,o=n.length;i<o;i++)r.push({name:a,value:n[i]});else null!=n&&r.push({name:this.name,value:n})}}));return e.param(r)};e.fn.fieldValue=function(t){for(var r=[],a=0,n=this.length;a<n;a++){var i=this[a],o=e.fieldValue(i,t);null==o||o.constructor==Array&&!o.length||(o.constructor==Array?e.merge(r,o):r.push(o))}return r};e.fieldValue=function(t,r){var a=t.name,n=t.type,i=t.tagName.toLowerCase();void 0===r&&(r=!0);if(r&&(!a||t.disabled||"reset"==n||"button"==n||("checkbox"==n||"radio"==n)&&!t.checked||("submit"==n||"image"==n)&&t.form&&t.form.clk!=t||"select"==i&&-1==t.selectedIndex))return null;if("select"==i){var o=t.selectedIndex;if(o<0)return null;for(var s=[],l=t.options,u="select-one"==n,c=u?o+1:l.length,f=u?o:0;f<c;f++){var m=l[f];if(m.selected){var d=m.value;d||(d=m.attributes&&m.attributes.value&&!m.attributes.value.specified?m.text:m.value);if(u)return d;s.push(d)}}return s}return e(t).val()};e.fn.clearForm=function(){return this.each((function(){e("input,select,textarea",this).clearFields()}))};e.fn.clearFields=e.fn.clearInputs=function(){return this.each((function(){var e=this.type,t=this.tagName.toLowerCase();"text"==e||"password"==e||"textarea"==t?this.value="":"checkbox"==e||"radio"==e?this.checked=!1:"select"==t&&(this.selectedIndex=-1)}))};e.fn.resetForm=function(){return this.each((function(){("function"==typeof this.reset||"object"==_typeof(this.reset)&&!this.reset.nodeType)&&this.reset()}))};e.fn.enable=function(e){void 0===e&&(e=!0);return this.each((function(){this.disabled=!e}))};e.fn.selected=function(t){void 0===t&&(t=!0);
344return this.each((function(){var r=this.type;if("checkbox"==r||"radio"==r)this.checked=t;else if("option"==this.tagName.toLowerCase()){var a=e(this).parent("select");t&&a[0]&&"select-one"==a[0].type&&a.find("option").selected(!1);this.selected=t}}))};function t(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}}(jQuery); 345}catch(e){WRMCB(e)}; 346; 347try { 348/* module-key = 'jira.webresources:jquery', location = '/static/lib/amd-shims/jquery-amd.js' */ 349define("jquery",(function(){return window.jQuery})); 350}catch(e){WRMCB(e)}; 351; 352try { 353/* module-key = 'jira.webresources:jquery', location = '/static/lib/amd-shims/jquery-deferred-amd.js' */ 354define("jira/jquery/deferred",["jquery"],(function(e){return e.Deferred})); 355}catch(e){WRMCB(e)}; 356; 357try { 358/* module-key = 'jira.webresources:jira-layer-interactions', location = '/includes/ajs/layer/LayerInteractions.js' */ 359define("jira/ajs/layer/layer-interactions",["exports"],(function(e){"use strict";var n={preventDialogHide:[],preventInputBlur:[],preventInlineEditCancel:[],hideBeforeDialogShown:[]};for(var r in n){if(!Object.prototype.hasOwnProperty.call(n,r))return;!function(r){e[r]=function(e){e&&-1===n[r].indexOf(e)&&n[r].push(e);return n[r]}}(r)}})); 360}catch(e){WRMCB(e)}; 361; 362try { 363/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--4f601bad99', location = 'aui.chunk.9c59fe0e8018f39ed7d5--950acbbb272f9a50ff47.js' */ 364(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2262],{4171:(n,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var e="1.13.7",u="object"==typeof self&&self.self===self&&self||"object"==typeof t.g&&t.g.global===t.g&&t.g||Function("return this")()||{},i=Array.prototype,o=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,f=i.push,c=i.slice,l=o.toString,s=o.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,v="undefined"!=typeof DataView,h=Array.isArray,y=Object.keys,d=Object.create,g=p&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1;function x(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u<t;u++)e[u]=arguments[u+r];switch(r){case 0:return n.call(this,e);case 1:return n.call(this,arguments[0],e);case 2:return n.call(this,arguments[0],arguments[1],e)}var i=Array(r+1);for(u=0;u<r;u++)i[u]=arguments[u];return i[r]=e,n.apply(this,i)}}function A(n){var r=typeof n;return"function"===r||"object"===r&&!!n}function S(n){return null===n}function O(n){return void 0===n}function E(n){return!0===n||!1===n||"[object Boolean]"===l.call(n)}function M(n){return!(!n||1!==n.nodeType)}function k(n){var r="[object "+n+"]";return function(n){return l.call(n)===r}}var B=k("String"),I=k("Number"),N=k("Date"),R=k("RegExp"),T=k("Error"),D=k("Symbol"),V=k("ArrayBuffer"),F=k("Function"),q=u.document&&u.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof q&&(F=function(n){return"function"==typeof n||!1});var z=F,P=k("Object"),W=v&&(!/\[native code\]/.test(String(DataView))||P(new DataView(new ArrayBuffer(8)))),U="undefined"!=typeof Map&&P(new Map),K=k("DataView");var L=W?function(n){return null!=n&&z(n.getInt8)&&V(n.buffer)}:K,C=h||k("Array");function $(n,r){return null!=n&&s.call(n,r)}var J=k("Arguments");!function(){J(arguments)||(J=function(n){return $(n,"callee")})}();var G=J;function H(n){return!D(n)&&b(n)&&!isNaN(parseFloat(n))}function Q(n){return I(n)&&m(n)}function X(n){return function(){return n}}function Y(n){return function(r){var t=n(r);return"number"==typeof t&&t>=0&&t<=_}}function Z(n){return function(r){return null==r?void 0:r[n]}}var nn=Z("byteLength"),rn=Y(nn),tn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var en=p?function(n){return g?g(n)&&!L(n):rn(n)&&tn.test(l.call(n))}:X(!1),un=Z("length");function on(n,r){r=function(n){for(var r={},t=n.length,e=0;e<t;++e)r[n[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(t){return r[t]=!0,n.push(t)}}}(r);var t=j.length,e=n.constructor,u=z(e)&&e.prototype||o,i="constructor";for($(n,i)&&!r.contains(i)&&r.push(i);t--;)(i=j[t])in n&&n[i]!==u[i]&&!r.contains(i)&&r.push(i)}function an(n){if(!A(n))return[];if(y)return y(n);var r=[];for(var t in n)$(n,t)&&r.push(t);return w&&on(n,r),r}function fn(n){if(null==n)return!0;var r=un(n);return"number"==typeof r&&(C(n)||B(n)||G(n))?0===r:0===un(an(n))}function cn(n,r){var t=an(r),e=t.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=t[i];if(r[o]!==u[o]||!(o in u))return!1}return!0}function ln(n){return n instanceof ln?n:this instanceof ln?void(this._wrapped=n):new ln(n)}function sn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,nn(n))}ln.VERSION=e,ln.prototype.value=function(){return this._wrapped},ln.prototype.valueOf=ln.prototype.toJSON=ln.prototype.value,ln.prototype.toString=function(){return String(this._wrapped)};var pn="[object DataView]";function vn(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;if(null==n||null==r)return!1;if(n!=n)return r!=r;var u=typeof n;return("function"===u||"object"===u||"object"==typeof r)&&hn(n,r,t,e)}function hn(n,r,t,e){n instanceof ln&&(n=n._wrapped),r instanceof ln&&(r=r._wrapped);var u=l.call(n);if(u!==l.call(r))return!1;if(W&&"[object Object]"==u&&L(n)){if(!L(r))return!1;u=pn}switch(u){case"[object RegExp]":case"[object String]":return""+n==""+r;case"[object Number]":return+n!=+n?+r!=+r:0==+n?1/+n==1/r:+n==+r;case"[object Date]":case"[object Boolean]":return+n==+r;case"[object Symbol]":return a.valueOf.call(n)===a.valueOf.call(r);case"[object ArrayBuffer]":case pn:return hn(sn(n),sn(r),t,e)}var i="[object Array]"===u;if(!i&&en(n)){if(nn(n)!==nn(r))return!1;if(n.buffer===r.buffer&&n.byteOffset===r.byteOffset)return!0;
vendor: 9,349 bytes, line 364
364i=!0}if(!i){if("object"!=typeof n||"object"!=typeof r)return!1;var o=n.constructor,f=r.constructor;if(o!==f&&!(z(o)&&o instanceof o&&z(f)&&f instanceof f)&&"constructor"in n&&"constructor"in r)return!1}e=e||[];for(var c=(t=t||[]).length;c--;)if(t[c]===n)return e[c]===r;if(t.push(n),e.push(r),i){if((c=n.length)!==r.length)return!1;for(;c--;)if(!vn(n[c],r[c],t,e))return!1}else{var s,p=an(n);if(c=p.length,an(r).length!==c)return!1;for(;c--;)if(!$(r,s=p[c])||!vn(n[s],r[s],t,e))return!1}return t.pop(),e.pop(),!0}function yn(n,r){return vn(n,r)}function dn(n){if(!A(n))return[];var r=[];for(var t in n)r.push(t);return w&&on(n,r),r}function gn(n){var r=un(n);return function(t){if(null==t)return!1;var e=dn(t);if(un(e))return!1;for(var u=0;u<r;u++)if(!z(t[n[u]]))return!1;return n!==_n||!z(t[mn])}}var mn="forEach",bn=["clear","delete"],wn=["get","has","set"],jn=bn.concat(mn,wn),_n=bn.concat(wn),xn=["add"].concat(bn,mn,"has"),An=U?gn(jn):k("Map"),Sn=U?gn(_n):k("WeakMap"),On=U?gn(xn):k("Set"),En=k("WeakSet");function Mn(n){for(var r=an(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=n[r[u]];return e}function kn(n){for(var r=an(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=[r[u],n[r[u]]];return e}function Bn(n){for(var r={},t=an(n),e=0,u=t.length;e<u;e++)r[n[t[e]]]=t[e];return r}function In(n){var r=[];for(var t in n)z(n[t])&&r.push(t);return r.sort()}function Nn(n,r){return function(t){var e=arguments.length;if(r&&(t=Object(t)),e<2||null==t)return t;for(var u=1;u<e;u++)for(var i=arguments[u],o=n(i),a=o.length,f=0;f<a;f++){var c=o[f];r&&void 0!==t[c]||(t[c]=i[c])}return t}}var Rn=Nn(dn),Tn=Nn(an),Dn=Nn(dn,!0);function Vn(n){if(!A(n))return{};if(d)return d(n);var r=function(){};r.prototype=n;var t=new r;return r.prototype=null,t}function Fn(n,r){var t=Vn(n);return r&&Tn(t,r),t}function qn(n){return A(n)?C(n)?n.slice():Rn({},n):n}function zn(n,r){return r(n),n}function Pn(n){return C(n)?n:[n]}function Wn(n){return ln.toPath(n)}function Un(n,r){for(var t=r.length,e=0;e<t;e++){if(null==n)return;n=n[r[e]]}return t?n:void 0}function Kn(n,r,t){var e=Un(n,Wn(r));return O(e)?t:e}function Ln(n,r){for(var t=(r=Wn(r)).length,e=0;e<t;e++){var u=r[e];if(!$(n,u))return!1;n=n[u]}return!!t}function Cn(n){return n}function $n(n){return n=Tn({},n),function(r){return cn(r,n)}}function Jn(n){return n=Wn(n),function(r){return Un(r,n)}}function Gn(n,r,t){if(void 0===r)return n;switch(null==t?3:t){case 1:return function(t){return n.call(r,t)};case 3:return function(t,e,u){return n.call(r,t,e,u)};case 4:return function(t,e,u,i){return n.call(r,t,e,u,i)}}return function(){return n.apply(r,arguments)}}function Hn(n,r,t){return null==n?Cn:z(n)?Gn(n,r,t):A(n)&&!C(n)?$n(n):Jn(n)}function Qn(n,r){return Hn(n,r,1/0)}function Xn(n,r,t){return ln.iteratee!==Qn?ln.iteratee(n,r):Hn(n,r,t)}function Yn(n,r,t){r=Xn(r,t);for(var e=an(n),u=e.length,i={},o=0;o<u;o++){var a=e[o];i[a]=r(n[a],a,n)}return i}function Zn(){}function nr(n){return null==n?Zn:function(r){return Kn(n,r)}}function rr(n,r,t){var e=Array(Math.max(0,n));r=Gn(r,t,1);for(var u=0;u<n;u++)e[u]=r(u);return e}function tr(n,r){return null==r&&(r=n,n=0),n+Math.floor(Math.random()*(r-n+1))}ln.toPath=Pn,ln.iteratee=Qn;var er=Date.now||function(){return(new Date).getTime()};function ur(n){var r=function(r){return n[r]},t="(?:"+an(n).join("|")+")",e=RegExp(t),u=RegExp(t,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,r):n}}var ir={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},or=ur(ir),ar=ur(Bn(ir)),fr=ln.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},cr=/(.)^/,lr={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},sr=/\\|'|\r|\n|\u2028|\u2029/g;function pr(n){return"\\"+lr[n]}var vr=/^\s*(\w|\$)+\s*$/;function hr(n,r,t){!r&&t&&(r=t),r=Dn({},r,ln.templateSettings);var e=RegExp([(r.escape||cr).source,(r.interpolate||cr).source,(r.evaluate||cr).source].join("|")+"|$","g"),u=0,i="__p+='";n.replace(e,(function(r,t,e,o,a){return i+=n.slice(u,a).replace(sr,pr),u=a+r.length,t?i+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),r})),i+="';\n";var o,a=r.variable;if(a){if(!vr.test(a))throw new Error("variable is not a bare identifier: "+a)}else i="with(obj||{}){\n"+i+"}\n",a="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{o=new Function(a,"_",i)}catch(n){throw n.source=i,n}var f=function(n){return o.call(this,n,ln)};return f.source="function("+a+"){\n"+i+"}",f}function yr(n,r,t){var e=(r=Wn(r)).length;if(!e)return z(t)?t.call(n):t;for(var u=0;u<e;u++){var i=null==n?void 0:n[r[u]];void 0===i&&(i=t,u=e),n=z(i)?i.call(n):i}return n}var dr=0;function gr(n){var r=++dr+"";return n?n+r:r}function mr(n){var r=ln(n);return r._chain=!0,r}function br(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var i=Vn(n.prototype),o=n.apply(i,u);return A(o)?o:i}var wr=x((function(n,r){var t=wr.placeholder,e=function(){for(var u=0,i=r.length,o=Array(i),a=0;a<i;a++)o[a]=r[a]===t?arguments[u++]:r[a];for(;u<arguments.length;)o.push(arguments[u++]);return br(n,e,this,this,o)};return e}));wr.placeholder=ln;var jr=x((function(n,r,t){if(!z(n))throw new TypeError("Bind must be called on a function");var e=x((function(u){return br(n,e,r,this,t.concat(u))}));return e})),_r=Y(un);function xr(n,r,t,e){if(e=e||[],r||0===r){if(r<=0)return e.concat(n)}else r=1/0;for(var u=e.length,i=0,o=un(n);i<o;i++){var a=n[i];if(_r(a)&&(C(a)||G(a)))if(r>1)xr(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else t||(e[u++]=a)}return e}var Ar=x((function(n,r){var t=(r=xr(r,!1,!1)).length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var e=r[t];n[e]=jr(n[e],n)}return n}));function Sr(n,r){var t=function(e){var u=t.cache,i=""+(r?r.apply(this,arguments):e);return $(u,i)||(u[i]=n.apply(this,arguments)),u[i]};return t.cache={},t}var Or=x((function(n,r,t){return setTimeout((function(){return n.apply(null,t)}),r)})),Er=wr(Or,ln,1);function Mr(n,r,t){var e,u,i,o,a=0;t||(t={});var f=function(){a=!1===t.leading?0:er(),e=null,o=n.apply(u,i),e||(u=i=null)},c=function(){var c=er();a||!1!==t.leading||(a=c);var l=r-(c-a);return u=this,i=arguments,l<=0||l>r?(e&&(clearTimeout(e),e=null),a=c,o=n.apply(u,i),e||(u=i=null)):e||!1===t.trailing||(e=setTimeout(f,l)),o};return c.cancel=function(){clearTimeout(e),a=0,e=u=i=null},c}function kr(n,r,t){var e,u,i,o,a,f=function(){var c=er()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(o=n.apply(a,i)),e||(i=a=null))},c=x((function(c){return a=this,i=c,u=er(),e||(e=setTimeout(f,r),t&&(o=n.apply(a,i))),o}));return c.cancel=function(){clearTimeout(e),e=i=a=null},c}function Br(n,r){return wr(r,n)}function Ir(n){return function(){return!n.apply(this,arguments)}}function Nr(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}}function Rr(n,r){return function(){if(--n<1)return r.apply(this,arguments)}}function Tr(n,r){var t;return function(){return--n>0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var Dr=wr(Tr,2);function Vr(n,r,t){r=Xn(r,t);for(var e,u=an(n),i=0,o=u.length;i<o;i++)if(r(n[e=u[i]],e,n))return e}function Fr(n){return function(r,t,e){t=Xn(t,e);for(var u=un(r),i=n>0?0:u-1;i>=0&&i<u;i+=n)if(t(r[i],i,r))return i;return-1}}var qr=Fr(1),zr=Fr(-1);function Pr(n,r,t,e){for(var u=(t=Xn(t,e,1))(r),i=0,o=un(n);i<o;){var a=Math.floor((i+o)/2);t(n[a])<u?i=a+1:o=a}return i}function Wr(n,r,t){return function(e,u,i){var o=0,a=un(e);if("number"==typeof i)n>0?o=i>=0?i:Math.max(i+a,o):a=i>=0?Math.min(i+1,a):i+a+1;else if(t&&i&&a)return e[i=t(e,u)]===u?i:-1;if(u!=u)return(i=r(c.call(e,o,a),Q))>=0?i+o:-1;for(i=n>0?o:a-1;i>=0&&i<a;i+=n)if(e[i]===u)return i;return-1}}var Ur=Wr(1,qr,Pr),Kr=Wr(-1,zr);function Lr(n,r,t){var e=(_r(n)?qr:Vr)(n,r,t);if(void 0!==e&&-1!==e)return n[e]}function Cr(n,r){return Lr(n,$n(r))}function $r(n,r,t){var e,u;if(r=Gn(r,t),_r(n))for(e=0,u=n.length;e<u;e++)r(n[e],e,n);else{var i=an(n);for(e=0,u=i.length;e<u;e++)r(n[i[e]],i[e],n)}return n}function Jr(n,r,t){r=Xn(r,t);for(var e=!_r(n)&&an(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=r(n[a],a,n)}return i}function Gr(n){return function(r,t,e,u){var i=arguments.length>=3;return function(r,t,e,u){var i=!_r(r)&&an(r),o=(i||r).length,a=n>0?0:o-1;for(u||(e=r[i?i[a]:a],a+=n);a>=0&&a<o;a+=n){var f=i?i[a]:a;e=t(e,r[f],f,r)}return e}(r,Gn(t,u,4),e,i)}}var Hr=Gr(1),Qr=Gr(-1);function Xr(n,r,t){var e=[];return r=Xn(r,t),$r(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Yr(n,r,t){return Xr(n,Ir(Xn(r)),t)}function Zr(n,r,t){r=Xn(r,t);for(var e=!_r(n)&&an(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!r(n[o],o,n))return!1}return!0}function nt(n,r,t){r=Xn(r,t);for(var e=!_r(n)&&an(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(r(n[o],o,n))return!0}return!1}function rt(n,r,t,e){return _r(n)||(n=Mn(n)),("number"!=typeof t||e)&&(t=0),Ur(n,r,t)>=0}var tt=x((function(n,r,t){var e,u;return z(r)?u=r:(r=Wn(r),e=r.slice(0,-1),r=r[r.length-1]),Jr(n,(function(n){var i=u;if(!i){if(e&&e.length&&(n=Un(n,e)),null==n)return;i=n[r]}return null==i?i:i.apply(n,t)}))}));function et(n,r){return Jr(n,Jn(r))}function ut(n,r){return Xr(n,$n(r))}function it(n,r,t){var e,u,i=-1/0,o=-1/0;
vendor: 4,819 bytes, line 364
364if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=_r(n)?n:Mn(n)).length;a<f;a++)null!=(e=n[a])&&e>i&&(i=e);else r=Xn(r,t),$r(n,(function(n,t,e){((u=r(n,t,e))>o||u===-1/0&&i===-1/0)&&(i=n,o=u)}));return i}function ot(n,r,t){var e,u,i=1/0,o=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=_r(n)?n:Mn(n)).length;a<f;a++)null!=(e=n[a])&&e<i&&(i=e);else r=Xn(r,t),$r(n,(function(n,t,e){((u=r(n,t,e))<o||u===1/0&&i===1/0)&&(i=n,o=u)}));return i}var at=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function ft(n){return n?C(n)?c.call(n):B(n)?n.match(at):_r(n)?Jr(n,Cn):Mn(n):[]}function ct(n,r,t){if(null==r||t)return _r(n)||(n=Mn(n)),n[tr(n.length-1)];var e=ft(n),u=un(e);r=Math.max(Math.min(r,u),0);for(var i=u-1,o=0;o<r;o++){var a=tr(o,i),f=e[o];e[o]=e[a],e[a]=f}return e.slice(0,r)}function lt(n){return ct(n,1/0)}function st(n,r,t){var e=0;return r=Xn(r,t),et(Jr(n,(function(n,t,u){return{value:n,index:e++,criteria:r(n,t,u)}})).sort((function(n,r){var t=n.criteria,e=r.criteria;if(t!==e){if(t>e||void 0===t)return 1;if(t<e||void 0===e)return-1}return n.index-r.index})),"value")}function pt(n,r){return function(t,e,u){var i=r?[[],[]]:{};return e=Xn(e,u),$r(t,(function(r,u){var o=e(r,u,t);n(i,r,o)})),i}}var vt=pt((function(n,r,t){$(n,t)?n[t].push(r):n[t]=[r]})),ht=pt((function(n,r,t){n[t]=r})),yt=pt((function(n,r,t){$(n,t)?n[t]++:n[t]=1})),dt=pt((function(n,r,t){n[t?0:1].push(r)}),!0);function gt(n){return null==n?0:_r(n)?n.length:an(n).length}function mt(n,r,t){return r in t}var bt=x((function(n,r){var t={},e=r[0];if(null==n)return t;z(e)?(r.length>1&&(e=Gn(e,r[1])),r=dn(n)):(e=mt,r=xr(r,!1,!1),n=Object(n));for(var u=0,i=r.length;u<i;u++){var o=r[u],a=n[o];e(a,o,n)&&(t[o]=a)}return t})),wt=x((function(n,r){var t,e=r[0];return z(e)?(e=Ir(e),r.length>1&&(t=r[1])):(r=Jr(xr(r,!1,!1),String),e=function(n,t){return!rt(r,t)}),bt(n,e,t)}));function jt(n,r,t){return c.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function _t(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:jt(n,n.length-r)}function xt(n,r,t){return c.call(n,null==r||t?1:r)}function At(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[n.length-1]:xt(n,Math.max(0,n.length-r))}function St(n){return Xr(n,Boolean)}function Ot(n,r){return xr(n,r,!1)}var Et=x((function(n,r){return r=xr(r,!0,!0),Xr(n,(function(n){return!rt(r,n)}))})),Mt=x((function(n,r){return Et(n,r)}));function kt(n,r,t,e){E(r)||(e=t,t=r,r=!1),null!=t&&(t=Xn(t,e));for(var u=[],i=[],o=0,a=un(n);o<a;o++){var f=n[o],c=t?t(f,o,n):f;r&&!t?(o&&i===c||u.push(f),i=c):t?rt(i,c)||(i.push(c),u.push(f)):rt(u,f)||u.push(f)}return u}var Bt=x((function(n){return kt(xr(n,!0,!0))}));function It(n){for(var r=[],t=arguments.length,e=0,u=un(n);e<u;e++){var i=n[e];if(!rt(r,i)){var o;for(o=1;o<t&&rt(arguments[o],i);o++);o===t&&r.push(i)}}return r}function Nt(n){for(var r=n&&it(n,un).length||0,t=Array(r),e=0;e<r;e++)t[e]=et(n,e);return t}var Rt=x(Nt);function Tt(n,r){for(var t={},e=0,u=un(n);e<u;e++)r?t[n[e]]=r[e]:t[n[e][0]]=n[e][1];return t}function Dt(n,r,t){null==r&&(r=n||0,n=0),t||(t=r<n?-1:1);for(var e=Math.max(Math.ceil((r-n)/t),0),u=Array(e),i=0;i<e;i++,n+=t)u[i]=n;return u}function Vt(n,r){if(null==r||r<1)return[];for(var t=[],e=0,u=n.length;e<u;)t.push(c.call(n,e,e+=r));return t}function Ft(n,r){return n._chain?ln(r).chain():r}function qt(n){return $r(In(n),(function(r){var t=ln[r]=n[r];ln.prototype[r]=function(){var n=[this._wrapped];return f.apply(n,arguments),Ft(this,t.apply(ln,n))}})),ln}$r(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var r=i[n];ln.prototype[n]=function(){var t=this._wrapped;return null!=t&&(r.apply(t,arguments),"shift"!==n&&"splice"!==n||0!==t.length||delete t[0]),Ft(this,t)}})),$r(["concat","join","slice"],(function(n){var r=i[n];ln.prototype[n]=function(){var n=this._wrapped;return null!=n&&(n=r.apply(n,arguments)),Ft(this,n)}}));var zt=qt({__proto__:null,VERSION:e,restArguments:x,isObject:A,isNull:S,isUndefined:O,isBoolean:E,isElement:M,isString:B,isNumber:I,isDate:N,isRegExp:R,isError:T,isSymbol:D,isArrayBuffer:V,isDataView:L,isArray:C,isFunction:z,isArguments:G,isFinite:H,isNaN:Q,isTypedArray:en,isEmpty:fn,isMatch:cn,isEqual:yn,isMap:An,isWeakMap:Sn,isSet:On,isWeakSet:En,keys:an,allKeys:dn,values:Mn,pairs:kn,invert:Bn,functions:In,methods:In,extend:Rn,extendOwn:Tn,assign:Tn,defaults:Dn,create:Fn,clone:qn,tap:zn,get:Kn,has:Ln,mapObject:Yn,identity:Cn,constant:X,noop:Zn,toPath:Pn,property:Jn,propertyOf:nr,matcher:$n,matches:$n,times:rr,random:tr,now:er,escape:or,unescape:ar,templateSettings:fr,template:hr,result:yr,uniqueId:gr,chain:mr,iteratee:Qn,partial:wr,bind:jr,bindAll:Ar,memoize:Sr,delay:Or,defer:Er,throttle:Mr,debounce:kr,wrap:Br,negate:Ir,compose:Nr,after:
364Rr,before:Tr,once:Dr,findKey:Vr,findIndex:qr,findLastIndex:zr,sortedIndex:Pr,indexOf:Ur,lastIndexOf:Kr,find:Lr,detect:Lr,findWhere:Cr,each:$r,forEach:$r,map:Jr,collect:Jr,reduce:Hr,foldl:Hr,inject:Hr,reduceRight:Qr,foldr:Qr,filter:Xr,select:Xr,reject:Yr,every:Zr,all:Zr,some:nt,any:nt,contains:rt,includes:rt,include:rt,invoke:tt,pluck:et,where:ut,max:it,min:ot,shuffle:lt,sample:ct,sortBy:st,groupBy:vt,indexBy:ht,countBy:yt,partition:dt,toArray:ft,size:gt,pick:bt,omit:wt,first:_t,head:_t,take:_t,initial:jt,last:At,rest:xt,tail:xt,drop:xt,compact:St,flatten:Ot,without:Mt,uniq:kt,unique:kt,union:Bt,intersection:It,difference:Et,unzip:Nt,transpose:Nt,zip:Rt,object:Tt,range:Dt,chunk:Vt,mixin:qt,default:ln});zt._=zt,r.VERSION=e,r._=zt,r._escape=or,r._unescape=ar,r.after=Rr,r.allKeys=dn,r.before=Tr,r.bind=jr,r.bindAll=Ar,r.chain=mr,r.chunk=Vt,r.clone=qn,r.compact=St,r.compose=Nr,r.constant=X,r.contains=rt,r.countBy=yt,r.create=Fn,r.debounce=kr,r.defaults=Dn,r.defer=Er,r.delay=Or,r.difference=Et,r.each=$r,r.every=Zr,r.extend=Rn,r.extendOwn=Tn,r.filter=Xr,r.find=Lr,r.findIndex=qr,r.findKey=Vr,r.findLastIndex=zr,r.findWhere=Cr,r.first=_t,r.flatten=Ot,r.functions=In,r.get=Kn,r.groupBy=vt,r.has=Ln,r.identity=Cn,r.indexBy=ht,r.indexOf=Ur,r.initial=jt,r.intersection=It,r.invert=Bn,r.invoke=tt,r.isArguments=G,r.isArray=C,r.isArrayBuffer=V,r.isBoolean=E,r.isDataView=L,r.isDate=N,r.isElement=M,r.isEmpty=fn,r.isEqual=yn,r.isError=T,r.isFinite=H,r.isFunction=z,r.isMap=An,r.isMatch=cn,r.isNaN=Q,r.isNull=S,r.isNumber=I,r.isObject=A,r.isRegExp=R,r.isSet=On,r.isString=B,r.isSymbol=D,r.isTypedArray=en,r.isUndefined=O,r.isWeakMap=Sn,r.isWeakSet=En,r.iteratee=Qn,r.keys=an,r.last=At,r.lastIndexOf=Kr,r.map=Jr,r.mapObject=Yn,r.matcher=$n,r.max=it,r.memoize=Sr,r.min=ot,r.mixin=qt,r.negate=Ir,r.noop=Zn,r.now=er,r.object=Tt,r.omit=wt,r.once=Dr,r.pairs=kn,r.partial=wr,r.partition=dt,r.pick=bt,r.pluck=et,r.property=Jn,r.propertyOf=nr,r.random=tr,r.range=Dt,r.reduce=Hr,r.reduceRight=Qr,r.reject=Yr,r.rest=xt,r.restArguments=x,r.result=yr,r.sample=ct,r.shuffle=lt,r.size=gt,r.some=nt,r.sortBy=st,r.sortedIndex=Pr,r.tap=zn,r.template=hr,r.templateSettings=fr,r.throttle=Mr,r.times=rr,r.toArray=ft,r.toPath=Pn,r.union=Bt,r.uniq=kt,r.uniqueId=gr,r.unzip=Nt,r.values=Mn,r.where=ut,r.without=Mt,r.wrap=Br,r.zip=Rt},8126:(n,r,t)=>{var e=t(4171);n.exports=e._}}]); 365}catch(e){WRMCB(e)}; 366; 367try { 368/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--5393460ace', location = 'aui.chunk.b04c22d4f06280e4c836--a29e1bb1845d759a5a1b.js' */ 369"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1221],{261:(e,t,n)=>{function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.r(t),n.d(t,{applyStyles:()=>ce,arrow:()=>ye,computeStyles:()=>fe,createPopper:()=>Ee,createPopperLite:()=>Oe,defaultModifiers:()=>je,detectOverflow:()=>$,eventListeners:()=>oe,flip:()=>me,hide:()=>xe,offset:()=>pe,popperGenerator:()=>ne,popperOffsets:()=>ie,preventOverflow:()=>ge});var s=Math.max,f=Math.min,c=Math.round;function p(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function u(){return!/^((?!chrome|android).)*safari/i.test(p())}function l(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,f=1;t&&i(e)&&(s=e.offsetWidth>0&&c(a.width)/e.offsetWidth||1,f=e.offsetHeight>0&&c(a.height)/e.offsetHeight||1);var p=(o(e)?r(e):window).visualViewport,l=!u()&&n,d=(a.left+(l&&p?p.offsetLeft:0))/s,h=(a.top+(l&&p?p.offsetTop:0))/f,m=a.width/s,v=a.height/f;return{width:m,height:v,top:h,right:d+m,bottom:h+v,left:d,x:d,y:h}}function d(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return l(m(e)).left+d(e).scrollLeft}function g(e){return r(e).getComputedStyle(e)}function y(e){var t=g(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var o,a,s=i(t),f=i(t)&&function(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),p=m(t),u=l(e,f,n),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!n)&&(("body"!==h(t)||y(p))&&(g=(o=t)!==r(o)&&i(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}
vendor: 5,021 bytes, line 369
369:d(o)),i(t)?((b=l(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):p&&(b.x=v(p))),{x:u.left+g.scrollLeft-b.x,y:u.top+g.scrollTop-b.y,width:u.width,height:u.height}}function w(e){var t=l(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function x(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||m(e)}function O(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:i(e)&&y(e)?e:O(x(e))}function j(e,t){var n;void 0===t&&(t=[]);var o=O(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],y(o)?o:[]):o,f=t.concat(s);return i?f:f.concat(j(x(s)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function D(e){return i(e)&&"fixed"!==g(e).position?e.offsetParent:null}function A(e){for(var t=r(e),n=D(e);n&&E(n)&&"static"===g(n).position;)n=D(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===g(n).position)?t:n||function(e){var t=/firefox/i.test(p());if(/Trident/i.test(p())&&i(e)&&"fixed"===g(e).position)return null;var n=x(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(h(n))<0;){var r=g(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var k="top",L="bottom",M="right",P="left",W="auto",B=[k,L,M,P],H="start",R="end",T="clippingParents",S="viewport",C="popper",V="reference",q=B.reduce((function(e,t){return e.concat([t+"-"+H,t+"-"+R])}),[]),N=[].concat(B,[W]).reduce((function(e,t){return e.concat([t,t+"-"+H,t+"-"+R])}),[]),I=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function F(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function U(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z(e,t,n){return t===S?U(function(e,t){var n=r(e),o=m(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,c=0;if(i){a=i.width,s=i.height;var p=u();(p||!p&&"fixed"===t)&&(f=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:f+v(e),y:c}}(e,n)):o(t)?function(e,t){var n=l(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):U(function(e){var t,n=m(e),r=d(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-r.scrollLeft+v(e),c=-r.scrollTop;return"rtl"===g(o||n).direction&&(f+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:f,y:c}}(m(e)))}function X(e,t,n,r){var a="clippingParents"===t?function(e){var t=j(x(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&i(e)?A(e):e;return o(n)?t.filter((function(e){return o(e)&&F(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),c=[].concat(a,[n]),p=c[0],u=c.reduce((function(t,n){var o=z(e,n,r);return t.top=s(o.top,t.top),t.right=f(o.right,t.right),t.bottom=f(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),z(e,p,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Y(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function J(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function K(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?G(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case k:t={x:s,y:n.y-r.height};break;case L:t={x:s,y:n.y+n.height};break;case M:t={x:n.x+n.width,y:f};break;case P:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?J(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case H:t[c]=t[c]-(n[p]/2-r[p]/2);break;case R:t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}function Q(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function $(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,f=n.boundary,c=void 0===f?T:f,p=n.rootBoundary,u=void 0===p?S:p,d=n.elementContext,h=void 0===d?C:d,v=n.altBoundary,g=void 0!==v&&v,y=n.padding,b=void 0===y?0:y,w=Q("number"!=typeof b?b:Z(b,B)),x=h===C?V:C,O=e.rects.popper,j=e.elements[g?x:h],E=X(o(j)?j:j.contextElement||m(e.elements.popper),c,u,s),D=l(e.elements.reference),A=K({reference:D,element:O,strategy:"absolute",placement:i}),P=U(Object.assign({}
vendor: 4,080 bytes, line 369
369,O,A)),W=h===C?P:D,H={top:E.top-W.top+w.top,bottom:W.bottom-E.bottom+w.bottom,left:E.left-W.left+w.left,right:W.right-E.right+w.right},R=e.modifiersData.offset;if(h===C&&R){var q=R[i];Object.keys(H).forEach((function(e){var t=[M,L].indexOf(e)>=0?1:-1,n=[k,L].indexOf(e)>=0?"y":"x";H[e]+=q[n]*t}))}return H}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?ee:i;return function(e,t,n){void 0===n&&(n=a);var i,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:f,setOptions:function(n){var i="function"==typeof n?n(f.options):n;l(),f.options=Object.assign({},a,f.options,i),f.scrollParents={reference:o(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var s,p,d=function(e){var t=_(e);return I.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(r,f.options.modifiers),p=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));return f.orderedModifiers=d.filter((function(e){return e.enabled})),f.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:f,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}})),u.update()},forceUpdate:function(){if(!p){var e=f.elements,t=e.reference,n=e.popper;if(te(t,n)){f.rects={reference:b(t,A(n),"fixed"===f.options.strategy),popper:w(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(e){return f.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<f.orderedModifiers.length;r++)if(!0!==f.reset){var o=f.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,c=o.name;"function"==typeof i&&(f=i({state:f,options:s,name:c,instance:u})||f)}else f.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(f)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){l(),p=!0}};if(!te(e,t))return u;function l(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(n).then((function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var re={passive:!0};const oe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,f=void 0===s||s,c=r(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach((function(e){e.addEventListener("scroll",n.update,re)})),f&&c.addEventListener("resize",n.update,re),function(){a&&p.forEach((function(e){e.removeEventListener("scroll",n.update,re)})),f&&c.removeEventListener("resize",n.update,re)}},data:{}};const ie={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,f=e.position,p=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,d=e.isFixed,h=s.x,v=void 0===h?0:h,y=s.y,b=void 0===y?0:y,w="function"==typeof l?l({x:v,y:b}):{x:v,y:b};v=w.x,b=w.y;var x=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),j=P,E=k,D=window;if(u){var W=A(n),B="clientHeight",H="clientWidth";if(W===r(n)&&"static"!==g(W=m(n)).position&&"absolute"===f&&(B="scrollHeight",H="scrollWidth"),i===k||(i===P||i===M)&&a===R)E=L,b-=(d&&W===D&&D.visualViewport?D.visualViewport.height:W[B])-o.height,b*=p?1:-1;
vendor: 6,727 bytes, line 369
369if(i===P||(i===k||i===L)&&a===R)j=M,v-=(d&&W===D&&D.visualViewport?D.visualViewport.width:W[H])-o.width,v*=p?1:-1}var T,S=Object.assign({position:f},u&&ae),C=!0===l?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:c(n*o)/o||0,y:c(r*o)/o||0}}({x:v,y:b},r(n)):{x:v,y:b};return v=C.x,b=C.y,p?Object.assign({},S,((T={})[E]=O?"0":"",T[j]=x?"0":"",T.transform=(D.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",T)):Object.assign({},S,((t={})[E]=O?b+"px":"",t[j]=x?v+"px":"",t.transform="",t))}const fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:Y(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const ce={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const pe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=N.reduce((function(e,n){return e[n]=function(e,t,n){var r=Y(e),o=[P,k].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P,M].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var de={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,(function(e){return de[e]}))}const me={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,g=Y(v),y=f||(g===v||!h?[le(v)]:function(e){if(Y(e)===W)return[];var t=le(e);return[he(e),t,he(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(Y(n)===W?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?N:f,p=G(r),u=p?s?q:q.filter((function(e){return G(e)===p})):B,l=u.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,n){return t[n]=$(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Y(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,j=!0,E=b[0],D=0;D<b.length;D++){var A=b[D],R=Y(A),T=G(A)===H,S=[k,L].indexOf(R)>=0,C=S?"width":"height",V=$(t,{placement:A,boundary:p,rootBoundary:u,altBoundary:l,padding:c}),I=S?T?M:P:T?L:k;w[C]>x[C]&&(I=le(I));var _=le(I),F=[];if(i&&F.push(V[R]<=0),s&&F.push(V[I]<=0,V[_]<=0),F.every((function(e){return e}))){E=A,j=!1;break}O.set(A,F)}if(j)for(var U=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},z=h?3:1;z>0;z--){if("break"===U(z))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(e,t,n){return s(e,f(t,n))}const ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,g=void 0===v?0:v,y=$(t,{boundary:p,rootBoundary:u,padding:d,altBoundary:l}),b=Y(t.placement),x=G(t.placement),O=!x,j=J(b),E="x"===j?"y":"x",D=t.modifiersData.popperOffsets,W=t.rects.reference,B=t.rects.popper,R="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,T="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(D){if(i){var V,q="y"===j?k:P,N="y"===j?L:M,I="y"===j?"height":"width",_=D[j],F=_+y[q],U=_-y[N],z=m?-B[I]/2:0,X=x===H?W[I]:B[I],K=x===H?-B[I]:-W[I],Q=t.elements.arrow,Z=m&&Q?w(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[q],ne=ee[N],re=ve(0,W[I],Z[I]),oe=O?W[I]/2-z-re-te-T.mainAxis:X-re-te-T.mainAxis,ie=O?-W[I]/2+z+re+ne+T.mainAxis:K+re+ne+T.mainAxis,ae=t.elements.arrow&&A(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(V=null==S?void 0:S[j])?V:0,ce=_+ie-fe,pe=ve(m?f(F,_+oe-fe-se):F,_,m?s(U,ce):U);D[j]=pe,C[j]=pe-_}if(c){var ue,le="x"===j?k:P,de="x"===j?L:M,he=D[E],me="y"===E?"height":"width",ge=he+y[le],ye=he-y[de],be=-1!==[k,P].indexOf(b),we=null!=(ue=null==S?void 0:S[E])?ue:0,xe=be?ge:he-W[me]-B[me]-we+T.altAxis,Oe=be?he+W[me]+B[me]-we-T.altAxis:ye,je=m&&be?function(e,t,n){var r=ve(e,t,n);return r>n?n:r}(xe,he,Oe):ve(m?xe:ge,he,m?Oe:ye);D[E]=je,C[E]=je-he}t.modifiersData[r]=C}
369},requiresIfExists:["offset"]};const ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),f=J(s),c=[P,M].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return Q("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,B))}(o.padding,n),u=w(i),l="y"===f?k:P,d="y"===f?L:M,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],v=A(i),g=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=p[l],x=g-u[c]-p[d],O=g/2-u[c]/2+y,j=ve(b,O,x),E=f;n.modifiersData[r]=((t={})[E]=j,t.centerOffset=j-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&F(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[k,M,L,P].some((function(t){return e[t]>=0}))}const xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=$(t,{elementContext:"reference"}),s=$(t,{altBoundary:!0}),f=be(a,r),c=be(s,o,i),p=we(f),u=we(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}};var Oe=ne({defaultModifiers:[oe,ie,fe,ce]}),je=[oe,ie,fe,ce,pe,me,ge,ye,xe],Ee=ne({defaultModifiers:je})}}]); 370}catch(e){WRMCB(e)}; 371; 372try { 373/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--7ee5af41f1', location = 'aui.chunk.ae59501269851de145c4--cc31994358af5faf3c3a.js' */ 374(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5183],{9002:(e,t,n)=>{var r;!function(){"use strict";var o=window.DocumentFragment,i=window.HTMLElement.prototype,a=i.matches||i.msMatchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector;function d(e,t){if(e.__SKATE_TEMPLATE_HTML_DATA)return e.__SKATE_TEMPLATE_HTML_DATA[t]}function c(e,t,n){return e.__SKATE_TEMPLATE_HTML_DATA||(e.__SKATE_TEMPLATE_HTML_DATA={}),e.__SKATE_TEMPLATE_HTML_DATA[t]=n,e}function l(e){var t=e.match(/\s*<([^\s>]+)/),n=document.createElement(t&&{caption:"table",dd:"dl",dt:"dl",li:"ul",tbody:"table",td:"tr",thead:"table",tr:"tbody"}[t[1]]||"div");return n.innerHTML=e,s(n.childNodes)}function s(e){for(var t=document.createDocumentFragment();e&&e.length;)t.appendChild(e[0]);return t}function f(e,t){for(var n=[],r=e.nextSibling;r!==t;)n.push(r),r=r.nextSibling;return n}function u(e,t){if(t){for(var n=e.querySelectorAll(t),r=n.length,o=[],i=0;i<r;i++){var a=n[i];a.parentNode===e&&o.push(a)}return o}return[].slice.call(e.childNodes)||[]}function h(e){for(var t=e.defaultNodes,n=t.length,r=0;r<n;r++)e.container.insertBefore(t[r],e.endNode);e.isDefault=!0}function v(e){for(var t=e.defaultNodes,n=t.length,r=0;r<n;r++){var o=t[r];o.parentNode.removeChild(o)}e.isDefault=!1}function p(e,t){return{get:function(){var n=e[t];return"function"==typeof n?n.bind(e):n},set:function(n){e[t]=n}}}function N(e){var t,n=e.textContent.match(/^ (\/?)content (.*)/i);if(n){if(n[2])try{t=JSON.parse(n[2])}catch(t){throw new Error('Unable to parse content comment data: "'+t+'" in "\x3c!--'+e.textContent+'--\x3e".')}return{data:t||{defaultContent:void 0,isDefault:void 0,selector:void 0},type:n[1]?"close":"open"}}}function T(e){var t,n,r=e.childNodes,o=r.length,i=[];for(t=0;t<o;t++){var a=r[t];if(8===a.nodeType){var d=N(a);if(d)if("open"===d.type){if(n)throw new Error('Cannot have an opening content placeholder after another content placeholder at the same level in the DOM tree: "'+a.textContent+'" in "'+a.parentNode.innerHTML+'".');n={container:a.parentNode,contentNode:a,defaultNodes:d.data.defaultContent&&l(d.data.defaultContent).childNodes||[],isDefault:d.data.isDefault,selector:d.data.selector,startNode:a}}else if("close"===d.type){if(!n)throw new Error('Unmatched closing content placeholder: "'+a.textContent+'" in "'+a.parentNode.innerHTML+'".');n.endNode=a,i.push(n),n=void 0}}else i=i.concat(T(a))}return i}function g(){var e=[].slice.call(arguments).join("");return function(t){var n=s(t.childNodes);t.innerHTML=e,function(e){var t=e.getElementsByTagName("content");
374if(t&&t.length){for(var n=[];t.length;){var r=t[0],o=r.parentNode,i=r.getAttribute("select"),a=document.createComment(" content "),d=document.createComment(" /content ");n.push({container:o,contentNode:r,defaultNodes:[].slice.call(r.childNodes),endNode:d,isDefault:!0,selector:i,startNode:a}),o.replaceChild(d,r),o.insertBefore(a,d),a.textContent+=JSON.stringify({defaultContent:r.innerHTML,selector:i})+" "}c(e,"content",n)}}(t),n.childNodes.length&&g.wrap(t).appendChild(n)}}g.wrap=function(e){return d(e,"content")||c(e,"content",T(e)),function(e,t){var n={};for(var r in e)r in t?Object.defineProperty(n,r,t[r]):Object.defineProperty(n,r,p(e,r));return n}(e,(n=d(t=e,"content"),r=n.length,{childNodes:{get:function(){for(var e=[],t=0;t<r;t++){var o=n[t];o.isDefault||(e=e.concat(f(o.startNode,o.endNode)))}return e}},firstChild:{get:function(){var e=this.childNodes;return e.length&&e[0]||null}},innerHTML:{get:function(){for(var e="",t=this.childNodes,n=t.length,r=0;r<n;r++){var o=t[r];e+=o.outerHTML||o.textContent}return e},set:function(e){for(var t=l(e),o=0;o<r;o++){for(var i=n[o],a=f(i.startNode,i.endNode),d=0;d<a.length;d++){var c=a[d];c.parentNode.removeChild(c)}for(var s=u(t,i.selector),p=0;p<s.length;p++)i.container.insertBefore(s[p],i.endNode);s.length?v(i):h(i)}}},lastChild:{get:function(){for(var e=r-1;e>-1;e--)if(!n[e].isDefault){var t=this.childNodes;return t[t.length-1]}return null}},outerHTML:{get:function(){var e=this.tagName.toLowerCase(),t="<"+e,n=this.attributes;if(n)for(var r=n.length,o=0;o<r;o++){var i=n[o];t+=" "+i.nodeName+'="'+i.nodeValue+'"'}return t+=">",(t+=this.innerHTML)+"</"+e+">"}},textContent:{get:function(){for(var e="",t=this.childNodes,n=this.childNodes.length,r=0;r<n;r++)e+=t[r].textContent;return e},set:function(e){var t;this.innerHTML="";for(var o=0;o<r;o++){var i=n[o];if(!i.selector){t=i;break}}t&&(e?(v(t),t.container.insertBefore(document.createTextNode(e),t.endNode)):h(t))}},appendChild:{value:function(e){if(e instanceof o){var t=e.childNodes;return[].slice.call(t).forEach(function(e){this.appendChild(e)}.bind(this)),this}for(var i=0;i<r;i++){var d=n[i],c=d.selector;if(!c||e instanceof window.HTMLElement&&a.call(e,c)){v(d),d.endNode.parentNode.insertBefore(e,d.endNode);break}}return this}},insertAdjacentHTML:{value:function(e,n){return"afterbegin"===e?this.insertBefore(l(n),this.childNodes[0]):"beforeend"===e?this.appendChild(l(n)):t.insertAdjacentHTML(e,n),this}},insertBefore:{value:function(e,t){if(!t)return this.appendChild(e);if(e instanceof o){var i=e.childNodes;if(i)for(var d=i.length,c=0;c<d;c++)this.insertBefore(i[c],t);return this}var l=!1;e:for(var s=0;s<r;s++)for(var u=n[s],h=f(u.startNode,u.endNode),v=h.length,p=0;p<v;p++){var N=h[p];if(N===t&&(l=!0),l){var T=u.selector;if(!T||a.call(e,T)){N.parentNode.insertBefore(e,N);break e}}}if(!l)throw new Error("DOMException 8: The node before which the new node is to be inserted is not a child of this node.");return e}},removeChild:{value:function(e){for(var t=!1,o=0;o<r;o++){var i=n[o];if(i.container===e.parentNode){i.container.removeChild(e),t=!0;break}i.startNode.nextSibling===i.endNode&&h(i)}if(!t)throw new Error("DOMException 8: The node in which you are trying to remove is not a child of this node.");return e}},replaceChild:{value:function(e,t){for(var o=0;o<r;o++){var i=n[o];if(i.container===t.parentNode){i.container.replaceChild(e,t);break}}return this}}}));var t,n,r},window.skateTemplateHtml=g,void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r),e.exports=g}()}}]); 375}catch(e){WRMCB(e)}; 376; 377try { 378/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4f601bad99', location = 'aui.chunk.4b9231f23d3f1b47ca2b--8bd1f49c09b035a7e911.js' */ 379(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5907],{7364:(u,a,i)=>{var n,e;n=[i(8126)],void 0===(e=function(u){return u}.apply(a,n))||(u.exports=e)}}]); 380}catch(e){WRMCB(e)}; 381; 382try { 383/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f07f5b4ca0', location = 'aui.chunk.1cbc83965ff893b49dc6--f225bef5fecc307db2c0.js' */ 384(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2323],{7826:(a,e,s)=>{"use strict";s.r(e),s.d(e,{I18n:()=>I18n,format:()=>i.default});s(5632);var i=s(1262);const o={keys:{"aui.landmarks.site":"Site","aui.landmarks.sidebar":"Sidebar","aui.landmarks.page":"Page","aui.landmarks.main":"Main","aui.header.home.link":"Go to home page","aui.dropdown.async.error":"Error loading dropdown","aui.dropdown.async.loading":"Loading dropdown","aui.words.expand":"Expand","aui.words.collapse":"Collapse","aui.words.add":"Add","aui.words.update":"Update","aui.words.delete":"Delete","aui.words.remove":"Remove","aui.words.cancel":"Cancel","aui.words.loading":"Loading","aui.words.close":"Close","aui.enter.value":"Enter value","aui.words.more":"More","aui.words.moreitem":"Moreâ¦","aui.keyboard.shortcut.type.x":"Type ''{0}''","aui.keyboard.shortcut.then.x":"then ''{0}''","aui.keyboard.shortcut.or.x":"OR ''{0}''","aui.sidebar.expand.tooltip":"Expand sidebar ( [ )","aui.sidebar.collapse.tooltip":"Collapse sidebar ( [ )","aui.validation.message.maxlength":"Must be fewer than or equal to {0} characters","aui.validation.message.minlength":"Must be greater than or equal to {0} characters","aui.validation.message.exactlength":"Must be exactly {0} characters","aui.validation.message.matchingfield":"{0} and {1} do not match.","aui.validation.message.matchingfield-novalue":"These fields do not match.","aui.validation.message.doesnotcontain":"Do not include the phrase {0} in this field","aui.validation.message.pattern":"This field does not match the required format","aui.validation.message.required":"This is a required field","aui.validation.message.validnumber":"Please enter a valid number","aui.validation.message.min":"Enter a value greater than or equal to {0}","aui.validation.message.max":"Enter a value less than or equal to {0}","aui.validation.message.dateformat":"Enter a valid date","aui.validation.message.minchecked":"Tick at least {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.","aui.validation.message.maxchecked":"Tick at most {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.","aui.checkboxmultiselect.clear.selected":"Clear selected items","aui.select.no.suggestions":"No suggestions","aui.select.number.suggestions":"Found {0,choice,0#0 options|1#1 option|1<{0,number} options}.","aui.select.new.suggestions":"New suggestions added. Please use the up and down arrows to select.","aui.select.new.value":"new value","aui.toggle.on":"On","aui.toggle.off":"Off","aui.messagecomponent.error.label":"Error","aui.messagecomponent.warning.label":"Warning","aui.messagecomponent.info.label":"Information","aui.messagecomponent.confirmation.label":"Confirmation","aui.messagecomponent.change.label":"Change","ajs.datepicker.localisations.day-names.sunday":"Sunday","ajs.datepicker.localisations.day-names.monday":"Monday","ajs.datepicker.localisations.day-names.tuesday":"Tuesday","ajs.datepicker.localisations.day-names.wednesday":"Wednesday","ajs.datepicker.localisations.day-names.thursday":"Thursday","ajs.datepicker.localisations.day-names.friday":"Friday","ajs.datepicker.localisations.day-names.saturday":"Saturday","ajs.datepicker.localisations.day-names-min.sunday":"Sun","ajs.datepicker.localisations.day-names-min.monday":"Mon","ajs.datepicker.localisations.day-names-min.tuesday":"Tue","ajs.datepicker.localisations.day-names-min.wednesday":"Wed","ajs.datepicker.localisations.day-names-min.thursday":"Thu","ajs.datepicker.localisations.day-names-min.friday":"Fri","ajs.datepicker.localisations.day-names-min.saturday":"Sat","ajs.datepicker.localisations.first-day":0,"ajs.datepicker.localisations.is-RTL":!1,"ajs.datepicker.localisations.month-names.january":"January","ajs.datepicker.localisations.month-names.february":"February","ajs.datepicker.localisations.month-names.mar
384ch":"March","ajs.datepicker.localisations.month-names.april":"April","ajs.datepicker.localisations.month-names.may":"May","ajs.datepicker.localisations.month-names.june":"June","ajs.datepicker.localisations.month-names.july":"July","ajs.datepicker.localisations.month-names.august":"August","ajs.datepicker.localisations.month-names.september":"September","ajs.datepicker.localisations.month-names.october":"October","ajs.datepicker.localisations.month-names.november":"November","ajs.datepicker.localisations.month-names.december":"December","ajs.datepicker.localisations.show-month-after-year":!1,"ajs.datepicker.localisations.year-suffix":"","aui.flag.default-aria-label.info":"New information message","aui.flag.default-aria-label.success":"New confirmation message","aui.flag.default-aria-label.warning":"New warning message","aui.flag.default-aria-label.error":"New error message"},getText:function(a,...e){return Object.prototype.hasOwnProperty.call(this.keys,a)?i.default.apply(null,[this.keys[a]].concat(e)):a}},I18n=(0,s(9392).globalizeI18n)(o)},5632:(a,e,s)=>{a.exports=s}}]); 385}catch(e){WRMCB(e)}; 386; 387try { 388/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.00e959c498', location = 'aui.chunk.20c0c046b210af10252d--5020bc91a12b338f2252.js' */ 389"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1545],{3460:(e,t,i)=>{i.r(t),i.d(t,{SIZE:()=>a,default:()=>p});var s=i(6249),n=i(1005),r=i(7364);const a={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},o={filled:!1,size:a.MEDIUM.name},l="Add CSS to the parent element of the <aui-spinner>.\nUse CSS flexbox or grid to vertically align it.\nSee https://css-tricks.com/centering-css-complete-guide/ for techniques.",u=(0,n.getMessageLogger)("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:l}),c=(0,n.getMessageLogger)("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:l});function d(e){let t=a.MEDIUM.name;if("string"==typeof e){e=e.toLowerCase();Object.keys(a).map((e=>e.toLowerCase())).indexOf(e)>-1&&(t=e)}return t}function f(e){const{px:t,radius:i}=(0,r.find)(a,(t=>t.name===e._data.size))||a.MEDIUM;!function(e,t,i){const s=e.querySelector("svg"),n=e.querySelector("circle");s.setAttribute("size",t),s.setAttribute("height",t),s.setAttribute("width",t),s.setAttribute("viewBox",`0 0 ${t} ${t}`);const r=t/2;n.setAttribute("cx",r),n.setAttribute("cy",r),n.setAttribute("r",i)}(e,t,i),e._data.filled?function(e,t){const i=e.parentNode;if(i&&1===i.nodeType){const s=e.getBoundingClientRect(),n=i.getBoundingClientRect(),r=n.top+n.height/2,a=s.top+t/2;e.querySelector("svg").style.top=r-a+"px"}}(e,t):function(e){delete e.querySelector("svg").style.top}(e)}const p=(0,s.default)("aui-spinner",{template(e){e.innerHTML='<div class="aui-spinner spinner"><svg focusable="false"><circle></circle></svg></div>',f(e)},attached(e){f(e)},attributes:{filled:{created:function(e){u(),e._data.filled=!0,f(e)},removed:function(e){e._data.filled=!1,f(e)}},size(e,t){e._data.size=d(t.newValue),f(e)}},prototype:{get _data(){return this.__data||(this._data=(0,r.defaults)({},o))},set _data(e){return this.__data=e},set filled(e){c(),e?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(e){const t=d(e);this.setAttribute("size",t)}}})}}]); 390}catch(e){WRMCB(e)}; 391; 392try { 393/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.cc38daf88a', location = 'aui.chunk.2d49862ff916358db886--c12f1518c46085dacf57.js' */ 394"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[614],{5338:(e,t,n)=>{n.r(t),n.d(t,{ATTR_CONTAINER:()=>i,GPU_ACCELERATION_FLAG:()=>l,default:()=>w});var o=n(261);const s="alignment",r="right middle",i="alignment-container",a="aui-alignment-side-",p="aui-alignment-snap-",l="aui-alignment-use-gpu",d={"top left":"top-start","top center":"top","top right":"top-end","right top":"right-start","right middle":"right","right bottom":"right-end","bottom right":"bottom-end","bottom center"
394:"bottom","bottom left":"bottom-start","left bottom":"left-end","left middle":"left","left top":"left-start"};function f(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}function u(e){return f(e,s)||r}function c(e){let[t,n]=u(e).split(" ");return{side:t,snap:n}}function m(e){let t=function(e){let t=f(e,i)||window;return"string"==typeof t&&(t=document.querySelector(t)),t}(e),n="left";if(t&&t!==window&&t!==document||(t=document.documentElement),t&&t.nodeType&&t.nodeType===Node.ELEMENT_NODE){let o=t.getBoundingClientRect();e.getBoundingClientRect().left-o.left>(o.right-o.left)/2&&(n="right")}return n}function h(e,t){const n=c(e);let o;return n.snap&&"auto"!==n.snap?o=function(e){const t=u(e);return d[t]||"right"}(e):(n.snap=m(t),o="submenu"===n.side?d[("right"===n.snap?"left":"right")+" top"]:d[`${n.side} ${n.snap}`]),o}const g={auto:[],top:["top","bottom"],right:["right","left"],bottom:["bottom","top"],left:["left","right"]};function b(e,t,n={}){const s=c(e),r=h(e,t),i=g[r.split("-")[0]],d=t.ownerDocument.defaultView.frameElement;this._eventListenersEnabled=!!n.hasOwnProperty("eventsEnabled")&&n.eventsEnabled,this._triggerOnEvents=!1;const f=[{name:"flip",enabled:!n.hasOwnProperty("flip")||n.flip,options:{allowedAutoPlacements:i,boundary:d||(n.hasOwnProperty("flipContainer")?n.flipContainer:"clippingParents")}},{name:"preventOverflow",enabled:!n.hasOwnProperty("preventOverflow")||n.preventOverflow,options:{padding:0,escapeWithReference:!1,rootBoundary:d?"document":n.hasOwnProperty("overflowContainer")?n.overflowContainer:"document"}},{name:"offset",enabled:n.hasOwnProperty("offset")&&!!n.offset,options:{offset:n.offset}},{name:"hide",enabled:!1},{name:"computeStyles",options:{gpuAcceleration:document.body.classList.contains(l)}},{name:"eventListeners",enabled:this._eventListenersEnabled},{name:"x-placement",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{e.elements.popper&&e.elements.popper.setAttribute("x-placement",e.placement)}},{name:"onUpdate",enabled:n.hasOwnProperty("onUpdate"),phase:"afterWrite",effect:({state:e,name:t})=>{e.modifiersData[`${t}#persistent`]={enabled:!0,fn:n.onUpdate}},fn:({state:e,name:t})=>{const n=e.modifiersData[`${t}#persistent`];return n.enabled&&n.fn(),e}},{name:"onEvents",enabled:n.hasOwnProperty("onEvents"),phase:"afterWrite",effect:({state:e,name:t})=>{e.modifiersData[`${t}#persistent`]={fn:n.onEvents}},fn:({state:e,name:t})=>{const n=e.modifiersData[`${t}#persistent`];return this._triggerOnEvents&&(this._eventListenersEnabled?n.fn.enabled&&n.fn.enabled():n.fn.disabled&&n.fn.disabled(),this._triggerOnEvents=!1),e}}];d&&t.ownerDocument!=e.ownerDocument&&f.push({name:"iframeOffset",enabled:!0,fn(e){const t=d.getBoundingClientRect(),n=window.getComputedStyle(d),o=(e,t)=>e+t,s=e=>e.map(parseFloat).filter(Boolean).reduce(o,0),r=s([t.top,n.paddingTop,n.borderTop]),i=s([t.left,n.paddingLeft,n.borderLeft]);return e.offsets.reference.left+=i,e.offsets.reference.top+=r,e.offsets.popper.left+=i,e.offsets.popper.top+=r,e}});const u={placement:r,strategy:n.hasOwnProperty("positionFixed")&&!n.positionFixed?"absolute":"fixed",modifiers:f,onFirstUpdate:n.onCreate};this.popper=(0,o.createPopper)(t,e,u),function(e,t,n){const o=a+t,s=p+n;e.classList.contains(o)||e.classList.add(o),e.classList.contains(s)||e.classList.add(s)}(e,s.side,s.snap)}b.prototype={destroy(){return this.popper.destroy(),this},changeTarget(e){const t=e.jquery?e[0]:e;return t&&t!==this.popper.state.elements.reference&&(this.popper.state.elements.reference=t,this.popper.setOptions({})),this},scheduleUpdate(){return this.popper.update(),this},enable(){return this._eventListenersEnabled=!0,this._triggerOnEvents=!0,this.popper.setOptions({}),this},disable(){return this._eventListenersEnabled=!1,this._triggerOnEvents=!0,this.popper.setOptions({}),this}};const w=b}}]); 395}catch(e){WRMCB(e)}; 396; 397try { 398/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ae2ebdffe7', location = 'aui.chunk.8238a21ad1d11bf62157--d75677fb5022e2de94e9.js' */ 399"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8308],{7163:(a,u,e)=>{e.r(u),e.d(u,{layer:()=>i.default});var i=e(2496)}}]); 400}catch(e){WRMCB(e)}; 401; 402try { 403/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.19472d705a', location = 'aui.chunk.d029d67d2f6dc4a98bd4--78a06c749e3a5accd1fd.js' */ 404"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[151],{7582:(e,t,n)=>{n.r(t),n.d(t,{DELAY:()=>i,ifGone:()=>r});var u=n(6311);const i=12;function r(e){let t=new u.default.Deferred;return e?setTimeout((()=>{e.parentElement||t.resolve()}),i):t.reject(),t.promise()}}}]); 405}catch(e){WRMCB(e)}; 406; 407try { 408/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b1c3361e2a', location = 'aui.chunk.e6e362686373e331d658--4e84a35c85a349c6e2b5.js' */ 409"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9064],{1963:(t,e,n)=>{n.r(e),n.d(e,{needsLayeringShim:()=>
409p,supportsDateField:()=>h,supportsFocusWithin:()=>m,supportsVoiceOver:()=>w});var i,s,u=navigator.userAgent.toLowerCase(),r=/msie/.test(u),o=/windows nt 5.1/.test(u),a=/windows nt 6.0/.test(u),c=/windows nt 6.1/.test(u),d=/mac os x/.test(u);function p(){return r&&(o||a||c)}function w(){return d}function h(){if(void 0===i){var t=document.createElement("input");t.setAttribute("type","date"),i="date"===t.type}return i}function m(){if(void 0===s)try{document.querySelector(":focus-within"),s=!0}catch(t){s=!1}return s}}}]); 410}catch(e){WRMCB(e)}; 411; 412try { 413/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.86545eac2d', location = 'aui.chunk.3b9241d346786590ec48--664a296128bdab103bd6.js' */ 414"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2598],{8082:(e,t,u)=>{u.r(t),u.d(t,{default:()=>l});var i,n,a=u(9392),r=0;function d(e){if(i=r+++"",n=e?e+i:"aui-uid-"+i,document.getElementById(n)){if(n=n+"-"+(new Date).getTime(),document.getElementById(n))throw new Error('Timestamped fallback ID "'+n+'" exists.');return n}return n}(0,a.default)("id",d);const l=d}}]); 415}catch(e){WRMCB(e)}; 416; 417try { 418/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.2b8638947e', location = 'aui.chunk.a2c22170c13921cff9e0--4e27ff607824f6709ddb.js' */ 419"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7199],{7958:(u,i,a)=>{a.r(i);a(1865)}}]); 420}catch(e){WRMCB(e)}; 421; 422try { 423/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.d0d7f0c206', location = 'aui.chunk.688f1417ffaf58d125ba--0009abc96c321f5a43c2.js' */ 424(k=>{k.set('aui.dropdown.async.error','Error loading dropdown');k.set('aui.dropdown.async.loading','Loading dropdown');})(WRM.I18n.km); 425"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5159],{2732:(e,t,i)=>{i.r(t),i.d(t,{DropdownEl:()=>Y,ItemCheckboxEl:()=>K,ItemLinkEl:()=>q,ItemRadioEl:()=>Q,SectionEl:()=>X});var n=i(7826),a=(i(3460),i(6311)),r=i(9002),o=i.n(r),u=i(1005),d=i(5017),s=i(7364),c=i(1963),l=i(5338),f=i(5214),h=i(2390),b=i(2496),g=i(2618),p=i(6249),m=i(9106),v=i(7582),w=i(1865),k=i(8082);function A(e){return e.hasAttribute("hidden")||e.classList.contains("hidden")}function y(e,t){e.setAttribute("aria-expanded",!!t),e.classList[t?"add":"remove"]("active","aui-dropdown2-active")}var E="unloaded",C="loading",T="error",L="success";function S(e,t){(0,g.default)(e).set("loading-state",L),e.innerHTML=function(e){return e.map((function(e){var t=e.items.map((function(e){function t(t){return e[t]?`${t} ="true"`:""}function i(t){return e[t]?`${t}="${e[t]}"`:""}var n="aui-item-"+e.type;return`\n <${n} ${i("for")} ${i("href")} ${t("interactive")}\n ${t("checked")} ${t("disabled")} ${t("hidden")}>\n ${(0,m.default)(e.content)}\n </${n}>`})).join("");return`\n <aui-section ${e.label?`label="${e.label}"`:""}>\n ${t}\n </aui-section>`})).join("\n")}(t),p.default.init(e)}function x(e){(0,g.default)(e).set("loading-state",T),(0,g.default)(e).set("hasErrorBeenShown",e.isVisible()),e.innerHTML=`\n <div class="aui-message aui-message-error aui-dropdown-error">\n <p>${n.I18n.getText("aui.dropdown.async.error")}</p>\n </div>\n `}function I(e){e.src&&(0,g.default)(e).get("loading-state")!==C&&(!function(e){(0,g.default)(e).set("loading-state",C),(0,g.default)(e).set("hasErrorBeenShown",!1),(0,w.doIfTrigger)(e,(function(e){e.setAttribute("aria-busy","true")})),e.innerHTML=`\n <div class="aui-dropdown-loading">\n <aui-spinner size="small"></aui-spinner> ${n.I18n.getText("aui.dropdown.async.loading")}\n </div>\n `}(e),a.default.ajax(e.src).done((function(t,i,n){200===n.status?S(e,t):x(e)})).fail((function(){x(e)})).always((function(){!function(e){(0,w.doIfTrigger)(e,(function(e){e.setAttribute("aria-busy","false")}))}(e)})))}function $(e,t){return(0,a.default)(e).find(["> ul > li","> .aui-dropdown2-section > ul > li",'> .aui-dropdown2-section > div[role="group"] > ul > li','> div > .aui-dropdown2-section > div[role="group"] > ul > li',"aui-item-link","aui-item-checkbox","aui-item-radio"].join(", ")).filter(t).children('a, button, [role="checkbox"], [role="menuitemcheckbox"], [role="radio"], [role="menuitemradio"]')}function D(e){return $(e,(()=>!0))}function N(e){return $(e,((e,t)=>
425!A(t)))}function V(e){D(e).each(((e,t)=>{return(i=t).setAttribute("tabindex","-1"),void((i.classList.contains("aui-dropdown2-disabled")||A(i.parentElement))&&i.setAttribute("aria-disabled","true"));var i}))}function _(e){e._auiAlignment&&(e._auiAlignment.destroy(),delete e._auiAlignment)}function M(e,t){var i=t&&t.hasSubmenu&&t.hasSubmenu(),n="submenu auto"===e.getAttribute("data-aui-alignment");!i&&n&&function(e){var t=(0,a.default)(e),i=t.data("previous-data-aui-alignment");i?e.setAttribute("data-aui-alignment",i):e.removeAttribute("data-aui-alignment");t.removeData("previous-data-aui-alignment"),t.data("had-data-aui-alignment-static")||e.removeAttribute("data-aui-alignment-static");t.removeData("had-data-aui-alignment-static")}(e);var r=e.hasAttribute("data-aui-alignment");i&&!n?(!function(e){var t=(0,a.default)(e);e.hasAttribute("data-aui-alignment")&&t.data("previous-data-aui-alignment",e.getAttribute("data-aui-alignment"));t.data("had-data-aui-alignment-static",e.hasAttribute("data-aui-alignment-static"))}(e),e.setAttribute("data-aui-alignment","submenu auto"),e.setAttribute("data-aui-alignment-static",!0)):r||(e.setAttribute("data-aui-alignment","bottom auto"),e.setAttribute("data-aui-alignment-static",!0)),_(e),e._auiAlignment=new l.default(e,t,{flip:!1,positionFixed:!1,preventOverflow:!1,offset:t.hasSubmenu&&t.hasSubmenu()?[-3,0]:[0,3]}),e._auiAlignment.enable()}(0,a.default)(document).on("mousedown",".aui-dropdown2-trigger",(function(){this.hasAttribute("resolved")||(p.default.init(this),u.getMessageLogger("Dropdown2 lazy initialisation",{removeInVersion:"10.0.0",alternativeName:"initialisation on DOM insertion",sinceVersion:"5.8.0",extraInfo:"Dropdown2 triggers should have all necessary attributes on DOM insertion",deprecationType:"JS"})())})),(0,a.default)(document).on("mouseenter",".aui-dropdown2-trigger-group a, .aui-dropdown2-trigger-group button",(function(e){const t=(0,a.default)(e.currentTarget);if(t.is(".aui-dropdown2-active"))return;if(t.closest(".aui-dropdown2").length)return;const i=t.closest(".aui-dropdown2-trigger-group"),n=i.find(".aui-dropdown2-active");n.length&&t.is(".aui-dropdown2-trigger")&&(n.blur(),t.trigger("aui-button-invoke"),e.preventDefault());const r=i.find(":focus");r.length&&t.is(".aui-dropdown2-trigger")&&r.blur()}));var O=!1;function P(){O=!0}function B(e){(0,b.default)(e),e.addEventListener("aui-layer-show",(function(t){e===t.target&&(!function(e){var t=(0,a.default)(e);["disabled","interactive","active","checked"].forEach((e=>{t.find(`.${e}`).addClass(`aui-dropdown2-${e}`)}))}(e),V(e),(0,a.default)(e).trigger("aui-dropdown2-show"),(0,w.doIfTrigger)(e,(function(t){y(t,!0),e._returnTo=function(e,t){var i=t.getAttribute("data-dropdown2-hide-location");return document.getElementById(i)||e.parentNode}(e,t)})))})),e.addEventListener("aui-layer-hide",(function(t){e===t.target&&((0,a.default)(e).trigger("aui-dropdown2-hide"),e._auiAlignment&&e._auiAlignment.destroy(),e._returnTo&&e.parentNode&&e.parentNode!==e._returnTo&&e._returnTo.appendChild(e),e.classList.remove("aui-dropdown2-in-header","aui-dropdown2-in-buttons"),D(e).removeClass("active aui-dropdown2-active"),(0,w.doIfTrigger)(e,(function(e){var t;y(e,!1),t=!0===O,O=!1,t&&e.focus()})),delete e.isSubmenu)}))}function R(e){var t=(0,a.default)(e);function i(t){return(0,a.default)(t).closest(".aui-dropdown2, aui-dropdown-menu").get(0)===e}t.on("keydown",(function(t){i(t.target)&&(t.keyCode===h.default.DOWN?(e.focusNext(),t.preventDefault()):t.keyCode===h.default.UP?(e.focusPrevious(),t.preventDefault()):t.keyCode===h.default.LEFT?e.isSubmenu&&(P(),e.hide(),t.preventDefault()):t.keyCode===h.default.ESCAPE?P():t.keyCode===h.default.TAB&&(P(),e.hideAll(!1)))}));t.on("click keydown",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',(function(t){if(!i(t.target))return;const n=t.currentTarget,r=t.keyCode,o=r===h.default.ENTER,u=r===h.default.SPACE;o&&(0,a.default)(n).is("a[href], button")||"click"!==t.type&&!o&&!u||function(t){const i=t.currentTarget;if("true"===i.getAttribute("aria-disabled"))return void t.preventDefault();t.currentTarget.hasSubmenu&&t.currentTarget.hasSubmenu()||i.classList.contains("aui-dropdown2-interactive")||e.hideAll(!0)}(t)})),t.on("mouseenter",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',(function(t){if(!i(t.target))return;let n=(0,a.default)((0,b.default)(e).above()).get(0);for(;n&&n.isDropdown&&n!==e;){const e=n.getAttribute("id"),i=t.target.getAttribute("aria-controls"),r=(0,b.default)(n).above();i!==e&&(0,b.default)(n).hide(),n=(0,a.default)(r).get(0)}}))}function j(e){e.classList.add("aui-dropdown2"),e.setAttribute("tabindex","-1"),e.hasAttribute("data-container")&&(e.setAttribute("data-aui-alignment-container",e.getAttribute("data-container")),e.removeAttribute("data-container")),B(e),R(e),(0,a.default)(e).on("click keydown",".aui-dropdown2-checkbox",(function(e){if("click"===e.type||e.keyCode===h.default.ENTER||e.keyCode===h.default.SPACE){let t=this;if(e.isDefaultPrevented())return;t.isInteractive()&&e.preventDefault(),t.isEnabled()&&(t.isChecked()?t.uncheck():t.check())}})),(0,a.default)(e).on("click keydown",".aui-dropdown2-radio",(function(e){if("click"===e.type||e.keyCode===h.default.ENTER||e.keyCode===h.default.SPACE){let t=this;if(e.isDefaultPrevented())return;t.isInteractive()&&e.preventDefault(),this.isEnabled()&&!1===this.isChecked()&&((0,a.default)(t).closest("ul,[role=group]").find(".aui-dropdown2-checked").not(this).each((function(){this.uncheck()})),t.check())}}))}(0,a.default)(window).on("resize",(0,s.debounce)((function(){(0,a.default)(".aui-dropdown2").each((function(e,t){p.default.init(t),t.isVisible()&&t.hide()}))}),1e3,!0));var H={toggle:function(e){this.isVisible()?this.hide():this.show(e)},show:function(e){const t=this;return(0,w.doIfTrigger)(t,(e=>{y(e,!1)})),e&&e.currentTarget&&e.currentTarget.classList.contains("aui-dropdown2-trigger")&&(0,w.setTrigger)(t,e.currentTarget),
425(0,b.default)(t).show(),(0,w.doIfTrigger)(t,(function(e){y(e,!0),M(t,e)})),setTimeout((()=>function(e,t={}){if(t&&t.type&&-1===t.type.indexOf("mouse")){const i=t.type.indexOf("key")>-1;if(e.isSubmenu)e.focusItem(0);else if(i)if(t.keyCode===h.default.UP){const t=N(e);t&&t.length&&e.focusItem(t.length-1)}else e.focusItem(0);else e.focus()}}(t,e)),0),this},hide:function(){return(0,b.default)(this).hide(),this},hideAll:function(e=!0){const t=function(e){let t=(0,b.default)(e);for(;;){const e=t.below();if(!e)break;if(!e.get(0).isDropdown)break;t=(0,b.default)(e)}return t}(this);return t.isVisible()?(t.hide(),e&&(0,w.doIfTrigger)(t.el,(e=>{setTimeout((()=>{e.focus()}),0),(0,w.setTrigger)(t.el,null)})),this):this},focusNext:function(){var e,t=N(this),i=document.activeElement;t.last()[0]!==i?(e=t.toArray().indexOf(i),this.focusItem(t.get(e+1))):this.focusItem(0)},focusPrevious:function(){var e,t=N(this),i=document.activeElement;t.first()[0]!==i?(e=t.toArray().indexOf(i),this.focusItem(t.get(e-1))):this.focusItem(t.length-1)},focusItem:function(e){const t=N(this);"number"==typeof e&&(e=t.get(e));const i=(0,a.default)(e);i.focus(),t.removeClass("active aui-dropdown2-active"),i.addClass("active aui-dropdown2-active")},isVisible:function(){return(0,b.default)(this).isVisible()},isDropdown:!0},U={created:function(e){var t=e.children[0];t.setAttribute("aria-disabled","true"),t.classList.add("disabled","aui-dropdown2-disabled")},removed:function(e){var t=e.children[0];t.setAttribute("aria-disabled","false"),t.classList.remove("disabled","aui-dropdown2-disabled")}},z={created:function(e){e.children[0].classList.add("interactive","aui-dropdown2-interactive")},removed:function(e){e.children[0].classList.remove("interactive","aui-dropdown2-interactive")}},F={created:function(e){var t=e.children[0];t.classList.add("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!0),e.dispatchEvent(new f.default("change",{bubbles:!0}))},removed:function(e){var t=e.children[0];t.classList.remove("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!1),e.dispatchEvent(new f.default("change",{bubbles:!0}))}},G={created:function(e){U.created(e)},removed:function(e){U.removed(e)}},W=function(e){return{fallback:function(t,i){t.children[0].setAttribute(e,i.newValue)},removed:function(t){t.children[0].removeAttribute(e)}}};const J=function(e=""){return e.split(" ").map((e=>e.trim())).filter((e=>e))},q=(0,p.default)("aui-item-link",{template:o()('<a role="menuitem" tabindex="-1"><content></content></a>'),attributes:{disabled:U,interactive:z,hidden:G,href:W("href"),"item-id":W("id"),for:{created:function(e){var t=e.children[0];t.setAttribute("aria-controls",e.getAttribute("for")),(0,a.default)(t).addClass("aui-dropdown2-sub-trigger")},updated:function(e){e.children[0].setAttribute("aria-controls",e.getAttribute("for"))},removed:function(e){var t=e.children[0];t.removeAttribute("aria-controls"),(0,a.default)(t).removeClass("aui-dropdown2-sub-trigger")}},"extra-classes":function(e,t){const i=e.children[0];t.oldValue&&i.classList.remove(...J(t.oldValue)),t.newValue&&i.classList.add(...J(t.newValue))}}}),[K,Q]=["checkbox","radio"].map((e=>(0,p.default)(`aui-item-${e}`,{template:o()(`<span role="menuitem${e}" class="aui-dropdown2-${e}" tabindex="-1"><content></content></span>`),attributes:{"item-id":W("id"),disabled:U,interactive:z,checked:F,hidden:G}}))),X=(0,p.default)("aui-section",{template:o()('\n <span aria-hidden="true" class="aui-dropdown2-heading"></span>\n <div class="aui-dropdown2-item-group" role="group">\n <content></content>\n </div>\n '),attributes:{label:function(e,t){const i=(0,k.default)();var n=e.children[0],a=e.children[1];n.textContent=t.newValue,n.id=i,a.setAttribute("aria-labelledby",i)}},created:function(e){e.classList.add("aui-dropdown2-section")}}),Y=(0,p.default)("aui-dropdown-menu",{created:function(e){e.setAttribute("role","menu"),e.className="aui-dropdown2",(0,b.default)(e),(0,g.default)(e).set("loading-state",E),p.default.init(e)},detached:function(e){(0,v.ifGone)(e).then((()=>_(e)))},attributes:{src:{}},prototype:H,events:{"aui-layer-show":function(e){var t=(0,g.default)(e).get("loading-state")===E,i=(0,g.default)(e).get("hasErrorBeenShown");(t||i)&&I(e),(0,g.default)(e).get("loading-state")===T&&(0,g.default)(e).set("hasErrorBeenShown",!0)}}});(0,p.default)("aui-dropdown2",{type:p.default.type.CLASSNAME,created:j,prototype:H}),(0,p.default)("data-aui-dropdown2",{type:p.default.type.ATTRIBUTE,created:j,prototype:H}),(0,p.default)("aui-dropdown2-trigger",{type:p.default.type.CLASSNAME,created:function(e){let t=e.getAttribute("aria-controls");function i(i,n=!1){if(i.currentTarget!==e)return;if(i.preventDefault(),!e.isEnabled())return;const r=document.getElementById(t);if(!r)return void d.error('Could not find a dropdown with id "'+t+'" in the DOM.');const o=(0,a.default)(e);return o.parent().hasClass("aui-buttons")&&r.classList.add("aui-dropdown2-in-buttons"),o.parents().hasClass("aui-header")&&r.classList.add("aui-dropdown2-in-header"),n?r.show(i):r.toggle(i),r.isSubmenu=e.hasSubmenu(),r}t||(t=e.getAttribute("aria-owns"),t?(e.removeAttribute("aria-owns"),e.setAttribute("aria-controls",t)):d.error('Dropdown triggers need either a "aria-owns" or "aria-controls" attribute')),e.setAttribute("aria-haspopup",!0),e.setAttribute("aria-expanded",!1),"A"===e.nodeName&&!e.href&&e.setAttribute("href",`#${t}`),(0,a.default)(e).on("aui-button-invoke",i).on("click",i).on("keydown",(function(t){if(t.currentTarget!==e)return;const n=t.keyCode===h.default.ENTER||t.keyCode===h.default.SPACE,a=t.keyCode===h.default.RIGHT&&e.hasSubmenu(),r=(t.keyCode===h.default.UP||t.keyCode===h.default.DOWN)&&!e.hasSubmenu();n?i(t):(r||a)&&i(t,document.activeElement===e)})).on("mouseenter",(function(i){if(i.currentTarget!==e)return;if(i.preventDefault(),!e.isEnabled())return;const n=document.getElementById(t);if(n)return function(e){var t=(0,g.default)(e).get("loading-state")===E,i=(0,g.default)(e).get("hasErrorBeenShown");(t||i&&!e.isVisible())&&I(e)}(n),e.hasSubmenu()&&(n.show(i),n.isSubmenu=e.hasSubmenu()),n;d.error('Could not find a dropdown with id "'+t+'" in the DOM.')}))},prototype:{disable:function(){this.setAttribute("aria-disabled","true"),this.classList.add("disabled","aui-dropdown2-disabled")},enable:function(){this.setAttribute("aria-disabled","false"),this.classList.remove("disabled","aui-dropdown2-disabled")},isEnabled:function(){return"true"!==this.getAttribute("aria-disabled")&&!1===this.classList.contains("aui-dropdown2-disabled")},hasSubmenu:function(){return this.classList.contains("aui-dropdown2-sub-trigger")}}}),(0,p.default)("aui-dropdown2-sub-trigger",{type:p.default.type.CLASSNAME,created:function(e){e.classList.add("aui-dropdown2-trigger"),p.default.init(e)}}),["checkbox","radio"].map((e=>(0,p.default)(`aui-dropdown2-${e}`,{type:p.default.type.CLASSNAME,created:function(t){const i="true"===t.getAttribute("aria-checked")||t.classList.contains("checked")||t.classList.contains("aui-dropdown2-checked");t.classList[i?"add":"remove"]("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",i),t.setAttribute("tabindex","0"),(0,c.supportsVoiceOver)()&&t.setAttribute("role",`menuitem${e}`)},prototype:{isEnabled:function(){return"true"!==this.getAttribute("aria-disabled")},isChecked:function(){return"true"===this.getAttribute("aria-checked")},isInteractive:function(){return this.classList.contains("aui-dropdown2-interactive")},uncheck:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.removeAttribute("checked"),(0,a.default)(this).attr("aria-checked","fal
425se").removeClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-uncheck")},check:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.setAttribute("checked",""),(0,a.default)(this).attr("aria-checked","true").addClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-check")}}})))}}]); 426}catch(e){WRMCB(e)}; 427; 428try { 429/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.778837af2c', location = 'aui.chunk.250707442aee552f7e03--2dcc33692f597f6c0fb6.js' */ 430"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[3499],{6103:(e,l,i)=>{i.r(l),i.d(l,{DropdownEl:()=>o.DropdownEl,ItemCheckboxEl:()=>o.ItemCheckboxEl,ItemLinkEl:()=>o.ItemLinkEl,ItemRadioEl:()=>o.ItemRadioEl,SectionEl:()=>o.SectionEl});i(7163),i(7958);var o=i(2732)}}]); 431}catch(e){WRMCB(e)}; 432; 433try { 434/* module-key = 'com.atlassian.auiplugin:split_aui.component.async-header', location = 'aui.chunk.c5315d91bb370837901a--7374f1685be760ca2092.js' */ 435(k=>{k.set('aui.words.more','More');})(WRM.I18n.km); 436"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8607],{234:(e,t,i)=>{i.r(t),i.d(t,{Header:()=>w});i(7958),i(6103);var n=i(6311),s=i(5214),o=i(9392),r=i(1005);var a=r.fn((function(e,t){var i,n;return function(){var s=arguments,o=this;return clearTimeout(i),i=setTimeout((function(){n=e.apply(o,s),o=s=null}),t),n}}),"AJS.debounce",{removeInVersion:"10.0.0",sinceVersion:"8.0.0",extraInfo:"Use equivalent functions from libraries like lodash / underscore instead"});const d=a;(0,o.default)("debounce",a);var u=r.fn((function(e,t){var i,n=null;return function(){var s=this,o=arguments;return null===n&&(i=e.apply(s,o)),clearTimeout(n),n=setTimeout((function(){n=s=o=null}),t),i}}),"AJS.debounceImmediate",{removeInVersion:"10.0.0",sinceVersion:"8.0.0",extraInfo:"Use equivalent functions from libraries like lodash / underscore instead"});(0,o.default)("debounceImmediate",u);var h=i(7826),l=i(6249),c=i(9002),m=i.n(c);const f=(0,n.default)(window);function p(e){var t,i=this;this.element=e,this.$element=(0,n.default)(e),this.index=(0,n.default)("aui-header, .aui-header").index(e),this.$secondaryNav=this.$element.find(".aui-header-secondary .aui-nav").first(),this.menuItems=[],this.totalWidth=0,this.$moreMenu=void 0,this.rightMostNavItemIndex=void 0,this.$applicationLogo=this.$element.find("#logo"),this.moreMenuWidth=0,this.primaryButtonsWidth=0,this.$headerFind=(t=(0,n.default)(i.$element[0].querySelector(".aui-header-primary")),function(e){return t.find(e)})}p.prototype={init:function(){var e=this;this.element.setAttribute("data-aui-responsive","true"),this.$headerFind(".aui-button").parent().each((function(){e.primaryButtonsWidth+=(0,n.default)(this).outerWidth(!0)})),this.$headerFind(".aui-nav > li > a:not(.aui-button)").each((function(){var t=(0,n.default)(this).parent(),i=t.outerWidth(!0);e.totalWidth+=i,e.menuItems.push({$element:t,outerWidth:i})})),this.rightMostNavItemIndex=this.menuItems.length-1,f.on("resize",this._resizeHandler=d((function(){e.constructResponsiveDropdown()}),100));var t=this.$applicationLogo.find("img");0!==t.length&&(t.attr("data-aui-responsive-header-index",this.index),t.on("load",(function(){e.constructResponsiveDropdown()}))),this.constructResponsiveDropdown(),this.$headerFind(".aui-nav").css("width","auto")},destroy:function(){f.off("resize",this._resizeHandler)},calculateAvailableWidth:function(){return(this.$secondaryNav.is(":visible")?this.$secondaryNav.offset().left:this.$element.outerWidth())-(this.$applicationLogo.offset().left+this.$applicationLogo.outerWidth(!0)+this.primaryButtonsWidth)},showResponsiveDropdown:function(){void 0===this.$moreMenu&&(this.$moreMenu=this.createResponsiveDropdownTrigger()),this.$moreMenu.css("display","")},hideResponsiveDropdown:function(){void 0!==this.$moreMenu&&this.$moreMenu.css("display","none")},constructResponsiveDropdown:function(){if(this.menuItems.length){var e,t=this.calculateAvailableWidth(this.$element,this.primaryButtonsWidth);if(t>this.totalWidth)this.showAll();else{this.showResponsiveDropdown(),e=t-this.moreMenuWidth;for(var i=-1;e-this.menuItems[i+1].outerWidth>=0;)e-=this.menuItems[i+1].outerWidth,i++;i<this.rightMostNavItemIndex?this.moveToResponsiveDropdown(this.rightMostNavItemIndex-i):this.rightMostNavItemIndex<i&&this.moveOutOfResponsiveDropdown(i-this.rightMostNavItemIndex)}}},createResponsiveDropdownTrigger:function(){var e=document.createElement("li"),t=document.createElement("aui-dropdown-menu");t.id=`aui-responsive-header-dropdown-${this.index}`,l.default.init(t);var i=document.createElement("aui-section");i.id=`aui-responsive-header-dropdown-list-${this.index}`,l.default.init(i),t.appendChild(i);var s,o,r=(s=t,(o=document.createElement("a")).setAttribute("class","aui-dropdown2-trigger"),o.setAttribute("href","#"),o.id=s.id+"-trigger",o.setAttribute("aria-controls",s.id),o.innerHTML=h.I18n.getText("aui.words.more"),o);
436return e.appendChild(r),e.appendChild(t),0===this.primaryButtonsWidth?this.$headerFind(".aui-nav").append(e):this.$headerFind(".aui-nav > li > .aui-button:first").parent().before(e),this.moreMenuWidth=(0,n.default)(e).outerWidth(!0),(0,n.default)(e)},moveOutOfResponsiveDropdown:function(e){if(!(e<=0)){for(var t=(0,n.default)(`#aui-responsive-header-dropdown-${this.index}`),i=this.rightMostNavItemIndex+1,s=this.rightMostNavItemIndex+e,o=i;o<=s;o++){var r=this.menuItems[o].$element,a=r.children("a");if(a.attr("aria-controls")){var d=(0,n.default)(document.getElementById(a.attr("aria-controls")));d.removeClass("aui-dropdown2-sub-menu"),r.append(d)}t.find("aui-item-link:first").remove(),r.insertBefore(this.$moreMenu)}this.rightMostNavItemIndex+=e}},moveToResponsiveDropdown:function(e){if(!(e<=0)){for(var t=m().wrap(this.$moreMenu[0].querySelector("aui-section")),i=this.rightMostNavItemIndex,o=this.rightMostNavItemIndex-e+1,r=i;r>=o;r--){var a=this.menuItems[r].$element,d=a.children("a");l.default.init(d);var u=document.createElement("aui-item-link");if(u.setAttribute("href",d.attr("href")),d.attr("aria-controls")){var h=(0,n.default)(document.getElementById(d.attr("aria-controls")));u.setAttribute("for",d.attr("aria-controls")),h.addClass("aui-dropdown2-sub-menu"),h.appendTo("body")}if(d.get(0).hasAttribute("data-aui-extra-classes")){const e=Array.from(d.get(0).classList).filter((e=>!e.startsWith("aui-")));u.setAttribute("extra-classes",e.join(" "))}l.default.init(u),m().wrap(u).textContent=d.text(),a.detach(),t.insertBefore(u,t.firstChild),this.element.dispatchEvent(new s.default("aui-responsive-menu-item-created",{bubbles:!0,detail:{originalItem:a[0],newItem:u}}))}this.rightMostNavItemIndex-=e}},showAll:function(){this.moveOutOfResponsiveDropdown(this.menuItems.length-1-this.rightMostNavItemIndex),this.hideResponsiveDropdown()}};const v=function(e){let t=e._header;return t instanceof p||(t=new p(e),t.init(),e._header=t),t};function I(){(0,n.default)(".aui-header").each((function(){v(this)}))}(0,n.default)(I);const g={};g.setup=r.fn(I,"responsiveheader.setup",{removeInVersion:"10.0.0",sinceVersion:"5.8.0",extraInfo:"No need to manually initialise anymore as this is now a web component."}),(0,o.default)("responsiveheader",g);const w=(0,l.default)("aui-header-end",{type:l.default.type.ELEMENT,created:function(e){const t=e.parentElement;t&&t.classList.contains("aui-header")?v(t):console.log("Could not async. initialise aui-header")}})}},e=>{e.O(0,[8658,2262,1221,5183,4496,1263,5131,5366,2178,3910,3447,9146,1661,5828,9121,8574,5388,2016,1646,8235,5907,9489,2323,6534,9869,6843,700,9610,7794,1545,2965,614,1166,8308,151,9064,2598,7199,7571,5159,3499,6495],(()=>{return t=234,e(e.s=t);var t}));e.O()}]); 437}catch(e){WRMCB(e)}; 438; 439try { 440/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--bd42b7a168', location = 'aui.chunk.deb292ec259fa628c627--8dc5c019d1d68e7d7423.js' */ 441(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4687],{3337:function(e,r,t){var n;n=void 0!==t.g?t.g:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var r=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var r,t=String(e),n=t.length,a=-1,i="",S=t.charCodeAt(0);++a<n;)0!=(r=t.charCodeAt(a))?i+=r>=1&&r<=31||127==r||0==a&&r>=48&&r<=57||1==a&&r>=48&&r<=57&&45==S?"\\"+r.toString(16)+" ":0==a&&1==n&&45==r||!(r>=128||45==r||95==r||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122)?"\\"+t.charAt(a):t.charAt(a):i+="�";return i};return e.CSS||(e.CSS={}),e.CSS.escape=r,r}(n)}}]); 442}catch(e){WRMCB(e)}; 443; 444try { 445/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.inline-dialog1', location = 'aui.chunk.1b65966745457d4c05a6--86b8c05214ea912108a0.js' */ 446"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1919],{8221:(t,e,i)=>{i.r(e),i.d(e,{InlineDialog:()=>v});var o=i(6311),n=i(1963),a=i(1005),r=i(5017),l=i(9392),s=i(2390),f=i(3337),d=i.n(f);function u(t,e,i,a){if((a=a||[]).hasOwnProperty("onTop")&&(w(),a.onTop&&void 0===a.gravity&&(a.gravity="s")),void 0===e&&(e=String(Math.random()).replace(".",""),(0,o.default)("#inline-dialog-"+e+", #arrow-"+e+", #inline-dialog-shim-"+e).length))throw"GENERATED_IDENTIFIER_NOT_UNIQUE";const l=d()(e);var f,h,c,g=o.default.extend(!1,u.opts,a);"w"===g.gravity&&(g.offsetX=void 0===a.offsetX?10:a.offsetX,g.offsetY=void 0===a.offsetY?0:a.offsetY);var v,m,y=!1,C=!1,b=!1,T=(0,o.default)('<div id="inline-dialog-'+e+'" class="aui-inline-dialog"><div class="aui-inline-dialog-contents contents"></div><div id="arrow-'+e+'" class="aui-inline-dialog-arrow arrow aui-css-arrow"></div></div>'),k=(0,o.default)("#arrow-"+l,T),O=T.find(".contents");g.displayShadow||O.addClass("aui-inline-dialog-no-shadow"),g.autoWidth?O.addClass("aui-inline-dialog-auto-width"):O.width(g.width),O.on({mouseenter:function(){clearTimeout(h),T.unbind("mouseenter")},mouseleave:function(){Y()}});var X=function(){return f||(f={popup:T,hide:function(){Y(0)},id:e,show:function(){M()},persistent:!!g.persistent,reset:function(){var t=(0,o.default)(window).height(),i=Math.round(.75*t);T.children(".aui-inline-dialog-contents").css("max-height",i);var a=g.calculatePositions(T,m,v,g);if(a.hasOwnProperty("displayAbove")&&(p(),a.gravity=a.displayAbove?"s":"n"),function(t,e){t.css(e.popupCss),k.removeClass("aui-bottom-arrow aui-left-arrow aui-right-arrow"),"s"
446!==e.gravity||k.hasClass("aui-bottom-arrow")?"w"===e.gravity?k.addClass("aui-left-arrow"):"e"===e.gravity&&k.addClass("aui-right-arrow"):k.addClass("aui-bottom-arrow"),k.css(e.arrowCss)}(T,a),T.fadeIn(g.fadeTime,(function(){})),(0,n.needsLayeringShim)()){var r=(0,o.default)("#inline-dialog-shim-"+l);r.length||(0,o.default)(T).prepend((0,o.default)('<iframe class = "inline-dialog-shim" id="inline-dialog-shim-'+e+'" frameBorder="0" src="javascript:false;"></iframe>')),r.css({width:O.outerWidth(),height:O.outerHeight()})}}}),f},M=function(){T.is(":visible")||(c=setTimeout((function(){b&&C&&(g.addActiveClass&&(0,o.default)(t).addClass("active"),y=!0,g.persistent||H(),u.current=X(),(0,o.default)(document).trigger("showLayer",["inlineDialog",X()]),X().reset())}),g.showDelay))},Y=function(e){void 0===e&&g.persistent||void 0===T.get(0)._datePickerPopup&&(C=!1,y&&g.preHideCallback.call(T[0].popup)&&(e=null==e?g.hideDelay:e,clearTimeout(h),clearTimeout(c),null!=e&&(h=setTimeout((function(){P(),g.addActiveClass&&(0,o.default)(t).removeClass("active"),T.fadeOut(g.fadeTime,(function(){g.hideCallback.call(T[0].popup)})),y=!1,C=!1,(0,o.default)(document).trigger("hideLayer",["inlineDialog",X()]),u.current=null,g.cacheContent||(b=!1,L=!1)}),e))))},E=function(t,n){var a=(0,o.default)(n);g.upfrontCallback.call({popup:T,hide:function(){Y(0)},id:e,show:function(){M()}}),T.each((function(){void 0!==this.popup&&this.popup.hide()})),g.closeOthers&&(0,o.default)(".aui-inline-dialog").each((function(){!this.popup.persistent&&this.popup.hide()})),m={target:a},v=t?{x:t.pageX,y:t.pageY}:{x:a.offset().left,y:a.offset().top},y||clearTimeout(c),C=!0;return L||(L=!0,o.default.isFunction(i)?i(O,n,(function(){L=!1,b=!0,g.initCallback.call({popup:T,hide:function(){Y(0)},id:e,show:function(){M()}}),M()})):o.default.get(i,(function(t,i,o){O.html(g.responseHandler(t,i,o)),b=!0,g.initCallback.call({popup:T,hide:function(){Y(0)},id:e,show:function(){M()}}),M()}))),clearTimeout(h),y||M(),!1};T[0].popup=X();var L=!1,x=!1,I=function(){x||((0,o.default)(g.container).append(T),x=!0)},A=(0,o.default)(t);A.selector=A.selector||t.selector,g.onHover?g.useLiveEvents?A.selector?(0,o.default)(document).on("mouseenter",A.selector,(function(t){I(),E(t,this)})).on("mouseleave",A.selector,(function(){Y()})):r.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled."):A.on({mouseenter:function(t){I(),E(t,this)},mouseleave:function(){Y()}}):g.noBind||(g.useLiveEvents?A.selector?(0,o.default)(document).on("click",A.selector,(function(t){return I(),D()?T.hide():E(t,this),!1})).on("mouseleave",A.selector,(function(){Y()})):r.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled."):A.on("click",(function(t){return I(),D()?T.hide():E(t,this),!1})).on("mouseleave",(function(){Y()})));var D=function(){return y&&g.closeOnTriggerClick},H=function(){N(),R()},P=function(){S(),_()},F=!1,B=e+".inline-dialog-check",N=function(){F||((0,o.default)("body").bind("click."+B,(function(t){0===(0,o.default)(t.target).closest("#inline-dialog-"+l+" .contents").length&&Y(0)})),F=!0)},S=function(){F&&(0,o.default)("body").unbind("click."+B),F=!1},W=function(t){t.keyCode===s.default.ESCAPE&&Y(0)},R=function(){(0,o.default)(document).on("keydown",W)},_=function(){(0,o.default)(document).off("keydown",W)};return T.show=function(e,i){e&&e.stopPropagation(),I(),!g.noBind||t&&t.length?E(e,t):E(e,void 0===i?e.target:i)},T.hide=function(){Y(0)},T.refresh=function(){y&&X().reset()},T.getOptions=function(){return g},T}function h(t){const e=(0,o.default)(t);if((t=e.get(0))&&t===t.window)return{left:0,top:0,width:e.width(),height:e.height()};const i=e.offset()||{};return{left:i.left||0,top:i.top||0,width:e.outerWidth()||0,height:e.outerHeight()||0}}function c(t,e,i,n){var a=function(t,e,i,n){var a=o.default.isFunction(n.offsetX)?n.offsetX(t,e,i,n):n.offsetX,r=o.default.isFunction(n.offsetY)?n.offsetY(t,e,i,n):n.offsetY,l=o.default.isFunction(n.arrowOffsetX)?n.arrowOffsetX(t,e,i,n):n.arrowOffsetX,s=o.default.isFunction(n.arrowOffsetY)?n.arrowOffsetY(t,e,i,n):n.arrowOffsetY,f="body"!==n.container.toLowerCase(),d=(0,o.default)(n.container),u=f?(0,o.default)(n.container).parent():(0,o.default)(window),h=f?d.offset():{left:0,top:0},c=f?u.offset():{left:0,top:0},g=e.target,p=g.offset(),w=g[0].getBBox&&g[0].getBBox();
446return{screenPadding:10,arrowMargin:5,window:{top:c.top,left:c.left,scrollTop:u.scrollTop(),scrollLeft:u.scrollLeft(),width:u.width(),height:u.height()},scrollContainer:{width:d.width(),height:d.height()},trigger:{top:p.top-h.top,left:p.left-h.left,width:w?w.width:g.outerWidth(),height:w?w.height:g.outerHeight()},dialog:{width:t.width(),height:t.height(),offset:{top:r,left:a}},arrow:{height:t.find(".arrow").outerHeight(),offset:{top:s,left:l}}}}(t,e,i,n),r=a.screenPadding,l=a.window,s=a.trigger,f=a.dialog,d=a.arrow,u=a.scrollContainer,h=s.top-l.scrollTop,c=s.left-l.scrollLeft,g=Math.floor(s.height/2),p=Math.floor(f.height/2),w=Math.floor(d.height/2),v=c-f.offset.left-r,m=u.width-c-s.width-f.offset.left-r,y=v>=f.width,C=!(m>=f.width)&&y?"e":"w",b=h+g-w,T=l.height-b-d.height;r=Math.min(r,b-a.arrowMargin),r=Math.min(r,T-a.arrowMargin);var k,O,X=h+g,M=Math.max(X-r,0),Y=Math.max(l.height-X-r,0),E=p-f.offset.top>M,L=p+f.offset.top>Y;return E?(k={top:l.scrollTop+r,left:"w"===C?s.left+s.width+f.offset.left:s.left-f.width-f.offset.left},O={top:s.top+g-(k.top+w)}):L?(k={top:l.scrollTop+l.height-f.height-r,left:"w"===C?s.left+s.width+f.offset.left:s.left-f.width-f.offset.left},O={top:s.top+g-(k.top+w)}):(k={top:s.top+g-p+f.offset.top,left:"w"===C?s.left+s.width+f.offset.left:s.left-f.width-f.offset.left},O={top:p-w+d.offset.top}),{gravity:C,popupCss:k,arrowCss:O}}function g(t,e,i,n){var a=o.default.isFunction(n.offsetX)?n.offsetX(t,e,i,n):n.offsetX,r=o.default.isFunction(n.offsetY)?n.offsetY(t,e,i,n):n.offsetY,l=o.default.isFunction(n.arrowOffsetX)?n.arrowOffsetX(t,e,i,n):n.arrowOffsetX,s=h(window),f=h(e.target),d=h(t),u=h(t.find(".aui-inline-dialog-arrow")),c=f.left+f.width/2,g=(window.pageYOffset||document.documentElement.scrollTop)+s.height;d.top=f.top+f.height+~~r,d.left=f.left+~~a;var p=s.width-(d.left+d.width+10);u.left=c-d.left+~~l,u.top=-u.height/2;var w=f.top>d.height,v=!(d.top+d.height<g)&&w||w&&"s"===n.gravity;if(v&&(d.top=f.top-d.height-u.height/2,u.top=d.height),n.isRelativeToMouse)p<0?(d.right=10,d.left="auto",u.left=i.x-(s.width-d.width)):(d.left=i.x-20,u.left=i.x-d.left);else if(p<0){d.right=10,d.left="auto";var m=s.width-d.right-d.width;u.right="auto",u.left=c-m-u.width/2}else d.width<=f.width/2&&(u.left=d.width/2,d.left=c-d.width/2);return{gravity:v?"s":"n",displayAbove:v,popupCss:{left:d.left,top:d.top,right:d.right},arrowCss:{left:u.left,top:u.top,right:u.right}}}u.opts={onTop:!1,responseHandler:function(t){return t},closeOthers:!0,isRelativeToMouse:!1,addActiveClass:!0,onHover:!1,useLiveEvents:!1,noBind:!1,fadeTime:100,persistent:!1,hideDelay:1e4,showDelay:0,width:300,offsetX:0,offsetY:10,arrowOffsetX:0,arrowOffsetY:0,container:"body",cacheContent:!0,displayShadow:!0,autoWidth:!1,gravity:"n",closeOnTriggerClick:!1,preHideCallback:function(){return!0},hideCallback:function(){},initCallback:function(){},upfrontCallback:function(){},calculatePositions:function(t,e,i,o){return("w"===(o=o||{}).gravity?c:g)(t,e,i,o)}},u=a.construct(u,"Inline dialog constructor",{alternativeName:"inline dialog 2"});var p=a.getMessageLogger("displayAbove","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."}),w=a.getMessageLogger("onTop","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."});(0,l.default)("InlineDialog",u);const v=u}},t=>{t.O(0,[4687,4496,5131,2178,3447,9146,9121,9064,6327],(()=>{return e=8221,t(t.s=e);var e}));t.O()}]); 447}catch(e){WRMCB(e)}; 448; 449try { 450/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--d2f414644b', location = 'aui.chunk.93b8716ffc56b5cf2bc6--9e96563c0dce346d7843.js' */ 451(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[817],{6132:()=>{var t,e,n,r,u,a;t=!0,e="undefined",n=function(){for(var t=Object.prototype.toString,n={},r={1:"element",3:"textnode",9:"document",11:"fragment"},u="Arguments Array Boolean Date Document Element Error Fragment Function NodeList Null Number Object RegExp String TextNode Undefined Window".split(" "),a=u.length;a--;){var o=u[a],l=window[o];if(l)try{n[t.call(new l)]=o.toLowerCase()}catch(t){}}return function(u){return null==u&&(void 0===u?e:"null")||u.nodeType&&r[u.nodeType]||"number"==typeof u.length&&((u.callee?"arguments":u.alert&&"window")||u.item&&"nodelist")||n[t.call(u)]}}(),r=function(t,e,n){var r,u=t[e];return 1==n.type||2==n.type||3==n.type?r=function(){var t,r=null;try{t=u.apply(this,arguments)}catch(t){r=t}if(1==n.type){if(null!=r)throw r;t=n.value.apply(this,[t,e])}else 2==n.type&&null!=r?t=n.value.apply(this,[r,e]):3==n.type&&(t=n.value.apply(this,[t,r,e]));return t}:4==n.type?r=function(){return n.value.apply(this,[arguments,e]),u.apply(this,arguments)}:6==n.type?r=function(){return n.value.apply(this,arguments)}:5==n.type&&(r=function(){var t={object:this,args:Array.prototype.slice.call(arguments)};return n.value.apply(t.object,[{arguments:t.args,method:e,proceed:function(){return u.apply(t.object,t.args)}}])}),r.unweave=function(){t[e]=u,pointcut=t=r=u=null},t[e]=r,r},u=function(t,e,r){var u=[];for(var a in t){var o=null;try{o=t[a]}catch(t){}null!=o&&a.match(e.method)&&"function"==n(o)&&(u[u.length]={source:t,method:a,advice:r})}return u},a=function(n,a){var o=typeof n.target.prototype!=e?n.target.prototype:n.target,l=[];if(6!=a.type&&typeof o[n.method]==e){var i=u(n.target,n,a);for(var p in 0==i.length&&(i=u(o,n,a)),i)l[l.length]=r(i[p].source,i[p].method,i[p].advice)}else l[0]=r(o,n.method,a);return t?l:l[0]},jQuery.aop={after:function(t,e){return a(t,{type:1,value:e})},afterThrow:function(t,e){return a(t,{type:2,value:e})},afterFinally:function(t,e){return a(t,{type:3,value:e})},before:function(t,e){return a(t,{type:4,value:e})},around:function(t,e){return a(t,{type:5,value:e})},introduction:function(t,e){return a(t,{type:6,value:e})},setup:function(e){t=e.regexMatch}}}}]); 452}catch(e){WRMCB(e)}; 453; 454try { 455/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.1d4ad5f4b8', location = 'aui.chunk.e8ed021e8e3659a8029a--945144cbad8167584037.js' */ 456(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8640],{6753:()=>{var e,t,n;jQuery.fn.throbber=(e=jQuery,t=[],n={isLatentThreshold:100,minThrobberDisplay:200,loadingClass:"loading"},e(document).ajaxComplete((function(n,i){e(t).each((function(e){i===this.get(0)&&(this.hideThrobber(),t.splice(e,1))}))})),function(i){var o,s,a=function(e,t){a.t=setTimeout((function(){clearTimeout(a.t),a.t=void 0,e()}),t)};return(i=e.extend(n,i||{}
456)).target?(s=jQuery(i.target),t.push(e.extend(this,{showThrobber:function(){a((function(){o||(s.addClass(i.loadingClass),a((function(){o&&o()}),i.minThrobberDisplay))}),i.isLatentThreshold)},hideThrobber:function(){o=function(){s.removeClass(i.loadingClass),i.end&&i.end()},a.t||o()}})),this.showThrobber(),this):this})}}]); 457}catch(e){WRMCB(e)}; 458; 459try { 460/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.dropdown1', location = 'aui.chunk.048c9409c76a69085ef3--485a15627772d1afe909.js' */ 461"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6738],{3959:(e,t,n)=>{n.r(t),n.d(t,{dropDown:()=>r});var a=n(4440),s=n.n(a);n(6132),n(6753);function i(e,t){var n=null,a=[],r=!1,o=s()(document),c={item:"li:has(a)",activeClass:"active",alignment:"right",displayHandler:function(e){return e.name},escapeHandler:function(){return this.hide("escape"),!1},hideHandler:function(){},moveHandler:function(){},useDisabled:!1};if(s().extend(c,t),c.alignment={left:"left",right:"right"}[c.alignment.toLowerCase()]||"left",e&&e.jquery)n=e;else if("string"==typeof e)n=s()(e);else{if(!e||e.constructor!==Array)throw new Error("dropDown function was called with illegal parameter. Should be $ object, $ selector or array.");n=s()("<div></div>").addClass("aui-dropdown").toggleClass("hidden",!!c.isHiddenByDefault);for(var d=0,l=e.length;d<l;d++){for(var u=s()("<ol></ol>"),h=0,f=e[d].length;h<f;h++){var p=s()("<li></li>"),g=e[d][h];g.href?(p.append(s()("<a></a>").html("<span>"+c.displayHandler(g)+"</span>").attr({href:g.href}).addClass(g.className)),s().data(s()("a > span",p)[0],"properties",g)):p.html(g.html).addClass(g.className),g.icon&&p.prepend(s()("<img />").attr("src",g.icon)),g.insideSpanIcon&&p.children("a").prepend(s()("<span></span>").attr("class","icon")),g.iconFontClass&&p.children("a").prepend(s()("<span></span>").addClass("aui-icon aui-icon-small aui-iconfont-"+g.iconFontClass)),s().data(p[0],"properties",g),u.append(p)}d===l-1&&u.addClass("last"),n.append(u)}s()("body").append(n)}var m=function(){w(1)},v=function(){w(-1)},w=function(e){var t=!r,n=i.current.$[0],a=i.current.links,o=n.focused;if(r=!0,0!==a.length){if(n.focused="number"==typeof o?o:-1,!i.current)return console.log("move - not current, aborting"),!0;n.focused+=e,n.focused<0?n.focused=a.length-1:n.focused>=a.length&&(n.focused=0),c.moveHandler(s()(a[n.focused]),e<0?"up":"down"),t&&a.length?(s()(a[n.focused]).addClass(c.activeClass),r=!1):a.length||(r=!1)}},C=function(e){if(!i.current)return!0;var t=e.which,n=i.current.$[0],a=i.current.links;switch(i.current.cleanActive(),t){case 40:m();break;case 38:v();break;case 27:return c.escapeHandler.call(i.current,e);case 13:return!(n.focused>=0)||(c.selectionHandler?c.selectionHandler.call(i.current,e,s()(a[n.focused])):"a"!=s()(a[n.focused]).prop("nodeName")?s()("a",a[n.focused]).trigger("focus"):s()(a[n.focused]).trigger("focus"));default:return a.length&&s()(a[n.focused]).addClass(c.activeClass),!0}return e.stopPropagation(),e.preventDefault(),!1},b=function(e){e&&e.which&&3==e.which||e&&e.button&&2==e.button||i.current&&i.current.hide("click")},k=function(e){return function(){i.current&&(i.current.cleanFocus(),this.originalClass=this.className,s()(this).addClass(c.activeClass),i.current.$[0].focused=e)}},x=function(e){if(e.button||e.metaKey||e.ctrlKey||e.shiftKey)return!0;i.current&&c.selectionHandler&&c.selectionHandler.call(i.current,e,s()(this))};return n.each((function(){var e=this,t=s()(this),n={},r={reset:function(){(n=s().extend(n,{$:t,links:s()(c.item||"li:has(a)",e),cleanActive:function(){e.focused+1&&n.links.length&&s()(n.links[e.focused]).removeClass(c.activeClass)},cleanFocus:function(){n.cleanActive(),e.focused=-1},moveDown:m,moveUp:v,moveFocus:C,getFocusIndex:function(){return"number"==typeof e.focused?e.focused:-1}})).links.each((function(e){var t,a,i=s()(this);a=!1,(t=i).data("events")&&s().each(t.data("events"),(function(e,t){s().each(t,(function(e,t){if(x===t)return a=!0,!1}))})),a||(i.hover(k(e),n.cleanFocus),i.click(x))}))},appear:function(e){e?(t.removeClass("hidden"),t.addClass("aui-dropdown-"+c.alignment)):t.addClass("hidden")},fade:function(e){e?t.fadeIn("fast"):t.fadeOut("fast")},scroll:function(e){e?t.slideDown("fast"):t.slideUp("fast")}};n.reset=r.reset,n.reset(),n.addControlProcess=function(e,t){s().aop.around({target:this,method:e},t)},n.addCallback=function(e,t){return s().aop.after({target:this,method:e},t)},n.show=function(t){c.useDisabled&&this.$.closest(".aui-dd-parent").hasClass("disabled")||(this.alignment=c.alignment,b(),i.current=this,this.method=t||this.method||"appear",this.timer=setTimeout((function(){o.click(b)}),0),o.keydown(C),c.firstSelected&&this.links[0]&&k(0).call(this.links[0]),s()(e.offsetParent).css({zIndex:2700}),r[this.method](!0),s()(document).trigger("showLayer",["dropdown",i.current]))},n.hide=function(e){return this.method=this.method||"appear",s()(t.get(0).offsetParent).css({zIndex:""}),this.cleanFocus(),r[this.method](!1),o.unbind("click",b).unbind("
461keydown",C),s()(document).trigger("hideLayer",["dropdown",i.current]),i.current=null,e},n.addCallback("reset",(function(){c.firstSelected&&this.links[0]&&k(0).call(this.links[0])})),i.iframes||(i.iframes=[]),i.createShims=function e(){return s()("iframe").each((function(e){var t=this;t.shim||(t.shim=s()("<div />").addClass("shim hidden").css({position:"absolute"}).appendTo("body"),i.iframes.push(t))})),e}(),n.addCallback("show",(function(){s()(i.iframes).each((function(){var e=s()(this);if(e.is(":visible")){var t=e.offset();t.height=e.height(),t.width=e.width(),this.shim.css({left:t.left+"px",top:t.top+"px",height:t.height+"px",width:t.width+"px"}).removeClass("hidden")}}))})),n.addCallback("hide",(function(){s()(i.iframes).each((function(){this.shim.addClass("hidden")})),c.hideHandler()})),a.push(n)})),a}i.getAdditionalPropertyValue=function(e,t){var n=e[0];n&&"string"==typeof n.tagName&&"li"===n.tagName.toLowerCase()||console.log("dropDown.getAdditionalPropertyValue : item passed in should be an LI element wrapped by jQuery");var a=s().data(n,"properties");return a?a[t]:null},i.removeAllAdditionalProperties=function(e){},i.Standard=function(e){var t=[],n={selector:".aui-dd-parent",dropDown:".aui-dropdown",trigger:".aui-dd-trigger"};s().extend(n,e);var a=function(e,t,a,i){s().extend(i,{trigger:e}),t.addClass("dd-allocated"),a.addClass("hidden"),0==n.isHiddenByDefault&&i.show(),i.addCallback("show",(function(){t.addClass("active")})),i.addCallback("hide",(function(){t.removeClass("active")}))},r=function(e,t,n,a){a!=i.current&&(n.css({top:t.outerHeight()}),a.show(),e.stopImmediatePropagation()),e.preventDefault()};if(n.useLiveEvents){var o=[],c=[];s()(n.trigger).live("click",(function(e){var t,d,l,u,h=s()(this);if((u=s().inArray(this,o))>=0){var f=c[u];t=f.parent,d=f.dropdown,l=f.ddcontrol}else{if(0===(d=(t=h.closest(n.selector)).find(n.dropDown)).length)return;if(!(l=i(d,n)[0]))return;o.push(this),f={parent:t,dropdown:d,ddcontrol:l},a(h,t,d,l),c.push(f)}r(e,h,d,l)}))}else(this instanceof s()?this:s()(n.selector)).not(".dd-allocated").filter(":has("+n.dropDown+")").filter(":has("+n.trigger+")").each((function(){var e=s()(this),o=s()(n.dropDown,this),c=s()(n.trigger,this),d=i(o,n)[0];s().extend(d,{trigger:c}),a(c,e,o,d),c.on("click",(function(e){r(e,c,o,d)})),t.push(d)}));return t},i.Ajax=function(e){var t,n={cache:!0};return s().extend(n,e||{}),t=i.Standard.call(this,n),s()(t).each((function(){var e,t,a=this;s().extend(a,{getAjaxOptions:function(e){var t=function(e){n.formatResults&&(e=n.formatResults(e)),n.cache&&a.cache.set(a.getAjaxOptions(),e),a.refreshSuccess(e)};return n.ajaxOptions?s().isFunction(n.ajaxOptions)?s().extend(n.ajaxOptions.call(a),{success:t}):s().extend(n.ajaxOptions,{success:t}):s().extend(e,{success:t})},refreshSuccess:function(e){this.$.html(e)},cache:(t={},{get:function(e){var n=e.data||"";return t[(e.url+n).replace(/[\?\&]/gi,"")]},set:function(e,n){var a=e.data||"";t[(e.url+a).replace(/[\?\&]/gi,"")]=n},reset:function(){t={}}}),show:(e=a.show,function(){n.cache&&a.cache.get(a.getAjaxOptions())?(a.refreshSuccess(a.cache.get(a.getAjaxOptions())),e.call(a)):(s()(s().ajax(a.getAjaxOptions())).throbber({target:a.$,end:function(){a.reset()}}),e.call(a),a.iframeShim&&a.iframeShim.hide())}),resetCache:function(){a.cache.reset()}}),a.addCallback("refreshSuccess",(function(){a.reset()}))})),t},s().fn.dropDown=function(e,t){return i[e=(e||"Standard").replace(/^([a-z])/,(function(e){return e.toUpperCase()}))].call(this,t)};const r=i;(0,n(9392).default)("dropDown",r)}},e=>{e.O(0,[817,4496,5131,8640],(()=>{return t=3959,e(e.s=t);var t}));e.O()}]); 462}catch(e){WRMCB(e)}; 463; 464try { 465/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a07d2669ba', location = 'aui.chunk.65b436dd0e7055ff2590--f11ad2ca87aec4d88727.js' */ 466"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2549],{5657:(t,e,i)=>{i.r(e),i.d(e,{Dialog:()=>c,popup:()=>d});var n=i(6311),o=i(2390),a=i(5017),h=i(1005),s=i(5725),p=i(3225),u=i(588),l=i(9392);const r=2600;function d(t){var e={width:800,height:600,closeOnOutsideClick:!1,keypressListener:function(t){t.keyCode===o.default.ESCAPE&&i.is(":visible")&&c.hide()}};"object"!=typeof t&&(t={width:arguments[0],height:arguments[1],id:arguments[2]},t=n.default.extend({},t,arguments[3])),t=n.default.extend({},e,t);var i=(0,n.default)("<div></div>").addClass("aui-popup");t.id&&i.attr("id",t.id);var a=r;(0,n.default)(".aui-dialog").each((function(){var t=(0,n.default)(this);a=t.css("z-index")>a?t.css("z-index"):a}));var h=function e(n,o){return t.width=n=n||t.width,t.height=o=o||t.height,i.css({marginTop:-Math.round(o/2)+"px",marginLeft:-Math.round(n/2)+"px",width:n,height:o,"z-index":parseInt(a,10)+2}),e}(t.width,t.height);(0,n.default)("body").append(i),i.hide(),(0,u.enable)(i);var s=(0,n.default)(".aui-blanket"),l=function(t,e){var i=(0,n.default)(t,e);return!!i.length&&(i.focus(),!0)},c={changeSize:function(e,i){(e&&e!=t.width||i&&i!=t.height)&&h(e,i),this.show()},show:function(){var e=function(){(0,n.default)(document).off("keydown",t.keypressListener).on("keydown",t.keypressListener),(0,p.dim)(),0!==(s=(0,n.default)(".aui-blanket")).length&&t.closeOnOutsideClick&&s.on("click",(function(){i.is(":visible")&&c.hide()})),i.show(),d.current=this,function(e){if(0===(0,n.default)(".dialog-page-body",e).find(":focus").length){if(t.focusSelector)return l(t.focusSelector,e);var i=":input:visible:enabled:first";l(i,(0,n.default)(".dialog-page-body",e))||l(i,(0,n.default)(".dialog-button-panel",e))||l(i,(0,n.default)(".dialog-page-menu",e))}}(i),(0,n.default)(document).trigger("showLayer",["popup",this])};e.call(this),this.show=e}
466,hide:function(){(0,n.default)(document).unbind("keydown",t.keypressListener),s.unbind(),this.element.hide(),0===(0,n.default)(".aui-dialog:visible").length&&(0,p.undim)();var e=document.activeElement;this.element.has(e).length&&e.blur(),(0,n.default)(document).trigger("hideLayer",["popup",this]),d.current=null,this.enable()},element:i,remove:function(){i.remove(),this.element=null},disable:function(){this.disabled||(this.popupBlanket=(0,n.default)("<div class='dialog-blanket'> </div>").css({height:i.height(),width:i.width()}),i.append(this.popupBlanket),this.disabled=!0)},enable:function(){this.disabled&&(this.disabled=!1,this.popupBlanket.remove(),this.popupBlanket=null)}};return c}var c=function(){function t(t,e,i,o){t.buttonpanel||t.addButtonPanel(),this.page=t,this.onclick=i,this._onclick=function(e){return!0===i.call(this,t.dialog,t,e)},this.item=(0,n.default)("<button></button>").html(e).addClass("button-panel-button"),o&&this.item.addClass(o),"function"==typeof i&&this.item.on("click",this._onclick),t.buttonpanel.append(this.item),this.id=t.button.length,t.button[this.id]=this}function e(t,e,i,o,a){t.buttonpanel||t.addButtonPanel(),a||(a="#"),this.page=t,this.onclick=i,this._onclick=function(e){return!0===i.call(this,t.dialog,t,e)},this.item=(0,n.default)("<a></a>").html(e).attr("href",a).addClass("button-panel-link"),o&&this.item.addClass(o),"function"==typeof i&&this.item.click(this._onclick),t.buttonpanel.append(this.item),this.id=t.button.length,t.button[this.id]=this}function i(t,e){var i="left"==t?-1:1;return function(t){var n=this.page[e];if(this.id!=(1==i?n.length-1:0)){i*=t||1,n[this.id+i].item[i<0?"before":"after"](this.item),n.splice(this.id,1),n.splice(this.id+i,0,this);for(var o=0,a=n.length;o<a;o++)"panel"==e&&this.page.curtab==n[o].id&&(this.page.curtab=o),n[o].id=o}return this}}function o(t){return function(){this.page[t].splice(this.id,1);for(var e=0,i=this.page[t].length;e<i;e++)this.page[t][e].id=e;this.item.remove()}}t.prototype.moveUp=t.prototype.moveLeft=i("left","button"),t.prototype.moveDown=t.prototype.moveRight=i("right","button"),t.prototype.remove=o("button"),t.prototype.html=function(t){return this.item.html(t)},t.prototype.onclick=function(t){let e=this;if(void 0===t)return this.onclick;this.item.unbind("click",this._onclick),this._onclick=function(i){return!0===t.call(this,e.page.dialog,e.page,i)},"function"==typeof t&&this.item.click(this._onclick)};var h=function(t,e,i,o,h){i instanceof n.default||(i=(0,n.default)(i)),this.dialog=t.dialog,this.page=t,this.id=t.panel.length,this.button=(0,n.default)("<button></button>").html(e).addClass("item-button"),h&&(this.button[0].id=h),this.item=(0,n.default)("<li></li>").append(this.button).addClass("page-menu-item"),this.body=(0,n.default)("<div></div>").append(i).addClass("dialog-panel-body").css("height",t.dialog.height+"px"),this.padding=20,o&&this.body.addClass(o);var s=t.panel.length,p=this;t.menu.append(this.item),t.body.append(this.body),t.panel[s]=this;var u=function(){var e;t.curtab+1&&((e=t.panel[t.curtab]).body.hide(),e.item.removeClass("selected"),"function"==typeof e.onblur&&e.onblur()),t.curtab=p.id,p.body.show(),p.item.addClass("selected"),"function"==typeof p.onselect&&p.onselect(),"function"==typeof t.ontabchange&&t.ontabchange(p,e)};this.button.click?this.button.click(u):(a.log("atlassian-dialog:Panel:constructor - this.button.click false"),this.button.onclick=u),u(),0==s?t.menu.css("display","none"):t.menu.show()};h.prototype.select=function(){this.button.click()},h.prototype.moveUp=h.prototype.moveLeft=i("left","panel"),h.prototype.moveDown=h.prototype.moveRight=i("right","panel"),h.prototype.remove=o("panel"),h.prototype.html=function(t){return t?(this.body.html(t),this):this.body.html()},h.prototype.setPadding=function(t){return isNaN(+t)||(this.body.css("padding",+t),this.padding=+t,this.page.recalcSize()),this};var p=function(t,e){this.dialog=t,this.id=t.page.length,this.element=(0,n.default)("<div></div>").addClass("dialog-components"),this.body=(0,n.default)("<div></div>").addClass("dialog-page-body"),this.menu=(0,n.default)("<ul></ul>").addClass("dialog-page-menu").css("height",t.height+"px"),this.body.append(this.menu),this.curtab,this.panel=[],this.button=[],e&&this.body.addClass(e),t.popup.element.append(this.element.append(this.menu).append(this.body)),t.page[t.page.length]=this};function u(t,e,i){var o={};+t||(t=(o=Object(t)).width,e=o.height,i=o.id),this.height=e||480,this.width=t||640,this.id=i,o=n.default.extend({},o,{width:this.width,height:this.height,id:this.id}),this.popup=d(o),this.popup.element.addClass("aui-dialog"),this.page=[],this.curpage=0,new p(this)}return p.prototype.recalcSize=function(){for(var t=this.header?62:0,e=this.buttonpanel?52:0,i=this.panel.length;i--;){var n=this.dialog.height-t-e;this.panel[i].body.css("height",n),this.menu.css("height",n)}},p.prototype.addButtonPanel=function(){this.buttonpanel=(0,n.default)("<div></div>").addClass("dialog-button-panel"),this.element.append(this.buttonpanel)}
466,p.prototype.addPanel=function(t,e,i,n){return new h(this,t,e,i,n),this.recalcSize(),this},p.prototype.addHeader=function(t,e){return this.header&&this.header.remove(),this.header=(0,n.default)("<h2></h2>").text(t||"").addClass("dialog-title"),e&&this.header.addClass(e),this.element.prepend(this.header),this.recalcSize(),this},p.prototype.addButton=function(e,i,n){return new t(this,e,i,n),this.recalcSize(),this},p.prototype.addLink=function(t,i,n,o){return new e(this,t,i,n,o),this.recalcSize(),this},p.prototype.gotoPanel=function(t){this.panel[t.id||t].select()},p.prototype.getCurrentPanel=function(){return this.panel[this.curtab]},p.prototype.hide=function(){this.element.hide()},p.prototype.show=function(){this.element.show()},p.prototype.remove=function(){this.element.remove()},u.prototype.addHeader=function(t,e){return this.page[this.curpage].addHeader(t,e),this},u.prototype.addButton=function(t,e,i){return this.page[this.curpage].addButton(t,e,i),this},u.prototype.addLink=function(t,e,i,n){return this.page[this.curpage].addLink(t,e,i,n),this},u.prototype.addSubmit=function(t,e){return this.page[this.curpage].addButton(t,e,"button-panel-submit-button"),this},u.prototype.addCancel=function(t,e){return this.page[this.curpage].addLink(t,e,"button-panel-cancel-link"),this},u.prototype.addButtonPanel=function(){return this.page[this.curpage].addButtonPanel(),this},u.prototype.addPanel=function(t,e,i,n){return this.page[this.curpage].addPanel(t,e,i,n),this},u.prototype.addPage=function(t){return new p(this,t),this.page[this.curpage].hide(),this.curpage=this.page.length-1,this},u.prototype.nextPage=function(){return this.page[this.curpage++].hide(),this.curpage>=this.page.length&&(this.curpage=0),this.page[this.curpage].show(),this},u.prototype.prevPage=function(){return this.page[this.curpage--].hide(),this.curpage<0&&(this.curpage=this.page.length-1),this.page[this.curpage].show(),this},u.prototype.gotoPage=function(t){return this.page[this.curpage].hide(),this.curpage=t,this.curpage<0?this.curpage=this.page.length-1:this.curpage>=this.page.length&&(this.curpage=0),this.page[this.curpage].show(),this},u.prototype.getPanel=function(t,e){var i=null==e?this.curpage:t;return null==e&&(e=t),this.page[i].panel[e]},u.prototype.getPage=function(t){return this.page[t]},u.prototype.getCurrentPanel=function(){return this.page[this.curpage].getCurrentPanel()},u.prototype.gotoPanel=function(t,e){if(null!=e){var i=t.id||t;this.gotoPage(i)}this.page[this.curpage].gotoPanel(void 0===e?t:e)},u.prototype.show=function(){return this.popup.show(),(0,s.trigger)("show.dialog",{dialog:this}),this},u.prototype.hide=function(){return this.popup.hide(),(0,s.trigger)("hide.dialog",{dialog:this}),this},u.prototype.remove=function(){this.popup.hide(),this.popup.remove(),(0,s.trigger)("remove.dialog",{dialog:this})},u.prototype.disable=function(){return this.popup.disable(),this},u.prototype.enable=function(){return this.popup.enable(),this},u.prototype.get=function(t){var e=[],i=this,n='#([^"][^ ]*|"[^"]*")',o="(?:(page|panel|button|header)(?:"+n+"|:(\\d+))?|"+n+")",a=new RegExp("(?:^|,)\\s*"+o+"(?:\\s+"+o+")?\\s*(?=,|$)","ig");(t+"").replace(a,(function(t,n,o,a,h,s,p,u,l){var r=[];if("page"==(n=n&&n.toLowerCase())&&i.page[a]?(r.push(i.page[a]),n=(n=s)&&n.toLowerCase(),o=p,a=u,h=l):r=i.page,o=o&&(o+"").replace(/"/g,""),p=p&&(p+"").replace(/"/g,""),h=h&&(h+"").replace(/"/g,""),l=l&&(l+"").replace(/"/g,""),n||h)for(var d=r.length;d--;){if(h||"panel"==n&&(o||!o&&null==a))for(var c=r[d].panel.length;c--;)(r[d].panel[c].button.html()==h||r[d].panel[c].button.html()==o||"panel"==n&&!o&&null==a)&&e.push(r[d].panel[c]);if(h||"button"==n&&(o||!o&&null==a))for(c=r[d].button.length;c--;)(r[d].button[c].item.html()==h||r[d].button[c].item.html()==o||"button"==n&&!o&&null==a)&&e.push(r[d].button[c]);r[d][n]&&r[d][n][a]&&e.push(r[d][n][a]),"header"==n&&r[d].header&&e.push(r[d].header)}else e=e.concat(r)}));for(var h={length:e.length},s=e.length;s--;)for(var p in h[s]=e[s],e[s])p in h||function(t){h[t]=function(){for(var e=this.length;e--;)"function"==typeof this[e][t]&&this[e][t].apply(this[e],arguments)}}(p);return h},u.prototype.updateHeight=function(){for(var t=0,e=(0,n.default)(window).height()-62-52-100,i=0;this.getPanel(i);i++)this.getPanel(i).body.css({height:"auto",display:"block"}).outerHeight()>t&&(t=Math.min(e,this.getPanel(i).body.outerHeight())),i!==this.page[this.curpage].curtab&&this.getPanel(i).body.css({display:"none"});for(i=0;this.getPanel(i);i++)this.getPanel(i).body.css({height:t||this.height});this.page[0].menu.height(t),this.height=t+62+52+1,this.popup.changeSize(void 0,this.height)},u.prototype.isMaximised=function(){return this.popup.element.outerHeight()>=(0,n.default)(window).height()-100},u.prototype.getCurPanel=function(){return this.getPanel(this.page[this.curpage].curtab)},u.prototype.getCurPanelButton=function(){return this.getCurPanel().button},u}();c=h.construct(c,"Dialog constructor",{alternativeName:"Dialog2"}),d=h.construct(d,"Dialog popup constructor",{alternatveName:"Dialog2"}),(0,l.default)("Dialog",c),(0,l.default)("popup",d)}}]); 467}catch(e){WRMCB(e)}; 468; 469try { 470/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.dialog1', location = 'aui.chunk.4c94aed561e3c1d8d40f--21f31f250753f780b3b1.js' */ 471"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5387],{7105:(u,a,i)=>{i.r(a),i.d(a,{Dialog:()=>p.Dialog,popup:()=>p.popup});var p=i(5657)}},u=>{u.O(0,[8658,4496,5131,2178,3447,9146,9121,8235,9869,449,6319,2549],(()=>{return a=7105,u(u.s=a);var a}));u.O()}]); 472}catch(e){WRMCB(e)}; 473; 474try { 475/* module-key = 'com.atlassian.auiplugin:split_aui.component.tabs', location = 'aui.chunk.6c6e23dfa1e1e39f1cca--adab9912d3b67c2df949.js' */ 476"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[953],{5994:(t,a,e)=>{e.r(a),e.d(a,{TabContainerEl:()=>R,TabItemEl:()=>E,TabPaneEl:()=>O});e(6103),e(9002);var i=e(5017),n=e(7364),r=e(6311),s=e(9392),o=e(8082);function u(t,a=""){var e=(0,r.default)(t),i=a||!1;e.each((function(){var t=(0,r.default)(this);t.attr("id")||t.attr("id",(0,o.default)(i))}))}(0,s.default)("_addID",u);const d=u;function l(t){return(t=(0,r.default)(t)).prop("scrollWidth")>t.prop("clientWidth")}
476(0,s.default)("isClipped",l);const c=l;var f=e(6249),b=window.skateTemplateHtml,p="_internal-aui-tabs-",v='.aui-tabs.horizontal-tabs[data-aui-responsive]:not([data-aui-responsive="false"]), aui-tabs[responsive]:not([responsive="false"])';function h(t){let a=(0,r.default)(t),e=String(a.attr("href")||"").trim();return 0===e.indexOf("#")?e.substr(1):null}function m(t){let a=h(t);return a?document.getElementById(a):null}var g={totalTabsWidth:function(t,a){var e=this.totalVisibleTabWidth(t),i=0;return a.find("li").each((function(t,a){i+=parseInt(a.getAttribute("data-aui-tab-width"))})),e+i},totalVisibleTabWidth:function(t){var a=0;return t.each((function(t,e){a+=(0,r.default)(e).outerWidth()})),a},removeResponsiveDropdown:function(t,a){t.remove(),a.remove()},createResponsiveDropdownTrigger:function(t,a){var e=`<li class="menu-item aui-tabs-responsive-trigger-item">\n <a\n class="aui-dropdown2-trigger aui-tabs-responsive-trigger aui-dropdown2-trigger-arrowless"\n id="aui-tabs-responsive-trigger-${a}"\n aria-haspopup="true"\n aria-controls="aui-tabs-responsive-dropdown-${a}"\n href="#aui-tabs-responsive-dropdown-${a}">...</a>\n </li>`;return t.append(e),t.find(".aui-tabs-responsive-trigger-item")},createResponsiveDropdown:function(t,a){var e='<div class="aui-dropdown2 aui-tabs-responsive-dropdown" id="aui-tabs-responsive-dropdown-'+a+'"><ul></ul></div>';return t.append(e),t.find("#aui-tabs-responsive-dropdown-"+a)},findNewVisibleTabs:function(t,a,e){function i(t,a,e){return t+a<=e}for(var n=0,s=0;i(n,e,a)&&s<t.length;s++){n+=(0,r.default)(t[s]).outerWidth(!0)}return t.slice(0,s-1)},moveVisibleTabs:function(t,a,e){for(var i=e.find("a").attr("aria-controls"),n=(0,r.default)("#"+i),s=this.findNewVisibleTabs(t,a.outerWidth(),e.parent().outerWidth(!0)),o=s.length-1,u=t.length-1;u>=o;u--){var d=(0,r.default)(t[u]);this.moveTabToResponsiveDropdown(d,n,e)}return(0,r.default)(s)},moveTabToResponsiveDropdown:function(t,a,e){var i=t.find("a");t.attr("data-aui-tab-width",t.outerWidth(!0)),i.addClass("aui-dropdown2-radio aui-tabs-responsive-item"),t.hasClass("active-tab")&&(i.addClass("aui-dropdown2-checked"),e.addClass("active-tab")),a.find("ul").prepend(t)},moveInvisibleTabs:function(t,a,e){function i(t){return t>0}for(var n=0;i(a)&&n<t.length;n++){var s=(0,r.default)(t[n]),o=parseInt(s.attr("data-aui-tab-width"),10);o<a&&this.moveTabOutOfDropdown(s,e),a-=o}},moveTabOutOfDropdown:function(t,a){t.find("a").hasClass("aui-dropdown2-checked")&&(t.addClass("active-tab"),a.removeClass("active-tab")),t.children("a").removeClass("aui-dropdown2-radio aui-tabs-responsive-item aui-dropdown2-checked"),a.before(t)}};function w(t){var a=(0,r.default)(t);if(!a.hasClass("aui-tabs-responsive-trigger")){var e=m(a);if(e){var n=(0,r.default)(e);n.addClass("active-pane").siblings(".tabs-pane").removeClass("active-pane");var s=a.parents(".aui-tabs").find(".aui-tabs-responsive-trigger-item a").attr("aria-controls"),o=(0,r.default)(document.getElementById(s));if(o.find("li a").attr("aria-checked",!1).removeClass("checked aui-dropdown2-checked"),o.find("li").removeClass("active-tab"),a.parent("li.menu-item").addClass("active-tab").siblings(".menu-item").removeClass("active-tab"),a.hasClass("aui-tabs-responsive-item")){var u=n.parent(".aui-tabs").find("li.menu-item:not(.aui-tabs-responsive-trigger-item)");u.removeClass("active-tab"),u.find("a").removeClass("checked").removeAttr("aria-checked")}a.hasClass("aui-tabs-responsive-item")&&n.parent(".aui-tabs").find("li.menu-item.aui-tabs-responsive-trigger-item").addClass("active-tab"),a.closest(".tabs-menu").find("a").attr("aria-selected","false"),a.attr("aria-selected","true"),a.trigger("tabSelect",{tab:a,pane:n})}else i.error("Cannot switch to tab panel because it does not exist. Check whether the tab link href is correct.",t)}}function C(t){return void 0!==t.attr("data-aui-persist")&&"false"!==t.attr("data-aui-persist")}function T(t){var a=t.attr("id"),e=t.attr("data-aui-persist");return p+(a||"")+(e&&"true"!==e?"-"+e:"")}function k(t){S.change((0,r.default)(t.target).closest("a")),t&&t.preventDefault()}function y(t){t.forEach((function(t,a){!function(t,a){var e=(0,r.default)(t),i=e.find(".tabs-menu").first(),n=i.find("li:not(.aui-tabs-responsive-trigger-item)"),s=i.find(".aui-tabs-responsive-trigger").parent(),o=s.find("a"),u=o.attr("aria-controls"),d=(0,r.default)(document.getElementById(u)).attr("aria-checked",!1),l=d.length>0,c=g.totalTabsWidth(n,d)>e.outerWidth();if(!l&&c&&(s=g.createResponsiveDropdownTrigger(i,a),d=g.createResponsiveDropdown(e,a)),o.attr("aria-controls","aui-tabs-responsive-dropdown-"+a),o.attr("id","aui-tabs-responsive-trigger-"+a),o.attr("href","#aui-tabs-responsive-trigger-"+a),d.attr("id","aui-tabs-responsive-dropdown-"+a),c){var f=g.moveVisibleTabs(n.toArray(),e,s),b=g.totalVisibleTabWidth(f),p=e.outerWidth()-b-s.outerWidth(!0);if(p>0){var v=d.find("li");g.moveInvisibleTabs(v.toArray(),p,s)}e.hasClass("aui-tabs-disabled")||d.on("click.aui-tabs","a",k),i.is(":visible")&&i.hide().show()}l&&!c&&(d.find("li").each((function(){g.moveTabOutOfDropdown((0,r.default)(this),s)})),g.removeResponsiveDropdown(d,s))}(t,a)}))}function A(){return(0,r.default)(v).toArray()}function W(t){var a=(0,r.default)(t);if(t.setAttribute("role","application"),!a.data("aui-tab-events-bou
476nd")){var e=a.children("ul.tabs-menu");e.attr("role","tablist"),e.children("li").attr("role","presentation"),e.find("> .menu-item a").each((function(){var t,a,e;t=this,a=(0,r.default)(t),e=m(a),h(t)||i.error('A tab link must use an anchor link (e.g., <a href="#a-valid-id"></a>) to work correctly.',t),e?(d(a),a.attr("role","tab"),(0,r.default)(e).attr("aria-labelledby",a.attr("id")),a.parent().hasClass("active-tab")?a.attr("aria-selected","true"):a.attr("aria-selected","false")):i.warn("A tab panel could not be found with the tab link's configured href. Check whether the tab link href is correct.",t)})),e.on("click.aui-tabs","a",k),a.data("aui-tab-events-bound",!0),function(t){[].slice.call(t.querySelectorAll(".tabs-pane")).forEach(I)}(t)}}function D(){var t=(0,r.default)(".aui-tabs:not(.aui-tabs-disabled)");t.each((function(){W(this)})),function(t){for(var a=0,e=t.length;a<e;a++){var n=t.eq(a),r=t.get(a);if(C(n)&&window.localStorage)if(n.attr("id")){var s=window.localStorage.getItem(T(n));if(s){var o=r.querySelector(`a[href$="${s}"]`);o&&w(o)}}else i.warn("A tab group must specify an id attribute if it specifies data-aui-persist.")}}(t)}function I(t){t.setAttribute("role","tabpanel")}var S={setup:function(){!function(){const t=(0,n.debounce)(y,200);t(A()),(0,r.default)(window).on("resize.aui-tabs",(()=>t(A())))}(),D(),(0,r.default)(".aui-tabs.vertical-tabs").find("a").each((function(){var t=(0,r.default)(this);t.attr("title")||c(t)&&t.attr("title",t.text())}))},change:function(t){var a=t instanceof HTMLElement||t instanceof r.default?t:document.querySelector(t),e=(0,r.default)(a).first(),n=e.closest(".aui-tabs");w(e),C(n)&&window.localStorage&&function(t){var a=t.closest(".aui-tabs");if(a.attr("id")){var e=h(t);e&&window.localStorage.setItem(T(a),"#"+e)}else i.warn("A tab group must specify an id attribute if it specifies data-aui-persist.")}(e)}};(0,r.default)(S.setup);const R=(0,f.default)("aui-tabs",{created:function(t){(0,r.default)(t).addClass("aui-tabs horizontal-tabs"),f.default.init(t),W(t)},template:b('<ul class="tabs-menu">','<content select="li[is=aui-tabs-tab]"></content>',"</ul>",'<content select="aui-tabs-pane"></content>'),prototype:{select:function(t){var a=(0,r.default)(function(t){return t.querySelectorAll("aui-tabs-pane")}(this)).index(t);return a>-1&&S.change(function(t){return t.querySelectorAll("li[is=aui-tabs-tab]")}(this)[a].children[0]),this}}}),E=(0,f.default)("aui-tabs-tab",{extends:"li",created:function(t){(0,r.default)(t).addClass("menu-item")},template:b('<a href="#">',"<strong>","<content></content>","</strong>","</a>")}),O=(0,f.default)("aui-tabs-pane",{attached:function(t){var a=(0,r.default)(function(t){return(0,r.default)(t).closest("aui-tabs").get(0)}(t)),e=(0,r.default)(t),i=a.find("aui-tabs-pane").index(e),n=new E,s=(0,r.default)(n);e.addClass("tabs-pane"),n.firstChild.setAttribute("href","#"+t.id),b.wrap(n).textContent=e.attr("title"),0===i&&e.addClass("active-pane"),e.hasClass("active-pane")&&s.addClass("active-tab"),e.siblings("ul").append(n)},template:b("<content></content>")});(0,s.default)("tabs",S)}},t=>{t.O(0,[8658,2262,1221,5183,4496,1263,5131,5366,2178,3447,9146,1661,9121,8574,5388,2016,1646,8235,5907,2323,6534,9869,6843,700,9610,7794,1545,614,1166,8308,151,9064,2598,7199,5159,3499],(()=>{return a=5994,t(t.s=a);var a}));t.O()}]); 477}catch(e){WRMCB(e)}; 478; 479try { 480/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--a94d4220ac', location = 'aui.chunk.6562df25796b6c3d055f--0566b0a400af7a716cb9.js' */ 481(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7624],{6973:(t,e,i)=>{var n,s,r;r="object"==typeof self&&self.self===self&&self||"object"==typeof i.g&&i.g.global===i.g&&i.g,n=[i(7364),i(4440),e],s=function(t,e,i){r.Backbone=function(t,e,i,n){var s=t.Backbone,r=Array.prototype.slice;e.VERSION="1.6.0",e.$=n,e.noConflict=function(){return t.Backbone=s,this},e.emulateHTTP=!1,e.emulateJSON=!1;var o,h=e.Events={},a=/\s+/,u=function(t,e,n,s,r){var o,h=0;if(n&&"object"==typeof n){void 0!==s&&"context"in r&&void 0===r.context&&(r.context=s);for(o=i.keys(n);h<o.length;h++)e=u(t,e,o[h],n[o[h]],r)}else if(n&&a.test(n))for(o=n.split(a);h<o.length;h++)e=t(e,o[h],s,r);else e=t(e,n,s,r);return e};
vendor: 4,319 bytes, line 481
481h.on=function(t,e,i){return this._events=u(l,this._events||{},t,e,{context:i,ctx:this,listening:o}),o&&((this._listeners||(this._listeners={}))[o.id]=o,o.interop=!1),this},h.listenTo=function(t,e,n){if(!t)return this;var s=t._listenId||(t._listenId=i.uniqueId("l")),r=this._listeningTo||(this._listeningTo={}),h=o=r[s];h||(this._listenId||(this._listenId=i.uniqueId("l")),h=o=r[s]=new v(this,t));var a=c(t,e,n,this);if(o=void 0,a)throw a;return h.interop&&h.on(e,n),this};var l=function(t,e,i,n){if(i){var s=t[e]||(t[e]=[]),r=n.context,o=n.ctx,h=n.listening;h&&h.count++,s.push({callback:i,context:r,ctx:r||o,listening:h})}return t},c=function(t,e,i,n){try{t.on(e,i,n)}catch(t){return t}};h.off=function(t,e,i){return this._events?(this._events=u(d,this._events,t,e,{context:i,listeners:this._listeners}),this):this},h.stopListening=function(t,e,n){var s=this._listeningTo;if(!s)return this;for(var r=t?[t._listenId]:i.keys(s),o=0;o<r.length;o++){var h=s[r[o]];if(!h)break;h.obj.off(e,n,this),h.interop&&h.off(e,n)}return i.isEmpty(s)&&(this._listeningTo=void 0),this};var d=function(t,e,n,s){if(t){var r,o=s.context,h=s.listeners,a=0;if(e||o||n){for(r=e?[e]:i.keys(t);a<r.length;a++){var u=t[e=r[a]];if(!u)break;for(var l=[],c=0;c<u.length;c++){var d=u[c];if(n&&n!==d.callback&&n!==d.callback._callback||o&&o!==d.context)l.push(d);else{var f=d.listening;f&&f.off(e,n)}}l.length?t[e]=l:delete t[e]}return t}for(r=i.keys(h);a<r.length;a++)h[r[a]].cleanup()}};h.once=function(t,e,i){var n=u(f,{},t,e,this.off.bind(this));return"string"==typeof t&&null==i&&(e=void 0),this.on(n,e,i)},h.listenToOnce=function(t,e,i){var n=u(f,{},e,i,this.stopListening.bind(this,t));return this.listenTo(t,n)};var f=function(t,e,n,s){if(n){var r=t[e]=i.once((function(){s(e,r),n.apply(this,arguments)}));r._callback=n}return t};h.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n<e;n++)i[n]=arguments[n+1];return u(p,this._events,t,void 0,i),this};var p=function(t,e,i,n){if(t){var s=t[e],r=t.all;s&&r&&(r=r.slice()),s&&g(s,n),r&&g(r,[e].concat(n))}return t},g=function(t,e){var i,n=-1,s=t.length,r=e[0],o=e[1],h=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o,h);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e);return}},v=function(t,e){this.id=t._listenId,this.listener=t,this.obj=e,this.interop=!0,this.count=0,this._events=void 0};v.prototype.on=h.on,v.prototype.off=function(t,e){var i;this.interop?(this._events=u(d,this._events,t,e,{context:void 0,listeners:void 0}),i=!this._events):(this.count--,i=0===this.count),i&&this.cleanup()},v.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},h.bind=h.on,h.unbind=h.off,i.extend(e,h);var m=e.Model=function(t,e){var n=t||{};e||(e={}),this.preinitialize.apply(this,arguments),this.cid=i.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{});var s=i.result(this,"defaults");n=i.defaults(i.extend({},s,n),s),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};i.extend(m.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!i.iteratee(t,this)(this.attributes)},set:function(t,e,n){if(null==t)return this;var s;if("object"==typeof t?(s=t,n=e):(s={})[t]=e,n||(n={}),!this._validate(s,n))return!1;var r=n.unset,o=n.silent,h=[],a=this._changing;this._changing=!0,a||(this._previousAttributes=i.clone(this.attributes),this.changed={});var u=this.attributes,l=this.changed,c=this._previousAttributes;for(var d in s)e=s[d],i.isEqual(u[d],e)||h.push(d),i.isEqual(c[d],e)?delete l[d]:l[d]=e,r?delete u[d]:u[d]=e;if(this.idAttribute in s){var f=this.id;this.id=this.get(this.idAttribute),this.trigger("changeId",this,f,n)}
vendor: 1,077 bytes, line 481
481if(!o){h.length&&(this._pending=n);for(var p=0;p<h.length;p++)this.trigger("change:"+h[p],this,u[h[p]],n)}if(a)return this;if(!o)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,i.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!i.isEmpty(this.changed):i.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&i.clone(this.changed);var e,n=this._changing?this._previousAttributes:this.attributes,s={};for(var r in t){var o=t[r];i.isEqual(n[r],o)||(s[r]=o,e=!0)}return!!e&&s},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=i.extend({parse:!0},t);var e=this,n=t.success;return t.success=function(i){var s=t.parse?e.parse(i,t):i;if(!e.set(s,t))return!1;
vendor: 14,996 bytes, line 481
481n&&n.call(t.context,e,i,t),e.trigger("sync",e,i,t)},G(this,t),this.sync("read",this,t)},save:function(t,e,n){var s;null==t||"object"==typeof t?(s=t,n=e):(s={})[t]=e;var r=(n=i.extend({validate:!0,parse:!0},n)).wait;if(s&&!r){if(!this.set(s,n))return!1}else if(!this._validate(s,n))return!1;var o=this,h=n.success,a=this.attributes;n.success=function(t){o.attributes=a;var e=n.parse?o.parse(t,n):t;if(r&&(e=i.extend({},s,e)),e&&!o.set(e,n))return!1;h&&h.call(n.context,o,t,n),o.trigger("sync",o,t,n)},G(this,n),s&&r&&(this.attributes=i.extend({},a,s));var u=this.isNew()?"create":n.patch?"patch":"update";"patch"!==u||n.attrs||(n.attrs=s);var l=this.sync(u,this,n);return this.attributes=a,l},destroy:function(t){t=t?i.clone(t):{};var e=this,n=t.success,s=t.wait,r=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(i){s&&r(),n&&n.call(t.context,e,i,t),e.isNew()||e.trigger("sync",e,i,t)};var o=!1;return this.isNew()?i.defer(t.success):(G(this,t),o=this.sync("delete",this,t)),s||r(),o},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||V();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return!n||(this.trigger("invalid",this,n,i.extend(e,{validationError:n})),!1)}});var _=e.Collection=function(t,e){e||(e={}),this.preinitialize.apply(this,arguments),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,i.extend({silent:!0},e))},y={add:!0,remove:!0,merge:!0},b={add:!0,remove:!1},x=function(t,e,i){i=Math.min(Math.max(i,0),t.length);var n,s=Array(t.length-i),r=e.length;for(n=0;n<s.length;n++)s[n]=t[n+i];for(n=0;n<r;n++)t[n+i]=e[n];for(n=0;n<s.length;n++)t[n+r+i]=s[n]};i.extend(_.prototype,h,{model:m,preinitialize:function(){},initialize:function(){},toJSON:function(t){return this.map((function(e){return e.toJSON(t)}))},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:!1},e,b))},remove:function(t,e){e=i.extend({},e);var n=!i.isArray(t);t=n?[t]:t.slice();var s=this._removeModels(t,e);return!e.silent&&s.length&&(e.changes={added:[],merged:[],removed:s},this.trigger("update",this,e)),n?s[0]:s},set:function(t,e){if(null!=t){(e=i.extend({},y,e)).parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);var n=!i.isArray(t);t=n?[t]:t.slice();var s=e.at;null!=s&&(s=+s),s>this.length&&(s=this.length),s<0&&(s+=this.length+1);var r,o,h=[],a=[],u=[],l=[],c={},d=e.add,f=e.merge,p=e.remove,g=!1,v=this.comparator&&null==s&&!1!==e.sort,m=i.isString(this.comparator)?this.comparator:null;for(o=0;o<t.length;o++){r=t[o];var _=this.get(r);if(_){if(f&&r!==_){var b=this._isModel(r)?r.attributes:r;e.parse&&(b=_.parse(b,e)),_.set(b,e),u.push(_),v&&!g&&(g=_.hasChanged(m))}c[_.cid]||(c[_.cid]=!0,h.push(_)),t[o]=_}else d&&(r=t[o]=this._prepareModel(r,e))&&(a.push(r),this._addReference(r,e),c[r.cid]=!0,h.push(r))}if(p){for(o=0;o<this.length;o++)c[(r=this.models[o]).cid]||l.push(r);l.length&&this._removeModels(l,e)}var w=!1,E=!v&&d&&p;if(h.length&&E?(w=this.length!==h.length||i.some(this.models,(function(t,e){return t!==h[e]})),this.models.length=0,x(this.models,h,0),this.length=this.models.length):a.length&&(v&&(g=!0),x(this.models,a,null==s?this.length:s),this.length=this.models.length),g&&this.sort({silent:!0}),!e.silent){for(o=0;o<a.length;o++)null!=s&&(e.index=s+o),(r=a[o]).trigger("add",r,this,e);(g||w)&&this.trigger("sort",this,e),(a.length||l.length||u.length)&&(e.changes={added:a,removed:l,merged:u},this.trigger("update",this,e))}return n?t[0]:t}},reset:function(t,e){e=e?i.clone(e):{};for(var n=0;n<this.models.length;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,i.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return r.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(this._isModel(t)?t.attributes:t,t.idAttribute)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var n=e.length;return i.isFunction(e)&&(e=e.bind(this)),1===n||i.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(t){var e=(t=i.extend({parse:!0},t)).success,n=this;return t.success=function(i){var s=t.reset?"reset":"set";n[s](i,t),e&&e.call(t.context,n,i,t),n.trigger("sync",n,i,t)},G(this,t),this.sync("read",this,t)},create:function(t,e){var n=(e=e?i.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;n||this.add(t,e);var s=this,r=e.success;return e.success=function(t,e,i){n&&(t.off("error",s._forwardPristineError,s),s.add(t,i)),r&&r.call(i.context,t,e,i)},n&&t.once("error",this._forwardPristineError,this),t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t,e){return t[e||this.model.prototype.idAttribute||"id"]},values:function(){return new E(this,k)},keys:function(){return new E(this,S)},entries:function(){return new E(this,I)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){return this._isModel(t)?(t.collection||(t.collection=this),t):((e=e?i.clone(e):{}).collection=this,(n=this.model.prototype?new this.model(t,e):this.model(t,e)).validationError?(this.trigger("invalid",this,n.validationError,e),!1):n);var n},_removeModels:function(t,e){for(var i=[],n=0;n<t.length;n++){var s=this.get(t[n]);if(s){var r=this.indexOf(s);this.models.splice(r,1),this.length--,delete this._byId[s.cid];var o=this.modelId(s.attributes,s.idAttribute);null!=o&&delete this._byId[o],e.silent||(e.index=r,s.trigger("remove",s,this,e)),i.push(s),this._removeReference(s,e)}}return t.length>0&&!e.silent&&delete e.index,i},_isModel:function(t){return t instanceof m},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes,t.idAttribute);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes,t.idAttribute);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if(("add"===t||"remove"===t)&&i!==this)return;if("destroy"===t&&this.remove(e,n),"changeId"===t){var s=this.modelId(e.previousAttributes(),e.idAttribute),r=this.modelId(e.attributes,e.idAttribute);null!=s&&delete this._byId[s],null!=r&&(this._byId[r]=e)}}this.trigger.apply(this,arguments)},_forwardPristineError:function(t,e,i){this.has(t)||this._onModelEvent("error",t,e,i)}});var w="function"==typeof Symbol&&Symbol.iterator;w&&(_.prototype[w]=_.prototype.values);var E=function(t,e){this._collection=t,this._kind=e,this._index=0},k=1,S=2,I=3;w&&(E.prototype[w]=function(){return this}),E.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var t,e=this._collection.at(this._index);if(this._index++,this._kind===k)t=e;else{var i=this._collection.modelId(e.attributes,e.idAttribute);t=this._kind===S?i:[i,e]}return{value:t,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var T=e.View=function(t){this.cid=i.uniqueId("view"),this.preinitialize.apply(this,arguments),i.extend(this,i.pick(t,P)),this._ensureElement(),this.initialize.apply(this,arguments)},A=/^(\S+)\s*(.*)$/,P=["model","collection","el","id","attributes","className","tagName","events"];i.extend(T.prototype,h,{tagName:"div",$:function(t){return this.$el.find(t)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=i.result(this,"events")),!t)return this;for(var e in this.undelegateEvents(),t){var n=t[e];if(i.isFunction(n)||(n=this[n]),n){var s=e.match(A);this.delegate(s[1],s[2],n.bind(this))}}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(i.result(this,"el"));else{var t=i.extend({},i.result(this,"attributes"));this.id&&(t.id=i.result(this,"id")),this.className&&(t.class=i.result(this,"className")),this.setElement(this._createElement(i.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}});var H=function(t,e,i,n){switch(e){case 1:return function(){return t[i](this[n])};case 2:return function(e){return t[i](this[n],e)};case 3:return function(e,s){return t[i](this[n],C(e,this),s)};case 4:return function(e,s,r){return t[i](this[n],C(e,this),s,r)};default:return function(){var e=r.call(arguments);return e.unshift(this[n]),t[i].apply(t,e)}}},$=function(t,e,n,s){i.each(n,(function(i,n){e[n]&&(t.prototype[n]=H(e,i,n,s))}))},C=function(t,e){return i.isFunction(t)?t:i.isObject(t)&&!e._isModel(t)?R(t):i.isString(t)?function(e){return e.get(t)}:t},R=function(t){var e=i.matches(t);return function(t){return e(t.attributes)}},M={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},N={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};i.each([[_,M,"models"],[m,N,"attributes"]],(function(t){var e=t[0],n=t[1],s=t[2];e.mixin=function(t){var n=i.reduce(i.functions(t),(function(t,e){return t[e]=0,t}),{});$(e,t,n,s)},$(e,i,n,s)})),e.sync=function(t,n,s){var r=O[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var o={type:r,dataType:"json"};if(s.url||(o.url=i.result(n,"url")||V()),null!=s.data||!n||"create"!==t&&"update"!==t&&"patch"!==t||(o.contentType="application/json",o.data=JSON.stringify(s.attrs||n.toJSON(s))),s.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{}),s.emulateHTTP&&("PUT"===r||"DELETE"===r||"PATCH"===r)){o.type="POST",s.emulateJSON&&(o.data._method=r);var h=s.beforeSend;s.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",r),h)return h.apply(this,arguments)}}"GET"===o.type||s.emulateJSON||(o.processData=!1);var a=s.error;s.error=function(t,e,i){s.textStatus=e,s.errorThrown=i,a&&a.call(s.context,t,e,i)};var u=s.xhr=e.ajax(i.extend(o,s));return n.trigger("request",n,u,s),u};var O={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var U=e.Router=function(t){t||(t={}),this.preinitialize.apply(this,arguments),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},j=/\((.*?)\)/g,z=/(\(\?)?:\w+/g,F=/\*\w+/g,J=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend(U.prototype,h,{preinitialize:function(){},initialize:function(){},route:function(t,n,s){i.isRegExp(t)||(t=this._routeToRegExp(t)),i.isFunction(n)&&(s=n,n=""),s||(s=this[n]);var r=this;return e.history.route(t,(function(i){var o=r._extractParameters(t,i);!1!==r.execute(s,o,n)&&(r.trigger.apply(r,["route:"+n].concat(o)),r.trigger("route",n,o),e.history.trigger("route",r,n,o))})),this},execute:function(t,e,i){t&&t.apply(this,e)},navigate:function(t,i){return e.history.navigate(t,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,"routes");for(var t,e=i.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(J,"\\$&").replace(j,"(?:$1)?").replace(z,(function(t,e){return e?t:"([^/?]+)"})).replace(F,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return i.map(n,(function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null}))}});var B=e.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},q=/^[#\/]|\s+$/g,L=/^\/+|\/+$/g,W=/#.*$/;B.started=!1,i.extend(B.prototype,h,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(q,"")},start:function(t){if(B.started)throw new Error("Backbone.history has already been started");if(B.started=!0,this.options=i.extend({root:"/"},this.options,t),this.root=this.options.root,this._trailingSlash=this.options.trailingSlash,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||
481!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(L,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var n=document.body,s=n.insertBefore(this.iframe,n.firstChild).contentWindow;s.document.open(),s.document.close(),s.location.hash="#"+this.fragment}var r=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?r("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?r("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),B.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!this.matchRoot()&&this.notfound();this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return this.matchRoot()?(t=this.fragment=this.getFragment(t),i.some(this.handlers,(function(e){if(e.route.test(t))return e.callback(t),!0}))||this.notfound()):this.notfound()},notfound:function(){return this.trigger("notfound"),!1},navigate:function(t,e){if(!B.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root;this._trailingSlash||""!==t&&"?"!==t.charAt(0)||(i=i.slice(0,-1)||"/");var n=i+t;t=t.replace(W,"");var s=this.decodeFragment(t);if(this.fragment!==s){if(this.fragment=s,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;e.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"");t.replace(n+"#"+e)}else t.hash="#"+e}}),e.history=new B;var D=function(t,e){var n,s=this;return n=t&&i.has(t,"constructor")?t.constructor:function(){return s.apply(this,arguments)},i.extend(n,s,e),n.prototype=i.create(s.prototype,t),n.prototype.constructor=n,n.__super__=s.prototype,n};m.extend=_.extend=U.extend=T.extend=B.extend=D;var V=function(){throw new Error('A "url" property or function must be specified')},G=function(t,e){var i=e.error;e.error=function(n){i&&i.call(e.context,t,n,e),t.trigger("error",t,n,e)}};return e._debug=function(){return{root:t,_:i}},e}(r,i,t,e)}.apply(e,n),void 0===s||(t.exports=s)}}]); 482}catch(e){WRMCB(e)}; 483; 484try { 485/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a94d4220ac', location = 'aui.chunk.a10beaedbf4773eccbc7--e253276b9472b28e4a27.js' */ 486(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2297],{8239:(i,n,u)=>{var a,o;a=[u(6973)],void 0===(o=function(i){return i.noConflict()}.apply(n,a))||(i.exports=o)}}]); 487}catch(e){WRMCB(e)}; 488; 489try { 490/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.766101891a', location = 'aui.chunk.f7deb0d52e14fa5573a8--2f7df36955cab80701b3.js' */ 491"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[3509],{4222:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(7364),u=i(8239),r=i.n(u),a=i(9392),h=r().Collection.extend({initialize:function(t,e){e||(e={}),e.matcher&&(this.matcher=e.matcher),e.model&&(this.model=e.model),this._idAttribute=(new this.model).idAttribute,this._maxResults=e.maxResults||5,this._queryD
491ata=e.queryData||{},this._queryParamKey=e.queryParamKey||"q",this._queryEndpoint=e.queryEndpoint||"",this.value=null,this.queryCache={},this.activeQueryCount=0,(0,s.bindAll)(this,"query","respond")},url:function(){return this._queryEndpoint},query:function(t){var e,i;this.value=t,i=this.getFilteredResults(t),this.respond(t,i),t&&this._queryEndpoint&&!this.hasQueryCache(t)&&this.shouldGetMoreResults(i)&&(e=this.fetch(t),this.activeQueryCount++,this.trigger("activity",{activity:!0}),e.always((()=>{this.activeQueryCount--,this.trigger("activity",{activity:!!this.activeQueryCount})})),e.done(((e,i,s)=>{this.addQueryCache(t,e,s)})),e.done((()=>{t=this.value,i=this.getFilteredResults(t),this.respond(t,i)})))},getQueryData:function(t){var e=(0,s.isFunction)(this._queryData)?this._queryData(t):this._queryData,i=(0,s.extend)({},e);return i[this._queryParamKey]=t,i},fetch:function(t){var e={add:!0,update:!0,remove:!1,data:this.getQueryData(t)};return r().Collection.prototype.fetch.call(this,e)},respond:function(t,e){return this.trigger("respond",{query:t,results:e}),e},matcher:function(t,e){},getFilteredResults:function(t){var e=[];return t?(e=this.filter((function(e){return!!this.matcher(e,t)}),this),this._maxResults&&(e=(0,s.first)(e,this._maxResults)),e):e},addQueryCache:function(t,e,i){var u=this.queryCache,r=this.parse(e,i);u[t]=(0,s.pluck)(r,this._idAttribute)},hasQueryCache:function(t){return this.queryCache.hasOwnProperty(t)},findQueryCache:function(t){return this.queryCache[t]},shouldGetMoreResults:function(t){return t.length<this._maxResults},setMaxResults:function(t){this._maxResults=t,this.value&&this.respond(this.value,this.getFilteredResults(this.value))}});(0,a.default)("ProgressiveDataSet",h);const n=h}}]); 492}catch(e){WRMCB(e)}; 493; 494try { 495/* module-key = 'com.atlassian.auiplugin:split_aui.behaviour.progressive-data-set', location = 'aui.chunk.2680833140b072fd519b--b58c425a578a61ab90a4.js' */ 496"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2444],{5432:(a,e,u)=>{u.r(e),u.d(e,{ProgressiveDataSet:()=>i.default});var i=u(4222)}},a=>{a.O(0,[2262,7624,4496,5131,5907,2297,3509],(()=>{return e=5432,a(a.s=e);var e}));a.O()}]); 497}catch(e){WRMCB(e)}; 498; 499try { 500/* module-key = 'jira.webresources:aui-core-amd-shim', location = '/static/lib/amd-shims/aui-amd.js' */ 501define("aui/dialog",(function(){return AJS.Dialog}));define("aui/dropdown",(function(){return AJS.dropDown}));define("aui/message",(function(){return AJS.messages}));define("aui/params",(function(){return AJS.params}));define("aui/progressive-data-set",(function(){return AJS.ProgressiveDataSet}));define("aui/popup",(function(){return AJS.popup}));define("aui/tabs",(function(){return AJS.tabs}));define("aui/inline-dialog",["jira/ajs/layer/layer-interactions"],(function(e){"use strict";e.preventDialogHide(AJS.InlineDialog);e.hideBeforeDialogShown(AJS.InlineDialog);return AJS.InlineDialog})); 502}catch(e){WRMCB(e)}; 503; 504try { 505/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.badge', location = 'aui.chunk.a49d301c3598e7a7fd8a--bc2f4d46674ab97092cf.js' */ 506"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4189],{567:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[1263,5366,3910,6412],(()=>{return a=567,u(u.s=a);var a}));u.O()}]); 507}catch(e){WRMCB(e)}; 508; 509try { 510/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ce4a1e45e0', location = 'aui.chunk.c7d601896878783c170e--d1a724bdc3f6e20b60cd.js' */ 511"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2190],{7935:(u,a,i)=>{i.r(a),i.d(a,{SpinnerEl:()=>e.default});var e=i(3460)}}]); 512}catch(e){WRMCB(e)}; 513; 514try { 515/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.323af25294', location = 'aui.chunk.41a8df4597ff3d748efa--13eea16ffad171d1ced3.js' */ 516"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2914],{7601:(t,i,n)=>{n.r(i);var u=n(5017),e=n(1415),s=n(6249),a=n(3460);function r(t){return t.hasAttribute("aria-busy")&&"true"===t.getAttribute("aria-busy")}function o(t){return"INPUT"===t.nodeName}(0,s.default)("aui-button",{type:s.default.type.CLASSNAME,created:function(t){t._spinner=new a.default,t._spinner.setAttribute("size",a.SIZE.SMALL.name)},prototype:{busy:function(){return o(this)||r(this)?(u.warn("It is not val
516id to call busy() on an input button."),this):(this.appendChild(this._spinner),this.setAttribute("aria-busy",!0),this.setAttribute("busy",""),this)},idle:function(){return o(this)||!r(this)?(u.warn("It is not valid to call idle() on an input button."),this):(this.removeChild(this._spinner),this.removeAttribute("aria-busy"),this.removeAttribute("busy"),this)},isBusy:function(){return o(this)?(u.warn("It is not valid to call isBusy() on an input button."),!1):r(this)}}}),(0,e.default)("aui/button")}}]); 517}catch(e){WRMCB(e)}; 518; 519try { 520/* module-key = 'com.atlassian.auiplugin:split_aui.component.button', location = 'aui.chunk.9388a8cac539490a97e4--be9719b174423672e994.js' */ 521"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4809],{8584:(u,a,i)=>{i.r(a);i(7935),i(7601)}},u=>{u.O(0,[8658,2262,4496,1263,5131,5366,2178,3910,3447,9146,1661,5828,2016,5907,1545,2965,2190,2914],(()=>{return a=8584,u(u.s=a);var a}));u.O()}]); 522}catch(e){WRMCB(e)}; 523; 524try { 525/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.lozenge', location = 'aui.chunk.e577fdaffb1ed6c8f8ff--cbb9b0b795fceb5a8252.js' */ 526"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2602],{2542:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[1263,5366,3910],(()=>{return a=2542,u(u.s=a);var a}));u.O()}]); 527}catch(e){WRMCB(e)}; 528; 529try { 530/* module-key = 'com.atlassian.auiplugin:split_aui.component.spinner', location = 'aui.chunk.af11f633b68c16dc4a18--52abc4961cccad171e1a.js' */ 531"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9992],{},u=>{u.O(0,[8658,2262,4496,1263,5131,2178,3447,1661,5907,1545,2190],(()=>{return a=7935,u(u.s=a);var a}));u.O()}]); 532}catch(e){WRMCB(e)}; 533; 534try { 535/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a092119004', location = 'aui.chunk.818edf8a69720dec1af2--91e9b0d183175459658e.js' */ 536(k=>{k.set('aui.words.close','Close');})(WRM.I18n.km); 537"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8072],{9506:(t,a,u)=>{u.r(a),u.d(a,{CLOSE_BUTTON:()=>T,CLOSE_BUTTON_CLASS:()=>s,CLOSE_BUTTON_CLASS_SELECTOR:()=>i});var e=u(7826);const s="aui-close-button",i=`.${s}`,T=`<button type="button" class="${s}" aria-label="${e.I18n.getText("aui.words.close")}">`}}]); 538}catch(e){WRMCB(e)}; 539; 540try { 541/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.08ea57a952', location = 'aui.chunk.8561101d8702cdc90b23--b197b2605d7af84cf4f2.js' */ 542(k=>{k.set('aui.messagecomponent.change.label','Change');k.set('aui.messagecomponent.confirmation.label','Confirmation');k.set('aui.messagecomponent.error.label','Error');k.set('aui.messagecomponent.info.label','Information');k.set('aui.messagecomponent.warning.label','Warning');})(WRM.I18n.km); 543"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8954],{6011:(e,s,t)=>{t.r(s),t.d(s,{MessageEl:()=>v});var a=t(6311),o=t(1005),n=t(5017),i=t(9392),c=t(9106),r=t(2390),l=t(6249),u=t(9506),d=t(7826);const f=500,g=5e3,m=100;function h(e,s,t){(0,a.default)(e||".aui-message.aui-remove-on-hide").each((function(){b((0,a.default)(this),s,t)}))}function p(e){(0,a.default)(e||"div.aui-message.closeable").each((function(){const e=(0,a.default)(this),s=e.find(u.CLOSE_BUTTON_CLASS_SELECTOR),t=s.length>0?s.first():(0,a.default)(u.CLOSE_BUTTON);var o;e.addClass("closeable"),e.append(t),(o=e).unbind("click.aui-message").unbind("keydown.aui-message"),o.on("click.aui-message",u.CLOSE_BUTTON_CLASS_SELECTOR,(function(e){(0,a.default)(e.target).closest(".aui-message").closeMessage()})).on("keydown.aui-message",u.CLOSE_BUTTON_CLASS_SELECTOR,(function(e){e.which!==r.default.ENTER&&e.which!==r.default.SPACE||((0,a.default)(e.target).closest(".aui-message").closeMessage(),e.preventDefault())}))}))}function b(e,s,t){s=void 0!==s?s:g,t=void 0!==t?t:f,(0,a.default)(e||"div.aui-message.fadeout").each((function(){const e=(0,a.default)(this);let o=!1,n=!1;function i(){e.stop(!0,!1).delay(s).fadeOut(t,(function(){e.closeMessage()}))}function c(){e.stop(!0,!1).fadeTo(m,1)}function r(){return!o&&!n}e.focusin((function(){o=!0,c()})).focusout((function(){o=!1,r()&&i()})).hover((function(){n=!0,c()}),(function(){n=!1,r()&&i()})),i()}))}const T={setup:function(){h(),p(),b()},makeRemoveOnHide:h,makeCloseable:p,makeFadeout:b,createMessage:function(e){this[e]=function(s,t){t||(t=s,s="#aui-message-bar"),t.closeable=null!==t.closeable&&!1!==t.closeable,t.title=(t.title||"").toString().trim();let o=function(e,s){const{id:t,closeable:o,removeOnHide:i,fadeout:r,title:l,body:u}=e,f=function(e,s){const{a11yTypeLabel:t}=e;if(""===t)return"";if(null!=t)return t;if(null==t)switch(s){case"error":return d.I18n.getText("aui.messagecomponent.error.label");case"warning":return d.I18n.getText("aui.messagecomponent.warning.label");case"info":return d.I18n.getText("aui.messagecomponent.info.label");case"confirmation":return d.I18n.getText("aui.messagecomponent.confirmation.label");case"change":return d.I18n.getText("aui.messagecomponent.change.label");case"generic":case"success":case"hint":return"";default:throw Error(`Provide \`a11yTypeLabel\` for AUI message of custom type ${s}`)}}(e,s),g=f?`<strong hidden>${f}: </strong>`:"",m=t?`${t}-title`:"",h=l?`<p class="title" ${m?`id="${m}" aria-hidden="true"`:""}>${g}<strong>${(0,c.default)(l)}</strong></p>`:"",p=`<div class="aui-message" role="note" ${m?`aria-labelledby="${m}"`:""}>${h}</div>`,b=(0,a.default)(p).append(a.default.parseHTML(u||"")).addClass(i?"aui-remove-on-hide":"").addClass(o?"closeable":"").addClass(r?"fadeout":"").addClass(`aui-message-${s}`);t&&(/[#'".\s]/g.test(t)?n.warn("Messages error: ID rejected, must not include spaces, hashes, dots or quotes."):b.attr("id",t));return b}(t,e);
543return function(e,s,t){"prepend"===s?e.prependTo(t):"before"===s?e.insertBefore(t):"after"===s?e.insertAfter(t):e.appendTo(t)}(o,t.insert,s),t.removeOnHide&&(console.warn&&console.warn("Use of AUI Message `removeOnHide` is deprecated due to accessibility reasons and will be removed in AUI 10.0.0."),h(o,t.delay,t.duration)),t.closeable&&p(o),t.fadeout&&(console.warn&&console.warn("Use of AUI Message `fadeout` is deprecated due to accessibility reasons and will be removed in AUI 10.0.0."),b(o,t.delay,t.duration)),o}}};a.default.fn.closeMessage=function(){const e=(0,a.default)(this);e.hasClass("aui-message")&&(e.hasClass("closeable")||e.hasClass("aui-remove-on-hide"))&&(e.stop(!0),e.trigger("messageClose",[this]),e.remove(),(0,a.default)(document).trigger("aui-message-close",[this]))},T.createMessage("generic"),T.createMessage("error"),T.createMessage("warning"),T.createMessage("info"),T.createMessage("confirmation"),T.createMessage("change"),T.createMessage("success"),T.createMessage("hint");const v=(0,l.default)("aui-message",{created:function(e){const s=e.innerHTML,t=e.getAttribute("type")||"info";e.innerHTML="",T[t](e,{body:s,id:e.getAttribute("id"),a11yTypeLabel:e.getAttribute("a11yTypeLabel"),removeOnHide:e.getAttribute("removeOnHide"),closeable:e.getAttribute("closeable"),delay:e.getAttribute("delay"),duration:e.getAttribute("duration"),fadeout:e.getAttribute("fadeout"),title:e.getAttribute("title")}),e.setAttribute("role","none")}});(0,a.default)((function(){T.setup()})),o.prop(T,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://aui.atlassian.com/latest/docs/messages.html'}),o.prop(T,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. messages.info(). Docs: https://aui.atlassian.com/latest/docs/messages.html"}),o.prop(T,"makeRemoveOnHide",{extraInfo:"Use of the `makeRemoveOnHide` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),o.prop(T,"makeFadeout",{extraInfo:"Use of the `fadeout` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),o.prop(T,"generic",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),o.prop(T,"hint",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),o.prop(T,"success",{extraInfo:"use the messages.confirmation() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),(0,i.default)("messages",T)}}]); 544}catch(e){WRMCB(e)}; 545; 546try { 547/* module-key = 'com.atlassian.auiplugin:split_aui.component.flag', location = 'aui.chunk.fff2f84171e13b510d8e--77235ba6d98e817858f4.js' */ 548(k=>{k.set('aui.flag.default-aria-label.error','New error message');k.set('aui.flag.default-aria-label.info','New information message');k.set('aui.flag.default-aria-label.success','New confirmation message');k.set('aui.flag.default-aria-label.warning','New warning message');})(WRM.I18n.km); 549"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4671],{2522:(e,t,a)=>{a.r(t),a.d(t,{flag:()=>T});a(6011);var n=a(6311),i=a(7364),l=a(9501),o=a(1415),r=a(9392),u=a(2390),d=a(5214),s=a(9106),c=a(9506);const f='a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary, [tabindex^="0"], [tabindex^="1"], [tabindex^="2"], [tabindex^="3"], [tabindex^="4"], [tabindex^="5"], [tabindex^="6"], [tabindex^="7"], [tabindex^="8"], [tabindex^="9"]';var b=a(1971),g=a(7826);const p="aui-flag-container",m={body:"",close:"manual",title:"",type:"info",duration:8e3,ariaLive:"polite"};function h(e){const t=(0,i.defaults)(e,m);t.title=(t.title||"").toString().trim();const a=function({body:e,title:t,close:a,type:i,ariaLive:l,ariaLabel:o,ariaDescription:r}){const u=`<div class="aui-message">${t?`<p class="title"><strong>${(0,s.default)(t)}</strong></p>`:""}</div>`;o||(o=function(e){switch(e){case"success":return g.I18n.getText("aui.flag.default-aria-label.success");case"warning":return g.I18n.getText("aui.flag.default-aria-label.warning");case"error":return g.I18n.getText("aui.flag.default-aria-label.error");default:return g.I18n.getText("aui.flag.default-aria-label.info")}}(i));r||(r="");const d=(0,n.default)(u).append(n.default.parseHTML(e||"")).addClass("never"===a?"":"closeable").addClass(`aui-message-${i}`),c=d.find(f).length>0,b=c?"alertdialog":"alert";return(0,n.default)('<div class="aui-flag"></div>').attr({"aria-label":(0,s.default)(o),"aria-hidden":"false","aria-live":(0,s.default)(l),role:b,...c?{"data-aui-focus-selector":f.
549split(", ").map((e=>`.aui-message ${e}`)).join(", "),"data-aui-focus":"true"}:{},...r?{"aria-description":(0,s.default)(r)}:{}}).append(d)}(t);return function(e){const t=e[0];t.close=function(){x(e)}}(a),"auto"===t.close?(v(a),"alert"===a.attr("role")&&function(e,t){e.find(".aui-message").addClass("aui-will-close"),setTimeout((function(){e[0].close()}),t)}(a,t.duration)):"manual"===t.close&&v(a),function(){const e=y();if(e){const t=e.querySelectorAll(".aui-flag:not([open])");Array.from(t).map((e=>e.parentNode.removeChild(e)))}else(0,n.default)("body").prepend('<div id="'+p+'"></div>')}(),function(e){const t=y();e.appendTo(t),(0,l.recomputeStyle)(e),e.removeAttr("hidden").attr("open","")}(a),setTimeout((function(){"alertdialog"===a.attr("role")&&b.default.global.enter(a)}),0),a.get(0)}function v(e){const t=(0,n.default)(c.CLOSE_BUTTON);return t.on("click",(function(){x(e)})),t.on("keypress",(function(t){t.which!==u.default.ENTER&&t.which!==u.default.SPACE||(x(e),t.preventDefault())})),e.find(".aui-message").append(t)[0]}function x(e){const t=e.get(0);return"alertdialog"===e.attr("role")&&b.default.global.exit(e),t.removeAttribute("open"),t.setAttribute("inert",""),t.setAttribute("aria-hidden",!0),t.style.display="none",t.dispatchEvent(new d.default("aui-flag-close",{bubbles:!0})),t}function y(){return document.getElementById(p)}(0,o.default)("aui/flag",h),(0,r.default)("flag",h);const T=h}},e=>{e.O(0,[8658,2262,4496,1263,5131,5366,2178,3910,3447,9146,1661,5828,9121,5388,2016,1646,8235,5907,2323,6534,6843,700,1700,1166,8072,8954],(()=>{return t=2522,e(e.s=t);var t}));e.O()}]); 550}catch(e){WRMCB(e)}; 551; 552try { 553/* module-key = 'com.atlassian.auiplugin:split_aui.page.design-tokens-base-themes-css', location = 'aui.chunk.aa6d667035b1b3d8c43f--b300559cf7c131c7b831.js' */ 554"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6641],{8840:(u,a,i)=>{i.r(a)}},u=>{var a;a=8840,u(u.s=a)}]); 555}catch(e){WRMCB(e)}; 556; 557try { 558/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--1d1867466a', location = 'aui.chunk.166f892b54bdf45905b8--f5f0209a0e31a4cac17f.js' */ 559(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4602],{2051:(e,r,t)=>{"use strict";var o,n,a;t.r(r),t.d(r,{fg:()=>v,getBooleanFF:()=>f,setBooleanFeatureFlagResolver:()=>p});var c=!(null!==(o=void 0!==(null===globalThis||void 0===globalThis||null===(n=globalThis.process)||void 0===n||null===(n=n.env)||void 0===n?void 0:n.JEST_WORKER_ID))&&void 0!==o&&o)&&"production"!==(null===globalThis||void 0===globalThis||null===(a=globalThis.process)||void 0===a||null===(a=a.env)||void 0===a?void 0:a.NODE_ENV),d=function(){var e;c&&(e=console).debug.apply(e,arguments)},s="@atlaskit/platform-feature-flags",l="__PLATFORM_FEATURE_FLAGS__",u="undefined"!=typeof process&&!0,i=!!u&&"true"==={NODE_ENV:"production"}.ENABLE_PLATFORM_FF||!!u&&"true"==={NODE_ENV:"production"}.STORYBOOK_ENABLE_PLATFORM_FF,b={earlyResolvedFlags:new Map,booleanResolver:function(e){return!1}},h="undefined"!=typeof window?window:globalThis;function g(e){if(i)return d('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',s,e),!0;try{var r,t=null===(r=h[l])||void 0===r?void 0:r.booleanResolver(e);return"boolean"!=typeof t?(console.warn("".concat(e," resolved to a non-boolean value, returning false for safety")),!1):t}catch(e){return!1}}function p(e){var r;r=e,h[l].booleanResolver=r}function f(e){return g(e)}function v(e){return g(e)}h[l]=h[l]||b},599:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>o});const o={"color.text":"--ds-text","color.text.accent.lime":"--ds-text-accent-lime","color.text.accent.lime.bolder":"--ds-text-accent-lime-bolder","color.text.accent.red":"--ds-text-accent-red","color.text.accent.red.bolder":"--ds-text-accent-red-bolder","color.text.accent.orange":"--ds-text-accent-orange","color.text.accent.orange.bolder":"--ds-text-accent-orange-bolder","color.text.accent.yellow":"--ds-text-accent-yellow","color.text.accent.yellow.bolder":"--ds-text-accent-yellow-bolder","color.text.accent.green":"--ds-text-accent-green","color.text.accent.green.bolder":"--ds-text-accent-green-bolder","color.text.accent.teal":"--ds-text-accent-teal","color.text.accent.teal.bolder":"--ds-text-accent-teal-bolder","color.text.accent.blue":"--ds-text-accent-blue","color.text.accent.blue.bolder":"--ds-text-accent-blue-bolder","color.text.accent.purple":"--ds-text-accent-purple","color.text.accent.purple.bolder":"--ds-text-accent-purple-bolder","color.text.accent.magenta":"--ds-text-accent-magenta","color.text.accent.magenta.bolder":"--ds-text-accent-magenta-bolder","color.text.accent.gray":"--ds-text-accent-gray","color.text.accent.gray.bolder":"--ds-text-accent-gray-bolder","color.text.disabled":"--ds-text-disabled","color.text.inverse":"--ds-text-inverse","color.text.selected":"--ds-text-selected","color.text.brand":"--ds-text-brand","color.text.danger":"--ds-text-danger","color.text.warning":"--ds-text-warning","color.text.warning.inverse":"--ds-text-warning-inverse","color.text.success":"--ds-text-success","color.text.discovery":"--ds-text-discovery","color.text.information":"--ds-text-information","color.text.subtlest":"--ds-text-subtlest","color.text.subtle":"--ds-text-subtle","color.link":"--ds-link","color.link.pressed":"--ds-link-pressed","color.link.visited":"--ds-link-visited","color.link.visited.pressed":"--ds-link-visited-pressed","color.icon":"--ds-icon","color.icon.accent.lime":"--ds-icon-accent-lime","color.icon.accent.red":"--ds-icon-accent-red","color.icon.accent.orange":"--ds-icon-accent-orange","color.icon.accent.yellow":"--ds-icon-accent-yellow","color.icon.accent.green":"--ds-icon-accent-green","color.icon.accent.teal":"--ds-icon-accent-teal","color.icon.accent.blue":"--ds-icon-accent-blue","color.icon.accent.purple":"--ds-icon-accent-purple","color.icon.accent.magenta":"--ds-icon-accent-magenta","color.icon.accent.gray":"--ds-icon-accent-gray","color.icon.disabled":"--ds-icon-disabled","color.icon.inverse":"--ds-icon-inverse","color.icon.selected":"--ds-icon-selected","color.icon.brand":"--ds-icon-brand","color.icon.danger":"--ds-icon-danger","color.icon.warning":"--ds-icon-warning","color.icon.warning.inverse":"--ds-icon-warning-inverse","color.icon.success":"--ds-icon-success","color.icon.discovery":"--ds-icon-discovery","color.icon.information":"--ds-icon-information","color.icon.subtlest":"--ds-icon-subtlest","color.icon.subtle":"--ds-icon-subtle","color.border":"--ds-border","color.border.accent.lime":"--ds-border-accent-lime","color.border.accent.red":"--ds-border-accent-red","color.border.accent.orange":"--ds-border-accent-orange","color.border.accent.yellow":"--ds-border-accent-yellow","color.border.accent.green":"--ds-border-accent-green","color.border.accent.teal":"--ds-border-accent-teal","color.border.accent.blue":"--ds-border-accent-blue","color.border.accent.purple":"--ds-border-accent-purple","color.border.accent.magenta":"--ds-border-accent-magenta","color.border.accent.gray":"--ds-border-accent-gray","color.border.disabled":"--ds-border-disabled","color.border.focused":"--ds-border-focused","color.border.input":"--ds-border-input","color.border.inverse":"--ds-border-inverse","color.border.selected":"--ds-border-selected","color.border.brand":"--ds-border-brand","color.border.danger":"--ds-border-danger","color.border.warning":"--ds-border-warning","color.border.success":"--ds-border-success","color.border.discovery":"--ds-border-discovery","color.border.information":"--ds-border-information","color.border.bold":"--ds-border-bold","color.background.accent.lime.subtlest":"--ds-background-accent-lime-subtlest","color.background.accent.lime.subtlest.hovered":"--ds-background-accent-lime-subtlest-hovered","color.background.accent.lime.subtlest.pressed":"--ds-background-accent-lime-subtlest-pressed","color.background.accent.lime.subtler":"--ds-background-accent-lime-subtler","color.background.accent.lime.subtler.hovered":"--ds-background-accent-lime-subtler-hovered","color.background.accent.lime.subtler.pressed":"--ds-background-accent-lime-subtler-pressed","color.background.accent.lime.subtle":"--ds-background-accent-lime-subtle","color.background.accent.lime.subtle.hovered":"--ds-background-accent-lime-subtle-hovered","color.background.accent.lime.subtle.pressed":"--ds-background-accent-lime-subtle-pressed","color.background.accent.lime.bolder":"--ds-background-accent-lime-bolder","color.background.accent.lime.bolder.hovered":"--ds-background-accent-lime-bolder-hovered","color.background.accent.lime.bolder.pressed":"--ds-background-accent-lime-bolder-pressed","color.background.accent.red.subtlest":"--ds-background-accent-red-subtlest","color.background.accent.red.subtlest.hovered":"--ds-background-accent-red-subtlest-hovered","color.background.accent.red.subtlest.pressed":"--ds-background-accent-red-subtlest-pressed","color.background.accent.red.subtler":"--ds-background-accent-red-subtler","color.background.accent.red.subtler.hovered":"--ds-background-accent-red-subtler-hovered","color.background.accent.red.subtler.pressed":"--ds-background-accent-red-subtler-pressed","color.background.accent.red.subtle":"--ds-background-accent-red-subtle","color.background.accent.red.subtle.hovered":"--ds-background-accent-red-subtle-hovered","color.background.accent.red.subtle.pressed":"--ds-background-accent-red-subtle-pressed","color.background.accent.red.bolder":"--ds-background-accent-red-bolder","color.background.accent.red.bolder.hovered":"--ds-background-accent-red-bolder-hovered","color.background.accent.red.bolder.pressed":"--ds-background-accent-red-bolder-pressed","color.background.accent.orange.subtlest":"--ds-background-accent-orange-subtlest","color.background.accent.orange.subtlest.hovered":"--ds-background-accent-orange-subtlest-hovered","color.background.accent.orange.subtlest.pressed":"--ds-background-accent-orange-subtlest-pressed","color.background.accent.orange.subtler":"--ds-background-accent-orange-subtler","color.background.accent.orange.subtler.hovered":"--ds-background-accent-orange-subtler-hovered","color.background.accent.orange.subtler.pressed":"--ds-background-accent-orange-subtler-pressed","color.background.accent.orange.subtle":"--ds-background-accent-orange-subtle","color.background.accent.orange.subtle.hovered":"--ds-background-accent-orange-subtle-hovered","color.background.accent.orange.subtle.pressed":"--ds-background-accent-orange-subtle-pressed","color.background.accent.orange.bolder":"--ds-background-accent-orange-bolder","color.background.accent.orange.bolder.hovered":"--ds-background-accent-orange-bolder-hovered","color.background.accent.orange.bolder.pressed":"--ds-background-accent-orange-bolder-pressed","color.background.accent.yellow.subtlest":"--ds-background-accent-yellow-subtlest","color.background.accent.yellow.subtlest.hovered":"--ds-background-accent-yellow-subtlest-hovered","color.background.accent.yellow.subtlest.pressed":"--ds-background-accent-yellow-subtlest-pressed","color.background.accent.yellow.subtler":"--ds-background-accent-yellow-subtler","color.background.accent.yellow.subtler.hovered":"--ds-background-accent-yellow-subtler-hovered","color.background.accent.yellow.subtler.pressed":"--ds-background-accent-yellow-subtler-pressed","color.background.accent.yellow.subtle":"--ds-background-accent-yellow-subtle","color.background.accent.yellow.subtle.hovered":"--ds-background-accent-yellow-subtle-hovered","color.background.accent.yellow.subtle.pressed":"--ds-background-accent-yellow-subtle-pressed","color.background.accent.yellow.bolder":"--ds-background-accent-yellow-bolder","color.background.accent.yellow.bolder.hovered":"--ds-background-accent-yellow-bolder-hovered","color.background.accent.yellow.bolder.pressed":"--ds-background-accent-yellow-bolder-pressed","color.background.accent.green.subtlest":"--ds-background-accent-green-subtlest","color.background.accent.green.subtlest.hovered":"--ds-background-accent-green-subtlest-hovered","color.background.accent.green.subtlest.pressed":"--ds-background-accent-green-subtlest-pressed","color.background.accent.green.subtler":"--ds-background-accent-green-subtler","color.background.accent.green.subtler.hovered":"--ds-background-accent-green-subtler-hovered","color.background.accent.green.subtler.pressed":"--ds-background-accent-green-subtler-pressed","color.background.accent.green.subtle":"--ds-background-accent-green-subtle","color.background.accent.green.subtle.hovered":"--ds-background-accent-green-subtle-hovered","color.background.accent.green.subtle.pressed":"--ds-background-accent-green-subtle-pressed","color.background.accent.green.bolder":"--ds-background-accent-green-bolder","color.background.accent.green.bolder.hovered":"--ds-background-accent-green-bolder-hovered","color.background.accent.green.bolder.pressed":"--ds-background-accent-green-bolder-pressed","color.background.accent.teal.subtlest":"--ds-background-accent-teal-subtlest","color.background.accent.teal.subtlest.hovered":"--ds-background-accent-teal-subtlest-hovered","color.background.accent.teal.subtlest.pressed":"--ds-background-accent-teal-subtlest-pressed","color.background.accent.teal.subtler":"--ds-background-accent-teal-subtler","color.background.accent.teal.subtler.hovered":"--ds-background-accent-teal-subtler-hovered","color.background.accent.teal.subtler.pressed":"--ds-background-accent-teal-subtler-pressed","color.background.accent.teal.subtle":"--ds-background-accent-teal-subtle","color.background.accent.teal.subtle.hovered":"--ds-background-accent-teal-subtle-hovered","color.background.accent.teal.subtle.pressed":"--ds-background-accent-teal-subtle-pressed","color.background.accent.teal.bolder":"--ds-background-accent-teal-bolder","color.background.accent.teal.bolder.hovered":"--ds-background-accent-teal-bolder-hovered","color.background.accent.teal.bolder.pressed":"--ds-background-accent-teal-bolder-pressed","color.background.accent.blue.subtlest":"--ds-background-accent-blue-subtlest","color.background.accent.blue.subtlest.hovered":"--ds-background-accent-blue-subtlest-hovered","color.background.accent.blue.subtlest.pressed":"--ds-background-accent-blue-subtlest-pressed","color.background.accent.blue.subtler":"--ds-background-accent-blue-subtler","color.background.accent.blue.subtler.hovered":"--ds-background-accent-blue-subtler-hovered","color.background.accent.blue.subtler.pressed":"--ds-background-accent-blue-subtler-pressed","color.background.accent.blue.subtle":"--ds-background-accent-blue-subtle","color.background.accent.blue.subtle.hovered":"--ds-background-accent-blue-subtle-hovered","color.background.accent.blue.subtle.pressed":"--ds-background-accent-blue-subtle-pressed","color.background.accent.blue.bolder":"--ds-background-accent-blue-bolder","color.background.accent.blue.bolder.hovered":"--ds-background-accent-blue-bolder-hovered","color.background.accent.blue.bolder.pressed":"--ds-background-accent-blue-bolder-pressed","color.background.accent.purple.subtlest":"--ds-background-accent-purple-subtlest","color.background.accent.purple.subtlest.hovered":"--ds-background-accent-purple-subtlest-hovered","color.background.accent.purple.subtlest.pressed":"--ds-background-accent-purple-subtlest-pressed","color.background.accent.purple.subtler":"--ds-background-accent-purple-subtler","color.background.accent.purple.subtler.hovered":"--ds-background-accent-purple-subtler-hovered","color.background.accent.purple.subtler.pressed":"--ds-background-accent-purple-subtler-pressed","color.background.accent.purple.subtle":"--ds-background-accent-purple-subtle","color.background.accent.purple.subtle.hovered":"--ds-background-accent-purple-subtle-hovered","color.background.accent.purple.subtle.pressed":"--ds-background-accent-purple-subtle-pressed","color.background.accent.purple.bolder":"--ds-background-accent-purple-bolder","color.background.accent.purple.bolder.hovered":"--ds-background-accent-purple-bolder-hovered","color.background.accent.purple.bolder.pressed":"--ds-background-accent-purple-bolder-pressed","color.background.accent.magenta.subtlest":"--ds-background-accent-magenta-subtlest","color.background.accent.magenta.subtlest.hovered":"--ds-background-accent-magenta-subtlest-hovered","color.background.accent.magenta.subtlest.pressed":"--ds
559-background-accent-magenta-subtlest-pressed","color.background.accent.magenta.subtler":"--ds-background-accent-magenta-subtler","color.background.accent.magenta.subtler.hovered":"--ds-background-accent-magenta-subtler-hovered","color.background.accent.magenta.subtler.pressed":"--ds-background-accent-magenta-subtler-pressed","color.background.accent.magenta.subtle":"--ds-background-accent-magenta-subtle","color.background.accent.magenta.subtle.hovered":"--ds-background-accent-magenta-subtle-hovered","color.background.accent.magenta.subtle.pressed":"--ds-background-accent-magenta-subtle-pressed","color.background.accent.magenta.bolder":"--ds-background-accent-magenta-bolder","color.background.accent.magenta.bolder.hovered":"--ds-background-accent-magenta-bolder-hovered","color.background.accent.magenta.bolder.pressed":"--ds-background-accent-magenta-bolder-pressed","color.background.accent.gray.subtlest":"--ds-background-accent-gray-subtlest","color.background.accent.gray.subtlest.hovered":"--ds-background-accent-gray-subtlest-hovered","color.background.accent.gray.subtlest.pressed":"--ds-background-accent-gray-subtlest-pressed","color.background.accent.gray.subtler":"--ds-background-accent-gray-subtler","color.background.accent.gray.subtler.hovered":"--ds-background-accent-gray-subtler-hovered","color.background.accent.gray.subtler.pressed":"--ds-background-accent-gray-subtler-pressed","color.background.accent.gray.subtle":"--ds-background-accent-gray-subtle","color.background.accent.gray.subtle.hovered":"--ds-background-accent-gray-subtle-hovered","color.background.accent.gray.subtle.pressed":"--ds-background-accent-gray-subtle-pressed","color.background.accent.gray.bolder":"--ds-background-accent-gray-bolder","color.background.accent.gray.bolder.hovered":"--ds-background-accent-gray-bolder-hovered","color.background.accent.gray.bolder.pressed":"--ds-background-accent-gray-bolder-pressed","color.background.disabled":"--ds-background-disabled","color.background.input":"--ds-background-input","color.background.input.hovered":"--ds-background-input-hovered","color.background.input.pressed":"--ds-background-input-pressed","color.background.inverse.subtle":"--ds-background-inverse-subtle","color.background.inverse.subtle.hovered":"--ds-background-inverse-subtle-hovered","color.background.inverse.subtle.pressed":"--ds-background-inverse-subtle-pressed","color.background.neutral":"--ds-background-neutral","color.background.neutral.hovered":"--ds-background-neutral-hovered","color.background.neutral.pressed":"--ds-background-neutral-pressed","color.background.neutral.subtle":"--ds-background-neutral-subtle","color.background.neutral.subtle.hovered":"--ds-background-neutral-subtle-hovered","color.background.neutral.subtle.pressed":"--ds-background-neutral-subtle-pressed","color.background.neutral.bold":"--ds-background-neutral-bold","color.background.neutral.bold.hovered":"--ds-background-neutral-bold-hovered","color.background.neutral.bold.pressed":"--ds-background-neutral-bold-pressed","color.background.selected":"--ds-background-selected","color.background.selected.hovered":"--ds-background-selected-hovered","color.background.selected.pressed":"--ds-background-selected-pressed","color.background.selected.bold":"--ds-background-selected-bold","color.background.selected.bold.hovered":"--ds-background-selected-bold-hovered","color.background.selected.bold.pressed":"--ds-background-selected-bold-pressed","color.background.brand.subtlest":"--ds-background-brand-subtlest","color.background.brand.subtlest.hovered":"--ds-background-brand-subtlest-hovered","color.background.brand.subtlest.pressed":"--ds-background-brand-subtlest-pressed","color.background.brand.bold":"--ds-background-brand-bold","color.background.brand.bold.hovered":"--ds-background-brand-bold-hovered","color.background.brand.bold.pressed":"--ds-background-brand-bold-pressed","color.background.brand.boldest":"--ds-background-brand-boldest","color.background.brand.boldest.hovered":"--ds-background-brand-boldest-hovered","color.background.brand.boldest.pressed":"--ds-background-brand-boldest-pressed","color.background.danger":"--ds-background-danger","color.background.danger.hovered":"--ds-background-danger-hovered","color.background.danger.pressed":"--ds-background-danger-pressed","color.background.danger.bold":"--ds-background-danger-bold","color.background.danger.bold.hovered":"--ds-background-danger-bold-hovered","color.background.danger.bold.pressed":"--ds-background-danger-bold-pressed","color.background.warning":"--ds-background-warning","color.background.warning.hovered":"--ds-background-warning-hovered","color.background.warning.pressed":"--ds-background-warning-pressed","color.background.warning.bold":"--ds-background-warning-bold","color.background.warning.bold.hovered":"--ds-background-warning-bold-hovered","color.background.warning.bold.pressed":"--ds-background-warning-bold-pressed","color.background.success":"--ds-background-success","color.background.success.hovered":"--ds-background-success-hovered","color.background.success.pressed":"--ds-background-success-pressed","color.background.success.bold":"--ds-background-success-bold","color.background.success.bold.hovered":"--ds-background-success-bold-hovered","color.background.success.bold.pressed":"--ds-background-success-bold-pressed","color.background.discovery":"--ds-background-discovery","color.background.discovery.hovered":"--ds-background-discovery-hovered","color.background.discovery.pressed":"--ds-background-discovery-pressed","color.background.discovery.bold":"--ds-background-discovery-bold","color.background.discovery.bold.hovered":"--ds-background-discovery-bold-hovered","color.background.discovery.bold.pressed":"--ds-background-discovery-bold-pressed","color.background.information":"--ds-background-information","color.background.information.hovered":"--ds-background-information-hovered","color.background.information.pressed":"--ds-background-information-pressed","color.background.information.bold":"--ds-background-information-bold","color.background.information.bold.hovered":"--ds-background-information-bold-hovered","color.background.information.bold.pressed":"--ds-background-information-bold-pressed","color.blanket":"--ds-blanket","color.blanket.selected":"--ds-blanket-selected","color.blanket.danger":"--ds-blanket-danger","color.interaction.hovered":"--ds-interaction-hovered","color.interaction.pressed":"--ds-interaction-pressed","color.skeleton":"--ds-skeleton","color.skeleton.subtle":"--ds-skeleton-subtle","color.chart.categorical.1":"--ds-chart-categorical-1","color.chart.categorical.1.hovered":"--ds-chart-categorical-1-hovered","color.chart.categorical.2":"--ds-chart-categorical-2","color.chart.categorical.2.hovered":"--ds-chart-categorical-2-hovered","color.chart.categorical.3":"--ds-chart-categorical-3","color.chart.categorical.3.hovered":"--ds-chart-categorical-3-hovered","color.chart.categorical.4":"--ds-chart-categorical-4","color.chart.categorical.4.hovered":"--ds-chart-categorical-4-hovered","color.chart.categorical.5":"--ds-chart-categorical-5","color.chart.categorical.5.hovered":"--ds-chart-categorical-5-hovered","color.chart.categorical.6":"--ds-chart-categorical-6","color.chart.categorical.6.hovered":"--ds-chart-categorical-6-hovered","color.chart.categorical.7":"--ds-chart-categorical-7","color.chart.categorical.7.hovered":"--ds-chart-categorical-7-hovered","color.chart.categorical.8":"--ds-chart-categorical-8","color.chart.categorical.8.hovered":"--ds-chart-categorical-8-hovered","color.chart.lime.bold":"--ds-chart-lime-bold","color.chart.lime.bold.hovered":"--ds-chart-lime-bold-hovered","color.chart.lime.bolder":"--ds-chart-lime-bolder","color.chart.lime.bolder.hovered":"--ds-chart-lime-bolder-hovered","color.chart.lime.boldest":"--ds-chart-lime-boldest","color.chart.lime.boldest.hovered":"--ds-chart-lime-boldest-hovered","color.chart.neutral":"--ds-chart-neutral","color.chart.neutral.hovered":"--ds-chart-neutral-hovered","color.chart.red.bold":"--ds-chart-red-bold","color.chart.red.bold.hovered":"--ds-chart-red-bold-hovered","color.chart.red.bolder":"--ds-chart-red-bolder","color.chart.red.bolder.hovered":"--ds-chart-red-bolder-hovered","color.chart.red.bolde
559st":"--ds-chart-red-boldest","color.chart.red.boldest.hovered":"--ds-chart-red-boldest-hovered","color.chart.orange.bold":"--ds-chart-orange-bold","color.chart.orange.bold.hovered":"--ds-chart-orange-bold-hovered","color.chart.orange.bolder":"--ds-chart-orange-bolder","color.chart.orange.bolder.hovered":"--ds-chart-orange-bolder-hovered","color.chart.orange.boldest":"--ds-chart-orange-boldest","color.chart.orange.boldest.hovered":"--ds-chart-orange-boldest-hovered","color.chart.yellow.bold":"--ds-chart-yellow-bold","color.chart.yellow.bold.hovered":"--ds-chart-yellow-bold-hovered","color.chart.yellow.bolder":"--ds-chart-yellow-bolder","color.chart.yellow.bolder.hovered":"--ds-chart-yellow-bolder-hovered","color.chart.yellow.boldest":"--ds-chart-yellow-boldest","color.chart.yellow.boldest.hovered":"--ds-chart-yellow-boldest-hovered","color.chart.green.bold":"--ds-chart-green-bold","color.chart.green.bold.hovered":"--ds-chart-green-bold-hovered","color.chart.green.bolder":"--ds-chart-green-bolder","color.chart.green.bolder.hovered":"--ds-chart-green-bolder-hovered","color.chart.green.boldest":"--ds-chart-green-boldest","color.chart.green.boldest.hovered":"--ds-chart-green-boldest-hovered","color.chart.teal.bold":"--ds-chart-teal-bold","color.chart.teal.bold.hovered":"--ds-chart-teal-bold-hovered","color.chart.teal.bolder":"--ds-chart-teal-bolder","color.chart.teal.bolder.hovered":"--ds-chart-teal-bolder-hovered","color.chart.teal.boldest":"--ds-chart-teal-boldest","color.chart.teal.boldest.hovered":"--ds-chart-teal-boldest-hovered","color.chart.blue.bold":"--ds-chart-blue-bold","color.chart.blue.bold.hovered":"--ds-chart-blue-bold-hovered","color.chart.blue.bolder":"--ds-chart-blue-bolder","color.chart.blue.bolder.hovered":"--ds-chart-blue-bolder-hovered","color.chart.blue.boldest":"--ds-chart-blue-boldest","color.chart.blue.boldest.hovered":"--ds-chart-blue-boldest-hovered","color.chart.purple.bold":"--ds-chart-purple-bold","color.chart.purple.bold.hovered":"--ds-chart-purple-bold-hovered","color.chart.purple.bolder":"--ds-chart-purple-bolder","color.chart.purple.bolder.hovered":"--ds-chart-purple-bolder-hovered","color.chart.purple.boldest":"--ds-chart-purple-boldest","color.chart.purple.boldest.hovered":"--ds-chart-purple-boldest-hovered","color.chart.magenta.bold":"--ds-chart-magenta-bold","color.chart.magenta.bold.hovered":"--ds-chart-magenta-bold-hovered","color.chart.magenta.bolder":"--ds-chart-magenta-bolder","color.chart.magenta.bolder.hovered":"--ds-chart-magenta-bolder-hovered","color.chart.magenta.boldest":"--ds-chart-magenta-boldest","color.chart.magenta.boldest.hovered":"--ds-chart-magenta-boldest-hovered","color.chart.gray.bold":"--ds-chart-gray-bold","color.chart.gray.bold.hovered":"--ds-chart-gray-bold-hovered","color.chart.gray.bolder":"--ds-chart-gray-bolder","color.chart.gray.bolder.hovered":"--ds-chart-gray-bolder-hovered","color.chart.gray.boldest":"--ds-chart-gray-boldest","color.chart.gray.boldest.hovered":"--ds-chart-gray-boldest-hovered","color.chart.brand":"--ds-chart-brand","color.chart.brand.hovered":"--ds-chart-brand-hovered","color.chart.danger":"--ds-chart-danger","color.chart.danger.hovered":"--ds-chart-danger-hovered","color.chart.danger.bold":"--ds-chart-danger-bold","color.chart.danger.bold.hovered":"--ds-chart-danger-bold-hovered","color.chart.warning":"--ds-chart-warning","color.chart.warning.hovered":"--ds-chart-warning-hovered","color.chart.warning.bold":"--ds-chart-warning-bold","color.chart.warning.bold.hovered":"--ds-chart-warning-bold-hovered","color.chart.success":"--ds-chart-success","color.chart.success.hovered":"--ds-chart-success-hovered","color.chart.success.bold":"--ds-chart-success-bold","color.chart.success.bold.hovered":"--ds-chart-success-bold-hovered","color.chart.discovery":"--ds-chart-discovery","color.chart.discovery.hovered":"--ds-chart-discovery-hovered","color.chart.discovery.bold":"--ds-chart-discovery-bold","color.chart.discovery.bold.hovered":"--ds-chart-discovery-bold-hovered","color.chart.information":"--ds-chart-information","color.chart.information.hovered":"--ds-chart-information-hovered","color.chart.information.bold":"--ds-chart-information-bold","color.chart.information.bold.hovered":"--ds-chart-information-bold-hovered","elevation.surface":"--ds-surface","elevation.surface.hovered":"--ds-surface-hovered","elevation.surface.pressed":"--ds-surface-pressed","elevation.surface.overlay":"--ds-surface-overlay","elevation.surface.overlay.hovered":"--ds-surface-overlay-hovered","elevation.surface.overlay.pressed":"--ds-surface-overlay-pressed","elevation.surface.raised":"--ds-surface-raised","elevation.surface.raised.hovered":"--ds-surface-raised-hovered","elevation.surface.raised.pressed":"--ds-surface-raised-pressed","elevation.surface.sunken":"--ds-surface-sunken","elevation.shadow.overflow":"--ds-s
559hadow-overflow","elevation.shadow.overflow.perimeter":"--ds-shadow-overflow-perimeter","elevation.shadow.overflow.spread":"--ds-shadow-overflow-spread","elevation.shadow.overlay":"--ds-shadow-overlay","elevation.shadow.raised":"--ds-shadow-raised","opacity.disabled":"--ds-opacity-disabled","opacity.loading":"--ds-opacity-loading","utility.UNSAFE.textTransformUppercase":"--ds-UNSAFE-textTransformUppercase","utility.UNSAFE.transparent":"--ds-UNSAFE-transparent","utility.elevation.surface.current":"--ds-elevation-surface-current","border.radius.050":"--ds-border-radius-050","border.radius":"--ds-border-radius","border.radius.100":"--ds-border-radius-100","border.radius.200":"--ds-border-radius-200","border.radius.300":"--ds-border-radius-300","border.radius.400":"--ds-border-radius-400","border.radius.circle":"--ds-border-radius-circle","border.width":"--ds-border-width","border.width.0":"--ds-border-width-0","border.width.indicator":"--ds-border-width-indicator","border.width.outline":"--ds-border-width-outline","space.0":"--ds-space-0","space.025":"--ds-space-025","space.050":"--ds-space-050","space.075":"--ds-space-075","space.100":"--ds-space-100","space.150":"--ds-space-150","space.200":"--ds-space-200","space.250":"--ds-space-250","space.300":"--ds-space-300","space.400":"--ds-space-400","space.500":"--ds-space-500","space.600":"--ds-space-600","space.800":"--ds-space-800","space.1000":"--ds-space-1000","space.negative.025":"--ds-space-negative-025","space.negative.050":"--ds-space-negative-050","space.negative.075":"--ds-space-negative-075","space.negative.100":"--ds-space-negative-100","space.negative.150":"--ds-space-negative-150","space.negative.200":"--ds-space-negative-200","space.negative.250":"--ds-space-negative-250","space.negative.300":"--ds-space-negative-300","space.negative.400":"--ds-space-negative-400","font.letterSpacing.0":"--ds-font-letterSpacing-0","font.letterSpacing.100":"--ds-font-letterSpacing-100","font.letterSpacing.200":"--ds-font-letterSpacing-200","font.letterSpacing.300":"--ds-font-letterSpacing-300","font.letterSpacing.400":"--ds-font-letterSpacing-400","font.heading.xxlarge":"--ds-font-heading-xxlarge","font.heading.xlarge":"--ds-font-heading-xlarge","font.heading.large":"--ds-font-heading-large","font.heading.medium":"--ds-font-heading-medium","font.heading.small":"--ds-font-heading-small","font.heading.xsmall":"--ds-font-heading-xsmall","font.heading.xxsmall":"--ds-font-heading-xxsmall","font.body.large":"--ds-font-body-large","font.body":"--ds-font-body","font.body.small":"--ds-font-body-small","font.body.UNSAFE_small":"--ds-font-body-UNSAFE_small","font.code":"--ds-font-code","font.weight.regular":"--ds-font-weight-regular","font.weight.medium":"--ds-font-weight-medium","font.weight.semibold":"--ds-font-weight-semibold","font.weight.bold":"--ds-font-weight-bold","font.family.heading":"--ds-font-family-heading","font.family.body":"--ds-font-family-body","font.family.code":"--ds-font-family-code","font.family.monospace":"--ds-font-family-monospace","font.family.sans":"--ds-font-family-sans","font.family.brand.heading":"--ds-font-family-brand-heading","font.family.brand.body":"--ds-font-family-brand-body","font.size.050":"--ds-font-size-050","font.size.075":"--ds-font-size-075","font.size.100":"--ds-font-size-100","font.size.200":"--ds-font-size-200","font.size.300":"--ds-font-size-300","font.size.400":"--ds-font-size-400","font.size.500":"--ds-font-size-500","font.size.600":"--ds-font-size-600","font.lineHeight.1":"--ds-font-lineHeight-1","font.lineHeight.100":"--ds-font-lineHeight-100","font.lineHeight.200":"--ds-font-lineHeight-200","font.lineHeight.300":"--ds-font-lineHeight-300","font.lineHeight.400":"--ds-font-lineHeight-400","font.lineHeight.500":"--ds-font-lineHeight-500","font.lineHeight.600":"--ds-font-lineHeight-600"}},4741:(e,r,t)=>{"use strict";t.r(r),t.d(r,{COLOR_MODE_ATTRIBUTE:()=>n,CONTRAST_MODE_ATTRIBUTE:()=>a,CSS_PREFIX:()=>s,CSS_VAR_FULL:()=>l,CURRENT_SURFACE_CSS_VAR:()=>i,CUSTOM_THEME_ATTRIBUTE:()=>c,DEFAULT_THEME:()=>d,THEME_DATA_ATTRIBUTE:()=>o,TOKEN_NOT_FOUND_CSS_VAR:()=>u});var o="data-theme",n="data-color-mode",a="data-contrast-mode",c="data-custom-theme",d="light",s="ds",l=["opacity","font","space","border"],u="--".concat(s,"-token-not-found"),i="--".concat(s,"-elevation-surface-current")},7313:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>b});var o=t(6111),n=t(2051),a=t(4741),c=t(8244),d=t(4475),s=t(7569),l=t(7848);function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
559r%2?u(Object(t),!0).forEach((function(r){(0,o.default)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const b=function(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.colorMode,u=void 0===t?c.themeStateDefaults.colorMode:t,b=r.dark,h=void 0===b?c.themeStateDefaults.dark:b,g=r.light,p=void 0===g?c.themeStateDefaults.light:g,f=r.contrastMode,v=void 0===f?c.themeStateDefaults.contrastMode:f,m=r.shape,y=void 0===m?c.themeStateDefaults.shape:m,k=r.spacing,w=void 0===k?c.themeStateDefaults.spacing:k,T=r.typography,x=void 0===T?c.themeStateDefaults.typography:T,S=r.UNSAFE_themeOptions,E=void 0===S?c.themeStateDefaults.UNSAFE_themeOptions:S,O=(0,d.themeObjectToString)({dark:h,light:p,shape:y,spacing:w,typography:x}),M=(e={},(0,o.default)(e,a.THEME_DATA_ATTRIBUTE,O),(0,o.default)(e,a.COLOR_MODE_ATTRIBUTE,"auto"===u?"light":u),e);if((0,n.getBooleanFF)("platform.design-system-team.increased-contrast-themes")&&(M=i(i({},M),{},(0,o.default)({},a.CONTRAST_MODE_ATTRIBUTE,"auto"===v?"no-preference":v))),E&&(0,s.isValidBrandHex)(E.brandColor)){var _=JSON.stringify(E),A=(0,l.hash)(_);M[a.CUSTOM_THEME_ATTRIBUTE]=A}return M}},4160:(e,r,t)=>{"use strict";t.r(r),t.d(r,{CURRENT_SURFACE_CSS_VAR:()=>a.CURRENT_SURFACE_CSS_VAR,ThemeMutationObserver:()=>D,enableGlobalTheme:()=>i,getGlobalTheme:()=>C,getSSRAutoScript:()=>w,getThemeHtmlAttrs:()=>k.default,getThemeStyles:()=>y,getTokenValue:()=>d,setGlobalTheme:()=>s.default,themeConfig:()=>o.default,themeObjectToString:()=>M.themeObjectToString,themeStringToObject:()=>M.themeStringToObject,token:()=>c,useThemeObserver:()=>x()});var o=t(8244),n=t(599),a=t(4741);const c=function(e,r){var t=n.default[e];return t||(t=a.TOKEN_NOT_FOUND_CSS_VAR),r?"var(".concat(t,", ").concat(r,")"):"var(".concat(t,")")};const d=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=n.default[e],o=r;return"undefined"==typeof window?o:o=(o=window.getComputedStyle(document.documentElement).getPropertyValue(t).trim())||r};var s=t(8389),l=t(537),u=t(9538);const i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.colorMode,t=void 0===r?o.themeStateDefaults.colorMode:r,n=e.contrastMode,a=void 0===n?o.themeStateDefaults.contrastMode:n,c=e.dark,d=void 0===c?o.themeStateDefaults.dark:c,s=e.light,i=void 0===s?o.themeStateDefaults.light:s,b=e.shape,h=void 0===b?o.themeStateDefaults.shape:b,g=e.spacing,p=void 0===g?o.themeStateDefaults.spacing:g,f=e.typography,v=void 0===f?o.themeStateDefaults.typography:f,m=e.UNSAFE_themeOptions,y=void 0===m?o.themeStateDefaults.UNSAFE_themeOptions:m,k=arguments.length>1?arguments[1]:void 0,w={colorMode:t,contrastMode:a,dark:d,light:i,shape:h,spacing:p,typography:v,UNSAFE_themeOptions:k?void 0:y},T=(0,u.getThemePreferences)(w);return k&&T.map((function(e){return k(e)})),(0,l.default)(w)};var b=t(8134),h=t(7431),g=t(6192),p=t.n(g),f=t(2051),v=t(7569),m=t(7694);const y=function(){var e=(0,h.default)(p().mark((function e(r){var t,n,a,c;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],"all"===r?(t=o.themeIdsWithOverrides,(0,f.fg)("platform.design-system-team.increased-contrast-themes")||(t=t.filter((function(e){return"light-increased-contrast"!==e&&"dark-increased-contrast"!==e}))),t=t.filter((function(e){return"light-brand-refresh"!==e&&"dark-brand-refresh"!==e}))):(a={colorMode:(null==r?void 0:r.colorMode)||o.themeStateDefaults.colorMode,contrastMode:(null==r?void 0:r.contrastMode)||o.themeStateDefaults.contrastMode,dark:(null==r?void 0:r.dark)||o.themeStateDefaults.dark,light:(null==r?void 0:r.light)||o.themeStateDefaults.light,shape:(null==r?void 0:r.shape)||o.themeStateDefaults.shape,spacing:(null==r?void 0:r.spacing)||o.themeStateDefaults.spacing,typography:(null==r?void 0:r.typography)||o.themeStateDefaults.typography},t=(0,u.getThemePreferences)(a),n=(0,u.getThemeOverridePreferences)(a)),e.next=4,Promise.all([].concat((0,b.default)([].concat((0,b.default)(t),(0,b.default)(n)).map(function(){var e=(0,h.default)(p().mark((function e(r){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,m.loadThemeCss)(r);case 3:return t=e.sent,e.abrupt("return",{id:r,attrs:{"data-theme":r},css:t});case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",void 0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(r){return e.apply(this,arguments)}}())),[(0,h.default)(p().mark((function e(){var t,n,a,c;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("all"===r||null==r||!r.UNSAFE_themeOptions||!(0,v.isValidBrandHex)(null==r||null===(t=r.UNSAFE_themeOptions)||void 0===t?void 0:t.brandColor)){e.next=15;break}return e.prev=1,e.next=4,Promise.resolve().then((function(){var e=new Error("Cannot find module './custom-theme'");throw e.code="MODULE_NOT_FOUND",e}));case 4:return n=e.sent,a=n.getCustomThemeStyles,e.next=8,a({colorMode:(null==r?void 0:r.colorMode)||o.themeStateDefaults.colorMode,UNSAFE_themeOptions:null==r?void 0:r.UNSAFE_themeOptions});case 8:return c=e.sent,e.abrupt("return",c);case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",void 0);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))()]));case 4:return c=e.sent,e.abrupt("return",c.flat().filter((function(e){return void 0!==e})));case 6:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}();var k=t(7313);const w=function(e,r){if("auto"===e||"auto"===r){var t="auto"===e?"\n try {\n const darkModeMql = window.matchMedia('".concat(m.darkModeMediaQuery,"');\n const colorMode = darkModeMql.matches ? 'dark' : 'light';\n document.documentElement.setAttribute('").concat(a.COLOR_MODE_ATTRIBUTE,"', colorMode);\n } catch (e) {}"):"",o=(0,f.getBooleanFF)("platform.design-system-team.increased-contrast-themes")&&"auto"===r?"\n try {\n const contrastModeMql = window.matchMedia('".concat(m.moreContrastMediaQuery,"');\n const contrastMode = contrastModeMql.matches ? 'more' : 'no-preference';\n document.documentElement.setAttribute('").concat(a.CONTRAST_MODE_ATTRIBUTE,"', contrastMode);\n } catch (e) {}"):"";return"(() => {".concat(t).concat(o,"})()")}};var T=t(6039),x=t.n(T),S=t(2561),E=t(7001),O=t(6111),M=t(4475);function _(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function A(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
559r%2?_(Object(t),!0).forEach((function(r){(0,O.default)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const C=function(){if("undefined"==typeof document)return{};var e=document.documentElement,r=e.getAttribute(a.COLOR_MODE_ATTRIBUTE)||"",t=e.getAttribute(a.THEME_DATA_ATTRIBUTE)||"";return A(A({},(0,M.themeStringToObject)(t)),function(e){return void 0!==o.themeColorModes.find((function(r){return r===e}))}(r)&&{colorMode:r})};var D=function(){function e(r){(0,S.default)(this,e),(0,O.default)(this,"legacyObserver",null),this.callback=r,e.callbacks.add(r)}return(0,E.default)(e,[{key:"observe",value:function(){e.observer||(e.observer=new MutationObserver((function(){var r=C();e.callbacks.forEach((function(e){return e(r)}))})),e.observer.observe(document.documentElement,{attributeFilter:[a.THEME_DATA_ATTRIBUTE,a.COLOR_MODE_ATTRIBUTE]}))}},{key:"disconnect",value:function(){this.callback&&e.callbacks.delete(this.callback),0===e.callbacks.size&&e.observer&&(e.observer.disconnect(),e.observer=null)}}]),e}();(0,O.default)(D,"observer",null),(0,O.default)(D,"callbacks",new Set)},8389:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>v});var o=t(7431),n=t(6192),a=t.n(n),c=t(2051),d=t(8244),s=t(7569),l=t(537),u=(t(2492),t(8134),t(599),t(4741)),i=t(7848);function b(e,r){var t=JSON.stringify(e),o=(0,i.hash)(t),n=[];return("auto"===r?["light","dark"]:[r]).forEach((function(e){var r=document.head.querySelector("style[".concat(u.CUSTOM_THEME_ATTRIBUTE,'="').concat(o,'"][').concat(u.THEME_DATA_ATTRIBUTE,'="').concat(e,'"]'));r?document.head.appendChild(r):n.push(e)})),n}var h=t(9538),g=t(7694);function p(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(!e)return;if("string"==typeof e)return f(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return f(e,r)}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,d=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){d=!0,a=e},f:function(){try{c||null==t.return||t.return()}finally{if(d)throw a}}}}function f(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}const v=function(){var e=(0,o.default)(a().mark((function e(){var r,t,n,u,i,f,v,m,y,k,w,T,x,S,E,O,M,_,A,C,D,N,j,F,R,L,P,U,I,H=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=(r=H.length>0&&void 0!==H[0]?H[0]:{}).colorMode,n=void 0===t?d.themeStateDefaults.colorMode:t,u=r.contrastMode,i=void 0===u?d.themeStateDefaults.contrastMode:u,f=r.dark,v=void 0===f?d.themeStateDefaults.dark:f,m=r.light,y=void 0===m?d.themeStateDefaults.light:m,k=r.shape,w=void 0===k?d.themeStateDefaults.shape:k,T=r.spacing,x=void 0===T?d.themeStateDefaults.spacing:T,S=r.typography,E=void 0===S?d.themeStateDefaults.typography:S,O=r.UNSAFE_themeOptions,M=void 0===O?d.themeStateDefaults.UNSAFE_themeOptions:O,_=H.length>1?H[1]:void 0,(0,c.fg)("platform.design-system-team.increased-contrast-themes")||("light-increased-contrast"===y&&(y="light"),"dark-increased-contrast"===v&&(v="dark")),A={colorMode:n,contrastMode:i,dark:v,light:y,shape:w,spacing:x,typography:E,UNSAFE_themeOptions:_?void 0:M},C=(0,h.getThemePreferences)(A),D=_||g.loadAndAppendThemeCss,N=C.map(function(){var e=(0,o.default)(a().mark((function e(r){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D(r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}()),!_&&M&&(0,s.isValidBrandHex)(null==M?void 0:M.brandColor)&&(j=n||d.themeStateDefaults.colorMode,(F=b(M,j)).length>0&&N.push((0,o.default)(a().mark((function e(){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then((function(){var e=new Error("Cannot find module './custom-theme'");throw e.code="MODULE_NOT_FOUND",e}));case 2:r=e.sent,(0,r.loadAndAppendCustomThemeCss)({colorMode:2===F.length?"auto":F[0],UNSAFE_themeOptions:M});case 5:case"end":return e.stop()}}),e)})))())),e.next=10,Promise.all(N);case 10:R=(0,h.getThemeOverridePreferences)(A),L=p(R),e.prev=12,L.s();case 14:if((P=L.n()).done){e.next=20;break}return U=P.value,e.next=18,D(U);case 18:e.next=14;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(12),L.e(e.t0);case 25:return e.prev=25,L.f(),e.finish(25);case 28:return I=(0,l.default)(A),e.abrupt("return",I);case 30:case"end":return e.stop()}}),e,null,[[12,22,25,28]])})));return function(){return e.apply(this,arguments)}}()},8244:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>l,themeColorModes:()=>o,themeContrastModes:()=>n,themeIds:()=>a,themeIdsWithOverrides:()=>d,themeOverrideIds:()=>c,themeStateDefaults:()=>s});var o=["light","dark","auto"],n=["more","no-preference","auto"],a=["light-increased-contrast","light","light-future","light-brand-refresh","dark","dark-future","dark-increased-contrast","dark-brand-refresh","legacy-light","legacy-dark","spacing","shape","typography-adg3","typography-modernized"],c=[],d=[].concat(a,c),s={colorMode:"auto",contrastMode:"auto",dark:"dark",light:"light",shape:void 0,spacing:"spacing",typography:void 0,UNSAFE_themeOptions:void 0};const l={"atlassian-light":{id:"light",displayName:"Light Theme",palette:"defaultPalette",attributes:{type:"color",mode:"light"}},"atlassian-light-future":{id:"light-future",displayName:"Future Light Theme",palette:"defaultPalette",attributes:{type:"color",mode:"light"},override:"light"},"atlassian-light-increased-contrast":{id:"light-increased-contrast",displayName:"Light Theme (increased contrast)",palette:"defaultPalette",attributes:{type:"color",mode:"light"},extends:"light",increasesContrastFor:"light"},"atlassian-dark":{id:"dark",displayName:"Dark Theme",palette:"defaultPalette",attributes:{type:"color",mode:"dark"}},"atlassian-dark-future":{id:"dark-future",displayName:"Future Dark Theme",palette:"defaultPalette",attributes:{type:"color",mode:"dark"},override:"light"},"atlassian-dark-increased-contrast":{id:"dark-increased-contrast",displayName:"Dark Theme (increased contrast)",palette:"defaultPalette",attributes:{type:"color",mode:"dark"},extends:"dark",increasesContrastFor:"dark"},"atlassian-legacy-light":{id:"legacy-light",displayName:"Light Theme (legacy)",palette:"legacyPalette",attributes:{type:"color",mode:"light"}},"atlassian-legacy-dark":{id:"legacy-dark",displayName:"Dark Theme (legacy)",palette:"legacyPalette",attributes:{type:"color",mode:"dark"}},"atlassian-spacing":{id:"spacing",displayName:"Atlassian Spacing",palette:"spacingScale",attributes:{type:"spacing"}},"atlassian-typography-adg3":{id:"typography-adg3",displayName:"ADG3 Typography",palette:"typographyPalette",attributes:{type:"typography"}},"atlassian-shape":{id:"shape",displayName:"Atlassian Shape",palette:"shapePalette",attributes:{type:"shape"}},"atlassian-typography-modernized":{id:"typography-modernized",displayName:"Atlassian Typography (Modernized)",palette:"typographyPalette",attributes:{type:"typography"}},"atlassian-light-brand-refresh":{id:"light-brand-refresh",displayName:"Light theme (Brand refresh)",palette:"brandRefreshPalette",attributes:{type:"color",mode:"light"}},"atlassian-dark-brand-refresh":{id:"dark-brand-refresh",displayName:"Dark theme (Brand refresh)",palette:"brandRefreshPalette",attributes:{type:"color",mode:"dark"}}}},4475:(e,r,t)=>{"use strict";t.r(r),t.d(r,{themeObjectToString:()=>b,themeStringToObject:()=>i});var o=t(3224),n=t(2492),a=t(8244),c=["light","dark","spacing","typography","shape"],d="UNSAFE_themeOptions",s=function(e){return void 0!==c.find((function(r){return r===e}))},l=function(e){return void 0!==a.themeIds.find((function(r){return r===e}))},u=function(e){return["light","dark","auto"].includes(e)},i=function(e){return e.split(" ").map((function(e){return e.split(/:([\s\S]*)/)})).reduce((function(e,r){var t=(0,n.default)(r,2),o=t[0],a=t[1];
559if("colorMode"===o&&u(a)&&(e[o]=a),s(o)&&l(a)&&(e[o]=a),o===d)try{e[d]=JSON.parse(a)}catch(e){new Error("Invalid custom theme string")}return e}),{})},b=function(e){return Object.entries(e).reduce((function(e,r){var t=(0,n.default)(r,2),a=t[0],c=t[1];return"colorMode"===a&&"string"==typeof c&&u(c)||a===d&&"object"===(0,o.default)(c)||s(a)&&"string"==typeof c&&l(c)?e+"".concat(e?" ":"")+"".concat(a,":").concat("object"===(0,o.default)(c)?JSON.stringify(c):c):e}),"")}},7569:(e,r,t)=>{"use strict";t.r(r),t.d(r,{HSLToRGB:()=>u,deltaE:()=>h,getAlpha:()=>c,getContrastRatio:()=>b,hexToHSL:()=>l,hexToRgb:()=>s,hexToRgbA:()=>d,isValidBrandHex:()=>o,relativeLuminanceW3C:()=>i,rgbToHex:()=>a});var o=function(e){return/^#[0-9A-F]{6}$/i.test(e)},n=function(e){return/^#([A-Fa-f0-9]{3,4}){1,2}$/.test(e)};function a(e,r,t){return"#"+((1<<24)+(e<<16)+(r<<8)+t).toString(16).slice(1)}function c(e){if(9===e.length){var r=parseInt(e.slice(7,9),16)/255;return Number(parseFloat(r.toString()).toFixed(2))}return 1}function d(e){if(!n(e))throw new Error("Invalid HEX");var r;return 3===(r=e.substring(1).split("")).length&&(r=[r[0],r[0],r[1],r[1],r[2],r[2]]),[(r="0x"+r.join(""))>>16&255,r>>8&255,255&r,c(e)]}function s(e){if(!n(e))throw new Error("Invalid HEX");var r;return 3===(r=e.substring(1).split("")).length&&(r=[r[0],r[0],r[1],r[1],r[2],r[2]]),[(r="0x"+r.join(""))>>16&255,r>>8&255,255&r]}function l(e){if(!n(e))throw new Error("Invalid HEX");var r=0,t=0,o=0;4===e.length?(r="0x"+e[1]+e[1],t="0x"+e[2]+e[2],o="0x"+e[3]+e[3]):7===e.length&&(r="0x"+e[1]+e[2],t="0x"+e[3]+e[4],o="0x"+e[5]+e[6]),r/=255,t/=255,o/=255;var a=Math.min(r,t,o),c=Math.max(r,t,o),d=c-a,s=0,l=0;return s=0===d?0:c===r?(t-o)/d%6:c===t?(o-r)/d+2:(r-t)/d+4,(s=Math.round(60*s))<0&&(s+=360),l=(c+a)/2,[s,+(100*(0===d?0:d/(1-Math.abs(2*l-1)))).toFixed(1),l=+(100*l).toFixed(1)]}function u(e,r,t){t/=100;var o=function(r){return(r+e/30)%12},n=(r/=100)*Math.min(t,1-t),a=function(e){return t-n*Math.max(-1,Math.min(o(e)-3,Math.min(9-o(e),1)))};return[255*a(0),255*a(8),255*a(4)]}function i(e,r,t){var o=e/255,n=r/255,a=t/255;return.2126*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}function b(e,r){if(!n(e)||!n(r))throw new Error("Invalid HEX");var t=s(e),o=s(r),a=i(t[0],t[1],t[2]),c=i(o[0],o[1],o[2]);return(Math.max(a,c)+.05)/(Math.min(a,c)+.05)}function h(e,r){var t=g(e),o=g(r),n=t[0]-o[0],a=t[1]-o[1],c=t[2]-o[2],d=Math.sqrt(t[1]*t[1]+t[2]*t[2]),s=d-Math.sqrt(o[1]*o[1]+o[2]*o[2]),l=a*a+c*c-s*s,u=n/1,i=s/(1+.045*d),b=(l=l<0?0:Math.sqrt(l))/(1+.015*d),h=u*u+i*i+b*b;return h<0?0:Math.sqrt(h)}function g(e){var r,t,o,n=e[0]/255,a=e[1]/255,c=e[2]/255;return t=(.2126*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.7152*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92)+.0722*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92))/1,o=(.0193*n+.1192*a+.9505*c)/1.08883,r=(r=(.4124*n+.3576*a+.1805*c)/.95047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(t=t>.008856?Math.pow(t,1/3):7.787*t+16/116)-16,500*(r-t),200*(t-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]}},537:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>m});var o=t(2492),n=t(2051),a=t(7313),c=t(2561),d=t(7001),s=t(6111),l=t(1833),u=t(4741),i=t(7694);function b(e){document.documentElement.setAttribute(u.COLOR_MODE_ATTRIBUTE,e.matches?"dark":"light")}var h="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia(i.darkModeMediaQuery);const g=new(function(){function e(){(0,c.default)(this,e),(0,s.default)(this,"unbindThemeChangeListener",null)}return(0,d.default)(e,[{key:"getColorMode",value:function(){return h&&null!=h&&h.matches?"dark":"light"}},{key:"bind",value:function(){h&&null===this.unbindThemeChangeListener&&(this.unbindThemeChangeListener=(0,l.bind)(h,{type:"change",listener:b}))}},{key:"unbind",value:function(){this.unbindThemeChangeListener&&(this.unbindThemeChangeListener(),this.unbindThemeChangeListener=null)}}]),e}());function p(e){document.documentElement.setAttribute(u.CONTRAST_MODE_ATTRIBUTE,e.matches?"more":"no-preference")}var f="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia(i.moreContrastMediaQuery);const v=new(function(){function e(){(0,c.default)(this,e),(0,s.default)(this,"unbindContrastChangeListener",null)}return(0,d.default)(e,[{key:"getContrastMode",value:function(){return f&&null!=f&&f.matches?"more":"no-preference"}},{key:"bind",value:function(){f&&null===this.unbindContrastChangeListener&&(this.unbindContrastChangeListener=(0,l.bind)(f,{type:"change",listener:p}))}},{key:"unbind",value:function(){this.unbindContrastChangeListener&&(this.unbindContrastChangeListener(),this.unbindContrastChangeListener=null)}}]),e}());function m(e){"auto"===e.colorMode?(e.colorMode=g.getColorMode(),g.bind()):g.unbind(),(0,n.getBooleanFF)("platform.design-system-team.increased-contrast-themes")&&("auto"===e.contrastMode?(e.contrastMode=v.getContrastMode(),v.bind()):v.unbind());var r=(0,a.default)(e);return Object.entries(r).forEach((function(e){var r=(0,o.default)(e,2),t=r[0],n=r[1];document.documentElement.setAttribute(t,n)})),function(){g.unbind(),(0,n.getBooleanFF)("platform.design-system-team.increased-contrast-themes")&&v.unbind()}}},9538:(e,r,t)=>{"use strict";t.r(r),t.d(r,{getThemeOverridePreferences:()=>l,getThemePreferences:()=>s});var o=t(8134),n=t(2051),a=t(2492),c=t(8244);function d(e){var r;return null===(r=Object.entries(c.default).find((function(r){return(0,a.default)(r,2)[1].increasesContrastFor===e})))||void 0===r?void 0:r[1].id}var s=function(e){var r=e.colorMode,t=e.contrastMode,a=e.dark,c=e.light,s=e.shape,l=e.spacing,u=e.typography,i=[c,a],b=[];if("auto"===r)"no-preference"!==t&&(0,n.fg)("platform.design-system-team.increased-contrast-themes")&&i.forEac
559h((function(e){var r=d(e);r&&i.push(r)})),b.push.apply(b,i);else if(b.push(e[r]),"no-preference"!==t&&(0,n.fg)("platform.design-system-team.increased-contrast-themes")){var h=d(e[r]);h&&b.push(h)}return[s,l,u].forEach((function(e){e&&b.push(e)})),(0,o.default)(new Set(b))},l=function(e){return(0,o.default)(new Set([]))}},7848:(e,r,t)=>{"use strict";t.r(r),t.d(r,{hash:()=>o});var o=function(e){for(var r=0,t=0;t<e.length;t++){r=(r<<5)-r+e.charCodeAt(t),r&=r}return new Uint32Array([r])[0].toString(36)}},7694:(e,r,t)=>{"use strict";t.r(r),t.d(r,{darkModeMediaQuery:()=>i,loadAndAppendThemeCss:()=>l,loadThemeCss:()=>u,moreContrastMediaQuery:()=>b});var o=t(7431),n=t(6192),a=t.n(n),c=t(2051),d=t(208),s=t(4741),l=function(){var e=(0,o.default)(a().mark((function e(r){var t,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!document.head.querySelector("style[".concat(s.THEME_DATA_ATTRIBUTE,'="').concat(r,'"]:not([').concat(s.CUSTOM_THEME_ATTRIBUTE,"])"))){e.next=2;break}return e.abrupt("return");case 2:if(r){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,u(r);case 6:t=e.sent,(o=document.createElement("style")).textContent=t,o.dataset.theme=r,document.head.appendChild(o);case 11:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),u=function(){var e=(0,o.default)(a().mark((function e(r){var t,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"light"!==r&&"dark"!==r||!(0,c.fg)("platform-component-visual-refresh")||(r+="-brand-refresh"),e.next=3,d.default[r]();case 3:return t=e.sent,o=t.default,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),i="(prefers-color-scheme: dark)",b="(prefers-contrast: more)"},6572:function(e,r,t){"use strict";var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},o.apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.bindAll=void 0;var n=t(1634);function a(e){if(void 0!==e)return"boolean"==typeof e?{capture:e}:e}r.bindAll=function(e,r,t){var c=r.map((function(r){var c=function(e,r){return null==r?e:o(o({},e),{options:o(o({},a(r)),a(e.options))})}(r,t);return(0,n.bind)(e,c)}));return function(){c.forEach((function(e){return e()}))}}},1634:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bind=void 0,r.bind=function(e,r){var t=r.type,o=r.listener,n=r.options;return e.addEventListener(t,o,n),function(){e.removeEventListener(t,o,n)}}},1833:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bindAll=r.bind=void 0;var o=t(1634);Object.defineProperty(r,"bind",{enumerable:!0,get:function(){return o.bind}});var n=t(6572);Object.defineProperty(r,"bindAll",{enumerable:!0,get:function(){return n.bindAll}})},9541:(e,r,t)=>{var o=t(998).default;function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},t=Object.prototype,a=t.hasOwnProperty,c=Object.defineProperty||function(e,r,t){e[r]=t.value},d="function"==typeof Symbol?Symbol:{},s=d.iterator||"@@iterator",l=d.asyncIterator||"@@asyncIterator",u=d.toStringTag||"@@toStringTag";function i(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{i({},"")}catch(e){i=function(e,r,t){return e[r]=t}}function b(e,r,t,o){var n=r&&r.prototype instanceof p?r:p,a=Object.create(n.prototype),d=new _(o||[]);return c(a,"_invoke",{value:S(e,t,d)}),a}function h(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}r.wrap=b;var g={};function p(){}function f(){}function v(){}var m={};i(m,s,(function(){return this}));var y=Object.getPrototypeOf,k=y&&y(y(A([])));k&&k!==t&&a.call(k,s)&&(m=k);var w=v.prototype=p.prototype=Object.create(m);function T(e){["next","throw","return"].forEach((function(r){i(e,r,(function(e){return this._invoke(r,e)}))}
vendor: 3,211 bytes, line 559
559))}function x(e,r){function t(n,c,d,s){var l=h(e[n],e,c);if("throw"!==l.type){var u=l.arg,i=u.value;return i&&"object"==o(i)&&a.call(i,"__await")?r.resolve(i.__await).then((function(e){t("next",e,d,s)}),(function(e){t("throw",e,d,s)})):r.resolve(i).then((function(e){u.value=e,d(u)}),(function(e){return t("throw",e,d,s)}))}s(l.arg)}var n;c(this,"_invoke",{value:function(e,o){function a(){return new r((function(r,n){t(e,o,r,n)}))}return n=n?n.then(a,a):a()}})}function S(e,r,t){var o="suspendedStart";return function(n,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw a;return C()}for(t.method=n,t.arg=a;;){var c=t.delegate;if(c){var d=E(c,t);if(d){if(d===g)continue;return d}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===o)throw o="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);o="executing";var s=h(e,r,t);if("normal"===s.type){if(o=t.done?"completed":"suspendedYield",s.arg===g)continue;return{value:s.arg,done:t.done}}"throw"===s.type&&(o="completed",t.method="throw",t.arg=s.arg)}}}function E(e,r){var t=r.method,o=e.iterator[t];if(void 0===o)return r.delegate=null,"throw"===t&&e.iterator.return&&(r.method="return",r.arg=void 0,E(e,r),"throw"===r.method)||"return"!==t&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+t+"' method")),g;var n=h(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function M(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function A(e){if(e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var t=-1,o=function r(){for(;++t<e.length;)if(a.call(e,t))return r.value=e[t],r.done=!1,r;return r.value=void 0,r.done=!0,r};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return f.prototype=v,c(w,"constructor",{value:v,configurable:!0}),c(v,"constructor",{value:f,configurable:!0}),f.displayName=i(v,u,"GeneratorFunction"),r.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===f||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,i(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},r.awrap=function(e){return{__await:e}},T(x.prototype),i(x.prototype,l,(function(){return this})),r.AsyncIterator=x,r.async=function(e,t,o,n,a){void 0===a&&(a=Promise);var c=new x(b(e,t,o,n),a);return r.isGeneratorFunction(t)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},T(w),i(w,u,"Generator"),i(w,s,(function(){return this})),i(w,"toString",(function(){return"[object Generator]"}
vendor: 4,670 bytes, line 559
559)),r.keys=function(e){var r=Object(e),t=[];for(var o in r)t.push(o);return t.reverse(),function e(){for(;t.length;){var o=t.pop();if(o in r)return e.value=o,e.done=!1,e}return e.done=!0,e}},r.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function t(t,o){return c.type="throw",c.arg=e,r.next=t,o&&(r.method="next",r.arg=void 0),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o],c=n.completion;if("root"===n.tryLoc)return t("end");if(n.tryLoc<=this.prev){var d=a.call(n,"catchLoc"),s=a.call(n,"finallyLoc");if(d&&s){if(this.prev<n.catchLoc)return t(n.catchLoc,!0);if(this.prev<n.finallyLoc)return t(n.finallyLoc)}else if(d){if(this.prev<n.catchLoc)return t(n.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return t(n.finallyLoc)}}}},abrupt:function(e,r){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=r&&r<=n.finallyLoc&&(n=null);var c=n?n.completion:{};return c.type=e,c.arg=r,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(c)},complete:function(e,r){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&r&&(this.next=r),g},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),M(t),g}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var o=t.completion;if("throw"===o.type){var n=o.arg;M(t)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,t){return this.delegate={iterator:A(e),resultName:r,nextLoc:t},"next"===this.method&&(this.arg=void 0),g}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},998:e=>{function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},6192:(e,r,t)=>{var o=t(9541)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},8085:(e,r,t)=>{"use strict";function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}t.r(r),t.d(r,{default:()=>o})},7431:(e,r,t)=>{"use strict";function o(e,r,t,o,n,a,c){try{var d=e[a](c),s=d.value}catch(e){return void t(e)}d.done?r(s):Promise.resolve(s).then(o,n)}function n(e){return function(){var r=this,t=arguments;return new Promise((function(n,a){var c=e.apply(r,t);function d(e){o(c,n,a,d,s,"next",e)}function s(e){o(c,n,a,d,s,"throw",e)}d(void 0)}))}}t.r(r),t.d(r,{default:()=>n})},2561:(e,r,t)=>{"use strict";function o(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}t.r(r),t.d(r,{default:()=>o})},7001:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});var o=t(6236);function n(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(0,o.default)(n.key),n)}}function a(e,r,t){return r&&n(e.prototype,r),t&&n(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},6111:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var o=t(6236);function n(e,r,t){return(r=(0,o.default)(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}},2492:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var o=t(6492);function n(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,c,d=[],s=!0,l=!1;try{if(a=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;s=!1}else for(;!(s=(o=a.call(t)).done)&&(d.push(o.value),d.length!==r);s=!0);}catch(e){l=!0,n=e}
559finally{try{if(!s&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(l)throw n}}return d}}(e,r)||(0,o.default)(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8134:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});var o=t(8085);var n=t(6492);function a(e){return function(e){if(Array.isArray(e))return(0,o.default)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,n.default)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},6236:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var o=t(3224);function n(e){var r=function(e,r){if("object"!==(0,o.default)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!==(0,o.default)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===(0,o.default)(r)?r:String(r)}},3224:(e,r,t)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.r(r),t.d(r,{default:()=>o})},6492:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var o=t(8085);function n(e,r){if(e){if("string"==typeof e)return(0,o.default)(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,o.default)(e,r):void 0}}}}]); 560}catch(e){WRMCB(e)}; 561; 562try { 563/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.1d1867466a', location = 'aui.chunk.7bb636d152c01dd44e2a--1ed10b95f08708d14251.js' */ 564(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2823],{208:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});const i={light:()=>n.e(7995).then(n.bind(n,7665)),"light-future":()=>n.e(6567).then(n.bind(n,3621)),dark:()=>n.e(2735).then(n.bind(n,1)),"dark-future":()=>n.e(6917).then(n.bind(n,2261)),"legacy-light":()=>n.e(5177).then(n.bind(n,6423)),"legacy-dark":()=>n.e(915).then(n.bind(n,207)),spacing:()=>n.e(7498).then(n.bind(n,1108)),shape:()=>n.e(1138).then(n.bind(n,3180)),"typography-adg3":()=>n.e(592).then(n.bind(n,418)),"typography-modernized":()=>n.e(2186).then(n.bind(n,5968)),original:()=>Promise.resolve("")}},8077:(e,t,n)=>{"use strict";n.r(t);var i=n(8389);document.documentElement.hasAttribute("data-color-mode-auto")&&(0,i.default)({colorMode:"auto"})},6039:()=>{}}]); 565}catch(e){WRMCB(e)}; 566; 567try { 568/* module-key = 'com.atlassian.auiplugin:split_aui.page.design-tokens-api', location = 'aui.chunk.d86d625393dec731f086--b47140b1c3e6b06a295a.js' */ 569"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1829],{9005:(e,a,s)=>{s.r(a),s.d(a,{setGlobalTheme:()=>u});var l=s(4160),t=s(9392);s(8077);const{setGlobalTheme:u}=l;(0,t.default)("DesignTokens",{setGlobalTheme:u})}},e=>{e.O(0,[4602,5131,2823],(()=>{return a=9005,e(e.s=a);var a}));e.O()}]); 570}catch(e){WRMCB(e)}; 571; 572try { 573/* module-key = 'com.atlassian.plugin.jslibs:skate-0.12.6', location = 'libs/skate/0.12.6/skate-0.12.6.js' */ 574(function e(f,u,l){function h(c,k){if(!u[c]){if(!f[c]){var A="function"==typeof require&&require;if(!k&&A)return A(c,!0);if(g)return g(c,!0);k=Error("Cannot find module '"+c+"'");throw k.code="MODULE_NOT_FOUND",k;}k=u[c]={exports:{}};f[c][0].call(k.exports,function(m){var t=f[c][1][m];return h(t?t:m)},k,k.exports,e,f,u,l)}return u[c].exports}for(var g="function"==typeof require&&require,r=0;r<l.length;r++)h(l[r]);return h})({1:[function(f,u,l){Object.defineProperty(l,"__esModule",{value:!0});"use strict"; 575l.ATTR_IGNORE="data-skate-ignore";l.types={ANY:"act",ATTR:"a",CLASS:"c",NOATTR:"ct",NOCLASS:"at",NOTAG:"ac",TAG:"t"}},{}],2:[function(f,u,l){u.exports={get:function(w,h){if(w.__SKATE_DATA)return w.__SKATE_DATA[h]},set:function(w,h,g){w.__SKATE_DATA||(w.__SKATE_DATA={});w.__SKATE_DATA[h]=g;return w}}},{}],3:[function(f,u,l){function w(m){for(var t=m.length,v=0;v<t;v++){var b=m[v],q=b.addedNodes;b=b.removedNodes;q&&q.length&&!A(q[0].parentNode)&&r(q);b&&b.length&&c(b)}}
575l=function(m){return m&&m.__esModule? 576m["default"]:m};var h=l(f("./globals")),g=f("./lifecycle"),r=g.initElements,c=g.removeElements,k=l(f("./mutation-observer")),A=f("./utils").getClosestIgnoredElement;u.exports={register:function(m){m&&(k.fixIe(),this.unregister());h.observer||(m=new k(w),m.observe(document,{childList:!0,subtree:!0}),h.observer=m);return this},unregister:function(){h.observer&&(h.observer.disconnect(),h.observer=void 0);return this}}},{"./globals":4,"./lifecycle":5,"./mutation-observer":6,"./utils":9}],4:[function(f, 577u,l){window.__skate||(window.__skate={observer:void 0,registry:{}});u.exports=window.__skate},{}],5:[function(f,u,l){function w(a,d,p){if(m.get(a,d.id+":lifecycle:"+p))return!0;m.set(a,d.id+":lifecycle:"+p,!0);return!1}function h(a,d){function p(C,F,B,G){if(d.attributes&&d.attributes[F]&&"function"===typeof d.attributes[F][C])var z=d.attributes[F][C];else d.attributes&&"function"===typeof d.attributes[F]?z=d.attributes[F]:"function"===typeof d.attributes&&(z=d.attributes);z&&z(a,{type:C,name:F,newValue:B, 578oldValue:G})}var n,y=a.attributes,D=[],x=y.length;(new t(function(C){C.forEach(function(F){var B,G=F.attributeName,z=y[G];z&&null===F.oldValue?B="created":z&&null!==F.oldValue?B="updated":z||(B="removed");p(B,G,z?z.value||z.nodeValue:void 0,F.oldValue)})})).observe(a,{attributes:!0,attributeOldValue:!0});for(n=0;n<x;n++)D.push(y[n]);for(n=0;n<x;n++){var E=D[n];p("created",E.nodeName,E.value||E.nodeValue)}}function g(a,d){function p(n,y){return function(D){if(!y)return n(a,D,a);for(var x=D.target;x&& 579x!==document&&x!==a.parentNode;){if(H.call(x,y))return n(a,D,x);x=x.parentNode}}}"object"===typeof d.events&&q(d.events,function(n,y){var D=y.split(" ");y=D.shift();D=D.join(" ");var x=!!D&&("blur"===y||"focus"===y);a.addEventListener(y,p(n,D),x)})}function r(a,d){w(a,d,"created")||(b(a,d.prototype,!0),d.template&&d.template(a),g(a,d),h(a,d),d.created&&d.created(a))}function c(a){for(var d=a.length,p=0;p<d;p++){var n=a[p];if(1===n.nodeType&&!n.attributes[A]){for(var y=v.getForElement(n),D=y.length, 580x=0;x<D;x++){var E=n,C=y[x];r(E,C);w(E,C,"attached")||(E.removeAttribute(C.unresolvedAttribute),E.setAttribute(C.resolvedAttribute,""),C.attached&&C.attached(E))}n=n.childNodes;n.length&&c(n)}}}function k(a){for(var d=a.length,p=0;p<d;p++){var n=a[p];if(1===n.nodeType){k(n.childNodes);for(var y=v.getForElement(n),D=y.length,x=0;x<D;x++){var E=n,C=y[x];C.detached&&C.detached(E);m.set(E,C.id+":lifecycle:attached",!1)}}}}u=function(a){return a&&a.__esModule?a["default"]:a};Object.defineProperty(l,"__esModule", 581{value:!0});"use strict";var A=f("./constants").ATTR_IGNORE,m=u(f("./data")),t=u(f("./mutation-observer")),v=u(f("./registry"));f=f("./utils");var b=f.inherit,q=f.objEach;f=window.HTMLElement.prototype;var H=f.matches||f.msMatchesSelector||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector;l.triggerCreated=r;l.initElements=c;l.removeElements=k},{"./constants":1,"./data":2,"./mutation-observer":6,"./registry":7,"./utils":9}],6:[function(f,u,l){function w(b,q){return{addedNodes:null, 582attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:null,target:b,type:q||"childList"}}function h(b,q){if(b=b.childNodes)for(var H=b.length,a=0;a<H;a++){var d=b[a];q(d);h(d,q)}}function g(b){if(m&&!t)return new m(b);this.callback=b;this.elements=[]}f=f("./utils");var r=f.debounce,c=f.objEach,k=window.HTMLElement.prototype,A=window.HTMLElement.prototype.contains,m=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver, 583t=!1,v=-1<window.navigator.userAgent.indexOf("Trident");g.fixIe=function(){if(v&&!t){var b=Object.getOwnPropertyDescriptor(k,"innerHTML");Object.defineProperty(k,"innerHTML",{get:function(){return b.get.call(this)},set:function(q){h(this,function(H){var a=document.createEvent("MutationEvent");a.initMutationEvent("DOMNodeRemoved",!0,!1,null,null,null,null,null);H.dispatchEvent(a)});b.set.call(this,q)}});t=!0}};Object.defineProperty(g,"isFixingIe",{get:function(){return t}});g.prototype={observe:function(b, 584q){function H(B){n.push(B);D()}var a=this,d,p,n=[],y=[],D=r(function(){for(var B=n.length,G=0;G<B;G++){var z=n[G],I=z.target;if(I){z=z.type;var K=I.parentNode;if(q.childList&&(q.subtree||K===b)){var M=t&&"DOMNodeRemoved"===z,J;if(J=d){J=d;var L=I;J=1!==J.nodeType?!1:J.contains?J.contains(L):A.call(J,L)}if(M||!J)p&&p.target===K||y.push(p=w(K)),"DOMNodeInserted"===z?(p.addedNodes||(p.addedNodes=[]),p.addedNodes.push(I)):(p.removedNodes||(p.removedNodes=[]),p.removedNodes.push(I)),d=I}}}a.callback(y); 585n=[];y=[];p=d=void 0}),x={},E=[],C=r(function(){var B=E.length;a.callback(E);E.splice(0,B)}
585),F={target:b,options:q,insertHandler:H,removeHandler:H,attributeHandler:function(B){var G=B.target;if(q.attributes&&(q.subtree||G===b)){var z=B.attrName,I=B.prevValue;B=B.newValue;G=w(G,"attributes");G.attributeName=z;q.attributeOldValue&&(G.oldValue=x[z]||I||null);E.push(G);q.attributeOldValue&&(x[z]=B);C()}}};this.elements.push(F);q.childList&&(b.addEventListener("DOMNodeInserted",F.insertHandler),b.addEventListener("DOMNodeRemoved", 586F.removeHandler));q.attributes&&b.addEventListener("DOMAttrModified",F.attributeHandler);return this},disconnect:function(){c(this.elements,function(b){b.target.removeEventListener("DOMNodeInserted",b.insertHandler);b.target.removeEventListener("DOMNodeRemoved",b.removeHandler);b.target.removeEventListener("DOMAttrModified",b.attributeHandler)});this.elements=[];return this}};u.exports=g},{"./utils":9}],7:[function(f,u,l){function w(c,k){return r(h.registry,c)&&-1<h.registry[c].type.indexOf(k)}var h= 587function(c){return c&&c.__esModule?c["default"]:c}(f("./globals")),g=f("./constants.js").types,r=f("./utils").hasOwn;u.exports={clear:function(){h.registry={};return this},getForElement:function(c){var k=c.attributes,A=k.length,m=[],t=k.is,v=t&&(t.value||t.nodeValue);t=c.tagName.toLowerCase();var b=v||t;if(w(b,g.TAG)){b=h.registry[b];var q=b["extends"];v?t===q&&m.push(b):q||m.push(b)}for(v=0;v<A;v++)b=k[v].nodeName,w(b,g.ATTR)&&(b=h.registry[b],(q=b["extends"])&&t!==q||m.push(b));(k=c.classList)? 588c=k:(c=c.attributes,c=c["class"]&&c["class"].nodeValue.split(/\s+/)||[]);k=c.length;for(A=0;A<k;A++)b=c[A],w(b,g.CLASS)&&(b=h.registry[b],(q=b["extends"])&&t!==q||m.push(b));return m},has:function(c){return r(h.registry,c)},set:function(c,k){if(this.has(c))throw Error('A definition of type "'+k.type+'" with the ID of "'+c+'" already exists.');h.registry[c]=k;return this},remove:function(c){this.has(c)&&delete h.registry[c];return this}}},{"./constants.js":1,"./globals":4,"./utils":9}],8:[function(f, 589u,l){function w(a){function d(){var p=a["extends"];var n=a.id;p?(p=document.createElement(p),p.setAttribute("is",n)):p=document.createElement(n);a.prototype=d.prototype;c(p,a);return p}d.prototype=a.prototype;return d}function h(a,d){d=t(d||{},h.defaults);d.id=a;if(A.has(d.id))throw Error('A definition of type "'+d.type+'" with the ID of "'+a+'" already exists.');A.set(d.id,d);q();g.register(d.remove);if(-1<d.type.indexOf(v.TAG))return w(d)}l=function(a){return a&&a.__esModule?a["default"]:a};var g= 590l(f("./document-observer")),r=f("./lifecycle"),c=r.triggerCreated,k=r.initElements,A=l(f("./registry")),m=f("./utils");r=m.debounce;var t=m.inherit;l=l(f("./version"));var v=f("./constants").types,b=!!document.attachEvent,q=r(function(){var a=function(){k(document.getElementsByTagName("html"))};var d=b?"complete"===document.readyState:"interactive"===document.readyState||"complete"===document.readyState;d?a():b?window.addEventListener("load",a):document.addEventListener("DOMContentLoaded",a)});h.init= 591function(a){if(a)return"string"===typeof a&&(a=document.querySelectorAll(a)),k("undefined"===typeof a.length?[a]:a),a};h.types=v;h.version=l;h.defaults={attributes:void 0,events:void 0,"extends":"",id:"",prototype:{},resolvedAttribute:"resolved",template:void 0,type:v.ANY,unresolvedAttribute:"unresolved"};var H=window.skate;h.noConflict=function(){window.skate=H;return this};window.skate=h;u.exports=h},{"./constants":1,"./document-observer":3,"./lifecycle":5,"./registry":7,"./utils":9,"./version":10}], 5929:[function(f,u,l){function w(g,r){return Object.prototype.hasOwnProperty.call(g,r)}l.hasOwn=w;l.debounce=function(g){var r=!1;return function(){r||(r=!0,setTimeout(function(){r=!1;g()},1))}};l.getClosestIgnoredElement=function(g){for(;g&&g!==document&&!(g instanceof DocumentFragment);){if(g.hasAttribute(h))return g;g=g.parentNode}};l.inherit=function(g,r,c){for(var k=Object.getOwnPropertyNames(r),A=k.length,m=0;m<A;m++){var t=k[m];if(c||void 0===g[t]){var v=Object.getOwnPropertyDescriptor(r,t);!v.get&& 593!v.set&&v.writable&&v.enumerable&&v.configurable?g[t]=r[t]:Object.defineProperty(g,t,v)}}return g};l.objEach=function(g,r){for(var c in g)w(g,c)&&r(g[c],c)};
593Object.defineProperty(l,"__esModule",{value:!0});"use strict";var h=f("./constants").ATTR_IGNORE},{"./constants":1}],10:[function(f,u,l){u.exports="0.12.6"},{}]},{},[8]);(function(f){var u=f.skate.noConflict();define("atlassian/libs/skate-0.12.6",[],function(){return u})})(window); 594}catch(e){WRMCB(e)}; 595; 596try { 597/* module-key = 'jira.webresources:skate', location = '/static/lib/skate/skate.js' */ 598define("jira/skate",["atlassian/libs/skate-0.12.6"],(function(t){function i(i,n){return t(i,n)}i.type=t.type||{CLASSNAME:t.types.CLASS,ELEMENT:t.types.TAG,ATTRIBUTE:t.types.ATTR};i.init=function(n){t.init(n);window.skate&&window.skate.init&&window.skate.init!==i.init&&window.skate.init(n);return n};return i})); 599}catch(e){WRMCB(e)}; 600; 601try { 602/* module-key = 'jira.webresources:deprecator', location = '/includes/jira/common/deprecator.js' */ 603define("jira/deprecator",["exports"],(function(e){"use strict";var n=[],t=!1;try{if(Object.defineProperty){Object.defineProperty({},"blam",{get:function(){},set:function(){}});e.propertyDeprecationSupported=t=!0}}catch(e){}function r(e){var n=new Error,t=n.stack||n.stacktrace,r=t&&t.replace(/^Error\n/,"")||"";return r?(r=r.split("\n"))[e+2]:r}function a(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function o(e,t){if("function"==typeof e)return e;var o=!1;t=t||{};return function(i){var c,p=r(i||1)||"";
603if(!o||-1===n.indexOf(p)){n.push(p);o=!0;var s="DEPRECATED "+(t.deprecationType+" "||"")+"- "+(c=e,(c+="")?c.charAt(0).toUpperCase()+c.substring(1):"")+" has been deprecated"+(t.sinceVersion?" since "+t.sinceVersion:"")+" and will be removed in "+(t.removeInVersion||"a future release")+".";t.alternativeName&&(s+=" Use "+t.alternativeName+" instead. ");t.extraInfo&&(s+=" "+t.extraInfo);p=""===p?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+p;t.extraObject?a(s+="\n",t.extraObject,p):a(s,p)}}}e.getDeprecatedLocation=r;e.prop=function(e,n,r){if("function"==typeof e[n]){(r=r||{}).deprecationType=r.deprecationType||"JS";var a=r.displayName||n;e[n]=function(e,n,t){(t=t||{}).deprecationType=t.deprecationType||"JS";var r=o(n||e.name||"this function",t);return function(){r();return e.apply(this,arguments)}}(e[n],a,r)}else!function(e,n,r){if(t){var a=e[n];(r=r||{}).deprecationType=r.deprecationType||"JS";var i=o(r.displayName||n,r);Object.defineProperty(e,n,{get:function(){i();return a}
603,set:function(e){a=e;i();return e}})}}(e,n,r)}})); 604}catch(e){WRMCB(e)}; 605; 606try { 607/* module-key = 'jira.webresources:legacy-namespacing', location = '/includes/jira/common/namespace.js' */ 608function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}define("jira/legacy/config",(function(){"use strict";var e=document.querySelector("meta[name=ajs-dev-mode]");e=e&&"true"===e.getAttribute("content");var o=document.querySelector("meta[name=ajs-enabled-dark-features]");o=o&&o.getAttribute("content")||"";function t(e){return o&&-1!==o.indexOf(e)}var n=t("amd.loader.noglobals"),r=e||n||t("amd.loader.globals.deprecation.warning");return{hasDefineProperty:function(){try{return Object.defineProperty&&!0===Object.defineProperty({},"x",{get:function(){return!0}}).x}catch(e){}return!1}(),logDeprecationNotice:r,noGlobals:n}}));define("jira/legacy/logger",["jira/util/logger"],(function(e){"use strict";var o,t=[];return function(){t.push(Array.prototype.slice.apply(arguments));o&&clearTimeout(o);o=setTimeout((function(){!function(){var o=0,n=t.length;console&&console.groupCollapsed&&console.groupCollapsed("Global object deprecations ("+n+")");for(;o<n;o++)e.warn.apply(void 0,t[o]);console&&console.groupEnd&&console.groupEnd();t.length=0}();o=void 0}),200)}}));define("jira/legacy/deprecator",["jira/deprecator"],(function(e){"use strict";return e}));define("jira/legacy/namespace",["jira/legacy/config","jira/legacy/logger","jira/legacy/deprecator"],(function(e,o,t){"use strict";return function(n,r,a){var c,i;if(e.logDeprecationNotice){c=e.noGlobals?"GONE: The global object "+n+" was not created!":"DEPRECATED: The global object "+n+" is deprecated.";if(("object"===_typeof(a)||"function"==typeof a)&&a.__amdModuleName){c+=' Please use require(["'+a.__amdModuleName+'"]) instead.';delete a.__amdModuleName}}if(!e.noGlobals){i=n.split(".");r=r||window;for(var l=0,u=i.length-1;l<u;l++){var f=r[i[l]];r=null!=f?f:r[i[l]]={}}var p=a||r[i[l]]||{};!function(n){if(e.hasDefineProperty&&e.logDeprecationNotice)Object.defineProperty(r,i[l],{configurable:!0,get:function(){if(t&&t.getDeprecatedLocation){var e=t.getDeprecatedLocation(0);e&&-1===e.indexOf("AJS.namespace")?o(c,"\n"+e):o(c)}return n},set:function(e){n=e}});else{e.logDeprecationNotice&&o(c);r[i[l]]=n}}(p);return p}o(c)}}));AJS.namespace=require("jira/legacy/namespace");AJS.namespace("jQuery.namespace",null,(function(e){"use strict";AJS.namespace(e)})); 609}catch(e){WRMCB(e)}; 610; 611try { 612/* module-key = 'com.atlassian.auiplugin:split_aui.core', location = 'aui.chunk.3e5c32567dc20a97c718--675884e99867aa61ce6a.js' */ 613"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[7493],{},u=>{u.O(0,[4496,5131,2178,9146,1646,1166,6319,7522,7463,9416],(()=>{return a=2341,u(u.s=a);var a}));u.O()}]); 614}catch(e){WRMCB(e)}; 615; 616try { 617/* module-key = 'jira.webresources:jira-util-strings', location = '/static/util/strings.js' */ 618define("jira/util/strings",["exports"],(function(n){"use strict";var t=AJS.escapeHtml,r=function(n){return!function(n){return"string"==typeof n||n instanceof String}(n)||0===n.length};n.asBooleanOrString=function(n){var t=n?n.toLowerCase():"",r=n;"true"===t?r=!0:"false"===t&&(r=!1);return r};n.startsWith=function(n,t){return!r(n)&&(!r(t)&&0===n.indexOf(t))};n.endsWith=function(n,t){return!r(n)&&(!r(t)&&n.indexOf(t)+t.length===n.length)};n.substringAfter=function(n,t){if(r(n))return n;if(r(t))return"";var e=n.indexOf(t);return e<0?"":n.substring(e+t.length)};n.substringBefore=function(n,t){if(r(n))return n;if(r(t))return"";var e=n.indexOf(t);return e<0?"":n.substring(0,e)};n.contains=function(n,t){return!r(n)&&n.indexOf(t)>=0};n.repeat=function(n,t){return r(n)?"":new Array(t+1).join(n)};n.length=function(n){return r(n)?0:n.length};n.replace=function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(r(n))return"";if(r(t))return"";for(var i=0,u=n.indexOf(t);u>=0;){var f=n.substring(0,u),s=n.substring(u+t.length);n=f+e+s;i=u+e.length;u=n.indexOf(t,i)}return n.substring(u,n.length)};n.hashCode=function(n){var t=0;if(!n)return"";for(var r=0;r<n.length;r+=1){t=31*t+n.charCodeAt(r);t|=0}return"".concat(t)};n.escapeHtml=t;n.toSentenceCase=function(n){return n?(n+="").charAt(0).toUpperCase()+n.substring(1):""}})); 619}catch(e){WRMCB(e)}; 620; 621try { 622/* module-key = 'jira.webresources:jira-metadata', location = '/static/util/data/meta.js' */ 623define("jira/util/data/meta",["jquery","jira/util/strings","jira/util/data/meta/store"],(function(t,e,n){"use strict";return{set:function(t,e){n[t]=e}
623,get:function(a){if(void 0!==n[a])return n[a];var r=t("meta[name='ajs-".concat(a,"']"));if(r.length){var i=r.attr("content");return e.asBooleanOrString(i)}},getBoolean:function(t){return!0===this.get(t)},getNumber:function(t){return+this.get(t)},getAllAsMap:function(){var e={};t("meta[name^=ajs-]").each((function(){e[this.name.substring(4)]=this.content}));return t.extend(e,n)},getLanguage:function(){var t,n=this.get("user-locale");e.contains(n,"_")&&(t=n.split("_")[0]);return t||"en"}}}));define("jira/util/data/meta/store",{}); 624}catch(e){WRMCB(e)}; 625; 626try { 627/* module-key = 'jira.webresources:aui-extensions', location = '/includes/ajs/aui-experimental.js' */ 628AJS.namespace("AJS.asBooleanOrString",null,require("jira/util/strings").asBooleanOrString);AJS.namespace("AJS.overrides",null,require("jira/util/data/meta/store"));AJS.namespace("AJS.Meta",null,require("jira/util/data/meta")); 629}catch(e){WRMCB(e)}; 630; 631try { 632/* module-key = 'jira-frontend-api:jira-events', location = '/js/events/events.js' */ 633define("jira/api/events",["jquery","jira/util/logger","exports"],(function(n,r,e){"use strict";var t=n(document),i=new WeakMap;e.bind=function(n,r,e){t.bind(n,o(r),o(e))};e.one=function(n,r){t.one(n,o(r))};e.unbind=function(n,r){var e=i.get(r);t.unbind(n,e||r)};e.trigger=function(n,r){t.trigger(n,r)};function o(n){if("function"==typeof n){var e=function(){try{for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.apply(this,t)}catch(n){r.error("An error occurred in one of the callback passed to jira/util/events",n)}};i.set(n,e);return e}return n}})); 634}catch(e){WRMCB(e)}; 635; 636try { 637/* module-key = 'jira-frontend-api:jira-events', location = '/js/events/events/types.js' */ 638define("jira/api/events/types",{NEW_CONTENT_ADDED:"newContentAdded",NEW_PAGE_ADDED:"newPageAdded",REFRESH_TOGGLE_BLOCKS:"refreshToggleBlocks",CHECKBOXMULITSELECT_READY:"checkboxMultiSelectReady",VALIDATE_TIMETRACKING:"validateTimeTracking"}); 639}catch(e){WRMCB(e)}; 640; 641try { 642/* module-key = 'jira-frontend-api:jira-events', location = '/js/events/events/reasons.js' */ 643define("jira/api/events/reasons",{pageLoad:"pageLoad",inlineEditStarted:"inlineEditStarted",panelRefreshed:"panelRefreshed",criteriaPanelRefreshed:"criteriaPanelRefreshed",issueTableRefreshed:"issueTableRefreshed",issueTableRowRefreshed:"issueTableRowRefreshed",filterPanelOpened:"filterPanelOpened",layoutSwitcherReady:"layoutSwitcherReady",returnToSearch:"returnToSearch",shareDialogOpened:"shareDialogOpened",filtersSearchRefreshed:"filtersSearchRefreshed",dashboardsSearchRefreshed:"dashboardsSearchRefreshed",tabUpdated:"tabUpdated",dialogReady:"dialogReady",componentsTableReady:"componentsTableReady",workflowReady:"workflowReady",workflowHeaderReady:"workflowHeaderReady",contentRefreshed:"contentRefreshed"}); 644}catch(e){WRMCB(e)}; 645; 646try { 647/* module-key = 'jira.webresources:jira-events', location = '/static/util/events.js' */ 648define("jira/util/events",["jira/api/events"],(function(e){"use strict";return e})); 649}catch(e){WRMCB(e)}; 650; 651try { 652/* module-key = 'jira.webresources:jira-events', location = '/static/util/events/types.js' */ 653define("jira/util/events/types",require("jira/api/events/types"));AJS.namespace("JIRA.Events",null,require("jira/util/events/types")); 654}catch(e){WRMCB(e)}; 655; 656try { 657/* module-key = 'jira.webresources:jira-events', location = '/static/util/events/reasons.js' */ 658define("jira/util/events/reasons",require("jira/api/events/reasons"));AJS.namespace("JIRA.CONTENT_ADDED_REASON",null,require("jira/util/events/reasons")); 659}catch(e){WRMCB(e)}; 660; 661try { 662/* module-key = 'jira.webresources:jira-formatter', location = '/static/util/formatter.js' */ 663define("jira/util/formatter",["exports","jira/util/data/meta"],(function(t,r){"use strict";var e=AJS.format.bind(AJS);t.format=e;t.formatNumber=function(t){var e=r.get("user-locale-group-separator")||"";return t.toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g,e)};t.formatText=e;t.I18n={};t.I18n.getText=function(){return AJS.I18n.getText.apply(AJS.I18n,arguments)}})); 664}catch(e){WRMCB(e)}; 665; 666try { 667/* module-key = 'com.atlassian.auiplugin:split_aui.behaviour.key-code', location = 'aui.chunk.f3d347ad8af953bdd8b5--4a2d9f6ed2ff3aaa33ed.js' */ 668"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8208],{748:(u,a,e)=>{e.r(a),e.d(a,{keyCode:()=>i.default});var i=e(2390)}},u=>{u.O(0,[5131,9121],(()=>{return a=748,u(u.s=a);var a}));u.O()}]); 669}catch(e){WRMCB(e)}; 670; 671try { 672/* module-key = 'jira.webresources:jira-key-code', location = '/static/util/key-code.js' */ 673define("jira/util/key-code",[],(function(){"use strict";return AJS.keyCode})); 674}catch(e){WRMCB(e)}; 675; 676try { 677/* module-key = 'jira.webresources:jira-urlhelpers', location = '/static/util/urls.js' */ 678define("jira/util/urls",["exports"],(function(t){"use strict";t.atl_token=function(){var t=document.getElementById("atlassian-token");return t&&t.getAttribute?t.getAttribute("content"):void 0}})); 679}catch(e){WRMCB(e)}; 680; 681try { 682/* module-key = 'jira.webresources:jira-smart-ajax', location = '/includes/ajs/ajax/SmartAjax.js' */ 683define("jira/ajs/ajax/smart-ajax",["jira/util/formatter","jira/util/logger","jira/util/data/meta","jquery"],(function(t,a,r,e){"use strict";function n(t,r,e){var n=r?"["+r+"] ":" ";
683a.log("ajax"+n+t+" : "+e)}function s(t,a){try{return t()}catch(t){return a}}var o={SmartAjaxResult:function(t,a,r,e,n,o){var u={successful:n,status:s((function(){return t.status}),0),statusText:r,errorThrown:o,readyState:t.readyState,hasData:null!=e&&e.length>0,data:e,xhr:t,aborted:t.aborted,requestId:a,validationError:!(400!==t.status||!e||!e.errors),toString:function(){return"{\nsuccessful : "+this.successful+",\nstatus : "+this.status+",\nstatusText : "+this.statusText+",\nhasData : "+this.hasData+",\nreadyState : "+this.readyState+",\nrequestId : "+this.requestId+",\naborted : "+this.aborted+",\n}"}};return u}};o.SmartAjaxResult.ERROR="error";o.SmartAjaxResult.TIMEOUT="timeout";o.SmartAjaxResult.NOTMODIFIED="notmodified";o.SmartAjaxResult.PARSEERROR="parseerror";o.makeRequest=function(t){var a,r,i,c={},m=(a=new Date,r=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0),i=a.getTime()-r.getTime(),Math.max(Math.floor(i),1)),l=function(a,r,u,i){if(!i){var l=s((function(){return a.responseText}),"");i=c=new o.SmartAjaxResult(a,m,r,l,!1,u)}n("error",i.requestId,i);e.isFunction(t.error)&&t.error(a,r,u,i)},x={jqueryAjaxFn:e.ajax,headers:{"X-AUSERNAME":encodeURIComponent(u())}},j=e.extend(!0,{},x,t);j.error=l;j.success=function(a,r,n){if(n.status<100){c=new o.SmartAjaxResult(n,m,o.SmartAjaxResult.ERROR,"",!1);l(n,o.SmartAjaxResult.ERROR,void 0,c)}else{c=new o.SmartAjaxResult(n,m,r,a,!0);e.isFunction(t.success)&&t.success(a,r,n,c)}};j.complete=function(a,r){e.isFunction(t.complete)&&t.complete(a,r,c)};var d,f=j.jqueryAjaxFn.apply(j,[j]);try{f.abort=(d=f.abort,function(){n("aborted",m,"");f.aborted=!0;if(e.isFunction(d))try{d.apply(f,arguments)}catch(t){}})}catch(t){}return f};o.buildDialogErrorContent=function(a,r){var e=Math.floor(a.status/100);
683return a.hasData&&4!==e?c(AJS.extractBodyFromResponse(a.data)):function(a,r){var e='<div class="dialog-error"><p>'+a+"</p><p>"+"Close this dialog and press refresh in your browser"+"</p></div>";r||(e="<h1>"+"Communications Breakdown"+"</h1>"+e);return c(e)}(i(a),r)};o.buildSimpleErrorContent=function(t,a){return i(t)};function u(){var t=r.get("remote-user");return void 0===t?"undefined":t}function i(a){return a.statusText===o.SmartAjaxResult.TIMEOUT?"The call to the Jira server did not complete within the timeout period. We are unsure of the result of this operation.":401===a.status?"You are not authorised to perform this operation. Please log in.":a.hasData?"The Jira server was contacted but has returned an error response. We are unsure of the result of this operation.":"The Jira server could not be contacted. This may be a temporary glitch or the server may be down."}function c(t){var a=e('<div class="ajaxerror"/>');a.append(t);return a}return o}));AJS.namespace("JIRA.SmartAjax",null,require("jira/ajs/ajax/smart-ajax"));AJS.namespace("jira.ajax",null,require("jira/ajs/ajax/smart-ajax")); 684}catch(e){WRMCB(e)}; 685; 686try { 687/* module-key = 'jira.webresources:jira-objects', location = '/static/util/objects.js' */ 688function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}define("jira/util/objects",["jquery","exports"],(function(t,o){"use strict";o.begetObject=function(t){var o=function(){};o.prototype=t;return new o};o.copyObject=function(e,n){var r=t.isArray(e)?[]:{};t.each(e,(function(e,c){"object"!==_typeof(c)||null===c||c instanceof t?r[e]=c:!1!==n&&(r[e]=o.copyObject(c,n))}));return r}})); 689}catch(e){WRMCB(e)}; 690; 691try { 692/* module-key = 'jira.webresources:keyboard-event-extensions', location = '/includes/jquery/plugins/keyevents/keyevents.js' */ 693!function(e){var t={8:"Backspace",9:"Tab",13:"Return",16:"Shift",17:"Control",18:"Alt",27:"Esc",32:"Spacebar",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",46:"Del"},n={16:"Shift",17:"Control",18:"Alt"},r=0;i("keydown",(function(e){if(e.which in n){if(e.which===r)return null;r=e.which}else r=0;return t[e.which]||null}),"aui:keydown");i("keypress",(function(e){var t=e.altKey&&e.ctrlKey;r=0;switch(e.which){case 0:case 8:case 9:case 27:break;default:if(t||!e.ctrlKey&&!e.metaKey)return String.fromCharCode(e.which)}return null}),"aui:keypress");i("keyup",(function(e){e.which===r&&(r=0);return t[e.which]||null}),"aui:keyup");function i(t,n,r){var i=0;e.event.special[r]={setup:function(){0===i&&e(document).bind(t,c);i++},teardown:function(){0===--i&&e(document).unbind(t,c)}};function c(t){var i=n(t);if(i){var c=new e.Event(r);c.key=i;if("aui:keypress"!==r){c.shiftKey=t.shiftKey;c.ctrlKey=t.ctrlKey;c.altKey=t.altKey}var u=t.target;if((9===u.nodeType?u:u.ownerDocument)!==document){c.target=u;arguments[0]=c;e.event.trigger(c,arguments,document,!0)}else e(u).trigger(c);c.isDefaultPrevented()&&t.preventDefault()}}}}(jQuery); 694}catch(e){WRMCB(e)}; 695; 696try { 697/* module-key = 'jira.webresources:jira-base-control', location = '/includes/lib/class/Class.js' */ 698define("jira/lib/class",["jira/util/objects","jquery"],(function(t,e){var n=!1,i=/xyz/.test((function(){xyz}))?/\b_super\b/:/.*/,r=function(){const t={};this._subscribeToEvent=function(e,n){t[e]||(t[e]=[]);t[e].push(n)};this._publishEvent=function(e,n){if(t[e])for(const i of t[e])i(n)}};r.extend=function(){var r,o=this.prototype;if(arguments.length>1){var s,u=e.makeArray(arguments);r=u.pop();e.each(u,(function(t,e){s=s?s.extend(e):e}));return s.extend(this.prototype).extend(r)}r=arguments[0];n=!0;var c=new this;n=!1;for(var f in r)if(c[f]="function"==typeof r[f]&&"function"==typeof o[f]&&i.test(r[f]))c[f]=function(t,e){return function(){var n=this._super;this._super=o[t];var i=e.apply(this,arguments);this._super=n;return i}}(f,r[f]);else if("object"==typeof o[f]){var p=t.begetObject(r[f]);e.each(o[f],(function(n,i){if(p[n]){if("object"==typeof p[n]){var r=t.begetObject(p[n]);e.each(i,(function(t,e){r[t]||(r[t]=e)}));p[n]=r}}else p[n]=i}));c[f]=p}else c[f]=r[f];function a(){!n&&this.init&&this.init.apply(this,arguments)}a.fn=a.prototype=c;a.constructor=a;a.extend=arguments.callee;return a};r.prototype.bind=function(t,n){e(this).bind(t,n);return this};r.prototype.trigger=function(t){var n=e(this),i=[].slice.call(arguments,1
698);this._publishEvent(t,i);t=new e.Event(t);i.unshift(t);n.trigger.apply(n,i);return!t.isDefaultPrevented()};r.prototype.on=function(t,e){this._subscribeToEvent(t,e)};return r}));AJS.namespace("Class",null,require("jira/lib/class")); 699}catch(e){WRMCB(e)}; 700; 701try { 702/* module-key = 'jira.webresources:jira-base-control', location = '/includes/ajs/control/Control.js' */ 703function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}define("jira/ajs/control",["jira/lib/class","jquery"],(function(t,e){"use strict";return t.extend({INVALID:"INVALID",_throwReadOnlyError:function(t){new Error(this.CLASS_SIGNATURE+": Sorry ["+t+"] is a read-only property")},_assignEvents:function(t,n){this._unassignEvents(t,n);if("string"==typeof n)for(var i in this._events[t])e(document).delegate(n,i,this._getDispatcher(t,i));else{n=e(n);for(var o in this._events[t])n.bind(o,this._getDispatcher(t,o))}return this},_unassignEvents:function(t,n){if("string"==typeof n)for(var i in this._events[t])e(document).undelegate(n,i,this._getDispatcher(t,i));else{n=e(n);for(var o in this._events[t])n.unbind(o,this._getDispatcher(t,o))}},_getDispatcher:function(t,n){var i=t+"/"+n;this._dispatchers||(this._dispatchers={});if(!this._dispatchers[i]){var o=this._events[t][n],r=this;this._dispatchers[i]=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return o.call.apply(o,[r,t,e(this),r].concat(i))}}return this._dispatchers[i]},_isValidInput:function(){return!0},_handleKeyEvent:function(t){if(this._isValidInput(t))if("input"===t.type)"function"==typeof this.onEdit&&this.onEdit(t);else{var e=this.keys&&this.keys[t.key];"function"==typeof e&&e.call(this,t)}},getCustomEventName:function(t){return(this.CLASS_SIGNATURE||"")+"_"+t},_getCustomEventArgs:function(){return[this]},_supportsBoxShadow:function(){var t=document.body.style;return void 0!==t.WebkitBoxShadow||void 0!==t.MozBoxShadow||void 0!==t.boxShadow},_setOptions:function(t){var n,i;((t=t||{})instanceof e||"string"==typeof t||"object"===_typeof(t)&&t.nodeName)&&(t={element:t});i=(n=e(t.element)).getOptionsFromAttributes();this.options=e.extend(!0,this._getDefaultOptions(t),i,t);this.options.element=n;if(0===n.length)return this.INVALID},getCaret:function(t){var e=t.selectionStart;if(e>=0)return t.selectionEnd>e?-1:e;if(document.selection){var n=document.selection.createRange();if(0===n.text.length){var i=n.duplicate();i.moveToElementText(t);i.setEndPoint("EndToStart",n);return i.text.length}}return-1},_render:function(){var t,e=arguments[0],n=[];for(t=1;t<arguments.length;t++)n.push(arguments[t]);return this._renders[e].apply(this,n)}})}));AJS.namespace("AJS.Control",null,require("jira/ajs/control")); 704}catch(e){WRMCB(e)}; 705; 706try { 707/* module-key = 'com.atlassian.plugin.jslibs:underscore-1.5.2', location = 'libs/underscore/1.5.2/underscore-1.5.2.js' */ 708(function(t){define("atlassian/libs/underscore-1.5.2",function(){var w={};t.call(w);return"undefined"!==typeof exports?"undefined"!==typeof module&&module.exports?module.exports.noConflict():exports.noConflict():w._.noConflict()})})(function(){(function(){var t=this,w=t._,x={},n=Array.prototype,y=Object.prototype,B=n.push,l=n.slice,z=n.concat,u=y.toString,U=y.hasOwnProperty,J=n.forEach,K=n.map,L=n.reduce,M=n.reduceRight,N=n.filter,O=n.every,P=n.some,A=n.indexOf,Q=n.lastIndexOf;y=Array.isArray;var V= 709Object.keys,C=Function.prototype.bind,c=function(a){if(a instanceof c)return a;if(!(this instanceof c))return new c(a);this._wrapped=a};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=c),exports._=c):t._=c;c.VERSION="1.5.2";var m=c.each=c.forEach=function(a,b,d){if(null!=a)if(J&&a.forEach===J)a.forEach(b,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f&&b.call(d,a[e],e,a)!==x;e++);else{var g=c.keys(a);e=0;for(f=g.length;e<f&&b.call(d,a[g[e]], 710g[e],a)!==x;e++);}};c.map=c.collect=function(a,b,d){var e=[];
710if(null==a)return e;if(K&&a.map===K)return a.map(b,d);m(a,function(f,g,h){e.push(b.call(d,f,g,h))});return e};c.reduce=c.foldl=c.inject=function(a,b,d,e){var f=2<arguments.length;null==a&&(a=[]);if(L&&a.reduce===L)return e&&(b=c.bind(b,e)),f?a.reduce(b,d):a.reduce(b);m(a,function(g,h,k){f?d=b.call(e,d,g,h,k):(d=g,f=!0)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};c.reduceRight=c.foldr=function(a,b, 711d,e){var f=2<arguments.length;null==a&&(a=[]);if(M&&a.reduceRight===M)return e&&(b=c.bind(b,e)),f?a.reduceRight(b,d):a.reduceRight(b);var g=a.length;if(g!==+g){var h=c.keys(a);g=h.length}m(a,function(k,p,q){p=h?h[--g]:--g;f?d=b.call(e,d,a[p],p,q):(d=a[p],f=!0)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};c.find=c.detect=function(a,b,d){var e;R(a,function(f,g,h){if(b.call(d,f,g,h))return e=f,!0});return e};c.filter=c.select=function(a,b,d){var e=[];if(null== 712a)return e;if(N&&a.filter===N)return a.filter(b,d);m(a,function(f,g,h){b.call(d,f,g,h)&&e.push(f)});return e};c.reject=function(a,b,d){return c.filter(a,function(e,f,g){return!b.call(d,e,f,g)},d)};c.every=c.all=function(a,b,d){b||(b=c.identity);var e=!0;if(null==a)return e;if(O&&a.every===O)return a.every(b,d);m(a,function(f,g,h){if(!(e=e&&b.call(d,f,g,h)))return x});return!!e};var R=c.some=c.any=function(a,b,d){b||(b=c.identity);var e=!1;if(null==a)return e;if(P&&a.some===P)return a.some(b,d);m(a, 713function(f,g,h){if(e||(e=b.call(d,f,g,h)))return x});return!!e};c.contains=c.include=function(a,b){return null==a?!1:A&&a.indexOf===A?-1!=a.indexOf(b):R(a,function(d){return d===b})};c.invoke=function(a,b){var d=l.call(arguments,2),e=c.isFunction(b);return c.map(a,function(f){return(e?b:f[b]).apply(f,d)})};c.pluck=function(a,b){return c.map(a,function(d){return d[b]})};c.where=function(a,b,d){return c.isEmpty(b)?d?void 0:[]:c[d?"find":"filter"](a,function(e){for(var f in b)if(b[f]!==e[f])return!1; 714return!0})};c.findWhere=function(a,b){return c.where(a,b,!0)};c.max=function(a,b,d){if(!b&&c.isArray(a)&&a[0]===+a[0]&&65535>a.length)return Math.max.apply(Math,a);if(!b&&c.isEmpty(a))return-Infinity;var e={computed:-Infinity,value:-Infinity};m(a,function(f,g,h){g=b?b.call(d,f,g,h):f;g>e.computed&&(e={value:f,computed:g})});return e.value};c.min=function(a,b,d){if(!b&&c.isArray(a)&&a[0]===+a[0]&&65535>a.length)return Math.min.apply(Math,a);if(!b&&c.isEmpty(a))return Infinity;var e={computed:Infinity, 715value:Infinity};m(a,function(f,g,h){g=b?b.call(d,f,g,h):f;g<e.computed&&(e={value:f,computed:g})});return e.value};c.shuffle=function(a){var b,d=0,e=[];m(a,function(f){b=c.random(d++);e[d-1]=e[b];e[b]=f});return e};c.sample=function(a,b,d){return 2>arguments.length||d?a[c.random(a.length-1)]:c.shuffle(a).slice(0,Math.max(0,b))};var D=function(a){return c.isFunction(a)?a:function(b){return b[a]}};c.sortBy=function(a,b,d){var e=D(b);return c.pluck(c.map(a,function(f,g,h){return{value:f,index:g,criteria:e.call(d, 716f,g,h)}}).sort(function(f,g){var h=f.criteria,k=g.criteria;if(h!==k){if(h>k||void 0===h)return 1;if(h<k||void 0===k)return-1}return f.index-g.index}),"value")};var E=function(a){return function(b,d,e){var f={},g=null==d?c.identity:D(d);m(b,function(h,k){k=g.call(e,h,k,b);a(f,k,h)});return f}};c.groupBy=E(function(a,b,d){(c.has(a,b)?a[b]:a[b]=[]).push(d)});c.indexBy=E(function(a,b,d){a[b]=d});c.countBy=E(function(a,b){c.has(a,b)?a[b]++:a[b]=1});c.sortedIndex=function(a,b,d,e){d=null==d?c.identity: 717D(d);b=d.call(e,b);for(var f=0,g=a.length;f<g;){var h=f+g>>>1;d.call(e,a[h])<b?f=h+1:g=h}return f};c.toArray=function(a){return a?c.isArray(a)?l.call(a):a.length===+a.length?c.map(a,c.identity):c.values(a):[]};c.size=function(a){return null==a?0:a.length===+a.length?a.length:c.keys(a).length};c.first=c.head=c.take=function(a,b,d){if(null!=a)return null==b||d?a[0]:l.call(a,0,b)};c.initial=function(a,b,d){return l.call(a,0,a.length-(null==b||d?1:b))};c.last=function(a,b,d){if(null!=a)return null==b|| 718d?a[a.length-1]:l.call(a,Math.max(a.length-b,0))};c.rest=c.tail=c.drop=function(a,b,d){return l.call(a,null==b||d?1:b)};c.compact=function(a){return c.filter(a,c.identity)};var S=function(a,b,d){if(b&&c.every(a,c.isArray))return z.apply(d,a);m(a,function(e){c.isArray(e)||c.isArguments(e)?b?B.apply(d,e):S(e,b,d):d.push(e)});return d};c.flatten=function(a,b){return S(a,b,[])};
718c.without=function(a){return c.difference(a,l.call(arguments,1))};c.uniq=c.unique=function(a,b,d,e){c.isFunction(b)&&(e=d,d= 719b,b=!1);d=d?c.map(a,d,e):a;var f=[],g=[];m(d,function(h,k){(b?k&&g[g.length-1]===h:c.contains(g,h))||(g.push(h),f.push(a[k]))});return f};c.union=function(){return c.uniq(c.flatten(arguments,!0))};c.intersection=function(a){var b=l.call(arguments,1);return c.filter(c.uniq(a),function(d){return c.every(b,function(e){return 0<=c.indexOf(e,d)})})};c.difference=function(a){var b=z.apply(n,l.call(arguments,1));return c.filter(a,function(d){return!c.contains(b,d)})};c.zip=function(){for(var a=c.max(c.pluck(arguments, 720"length").concat(0)),b=Array(a),d=0;d<a;d++)b[d]=c.pluck(arguments,""+d);return b};c.object=function(a,b){if(null==a)return{};for(var d={},e=0,f=a.length;e<f;e++)b?d[a[e]]=b[e]:d[a[e][0]]=a[e][1];return d};c.indexOf=function(a,b,d){if(null==a)return-1;var e=0,f=a.length;if(d)if("number"==typeof d)e=0>d?Math.max(0,f+d):d;else return e=c.sortedIndex(a,b),a[e]===b?e:-1;if(A&&a.indexOf===A)return a.indexOf(b,d);for(;e<f;e++)if(a[e]===b)return e;return-1};c.lastIndexOf=function(a,b,d){if(null==a)return-1; 721var e=null!=d;if(Q&&a.lastIndexOf===Q)return e?a.lastIndexOf(b,d):a.lastIndexOf(b);for(d=e?d:a.length;d--;)if(a[d]===b)return d;return-1};c.range=function(a,b,d){1>=arguments.length&&(b=a||0,a=0);d=arguments[2]||1;for(var e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};var F=function(){};c.bind=function(a,b){var d;if(C&&a.bind===C)return C.apply(a,l.call(arguments,1));if(!c.isFunction(a))throw new TypeError;var e=l.call(arguments,2);return d=function(){if(!(this instanceof 722d))return a.apply(b,e.concat(l.call(arguments)));F.prototype=a.prototype;var f=new F;F.prototype=null;var g=a.apply(f,e.concat(l.call(arguments)));return Object(g)===g?g:f}};c.partial=function(a){var b=l.call(arguments,1);return function(){return a.apply(this,b.concat(l.call(arguments)))}};c.bindAll=function(a){var b=l.call(arguments,1);if(0===b.length)throw Error("bindAll must be passed function names");m(b,function(d){a[d]=c.bind(a[d],a)});return a};c.memoize=function(a,b){var d={};b||(b=c.identity); 723return function(){var e=b.apply(this,arguments);return c.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};c.delay=function(a,b){var d=l.call(arguments,2);return setTimeout(function(){return a.apply(null,d)},b)};c.defer=function(a){return c.delay.apply(c,[a,1].concat(l.call(arguments,1)))};c.throttle=function(a,b,d){var e,f,g,h=null,k=0;d||(d={});var p=function(){k=!1===d.leading?0:new Date;h=null;g=a.apply(e,f)};return function(){var q=new Date;k||!1!==d.leading||(k=q);var r=b-(q-k);e=this;f=arguments; 7240>=r?(clearTimeout(h),h=null,k=q,g=a.apply(e,f)):h||!1===d.trailing||(h=setTimeout(p,r));return g}};c.debounce=function(a,b,d){var e,f,g,h,k;return function(){g=this;f=arguments;h=new Date;var p=function(){var r=new Date-h;r<b?e=setTimeout(p,b-r):(e=null,d||(k=a.apply(g,f)))},q=d&&!e;e||(e=setTimeout(p,b));q&&(k=a.apply(g,f));return k}};c.once=function(a){var b=!1,d;return function(){if(b)return d;b=!0;d=a.apply(this,arguments);a=null;return d}};c.wrap=function(a,b){return function(){var d=[a];B.apply(d, 725arguments);return b.apply(this,d)}};c.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;0<=d;d--)b=[a[d].apply(this,b)];return b[0]}};c.after=function(a,b){return function(){if(1>--a)return b.apply(this,arguments)}};c.keys=V||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],d;for(d in a)c.has(a,d)&&b.push(d);return b};c.values=function(a){for(var b=c.keys(a),d=b.length,e=Array(d),f=0;f<d;f++)e[f]=a[b[f]];return e};c.pairs=function(a){for(var b= 726c.keys(a),d=b.length,e=Array(d),f=0;f<d;f++)e[f]=[b[f],a[b[f]]];return e};c.invert=function(a){for(var b={},d=c.keys(a),e=0,f=d.length;e<f;e++)b[a[d[e]]]=d[e];return b};c.functions=c.methods=function(a){var b=[],d;for(d in a)c.isFunction(a[d])&&b.push(d);return b.sort()};c.extend=function(a){m(l.call(arguments,1),function(b){if(b)for(var d in b)a[d]=b[d]});return a};c.pick=function(a){var b={}
726,d=z.apply(n,l.call(arguments,1));m(d,function(e){e in a&&(b[e]=a[e])});return b};c.omit=function(a){var b= 727{},d=z.apply(n,l.call(arguments,1)),e;for(e in a)c.contains(d,e)||(b[e]=a[e]);return b};c.defaults=function(a){m(l.call(arguments,1),function(b){if(b)for(var d in b)void 0===a[d]&&(a[d]=b[d])});return a};c.clone=function(a){return c.isObject(a)?c.isArray(a)?a.slice():c.extend({},a):a};c.tap=function(a,b){b(a);return a};var G=function(a,b,d,e){if(a===b)return 0!==a||1/a==1/b;if(null==a||null==b)return a===b;a instanceof c&&(a=a._wrapped);b instanceof c&&(b=b._wrapped);var f=u.call(a);if(f!=u.call(b))return!1; 728switch(f){case "[object String]":return a==String(b);case "[object Number]":return a!=+a?b!=+b:0==a?1/a==1/b:a==+b;case "[object Date]":case "[object Boolean]":return+a==+b;case "[object RegExp]":return a.source==b.source&&a.global==b.global&&a.multiline==b.multiline&&a.ignoreCase==b.ignoreCase}if("object"!=typeof a||"object"!=typeof b)return!1;for(var g=d.length;g--;)if(d[g]==a)return e[g]==b;g=a.constructor;var h=b.constructor;if(g!==h&&!(c.isFunction(g)&&g instanceof g&&c.isFunction(h)&&h instanceof 729h))return!1;d.push(a);e.push(b);g=0;h=!0;if("[object Array]"==f){if(g=a.length,h=g==b.length)for(;g--&&(h=G(a[g],b[g],d,e)););}else{for(var k in a)if(c.has(a,k)&&(g++,!(h=c.has(b,k)&&G(a[k],b[k],d,e))))break;if(h){for(k in b)if(c.has(b,k)&&!g--)break;h=!g}}d.pop();e.pop();return h};c.isEqual=function(a,b){return G(a,b,[],[])};c.isEmpty=function(a){if(null==a)return!0;if(c.isArray(a)||c.isString(a))return 0===a.length;for(var b in a)if(c.has(a,b))return!1;return!0};c.isElement=function(a){return!(!a|| 7301!==a.nodeType)};c.isArray=y||function(a){return"[object Array]"==u.call(a)};c.isObject=function(a){return a===Object(a)};m("Arguments Function String Number Date RegExp".split(" "),function(a){c["is"+a]=function(b){return u.call(b)=="[object "+a+"]"}});c.isArguments(arguments)||(c.isArguments=function(a){return!(!a||!c.has(a,"callee"))});"function"!==typeof/./&&(c.isFunction=function(a){return"function"===typeof a});c.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};c.isNaN=function(a){return c.isNumber(a)&& 731a!=+a};c.isBoolean=function(a){return!0===a||!1===a||"[object Boolean]"==u.call(a)};c.isNull=function(a){return null===a};c.isUndefined=function(a){return void 0===a};c.has=function(a,b){return U.call(a,b)};c.noConflict=function(){t._=w;return this};c.identity=function(a){return a};c.times=function(a,b,d){for(var e=Array(Math.max(0,a)),f=0;f<a;f++)e[f]=b.call(d,f);return e};c.random=function(a,b){null==b&&(b=a,a=0);return a+Math.floor(Math.random()*(b-a+1))};var v={escape:{"\x26":"\x26amp;","\x3c":"\x26lt;", 732"\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;"}};v.unescape=c.invert(v.escape);var W={escape:new RegExp("["+c.keys(v.escape).join("")+"]","g"),unescape:new RegExp("("+c.keys(v.unescape).join("|")+")","g")};c.each(["escape","unescape"],function(a){c[a]=function(b){return null==b?"":(""+b).replace(W[a],function(d){return v[a][d]})}});c.result=function(a,b){if(null!=a)return b=a[b],c.isFunction(b)?b.call(a):b};c.mixin=function(a){m(c.functions(a),function(b){var d=c[b]=a[b];c.prototype[b]=function(){var e= 733[this._wrapped];B.apply(e,arguments);return H.call(this,d.apply(c,e))}})};var X=0;c.uniqueId=function(a){var b=++X+"";return a?a+b:b};c.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var I=/(.)^/,Y={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},Z=/\\|'|\r|\n|\t|\u2028|\u2029/g,aa=/^\s*(\w|\$)+\s*$/;c.template=function(a,b,d){d=c.defaults({},d,c.templateSettings);var e=new RegExp([(d.escape||I).source,(d.interpolate|| 734I).source,(d.evaluate||I).source].join("|")+"|$","g"),f=0,g="__p+\x3d'";a.replace(e,function(k,p,q,r,T){g+=a.slice(f,T).replace(Z,function(ba){return"\\"+Y[ba]});p&&(g+="'+\n((__t\x3d("+p+"))\x3d\x3dnull?'':_.escape(__t))+\n'");q&&(g+="'+\n((__t\x3d("+q+"))\x3d\x3dnull?'':__t)+\n'");r&&(g+="';\n"+r+"\n__p+\x3d'");f=T+k.length;return k});g+="';\n";if(d=d.variable){if(!aa.test(d))throw Error(d);}else g="with(obj||{}){\n"+g+"}\n",d="obj";g="var __t,__p\x3d'',__j\x3dArray.prototype.join,print\x3dfunction(){__p+\x3d__j.call(arguments,'');};\n"+ 735g+"return __p;\n";try{var h=new Function(d,"_",g)}catch(k){throw k.source=g,k;}if(b)return h(b,c);b=function(k){return h.call(this,k,c)};
735b.source="function("+d+"){\n"+g+"}";return b};c.chain=function(a){return c(a).chain()};var H=function(a){return this._chain?c(a).chain():a};c.mixin(c);m("pop push reverse shift sort splice unshift".split(" "),function(a){var b=n[a];c.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);"shift"!=a&&"splice"!=a||0!==d.length||delete d[0];return H.call(this, 736d)}});m(["concat","join","slice"],function(a){var b=n[a];c.prototype[a]=function(){return H.call(this,b.apply(this._wrapped,arguments))}});c.extend(c.prototype,{chain:function(){this._chain=!0;return this},value:function(){return this._wrapped}})}).call(this)}); 737}catch(e){WRMCB(e)}; 738; 739try { 740/* module-key = 'jira.webresources:underscore-1.5.2', location = '/static/lib/amd-shims/underscore-amd.js' */ 741define("underscore",["atlassian/libs/underscore-1.5.2"],(function(e){return e}));AJS.namespace("_",window,require("underscore")); 742}catch(e){WRMCB(e)}; 743; 744try { 745/* module-key = 'jira.webresources:browser-properties', location = '/static/lib/internal/util/navigator.js' */ 746define("internal/util/navigator",["jquery","underscore","exports"],(function(n,r,e){"use strict";var t=window.navigator.userAgent,i=window.navigator.platform;function o(n){return/\bTrident\b/.test(n)}var u="Mozilla/5.0 (Windows NT 10.0; Win64; x64)";function s(n){return n==u||/(Edge)\/(\d+)\.(\d+)/.test(n)}var c=r.once((function(){return/Chrome/.test(e._getUserAgent())})),a=r.once((function(){return o(t)||f()})),f=r.once((function(){return s(t)})),d=r.once((function(){return n.browser.mozilla&&!a()})),g=r.once((function(){return n.browser.safari&&!c()})),l=r.once((function(){return n.browser.webkit})),w=r.once((function(){return parseInt(n.browser.version,10)})),m=r.once((function(){return-1!==e._getPlatform().indexOf("Linux")})),b=r.once((function(){return-1!==e._getPlatform().indexOf("Mac")})),v=r.once((function(){return-1!==e._getPlatform().indexOf("Win")}));e.isChrome=c;e.isIE=a;e.isEdge=f;e.isMozilla=d;e.isSafari=g;e.isWebkit=l;e.majorVersion=w;e.isLinux=m;e.isMac=b;e.isWin=v;e._isTrident=o;e._getUserAgent=function(){return t};e._getPlatform=function(){return i};if(s(t)){n.browser.version=function(n){if(n==u)return 12;var r=n.match(/Edge\/(\d+)/);return r&&r[1]}(t);n.browser.mozilla=!1;n.browser.msie=!0}})); 747}catch(e){WRMCB(e)}; 748; 749try { 750/* module-key = 'jira.webresources:browser-properties', location = '/static/util/navigator.js' */ 751define("jira/util/navigator",["internal/util/navigator","jira/util/data/meta","jquery"],(function(e,r,i){"use strict";var t=i.extend({},e);t.isOpera=function(){return!0===i.browser.opera};t.modifierKey=function(){return r.get("keyboard-accesskey-modifier")};return t})); 752}catch(e){WRMCB(e)}; 753; 754try { 755/* module-key = 'jira.webresources:browser-properties', location = '/includes/ajs/browser/Navigator.js' */ 756!function(){"use strict";var i=require("jira/util/navigator");AJS.Navigator={family:function(){return i.isIE()?this.Families.INTERNET_EXPLORER:i.isMozilla()?this.Families.MOZILLA:i.isWebkit()?this.Families.WEBKIT:i.isOpera()?this.Families.OPERA:this.Families.UNKNOWN},modifierKey:function(){return i.modifierKey()},platform:function(){return this.Platform}};AJS.Navigator.Families={INTERNET_EXPLORER:"msie",MOZILLA:"mozilla",WEBKIT:"webkit",OPERA:"opera",UNKNOWN:"unknown"};AJS.Navigator.Platform={platform:i._getPlatform(),isIOS:function(){return"iPod"===this.platform||"iPhone"===this.platform||"iPad"===this.platform}}}(); 757}catch(e){WRMCB(e)}; 758; 759try { 760/* module-key = 'jira.webresources:top-same-origin-window', location = '/static/util/top-same-origin-window.js' */ 761define("jira/util/top-same-origin-window",(function(){"use strict";return function(n){var r,t=n;function e(n){try{if(null==n.location.href)return!1}catch(n){return!1}return!0}function i(n){return Boolean(n.AJS)}for(;!(r=n,r===r.parent)&&e(n.parent);)i(n=n.parent)&&(t=n);return t}})); 762}catch(e){WRMCB(e)}; 763; 764try { 765/* module-key = 'jira.webresources:jquery-escape-selector-polyfill', location = '/includes/jquery/plugins/escapeSelector/escapeSelector.js' */ 766define("jira/jquery/plugins/escapeSelector",["jquery"],(function(e){e.escapeSelector||(e.escapeSelector=CSS.escape);return e.escapeSelector}));require("jira/jquery/plugins/escapeSelector"); 767}catch(e){WRMCB(e)}; 768; 769try { 770/* module-key = 'jira.webresources:legacy-table-utils', location = '/includes/jira/tables/LegacyTableUtils.js' */ 771define("jira/tables/legacy-table-utils",["exports","jquery"],(function(l,e){"use strict";var s=function(l,s,a,t){var n=document.getElementById(l),o=document.getElementById(t),r=n.rows,i=!1,y=0,u=null,c=null;if(e(n).hasClass("aui")){s="";a="zebra"}for(var m=1;m<r.length;m++){var d=r[m];
771if("none"!==d.style.display){d.className=i?a:s;y++;i=!i}if("none"!==d.style.display){null==u&&(u=d);c=d}}null!=u&&(u.className=u.className+" first-row");null!=c&&(c.className=c.className+" last-row");if(o)if(0===y){n.style.display="none";o.style.display=""}else{n.style.display="";o.style.display="none"}};l.recolourTableRows=s;l.recolourSimpleTableRows=function(l){s(l,"rowNormal","rowAlternate",l+"_empty")}})); 772}catch(e){WRMCB(e)}; 773; 774try { 775/* module-key = 'jira.webresources:wrm-context-path', location = '/static/lib/amd-shims/wrm-context-path-amd.js' */ 776define("wrm/context-path",(function(){"use strict";return window.WRM.contextPath})); 777}catch(e){WRMCB(e)}; 778; 779try { 780/* module-key = 'com.atlassian.plugin.jslibs:cookie-1.0.0', location = 'libs/cookie/1.0.0/cookie-1.0.0.js' */ 781define("atlassian/libs/cookie-1.0.0",[],function(){var f={saveToConglomerate:function(a,b,c,d){var e=f.getValue(a);e=f.addOrAppendToValue(b,c,e);f.save(a,e,365,d)},readFromConglomerate:function(a,b,c){a=f.getValue(a);b=f.getValueFromCongolmerate(b,a);return null!=b?b:c},eraseFromConglomerate:function(a,b){f.saveToConglomerate(a,b,"")},getValueFromCongolmerate:function(a,b){null==b&&(b="");var c=a+"\x3d";b=b.split("|");for(var d=0;d<b.length;d++){for(var e=b[d];" "===e.charAt(0);)e=e.substring(1,e.length); 782if(0===e.indexOf(a))return e.substring(c.length,e.length)}return null},addOrAppendToValue:function(a,b,c){var d="";null==c&&(c="");c=c.split("|");for(var e=0;e<c.length;e++){var g=c[e];if(""!==g){for(;" "===g.charAt(0);)g=g.substring(1,g.length);0!==g.indexOf(a)&&(d+=g+"|")}}null!=b&&""!==b&&(a=a+"\x3d"+b,4020>d.length+a.length&&(d+=a));return d},getValue:function(a){a+="\x3d";for(var b=document.cookie.split(";"),c=0;c<b.length;c++){for(var d=b[c];" "===d.charAt(0);)d=d.substring(1,d.length);if(0=== 783d.indexOf(a))return unescape(d.substring(a.length,d.length))}return null},save:function(a,b,c,d){d||(d="/");if(c){var e=new Date;e.setTime(e.getTime()+864E5*c);c="; expires\x3d"+e.toGMTString()}else c="";document.cookie=a+"\x3d"+escape(b)+c+";path\x3d"+d},read:function(a,b){var c=f.getValue(a);return null!=c?c:b?(f.save(a,b,365),b):null},erase:function(a){f.save(a,"",-1)}};return f}); 784}catch(e){WRMCB(e)}; 785; 786try { 787/* module-key = 'jira.webresources:cookie', location = '/includes/jira/data/Cookie.js' */ 788define("jira/data/cookie",["wrm/context-path","atlassian/libs/cookie-1.0.0","underscore"],(function(e,n,o){"use strict";var t=o.clone(n),a=t.save,r=t.saveToConglomerate;t.save=function(n,o,t){return a(n,o,t,e())};t.saveToConglomerate=function(n,o,t){return r(n,o,t,e())};return t})); 789}catch(e){WRMCB(e)}; 790; 791try { 792/* module-key = 'jira.webresources:jquery-tooltip-proxy', location = '/includes/jquery/plugins/tooltip/tooltip.js' */ 793define("jira/tipsy",["jquery"],(function(i){i.fn.tipsy=function(){for(var i=arguments.length,t=new Array(i),r=0;r<i;r++)t[r]=arguments[r];this.tooltip&&this.tooltip.apply(this,t)}}));require("jira/tipsy"); 794}catch(e){WRMCB(e)}; 795; 796try { 797/* module-key = 'jira.webresources:assistive', location = '/static/util/assistive.js' */
798define("jira/util/assistive",["jira/util/navigator"],(function(t){"use strict";var e,n=50,i=t.isIE()?"innerText":"textContent",r=0;function a(t){setTimeout(t,n)}function u(t,e){if(" "===t.key||"Enter"===t.key){t.preventDefault();"function"==typeof e?e(t):t.target.click()}}return{wait:a,readText:function(t){if(!e){(e=document.createElement("div")).setAttribute("id","assistive-text");e.setAttribute("class","visually-hidden");e.setAttribute("aria-hidden","false");e.setAttribute("role","status");e.setAttribute("aria-live","assertive");e.setAttribute("aria-relevant","additions");document.body.appendChild(e)}e[i]=" ";a((function(){e[i]=t}))},createOrUpdateLabel:function(t,e){if(!e){e="label-".concat(r);r+=1}var n=document.getElementById(e);if(!n){(n=document.createElement("div")).setAttribute("id",e);n.setAttribute("class","visually-hidden");n.setAttribute("aria-hidden","false");document.body.appendChild(n)}n[i]=t;return e},handleSpaceEnter:u,handleClickSpaceEnter:function(t,e){"click"===t.type?e(t):u(t,e)},configureRovingTabindex:function(t,e){t.setAttribute("tabindex",0);var n='a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])';e&&(n=e);var i=t.querySelectorAll(n);i.forEach((function(t){return t.setAttribute("tabindex",-1)}));var r=0;function a(t){if("ArrowLeft"===t.key||"ArrowRight"===t.key){t.preventDefault();t.stopPropagation();i[r].setAttribute("tabindex",-1);var e;e="ArrowLeft"===t.key?0===r?i.length-1:r-1:r===i.length-1?0:r+1;i[e].focus();r=e}}function u(){if((i=t.querySelectorAll(n)).length){i.forEach((function(t){return t.setAttribute("tabindex",-1)}));r>=i.length&&(r=i.length-1);i[r].focus()}}function o(e){t.setAttribute("tabindex",-1);e.target.setAttribute("tabindex",0)}function d(e){if(e.relatedTarget&&!Array.from(i).includes(e.relatedTarget)){i[r].setAttribute("tabindex",-1);t.setAttribute("tabindex",0)}}t.addEventListener("keydown",a);t.addEventListener("focus",u);t.addEventListener("focusin",o);t.addEventListener("focusout",d);return function(){t.removeAttribute("tabindex");i.forEach((function(t){return t.setAttribute("tabindex",0)}));t.removeEventListener("keydown",a);t.removeEventListener("focus",u);t.removeEventListener("focusin",o);t.removeEventListener("focusout",d)}}}})); 799}catch(e){WRMCB(e)}; 800; 801try { 802/* module-key = 'jira.webresources:util-lite', location = '/static/util/elements.js' */ 803define("jira/util/elements",["jquery"],(function(e){"use strict";return{elementIsFocused:function(t){return t&&e(t).get(0)===document.activeElement},consumesKeyboardEvents:function(t){var n=t instanceof e?t:e(t);return!n.is(":button")&&(n.is(":input")||n.is("[contentEditable]"))}}})); 804}catch(e){WRMCB(e)}; 805; 806try { 807/* module-key = 'jira.webresources:util-lite', location = '/static/util/browser.js' */ 808define("jira/util/browser",["jira/util/key-code","jira/util/elements","aui/params","jquery","exports"],(function(e,t,n,a,o){"use strict";o.canAccessIframe=function(e){var t=a(e);return!/^(http|https):\/\//.test(t.attr("src"))||n.baseURL&&0===a.trim(t.attr("src")).indexOf(n.baseURL)};function r(n){var o=n.keyCode,r=e;if("keypress"!==n.type&&(o===r.DOWN||o===r.UP||o===r.LEFT||o===r.RIGHT)){var i=a(n.target);i.hasClass("scrollable")||t.consumesKeyboardEvents(i)||n.preventDefault()}}o.disableKeyboardScrolling=function(){a(document.body).bind("keydown",r)};o.enableKeyboardScrolling=function(){a(document.body).unbind("keydown",r)};o.isSelenium=function(){return window.name.toLowerCase().indexOf("selenium")>=0};o.reloadViaWindowLocation=function(e){o.reloadViaWindowLocation._delegate(e,window.location)};o.reloadViaWindowLocation._delegate=(i=/(jwupdated=[0-9]*)/,c=function(e){if(-1===e.indexOf("#"))return e;var t,n,a,o=e.indexOf("?"),r="".concat("jwupdated","=").concat((t=new Date,n=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0),a=(t.getTime()-n.getTime())/1e3,Math.max(Math.floor(a),1)));return e=-1===o?e.replace("#","?".concat(r,"#")):i.test(e)?e.replace(i,r):e.replace("?","?".concat(r,"&"))},function(e,t){var n=e||t.href,a=c(n);n===t.href?t.replace(a):t.assign(a)});var i,c})); 809}catch(e){WRMCB(e)}; 810; 811try { 812/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/browser/describeBrowser.js' */ 813define("jira/ajs/browser/describe-browser",["jira/util/navigator","jquery"],(function(e,i){"use strict";return function(){var r=[],s=e.isEdge()?"msie edge":e.isIE()?"msie":e.isSafari()?"webkit safari":e.isChrome()?"webkit chrome":e.isMozilla()?"mozilla":e.isOpera()?"o
813pera":"",a=e.majorVersion();r.push(s);if(e.isIE()){r.push("msie-"+a);for(;a>6;){--a;r.push("msie-gt-"+a)}}i("html").addClass(r.join(" "))}}));AJS.namespace("AJS.describeBrowser",null,require("jira/ajs/browser/describe-browser")); 814}catch(e){WRMCB(e)}; 815; 816try { 817/* module-key = 'jira.webresources:util-lite', location = '/static/util/forms.js' */ 818define("jira/util/forms",["jira/util/navigator","jira/util/key-code","jquery"],(function(t,e,r){"use strict";return{submitOnEnter:function(t){if(t.keyCode===e.ENTER&&t.target.form&&!t.ctrlKey&&!t.shiftKey){r(t.target.form).submit();return!1}return!0},submitOnCtrlEnter:function(e){if((e.ctrlKey||t.isMac()&&e.metaKey)&&e.target.form&&(13===e.keyCode||!t.isMac()&&10===e.keyCode)){r(e.target.form).submit();return!1}return!0},getMultiSelectValues:function(t){for(var e="",r=0;r<t.length;r++)t.options[r].selected&&t.options[r].value&&t.options[r].value.length>0&&(e="".concat(e," ").concat(t.options[r].value));return e},getMultiSelectValuesAsArray:function(t){for(var e=[],r=0;r<t.length;r++)t.options[r].selected&&t.options[r].value&&t.options[r].value.length>0&&(e[e.length]=t.options[r].value);return e}}})); 819}catch(e){WRMCB(e)}; 820; 821try { 822/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/copyobject/copyObject.js' */ 823AJS.namespace("AJS.copyObject",null,require("jira/util/objects").copyObject); 824}catch(e){WRMCB(e)}; 825; 826try { 827/* module-key = 'jira.webresources:util-lite', location = '/static/util/users/logged-in-user.js' */ 828define("jira/util/users/logged-in-user",["jira/util/data/meta"],(function(e){"use strict";var n={username:function(){return e.get("remote-user")},fullName:function(){return e.get("remote-user-fullname")},isAnonymous:function(){return""===e.get("remote-user")},isSysadmin:function(){return!!e.getBoolean("is-sysadmin")},isAdmin:function(){return!!e.getBoolean("is-admin")}};return n})); 829}catch(e){WRMCB(e)}; 830; 831try { 832/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/layer-constants.js' */ 833define("jira/ajs/layer/layer-constants",["exports"],(function(e){"use strict";e.LEFT="left";e.RIGHT="right";e.ACTIVE_CLASS="active";e.BOX_SHADOW_CLASS="box-shadow";e.LOADING_CLASS="loading";e.INTELLIGENT_GUESS="Intelligent Guess"})); 834}catch(e){WRMCB(e)}; 835; 836try { 837/* module-key = 'jira.webresources:util-lite', location = '/includes/jira/common/util.js' */ 838!function(){"use strict";var e=require("jira/util/events");AJS.namespace("JIRA.bind",null,e.bind);AJS.namespace("JIRA.unbind",null,e.unbind);AJS.namespace("JIRA.one",null,e.one);AJS.namespace("JIRA.trigger",null,e.trigger)}();!function(){"use strict";var e=require("jira/util/users/logged-in-user");AJS.namespace("JIRA.isAdmin",null,e.isAdmin);AJS.namespace("JIRA.isSysadmin",null,e.isSysadmin)}();!function(){"use strict";var e=require("jira/util/elements");AJS.namespace("AJS.elementIsFocused",null,e.elementIsFocused);AJS.namespace("AJS.consumesKeyboardEvents",null,e.consumesKeyboardEvents)}();!function(){"use strict";var e=require("jira/util/browser");AJS.namespace("AJS.canAccessIframe",null,e.canAccessIframe);AJS.namespace("AJS.isSelenium",null,e.isSelenium);AJS.namespace("AJS.reloadViaWindowLocation",null,e.reloadViaWindowLocation);AJS.namespace("AJS.enableKeyboardScrolling",null,e.enableKeyboardScrolling);AJS.namespace("AJS.disableKeyboardScrolling",null,e.disableKeyboardScrolling)}();!function(){"use strict";var e=require("jira/util/objects");AJS.namespace("begetObject",window,e.begetObject)}();!function(){"use strict";var e=require("jira/util/forms");AJS.namespace("submitOnEnter",window,e.submitOnEnter);AJS.namespace("submitOnCtrlEnter",window,e.submitOnCtrlEnter);AJS.namespace("getMultiSelectValues",window,e.getMultiSelectValues);AJS.namespace("getMultiSelectValuesAsArray",window,e.getMultiSelectValuesAsArray)}();!function(){"use strict";var e=require("jira/data/cookie");AJS.namespace("saveToConglomerateCookie",window,e.saveToConglomerate);AJS.namespace("readFromConglomerateCookie",window,e.readFromConglomerate);AJS.namespace("eraseFromConglomerateCookie",window,e.eraseFromConglomerate);AJS.namespace("getValueFromCongolmerate",window,e.getValueFromCongolmerate);AJS.namespace("addOrAppendToValue",window,e.addOrAppendToValue);AJS.namespace("getCookieValue",window,e.getValue);AJS.namespace("saveCookie",window,e.save);AJS.namespace("readCookie",window,e.read);AJS.namespace("eraseCookie",window,e.erase)}();jQuery.noConflict();jQuery.ajaxSettings.traditional=!0;!function(){"use strict";"contextPath"in window||AJS.namespace("contextPath",window,require("wrm/context-path")())}();!function(){"use strict";var e=require("jira/ajs/layer/layer-constants");AJS.namespace("AJS.LEFT",null,e.LEFT);AJS.namespace("AJS.RIGHT",null,e.RIGHT);
838AJS.namespace("AJS.ACTIVE_CLASS",null,e.ACTIVE_CLASS);AJS.namespace("AJS.BOX_SHADOW_CLASS",null,e.BOX_SHADOW_CLASS);AJS.namespace("AJS.LOADING_CLASS",null,e.LOADING_CLASS);AJS.namespace("AJS.INTELLIGENT_GUESS",null,e.INTELLIGENT_GUESS)}();!function(){"use strict";var e=/[.*+?|^$()[\]{\\]/g;RegExp.escape=function(a){return a.replace(e,"\\$&")}}();!function(){"use strict";var e=require("jquery");e.readData=function(a){var n={},o="";e(a).children().each((function(a){a%2?n[o]=e.trim(e(this).text()):o=e.trim(e(this).text())})).remove();e(a).remove();return n}}();String.prototype.escapejQuerySelector=function(){"use strict";return this.replace(/([:.])/g,"\\$1")};AJS.extractBodyFromResponse=function(e){"use strict";var a=e.match(/<body[^>]*>([\S\s]*)<\/body[^>]*>/);return a&&a.length>0?a[1]:e};AJS.isDevMode=function(){"use strict";return AJS.Meta.get("dev-mode")};!function(){"use strict";AJS.namespace("tryIt",window,(function(e,a){try{return e()}catch(e){return a}}))}();!function(){"use strict";AJS.namespace("arrayContains",window,(function(e,a){for(var n=0,o=e.length;n<o;n++)if(e[n]==a)return!0;return!1}))}();!function(){"use strict";var e=require("jquery");AJS.namespace("addClassName",window,(function(a,n){e("#"+a).addClass(n)}));AJS.namespace("removeClassName",window,(function(a,n){e("#"+a).removeClass(n)}))}();!function(){"use strict";function e(e){var a=document.getElementById(e);return a.value?e+"="+encodeURIComponent(a.value):""}AJS.namespace("getEscapedFieldValue",window,e);AJS.namespace("getEscapedFieldValues",window,(function(a){for(var n="",o=0;o<a.length;o++)n=n+"&"+e(a[o]);return n}))}();!function(){"use strict";var e=require("jquery"),a=require("jira/data/cookie"),n={toggleVisibility:function(n){var o=document.getElementById(n);if(o)if("1"===a.readFromConglomerateCookie("jira.conglomerate.cookie",n,"1")){o.style.display="none";e("#"+n+"header").removeClass("headerOpened").addClass("headerClosed");a.saveToConglomerateCookie("jira.conglomerate.cookie",n,"0")}else{o.style.display="";e("#"+n+"header").removeClass("headerClosed").addClass("headerOpened");a.eraseFromConglomerateCookie("jira.conglomerate.cookie",n)}}};AJS.namespace("GuiPrefs",window,n);AJS.namespace("toggle",window,(function(e){n.toggleVisibility(e)}))}();!function(){"use strict";var e=require("jquery"),a=require("jira/data/cookie");AJS.namespace("toggleDivsWithCookie",window,(function(e,n){var o=document.getElementById(e),r=document.getElementById(n);if("none"===o.style.display){r.style.display="none";o.style.display="block";a.saveToConglomerateCookie("jira.viewissue.cong.cookie",e,"1");a.saveToConglomerateCookie("jira.viewissue.cong.cookie",n,"0")}else{o.style.display="none";r.style.display="block";a.saveToConglomerateCookie("jira.viewissue.cong.cookie",n,"1");a.saveToConglomerateCookie("jira.viewissue.cong.cookie",e,"0")}}));function n(n,o,r){null==r&&(r="1");var i=document.getElementById(n);if(i)if("1"!==a.readFromConglomerateCookie(o,n,r)){i.style.display="none";e("#"+n+"header").removeClass("headerOpened").addClass("headerClosed")}else{i.style.display="";e("#"+n+"header").removeClass("headerClosed").addClass("headerOpened")}}AJS.namespace("restoreDivFromCookie",window,n);AJS.namespace("restore",window,(function(e){n(e,"jira.conglomerate.cookie","1")}))}();!function(){"use strict";var e=require("jira/tables/legacy-table-utils");AJS.namespace("recolourSimpleTableRows",window,e.recolourSimpleTableRows);AJS.namespace("recolourTableRows",window,e.recolourTableRows)}();!function(){"use strict";var e=require("jira/util/strings");AJS.namespace("htmlEscape",window,e.escapeHtml);AJS.namespace("AJS.escapeHTML",null,e.escapeHtml)}();!function(){"use strict";AJS.namespace("atl_token",window,require("jira/util/urls").atl_token)}(); 839}catch(e){WRMCB(e)}; 840; 841try { 842/* module-key = 'jira.webresources:util-lite', location = '/includes/jira/common/trace.js' */ 843AJS.namespace("JIRA.trace",null,require("jira/util/logger").trace); 844}catch(e){WRMCB(e)}; 845; 846try { 847/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/descriptor/Descriptor.js' */
848define("jira/ajs/descriptor",["jira/lib/class","jquery"],(function(e,t){"use strict";return e.extend({init:function(e){this._validate(e)&&(this.properties=t.extend(this._getDefaultOptions(),e))},allProperties:function(){return this.properties},_validate:function(e){this.REQUIRED_PROPERTIES&&t.each(this.REQUIRED_PROPERTIES,(function(t){if(void 0===e[t])throw new Error("AJS.Descriptor: expected property ["+t+"] but was undefined")}));return!0}})}));AJS.namespace("AJS.Descriptor",null,require("jira/ajs/descriptor")); 849}catch(e){WRMCB(e)}; 850; 851try { 852/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/input/Keyboard.js' */ 853define("jira/ajs/input/keyboard",["jira/util/navigator"],(function(e){"use strict";var r={},t={},n={},i={},o=i.SpecialKey={BACKSPACE:f("backspace",8,!0),TAB:f("tab",9,!0),RETURN:f("return",13,!0),SHIFT:f("shift",16),CTRL:f("ctrl",17),ALT:f("alt",18),PAUSE:f("pause",19),CAPS_LOCK:f("capslock",20),ESC:f("esc",27,!0),SPACE:f("space",32,!0),PAGE_UP:f("pageup",33),PAGE_DOWN:f("pagedown",34),END:f("end",35),HOME:f("home",36),LEFT:f("left",37),UP:f("up",38),RIGHT:f("right",39),DOWN:f("down",40),INSERT:f("insert",45),DELETE:f("del",46),F1:f("f1",112),F2:f("f2",113),F3:f("f3",114),F4:f("f4",115),F5:f("f5",116),F6:f("f6",117),F7:f("f7",118),F8:f("f8",119),F9:f("f9",120),F10:f("f10",121),F11:f("f11",122),F12:f("f12",123),NUMLOCK:f("numlock",144),SCROLL:f("scroll",145),META:f("meta",224)};function f(e,i,o){r[i]=e;t[e]=i;o&&(n[i]=!0);return e}o.eventType=function(){return e.isMozilla()?"keypress":"keydown"};o.fromKeyCode=function(e){return r[e]};o.toKeyCode=function(e){return t[e]};o.isAscii=function(e){return!!n[e]};o.isSpecialKey=function(e){return!!o.toKeyCode(e)};function a(e){return e.originalEvent||e}i.characterEntered=function(e){var r=a(e);if("keypress"===r.type){var t=u(r);if(null!==t&&(!o.isAscii(t)||o.fromKeyCode(t)===o.SPACE))return String.fromCharCode(t)}};function u(e){var r=a(e);return null==r.which?r.keyCode:0!==r.which&&0!==r.charCode?r.which:null}i.specialKeyEntered=function(r){r=a(r);if(e.isMozilla()){if("keypress"===r.type){var t=u(r);if(null===t)return o.fromKeyCode(r.keyCode);if(o.isAscii(t))return o.fromKeyCode(t)}}else if("keypress"!==r.type)return o.fromKeyCode(r.keyCode)};i.shortcutEntered=function(r){if((r=a(r)).type===o.eventType()){var t=i.specialKeyEntered(r),n="";r.altKey&&t!==o.ALT&&(n+=s(o.ALT));r.ctrlKey&&t!==o.CTRL&&(n+=s(o.CTRL));r.metaKey&&!r.ctrlKey&&t!==o.META&&(n+=s(o.META));r.shiftKey&&t!==o.SHIFT&&(n+=s(o.SHIFT));if(t)return n+t;if(n.length>0&&"shift+"!==n){var f=function(r){r=a(r);var t=i.specialKeyEntered(r);if(t)return t;if(e.isMozilla()){if("keypress"===r.type){var n=u(r);if(null!==n)return String.fromCharCode(n).toLowerCase()}}else if("keypress"!==r.type)return String.fromCharCode(r.keyCode).toLowerCase()}(r);if(f)return n+f}}};function s(e){return e+"+"}return i}));AJS.namespace("JIRA.Keyboard",null,require("jira/ajs/input/keyboard")); 854}catch(e){WRMCB(e)}; 855; 856try { 857/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/input/Mouse.js' */ 858define("jira/ajs/input/mouse",["jquery","jira/util/top-same-origin-window"],(function(e,i){"use strict";var t=i(window),n={},o=n.MotionDetector=function(){this.reset()};o.prototype.reset=function(){this._handler=null;this._x=null;this._y=null;this.moved=!1};o.prototype.wait=function(i){var n=this;if(!n._handler){this.reset();e(t.document).bind("mousemove",n._handler=function(e){if(n._x||n._y){if(e.pageX!==n._x||e.pageY!==n._y){n.unbind();n.moved=!0;i&&i.call(this,e)}}else{n._x=e.pageX;n._y=e.pageY}})}};o.prototype.unbind=function(){if(this._handler){e(t.document).unbind("mousemove",this._handler);this.reset()}};return n}));AJS.namespace("JIRA.Mouse",null,require("jira/ajs/input/mouse")); 859}catch(e){WRMCB(e)}; 860; 861try { 862/* module-key = 'jira.webresources:util-lite', location = '/includes/jquery/plugins/getoptionsfromattributes/getOptionsFromAttributes.js' */ 863!function(t){t.fn.getOptionsFromAttributes=function(){var e={};this.length&&t.each(this[0].attributes,(function(){var t,a=this.nodeValue,n=e;/^data-/.test(this.nodeName)&&(t=this.nodeName.replace(/^data-/,"").split("."),AJS.$.each(t,(function(e,r){r=(r=r.replace(/([a-z])-([a-z])/gi,(function(t,e,a){return e+a.toUpperCase()}))).replace(/_([a-z]+)/gi,(function(t,e){return e.toUpperCase()}));e===t.length-1?n[r]=a.match(/^(tru|fals)e$/i)?"true"==a.toLowerCase():a:n[r]||(n[r]={});n=n[r]})))}));return e}}(jQuery); 864}catch(e){WRMCB(e)}; 865; 866try { 867/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/ajax/initAjaxSetup.js' */ 868!function(){"use strict";require("jquery").ajaxSetup({timeout:6e4,async:!0,cache:!1,global:!0})}(); 869}catch(e){WRMCB(e)}; 870; 871try { 872/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/reasons.js' */ 873define("jira/ajs/layer/hide-reasons",[],(function(){"use strict";return{clickOutside:"clickOutside",toggle:"toggle",escPressed:"esc",cancelClicked:"c
873ancelClicked",submit:"submit",tabbedOut:"tabbedOut"}}));AJS.namespace("AJS.HIDE_REASON",null,require("jira/ajs/layer/hide-reasons")); 874}catch(e){WRMCB(e)}; 875; 876try { 877/* module-key = 'jira.webresources:util-lite', location = '/includes/ajs/layer/LayerManager.js' */ 878!function(){"use strict";var e=require("jira/util/events"),r=require("jira/util/events/types"),n=require("jira/util/strings"),i=require("jira/ajs/layer/hide-reasons"),t=require("jira/ajs/layer/layer-interactions"),u=require("jira/util/top-same-origin-window"),a=require("jquery"),o=require("underscore"),c=a(document);function l(e,r){"string"==typeof r&&(r=[r]);return o.any(r,(function(r){return n.contains(e,r)}))}e.bind("Dialog.beforeHide",(function(e){o.any(t.preventDialogHide(),(function(e){return e&&e.current}))&&e.preventDefault()}));e.bind("Dialog.show",(function(e){o.each(t.hideBeforeDialogShown(),(function(r){if(r&&r.current){r.current.hide();e.preventDefault()}}))}));c.bind("beforeBlurInput",(function(e){o.any(t.preventInputBlur(),(function(e){return e&&e.current}))&&e.preventDefault()}));r.BEFORE_INLINE_EDIT_CANCEL&&e.bind(r.BEFORE_INLINE_EDIT_CANCEL,(function(e,r,n,i){if(i===JIRA.Issues.CANCEL_REASON.escPressed){o.any(t.preventInlineEditCancel(),(function(e){return e&&e.current}))&&e.preventDefault()}}));function d(){return u(window)}function s(e){return(e.$layer||e.$popup||e.$||e.popup||e.element||e)[0]}function f(e){e.bind("showLayer",(function(e,r,n){if(!l(n&&n.id,["user-hover-dialog","aui-inline-edit-error","watchers","jira-help-tip"])){var i=d().AJS;i.currentLayerItem&&n!==i.currentLayerItem&&"popup"!==i.currentLayerItem.type&&i.currentLayerItem.hide();if(n){i.currentLayerItem=n;i.currentLayerItem.type=r}}})).bind("hideLayer",(function(e,r,n){if(n&&!l(n.id,["user-hover-dialog","aui-inline-edit-error","jira-help-tip"])){var i=d().AJS;i.currentLayerItem&&(i.currentLayerItem===n?i.currentLayerItem=null:a.contains(s(n),s(i.currentLayerItem))&&i.currentLayerItem.hide())}})).bind("hideAllLayers",(function(){var e=d().AJS;e.currentLayerItem&&e.currentLayerItem.hide()})).click((function(e){var r=d().AJS.currentLayerItem;!r||"popup"===r.type||"inlineDialog"===r.type&&r.persistent||(r._validateClickToClose?r._validateClickToClose(e)&&(r instanceof AJS.InlineLayer?r.hide(i.clickOutside,e):r.hide()):r.hide())}))}c.bind("iframeAppended",(function(e,r){(r=a(r)).load((function(){f(r.contents())}))}));f(c)}(); 879}catch(e){WRMCB(e)}; 880; 881try { 882/* module-key = 'jira.webresources:util-lite', location = '/includes/jquery/plugins/hasFixedParent/hasFixedParent.js' */ 883!function(n){n.fn.hasFixedParent=function(){var i=!1;this.parents().each((function(){if("fixed"===n(this).css("position")){i=this;return!1}}));return i}}(jQuery); 884}catch(e){WRMCB(e)}; 885; 886try { 887/* module-key = 'com.atlassian.auiplugin:split_aui.vendor.backbone', location = 'aui.chunk.c38b4b977add3c572b4b--4923fcfb33a893a854ad.js' */ 888"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1448],{1297:(e,n,a)=>{a.r(n),a.d(n,{default:()=>r});var o=a(8239),i=a.n(o);const r=i();console.warn&&console.warn("Use of `window.Backbone` through AUI is deprecated and will be removed in AUI 10.0.0");let s=i();window.Backbone=s}},e=>{e.O(0,[2262,7624,4496,5907,2297],(()=>{return n=1297,e(e.s=n);var n}));e.O()}]); 889}catch(e){WRMCB(e)}; 890; 891try { 892/* module-key = 'com.atlassian.plugin.jslibs:underscore-1.8.3', location = 'libs/underscore/1.8.3/underscore-1.8.3.js' */ 893(function(A){define("atlassian/libs/underscore-1.8.3",function(){var v={};A.call(v);return"undefined"!==typeof exports?"undefined"!==typeof module&&module.exports?module.exports.noConflict():exports.noConflict():v._.noConflict()})})(function(){(function(){function A(a){return function(b,d,e,f){d=w(d,f,4);var g=!q(b)&&c.keys(b),h=(g||b).length,k=0<a?0:h-1;3>arguments.length&&(e=b[g?g[k]:k],k+=a);for(var m=d,l=e;0<=k&&k<h;k+=a){var n=g?g[k]:k;l=m(l,b[n],n,b)}return l}}function v(a){return function(b, 894d,e){d=p(d,e);e=t(b);for(var f=0<a?0:e-1;0<=f&&f<e;f+=a)if(d(b[f],f,b))return f;return-1}}function L(a,b,d){return function(e,f,g){var h=0,k=t(e);if("number"==typeof g)0<a?h=0<=g?g:Math.max(g+k,h):k=0<=g?Math.min(g+1,k):g+k+1;else if(d&&g&&k)return g=d(e,f),e[g]===f?g:-1;
894if(f!==f)return g=b(r.call(e,h,k),c.isNaN),0<=g?g+h:-1;for(g=0<a?h:k-1;0<=g&&g<k;g+=a)if(e[g]===f)return g;return-1}}function M(a,b){var d=N.length,e=a.constructor;e=c.isFunction(e)&&e.prototype||D;var f="constructor";for(c.has(a, 895f)&&!c.contains(b,f)&&b.push(f);d--;)f=N[d],f in a&&a[f]!==e[f]&&!c.contains(b,f)&&b.push(f)}var E=this,T=E._,B=Array.prototype,D=Object.prototype,U=B.push,r=B.slice,x=D.toString,V=D.hasOwnProperty,C=Array.isArray,O=Object.keys,F=Function.prototype.bind,P=Object.create,G=function(){},c=function(a){if(a instanceof c)return a;if(!(this instanceof c))return new c(a);this._wrapped=a};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=c),exports._=c):E._= 896c;c.VERSION="1.8.3";var w=function(a,b,d){if(void 0===b)return a;switch(null==d?3:d){case 1:return function(e){return a.call(b,e)};case 2:return function(e,f){return a.call(b,e,f)};case 3:return function(e,f,g){return a.call(b,e,f,g)};case 4:return function(e,f,g,h){return a.call(b,e,f,g,h)}}return function(){return a.apply(b,arguments)}},p=function(a,b,d){return null==a?c.identity:c.isFunction(a)?w(a,b,d):c.isObject(a)?c.matcher(a):c.property(a)};c.iteratee=function(a,b){return p(a,b,Infinity)}; 897var y=function(a,b){return function(d){var e=arguments.length;if(2>e||null==d)return d;for(var f=1;f<e;f++)for(var g=arguments[f],h=a(g),k=h.length,m=0;m<k;m++){var l=h[m];b&&void 0!==d[l]||(d[l]=g[l])}return d}},Q=function(a){if(!c.isObject(a))return{};if(P)return P(a);G.prototype=a;a=new G;G.prototype=null;return a},z=function(a){return function(b){return null==b?void 0:b[a]}},W=Math.pow(2,53)-1,t=z("length"),q=function(a){a=t(a);return"number"==typeof a&&0<=a&&a<=W};c.each=c.forEach=function(a, 898b,d){b=w(b,d);var e;if(q(a))for(d=0,e=a.length;d<e;d++)b(a[d],d,a);else{var f=c.keys(a);d=0;for(e=f.length;d<e;d++)b(a[f[d]],f[d],a)}return a};c.map=c.collect=function(a,b,d){b=p(b,d);d=!q(a)&&c.keys(a);for(var e=(d||a).length,f=Array(e),g=0;g<e;g++){var h=d?d[g]:g;f[g]=b(a[h],h,a)}return f};c.reduce=c.foldl=c.inject=A(1);c.reduceRight=c.foldr=A(-1);c.find=c.detect=function(a,b,d){b=q(a)?c.findIndex(a,b,d):c.findKey(a,b,d);if(void 0!==b&&-1!==b)return a[b]};c.filter=c.select=function(a,b,d){var e= 899[];b=p(b,d);c.each(a,function(f,g,h){b(f,g,h)&&e.push(f)});return e};c.reject=function(a,b,d){return c.filter(a,c.negate(p(b)),d)};c.every=c.all=function(a,b,d){b=p(b,d);d=!q(a)&&c.keys(a);for(var e=(d||a).length,f=0;f<e;f++){var g=d?d[f]:f;if(!b(a[g],g,a))return!1}return!0};c.some=c.any=function(a,b,d){b=p(b,d);d=!q(a)&&c.keys(a);for(var e=(d||a).length,f=0;f<e;f++){var g=d?d[f]:f;if(b(a[g],g,a))return!0}return!1};c.contains=c.includes=c.include=function(a,b,d,e){q(a)||(a=c.values(a));if("number"!= 900typeof d||e)d=0;return 0<=c.indexOf(a,b,d)};c.invoke=function(a,b){var d=r.call(arguments,2),e=c.isFunction(b);return c.map(a,function(f){var g=e?b:f[b];return null==g?g:g.apply(f,d)})};c.pluck=function(a,b){return c.map(a,c.property(b))};c.where=function(a,b){return c.filter(a,c.matcher(b))};c.findWhere=function(a,b){return c.find(a,c.matcher(b))};c.max=function(a,b,d){var e=-Infinity,f=-Infinity,g;if(null==b&&null!=a){a=q(a)?a:c.values(a);for(var h=0,k=a.length;h<k;h++)d=a[h],d>e&&(e=d)}else b= 901p(b,d),c.each(a,function(m,l,n){g=b(m,l,n);if(g>f||-Infinity===g&&-Infinity===e)e=m,f=g});return e};c.min=function(a,b,d){var e=Infinity,f=Infinity,g;if(null==b&&null!=a){a=q(a)?a:c.values(a);for(var h=0,k=a.length;h<k;h++)d=a[h],d<e&&(e=d)}else b=p(b,d),c.each(a,function(m,l,n){g=b(m,l,n);if(g<f||Infinity===g&&Infinity===e)e=m,f=g});return e};c.shuffle=function(a){a=q(a)?a:c.values(a);for(var b=a.length,d=Array(b),e=0,f;e<b;e++)f=c.random(0,e),f!==e&&(d[e]=d[f]),d[f]=a[e];return d};c.sample=function(a, 902b,d){return null==b||d?(q(a)||(a=c.values(a)),a[c.random(a.length-1)]):c.shuffle(a).slice(0,Math.max(0,b))};c.sortBy=function(a,b,d){b=p(b,d);return c.pluck(c.map(a,function(e,f,g){return{value:e,index:f,criteria:b(e,f,g)}}).sort(function(e,f){var g=e.criteria,h=f.criteria;if(g!==h){if(g>h||void 0===g)return 1;if(g<h||void 0===h)return-1}return e.index-f.index}),"value")};var H=function(a){return function(b,d,e){var f={};d=p(d,e);c.each(b,function(g,h){h=d(g,h,b);a(f,g,h)});return f}};c.groupBy=H(function(a, 903b,d){c.has(a,d)?a[d].push(b):a[d]=[b]});c.indexBy=H(function(a,b,d){a[d]=b});c.countBy=H(function(a,b,d){c.has(a,d)?a[d]++:a[d]=1});c.toArray=function(a){return a?c.isArray(a)?r.call(a):q(a)?c.map(a,c.identity):c.values(a):[]};c.size=function(a){return null==a?0:q(a)?a.length:c.keys(a).length};c.partition=function(a,b,d){b=p(b,d);var e=[],f=[];c.each(a,function(g,h,k){(b(g,h,k)?e:f).push(g)});return[e,f]};c.first=c.head=c.take=function(a,b,d){if(null!=a)return null==b||d?a[0]:c.initial(a,a.length- 904b)};c.initial=function(a,b,d){return r.call(a,0,Math.max(0,a.length-(null==b||d?1:b)))};c.last=function(a,b,d){if(null!=a)return null==b||d?a[a.length-1]:c.rest(a,Math.max(0,a.length-b))};c.rest=c.tail=c.drop=function(a,b,d){return r.call(a,null==b||d?1:b)};c.compact=function(a){return c.filter(a,c.identity)};var u=function(a,b,d,e){var f=[],g=0;e=e||0;for(var h=t(a);e<h;e++){var k=a[e];if(q(k)&&(c.isArray(k)||c.isArguments(k))){b||(k=u(k,b,d));var m=0,l=k.length;for(f.length+=l;m<l;)f[g++]=k[m++]}else d|| 905(f[g++]=k)}return f};c.flatten=function(a,b){return u(a,b,!1)};
905c.without=function(a){return c.difference(a,r.call(arguments,1))};c.uniq=c.unique=function(a,b,d,e){c.isBoolean(b)||(e=d,d=b,b=!1);null!=d&&(d=p(d,e));e=[];for(var f=[],g=0,h=t(a);g<h;g++){var k=a[g],m=d?d(k,g,a):k;b?(g&&f===m||e.push(k),f=m):d?c.contains(f,m)||(f.push(m),e.push(k)):c.contains(e,k)||e.push(k)}return e};c.union=function(){return c.uniq(u(arguments,!0,!0))};c.intersection=function(a){for(var b=[],d=arguments.length,e=0, 906f=t(a);e<f;e++){var g=a[e];if(!c.contains(b,g)){for(var h=1;h<d&&c.contains(arguments[h],g);h++);h===d&&b.push(g)}}return b};c.difference=function(a){var b=u(arguments,!0,!0,1);return c.filter(a,function(d){return!c.contains(b,d)})};c.zip=function(){return c.unzip(arguments)};c.unzip=function(a){for(var b=a&&c.max(a,t).length||0,d=Array(b),e=0;e<b;e++)d[e]=c.pluck(a,e);return d};c.object=function(a,b){for(var d={},e=0,f=t(a);e<f;e++)b?d[a[e]]=b[e]:d[a[e][0]]=a[e][1];return d};c.findIndex=v(1);c.findLastIndex= 907v(-1);c.sortedIndex=function(a,b,d,e){d=p(d,e,1);b=d(b);e=0;for(var f=t(a);e<f;){var g=Math.floor((e+f)/2);d(a[g])<b?e=g+1:f=g}return e};c.indexOf=L(1,c.findIndex,c.sortedIndex);c.lastIndexOf=L(-1,c.findLastIndex);c.range=function(a,b,d){null==b&&(b=a||0,a=0);d=d||1;b=Math.max(Math.ceil((b-a)/d),0);for(var e=Array(b),f=0;f<b;f++,a+=d)e[f]=a;return e};var R=function(a,b,d,e,f){if(!(e instanceof b))return a.apply(d,f);b=Q(a.prototype);a=a.apply(b,f);return c.isObject(a)?a:b};c.bind=function(a,b){if(F&& 908a.bind===F)return F.apply(a,r.call(arguments,1));if(!c.isFunction(a))throw new TypeError("Bind must be called on a function");var d=r.call(arguments,2),e=function(){return R(a,e,b,this,d.concat(r.call(arguments)))};return e};c.partial=function(a){var b=r.call(arguments,1),d=function(){for(var e=0,f=b.length,g=Array(f),h=0;h<f;h++)g[h]=b[h]===c?arguments[e++]:b[h];for(;e<arguments.length;)g.push(arguments[e++]);return R(a,d,this,this,g)};return d};c.bindAll=function(a){var b,d=arguments.length;if(1>= 909d)throw Error("bindAll must be passed function names");for(b=1;b<d;b++){var e=arguments[b];a[e]=c.bind(a[e],a)}return a};c.memoize=function(a,b){var d=function(e){var f=d.cache,g=""+(b?b.apply(this,arguments):e);c.has(f,g)||(f[g]=a.apply(this,arguments));return f[g]};d.cache={};return d};c.delay=function(a,b){var d=r.call(arguments,2);return setTimeout(function(){return a.apply(null,d)},b)};c.defer=c.partial(c.delay,c,1);c.throttle=function(a,b,d){var e,f,g,h=null,k=0;d||(d={});var m=function(){k= 910!1===d.leading?0:c.now();h=null;g=a.apply(e,f);h||(e=f=null)};return function(){var l=c.now();k||!1!==d.leading||(k=l);var n=b-(l-k);e=this;f=arguments;0>=n||n>b?(h&&(clearTimeout(h),h=null),k=l,g=a.apply(e,f),h||(e=f=null)):h||!1===d.trailing||(h=setTimeout(m,n));return g}};c.debounce=function(a,b,d){var e,f,g,h,k,m=function(){var l=c.now()-h;l<b&&0<=l?e=setTimeout(m,b-l):(e=null,d||(k=a.apply(g,f),e||(g=f=null)))};return function(){g=this;f=arguments;h=c.now();var l=d&&!e;e||(e=setTimeout(m,b)); 911l&&(k=a.apply(g,f),g=f=null);return k}};c.wrap=function(a,b){return c.partial(b,a)};c.negate=function(a){return function(){return!a.apply(this,arguments)}};c.compose=function(){var a=arguments,b=a.length-1;return function(){for(var d=b,e=a[b].apply(this,arguments);d--;)e=a[d].call(this,e);return e}};c.after=function(a,b){return function(){if(1>--a)return b.apply(this,arguments)}};c.before=function(a,b){var d;return function(){0<--a&&(d=b.apply(this,arguments));1>=a&&(b=null);return d}};c.once=c.partial(c.before, 9122);var S=!{toString:null}.propertyIsEnumerable("toString"),N="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleString".split(" ");c.keys=function(a){if(!c.isObject(a))return[];if(O)return O(a);var b=[],d;for(d in a)c.has(a,d)&&b.push(d);S&&M(a,b);return b};c.allKeys=function(a){if(!c.isObject(a))return[];var b=[],d;for(d in a)b.push(d);S&&M(a,b);return b};c.values=function(a){for(var b=c.keys(a),d=b.length,e=Array(d),f=0;f<d;f++)e[f]=a[b[f]];return e};c.mapObject=function(a, 913b,d){b=p(b,d);d=c.keys(a);for(var e=d.length,f={},g,h=0;h<e;h++)g=d[h],f[g]=b(a[g],g,a);return f};c.pairs=function(a){for(var b=c.keys(a),d=b.length,e=Array(d),f=0;f<d;f++)e[f]=[b[f],a[b[f]]];return e};c.invert=function(a){for(var b={},d=c.keys(a),e=0,f=d.length;e<f;e++)b[a[d[e]]]=d[e];return b};c.functions=c.methods=function(a){var b=[],d;for(d in a)c.isFunction(a[d])&&b.push(d);return b.sort()};c.extend=y(c.allKeys);c.extendOwn=c.assign=y(c.keys);c.findKey=function(a,b,d){b=p(b,d);d=c.keys(a);for(var e, 914f=0,g=d.length;f<g;f++)if(e=d[f],b(a[e],e,a))return e};c.pick=function(a,b,d){var e={},f=a;if(null==f)return e;if(c.isFunction(b)){var g=c.allKeys(f);var h=w(b,d)}else g=u(arguments,!1,!1,1),h=function(ea,X,Y){return X in Y},f=Object(f);for(var k=0,m=g.length;k<m;k++){var l=g[k],n=f[l];h(n,l,f)&&(e[l]=n)}return e};c.omit=function(a,b,d){if(c.isFunction(b))b=c.negate(b);else{var e=c.map(u(arguments,!1,!1,1),String);b=function(f,g){return!c.contains(e,g)}}return c.pick(a,b,d)};c.defaults=y(c.allKeys, 915!0);c.create=function(a,b){a=Q(a);b&&c.extendOwn(a,b);return a};c.clone=function(a){return c.isObject(a)?c.isArray(a)?a.slice():c.extend({},a):a};c.tap=function(a,b){b(a);return a};c.isMatch=function(a,b){var d=c.keys(b),e=d.length;if(null==a)return!e;a=Object(a);for(var f=0;f<e;f++){var g=d[f];if(b[g]!==a[g]||!(g in a))return!1}return!0};var I=function(a,b,d,e){if(a===b)return 0!==a||1/a===1/b;if(null==a||null==b)return a===b;a instanceof c&&(a=a._wrapped);b instanceof c&&(b=b._wrapped);var f=x.call(a); 916if(f!==x.call(b))return!1;switch(f){case "[object RegExp]":case "[object String]":return""+a===""+b;case "[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case "[object Date]":case "[object Boolean]":return+a===+b}f="[object Array]"===f;if(!f){if("object"!=typeof a||"object"!=typeof b)return!1;var g=a.constructor,h=b.constructor;if(g!==h&&!(c.isFunction(g)&&g instanceof g&&c.isFunction(h)&&h instanceof h)&&"constructor"in a&&"constructor"in b)return!1}d=d||[];e=e||[];for(g=d.length;g--;)if(d[g]=== 917a)return e[g]===b;d.push(a);e.push(b);if(f){g=a.length;if(g!==b.length)return!1;for(;g--;)if(!I(a[g],b[g],d,e))return!1}else{f=c.keys(a);g=f.length;if(c.keys(b).length!==g)return!1;for(;g--;)if(h=f[g],!c.has(b,h)||!I(a[h],b[h],d,e))return!1}d.pop();e.pop();return!0};c.isEqual=function(a,b){return I(a,b)};c.isEmpty=function(a){return null==a?!0:q(a)&&(c.isArray(a)||c.isString(a)||c.isArguments(a))?0===a.length:0===c.keys(a).length};c.isElement=function(a){return!(!a||1!==a.nodeType)};c.isArray=C|| 918function(a){return"[object Array]"===x.call(a)};c.isObject=function(a){var b=typeof a;return"function"===b||"object"===b&&!!a};c.each("Arguments Function String Number Date RegExp Error".split(" "),function(a){c["is"+a]=function(b){return x.call(b)==="[object "+a+"]"}});c.isArguments(arguments)||(c.isArguments=function(a){return c.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(c.isFunction=function(a){return"function"==typeof a||!1});c.isFinite=function(a){return isFinite(a)&& 919!isNaN(parseFloat(a))};c.isNaN=function(a){return c.isNumber(a)&&a!==+a};c.isBoolean=function(a){return!0===a||!1===a||"[object Boolean]"===x.call(a)};c.isNull=function(a){return null===a};c.isUndefined=function(a){return void 0===a};c.has=function(a,b){return null!=a&&V.call(a,b)};c.noConflict=function(){E._=T;return this};c.identity=function(a){return a};c.constant=function(a){return function(){return a}};c.noop=function(){};c.property=z;c.propertyOf=function(a){return null==a?function(){}:function(b){return a[b]}}; 920c.matcher=c.matches=function(a){a=c.extendOwn({},a);return function(b){return c.isMatch(b,a)}};c.times=function(a,b,d){var e=Array(Math.max(0,a));b=w(b,d,1);for(d=0;d<a;d++)e[d]=b(d);return e};c.random=function(a,b){null==b&&(b=a,a=0);return a+Math.floor(Math.random()*(b-a+1))};c.now=Date.now||function(){return(new Date).getTime()};C={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;","`":"\x26#x60;"};y=c.invert(C);z=function(a){var b=function(g){return a[g]},d="(?:"+ 921c.keys(a).join("|")+")",e=RegExp(d),f=RegExp(d,"g");return function(g){g=null==g?"":""+g;return e.test(g)?g.replace(f,b):g}};c.escape=z(C);c.unescape=z(y);c.result=function(a,b,d){b=null==a?void 0:a[b];void 0===b&&(b=d);return c.isFunction(b)?b.call(a):b};var Z=0;c.uniqueId=function(a){var b=++Z+"";return a?a+b:b};c.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var J=/(.)^/,aa={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"}, 922ba=/\\|'|\r|\n|\u2028|\u2029/g,ca=function(a){return"\\"+aa[a]},da=/^\s*(\w|\$)+\s*$/;c.template=function(a,b,d){!b&&d&&(b=d);b=c.defaults({},b,c.templateSettings);d=RegExp([(b.escape||J).source,(b.interpolate||J).source,(b.evaluate||J).source].join("|")+"|$","g");var e=0,f="__p+\x3d'";a.replace(d,function(h,k,m,l,n){f+=a.slice(e,n).replace(ba,ca);e=n+h.length;k?f+="'+\n((__t\x3d("+k+"))\x3d\x3dnull?'':_.escape(__t))+\n'":m?f+="'+\n((__t\x3d("+m+"))\x3d\x3dnull?'':__t)+\n'":l&&(f+="';\n"+l+"\n__p+\x3d'"); 923return h});f+="';\n";if(b=b.variable){if(!da.test(b))throw Error(b);}else f="with(obj||{}){\n"+f+"}\n",b="obj";f="var __t,__p\x3d'',__j\x3dArray.prototype.join,print\x3dfunction(){__p+\x3d__j.call(arguments,'');};\n"+f+"return __p;\n";try{var g=new Function(b,"_",f)}catch(h){throw h.source=f,h;}d=function(h){return g.call(this,h,c)};d.source="function("+b+"){\n"+f+"}";return d};c.chain=function(a){a=c(a);a._chain=!0;return a};var K=function(a,b){return a._chain?c(b).chain():b};c.mixin=function(a){c.each(c.functions(a), 924function(b){var d=c[b]=a[b];c.prototype[b]=function(){var e=[this._wrapped];U.apply(e,arguments);return K(this,d.apply(c,e))}})};c.mixin(c);c.each("pop push reverse shift sort splice unshift".split(" "),function(a){var b=B[a];c.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);"shift"!==a&&"splice"!==a||0!==d.length||delete d[0];return K(this,d)}});c.each(["concat","join","slice"],function(a){var b=B[a];c.prototype[a]=function(){return K(this,b.apply(this._wrapped,arguments))}});c.prototype.value= 925function(){return this._wrapped};c.prototype.valueOf=c.prototype.toJSON=c.prototype.value;c.prototype.toString=function(){return""+this._wrapped};"function"===typeof define&&define.amd&&define("underscore",[],function(){return c})}).call(this)}); 926}catch(e){WRMCB(e)}; 927; 928try { 929/* module-key = 'com.atlassian.plugin.jslibs:backbone-1.3.3-factory', location = 'factories/backbone/1.3.3/backbone-1.3.3-factory.js' */ 930(function(A){define("atlassian/libs/factories/backbone-1.3.3",function(){return function(k,f){return A({},{},k,f).noConflict()}})})(function(A,k,f,q){var O=A.Backbone,E=Array.prototype.slice;k.VERSION="1.3.3";k.$=q;k.noConflict=function(){A.Backbone=O;return this};k.emulateHTTP=!1;k.emulateJSON=!1;var P=function(a,b,c){switch(a){case 1:return function(){return f[b](this[c])};case 2:return function(d){return f[b](this[c],d)};case 3:return function(d,e){return f[b](this[c],F(d,this),e)};case 4:return function(d, 931e,g){return f[b](this[c],F(d,this),e,g)};default:return function(){var d=E.call(arguments);d.unshift(this[c]);return f[b].apply(f,d)}}},x=function(a,b,c){f.each(b,function(d,e){f[e]&&(a.prototype[e]=P(d,e,c))})},F=function(a,b){return f.isFunction(a)?a:f.isObject(a)&&!b._isModel(a)?Q(a):f.isString(a)?function(c){return c.get(a)}:a},Q=function(a){var b=f.matches(a);return function(c){return b(c.attributes)}};q=k.Events={};var G=/\s+/,w=function(a,b,c,d,e){var g=0,h;if(c&&"object"===typeof c)for(void 0!== 932d&&("context"in e)&&void 0===e.context&&(e.context=d),h=f.keys(c);g<h.length;g++)b=w(a,b,h[g],c[h[g]],e);else if(c&&G.test(c))for(h=c.split(G);g<h.length;g++)b=a(b,h[g],d,e);else b=a(b,c,d,e);return b};q.on=function(a,b,c){return H(this,a,b,c)};var H=function(a,b,c,d,e){a._events=w(R,a._events||{},b,c,{context:d,ctx:a,listening:e});e&&((a._listeners||(a._listeners={}))[e.id]=e);return a};q.listenTo=function(a,b,c){if(!a)return this;var d=a._listenId||(a._listenId=f.uniqueId("l")),e=this._listeningTo|| 933(this._listeningTo={}),g=e[d];g||(g=this._listenId||(this._listenId=f.uniqueId("l")),g=e[d]={obj:a,objId:d,id:g,listeningTo:e,count:0});H(a,b,c,this,g);return this};var R=function(a,b,c,d){if(c){b=a[b]||(a[b]=[]);var e=d.context,g=d.ctx;(d=d.listening)&&d.count++;b.push({callback:c,context:e,ctx:e||g,listening:d})}return a};q.off=function(a,b,c){if(!this._events)return this;this._events=w(S,this._events,a,b,{context:c,listeners:this._listeners});return this};q.stopListening=function(a,b,c){var d= 934this._listeningTo;if(!d)return this;a=a?[a._listenId]:f.keys(d);for(var e=0;e<a.length;e++){var g=d[a[e]];if(!g)break;g.obj.off(b,c,this)}return this};var S=function(a,b,c,d){if(a){var e=0,g=d.context;d=d.listeners;if(b||c||g){for(var h=b?[b]:f.keys(a);e<h.length;e++){b=h[e];var l=a[b];if(!l)break;for(var n=[],r=0;r<l.length;r++){var m=l[r];c&&c!==m.callback&&c!==m.callback._callback||g&&g!==m.context?n.push(m):(m=m.listening)&&0===--m.count&&(delete d[m.id],delete m.listeningTo[m.objId])}n.length? 935a[b]=n:delete a[b]}return a}for(a=f.keys(d);e<a.length;e++)m=d[a[e]],delete d[m.id],delete m.listeningTo[m.objId]}};q.once=function(a,b,c){var d=w(I,{}
935,a,b,f.bind(this.off,this));"string"===typeof a&&null==c&&(b=void 0);return this.on(d,b,c)};q.listenToOnce=function(a,b,c){b=w(I,{},b,c,f.bind(this.stopListening,this,a));return this.listenTo(a,b)};var I=function(a,b,c,d){if(c){var e=a[b]=f.once(function(){d(b,e);c.apply(this,arguments)});e._callback=c}return a};q.trigger=function(a){if(!this._events)return this; 936for(var b=Math.max(0,arguments.length-1),c=Array(b),d=0;d<b;d++)c[d]=arguments[d+1];w(T,this._events,a,void 0,c);return this};var T=function(a,b,c,d){if(a){c=a[b];var e=a.all;c&&e&&(e=e.slice());c&&J(c,d);e&&J(e,[b].concat(d))}return a},J=function(a,b){var c,d=-1,e=a.length,g=b[0],h=b[1],l=b[2];switch(b.length){case 0:for(;++d<e;)(c=a[d]).callback.call(c.ctx);break;case 1:for(;++d<e;)(c=a[d]).callback.call(c.ctx,g);break;case 2:for(;++d<e;)(c=a[d]).callback.call(c.ctx,g,h);break;case 3:for(;++d<e;)(c= 937a[d]).callback.call(c.ctx,g,h,l);break;default:for(;++d<e;)(c=a[d]).callback.apply(c.ctx,b)}};q.bind=q.on;q.unbind=q.off;f.extend(k,q);var y=k.Model=function(a,b){var c=a||{};b||(b={});this.cid=f.uniqueId(this.cidPrefix);this.attributes={};b.collection&&(this.collection=b.collection);b.parse&&(c=this.parse(c,b)||{});var d=f.result(this,"defaults");c=f.defaults(f.extend({},d,c),d);this.set(c,b);this.changed={};this.initialize.apply(this,arguments)};f.extend(y.prototype,q,{changed:null,validationError:null, 938idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(a){return f.clone(this.attributes)},sync:function(){return k.sync.apply(this,arguments)},get:function(a){return this.attributes[a]},escape:function(a){return f.escape(this.get(a))},has:function(a){return null!=this.get(a)},matches:function(a){return!!f.iteratee(a,this)(this.attributes)},set:function(a,b,c){if(null==a)return this;if("object"===typeof a){var d=a;c=b}else(d={})[a]=b;c||(c={});if(!this._validate(d,c))return!1;var e= 939c.unset;a=c.silent;var g=[],h=this._changing;this._changing=!0;h||(this._previousAttributes=f.clone(this.attributes),this.changed={});var l=this.attributes,n=this.changed,r=this._previousAttributes,m;for(m in d)b=d[m],f.isEqual(l[m],b)||g.push(m),f.isEqual(r[m],b)?delete n[m]:n[m]=b,e?delete l[m]:l[m]=b;this.idAttribute in d&&(this.id=this.get(this.idAttribute));if(!a)for(g.length&&(this._pending=c),b=0;b<g.length;b++)this.trigger("change:"+g[b],this,l[g[b]],c);if(h)return this;if(!a)for(;this._pending;)c= 940this._pending,this._pending=!1,this.trigger("change",this,c);this._changing=this._pending=!1;return this},unset:function(a,b){return this.set(a,void 0,f.extend({},b,{unset:!0}))},clear:function(a){var b={},c;for(c in this.attributes)b[c]=void 0;return this.set(b,f.extend({},a,{unset:!0}))},hasChanged:function(a){return null==a?!f.isEmpty(this.changed):f.has(this.changed,a)},changedAttributes:function(a){if(!a)return this.hasChanged()?f.clone(this.changed):!1;var b=this._changing?this._previousAttributes: 941this.attributes,c={},d;for(d in a){var e=a[d];f.isEqual(b[d],e)||(c[d]=e)}return f.size(c)?c:!1},previous:function(a){return null!=a&&this._previousAttributes?this._previousAttributes[a]:null},previousAttributes:function(){return f.clone(this._previousAttributes)},fetch:function(a){a=f.extend({parse:!0},a);var b=this,c=a.success;a.success=function(d){var e=a.parse?b.parse(d,a):d;if(!b.set(e,a))return!1;c&&c.call(a.context,b,d,a);b.trigger("sync",b,d,a)};B(this,a);return this.sync("read",this,a)}, 942save:function(a,b,c){if(null==a||"object"===typeof a){var d=a;c=b}else(d={})[a]=b;c=f.extend({validate:!0,parse:!0},c);var e=c.wait;if(d&&!e){if(!this.set(d,c))return!1}else if(!this._validate(d,c))return!1;var g=this,h=c.success,l=this.attributes;c.success=function(n){g.attributes=l;var r=c.parse?g.parse(n,c):n;e&&(r=f.extend({},d,r));if(r&&!g.set(r,c))return!1;h&&h.call(c.context,g,n,c);g.trigger("sync",g,n,c)};B(this,c);d&&e&&(this.attributes=f.extend({},l,d));a=this.isNew()?"create":c.patch?"patch": 943"update";"patch"!==a||c.attrs||(c.attrs=d);a=this.sync(a,this,c);this.attributes=l;return a},destroy:function(a){a=a?f.clone(a):{};var b=this,c=a.success,d=a.wait,e=function(){b.stopListening();b.trigger("destroy",b,b.collection,a)};a.success=function(h){d&&e();c&&c.call(a.context,b,h,a);b.isNew()||b.trigger("sync",b,h,a)};var g=!1;this.isNew()?f.defer(a.success):(B(this,a),g=this.sync("delete",this,a));d||e();return g},url:function(){var a=f.result(this,"urlRoot")||f.result(this.collection,"url")|| 944K();if(this.isNew())return a;var b=this.get(this.idAttribute);return a.replace(/[^\/]$/,"$\x26/")+encodeURIComponent(b)},parse:function(a,b){return a},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)}
944,isValid:function(a){return this._validate({},f.extend({},a,{validate:!0}))},_validate:function(a,b){if(!b.validate||!this.validate)return!0;a=f.extend({},this.attributes,a);a=this.validationError=this.validate(a,b)||null;if(!a)return!0; 945this.trigger("invalid",this,a,f.extend(b,{validationError:a}));return!1}});x(y,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var C=k.Collection=function(a,b){b||(b={});b.model&&(this.model=b.model);void 0!==b.comparator&&(this.comparator=b.comparator);this._reset();this.initialize.apply(this,arguments);a&&this.reset(a,f.extend({silent:!0},b))},U={add:!0,remove:!0,merge:!0},V={add:!0,remove:!1},L=function(a,b,c){c=Math.min(Math.max(c,0),a.length);var d=Array(a.length- 946c),e=b.length,g;for(g=0;g<d.length;g++)d[g]=a[g+c];for(g=0;g<e;g++)a[g+c]=b[g];for(g=0;g<d.length;g++)a[g+e+c]=d[g]};f.extend(C.prototype,q,{model:y,initialize:function(){},toJSON:function(a){return this.map(function(b){return b.toJSON(a)})},sync:function(){return k.sync.apply(this,arguments)},add:function(a,b){return this.set(a,f.extend({merge:!1},b,V))},remove:function(a,b){b=f.extend({},b);var c=!f.isArray(a);a=c?[a]:a.slice();a=this._removeModels(a,b);!b.silent&&a.length&&(b.changes={added:[], 947merged:[],removed:a},this.trigger("update",this,b));return c?a[0]:a},set:function(a,b){if(null!=a){b=f.extend({},U,b);b.parse&&!this._isModel(a)&&(a=this.parse(a,b)||[]);var c=!f.isArray(a);a=c?[a]:a.slice();var d=b.at;null!=d&&(d=+d);d>this.length&&(d=this.length);0>d&&(d+=this.length+1);var e=[],g=[],h=[],l=[],n={},r=b.add,m=b.merge,M=b.remove,z=!1,D=this.comparator&&null==d&&!1!==b.sort,W=f.isString(this.comparator)?this.comparator:null,t;for(t=0;t<a.length;t++){var p=a[t];var u=this.get(p);u? 948(m&&p!==u&&(p=this._isModel(p)?p.attributes:p,b.parse&&(p=u.parse(p,b)),u.set(p,b),h.push(u),D&&!z&&(z=u.hasChanged(W))),n[u.cid]||(n[u.cid]=!0,e.push(u)),a[t]=u):r&&(p=a[t]=this._prepareModel(p,b))&&(g.push(p),this._addReference(p,b),n[p.cid]=!0,e.push(p))}if(M){for(t=0;t<this.length;t++)p=this.models[t],n[p.cid]||l.push(p);l.length&&this._removeModels(l,b)}n=!1;e.length&&!D&&r&&M?(n=this.length!==e.length||f.some(this.models,function(X,Y){return X!==e[Y]}),this.models.length=0,L(this.models,e,0), 949this.length=this.models.length):g.length&&(D&&(z=!0),L(this.models,g,null==d?this.length:d),this.length=this.models.length);z&&this.sort({silent:!0});if(!b.silent){for(t=0;t<g.length;t++)null!=d&&(b.index=d+t),p=g[t],p.trigger("add",p,this,b);(z||n)&&this.trigger("sort",this,b);if(g.length||l.length||h.length)b.changes={added:g,removed:l,merged:h},this.trigger("update",this,b)}return c?a[0]:a}},reset:function(a,b){b=b?f.clone(b):{};for(var c=0;c<this.models.length;c++)this._removeReference(this.models[c], 950b);b.previousModels=this.models;this._reset();a=this.add(a,f.extend({silent:!0},b));b.silent||this.trigger("reset",this,b);return a},push:function(a,b){return this.add(a,f.extend({at:this.length},b))},pop:function(a){var b=this.at(this.length-1);return this.remove(b,a)},unshift:function(a,b){return this.add(a,f.extend({at:0},b))},shift:function(a){var b=this.at(0);return this.remove(b,a)},slice:function(){return E.apply(this.models,arguments)},get:function(a){if(null!=a)return this._byId[a]||this._byId[this.modelId(a.attributes|| 951a)]||a.cid&&this._byId[a.cid]},has:function(a){return null!=this.get(a)},at:function(a){0>a&&(a+=this.length);return this.models[a]},where:function(a,b){return this[b?"find":"filter"](a)},findWhere:function(a){return this.where(a,!0)},sort:function(a){var b=this.comparator;if(!b)throw Error("Cannot sort a set without a comparator");a||(a={});var c=b.length;f.isFunction(b)&&(b=f.bind(b,this));1===c||f.isString(b)?this.models=this.sortBy(b):this.models.sort(b);a.silent||this.trigger("sort",this,a); 952return this},pluck:function(a){return this.map(a+"")},fetch:function(a){a=f.extend({parse:!0},a);var b=a.success,c=this;a.success=function(d){c[a.reset?"reset":"set"](d,a);b&&b.call(a.context,c,d,a);c.trigger("sync",c,d,a)};B(this,a);return this.sync("read",this,a)},create:function(a,b){b=b?f.clone(b):{};var c=b.wait;a=this._prepareModel(a,b);if(!a)return!1;c||this.add(a,b);var d=this,e=b.success;b.success=function(g,h,l){c&&d.add(g,l);e&&e.call(l.context,g,h,l)};a.save(null,b);return a},parse:function(a, 953b){return a},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(a){return a[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(a,b){if(this._isModel(a))return a.collection||(a.collection=this),a;b=b?f.clone(b):{};b.collection=this;a=new this.model(a,b);
953if(!a.validationError)return a;this.trigger("invalid",this,a.validationError,b);return!1},_removeModels:function(a, 954b){for(var c=[],d=0;d<a.length;d++){var e=this.get(a[d]);if(e){var g=this.indexOf(e);this.models.splice(g,1);this.length--;delete this._byId[e.cid];var h=this.modelId(e.attributes);null!=h&&delete this._byId[h];b.silent||(b.index=g,e.trigger("remove",e,this,b));c.push(e);this._removeReference(e,b)}}return c},_isModel:function(a){return a instanceof y},_addReference:function(a,b){this._byId[a.cid]=a;b=this.modelId(a.attributes);null!=b&&(this._byId[b]=a);a.on("all",this._onModelEvent,this)},_removeReference:function(a, 955b){delete this._byId[a.cid];b=this.modelId(a.attributes);null!=b&&delete this._byId[b];this===a.collection&&delete a.collection;a.off("all",this._onModelEvent,this)},_onModelEvent:function(a,b,c,d){if(b){if(("add"===a||"remove"===a)&&c!==this)return;"destroy"===a&&this.remove(b,d);if("change"===a){var e=this.modelId(b.previousAttributes()),g=this.modelId(b.attributes);e!==g&&(null!=e&&delete this._byId[e],null!=g&&(this._byId[g]=b))}}this.trigger.apply(this,arguments)}});x(C,{forEach:3,each:3,map:3, 956collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models");x=k.View=function(a){this.cid=f.uniqueId("view");f.extend(this,f.pick(a, 957Z));this._ensureElement();this.initialize.apply(this,arguments)};var aa=/^(\S+)\s*(.*)$/,Z="model collection el id attributes className tagName events".split(" ");f.extend(x.prototype,q,{tagName:"div",$:function(a){return this.$el.find(a)},initialize:function(){},render:function(){return this},remove:function(){this._removeElement();this.stopListening();return this},_removeElement:function(){this.$el.remove()},setElement:function(a){this.undelegateEvents();this._setElement(a);this.delegateEvents(); 958return this},_setElement:function(a){this.$el=a instanceof k.$?a:k.$(a);this.el=this.$el[0]},delegateEvents:function(a){a||(a=f.result(this,"events"));if(!a)return this;this.undelegateEvents();for(var b in a){var c=a[b];f.isFunction(c)||(c=this[c]);if(c){var d=b.match(aa);this.delegate(d[1],d[2],f.bind(c,this))}}return this},delegate:function(a,b,c){this.$el.on(a+".delegateEvents"+this.cid,b,c);return this},undelegateEvents:function(){this.$el&&this.$el.off(".delegateEvents"+this.cid);return this}, 959undelegate:function(a,b,c){this.$el.off(a+".delegateEvents"+this.cid,b,c);return this},_createElement:function(a){return document.createElement(a)},_ensureElement:function(){if(this.el)this.setElement(f.result(this,"el"));else{var a=f.extend({},f.result(this,"attributes"));this.id&&(a.id=f.result(this,"id"));this.className&&(a["class"]=f.result(this,"className"));this.setElement(this._createElement(f.result(this,"tagName")));this._setAttributes(a)}},_setAttributes:function(a){this.$el.attr(a)}}); 960k.sync=function(a,b,c){var d=ba[a];f.defaults(c||(c={}),{emulateHTTP:k.emulateHTTP,emulateJSON:k.emulateJSON});var e={type:d,dataType:"json"};c.url||(e.url=f.result(b,"url")||K());null!=c.data||!b||"create"!==a&&"update"!==a&&"patch"!==a||(e.contentType="application/json",e.data=JSON.stringify(c.attrs||b.toJSON(c)));c.emulateJSON&&(e.contentType="application/x-www-form-urlencoded",e.data=e.data?{model:e.data}:{});if(c.emulateHTTP&&("PUT"===d||"DELETE"===d||"PATCH"===d)){e.type="POST";c.emulateJSON&& 961(e.data._method=d);var g=c.beforeSend;c.beforeSend=function(l){l.setRequestHeader("X-HTTP-Method-Override",d);if(g)return g.apply(this,arguments)}}"GET"===e.type||c.emulateJSON||(e.processData=!1);var h=c.error;c.error=function(l,n,r){c.textStatus=n;c.errorThrown=r;h&&h.call(c.context,l,n,r)};a=c.xhr=k.ajax(f.extend(e,c));b.trigger("request",b,a,c);return a};var ba={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};k.ajax=function(){return k.$.ajax.apply(k.$,arguments)};var N= 962k.Router=function(a){a||(a={});a.routes&&(this.routes=a.routes);this._bindRoutes();this.initialize.apply(this,arguments)},ca=/\((.*?)\)/g,da=/(\(\?)?:\w+/g,ea=/\*\w+/g,fa=/[\-{}\[\]+?.,\\\^$|#\s]/g;f.extend(N.prototype,q,{initialize:function(){},route:function(a,b,c){f.isRegExp(a)||(a=this._routeToRegExp(a));f.isFunction(b)&&(c=b,b="");c||(c=this[b]);var d=this;k.history.route(a,function(e){e=d._extractParameters(a,e);!1!==d.execute(c,e,b)&&(d.trigger.apply(d,["route:"+b].concat(e)),d.trigger("route", 963b,e),k.history.trigger("route",d,b,e))});return this},execute:function(a,b,c){a&&a.apply(this,b)},navigate:function(a,b){k.history.navigate(a,b);return this},_bindRoutes:function(){if(this.routes){this.routes=f.result(this,"routes");for(var a,b=f.keys(this.routes);null!=(a=b.pop());)this.route(a,this.routes[a])}},_routeToRegExp:function(a){a=a.replace(fa,"\\$\x26").replace(ca,"(?:$1)?").replace(da,function(b,c){return c?b:"([^/?]+)"}).replace(ea,"([^?]*?)");
963return new RegExp("^"+a+"(?:\\?([\\s\\S]*))?$")}, 964_extractParameters:function(a,b){var c=a.exec(b).slice(1);return f.map(c,function(d,e){return e===c.length-1?d||null:d?decodeURIComponent(d):null})}});var v=k.History=function(){this.handlers=[];this.checkUrl=f.bind(this.checkUrl,this);"undefined"!==typeof window&&(this.location=window.location,this.history=window.history)},ha=/^[#\/]|\s+$/g,ia=/^\/+|\/+$/g,ja=/#.*$/;v.started=!1;f.extend(v.prototype,q,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$\x26/")===this.root&& 965!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(a){return decodeURI(a.replace(/%25/g,"%2525"))},getSearch:function(){var a=this.location.href.replace(/#.*/,"").match(/\?.+/);return a?a[0]:""},getHash:function(a){return(a=(a||this).location.href.match(/#(.*)$/))?a[1]:""},getPath:function(){var a=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"=== 966a.charAt(0)?a.slice(1):a},getFragment:function(a){null==a&&(a=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash());return a.replace(ha,"")},start:function(a){if(v.started)throw Error("Backbone.history has already been started");v.started=!0;this.options=f.extend({root:"/"},this.options,a);this.root=this.options.root;this._wantsHashChange=!1!==this.options.hashChange;this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||7<document.documentMode);this._useHashChange= 967this._wantsHashChange&&this._hasHashChange;this._wantsPushState=!!this.options.pushState;this._hasPushState=!(!this.history||!this.history.pushState);this._usePushState=this._wantsPushState&&this._hasPushState;this.fragment=this.getFragment();this.root=("/"+this.root+"/").replace(ia,"/");if(this._wantsHashChange&&this._wantsPushState)if(this._hasPushState||this.atRoot())this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});else return a=this.root.slice(0,-1)||"/",this.location.replace(a+ 968"#"+this.getPath()),!0;this._hasHashChange||!this._wantsHashChange||this._usePushState||(this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1,a=document.body,a=a.insertBefore(this.iframe,a.firstChild).contentWindow,a.document.open(),a.document.close(),a.location.hash="#"+this.fragment);a=window.addEventListener||function(b,c){return attachEvent("on"+b,c)};this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&& 969!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval));if(!this.options.silent)return this.loadUrl()},stop:function(){var a=window.removeEventListener||function(b,c){return detachEvent("on"+b,c)};this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&a("hashchange",this.checkUrl,!1);this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null);this._checkUrlInterval&&clearInterval(this._checkUrlInterval); 970v.started=!1},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(a){a=this.getFragment();a===this.fragment&&this.iframe&&(a=this.getHash(this.iframe.contentWindow));if(a===this.fragment)return!1;this.iframe&&this.navigate(a);this.loadUrl()},loadUrl:function(a){if(!this.matchRoot())return!1;a=this.fragment=this.getFragment(a);return f.some(this.handlers,function(b){if(b.route.test(a))return b.callback(a),!0})},navigate:function(a,b){if(!v.started)return!1;b&&!0!==b|| 971(b={trigger:!!b});a=this.getFragment(a||"");var c=this.root;if(""===a||"?"===a.charAt(0))c=c.slice(0,-1)||"/";c+=a;a=this.decodeFragment(a.replace(ja,""));if(this.fragment!==a){this.fragment=a;if(this._usePushState)this.history[b.replace?"replaceState":"pushState"]({},document.title,c);else if(this._wantsHashChange)this._updateHash(this.location,a,b.replace),this.iframe&&a!==this.getHash(this.iframe.contentWindow)&&(c=this.iframe.contentWindow,b.replace||(c.document.open(),c.document.close()),this._updateHash(c.location, 972a,b.replace));else return this.location.assign(c);if(b.trigger)return this.loadUrl(a)}},_updateHash:function(a,b,c){c?(c=a.href.replace(/(javascript:|#).*$/,""),a.replace(c+"#"+b)):a.hash="#"+b}});k.history=new v;y.extend=C.extend=N.extend=x.extend=v.extend=function(a,b){var c=this;var d=a&&f.has(a,"constructor")?a.constructor:function(){return c.apply(this,arguments)};f.extend(d,c,b);d.prototype=f.create(c.prototype,a);d.prototype.constructor=d;d.__super__=c.prototype;return d};var K=function(){throw Error('A "url" property or function must be specified'); 973},B=function(a,b){var c=b.error;
973b.error=function(d){c&&c.call(b.context,a,d,b);a.trigger("error",a,d,b)}};return k}); 974}catch(e){WRMCB(e)}; 975; 976try { 977/* module-key = 'jira.webresources:backbone-1.3.3', location = '/static/lib/backbone/backbone-1.3.3.js' */ 978define("jira/backbone-1.3.3",["jquery","atlassian/libs/underscore-1.8.3","atlassian/libs/factories/backbone-1.3.3"],(function(a,e,n){return n(e,a)})); 979}catch(e){WRMCB(e)}; 980; 981try { 982/* module-key = 'com.atlassian.soy.soy-template-plugin:soy-deps', location = 'js/soyutils.js' */ 983/* 984 * Copyright 2008 Google Inc. 985 * 986 * Licensed under the Apache License, Version 2.0 (the "License"); 987 * you may not use this file except in compliance with the License. 988 * You may obtain a copy of the License at 989 * 990 * http://www.apache.org/licenses/LICENSE-2.0 991 * 992 * Unless required by applicable law or agreed to in writing, software 993 * distributed under the License is distributed on an "AS IS" BASIS, 994 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 995 * See the License for the specific language governing permissions and 996 * limitations under the License. 997 */ 998var goog=goog||{} 999goog.global=this 1000COMPILED=!0 1001goog.global.CLOSURE_UNCOMPILED_DEFINES 1002goog.global.CLOSURE_DEFINES 1003goog.isDef=function(val){return void 0!==val} 1004goog.exportPath_=function(name,opt_object,opt_objectToExportTo){var part,parts=name.split("."),cur=opt_objectToExportTo||goog.global 1005!(parts[0]in cur)&&cur.execScript&&cur.execScript("var "+parts[0]) 1006for(;parts.length&&(part=parts.shift());)!parts.length&&goog.isDef(opt_object)?cur[part]=opt_object:cur=cur[part]?cur[part]:cur[part]={}} 1007goog.define=function(name,defaultValue){var value=defaultValue 1008COMPILED||(goog.global.CLOSURE_UNCOMPILED_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES,name)?value=goog.global.CLOSURE_UNCOMPILED_DEFINES[name]:goog.global.CLOSURE_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES,name)&&(value=goog.global.CLOSURE_DEFINES[name])) 1009goog.exportPath_(name,value)} 1010goog.DEBUG=!0 1011goog.define("goog.LOCALE","en") 1012goog.define("goog.TRUSTED_SITE",!0) 1013goog.define("goog.STRICT_MODE_COMPATIBLE",!1) 1014goog.define("goog.DISALLOW_TEST_ONLY_CODE",COMPILED&&!goog.DEBUG) 1015goog.provide=function(name){if(!COMPILED&&goog.isProvided_(name))throw Error('Namespace "'+name+'" already declared.') 1016goog.constructNamespace_(name)} 1017goog.constructNamespace_=function(name,opt_obj){if(!COMPILED){delete goog.implicitNamespaces_[name] 1018for(var namespace=name;(namespace=namespace.substring(0,namespace.lastIndexOf(".")))&&!goog.getObjectByName(namespace);)goog.implicitNamespaces_[namespace]=!0}goog.exportPath_(name,opt_obj)} 1019goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/ 1020goog.module=function(name){if(!goog.isString(name)||!name||-1==name.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier") 1021if(!goog.isInModuleLoader_())throw Error("Module "+name+" has been loaded incorrectly.") 1022if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.") 1023goog.moduleLoaderState_.moduleName=name 1024if(!COMPILED){if(goog.isProvided_(name))throw Error('Namespace "'+name+'" already declared.') 1025delete goog.implicitNamespaces_[name]}} 1026goog.module.get=function(name){return goog.module.getInternal_(name)} 1027goog.module.getInternal_=function(name){if(!COMPILED)return goog.isProvided_(name)?name in goog.loadedModules_?goog.loadedModules_[name]:goog.getObjectByName(name):null} 1028goog.moduleLoaderState_=null 1029goog.isInModuleLoader_=function(){return null!=goog.moduleLoaderState_} 1030goog.module.declareTestMethods=function(){if(!goog.isInModuleLoader_())throw new Error("goog.module.declareTestMethods must be called from within a goog.module") 1031goog.moduleLoaderState_.declareTestMethods=!0} 1032goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInModuleLoader_())throw new Error("goog.module.declareLegacyNamespace must be called from within a goog.module") 1033if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.") 1034goog.moduleLoaderState_.declareLegacyNamespace=!0} 1035goog.setTestOnly=function(opt_message){if(goog.DISALLOW_TEST_ONLY_CODE){o
1035pt_message=opt_message||"" 1036throw Error("Importing test-only code into non-debug environment"+(opt_message?": "+opt_message:"."))}} 1037goog.forwardDeclare=function(name){} 1038if(!COMPILED){goog.isProvided_=function(name){return name in goog.loadedModules_||!goog.implicitNamespaces_[name]&&goog.isDefAndNotNull(goog.getObjectByName(name))} 1039goog.implicitNamespaces_={"goog.module":!0}}goog.getObjectByName=function(name,opt_obj){for(var part,parts=name.split("."),cur=opt_obj||goog.global;part=parts.shift();){if(!goog.isDefAndNotNull(cur[part]))return null 1040cur=cur[part]}return cur} 1041goog.globalize=function(obj,opt_global){var global=opt_global||goog.global 1042for(var x in obj)global[x]=obj[x]} 1043goog.addDependency=function(relPath,provides,requires,opt_isModule){if(goog.DEPENDENCIES_ENABLED){for(var provide,require,path=relPath.replace(/\\/g,"/"),deps=goog.dependencies_,i=0;provide=provides[i];i++){deps.nameToPath[provide]=path 1044deps.pathIsModule[path]=!!opt_isModule}for(var j=0;require=requires[j];j++){path in deps.requires||(deps.requires[path]={}) 1045deps.requires[path][require]=!0}}} 1046goog.define("goog.ENABLE_DEBUG_LOADER",!0) 1047goog.logToConsole_=function(msg){goog.global.console&&goog.global.console.error(msg)} 1048goog.require=function(name){if(!COMPILED){goog.ENABLE_DEBUG_LOADER&&goog.IS_OLD_IE_&&goog.maybeProcessDeferredDep_(name) 1049if(goog.isProvided_(name))return goog.isInModuleLoader_()?goog.module.getInternal_(name):null 1050if(goog.ENABLE_DEBUG_LOADER){var path=goog.getPathFromDeps_(name) 1051if(path){goog.included_[path]=!0 1052goog.writeScripts_() 1053return null}}var errorMessage="goog.require could not find: "+name 1054goog.logToConsole_(errorMessage) 1055throw Error(errorMessage)}} 1056goog.basePath="" 1057goog.global.CLOSURE_BASE_PATH 1058goog.global.CLOSURE_NO_DEPS 1059goog.global.CLOSURE_IMPORT_SCRIPT 1060goog.nullFunction=function(){} 1061goog.identityFunction=function(opt_returnValue,var_args){return opt_returnValue} 1062goog.abstractMethod=function(){throw Error("unimplemented abstract method")} 1063goog.addSingletonGetter=function(ctor){ctor.getInstance=function(){if(ctor.instance_)return ctor.instance_ 1064goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=ctor) 1065return ctor.instance_=new ctor}} 1066goog.instantiatedSingletons_=[] 1067goog.define("goog.LOAD_MODULE_USING_EVAL",!0) 1068goog.define("goog.SEAL_MODULE_EXPORTS",goog.DEBUG) 1069goog.loadedModules_={} 1070goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER 1071if(goog.DEPENDENCIES_ENABLED){goog.included_={} 1072goog.dependencies_={pathIsModule:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}} 1073goog.inHtmlDocument_=function(){var doc=goog.global.document 1074return void 0!==doc&&"write"in doc} 1075goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH 1076else if(goog.inHtmlDocument_())for(var scripts=goog.global.document.getElementsByTagName("script"),i=scripts.length-1;i>=0;--i){var src=scripts[i].src,qmark=src.lastIndexOf("?"),l=-1==qmark?src.length:qmark 1077if("base.js"==src.substr(l-7,7)){goog.basePath=src.substr(0,l-7) 1078return}}} 1079goog.importScript_=function(src,opt_sourceText){(goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_)(src,opt_sourceText)&&(goog.dependencies_.written[src]=!0)} 1080goog.IS_OLD_IE_=goog.global.document&&goog.global.document.all&&!goog.global.atob 1081goog.importModule_=function(src){var bootstrap='goog.retrieveAndExecModule_("'+src+'");' 1082goog.importScript_("",bootstrap)&&(goog.dependencies_.written[src]=!0)} 1083goog.queuedModules_=[] 1084goog.wrapModule_=function(srcUrl,scriptText){return goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(scriptText+"\n//# sourceURL="+srcUrl+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+scriptText+"\n;return exports});\n//# sourceURL="+srcUrl+"\n"} 1085goog.loadQueuedModules_=function(){var count=goog.queuedModules_.length 1086if(count>0){var queue=goog.queuedModules_ 1087goog.queuedModules_=[] 1088for(var i=0;i<count;i++){var path=queue[i] 1089goog.maybeProcessDeferredPath_(path)}}} 1090goog.maybeProcessDeferredDep_=function(name){if(goog.isDeferredModule_(name)&&goog.allDepsAreAvailable_(name)){var path=goog.getPathFromDeps_(name) 1091goog.maybeProcessDeferredPath_(goog.basePath+path)}} 1092goog.isDeferredModule_=function(name){var path=goog.getPathFromDeps_(name) 1093if(path&&goog.dependencies_.pathIsModule[path]){return goog.basePath+path in goog.dependencies_.deferred}return!1} 1094goog.allDepsAreAvailable_=function(name){var path=goog.getPathFromDeps_(name) 1095if(path&&path in goog.dependencies_.requires)for(var requireName in goog.dependencies_.requires[path])if(!goog.isProvided_(requireName)&&!goog.isDeferredModule_(requireName))return!1 1096return!0} 1097goog.maybeProcessDeferredPath_=function(abspath){if(abspath in goog.dependencies_.deferred){var src=goog.dependencies_.deferred[abspath] 1098delete goog.dependencies_.deferred[abspath] 1099goog.globalEval(src)}} 1100goog.loadModule=function(moduleDef){var previousState=goog.moduleLoaderState_ 1101try{goog.moduleLoaderState_={moduleName:void 0,declareTestMethods:!1} 1102var exports 1103if(goog.isFunction(moduleDef))exports=moduleDef.call(goog.global,{}) 1104else{if(!goog.isString(moduleDef))throw Error("Invalid module definition") 1105exports=goog.loadModuleFromSource_.call(goog.global,moduleDef)}var moduleName=goog.moduleLoaderState_.moduleName 1106if(!goog.isString(moduleName)||!moduleName)throw Error('Invalid module name "'+moduleName+'"') 1107goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(moduleName,exports):goog.SEAL_MODULE_EXPORTS&&Object.seal&&Object.seal(exports) 1108goog.loadedModules_[moduleName]=exports 1109if(goog.moduleLoaderState_.declareTestMethods)for(var entry in exports)0!==entry.indexOf("test",0)&&"tearDown"!=entry&&"setUp"!=entry&&"setUpPage"!=entry&&"tearDownPage"!=entry||
1109(goog.global[entry]=exports[entry])}finally{goog.moduleLoaderState_=previousState}} 1110goog.loadModuleFromSource_=function(source){"use strict" 1111var exports={} 1112eval(arguments[0]) 1113return exports} 1114goog.writeScriptTag_=function(src,opt_sourceText){if(goog.inHtmlDocument_()){var doc=goog.global.document 1115if("complete"==doc.readyState){if(/\bdeps.js$/.test(src))return!1 1116throw Error('Cannot write "'+src+'" after document load')}var isOldIE=goog.IS_OLD_IE_ 1117if(void 0===opt_sourceText)if(isOldIE){var state=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' " 1118doc.write('<script type="text/javascript" src="'+src+'"'+state+"><\/script>")}else doc.write('<script type="text/javascript" src="'+src+'"><\/script>') 1119else doc.write('<script type="text/javascript">'+opt_sourceText+"<\/script>") 1120return!0}return!1} 1121goog.lastNonModuleScriptIndex_=0 1122goog.onScriptLoad_=function(script,scriptIndex){"complete"==script.readyState&&goog.lastNonModuleScriptIndex_==scriptIndex&&goog.loadQueuedModules_() 1123return!0} 1124goog.writeScripts_=function(){var scripts=[],seenScript={},deps=goog.dependencies_ 1125function visitNode(path){if(!(path in deps.written))if(path in deps.visited){if(!(path in seenScript)){seenScript[path]=!0 1126scripts.push(path)}}else{deps.visited[path]=!0 1127if(path in deps.requires)for(var requireName in deps.requires[path])if(!goog.isProvided_(requireName)){if(!(requireName in deps.nameToPath))throw Error("Undefined nameToPath for "+requireName) 1128visitNode(deps.nameToPath[requireName])}if(!(path in seenScript)){seenScript[path]=!0 1129scripts.push(path)}}}for(var path in goog.included_)deps.written[path]||visitNode(path) 1130for(var i=0;i<scripts.length;i++){path=scripts[i] 1131goog.dependencies_.written[path]=!0}var moduleState=goog.moduleLoaderState_ 1132goog.moduleLoaderState_=null 1133for(i=0;i<scripts.length;i++){if(!(path=scripts[i])){goog.moduleLoaderState_=moduleState 1134throw Error("Undefined script input")}if(deps.pathIsModule[path]){!0 1135goog.importModule_(goog.basePath+path)}else goog.importScript_(goog.basePath+path)}goog.moduleLoaderState_=moduleState} 1136goog.getPathFromDeps_=function(rule){return rule in goog.dependencies_.nameToPath?goog.dependencies_.nameToPath[rule]:null} 1137goog.findBasePath_() 1138goog.global.CLOSURE_NO_DEPS||goog.importScript_(goog.basePath+"deps.js")}goog.normalizePath_=function(path){for(var components=path.split("/"),i=0;i<components.length;)"."==components[i]?components.splice(i,1):i&&".."==components[i]&&components[i-1]&&".."!=components[i-1]?components.splice(--i,2):i++ 1139return components.join("/")} 1140goog.retrieveAndExecModule_=function(src){if(!COMPILED){var originalPath=src 1141src=goog.normalizePath_(src) 1142var importScript=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_,scriptText=null,xhr=new goog.global.XMLHttpRequest 1143xhr.onload=function(){scriptText=this.responseText} 1144xhr.open("get",src,!1) 1145xhr.send() 1146if(null==(scriptText=xhr.responseText))throw new Error("load of "+src+"failed") 1147var execModuleScript=goog.wrapModule_(src,scriptText) 1148if(goog.IS_OLD_IE_){goog.dependencies_.deferred[originalPath]=execModuleScript 1149goog.queuedModules_.push(originalPath)}else importScript(src,execModuleScript)}} 1150goog.typeOf=function(value){var s=typeof value 1151if("object"==s){if(!value)return"null" 1152if(value instanceof Array)return"array" 1153if(value instanceof Object)return s 1154var className=Object.prototype.toString.call(value) 1155if("[object Window]"==className)return"object" 1156if("[object Array]"==className||"number"==typeof value.length&&void 0!==value.splice&&void 0!==value.propertyIsEnumerable&&!value.propertyIsEnumerable("splice"))return"array" 1157if("[object Function]"==className||void 0!==value.call&&void 0!==value.propertyIsEnumerable&&!value.propertyIsEnumerable("call"))return"function"}else if("function"==s&&void 0===value.call)return"object" 1158return s} 1159goog.isNull=function(val){return null===val} 1160goog.isDefAndNotNull=function(val){return null!=val} 1161goog.isArray=function(val){return"array"==goog.typeOf(val)} 1162goog.isArrayLike=function(val){var type=goog.typeOf(val) 1163return"array"==type||"object"==type&&"number"==typeof val.length} 1164goog.isDateLike=function(val){return goog.isObject(val)&&"function"==typeof val.getFullYear} 1165goog.isString=function(val){return"string"==typeof val} 1166goog.isBoolean=function(val){return"boolean"==typeof val} 1167goog.isNumber=function(val){return"number"==typeof val} 1168goog.isFunction=function(val){return"function"==goog.typeOf(val)} 1169goog.isObject=function(val){var type=typeof val 1170return"object"==type&&null!=val||"function"==type} 1171goog.getUid=function(obj){return obj[goog.UID_PROPERTY_]||(obj[goog.UID_PROPERTY_]=++goog.uidCounter_)} 1172goog.hasUid=function(obj){return!!obj[goog.UID_PROPERTY_]} 1173goog.removeUid=function(obj){"removeAttribute"in obj&&obj.removeAttribute(goog.UID_PROPERTY_) 1174/** @preserveTry */ 1175try{delete obj[goog.UID_PROPERTY_]}catch(ex){}} 1176goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0) 1177goog.uidCounter_=0 1178goog.getHashCode=goog.getUid 1179goog.removeHashCode=goog.removeUid 1180goog.cloneObject=function(obj){var type=goog.typeOf(obj) 1181if("object"==type||"array"==type){if(obj.clone)return obj.clone() 1182var clone="array"==type?[]:{} 1183for(var key in obj)clone[key]=goog.cloneObject(obj[key]) 1184return clone}return obj}
1185goog.bindNative_=function(fn,selfObj,var_args){return fn.call.apply(fn.bind,arguments)} 1186goog.bindJs_=function(fn,selfObj,var_args){if(!fn)throw new Error 1187if(arguments.length>2){var boundArgs=Array.prototype.slice.call(arguments,2) 1188return function(){var newArgs=Array.prototype.slice.call(arguments) 1189Array.prototype.unshift.apply(newArgs,boundArgs) 1190return fn.apply(selfObj,newArgs)}}return function(){return fn.apply(selfObj,arguments)}} 1191goog.bind=function(fn,selfObj,var_args){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_ 1192return goog.bind.apply(null,arguments)} 1193goog.partial=function(fn,var_args){var args=Array.prototype.slice.call(arguments,1) 1194return function(){var newArgs=args.slice() 1195newArgs.push.apply(newArgs,arguments) 1196return fn.apply(this,newArgs)}} 1197goog.mixin=function(target,source){for(var x in source)target[x]=source[x]} 1198goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date} 1199goog.globalEval=function(script){if(goog.global.execScript)goog.global.execScript(script,"JavaScript") 1200else{if(!goog.global.eval)throw Error("goog.globalEval not available") 1201if(null==goog.evalWorksForGlobals_){goog.global.eval("var _et_ = 1;") 1202if(void 0!==goog.global._et_){delete goog.global._et_ 1203goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(script) 1204else{var doc=goog.global.document,scriptElt=doc.createElement("script") 1205scriptElt.type="text/javascript" 1206scriptElt.defer=!1 1207scriptElt.appendChild(doc.createTextNode(script)) 1208doc.body.appendChild(scriptElt) 1209doc.body.removeChild(scriptElt)}}} 1210goog.evalWorksForGlobals_=null 1211goog.cssNameMapping_ 1212goog.cssNameMappingStyle_ 1213goog.getCssName=function(className,opt_modifier){var rename,getMapping=function(cssName){return goog.cssNameMapping_[cssName]||cssName} 1214rename=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?getMapping:function(cssName){for(var parts=cssName.split("-"),mapped=[],i=0;i<parts.length;i++)mapped.push(getMapping(parts[i])) 1215return mapped.join("-")}:function(a){return a} 1216return opt_modifier?className+"-"+rename(opt_modifier):rename(className)} 1217goog.setCssNameMapping=function(mapping,opt_style){goog.cssNameMapping_=mapping 1218goog.cssNameMappingStyle_=opt_style} 1219goog.global.CLOSURE_CSS_NAME_MAPPING 1220!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING) 1221goog.getMsg=function(str,opt_values){opt_values&&(str=str.replace(/\{\$([^}]+)}/g,(function(match,key){return key in opt_values?opt_values[key]:match}))) 1222return str} 1223goog.getMsgWithFallback=function(a,b){return a} 1224goog.exportSymbol=function(publicPath,object,opt_objectToExportTo){goog.exportPath_(publicPath,object,opt_objectToExportTo)} 1225goog.exportProperty=function(object,publicName,symbol){object[publicName]=symbol} 1226goog.inherits=function(childCtor,parentCtor){function tempCtor(){}tempCtor.prototype=parentCtor.prototype 1227childCtor.superClass_=parentCtor.prototype 1228childCtor.prototype=new tempCtor 1229childCtor.prototype.constructor=childCtor 1230childCtor.base=function(me,methodName,var_args){for(var args=new Array(arguments.length-2),i=2;i<arguments.length;i++)args[i-2]=arguments[i] 1231return parentCtor.prototype[methodName].apply(me,args)}} 1232goog.base=function(me,opt_methodName,var_args){var caller=arguments.callee.caller 1233if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!caller)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C") 1234if(caller.superClass_){for(var ctorArgs=new Array(arguments.length-1),i=1;i<arguments.length;i++)ctorArgs[i-1]=arguments[i] 1235return caller.superClass_.constructor.apply(me,ctorArgs)}var args=new Array(arguments.length-2) 1236for(i=2;i<arguments.length;i++)args[i-2]=arguments[i] 1237for(var foundCaller=!1,ctor=me.constructor;ctor;ctor=ctor.superClass_&&ctor.superClass_.constructor)if(ctor.prototype[opt_methodName]===caller)foundCaller=!0 1238else if(foundCaller)return ctor.prototype[opt_methodName].apply(me,args) 1239if(me[opt_methodName]===caller)return me.constructor.prototype[opt_methodName].apply(me,args) 1240throw Error("goog.base called from a method of one name to a method of a different name")} 1241goog.scope=function(fn){fn.call(goog.global)} 1242COMPILED||(goog.global.COMPILED=COMPILED) 1243goog.defineClass=function(superClass,def){var constructor=def.constructor,statics=def.statics 1244constructor&&constructor!=Object.prototype.constructor||(constructor=function(){throw Error("cannot instantiate an interface (no constructor defined).")}) 1245var cls=goog.defineClass.createSealingConstructor_(constructor,superClass) 1246superClass&&goog.inherits(cls,superClass) 1247delete def.constructor 1248delete def.statics 1249goog.defineClass.applyProperties_(cls.prototype,def) 1250null!=statics&&(statics instanceof Function?statics(cls):goog.defineClass.applyProperties_(cls,statics)) 1251return cls} 1252goog.defineClass.ClassDescriptor
1253goog.define("goog.defineClass.SEAL_CLASS_INSTANCES",goog.DEBUG) 1254goog.defineClass.createSealingConstructor_=function(ctr,superClass){if(goog.defineClass.SEAL_CLASS_INSTANCES&&Object.seal instanceof Function){if(superClass&&superClass.prototype&&superClass.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_])return ctr 1255var wrappedCtr=function(){var instance=ctr.apply(this,arguments)||this 1256instance[goog.UID_PROPERTY_]=instance[goog.UID_PROPERTY_] 1257this.constructor===wrappedCtr&&Object.seal(instance) 1258return instance} 1259return wrappedCtr}return ctr} 1260goog.defineClass.OBJECT_PROTOTYPE_FIELDS_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"] 1261goog.defineClass.applyProperties_=function(target,source){var key 1262for(key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]) 1263for(var i=0;i<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;i++){key=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[i] 1264Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}} 1265goog.tagUnsealableClass=function(ctr){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(ctr.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)} 1266goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable" 1267goog.DEBUG=!1 1268goog.inherits=function(childCtor,parentCtor){function tempCtor(){}tempCtor.prototype=parentCtor.prototype 1269childCtor.superClass_=parentCtor.prototype 1270childCtor.prototype=new tempCtor 1271childCtor.prototype.constructor=childCtor 1272childCtor.base=function(me,methodName,var_args){var args=Array.prototype.slice.call(arguments,2) 1273return parentCtor.prototype[methodName].apply(me,args)}} 1274goog.userAgent||(goog.userAgent=function(){var userAgent="" 1275"undefined"!=typeof navigator&&navigator&&"string"==typeof navigator.userAgent&&(userAgent=navigator.userAgent) 1276var isOpera=0==userAgent.indexOf("Opera") 1277return{jscript:{HAS_JSCRIPT:"ScriptEngine"in this},OPERA:isOpera,IE:!isOpera&&-1!=userAgent.indexOf("MSIE"),WEBKIT:!isOpera&&-1!=userAgent.indexOf("WebKit")}}()) 1278goog.asserts||(goog.asserts={assert:function(condition){if(!condition)throw Error("Assertion error")},fail:function(var_args){}}) 1279if(!goog.dom){goog.dom={} 1280goog.dom.DomHelper=function(d){this.document_=d||document} 1281goog.dom.DomHelper.prototype.getDocument=function(){return this.document_} 1282goog.dom.DomHelper.prototype.createElement=function(name){return this.document_.createElement(name)} 1283goog.dom.DomHelper.prototype.createDocumentFragment=function(){return this.document_.createDocumentFragment()}}goog.format||(goog.format={insertWordBreaks:function(str,maxCharsBetweenWordBreaks){for(var resultArr=[],resultArrLen=0,isInTag=!1,isMaybeInEntity=!1,numCharsWithoutBreak=0,flushIndex=0,i=0,n=(str=String(str)).length;i<n;++i){var charCode=str.charCodeAt(i) 1284if(numCharsWithoutBreak>=maxCharsBetweenWordBreaks&&32!=charCode){resultArr[resultArrLen++]=str.substring(flushIndex,i) 1285flushIndex=i 1286resultArr[resultArrLen++]=goog.format.WORD_BREAK 1287numCharsWithoutBreak=0}if(isInTag)62==charCode&&(isInTag=!1) 1288else if(isMaybeInEntity)switch(charCode){case 59:isMaybeInEntity=!1;++numCharsWithoutBreak 1289break 1290case 60:isMaybeInEntity=!1 1291isInTag=!0 1292break 1293case 32:isMaybeInEntity=!1 1294numCharsWithoutBreak=0}else switch(charCode){case 60:isInTag=!0 1295break 1296case 38:isMaybeInEntity=!0 1297break 1298case 32:numCharsWithoutBreak=0 1299break 1300default:++numCharsWithoutBreak}}resultArr[resultArrLen++]=str.substring(flushIndex) 1301return resultArr.join("")},WORD_BREAK:goog.userAgent.WEBKIT?"<wbr></wbr>":goog.userAgent.OPERA?"­":goog.userAgent.IE?"​":"<wbr>"}) 1302goog.i18n||(goog.i18n={bidi:{}}) 1303goog.i18n.bidi.IS_RTL=!1 1304goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0,UNKNOWN:0} 1305 1306;/** 1307 * Convert a directionality given in various formats to a goog.i18n.bidi.Dir 1308 * constant. Useful for interaction with different standards of directionality 1309 * representation. 1310 * 1311 * @param {goog.i18n.bidi.Dir|number|boolean|null} givenDir Directionality given 1312 * in one of the following formats: 1313 * 1. A goog.i18n.bidi.Dir constant. 1314 * 2. A number (positive = LTR, negative = RTL, 0 = neutral). 1315 * 3. A boolean (true = RTL, false = LTR). 1316 * 4. A null for unknown directionality. 1317 * @param {boolean=} opt_noNeutral Whether a givenDir of zero or 1318 * goog.i18n.bidi.Dir.NEUTRAL should be treated as null, i.e. unknown, in 1319 * order to preserve legacy behavior. 1320 * @return {?goog.i18n.bidi.Dir} A goog.i18n.bidi.Dir constant matching the 1321 * given directionality. If given null, returns null (i.e. unknown). 1322 */goog.i18n.bidi.toDir=function(givenDir,opt_noNeutral){return"number"==typeof givenDir?givenDir>0?goog.i18n.bidi.Dir.LTR:givenDir<0?goog.i18n.bidi.Dir.RTL:opt_noNeutral?null:goog.i18n.bidi.Dir.NEUTRAL:null==givenDir?null:givenDir?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR} 1323goog.i18n.bidi.estimateDirection=function(str,opt_isHtml){for(var rtlC
1323ount=0,totalCount=0,hasWeaklyLtr=!1,tokens=soyshim.$$bidiStripHtmlIfNecessary_(str,opt_isHtml).split(soyshim.$$bidiWordSeparatorRe_),i=0;i<tokens.length;i++){var token=tokens[i] 1324if(soyshim.$$bidiRtlDirCheckRe_.test(token)){rtlCount++ 1325totalCount++}else soyshim.$$bidiIsRequiredLtrRe_.test(token)?hasWeaklyLtr=!0:soyshim.$$bidiLtrCharRe_.test(token)?totalCount++:soyshim.$$bidiHasNumeralsRe_.test(token)&&(hasWeaklyLtr=!0)}return 0==totalCount?hasWeaklyLtr?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:rtlCount/totalCount>soyshim.$$bidiRtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR} 1326goog.i18n.BidiFormatter=function(dir){this.dir_=goog.i18n.bidi.toDir(dir,!0)} 1327goog.i18n.BidiFormatter.prototype.getContextDir=function(){return this.dir_} 1328goog.i18n.BidiFormatter.prototype.knownDirAttr=function(dir){return dir&&dir!=this.dir_?dir<0?'dir="rtl"':'dir="ltr"':""} 1329goog.i18n.BidiFormatter.prototype.endEdge=function(){return this.dir_<0?"left":"right"} 1330goog.i18n.BidiFormatter.prototype.mark=function(){return this.dir_>0?"â":this.dir_<0?"â":""} 1331goog.i18n.BidiFormatter.prototype.markAfterKnownDir=function(textDir,text,opt_isHtml){null==textDir&&(textDir=goog.i18n.bidi.estimateDirection(text,opt_isHtml)) 1332return this.dir_>0&&(textDir<0||soyshim.$$bidiIsRtlExitText_(text,opt_isHtml))?"â":this.dir_<0&&(textDir>0||soyshim.$$bidiIsLtrExitText_(text,opt_isHtml))?"â":""} 1333goog.i18n.BidiFormatter.prototype.spanWrapWithKnownDir=function(textDir,str,placeholder){null==textDir&&(textDir=goog.i18n.bidi.estimateDirection(str,!0)) 1334var reset=this.markAfterKnownDir(textDir,str,!0) 1335textDir>0&&this.dir_<=0?str='<span dir="ltr">'+str+"</span>":textDir<0&&this.dir_>=0&&(str='<span dir="rtl">'+str+"</span>") 1336return str+reset} 1337goog.i18n.BidiFormatter.prototype.startEdge=function(){return this.dir_<0?"right":"left"} 1338goog.i18n.BidiFormatter.prototype.unicodeWrapWithKnownDir=function(textDir,str,opt_isHtml){null==textDir&&(textDir=goog.i18n.bidi.estimateDirection(str,opt_isHtml)) 1339var reset=this.markAfterKnownDir(textDir,str,opt_isHtml) 1340textDir>0&&this.dir_<=0?str="âª"+str+"â¬":textDir<0&&this.dir_>=0&&(str="â«"+str+"â¬") 1341return str+reset} 1342goog.string||(goog.string={newLineToBr:function(str,opt_xml){str=String(str) 1343return goog.string.NEWLINE_TO_BR_RE_.test(str)?str.replace(/(\r\n|\r|\n)/g,opt_xml?"<br />":"<br>"):str},urlEncode:encodeURIComponent,NEWLINE_TO_BR_RE_:/[\r\n]/}) 1344goog.string.StringBuffer=function(opt_a1,var_args){this.buffer_=goog.userAgent.jscript.HAS_JSCRIPT?[]:"" 1345null!=opt_a1&&this.append.apply(this,arguments)} 1346goog.string.StringBuffer.prototype.bufferLength_=0 1347goog.string.StringBuffer.prototype.append=function(a1,opt_a2,var_args){if(goog.userAgent.jscript.HAS_JSCRIPT)if(null==opt_a2)this.buffer_[this.bufferLength_++]=a1 1348else{var arr=this.buffer_ 1349arr.push.apply(arr,arguments) 1350this.bufferLength_=this.buffer_.length}else{this.buffer_+=a1 1351if(null!=opt_a2)for(var i=1;i<arguments.length;i++)this.buffer_+=arguments[i]}return this} 1352goog.string.StringBuffer.prototype.clear=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){this.buffer_.length=0 1353this.bufferLength_=0}else this.buffer_=""} 1354goog.string.StringBuffer.prototype.toString=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){var str=this.buffer_.join("") 1355this.clear() 1356str&&this.append(str) 1357return str}return this.buffer_} 1358goog.soy||(goog.soy={renderAsElement:function(template,opt_templateData,opt_injectedData,opt_dom){return soyshim.$$renderWithWrapper_(template,opt_templateData,opt_dom,!0,opt_injectedData)},renderAsFragment:function(template,opt_templateData,opt_injectedData,opt_dom){return soyshim.$$renderWithWrapper_(template,opt_templateData,opt_dom,!1,opt_injectedData)},renderElement:function(element,template,opt_templateData,opt_injectedData){element.innerHTML=template(opt_templateData,null,opt_injectedData)},data:{}}) 1359goog.soy.data.SanitizedContentKind={HTML:goog.DEBUG?{sanitizedContentKindHtml:!0}:{},JS:goog.DEBUG?{sanitizedContentJsChars:!0}:{},JS_STR_CHARS:goog.DEBUG?{sanitizedContentJsStrChars:!0}:{},URI:goog.DEBUG?{sanitizedContentUri:!0}:{},ATTRIBUTES:goog.DEBUG?{sanitizedContentHtmlAttribute:!0}:{},CSS:goog.DEBUG?{sanitizedContentCss:!0}:{},TEXT:goog.DEBUG?{sanitizedContentKindText:!0}:{}} 1360goog.soy.data.SanitizedContent=function(){throw Error("Do not instantiate directly")} 1361goog.soy.data.SanitizedContent.prototype.contentKind 1362goog.soy.data.SanitizedContent.prototype.contentDir=null 1363goog.soy.data.SanitizedContent.prototype.content 1364goog.soy.data.SanitizedContent.prototype.toString=function(){return this.content} 1365var soy={esc:{}},soydata={VERY_UNSAFE:{}},soyshim={$$DEFAULT_TEMPLATE_DATA_:{},$$renderWithWrapper_:function(template,opt_templateData,opt_dom,opt_asElement,opt_injectedData){var dom=opt_dom||document,wrapper=dom.createElement("div") 1366wrapper.innerHTML=template(opt_templateData||soyshim.$$DEFAULT_TEMPLATE_DATA_,void 0,opt_injectedData) 1367if(1==wrapper.childNodes.length){var firstChild=wrapper.firstChild 1368if(!opt_asElement||1==firstChild.nodeType)return firstChild}if(opt_asElement)return wrapper 1369for(var fragment=dom.createDocumentFragment();wrapper.firstChild;)fragment.appendChild(wrapper.firstChild) 1370return fragment},$$bidiStripHtmlIfNecessary_:function(str,opt_isHtml){return opt_isHtml?str.replace(soyshim.$$BIDI_HTML_SKIP_RE_,""):str},$$BIDI_HTML_SKIP_RE_:/<[^>]*>|&[^;]+;
1370/g,$$bidiLtrChars_:"A-Za-zÃ-ÃÃ-öø-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿",$$bidiRtlChars_:"Ö-ß¿âï¬-ï·¿ï¹°-ﻼ"} 1371soyshim.$$bidiRtlDirCheckRe_=new RegExp("^[^"+soyshim.$$bidiLtrChars_+"]*["+soyshim.$$bidiRtlChars_+"]") 1372soyshim.$$bidiLtrCharRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"]") 1373soyshim.$$bidiIsRequiredLtrRe_=/^http:\/\/.*/ 1374soyshim.$$bidiHasNumeralsRe_=/\d/ 1375soyshim.$$bidiWordSeparatorRe_=/\s+/ 1376soyshim.$$bidiRtlDetectionThreshold_=.4 1377soyshim.$$bidiLtrExitDirCheckRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"][^"+soyshim.$$bidiRtlChars_+"]*$") 1378soyshim.$$bidiRtlExitDirCheckRe_=new RegExp("["+soyshim.$$bidiRtlChars_+"][^"+soyshim.$$bidiLtrChars_+"]*$") 1379soyshim.$$bidiIsLtrExitText_=function(str,opt_isHtml){str=soyshim.$$bidiStripHtmlIfNecessary_(str,opt_isHtml) 1380return soyshim.$$bidiLtrExitDirCheckRe_.test(str)} 1381soyshim.$$bidiIsRtlExitText_=function(str,opt_isHtml){str=soyshim.$$bidiStripHtmlIfNecessary_(str,opt_isHtml) 1382return soyshim.$$bidiRtlExitDirCheckRe_.test(str)} 1383soy.StringBuilder=goog.string.StringBuffer 1384soydata.SanitizedContentKind=goog.soy.data.SanitizedContentKind 1385soydata.isContentKind=function(value,contentKind){return null!=value&&value.contentKind===contentKind} 1386soydata.getContentDir=function(value){if(null!=value)switch(value.contentDir){case goog.i18n.bidi.Dir.LTR:return goog.i18n.bidi.Dir.LTR 1387case goog.i18n.bidi.Dir.RTL:return goog.i18n.bidi.Dir.RTL 1388case goog.i18n.bidi.Dir.NEUTRAL:return goog.i18n.bidi.Dir.NEUTRAL}return null} 1389soydata.SanitizedHtml=function(){goog.soy.data.SanitizedContent.call(this)} 1390goog.inherits(soydata.SanitizedHtml,goog.soy.data.SanitizedContent) 1391soydata.SanitizedHtml.prototype.contentKind=soydata.SanitizedContentKind.HTML 1392 1393;/** 1394 * Returns a SanitizedHtml object for a particular value. The content direction 1395 * is preserved. 1396 * 1397 * This HTML-escapes the value unless it is already SanitizedHtml. 1398 * 1399 * @param {*} value The value to convert. If it is already a SanitizedHtml 1400 * object, it is left alone. 1401 * @return {!soydata.SanitizedHtml} A SanitizedHtml object derived from the 1402 * stringified value. It is escaped unless the input is SanitizedHtml. 1403 */soydata.SanitizedHtml.from=function(value){if(null!=value&&value.contentKind===soydata.SanitizedContentKind.HTML){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 1404return value}return soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.esc.$$escapeHtmlHelper(String(value)),soydata.getContentDir(value))} 1405soydata.SanitizedJs=function(){goog.soy.data.SanitizedContent.call(this)} 1406goog.inherits(soydata.SanitizedJs,goog.soy.data.SanitizedContent) 1407soydata.SanitizedJs.prototype.contentKind=soydata.SanitizedContentKind.JS 1408soydata.SanitizedJs.prototype.contentDir=goog.i18n.bidi.Dir.LTR 1409soydata.SanitizedJsStrChars=function(){goog.soy.data.SanitizedContent.call(this)} 1410goog.inherits(soydata.SanitizedJsStrChars,goog.soy.data.SanitizedContent) 1411soydata.SanitizedJsStrChars.prototype.contentKind=soydata.SanitizedContentKind.JS_STR_CHARS 1412soydata.SanitizedUri=function(){goog.soy.data.SanitizedContent.call(this)} 1413goog.inherits(soydata.SanitizedUri,goog.soy.data.SanitizedContent) 1414soydata.SanitizedUri.prototype.contentKind=soydata.SanitizedContentKind.URI 1415soydata.SanitizedUri.prototype.contentDir=goog.i18n.bidi.Dir.LTR 1416soydata.SanitizedHtmlAttribute=function(){goog.soy.data.SanitizedContent.call(this)} 1417goog.inherits(soydata.SanitizedHtmlAttribute,goog.soy.data.SanitizedContent) 1418soydata.SanitizedHtmlAttribute.prototype.contentKind=soydata.SanitizedContentKind.ATTRIBUTES 1419soydata.SanitizedHtmlAttribute.prototype.contentDir=goog.i18n.bidi.Dir.LTR 1420soydata.SanitizedCss=function(){goog.soy.data.SanitizedContent.call(this)} 1421goog.inherits(soydata.SanitizedCss,goog.soy.data.SanitizedContent) 1422soydata.SanitizedCss.prototype.contentKind=soydata.SanitizedContentKind.CSS 1423soydata.SanitizedCss.prototype.contentDir=goog.i18n.bidi.Dir.LTR 1424soydata.UnsanitizedText=function(content,opt_contentDir){this.content=String(content) 1425this.contentDir=null!=opt_contentDir?opt_contentDir:null} 1426goog.inherits(soydata.UnsanitizedText,goog.soy.data.SanitizedContent) 1427soydata.UnsanitizedText.prototype.contentKind=soydata.SanitizedContentKind.TEXT 1428soydata.$$EMPTY_STRING_={VALUE:""} 1429soydata.$$makeSanitizedContentFactory_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 1430return function(content,opt_contentDir){var result=new InstantiableCtor 1431result.content=String(content)
1432void 0!==opt_contentDir&&(result.contentDir=opt_contentDir) 1433return result}} 1434soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 1435return function(content){var result=new InstantiableCtor 1436result.content=String(content) 1437return result}} 1438soydata.markUnsanitizedText=function(content,opt_contentDir){return new soydata.UnsanitizedText(content,opt_contentDir)} 1439soydata.VERY_UNSAFE.ordainSanitizedHtml=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedHtml) 1440soydata.VERY_UNSAFE.ordainSanitizedJs=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedJs) 1441soydata.VERY_UNSAFE.ordainSanitizedJsStrChars=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedJsStrChars) 1442soydata.VERY_UNSAFE.ordainSanitizedUri=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedUri) 1443soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedHtmlAttribute) 1444soydata.VERY_UNSAFE.ordainSanitizedCss=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedCss) 1445soy.renderElement=goog.soy.renderElement 1446soy.renderAsFragment=function(template,opt_templateData,opt_document,opt_injectedData){return goog.soy.renderAsFragment(template,opt_templateData,opt_injectedData,new goog.dom.DomHelper(opt_document))} 1447soy.renderAsElement=function(template,opt_templateData,opt_document,opt_injectedData){return goog.soy.renderAsElement(template,opt_templateData,opt_injectedData,new goog.dom.DomHelper(opt_document))} 1448soy.$$IS_LOCALE_RTL=goog.i18n.bidi.IS_RTL 1449soy.$$augmentMap=function(baseMap,additionalMap){function TempCtor(){}TempCtor.prototype=baseMap 1450var augmentedMap=new TempCtor 1451for(var key in additionalMap)augmentedMap[key]=additionalMap[key] 1452return augmentedMap} 1453soy.$$checkMapKey=function(key){if("string"!=typeof key)throw Error("Map literal's key expression must evaluate to string (encountered type \""+typeof key+'").') 1454return key} 1455soy.$$getMapKeys=function(map){var mapKeys=[] 1456for(var key in map)mapKeys.push(key) 1457return mapKeys} 1458soy.$$getDelTemplateId=function(delTemplateName){return delTemplateName} 1459soy.$$DELEGATE_REGISTRY_PRIORITIES_={} 1460soy.$$DELEGATE_REGISTRY_FUNCTIONS_={} 1461soy.$$registerDelegateFn=function(delTemplateId,delTemplateVariant,delPriority,delFn){var mapKey="key_"+delTemplateId+":"+delTemplateVariant,currPriority=soy.$$DELEGATE_REGISTRY_PRIORITIES_[mapKey] 1462if(void 0===currPriority||delPriority>currPriority){soy.$$DELEGATE_REGISTRY_PRIORITIES_[mapKey]=delPriority 1463soy.$$DELEGATE_REGISTRY_FUNCTIONS_[mapKey]=delFn}else if(delPriority==currPriority)throw Error('Encountered two active delegates with the same priority ("'+delTemplateId+":"+delTemplateVariant+'").')} 1464soy.$$getDelegateFn=function(delTemplateId,delTemplateVariant,allowsEmptyDefault){var delFn=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+delTemplateId+":"+delTemplateVariant] 1465delFn||""==delTemplateVariant||(delFn=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+delTemplateId+":"]) 1466if(delFn)return delFn 1467if(allowsEmptyDefault)return soy.$$EMPTY_TEMPLATE_FN_ 1468throw Error('Found no active impl for delegate call to "'+delTemplateId+":"+delTemplateVariant+'" (and not allowemptydefault="true").')} 1469soy.$$EMPTY_TEMPLATE_FN_=function(opt_data,opt_sb,opt_ijData){return""} 1470soydata.$$makeSanitizedContentFactoryForInternalBlocks_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 1471return function(content,opt_contentDir){if(!String(content))return soydata.$$EMPTY_STRING_.VALUE 1472var result=new InstantiableCtor 1473result.content=String(content) 1474void 0!==opt_contentDir&&(result.contentDir=opt_contentDir) 1475return result}} 1476soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 1477return function(content){if(!String(content))return soydata.$$EMPTY_STRING_.VALUE 1478var result=new InstantiableCtor 1479result.content=String(content) 1480return result}} 1481soydata.$$markUnsanitizedTextForInternalBlocks=function(content,opt_contentDir){var contentString=String(content) 1482return contentString?new soydata.UnsanitizedText(contentString,opt_contentDir):soydata.$$EMPTY_STRING_.VALUE} 1483soydata.VERY_UNSAFE.$$ordainSanitizedHtmlForInternalBlocks=soydata.$$makeSanitizedContentFactoryForInternalBlocks_(soydata.SanitizedHtml) 1484soydata.VERY_UNSAFE.$$ordainSanitizedJsForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedJs) 1485soydata.VERY_UNSAFE.$$ordainSanitizedUriForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedUri) 1486soydata.VERY_UNSAFE.$$ordainSanitizedAttributesForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedHtmlAttribute) 1487soydata.VERY_UNSAFE.$$ordainSanitizedCssForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedCss) 1488 1489;/** 1490 * Returns a SanitizedHtml object for a particular value. The content direction 1491 * is preserved. 1492 * 1493 * This HTML-escapes the value unless it is already SanitizedHtml. Escapes 1494 * double quote '"' in addition to '&', '<', and '>' so that a string can be 1495 * included in an HTML tag attribute value within double quotes. 1496 * 1497 * @param {*} value The value to convert. If it is already a SanitizedHtml 1498 * object, it is left alone. 1499 * @return {!soydata.SanitizedHtml} An escaped version of value. 1500 */soy.$$escapeHtml=function(value){return soydata.SanitizedHtml.from(value)} 1501 1502;
1502/** 1503 * Strips unsafe tags to convert a string of untrusted HTML into HTML that 1504 * is safe to embed. The content direction is preserved. 1505 * 1506 * @param {*} value The string-like value to be escaped. May not be a string, 1507 * but the value will be coerced to a string. 1508 * @return {!soydata.SanitizedHtml} A sanitized and normalized version of value. 1509 */soy.$$cleanHtml=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 1510return value}return soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.$$stripHtmlTags(value,soy.esc.$$SAFE_TAG_WHITELIST_),soydata.getContentDir(value))} 1511soy.$$escapeHtmlRcdata=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 1512return soy.esc.$$normalizeHtmlHelper(value.content)}return soy.esc.$$escapeHtmlHelper(value)} 1513soy.$$HTML5_VOID_ELEMENTS_=new RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b") 1514soy.$$stripHtmlTags=function(value,opt_tagWhitelist){if(!opt_tagWhitelist)return String(value).replace(soy.esc.$$HTML_TAG_REGEX_,"").replace(soy.esc.$$LT_REGEX_,"<") 1515var html=String(value).replace(/\[/g,"["),tags=[] 1516html=html.replace(soy.esc.$$HTML_TAG_REGEX_,(function(tok,tagName){if(tagName){tagName=tagName.toLowerCase() 1517if(opt_tagWhitelist.hasOwnProperty(tagName)&&opt_tagWhitelist[tagName]){var start="/"===tok.charAt(1)?"</":"<",index=tags.length 1518tags[index]=start+tagName+">" 1519return"["+index+"]"}}return""})) 1520html=soy.esc.$$normalizeHtmlHelper(html) 1521var finalCloseTags=soy.$$balanceTags_(tags) 1522return(html=html.replace(/\[(\d+)\]/g,(function(_,index){return tags[index]})))+finalCloseTags} 1523soy.$$balanceTags_=function(tags){for(var open=[],i=0,n=tags.length;i<n;++i){var tag=tags[i] 1524if("/"===tag.charAt(1)){for(var openTagIndex=open.length-1;openTagIndex>=0&&open[openTagIndex]!=tag;)openTagIndex-- 1525if(openTagIndex<0)tags[i]="" 1526else{tags[i]=open.slice(openTagIndex).reverse().join("") 1527open.length=openTagIndex}}else soy.$$HTML5_VOID_ELEMENTS_.test(tag)||open.push("</"+tag.substring(1))}return open.reverse().join("")} 1528soy.$$escapeHtmlAttribute=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 1529return soy.esc.$$normalizeHtmlHelper(soy.$$stripHtmlTags(value.content))}return soy.esc.$$escapeHtmlHelper(value)} 1530soy.$$escapeHtmlAttributeNospace=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 1531return soy.esc.$$normalizeHtmlNospaceHelper(soy.$$stripHtmlTags(value.content))}return soy.esc.$$escapeHtmlNospaceHelper(value)} 1532soy.$$filterHtmlAttributes=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.ATTRIBUTES)){goog.asserts.assert(value.constructor===soydata.SanitizedHtmlAttribute) 1533return value.content.replace(/([^"'\s])$/,"$1 ")}return soy.esc.$$filterHtmlAttributesHelper(value)} 1534soy.$$filterHtmlElementName=function(value){return soy.esc.$$filterHtmlElementNameHelper(value)} 1535soy.$$escapeJs=function(value){return soy.$$escapeJsString(value)} 1536soy.$$escapeJsString=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.JS_STR_CHARS)){goog.asserts.assert(value.constructor===soydata.SanitizedJsStrChars) 1537return value.content}return soy.esc.$$escapeJsStringHelper(value)} 1538soy.$$escapeJsValue=function(value){if(null==value)return" null " 1539if(soydata.isContentKind(value,soydata.SanitizedContentKind.JS)){goog.asserts.assert(value.constructor===soydata.SanitizedJs) 1540return value.content}switch(typeof value){case"boolean":case"number":return" "+value+" " 1541default:return"'"+soy.esc.$$escapeJsStringHelper(String(value))+"'"}} 1542soy.$$escapeJsRegex=function(value){return soy.esc.$$escapeJsRegexHelper(value)} 1543soy.$$problematicUriMarks_=/['()]/g 1544soy.$$pctEncode_=function(ch){return"%"+ch.charCodeAt(0).toString(16)} 1545soy.$$escapeUri=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.URI)){goog.asserts.assert(value.constructor===soydata.SanitizedUri) 1546return soy.$$normalizeUri(value)}var encoded=soy.esc.$$escapeUriHelper(value) 1547soy.$$problematicUriMarks_.lastIndex=0 1548return soy.$$problematicUriMarks_.test(encoded)?encoded.replace(soy.$$problematicUriMarks_,soy.$$pctEncode_):encoded} 1549soy.$$normalizeUri=function(value){return soy.esc.$$normalizeUriHelper(value)} 1550soy.$$filterNormalizeUri=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.URI)){goog.asserts.assert(value.constructor===soydata.SanitizedUri) 1551return soy.$$normalizeUri(value)}return soy.esc.$$filterNormalizeUriHelper(value)} 1552soy.$$filterImageDataUri=function(value){return soydata.VERY_UNSAFE.ordainSanitizedUri(soy.esc.$$filterImageDataUriHelper(value))} 1553soy.$$escapeCssString=function(value){return soy.esc.$$escapeCssStringHelper(value)} 1554soy.$$filterCssValue=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.CSS)){goog.asserts.assert(value.constructor===soydata.SanitizedCss) 1555return value.content}return null==value?"":soy.esc.$$filterCssValueHelper(value)} 1556soy.$$filterNoAutoescape=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.TEXT)){goog.asserts.fail("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[value.content]) 1557return"zSoyz"}return value} 1558soy.$$changeNewlineToBr=function(value){var result=goog.string.newLineToBr(String(value),!1) 1559return soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)?soydata.VERY_UNSAFE.ordainSanitizedHtml(result,soydata.getContentDir
1559(value)):result} 1560soy.$$insertWordBreaks=function(value,maxCharsBetweenWordBreaks){var result=goog.format.insertWordBreaks(String(value),maxCharsBetweenWordBreaks) 1561return soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)?soydata.VERY_UNSAFE.ordainSanitizedHtml(result,soydata.getContentDir(value)):result} 1562soy.$$truncate=function(str,maxLen,doAddEllipsis){if((str=String(str)).length<=maxLen)return str 1563doAddEllipsis&&(maxLen>3?maxLen-=3:doAddEllipsis=!1) 1564soy.$$isHighSurrogate_(str.charAt(maxLen-1))&&soy.$$isLowSurrogate_(str.charAt(maxLen))&&(maxLen-=1) 1565str=str.substring(0,maxLen) 1566doAddEllipsis&&(str+="...") 1567return str} 1568soy.$$isHighSurrogate_=function(ch){return 55296<=ch&&ch<=56319} 1569soy.$$isLowSurrogate_=function(ch){return 56320<=ch&&ch<=57343} 1570soy.$$bidiFormatterCache_={} 1571soy.$$getBidiFormatterInstance_=function(bidiGlobalDir){return soy.$$bidiFormatterCache_[bidiGlobalDir]||(soy.$$bidiFormatterCache_[bidiGlobalDir]=new goog.i18n.BidiFormatter(bidiGlobalDir))} 1572soy.$$bidiTextDir=function(text,opt_isHtml){var contentDir=soydata.getContentDir(text) 1573if(null!=contentDir)return contentDir 1574var isHtml=opt_isHtml||soydata.isContentKind(text,soydata.SanitizedContentKind.HTML) 1575return goog.i18n.bidi.estimateDirection(text+"",isHtml)} 1576soy.$$bidiDirAttr=function(bidiGlobalDir,text,opt_isHtml){var formatter=soy.$$getBidiFormatterInstance_(bidiGlobalDir),contentDir=soydata.getContentDir(text) 1577if(null==contentDir){var isHtml=opt_isHtml||soydata.isContentKind(text,soydata.SanitizedContentKind.HTML) 1578contentDir=goog.i18n.bidi.estimateDirection(text+"",isHtml)}return soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute(formatter.knownDirAttr(contentDir))} 1579soy.$$bidiMarkAfter=function(bidiGlobalDir,text,opt_isHtml){var formatter=soy.$$getBidiFormatterInstance_(bidiGlobalDir),isHtml=opt_isHtml||soydata.isContentKind(text,soydata.SanitizedContentKind.HTML) 1580return formatter.markAfterKnownDir(soydata.getContentDir(text),text+"",isHtml)} 1581soy.$$bidiSpanWrap=function(bidiGlobalDir,text){return soy.$$getBidiFormatterInstance_(bidiGlobalDir).spanWrapWithKnownDir(soydata.getContentDir(text),text+"",!0)} 1582soy.$$bidiUnicodeWrap=function(bidiGlobalDir,text){var formatter=soy.$$getBidiFormatterInstance_(bidiGlobalDir),isHtml=soydata.isContentKind(text,soydata.SanitizedContentKind.HTML),wrappedText=formatter.unicodeWrapWithKnownDir(soydata.getContentDir(text),text+"",isHtml),wrappedTextDir=formatter.getContextDir() 1583return soydata.isContentKind(text,soydata.SanitizedContentKind.TEXT)?new soydata.UnsanitizedText(wrappedText,wrappedTextDir):isHtml?soydata.VERY_UNSAFE.ordainSanitizedHtml(wrappedText,wrappedTextDir):soydata.isContentKind(text,soydata.SanitizedContentKind.JS_STR_CHARS)?soydata.VERY_UNSAFE.ordainSanitizedJsStrChars(wrappedText,wrappedTextDir):wrappedText} 1584soy.esc.$$escapeUriHelper=function(v){return encodeURIComponent(String(v))} 1585soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_={"\0":"�",'"':""","&":"&","'":"'","<":"<",">":">","\t":"	","\n":" ","\v":"","\f":"","\r":" "," ":" ","-":"-","/":"/","=":"=","`":"`","Â ":"…","Â ":" ","\u2028":"
","\u2029":"
"} 1586soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_=function(ch){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_[ch]} 1587soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_={"\0":"\\x00","\b":"\\x08","\t":"\\t","\n":"\\n","\v":"\\x0b","\f":"\\f","\r":"\\r",'"':"\\x22","&":"\\x26","'":"\\x27","/":"\\/","<":"\\x3c","=":"\\x3d",">":"\\x3e","\\":"\\\\","Â ":"\\x85","\u2028":"\\u2028","\u2029":"\\u2029",$:"\\x24","(":"\\x28",")":"\\x29","*":"\\x2a","+":"\\x2b",",":"\\x2c","-":"\\x2d",".":"\\x2e",":":"\\x3a","?":"\\x3f","[":"\\x5b","]":"\\x5d","^":"\\x5e","{":"\\x7b","|":"\\x7c","}":"\\x7d"} 1588soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_=function(ch){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_[ch]} 1589soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_={"\0":"\\0 ","\b":"\\8 ","\t":"\\9 ","\n":"\\a ","\v":"\\b ","\f":"\\c ","\r":"\\d ",'"':"\\22 ","&":"\\26 ","'":"\\27 ","(":"\\28 ",")":"\\29 ","*":"\\2a ","/":"\\2f ",":":"\\3a ",";":"\\3b ","<":"\\3c ","=":"\\3d ",">":"\\3e ","@":"\\40 ","\\":"\\5c ","{":"\\7b ","}":"\\7d ","Â ":"\\85 ","Â ":"\\a0 ","\u2028":"\\2028 ","\u2029":"\\2029 "} 1590soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_=function(ch){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_[ch]} 1591soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_={"\0":"%00","�":"%01","�":"%02","�":"%03","�":"%04","�":"%05","�":"%06","�":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","�":"%0E","�":"%0F","�":"%10","�":"%11","�":"%12","�":"%13","�":"%14","�":"%15","�":"%16","�":"%17","�":"%18","�":"%19","�":"%1A","�":"%1B","�":"%1C","�":"%1D","�":"%1E","�":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","�":"%7F","Â ":"%C2%85","Â ":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","ï¼":"%EF%BC%81","ï¼":"%EF%BC%83","ï¼":"%EF%BC%84","ï¼":"%E
1591F%BC%86","ï¼":"%EF%BC%87","ï¼":"%EF%BC%88","ï¼":"%EF%BC%89","ï¼":"%EF%BC%8A","ï¼":"%EF%BC%8B","ï¼":"%EF%BC%8C","ï¼":"%EF%BC%8F","ï¼":"%EF%BC%9A","ï¼":"%EF%BC%9B","ï¼":"%EF%BC%9D","ï¼":"%EF%BC%9F","ï¼ ":"%EF%BC%A0","ï¼»":"%EF%BC%BB","ï¼½":"%EF%BC%BD"} 1592soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_=function(ch){return soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_[ch]} 1593soy.esc.$$MATCHER_FOR_ESCAPE_HTML_=/[\x00\x22\x26\x27\x3c\x3e]/g 1594soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_=/[\x00\x22\x27\x3c\x3e]/g 1595soy.esc.$$MATCHER_FOR_ESCAPE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g 1596soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g 1597soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\\\x85\u2028\u2029]/g 1598soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_=/[\x00\x08-\x0d\x22\x24\x26-\/\x3a\x3c-\x3f\x5b-\x5e\x7b-\x7d\x85\u2028\u2029]/g 1599soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_=/[\x00\x08-\x0d\x22\x26-\x2a\/\x3a-\x3e@\\\x7b\x7d\x85\xa0\u2028\u2029]/g 1600soy.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 1601soy.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 1602soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_=/^(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i 1603soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_=/^data:image\/(?:bmp|gif|jpe?g|png|tiff|webp);base64,[a-z0-9+\/]+=*$/i 1604soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_=/^(?!style|on|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|src|usemap)(?:[a-z0-9_$:-]*)$/i 1605soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_=/^(?!script|style|title|textarea|xmp|no)[a-z0-9_$:-]*$/i 1606soy.esc.$$escapeHtmlHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_ESCAPE_HTML_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)} 1607soy.esc.$$normalizeHtmlHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)} 1608soy.esc.$$escapeHtmlNospaceHelper=function(value){return String(value).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_)} 1609soy.esc.$$normalizeHtmlNospaceHelper=function(value){return String(value).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_)} 1610soy.esc.$$escapeJsStringHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_)} 1611soy.esc.$$escapeJsRegexHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_,soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_)} 1612soy.esc.$$escapeCssStringHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_)} 1613soy.esc.$$filterCssValueHelper=function(value){var str=String(value) 1614return soy.esc.$$FILTER_FOR_FILTER_CSS_VALUE_.test(str)?str:"zSoyz"} 1615soy.esc.$$normalizeUriHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_,soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_)} 1616soy.esc.$$filterNormalizeUriHelper=function(value){var str=String(value) 1617return soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_.test(str)?str.replace(soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_,soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_):"#zSoyz"} 1618soy.esc.$$filterImageDataUriHelper=function(value){var str=String(value) 1619return soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_.test(str)?str:"data:image/gif;base64,zSoyz"} 1620soy.esc.$$filterHtmlAttributesHelper=function(value){var str=String(value) 1621return soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_.test(str)?str:"zSoyz"} 1622soy.esc.$$filterHtmlElementNameHelper=function(value){var str=String(value) 1623return soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_.test(str)?str:"zSoyz"} 1624soy.esc.$$HTML_TAG_REGEX_=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g 1625soy.esc.$$LT_REGEX_=/</g 1626soy.esc.$$SAFE_TAG_WHITELIST_={b:1,br:1,em:1,i:1,s:1,sub:1,sup:1,u:1} 1627 1628}catch(e){WRMCB(e)}; 1629; 1630try { 1631/* module-key = 'com.atlassian.soy.soy-template-plugin:soy-deps', location = '
1631js/atlassian-deps.js' */ 1632window.atl_soy=window.atl_soy||{};atl_soy.concat=function(b,c){if(b.concat)return b.concat(c);var d={},a;for(a in b)b.hasOwnProperty(a)&&(d[a]=b[a]);for(a in c)c.hasOwnProperty(a)&&(d[a]=c[a]);return d}; 1633}catch(e){WRMCB(e)}; 1634; 1635try { 1636/* module-key = 'jira.webresources:jira-data-stores', location = '/includes/jira/data/SessionStorage.js' */ 1637define("jira/data/session-storage",(function(){"use strict";return{nativesupport:!0,length:function(){return sessionStorage.length},key:function(e){return sessionStorage.key(e)},getItem:function(e){return sessionStorage.getItem(e)},setItem:function(e,t){return sessionStorage.setItem(e,t)},removeItem:function(e){return sessionStorage.removeItem(e)},clear:function(){return sessionStorage.clear()},asJSON:function(){for(var e=this.length(),t="{\n",n=0;n<e;n++){var s=this.key(n);t+=s+":"+this.getItem(s);n<e-1&&(t+=",");t+="\n"}return t+="}\n"}}}));AJS.namespace("jira.app.session.storage",null,require("jira/data/session-storage"));AJS.namespace("JIRA.SessionStorage",null,require("jira/data/session-storage")); 1638}catch(e){WRMCB(e)}; 1639; 1640try { 1641/* module-key = 'jira.webresources:jira-data-stores', location = '/includes/jira/data/LocalStorage.js' */ 1642define("jira/data/local-storage",["jquery"],(function(e){"use strict";"undefined"==typeof localStorage&&(localStorage={getItem:e.noop,setItem:e.noop,removeItem:e.noop,clear:e.noop});return localStorage})); 1643}catch(e){WRMCB(e)}; 1644; 1645try { 1646/* module-key = 'jira.webresources:parse-uri', location = '/includes/lib/parseuri/parseUri.js' */ 1647/*! 1648 * parseUri 1.2.2 1649 * (c) Steven Levithan <stevenlevithan.com> 1650 * MIT License 1651 * MODIFIED BY ATLASSIAN 1652 */ 1653define("jira/libs/parse-uri",(function(){function e(r){var o=e.options,t={};t[o.q.name]={};for(var a in o.key)t[o.key[a]]="";if(void 0===r||!r)return t;var i=r.toString(),s=document.createElement("a");s.href=i;var n=s.hostname,c=n.indexOf(":")>-1,u=n.indexOf("[")>-1&&n.indexOf("]")>-1;n=u?n:"["+n+"]";var p="hostname";c&&(i=i.replace(n,p));var f=o.parser[o.strictMode?"strict":"loose"].exec(i);for(var a in o.key)t[o.key[a]]=f[a]||"";t[o.key[12]].replace(o.q.parser,(function(e,r,a){r&&(t[o.q.name][r]=a)}));if(c){t.host=n;t.authority=t.authority.replace(p,t.host);t.source=t.source.replace(p,t.host)}return t}e.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};return e}));AJS.namespace("parseUri",null,require("jira/libs/parse-uri")); 1654}catch(e){WRMCB(e)}; 1655; 1656try { 1657/* module-key = 'jira-frontend-api:version', location = '/js/version/version.js' */ 1658define("jira/api/version",["jira/util/data/meta"],(function(e){"use strict";var r={get:function(){return e.get("version-number")},compare:function(r){var t=e.get("version-number");if(t){var n=t.split("."),a=r.split("."),i=-1,l=n.length;if(n.length>a.length){l=a.length;i=1}else n.length===a.length&&(i=0);for(var u=0;u<l;u++){var o=void 0,s=void 0,f=n[u],v=a[u],c=/^(0+)(.*)$/,g=f.match(c),h=v.match(c);if(null!=g){f="0."+f;o=parseFloat(f)}else o=parseInt(f,10);if(null!=h){v="0."+v;s=parseFloat(v)}else s=parseInt(v,10);if(o<s)return-1;if(o>s)return 1}return i}},isGreaterThanOrEqualTo:function(e){return-1!==r.compare(e)}};return r})); 1659}catch(e){WRMCB(e)}; 1660; 1661try { 1662/* module-key = 'jira.webresources:jira-version', location = '/includes/jira/common/version.js' */ 1663define("jira/util/version",["jira/api/version"],(function(i){"use strict";return i}));AJS.namespace("JIRA.Version",null,require("jira/util/version")); 1664}catch(e){WRMCB(e)}; 1665; 1666try { 1667/* module-key = 'jira.webresources:number-formatter', location = '/includes/jira/numberformatter/NumberFormatter.js' */ 1668AJS.namespace("JIRA.NumberFormatter.format",null,require("jira/util/formatter").formatNumber); 1669}catch(e){WRMCB(e)}; 1670; 1671try { 1672/* module-key = 'jira.webresources:util', location = '/includes/jira/common/meta.js' */ 1673define("jira/legacy/meta",["require","exports"],(function(e,r){"use strict";var t=e("jira/util/data/meta"),n=e("jira/deprecator"),i=e("aui/params");r.getLoggedInUser=function(){return{name:t.get("remote-user"),fullName:t.get("remote-user-fullname")}};r.getProject=function(){return i.projectKey};r.getIssueKey=function(){return t.get("issue-key")};n.prop(r,"getLoggedInUser",{sinceVersion:"7.0",removeInVersion:"8.0",alternativeName:"module:jira/util/users/logged-in-user"});n.prop(r,"getProject",{sinceVersion:"7.0",removeInVersion:"8.0"});n.prop(r,"getIssueKey",{sinceVersion:"7.0",removeInVersion:"8.0",alternativeName:"module:jira/issue"})}));AJS.namespace("JIRA.Meta",null,require("jira/legacy/meta")); 1674}catch(e){WRMCB(e)}; 1675; 1676try { 1677/* module-key = 'jira.webresources:util', location = '/includes/ajs/ajax/AjaxUtil.js' */ 1678define("jira/ajs/ajax/ajax-util",["jira/util/formatter","underscore","exports"],(function(r,e,t){"use strict";var s=function(r){try{return function(r){if(r){if(e.isArray(r.errorMessages)&&!e.isEmpty(r.errorMessages))return r.errorMessages.join(" ");if(e.isObject(r.errors)&&!e.isEmpty(r.errors))return e.values(r.errors).join(" ")}return null}(r.responseText&&JSON.parse(r.responseText))}catch(r){}return null},n=/websudo/i;t.getErrorMessageFromXHR=function(e){return s(e)||function(e){return 401===e.status?"You are not authorised to perform this operation. Please log in.":e.responseText?"The Jira server was contacted but has returned an error response. We are unsure of the result of this operation.":"The Jira server could not be contacted. This may be a temporary glitch or the server may be down."}(e)};t.isWebSudoFailure=function(r){return r&&401===r.status&&n.test(r.responseText)}}));AJS.namespace("JIRA.Ajax",null,require("jira/ajs/ajax/ajax-util")); 1679}catch(e){WRMCB(e)}; 1680; 1681try { 1682/* module-key = 'jira.webresources:util', location = '/includes/jira/common/observer.js' */ 1683!function(){"use strict";var e=require("jira/util/events"),r=require("jira/util/events/types"),t=require("jira/util/events/reasons"),i=require("jquery");i((function(){var n=i(document);e.trigger(r.NEW_CONTENT_ADDED,[n,t.pageLoad]);e.trigger(r.NEW_PAGE_ADDED,[n])}));e.bind("dialogContentReady",(function(i,n){var u=n.get$popupContent();e.trigger(r.NEW_CONTENT_ADDED,[u,t.dialogReady]);e.trigger(r.NEW_PAGE_ADDED,[u])}));e.bind("contentRefreshed",(function(t,n){var u=i(n);e.trigger(r.NEW_CONTENT_ADDED,[u])}))}(); 1684}catch(e){WRMCB(e)}; 1685; 1686try { 1687/* module-key = 'jira.webresources:util', location = '/includes/jira/data/parseOptionsFromFieldset.js' */ 1688define("jira/data/parse-options-from-fieldset",["jquery"],(function(e){"use strict";function t(r,i){var a={};r.children().each((function(){var r,n=e(this);if(n.is("input[type=hidden]")){r=function(e){var t={},r=e.val();t.id=e.attr("title")||e.attr("id");t.value=r.match(/^(tru|fals)e$/i)?"true"===r.toLowerCase():r;return t}(n);a.hasOwnProperty(r.id)?e.isArray(a[r.id])?a[r.id].push(r.value):a[r.id]=[a[r.id],r.value]:a[r.id]=r.value}else n.is("fieldset")?a[n.attr("title")||n.attr("id")]=t(n,i):n.insertBefore(i)}));return a}return function(e){var r=t(e,e);e.remove();return r}}));AJS.namespace("JIRA.parseOptionsFromFieldset",null,require("jira/data/parse-options-from-fieldset")); 1689}catch(e){WRMCB(e)}; 1690; 1691try { 1692/* module-key = 'jira.webresources:util', location = '/includes/jquery/plugins/handleaccesskeys/handleAccessKeys.js' */ 1693!function(e){var t=require("underscore");e.fn.handleAccessKeys=function(s){var n="accesskey";e.browser.msie&&"7.0"==e.browser.version&&(n="accessKey");s=s||{};this.each((function(){var c=e(this),a={getBlackList:t.once((function(){var e=[];this.getMyAccesskeyElems().each((function(){this.hasAttribute(n)&&e.push(this.getAttribute(n).toLowerCase())}));return e})),getMyAccesskeyElems:t.once((function(){return e(":input["+n+"], a["+n+"]",c)})),getOtherAccesskeyElems:t.once((function(){return e("form").not(c).find(":input["+n+"], a["+n+"]")}))};if(!c.is("form")){console.warn("jQuery.fn.handleAccessKeys: node type ["+c.prop("nodeName")+"] is not val
1693id. Only <form> supported");return this}if(!c.data("handleAccessKeys.applied")){c.data("handleAccessKeys.applied",!0);c.delegate(":input, a","focus",(function(){t=a.getOtherAccesskeyElems(),c=a.getBlackList(),t.each((function(){var t=e(this);if(function(t,n){if(t){if(!1===s.selective)return!0;/[a-z]/i.test(t)&&(t=t.toLowerCase());return-1!==e.inArray(t,n)}}(t.attr(n),c)){t.data(n,t.attr(n));t.removeAttr(n)}}));var t,c;r(a.getMyAccesskeyElems())})).delegate(":input, a","blur",(function(){r(a.getOtherAccesskeyElems())}))}}));function r(t){t.each((function(){var t=e(this);t.data(n)&&t.attr(n,t.data(n))}))}return this}}(jQuery); 1694}catch(e){WRMCB(e)}; 1695; 1696try { 1697/* module-key = 'jira.webresources:util', location = '/includes/jquery/plugins/setselectionrange/setSelectionRange.js' */ 1698jQuery.fn.setSelectionRange=function(e,t){if(0!=this.length)if(this[0].setSelectionRange){this[0].focus();this[0].setSelectionRange(e,t)}else if(this[0].createTextRange){var n=this[0].createTextRange();n.collapse(!0);n.moveEnd("character",t);n.moveStart("character",e);n.select()}},jQuery.fn.setCaretToPosition=function(e){this.setSelectionRange(e,e)}; 1699}catch(e){WRMCB(e)}; 1700; 1701try { 1702/* module-key = 'jira.webresources:util', location = '/includes/jquery/plugins/pjax/jquery.pjax.js' */
1703!function(t){t.fn.pjax=function(e,n){n?n.container=e:n=t.isPlainObject(e)?e:{container:e};if(n.container&&"string"!=typeof n.container)throw"pjax container must be a string selector!";return this.live("click",(function(e){if(e.which>1||e.metaKey)return!0;var r={url:this.href,container:t(this).attr("data-pjax"),clickedElement:t(this),fragment:null};t.pjax(t.extend({},r,n));e.preventDefault()}))};t.pjax=function(e){var n=t(e.container),r=e.success||t.noop;delete e.success;if("string"!=typeof e.container)throw"pjax container must be a string selector!";var a={timeout:650,push:!0,replace:!1,data:{_pjax:!0},type:"GET",dataType:"html",beforeSend:function(t){n.trigger("start.pjax");t.setRequestHeader("X-PJAX","true")},error:function(){window.location=e.url},complete:function(){n.trigger("end.pjax")},success:function(a){if(e.fragment){var i=t(a).find(e.fragment);if(!i.length)return window.location=e.url;a=i.children()}else if(!t.trim(a)||/<html/i.test(a))return window.location=e.url;n.html(a);var o=document.title,u=t.trim(n.find("title").remove().text());u&&(document.title=u);var c={pjax:e.container,fragment:e.fragment,timeout:e.timeout},l=t.param(e.data);"_pjax=true"!=l&&(c.url=e.url+(/\?/.test(e.url)?"&":"?")+l);if(e.replace)window.history.replaceState(c,document.title,e.url);else if(e.push){if(!t.pjax.active){window.history.replaceState(t.extend({},c,{url:null}),o);t.pjax.active=!0}window.history.pushState(c,document.title,e.url)}(e.replace||e.push)&&window._gaq&&_gaq.push(["_trackPageview"]);var p=window.location.hash.toString();""!==p&&(window.location.href=p);r.apply(this,arguments)}};e=t.extend(!0,{},a,e);t.isFunction(e.url)&&(e.url=e.url());var i=t.pjax.xhr;if(i&&i.readyState<4){i.onreadystatechange=t.noop;i.abort()}t.pjax.xhr=t.ajax(e);t(document).trigger("pjax",t.pjax.xhr,e);return t.pjax.xhr};var e="state"in window.history,n=location.href;t(window).bind("popstate",(function(r){var a=!e&&location.href==n;e=!0;if(!a){var i=r.state;if(i&&i.pjax){var o=i.pjax;t(o+"").length?t.pjax({url:i.url||location.href,fragment:i.fragment,container:o,push:!1,timeout:i.timeout}):window.location=location.href}}}));t.inArray("state",t.event.props)<0&&t.event.props.push("state");t.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/(iPod|iPhone|iPad|WebApps\/.+CFNetwork)/);if(!t.support.pjax){t.pjax=function(e){window.location=t.isFunction(e.url)?e.url():e.url};t.fn.pjax=function(){return this}}}(jQuery); 1704}catch(e){WRMCB(e)}; 1705; 1706try { 1707/* module-key = 'jira.webresources:util', location = '/includes/jquery/plugins/simpleclick/simpleClick.js' */ 1708!function(e){e.event.special.simpleClick={add:function(c){c._clickHandler=function(e){if(!e.ctrlKey&&!e.metaKey&&!e.shiftKey)return c.handler.apply(this,arguments)};e(this).on("click",c.selector,c._clickHandler)},remove:function(c){e(this).off("click",c.selector,c._clickHandler)}}}(jQuery); 1709}catch(e){WRMCB(e)}; 1710; 1711try { 1712/* module-key = 'jira.webresources:util', location = '/includes/ajs/persistence/persistence.js' */ 1713define("jira/ajs/persistence",["jira/data/session-storage","jquery","exports"],(function(e,t,n){"use strict";var a="AJS.thisPage";n.nextPage=function(){var n=[];t(window).unload((function(){try{e.setItem(a,JSON.stringify(n))}catch(e){}}));return function(e,a){var i;t.each(n,(function(){if(this.name===e){this.value=a;i=!0}}));i||n.push({name:e,value:a})}}();n.thisPage=function(){var t,n,i={};n=e.getItem(a);e.removeItem(a);if(n){n=JSON.parse(n);for(t=0;t<n.length;t++)i[n[t].name]=n[t].value}return function(e){return i[e]}}()}));!function(e){"use strict";AJS.namespace("AJS.nextPage",null,e.nextPage);AJS.namespace("AJS.thisPage",null,e.thisPage)}(require("jira/ajs/persistence")); 1714}catch(e){WRMCB(e)}; 1715; 1716try { 1717/* module-key = 'jira.webresources:util', location = '/includes/jira/xsrf/XSRF.js' */ 1718define("jira/xsrf",["require"],(function(t){"use strict";var a=t("jira/util/formatter"),r=t("jira/util/urls"),n=t("jquery"),e=function(t){return a.format("{0}={1}","atl_token",t)};return{updateTokenOnPage:function(t){var i=r.atl_token();if(i!==t){!function(t,r){var e=a.format("meta#{0}","atlassian-token");n(e).attr("content",r)}(0,t);!function(t,a){n("a,link").each((function(){var r=n(this),i=r.attr("href");i&&r.attr("href",i.replace(e(t),e(a)))}))}(i,t);!function(t,r){n("form").each((function(){var i=n(this),u=i.attr("action");u&&i.attr("action",u.replace(e(t),e(r)));var f=a.format('input[name="{0}"][value="{1}"]',"atl_token",t);i.find(f).each((function(){n(this).attr("value",r)}))}))}(i,t)}}}}));AJS.namespace("jira.xsrf",null,require("jira/xsrf"));AJS.namespace("JIRA.XSRF",null,require("jira/xsrf")); 1719}catch(e){WRMCB(e)}; 1720; 1721try { 1722/* module-key = 'jira.webresources:util', location = '/includes/ajs/bindDefaultCustomEvent/bindDefaultCustomEvent.js' */ 1723define("jira/ajs/default-custom-event",["jquery","exports"],(function(e,n){"use strict";var t={};n.bind=function(n,u){if(t[n])throw new Error("You have already bound a default handler for ["+n+"] event");
1723t[n]=function t(a){var i=e(document).data("events")[n],l=i[i.length-1].handler;if(l!==t){a.preventDefault=function(){u=null};i[i.length-1].handler=function(){l.apply(this,arguments);u&&u.apply(this,arguments);i[i.length-1].handler=l}}else u.apply(this,arguments)};e(document).bind(n,t[n])};n.unbind=function(n){if(t[n]){e(document).unbind(n,t[n]);delete t[n]}}}));AJS.namespace("AJS.bindDefaultCustomEvent",null,require("jira/ajs/default-custom-event").bind);AJS.namespace("AJS.unbindDefaultCustomEvent",null,require("jira/ajs/default-custom-event").unbind); 1724}catch(e){WRMCB(e)}; 1725; 1726try { 1727/* module-key = 'com.atlassian.auiplugin:split_aui.vendor.underscore', location = 'aui.chunk.bda7f88f163e25cadbaa--905896473af6075c9197.js' */ 1728"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[940],{6364:(e,n,a)=>{a.r(n),a.d(n,{default:()=>r});var i=a(7364),o=a.n(i);const r=o();console.warn&&console.warn("Use of `window._` through AUI is deprecated and will be removed in AUI 10.0.0");let s=o();window._=s}},e=>{e.O(0,[2262,5907],(()=>{return n=6364,e(e.s=n);var n}));e.O()}]); 1729}catch(e){WRMCB(e)}; 1730; 1731try { 1732/* module-key = 'jira.webresources:content-retrievers', location = '/includes/ajs/contentretriever/ContentRetriever.js' */ 1733define("jira/ajs/contentretriever/content-retriever",["jira/lib/class","jquery"],(function(e,n){"use strict";return e.extend({startingRequest:n.noop,finishedRequest:n.noop,cache:n.noop,isLocked:n.noop,content:n.noop})}));AJS.namespace("AJS.ContentRetriever",null,require("jira/ajs/contentretriever/content-retriever")); 1734}catch(e){WRMCB(e)}; 1735; 1736try { 1737/* module-key = 'jira.webresources:content-retrievers', location = '/includes/ajs/contentretriever/AjaxContentRetriever.js' */ 1738define("jira/ajs/contentretriever/ajax-content-retriever",["jira/ajs/contentretriever/content-retriever","jira/ajs/ajax/smart-ajax","jquery"],(function(t,e,i){"use strict";return t.extend({init:function(t){this.ajaxOptions=t;this.ajaxOptions.requestDelay||0===this.ajaxOptions.requestDelay||(this.ajaxOptions.requestDelay=75)},getAjaxOptions:function(){var t,e=this;(t="string"==typeof this.ajaxOptions?{url:this.ajaxOptions}:i.isFunction(this.ajaxOptions)?this.ajaxOptions():this.ajaxOptions).globalThrobber=!1;t.success=function(t,i,s){e._requestComplete(s,i,t,!0,null)};t.error=function(t,i){t.rc&&(t.status=t.rc);e._requestComplete(t,i,null,!1,null)};return t},content:function(t){if(i.isFunction(t)){this.callback=t;this._makeRequest(t)}else if(t&&this.callback){this.callback(t);delete this.callback}return this.$content},startingRequest:function(t){if(t)this.startingCallback=t;else if(this.startingCallback){this.locked=!0;this.startingCallback()}},finishedRequest:function(t){if(t)this.finishedCallback=t;else if(this.finishedCallback){this.locked=!1;this.finishedCallback()}},failedRequest:function(t){if(t)this.failedCallback=t;else if(this.failedCallback){this.locked=!1;this.failedCallback()}},cache:function(t){void 0!==t&&(this.getAjaxOptions().cache=t);return this.getAjaxOptions().cache},isLocked:function(){return this.locked},_requestComplete:function(t,s,a,n){if("abort"!==s){var r,o,u=this.getAjaxOptions();e.SmartAjaxResult&&(o=e.SmartAjaxResult.apply(window,arguments));if(n)r=i.isFunction(u.formatSuccess)?u.formatSuccess(a):i("<div>"+a+"</div>");else{if(i.isFunction(u.formatError))r=u.formatError(a);else if(o){var l=401===o.status?"aui-message-warning":"aui-message-error";r=i('<div class="aui-message '+l+'">'+e.buildSimpleErrorContent(o)+"</div>")}this.failedRequest()}this.content(r);this.finishedRequest()}else this.locked=!1},_makeRequest:function(){var t=this;if(this.outstandingRequest){this.outstandingRequest.abort();this.outstandingRequest=null}clearTimeout(this._queuedRequest);this.isLocked()?this._queuedRequest=setTimeout((function(){t._makeRequest()}),this.ajaxOptions.requestDelay):function(){t.startingRequest();t.outstandingRequest=i.ajax(t.getAjaxOptions())}()}})}));AJS.namespace("AJS.AjaxContentRetriever",null,require("jira/ajs/contentretriever/ajax-content-retriever")); 1739}catch(e){WRMCB(e)}; 1740; 1741try { 1742/* module-key = 'jira.webresources:content-retrievers', location = '/includes/ajs/contentretriever/DOMContentRetriever.js' */ 1743define("jira/ajs/contentretriever/dom-content-retriever",["jira/ajs/contentretriever/content-retriever","jquery"],(function(e,t){"use strict";return e.extend({init:function(e){this.$content=t(e)},content:function(e){t.isFunction(e)&&e(this.$content);return this.$content}})}));AJS.namespace("AJS.DOMContentRetriever",null,require("jira/ajs/contentretriever/dom-content-retriever")); 1744}catch(e){WRMCB(e)}; 1745; 1746try { 1747/* module-key = 'jira.webresources:content-retrievers', location = '/includes/ajs/contentretriever/DeferredContentRetriever.js' */ 1748define("jira/ajs/contentretriever/deferred-content-retriever",["jira/ajs/contentretriever/content-retriever","jquery","underscore"],(function(e,n,r){"use strict";return e.extend({init:function(e){this.func=e},content:function(e){if(n.isFunction(e)){var t=this.func();t instanceof n?e(t):t.done(r.bind((function(n){e(n)}),this))}},cache:function(){return!1}})}));AJS.namespace("AJS.DeferredContentRetriever",null,require("jira/ajs/contentretriever/deferred-content-retriever")); 1749}catch(e){WRMCB(e)}; 1750; 1751try { 1752/* module-key = 'jira.webresources:jquery-plugin-scrollintoview', location = '/includes/jquery/plugins/scrollintoview/scrollIntoView.js' */ 1753!function(){var t=require("jira/util/top-same-origin-window")(window),i=t.jQuery;function o(o){(o=o||{}).marginTop=o.marginTop||o.margin||0;o.marginBottom=o.marginBottom||o.margin||0;var e=i(t),n=i("#stalker"),l=e.scrollTop(),a=e.height(),s=Math.max(0,r(this[0])-o.marginTop),h=o.marginTop+this.outerHeight()+o.marginBottom,c=l;c+a<s+h&&(c=s+h-a);if(0!==n.length){var g=this[0],p=null;do{"absolute"===i(g).css("position")&&(p=g)}while(g=g.offsetParent);p&&r(p)>r(n[0])&&(s-=n.outerHeight())}c>s&&(c=s);return c}function r(t){var i=t,o=0;do{o+=i.offsetTop}while(i=i.offsetParent);i=t;do{i&&i.scrollTop&&(o-=i.scrollTop);i=i.parentNode}while(i&&i!=document.body);return o}window.jQuery.fn.scrollIntoView=function(r){if(0===this.length)return this;var e=this.hasFixedParent();if(e){var n=i(this),l=i(e),a=l.outerHeight(),s=l.scrollTop(),h=s+a,c=n.position(),g=c.top+n.height(),p=g+s>h,u=c.top<0;p?l.scrollTop(s+g-a):u&&l.scrollTop(s+c.top)}else{r=r||{};if(!this.is(":visible")&&r.callback){r.callback();return this}var f=i(t).scrollTop(),d=o.call(this,r),m=i("#stalker");if(d!==f){var T=this,v=i(t.document);v.trigger("moveToStarted",T);r.duration?v.find("body, html").stop(!0).animate({scrollTop:d},r.duration,"swing",(function(){r.callback&&r.callback();v.trigger("moveToFinished",T);m.trigger("positionChanged")})):v.find("body, html").prop("scrollTop",d)}else r.callback&&r.callback()}return this};i.fn.isInView=function(r){if(this.length>0&&!this.hasFixedParent()){r=r||{};var e=i(t).scrollTop();return o.call(this,r)===e}return this}}(); 1754}catch(e){WRMCB(e)}; 1755; 1756try { 1757/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/InlineLayer.StandardPositioning.js' */ 1758define("jira/ajs/layer/inline-layer/standard-positioning",["jira/lib/class","
1758jquery"],(function(t,e){"use strict";return t.extend({init:function(){this.rebuiltCallbacks=[]},left:function(){var t=this.offset();if(this.options.appendToTrigger()){var e=this.offsetTarget().offsetParent().offset();t.left-=e.left;t.top-=e.top}return{left:t.left,top:t.top+this.offsetTarget().outerHeight()}},right:function(){var t=this.offset();if(this.options.appendToTrigger()){var e=this.offsetTarget().offsetParent().offset();t.left-=e.left;t.top-=e.top}return{left:t.left-this.layer().outerWidth()+this.offsetTarget().outerWidth(),top:t.top+this.offsetTarget().outerHeight()}},window:function(t){function e(){return t.apply(this,arguments)}e.toString=function(){return t.toString()};return e}((function(){return window})),offset:function(){var t=this.offsetTarget().offset();if(this.offsetTarget().hasFixedParent()){this.layer().css("position","fixed");t.top=t.top-e(window).scrollTop()}else this.layer().css("position","absolute");return t},rebuilt:function(t){var i=this;e.isFunction(t)?this.rebuiltCallbacks.push(t):e.each(this.rebuiltCallbacks,(function(){this(i.layer())}))},appendToBody:function(){this.layer().appendTo("body")},appendToTrigger:function(){this.layer().insertAfter(this.offsetTarget())},appendToPlaceholder:function(){this.layer().appendTo(this.$placeholder)},scrollTo:function(){}})})); 1759}catch(e){WRMCB(e)}; 1760; 1761try { 1762/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/InlineLayer.WindowPositioning.js' */ 1763define("jira/ajs/layer/inline-layer/window-positioning",["jira/ajs/layer/inline-layer/standard-positioning","jquery"],(function(t,i){"use strict";return t.extend({left:function(){var t=this._super();return this._spaceBottom()>=(this.maxRecordedHeight||this.layer().height())?t:this._spaceRight()>=this.layer().width()?this._rightSidePos():this._spaceLeft()>=this.layer().width()?this._leftSidePos():this._rightSidePos()},right:function(){var t=this._super();return this._spaceBottom()>=(this.maxRecordedHeight||this.layer().height())?t:this._spaceLeft()>=this.layer().width()?this._leftSidePos():this._spaceRight()>=this.layer().width()?this._rightSidePos():this._leftSidePos()},setInversePositioningIfNotFit:function(t){this.shouldInversePositioningDirection=t;return this},_spaceBottom:function(){var t="fixed"===this.layer().css("position"),e=i(window).outerHeight(),s=i(window).scrollTop(),o=this.offsetTarget().outerHeight(!0);return e-this.offset().top-o-this._minWindowMargin()+(t?0:s)},_spaceRight:function(){var t="fixed"===this.layer().css("position"),e=i(window).outerWidth(),s=i(window).scrollLeft(),o=this.offsetTarget().outerWidth(!0);return e-this.offset().left-o-this._minWindowMargin()+(t?0:s)},_spaceLeft:function(){var t="fixed"===this.layer().css("position"),e=i(window).scrollLeft();return this.offset().left-this._minWindowMargin()-(t?0:e)},_minWindowMargin:function(){return 0},_leftSidePos:function(){var t=this.offset();if(this.options.appendToTrigger()){var i=this.offsetTarget().offsetParent().offset();t.left-=i.left}return{left:t.left-this.layer().outerWidth(!0),top:this._lowestPos(this.layer())}},_rightSidePos:function(){var t=this.offset();if(this.options.appendToTrigger()){var i=this.offsetTarget().offsetParent().offset();t.left-=i.left}return{left:t.left+this.offsetTarget().outerWidth(!0),top:this._lowestPos(this.layer())}},_lowestPos:function(t){var e="fixed"===t.css("position"),s=i(window).outerHeight(),o=i(window).scrollTop(),r=this.options.appendToTrigger()?this.offsetTarget().offsetParent().offset().top:0;if(this.shouldInversePositioningDirection){var n=t.outerHeight(!0);(!this.maxRecordedHeight||this.maxRecordedHeight<n)&&(this.maxRecordedHeight=n);return this.offsetTarget()[0].getBoundingClientRect().top-n-r}return s-t.outerHeight(!0)-this._minWindowMargin()+(e?0:o)-r}})})); 1764}catch(e){WRMCB(e)}; 1765; 1766try { 1767/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/InlineLayer.IframePositioning.js' */ 1768define("jira/ajs/layer/inline-layer/iframe-positioning",["jira/ajs/layer/inline-layer/standard-positioning","jira/util/navigator","jquery","jira/util/top-same-origin-window"],(function(t,e,n,o){"use strict";var i=o(window),r=t.extend({offset:function(){var t=r.window(),e=r.topWindow(),o=n("iframe",e.document.body).filter((function(){return this.getAttribute("name")===t.name}
1768)).parent().offset(),i=this._super(),l=this._topDocumentScrollTop(),c=this._topDocumentScrollLeft(),a=l-this._iframeScrollTop(),s=c-this._iframeScrollLeft();return{left:o.left+i.left+s,top:o.top+i.top+a}},_topDocumentScrollTop:function(){return this.isOffsetIncludingScroll()?0:Math.max(i.document.body.scrollTop,i.document.documentElement.scrollTop)},_topDocumentScrollLeft:function(){return this.isOffsetIncludingScroll()?0:Math.max(i.document.body.scrollLeft,i.document.documentElement.scrollLeft)},_iframeScrollTop:function(){return this.isOffsetIncludingScroll()?2*Math.max(window.document.body.scrollTop,window.document.documentElement.scrollTop):0},_iframeScrollLeft:function(){return this.isOffsetIncludingScroll()?2*Math.max(window.document.body.scrollLeft,window.document.documentElement.scrollLeft):0},isOffsetIncludingScroll:function(t){void 0===this.offsetIncludingScroll&&(this.offsetIncludingScroll=!0);void 0!==t&&(this.offsetIncludingScroll=t);return this.offsetIncludingScroll},appendToBody:function(){i.jQuery("body").append(this.layer())},window:function(){return i},scrollTo:function(){}});e.isWebkit()&&(r=r.extend({appendToBody:function(){var t=this.layer();this.layer(this._rebuildLayerInParent());i.jQuery("body").append(this.layer());t.remove();this.rebuilt()},appendToPlaceholder:function(){var t=this.layer();this.layer(this._rebuildLayerInIframe());this.layer().appendTo(this.placeholder());t.remove();this.rebuilt()},_rebuildLayerInParent:function(){return i.jQuery("<div class='ajs-layer'>"+this.layer().html()+"</div>")},_rebuildLayerInIframe:function(){return n("<div class='ajs-layer'>"+this.layer().html()+"</div>")}}));e.isMozilla()&&(r=r.extend({appendToPlaceholder:function(){var t=this.layer();this.layer(t.clone(!0).appendTo(this.placeholder()));this.rebuilt();window.setTimeout((function(){t.remove()}),10)}}));r.window=function(){return window};r.topWindow=function(){return i};return r})); 1769}catch(e){WRMCB(e)}; 1770; 1771try { 1772/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/InlineLayer.OptionsDescriptor.js' */ 1773define("jira/ajs/layer/inline-layer/options-descriptor",["jira/ajs/layer/layer-constants","jira/ajs/descriptor","jira/ajs/contentretriever/ajax-content-retriever","jira/ajs/contentretriever/deferred-content-retriever","jira/ajs/contentretriever/dom-content-retriever","jira/ajs/layer/inline-layer/iframe-positioning","jira/ajs/layer/inline-layer/window-positioning","jira/ajs/layer/inline-layer/standard-positioning","aui/params","jquery"],(function(t,e,i,r,n,o,s,p,a,h){"use strict";return e.extend({init:function(t){this._super(t);if(!this.contentRetriever())if(this.ajaxOptions())this.contentRetriever(new i(this.ajaxOptions()));else if(h.isFunction(this.content()))this.contentRetriever(new r(this.content()));else{if(!this.content())throw new Error("InlineLayer.OptionsDescriptor: Expected either [ajaxOptions] or [contentRetriever] or [content] to be defined");this.contentRetriever(new n(this.content()))}if(!this.positioningController())if(!a.ignoreFrame&&this._inIFrame())this.positioningController(new o);else{var e=h("body");"hidden"===e.css("overflow")||"hidden"===e.css("overflowY")?this.positioningController(new s):this.positioningController(new p)}!this.offsetTarget()&&this.content()instanceof h&&this.offsetTarget(this.content().prev())},_inIFrame:function(){var t=window;try{for(;t.parent.window!==t.window;)if((t=t.parent).AJS)return!0}catch(t){}return!1},_getDefaultOptions:function(){return{alignment:t.INTELLIGENT_GUESS,hideOnScroll:".form-body",cushion:20,width:200}},positioningController:function(t){if(!t)return this.properties.positioningController;this.properties.positioningController=t},ajaxOptions:function(t){if(!t)return this.properties.ajaxOptions;this.properties.ajaxOptions=t},content:function(t){if(t)(t=h(t)).length&&(this.properties.content=t);else if(this.properties.content&&(this.properties.content.length||h.isFunction(this.properties.content)))return this.properties.content},contentRetriever:function(t){if(!t)return this.properties.contentRetriever;this.properties.contentRetriever=t},offsetTarget:function(t){if(t)(t=h(t)).length&&(this.properties.offsetTarget=t);else if(this.properties.offsetTarget&&(this.properties.offsetTarget.length||h.isFunction(this.properties.offsetTarget)))return this.properties.offsetTarget},appendToTrigger:function(t){if(!t)return this.properties.appendToTrigger;this.properties.appendToTrigger=t},cushion:function(t){if(!t)return this.properties.cushion;this.properties.cushion=t},styleClass:function(t){if(!t)return this.properties.styleClass;this.properties.styleClass=t},hideOnScroll:function(t){if(!t)return this.properties.hideOnScroll;this.properties.hideOnScroll=t},alignment:function(t){if(!t)return this.properties.alignment;this.properties.alignment=t},width:function(t){if(!t)return h.isFunction(this.properties.width)?this.properties.width.call(this):this.properties.width;this.properties.width=t},allowDownsize:function(t){if(!t)return this.properties.allowDownsize;this.properties.allowDownsize=t},customEvents:function(t){if(!t)return this.properties.customEvents;this.properties.customEvents=t}})})); 1774}catch(e){WRMCB(e)}; 1775; 1776try { 1777/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/InlineLayer.js' */ 1778define("jira/ajs/layer/inline-layer",["jira/ajs/layer/layer-constants","jira/ajs/layer/layer-interactions","jira/ajs/control","jira/ajs/layer/hide-reasons","jira/ajs/layer/inline-layer/options-descriptor","jira/ajs/contentretriever/content-retriever","jira/util/events","jquery"],(function(t,i,e,s,n,r,o,h){"use strict";var a=e.extend({CLASS_SIGNATURE:"AJS_InlineLayer",SCROLL_HIDE_EVENT:"scroll.hide-dropdown",init:function(t){var i=this;this.options=t instanceof n?t:new n(t);this.offsetTarget(this.options.offsetTarget());this.contentRetriever=this.options.contentRetriever();h.extend(this,this.options.positioningController());if(!(this.contentRetriever instanceof r))throw new Error("InlineLayer: Failed construction, Content retriever does not implement interface [AJS.ContentRetrieverInterface]");this.contentRetriever.startingRequest((function(){i._showLoading()}));this.contentRetriever.finishedRequest((function(){i._hideLoading()}));this.contentRetriever.failedRequest&&this.contentRetriever.failedRequest((function(){i.onerror
1778()}));this.$layer=this._render("layer",this.options.alignment())},content:function(t){var i=this;if(!h.isFunction(t))return this.$content;this.contentRetriever.content((function(e){i.$content=e.removeClass("hidden");t.call(i)}))},offsetTarget:function(){var t=this.options.offsetTarget();h.isFunction(t)&&(t=t());return t},contentChange:function(t){var i=this;if(h.isFunction(t)){this.contentChangeCallback||(this.contentChangeCallback=[]);this.contentChangeCallback.push(t)}else if(!t){this.trigger("contentChanged",[this]);this.setWidth(this.options.width());this.setPosition();this.contentChangeCallback&&h.each(this.contentChangeCallback,(function(t,e){e(i)}))}},onhide:function(t){var i=this;if(h.isFunction(t)){this.hideCallback||(this.hideCallback=[]);this.hideCallback.push(t)}else!t&&this.hideCallback&&h.each(this.hideCallback,(function(t,e){e(i)}))},onerror:function(t){var i=this;if(h.isFunction(t)){this.errorCallback||(this.errorCallback=[]);this.errorCallback.push(t)}else!t&&this.errorCallback&&h.each(this.errorCallback,(function(t,e){e(i)}))},layer:function(t){if(!t)return this.$layer;this.$layer=t},placeholder:function(t){if(!t)return this.$placeholder;this._throwReadOnlyError("placeholder")},isVisible:function(t){void 0!==t&&this._throwReadOnlyError("visible");return this.visible},scrollableContainer:function(t){t&&this._throwReadOnlyError("scrollableContainer");return this.$scrollableContainer},isInitialized:function(t){t&&this._throwReadOnlyError("initialized");return this.initialized},hide:function(t,i){var e,s=i&&i.target;if(!this.isVisible())return!1;e=h.Event(a.EVENTS.beforeHide);this.trigger(e,[this.layer(),t,this.options.id,s]);o.trigger(e,[this.layer(),t,this.options.id,s]);if(!e.isDefaultPrevented()){this.visible=!1;this._makeInactiveAndHideLayer();var n=this;setTimeout((function(){n.appendToPlaceholder()}),0);this.layer().attr("aria-hidden","true");this._unbindEvents();this.onhide();this.trigger("hideLayer",[this]);h(document).trigger("hideLayer",[this.CLASS_SIGNATURE,this]);this.trigger(a.EVENTS.hide,[this.layer(),t,this.options.id]);o.trigger(a.EVENTS.hide,[this.layer(),t,this.options.id]);a.current=null}},_makeInactiveAndHideLayer:function(){this.layer().removeClass(t.ACTIVE_CLASS).hide();this.offsetTarget().removeClass(t.ACTIVE_CLASS)},refreshContent:function(t){var i=this;this.content((function(){0===this.layer().has(this.content()).length&&this.layer().html(this.content());h.isFunction(t)&&t.call(i);this.contentChange()}))},show:function(){var t,i=this;if(!this.isVisible()){t=h.Event(a.EVENTS.beforeShow);this.trigger(t,[this.layer(),this.options.id]);o.trigger(t,[this.layer(),this.options.id]);t.isDefaultPrevented()||(this.isInitialized()?!1===this.contentRetriever.cache()?this.refreshContent((function(){i._showContent()})):i._showContent():this._lazyInit((function(){i._showContent()})))}},_showContent:function(){this.offsetTarget().is(":visible")?this._show():this._makeInactiveAndHideLayer()},toggle:function(t){null==t&&(t=!this.isVisible());t?this.show():this.hide(s.toggle)},getPositioning:function(i){var e,s=i.hasSpaceOnLeft,n=i.hasSpaceOnRight,r=i.offsetTargetBounds,o=h(window);this.options.alignment()===t.RIGHT?e=s||!n?this.right():this.left():this.options.alignment()===t.LEFT?e=n||!s?this.left():this.right():this.options.alignment()===t.INTELLIGENT_GUESS&&(e=r.left+r.width/2>o.width()/2?this.right():this.left());return e},setPosition:function(){var t=h(window);if(this.isInitialized()&&this.offsetTarget()&&0!==this.offsetTarget().length){var i=this.offsetTarget().get(0).getBoundingClientRect(),e=this.layer().width(),s=i.left+e<t.width()+t.scrollLeft(),n=i.left+i.width-e>t.scrollLeft(),r=this.getPositioning({hasSpaceOnLeft:n,hasSpaceOnRight:s,offsetTargetBounds:i});this.trigger("setLayerPosition",[r,this]);if(this.options.properties.setMaxHeightToWindow||!1!==this.options.properties.setMaxHeightToWindow&&h(".aui-blanket").is(":visible")){var o,a=t.scrollLeft();a>0&&(r.left-=a);o=this.fixedParent().size()?0:t.scrollTop();r.maxHeight=t.height()-r.top+o-this.options.cushion()}r.minHeight=this.options.properties.minHeight;this.layer().css(r)}},setOverflowAndHeight:function(){this.options.properties.maxInlineResultsDisplayed&&this.layer().addClass("limited")},fixedParent:function(){return this.offsetTarget().parents().filter((function(){return"fixed"===h(this).css("position")}))},setWidth:function(t){this.layer().width(t)},_lazyInit:function(i){if(!this.initializing){this.initializing=!0;this.refreshContent((function(){var e=this;this.initializing=!1;this.initialized=!0;this.layer().insertAfter(this.offsetTarget());this._supportsBoxShadow()&&this.layer().addClass(t.BOX_SHADOW_CLASS);this.$placeholder=h("<div class='ajs-layer-placeholder' />").insertAfter(this.offsetTarget());this.$scrollableContainer=this.offsetTarget().closest(this.options.hideOnScroll());this.rebuilt((function(t){e.layer(t)}));i()}))}},_show:function(){a.current&&a.current.hide();this.visible=!0;this.content().show();this._appendTo();this.layer().addClass(t.ACTIVE_CLASS);this.offsetTarget().addClass(t.ACTIVE_CLASS);this.layer().show();this.layer().attr("aria-hidden","false");this.setWidth(this.options.width());this.setPosition();this.setOverflowAndHeight();this._bindEvents();AJS.dim.dim||this.scrollTo();a.current=this;this.trigger("showLayer",[this]);h(document).trigger("showLayer",[this.CLASS_SIGNATURE,this]);this.trigger(a.EVENTS.show,[this.layer(),this.options.id]);o.trigger(a.EVENTS.show,[this.layer(),this.options.id])},_hideLoading:function(){this.$layer.removeClass(t.LOADING_CLASS);this.offsetTarget().removeClass(t.LOADING_CLASS)},_showLoading:function(){this.$layer.addClass(t.LOADING_CLASS);this.offsetTarget().addClass(t.LOADING_CLASS)},_unbindEvents:function(){this.$scrollableContainer.unbind(this.SCROLL_HIDE_EVENT);this._unassignCustomEvents();this._unassignEvents("container",document);this._unassignEvents("win",window)},_bindEvents:function(){var t=this;this.$scrollableContainer.one(this.SCROLL_HIDE_EVENT,(function(){t.hide()}));this._assignCustomEvents();this._assignEvents("container",document);this._assignEvents("win",window)},_assignCustomEvents:function(){var t=this.options.customEvents();if(t){this._unassignCustomEvents();for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))for(var e in t[i])Object.prototype.hasOwnProperty.call(t[i],e)&&h(i).on(e,this._getCustomEventsDispat
1778cher(i,e,t))}},_unassignCustomEvents:function(){var t=this.options.customEvents();if(t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))for(var e in t[i])Object.prototype.hasOwnProperty.call(t[i],e)&&h(i).off(e,this._getCustomEventsDispatcher(i,e,t))},_getCustomEventsDispatcher:function(t,i,e){var s="custom/"+t+"/"+i;this._dispatchers||(this._dispatchers={});if(!this._dispatchers[s]){var n=this,r=e[t][i];this._dispatchers[s]=function(t){return r.call(n,t,h(this))}}return this._dispatchers[s]},_validateClickToClose:function(t){return t.target!==this.offsetTarget()[0]&&(t.target!==this.layer()[0]&&(!(this.offsetTarget().has(t.target).length>0)&&!(this.layer().has(t.target).length>0)))},_appendTo:function(){this.options.appendToTrigger()?this.appendToTrigger():this.appendToBody()},keys:{Esc:function(t){this.hide(s.escPressed,t)}},_events:{container:{"aui:keydown":function(t){this._handleKeyEvent(t)},click:function(t){this._validateClickToClose(t)&&this.hide(s.clickOutside,t)}},win:{resize:function(){this.setPosition()},scroll:function(){this.setPosition()}}},_renders:{layer:function(){return h("<div />").addClass("ajs-layer").addClass(this.options.styleClass())}}});a.EVENTS={beforeHide:"InlineLayer.beforeHide",hide:"InlineLayer.hide",beforeShow:"InlineLayer.beforeShow",show:"InlineLayer.show"};i.preventInputBlur(a);i.preventDialogHide(a);i.hideBeforeDialogShown(a);return a})); 1779}catch(e){WRMCB(e)}; 1780; 1781try { 1782/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/InlineLayer.create.js' */ 1783define("jira/ajs/layer/inline-layer-factory",["jira/ajs/layer/inline-layer","jira/util/objects","jquery","exports"],(function(e,n,t,r){"use strict";r.createInlineLayers=function(r){var i=[];if(r.content){r.content=t(r.content);t.each(r.content,(function(){var a=n.copyObject(r);a.content=t(this);i.push(new e(a))}))}return 1===i.length?i[0]:i}})); 1784}catch(e){WRMCB(e)}; 1785; 1786try { 1787/* module-key = 'jira.webresources:inline-layer', location = '/includes/ajs/layer/initInlineLayer.js' */ 1788AJS.namespace("AJS.InlineLayer",null,require("jira/ajs/layer/inline-layer"));AJS.namespace("AJS.InlineLayer.create",null,require("jira/ajs/layer/inline-layer-factory").createInlineLayers);AJS.namespace("AJS.InlineLayer.OptionsDescriptor",null,require("jira/ajs/layer/inline-layer/options-descriptor"));AJS.namespace("AJS.InlineLayer.StandardPositioning",null,require("jira/ajs/layer/inline-layer/standard-positioning"));AJS.namespace("AJS.InlineLayer.WindowPositioning",null,require("jira/ajs/layer/inline-layer/window-positioning"));AJS.namespace("AJS.InlineLayer.IframePositioning",null,require("jira/ajs/layer/inline-layer/iframe-positioning")); 1789}catch(e){WRMCB(e)}; 1790; 1791try { 1792/* module-key = 'jira.webresources:list', location = '/includes/ajs/group/Group.js' */ 1793define("jira/ajs/group",["jira/ajs/control","jquery"],(function(t,i){"use strict";return t.extend({CLASS_SIGNATURE:"AJS_GROUP",init:function(){this.items=[];this.index=-1;this._assignEvents("instance",this)},addItem:function(t){this.items.push(t);this._assignEvents("item",t)},_removeItem:function(t){var e=i.inArray(t,this.items);if(e<0)throw new Error("Group: item ["+t+"] is not a member of this group");t.trigger("blur");e<this.index&&this.index--;this.items.splice(e,1);this._unassignEvents("item",t)},removeItem:function(t){t.trigger("remove")},removeAllItems:function(){for(;this.items.length;)this.items[0].trigger("remove")},shiftFocus:function(t){-1===this.index&&1===t&&(t=0);if(this.items.length>0){var i=(Math.max(0,this.index)+this.items.length+t)%this.items.length;this.items[i].trigger("focus");this.trigger("change:activeItem",this.items[i])}},prepareForInput:function(){this._assignEvents("keys",document)},_events:{instance:{focus:function(){0!==this.items.length&&(this.index<0?this.items[0].trigger("focus"):this._assignEvents("keys",document))},blur:function(){this.index>=0?this.items[this.index].trigger("blur"):this._unassignEvents("keys",document)}},keys:{"aui:keydown":function(t){this._handleKeyEvent(t)}},item:{focus:function(t){var e=this.index;this.index=i.inArray(t.target,this.items);e<0?this.trigger("focus"):e!==this.index&&this.items[e].trigger("blur")},blur:function(t){if(this.index===i.inArray(t.target,this.items)){this.index=-1;this.trigger("blur")}},remove:function(t){this._removeItem(t.target)}}},keys:{}})}));AJS.namespace("AJS.Group",null,require("jira/ajs/group")); 1794}catch(e){WRMCB(e)}; 1795; 1796try { 1797/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/ItemDescriptor.js' */ 1798function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}
1798define("jira/ajs/list/item-descriptor",["jira/ajs/descriptor","jquery"],(function(t,e){"use strict";return t.extend({init:function(t){t&&"object"===_typeof(t.meta)&&(t.meta=JSON.stringify(t.meta));this._super(t)},REQUIRED_PROPERTIES:{label:!0},_getDefaultOptions:function(){return{showLabel:!0}},styleClass:function(){return this.properties.styleClass},meta:function(){if(this.properties.meta)return JSON.parse(this.properties.meta)},value:function(){return this.properties.value},invalid:function(){return this.properties.invalid},labelSuffix:function(t){void 0!==t&&(this.properties.labelSuffix=t);return this.properties.labelSuffix},title:function(){return this.properties.title},label:function(){return this.properties.label},disabled:function(t){if(!t)return this.properties.disabled;this.properties.disabled=t},allowDuplicate:function(){return this.properties.allowDuplicate},removeOnUnSelect:function(t){void 0!==t&&(this.properties.removeOnUnSelect=t);return this.properties.removeOnUnSelect},icon:function(){return this.properties.icon},iconType:function(){return this.properties.iconType},fallbackIcon:function(){return this.properties.fallbackIcon},selected:function(t){void 0!==t&&(this.properties.selected=t);return this.properties.selected},model:function(t){if(!t)return this.properties.model;this.properties.model=t},keywords:function(){return this.properties.keywords},href:function(){return this.properties.href},highlighted:function(t){if(!1===t){if(this.properties.html){this.properties.label=e("<div>"+this.properties.html+"</div>").text();this.properties.html=null}this.properties.highlighted=!1}return this.properties.highlighted&&this.properties.html},html:function(){return this.properties.html},fieldText:function(){return this.properties.fieldText},noExactMatch:function(){return this.properties.noExactMatch}})}));AJS.namespace("AJS.ItemDescriptor",null,require("jira/ajs/list/item-descriptor")); 1799}catch(e){WRMCB(e)}; 1800; 1801try { 1802/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/MessageDescriptor.js' */ 1803define("jira/ajs/list/message-descriptor",["jira/ajs/list/item-descriptor","jquery"],(function(e,s){"use strict";return e.extend({useAUI:function(){return this.properties.useAUI},messageID:function(){return this.properties.messageID},_getDefaultOptions:function(){return s.extend(this._super(),{useAUI:!0})}})}));AJS.namespace("AJS.MessageDescriptor",null,require("jira/ajs/list/message-descriptor")); 1804}catch(e){WRMCB(e)}; 1805; 1806try { 1807/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/GroupDescriptor.js' */ 1808define("jira/ajs/list/group-descriptor",["jira/ajs/descriptor"],(function(t){"use strict";return t.extend({_getDefaultOptions:function(){return{showLabel:!0,label:"",items:[],fetchedThroughAjaxCall:!1}},placement:function(){return this.properties.placement},styleClass:function(){return this.properties.styleClass},weight:function(){return this.properties.weight},label:function(){return this.properties.label},footerText:function(t){if(!t)return this.properties.footerText;this.properties.footerText=t},footerHtml:function(t){if(!t)return this.properties.footerHtml;this.properties.footerHtml=t},fetchedThroughAjaxCall:function(){return this.properties.fetchedThroughAjaxCall},actionBarHtml:function(t){t&&(this.properties.actionBarHtml=t);return this.properties.actionBarHtml},showLabel:function(){return this.properties.showLabel},items:function(t){if(t){this.properties.items=t;return this}return this.properties.items},addItem:function(t){this.properties.items.push(t);return this},id:function(){return this.properties.id},setModel:function(t){this.properties.model=t},replace:function(){return this.properties.replace},uniqueItemScope:function(){return this.properties.uniqueItemScope},description:function(){return this.properties.description},model:function(t){if(!t)return this.properties.model;this.properties.model=t}})}));AJS.namespace("AJS.GroupDescriptor",null,require("jira/ajs/list/group-descriptor")); 1809}catch(e){WRMCB(e)}; 1810; 1811try { 1812/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/ItemDescriptorFactory.js' */ 1813define("jira/ajs/list/item-descriptor-factory",["jira/ajs/list/item-descriptor","jira/ajs/list/message-descriptor"],(function(e,s){"use strict";function r(e,r){return new s({label:e.label,styleClass:e.styleClass,useAUI:e.useAUI,messageID:e.messageID,value:e.value,keywords:e.keywords,meta:{groupIndex:r}})}return{createItemDescriptor:function(s,t){return s.isMessage?r(s,t):new e({label:s.label,styleClass:s.styleClass,value:s.value,keywords:s.keywords,meta:{groupIndex:t}})},createMessageDescriptor:r}}));!function(e){"use strict";AJS.namespace("AJS.ItemDescriptor.create",null,e.createItemDescriptor);AJS.namespace("AJS.MessageDescriptor.create",null,e.createMessageDescriptor)}(require("jira/ajs/list/item-descriptor-factory")); 1814}catch(e){WRMCB(e)}; 1815; 1816try { 1817/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/List.js' */ 1818define("jira/ajs/list/list",["jira/util/logger","jira/util/formatter","jira/util/strings","jira/ajs/control","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","jira/ajs/input/mouse","jira/util/browser","jquery","underscore"],(function(t,e,
1818i,s,n,o,r,a,l,c){"use strict";function u(t){return t.trim().toLowerCase().replace(/[\s\.]+/g,"-")}function h(t){return u(t)+"-description"}var d=0;return s.extend({MAX_RESULT_LIMIT:2e3,init:function(t){t=t||{};this.options=t?l.extend(!0,this._getDefaultOptions(t),t):this._getDefaultOptions(t);this.maxInlineResultsDisplayed=this.options.maxInlineResultsDisplayed||this.MAX_RESULT_LIMIT;this._renders=l.extend({},this._renders,this.options.renderers);this.disabled=!0;this.reset();var e=this;this.options.selectionHandler&&this.$container.delegate(this.options.itemSelector,this.options.selectionEvent,(function(t){e.options.selectionHandler.call(e,t)}));this.motionDetector.wait();this.$container.delegate(this.options.itemSelector,"mousemove",(function(){if(!e.disabled&&(e.motionDetector.moved||a.isSelenium())){e.index=l.inArray(this,e.$visibleItems);e.focus(!0)}}))},_getDefaultOptions:function(){return{selectionEvent:"click",delegateTarget:document,matchingStrategy:"(^|.*?(\\s+|\\())({0})(.*)",itemSelector:"li.aui-list-item",listItemTag:"a",hasLinks:!0,stallEventBind:!0,expandAllResults:!1,suggestionRole:"option",suggestionsListRole:"listbox",rootRole:"presentation",subtextPrefix:"",loopThroughOptions:!1,prioritizeExactMatches:!1,hideSuggestionCount:!1,listId:""}},index:0,announceViaScreenReader:function(t){if(this.$announcementBox&&t){var e=this.$announcementBox.text();this.$announcementBox.text(e===t?"".concat(t,"."):t)}},moveToFirst:function(){if(this.$visibleItems.length>0){this.index=0;this.focus()}},moveToNext:function(){if(this.index<this.maxIndex){++this.index;this.focus()}else if(this.options.expandAllResults&&this.hasTooManySuggestions){this._expandAllResults();++this.index;this.focus()}else if(this.$visibleItems.length>1&&this.options.loopThroughOptions){this.index=0;this.focus()}},container:function(t){if(!t)return this.$container;this.$container=l(t);this.containerSelector=t},getItemsByDescriptor:function(t){var e=l();this.$container.find(this.options.itemSelector).each((function(){var i=l.data(this,"descriptor");i&&i.value()===t.value()&&(e=e.add(this))}));return e},scrollContainer:function(){return this.options.scrollContainer?this.$container.find(this.options.scrollContainer):this.$container.parent()},_isScrollConstrained:function(){var t=this.scrollContainer()[0];return t.clientHeight<t.scrollHeight},moveToPrevious:function(){if(this.index>0){--this.index;this.focus()}else if(this.$visibleItems.length>0&&this.options.loopThroughOptions){this.index=this.$visibleItems.length-1;this.focus()}},scrollActiveItemIntoView:function(){var t=this.$visibleItems.filter(".active"),e=this.scrollContainer(),i=e.scrollTop();if(0!==t.length)if(this._isScrollConstrained()){if(0!==t.closest(e).length)if(t.is(e.find(this.items).first()))this._scrollContainerTo(0);else{var s=t.offset().top-e.offset().top,n=e.outerHeight()-t.outerHeight()-s;s>=0?n<0&&this._scrollContainerTo(i-n):this._scrollContainerTo(i+s)}}else t.scrollIntoView({callback:l.proxy(this.motionDetector,"wait")})},_scrollContainerTo:function(t){var e=this.scrollContainer();if(e.scrollTop()!==t){this.motionDetector.unbind();this.motionDetector.wait();e.scrollTop(t)}},focus:function(t){this.$visibleItems.removeClass("active");var e=this.$visibleItems.eq(this.index);e.addClass("active");this.lastFocusedItemDescriptor=e.data("descriptor");this.trigger("itemFocus",e,this.lastFocusedItemDescriptor);t||this.scrollActiveItemIntoView()},motionDetector:new r.MotionDetector,disable:function(){if(!this.disabled){this._unassignEvents("delegateTarget",this.options.delegateTarget);this.disabled=!0;this.lastFocusedItemDescriptor=null}},enable:function(){var t=this;if(t.disabled){this.options.stallEventBind?window.setTimeout((function(){t._assignEvents("delegateTarget",t.options.delegateTarget)}),0):t._assignEvents("delegateTarget",t.options.delegateTarget);t.disabled=!1;this._scrollContainerTo(0)}},getFocused:function(){return this.$visibleItems.filter(".active")},reset:function(t){this.$container=l(this.options.containerSelector);this.items=l(this.options.itemSelector,this.$container).not(".no-suggestions");this.$visibleItems=this._computeVisibleItems();this.groups=l(this.options.groupSelector,this.$container);this.maxIndex=this.$visibleItems.length-1;this.index=this.$visibleItems[t]?t:0;this.options.announcementBoxSelector&&this.options.announcementBoxSelector.length&&(this.$announcementBox=l(this.options.announcementBoxSelector));this.focus(!0)},_computeVisibleItems:function(){return this.items.not(".hidden, .disabled")},selectValue:function(e){var i=this.$container.find(this.options.itemSelector).filter((function(){return l(this).parent().data("descriptor").value()===e}));i.length||t.log("WARN: No List item found with Decriptor value '"+e+"'");i.click()},_getLinkFromItem:function(t){return(t=l(t)).is("a")?t:t.find("a")},_addTitlesToProjectItems:function(t){function e(t){void 0===t.properties.title&&(t.properties.title=t.properties.label)}
1818t.forEach((function(t){t instanceof n?t.properties.items.forEach((function(t){e(t)})):t instanceof o&&e(t)}))},_makeResultDiv:function(t,e){var i=l('<div class="aui-list-fixed" role="'.concat(this.options.rootRole,'">')),s=l('<div class="aui-list-scroll" tabindex="-1" role="'.concat(this.options.rootRole,'" id="').concat(this.options.listId,'">')),r=this,a=[];this.$container&&"project-suggestions"===this.$container.attr("id")&&this._addTitlesToProjectItems(t);function c(){if(a.length>0){s.append(r._generateUngroupedOptions(a,e));a=[]}}l.each(t,(function(t,l){var u,h;if(l instanceof n){c();u="fixed"===l.placement()?i:s;h=r._generateOptGroup(l,e);u.append(h)}else l instanceof o&&a.push(l)}));c();return 0===i.children().length?s:i.add(s)},_addResultToContainer:function(t){if(0===t.not(".aui-list-fixed").find(this.options.itemSelector).length){var e=this.$container.find(".aui-list-scroll");0===e.length&&(e=l('<div class="aui-list-scroll" tabindex="-1" role="presentation">').appendTo(this.$container));var i=this._render("noSuggestion");this.announceViaScreenReader(i.text());e.html(i)}else{t.find("ul:last").addClass("aui-last");this.$container.html(t)}},_makeSuggestionFooter:function(t){return l('<li class="no-suggestions">'+t+"</li>")},generateListFromJSON:function(t,e,i){this.suggestions=0;this.exactMatchIndex=-1;this.lastFocusedIndex=-1;this.lastQuery=e;this.lastData=t;this.forceAllResults=i;this.hasTooManySuggestions=!1;var s=this._makeResultDiv(t,e);this.$container.hide();this._addResultToContainer(s,e);this.$container.show();var n=this.exactMatchIndex>=0?this.exactMatchIndex:this.lastFocusedIndex;this.reset(n)},appendToGroupDescriptor:function(t,e){var i=c.find(this.lastData,(function(e){return e.id()===t}));c.forEach(e,(function(t){i.addItem(t)}))},_generateOption:function(t,e,i){var s;!t.highlighted()&&i&&i.test(t.label())&&(s=t.label().replace(i,(function(t,e,i,s,n){var o=l("<div>");e&&o.append(l("<span>").text(e));o.append(l("<em>").text(s));n&&o.append(l("<span>").text(n));return o.html()})));if(this.exactMatchIndex<0){var n=l.trim(t.label()).toLowerCase();
1818t.noExactMatch()||n!==l.trim(e).toLowerCase()?this.lastFocusedIndex<0&&this.lastFocusedItemDescriptor&&n===l.trim(this.lastFocusedItemDescriptor.label()).toLowerCase()&&(this.lastFocusedIndex=this.suggestions):this.exactMatchIndex=this.suggestions}this.suggestions++;return this._render("suggestion",t,s)},_filterOptions:function(t,i,s){if(!i)return t;for(var n=[],o=new RegExp(e.format(".*{0}.*",i),"i"),r=0,a=t.length;r<a;r++){var l=this._filterOption(t[r],o,s);l&&n.push(l)}return n},_filterOption:function(t,e,i){var s;if(t.highlighted())s=t;else if(i.test(t.label()))s=t;else if(t.keywords()){for(var n=[],o=(""+t.keywords()).split(","),r=0;r<o.length;r++){var a=o[r];e.test(a)&&n.push(a)}if(n.length){t.labelSuffix(" "+n.join(", "));s=t}}return s},_addOptionsToContainer:function(t,e,i,s){for(var n=this.maxInlineResultsDisplayed,o=!1,r=this.forceAllResults,a=[],c=0,u=t.length;c<u;c++){var h=t[c];if(!(c<n||r)){var d=this._createLimitedSuggestionsMessage(this,t.length-c);a.push(d);break}var p=this._generateOption(h,i,s);if(p){o=!0;a.push(p[0])}}e.html(l(a));return o},_createLimitedSuggestionsMessage:function(t,e){this.hasTooManySuggestions=!0;var i=t._render("tooManySuggestions",e);this.announceViaScreenReader(i.text());return i[0]},_filterAndAddOptions:function(t,i,s){var n,o;if(s){n=RegExp.escape(s);o=new RegExp(e.format(this.options.matchingStrategy,n),"i");t=this._filterOptions(t,n,o);this.options.prioritizeExactMatches&&(t=this._moveExactMatchesToTop(t,s))}this.options.maxResultsDisplayedPerGroup&&(t=t.slice(0,this.options.maxResultsDisplayedPerGroup));return this._addOptionsToContainer(t,i,s,o)},_moveExactMatchesToTop:function(t,e){var i=[];return t.filter((function(t){if(t.label().toLowerCase()===e.toLowerCase())return!0;i.push(t);return!1})).concat(i)},_generateUngroupedOptions:function(t,e){var i=this._render("ungroupedSuggestions");if(this._filterAndAddOptions(t,i,e))return i},_generateOptGroup:function(t,e){var i=l(),s=this._render("suggestionGroup",t),n=t.items(),o=this._filterAndAddOptions(n,s,e),r=t.label()&&!1!==t.showLabel();if(o){r&&(i=i.add(this._render("suggestionGroupHeading",t)));t.footerText()?s.append(this._render("suggestionsGroupFooter",t.footerText())):t.footerHtml()&&s.append(t.footerHtml());t.actionBarHtml()&&s.prepend(t.actionBarHtml());i=i.add(s);if(r&&i){var a=l("<fieldset />");a.append(i);return a}return i}},_expandAllResults:function(){this.generateListFromJSON(this.lastData,this.lastQuery,!0)},_events:{delegateTarget:{"aui:keydown":function(t){this._handleKeyEvent(t)}}},_renders:{suggestion:function(t,e){d+=1;var s=t.fieldText()||t.label(),n=i.escapeHtml(u(s)),o=l('<li class="aui-list-item"><'.concat(this.options.listItemTag,' class="aui-list-item-link" role="none" aria-selected="false" /></li>')).attr({id:n+"-"+d}),r=o.children();r.attr({role:this.options.suggestionRole,id:"".concat(n,"-").concat(d,"-link")});o.addClass("aui-list-item-li-"+n);if(t.selected()){o.addClass("aui-checked");r.attr({"aria-selected":!0})}this.options.hasLinks&&r.attr("href",t.href()||"#");t.styleClass()&&r.addClass(t.styleClass());e?r.html(e):t.html()?r.html(t.html()):r.text(t.label());if(t.labelSuffix()){var a=l("<span class='aui-item-suffix' />").text(this.options.subtextPrefix+t.labelSuffix());r.wrapInner("<span class='aui-item-text' />").append(a)}if(t.icon()&&"none"!==t.icon()){var c=l('<img class="icon" alt="" loading="lazy" />');c.attr("src",t.icon());"rounded"===t.iconType()&&c.addClass("rounded");r.addClass("aui-iconised-link").prepend(c)}t.title()&&r.prop("title",t.title());o.data("descriptor",t);return o},noSuggestion:function(){return l('<li class="no-suggestions">').text("No Matches")},tooManySuggestions:function(t){if(this.options.expandAllResults){var i=this,s=l(["<button type='button' class='aui-button aui-button-link view-all'>",e.format("View all ({0} more)",t),"</button>"].join("")),n=l('<li class="no-suggestions"></li>').append(s);s.click((function(t){i._expandAllResults();t.stopPropagation()}));s=null;return n}return this.options.hideSuggestionCount?this._makeSuggestionFooter("Keep typing to filter your search results."):this._makeSuggestionFooter(e.format("{0} more options. Continue typing to refine further.",t))},ungroupedSuggestions:function(){return l("<ul>").attr("role",this.options.suggestionsListRole)}
1818,suggestionGroup:function(t){var e=l("<ul/>").attr({class:"aui-list-section",role:this.options.suggestionsListRole}).addClass(t.styleClass()).data("descriptor",t),i=t.label();if(i){e.attr({id:u(i)});t.description()&&e.attr("aria-describedby",h(i))}return e},suggestionGroupHeading:function(t){var e,i=t.label(),s=l("<legend />").text(i).addClass(t.styleClass()).data("descriptor",t).attr({id:(e=i,u(e)+"-header")});t.description()&&l("<span class='aui-section-description' />").text(" ("+t.description()+")").attr({id:h(i),"aria-hidden":!0}).appendTo(s);return s},suggestionsGroupFooter:function(t){return l("<li class='aui-list-section-footer' />").text(t)}},_acceptSuggestion:function(t){!t instanceof l&&(t=l(t));var e=this._getLinkFromItem(t);if(e.length){var i=new l.Event("click");e.trigger(i,[e]);i.isDefaultPrevented()||(window.location.href=e.attr("href"))}},getAllItems:function(){return this.$container.find(this.options.itemSelector)},_acceptUserInput:function(t){t.triggerHandler("blur")},_handleSectionByKeyboard:function(t){var e=this.getFocused(),i=l(t.target);if(0!==e.length){if(this._latestQuery&&l.trim(i.val())!==this._latestQuery){var s=i.val().toLowerCase().match(/\S+/g);if(!s)return;var n=this.lastFocusedItemDescriptor&&this.lastFocusedItemDescriptor.html(),o=n?l("<div>").html(n):e,r=[];o.find("em,b").each((function(){var t=l(this),e=l(t.attr("nextSibling")).text().toLowerCase().match(/^\S*/)[0];l.each(t.text().toLowerCase().match(/\S+/g),(function(t,i){r.push(i+e)}))}));for(var a=0;a<s.length;a++){for(var c=s[a],u=c.length,h=!1,d=0;d<r.length;d++)if(r[d].slice(0,u)===c){h=!0;break}if(!h){this._acceptUserInput(i);return}}}this.scrollActiveItemIntoView();this.options.selectionHandler&&!this.options.selectionHandler.call(this,t)||this._acceptSuggestion(e)}},_isValidInput:function(){return!this.disabled&&this.$container.is(":visible")},keys:{Down:function(t){this.moveToNext();t.preventDefault()},Up:function(t){this.moveToPrevious();t.preventDefault()},Return:function(t){this._handleSectionByKeyboard(t);t.preventDefault()}},_buildElementId:u})}));AJS.namespace("AJS.List",null,require("jira/ajs/list/list")); 1819}catch(e){WRMCB(e)}; 1820; 1821try { 1822/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/PageableList.js' */ 1823define("jira/ajs/list/pageable-list",["jira/util/formatter","jira/ajs/list/list","jira/ajs/list/group-descriptor","jquery","underscore"],(function(t,e,i,s,n){"use strict";return e.extend({init:function(t){t=s.extend(!0,{pageSize:50,pagingThreshold:100},t);this._super(t);this.pageSize=this.options.pageSize},generateListFromJSON:function(e,s,r){var a,o,h=[],g=0;this.pageNumber=this.pageNumber||1;s!==this.lastQuery&&(this.pageNumber=1);if(s){a=RegExp.escape(s);o=new RegExp(t.format(this.options.matchingStrategy,a),"i");for(var l=0;l<e.length;l++){h.push(new i(n.omit(e[l].allProperties(),"items")));h[l].items(this._filterOptions(e[l].items(),a,o));g+=h[l].items().length}}else{h=e;for(var u=0;u<e.length;u++)g+=e[u].items().length}g<this.options.pagingThreshold&&(r=!0);this._super(h,s,r)},_filterAndAddOptions:function(e,i,s){var n;s&&(n=new RegExp(t.format(this.options.matchingStrategy,RegExp.escape(s)),"i"));return this._addOptionsToContainer(e,i,s,n)},_addOptionsToContainer:function(t,e,i,n){for(var r=!1,a=[],o=this.pageNumber*this.pageSize,h=0,g=t.length;h<g;h++){var l=t[h];if(this.forceAllResults||this.suggestions<o){var u=this._generateOption(l,i,n);if(u){r=!0;a.push(u[0])}}}e.children().length?e.find(".aui-list-item:last").after(s(a)):e.html(s(a));return r},addNextPage:function(){var t,e,i=this.suggestions;this.pageNumber++;for(var s=0;s<this.lastData.length;s++){if((t=this.lastData[s]).items().length>i)if(0===(e=this.$container.find("#"+this._buildElementId(t.label()))).length){e=this._generateOptGroup(t,this.lastQuery);("fixed"===t.placement()?this.$container.find(".aui-list-fixed"):this.$container.find(".aui-list-scroll")).append(e)}else this._filterAndAddOptions(t.items().slice(i),e,this.lastQuery);i-=t.items().length}this.reset(this.index);return this.suggestions},disable:function(){this._super();this.pageNumber=1},showPageRenderError:function(){this.$container.find(".aui-last").append(this._render("errorRen
1823deringPage"))},_renders:{errorRenderingPage:function(){return s("<li class='no-suggestions' />").text("Error rendering next page of results. Close dropdown and try again.")}},isDisplayedAllItems:function(){return n.reduce(this.lastData,(function(t,e){return t+e.items().length}),0)===this.suggestions}})})); 1824}catch(e){WRMCB(e)}; 1825; 1826try { 1827/* module-key = 'jira.webresources:list', location = '/includes/ajs/list/ListWithMessages.js' */ 1828define("jira/ajs/list/list-with-messages",["jira/ajs/list/list","jira/ajs/list/message-descriptor","jira/util/strings","jquery"],(function(s,e,a,t){"use strict";var i=s.extend({_filterOption:function(s,a,t){return s instanceof e?s:this._super(s,a,t)},_computeVisibleItems:function(){return this.items.not(".hidden, .disabled, .nofocus")},_generateOption:function(s,a,t){return s instanceof e?this._render(s.useAUI()?"AUImessage":"message",s):this._super(s,a,t)}});i.prototype._renders.message=function(s){var e=s.messageID()||s.fieldText()||s.label(),i=a.escapeHtml(t.trim(e).toLowerCase()).replace(/[\s\.]+/g,"-"),l=t('<li class="aui-list-item nofocus">').addClass("aui-list-item-li-"+i),r=t('<span class="aui-list-item-message" />');s.styleClass()&&r.addClass(s.styleClass());r.text(s.label());l.append(r).data("descriptor",s);return l};i.prototype._renders.AUImessage=function(s){var e=s.messageID()||s.fieldText()||s.label(),i=a.escapeHtml(t.trim(e).toLowerCase()).replace(/[\s\.]+/g,"-"),l=t('<li class="aui-list-item nofocus">').addClass("aui-list-item-li-"+i),r=t('<div class="aui-list-item-aui-message aui-message" />'),n=t('<span class="aui-icon"/>'),d=t("<p />");if(s.styleClass()){r.addClass(s.styleClass());n.addClass("icon-"+s.styleClass())}else n.addClass("icon-generic");d.text(s.label());r.append(n).append(d);l.append(r).data("descriptor",s);return l};return i}));AJS.namespace("AJS.ListWithMessages",null,require("jira/ajs/list/list-with-messages")); 1829}catch(e){WRMCB(e)}; 1830; 1831try { 1832/* module-key = 'com.atlassian.plugin.jslibs:jquery.aop-1.3', location = 'jquery-plugins/jquery.aop/1.3/aop.js' */ 1833(function(){var l=!0,m=function(){for(var a=Object.prototype.toString,b={},c={1:"element",3:"textnode",9:"document",11:"fragment"},f="Arguments Array Boolean Date Document Element Error Fragment Function NodeList Null Number Object RegExp String TextNode Undefined Window".split(" "),e=f.length;e--;){var d=f[e],g=window[d];if(g)try{b[a.call(new g)]=d.toLowerCase()}catch(h){}}return function(h){return null==h&&(void 0===h?"undefined":"null")||h.nodeType&&c[h.nodeType]||"number"==typeof h.length&&(h.callee&& 1834"arguments"||h.alert&&"window"||h.item&&"nodelist")||b[a.call(h)]}}(),n=function(a,b,c){var f=a[b];6!=c.type&&"function"!=m(f)&&(f=function(){for(var d=0<arguments.length?"arguments[0]":"",g=1;g<arguments.length;g++)d+=",arguments["+g+"]";return eval("oldObject("+d+");")});var e;1==c.type||2==c.type||3==c.type?e=function(){var d=null;try{var g=f.apply(this,arguments)}catch(h){d=h}if(1==c.type)if(null==d)g=c.value.apply(this,[g,b]);else throw d;else 2==c.type&&null!=d?g=c.value.apply(this,[d,b]):3== 1835c.type&&(g=c.value.apply(this,[g,d,b]));return g}:4==c.type?e=function(){c.value.apply(this,[arguments,b]);return f.apply(this,arguments)}:6==c.type?e=function(){return c.value.apply(this,arguments)}:5==c.type&&(e=function(){var d=this,g=Array.prototype.slice.call(arguments);return c.value.apply(d,[{arguments:g,method:b,proceed:function(){return f.apply(d,g)}}])});e.unweave=function(){a[b]=f;pointcut=a=e=f=null};return a[b]=e},p=function(a,b,c){var f=[],e;for(e in a){var d=null;try{d=a[e]}catch(g){}null!= 1836d&&e.match(b.method)&&"function"==m(d)&&(f[f.length]={source:a,method:e,advice:c})}return f},k=function(a,b){var c="undefined"!=typeof a.target.prototype?a.target.prototype:a.target,f=[];if(6!=b.type&&"undefined"==typeof c[a.method]){var e=p(a.target,a,b);0==e.length&&(e=p(c,a,b));for(var d in e)f[f.length]=n(e[d].source,e[d].method,e[d].advice)}else f[0]=n(c,a.method,b);return l?f:f[0]};jQuery.aop={after:function(a,b){return k(a,{type:1,value:b})},afterThrow:function(a,b){return k(a,{type:2,value:b})}, 1837afterFinally:function(a,b){return k(a,{type:3,value:b})},before:function(a,b){return k(a,{type:4,value:b})},around:function(a,b){return k(a,{type:5,value:b})},introduction:function(a,b){return k(a,{type:6,value:b})},setup:function(a){l=a.regexMatch}}})(); 1838}catch(e){WRMCB(e)}; 1839; 1840try { 1841/* module-key = 'jira.webresources:dropdown', location = '/includes/ajs/dropdown/Dropdown.constants.js' */ 1842define("jira/ajs/dropdown/dropdown-constants",{TRIGGER_SELECTOR:".aui-dropdown-trigger",CONTENT_SELECTOR:".aui-dropdown-content"}); 1843}catch(e){WRMCB(e)}; 1844; 1845try { 1846/* module-key = 'jira.webresources:dropdown', location = '/includes/ajs/dropdown/Dropdown.ListItem.js' */ 1847define("jira/ajs/dropdown/dropdown-list-item",["jira/ajs/layer/layer-constants","jira/ajs/control","jira/ajs/input/mouse","underscore","jquery","jira/util/top-same-origin-window"],(function(t,e,
1847i,s,n,o){"use strict";var r=o(window),a=e.extend({CLASS_SIGNATURE:"AJS_DROPDOWN_LISTITEM",init:function(t){this._setOptions(t);this.$element=n(this.options.element);this.$element.attr("role","presentation");var e=this.$element.find("a");if(e.length){var i={tabindex:0};e.attr("role")||(i.role="menuitem");e.attr(i)}this.hasFocus=!1;this._ensureIdOf(this.$element);this._assignEvents("instance",this);this._assignEvents("element",this.$element)},_getDefaultOptions:function(){return{element:null,autoScroll:!0,focusClass:t.ACTIVE_CLASS}},_ensureIdOf:function(t){var e=t.attr("id");s.isEmpty(e)&&(e=t.attr("id",s.uniqueId(this.CLASS_SIGNATURE+"__")));return e},_events:{instance:{focus:function(t){this.hasFocus=!0;this.$element.addClass(this.options.focusClass);if(!t.noscrolling){a.MOTION_DETECTOR.unbind();this.isWaitingForMove=!0;this.options.autoScroll&&this.$element.scrollIntoView(a.SCROLL_INTO_VIEW_OPTIONS)}},blur:function(){this.hasFocus=!1;this.$element.removeClass(this.options.focusClass)},accept:function(){var t=new n.Event("click"),e=this.$element.is("a")?this.$element:this.$element.find("a");e.trigger(t);var i=e.attr("href");i&&!t.isDefaultPrevented()&&(r.location=i)}},element:{mousemove:function(){if(this.isWaitingForMove&&a.MOTION_DETECTOR.moved&&!this.hasFocus||!this.hasFocus){this.isWaitingForMove=!1;this.trigger({type:"focus",noscrolling:!0})}},focusin:function(){this.trigger({type:"focus",noscrolling:!0})},focusout:function(){this.trigger({type:"blur"})}}}});a.MOTION_DETECTOR=new i.MotionDetector;a.SCROLL_INTO_VIEW_OPTIONS={duration:100,callback:function(){a.MOTION_DETECTOR.wait()}};return a}));AJS.namespace("AJS.Dropdown.ListItem",null,require("jira/ajs/dropdown/dropdown-list-item")); 1848}catch(e){WRMCB(e)}; 1849; 1850try { 1851/* module-key = 'jira.webresources:dropdown', location = '/includes/ajs/dropdown/Dropdown.ListItemGroup.js' */ 1852define("jira/ajs/dropdown/dropdown-list-item-group",["jira/ajs/group"],(function(e){"use strict";return e.extend({keys:{Up:function(e){this.shiftFocus(-1);e.preventDefault()},Down:function(e){this.shiftFocus(1);e.preventDefault()},Return:function(e){var t=this.items[this.index];if(t&&!e.isDefaultPrevented()){t.trigger("accept");e.preventDefault()}}}})}));AJS.namespace("AJS.Dropdown.ListItemGroup",null,require("jira/ajs/dropdown/dropdown-list-item-group")); 1853}catch(e){WRMCB(e)}; 1854; 1855try { 1856/* module-key = 'jira.webresources:dropdown', location = '/includes/ajs/dropdown/Dropdown.OptionsDescriptor.js' */ 1857define("jira/ajs/dropdown/dropdown-options-descriptor",["jira/ajs/descriptor","jira/ajs/dropdown/dropdown-constants","jira/ajs/dropdown/dropdown-list-item-group","jira/ajs/contentretriever/ajax-content-retriever","jira/ajs/contentretriever/deferred-content-retriever","jira/ajs/contentretriever/dom-content-retriever","jquery"],(function(t,r,e,i,o,n,s){"use strict";return t.extend({init:function(t){this._super(t);if(!this.content()&&!this.trigger())throw new Error("Dropdown.OptionsDescriptor: expected either [content] or [trigger] to be defined.");this.trigger()&&!this.content()?this.content(this.trigger().next(r.CONTENT_SELECTOR)):this.content()&&!this.trigger()&&this.content(this.trigger().next(r.TRIGGER_SELECTOR));if(this.trigger()&&!this.content()){this.ajaxOptions()?this.ajaxOptions().url||(this.ajaxOptions().url=this.trigger().attr("href")):this.trigger().attr("href")&&this.ajaxOptions(this.trigger().attr("href"));this.contentRetriever(new i(this.ajaxOptions()))}else this.content()&&(s.isFunction(this.content())?this.contentRetriever(new o(this.content())):this.contentRetriever(new n(this.content())));this.listController()||this.listController(new e)},_getDefaultOptions:function(){return{trigger:null,ajaxOptions:null,autoScroll:!0,stopTriggerClickPropagation:!1,stopEscapePropagation:!0,onShow:void 0,onHide:void 0}},content:function(t){if(!t)return this.properties.content;(t=s(t)).length&&(this.properties.content=t)},trigger:function(t){if(!t)return this.properties.trigger;this.properties.trigger=t},contentRetriever:function(t){if(!t)return this.properties.contentRetriever;this.properties.contentRetriever=t},listController:function(t){if(!t)return this.properties.listController;this.properties.listController=t},focusFirstItem:function(t){if(!t)return this.properties.focusFirstItem;this.properties.focusFirstItem=t},autoScroll:function(t){void 0!==t&&(this.properties.autoScroll=!!t);return this.properties.autoScroll}
1857,ajaxOptions:function(t){if(!t)return this.properties.ajaxOptions;this.properties.ajaxOptions=t},loop:function(t){if(void 0===t)return this.properties.loop;this.properties.loop=t},alignment:function(t){if(!t)return this.properties.alignment;this.properties.alignment=t},eventDelegator:function(t){if(void 0===t)return this.properties.eventDelegator;this.properties.eventDelegator=t},stopTriggerClickPropagation:function(t){if(void 0===t)return this.properties.stopTriggerClickPropagation;this.properties.stopTriggerClickPropagation=t},stopEscapePropagation:function(t){if(void 0===t)return this.properties.stopEscapePropagation;this.properties.stopEscapePropagation=t},appendDropdownToTrigger:function(t){if(!t)return this.properties.appendDropdownToTrigger;this.properties.appendToTrigger=t},onShow:function(t){if(void 0===t)return this.properties.onShow;this.properties.onShow=t},onHide:function(t){if(void 0===t)return this.properties.onHide;this.properties.onHide=t},focusTriggerOnClose:function(t){if(!t)return this.properties.focusTriggerOnClose;this.properties.focusTriggerOnClose=t}})}));AJS.namespace("AJS.Dropdown.OptionsDescriptor",null,require("jira/ajs/dropdown/dropdown-options-descriptor")); 1858}catch(e){WRMCB(e)}; 1859; 1860try { 1861/* module-key = 'jira.webresources:dropdown', location = '/includes/ajs/dropdown/Dropdown.js' */ 1862define("jira/ajs/dropdown/dropdown",["jira/ajs/control","jira/ajs/layer/inline-layer","jira/ajs/layer/layer-constants","jira/ajs/layer/layer-interactions","jira/ajs/layer/hide-reasons","jira/ajs/dropdown/dropdown-constants","jira/ajs/dropdown/dropdown-list-item","jira/ajs/dropdown/dropdown-options-descriptor","underscore","jquery"],(function(t,e,i,r,o,n,s,l,a,h){"use strict";var g=t.extend({CLASS_SIGNATURE:"AJS_DROPDOWN",_createFocusHandler:function(t){t.css({outline:0}).attr("tabindex",-1);return function(e){if("Tab"===e.key){var i=t.find(":focusable");if(i.length){var r=i[0],o=i[i.length-1];if(document.activeElement===r&&e.shiftKey){o.focus();e.preventDefault()}else if(document.activeElement===o&&!e.shiftKey){r.focus();e.preventDefault()}}else e.preventDefault()}}},init:function(t){var i,r,o,n,a=this;this.options=t instanceof l?t:new l(t);i=this.options.content();r=this.options.trigger();o=this._ensureIdOf(r);(n=this.options.allProperties()).offsetTarget||(n.offsetTarget=n.trigger);n.id||(n.id=o+"_drop");n.appendToTrigger||(n.appendToTrigger=this.options.appendDropdownToTrigger());this.layerController=new e(n);this.layerController._validateClickToClose=function(t){return t.target!==this.offsetTarget()[0]&&(t.target!==this.layer()[0]&&!(this.offsetTarget().has(t.target).length>0))};this.listController=this.options.listController();this.listController.bind("change:activeItem",(function(t,e){e.$element.find("a").focus()}));this.layerController.onhide((function(){a.hide()}));this.layerController.onerror((function(){h.isFunction(a.options.properties.onerror)&&a.options.properties.onerror(a)}));this.layerController.contentChange((function(){a.listController.removeAllItems();var t=a.layerController.layer().find("div > ul[role=menu] > li > ul[role=group] > li:visible:has(a)");t.length||(t=a.layerController.layer().find("div > ul > li:visible:has(a)"));t.each((function(){a.listController.addItem(new s({element:this,autoScroll:a.options.autoScroll()}))}));a.options.focusFirstItem()?a.listController.shiftFocus(0):a.listController.prepareForInput()}));this.trigger(r);this.content(i);this._applyIdToLayer()},show:function(){this.trigger().addClass(i.ACTIVE_CLASS);h(this).trigger("showLayer");this.layerController.show();if(this.content()){this._handleTabPress=this._createFocusHandler(this.content());this.content().bind("keydown",this._handleTabPress)}if(this.options.focusFirstItem())this.listController.shiftFocus(0);else{this.listController.prepareForInput();this.content()&&this.content().focus()}var t=this.options.onShow();"function"==typeof t&&t.call(this)},hide:function(){h(this).trigger("hideLayer");this.trigger().removeClass(i.ACTIVE_CLASS);this.layerController.hide();this.content()&&this.content().unbind("keydown",this._handleTabPress);this.listController.trigger("blur");this.options.focusTriggerOnClose()&&this.trigger().focus();var t=this.options.onHide();"function"==typeof t&&t.call(this)},toggle:function(){if(!this._toggling){this._toggling=!0;if(this.layerController.isVisible()){this.hide();this.options.focusTriggerOnClose()&&this.trigger().focus()}else this.show();setTimeout(function(){this._toggling=!1}.bind(this),0)}},content:function(t){if(!t)return this.layerController.content();this.options.content()&&this._unassignEvents("content",this.options.content());this._assignEvents("content",this.options.content());this.layerController.content(t)},trigger:function(t){if(!t)return this.options.trigger();this.options.trigger()&&this._unassignEvents("trigger",this.options.trigger());this.options.trigger(h(t));this.layerController.offsetTarget()||this.layerController.offsetTarget(this.options.trigger());this._assignEvents("trigger",this.options.trigger())},_ensureIdOf:function(t){var e=t.attr("id");a.isEmpty(e)&&(e=t.attr("id",a.uniqueId(this.CLASS_SIGNATURE+"__")));return e},_applyIdToLayer:function(){var t=this._ensureIdOf(this.trigger()),i=this.layerController.layer().attr("id")||t+"_drop";this.layerController.layer().attr({id:i,"aria-hidden":!0});this.trigger().attr({"aria-controls":i,"aria-haspopup":!0,"aria-expanded":!1});this.layerController.bind(e.EVENTS.show,function(){this.trigger().attr("aria-expanded",!0)}.bind(this));
1862this.layerController.bind(e.EVENTS.hide,function(t,e,i){this.trigger().attr("aria-expanded",!1);this.trigger().one("beforeBlurInput",(function(t){t.preventDefault()}));i===o.escPressed&&this.trigger().focus()}.bind(this))},_events:{trigger:{"aui:keydown":function(t){if("Return"===t.key||"Spacebar"===t.key){t.preventDefault();this.toggle()}if("Down"===t.key&&!this.layerController.isVisible()){t.preventDefault();this.show()}},click:function(t){t.preventDefault();this.options.stopTriggerClickPropagation()&&t.stopPropagation();this.toggle()}},content:{keydown:function(t){if("Escape"===t.key&&this.options.stopEscapePropagation()){t.stopPropagation();this.hide();this.trigger().focus()}}}}});h.extend(g,n);r.preventDialogHide(g);r.hideBeforeDialogShown(g);return g}));AJS.namespace("AJS.DropDown",null,require("jira/ajs/dropdown/dropdown"));AJS.namespace("AJS.Dropdown",null,require("jira/ajs/dropdown/dropdown")); 1863}catch(e){WRMCB(e)}; 1864; 1865try { 1866/* module-key = 'jira.webresources:dropdown', location = '/includes/jira/dropdown/Dropdown.js' */ 1867define("jira/dropdown",["require"],(function(i){"use strict";var o=i("jira/util/top-same-origin-window")(window),n=i("jira/ajs/layer/layer-interactions"),e=i("jquery"),t=i("jira/util/key-code"),d=[];var r={current:null,addInstance:function(){d.push(this)},hideInstances:function(){var i=this;e(d).each((function(){i!==this&&this.hideDropdown()}))},getHash:function(){this.hash||(this.hash={container:this.dropdown,hide:this.hideDropdown,show:this.displayDropdown});return this.hash},displayDropdown:function(){if(this.current!==this){this.hideInstances();this.current=this;this.dropdown.css({display:"block"});this.displayed=!0;var i=this.dropdown;(function(){try{return Boolean(o.require("jira/dialog/dialog").current)}catch(i){}return!1})()||setTimeout((function(){var o=e(window),n=i.offset().top+i.prop("offsetHeight")-o.height()+10;o.scrollTop()<n&&e("html,body").animate({scrollTop:n},300,"linear")}),100)}},hideDropdown:function(){if(!1!==this.displayed){this.current=null;this.dropdown.css({display:"none"});this.displayed=!1}},init:function(i,o){var n=this;this.addInstance(this);this.dropdown=e(o);this.dropdown.css({display:"none"});e(document).keydown((function(i){i.keyCode===t.TAB&&n.hideDropdown()}));if(i.target)e.aop.before(i,(function(){n.displayed||n.displayDropdown()}));else{n.dropdown.css("top",e(i).outerHeight()+"px");i.click((function(i){if(n.displayed)n.hideDropdown();else{n.displayDropdown();i.stopPropagation()}i.preventDefault()}))}e(document.body).click((function(){n.displayed&&n.hideDropdown()}))}};n.preventDialogHide(r);n.hideBeforeDialogShown(r);return r}));AJS.namespace("JIRA.Dropdown",null,require("jira/dropdown"));AJS.namespace("jira.widget.dropdown",null,require("jira/dropdown")); 1868}catch(e){WRMCB(e)}; 1869; 1870try { 1871/* module-key = 'jira.webresources:dropdown', location = '/includes/jira/dropdown/AutoComplete.js' */ 1872define("jira/dropdown/auto-complete",["require"],(function(o){"use strict";var i=o("jira/util/objects"),n=o("jquery"),t=o("jira/dropdown");return function(o,e){var d=i.begetObject(t);d.init=function(o,i){this.addInstance(this);this.dropdown=n(i).click((function(o){o.stopPropagation()}));this.dropdown.css({display:"none"});o.target?n.aop.before(o,(function(){d.displayed||d.displayDropdown()})):o.click((function(o){if(!d.displayed){d.displayDropdown();o.stopPropagation()}}));n(document.body).click((function(o){"advanced-search"!==o.target.id&&d.displayed&&d.hideDropdown()}))};d.init(o,e);return d}}));AJS.namespace("JIRA.Dropdown.AutoComplete",null,require("jira/dropdown/auto-complete")); 1873}catch(e){WRMCB(e)}; 1874; 1875try { 1876/* module-key = 'jira.webresources:dropdown', location = '/includes/jira/dropdown/Standard.js' */ 1877define("jira/dropdown/standard",["jira/dropdown","jira/util/objects"],(function(r,n){"use strict";return function(d,t){var a=n.begetObject(r);a.init(d,t);return a}}));AJS.namespace("JIRA.Dropdown.Standard",null,require("jira/dropdown/standard")); 1878}catch(e){WRMCB(e)}; 1879; 1880try { 1881/* module-key = 'jira.webresources:dropdown', location = '/includes/ajs/dropdown/Dropdown.create.js' */ 1882define("jira/ajs/dropdown/dropdown-factory",["jira/ajs/dropdown/dropdown","jira/util/objects","jquery"],(function(e,t,r){"use strict";return{createDropdown:function(n){var o=[];if(n.content&&!n.trigger){n.content=r(n.content);r.each(n.content,(function(){var c=t.copyObject(n);c.content=r(this);o.push(new e(c))}))}else if(!n.content&&n.trigger){n.trigger=r(n.trigger);r.each(n.trigger,(function(){var c=t.copyObject(n);c.trigger=r(this);o.push(new e(c))}))}else if(n.content&&n.trigger){n.content=r(n.content);n.trigger=r(n.trigger);if(n.content.length!==n.trigger.length)throw new Error("Dropdown.create: Expected the same number of content elements as trigger elements");n.trigger.each((function(c){var i=t.copyObject(n);i.trigger=r(this);i.content=n.content.eq(c);o.push(new e(i))}))}return o}}}));AJS.namespace("AJS.Dropdown.create",null,require("jira/ajs/dropdown/dropdown-factory").createDropdown); 1883}catch(e){WRMCB(e)}; 1884; 1885try { 1886/* module-key = 'jira.webresources:dropdown', location = '/includes/jira/dropdown/containDropdown.js' */ 1887define("jira/dropdown/contain-dropdown",["jquery","exports"],(function(o,n){"use strict";function e(o,n){o.$.css({height:n});"scroll"!==o.$.css("overflowY")&&o.$.css({width:15+o.$.prop("scrollWidth"),overflowY:"scroll",overflowX:"hidden"})}function r(o){o.$.css({height:"",width:"",overflowY:"",overflowX:""})}(n=function(n,t,i){var s,c,d,l=25;if(-1!==n.$.parents(t).length){s=o(t);c=n.$.offset().top-o(t).offset().top;l=30;(d=s.outerHeight()-c-l)<=parseInt(n.$.prop("scrollHeight"),10)?e(n,d):i&&r(n);n.reset()}}).containHeight=e;n.releaseContainment=r}));AJS.namespace("AJS.containDropdown",null,require("jira/dropdown/contain-dropdown"));AJS.namespace("JIRA.containDropdown",null,require("jira/dropdown/contain-dropdown")); 1888}catch(e){WRMCB(e)}; 1889; 1890try { 1891/* module-key = 'jira.webresources:dropdown', location = '/includes/jquery/plugins/linkedmenu/linkedMenu.js' */ 1892!function(e){e.deactivateLinkedMenu=function(){};e.linkedMenuInstances=[];e.fn.linkedMenu=function(n){var o,u,i=this,s=!1,t=function(n){n=e(n);i.blur();n.trigger("click","focus","mousedown")},c=function(e){var n;
1892if(37===e.keyCode||39===e.keyCode||27===e.keyCode){if(37===e.keyCode){n=o-1;if(o-1>=0)r(i[n])&&t(i[o=n]);else{n=i.length-1;r(i[n])&&t(i[o=n])}}else 39===e.keyCode?(n=o+1)<i.length?r(i[n])&&t(i[o=n]):r(i[n=0])&&t(i[o=n]):i.disableLinkedMenu(e);e.preventDefault()}},r=function(e){if(e!==i[o])return!0},d=function(){if(r(this)){o=e.inArray(this,i);t(this)}},l=function(){var u=e.inArray(this,e(n.reflectFocus));r(i[u])&&t(i[o=u])};i.disableLinkedMenu=function(o){e(document).unbind("keypress",c);e(document).unbind("keydown",c);i.unbind("mouseover",d);e(document).unbind("mousedown",arguments.callee);n.reflectFocus&&e(n.reflectFocus).unbind("mouseover",l);u&&u();i.blur();delete e.currentLinkedMenu;window.setTimeout((function(){s=!1}),200)};t=(n=n||{}).focusElement||t;i.click((function(){var t,r;if(!s){e.currentLinkedMenu=i;if(n.onFocusRemoveClass){t=e(n.onFocusRemoveClass);if((r=n.onFocusRemoveClass.match(/\.([a-z]*)$/))&&r[1]&&t.length>0){e(n.onFocusRemoveClass).removeClass(r[1]);u=function(){e(t).addClass(r[1])}}}s=!0;o=e.inArray(this,i);i.mouseover(d);e.browser.mozilla?e(document).keypress(c):e(document).keydown(c);e(document).mousedown(i.disableLinkedMenu);n.reflectFocus&&e(n.reflectFocus).mouseover(l)}}));return i}}(jQuery); 1893}catch(e){WRMCB(e)}; 1894; 1895try { 1896/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--2a44ce3699', location = 'aui.chunk.b22a3cfa1fefedc9322d--685a0e66401e7fb2844c.js' */ 1897(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9100],{3309:(i,u,n)=>{var t,e,o;!function(a){"use strict";e=[n(4440)],void 0===(o="function"==typeof(t=function(i){return i.ui=i.ui||{},i.ui.version="1.13.3"})?t.apply(u,e):t)||(i.exports=o)}()}}]); 1898}catch(e){WRMCB(e)}; 1899; 1900try { 1901/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--e6639db5ee', location = 'aui.chunk.40d9cac9e70a5743d779--bed67c9397ac99529008.js' */ 1902(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6140],{1891:(E,u,i)=>{var n,e,t; 1903/*! 1904 * jQuery UI Keycode 1.13.3 1905 * https://jqueryui.com 1906 * 1907 * Copyright OpenJS Foundation and other contributors 1908 * Released under the MIT license. 1909 * https://jquery.org/license 1910 */!function(o){"use strict";e=[i(4440),i(3309)],void 0===(t="function"==typeof(n=function(E){return E.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?n.apply(u,e):n)||(E.exports=t)}()}}]); 1911}catch(e){WRMCB(e)}; 1912; 1913try { 1914/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.keycode', location = 'aui.chunk.6d27a8badbc102f7bf0b--1c8f557807b6e794adce.js' */ 1915"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1191],{465:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(1891);const i="jquery"}},u=>{u.O(0,[9100,6140,4496],(()=>{return a=465,u(u.s=a);var a}));u.O()}]); 1916}catch(e){WRMCB(e)}; 1917; 1918try { 1919/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--6f40529244', location = 'aui.chunk.004c39a772a295beed61--5e850880a6e664c48735.js' */ 1920(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8710],{3857:(e,i,t)=>{var s,a,n; 1921/*! 1922 * jQuery UI Focusable 1.13.3 1923 * https://jqueryui.com 1924 * 1925 * Copyright OpenJS Foundation and other contributors 1926 * Released under the MIT license. 1927 * https://jquery.org/license 1928 */!function(u){"use strict";a=[t(4440),t(3309)],void 0===(n="function"==typeof(s=function(e){function i(e){for(var i=e.css("visibility");"inherit"===i;)i=(e=e.parent()).css("visibility");return"visible"===i}return e.ui.focusable=function(t,s){var a,n,u,o,r,l=t.nodeName.toLowerCase();return"area"===l?(n=(a=t.parentNode).name,!(!t.href||!n||"map"!==a.nodeName.toLowerCase())&&((u=e("img[usemap='#"+n+"']")).length>0&&u.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(o=!t.disabled)&&(r=e(t).closest("fieldset")[0])&&(o=!r.disabled):o="a"===l&&t.href||s,o&&e(t).is(":visible")&&i(e(t)))},e.extend(e.expr.pseudos,{focusable:function(i){return e.ui.focusable(i,null!=e.attr(i,"tabindex"))}}),e.ui.focusable})?s.apply(i,a):s)||(e.exports=n)}()}}]); 1929}catch(e){WRMCB(e)}; 1930; 1931try { 1932/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.focusable', location = 'aui.chunk.daa72407a2f1b61c31b6--7fc6aa963c07ba045dc3.js' */ 1933"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2369],{1087:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(3857);const i="jquery"}},u=>{u.O(0,[9100,8710,4496],(()=>{return a=1087,u(u.s=a);var a}));u.O()}]); 1934}catch(e){WRMCB(e)}; 1935; 1936try { 1937/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--be0ceb5b96', location = 'aui.chunk.7d254cf4ee15fe66d14e--b265772a5082745ce34f.js' */ 1938(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[496],{5606:(u,n,t)=>{var e,a,i; 1939/*! 1940 * jQuery UI Tabbable 1.13.3 1941 * https://jqueryui.com 1942 * 1943 * Copyright OpenJS Foundation and other contributors 1944 * Released under the MIT license. 1945 * https://jquery.org/license 1946 */!function(o){"use strict";a=[t(4440),t(3309),t(3857)],void 0===(i="function"==typeof(e=function(u){return u.extend(u.expr.pseudos,{tabbable:function(n){var t=u.attr(n,"tabindex"),e=null!=t;return(!e||t>=0)&&u.ui.focusable(n,e)}})})?e.apply(n,a):e)||(u.exports=i)}()}}]); 1947}catch(e){WRMCB(e)}; 1948; 1949try { 1950/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.tabbable', location = 'aui.chunk.234389a07e0bbf7fcc69--29afe9fe0759ecb88a39.js' */ 1951"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9078],{2864:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(5606);const i="jquery"}},u=>{u.O(0,[9100,8710,496,4496],(()=>{return a=2864,u(u.s=a);var a}));u.O()}]); 1952}catch(e){WRMCB(e)}; 1953; 1954try { 1955/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--45b9bd6d27', location = 'aui.chunk.3638cc38a84752e800c4--26056d499354923279b2.js' */ 1956(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5273],{4745:(e,t,n)=>{var u,a,r; 1957/*! 1958 * jQuery UI :data 1.13.3 1959 * https://jqueryui.com 1960 * 1961 * Copyright OpenJS Foundation and other contributors 1962 * Released under the MIT license. 1963 * https://jquery.org/license 1964 */!function(i){"use strict";a=[n(4440),n(3309)],void 0===(r="function"==typeof(u=function(e){return e.extend(e.expr.pseudos,{data:e.expr.createPseudo?e.expr.createPseudo((function(t){return function(n){return!!e.data(n,t)}})):function(t,n,u){return!!e.data(t,u[3])}})})?u.apply(t,a):u)||(e.exports=r)}()}}]); 1965}catch(e){WRMCB(e)}; 1966; 1967try { 1968/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.data', location = 'aui.chunk.3d6e7743eb9c2f4eac01--7cbec70de1ea8a56aa82.js' */ 1969"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5795],{727:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(4745);const i="jquery"}},u=>{u.O(0,[9100,5273,4496],(()=>{return a=727,u(u.s=a);var a}));u.O()}]); 1970}catch(e){WRMCB(e)}; 1971; 1972try { 1973/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--e78b1959c2', location = 'aui.chunk.a3c001e543e464f1b91e--6dbe5e9461a08c4df35a.js' */ 1974(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9675],{9041:(t,o,s)=>{var n,e,i; 1975/*! 1976 * jQuery UI Scroll Parent 1.13.3 1977 * https://jqueryui.com 1978 * 1979 * Copyright OpenJS Foundation and other contributors 1980 * Released under the MIT license. 1981 * https://jquery.org/license 1982 */!function(r){"use strict";e=[s(4440),s(3309)],void 0===(i="function"==typeof(n=function(t){return t.fn.scrollParent=function(o){var s=this.css("position"),n="absolute"===s,e=o?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter((function(){var o=t(this);return(!n||"static"!==o.css("position"))&&e.test(o.css("overflow")+o.css("overflow-y")+o.css("overflow-x"))})).eq(0);return"fixed"!==s&&i.length?i:t(this[0].ownerDocument||document)}})?n.apply(o,e):n)||(t.exports=i)}()}}]); 1983}catch(e){WRMCB(e)}; 1984; 1985try { 1986/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.scroll-parent', location = 'aui.chunk.4479ff3806788015fa87--a78f69911871ee6b19a7.js' */ 1987"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5269],{3043:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(9041);const i="jquery"}},u=>{u.O(0,[9100,9675,4496],(()=>{return a=3043,u(u.s=a);var a}));u.O()}]); 1988}catch(e){WRMCB(e)}; 1989; 1990try { 1991/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--919950bf68', location = 'aui.chunk.78169cbbea98093cedfa--55953919ef223e14f770.js' */ 1992(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5947],{9229:(t,e,i)=>{var s,n,o; 1993/*! 1994 * jQuery UI Widget 1.13.3 1995 * https://jqueryui.com 1996 * 1997 * Copyright OpenJS Foundation and other contributors 1998 * Released under the MIT license. 1999 * https://jquery.org/license 2000 */!function(a){"use strict";n=[i(4440),i(3309)],s=function(t){var e=0,i=Array.prototype.hasOwnProperty,s=Array.prototype.slice;return t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)(s=t._data(n,"events"))&&s.remove&&t(n).triggerHandler("remove");e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0],u=l+"-"+(e=e.split(".")[1]);return s||(s=i,i=t.Widget),Array.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr.pseudos[u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),(a=new i).options=t.widget.extend({},a.options),t.each(s,(function(t,e){r[t]="function"==typeof e?function(){function s(){return i.prototype[t].apply(this,arguments)}function n(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,o=this._superApply;return this._super=s,this._superApply=n,t=e.apply(this,arguments),this._super=i,this._superApply=o,t}}():e})),o.prototype=t.widget.extend(a,{widgetEventPrefix:n&&a.widgetEventPrefix||e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:u}),n?(t.each(n._childConstructors,(function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)})),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o}
vendor: 4,428 bytes, line 2000
2000,t.widget.extend=function(e){for(var n,o,a=s.call(arguments,1),r=0,l=a.length;r<l;r++)for(n in a[r])o=a[r][n],i.call(a[r],n)&&void 0!==o&&(t.isPlainObject(o)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],o):t.widget.extend({},o):e[n]=o);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each((function(){var i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?"function"!=typeof s[o]||"_"===o.charAt(0)?t.error("no such method '"+o+"' for "+e+" widget instance"):(i=s[o].apply(s,r))!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")})):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each((function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))}))),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,(function(t,i){e._removeClass(i,t)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;o<s.length-1;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var i=[],s=this;function n(){var i=[];e.element.each((function(e,n){t.map(s.classesElementLookup,(function(t){return t})).some((function(t){return t.is(n)}))||i.push(n)})),s._on(t(i),{remove:"_untrackClassesElement"})}function o(o,a){var r,l;for(l=0;l<o.length;l++)r=s.classesElementLookup[o[l]]||t(),e.add?(n(),r=t(t.uniqueSort(r.get().concat(e.element.get())))):r=t(r.not(e.element).get()),s.classesElementLookup[o[l]]=r,i.push(o[l]),a&&e.classes[o[l]]&&i.push(e.classes[o[l]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&o(e.keys.match(/\S+/g)||[],!0),e.extra&&o(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,(function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})),this._off(t(e.target))}
2000,_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,(function(s,a){function r(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,h=l[2];h?n.on(u,h,r):i.on(u,r)}))},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!("function"==typeof a&&!1===a.apply(this.element[0],[i].concat(s))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},(function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){var a;"string"==typeof n&&(n={effect:n});var r=n?!0===n||"number"==typeof n?i:n.effect||i:e;"number"==typeof(n=n||{})?n={duration:n}:!0===n&&(n={}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue((function(i){t(this)[e](),o&&o.call(s[0]),i()}))}})),t.widget},void 0===(o="function"==typeof s?s.apply(e,n):s)||(t.exports=o)}()}}]); 2001}catch(e){WRMCB(e)}; 2002; 2003try { 2004/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.widget', location = 'aui.chunk.e18c3b39f42735148ad7--ad5b897e6d578aad44ef.js' */ 2005"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6459],{283:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(9229);const i="jquery"}},u=>{u.O(0,[9100,5947,4496],(()=>{return a=283,u(u.s=a);var a}));u.O()}]); 2006}catch(e){WRMCB(e)}; 2007; 2008try { 2009/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--ddc81f48ae', location = 'aui.chunk.7492e8d4608faf15291f--7ce24c88e075e1d9fa29.js' */ 2010(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2832],{672:function(e){ 2011/*! @license DOMPurify 2.5.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.7/LICENSE */ 2012e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a},r.apply(null,arguments)}function o(e){return a(e)||i(e)||l(e)||u()}function a(e){if(Array.isArray(e))return c(e)}function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s=Object.hasOwnProperty,m=Object.setPrototypeOf,f=Object.isFrozen,p=Object.getPrototypeOf,d=Object.getOwnPropertyDescriptor,h=Object.freeze,g=Object.seal,y=Object.create,b="undefined"!=typeof Reflect&&Reflect,T=b.apply,v=b.construct;T||(T=function(e,t,n){return e.apply(t,n)}),h||(h=function(e){return e}),g||(g=function(e){return e}),v||(v=function(e,t){return r(e,o(t))});var N=R(Array.prototype.forEach),E=R(Array.prototype.pop),A=R(Array.prototype.push),_=R(String.prototype.toLowerCase),S=R(String.prototype.toString),w=R(String.prototype.match),k=R(String.prototype.replace),x=R(String.prototype.indexOf),O=
vendor: 6,894 bytes, line 2012
2012R(String.prototype.trim),C=R(RegExp.prototype.test),L=D(TypeError);function R(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return T(e,t,r)}}function D(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(e,n)}}function M(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:_,m&&m(e,null);for(var o=t.length;o--;){var a=t[o];if("string"==typeof a){var i=n(a);i!==a&&(f(t)||(t[o]=i),a=i)}e[a]=!0}return e}function I(e){var t,n=y(null);for(t in e)!0===T(s,e,[t])&&(n[t]=e[t]);return n}function F(e,t){for(;null!==e;){var n=d(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var U=h(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),H=h(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),z=h(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=h(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),B=h(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),j=h(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),G=h(["#text"]),W=h(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),q=h(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Y=h(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
2012subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$=h(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=g(/<%[\w\W]*|[\w\W]*%>/gm),X=g(/\${[\w\W]*}/gm),Z=g(/^data-[\-\w.\u00B7-\uFFFF]/),J=g(/^aria-[\-\w]+$/),Q=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=g(/^(?:\w+script|data):/i),te=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ne=g(/^html$/i),re=g(/^[a-z][.\w]*(-[.\w]+)+$/i),oe=function(){return"undefined"==typeof window?null:window},ae=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe(),n=function(e){return ie(e)};if(n.version="2.5.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,a=t.document,i=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,u=t.Element,s=t.NodeFilter,m=t.NamedNodeMap,f=void 0===m?t.NamedNodeMap||t.MozNamedAttrMap:m,p=t.HTMLFormElement,d=t.DOMParser,g=t.trustedTypes,y=u.prototype,b=F(y,"cloneNode"),T=F(y,"nextSibling"),v=F(y,"childNodes"),R=F(y,"parentNode");if("function"==typeof l){var D=a.createElement("template");D.content&&D.content.ownerDocument&&(a=D.content.ownerDocument)}var le=ae(g,r),ce=le?le.createHTML(""):"",ue=a,se=ue.implementation,me=ue.createNodeIterator,fe=ue.createDocumentFragment,pe=ue.getElementsByTagName,de=r.importNode,he={};try{he=I(a).documentMode?a.documentMode:{}}catch(e){}var ge={};n.isSupported="function"==typeof R&&se&&void 0!==se.createHTMLDocument&&9!==he;var ye,be,Te=K,ve=V,Ne=X,Ee=Z,Ae=J,_e=ee,Se=te,we=re,ke=Q,xe=null,Oe=M({},[].concat(o(U),o(H),o(z),o(B),o(G))),Ce=null,Le=M({},[].concat(o(W),o(q),o(Y),o($))),Re=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),De=null,Me=null,Ie=!0,Fe=!0,Ue=!1,He=!0,ze=!1,Pe=!0,Be=!1,je=!1,Ge=!1,We=!1,qe=!1,Ye=!1,$e=!0,Ke=!1,Ve="user-content-",Xe=!0,Ze=!1,Je={},Qe=null,et=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tt=null,nt=M({},["audio","video","img","source","image","track"]),rt=null,ot=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),at="http://www.w3.org/1998/Math/MathML",it="http://www.w3.org/2000/svg",lt="http://www.w3.org/1999/xhtml",ct=lt,ut=!1,st=null,mt=M({},[at,it,lt],S),ft=["application/xhtml+xml","text/html"],pt="text/html",dt=null,ht=a.createElement("form"),gt=function(e){return e instanceof RegExp||e instanceof Function},yt=function(t){dt&&dt===t||(t&&"object"===e(t)||(t={}),t=I(t),ye=ye=-1===ft.indexOf(t.PARSER_MEDIA_TYPE)?pt:t.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===ye?S:_,xe="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,be):Oe,Ce="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,be):Le,st="ALLOWED_NAMESPACES"in t?M({},t.ALLOWED_NAMESPACES,S):mt,rt="ADD_URI_SAFE_ATTR"in t?M(I(ot),t.ADD_URI_SAFE_ATTR,be):ot,tt="ADD_DATA_URI_TAGS"in t?M(I(nt),t.ADD_DATA_URI_TAGS,be):nt,Qe="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,be):et,De="FORBID_TAGS"in t?M({},t.FORBID_TAGS,be):{},Me="FORBID_ATTR"in t?M({},t.FORBID_ATTR,be):{},Je="USE_PROFILES"in t&&t.USE_PROFILES,Ie=!1!==t.ALLOW_ARIA_ATTR,Fe=!1!==t.ALLOW_DATA_ATTR,Ue=t.ALLOW_UNKNOWN_PROTOCOLS||!1,He=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ze=t.SAFE_FOR_TEMPLATES||!1,Pe=!1!==t.SAFE_FOR_XML,Be=t.WHOLE_DOCUMENT||!1,We=t.RETURN_DOM||!1,qe=t.RETURN_DOM_FRAGMENT||!1,Ye=t.RETURN_TRUSTED_TYPE||!1,Ge=t.FORCE_BODY||!1,$e=!1!==t.SANITIZE_DOM,Ke=t.SANITIZE_NAMED_PROPS||!1,Xe=!1!==t.KEEP_CONTENT,Ze=t.IN_PLACE||!1,ke=t.ALLOWED_URI_REGEXP||ke,ct=t.NAMESPACE||lt,Re=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&>(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Re.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&>(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Re.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Re.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&(Fe=!1),qe&&(We=!0),Je&&(xe=M({},o(G)),Ce=[],!0===Je.html&&(M(xe,U),M(Ce,W)),!0===Je.svg&&(M(xe,H),M(Ce,q),M(Ce,$)),!0===Je.svgFilters&&
vendor: 4,619 bytes, line 2012
2012(M(xe,z),M(Ce,q),M(Ce,$)),!0===Je.mathMl&&(M(xe,B),M(Ce,Y),M(Ce,$))),t.ADD_TAGS&&(xe===Oe&&(xe=I(xe)),M(xe,t.ADD_TAGS,be)),t.ADD_ATTR&&(Ce===Le&&(Ce=I(Ce)),M(Ce,t.ADD_ATTR,be)),t.ADD_URI_SAFE_ATTR&&M(rt,t.ADD_URI_SAFE_ATTR,be),t.FORBID_CONTENTS&&(Qe===et&&(Qe=I(Qe)),M(Qe,t.FORBID_CONTENTS,be)),Xe&&(xe["#text"]=!0),Be&&M(xe,["html","head","body"]),xe.table&&(M(xe,["tbody"]),delete De.tbody),h&&h(t),dt=t)},bt=M({},["mi","mo","mn","ms","mtext"]),Tt=M({},["annotation-xml"]),vt=M({},["title","style","font","a","script"]),Nt=M({},H);M(Nt,z),M(Nt,P);var Et=M({},B);M(Et,j);var At=function(e){var t=R(e);t&&t.tagName||(t={namespaceURI:ct,tagName:"template"});var n=_(e.tagName),r=_(t.tagName);return!!st[e.namespaceURI]&&(e.namespaceURI===it?t.namespaceURI===lt?"svg"===n:t.namespaceURI===at?"svg"===n&&("annotation-xml"===r||bt[r]):Boolean(Nt[n]):e.namespaceURI===at?t.namespaceURI===lt?"math"===n:t.namespaceURI===it?"math"===n&&Tt[r]:Boolean(Et[n]):e.namespaceURI===lt?!(t.namespaceURI===it&&!Tt[r])&&!(t.namespaceURI===at&&!bt[r])&&!Et[n]&&(vt[n]||!Nt[n]):!("application/xhtml+xml"!==ye||!st[e.namespaceURI]))},_t=function(e){A(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ce}catch(t){e.remove()}}},St=function(e,t){try{A(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){A(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ce[e])if(We||qe)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},wt=function(e){var t,n;if(Ge)e="<remove></remove>"+e;else{var r=w(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ye&&ct===lt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=le?le.createHTML(e):e;if(ct===lt)try{t=(new d).parseFromString(o,ye)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(ct,"template",null);try{t.documentElement.innerHTML=ut?ce:o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),ct===lt?pe.call(t,Be?"html":"body")[0]:Be?t.documentElement:i},kt=function(e){return me.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null,!1)},xt=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof f)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ot=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ct=function(e,t,r){ge[e]&&N(ge[e],(function(e){e.call(n,t,r,dt)}))},Lt=function(e){var t;if(Ct("beforeSanitizeElements",e,null),xt(e))return _t(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return _t(e),!0;var r=be(e.nodeName);if(Ct("uponSanitizeElement",e,{tagName:r,allowedTags:xe}),e.hasChildNodes()&&!Ot(e.firstElementChild)&&(!Ot(e.content)||!Ot(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return _t(e),!0;if("select"===r&&C(/<template/i,e.innerHTML))return _t(e),!0;if(7===e.nodeType)return _t(e),!0;if(Pe&&8===e.nodeType&&C(/<[/\w]/g,e.data))return _t(e),!0;if(!xe[r]||De[r]){if(!De[r]&&Dt(r)){if(Re.tagNameCheck instanceof RegExp&&C(Re.tagNameCheck,r))return!1;if(Re.tagNameCheck instanceof Function&&Re.tagNameCheck(r))return!1}if(Xe&&!Qe[r]){var o=R(e)||e.parentNode,a=v(e)||e.childNodes;if(a&&o)for(var i=a.length-1;i>=0;--i){var l=b(a[i],!0);l.__removalCount=(e.__removalCount||0)+1,o.insertBefore(l,T(e))}}return _t(e),!0}return e instanceof u&&!At(e)?(_t(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!C(/<\/no(script|embed|frames)/i,e.innerHTML)?(ze&&3===e.nodeType&&(t=e.textContent,t=k(t,Te," "),t=k(t,ve," "),t=k(t,Ne," "),e.textContent!==t&&(A(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ct("afterSanitizeElements",e,null),!1):(_t(e),!0)},Rt=function(e,t,n){if($e&&("id"===t||"name"===t)&&(n in a||n in ht))return!1;if(Fe&&!Me[t]&&C(Ee,t));else if(Ie&&C(Ae,t));else if(!Ce[t]||Me[t]){if(!(Dt(e)&&(Re.tagNameCheck instanceof RegExp&&C(Re.tagNameCheck,e)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(e))&&(Re.attributeNameCheck instanceof RegExp&&C(Re.attributeNameCheck,t)||Re.attributeNameCheck instanceof Function&&Re.attributeNameCheck(t))||"is"===t&&Re.allowCustomizedBuiltInElements&&(Re.tagNameCheck instanceof RegExp&&C(Re.tagNameCheck,n)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(n))))return!1}else if(rt[t]);else if(C(ke,k(n,Se,"")));
2012else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==x(n,"data:")||!tt[e])if(Ue&&!C(_e,k(n,Se,"")));else if(n)return!1;return!0},Dt=function(e){return"annotation-xml"!==e&&w(e,we)},Mt=function(t){var r,o,a,i;Ct("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ce};for(i=l.length;i--;){var u=r=l[i],s=u.name,m=u.namespaceURI;if(o="value"===s?r.value:O(r.value),a=be(s),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Ct("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(St(s,t),c.keepAttr))if(He||!C(/\/>/i,o)){ze&&(o=k(o,Te," "),o=k(o,ve," "),o=k(o,Ne," "));var f=be(t.nodeName);if(Rt(f,a,o))if(!Ke||"id"!==a&&"name"!==a||(St(s,t),o=Ve+o),Pe&&C(/((--!?|])>)|<\/(style|title)/i,o))St(s,t);else{if(le&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(m);else switch(g.getAttributeType(f,a)){case"TrustedHTML":o=le.createHTML(o);break;case"TrustedScriptURL":o=le.createScriptURL(o)}try{m?t.setAttributeNS(m,s,o):t.setAttribute(s,o),xt(t)?_t(t):E(n.removed)}catch(e){}}}else St(s,t)}Ct("afterSanitizeAttributes",t,null)}},It=function e(t){var n,r=kt(t);for(Ct("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ct("uponSanitizeShadowNode",n,null),Lt(n)||(n.content instanceof i&&e(n.content),Mt(n));Ct("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var a,l,u,s,m,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ut=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!Ot(o)){if("function"!=typeof o.toString)throw L("toString is not a function");if("string"!=typeof(o=o.toString()))throw L("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(Ot(o))return t.toStaticHTML(o.outerHTML)}return o}if(je||yt(f),n.removed=[],"string"==typeof o&&(Ze=!1),Ze){if(o.nodeName){var p=be(o.nodeName);if(!xe[p]||De[p])throw L("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(l=(a=wt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?a=l:a.appendChild(l);else{if(!We&&!ze&&!Be&&-1===o.indexOf("<"))return le&&Ye?le.createHTML(o):o;if(!(a=wt(o)))return We?null:Ye?ce:""}a&&Ge&&_t(a.firstChild);for(var d=kt(Ze?o:a);u=d.nextNode();)3===u.nodeType&&u===s||Lt(u)||(u.content instanceof i&&It(u.content),Mt(u),s=u);if(s=null,Ze)return o;if(We){if(qe)for(m=fe.call(a.ownerDocument);a.firstChild;)m.appendChild(a.firstChild);else m=a;return(Ce.shadowroot||Ce.shadowrootmod)&&(m=de.call(r,m,!0)),m}var h=Be?a.outerHTML:a.innerHTML;return Be&&xe["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&C(ne,a.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+h),ze&&(h=k(h,Te," "),h=k(h,ve," "),h=k(h,Ne," ")),le&&Ye?le.createHTML(h):h},n.setConfig=function(e){yt(e),je=!0},n.clearConfig=function(){dt=null,je=!1},n.isValidAttribute=function(e,t,n){dt||yt({});var r=be(e),o=be(t);return Rt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ge[e]=ge[e]||[],A(ge[e],t))},n.removeHook=function(e){if(ge[e])return E(ge[e])},n.removeHooks=function(e){ge[e]&&(ge[e]=[])},n.removeAllHooks=function(){ge={}},n}return ie()}()}}]); 2013}catch(e){WRMCB(e)}; 2014; 2015try { 2016/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ddc81f48ae', location = 'aui.chunk.d9e0dfa9e6754c9187f5--8eb7607145c8cd871533.js' */ 2017"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[381],{8054:(t,e,i)=>{i.r(e),i.d(e,{default:()=>w});var o=i(6311),s=i(261),n=i(672),r=i.n(n);const l="aui-tooltip",a={n:"bottom",ne:"bottom-end",e:"left",se:"top-end",s:"top",sw:"top-start",w:"right",nw:"bottom-start"},h="aui-tooltip",p={gravity:"n",html:!1,live:!1,enabled:!0,suppress:()=>!1,aria:!0,sanitize:!0,maxWidth:200};let d;const u=(t=!1)=>{const e=d&&d.get(0);e&&(e.classList.toggle("hidden",t),e.setAttribute("aria-hidden",t))};class c{constructor(t,e){this.triggerElement=t,this.$triggerElement=(0,o.default)(this.triggerElement),this.options={...p,...e},this.enabled=this.options.enabled,this.moveTitleToTooltip(),this.initContainer(),this.observeTriggerRemoval()}destroy(){this.unbindHandlers(),this.hide(),g.delete(this.triggerElement)}moveTitleToTooltip(){const t=this,e=this.$triggerElement;e.attr("title",(function(i,o){return t.originalTitle=o,t.options.aria&&e.attr("aria-describedby",l),null}))}observeTriggerRemoval(){const t=[];this.options.$delegationRoot&&this.options.$delegationRoot.get(0)&&t.push(this.options.$delegationRoot.get(0)),this.triggerElement&&t.push(this.triggerElement),this.triggerObservers=t.map((t=>{const e=t.parentElement;if(e){const i=new MutationObserver((()=>{!e.contains(t)&&this.destroy()}));return i.observe(e,{childList:!0,subtree:!1}),i}})).filter((t=>!!t))}unbindHandlers(){const t=this.options.live;this.options.$delegationRoot&&t?this.options.$delegationRoot.off(`.${h}`,t):(this.triggerObservers.length>
20170&&this.triggerObservers.forEach((t=>t.disconnect())),this.$triggerElement.off(`.${h}`))}initContainer(){(void 0===d||d.get(0)&&!d.get(0).isConnected)&&(d=(0,o.default)(`<div id="${l}" class="aui-tooltip hidden" role="tooltip" aria-hidden="true"><p class="aui-tooltip-content"></p></div>`),(0,o.default)(document.body).append(d))}buildTip(t){const e=this.options,i=d.find(".aui-tooltip-content");return e.html?(e.sanitize&&(t=r().sanitize(t)),i.html(t)):i.text(t),e.maxWidth&&i.css("max-width",e.maxWidth+"px"),d}getTipTitle(){const t=this.options;let e=("function"==typeof t.title?t.title:"string"==typeof t.title?()=>t.title:()=>this.originalTitle||"").call(this.triggerElement);return e&&e.trim().length?e:void 0}show(){const t=this.getTipTitle();if(!1===this.enabled||!t)return;d&&t!==d.text()&&this.hide();const e=this.triggerElement,i=a[this.options.gravity];if("function"==typeof this.options.suppress&&!0===this.options.suppress.call(e))return;const n=this.buildTip(t).get(0);this.showTooltip(),this.popperInstance=(0,s.createPopper)(e,n,{placement:i,modifiers:[{name:"offset",options:{offset:[0,4]}}]}),(0,o.default)(window).on(`scroll.${h}`,(()=>this.hide()))}hide(){this.hideTooltip(),this.popperInstance&&(this.popperInstance.destroy(),delete this.popperInstance),(0,o.default)(window).off(`scroll.${h}`)}showTooltip(){u(!1)}hideTooltip(){u(!0)}enable(){this.enabled=!0}disable(){this.hide(),this.enabled=!1}}const g=new WeakMap,f=(t,e)=>{let i=g.get(t);return void 0===i&&(i=new c(t,e),"object"==typeof t&&g.set(t,i)),i},m=t=>t.map((t=>`${t}.${h}`)).join(" "),b=m(["mouseenter","focus"]),v=m(["click","mouseleave","blur"]);let T,$;o.default.fn.tooltip=function(t){const e=this;if(!0===t){const t=e.get(0);return f(t)}if("string"==typeof t){const i=e.tooltip(!0),o=t;if("function"!=typeof i[o])throw new Error(`Method ${o} does not exist on tooltip.`);return i[o](),e}const i=t||{},o=function(){clearTimeout($),clearTimeout(T)},s=function(){o();const t=f(this,i);T=setTimeout((()=>{o(),t.show(),d&&(d.off(`mouseenter.${h}`),d.off(`mouseleave.${h}`),d.on(`mouseenter.${h}`,(()=>{o()})),d.on(`mouseleave.${h}`,(()=>{o(),n()})))}),300)},n=function(){o();const t=f(this,i);$=setTimeout((()=>{t.hide()}),300)},r=function(t){"Escape"===t.code&&n()},l=i.live;return void 0!==l?(i.$delegationRoot=e,e.on(b,l,s),e.on(v,l,n),e.on("keyup",l,r)):(e.on(b,s),e.on(v,n),e.on("keyup",r)),e};const w=o.default}}]); 2018}catch(e){WRMCB(e)}; 2019; 2020try { 2021/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.fc7962e097', location = 'aui.chunk.20c0c1cbbc55a9943e31--beb21c7e72781e7cece9.js' */ 2022"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1589],{4997:(u,i,a)=>{a.r(i);a(8054)}}]); 2023}catch(e){WRMCB(e)}; 2024; 2025try { 2026/* module-key = 'com.atlassian.auiplugin:split_aui.component.tooltip', location = 'aui.chunk.0b657a97a85f61d808db--8f3498b8f3ce1f566402.js' */ 2027"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[3662],{},u=>{u.O(0,[1221,2832,4496,1263,5366,2178,381,1589],(()=>{return a=4997,u(u.s=a);var a}));u.O()}]); 2028}catch(e){WRMCB(e)}; 2029; 2030try { 2031/* module-key = 'com.atlassian.plugins.issue-status-plugin:issue-status-resources', location = 'templates/status.soy' */ 2032// This file was automatically generated from status.soy. 2033// Please don't edit this file by hand. 2034 2035/** 2036 * @fileoverview Templates in namespace JIRA.Template.Util.Issue.Status. 2037 */ 2038 2039if (typeof JIRA == 'undefined') { var JIRA = {}; } 2040if (typeof JIRA.Template == 'undefined') { JIRA.Template = {}; } 2041if (typeof JIRA.Template.Util == 'undefined') { JIRA.Template.Util = {}; } 2042if (typeof JIRA.Template.Util.Issue == 'undefined') { JIRA.Template.Util.Issue = {}; } 2043if (typeof JIRA.Template.Util.Issue.Status == 'undefined') { JIRA.Template.Util.Issue.Status = {}; } 2044 2045 2046JIRA.Template.Util.Issue.Status.issueStatusResolver = function(opt_data, opt_ignored) { 2047 return '' + ((! opt_data.issueStatus) ? '<span class="aui-icon aui-icon-small aui-iconfont-help jira-issue-status-render-error" title="' + soy.$$escapeHtml('No issue status information was provided') + '"></span>' : (opt_data.issueStatus.statusCategory) ? JIRA.Template.Util.Issue.Status.issueStatus(opt_data) : JIRA.Template.Util.Issue.Status.iconStatus({name: opt_data.issueStatus.name, iconUrl: opt_data.issueStatus.iconUrl, description: opt_data.issueStatus.description, isCompact: opt_data.isCompact})); 2048}; 2049if (goog.DEBUG) { 2050 JIRA.Template.Util.Issue.Status.issueStatusResolver.soyTemplateName = 'JIRA.Template.Util.Issue.Status.issueStatusResolver'; 2051} 2052 2053 2054JIRA.Template.Util.Issue.Status.iconStatus = function(opt_data, opt_ignored) { 2055 return '<img src="' + soy.$$escapeHtml(opt_data.iconUrl) + '" width="16" height="16" alt="' + soy.$$escapeHtml(opt_data.name) + '" title="' + soy.$$escapeHtml(opt_data.name) + ((opt_data.description) ? ' - ' + soy.$$escapeHtml(opt_data.description) : '') + '" class="jira-issue-status-icon">' + ((! opt_data.isCompact) ? ' ' + soy.$$escapeHtml(opt_data.name) : ''); 2056}; 2057if (goog.DEBUG) { 2058 JIRA.Template.Util.Issue.Status.iconStatus.soyTemplateName = 'JIRA.Template.Util.Issue.Status.iconStatus'; 2059} 2060 2061 2062JIRA.Template.Util.Issue.Status.issueStatus = function(opt_data, opt_ignored) { 2063 return '' + JIRA.Template.Util.Issue.Status.statusLozenge({name: opt_data.issueStatus.name, categoryKey: opt_data.issueStatus.statusCategory.key, colorName: opt_data.issueStatus.statusCategory.colorName, description: opt_data.issueStatus.description, isSubtle: opt_data.isSubtle, isCompact: opt_data.isCompact, maxWidth: opt_data.maxWidth}); 2064}; 2065if (goog.DEBUG) { 2066 JIRA.Template.Util.Issue.Status.issueStatus.soyTemplateName = 'JIRA.Template.Util.Issue.Status.issueStatus'; 2067} 2068 2069 2070JIRA.Template.Util.Issue.Status.statusLozenge = function(opt_data, opt_ignored) { 2071 var output = ''; 2072 var maxWidth__soy46 = opt_data.maxWidth ? opt_data.maxWidth : 'medium'; 2073 var tooltipContent__soy47 = '<span class="jira-issue-status-tooltip-title">' + soy.$$escapeHtml(opt_data.name) + '</span>' + ((opt_data.description) ? '<br><span class="jira-issue-status-tooltip-desc">' + soy.$$escapeHtml(opt_data.description) + '</span>' : ''); 2074 output += '<span class=" jira-issue-status-lozenge aui-lozenge ' + JIRA.Template.Util.Issue.Status.statusLozengeClasses(opt_data) + ((opt_data.isSubtle && ! opt_data.isCompact) ? ' aui-lozenge-subtle' : '') + ((opt_data.isCompact) ? ' jira-issue-status-lozenge-compact' : '') + ' jira-issue-status-lozenge-max-width-' + soy.$$escapeHtml(maxWidth__soy46) + '" data-tooltip="' + soy.$$escapeHtml(tooltipContent__soy47) + '" title="' + soy.$$escapeHtml(tooltipContent__soy47) + '" tabindex="0">' + soy.$$escapeHtml(opt_data.name) + '</span>'; 2075 return output; 2076}; 2077if (goog.DEBUG) { 2078 JIRA.Template.Util.Issue.Status.statusLozenge.soyTemplateName = 'JIRA.Template.Util.Issue.Status.statusLozenge'; 2079} 2080 2081 2082JIRA.Template.Util.Issue.Status.statusLozengeClasses = function(opt_data, opt_ignored) { 2083 return 'jira-issue-status-lozenge-' + soy.$$escapeHtml(opt_data.colorName ? opt_data.colorName : 'medium-gray') + ' ' + ((opt_data.categoryKey) ? 'jira-issue-status-lozenge-' + soy.$$escapeHtml(opt_data.categoryKey) : ''); 2084}; 2085if (goog.DEBUG) { 2086 JIRA.Template.Util.Issue.Status.statusLozengeClasses.soyTemplateName = 'JIRA.Template.Util.Issue.Status.statusLozengeClasses'; 2087} 2088 2089}catch(e){WRMCB(e)}; 2090; 2091try { 2092/* module-key = 'com.atlassian.plugins.issue-status-plugin:issue-status-resources', location = '/js/issue-status-plugin.js' */ 2093AJS.$(function(){AJS.$.fn.tooltip&&(AJS.$.fn.tooltip&&AJS.$.fn.tooltip.autoWE?AJS.$(".jira-issue-status-lozenge[data-tooltip]").tooltip({aria:!0,gravity:AJS.$.fn.tipsy.autoWE,delayIn:100,html:!0,live:!0,title:"data-tooltip",className:"jira-issue-status-tooltip"}):AJS.$(document).tooltip({gravity:"e",html:!0,live:".jira-issue-status-lozenge[data-tooltip]"}))}); 2094}catch(e){WRMCB(e)}; 2095; 2096try { 2097/* module-key = 'jira.webresources:issue-table', location = '/includes/jira/dropdown/issueActionsDropdown.soy' */ 2098// This file was automatically generated from issueActionsDropdown.soy. 2099// Please don't edit this file by hand. 2100 2101/** 2102 * @fileoverview Templates in namespace JIRA.Templates.Dropdowns. 2103 */ 2104 2105if (typeof JIRA == 'undefined') { var JIRA = {}; } 2106if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 2107if (typeof JIRA.Templates.Dropdowns == 'undefined') { JIRA.Templates.Dropdowns = {}; } 2108 2109 2110JIRA.Templates.Dropdowns.issueActionsDropdown = function(opt_data, opt_ignored) { 2111 var output = '<div class="aui-list"><ul class="aui-list-section"><li class="aui-list-item">
2111<a class="aui-list-item-link issue-link" data-issue-key="' + soy.$$escapeHtml(opt_data.key) + '" href="' + soy.$$escapeHtml("/jira") + '/browse/' + soy.$$escapeHtml(opt_data.key) + '" >' + soy.$$escapeHtml(opt_data.viewIssue) + '</a></li></ul>'; 2112 var hasActions__soy12 = opt_data.actions && opt_data.actions.length > 0; 2113 var hasOperations__soy13 = opt_data.operations && opt_data.operations.length > 0; 2114 if (hasActions__soy12) { 2115 output += '<ul class="aui-list-section' + ((! hasOperations__soy13) ? ' aui-last' : '') + '">'; 2116 var actionList21 = opt_data.actions; 2117 var actionListLen21 = actionList21.length; 2118 for (var actionIndex21 = 0; actionIndex21 < actionListLen21; actionIndex21++) { 2119 var actionData21 = actionList21[actionIndex21]; 2120 output += '<li class="aui-list-item"><a href="' + soy.$$escapeHtml("/jira") + '/secure/WorkflowUIDispatcher.jspa?id=' + soy.$$escapeHtml(opt_data.id) + '&action=' + soy.$$escapeHtml(actionData21.action) + '&atl_token=' + soy.$$escapeHtml(opt_data.atlToken) + '&returnUrl=' + soy.$$escapeHtml(opt_data.returnUrl) + '" class="aui-list-item-link issueaction-workflow-transition" data-issueId="' + soy.$$escapeHtml(opt_data.id) + '" data-issueKey="' + soy.$$escapeHtml(opt_data.key) + '" >' + soy.$$escapeHtml(actionData21.name) + '</a></li>'; 2121 } 2122 output += '</ul>'; 2123 } 2124 if (hasOperations__soy13) { 2125 output += '<ul class="aui-list-section aui-last">'; 2126 var opList44 = opt_data.operations; 2127 var opListLen44 = opList44.length; 2128 for (var opIndex44 = 0; opIndex44 < opListLen44; opIndex44++) { 2129 var opData44 = opList44[opIndex44]; 2130 output += '<li class="aui-list-item"><a href="' + soy.$$escapeHtml(opData44.url) + '&returnUrl=' + soy.$$escapeHtml(opt_data.returnUrl) + '&atl_token=' + soy.$$escapeHtml(opt_data.atlToken) + '" class="aui-list-item-link ' + soy.$$escapeHtml(opData44.styleClass) + '" data-issueId="' + soy.$$escapeHtml(opt_data.id) + '" data-issueKey="' + soy.$$escapeHtml(opt_data.key) + '" >' + soy.$$escapeHtml(opData44.name) + '</a></li>'; 2131 } 2132 output += '</ul>'; 2133 } 2134 output += '</div>'; 2135 return output; 2136}; 2137if (goog.DEBUG) { 2138 JIRA.Templates.Dropdowns.issueActionsDropdown.soyTemplateName = 'JIRA.Templates.Dropdowns.issueActionsDropdown'; 2139} 2140 2141}catch(e){WRMCB(e)}; 2142; 2143try { 2144/* module-key = 'jira.webresources:issue-table', location = '/includes/jira/fragments/issueActionsFragment.js' */ 2145define("jira/fragments/issueActionsFragment",["require"],(function(e){"use strict";var n=e("jquery"),r=e("jira/util/top-same-origin-window")(window);return function(e){e.returnUrl=e.returnUrl||function(e){if(self!==top)return encodeURIComponent(r.location.href);var n=window.location.href,s=n;s=/selectedIssueId=[0-9]*/.test(n)?n.replace(/selectedIssueId=[0-9]*/g,"selectedIssueId="+e):(s=n.lastIndexOf("?")>=0?n+"&":n+"?")+"selectedIssueId="+e;return encodeURIComponent(s)}(e.id);return n(JIRA.Templates.Dropdowns.issueActionsDropdown(e))}}));AJS.namespace("JIRA.FRAGMENTS.issueActionsFragment",null,require("jira/fragments/issueActionsFragment")); 2146}catch(e){WRMCB(e)}; 2147; 2148try { 2149/* module-key = 'jira.webresources:issue-table', location = '/includes/jquery/plugins/dragtable/jquery.dragtable.js' */ 2150/*! THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. Modified lines are marked below, search "Atlassian" */ 2151/*! 2152* dragtable 2153* 2154* @Version 2.0.4 2155* 2156* Copyright (c) 2010, Andres Koetter [email protected] 2157* Dual licensed under the MIT (MIT-LICENSE.txt) 2158* and GPL (GPL-LICENSE.txt) licenses. 2159* 2160* Inspired by the the dragtable from Dan Vanderkam (danvk.org/dragtable/) 2161* Thanks to the jquery and jqueryui comitters 2162* 2163* Any comment, bug report, feature-request is welcome 2164* Feel free to contact me. 2165*/ 2166!function(e){e.widget("akottr.dragtable",{options:{revert:!0,dragHandle:".table-handle",maxMovingRows:40,excludeFooter:!1,onlyHeaderThreshold:100,dragaccept:null,persistState:null,restoreState:null,clickDelay:10,containment:"parent",cursor:"move",cursorAt:!1,distance:0,tolerance:"pointer",axis:"x",beforeStart:e.noop,beforeMoving:e.noop,beforeReorganize:e.noop,beforeStop:e.noop},originalTable:{el:null,selectedHandle:null,sortOrder:null,startIndex:0,endIndex:0},sortableTable:{el:e(),selectedHandle:e(),movingRow:e()},persistState:function(){var t=this;this.originalTable.el.find("th").each((function(e){""!=this.id&&(t.originalTable.sortOrder[this.id]=e)}));e.ajax({url:this.options.persistState,data:this.originalTable.sortOrder})},_restoreState:function(t){for(n in t){this.originalTable.startIndex=e("#"+n).closest("th").prevAll().size()+1;this.originalTable.endIndex=parseInt(t[n]+1);this._bubbleCols()}},_bubbleCols:function(){var e=this.originalTable.startIndex,t=this.originalTable.endIndex,i=this.originalTable.el.children();if(this.options.excludeFooter)i=i.not("tfoot");
2166if(e<t)for(var n=e;n<t;n++)for(var a=i.find("> tr > td:nth-child("+n+")").add(i.find("> tr > th:nth-child("+n+")")),s=i.find("> tr > td:nth-child("+(n+1)+")").add(i.find("> tr > th:nth-child("+(n+1)+")")),l=0;l<a.length;l++)o(a[l],s[l]);else for(n=e;n>t;n--)for(a=i.find("> tr > td:nth-child("+n+")").add(i.find("> tr > th:nth-child("+n+")")),s=i.find("> tr > td:nth-child("+(n-1)+")").add(i.find("> tr > th:nth-child("+(n-1)+")")),l=0;l<a.length;l++)o(a[l],s[l])},_rearrangeTableBackroundProcessing:function(){var n=this;return function(){n._bubbleCols();n.options.beforeStop(this.originalTable);n.sortableTable.el.remove();!function(){e("#__dragtable_disable_text_selection__").remove();t?e(document.body).attr("onselectstart",t):e(document.body).removeAttr("onselectstart");i?e(document.body).attr("unselectable",i):e(document.body).removeAttr("unselectable")}();null!==n.options.persistState&&(e.isFunction(n.options.persistState)?n.options.persistState(n.originalTable):n.persistState())}},_rearrangeTable:function(){var e=this;return function(){e.originalTable.selectedHandle.removeClass("dragtable-handle-selected");e.sortableTable.el.sortable("disable");e.sortableTable.el.addClass("dragtable-disabled");e.options.beforeReorganize(e.originalTable,e.sortableTable);e.originalTable.endIndex=e.sortableTable.movingRow.prevAll().size()+1;setTimeout(e._rearrangeTableBackroundProcessing(),50)}},_generateSortable:function(t){!t.cancelBubble&&(t.cancelBubble=!0);for(var i=this,n=this.originalTable.el[0].attributes,o="",a=0 2167/*! BEGIN Added by Atlassian */;a<n.length;a++)n[a].nodeValue&&"id"!=n[a].nodeName&&"width"!=n[a].nodeName&&(o+=n[a].nodeName+'="'+n[a].nodeValue+'" ');var s=[],l=[];this.originalTable.el.find("tr").slice(0,this.options.maxMovingRows).each((function(t,i){for(var n=this.attributes,o="",a=0;a<n.length;a++)n[a].nodeValue&&"id"!=n[a].nodeName&&(o+=" "+n[a].nodeName+'="'+n[a].nodeValue+'"');s.push(o);l.push(e(this).height())}));var r=[],d=0,h=i.originalTable.el.children();if(this.options.excludeFooter)h=h.not("tfoot");h.find("> tr > th").each((function(t,i){ 2168/*! BEGIN Modified by Atlassian */ 2169d+=e(this).outerWidth()+22; 2170/*! END Modified by Atlassian */r.push(e(this).width())}));var c='<ul class="dragtable-sortable" style="position:absolute; width:'+d+'px;">';h.find("> tr > th").each((function(t,n){c+="<li>"; 2171/*! BEGIN Modified by Atlassian */c+='<table class="issue-table" '+o+">"; 2172/*! END Modified by Atlassian */var a=h.find("> tr > th:nth-child("+(t+1)+")");i.options.maxMovingRows>1&&(a=a.add(h.find("> tr > td:nth-child("+(t+1)+")").slice(0,i.options.maxMovingRows-1)));a.each((function(t){var i=e(this).clone().wrap("<div></div>").parent().html();0===i.toLowerCase().indexOf("<th")&&(c+="<thead>") 2173/*! BEGIN Modified by Atlassian */;c+="<tr "+s[t]+' style="height:'+l[t]+'px;">'; 2174/*! END Modified by Atlassian */c+=i;0===i.toLowerCase().indexOf("<th")&&(c+="</thead>");c+="</tr>"}));c+="</table>";c+="</li>"}));c+="</ul>";this.sortableTable.el=this.originalTable.el.before(c).prev();this.sortableTable.el.find("th").each((function(t,i){var n=e(this);r[t]>n.width()&&n.css({width:r[t]+22})}));this.sortableTable.selectedHandle=this.sortableTable.el.find("th .dragtable-handle-selected");var b=this.options.dragaccept?"li:has("+this.options.dragaccept+")":"li";this.sortableTable.el.sortable({items:b,stop:this._rearrangeTable(),revert:this.options.revert,tolerance:this.options.tolerance,containment:this.options.containment,cursor:this.options.cursor,cursorAt:this.options.cursorAt,distance:this.options.distance,axis:this.options.axis});this.originalTable.startIndex=e(t.target).closest("th").prevAll().size()+1;this.options.beforeMoving(this.originalTable,this.sortableTable);this.sortableTable.movingRow=this.sortableTable.el.find("li:nth-child("+this.originalTable.startIndex+")");!function(){var t=e('<style id="__dragtable_disable_text_selection__" type="text/css">body { -ms-user-select:none;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;user-select:none; }</style>');e(document.head).append(t);e(document.body).attr("onselectstart","return false;").attr("unselectable","on");window.getSelection?window.getSelection().removeAllRanges():document.selection.empty()}();this.sortableTable.movingRow.trigger(e.extend(e.Event(t.type),{which:1,clientX:t.clientX,clientY:t.clientY,pageX:t.pageX,pageY:t.pageY,screenX:t.screenX,screenY:t.screenY}));this.sortableTable.el.find(".ui-sortable-placeholder").html('<div class="outer" style="height:100%;"><div class="inner" style="height:100%;"></div></div>')},bindTo:{},_create:function(){this.originalTable={el:this.element,selectedHandle:e(),sortOrder:{},startIndex:0,endIndex:0};this.bindTo=this.originalTable.el.find("th");this.options.dragaccept&&(this.bindTo=this.bindTo.filter(this.options.dragaccept));this.bindTo.find(this.options.dragHandle).size()>0&&(this.bindTo=this.bindTo.find(this.options.dragHandle));null!==this.options.restoreState&&(e.isFunction(this.options.restoreState)?this.options.restoreState(this.originalTable):this._restoreState(this.options.restoreState));var t=this;
2174this.bindTo.mousedown((function(i){clearTimeout(this.downTimer);this.downTimer=setTimeout((function(){t.originalTable.selectedHandle=e(this);t.originalTable.selectedHandle.addClass("dragtable-handle-selected");t.options.beforeStart(this.originalTable);t._generateSortable(i)}),t.options.clickDelay)})).mouseup((function(e){clearTimeout(this.downTimer)}))},destroy:function(){this.bindTo.unbind("mousedown");e.Widget.prototype.destroy.apply(this,arguments)}});var t=e(document.body).attr("onselectstart"),i=e(document.body).attr("unselectable");function o(e,t){var i=e.parentNode,n=e.nextSibling===t?e:e.nextSibling;t.parentNode.insertBefore(e,t);i.insertBefore(t,n)}}(jQuery); 2175}catch(e){WRMCB(e)}; 2176; 2177try { 2178/* module-key = 'jira.webresources:jira-analytics-amd', location = '/includes/jira/analytics.js' */ 2179define("jira/analytics",["underscore"],(function(e){"use strict";var n=function(){window.AJS||(window.AJS={});return window.AJS}();n.EventQueue=n.EventQueue||[];return{send:function(t){(t=t||{}).properties=e.extend({},t.data,t.properties);n.EventQueue.push(t);e.isFunction(AJS.trigger)&&AJS.trigger("jiraAnalyticsEvent",t)}}})); 2180}catch(e){WRMCB(e)}; 2181; 2182try { 2183/* module-key = 'jira.webresources:select-model', location = '/includes/ajs/select/SelectModel.js' */ 2184define("jira/ajs/select/select-model",["jira/ajs/control","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","jira/util/objects","jquery"],(function(e,t,i,n,s){"use strict";return e.extend({init:function(e){var t=this,i={};e&&(e instanceof s?i.element=e:e instanceof Element||"string"==typeof e?i.element=s(e):i=e);this._setOptions(i);this.$element=this.options.element.hide();this.type=this.$element.attr("multiple")?"multiple":"single";this.id=this.$element.attr("id")||this.$element.attr("name");"single"===this.type&&this.$element.attr("multiple","multiple");this.$element.bind("reset",(function(){t._parseDescriptors()}));this._parseDescriptors()},hasOptionByValue:function(e){return this.$element.find('option[value="'+e+'"]').length>0},getSelectedTexts:function(){for(var e=[],t=this.getDisplayableSelectedDescriptors(),i=0;i<t.length;i++)e.push(t[i].label());return e},putOption:function(e,t,i){var n;if(this.hasOptionByValue(e)){var r=this.getDescriptor(e);t||(t=r.label());n=r.model()}else{n=s("<option/>");this.$element.append(n)}i&&n.addClass("hidden");t&&n.text(t);n.attr("value",e);this._parseOption(n)},changeSelectionByValue:function(e){var t=this.getDescriptor(e);if(t){this.setSelected(t)||this.$element.trigger("change",t);return!0}return!1},_getFreeInputEl:function(){return this.$element.find(".free-input")},removeFreeInputVal:function(){this._getFreeInputEl().remove()},updateFreeInput:function(e){var t=this._getFreeInputEl();if(e=s.trim(e)){t.length||(t=s("<option class='free-input' />").appendTo(this.$element));t.attr({value:e,selected:"selected"})}else t.remove()},_getDefaultOptions:function(){return{}},getSelectedValues:function(){for(var e=[],t=this.getDisplayableSelectedDescriptors(),i=0;i<t.length;i++)e.push(t[i].value());return e},setSelected:function(e){var t=this,i=!1,n=!1,r=this.$element.find("option").not(this._getExclusions()).filter((function(){return this.value===e.value()}));if("single"===this.type){if(this.getValue()===e.value())return n;r=r.first();this.$element.find("option:selected").not(this._getExclusions()).each((function(e,i){var n=s(this).data("descriptor");r[0]!==i&&t.setUnSelected(n)}))}r.each((function(){var t=s(this);i=!0;n=!t.is(":selected");t.attr("selected","selected").data("descriptor").selected(!0);e.properties&&(e.properties.selected=!0)}));if(!i){e.selected(!0);e.removeOnUnSelect(!0);var l=this._render("option",e);l.attr("selected","selected");this.$element.append(l);n=!0}e.highlighted(!1);n&&this.$element.trigger("change",e);return n},setAllSelected:function(){var e=this;s(this.getDisplayableUnSelectedDescriptors()).each((function(){e.setSelected(this)}))},setAllUnSelected:function(){var e=this;s(this.getDisplayableSelectedDescriptors()).each((function(){e.setUnSelected(this)}))},setUnSelected:function(e){var t=this,i=e.value();this.$element.find("option:selected").not(this._getExclusions()).filter((function(){return s(this).attr("value")===i})).each((function(){var i=s(this);i.data("descriptor").selected(!1);e.properties&&(e.properties.selected=!1);t.options.removeOnUnSelect||i.data("descriptor").removeOnUnSelect()?i.remove():i.removeAttr("selected")}))},remove:function(e){e&&e.model()&&e.model().remove()},getDescriptor:function(e){var t;e=s.trim(e.toLowerCase());s.each(this.getAllDescriptors(!1),(function(i,n){if(e===s.trim(n.label().toLowerCase())||e===s.trim(n.value().toLowerCase())){t=n;return!1}}
2184));return t},_parseOption:function(e){var t,n,r,l;e=s(e);if(this.options.removeNullOptions&&this._hasNullValue(e)){e.remove();return null}n=e.attr("data-icon");r=e.attr("data-icon-type");l=e.attr("data-fallback-icon");t=new i({styleClass:e.prop("className"),value:e.val(),invalid:e.hasClass("invalid_sel"),fieldText:e.attr("data-field-text"),title:e.attr("title"),labelSuffix:e.attr("data-label-suffix"),meta:e.data("meta"),label:e.attr("data-field-label")||s.trim(e.text()),icon:n||e.css("backgroundImage").replace(/url\(['"]?(.*?)['"]?\)/,"$1"),iconType:r||void 0,fallbackIcon:l||"none",selected:e.prop("selected"),removeOnUnSelect:!!e.data("remove-on-unselect"),model:e});e.data("descriptor",t);return t},_hasNullValue:function(e){return e.val()<0},_parseDescriptors:function(){var e=this,i=this.$element.children();function n(t){var i=s("option",t),n=[];s.each(i,(function(){n.push(e._parseOption(this))}));return n}i.each((function(s){var r=i.eq(s);if(r.is("optgroup"))!function(e){var i={label:e.attr("label"),placement:e.attr("data-placement"),footerText:e.attr("data-footer-text"),styleClass:e.prop("className"),model:e,items:n(e)},s=e.data("weight");s&&(i.weight=+s);e.data("descriptor",new t(i))}(r);else if(r.is("option"))if(r.attr("data-placeholder")){e.placeholder=r.text();r.remove()}else e._parseOption(r)}))},getPlaceholder:function(){return this.placeholder},_getExclusions:function(){return".free-input"},getValue:function(){return"single"===this.type?this.$element.val()&&this.$element.val()[0]:this.$element.val()},getDisplayableSelectedDescriptors:function(){var e=[];this.$element.find("option:selected").not(this._getExclusions()).each((function(){e.push(s.data(this,"descriptor"))}));return e},getDisplayableUnSelectedDescriptors:function(){var e=[];this.$element.find("option").not(":selected").not(this._getExclusions()).each((function(){e.push(s.data(this,"descriptor"))}));return e},getAllDescriptors:function(e){var i,r=[];this.$element.children().each((function(){var l,a=s(this);if(a.is("option"))a.data("descriptor")&&r.push(a.data("descriptor"));else if(a.is("optgroup")){if(!1!==e){var o=a.data("descriptor");if(o){(i=n.copyObject(o.allProperties(),!1)).items=[];l=new t(i);r.push(l)}}a.children("option").each((function(){var t=s(this).data("descriptor");t&&(!1!==e?l.addItem(t):r.push(t))}))}}));return r},clearUnSelected:function(){this.$element.find("option:not(:selected)").not(this._getExclusions()).remove()},getUnSelectedDescriptors:function(){var e=this,i=[],r={},l={};function a(e){var t=e.value().toLowerCase();if(!(r[t]||l[t]&&!1===e.allowDuplicate())){l[t]=!0;return!0}return!1}var o=this.getDisplayableSelectedDescriptors();s.each(o,(function(e,t){r[t.value().toLowerCase()]=!0}));this.$element.children().each((function(){var r,l,o=s(this);if(o.is("option")&&!this.selected)a(r=s.data(this,"descriptor"))&&i.push(r);else if(o.is("optgroup")){(l=n.copyObject(o.data("descriptor").allProperties(),!1)).items=[];r=new t(l);i.push(r);o.find("option").not(e._getExclusions()).each((function(e){if(!e.selected){var t=s.data(this,"descriptor");a(t)&&r.addItem(t)}}))}}));return i},_renders:{option:function(e){var t=e.label(),i=e.fieldText()||t,n=new Option(i,e.value()),r=s(n),l=e.icon();n.title=e.title();i!=t&&r.data("field-label",t);e.selected()&&r.attr("selected","selected");s.data(n,"descriptor",e);e.model(r);l&&r.css("backgroundImage","url("+l+")");return r},optgroup:function(e){var t=s("<optgroup />").addClass(e.styleClass()).attr("label",e.label());e.model(t);t.data("descriptor",e);e.id()&&t.attr("id",e.id());return t}}})}));AJS.namespace("AJS.SelectModel",null,require("jira/ajs/select/select-model")); 2185}catch(e){WRMCB(e)}; 2186; 2187try { 2188/* module-key = 'jira.webresources:select-model', location = '/includes/ajs/select/SuggestionCollectionModel.js' */ 2189define("jira/ajs/select/suggestion-collection-model",["jira/ajs/control","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","jquery","underscore"],(function(e,t,s,i,r){"use strict";return e.extend({init:function(e){e.element?e.element=i(e.element):e.element=i(e);this._setOptions(e);this.$element=this.options.element.hide();this.type=this.$element.attr("data-multiple")?"multiple":"single";this.id=this.$element.attr("id")||this.$element.attr("name");this.$optionsContainer=this.$element.siblings("#"+this.id+"-options");this.selectedDescriptors=[];this.groupFilter=!1;this._parseDescriptors()},_getDefaultOptions:function(){return{}},_setValue:function(){var e=this.selectedDescriptors.map((function(e){return e.value()}));this.$element.val(e.join(","))},getSelectedValues:function(){for(var e=[],t=0;t<this.selectedDescriptors.length;t++)e.push(this.selectedDescriptors[t].value());return e},setSelected:function(e,t){t=void 0===t||t;e=this._descriptor(e);var s=r.filter(this.getAllDescriptors(!1),(function(t){return t.value()===e.value()}));if(0===s.length)return!1;if("single"===this.type){if(e.value()===this.getValue())return!0;this.setAllUnSelected();s=s.slice(0,1)}else s=r.filter(s,(function(e){return!0!==e.selected()}));Array.prototype.push.apply(this.selectedDescriptors,s);r.each(s,(function(e){e.selected(!0)}));this._setValue();e.highlighted(!1);t&&this.$element.trigger("change",e);return!0},setAllSelected:function(){var e=this;i(this.getDisplayableUnSelectedDescriptors()).each((function(){e.setSelected(this)}))},setAllUnSelected:function(){r.each(this.selectedDescriptors,(function(e){e.selected(!1)}));this.selectedDescriptors=[];this._setValue()},setUnSelected:function(e){e=this._descriptor(e);for(var t=0;t<this.selectedDescriptors.length;t++)if(this.selectedDescriptors[t].value()===e.value()){this.selectedDescriptors[t].selected(!1);this.selectedDescriptors.splice(t,1);t--}this._setValue()},remove:function(e){e=this._descriptor(e);for(var s=0;s<this.descriptors.length;s++)if(this.descriptors[s]instanceof t){for(var i=0;i<this.descriptors[s].items().length;
2189i++)if(this.descriptors[s].items()[i].value()===e.value()){this.descriptors[s].items().splice(i,1);i--}}else if(this.descriptors[s].value()===e.value()){this.descriptors.splice(s,1);s--}},getDescriptor:function(e){var t;e=i.trim(e.toLowerCase());i.each(this.getAllDescriptors(!1),(function(s,r){if(e===i.trim(r.label().toLowerCase())||e===i.trim(r.value().toLowerCase())){t=r;return!1}}));return t},_buildItemDescriptor:function(e){var t=new s(e);!0===t.selected()&&("single"===this.type&&this.selectedDescriptors.length>0?t.selected(!1):this.selectedDescriptors.push(t));return t},_parseDescriptors:function(){var e,s,i=this.$optionsContainer.data("suggestions")||[];this.descriptors=[];if("string"==typeof i)try{i=JSON.parse(i);this.$optionsContainer.data("suggestions",i)}catch(e){i=[]}for(var r=0;r<i.length;r++)if(void 0!==i[r].items){e=new t({label:i[r].label});s=i[r].items;for(var n=0;n<s.length;n++)e.addItem(this._buildItemDescriptor(s[n]));this.descriptors.push(e)}else this.descriptors.push(this._buildItemDescriptor(i[r]));this._setValue()},getPlaceholder:function(){return this.placeholder},getValue:function(){return this.$element.val()},getDisplayableSelectedDescriptors:function(){return this.selectedDescriptors.slice()},getDisplayableUnSelectedDescriptors:function(){return r.filter(this.getAllDescriptors(!1),function(e){return-1===this.selectedDescriptors.indexOf(e)}.bind(this))},getAllDescriptors:function(e){var s,i=[];if(!1!==this.groupFilter)for(s in this.descriptors)this.descriptors[s]instanceof t&&this.descriptors[s].label()===this.groupFilter&&(i=this.descriptors[s].items().slice());else if(!1===e)for(s in this.descriptors)this.descriptors[s]instanceof t?i=i.concat(this.descriptors[s].items()):this.descriptors.hasOwnProperty(s)&&i.push(this.descriptors[s]);else i=this.descriptors.slice();return i},clearUnSelected:function(){var e=this;this.descriptors=r.filter(this.descriptors,(function(s){if(s instanceof t){s.items(r.filter(s.items(),(function(t){return-1!==e.selectedDescriptors.indexOf(t)})));return!0}return-1!==e.selectedDescriptors.indexOf(s)}))},getUnSelectedDescriptors:function(){for(var e=this,s=[],i={},n={},l=function(e){var t=e.value().toLowerCase();if(n[t]&&(!i[t]||!1!==e.allowDuplicate()))return!1;i[t]=!0;return!0},o=0;o<this.selectedDescriptors.length;o++)n[this.selectedDescriptors[o].value().toLowerCase()]=!0;r.each(this.descriptors,(function(i){var n;if(i instanceof t)if(!1===e.groupFilter){(n=r.clone(i.allProperties())).items=r.filter(i.items(),l);s.push(new t(n))}else e.groupFilter===i.label()&&(s=s.concat(r.filter(i.items(),l)));else!1===e.groupFilter&&l(i)&&s.push(i)}));return s},setFilterGroup:function(e){for(var s=0;s<this.descriptors.length;s++)if(this.descriptors[s]instanceof t&&this.descriptors[s].label()===e){this.groupFilter=e;return!0}return!1},clearFilterGroup:function(){this.groupFilter=!1},_descriptor:function(e){"string"==typeof e&&(e=new s({value:e,label:e}));return e}})})); 2190}catch(e){WRMCB(e)}; 2191; 2192try { 2193/* module-key = 'jira.webresources:wrm-data', location = '/static/lib/amd-shims/wrm-data-amd.js' */ 2194define("wrm/data",(function(){"use strict";return window.WRM.data})); 2195}catch(e){WRMCB(e)}; 2196; 2197try { 2198/* module-key = 'jira.webresources:feature-flags', location = '/includes/js/featureflags/feature-manager.js' */ 2199define("jira/featureflags/feature-manager",["wrm/data","exports"],(function(a,e){"use strict";var r=a.claim("jira.core:feature-flags-data.feature-flag-data"),t=r&&r["feature-flag-states"]||{},f=r&&r["enabled-feature-keys"]||[];e.isFeatureEnabled=function(a){return t.hasOwnProperty(a)?t[a]:(e=a,-1!==f.indexOf(e));var e}})); 2200}catch(e){WRMCB(e)}; 2201; 2202try { 2203/* module-key = 'com.atlassian.auiplugin:soy', location = 'aui.soy' */ 2204// This file was automatically generated from aui.soy. 2205// Please don't edit this file by hand. 2206 2207/** 2208 * @fileoverview Templates in namespace aui. 2209 */ 2210 2211if (typeof aui == 'undefined') { var aui = {}; } 2212 2213 2214aui.renderExtraAttributes = function(opt_data, opt_ignored) { 2215 opt_data = opt_data || {}; 2216 var output = ''; 2217 if (opt_data.extraAttributes) { 2218 if (Object.prototype.toString.call(opt_data.extraAttributes) === '[object Object]') { 2219 var attrList7 = soy.$$getMapKeys(opt_data.extraAttributes); 2220 var attrListLen7 = attrList7.length; 2221 for (var attrIndex7 = 0; attrIndex7 < attrListLen7; attrIndex7++) { 2222 var attrData7 = attrList7[attrIndex7]; 2223 output += ' ' + soy.$$escapeHtml(attrData7) + '="' + soy.$$escapeHtml(opt_data.extraAttributes[attrData7]) + '"'; 2224 } 2225 } else { 2226 output += ' ' + soy.$$filterNoAutoescape(opt_data.extraAttributes); 2227 } 2228 } 2229 return output; 2230}; 2231if (goog.DEBUG) { 2232 aui.renderExtraAttributes.soyTemplateName = 'aui.renderExtraAttributes'; 2233} 2234 2235
2236aui.renderExtraClasses = function(opt_data, opt_ignored) { 2237 opt_data = opt_data || {}; 2238 var output = ''; 2239 if (opt_data.extraClasses) { 2240 if ((opt_data.extraClasses) instanceof Array) { 2241 var classList23 = opt_data.extraClasses; 2242 var classListLen23 = classList23.length; 2243 for (var classIndex23 = 0; classIndex23 < classListLen23; classIndex23++) { 2244 var classData23 = classList23[classIndex23]; 2245 output += ' ' + soy.$$escapeHtml(classData23); 2246 } 2247 } else { 2248 output += ' ' + soy.$$escapeHtml(opt_data.extraClasses); 2249 } 2250 } 2251 return output; 2252}; 2253if (goog.DEBUG) { 2254 aui.renderExtraClasses.soyTemplateName = 'aui.renderExtraClasses'; 2255} 2256 2257}catch(e){WRMCB(e)}; 2258; 2259try { 2260/* module-key = 'com.atlassian.auiplugin:soy', location = 'badges.soy' */ 2261// This file was automatically generated from badges.soy. 2262// Please don't edit this file by hand. 2263 2264/** 2265 * @fileoverview Templates in namespace aui.badges. 2266 */ 2267 2268if (typeof aui == 'undefined') { var aui = {}; } 2269if (typeof aui.badges == 'undefined') { aui.badges = {}; } 2270 2271 2272aui.badges.badge = function(opt_data, opt_ignored) { 2273 return '<aui-badge' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$escapeHtml(opt_data.text) + '</aui-badge>'; 2274}; 2275if (goog.DEBUG) { 2276 aui.badges.badge.soyTemplateName = 'aui.badges.badge'; 2277} 2278 2279}catch(e){WRMCB(e)}; 2280; 2281try { 2282/* module-key = 'com.atlassian.auiplugin:soy', location = 'buttons.soy' */ 2283// This file was automatically generated from buttons.soy. 2284// Please don't edit this file by hand. 2285 2286/** 2287 * @fileoverview Templates in namespace aui.buttons. 2288 */ 2289 2290if (typeof aui == 'undefined') { var aui = {}; } 2291if (typeof aui.buttons == 'undefined') { aui.buttons = {}; } 2292 2293 2294aui.buttons.button = function(opt_data, opt_ignored) { 2295 var output = ''; 2296 if (opt_data.href || opt_data.href == '') { 2297 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>'; 2298 } else if (opt_data.tagName == 'input') { 2299 output += '<input type="' + soy.$$escapeHtml(opt_data.inputType ? opt_data.inputType : 'button') + '" ' + aui.buttons.buttonAttributes(opt_data) + ' value="' + soy.$$escapeHtml(opt_data.text) + '" />'; 2300 } else { 2301 var theTagName__soy29 = opt_data.tagName ? opt_data.tagName : 'button'; 2302 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) + '>'; 2303 } 2304 return output; 2305}; 2306if (goog.DEBUG) { 2307 aui.buttons.button.soyTemplateName = 'aui.buttons.button'; 2308} 2309 2310 2311aui.buttons.buttons = function(opt_data, opt_ignored) { 2312 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>'; 2313}; 2314if (goog.DEBUG) { 2315 aui.buttons.buttons.soyTemplateName = 'aui.buttons.buttons'; 2316} 2317 2318 2319aui.buttons.buttonAttributes = function(opt_data, opt_ignored) { 2320 opt_data = opt_data || {}; 2321 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' : '') : ''); 2322 switch (opt_data.type) { 2323 case 'primary': 2324 output += ' aui-button-primary'; 2325 break; 2326 case 'link': 2327 output += ' aui-button-link'; 2328 break; 2329 case 'subtle': 2330 output += ' aui-button-subtle'; 2331 break; 2332 case 'text': 2333 output += ' aui-button-text'; 2334 break; 2335 }
2336 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' && ! opt_data.href) ? ' tabindex="0"' : '') + (((opt_data.tagName != 'button' || opt_data.tagName != 'input') && ! opt_data.href) ? ' role="button"' : ''); 2337 var label__soy115 = opt_data.extraAttributes ? opt_data.extraAttributes['aria-label'] : null; 2338 output += (opt_data.iconText && ! opt_data.text && ! label__soy115) ? ' aria-label="' + soy.$$escapeHtml(opt_data.iconText) + '"' : ''; 2339 return output; 2340}; 2341if (goog.DEBUG) { 2342 aui.buttons.buttonAttributes.soyTemplateName = 'aui.buttons.buttonAttributes'; 2343} 2344 2345 2346aui.buttons.buttonIcon = function(opt_data, opt_ignored) { 2347 opt_data = opt_data || {}; 2348 return '' + ((opt_data.iconType) ? '<span class="' + ((opt_data.iconType == 'aui') ? 'aui-icon' : '') + ((opt_data.iconClass) ? ' ' + soy.$$escapeHtml(opt_data.iconClass) : '') + '" aria-hidden="true" ></span>' : ''); 2349}; 2350if (goog.DEBUG) { 2351 aui.buttons.buttonIcon.soyTemplateName = 'aui.buttons.buttonIcon'; 2352} 2353 2354 2355aui.buttons.splitButton = function(opt_data, opt_ignored) { 2356 return '' + aui.buttons.button(soy.$$augmentMap(opt_data.splitButtonMain, {splitButtonType: 'main'})) + aui.buttons.button(soy.$$augmentMap(opt_data.splitButtonMore, {splitButtonType: 'more'})); 2357}; 2358if (goog.DEBUG) { 2359 aui.buttons.splitButton.soyTemplateName = 'aui.buttons.splitButton'; 2360} 2361 2362}catch(e){WRMCB(e)}; 2363; 2364try { 2365/* module-key = 'com.atlassian.auiplugin:soy', location = 'dialog2.soy' */ 2366// This file was automatically generated from dialog2.soy. 2367// Please don't edit this file by hand. 2368 2369/** 2370 * @fileoverview Templates in namespace aui.dialog. 2371 */ 2372 2373if (typeof aui == 'undefined') { var aui = {}; } 2374if (typeof aui.dialog == 'undefined') { aui.dialog = {}; } 2375 2376 2377aui.dialog.dialog2 = function(opt_data, opt_ignored) { 2378 var output = ''; 2379 var ariaId__soy3 = opt_data.id ? opt_data.id + '--dialog-title' : null; 2380 output += aui.dialog.dialog2Chrome({id: opt_data.id, titleId: ariaId__soy3, modal: opt_data.modal, tagName: opt_data.tagName, removeOnHide: opt_data.removeOnHide, visible: opt_data.visible, size: opt_data.size, describedBy: opt_data.describedBy, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: '' + aui.dialog.dialog2Content({id: opt_data.id ? opt_data.id : null, titleId: ariaId__soy3, 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})}); 2381 return output; 2382}; 2383if (goog.DEBUG) { 2384 aui.dialog.dialog2.soyTemplateName = 'aui.dialog.dialog2'; 2385} 2386 2387 2388aui.dialog.dialog2Chrome = function(opt_data, opt_ignored) { 2389 opt_data = opt_data || {}; 2390 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) + '" aria-modal="true"' + ((opt_data.describedBy) ? 'aria-describedby="' + soy.$$escapeHtml(opt_data.describedBy) + '"' : '') + ((opt_data.modal) ? 'data-aui-modal="true"' : '') + ((opt_data.removeOnHide) ? 'data-aui-remove-on-hide="true"' : '') + ((opt_data.visible == true) ? 'open' : '') + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + '>'; 2391}; 2392if (goog.DEBUG) { 2393 aui.dialog.dialog2Chrome.soyTemplateName = 'aui.dialog.dialog2Chrome'; 2394} 2395 2396 2397aui.dialog.dialog2Content = function(opt_data, opt_ignored) { 2398 opt_data = opt_data || {}; 2399 var output = ''; 2400 var defaultTitleId__soy69 = opt_data.id ? opt_data.id + '--title' : null; 2401 output += aui.dialog.dialog2Header({titleId: opt_data.titleId ? opt_data.titleId : defaultTitleId__soy69, titleText: opt_data.titleText, titleContent: opt_data.titleContent, actionContent: opt_data.headerActionContent, secondaryContent: opt_data.headerSecondaryContent, modal: opt_data.modal}) + aui.dialog.dialog2Panel({id: opt_data.id ? opt_data.id + '--panel' : null, content: opt_data.content}) + aui.dialog.dialog2Footer({id: opt_data.id ? opt_data.id + '--footer' : null, hintText: opt_data.footerHintText, hintContent: opt_data.footerHintContent, actionContent: opt_data.footerActionContent}); 2402 return output; 2403}; 2404if (goog.DEBUG) { 2405 aui.dialog.dialog2Content.soyTemplateName = 'aui.dialog.dialog2Content'; 2406} 2407 2408 2409aui.dialog.dialog2Header = function(opt_data, opt_ignored) { 2410 opt_data = opt_data || {}; 2411 return '<header' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dialog2-header' + aui.renderExtraClasse
2411s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><h1 ' + ((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) : '') + '</h1>' + ((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) ? '<button class="aui-close-button" type="button" aria-label="' + soy.$$escapeHtml('Close') + '"></button>' : '') + '</header>'; 2412}; 2413if (goog.DEBUG) { 2414 aui.dialog.dialog2Header.soyTemplateName = 'aui.dialog.dialog2Header'; 2415} 2416 2417 2418aui.dialog.dialog2Footer = function(opt_data, opt_ignored) { 2419 opt_data = opt_data || {}; 2420 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>'; 2421}; 2422if (goog.DEBUG) { 2423 aui.dialog.dialog2Footer.soyTemplateName = 'aui.dialog.dialog2Footer'; 2424} 2425 2426 2427aui.dialog.dialog2Panel = function(opt_data, opt_ignored) { 2428 opt_data = opt_data || {}; 2429 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>'; 2430}; 2431if (goog.DEBUG) { 2432 aui.dialog.dialog2Panel.soyTemplateName = 'aui.dialog.dialog2Panel'; 2433} 2434 2435}catch(e){WRMCB(e)}; 2436; 2437try { 2438/* module-key = 'com.atlassian.auiplugin:soy', location = 'dropdown2.soy' */ 2439// This file was automatically generated from dropdown2.soy. 2440// Please don't edit this file by hand. 2441 2442/** 2443 * @fileoverview Templates in namespace aui.dropdown2. 2444 */ 2445 2446if (typeof aui == 'undefined') { var aui = {}; } 2447if (typeof aui.dropdown2 == 'undefined') { aui.dropdown2 = {}; } 2448 2449 2450aui.dropdown2.dropdown2 = function(opt_data, opt_ignored) { 2451 return '' + aui.dropdown2.trigger(soy.$$augmentMap(opt_data.trigger, {menu: opt_data.menu})) + aui.dropdown2.contents(opt_data.menu); 2452}; 2453if (goog.DEBUG) { 2454 aui.dropdown2.dropdown2.soyTemplateName = 'aui.dropdown2.dropdown2'; 2455} 2456 2457 2458aui.dropdown2.trigger = function(opt_data, opt_ignored) { 2459 return '' + aui.trigger.trigger(soy.$$augmentMap(opt_data, {extraClasses: 'aui-dropdown2-trigger' + aui.renderExtraClasses(opt_data)})); 2460}; 2461if (goog.DEBUG) { 2462 aui.dropdown2.trigger.soyTemplateName = 'aui.dropdown2.trigger'; 2463} 2464 2465 2466aui.dropdown2.contents = function(opt_data, opt_ignored) { 2467 return '<div id="' + soy.$$escapeHtml(opt_data.id) + '" class="aui-dropdown2' + aui.renderExtraClasses(opt_data) + '" role="menu" hidden' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; 2468}; 2469if (goog.DEBUG) { 2470 aui.dropdown2.contents.soyTemplateName = 'aui.dropdown2.contents'; 2471} 2472 2473 2474aui.dropdown2.section = function(opt_data, opt_ignored) { 2475 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) ? '<span aria-hidden="true" class="aui-dropdown2-heading">' + soy.$$escapeHtml(opt_data.label) + '</span><div role="group" aria-label="' + soy.$$escapeHtml(opt_data.label) + '">' + soy.$$filterNoAutoescape(opt_data.content) + '</div>' : soy.$$filterNoAutoescape(opt_data.content)) + '</div>'; 2476}; 2477if (goog.DEBUG) { 2478 aui.dropdown2.section.soyTemplateName = 'aui.dropdown2.section'; 2479} 2480 2481 2482aui.dropdown2.itemGroup = function(opt_data, opt_ignored) { 2483 return '' + aui.dropdown2.section(soy.$$augmentMap(opt_data, {content: '' + aui.dropdown2.itemList(opt_data)})); 2484}; 2485if (goog.DEBUG) { 2486 aui.dropdown2.itemGroup.soyTemplateName = 'aui.dropdown2.itemGroup'; 2487} 2488 2489 2490aui.dropdown2.itemList = function(opt_data, opt_ignored) {
2491 var output = '<ul' + ((opt_data.isTruncated) ? ' class="aui-list-truncate"' : '') + ' role="none">'; 2492 var itemList60 = opt_data.items; 2493 var itemListLen60 = itemList60.length; 2494 for (var itemIndex60 = 0; itemIndex60 < itemListLen60; itemIndex60++) { 2495 var itemData60 = itemList60[itemIndex60]; 2496 output += '<li ' + ((itemData60.isHidden) ? ' hidden' : '') + ' role="none">'; 2497 switch (itemData60.itemType) { 2498 case 'checkbox': 2499 output += aui.dropdown2.menuCheckbox(itemData60); 2500 break; 2501 case 'radio': 2502 output += aui.dropdown2.menuRadio(itemData60); 2503 break; 2504 default: 2505 output += aui.dropdown2.menuLink(itemData60); 2506 } 2507 output += '</li>'; 2508 } 2509 output += '</ul>'; 2510 return output; 2511}; 2512if (goog.DEBUG) { 2513 aui.dropdown2.itemList.soyTemplateName = 'aui.dropdown2.itemList'; 2514} 2515 2516 2517aui.dropdown2.menuLink = function(opt_data, opt_ignored) { 2518 return '<a role="menuitem" tabindex="-1" class="' + aui.renderExtraClasses(opt_data) + ((opt_data.submenuTarget) ? ' aui-dropdown2-sub-trigger' : '') + ((opt_data.isDisabled) ? ' aui-dropdown2-disabled' : '') + '"' + ((opt_data.href) ? ' href="' + soy.$$escapeHtml(opt_data.href) + '"' : '') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.isDisabled) ? ' aria-disabled="' + soy.$$escapeHtml(opt_data.isDisabled) + '"' : '') + ((opt_data.submenuTarget) ? ' aria-controls="' + soy.$$escapeHtml(opt_data.submenuTarget) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$escapeHtml(opt_data.text) + '</a>'; 2519}; 2520if (goog.DEBUG) { 2521 aui.dropdown2.menuLink.soyTemplateName = 'aui.dropdown2.menuLink'; 2522} 2523 2524 2525aui.dropdown2.menuCheckbox = function(opt_data, opt_ignored) { 2526 return '<span role="menuitemcheckbox" tabindex="-1" class="aui-dropdown2-checkbox' + ((opt_data.isInteractive) ? ' aui-dropdown2-interactive' : '') + ((opt_data.isDisabled) ? ' aui-dropdown2-disabled' : '') + ((opt_data.isChecked) ? ' aui-dropdown2-checked' : '') + aui.renderExtraClasses(opt_data) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.isChecked) ? ' aria-checked="' + soy.$$escapeHtml(opt_data.isChecked) + '"' : ' aria-checked="false"') + ((opt_data.isDisabled) ? ' aria-disabled="' + soy.$$escapeHtml(opt_data.isDisabled) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$escapeHtml(opt_data.text) + '</span>'; 2527}; 2528if (goog.DEBUG) { 2529 aui.dropdown2.menuCheckbox.soyTemplateName = 'aui.dropdown2.menuCheckbox'; 2530} 2531 2532 2533aui.dropdown2.menuRadio = function(opt_data, opt_ignored) { 2534 return '<span role="menuitemradio" tabindex="-1" class="aui-dropdown2-radio' + ((opt_data.isInteractive) ? ' aui-dropdown2-interactive' : '') + ((opt_data.isDisabled) ? ' aui-dropdown2-disabled' : '') + ((opt_data.isChecked) ? ' aui-dropdown2-checked' : '') + aui.renderExtraClasses(opt_data) + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.isChecked) ? ' aria-checked="' + soy.$$escapeHtml(opt_data.isChecked) + '"' : ' aria-checked="false"') + ((opt_data.isDisabled) ? ' aria-disabled="' + soy.$$escapeHtml(opt_data.isDisabled) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$escapeHtml(opt_data.text) + '</span>'; 2535}; 2536if (goog.DEBUG) { 2537 aui.dropdown2.menuRadio.soyTemplateName = 'aui.dropdown2.menuRadio'; 2538} 2539 2540}catch(e){WRMCB(e)}; 2541; 2542try { 2543/* module-key = 'com.atlassian.auiplugin:soy', location = 'form.soy' */ 2544// This file was automatically generated from form.soy. 2545// Please don't edit this file by hand. 2546 2547/** 2548 * @fileoverview Templates in namespace aui.form. 2549 */ 2550 2551if (typeof aui == 'undefined') { var aui = {}; } 2552if (typeof aui.form == 'undefined') { aui.form = {}; } 2553 2554 2555aui.form.form = function(opt_data, opt_ignored) { 2556 return '<form' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui' + ((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>'; 2557}; 2558if (goog.DEBUG) { 2559 aui.form.form.soyTemplateName = 'aui.form.form'; 2560} 2561 2562 2563aui.form.formDescription = function(opt_data, opt_ignored) { 2564 return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="field-group' + aui.renderExtraClasse
2564s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'; 2565}; 2566if (goog.DEBUG) { 2567 aui.form.formDescription.soyTemplateName = 'aui.form.formDescription'; 2568} 2569 2570 2571aui.form.fieldset = function(opt_data, opt_ignored) { 2572 var output = ''; 2573 var hasClass__soy48 = opt_data.isInline || opt_data.isDateSelect || opt_data.isGroup || opt_data.extraClasses; 2574 output += '<fieldset' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((hasClass__soy48) ? ' 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>'; 2575 return output; 2576}; 2577if (goog.DEBUG) { 2578 aui.form.fieldset.soyTemplateName = 'aui.form.fieldset'; 2579} 2580 2581 2582aui.form.fieldGroup = function(opt_data, opt_ignored) { 2583 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>'; 2584}; 2585if (goog.DEBUG) { 2586 aui.form.fieldGroup.soyTemplateName = 'aui.form.fieldGroup'; 2587} 2588 2589 2590aui.form.buttons = function(opt_data, opt_ignored) { 2591 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>'; 2592}; 2593if (goog.DEBUG) { 2594 aui.form.buttons.soyTemplateName = 'aui.form.buttons'; 2595} 2596 2597 2598aui.form.label = function(opt_data, opt_ignored) { 2599 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>'; 2600}; 2601if (goog.DEBUG) { 2602 aui.form.label.soyTemplateName = 'aui.form.label'; 2603} 2604 2605 2606aui.form.input = function(opt_data, opt_ignored) { 2607 var output = ''; 2608 var baseType__soy123 = ''; 2609 switch (opt_data.type) { 2610 case 'password': 2611 case 'email': 2612 case 'url': 2613 case 'tel': 2614 case 'search': 2615 baseType__soy123 += 'text'; 2616 break; 2617 case 'submit': 2618 case 'reset': 2619 baseType__soy123 += 'button'; 2620 break; 2621 default: 2622 baseType__soy123 += soy.$$escapeHtml(opt_data.type); 2623 } 2624 output += '<input class="' + soy.$$escapeHtml(baseType__soy123) + aui.renderExtraClasses(opt_data) + ((opt_data.icon && baseType__soy123 == '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__soy123 == 'text' && opt_data.type != 'password' && opt_data.maxLength) ? ' maxlength="' + soy.$$escapeHtml(opt_data.maxLength) + '"' : '') + ((baseType__soy123 == 'text' && opt_data.type != 'password' && opt_data.size) ? ' size="' + soy.$$escapeHtml(opt_data.size) + '"' : '') + ((baseType__soy123 == 'text' && opt_data.placeholderText) ? ' placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + ((baseType__soy123 == 'text' && opt_data.autocomplete) ? ' autocomplete="' + soy.$$escapeHtml(opt_data.autocomplete) + '"' : '') + ((opt_data.isDisabled) ? ' disabled' : '') + ((opt_data.isAutofocus) ? ' autofocus' : '') + ((opt_data.isReadOnly) ? ' readonly' : '') + aui.renderExtraAttributes(opt_data) + aui.form.renderValidationArguments(opt_data) + aui.form.renderInfoMessage(opt_data) + aui.form.renderFieldComponentAttribute(opt_data) + aui.form.renderTooltipArguments(opt_data) + aui.form.renderAriaAttributes(opt_data) + '/>' + ((opt_data.icon && baseType__soy123 == 'text') ? aui.icons.icon({icon: opt_data.icon, useIconFont: true, size: 'small'}) : ''); 2625 return output; 2626}; 2627if (goog.DEBUG) {
2628 aui.form.input.soyTemplateName = 'aui.form.input'; 2629} 2630 2631 2632aui.form.renderValidationArguments = function(opt_data, opt_ignored) { 2633 opt_data = opt_data || {}; 2634 var output = ''; 2635 if (opt_data.validationArguments) { 2636 var argumentList204 = soy.$$getMapKeys(opt_data.validationArguments); 2637 var argumentListLen204 = argumentList204.length; 2638 for (var argumentIndex204 = 0; argumentIndex204 < argumentListLen204; argumentIndex204++) { 2639 var argumentData204 = argumentList204[argumentIndex204]; 2640 output += (argumentData204 == 'required' || argumentData204 == 'pattern' || argumentData204 == 'min' || argumentData204 == 'max' || argumentData204 == 'minlength' || argumentData204 == 'maxlength') ? ' ' + soy.$$escapeHtml(argumentData204) + '="' + soy.$$escapeHtml(opt_data.validationArguments[argumentData204]) + '"' : ' ' + soy.$$escapeHtml('data-aui-validation-' + argumentData204) + '="' + soy.$$escapeHtml(opt_data.validationArguments[argumentData204]) + '"'; 2641 } 2642 } 2643 return output; 2644}; 2645if (goog.DEBUG) { 2646 aui.form.renderValidationArguments.soyTemplateName = 'aui.form.renderValidationArguments'; 2647} 2648 2649 2650aui.form.renderTooltipArguments = function(opt_data, opt_ignored) { 2651 opt_data = opt_data || {}; 2652 var output = ''; 2653 if (opt_data.tooltipArguments) { 2654 var argumentList222 = soy.$$getMapKeys(opt_data.tooltipArguments); 2655 var argumentListLen222 = argumentList222.length; 2656 for (var argumentIndex222 = 0; argumentIndex222 < argumentListLen222; argumentIndex222++) { 2657 var argumentData222 = argumentList222[argumentIndex222]; 2658 output += ' ' + soy.$$escapeHtml('data-aui-notification-' + argumentData222) + '="' + soy.$$escapeHtml(opt_data.tooltipArguments[argumentData222]) + '"'; 2659 } 2660 } 2661 return output; 2662}; 2663if (goog.DEBUG) { 2664 aui.form.renderTooltipArguments.soyTemplateName = 'aui.form.renderTooltipArguments'; 2665} 2666 2667 2668aui.form.renderInfoMessage = function(opt_data, opt_ignored) { 2669 opt_data = opt_data || {}; 2670 return '' + ((opt_data.infoMessage) ? ' data-aui-notification-info="' + soy.$$escapeHtml(opt_data.infoMessage) + '"' : ''); 2671}; 2672if (goog.DEBUG) { 2673 aui.form.renderInfoMessage.soyTemplateName = 'aui.form.renderInfoMessage'; 2674} 2675 2676 2677aui.form.renderFieldComponentAttribute = function(opt_data, opt_ignored) { 2678 opt_data = opt_data || {}; 2679 return '' + ((opt_data.infoMessage) ? ' data-aui-notification-field' : '') + ((opt_data.validationArguments) ? ' data-aui-validation-field' : ''); 2680}; 2681if (goog.DEBUG) { 2682 aui.form.renderFieldComponentAttribute.soyTemplateName = 'aui.form.renderFieldComponentAttribute'; 2683} 2684 2685 2686aui.form.renderAriaAttributes = function(opt_data, opt_ignored) { 2687 opt_data = opt_data || {}; 2688 return '' + ((opt_data.hasDescription || opt_data.hasErrors) ? ' aria-describedby="' + ((opt_data.hasErrors) ? soy.$$escapeHtml(opt_data.id) + '-errors' : '') + ((opt_data.hasErrors && opt_data.hasDescription) ? ' ' : '') + ((opt_data.hasDescription) ? soy.$$escapeHtml(opt_data.id) + '-description' : '') + '"' : ''); 2689}; 2690if (goog.DEBUG) { 2691 aui.form.renderAriaAttributes.soyTemplateName = 'aui.form.renderAriaAttributes'; 2692} 2693 2694 2695aui.form.submit = function(opt_data, opt_ignored) { 2696 return '' + aui.form.button(soy.$$augmentMap(opt_data, {tagName: 'input', inputType: 'submit'})); 2697}; 2698if (goog.DEBUG) { 2699 aui.form.submit.soyTemplateName = 'aui.form.submit'; 2700} 2701 2702 2703aui.form.button = function(opt_data, opt_ignored) { 2704 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)})); 2705}; 2706if (goog.DEBUG) { 2707 aui.form.button.soyTemplateName = 'aui.form.button'; 2708} 2709 2710 2711aui.form.linkButton = function(opt_data, opt_ignored) { 2712 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)})); 2713}; 2714if (goog.DEBUG) { 2715 aui.form.linkButton.soyTemplateName = 'aui.form.linkButton'; 2716} 2717 2718 2719aui.form.textarea = function(opt_data, opt_ignored) { 2720 opt_data = opt_data || {}; 2721 return '<textarea name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '" class="textarea' + aui.renderExtraClasse
2721s(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) + aui.form.renderAriaAttributes(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'}) : ''); 2722}; 2723if (goog.DEBUG) { 2724 aui.form.textarea.soyTemplateName = 'aui.form.textarea'; 2725} 2726 2727 2728aui.form.select = function(opt_data, opt_ignored) { 2729 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) + aui.form.renderAriaAttributes(opt_data) + '>' + ((opt_data.defaultOption) ? aui.form.optionOrOptgroup(soy.$$augmentMap(opt_data.defaultOption, {defaultValue: opt_data.value})) : ''); 2730 var optionList398 = opt_data.options; 2731 var optionListLen398 = optionList398.length; 2732 for (var optionIndex398 = 0; optionIndex398 < optionListLen398; optionIndex398++) { 2733 var optionData398 = optionList398[optionIndex398]; 2734 output += aui.form.optionOrOptgroup(soy.$$augmentMap(optionData398, {defaultValue: opt_data.value})); 2735 } 2736 output += '</select>'; 2737 return output; 2738}; 2739if (goog.DEBUG) { 2740 aui.form.select.soyTemplateName = 'aui.form.select'; 2741} 2742 2743 2744aui.form.optionOrOptgroup = function(opt_data, opt_ignored) { 2745 var output = ''; 2746 if (opt_data.options) { 2747 output += '<optgroup label="' + soy.$$escapeHtml(opt_data.text) + '"' + ((opt_data.disabled) ? ' disabled' : '') + '>'; 2748 var optionList413 = opt_data.options; 2749 var optionListLen413 = optionList413.length; 2750 for (var optionIndex413 = 0; optionIndex413 < optionListLen413; optionIndex413++) { 2751 var optionData413 = optionList413[optionIndex413]; 2752 output += aui.form.optionOrOptgroup(soy.$$augmentMap(optionData413, {defaultValue: opt_data.defaultValue})); 2753 } 2754 output += '</optgroup>'; 2755 } else { 2756 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>'; 2757 } 2758 return output; 2759}; 2760if (goog.DEBUG) { 2761 aui.form.optionOrOptgroup.soyTemplateName = 'aui.form.optionOrOptgroup'; 2762} 2763 2764 2765aui.form.value = function(opt_data, opt_ignored) { 2766 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>'; 2767}; 2768if (goog.DEBUG) { 2769 aui.form.value.soyTemplateName = 'aui.form.value'; 2770} 2771 2772 2773aui.form.field = function(opt_data, opt_ignored) { 2774 opt_data = opt_data || {}; 2775 var output = ''; 2776 var isCheckboxOrRadio__soy447 = opt_data.type == 'checkbox' || opt_data.type == 'radio'; 2777 var fieldWidthClass__soy448 = opt_data.fieldWidth ? opt_data.fieldWidth + '-field ' : ''; 2778 var fieldClasses__soy449 = fieldWidthClass__soy448 + (opt_data.extraFieldClasses ? opt_data.extraFieldClasses : ''); 2779 var errorTextsIsList__soy450 = (opt_data.errorTexts) instanceof Array; 2780 var errorTextsIsProbablyNonEmptyString__soy451 = ! errorTextsIsList__soy450 && opt_data.errorTexts != null; 2781 var errorTextsIsNonEmptyList__soy452 = errorTextsIsList__soy450 && opt_data.errorTexts.length > 0; 2782 var hasErrors__soy453 = errorTextsIsProbablyNonEmptyString__soy451 || errorTextsIsNonEmptyList__soy452; 2783 output += '<div class="' + ((isCheckboxOrRadio__soy447) ? soy.$$escapeHtml(opt_data.type) : 'field-group') + au
2783i.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.labelContent && ! isCheckboxOrRadio__soy447) ? aui.form.label({forField: opt_data.id, isRequired: opt_data.isRequired, content: opt_data.labelContent}) : ''); 2784 switch (opt_data.type) { 2785 case 'textarea': 2786 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: fieldClasses__soy449, icon: opt_data.icon, validationArguments: opt_data.validationArguments, infoMessage: opt_data.infoMessage, tooltipArguments: opt_data.tooltipArguments, hasDescription: opt_data.infoMessage || opt_data.descriptionText || opt_data.descriptionContent ? true : false, hasErrors: hasErrors__soy453}); 2787 break; 2788 case 'select': 2789 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: fieldClasses__soy449, validationArguments: opt_data.validationArguments, infoMessage: opt_data.infoMessage, tooltipArguments: opt_data.tooltipArguments, hasDescription: opt_data.infoMessage || opt_data.descriptionText || opt_data.descriptionContent ? true : false, hasErrors: hasErrors__soy453}); 2790 break; 2791 case 'auiSelectField': 2792 output += aui.form.auiSelectField(opt_data); 2793 break; 2794 case 'value': 2795 output += aui.form.value({id: opt_data.id, content: '' + soy.$$escapeHtml(opt_data.value), extraClasses: fieldClasses__soy449}); 2796 break; 2797 case 'text': 2798 case 'password': 2799 case 'email': 2800 case 'url': 2801 case 'tel': 2802 case 'search': 2803 case 'file': 2804 case 'radio': 2805 case 'checkbox': 2806 case 'button': 2807 case 'submit': 2808 case 'reset': 2809 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: fieldClasses__soy449, icon: opt_data.icon, validationArguments: opt_data.validationArguments, infoMessage: opt_data.infoMessage, tooltipArguments: opt_data.tooltipArguments, hasDescription: opt_data.infoMessage || opt_data.descriptionText || opt_data.descriptionContent ? true : false, hasErrors: hasErrors__soy453, isReadOnly: opt_data.isReadOnly}); 2810 break; 2811 } 2812 output += ((opt_data.labelContent && isCheckboxOrRadio__soy447) ? aui.form.label({forField: opt_data.id, isRequired: opt_data.isRequired, content: opt_data.labelContent}) : '') + ((opt_data.errorTexts) ? aui.form.fieldError({id: opt_data.id, message: opt_data.errorTexts}) : '') + ((opt_data.descriptionText || opt_data.descriptionContent) ? aui.form.fieldDescription({id: opt_data.id, text: opt_data.descriptionText, content: opt_data.descriptionContent}) : '') + '</div>'; 2813 return output; 2814}; 2815if (goog.DEBUG) { 2816 aui.form.field.soyTemplateName = 'aui.form.field'; 2817} 2818 2819 2820aui.form.fieldError = function(opt_data, opt_ignored) { 2821 var output = ''; 2822 var messageIsList__soy560 = (opt_data.message) instanceof Array; 2823 var messageIsProbablyNonEmptyString__soy561 = ! messageIsList__soy560 && opt_data.message != null; 2824 var messageIsNonEmptyList__soy562 = messageIsList__soy560 && opt_data.message.length > 0; 2825 if (messageIsProbablyNonEmptyString__soy561 || messageIsNonEmptyList__soy562) { 2826 output += '<div class="error' + aui.renderExtraClasses(opt_data) + '" role="alert" ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '-errors"' : '') + '><ul>'; 2827 if (messageIsList__soy560) { 2828 var errorList576 = opt_data.message; 2829 var errorListLen576 = errorList576.length; 2830 for (var errorIndex576 = 0; errorIndex576 < errorListLen576; errorIndex576++) { 2831 var errorData576 = errorList576[errorIndex576]; 2832 output += '<li>' + soy.$$escapeHtml(errorData576) + '</li>'; 2833 } 2834 } else { 2835 output += '<li>' + soy.$$escapeHtml(opt_data.message) + '</li>'; 2836 } 2837 output += '</ul></div>'; 2838 } 2839 return output; 2840}; 2841if (goog.DEBUG) {
2842 aui.form.fieldError.soyTemplateName = 'aui.form.fieldError'; 2843} 2844 2845 2846aui.form.fieldDescription = function(opt_data, opt_ignored) { 2847 opt_data = opt_data || {}; 2848 return '<div class="description' + aui.renderExtraClasses(opt_data) + '" ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '-description"' : '') + '>' + ((opt_data.text) ? soy.$$escapeHtml(opt_data.text) : (opt_data.message) ? soy.$$escapeHtml(opt_data.message) : (opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; 2849}; 2850if (goog.DEBUG) { 2851 aui.form.fieldDescription.soyTemplateName = 'aui.form.fieldDescription'; 2852} 2853 2854 2855aui.form.textField = function(opt_data, opt_ignored) { 2856 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'text'})); 2857}; 2858if (goog.DEBUG) { 2859 aui.form.textField.soyTemplateName = 'aui.form.textField'; 2860} 2861 2862 2863aui.form.textareaField = function(opt_data, opt_ignored) { 2864 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'textarea'})); 2865}; 2866if (goog.DEBUG) { 2867 aui.form.textareaField.soyTemplateName = 'aui.form.textareaField'; 2868} 2869 2870 2871aui.form.passwordField = function(opt_data, opt_ignored) { 2872 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'password'})); 2873}; 2874if (goog.DEBUG) { 2875 aui.form.passwordField.soyTemplateName = 'aui.form.passwordField'; 2876} 2877 2878 2879aui.form.fileField = function(opt_data, opt_ignored) { 2880 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'file'})); 2881}; 2882if (goog.DEBUG) { 2883 aui.form.fileField.soyTemplateName = 'aui.form.fileField'; 2884} 2885 2886 2887aui.form.selectField = function(opt_data, opt_ignored) { 2888 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'select'})); 2889}; 2890if (goog.DEBUG) { 2891 aui.form.selectField.soyTemplateName = 'aui.form.selectField'; 2892} 2893 2894 2895aui.form.checkboxField = function(opt_data, opt_ignored) { 2896 var param626 = '' + ((opt_data.isMatrix) ? '<div class="matrix">' : ''); 2897 var fieldList630 = opt_data.fields; 2898 var fieldListLen630 = fieldList630.length; 2899 for (var fieldIndex630 = 0; fieldIndex630 < fieldListLen630; fieldIndex630++) { 2900 var fieldData630 = fieldList630[fieldIndex630]; 2901 param626 += aui.form.field(soy.$$augmentMap(fieldData630, {type: 'checkbox', labelContent: '' + soy.$$escapeHtml(fieldData630.labelText), extraFieldClasses: opt_data.extraFieldClasses})); 2902 } 2903 param626 += ((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}) : ''); 2904 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: param626}); 2905 return output; 2906}; 2907if (goog.DEBUG) { 2908 aui.form.checkboxField.soyTemplateName = 'aui.form.checkboxField'; 2909} 2910 2911 2912aui.form.radioField = function(opt_data, opt_ignored) { 2913 var param654 = '' + ((opt_data.isMatrix) ? '<div class="matrix">' : ''); 2914 var fieldList658 = opt_data.fields; 2915 var fieldListLen658 = fieldList658.length; 2916 for (var fieldIndex658 = 0; fieldIndex658 < fieldListLen658; fieldIndex658++) { 2917 var fieldData658 = fieldList658[fieldIndex658]; 2918 param654 += aui.form.field(soy.$$augmentMap(fieldData658, {type: 'radio', name: opt_data.name ? opt_data.name : opt_data.id, labelContent: '' + soy.$$escapeHtml(fieldData658.labelText), extraFieldClasses: opt_data.extraFieldClasses})); 2919 } 2920 param654 += ((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}) : ''); 2921 var output = '' + aui.form.fieldset({legendContent: opt_data.legendContent + (opt_data.isRequired ? '<span class="aui-icon icon-required"></span>
2921' : ''), isGroup: true, id: opt_data.id, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: param654}); 2922 return output; 2923}; 2924if (goog.DEBUG) { 2925 aui.form.radioField.soyTemplateName = 'aui.form.radioField'; 2926} 2927 2928 2929aui.form.valueField = function(opt_data, opt_ignored) { 2930 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'value'})); 2931}; 2932if (goog.DEBUG) { 2933 aui.form.valueField.soyTemplateName = 'aui.form.valueField'; 2934} 2935 2936 2937aui.form.emailField = function(opt_data, opt_ignored) { 2938 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'email'})); 2939}; 2940if (goog.DEBUG) { 2941 aui.form.emailField.soyTemplateName = 'aui.form.emailField'; 2942} 2943 2944 2945aui.form.urlField = function(opt_data, opt_ignored) { 2946 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'url'})); 2947}; 2948if (goog.DEBUG) { 2949 aui.form.urlField.soyTemplateName = 'aui.form.urlField'; 2950} 2951 2952 2953aui.form.telephoneField = function(opt_data, opt_ignored) { 2954 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'tel'})); 2955}; 2956if (goog.DEBUG) { 2957 aui.form.telephoneField.soyTemplateName = 'aui.form.telephoneField'; 2958} 2959 2960 2961aui.form.searchField = function(opt_data, opt_ignored) { 2962 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'search'})); 2963}; 2964if (goog.DEBUG) { 2965 aui.form.searchField.soyTemplateName = 'aui.form.searchField'; 2966} 2967 2968 2969aui.form.auiSelectField = function(opt_data, opt_ignored) { 2970 var output = '<aui-select ' + ((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.isRequired) ? ' no-empty-values' : '') + ' ' + ((opt_data.placeholderText) ? 'placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + '>'; 2971 var optionList716 = opt_data.options; 2972 var optionListLen716 = optionList716.length; 2973 for (var optionIndex716 = 0; optionIndex716 < optionListLen716; optionIndex716++) { 2974 var optionData716 = optionList716[optionIndex716]; 2975 output += '<aui-option value="' + soy.$$escapeHtml(optionData716.value) + '"' + ((opt_data.value == optionData716.value) ? ' selected' : '') + '>' + soy.$$escapeHtml(optionData716.text ? optionData716.text : optionData716.label) + '</aui-option>'; 2976 } 2977 output += '</aui-select>'; 2978 return output; 2979}; 2980if (goog.DEBUG) { 2981 aui.form.auiSelectField.soyTemplateName = 'aui.form.auiSelectField'; 2982} 2983 2984}catch(e){WRMCB(e)}; 2985; 2986try { 2987/* module-key = 'com.atlassian.auiplugin:soy', location = 'group.soy' */ 2988// This file was automatically generated from group.soy. 2989// Please don't edit this file by hand. 2990 2991/** 2992 * @fileoverview Templates in namespace aui.group. 2993 */ 2994 2995if (typeof aui == 'undefined') { var aui = {}; } 2996if (typeof aui.group == 'undefined') { aui.group = {}; } 2997 2998 2999aui.group.group = function(opt_data, opt_ignored) { 3000 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') + '>'; 3001}; 3002if (goog.DEBUG) { 3003 aui.group.group.soyTemplateName = 'aui.group.group'; 3004} 3005 3006 3007aui.group.item = function(opt_data, opt_ignored) { 3008 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') + '>'; 3009}; 3010if (goog.DEBUG) { 3011 aui.group.item.soyTemplateName = 'aui.group.item'; 3012} 3013 3014}catch(e){WRMCB(e)}; 3015; 3016try { 3017/* module-key = 'com.atlassian.auiplugin:soy', location = 'inline-dialog2.soy' */ 3018// This file was automatically generated from inline-dialog2.soy. 3019// Please don't edit this file by hand. 3020 3021/** 3022 * @fileoverview Templates in namespace aui.inlineDialog2. 3023 */ 3024 3025if (typeof aui == 'undefined') { var aui = {}; } 3026if (typeof aui.inlineDialog2 == 'undefined') { aui.inlineDialog2 = {}; } 3027 3028 3029aui.inlineDialog2.inlineDialog2 = function(opt_data, opt_ignored) { 3030 return '<aui-inline-dialog' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="' + aui.renderExtraClasse
3030s(opt_data) + '"' + ((opt_data.alignment) ? ' alignment="' + soy.$$escapeHtml(opt_data.alignment) + '"' : '') + ((opt_data.open) ? ' open' : '') + ((opt_data.persistent) ? ' persistent' : '') + ((opt_data.respondsTo) ? ' responds-to="' + soy.$$escapeHtml(opt_data.respondsTo) + '"' : '') + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</aui-inline-dialog>'; 3031}; 3032if (goog.DEBUG) { 3033 aui.inlineDialog2.inlineDialog2.soyTemplateName = 'aui.inlineDialog2.inlineDialog2'; 3034} 3035 3036 3037aui.inlineDialog2.trigger = function(opt_data, opt_ignored) { 3038 return '' + aui.trigger.trigger(soy.$$augmentMap(opt_data, {showIcon: opt_data.showIcon ? opt_data.showIcon : false})); 3039}; 3040if (goog.DEBUG) { 3041 aui.inlineDialog2.trigger.soyTemplateName = 'aui.inlineDialog2.trigger'; 3042} 3043 3044}catch(e){WRMCB(e)}; 3045; 3046try { 3047/* module-key = 'com.atlassian.auiplugin:soy', location = 'labels.soy' */ 3048// This file was automatically generated from labels.soy. 3049// Please don't edit this file by hand. 3050 3051/** 3052 * @fileoverview Templates in namespace aui.labels. 3053 */ 3054 3055if (typeof aui == 'undefined') { var aui = {}; } 3056if (typeof aui.labels == 'undefined') { aui.labels = {}; } 3057 3058 3059aui.labels.label = function(opt_data, opt_ignored) { 3060 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') + '>'); 3061}; 3062if (goog.DEBUG) { 3063 aui.labels.label.soyTemplateName = 'aui.labels.label'; 3064} 3065 3066 3067aui.labels.closeIcon = function(opt_data, opt_ignored) { 3068 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>'; 3069}; 3070if (goog.DEBUG) { 3071 aui.labels.closeIcon.soyTemplateName = 'aui.labels.closeIcon'; 3072} 3073 3074 3075aui.labels.closeIconText = function(opt_data, opt_ignored) { 3076 return '' + ((opt_data.closeIconText) ? soy.$$escapeHtml(opt_data.closeIconText) : '(' + soy.$$escapeHtml('Remove') + ' ' + soy.$$escapeHtml(opt_data.text) + ')'); 3077}; 3078if (goog.DEBUG) { 3079 aui.labels.closeIconText.soyTemplateName = 'aui.labels.closeIconText'; 3080} 3081 3082}catch(e){WRMCB(e)}; 3083; 3084try { 3085/* module-key = 'com.atlassian.auiplugin:soy', location = 'message.soy' */ 3086// This file was automatically generated from message.soy. 3087// Please don't edit this file by hand. 3088 3089/** 3090 * @fileoverview Templates in namespace aui.message. 3091 */ 3092 3093if (typeof aui == 'undefined') { var aui = {}; } 3094if (typeof aui.message == 'undefined') { aui.message = {}; } 3095 3096 3097aui.message.info = function(opt_data, opt_ignored) { 3098 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'info'})); 3099}; 3100if (goog.DEBUG) { 3101 aui.message.info.soyTemplateName = 'aui.message.info'; 3102} 3103 3104 3105aui.message.change = function(opt_data, opt_ignored) { 3106 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'change'})); 3107}; 3108if (goog.DEBUG) { 3109 aui.message.change.soyTemplateName = 'aui.message.change'; 3110} 3111 3112 3113aui.message.warning = function(opt_data, opt_ignored) { 3114 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'warning'})); 3115}; 3116if (goog.DEBUG) { 3117 aui.message.warning.soyTemplateName = 'aui.message.warning'; 3118} 3119 3120 3121aui.message.error = function(opt_data, opt_ignored) { 3122 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'error'})); 3123}; 3124if (goog.DEBUG) { 3125 aui.message.error.soyTemplateName = 'aui.message.error'; 3126} 3127 3128 3129aui.message.success = function(opt_data, opt_ignored) { 3130 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'success'})); 3131}; 3132if (goog.DEBUG) { 3133 aui.message.success.soyTemplateName = 'aui.message.success'; 3134} 3135 3136 3137aui.message.hint = function(opt_data, opt_ignored) { 3138 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'hint'})); 3139}; 3140if (goog.DEBUG) { 3141 aui.message.hint.soyTemplateName = 'aui.message.hint'; 3142} 3143 3144 3145aui.message.generic = function(opt_data, opt_ignored) { 3146 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'generic'})); 3147}; 3148if (goog.DEBUG) { 3149 aui.message.generic.soyTemplateName = 'aui.message.generic'; 3150} 3151 3152 3153aui.message.message = function(opt_data, opt_ignored) { 3154 var output = ''; 3155 var theTagName__soy24 = opt_data.tagName ? opt_data.tagName : 'div'; 3156 var theType__soy25 = opt_data.type ? opt_data.type : 'generic'; 3157 var labeledType__soy26 = theType__soy25 == 'error' || theType__soy25 == 'warning' || theType__soy25 == 'info' || theType__soy25 == 'confirmation' || theType__soy25 == 'change'; 3158 output += '<' + soy.$$escapeHtml(theTagName__soy24) + ' role="note"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-message aui-message-' + soy.$$escapeHtml(theType__soy25) + ' ' + soy.$$escapeHtml(theType__soy25) + ((opt_data.isCloseable) ? ' closeable' : '') + aui.renderExtraClasse
3158s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.titleContent || labeledType__soy26) ? '<p class="title">' + ((! opt_data.a11yTypeLabel) ? ((theType__soy25 == 'error') ? '<strong hidden>' + soy.$$escapeHtml('Error') + ': </strong>' : '') + ((theType__soy25 == 'warning') ? '<strong hidden>' + soy.$$escapeHtml('Warning') + ': </strong>' : '') + ((theType__soy25 == 'info') ? '<strong hidden>' + soy.$$escapeHtml('Information') + ': </strong>' : '') + ((theType__soy25 == 'confirmation') ? '<strong hidden>' + soy.$$escapeHtml('Confirmation') + ': </strong>' : '') + ((theType__soy25 == 'change') ? '<strong hidden>' + soy.$$escapeHtml('Change') + ': </strong>' : '') : '<strong hidden>' + soy.$$escapeHtml(opt_data.a11yTypeLabel) + ': </strong>') + ((opt_data.titleContent) ? '<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__soy24) + '>'; 3159 return output; 3160}; 3161if (goog.DEBUG) { 3162 aui.message.message.soyTemplateName = 'aui.message.message'; 3163} 3164 3165}catch(e){WRMCB(e)}; 3166; 3167try { 3168/* module-key = 'com.atlassian.auiplugin:soy', location = 'navigation.soy' */ 3169// This file was automatically generated from navigation.soy. 3170// Please don't edit this file by hand. 3171 3172/** 3173 * @fileoverview Templates in namespace aui.navigation. 3174 */ 3175 3176if (typeof aui == 'undefined') { var aui = {}; } 3177if (typeof aui.navigation == 'undefined') { aui.navigation = {}; } 3178 3179 3180aui.navigation.item = function(opt_data, opt_ignored) { 3181 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) + '>' + ((opt_data.children && opt_data.children.length > 0 && opt_data.isCollapsible) ? '<a href="#" class="aui-nav-subtree-toggle">' + aui.navigation.toggleTreeIcon(opt_data) + '</a>' : '') + '<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) ? '<aui-badge>' + soy.$$escapeHtml(opt_data.count) + '</aui-badge>' : '') + '<span class="aui-nav-item-label">' + soy.$$escapeHtml(opt_data.label) + '</span></a>' + ((opt_data.children && opt_data.children.length > 0) ? aui.navigation.nav({items: opt_data.children, selectedItemKey: opt_data.selectedItemKey, isChild: true}) : '') + '</li>'; 3182}; 3183if (goog.DEBUG) { 3184 aui.navigation.item.soyTemplateName = 'aui.navigation.item'; 3185} 3186 3187 3188aui.navigation.nav = function(opt_data, opt_ignored) { 3189 var output = '<ul class="aui-nav' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>'; 3190 var itemList56 = opt_data.items; 3191 var itemListLen56 = itemList56.length; 3192 for (var itemIndex56 = 0; itemIndex56 < itemListLen56; itemIndex56++) { 3193 var itemData56 = itemList56[itemIndex56]; 3194 output += aui.navigation.item(soy.$$augmentMap(itemData56, {isChild: opt_data.isChild, selectedItemKey: opt_data.selectedItemKey})); 3195 } 3196 output += '</ul>'; 3197 return output; 3198}; 3199if (goog.DEBUG) { 3200 aui.navigation.nav.soyTemplateName = 'aui.navigation.nav'; 3201} 3202 3203 3204aui.navigation.toggleTreeIcon = function(opt_data, opt_ignored) { 3205 return '' + aui.icons.icon({icon: opt_data.isCollapsed ? 'collapsed' : 'expanded', size: 'small', useIconFont: true, accessibilityText: '' + ((opt_data.isCollapsed) ? soy.$$escapeHtml('Expand') : soy.$$escapeHtml('Collapse'))}); 3206}; 3207if (goog.DEBUG) { 3208 aui.navigation.toggleTreeIcon.soyTemplateName = 'aui.navigation.toggleTreeIcon'; 3209} 3210 3211}catch(e){WRMCB(e)}; 3212; 3213try { 3214/* module-key = 'com.atlassian.auiplugin:soy', location = 'page.soy' */ 3215// This file was automatically generated from page.soy. 3216// Please don't edit this file by hand. 3217 3218/** 3219 * @fileoverview Templates in namespace aui.page. 3220 */ 3221 3222if (typeof aui == 'undefined') { var aui = {}; } 3223if (typeof aui.page == 'undefined') { aui.page = {}; } 3224 3225 3226aui.page.document = function(opt_data, opt_ignored) { 3227 return '<!DOCTYPE html><html lang="en">' + aui.page.documentHTMLContent(opt_data) + '</html>'; 3228}; 3229if (goog.DEBUG) { 3230 aui.page.document.soyTemplateName = 'aui.page.document'; 3231} 3232 3233 3234aui.page.documentHTMLContent = function(opt_data, opt_ignored) { 3235 var output = ''; 3236 var thePageSize__soy7 = opt_data.pageSize ? opt_data.pageSize : opt_data.focusedPageSize ? opt_data.focusedPageSize : 'xlarge'; 3237 output += '<head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width"><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.extraClasse
3237s) ? ' class="' + aui.renderExtraClasses(opt_data) + '"' : '' : (opt_data.pageType == 'focused') ? ' class="aui-page-focused aui-page-focused-' + soy.$$escapeHtml(thePageSize__soy7) + ' aui-page-size-' + soy.$$escapeHtml(thePageSize__soy7) + aui.renderExtraClasses(opt_data) + '"' : (opt_data.pageType == 'notification') ? ' class="aui-page-notification aui-page-size-' + soy.$$escapeHtml(thePageSize__soy7) + aui.renderExtraClasses(opt_data) + '"' : (opt_data.pageType == 'sidebar') ? ' class="aui-page-sidebar' + soy.$$escapeHtml(opt_data.sidebarState ? ' aui-sidebar-' + opt_data.sidebarState : '') + aui.renderExtraClasses(opt_data) + '"' : ' class="aui-page-' + soy.$$escapeHtml(opt_data.pageType) + aui.renderExtraClasses(opt_data) + '"' : ' class="' + aui.renderExtraClasses(opt_data) + '"') + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</body>'; 3238 return output; 3239}; 3240if (goog.DEBUG) { 3241 aui.page.documentHTMLContent.soyTemplateName = 'aui.page.documentHTMLContent'; 3242} 3243 3244 3245aui.page.page = function(opt_data, opt_ignored) { 3246 return '<div id="page"><header id="header" role="banner" aria-label="' + soy.$$escapeHtml('Site') + '">' + soy.$$filterNoAutoescape(opt_data.headerContent) + '</header><div id="content">' + soy.$$filterNoAutoescape(opt_data.contentContent) + '</div><footer id="footer" role="contentinfo">' + soy.$$filterNoAutoescape(opt_data.footerContent) + '</footer></div>'; 3247}; 3248if (goog.DEBUG) { 3249 aui.page.page.soyTemplateName = 'aui.page.page'; 3250} 3251 3252 3253aui.page.header = function(opt_data, opt_ignored) { 3254 var output = ''; 3255 if (opt_data.skipLinks) { 3256 var linkList72 = opt_data.skipLinks; 3257 var linkListLen72 = linkList72.length; 3258 for (var linkIndex72 = 0; linkIndex72 < linkListLen72; linkIndex72++) { 3259 var linkData72 = linkList72[linkIndex72]; 3260 output += '<a class="aui-skip-link" href="' + soy.$$escapeHtml(linkData72.href) + '">' + soy.$$escapeHtml(linkData72.label) + '</a>'; 3261 } 3262 } 3263 if (opt_data.bannerContent) { 3264 var bannerType__soy81 = opt_data.bannerType != null ? opt_data.bannerType : 'error'; 3265 output += '<div class="aui-banner aui-banner-' + soy.$$escapeHtml(bannerType__soy81) + '" role="alert"><div class="assistive">' + soy.$$escapeHtml(bannerType__soy81) + '</div>' + soy.$$filterNoAutoescape(opt_data.bannerContent) + '</div>'; 3266 } 3267 output += '<nav' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-header aui-dropdown2-trigger-group' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ' aria-label="' + soy.$$escapeHtml('Site') + '"><div class="aui-header-inner">' + ((opt_data.headerBeforeContent) ? '<div class="aui-header-before">' + soy.$$filterNoAutoescape(opt_data.headerBeforeContent) + '</div>' : '') + '<div class="aui-header-primary"><span 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 : '/') + '" aria-label="' + ((opt_data.headerAriaLabel) ? soy.$$filterNoAutoescape(opt_data.headerAriaLabel) : soy.$$escapeHtml('Go to home page')) + '">' + ((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></span>' + ((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--><aui-header-end></aui-header-end></nav><!-- .aui-header -->'; 3268 return output; 3269}; 3270if (goog.DEBUG) { 3271 aui.page.header.soyTemplateName = 'aui.page.header'; 3272} 3273 3274 3275aui.page.pagePanel = function(opt_data, opt_ignored) { 3276 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-panel', patternName: '.aui-page-panel', content: '<div class="aui-page-panel-inner">' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'})); 3277}; 3278if (goog.DEBUG) { 3279 aui.page.pagePanel.soyTemplateName = 'aui.page.pagePanel'; 3280} 3281 3282 3283aui.page.pagePanelNav = function(opt_data, opt_ignored) { 3284 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-panel-nav', patternName: '.aui-page-panel-nav'})); 3285}; 3286if (goog.DEBUG) { 3287 aui.page.pagePanelNav.soyTemplateName = 'aui.page.pagePanelNav'; 3288} 3289 3290 3291aui.page.pagePanelContent = function(opt_data, opt_ignored) { 3292 var output = ''; 3293 var theId__soy175 = opt_data.id == false || opt_data.id == 'false' ? false : opt_data.id ? opt_data.id : 'main'; 3294 output += aui.page.genericElement(soy.$$augmentMap(opt_data, {id: theId__soy175, tagName: opt_data.tagName ? opt_data.tagName : 'main', className: 'aui-page-panel-content', patternName: '.aui-page-panel-content'})); 3295 return output; 3296}; 3297if (goog.DEBUG) { 3298 aui.page.pagePanelContent.soyTemplateName = 'aui.page.pagePanelContent'; 3299} 3300 3301 3302aui.page.pagePanelSidebar = function(opt_data, opt_ignored) { 3303 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {tagName: opt_data.tagName ? opt_data.tagName : 'aside', className: 'aui-page-panel-sidebar', patternName: '.aui-page-panel-sidebar'})); 3304}; 3305if (goog.DEBUG) { 3306 aui.page.pagePanelSidebar.soyTemplateName = 'aui.page.pagePanelSidebar'; 3307} 3308 3309 3310aui.page.pagePanelItem = function(opt_data, opt_ignored) { 3311 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {tagName: opt_data.tagName ? opt_data.tagName : 'section', className: 'aui-page-panel-item', patternName: '.aui-page-panel-item'})); 3312}; 3313if (goog.DEBUG) { 3314 aui.page.pagePanelItem.soyTemplateName = 'aui.page.pagePanelItem';
3315} 3316 3317 3318aui.page.pageHeader = function(opt_data, opt_ignored) { 3319 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header', patternName: '.aui-page-header', content: '<div class="aui-page-header-inner">' + soy.$$filterNoAutoescape(opt_data.content) + '</div>'})); 3320}; 3321if (goog.DEBUG) { 3322 aui.page.pageHeader.soyTemplateName = 'aui.page.pageHeader'; 3323} 3324 3325 3326aui.page.pageHeaderImage = function(opt_data, opt_ignored) { 3327 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header-image', patternName: '.aui-page-header-image'})); 3328}; 3329if (goog.DEBUG) { 3330 aui.page.pageHeaderImage.soyTemplateName = 'aui.page.pageHeaderImage'; 3331} 3332 3333 3334aui.page.pageHeaderMain = function(opt_data, opt_ignored) { 3335 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header-main', patternName: '.aui-page-header-main'})); 3336}; 3337if (goog.DEBUG) { 3338 aui.page.pageHeaderMain.soyTemplateName = 'aui.page.pageHeaderMain'; 3339} 3340 3341 3342aui.page.pageHeaderActions = function(opt_data, opt_ignored) { 3343 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header-actions', patternName: '.aui-page-header-actions'})); 3344}; 3345if (goog.DEBUG) { 3346 aui.page.pageHeaderActions.soyTemplateName = 'aui.page.pageHeaderActions'; 3347} 3348 3349 3350aui.page.genericElement = function(opt_data, opt_ignored) { 3351 var output = ''; 3352 var theTag__soy213 = opt_data.tagName ? opt_data.tagName : 'div'; 3353 var theId__soy214 = opt_data.id && opt_data.id != false && opt_data.id != 'false' ? opt_data.id : false; 3354 output += '<' + soy.$$escapeHtml(theTag__soy213) + aui.page.roleAttribute({tagName: theTag__soy213}) + ((theId__soy214) ? ' id="' + soy.$$escapeHtml(theId__soy214) + '"' : '') + ' class="' + soy.$$escapeHtml(opt_data.className) + aui.renderExtraClasses(opt_data) + '" ' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(theTag__soy213) + '>'; 3355 return output; 3356}; 3357if (goog.DEBUG) { 3358 aui.page.genericElement.soyTemplateName = 'aui.page.genericElement'; 3359} 3360 3361 3362aui.page.roleAttribute = function(opt_data, opt_ignored) { 3363 var output = ''; 3364 var role__soy236 = ''; 3365 switch (opt_data.tagName) { 3366 case 'main': 3367 role__soy236 += 'main'; 3368 break; 3369 case 'header': 3370 role__soy236 += 'banner'; 3371 break; 3372 case 'footer': 3373 role__soy236 += 'contentinfo'; 3374 break; 3375 case 'aside': 3376 role__soy236 += 'complementary'; 3377 break; 3378 case 'nav': 3379 role__soy236 += 'navigation'; 3380 break; 3381 } 3382 output += (role__soy236) ? ' role="' + soy.$$escapeHtml(role__soy236) + '"' : ''; 3383 return output; 3384}; 3385if (goog.DEBUG) { 3386 aui.page.roleAttribute.soyTemplateName = 'aui.page.roleAttribute'; 3387} 3388 3389}catch(e){WRMCB(e)}; 3390; 3391try { 3392/* module-key = 'com.atlassian.auiplugin:soy', location = 'panel.soy' */ 3393// This file was automatically generated from panel.soy. 3394// Please don't edit this file by hand. 3395 3396/** 3397 * @fileoverview Templates in namespace aui. 3398 */ 3399 3400if (typeof aui == 'undefined') { var aui = {}; } 3401 3402 3403aui.panel = function(opt_data, opt_ignored) { 3404 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') + '>'; 3405}; 3406if (goog.DEBUG) { 3407 aui.panel.soyTemplateName = 'aui.panel'; 3408} 3409 3410}catch(e){WRMCB(e)}; 3411; 3412try { 3413/* module-key = 'com.atlassian.auiplugin:soy', location = 'table.soy' */ 3414// This file was automatically generated from table.soy. 3415// Please don't edit this file by hand. 3416 3417/** 3418 * @fileoverview Templates in namespace aui. 3419 */ 3420 3421if (typeof aui == 'undefined') { var aui = {}; } 3422 3423 3424aui.table = function(opt_data, opt_ignored) { 3425 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>'; 3426}; 3427if (goog.DEBUG) { 3428 aui.table.soyTemplateName = 'aui.table'; 3429} 3430 3431}catch(e){WRMCB(e)}; 3432; 3433try { 3434/* module-key = 'com.atlassian.auiplugin:soy', location = 'tabs.soy' */ 3435// This file was automatically generated from tabs.soy. 3436// Please don't edit this file by hand. 3437 3438/** 3439 * @fileoverview Templates in namespace aui. 3440 */ 3441 3442if (typeof aui == 'undefined') { var aui = {}; } 3443 3444 3445aui.tabs = function(opt_data, opt_ignored) { 3446 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.renderExtraClasse
3446s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><ul class="tabs-menu">'; 3447 var itemList19 = opt_data.menuItems; 3448 var itemListLen19 = itemList19.length; 3449 for (var itemIndex19 = 0; itemIndex19 < itemListLen19; itemIndex19++) { 3450 var itemData19 = itemList19[itemIndex19]; 3451 output += aui.tabMenuItem(itemData19); 3452 } 3453 output += '</ul>' + soy.$$filterNoAutoescape(opt_data.paneContent) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; 3454 return output; 3455}; 3456if (goog.DEBUG) { 3457 aui.tabs.soyTemplateName = 'aui.tabs'; 3458} 3459 3460 3461aui.tabMenuItem = function(opt_data, opt_ignored) { 3462 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) + '">' + soy.$$escapeHtml(opt_data.text) + '</a></li>'; 3463}; 3464if (goog.DEBUG) { 3465 aui.tabMenuItem.soyTemplateName = 'aui.tabMenuItem'; 3466} 3467 3468 3469aui.tabPane = function(opt_data, opt_ignored) { 3470 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') + '>'; 3471}; 3472if (goog.DEBUG) { 3473 aui.tabPane.soyTemplateName = 'aui.tabPane'; 3474} 3475 3476}catch(e){WRMCB(e)}; 3477; 3478try { 3479/* module-key = 'com.atlassian.auiplugin:soy', location = 'trigger.soy' */ 3480// This file was automatically generated from trigger.soy. 3481// Please don't edit this file by hand. 3482 3483/** 3484 * @fileoverview Templates in namespace aui.trigger. 3485 */ 3486 3487if (typeof aui == 'undefined') { var aui = {}; } 3488if (typeof aui.trigger == 'undefined') { aui.trigger = {}; } 3489 3490 3491aui.trigger.trigger = function(opt_data, opt_ignored) { 3492 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-controls="' + soy.$$escapeHtml(opt_data.menu.id) + '" aria-haspopup="true" role="button"' + ((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 || (! 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="aui-icon ' + soy.$$escapeHtml(opt_data.iconClasses ? opt_data.iconClasses : '') + '">' + ((opt_data.iconText) ? soy.$$escapeHtml(opt_data.iconText) : '') + '</span>' : '') + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'a') + '>'; 3493}; 3494if (goog.DEBUG) { 3495 aui.trigger.trigger.soyTemplateName = 'aui.trigger.trigger'; 3496} 3497 3498}catch(e){WRMCB(e)}; 3499; 3500try { 3501/* module-key = 'com.atlassian.auiplugin:soy', location = 'toolbar.soy' */ 3502// This file was automatically generated from toolbar.soy. 3503// Please don't edit this file by hand. 3504 3505/** 3506 * @fileoverview Templates in namespace aui.toolbar. 3507 */ 3508 3509if (typeof aui == 'undefined') { var aui = {}; } 3510if (typeof aui.toolbar == 'undefined') { aui.toolbar = {}; } 3511 3512 3513aui.toolbar.toolbar = function(opt_data, opt_ignored) { 3514 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') + '>'; 3515}; 3516if (goog.DEBUG) { 3517 aui.toolbar.toolbar.soyTemplateName = 'aui.toolbar.toolbar'; 3518} 3519 3520 3521aui.toolbar.split = function(opt_data, opt_ignored) { 3522 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.renderExtraClasse
3522s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; 3523}; 3524if (goog.DEBUG) { 3525 aui.toolbar.split.soyTemplateName = 'aui.toolbar.split'; 3526} 3527 3528 3529aui.toolbar.group = function(opt_data, opt_ignored) { 3530 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>'; 3531}; 3532if (goog.DEBUG) { 3533 aui.toolbar.group.soyTemplateName = 'aui.toolbar.group'; 3534} 3535 3536 3537aui.toolbar.item = function(opt_data, opt_ignored) { 3538 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>'; 3539}; 3540if (goog.DEBUG) { 3541 aui.toolbar.item.soyTemplateName = 'aui.toolbar.item'; 3542} 3543 3544 3545aui.toolbar.trigger = function(opt_data, opt_ignored) { 3546 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>'; 3547}; 3548if (goog.DEBUG) { 3549 aui.toolbar.trigger.soyTemplateName = 'aui.toolbar.trigger'; 3550} 3551 3552 3553aui.toolbar.button = function(opt_data, opt_ignored) { 3554 opt_data = opt_data || {}; 3555 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>' : '')})}); 3556}; 3557if (goog.DEBUG) { 3558 aui.toolbar.button.soyTemplateName = 'aui.toolbar.button'; 3559} 3560 3561 3562aui.toolbar.link = function(opt_data, opt_ignored) { 3563 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)})}); 3564}; 3565if (goog.DEBUG) { 3566 aui.toolbar.link.soyTemplateName = 'aui.toolbar.link'; 3567} 3568 3569 3570aui.toolbar.dropdownInternal = function(opt_data, opt_ignored) { 3571 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})})}); 3572}; 3573if (goog.DEBUG) { 3574 aui.toolbar.dropdownInternal.soyTemplateName = 'aui.toolbar.dropdownInternal'; 3575} 3576 3577 3578aui.toolbar.dropdown = function(opt_data, opt_ignored) { 3579 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}); 3580}; 3581if (goog.DEBUG) { 3582 aui.toolbar.dropdown.soyTemplateName = 'aui.toolbar.dropdown'; 3583} 3584 3585 3586aui.toolbar.splitButton = function(opt_data, opt_ignored) { 3587 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)})}); 3588}; 3589if (goog.DEBUG) { 3590 aui.toolbar.splitButton.soyTemplateName = 'aui.toolbar.splitButton'; 3591} 3592 3593}catch(e){WRMCB(e)}; 3594; 3595try { 3596/* module-key = 'com.atlassian.auiplugin:soy', location = 'toolbar2.soy' */ 3597// This file was automatically generated from toolbar2.soy. 3598// Please don't edit this file by hand. 3599 3600/** 3601 * @fileoverview Templates in namespace aui.toolbar2. 3602 */ 3603 3604if (typeof aui == 'undefined') { var aui = {}; } 3605if (typeof aui.toolbar2 == 'undefined') { aui.toolbar2 = {}; } 3606 3607 3608aui.toolbar2.toolbar2 = function(opt_data, opt_ignored) { 3609 return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-toolbar2' + aui.renderExtraClasse
3609s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + ' role="toolbar"><div class="aui-toolbar2-inner">' + soy.$$filterNoAutoescape(opt_data.content) + '</div></div>'; 3610}; 3611if (goog.DEBUG) { 3612 aui.toolbar2.toolbar2.soyTemplateName = 'aui.toolbar2.toolbar2'; 3613} 3614 3615 3616aui.toolbar2.item = function(opt_data, opt_ignored) { 3617 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>'; 3618}; 3619if (goog.DEBUG) { 3620 aui.toolbar2.item.soyTemplateName = 'aui.toolbar2.item'; 3621} 3622 3623 3624aui.toolbar2.group = function(opt_data, opt_ignored) { 3625 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>'; 3626}; 3627if (goog.DEBUG) { 3628 aui.toolbar2.group.soyTemplateName = 'aui.toolbar2.group'; 3629} 3630 3631}catch(e){WRMCB(e)}; 3632; 3633try { 3634/* module-key = 'com.atlassian.auiplugin:soy', location = 'progress-tracker.soy' */ 3635// This file was automatically generated from progress-tracker.soy. 3636// Please don't edit this file by hand. 3637 3638/** 3639 * @fileoverview Templates in namespace aui.progressTracker. 3640 */ 3641 3642if (typeof aui == 'undefined') { var aui = {}; } 3643if (typeof aui.progressTracker == 'undefined') { aui.progressTracker = {}; } 3644 3645 3646aui.progressTracker.progressTracker = function(opt_data, opt_ignored) { 3647 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) + '>'; 3648 var param18 = ''; 3649 var currentStepList19 = opt_data.steps; 3650 var currentStepListLen19 = currentStepList19.length; 3651 for (var currentStepIndex19 = 0; currentStepIndex19 < currentStepListLen19; currentStepIndex19++) { 3652 var currentStepData19 = currentStepList19[currentStepIndex19]; 3653 if (currentStepData19['isCurrent']) { 3654 var stepList22 = opt_data.steps; 3655 var stepListLen22 = stepList22.length; 3656 for (var stepIndex22 = 0; stepIndex22 < stepListLen22; stepIndex22++) { 3657 var stepData22 = stepList22[stepIndex22]; 3658 param18 += aui.progressTracker.step(soy.$$augmentMap(stepData22, {width: Math.round(100 / opt_data.steps.length * 10000) / 10000, href: stepIndex22 < currentStepIndex19 ? stepData22['href'] : null})); 3659 } 3660 } 3661 } 3662 output += aui.progressTracker.content({steps: opt_data.steps, content: param18}); 3663 output += '</ol>'; 3664 return output; 3665}; 3666if (goog.DEBUG) { 3667 aui.progressTracker.progressTracker.soyTemplateName = 'aui.progressTracker.progressTracker'; 3668} 3669 3670 3671aui.progressTracker.content = function(opt_data, opt_ignored) { 3672 var output = ''; 3673 if (opt_data.content != '') { 3674 output += soy.$$filterNoAutoescape(opt_data.content); 3675 } else { 3676 var stepList36 = opt_data.steps; 3677 var stepListLen36 = stepList36.length; 3678 for (var stepIndex36 = 0; stepIndex36 < stepListLen36; stepIndex36++) { 3679 var stepData36 = stepList36[stepIndex36]; 3680 output += aui.progressTracker.step(soy.$$augmentMap(stepData36, {isCurrent: stepIndex36 == 0, width: Math.round(100 / opt_data.steps.length * 10000) / 10000, href: null})); 3681 } 3682 } 3683 return output; 3684}; 3685if (goog.DEBUG) { 3686 aui.progressTracker.content.soyTemplateName = 'aui.progressTracker.content'; 3687} 3688 3689 3690aui.progressTracker.step = function(opt_data, opt_ignored) { 3691 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) + '"' : '') + '>
3691' + soy.$$escapeHtml(opt_data.text) + '</' + soy.$$escapeHtml(opt_data.href ? 'a' : 'span') + '></li>'; 3692}; 3693if (goog.DEBUG) { 3694 aui.progressTracker.step.soyTemplateName = 'aui.progressTracker.step'; 3695} 3696 3697}catch(e){WRMCB(e)}; 3698; 3699try { 3700/* module-key = 'com.atlassian.auiplugin:soy', location = 'expander.soy' */ 3701// This file was automatically generated from expander.soy. 3702// Please don't edit this file by hand. 3703 3704/** 3705 * @fileoverview Templates in namespace aui.expander. 3706 */ 3707 3708if (typeof aui == 'undefined') { var aui = {}; } 3709if (typeof aui.expander == 'undefined') { aui.expander = {}; } 3710 3711 3712aui.expander.content = function(opt_data, opt_ignored) { 3713 return '<div id="' + soy.$$escapeHtml(opt_data.id) + '" class="aui-expander-content ' + ((opt_data.initiallyExpanded) ? 'expanded' : '') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; 3714}; 3715if (goog.DEBUG) { 3716 aui.expander.content.soyTemplateName = 'aui.expander.content'; 3717} 3718 3719 3720aui.expander.trigger = function(opt_data, opt_ignored) { 3721 return '<' + soy.$$escapeHtml(opt_data.tag ? opt_data.tag : 'button') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.ariaLabel) ? 'aria-label="' + soy.$$filterNoAutoescape(opt_data.ariaLabel) + '"' : '') + ((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 : 'button') + '>'; 3722}; 3723if (goog.DEBUG) { 3724 aui.expander.trigger.soyTemplateName = 'aui.expander.trigger'; 3725} 3726 3727 3728aui.expander.revealText = function(opt_data, opt_ignored) { 3729 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, content: 'Show more', extraClasses: 'aui-expander-reveal-text collapsed', 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}); 3730}; 3731if (goog.DEBUG) { 3732 aui.expander.revealText.soyTemplateName = 'aui.expander.revealText'; 3733} 3734 3735}catch(e){WRMCB(e)}; 3736; 3737try { 3738/* module-key = 'com.atlassian.auiplugin:soy', location = 'avatar.soy' */ 3739// This file was automatically generated from avatar.soy. 3740// Please don't edit this file by hand. 3741 3742/** 3743 * @fileoverview Templates in namespace aui.avatar. 3744 */ 3745 3746if (typeof aui == 'undefined') { var aui = {}; } 3747if (typeof aui.avatar == 'undefined') { aui.avatar = {}; } 3748 3749 3750aui.avatar.avatar = function(opt_data, opt_ignored) { 3751 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) + '" alt="' + soy.$$escapeHtml(opt_data.accessibilityText != null ? opt_data.accessibilityText : '') + '"' + ((opt_data.lazyLoadImage) ? ' loading="lazy"' : '') + ((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') + '>'; 3752}; 3753if (goog.DEBUG) { 3754 aui.avatar.avatar.soyTemplateName = 'aui.avatar.avatar'; 3755} 3756 3757}catch(e){WRMCB(e)}; 3758; 3759try { 3760/* module-key = 'com.atlassian.auiplugin:soy', location = 'icons.soy' */ 3761// This file was automatically generated from icons.soy. 3762// Please don't edit this file by hand. 3763 3764/** 3765 * @fileoverview Templates in namespace aui.icons. 3766 */ 3767 3768if (typeof aui == 'undefined') { var aui = {}; } 3769if (typeof aui.icons == 'undefined') { aui.icons = {}; } 3770 3771 3772aui.icons.icon = function(opt_data, opt_ignored) { 3773 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.renderExtraClasse
3773s(opt_data) + '"' + ((opt_data.accessibilityText) ? ' role="img" aria-label="' + soy.$$escapeHtml(opt_data.accessibilityText) + '"' : '') + aui.renderExtraAttributes(opt_data) + '></' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + '>'; 3774}; 3775if (goog.DEBUG) { 3776 aui.icons.icon.soyTemplateName = 'aui.icons.icon'; 3777} 3778 3779}catch(e){WRMCB(e)}; 3780; 3781try { 3782/* module-key = 'com.atlassian.auiplugin:soy', location = 'lozenges.soy' */ 3783// This file was automatically generated from lozenges.soy. 3784// Please don't edit this file by hand. 3785 3786/** 3787 * @fileoverview Templates in namespace aui.lozenges. 3788 */ 3789 3790if (typeof aui == 'undefined') { var aui = {}; } 3791if (typeof aui.lozenges == 'undefined') { aui.lozenges = {}; } 3792 3793 3794aui.lozenges.lozenge = function(opt_data, opt_ignored) { 3795 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') + '>'; 3796}; 3797if (goog.DEBUG) { 3798 aui.lozenges.lozenge.soyTemplateName = 'aui.lozenges.lozenge'; 3799} 3800 3801}catch(e){WRMCB(e)}; 3802; 3803try { 3804/* module-key = 'com.atlassian.auiplugin:soy', location = 'sidebar.soy' */ 3805// This file was automatically generated from sidebar.soy. 3806// Please don't edit this file by hand. 3807 3808/** 3809 * @fileoverview Templates in namespace aui.sidebar. 3810 */ 3811 3812if (typeof aui == 'undefined') { var aui = {}; } 3813if (typeof aui.sidebar == 'undefined') { aui.sidebar = {}; } 3814 3815 3816aui.sidebar.sidebar = function(opt_data, opt_ignored) { 3817 var output = ''; 3818 var isExpanded__soy3 = opt_data.state == 'collapsed' ? false : true; 3819 output += '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((opt_data.landmarkName) ? ' aria-label="' + soy.$$escapeHtml(opt_data.landmarkName) + '"' + ((opt_data.tagName) ? ' role="region"' : '') : '') + ' aria-expanded="' + soy.$$escapeHtml(isExpanded__soy3) + '" 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>' : '') + '<button class="aui-button aui-button-subtle aui-sidebar-toggle aui-sidebar-footer-tipsy" aria-label="' + soy.$$escapeHtml(isExpanded__soy3 ? 'Collapse sidebar ( [ )' : 'Expand sidebar ( [ )') + '" ><span class="aui-icon aui-icon-small aui-iconfont-chevron-double-left"></span></button></div>' + ((opt_data.isResizable) ? '<div class="aui-sidebar-handle"></div>' : '') + '</div></' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'section') + '>'; 3820 return output; 3821}; 3822if (goog.DEBUG) { 3823 aui.sidebar.sidebar.soyTemplateName = 'aui.sidebar.sidebar'; 3824} 3825 3826}catch(e){WRMCB(e)}; 3827; 3828try { 3829/* module-key = 'jira.webresources:js-soy-templates', location = '/includes/templates/jira/links.soy' */ 3830// This file was automatically generated from links.soy. 3831// Please don't edit this file by hand. 3832 3833/** 3834 * @fileoverview Templates in namespace JIRA.Templates.Links. 3835 */ 3836 3837if (typeof JIRA == 'undefined') { var JIRA = {}; } 3838if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 3839if (typeof JIRA.Templates.Links == 'undefined') { JIRA.Templates.Links = {}; } 3840 3841
3842JIRA.Templates.Links.helpLinkFromHelpPath = function(opt_data, opt_ignored) { 3843 return '' + JIRA.Templates.Links.helpLink({isLocal: opt_data.helpPath.local, title: opt_data.helpPath.title, description: opt_data.helpPath.alt, url: opt_data.helpPath.url, fragmentIdentifier: '' + ((opt_data.fragmentIdentifier) ? soy.$$escapeHtml(opt_data.fragmentIdentifier) : '')}); 3844}; 3845if (goog.DEBUG) { 3846 JIRA.Templates.Links.helpLinkFromHelpPath.soyTemplateName = 'JIRA.Templates.Links.helpLinkFromHelpPath'; 3847} 3848 3849 3850JIRA.Templates.Links.helpLink = function(opt_data, opt_ignored) { 3851 var output = ''; 3852 var linkTitle__soy13 = '' + ((opt_data.isLocal) ? AJS.format('Get local help about {0}',opt_data.title) : AJS.format('Get online help about {0}',opt_data.title)); 3853 var ariaLabel__soy21 = '' + ((opt_data.description || opt_data.onlyOpeningTag == true) ? '' : soy.$$escapeHtml(linkTitle__soy13) + soy.$$escapeHtml(', opens in a new tab')); 3854 output += '<a class="help-lnk' + ((opt_data.extraClasses) ? aui.renderExtraClasses(opt_data) : '') + '"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' href="' + soy.$$escapeHtml(opt_data.url) + ((opt_data.fragmentIdentifier) ? soy.$$escapeHtml(opt_data.fragmentIdentifier) : '') + '" title="' + soy.$$escapeHtml(linkTitle__soy13) + '"' + ((ariaLabel__soy21) ? ' aria-label="' + soy.$$escapeHtml(ariaLabel__soy21) + '"' : '') + ' data-helplink="' + ((opt_data.isLocal) ? 'local' : 'online') + '"' + ((! opt_data.isLocal) ? ' target="_jirahelp"' : '') + aui.renderExtraAttributes(opt_data) + '>' + ((! opt_data.onlyOpeningTag) ? '<span class="aui-icon aui-icon-small aui-iconfont-help">' + ((opt_data.description) ? soy.$$escapeHtml(opt_data.description) : '') + '</span></a>' : ''); 3855 return output; 3856}; 3857if (goog.DEBUG) { 3858 JIRA.Templates.Links.helpLink.soyTemplateName = 'JIRA.Templates.Links.helpLink'; 3859} 3860 3861 3862JIRA.Templates.Links.button = function(opt_data, opt_ignored) { 3863 return '' + aui.buttons.button(soy.$$augmentMap(opt_data, {tagName: 'a', extraAttributes: 'href="' + soy.$$escapeHtml(opt_data.url) + '"'})); 3864}; 3865if (goog.DEBUG) { 3866 JIRA.Templates.Links.button.soyTemplateName = 'JIRA.Templates.Links.button'; 3867} 3868 3869 3870JIRA.Templates.Links.basicHelpLink = function(opt_data, opt_ignored) { 3871 var output = ''; 3872 var dataHelpLink__soy77 = opt_data.isLocal ? 'local' : 'online'; 3873 var linkTarget__soy78 = opt_data.isLocal ? '_self' : '_jirahelp'; 3874 var linkTitle__soy79 = opt_data.title != null ? opt_data.title : ''; 3875 output += aui.buttons.button(soy.$$augmentMap(opt_data, {extraClasses: 'help-lnk', type: 'link', tagName: 'a', text: opt_data.desc, extraAttributes: {href: opt_data.url, title: linkTitle__soy79, target: linkTarget__soy78, 'data-helplink': dataHelpLink__soy77}})); 3876 return output; 3877}; 3878if (goog.DEBUG) { 3879 JIRA.Templates.Links.basicHelpLink.soyTemplateName = 'JIRA.Templates.Links.basicHelpLink'; 3880} 3881 3882}catch(e){WRMCB(e)}; 3883; 3884try { 3885/* module-key = 'jira.webresources:js-soy-templates', location = '/includes/templates/jira/header/pageHeader.soy' */ 3886// This file was automatically generated from pageHeader.soy. 3887// Please don't edit this file by hand. 3888 3889/** 3890 * @fileoverview Templates in namespace JIRA.Templates.Headers. 3891 */ 3892 3893if (typeof JIRA == 'undefined') { var JIRA = {}; } 3894if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 3895if (typeof JIRA.Templates.Headers == 'undefined') { JIRA.Templates.Headers = {}; } 3896 3897 3898JIRA.Templates.Headers.pageHeader = function(opt_data, opt_ignored) { 3899 return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'header') + ' class="aui-page-header"' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + '><div class="aui-page-header-inner">' + ((opt_data.imageContent) ? '<div class="aui-page-header-image">' + soy.$$filterNoAutoescape(opt_data.imageContent) + '</div>' : '') + '<div class="aui-page-header-main">' + soy.$$filterNoAutoescape(opt_data.mainContent) + '</div>' + ((opt_data.actionsContent || opt_data.helpContent) ? '<div class="aui-page-header-actions">' + ((opt_data.actionsContent) ? soy.$$filterNoAutoescape(opt_data.actionsContent) : '') + ((opt_data.helpContent) ? soy.$$filterNoAutoescape(opt_data.helpContent) : '') + '</div>' : '') + '</div></' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'header') + '>'; 3900}; 3901if (goog.DEBUG) { 3902 JIRA.Templates.Headers.pageHeader.soyTemplateName = 'JIRA.Templates.Headers.pageHeader'; 3903} 3904 3905 3906JIRA.Templates.Headers.projectAvatar = function(opt_data, opt_ignored) { 3907 return '<span' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-avatar aui-avatar-large aui-avatar-project' + ((opt_data.isSystemAvatar) ? ' jira-system-avatar' : '') + aui.renderExtraClasse
3907s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><span class="aui-avatar-inner"><img id="project-avatar" alt="" role="presentation" src="' + soy.$$filterNoAutoescape(opt_data.avatarUrl) + '" /></span>' + ((opt_data.projectTypeIcon) ? '<img src="data:image/svg+xml;base64,' + soy.$$escapeHtml(opt_data.projectTypeIcon) + '" class="jira-project-avatar-icon" />' : '') + '</span>'; 3908}; 3909if (goog.DEBUG) { 3910 JIRA.Templates.Headers.projectAvatar.soyTemplateName = 'JIRA.Templates.Headers.projectAvatar'; 3911} 3912 3913}catch(e){WRMCB(e)}; 3914; 3915try { 3916/* module-key = 'jira.webresources:js-soy-templates', location = '/includes/templates/jira/jiraDialogs.soy' */ 3917// This file was automatically generated from jiraDialogs.soy. 3918// Please don't edit this file by hand. 3919 3920/** 3921 * @fileoverview Templates in namespace JIRA.Templates.JiraDialog. 3922 */ 3923 3924if (typeof JIRA == 'undefined') { var JIRA = {}; } 3925if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 3926if (typeof JIRA.Templates.JiraDialog == 'undefined') { JIRA.Templates.JiraDialog = {}; } 3927 3928 3929JIRA.Templates.JiraDialog.dialogChrome = function(opt_data, opt_ignored) { 3930 return '' + JIRA.Templates.JiraDialog.abstractDialogChrome(opt_data); 3931}; 3932if (goog.DEBUG) { 3933 JIRA.Templates.JiraDialog.dialogChrome.soyTemplateName = 'JIRA.Templates.JiraDialog.dialogChrome'; 3934} 3935 3936 3937JIRA.Templates.JiraDialog.formDialogChrome = function(opt_data, opt_ignored) { 3938 return '' + JIRA.Templates.JiraDialog.abstractDialogChrome(opt_data); 3939}; 3940if (goog.DEBUG) { 3941 JIRA.Templates.JiraDialog.formDialogChrome.soyTemplateName = 'JIRA.Templates.JiraDialog.formDialogChrome'; 3942} 3943 3944 3945JIRA.Templates.JiraDialog.dialogTitle = function(opt_data, opt_ignored) { 3946 return '<div class="jira-dialog-heading"><h2>' + soy.$$escapeHtml(opt_data.titleText) + '</h2></div>'; 3947}; 3948if (goog.DEBUG) { 3949 JIRA.Templates.JiraDialog.dialogTitle.soyTemplateName = 'JIRA.Templates.JiraDialog.dialogTitle'; 3950} 3951 3952 3953JIRA.Templates.JiraDialog.abstractDialogChrome = function(opt_data, opt_ignored) { 3954 return ((opt_data.titleText) ? JIRA.Templates.JiraDialog.dialogTitle(opt_data) : '') + '<div class="jira-dialog-content">' + ((opt_data.formActionUrl) ? '<form class="aui" action="' + soy.$$escapeHtml(opt_data.formActionUrl) + '" method="' + ((opt_data.formMethod) ? soy.$$escapeHtml(opt_data.formMethod) : 'POST') + '"><div class="form-body">' + soy.$$filterNoAutoescape(opt_data.bodyContent) + '</div><div class="form-footer buttons-container">' + soy.$$filterNoAutoescape(opt_data.footerContent) + '</div></form>' : soy.$$filterNoAutoescape(opt_data.bodyContent) + ((opt_data.footerContent) ? '<div class="buttons-container">' + soy.$$filterNoAutoescape(opt_data.footerContent) + '</div>' : '')) + '</div>'; 3955}; 3956if (goog.DEBUG) { 3957 JIRA.Templates.JiraDialog.abstractDialogChrome.soyTemplateName = 'JIRA.Templates.JiraDialog.abstractDialogChrome'; 3958} 3959 3960}catch(e){WRMCB(e)}; 3961; 3962try { 3963/* module-key = 'jira.webresources:js-soy-templates', location = '/includes/jira/field/templates/statusCategoryField.soy' */ 3964// This file was automatically generated from statusCategoryField.soy. 3965// Please don't edit this file by hand. 3966 3967/** 3968 * @fileoverview Templates in namespace JIRA.Templates.Fields.Pickers.Statuses. 3969 */ 3970 3971if (typeof JIRA == 'undefined') { var JIRA = {}; } 3972if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 3973if (typeof JIRA.Templates.Fields == 'undefined') { JIRA.Templates.Fields = {}; } 3974if (typeof JIRA.Templates.Fields.Pickers == 'undefined') { JIRA.Templates.Fields.Pickers = {}; } 3975if (typeof JIRA.Templates.Fields.Pickers.Statuses == 'undefined') { JIRA.Templates.Fields.Pickers.Statuses = {}; } 3976 3977 3978JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelectField = function(opt_data, opt_ignored) { 3979 var output = '<div class="field-group">' + aui.form.label({forField: opt_data.id, isRequired: true, content: 'Category'}) + JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelect(opt_data) + ((opt_data.statusCategoryHelpData) ? ' ' + JIRA.Templates.Links.helpLink(opt_data.statusCategoryHelpData) : '') + '<div class="description">'; 3980 var new__soy14 = '<b>' + soy.$$escapeHtml('To Do') + '</b>'; 3981 var inProgress__soy18 = '<b>' + soy.$$escapeHtml('In Progress') + '</b>'; 3982 var done__soy22 = '<b>' + soy.$$escapeHtml('Done') + '</b>'; 3983 output += soy.$$filterNoAutoescape(AJS.format('Helps identify where an issue is in its lifecycle. \x3cbr/\x3eIssues move from {0} to {1} when work starts on them, and later move to {2} when all work is complete.',new__soy14,inProgress__soy18,done__soy22)) + '</div>' + ((opt_data.errors && opt_data.errors.statusCategory) ? aui.form.fieldError({message: opt_data.errors.statusCategory}) : '') + '</div>'; 3984 return output; 3985}; 3986if (goog.DEBUG) { 3987 JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelectField.soyTemplateName = 'JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelectField'; 3988} 3989 3990 3991JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelect = function(opt_data, opt_ignored) { 3992 var output = '<select id="' + soy.$$escapeHtml(opt_data.id) + '" name="' + soy.$$escapeHtml(opt_data.id) + '" class="select">'; 3993 var optionList40 = opt_data.statusCategoryOptions; 3994 var optionListLen40 = optionList40.length; 3995 for (var optionIndex40 = 0; optionIndex40 < optionListLen40; optionIndex40++) { 3996 var optionData40 = optionList40[optionIndex40]; 3997 output += JIRA.Templates.Fields.Pickers.Statuses.statusCategoryOption(optionData40); 3998 } 3999 output += '</select>'; 4000 return output; 4001}; 4002if (goog.DEBUG) { 4003 JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelect.soyTemplateName = 'JIRA.Templates.Fields.Pickers.Statuses.statusCategorySelect'; 4004} 4005 4006 4007JIRA.Templates.Fields.Pickers.Statuses.statusCategoryOption = function(opt_data, opt_ignored) { 4008 return '<option value="' + soy.$$escapeHtml(opt_data.value) + '" data-key="' + soy.$$escapeHtml(opt_data.key) + '" data-color-name="' + soy.$$escapeHtml(opt_data.colorName) + '" data-sequence="' + soy.$$escapeHtml(opt_data.sequence) + '"' + ((opt_data.selected) ? ' selected' : '') + ((opt_data.isPlaceholder) ? ' data-placeholder="true"' : '') + '>
4008' + soy.$$escapeHtml(opt_data.text) + '</option>'; 4009}; 4010if (goog.DEBUG) { 4011 JIRA.Templates.Fields.Pickers.Statuses.statusCategoryOption.soyTemplateName = 'JIRA.Templates.Fields.Pickers.Statuses.statusCategoryOption'; 4012} 4013 4014}catch(e){WRMCB(e)}; 4015; 4016try { 4017/* module-key = 'jira.webresources:page-loading-indicator', location = '/includes/jira/loading/Loading.js' */ 4018define("jira/loading/loading",["jquery"],(function(i){"use strict";var n=!1,a=i('<div class="jira-spinner-container"><aui-spinner size="medium" class="jira-page-loading-indicator"></aui-spinner></div>');return{showLoadingIndicator:function(){if(!n){i("body").append(a);n=!0}},hideLoadingIndicator:function(){if(n){a.remove();n=!1}},isVisible:function(){return n}}}));AJS.namespace("JIRA.Loading",null,require("jira/loading/loading")); 4019}catch(e){WRMCB(e)}; 4020; 4021try { 4022/* module-key = 'jira.webresources:jquery-plugin-textoverflow', location = '/includes/jquery/plugins/textoverflow/textOverflow.js' */ 4023/** 4024 * @preserve jQuery Text Overflow v0.7.4 4025 * 4026 * Licensed under the new BSD License. 4027 * Copyright 2009-2011, Bram Stein 4028 * All rights reserved. 4029 */ 4030!function(e){var t=document.documentElement.style,n="textOverflow"in t||"OTextOverflow"in t,o=function(t,n,o){var i=0,l=[];l.push(t.cloneNode(!1));!function e(t){var d,a=0,h=0;if(!(i>n)){for(a=0;a<t.length;a+=1)if(1===t[a].nodeType){d=t[a].cloneNode(!1);l[l.length-1].appendChild(d);l.push(d);e(t[a].childNodes);l.pop()}else if(3===t[a].nodeType){if(i+t[a].length<n)l[l.length-1].appendChild(t[a].cloneNode(!1));else{d=t[a].cloneNode(!1);h=n-i;o.wholeWord&&(h=Math.min(n-i,d.textContent.substring(0,n-i).lastIndexOf(" ")));d.textContent=o.trim?d.textContent.substring(0,h).replace(/\s+$/g,""):d.textContent.substring(0,h);l[l.length-1].appendChild(d)}i+=t[a].length}else l.appendChild(t[a].cloneNode(!1))}}(t.childNodes);return e(l.pop().childNodes)};e.extend(e.fn,{textOverflow:function(t){var i=e.extend({str:"…",autoUpdate:!1,trim:!0,title:!1,className:void 0,wholeWord:!1},t);return n?this:this.each((function(){var t=e(this),n=t.clone(),l=t.clone(),d=t.text(),a=t.width(),h=0,s=0,r=d.length;t.after(n.hide().css({position:"absolute",width:"auto",overflow:"visible","max-width":"inherit","min-width":"inherit"}));if(n.width()>a){for(;h<r;){s=Math.floor(h+(r-h)/2);n.empty().append(o(l.get(0),s,i)).append(i.str);n.width()<a?h=s+1:r=s}if(h<d.length){t.empty().append(o(l.get(0),h-1,i)).append(i.str);i.title&&t.attr("title",d);i.className&&t.addClass(i.className)}}n.remove();i.autoUpdate&&setInterval((function(){if(a!==t.width()){t.replaceWith(l);l=(t=l).clone();t.textOverflow(e.extend({},i,{autoUpdate:!1}));a=t.width()}}),200)}))}})}(jQuery); 4031}catch(e){WRMCB(e)}; 4032; 4033try { 4034/* module-key = 'jira.webresources:jquery-plugin-isdirty', location = '/includes/jquery/plugins/isdirty/isDirty.js' */ 4035define("jira/jquery/plugins/isdirty",["jira/util/logger","jira/util/formatter","jira/util/events","jira/util/browser","jquery"],(function(e,r,n,t,i){var a="ajs-dirty-warning-exempt",o="ajs-dirty-warning-whitelist",s="ajs-dirty-warning-by-default",u="ajs-dirty-warning-subsequent-submits-allowed",l=!1,f="You have entered new data on this page. If you navigate away from this page without first saving your data, the changes will be lost.",d=f;i.fn.isDirty=function(){for(var e=this.find("*").andSelf().filter(":input"),r=0;r<e.length;r++)if(h(e[r]))return!0;return!1};i.fn.removeDirtyWarning=function(){i(this.form||this).closest("form").addClass(a);return this};n.bind("page-unload.location-change.from-dialog",(function(){window.onbeforeunload=function(){}}));n.bind("page-unload.refresh.from-dialog",(function(){d="The data in the dialog box was successfully submitted, although this page requires a refresh to display the results.\n\nYou had entered new data on the page before you opened the dialog box. If you continue, your page data will be lost."}));function c(){var e=d;d=f;return"***\n\n"+e+"\n\n***"}var g={getInputsToCheck:function(){return i("input[type='text'], textarea[name], ."+o)},getDirtyWarning:function(){for(var e=g.getInputsToCheck(),r=0,n=e.size();r<n;r++)if(!l&&h(e[r]))return c();l&&(l=!1)},ClassNames:{SANCTIONED:o,EXEMPT:a,BY_DEFAULT:s,SUBSEQUENT_SUBMITS_ALLOWED:u}};t.isSelenium()||(window.onbeforeunload=g.getDirtyWarning);function h(e){var r=i(e),n=i(e.form),t=e.type;if(n.hasClass(a)||r.hasClass(a))return!1;if(n.hasClass(s))return!0;
4035if(r.is(":hidden")&&!r.hasClass(o))return!1;if(!r.parent().length)return!1;if(n.has(".error, .errMsg, .errorMessage, .errLabel, .ajaxerror").length>0||n.prev(".error").length>0||n.children(".error").length>0)return!0;if(("hidden"===t||"submit"===t||"button"===t)&&!r.hasClass(o))return!1;if("select-one"===t||"select-multiple"===t){for(var u=e.options,l=0;l<u.length;l++){var f=u[l];if(f.selected!==f.defaultSelected)return!0}return!1}return"checkbox"===t||"radio"===t?e.checked!==e.defaultChecked:e.value!==e.defaultValue}i(document).delegate("form","submit",(function(){var e=i(this);(function(e){return e.parents(".jira-dialog.jira-dialog-open, .jira-dialog2.jira-dialog-open").length<=0})(e)&&!function(e){return e.hasClass(u)}(e)&&(l=!0)}));i((function(){i(".cancel").bind("click",m)}));i((function(){i("#cancelButton").bind("mousedown keydown click",m)}));function m(){e.log("the cancel event on forms is deprecated");i(this.form||this).closest("form").trigger("cancel")}return g}));AJS.namespace("JIRA.DirtyForm",null,require("jira/jquery/plugins/isdirty")); 4036}catch(e){WRMCB(e)}; 4037; 4038try { 4039/* module-key = 'jira.webresources:messages', location = '/includes/jira/common/messages.soy' */ 4040// This file was automatically generated from messages.soy. 4041// Please don't edit this file by hand. 4042 4043/** 4044 * @fileoverview Templates in namespace JIRA.Templates.Messages. 4045 */ 4046 4047if (typeof JIRA == 'undefined') { var JIRA = {}; } 4048if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4049if (typeof JIRA.Templates.Messages == 'undefined') { JIRA.Templates.Messages = {}; } 4050 4051 4052JIRA.Templates.Messages.warningMsg = function(opt_data, opt_ignored) { 4053 return '<div class="aui-message aui-message-warning ' + ((opt_data.closeable) ? 'closeable' : '') + '">' + soy.$$filterNoAutoescape(opt_data.msg) + ((opt_data.closeable) ? '<button type="button" class="aui-close-button" aria-label="' + soy.$$escapeHtml('Close') + '"></button>' : '') + '</div>'; 4054}; 4055if (goog.DEBUG) { 4056 JIRA.Templates.Messages.warningMsg.soyTemplateName = 'JIRA.Templates.Messages.warningMsg'; 4057} 4058 4059 4060JIRA.Templates.Messages.successMsg = function(opt_data, opt_ignored) { 4061 return '<div class="aui-message aui-message-success ' + ((opt_data.closeable) ? 'closeable' : '') + '">' + soy.$$filterNoAutoescape(opt_data.msg) + ((opt_data.closeable) ? '<button type="button" class="aui-close-button" aria-label="' + soy.$$escapeHtml('Close') + '"></button>' : '') + '</div>'; 4062}; 4063if (goog.DEBUG) { 4064 JIRA.Templates.Messages.successMsg.soyTemplateName = 'JIRA.Templates.Messages.successMsg'; 4065} 4066 4067 4068JIRA.Templates.Messages.errorMsg = function(opt_data, opt_ignored) { 4069 return '<div class="aui-message aui-message-error ' + ((opt_data.closeable) ? 'closeable' : '') + '">' + soy.$$filterNoAutoescape(opt_data.msg) + ((opt_data.closeable) ? '<button type="button" class="aui-close-button" aria-label="' + soy.$$escapeHtml('Close') + '"></button>' : '') + '</div>'; 4070}; 4071if (goog.DEBUG) { 4072 JIRA.Templates.Messages.errorMsg.soyTemplateName = 'JIRA.Templates.Messages.errorMsg'; 4073} 4074 4075 4076JIRA.Templates.Messages.infoMsg = function(opt_data, opt_ignored) { 4077 return '<div class="aui-message aui-message-info ' + ((opt_data.closeable) ? 'closeable' : '') + '">' + soy.$$filterNoAutoescape(opt_data.msg) + ((opt_data.closeable) ? '<button type="button" class="aui-close-button" aria-label="' + soy.$$escapeHtml('Close') + '"></button>' : '') + '</div>'; 4078}; 4079if (goog.DEBUG) { 4080 JIRA.Templates.Messages.infoMsg.soyTemplateName = 'JIRA.Templates.Messages.infoMsg'; 4081} 4082 4083}catch(e){WRMCB(e)}; 4084; 4085try { 4086/* module-key = 'jira.webresources:messages', location = '/includes/jira/common/messages_deprecated.soy' */ 4087// This file was automatically generated from messages_deprecated.soy. 4088// Please don't edit this file by hand. 4089 4090/** 4091 * @fileoverview Templates in namespace JIRA.Templates. 4092 */ 4093 4094if (typeof JIRA == 'undefined') { var JIRA = {}; } 4095if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4096 4097 4098JIRA.Templates.warningMsg = function(opt_data, opt_ignored) { 4099 return '' + JIRA.Templates.Messages.warningMsg(opt_data); 4100}; 4101if (goog.DEBUG) { 4102 JIRA.Templates.warningMsg.soyTemplateName = 'JIRA.Templates.warningMsg'; 4103} 4104 4105 4106JIRA.Templates.successMsg = function(opt_data, opt_ignored) { 4107 return '' + JIRA.Templates.Messages.warningMsg(opt_data); 4108}; 4109if (goog.DEBUG) { 4110 JIRA.Templates.successMsg.soyTemplateName = 'JIRA.Templates.successMsg'; 4111} 4112 4113 4114JIRA.Templates.errorMsg = function(opt_data, opt_ignored) { 4115 return '' + JIRA.Templates.Messages.warningMsg(opt_data); 4116}; 4117if (goog.DEBUG) { 4118 JIRA.Templates.errorMsg.soyTemplateName = 'JIRA.Templates.errorMsg'; 4119} 4120 4121 4122JIRA.Templates.infoMsg = function(opt_data, opt_ignored) { 4123 return '' + JIRA.Templates.Messages.warningMsg(opt_data); 4124}; 4125if (goog.DEBUG) { 4126 JIRA.Templates.infoMsg.soyTemplateName = 'JIRA.Templates.infoMsg'; 4127} 4128 4129}catch(e){WRMCB(e)}; 4130; 4131try { 4132/* module-key = 'jira.webresources:messages', location = '/includes/jira/common/flag.js' */ 4133define("jira/flag",["jira/util/logger","aui/flag","jira/data/session-storage","jira/ajs/ajax/smart-ajax","underscore","jquery","wrm/data","wrm/context-path"],(function(s,e,t,i,n,a,r,o){"use strict";var u={type:"info",title:"",body:""},c={success:{close:"auto"}},f=n.once((function(){return(r.claim("com.atlassian.jira.jira-header-plugin:dismissedFlags.flags")||{}).dismissed||[]}));function d(){return JSON.parse(t.getItem("dismissedFlags"))||[]}function l(e){!function(s){var e=d();if(!n.contains(e,s)){e.push(s);try{t.setItem("dismissedFlags",JSON.stringify(e))}catch(s){}}}(e);
4133i.makeRequest({type:"PUT",url:o()+"/rest/flags/1.0/flags/"+encodeURIComponent(e)+"/dismiss"}).done((function(){!function(s){var e=n.without(d(),s);try{t.setItem("dismissedFlags",JSON.stringify(e))}catch(s){}}(e)})).always((function(){s.trace("flag.dismiss.finished:"+e)}))}function g(s,t,i){i=i||{};var r=n.extend({},u,c[i.type],i,{title:s||"",body:t||""}),o=r.dismissalKey;if(o&&n.contains(n.union(f(),d()),o))return!1;var g=e(r);if(o){g.dismiss=function(){l(o)};g.addEventListener("aui-flag-close",g.dismiss)}else g.dismiss=function(){};var m=a(g).find(".title");""===a.trim(m.text())&&m.remove();return g}var m=d();setTimeout((function(){n.each(m,l)}),1e3);return{showMsg:g,showMessages:function(s){s.forEach((function(s){g(s.title,s.htmlMessage,{close:s.auiClosingPolicy,type:s.auiMessageType})}))},showInfoMsg:g,showErrorMsg:function(s,e,t){return g(s,e,n.extend({},t,{type:"error"}))},showWarningMsg:function(s,e,t){return g(s,e,n.extend({},t,{type:"warning"}))},showSuccessMsg:function(s,e,t){return g(s,e,n.extend({},t,{type:"success"}))}}})); 4134}catch(e){WRMCB(e)}; 4135; 4136try { 4137/* module-key = 'jira.webresources:messages', location = '/includes/jira/common/messages.js' */ 4138define("jira/message/templates",["underscore"],(function(e){"use strict";var t=JIRA.Templates.Messages;return e.extend({WARNING:t.warningMsg,ERROR:t.errorMsg,SUCCESS:t.successMsg,INFO:t.infoMsg},t)}));define("jira/message",["jira/flag","jquery","jira/message/templates","jira/data/local-storage"],(function(e,t,s,r){"use strict";var a=10;function o(e,s){var r,o=(s=s||{}).type({msg:e,closeable:s.closeable}),n=t("<div>").html(o),i=null!=s.timeout?s.timeout:a;s.closeable&&n.find(".aui-close-button").click((function(e){e.preventDefault();null!=r&&window.clearTimeout(r);n.remove()}));i>0&&(r=window.setTimeout((function(){n.fadeOut((function(){n.remove()}))}),1e3*i));return n}function n(e,t){return o(e,t=t||{}).prependTo(t.target)}var i=function(){var e="jira.messages.reloadMessageMsg",a="jira.messages.reloadMessageType",o="jira.messages.reloadMessageCloseable",i="jira.messages.reloadMessageTarget";t((function(){var g,c,l,f=r.getItem(e);if(f){g=r.getItem(a);c="true"===r.getItem(o)||!0===r.getItem(o);l=r.getItem(i);r.removeItem(e);r.removeItem(a);r.removeItem(o);r.removeItem(i);var m={WARNING:{soyTemplate:s.warningMsg,auiType:"warning"},ERROR:{soyTemplate:s.errorMsg,auiType:"error"},SUCCESS:{soyTemplate:s.successMsg,auiType:"success"},INFO:{soyTemplate:s.infoMsg,auiType:"info"}};!l||t(l).is(document.body)?u(f,{type:m[g].auiType,closeable:c}):n(f,{type:m[g].soyTemplate,closeable:c,target:t(l)})}}));return function(t,s){try{r.setItem(e,t);r.setItem(a,s.type)}catch(e){}if(s.closeable)try{r.setItem(o,s.closeable)}catch(e){}if(s.target)try{r.setItem(i,s.target)}catch(e){}}}();function u(s,r){var a={};r=r||{};a.type=r.type;void 0===r.timeout?!1===r.closeable&&(a.close="auto"):r.timeout>0?a.close="auto":!1===r.closeable?a.close="never":a.close="manual";r.ariaLabel&&(a.ariaLabel=r.ariaLabel);var o=t(e.showMsg("",s,a));r.id&&o.attr("id",r.id);return o}function g(e,s){var r=t(e);s=s||{};r.css("backgroundColor","#fff").animate({backgroundColor:s.backgroundColor||"#ffd"});window.setTimeout((function(){r.animate({backgroundColor:"#fff"},"slow",(function(){r.css("backgroundColor","")}))}),3e3)}var c=function(){var e="jira.messages.fadeInBackground.color",s="jira.messages.fadeInBackground.target";t((function(){var t=r.getItem(e),a=r.getItem(s);r.removeItem(e);r.removeItem(s);g(a,{backgroundColor:t})}));return function(t,a){a=a||{};var o=r.getItem(s);if(o){(o=o.split(",")).push(t);o=o.join(",")}else o=t;try{r.setItem(s,o);r.setItem(e,a.backgroundColor||"#ffd")}catch(e){}}}(),l={Types:s,DefaultTimeout:10,buildMsg:o,showMsg:u,showMessageAtTarget:n,showMsgOnReload:i,fadeInBackground:g,fadeInBackgroundOnReload:c,showErrorMsg:function(e,s){return u(e,t.extend({},s,{type:"error"}))},showWarningMsg:function(e,s){return u(e,t.extend({},s,{type:"warning"}))},showSuccessMsg:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(e,t?{...t,type:"success"}:{type:"success"})},showInfoMsg:function(e,s){return u(e,t.extend({},s,{type:"info"}))},showReloadErrorMsg:function(e,t){(t=t||{}).type="ERROR";return i(e,t)},showReloadWarningMsg:function(e,t){(t=t||{}).type="WARNING";return i(e,t)},showReloadSuccessMsg:function(e,t){(t=t||{}).type="SUCCESS";return i(e,t)},showReloadInfoMsg:function(e,t){(t=t||{}).type="INFO";return i(e,t)}},f={removeInVersion:"8.0",alternativeName:"jira/flag",sinceVersion:"6.4"};AJS.deprecate.prop(l,"showMsg",f);AJS.deprecate.prop(l,"showErrorMsg",f);AJS.deprecate.prop(l,"showWarningMsg",f);AJS.deprecate.prop(l,"showSuccessMsg",f);return l}));AJS.namespace("JIRA.Messages",null,require("jira/message"));!function(){"use strict";var e=require("jira/message/templates"),t=require("jira/message"),s=require("jquery");
4138s.fn.fadeInBackground=function(e){t.fadeInBackground(this,e);return this};s.fn.showErrorMsg=function(s,r){(r=r||{}).target=this;r.type=e.errorMsg;return t.showMessageAtTarget(s,r)};s.fn.showWarningMsg=function(s,r){(r=r||{}).target=this;r.type=e.warningMsg;return t.showMessageAtTarget(s,r)};s.fn.showSuccessMsg=function(s,r){(r=r||{}).target=this;r.type=e.successMsg;return t.showMessageAtTarget(s,r)};s.fn.showInfoMsg=function(s,r){(r=r||{}).target=this;r.type=e.infoMsg;return t.showMessageAtTarget(s,r)}}(); 4139}catch(e){WRMCB(e)}; 4140; 4141try { 4142/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.16d1263174', location = 'aui.chunk.64bb618f913fea7f7675--d124ec23d20f21301198.js' */ 4143"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6158],{849:(e,n,i)=>{i.r(n);var t=i(6311),s=(i(3460),i(6249)),a=i(1005);t.default.fn.spin=(0,a.fn)((function(e,n){let i={size:"small"};return"object"==typeof n&&(i=t.default.extend(i,n)),"object"==typeof e&&(i=t.default.extend(i,e)),"string"==typeof e&&(i.size=e),"boolean"==typeof e&&!1===e?this.spinStop():this.each((function(){if(!this||!this.nodeType)return;const e=(0,t.default)(this),n=e.data();if(n){const a=(0,t.default)("<aui-spinner filled></aui-spinner>");a.attr("size",i.size),a.css("color",i.color),e.spinStop(),e.append(a),s.default.init(this),n.spinner=a}}))}),"jQuery.fn.spin",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",alternativeName:"<aui-spinner>"}),t.default.fn.spinStop=(0,a.fn)((function(){return this.each((function(){if(!this||!this.nodeType)return;const e=(0,t.default)(this).data();e&&e.spinner&&(e.spinner.remove(),delete e.spinner)}))}),"jQuery.fn.spinStop",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",alternativeName:"<aui-spinner>"})}}]); 4144}catch(e){WRMCB(e)}; 4145; 4146try { 4147/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.behaviour.jquery-spin', location = 'aui.chunk.e725a3f7ab6c138bba3f--c7e6fab0a944318801e5.js' */ 4148"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[4465],{5891:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(849);const i="jquery"}},u=>{u.O(0,[8658,2262,4496,5131,2178,3447,1661,5907,1545,6158],(()=>{return a=5891,u(u.s=a);var a}));u.O()}]); 4149}catch(e){WRMCB(e)}; 4150; 4151try { 4152/* module-key = 'jira.webresources:jira-dialog-core-stack', location = '/includes/jira/dialog/DialogStack.js' */ 4153define("jira/dialog/dialog-stack",[],(function(){"use strict";var e=void 0,t=void 0,r=void 0,i={};Object.defineProperty(i,"current",{get:function(){return e},set:function(t){e=t}});Object.defineProperty(i,"stackroot",{get:function(){return t},set:function(e){t=e}});Object.defineProperty(i,"originalWindowTitle",{get:function(){return r},set:function(e){r=e}});i.currentDeprecationMsg="[deprecated] migrate to AUI dialog2 or use `current` prop from `jira/dialog/dialog-stack` module";return i})); 4154}catch(e){WRMCB(e)}; 4155; 4156try { 4157/* module-key = 'jira.webresources:jira-dialog-core', location = '/includes/jira/dialog/DialogFactory.js' */ 4158define("jira/dialog/dialog-factory",{}); 4159}catch(e){WRMCB(e)}; 4160; 4161try { 4162/* module-key = 'jira.webresources:jira-dialog-core', location = '/includes/jira/dialog/DialogRegister.js' */ 4163define("jira/dialog/dialog-register",{}); 4164}catch(e){WRMCB(e)}; 4165; 4166try { 4167/* module-key = 'jira.webresources:jira-dialog-core', location = '/includes/jira/dialog/Dialog.js' */ 4168function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}define("jira/dialog/dialog",["require"],(function(t){"use strict";var i=t("jira/dialog/dialog-stack"),e=t("jira/ajs/control"),o=t("jira/ajs/layer/inline-layer"),s=t("jira/util/data/meta"),n=t("jira/ajs/ajax/smart-ajax"),r=t("jira/loading/loading"),a=t("jira/xsrf"),d=t("jira/util/browser"),h=t("jira/util/events"),l=t("jira/util/navigator"),p=t("aui/dropdown"),c=t("jquery"),u=t("jira/jquery/deferred"),g=t("jira/jquery/plugins/isdirty"),f=t("underscore"),_=t("wrm/require"),m=t("jira/util/key-code"),v=AJS.bind,y=AJS.unbind,C=AJS.dim,w=AJS.layer,D=AJS.LayerManager.global,b=e.extend({_getDefaultOptions:function(){return{height:"auto",cached:!1,widthClass:"medium",modeless:!1,ajaxOptions:{data:{inline:!0,decorator:"dialog"}},shouldFocusTitleOnLoad:!1}},init:function(t){"string"==typeof t||t instanceof c?t={trigger:t}:t&&t.width&&(t.widthClass="custom");this.classNames=b.ClassNames;this.OPEN_DIALOG_SELECTOR="."+this.classNames.DIALOG+"."+this.classNames.DIALOG_OPEN;this.options=c.extend(!0,this._getDefaultOptions(),t);this.options.width=b.WIDTH_PRESETS[this.options.widthClass]||t.width;this._setType();if(this.options.trigger){var i=c.makeArray(this.options.trigger),e=this;c.each(i,(function(t,i){e._assignEvents("trigger",i)}))}this.onContentReadyCallbacks=[];this.initModeless();this.defineResources();this.options.prefetchResources&&this.downloadResources()},_setType:function(){"function"==typeof this.options.content?this.options.type="builder":this.options.content instanceof c||"object"===_typeof(this.options.content)&&this.options.nodeName?this.options.type="element":(!this.options.type&&!this.options.content||"object"===_typeof(this.options.content)&&this.options.content.url)&&(this.options.type="aja
4168x")},_handleFocusOnLoad:function(){this.options.shouldFocusTitleOnLoad?this.focusTitle():this.focusFirstInteractiveElement()},initModeless:function(){this.options.modeless=!!this.options.modeless;if(this.options.modeless){!1===this.options.windowTitle&&(this.options.windowTitle=document.title);this._temporarilyHidden=!1;this._auiDialogShowHandler=this._auiDialogHandlers.hideTemporarily.bind(this);this._auiDialogHideHandler=this._auiDialogHandlers.restoreVisibility.bind(this);this._auiDialogRemoveHandler=this._auiDialogHandlers.restoreVisibilityRebindable.bind(this);v("show.dialog",this._auiDialogShowHandler);v("hide.dialog",this._auiDialogHideHandler);v("remove.dialog",this._auiDialogRemoveHandler);if(AJS.dialog2){this._auiDialog2ShowHandler=this._auiDialog2Handlers.hideTemporarily.bind(this);this._auiDialog2HideHandler=this._auiDialog2Handlers.restoreVisibility.bind(this);AJS.dialog2.on("show",this._auiDialog2ShowHandler);AJS.dialog2.on("hide",this._auiDialog2HideHandler)}}},_runContentReadyCallbacks:function(){var t=this;c.each(this.onContentReadyCallbacks,(function(){this.call(t)}))},_setContent:function(t,e){var o;if("resolved"===this.resourcesReady().state())if(t)if(i.current===this){this.get$popup().show().css("visibility","hidden").addClass("popup-width-"+this.options.widthClass);this.$content=t;this.get$popupContent().html(t);!1!==e&&this.decorateContent&&this.decorateContent();(o=this.get$popupContent().find("."+this.classNames.HEADING_AREA)).size()>0&&this.get$popupHeading().replaceWith(o);if((o=this.get$popupContent().find("."+this.classNames.CONTENT_AREA)).size()>0){o.contents().insertAfter(o);o.remove()}this._positionInCenter();if(!1!==e){c(document).trigger("dialogContentReady",[this]);this._runContentReadyCallbacks()}this.get$popup().css("visibility","");!1!==e&&c.isFunction(this.options.onContentRefresh)&&this.options.onContentRefresh.call(this);this._onShowContent()}else!1===this.options.cached&&delete this.$content;else this._contentRetrievers[this.options.type].call(this,this._setContent);else{this._showloadingIndicator();this.resourcesReady().done(this._setContent.bind(this,t,e))}},focusFirstInteractiveElement:function(){this.get$popup().find(":focusable:not([tabindex='-1']):first").focus()},focusTitle:function(){this.get$popup().find("h2").focus()},_ellipsify:function(t){t instanceof c||(t=this.get$popup());c(".overflow-ellipsis",t).textOverflow({className:"ellipsified"})},_handleInitialDoneResponse:function(t,i,e){},getRequestUrlFromTrigger:function(){if(this.$activeTrigger&&this.$activeTrigger.length)return this.$activeTrigger.attr("href")||this.$activeTrigger.data("url")},_getRequestOptions:function(){var t={};if(!1===this._getAjaxOptionsObject())return!1;(t=c.extend(!0,t,this._getAjaxOptionsObject())).url||(t.url=this.getRequestUrlFromTrigger());return t},_getAjaxOptionsObject:function(){var t=this.options.ajaxOptions;return c.isFunction(t)?t.call(this):t},_contentRetrievers:{element:function(t){this.$content||(this.$content=c(this.options.content).clone(!0));t.call(this,this.$content)},builder:function(t){var i=this;if(!this.$content){this._showloadingIndicator();this.options.content.call(this,(function(e){i.$content=c(e);t.call(i,i.$content)}),(function(){i._hideloadingIndicator()}))}},ajax:function(t){var i,e=this;if(!this.$content){i=this._getRequestOptions();this._showloadingIndicator();this.serverIsDone=!1;i.complete=function(o,s,r){if(r.successful){var a=e._detectRedirectInstructions(o);e.serverIsDone=a.serverIsDone;if(a.redirectUrl)e._performRedirect(a.redirectUrl);else{i.dataType&&"json"===i.dataType.toLowerCase()&&e._buildContentFromJSON?e.$content=e._buildContentFromJSON(r.data):e.$content=r.data;e.serverIsDone?e._handleInitialDoneResponse(r.data,o,r):t.call(e,e.$content)}}else{var d=n.buildDialogErrorContent(r);t.call(e,d)}};n.makeRequest(i)}}},_detectRedirectInstructions:function(t){var i={serverIsDone:!1,redirectUrl:""},e=t.getResponseHeader("X-Atlassian-Dialog-Control");if(e){i.serverIsDone=!0;0===e.indexOf("redirect:")?i.redirectUrl=e.substr(9):"permissionviolation"===e&&(i.redirectUrl=window.location.href)}return i},_performRedirect:function(t){d.reloadViaWindowLocation(t)},_renders:{popupHeading:function(){return c("<div />").addClass(this.classNames.HEADING_AREA).addClass("jira-dialog-core-heading")},popupContent:function(){return c("<div />").addClass(this.classNames.CONTENT_AREA).addClass("jira-dialog-core-content")},popup:function(){return c("<div />").attr({id:this.options.id||"","aria-labelledby":(this.options.id||"dialog")+"-title",role:"dialog","aria-modal":!0}).addClass(this.classNames.DIALOG).addClass("jira-dialog-core").toggleClass(this.classNames.MODELESS_DIALOG,this.options.modeless).hide()}},_events:{trigger:{simpleClick:function(t,i){this.$activeTrigger=i;this.$activeTrigger.is("a")||(this.$activeTrigger=i.find("a"));this.show();t.preventDefault()}},container:{keydown:function(t){if(t.which===m.ESCAPE){var e=this.handleCancel();l.isIE()&&l.majorVersion()<12&&!1===e&&t.preventDefault()}t.keyCode===m.TAB&&i.current._watchTab(t)}
4168}},handleCancel:function(){return this.hide(!0,{reason:b.HIDE_REASON.escape})},_showloadingIndicator:function(){r.showLoadingIndicator()},_hideloadingIndicator:function(){r.hideLoadingIndicator()},_positionInCenter:function(){var t=c(window),i=this.get$popup(),e=this.getContentContainer(),o=this.getContentArea(),s=t.height(),n=0;"number"==typeof this.options.width&&i.width(this.options.width);if(this.options.modeless)n=Math.round(s/2);else{i.css({marginLeft:-i.outerWidth()/2,marginTop:Math.max(-i.outerHeight()/2,40-s/2)});for(var r=i[0];r;){n+=r.offsetTop;r=r.offsetParent}}var a=Math.max(s-n-40,b.CONSTRAINTS.MODELESS_MIN_HEIGHT),d=parseInt(o.css("padding-top"),10)+parseInt(o.css("padding-bottom"),10);o.css("maxHeight","");var h=a-(i.outerHeight()-e.outerHeight())-d;o.css("maxHeight",h);c(this).trigger("contentMaxHeightChanged",[h])},getContentArea:function(){return this.$popup.find(".form-body")},getContentContainer:function(){var t=this.$popup.find(".content-area-container");return 1===t.length?t:this.$popup.find(".form-body")},get$popup:function(){if(!this.$popup){this.$popup=this._render("popup").appendTo("body");this.$popup.addClass("box-shadow")}return this.$popup},bindAnchorsToDialog:function(t){var i=this;t.click((function(t){i.$activeTrigger=c(this);delete i.$content;i._setContent();t.preventDefault()}))},get$popupContent:function(){this.$popupContent||(this.$popupContent=this._render("popupContent").appendTo(this.get$popup()));return this.$popupContent},get$popupHeading:function(){this.$popupHeading||(this.$popupHeading=this._render("popupHeading").prependTo(this.get$popup()));return this.$popupHeading},getLoadingIndicator:function(){return this.get$popupContent().find(".throbber:last")},showFooterLoadingIndicator:function(){var t=this.getLoadingIndicator();t.length&&(t.data("spinner")?t.hasClass("loading")||t.addClass("loading"):t.addClass("loading").spin())},hideFooterLoadingIndicator:function(){var t=this.getLoadingIndicator();if(t.length){t.removeClass("loading");f.defer((function(){t.hasClass("loading")||t.spinStop()}))}},_watchTab:function(t){var i,e,o;if(c(t.target).parents(this.get$popupContent()).length>0){e=(i=c(':focusable:visible:not([tabindex="-1"])',this.OPEN_DIALOG_SELECTOR)).first();o=i.last();if(t.target===e[0]&&t.shiftKey||t.target===o[0]&&!t.shiftKey){t.shiftKey?o.focus():e.focus();t.preventDefault()}}},_hideCurrentInlineLayer:function(){o.current&&o.current.hide()},_hideCurrentAuiDropdown:function(){p.current&&p.current.hide()},_show:function(t){this._hideCurrentInlineLayer();this._hideCurrentAuiDropdown();var e=i.current;if(e){var o;if(e.options.stacked){(o=e).stacked=!0;o.hide(!1);this.prev=o}else{i.stackroot=this;var s=i.current;o=s._removeStackState();s.hide(!1);for(;o;){o=(s=o)._removeStackState();s._destroyIfNecessary()}}}else if(!0!==this.stacked){i.stackroot=this;i.originalWindowTitle=document.title}this.options.modeless||(this.prev&&this.prev.options.modeless||!0!==this.stacked)&&C(!1);i.current=this;var n=this.get$popup().addClass(this.classNames.DIALOG_OPEN);if(t||"blank"!==this.options.type&&!this.$content&&!0!==this.stacked){delete this.$content;this._setContent()}else{n.show();this._positionInCenter();this._onShowContent()}this._assignEvents("container",document);c(this).trigger("Dialog.show",[this.$popup,this,this.id]);h.trigger("Dialog.show",[this.$popup,this,this.id]);this.options.modeless||d.disableKeyboardScrolling();this._handleFocusOnLoad();this.stacked=!1},show:function(t){var e=this.options.delayShowUntil,o=this;if(i.current===this)return!1;var s=new c.Event("beforeShow"),n=new c.Event("beforeShow");c(this).trigger(s);h.trigger(n,[this.options.id]);if(s.isDefaultPrevented()||n.isDefaultPrevented())return!1;this.downloadResources();if(e){var r=e();if("resolved"===r.state())o._show(t);else{this.options.modeless||C(!1);this._showloadingIndicator();r.done((function(){o._show(t)}))}}else o._show(t)},_setWindowTitle:function(){var t,i,e=this.options.windowTitle,o=this.get$popup();if(!1!==e){"string"==typeof e?t=e:"function"==typeof e?t=e.call(this):(i=o.find("."+this.classNames.HEADING_AREA)).length&&(t=i.text());if(t){var n=s.get("app-title"),r=[t];n&&r.push(n);document.title=r.join(" - ")}}},_onShowContent:function(){this._setWindowTitle();this._hideloadingIndicator();this._ellipsify();this.get$popup().addClass(this.classNames.CONTENT_READY)},_resetWindowTitle:function(){if(!0!==this.stacked&&i.stackroot===this&&i.originalWindowTitle){document.title!==i.originalWindowTitle&&(document.title=i.originalWindowTitle);i.originalWindowTitle=void 0}},notifyOfNewContent:function(){if(this.$content){this.decorateContent();this._positionInCenter();this._onShowContent();c(document).trigger("dialogContentReady",[this])}},destroy:function(){if(this.options.modeless){if(AJS.dialog2){AJS.dialog2.off("show",this._auiDialog2ShowHandler);AJS.dialog2.off("hide",this._auiDialog2HideHandler);delete this._auiDialog2ShowHandler;delete this._auiDialog2HideHandler}y("show.dialog",this._auiDialogShowHandler);y("hide.dialog",this._auiDialogHideHandler);y("remove.dialog",this._auiDialogRemoveHandler);delete this._auiDialogShowHandler;delete this._auiDialogHideHandler;delete this._auiDialogRemoveHandler}this.$popup&&this.$popup.remove();delete this.$popup;delete this.$popupContent;delete this.$popupHeading;delete this.$content},_destroyIfNecessary:function(){!this.options.cached&&this.destroy()},_removeStackState:function(){var t=this.prev;delete this.prev;delete this.stacked;return t},isCurrent:function(){return i.current===this},hide:function(t,e){if(i.current===this){var o=new c.Event("Dialog.beforeHide"),s=new c.Event("Dialog.beforeHide");e=e||{};h.trigger(o,[this.$popup,e.reason,this.options.id]);c(this).trigger(s,[this.$popup,e.reason,this.options.id]);if(o.isDefaultPrevented()||s.isDefaultPrevented())return!1;this._updateXSRFToken();(!1!==t&&!this.prev&&!this.options.modeless||this.prev&&this.prev.options.modeless)&&AJS.undim();this.get$popup().removeClass(this.classNames.DIALOG_OPEN).removeClass(this.classNames.CONTENT_READY).hide();this._hideloadingIndicator();this._resetWindowTitle();this._unassignEvents("container",document);c(document).trigger("hideAllLayers",[this.$popup,e.reason,this.options.id]);c(this).trigger("Dialog.hide",[this.$popup,e.reason,this.options.id]);h.trigger("Dialog.hide",[this.$popup,e.reason,this.options.id]);i.current=null;!1===this.options.cached&&!0!==this.stacked&&this.destroy();this.options.modeless||d.enableKeyboardScrolling();if(!0!==this.stacked)if(this.prev){this.prev.show(!!this.prev.options.reloadOnPop);delete this.prev}else i.stackroot===this&&(i.stackroot=void 0)}},_updateXSRFToken:function(){var t=c("input[name=atl_token]",this.OPEN_DIALOG_SELECTOR).attr("value");void 0!==t&&a.updateTokenOnPage(t)}
4168,addHeading:function(t){var i=c("<div />").html(t).contents(),e=c("<h2 tabindex='-1' />");e.attr("id",(this.options.id||"dialog")+"-title");var o=[];i.each((function(){"div"===this.nodeName.toLowerCase()?o.push(this):e.append(this)}));this.get$popupHeading().html(o).prepend(e)},onContentReady:function(t){c.isFunction(t)&&this.onContentReadyCallbacks.push(t)},_auiDialogHandlers:{hideTemporarily:function(){this._temporarilyHidden||this._hideTemporarily()},restoreVisibility:function(){if(this._temporarilyHidden){var t=D.getTopOpenLayer(),i=!!t&&w(t);i&&i.isVisible()&&i.isBlanketed()||this._restoreVisibility()}},restoreVisibilityRebindable:function(t,i){this._restoreVisibility(t,i);setTimeout(function(){v("remove.dialog",this._auiDialogRemoveHandler)}.bind(this),0)}},_auiDialog2Handlers:{hideTemporarily:function(){this._temporarilyHidden||this._hideTemporarily()},restoreVisibility:function(){if(this._temporarilyHidden&&(!AJS.popup.current||!AJS.popup.current.element.is(":visible"))){AJS.LayerManager.global.getTopOpenLayer()||this._restoreVisibility()}}},_hideTemporarily:function(){this.get$popup().addClass(this.classNames.DIALOG_NOT_VISIBLE);this._temporarilyHidden=!0},_restoreVisibility:function(){this.get$popup().removeClass(this.classNames.DIALOG_NOT_VISIBLE);this._temporarilyHidden=!1},defineResources:function(){f.isFunction(this.options.defineResources)&&this.options.defineResources.call(this)},requireContext:function(t){this.requireResource(t,"wrc!")},requireResource:function(t,i){this.wrmResources=this.wrmResources||[];this.wrmResources.push((i||"wr!")+t)},getRequiredResources:function(){return this.wrmResources||[]},downloadResources:function(){this.getRequiredResources().length>0&&!this.deferredResources&&(this.deferredResources=_(this.getRequiredResources()))},resourcesReady:function(){return this.deferredResources?this.deferredResources.promise():(new u).resolve().promise()}});b.fn.dirtyFormWarning=function(){return this.bind("Dialog.beforeHide",(function(t,i,e){if(!t.isDefaultPrevented()&&(e===b.HIDE_REASON.cancel||e===b.HIDE_REASON.escape)){var o=g.getDirtyWarning();o&&!confirm(o)&&t.preventDefault()}}))};b.ClassNames={DIALOG:"jira-dialog",HEADING_AREA:"jira-dialog-heading",CONTENT_AREA:"jira-dialog-content",DIALOG_OPEN:"jira-dialog-open",CONTENT_READY:"jira-dialog-content-ready",MODELESS_DIALOG:"jira-dialog-modeless",DIALOG_NOT_VISIBLE:"jira-dialog-not-visible"};b.WIDTH_PRESETS={small:360,medium:540,large:810};b.CONSTRAINTS={MODELESS_MIN_HEIGHT:240};b.HIDE_REASON={cancel:"cancel",escape:"esc",submit:"submit"};Object.defineProperty(b,"current",{get:function(){console.warn(i.currentDeprecationMsg);return i.current},set:function(t){console.warn(i.currentDeprecationMsg);i.current=t}});return b}));AJS.namespace("AJS.FlexiPopup",null,require("jira/dialog/dialog"));AJS.namespace("JIRA.Dialog",null,require("jira/dialog/dialog")); 4169}catch(e){WRMCB(e)}; 4170; 4171try { 4172/* module-key = 'com.atlassian.auiplugin:split_aui.component.dialog2', location = 'aui.chunk.92a050c9e07d881596d1--de4858ab4a3b79a94171.js' */ 4173"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[9245],{8106:(e,t,i)=>{i.r(t),i.d(t,{dialog2:()=>b});i(7163);var a=i(6311),o=i(1415),n=i(9392),s=i(2496),u=i(6087),r=i(2390),l=i(9506),d=i(1005);const c={"aui-focus":"false","aui-blanketed":"true"};function f(e){var t;this._handlers=new WeakMap,this.$el=e?(0,a.default)(e):(0,a.default)(`\n <section role="dialog" aria-modal="true" class="aui-layer aui-dialog2 aui-dialog2-medium">\n <header class="aui-dialog2-header">\n <h2 class="aui-dialog2-header-main"></h2>\n ${l.CLOSE_BUTTON}\n </button>\n </header>\n <div class="aui-dialog2-content"></div>\n <footer class="aui-dialog2-footer"></footer>\n </section>`),this.$header=this.$el.find(".aui-dialog2-header"),this.$content=this.$el.find(".aui-dialog2-content"),this.$footer=this.$el.find(".aui-dialog2-footer"),t=this.$el,a.default.each(c,(function(e,i){const a="data-"+e;t[0].hasAttribute(a)||t.attr(a,i)}))}f.prototype.on=function(e,t){const i=this.$el;if(!this._handlers.get(t)){const a=function(e){e.target===i.get(0)&&t.apply(this,arguments)};(0,s.default)(i).on(e,a),this._handlers.set(t,a)}return this},f.prototype.off=function(e,t){const i=this.$el,a=this._handlers.get(t);return a&&((0,s.default)(i).off(e,a),this._handlers.delete(t)),this},f.prototype.show=function(){return(0,s.default)(this.$el).show(),this},f.prototype.hide=function(){return(0,s.default)(this.$el).hide(),this},f.prototype.remove=function(){return(0,s.default)(this.$el).remove(),this},f.prototype.isVisible=function(){return(0,s.default)(this.$el).isVisible()};var h=(0,u.default)("dialog2",f),g=new Set;h.on=function(e,t){return g.has(t)||(s.default.on(e,".aui-dialog2",t),g.add(t)),this},h.off=function(e,t){return g.has(t)&&(s.default.off(e,".aui-dialog2",t),g.delete(t)),this},(0,a.default)(document).on("click keydown",`.aui-dialog2-header ${l.CLOSE_BUTTON_CLASS_SELECTOR}`,(function(e){("click"===e.type||e.keyCode===r.default.ENTER||e.keyCode===r.default.SPACE)&&(e.preventDefault(),h((0,a.default)(e.target).closest(".aui-dialog2")).hide())})),h.on("show",(function(e,t){!function(e){const t=e.querySelector(l.CLOSE_BUTTON_CLASS_SELECTOR);t&&(d.getMessageLogger(`Dialog2 [${l.CLOSE_BUTTON_CLASS_SELECTOR}]`,{removeInVersion:"10.0.0",sinceVersion:"9.6.0",extraInfo:"Replace it with another actionable element inside your Dialog which will trigger closing of the modal.",deprecationType:"MARKUP"})(),t.setAttribute("tabindex","0"));e.setAttribute("tabindex","-1");const i=e.hasAttribute("data-aui-focus-selector");i&&d.getMessageLogger("Dialog2 [data-aui-focus-selector] attribute",{removeInVersion:"10.0.0",alternativeName:"initialisation on DOM insertion",
4173sinceVersion:"9.6.0",extraInfo:"Replace [data-aui-focus-selector] attribute with HTML [autofocus] attribute",deprecationType:"ATTRIBUTE"})();const a=e.querySelector("[autofocus]");if(a)return document.activeElement.blur(),void setTimeout((()=>a.focus()),0);if(i){const t=e.querySelector(i);if(t)return t.blur(),void setTimeout((()=>t.focus()),0)}const o=[...e.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter((e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")));if(o.length){let e=o.shift();return e.classList.contains(l.CLOSE_BUTTON_CLASS)&&(e=o.shift()),void(e&&(e.blur(),setTimeout((()=>e.focus()),0)))}e.focus()}(t[0])})),h.on("hide",(function(e,t){const i=(0,s.default)(t);t.data("aui-remove-on-hide")&&i.remove()})),(0,o.default)("aui/dialog2",h),(0,n.default)("dialog2",h);const b=h}},e=>{e.O(0,[8658,4496,1263,5131,2178,3447,9146,1661,5828,9121,8574,2016,1646,8235,2323,6534,9869,6843,700,9610,7794,8308,8072],(()=>{return t=8106,e(e.s=t);var t}));e.O()}]); 4174}catch(e){WRMCB(e)}; 4175; 4176try { 4177/* module-key = 'jira.webresources:jira-dialog-core-2', location = '/includes/jira/dialog/Dialog2.js' */ 4178function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}define("jira/dialog/dialog2",["require"],(function(t){"use strict";var e=t("jira/dialog/dialog-stack"),i=t("aui/dialog2"),n=t("jira/ajs/control"),o=t("jira/ajs/layer/inline-layer"),s=t("jira/util/data/meta"),a=t("jira/ajs/ajax/smart-ajax"),r=t("jira/loading/loading"),c=t("jira/xsrf"),d=t("jira/util/browser"),h=t("jira/util/events"),l=t("aui/dropdown"),p=t("jquery"),u=t("jira/jquery/deferred"),g=t("jira/jquery/plugins/isdirty"),f=t("underscore"),m=t("wrm/require"),_=t("jira/util/key-code"),v=t("jira/util/formatter"),C=AJS.dim,R=AJS.LayerManager.global,y=n.extend({_getDefaultOptions:function(){return{cached:!1,widthClass:"medium",ajaxOptions:{data:{inline:!0,decorator:"dialog"}}}},init:function(t){"string"==typeof t||t instanceof p?t={trigger:t}:t&&t.width&&(t.widthClass="custom");this.classNames=y.ClassNames;this.OPEN_DIALOG_SELECTOR=y.getSelector("DIALOG")+y.getSelector("DIALOG_OPEN");this.options=p.extend(!0,this._getDefaultOptions(),t);this.options.width=y.WIDTH_PRESETS[this.options.widthClass]||t.width;this._setType();if(this.options.trigger){var e=p.makeArray(this.options.trigger),i=this;p.each(e,(function(t,e){i._assignEvents("trigger",e)}))}this.onContentReadyCallbacks=[];this.defineResources();this.options.prefetchResources&&this.downloadResources()},_setType:function(){"function"==typeof this.options.content?this.options.type="builder":this.options.content instanceof p||"object"===_typeof(this.options.content)&&this.options.nodeName?this.options.type="element":(!this.options.type&&!this.options.content||"object"===_typeof(this.options.content)&&this.options.content.url)&&(this.options.type="ajax")},_getDialogSelector:function(){if(!this.options.id){this.options.id="new-dialog-id";this.get$popup().attr("id",this.options.id)}return"#".concat(this.options.id)},_runContentReadyCallbacks:function(){var t=this;p.each(this.onContentReadyCallbacks,(function(){this.call(t)}))},setContent:function(t,i){var n;if("resolved"===this.resourcesReady().state())if(t)if(e.current===this){this.$content=t;this.get$popupContent().html(t);!1!==i&&this.decorateContent&&this.decorateContent();if(this.get$popup().find(".".concat(this.classNames.FOOTER_AREA)).length)this.get$popupContent().find(".".concat(this.classNames.FOOTER_AREA)).length&&this.get$popup().append(this.get$popupContent().find(".".concat(this.classNames.FOOTER_AREA)));else{var o=this.get$popup().find(".buttons");this.moveFooterToDialog2(o)}(n=this.get$popupContent().find(".".concat(this.classNames.HEADING_AREA.split(" ").join(".")))).size()>0&&this.get$popupHeading().replaceWith(n);if((n=this.get$popupContent().find(".".concat(this.classNames.CONTENT_AREA.split(" ").join(".")))).size()>0){n.contents().insertAfter(n);n.remove()}if(!1!==i){p(document).trigger("dialogContentReady",[this]);this._runContentReadyCallbacks()}!1!==i&&p.isFunction(this.options.onContentRefresh)&&this.options.onContentRefresh.call(this);this._onShowContent()}else!1===this.options.cached&&delete this.$content;else this._contentRetrievers[this.options.type].call(this,this.setContent);else{this._showLoadingIndicator();this.resourcesReady().done(this.setContent.bind(this,t,i))}},moveFooterToDialog2:function(t){if(t&&t.length){this.get$popup().children(".".concat(this.classNames.FOOTER_AREA)).eq(0).remove();var e=p('<div class="'.concat(this.classNames.FOOTER_AREA,'"></div>'));e.append(t);this.get$popup().append(e);var i=this.get$popupContent().find("form"),n=t.find('[type="submit"]'),o=i.attr("id")||"dialog-form";i.attr("id",o);n.attr("form",o)}},addFooterButtons:function(){var t=this.get$popup().find(".".concat(this.classNames.FOOTER_AREA));t.length||(t=this._createFooter());for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];t.find(".buttons").prepend(i)}
4178,addMainActionButton:function(t,e){var i={extraClasses:[],text:"Confirm",defaultEnabled:!0},n=p.extend({},i,t),o=p(aui.buttons.button({text:n.text,extraClasses:n.extraClasses,id:n.id,isDisabled:!n.defaultEnabled,type:"primary"}));o.on("click",e);this.addFooterButtons(o)},addCancelButton:function(t){var e=this,i=p(aui.buttons.button({text:"Cancel",extraClasses:["cancel"],type:"link"}));i.on("click",function(){t&&t();e.handleCancel()}.bind(this));this.addFooterButtons(i)},disableControls:function(){this.get$popup().find(".".concat(this.classNames.FOOTER_AREA," .buttons button")).not(".cancel").prop("disabled",!0)},enableControls:function(){this.get$popup().find(".".concat(this.classNames.FOOTER_AREA," .buttons button")).not(".cancel").prop("disabled",!1)},_createFooter:function(){var t=p('<div class="'.concat(this.classNames.FOOTER_AREA,'"><div class="buttons"></div></div>'));this.get$popup().append(t);return t},_initAuiDialog2:function(){i(this._getDialogSelector()).show();this._listenOnAuiBlanket();this._listenOnEscape()},_listenOnAuiBlanket:function(){var t=this;p(".aui-blanket").on("click."+this._getNamespace(),(function(e){e.stopImmediatePropagation();t.handleCancel()}))},_listenOnEscape:function(){var t=this;p("body").off("keydown."+this._getNamespace());p("body").on("keydown."+this._getNamespace(),(function(e){var i=R.getTopLayer();if(!(i&&(i[0]&&"AUI-INLINE-DIALOG"===i[0].nodeName||i.hasClass("wiki-edit-dropdown")||i.hasClass("wiki-edit-picker"))||e.keyCode!==_.ESCAPE)){e.stopPropagation();t.handleCancel()}}))},_getNamespace:function(){return this._getDialogSelector().substring(1)},_ellipsify:function(t){t instanceof p||(t=this.get$popup());p(".overflow-ellipsis",t).textOverflow({className:"ellipsified"})},_handleInitialDoneResponse:function(t,e,i){},getRequestUrlFromTrigger:function(){if(this.$activeTrigger&&this.$activeTrigger.length)return this.$activeTrigger.attr("href")||this.$activeTrigger.data("url")},_getRequestOptions:function(){var t={};if(!1===this._getAjaxOptionsObject())return!1;(t=p.extend(!0,t,this._getAjaxOptionsObject())).url||(t.url=this.getRequestUrlFromTrigger());return t},_getAjaxOptionsObject:function(){var t=this.options.ajaxOptions;return p.isFunction(t)?t.call(this):t},_contentRetrievers:{element:function(t){this.$content||(this.$content=p(this.options.content).clone(!0));t.call(this,this.$content)},builder:function(t){var e=this;if(!this.$content){this._showLoadingIndicator();this.options.content.call(this,(function(i){e.$content=p(i);t.call(e,e.$content)}),(function(){e._hideLoadingIndicator()}))}},ajax:function(t){var e,i=this;if(!this.$content){e=this._getRequestOptions();this._showLoadingIndicator();this.serverIsDone=!1;e.complete=function(n,o,s){if(s.successful){var r=i._detectRedirectInstructions(n);i.serverIsDone=r.serverIsDone;if(r.redirectUrl)i._performRedirect(r.redirectUrl);else{e.dataType&&"json"===e.dataType.toLowerCase()&&i._buildContentFromJSON?i.$content=i._buildContentFromJSON(s.data):i.$content=s.data;i.serverIsDone?i._handleInitialDoneResponse(s.data,n,s):t.call(i,i.$content)}}else{var c=a.buildDialogErrorContent(s);t.call(i,c)}};a.makeRequest(e)}}},_detectRedirectInstructions:function(t){var e={serverIsDone:!1,redirectUrl:""},i=t.getResponseHeader("X-Atlassian-Dialog-Control");if(i){e.serverIsDone=!0;0===i.indexOf("redirect:")?e.redirectUrl=i.substr(9):"permissionviolation"===i&&(e.redirectUrl=window.location.href)}return e},_performRedirect:function(t){d.reloadViaWindowLocation(t)},_renders:{popupHeading:function(){return p("<div />").addClass(this.classNames.HEADING_AREA)},popupContent:function(){return p("<div />").addClass(this.classNames.CONTENT_AREA)},popup:function(){var t=p("<section />").attr("id",this.options.id||"").addClass(this.classNames.DIALOG).attr("role","dialog").attr("aria-labelledby","jira-dialog2__heading").hide();this._setDialogSize(t);return t}},_events:{trigger:{simpleClick:function(t,e){this.$activeTrigger=e;this.$activeTrigger.is("a")||(this.$activeTrigger=e.find("a"));this.show();t.preventDefault()}}},handleCancel:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.HIDE_REASON.escape;return this.hide(!0,{reason:t})},_showLoadingIndicator:function(){r.showLoadingIndicator()},_hideLoadingIndicator:function(){r.hideLoadingIndicator()},_setDialogSize:function(t){var e=this._getDialogSizeClass(this.options.width);t&&!t.hasClass(e)&&t.addClass(e)},_getDialogSizeClass:function(t){switch(!0){case t<=400:return"aui-dialog2-small";
4178case t<=600:return"aui-dialog2-medium";default:return"aui-dialog2-large"}},getContentArea:function(){return this.$popup.find(".form-body")},getContentContainer:function(){var t=this.$popup.find(".content-area-container");return 1===t.length?t:this.$popup.find(".form-body")},get$popup:function(){this.$popup||(this.$popup=this._render("popup").appendTo("body"));return this.$popup},bindAnchorsToDialog:function(t){var e=this;t.click((function(t){e.$activeTrigger=p(this);delete e.$content;e.setContent();t.preventDefault()}))},get$popupContent:function(){this.$popupContent||(this.$popupContent=this._render("popupContent").insertAfter(this.get$popupHeading()));return this.$popupContent},get$popupHeading:function(){this.$popupHeading||(this.$popupHeading=this._render("popupHeading").prependTo(this.get$popup()));return this.$popupHeading},getLoadingIndicator:function(){return this.get$popup().find(".throbber:last")},showFooterLoadingIndicator:function(){var t=this.getLoadingIndicator();t.length&&(t.data("spinner")?t.hasClass("loading")||t.addClass("loading"):t.addClass("loading").spin())},hideFooterLoadingIndicator:function(){var t=this.getLoadingIndicator();if(t.length){t.removeClass("loading");f.defer((function(){t.hasClass("loading")||t.spinStop()}))}},_show:function(t){o.current&&o.current.hide();l.current&&l.current.hide();var n=e.current;if(n){var s;if(n.options.stacked){(s=n).stacked=!0;this.prev=s}else{e.stackroot=this;s=n._removeStackState();n.hide(!1);for(;s;){s=(n=s)._removeStackState();n._destroyIfNecessary()}}}else if(!0!==this.stacked){e.stackroot=this;e.originalWindowTitle=document.title}!0!==this.stacked&&C(!1);e.current=this;var a=this.get$popup().addClass(this.classNames.DIALOG_OPEN);if(t||"blank"!==this.options.type&&!this.$content&&!0!==this.stacked){delete this.$content;this.setContent()}else{a.show();this._onShowContent();i(this._getDialogSelector()).show()}this._assignEvents("container",document);p(this).trigger("Dialog.show",[this.$popup,this,this.id]);h.trigger("Dialog.show",[this.$popup,this,this.id]);this.stacked=!1},show:function(t){var i=this.options.delayShowUntil,n=this;if(e.current===this)return!1;var o=new p.Event("beforeShow"),s=new p.Event("beforeShow");p(this).trigger(o);h.trigger(s,[this.options.id]);if(o.isDefaultPrevented()||s.isDefaultPrevented())return!1;this.downloadResources();if(i){var a=i();if("resolved"===a.state())n._show(t);else{C(!1);this._showLoadingIndicator();a.done((function(){n._show(t)}))}}else n._show(t)},_setWindowTitle:function(){var t,e,i=this.options.windowTitle,n=this.get$popup();if(!1!==i){"string"==typeof i?t=i:"function"==typeof i?t=i.call(this):(e=n.find("."+this.classNames.HEADING_AREA)).length&&(t=e.text());if(t){var o=s.get("app-title"),a=[t];o&&a.push(o);document.title=a.join(" - ")}}},_onShowContent:function(){this._initAuiDialog2();this._setWindowTitle();this._hideLoadingIndicator();this._ellipsify();this._addSubmitFormAttributeWhenFormPresent();this.get$popup().addClass(this.classNames.CONTENT_READY)},_addSubmitFormAttributeWhenFormPresent:function(){var t=this.get$popupContent().find("form");if(0!==t.length){var e=this.get$popup().find(".".concat(this.classNames.FOOTER_AREA,' button[type="submit"]')),i=t.attr("id");i&&!e.attr("form")&&e.attr("form",i)}},_resetWindowTitle:function(){if(!0!==this.stacked&&e.stackroot===this&&e.originalWindowTitle){document.title!==e.originalWindowTitle&&(document.title=e.originalWindowTitle);e.originalWindowTitle=void 0}},notifyOfNewContent:function(){if(this.$content){this.decorateContent();this._setDialogSize(this.get$popup());this._onShowContent();p(document).trigger("dialogContentReady",[this])}},destroy:function(){this.$popup&&this.$popup.remove();delete this.$popup;delete this.$popupContent;delete this.$popupHeading;delete this.$content},_destroyIfNecessary:function(){!this.options.cached&&this.destroy()},_removeStackState:function(){var t=this.prev;delete this.prev;delete this.stacked;return t},isCurrent:function(){return e.current===this},hide:function(t,n){if(e.current===this){var o=new p.Event("Dialog.beforeHide"),s=new p.Event("Dialog.beforeHide");n=n||{};h.trigger(o,[this.$popup,n.reason,this.options.id]);p(this).trigger(s,[this.$popup,n.reason,this.options.id]);if(o.isDefaultPrevented()||s.isDefaultPrevented())return!1;p(".aui-blanket").off("click."+this._getNamespace());p("body").off("keydown."+this._getNamespace());var a=p("input[name=atl_token]",this.OPEN_DIALOG_SELECTOR).attr("value");void 0!==a&&c.updateTokenOnPage(a);i(this._getDialogSelector()).hide();!1===t||this.prev||AJS.undim();this.get$popup().removeClass(this.classNames.DIALOG_OPEN).removeClass(this.classNames.CONTENT_READY).hide();this._hideLoadingIndicator();this._resetWindowTitle();this._unassignEvents("container",document);p(document).trigger("hideAllLayers",[this.$popup,n.reason,this.options.id]);p(this).trigger("Dialog.hide",[this.$popup,n.reason,this.options.id]);h.trigger("Dialog.hide",[this.$popup,n.reason,this.options.id]);e.current=null;!1===this.options.cached&&!0!==this.stacked&&this.destroy();if(!0!==this.stacked)if(this.prev){this.prev.show(!!this.prev.options.reloadOnPop);this.prev._listenOnAuiBlanket();delete this.prev}else e.stackroot===this&&(e.stackroot=void 0)}},addHeading:function(t){var e=p("<div/>").html(t).contents(),i=p("<h2/>").attr("id","jira-dialog2__heading"),n=[i];e.each((function(){"div"===this.nodeName.toLowerCase()?n.push(this):i.append(this)}));this.get$popupHeading().html(n);i.attr("title",p.trim(i.text()))},onContentReady:function(t){p.isFunction(t)&&this.onContentReadyCallbacks.push(t)},defineResources:function(){f.isFunction(this.options.defineResources)&&this.options.defineResources.call(this)},requireContext:function(t){this.requireResource(t,"wrc!")},requireResource:function(t,e){this.wrmResources=this.wrmResources||[];this.wrmResources.push((e||"wr!")+t)},getRequiredResources:function(){return this.wrmResources||[]},downloadResources:function(){this.getRequiredResources().length>0&&!this.deferredResources&&(this.deferredResources=m(this.getRequiredResources()))},resourcesReady:function(){return this.deferredResources?this.deferredResources.promise():(new u).resolve().promise()}});y.fn.dirtyFormWarning=function(){return this.bind("Dialog.beforeHide",(function(t,e,
4178i){if(!t.isDefaultPrevented()&&(i===y.HIDE_REASON.cancel||i===y.HIDE_REASON.escape)){var n=g.getDirtyWarning();n&&!confirm(n)&&t.preventDefault()}}))};y.ClassNames={DIALOG:"aui-dialog2 aui-layer jira-dialog2 jira-dialog-core",HEADING_AREA:"aui-dialog2-header jira-dialog-core-heading",CONTENT_AREA:"aui-dialog2-content jira-dialog-core-content",FOOTER_AREA:"aui-dialog2-footer",DIALOG_OPEN:"jira-dialog-open",CONTENT_READY:"jira-dialog-content-ready"};y.getSelector=function(t){var e=(y.ClassNames[t]||"").split(" ")[0];return e?".".concat(e):""};y.WIDTH_PRESETS={small:360,medium:540,large:810};y.HIDE_REASON={cancel:"cancel",escape:"esc",submit:"submit"};Object.defineProperty(y,"current",{get:function(){console.warn(e.currentDeprecationMsg);return e.current},set:function(t){console.warn(e.currentDeprecationMsg);e.current=t}});return y})); 4179}catch(e){WRMCB(e)}; 4180; 4181try { 4182/* module-key = 'jira.webresources:jira-dialog-core-2', location = '/includes/jira/dialog/FormDialog2.js' */ 4183define("jira/dialog/form-dialog2",["jira/util/formatter","jira/dialog/dialog2","jira/flag","jira/message","jira/ajs/ajax/smart-ajax","jira/focus/set-focus","jira/util/browser","jira/util/events","jquery","jira/libs/parse-uri"],(function(t,e,s,i,n,o,r,a,u,l){"use strict";return e.extend({defineResources:function(){this._super.apply(this,arguments);this.isIssueDialog()&&this.requireContext("jira.edit.issue")},_getDefaultOptions:function(){return u.extend(this._super(),{autoClose:!1,targetUrl:"",refreshOnSubmit:!0,onUnSuccessfulSubmit:function(){},onSuccessfulSubmit:function(){},onDialogFinished:function(){var t=this._getTargetUrlValue();this.hide();if(t){a.trigger("page-unload.location-change.from-dialog",[this.$popup]);window.location.href=t}else if(this.options.refreshOnSubmit){a.trigger("page-unload.refresh.from-dialog",[this.$popup]);r.reloadViaWindowLocation()}},submitAjaxOptions:{type:"post",data:{inline:!0,decorator:"dialog"},dataType:"html"},isIssueDialog:!1})},_getFormDataAsObject:function(){var t={};u(this.$form.serializeArray()).each((function(){var e=t[this.name];e?u.isArray(e)?e.push(this.value):e=[e,this.value]:e=this.value;t[this.name]=e}));return t},_getRelativePath:function(){var t=this._getRequestOptions();return l(t.url).directory},_getPath:function(t){var e=this._getRelativePath();return 0===t.indexOf(e)?t:e+t},_submitForm:function(t){this.cancelled=!1;this.xhr=null;this.redirected=!1;this.serverIsDone=!1;var e=this,s=u.extend(!0,{},this.options.submitAjaxOptions),i=u.extend(!0,s,{url:this._getPath(this.$form.attr("action")),data:this._getFormDataAsObject(),complete:function(t,s,i){e.hideFooterLoadingIndicator();if(!e.cancelled){e._showMessagesFromXhrResponse(t);if(i.successful){e.$form.trigger("fakesubmit");e._handleServerSuccess(i.data,t,s,i);e.redirected||e._handleSubmitResponse(i.data,t,i)}else e._handleServerError(t,s,i.errorThrown,i)}e.$form.removeClass("submitting")}});i.data.decorator="dialog";i.data.inline=!0;this.showFooterLoadingIndicator();this.xhr=n.makeRequest(i);t.preventDefault()},_showMessagesFromXhrResponse:function(t){var e=t.getResponseHeader("X-Atlassian-Messages");if(e){var i=JSON.parse(e);s.showMessages(i)}},_handleServerError:function(t,e,s,i){this.options.onUnSuccessfulSubmit&&this.options.onUnSuccessfulSubmit.call(t,e,s,i);var o=n.buildDialogErrorContent(i,!0),r=this.get$popupContent().find(".form-body");1!==r.length&&(r=this.get$popupContent());1===r.length&&!i.hasData?r.prepend(o):this.setSubmitResponseContent(o)},setSubmitResponseContent:function(t){this.options.formatSubmitResponseContent&&(t=this.options.formatSubmitResponseContent.call(this,t));this.setContent(t)},isIssueDialog:function(){return!!this.options.isIssueDialog},_handleServerSuccess:function(t,e,s,n){var o=this._detectMsgInstructions(e),r=this._detectRedirectInstructions(e);this.serverIsDone=r.serverIsDone;o&&(r.redirectUrl||this._getTargetUrlValue()||this.options.refreshOnSubmit?i.showMsgOnReload(o.msg,{type:o.type,closeable:o.closeable,target:o.target}):i.showMsg(o.msg,{type:o.type.toLowerCase(),closeable:o.closeable,target:o.target}));if(r.redirectUrl){this.options.onSuccessfulSubmit&&this.options.onSuccessfulSubmit.call(this,t,e,s,n);this._performRedirect(r.redirectUrl)}else this.serverIsDone||this.setSubmitResponseContent(t)},_detectMsgInstructions:function(t){var e={msg:t.getResponseHeader("X-Atlassian-Dialog-Msg-Html")};if(e.msg){e.type=t.getResponseHeader("X-Atlassian-Dialog-Msg-Type").toUpperCase();e.closeable="true"===t.getResponseHeader("X-Atlassian-Dialog-Msg-Closeable");e.target=t.getResponseHeader("X-Atlassian-Dialog-Msg-Target");return e}},_handleInitialDoneResponse:function(t,e,s){this._handleSubmitResponse(t,e,s)},_handleSubmitResponse:function(t,e,s){if(this.serverIsDone){this.options.onSuccessfulSubmit&&this.options.onSuccessfulSubmit.call(this,t,e,s);this.options.autoClose&&this.hide();this.options.onDialogFinished&&this.options.onDialogFinished.call(this,t,e,s)}},_performRedirect:function(t){this.options.stayVisibleOnRedirect||this.hide();this.redirected=!0;this._super(t)},_hasTargetUrl:function(){return this._getTargetUrlHolder().length>0},_getTargetUrlHolder:function(){return u(this.options.targetUrl)},_getTargetUrlValue:function(){return this._getTargetUrlHolder().val()},decorateContent:function(){var s,i,n,o,r,a=this;this.$form=u("form",this.get$popupContent());this._constructHeading();this.$form.submit((function(t){var e=new u.Event("before-submit");a.$form.trigger(e,[t,a]);if(e.isDefaultPrevented())t.preventDefault();else{a.$form.addClass("submitting");u(":submit",a).attr("disabled","disabled");if(a.options.submitHandler){a.showFooterLoadingIndicator();a.options.submitHandler.call(a,t,(function(){if(a.isCurrent()){a.hideFooterLoadingIndicator();a.$form.removeClass("submitting")}}))}else a._submitForm(t)}}));(i=u(".cancel",this.get$popupContent())).click((function(t){a.xhr&&a.xhr.abort();a.xhr=null;a.cancelled=!0;a.hide(!0,{reason:e.HIDE_REASON.cancel});t.preventDefault()}));s=this.get$popupContent().find(".button, .aui-button");n=this.get$popupContent().find("div.buttons");if(0===i.length&&0===s.length){0===n.length&&(n=(o=u('<div class="buttons-container form-footer"><div class="buttons"/></div>').appendTo(this.get$popupContent())).find(".buttons"));AJS.populateParameters();
4183r=u("<button class='aui-button aui-button-link cancel' id='aui-dialog-close'>"+"Close"+"</button>");n.append(r);(r=u(".cancel",this.get$popupContent())).click((function(t){a.hide(!0,{reason:e.HIDE_REASON.cancel});t.preventDefault()}))}n.prepend(u("<span class='throbber'/>"));this.get$popupContent().on("click",".shortcut-tip-trigger",(function(e){e.preventDefault();if(!a.get$popupContent().isDirty()||confirm("You have entered new data in this dialog. If you navigate away from this dialog without first saving your data, the changes will be lost. Click cancel to return to the dialog.")){a.hide();u("#keyshortscuthelp").click()}}));o instanceof u||(o=n.closest(".buttons-container, .form-footer")).size()||(o=n);this.moveFooterToDialog2(o);this.$buttonContainer=o},getButtonsContainer:function(){return this.$buttonContainer},_constructHeading:function(){var t,e;if((t=u(":header:first",this.get$popupContent())).length>0){this.addHeading(t.contents());e=t.parent();t.remove();for(;e.is(":empty");){t=e.parent();e.remove();e=t}}},hide:function(t,e){if(!1===this._super(t,e))return!1;o.popConfiguration()}})})); 4184}catch(e){WRMCB(e)}; 4185; 4186try { 4187/* module-key = 'jira.webresources:set-focus', location = '/includes/jira/focus/setFocus.js' */ 4188define("jira/focus/set-focus",["jira/dialog/dialog","jquery"],(function(e,t){"use strict";var n=["."+e.ClassNames.CONTENT_AREA,"form.aui","form"],o=[],s=function(e,n,o,s){var i=!1;t(n,e).not(o).find(s).each((function(){var e=t(this);if(e.is(":enabled, a")&&e.is(":visible")){e.focus();e.is(":text, :password")?e.is(".focus-select-end")?e.setCaretToPosition(e[0].value.length):e.setSelectionRange(0,e[0].value.length):e.is("textarea")&&e.setCaretToPosition(0);i=!0;return!1}}));return i},i=function(){for(var e=0,t=o[o.length-1];!s(t.context,t.parentElementSelectors[e],t.excludeParentSelector,t.focusElementSelector)&&e<t.parentElementSelectors.length;)e++};return{FocusConfiguration:function(){this.context=document;this.excludeParentSelector="form.dont-default-focus";this.focusElementSelector="input:not(#issue-filter-submit), select, textarea, button, a.cancel";this.parentElementSelectors=n.slice(0);this.focusNow=i},triggerFocus:function(){0===o.length&&o.push(new this.FocusConfiguration);o[o.length-1].focusNow()},pushConfiguration:function(e){o.push(e)},popConfiguration:function(){o.pop()}}}));AJS.namespace("JIRA.setFocus",null,require("jira/focus/set-focus")); 4189}catch(e){WRMCB(e)}; 4190; 4191try { 4192/* module-key = 'jira.webresources:set-focus', location = '/includes/jira/focus/initSetFocus.js' */ 4193!function(r,u){"use strict";r((function(){u.triggerFocus()}))}(require("jquery"),require("jira/focus/set-focus")); 4194}catch(e){WRMCB(e)}; 4195; 4196try { 4197/* module-key = 'com.atlassian.jira.jira-issue-nav-plugin:issues-api', location = 'content/js/search/IssuesApi.js' */ 4198define("jira/issues/api",["underscore"],function(e){var a={getEffectiveIssue:function(){return null},getEffectiveIssueId:function(){return null},getEffectiveIssueKey:function(){return null}};return{initialize:function(b){a=b.searchPageModule},editFieldOnSelectedIssue:function(b){var c=JIRA.Issues.Api.getFieldsOnSelectedIssue();(c=(b=c&&c.get(b))&&b.isEditable())&&a&&JIRA.Issues.Application.execute("issueEditor:editField",b);return c},focusSearch:function(){AJS.$(".criteria-selector:first, #advanced-search").focus().select()}, 4199getSelectedIssue:function(){return a.getEffectiveIssue()},getSelectedIssueId:function(){return a.getEffectiveIssueId()},getSelectedIssueKey:function(){return a.getEffectiveIssueKey()},getFieldsOnSelectedIssue:function(){var b=JIRA.Issues.Application.request("issueEditor:fields");return b.length?b:void 0},hasSavesInProgress:function(){return JIRA.Issues.Application.request("issueEditor:hasSavesInProgress")},isCurrentlyLoadingIssue:function(){return a.isCurrentlyLoadingIssue()},isSelectedIssueAccessible:function(){return a.isHighlightedIssueAccessible()}, 4200issueIsVisible:function(){return a.isIssueVisible()},nextIssue:function(){a.nextIssue()},openFocusShifter:function(){a.isIssueVisible()&&a.openFocusShifter()},prevIssue:function(){a.prevIssue()},refreshSelectedIssue:function(b){return JIRA.Issues.Application.request("issueEditor:refreshIssue",b)},returnToSearch:function(b){a.returnToSearch({ignoreDirtiness:b})},showInlineIssueLoadError:function(b){a.showInlineIssueLoadError(b)},switchLayouts:function(b){var c=-1,f=a.getCurrentLayout(),d=a.getSortedLayouts(); 4201e.find(d,function(g,h){if(f instanceof g.View)return c=h,!0});if(d=d[(c+1)%d.length])"split-view"===d.id?require("jira/issues/views/details/metrics").start():"list-view"===d.id&&require("jira/issues/navigator/metrics").notifyIssueNavList(!1),a.changeLayout(d.id,b)},isQueryValid:function(){return a.queryModule.isQueryValid()},isFullScreenIssueVisible:function(){return a.isFullScreenIssueVisible()},viewSelectedIssue:function(){if(JIRA.Issues.Api.isSelectedIssueAccessible()){var b=JIRA.Issues.Api.get
4201SelectedIssueKey(); 4202a.isIssueVisible()||a.update({selectedIssueKey:b})}},toggleFilterPanel:function(){a.toggleFilterPanel()},waitForSavesToComplete:function(){var b=new jQuery.Deferred;window.setTimeout(function(){JIRA.Issues.Api.hasSavesInProgress()?JIRA.bind(JIRA.Events.INLINE_EDIT_SAVE_COMPLETE,function(){JIRA.Issues.Api.hasSavesInProgress()||b.resolve()}):b.resolve()},10)},updateIssue:function(b,c){return a.updateIssue({key:b.key,id:b.id,action:JIRA.Issues.Actions.UPDATE,message:c||"thanks_issue_updated",meta:{}})}, 4203toggleFullscreenIssue:function(){if(a.isFullScreenIssueVisible())a.standalone||a.returnToSearch();else{var b=a.isSplitViewLayout()?{reset:!0}:{};JIRA.Issues.Application.execute("navigation:navigate",{selectedIssueKey:a.getEffectiveIssueKey()},b)}},focusIssueList:function(){a.focusIssueList()},focusIssueEditor:function(){a.focusIssueEditor()}}});AJS.namespace("JIRA.Issues.Api",null,require("jira/issues/api")); 4204}catch(e){WRMCB(e)}; 4205; 4206try { 4207/* module-key = 'com.atlassian.jira.jira-issue-nav-plugin:issues-api', location = 'content/js/search/LayoutPreferenceManager.js' */ 4208define("jira/issues/layout-preference-manager",["underscore"],function(c){return{PREFERRED_LAYOUT_KEY:"jira.issues.preferred.layout.key",getPreferredLayoutKey:function(){return AJS.Meta.get(this.PREFERRED_LAYOUT_KEY)},setPreferredLayoutKey:function(b,a){a=c.defaults({},a,{ajax:!0});AJS.Meta.set(this.PREFERRED_LAYOUT_KEY,b);a.ajax&&AJS.$.ajax({data:{layoutKey:b},type:"POST",headers:JIRA.Issues.XsrfTokenHeader,url:AJS.contextPath()+"/rest/issueNav/latest/preferredSearchLayout"})}}}); 4209AJS.namespace("JIRA.Issues.LayoutPreferenceManager",null,require("jira/issues/layout-preference-manager")); 4210}catch(e){WRMCB(e)}; 4211; 4212try { 4213/* module-key = 'com.atlassian.jira.jira-issue-nav-plugin:issuenav-legacy', location = 'content/js/search/LegacyIssueNavigatorShortcuts.js' */ 4214define("jira/issues/search/legacyissuenavigatorshortcuts",["jira/issues/search/legacyissuenavigator","jquery"],function(e,b){var a={initialize:function(){a.isNavigator=function(){return e.isNavigator()};a.selectNextIssue=function(){return JIRA.Issues.Api.nextIssue()};a.selectPreviousIssue=function(){return JIRA.Issues.Api.prevIssue()};a.viewSelectedIssue=function(){return JIRA.Issues.Api.viewSelectedIssue()};a.focusSearch=function(){JIRA.Issues.Api.focusSearch()}}};a._quickEditSessionCompleteHandler= 4215b.noop;a._quickCreateSubtaskSessionCompleteHandler=b.noop;a.isNavigator=b.noop;a.selectNextIssue=b.noop;a.selectPreviousIssue=b.noop;a.viewSelectedIssue=b.noop;a.focusSearch=b.noop;a.focusRow=function(c,d,f){};b(document).ready(function(){if(e.isNavigator()){if("true"!==b("#focusSearch").attr("content")){var c=b(document.activeElement);c.is(":input")&&c.blur()}b(".issue-actions-trigger").click(function(){var d=b(this).closest("tr").attr("rel");d&&a.focusRow(d,0,!0)})}});return a}); 4216}catch(e){WRMCB(e)}; 4217; 4218try { 4219/* module-key = 'com.atlassian.jira.jira-issue-nav-plugin:issuenav-legacy', location = 'content/js/search/LegacyIssueNavigator.js' */ 4220define("jira/issues/search/legacyissuenavigator",["jira/data/session-storage","jira/util/browser","jquery"],function(d,g,e){var b={initialize:function(){b.isNavigator=function(){return JIRA.Issues.Api.issueIsVisible()}},isNavigator:e.noop,setIssueUpdatedMsg:function(a){a=a||{};var f=a.issueMsg,c=a.issueId;a=a.issueKey;c||(c=this.getSelectedIssueId(),a=this.getSelectedIssueKey());c&&d.setItem("selectedIssueId",c);a&&d.setItem("selectedIssueKey",a);f&&d.setItem("selectedIssueMsg",f)},reload:function(){g.reloadViaWindowLocation()}, 4221isRowSelected:function(){return 0!==b.get$focusedRow().length},get$focusedRow:function(){return e("#issuetable tr.issuerow.focused")},getSelectedIssueKey:function(){var a=b.get$focusedRow();if(0!==a.length)return a.attr("data-issuekey")},getSelectedIssueId:function(){return b.get$focusedRow().attr("rel")}};return b}); 4222}catch(e){WRMCB(e)}; 4223; 4224try { 4225/* module-key = 'com.atlassian.jira.jira-issue-nav-plugin:issuenav-legacy', location = 'content/js/search/LegacyIssue.js' */ 4226define("jira/issues/search/legacyissue",["jira/util/browser","jira/util/events","jquery","wrm/context-path"],function(f,h,c,g){var d={getStalker:function(){return c("#stalker")},getSubtaskContent:function(){return d.getSubtaskModule().find(".mod-content")},getSubtaskModule:function(){return c("#view-subtasks")},reload:function(){f.reloadViaWindowLocation()},refreshSubtasks:function(){var a=new c.Deferred,b=d.getSubtaskContent();return 0===b.length?(f.reloadViaWindowLocation(window.location.href+"#view-subtasks"), 4227a.promise()):c.ajax({url:g+"/secure/ViewSubtasks.jspa?id\x3d"+d.getIssueId(),success:function(e){b.replaceWith(e);
4227h.trigger("Issue.subtasksRefreshed",[d.getSubtaskContent()])}})},highlightSubtasks:function(a){c.each(a,function(b,e){c(".issuerow[data-issuekey\x3d'"+e.issueKey+"']").fadeInBackground()})},getIssueId:function(){var a=JIRA.Issues.Api.getSelectedIssueId();if(!a){var b=c("#key-val");0!==b.length&&(a=b.attr("rel"))}return a},getIssueKey:function(){return JIRA.Issues.Api.getSelectedIssueKey()}, 4228issueCreatedMessage:function(a,b){b=b?"Subtask":"Issue";a='\x3ca class\x3d"issue-created-key issue-link" data-issue-key\x3d"'+a.issueKey+'" href\x3d"'+g()+"/browse/"+a.issueKey+'"\x3e'+a.issueKey+" - "+AJS.escapeHtml(a.summary)+"\x3c/a\x3e";return AJS.format("{0} {1} has been successfully created.",b,a)}};return d}); 4229}catch(e){WRMCB(e)}; 4230; 4231try { 4232/* module-key = 'jira.webresources:jira-issuenavigator', location = '/includes/jira/issue/Issue.js' */ 4233define("jira/issue",["jira/issues/search/legacyissue"],(function(e){"use strict";return e}));AJS.namespace("jira.app.issue",null,require("jira/issue"));AJS.namespace("JIRA.Issue",null,require("jira/issue")); 4234}catch(e){WRMCB(e)}; 4235; 4236try { 4237/* module-key = 'jira.webresources:jira-issuenavigator', location = '/includes/jira/issuenavigator/IssueNavigator.js' */ 4238define("jira/issuenavigator/issue-navigator",["jira/issues/search/legacyissuenavigator"],(function(a){"use strict";return a}));AJS.namespace("jira.app.issuenavigator",null,require("jira/issuenavigator/issue-navigator"));AJS.namespace("JIRA.IssueNavigator",null,require("jira/issuenavigator/issue-navigator"));AJS.namespace("JIRA.Settings.ApplicationTitle.get",null,(function(){"use strict";return require("jira/util/data/meta").get("app-title")})); 4239}catch(e){WRMCB(e)}; 4240; 4241try { 4242/* module-key = 'jira.webresources:jira-issuenavigator', location = '/includes/jira/issuenavigator/IssueNavigator.Shortcuts.js' */ 4243define("jira/issuenavigator/issue-navigator/shortcuts",["jira/issues/search/legacyissuenavigatorshortcuts"],(function(s){"use strict";return s}));AJS.namespace("jira.app.issuenavigator.shortcuts",null,require("jira/issuenavigator/issue-navigator/shortcuts"));AJS.namespace("JIRA.IssueNavigator.Shortcuts",null,require("jira/issuenavigator/issue-navigator/shortcuts")); 4244}catch(e){WRMCB(e)}; 4245; 4246try { 4247/* module-key = 'jira.webresources:jira-dialog-config', location = '/includes/jira/dialog/IssueDialogUtil.js' */ 4248define("jira/dialog/dialog-util",["jira/dialog/dialog-register","jira/jquery/deferred","jira/issuenavigator/issue-navigator","jquery"],(function(e,s,t,i){"use strict";var u,r={getDefaultAjaxOptions:function(){if(JIRA&&"function"==typeof e.getDefaultAjaxOptions&&r.getDefaultAjaxOptions!==e.getDefaultAjaxOptions)return e.getDefaultAjaxOptions.apply(this,arguments);var s=t.get$focusedRow(),i=this.options.url||this.getRequestUrlFromTrigger();if(/id=\{0\}/.test(i)){if(!s.length)return!1;i=i.replace(/(id=\{0\})/,"id="+s.attr("rel"))}if(t.isNavigator()){var u=/[?&]id=([0-9]+)/.exec(i);this.issueId=u&&2===u.length?u[1]:null;if(this.issueId!==s.attr("rel")){t.Shortcuts.focusRow(this.issueId);s=t.get$focusedRow()}this.issueKey=t.getSelectedIssueKey()}return{url:i,data:{decorator:"dialog",inline:"true"}}}};r.BeforeShowIssueDialogHandler=(u=[],{add:function(e){u.push(e);return this},execute:function(){var e=[];if(0===u.length)return s().resolve();i.each(u,(function(s,t){e.push(t())}));return i.when.apply(i,e)}});r.storeCurrentIssueIdOnSucessfulSubmit=function(){t.isNavigator()&&t.setIssueUpdatedMsg({issueMsg:this.options.issueMsg,issueId:this.issueId,issueKey:this.issueKey})};return r}));!function(e){"use strict";AJS.namespace("JIRA.Dialogs",null,require("jira/dialog/dialog-register"));AJS.namespace("JIRA.Dialogs.getDefaultAjaxOptions",null,e.getDefaultAjaxOptions);AJS.namespace("JIRA.Dialogs.BeforeShowIssueDialogHandler",null,e.BeforeShowIssueDialogHandler);AJS.namespace("JIRA.Dialogs.storeCurrentIssueIdOnSucessfulSubmit",null,e.storeCurrentIssueIdOnSucessfulSubmit)}(require("jira/dialog/dialog-util")); 4249}catch(e){WRMCB(e)}; 4250; 4251try { 4252/* module-key = 'jira.webresources:frother-select-handlers', location = '/includes/ajs/select/SelectHelper.js' */ 4253define("jira/ajs/select/select-helper",(function(){"use strict";return{updateFreeInputVal:function(){this.options.submitInputVal&&this.model.updateFreeInput(this.$field.val())},removeFreeInputVal:function(){this.options.submitInputVal&&this.model.removeFreeInputVal()}}}));AJS.namespace("AJS.SelectHelper",null,require("jira/ajs/select/select-helper")); 4254}catch(e){WRMCB(e)}; 4255; 4256try { 4257/* module-key = 'jira.webresources:frother-select-handlers', location = '/includes/ajs/select/SuggestionHandlers.js' */ 4258define("jira/ajs/select/suggestions/suggest-helper",["jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","jira/ajs/select/fetchers/mixed-descriptor-fetcher","jira/ajs/select/fetchers/ajax-descriptor-fetcher","jira/ajs/select/fetchers/func-descriptor-fetcher","jira/ajs/select/fetchers/static-descriptor-fetcher","underscore"],(function(e,t,s,r,i,n,a){"use strict";return{createDescriptorFetcher:function(e,t){return e.ajaxOptions&&e.ajaxOptions.url?t&&"mixed"===e.content?new s(e,t):new r(e.ajaxOptions,t,e.containsStaticSuggestions):e.suggestions?new i(e):t?new n(e,t):void 0},extractItems:function(t){return a.flatten(a.map(t,(function(t){return t instanceof e?t.items():[t]})))},mirrorQuery:function(s,r,i){var n=i?s.toUpperCase():s;return new e({label:"user inputted option",showLabel:!1,replace:!0}).addItem(new t({value:n,label:n,labelSuffix:" ("+r+")",title:n,allowDuplicate:!1,noExactMatch:!0}))},isSelected:function(e,t){return a.any(t,(function(t){return e.value()===t.value()}))},removeDuplicates:function(t,s){s=s||[];return a.filter(t,a.bind((function(t){if(t instanceof e){t.items(this.removeDuplicates(t.items(),s));return!0}if(!a.include(s,t.value())){t.value()&&s.push(t.value());return!0}}),this))},removeSelected:function(s,r){return a.filter(s,a.bind((function(s){if(s instanceof t&&this.isSelected(s,r))return!1;s instanceof e&&s.items(this.removeSelected(s.items(),r));return!0}),this))}}}));define("jira/ajs/select/suggestions/default-suggest-handler",["jira/jquery/deferred","jira/lib/class","
4258jira/ajs/select/suggestions/suggest-helper","underscore"],(function(e,t,s,r){"use strict";return t.extend({init:function(e){this.options=e;this.descriptorFetcher=s.createDescriptorFetcher(e)},validateMirroring:function(e){return this.options.userEnteredOptionsMsg&&e.length>0},formatSuggestions:function(e,t){this.validateMirroring(t)&&e.push(s.mirrorQuery(t,this.options.userEnteredOptionsMsg,this.options.uppercaseUserEnteredOnSelect));return e},execute:function(t,s){var i=new e,n=this.descriptorFetcher.execute(t,s).done(r.bind((function(e){e&&(e=this.formatSuggestions(e,t));i.resolve(e,t)}),this));i.fail((function(){n.reject()}));return i}})}));define("jira/ajs/select/suggestions/select-suggest-handler",["jira/ajs/select/suggestions/default-suggest-handler","jira/ajs/select/suggestions/suggest-helper"],(function(e,t){"use strict";return e.extend({init:function(e,s){this.descriptorFetcher=t.createDescriptorFetcher(e,s);this.options=e;this.model=s},formatSuggestions:function(e,s){var r=this._super(e,s),i=this.model.getDisplayableSelectedDescriptors();this.options.removeDuplicates&&(r=t.removeDuplicates(e));return!0===this.options.disableRemoveSelected?r:t.removeSelected(r,i)}})}));define("jira/ajs/select/suggestions/assignee-suggest-handler",["jira/util/formatter","jira/ajs/select/suggestions/select-suggest-handler"],(function(e,t){"use strict";return t.extend({formatSuggestions:function(t,s){var r=this._super(t,s);0===s.length&&r[0].footerText("Start Typing for Users");return r}})}));define("jira/ajs/select/suggestions/checkbox-multi-select-suggest-handler",["jira/util/formatter","jira/ajs/select/suggestions/select-suggest-handler","jira/ajs/select/suggestions/suggest-helper","jira/ajs/list/group-descriptor"],(function(e,t,s,r){"use strict";return t.extend({createClearAll:function(){return"<li class='check-list-group-actions'><a class='clear-all' href='#'>"+"Clear selected items"+"</a></li>"},formatSuggestions:function(e,t){var i=s.removeDuplicates(this.model.getDisplayableSelectedDescriptors()),n=new r({styleClass:"selected-group",items:i,actionBarHtml:i.length>1?this.createClearAll():null});e.splice(0,0,n);if(t.length>0){e=s.removeDuplicates(e);var a=s.extractItems(e).sort((function(e,t){e=e.label().toLowerCase();t=t.label().toLowerCase();return e.localeCompare(t)})),u=e.find((function(e){return void 0!==e.fetchedThroughAjaxCall&&e.fetchedThroughAjaxCall()})),o=u?u.footerText():void 0;e=[new r({items:a,footerText:o})]}return e}})}));define("jira/ajs/select/suggestions/user-list-suggest-handler",["jira/ajs/select/suggestions/select-suggest-handler"],(function(e){"use strict";return e.extend({emailExpression:/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,validateMirroring:function(e){return this.options.freeEmailInput&&e.length>0&&this.emailExpression.test(e)}})}));define("jira/ajs/select/suggestions/only-new-items-suggest-handler",["jira/ajs/select/suggestions/select-suggest-handler","underscore"],(function(e,t){"use strict";return e.extend({validateMirroring:function(e){if(this._super(e)){var s=e.toLowerCase(),r=this.model.getDisplayableSelectedDescriptors().concat(this.model.getDisplayableUnSelectedDescriptors());return!t.some(r,(function(e){var t=e.label();return t&&t.toLowerCase()===s}))}return!1}})}));define("jira/ajs/select/fetchers/static-descriptor-fetcher",["jira/jquery/deferred","jira/lib/class"],(function(e,t){"use strict";return t.extend({init:function(e,t){this.model=t;this.model.$element.data("static-suggestions",!0)},execute:function(t){var s=new e;s.resolve(this.model.getUnSelectedDescriptors(),t);return s}})}));define("jira/ajs/select/fetchers/ajax-descriptor-fetcher",["jira/util/logger","jira/jquery/deferred","jira/lib/class","jira/ajs/ajax/smart-ajax","underscore"],(function(e,t,s,r,i){"use strict";return s.extend({init:function(e,t,s){this.options=i.extend({keyInputPeriod:150,minQueryLength:1,data:{},dataType:"json"},e);t&&(this.model=t);s&&this.model.$element.data("static-suggestions",!0);this.debouncedMakeRequest=i.debounce(this.makeRequest,this.options.keyInputPeriod)},makeRequest:function(t,s,n){s.complete=i.bind((function(){this.outstandingRequest=null;e.trace("jira.suggestionhandler.done")}),this);s.success=i.bind((function(e){if(s.query)t.resolve(s.formatResponse(e,n));else{this.lastResponse=s.formatResponse(e,n);t.resolve(this.lastResponse)}}),this);var a=s.error;s.error=function(e,s,i,n){if(n.aborted){if("timeout"===n.statusText){a?a.apply(this,arguments):alert(r.buildSimpleErrorContent(n,{alert:!0}));t.resolve()}}else{a?a.apply(this,arguments):alert(r.buildSimpleErrorContent(n,{alert:!0}));t.resolve()}};
4258this.outstandingRequest=r.makeRequest(s)},incubateRequest:function(e,t,s,r){if((t.query||r)&&this.outstandingRequest){this.outstandingRequest.abort();this.outstandingRequest=null}var i=this.buildRequestOptions(t,s);r?this.makeRequest(e,i,s):s.length>=parseInt(t.minQueryLength,10)?t.query?this.makeRequest(e,i,s):this.debouncedMakeRequest(e,i,s):this.lastResponse?e.resolve(this.lastResponse):e.resolve();return e},buildRequestOptions:function(e,t){"function"==typeof e.data?e.data=e.data(t):e.data.query=t;"function"==typeof e.url&&(e.url=e.url());return e},execute:function(e,s){var r=new t;r.fail(i.bind((function(){this.outstandingRequest&&this.outstandingRequest.abort()}),this));this.incubateRequest(r,i.extend({},this.options),e,s);return r}})}));define("jira/ajs/select/fetchers/mixed-descriptor-fetcher",["jira/jquery/deferred","jira/lib/class","jira/ajs/select/fetchers/ajax-descriptor-fetcher","underscore"],(function(e,t,s,r){"use strict";return t.extend({init:function(e,t){this.ajaxFetcher=new s(e.ajaxOptions,t);this.options=e;this.model=t;e.containsStaticSuggestions&&this.model.$element.data("static-suggestions",!0)},execute:function(t,s){var i=new e,n=this.options.ajaxOptions.minQueryLength;n="number"==typeof n&&isFinite(n)?n:1;if(t.length>=n){var a=this.ajaxFetcher.execute(t,s).done(r.bind((function(e){var s;s=this.options.suggestionAtTop?[].concat(this.model.getAllDescriptors(),e):[].concat(e,this.model.getAllDescriptors());i.resolve(s,t)}),this));i.fail((function(){a.reject()}))}else i.resolve(this.model.getUnSelectedDescriptors(),t);return i}})}));define("jira/ajs/select/fetchers/func-descriptor-fetcher",["jira/jquery/deferred","jira/lib/class"],(function(e,t){"use strict";return t.extend({init:function(e){this.options=e},execute:function(t){var s=new e;s.resolve(this.options.suggestions(t),t);return s}})}));AJS.namespace("AJS.SuggestHelper",null,require("jira/ajs/select/suggestions/suggest-helper"));AJS.namespace("AJS.DefaultSuggestHandler",null,require("jira/ajs/select/suggestions/default-suggest-handler"));AJS.namespace("AJS.SelectSuggestHandler",null,require("jira/ajs/select/suggestions/select-suggest-handler"));AJS.namespace("AJS.OnlyNewItemsSuggestHandler",null,require("jira/ajs/select/suggestions/only-new-items-suggest-handler"));AJS.namespace("AJS.CheckboxMultiSelectSuggestHandler",null,require("jira/ajs/select/suggestions/checkbox-multi-select-suggest-handler"));AJS.namespace("JIRA.AssigneeSuggestHandler",null,require("jira/ajs/select/suggestions/assignee-suggest-handler"));AJS.namespace("AJS.UserListSuggestHandler",null,require("jira/ajs/select/suggestions/user-list-suggest-handler"));AJS.namespace("AJS.StaticDescriptorFetcher",null,require("jira/ajs/select/fetchers/static-descriptor-fetcher"));AJS.namespace("AJS.AjaxDescriptorFetcher",null,require("jira/ajs/select/fetchers/ajax-descriptor-fetcher"));AJS.namespace("AJS.MixedDescriptorFetcher",null,require("jira/ajs/select/fetchers/mixed-descriptor-fetcher"));AJS.namespace("AJS.FuncDescriptorFetcher",null,require("jira/ajs/select/fetchers/func-descriptor-fetcher")); 4259}catch(e){WRMCB(e)}; 4260; 4261try { 4262/* module-key = 'jira.webresources:frother-queryable-dropdown-select', location = '/includes/ajs/select/QueryableSelect.soy' */ 4263// This file was automatically generated from QueryableSelect.soy. 4264// Please don't edit this file by hand. 4265 4266/** 4267 * @fileoverview Templates in namespace AJS.Templates. 4268 */ 4269 4270if (typeof AJS == 'undefined') { var AJS = {}; } 4271if (typeof AJS.Templates == 'undefined') { AJS.Templates = {}; } 4272 4273 4274AJS.Templates.queryableSelect = function(opt_data, opt_ignored) { 4275 var output = '<select ' + ((opt_data.name) ? 'name="' + soy.$$escapeHtml(opt_data.name) + '"' : '') + ' ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' multiple="multiple">'; 4276 var descriptorList16 = opt_data.descriptors; 4277 var descriptorListLen16 = descriptorList16.length; 4278 for (var descriptorIndex16 = 0; descriptorIndex16 < descriptorListLen16; descriptorIndex16++) { 4279 var descriptorData16 = descriptorList16[descriptorIndex16]; 4280 if (descriptorData16.properties.items) { 4281 output += '<optgroup label="' + soy.$$escapeHtml(descriptorData16.properties.label) + '">'; 4282 var optionList22 = descriptorData16.properties.items; 4283 var optionListLen22 = optionList22.length; 4284 for (var optionIndex22 = 0; optionIndex22 < optionListLen22; optionIndex22++) { 4285 var optionData22 = optionList22[optionIndex22]; 4286 output += AJS.Templates.option({option: optionData22}); 4287 } 4288 output += '</optgroup>'; 4289 } else { 4290 output += AJS.Templates.option({option: descriptorData16}); 4291 } 4292 } 4293 output += '</select>'; 4294 return output; 4295}; 4296if (goog.DEBUG) { 4297 AJS.Templates.queryableSelect.soyTemplateName = 'AJS.Templates.queryableSelect'; 4298} 4299 4300 4301AJS.Templates.option = function(opt_data, opt_ignored) { 4302 return '<option ' + ((opt_data.option.properties.title) ? 'title="' + soy.$$escapeHtml(opt_data.option.properties.title) + '"' : '') + ' ' + ((opt_data.option.properties.meta) ? 'data-meta="' + soy.$$escapeHtml(opt_data.option.properties.meta) + '"' : '') + ' ' + ((opt_data.option.properties.selected) ? 'selected="selected"' : '') + ' value="' + soy.$$escapeHtml(opt_data.option.properties.value) + '">' + soy.$$escapeHtml(opt_data.option.properties.label) + '</option>'; 4303}; 4304if (goog.DEBUG) { 4305 AJS.Templates.option.soyTemplateName = 'AJS.Templates.option'; 4306} 4307 4308}catch(e){WRMCB(e)}; 4309; 4310try { 4311/* module-key = 'jira.webresources:frother-queryable-dropdown-select', location = '/includes/ajs/select/QueryableDropdownSelect.js' */
4312define("jira/ajs/select/queryable-dropdown-select",["jira/util/formatter","jira/jquery/deferred","jira/ajs/control","jira/ajs/select/suggestions/default-suggest-handler","jira/ajs/layer/inline-layer-factory","jira/ajs/list/list","jira/util/key-code","jira/util/navigator","jira/util/assistive","jquery","underscore"],(function(t,e,i,n,s,o,r,a,d,l,h){"use strict";var u="-suggestions",c=0;return i.extend({INVALID_KEYS:{Shift:!0,Esc:!0,Right:!0},init:function(t){this.suggestionsVisible=!1;this._setOptions(t);this._createFurniture();this._createDropdownController();this._createSuggestionsController();this._createListController();this._assignEventsToFurniture();this.options.width&&this.setFieldWidth(this.options.width);this.options.loadOnInit&&this.requestSuggestions(!0)},_createDropdownController:function(){var t=this;this.options.dropdownController?this.dropdownController=this.options.dropdownController:this.dropdownController=s.createInlineLayers({offsetTarget:this.$field,width:this.$field.innerWidth(),content:this.options.element});this.dropdownController.onhide((function(){t.hideSuggestions()}))},_createSuggestionsController:function(){var t=this.options.suggestionsHandler?this.options.suggestionsHandler:n;this.suggestionsHandler=new t(this.options)},_createListController:function(){var e=this;this.listController=new o({announcementBoxSelector:l(".dropdown-announcement-box",this.$container),containerSelector:this.options.element,groupSelector:"ul.aui-list-section",matchingStrategy:this.options.matchingStrategy,eventTarget:this.$field,selectionHandler:function(){e.$field.val("Loading...").css("color","#999");e.hideSuggestions();return!0}})},_onItemFocus:function(t,e){var i=this.$field,n=e&&e.children&&e.children.length?"".concat(e.children[0].id):"null";this.options.shouldNotAddAriaAttributesForSearchField||d.wait((function(){i.attr("aria-activedescendant",n)}))},setFieldWidth:function(t){this.$container.css({width:t,minWidth:t})},showErrorMessage:function(e){var i=this.$container.parent(".field-group");this.hideErrorMessage();this.$errorMessage.text(t.format(this.options.errorMessage,e||this.getQueryVal()));if(1!==i.length){0===i.length&&(i=this.$container.parent(".frother-control-renderer"));1!==i.length?0===i.length&&this.$container.parent().append(this.$errorMessage):this.$errorMessage.prependTo(i)}else i.append(this.$errorMessage)},hideErrorMessage:function(){this.$errorMessage&&this.$errorMessage.remove();this.$container.parent().find(".error").remove()},hideAriaInvalid:function(){this.$field.attr("aria-invalid")&&this.$field.removeAttr("aria-invalid")},hideAriaDescribedBy:function(){this.$field.attr("aria-describedby")&&this.$field.removeAttr("aria-describedby")},_getDefaultOptions:function(){return{id:c+=1}},_createFurniture:function(){this.$container=this._render("container").insertBefore(this.options.element);this.suggestionsContainerId=this.options.id+u;this.$field=this._render("field").appendTo(this.$container);this.$dropDownIcon=this._render("dropdownAndLoadingIcon",this._hasDropdownButton()).appendTo(this.$container);if(this.options.overlabel){this.$overlabel=this._render("overlabel").insertBefore(this.$field);this.$overlabel.overlabel()}this.$announcementBox=this._render("announcementBox").appendTo(this.$container)},_hasDropdownButton:function(){return this.options.showDropdownButton||this.options.ajaxOptions&&0===this.options.ajaxOptions.minQueryLength},_assignEventsToFurniture:function(){var t=this;this._assignEvents("ignoreBlurElement",this.dropdownController.$layer);this._assignEvents("container",this.$container);if(this._hasDropdownButton()){this._assignEvents("ignoreBlurElement",this.$dropDownIcon);this._assignEvents("dropdownAndLoadingIcon",this.$dropDownIcon)}setTimeout((function(){t._assignEvents("field",t.$field);t._assignEvents("keys",t.$field)}),15);this.listController.bind("itemFocus",this._onItemFocus.bind(this))},requestSuggestions:function(t){var i=this,n=new e;this.outstandingRequest=this.suggestionsHandler.execute(this.getQueryVal(),t).done((function(t,e){e===i.getQueryVal()&&n.resolve(t,e)}));if("resolved"!==this.outstandingRequest.state()){window.clearTimeout(this.loadingWait);
4312this.loadingWait=window.setTimeout((function(){"pending"===i.outstandingRequest.state()&&i.showLoading()}),150);this.outstandingRequest.always((function(){i.hideLoading()}))}return n},showLoading:function(){this.$dropDownIcon.addClass("loading").removeClass("noloading");this.$dropDownIcon.data("spinner")||this.$dropDownIcon.spin();this.$field.attr("aria-busy","true");return this},hideLoading:function(){this.$dropDownIcon.removeClass("loading").addClass("noloading");this.$dropDownIcon.spinStop();this.$field.attr("aria-busy","false");return this},_setSuggestions:function(t){if(t){this.listController.generateListFromJSON(t,this.getQueryVal());this.showSuggestions()}else this.hideSuggestions();this.$container.attr("data-query",this.getQueryVal())},disable:function(){if(!this.disabled){this.$container.addClass("aui-disabled");this.$disabledBlanket=this._render("disabledBlanket").appendTo(this.$container);this.$field.prop("disabled",!0);this.dropdownController.hide();this.disabled=!0}},enable:function(){if(this.disabled){this.$container.removeClass("aui-disabled");this.$disabledBlanket.remove();this.$field.prop("disabled",!1);this.disabled=!1}},getQueryVal:function(){return l.trim(this.$field.val())},_isValidInput:function(t){return this.$field.is(":visible")&&!("aui:keydown"===t.type&&this.INVALID_KEYS[t.key])},_handleCharacterInput:function(t){this.getQueryVal().length>=1||t?this.requestSuggestions(t).done(h.bind((function(t){this._setSuggestions(t)}),this)):this.hideSuggestions()},_handleDown:function(t){if(!this.suggestionsVisible){this.listController._latestQuery="";this._handleCharacterInput(!0)}t.preventDefault()},_rejectPendingRequests:function(){this.outstandingRequest&&this.outstandingRequest.reject()},showSuggestions:function(){if(!this.suggestionsVisible){this.suggestionsVisible=!0;this.dropdownController.show();this.dropdownController.setWidth(this.$field.innerWidth());this.dropdownController.setPosition();this.listController.enable();if(!this.options.shouldNotAddAriaAttributesForSearchField){this.$field.attr("aria-expanded","true");this.$field.attr("aria-controls",this.suggestionsContainerId);this.$field.attr("aria-owns",this.suggestionsContainerId)}}},hideSuggestions:function(){if(this.suggestionsVisible){this._rejectPendingRequests();this.suggestionsVisible=!1;this.$dropDownIcon.addClass("noloading");this.dropdownController.hide();this.listController.disable();if(!this.options.shouldNotAddAriaAttributesForSearchField){this.$field.removeAttr("aria-activedescendant");this.$field.attr("aria-expanded","false");this.$field.removeAttr("aria-controls");this.$field.removeAttr("aria-owns")}}},_deactivate:function(){this.hideSuggestions()},_handleEscape:function(t){if(this.suggestionsVisible){t.stopPropagation();if("keyup"===t.type){this.hideSuggestions();a.isIE()&&a.majorVersion()<12&&this.$field.focus()}}},acceptFocusedSuggestion:function(){var t=this.listController.getFocused();0!==t.length&&t.is(":visible")&&this.listController._acceptSuggestion(t)},keys:{Down:function(t){this._hasDropdownButton()&&this._handleDown(t)},Up:function(t){t.preventDefault()},Return:function(t){t.preventDefault()}},onEdit:function(){this._handleCharacterInput()},_events:{dropdownAndLoadingIcon:{click:function(t){if(this.suggestionsVisible)this.hideSuggestions();else{this._handleDown(t);this.$field.focus()}t.stopPropagation()}},container:{disable:function(){this.disable()},enable:function(){this.enable()}},field:{blur:function(){this.ignoreBlurEvent?this.ignoreBlurEvent=!1:this._deactivate()},click:function(t){t.stopPropagation()},"keydown keyup":function(t){t.keyCode===r.ESCAPE&&this._handleEscape(t)}},keys:{"aui:keydown input":function(t){this._handleKeyEvent(t)}},ignoreBlurElement:{mousedown:function(t){if(a.isIE()&&a.majorVersion()<12){l(t.target)[0]==l(this.dropdownController.$layer)[0]&&(this.ignoreBlurEvent=!0)}t.preventDefault()}}},_renders:{disabledBlanket:function(){return l("<div class='aui-disabled-blanket' />").height(30)},overlabel:function(){return l("<span class='overlabel' />").text(this.options.overlabel).attr({"data-target":this.options.id+"-field",id:this.options.id+"-overlabel"})},baseField:function(t){var e=document.createElement(t||"input"),i=l(e).attr({autocomplete:"off"});this.options.shouldNotAddAriaAttributesForSearchField||i.attr({role:"combobox","aria-autocomplete":"list","aria-expanded":"false"});return i},field:function(){var t=this._render("baseField").attr({class:"text",id:this.options.id+"-field",type:"text"});this.options.ariaLabel&&t.attr("aria-label",this.options.ariaLabel);this.options.ariaDescribedBy&&t.attr("aria-describedby",this.options.ariaDescribedBy);return t},container:function(){return l("<div class='queryable-select' />").attr("id",this.options.id+"-queryable-container")},dropdownAndLoadingIcon:function(t){return l('<span class="icon noloading" tabindex="-1"></span>').toggleClass("drop-menu",!!t)},suggestionsContainer:function(t){return l("<div />").attr({class:"aui-list",id:t+u,tabindex:"-1"})},announcementBox:function(){return l('<div role="status" class="assistive dropdown-announcement-box" aria-l
4312ive="polite" aria-atomic="true"></div>')}}})}));AJS.namespace("AJS.QueryableDropdown",null,require("jira/ajs/select/queryable-dropdown-select"));AJS.namespace("AJS.QueryableDropdownSelect",null,require("jira/ajs/select/queryable-dropdown-select")); 4313}catch(e){WRMCB(e)}; 4314; 4315try { 4316/* module-key = 'jira.webresources:frother-singleselect', location = '/includes/ajs/select/SingleSelect.js' */ 4317define("jira/ajs/select/single-select",["jira/util/formatter","jira/ajs/layer/layer-constants","jira/ajs/select/queryable-dropdown-select","jira/ajs/select/select-helper","jira/ajs/select/select-model","jira/ajs/select/suggestions/select-suggest-handler","jira/ajs/layer/inline-layer-factory","jira/ajs/list/list","jira/ajs/list/item-descriptor","jira/util/navigator","jquery"],(function(e,t,i,s,n,o,r,a,l,h,d){"use strict";return i.extend({init:function(e){if(this._setOptions(e)===this.INVALID)return this.INVALID;this._createSelectModel();if(this.options.disabled){this._createFurniture(!0);return this}d.extend(this,s);this._createFurniture();this._createSuggestionsController();this._createDropdownController();this._createListController();this._prepareEvents();this._assignEventsToFurniture();this._setInitState();this.options.width&&this.setFieldWidth(this.options.width);this.$overlabel&&this.$overlabel.overlabel(this.$field);this.options.uneditable&&this.disable();this.model.$element.addClass("aui-ss-select").trigger("initialized",[this])},disable:function(){this.$container.find("input").prop("disabled",!0);this._super()},enable:function(){this.$container.find("input").prop("disabled",!1);this._super()},_setInitState:function(){if(this.options.editValue){this._setEditingMode();this.$field.val(this.options.editValue)}else if(this.getSelectedDescriptor())this.setSelection(this.getSelectedDescriptor());else{this._setEditingMode();this.options.inputText&&this.$field.val(this.options.inputText)}},_createSelectModel:function(){var e=this.options.model?this.options.model:n;this.model=new e({element:this.options.element,removeOnUnSelect:this.options.removeOnUnSelect})},_createDropdownController:function(){this.dropdownController=r.createInlineLayers({alignment:t.LEFT,offsetTarget:this.$field,content:d(".aui-list",this.$container),setMaxHeightToWindow:this.options.setMaxHeightToWindow,minHeight:this.options.minHeight})},_createSuggestionsController:function(){var e=this.options.suggestionsHandler?this.options.suggestionsHandler:o;this.suggestionsHandler=new e(this.options,this.model)},_prepareEvents:function(){this._events=Object.assign(this._events,this.options.events)},_assignEventsToFurniture:function(){var e=this;this._super();this._assignEvents("element",this.model.$element);this.model.$element.bind("reset",(function(){e.getSelectedDescriptor()&&e.setSelection(e.getSelectedDescriptor())})).bind("showSuggestions",(function(t){e._handleDown(t)})).bind("hideSuggestions",(function(){e.hideSuggestions()})).bind("set-selection-value",(function(t,i){e._setDescriptorWithValue(i)}))},setFieldWidth:function(e){this.$container.css({maxWidth:e});this.$field.css({maxWidth:e})},_createListController:function(){var e=this;this.listController=new a({announcementBoxSelector:d(".dropdown-announcement-box",this.$container),containerSelector:d(".aui-list",this.$container),groupSelector:"ul.aui-list-section",matchingStrategy:this.options.matchingStrategy,maxInlineResultsDisplayed:this.options.maxInlineResultsDisplayed,hasLinks:this.options.hasLinks,selectionHandler:function(t){var i=this.getFocused().data("descriptor");e.setSelection(i,!0,t);e.$field.select();t.preventDefault();return!1}})},getSelectedDescriptor:function(){return this.model.getDisplayableSelectedDescriptors()[0]},getDisplayVal:function(e){return e[this.options.itemAttrDisplayed||"label"]()},_getDefaultOptions:function(){return d.extend(!0,this._super(),{errorMessage:"The value {0}
4317 is invalid.",revertOnInvalid:!1,showDropdownButton:!0})},_createFurniture:function(e){var t=this.model.$element.attr("id");this.model.$element.data("aui-ss",!0);this.$container=this._render("container",this.model.id);var i=this.model.$element.data("container-class");i&&this.$container.addClass(i);if(e){var s=this.model.$element.val()&&this.model.$element.val()[0];s=s||"";this.model.$element.replaceWith(this._render("disableSelectField",t,s))}else{var n=this.model.getPlaceholder();this.$field=this._render("field",this.model.id,n).appendTo(this.$container);this.$label=d("label[for="+d.escapeSelector(this.model.id)+"]");this.$label.length&&this.$label.attr("for",this.$field.attr("id"));if(n&&!this._placeholderSupported()){this.options.overlabel=n;this.$overlabel=this._render("overlabel").insertBefore(this.$field)}this.options.hasAddonIcon&&this.$container.addClass("aui-ss-has-addon-icon");var o=this._render("suggestionsContainer",this.model.id);this.suggestionsContainerId=o.attr("id");this.$container.append(o);this.$field.attr("aria-controls",o.attr("id"));this.$container.insertBefore(this.model.$element);this.$dropDownIcon=this._render("dropdownAndLoadingIcon",this._hasDropdownButton()).appendTo(this.$container);this.$errorMessage=this._render("errorMessage");this.$announcementBox=this._render("announcementBox").appendTo(this.$container)}},_placeholderSupported:function(){return!(h.isIE()&&h.majorVersion()<10)},getQueryVal:function(){return this.$container.hasClass("aui-ss-editing")?d.trim(this.$field.val()):""},_setSuggestions:function(e,t){if(e){this._super(e,t);this.model.$element.trigger("suggestionsRefreshed",[this])}else this.hideSuggestions()},_setEditingMode:function(){this.$container.addClass("aui-ss-editing").removeClass("aui-ss-has-entity-icon");this.$field.css("paddingLeft")},_hasIcon:function(){var e,t=this.getSelectedDescriptor();if(t)return(e=t.icon())&&"none"!==e},_iconClass:function(e){return"rounded"===e?"rounded":""},_setReadOnlyMode:function(){this.$container.removeClass("aui-ss-editing");if(this._hasIcon()){this.$container.addClass("aui-ss-has-entity-icon");h.isIE()&&h.majorVersion()>8&&this.$container.append(this.$field.detach())}},submitForm:function(){if(!this.suggestionsVisible){this.handleFreeInput();d(this.$field[0].form).submit()}},selectValue:function(e){this.listController.selectValue(e)},setSelection:function(e,t,i){t=void 0===t||t;"string"==typeof e&&(e=new l({value:e,label:e}));this.removeFreeInputVal();this.$field.val(e.fieldText()||this.getDisplayVal(e));this.$field.trigger("change");if(this.model.setSelected(e,t)){this.hideErrorMessage();this.hideAriaInvalid();this.hideAriaDescribedBy()}if(this._hasIcon()){this.$entityIcon&&this.$entityIcon.remove();this.$entityIcon=this._render("entityIcon",e.icon(),this.options.iconType).appendTo(this.$container);if(this._hasDropdownButton()){this._assignEvents("ignoreBlurElement",this.$entityIcon);this._assignEvents("dropdownAndLoadingIcon",this.$entityIcon)}}this._setReadOnlyMode();this.hideSuggestions();this.lastSelection=e;this.model.$element.trigger("selected",[e,this,i])},clear:function(){this.$field.val("");this.hideSuggestions();this.clearSelection()},clearSelection:function(){var e=this;e._setEditingMode();e.model.setAllUnSelected();e.model.$element.trigger("unselect",[this])},_handleServerSuggestions:function(e){this.cleanUpModel();this._super(e)},cleanUpModel:function(){this.options.ajaxOptions.query&&this.model.clearUnSelected()},onEdit:function(){this.getSelectedDescriptor()&&this.clearSelection();this._super();this.model.$element.trigger("query")},handleFreeInput:function(e){e=e||d.trim(this.$field.val());this.options.revertOnInvalid&&!this.model.getDescriptor(e)?this.setSelection(this.lastSelection||""):this.$container.hasClass("aui-ss-editing")&&(this._setDescriptorWithValue(e)?this.hideErrorMessage():this.options.submitInputVal||this.showErrorMessage(e))},_setDescriptorWithValue:function(e){var t=this.model.getDescriptor(e);if(t){this.setSelection(t);return!0}return!1},_handleCharacterInput:function(e){this._super(e);this.$container.hasClass("aui-ss-editing")&&this.updateFreeInputVal()},_deactivate:function(){this.handleFreeInput();this.hideSuggestions()}
4317,keys:{Return:function(e){this.submitForm();e.preventDefault()},Tab:function(){this.acceptFocusedSuggestion()}},_events:{field:{focus:function(){var e=this;window.setTimeout((function(){e.$field.is(":focus")&&e.$field.select()}),0)},click:function(){this._handleCharacterInput(!0)}}},_renders:{label:function(e,t){return d("<label />").attr("for",t).attr("id",t+"-label").text(e).addClass("overlabel")},errorMessage:function(){return d('<div class="error" />')},entityIcon:function(e,t){var i=d('<img class="aui-ss-entity-icon '+this._iconClass(t)+'" alt=""/>');i.attr("src",e);return i},field:function(e,t){var i=this._render("baseField").attr({class:"text aui-ss-field ajs-dirty-warning-exempt",id:e+"-field",type:"text","aria-live":"polite"});i.attr("data-lpignore",!0);t&&i.attr("placeholder",t);this.options.ariaLabel&&!this.options.noAriaLabel&&i.attr("aria-label",this.options.ariaLabel);this.options.ariaLabelledBy&&i.attr("aria-labelledby",this.options.ariaLabelledBy);return i},disableSelectField:function(e,t){return d("<input type='text' class='text long-field' />").attr({value:t,name:e,id:e})},container:function(e){return d('<div class="aui-ss" />').toggleClass("ajax-ss",!!this.options.ajaxOptions).attr("id",e+"-single-select")},dropdownAndLoadingIcon:function(e){e&&this.$container.addClass("aui-ss-select");return d('<span class="icon aui-ss-icon noloading" tabindex="-1"></span>').toggleClass("drop-menu",!!e)}}})}));AJS.namespace("AJS.SingleSelect",null,require("jira/ajs/select/single-select")); 4318}catch(e){WRMCB(e)}; 4319; 4320try { 4321/* module-key = 'jira.webresources:frother-singleselect', location = '/includes/ajs/select/ScrollableSingleSelect.js' */ 4322define("jira/ajs/select/scrollable-single-select",["jira/jquery/deferred","jira/ajs/select/single-select","jira/ajs/list/pageable-list","jquery","underscore"],(function(e,t,n,s,o){"use strict";return t.extend({init:function(e){e=s.extend(!0,{newResultsThreshold:90},e);this._super(e);this.newResultsThreshold=e.newResultsThreshold},_assignEventsToFurniture:function(){var e,t=this;this._super();this.dropdownController.$layer.on("scroll",(function(){100*this.scrollTop/t.newResultsThreshold>this.scrollHeight-this.clientHeight&&(e&&"resolved"!==e.state()||(e=t._fetchNewContent().done((function(){t.listController.isDisplayedAllItems()&&"function"==typeof t.scrolledToBottomHandler&&t.scrolledToBottomHandler()})).fail((function(){t.listController.showPageRenderError();t.model.$element.one("suggestionsRefreshed",(function(){e=void 0}))}))))}))},_createListController:function(){var e=this;this.listController=new n({announcementBoxSelector:s(".dropdown-announcement-box",this.$container),containerSelector:s(".aui-list",this.$container),groupSelector:"ul.aui-list-section",matchingStrategy:this.options.matchingStrategy,pageSize:this.options.pageSize,pagingThreshold:this.options.pagingThreshold,hasLinks:this.options.hasLinks,selectionHandler:function(t){var n=this.getFocused().data("descriptor");e.setSelection(n);e.$field.select();t.preventDefault();return!1}})},_fetchNewContent:function(){var t=new e;o.defer(function(){try{this.listController.addNextPage();t.resolve()}catch(e){t.reject(e)}}.bind(this));return t}})})); 4323}catch(e){WRMCB(e)}; 4324; 4325try { 4326/* module-key = 'jira.webresources:frother-multiselect', location = '/includes/ajs/select/MultiSelect.Lozenge.js' */ 4327define("jira/ajs/select/multi-select/lozenge",["jira/util/formatter","jira/util/assistive","jira/util/strings","jira/ajs/control","jquery"],(function(e,t,n,s,i){"use strict";var o,l=0;return s.extend({init:function(e){this.id=l;l+=1;this._setOptions(e);this.$lozenge=this._render("lozenge");this.$removeButton=this._render("removeButton");this.$removeButton.tooltip("disable");this._assignEvents("instance",this);this._assignEvents("lozenge",this.$lozenge);this._assignEvents("removeButton",this.$removeButton);this.$removeButton.appendTo(this.$lozenge);this.$lozenge.appendTo(this.options.container)},_getDefaultOptions:function(){return{label:null,title:null,container:null,focusClass:"focused"}},_renders:{lozenge:function(){var s=n.escapeHtml(this.options.label);o||(o=t.createOrUpdateLabel("Press delete or backspace to remove this option"));return i('<li class="item-row" role="option"><button type="button" tabindex="-1" class="value-item"><span><span class="value-text">'+s+"</span></span></button></li>").attr({"aria-describedby":o,id:"item-row-"+this.id})},removeButton:function(){return i('<span class="aui-icon aui-icon-small aui-iconfont-cross item-delete"></span>')}},_events:{instance:{focus:function(){this.$lozenge.addClass(this.options.focusClass)},blur:function(){this.$lozenge.removeClass(this.options.focusClass)},remove:function(){this.$lozenge.remove()}},lozenge:{click:function(){this.trigger("focus")}},removeButton:{click:function(){this.trigger("remove")}}}})}));AJS.namespace("AJS.MultiSelect.Lozenge",null,require("jira/ajs/select/multi-select/lozenge")); 4328}catch(e){WRMCB(e)}; 4329; 4330try { 4331/* module-key = 'jira.webresources:frother-multiselect', location = '/includes/ajs/select/MultiSelect.LozengeGroup.js' */ 4332define("jira/ajs/select/multi-select/lozenge-group",["jira/ajs/group"],(function(t){"use strict";return t.extend({keys:{Left:function(){this.index>0&&this.shiftFocus(-1)},Right:function(){this.index===this.items.length-1?this.items[this.index].trigger("blur"):this.shiftFocus(1)},Backspace:function(){var t=this.index;t>0?this.shiftFocus(-1):this.items.length>1&&this.shiftFocus(1);this.items[t].trigger("remove")},Return:function(){this.items[this.index].trigger("blur")},Del:function(){var t=this.index;t+1<this.items.length&&this.shiftFocus(1);this.items[t].trigger("remove")}}})}));AJS.namespace("AJS.MultiSelect.LozengeGroup",null,require("jira/ajs/select/multi-select/lozenge-group")); 4333}catch(e){WRMCB(e)}; 4334; 4335try { 4336/* module-key = 'jira.webresources:frother-multiselect', location = '/includes/ajs/select/MultiSelect.js' */
4337define("jira/ajs/select/multi-select",["jira/util/formatter","jira/ajs/layer/layer-constants","jira/ajs/select/multi-select/lozenge","jira/ajs/select/multi-select/lozenge-group","jira/ajs/select/queryable-dropdown-select","jira/ajs/select/select-helper","jira/ajs/select/select-model","jira/ajs/select/suggestions/select-suggest-handler","jira/ajs/layer/inline-layer-factory","jira/ajs/list/list","jira/ajs/list/item-descriptor","jira/util/objects","jira/util/assistive","jquery"],(function(e,t,i,s,n,o,r,l,a,d,h,u,c,p){"use strict";return n.extend({init:function(e){var t=this;if(this._setOptions(e)===this.INVALID)return this.INVALID;p.extend(this,o);this.options.element=p(this.options.element);this.lozengeGroup=this.options.itemGroup;this._createSelectModel();if(this.options.disabled){this._createFurniture(!0);return this}this._createFurniture();this._createSuggestionsController();this._createListController();this._createDropdownController();this._prepareEvents();this._assignEventsToFurniture();this._setInitState();this.options.width&&this.setFieldWidth(this.options.width);this.model.$element.addClass("multi-select-select").trigger("initialized",[this]);setTimeout((function(){t.updateItemsIndent()}),1)},_createSelectModel:function(){this.model=new r({element:this.options.element,removeOnUnSelect:this.options.removeOnUnSelect})},_setInitState:function(){this._restoreSelectedOptions();if(this.options.inputText){this.$field.val(this.options.inputText);this.updateFreeInputVal()}},_createListController:function(){var e=this;this.listController=new d({announcementBoxSelector:p(".dropdown-announcement-box",this.$container),containerSelector:p(".aui-list",this.$container),groupSelector:"ul.aui-list-section",matchingStrategy:this.options.matchingStrategy,maxInlineResultsDisplayed:this.options.maxInlineResultsDisplayed,exp
4337andAllResults:this.options.expandAllResults,selectionHandler:function(t){e._selectionHandler(this.getFocused(),t);return!1}})},_createDropdownController:function(){var e=this;this.dropdownController=a.createInlineLayers({alignment:t.LEFT,offsetTarget:this.$field,maxInlineResultsDisplayed:this.options.maxInlineResultsDisplayed,content:p(".aui-list",this.$container)});this.options.layerId&&(this.dropdownController.options.id=this.options.layerId);this.dropdownController.onhide((function(){e.hideSuggestions()}))},_createSuggestionsController:function(){var e=this.options.suggestionsHandler?this.options.suggestionsHandler:l;this.suggestionsHandler=new e(this.options,this.model)},_getDefaultOptions:function(){return p.extend(!0,this._super(),{minRoomForText:50,errorMessage:"The value {0} is invalid.",showDropdownButton:!0,itemGroup:new s,suggestionsHandler:l,itemBuilder:function(e){return new i({label:e.label(),title:e.title(),container:this.$selectedItemsContainer})}})},_createFurniture:function(e){var t=this.model.$element.attr("id"),i=this.model.$element.attr("aria-describedby"),s=this.model.$element.attr("aria-invalid");this.model.$element.prev().hasClass("ajs-multi-select-placeholder")&&this.model.$element.prev().remove();if(e)this.model.$element.replaceWith(this._render("disableSelectField",t));else{this.$container=this._render("container",t);this.$field=this._render("field",t,i,s).appendTo(this.$container);this.$label=p('label[for="'.concat(p.escapeSelector(t),'"]'));this.$label.length?this.$label.attr("for",this.$field.attr("id")):this.$label=p('label[for="'.concat(p.escapeSelector(this.$field.attr("id")),'"]'));"combobox"===this.$field.attr("role")&&i&&(this.ariaDescriptionForCombobox=p("#".concat(p.escapeSelector(i))).text());var n=this._render("suggestionsContainer",t);this.$container.append(n);this.suggestionsContainerId=n.attr("id");this.$container.insertBefore(this.model.$element);this.$dropDownIcon=this._render("dropdownAndLoadingIcon",this._hasDropdownButton()).appendTo(this.$container);this.$errorMessage=this._render("errorMessage",t);this.$selectedItemsWrapper=this._render("selectedItemsWrapper").appendTo(this.$container);this.$selectedItemsContainer=this._render("selectedItemsContainer").appendTo(this.$selectedItemsWrapper);this.$announcementBox=this._render("announcementBox").appendTo(this.$container)}},_prepareEvents:function(){Object.assign(this._events,this.options.events)},_assignEventsToFurniture:function(){var e=this;this._super();this._assignEvents("body",document);this._assignEvents("element",this.model.$element);this._assignEvents("selectedItemsContainer",this.$selectedItemsContainer);this._assignEvents("lozengeGroup",this.lozengeGroup);this.model.$element.bind("updateOptions",(function(){e.options=p.extend(!0,e.options,e.model.$element.getOptionsFromAttributes());e._createSuggestionsController()})).bind("selectOption",(function(t,i){e.addItem(i)})).bind("removeOption",(function(t,i){e.removeItem(i)})).bind("clearSelection",(function(){e.clearLozenges()})).bind("showSuggestions",(function(t){e._handleDown(t)})).bind("hideSuggestions",(function(){e.hideSuggestions()}))},_getUserInputValue:function(){return this.options.uppercaseUserEnteredOnSelect?this.$field.val().toUpperCase():this.$field.val()},clear:function(){this.$field.val("");this.hideSuggestions();this.clearSelection()},clearSelection:function(){this.model.setAllUnSelected();this.updateItemsIndent();this.model.$element.trigger("unselect",[this])},clearLozenges:function(){this.lozengeGroup.removeAllItems();this.clear()},removeItem:function(e){var t=this;this.model.setUnSelected(e);window.setTimeout((function(){t.updateItemsIndent();t.updateAriaLabel()}),0);this.model.$element.trigger("unselect",[e,this])},_restoreSelectedOptions:function(){var e=this;p.each(this.model.getDisplayableSelectedDescriptors(),(function(){e.addItem(this,!0)}));this.updateItemsIndent()},_shouldEnableLozengeGroup:function(){return this.lozengeGroup.items.length>0&&this.lozengeGroup.index<0&&(0===this.$field.val().length||0===this.getCaret(this.$field[0]))},_handleBackSpace:function(){var e=this;this._shouldEnableLozengeGroup()&&setTimeout((function(){e.lozengeGroup.shiftFocus(-1)}),0)},_handleLeft:function(){if(this._shouldEnableLozengeGroup()){var e=this;setTimeout((function(){e.lozengeGroup.shiftFocus(-1)}),0)}},updateItemsIndent:function(){var e=this._getInputIndent(),t=e.top+20;this.$container&&this.$container.closest(".inline-edit-fields").size()?t+=2:t+=6;this.$field.css({paddingTop:e.top,paddingLeft:e.left});this.$field.css({height:t});this.currentTopOffset&&this.currentTopOffset!==e.top&&this.$container.trigger("multiSelectHeightUpdated",[this]);this.currentTopOffset=e.top},_isItemPresent:function(e){var t=!1,i=e.value();p.each(this.lozengeGroup.items,(function(){if(this.value===i){t=!0;return!1}}
4337));return t},addItem:function(e,t){e instanceof h&&(e=u.copyObject(e.allProperties(),!1));e.value=p.trim(e.value);e.label=p.trim(e[this.options.itemAttrDisplayed])||e.value;e.title=p.trim(e.title)||e.label;e=new h(e);if(!this._isItemPresent(e)){var i=this.options.itemBuilder.call(this,e);this.lozengeGroup.addItem(i);this._assignEvents("lozenge",i);this.model.setSelected(e);this.updateItemsIndent();this.dropdownController.setPosition();i.value=e.value();this.updateAriaLabel();t||this.model.$element.trigger("selected",[e,this])}},updateAriaLabel:function(){if(!this.model.$element.hasClass("no-custom-aria-label")){this.ariaLabelTimerDebounce&&window.clearTimeout(this.ariaLabelTimerDebounce);var e=function(){var e=this.$label.text(),t=this.ariaDescriptionForCombobox||"",i=this.model.getDisplayableSelectedDescriptors().map((function(e){return e.label()})),s=i.length>0?i.join(", "):"",n=!!(e||s||t);this.$field.attr("aria-label",n?"".concat(e,"- ").concat(s,". ").concat(t):null)}.bind(this);this.ariaLabelTimerDebounce=window.setTimeout(e,100)}},_addMultipleItems:function(e,t){var i=this;p.each(e,(function(e,s){t&&(s.removeOnUnSelect=!0);i.addItem(s)}))},_probablyNeedsIndentationSet:function(){if(0===this.lozengeGroup.items.length)return!1;return!(parseInt(this.$field.css("paddingLeft"))>8)},_getInputIndent:function(){var e,t,i,s,n=this.lozengeGroup.items.length-1;i={top:3,left:4};if(n>=0){e=(s=this.lozengeGroup.items[n].$lozenge).prop("offsetTop")-3;this.$container&&this.$container.closest(".inline-edit-fields").size()&&(e+=3);if((t=s.prop("offsetLeft")+s.outerWidth()+4)>this.$container.width()-21-this.options.minRoomForText){e+=s.prop("offsetHeight");t=0}i.top+=e;i.left+=t}return i},_selectionHandler:function(e,t){var i=this;e.each((function(){i.addItem(p.data(this,"descriptor"))}));this.$field.val("").focus().scrollIntoView({margin:20});this.hideSuggestions();this.hideErrorMessage();this.hideAriaInvalid();this.hideAriaDescribedBy();this.updateFreeInputVal();this.model.$element.trigger("change");t.preventDefault()},isValidItem:function(e){var t=this.listController.getFocused().data("descriptor");return!!t&&((e=e.toLowerCase())===p.trim(t.label.toLowerCase())||e===p.trim(t.value.toLowerCase()))},handleFreeInput:function(){var e,t=p.trim(this.$field.val());if(t)if(e=this.model.getDescriptor(t)){this.addItem(e);this.model.$element.trigger("change");this.$field.val("");this.hideErrorMessage();this.updateFreeInputVal()}else this.options.submitInputVal||this.showErrorMessage(t)},submitForm:function(){0!==this.$field.val().length||this.suggestionsVisible||p(this.$field[0].form).submit()},_handleCharacterInput:function(e,t){this._super(e,t);this.updateFreeInputVal()},_deactivate:function(){this.handleFreeInput();this.lozengeGroup.trigger("blur");this.hideSuggestions()},keys:{Left:function(){this._handleLeft()},Backspace:function(){this._handleBackSpace()},Return:function(e){this.submitForm();e.preventDefault()},Tab:function(){this.acceptFocusedSuggestion()}},_events:{body:{tabSelect:function(){this.$field.is(":visible")&&this.updateItemsIndent()},multiSelectRevealed:function(){this.$field.is(":visible")&&this.updateItemsIndent()}},field:{blur:function(){if(this.ignoreBlurEvent){this.ignoreBlurEvent=!1;this.$field.focus()}else this._deactivate()},"aui:keydown aui:keypress":function(e){if(this.lozengeGroup.index>=0)if(e.key in this.lozengeGroup.keys)e.preventDefault();else if("Return"===e.key){this.submitForm();e.preventDefault()}else{this.onEdit(e);this.lozengeGroup.trigger("blur")}},click:function(){this.lozengeGroup.trigger("blur");this.$field.focus()},focus:function(){this._probablyNeedsIndentationSet()&&this.updateItemsIndent()}},lozengeGroup:{focus:function(){this.$field.focus();this.hideSuggestions();this._unassignEvents("keys",this.$field);this.$field.attr("aria-controls",this.suggestionsContainerId)},blur:function(){this._assignEvents("keys",this.$field);this.$field.removeAttr("aria-controls");this.$field.val()&&this._handleCharacterInput()}},lozenge:{remove:function(e){this.removeItem(this.model.getDescriptor(e.target.value));this.$field.focus()},focus:function(e){c.wait(function(){this.$field.attr("aria-activedescendant",e.currentTarget.$lozenge.attr("id"))}.bind(this))},blur:function(){this.$field.removeAttr("aria-activedescendant")}},selectedItemsContainer:{click:function(e){if(e.target===e.currentTarget){this.lozengeGroup.trigger("blur");this.$field.focus()}}}},_renders:{errorMessage:function(e){return p('<div class="error" />').attr("id",e+"-error")},selectedItemsWrapper:function(){return p('<div class="representation" />')},selectedItemsContainer:function(){return p('<ul class="items" role="listbox" />')},field:function(e,t,i){var s=this._render("baseField","textarea").attr({id:e+"-textarea",class:"text long-field",wrap:"off"});t&&s.attr("aria-describedby",t);i&&s.attr("aria-invalid",i);this.options.ariaLabel&&s.attr("aria-label",this.options.ariaLabel);this.options.ariaLabelledBy&&s.attr("aria-labelledby",this.options.ariaLabelledBy);return s},disableSelectField:function(e){return p("<input type='text' class='long-field' />").attr({name:e,id:e})},container:function(e){return p('<div class="jira-multi-select long-field" />').attr("id",e+"-multi-select")},suggestionsContainer:function(e){return p('<div class="aui-list" tabindex="-1" />').attr("id",e+"-suggestions")}}})}));AJS.namespace("AJS.MultiSelect",null,require("jira/ajs/select/multi-select")); 4338}catch(e){WRMCB(e)}; 4339; 4340try { 4341/* module-key = 'jira.webresources:frother-checkbox-multiselect', location = '/includes/ajs/select/CheckboxMultiSelect.js' */
4342define("jira/ajs/select/checkbox-multi-select",["jira/util/formatter","jira/util/key-code","jira/ajs/select/queryable-dropdown-select","jira/ajs/select/select-helper","jira/ajs/select/select-model","jira/ajs/select/suggestions/checkbox-multi-select-suggest-handler","jira/ajs/list/list","jira/util/events","jira/util/events/types","jquery","underscore"],(function(e,t,i,n,s,o,l,r,a,c,d){"use strict";return i.extend({init:function(e){var t=this;e.shouldNotAddAriaAttributesForSearchField=!0;this.changeFocusAfterSelect=!1!==e.changeFocusAfterSelect;c.extend(this,n);this._setOptions(e);if(!c(this.options.element).attr("multiple"))throw"Cannot create CheckboxMultiSelect without multiple-select select element.";this.options.element=c(this.options.element).hide();this.model=new s({element:this.options.element,removeOnUnSelect:this.options.removeOnUnSelect});var i=this.options.suggestionsHandler?this.options.suggestionsHandler:o;this.suggestionsHandler=new i(this.options,this.model);this.options.element.bind("updateOptions",(function(){t._setOptions(e)})).bind("selectOption",(function(e,i){t.selectItem(i)})).bind("removeOption",(function(e,i){t.unselectItem(i)})).bind("clear",(function(){t.clear()}));this._createFurniture();this._createDropdownController();this._createListController();this._assignEventsToFurniture();this.render();this.model.$element.addClass("check-list-select-select").trigger("initialized",[this]);r.trigger(a.CHECKBOXMULITSELECT_READY,[this.model.$element,this]);return this},_createListController:function(){var e=this;this.listController=new l({stallEventBind:this.options.stallEventBind,containerSelector:c(".aui-list",this.$container),scrollContainer:".aui-list-scroll",selectionEvent:"change",delegateTarget:this.$field,hasLinks:!1,suggestionsListRole:"list",itemSelector:".check-list-item",groupSelector:"ul.aui-list-section",matchingStrategy:this.options.matchingStrategy,maxInlineResultsDisplayed:this._getMaxInlineResultsDisplayed(),maxResultsDisplayedPerGroup:this.options.maxResultsDisplayedPerGroup,expandAllResults:this.options.expandAllResults,renderers:this._getCustomRenders(),selectionHandler:function(t){var i;i="change"===t.type?c(t.target).closest(this.options.itemSelector):this.getFocused();e._selectionHandler(i);return!1},prioritizeExactMatches:this.options.prioritizeExactMatches,hideSuggestionCount:this.options.hideSuggestionCount});this.$container.find(".aui-list").removeAttr("tabindex").removeAttr("role")},_createDropdownController:function(){this.dropdownController={show:c.noop,setWidth:c.noop,setPosition:c.noop,hide:c.noop}},_getCustomRenders:function(){return{suggestion:this._renders.suggestionItem,suggestionItemElement:this._renders.suggestionItemElement.bind(this),suggestionItemResolver:this._renders.suggestionItemResolver.bind(this)}},_announceResultsCount:d.debounce((function(t,i){i.html(e.format("{0,choice,0#No matches|1#{0} result available|1\u003c{0} results available}. Type to search and press Tab to navigate through options.",t))}),600),_handleCharacterInput:function(e){c.each(this.listController.$container.find(".invalid-item"),(function(){c(this).tipsy("hide")}));this.requestSuggestions(e).done(d.bind((function(e){this._setSuggestions(e);this._announceResultsCount(this.listController.items.length,this.$fieldAnnouncement)}),this));this.$dropDownIcon.toggleClass("clear-field aui-iconfont-remove",!!this.getQueryVal());this.$dropDownIcon.toggleClass("aui-iconfont-search",!this.getQueryVal());this.listController.moveToFirst()},_getDefaultOptions:function(){return c.extend(!0,this._super(),{errorMessage:"The value {0}
4342 is invalid.",stallEventBind:!0})},_createFurniture:function(){var e=this.model.$element.attr("id");this.$container=this._render("container",e);this.$fieldContainer=this._render("fieldContainer").appendTo(this.$container);this.$fieldAnnouncement=this._render("fieldAnnouncement").appendTo(this.$fieldContainer);this.$field=this._render("field",e,this._getPlaceholderText()).appendTo(this.$fieldContainer);var t=this._render("suggestionsContainer",e);this.suggestionsContainerId=t.attr("id");this.$container.append(t);this.$container.insertBefore(this.model.$element);this.$dropDownIcon=this._render("dropdownAndLoadingIcon").appendTo(this.$fieldContainer)},_getPlaceholderText:function(){var t=c.trim(this.model.$element.data("placeholder-text"));return t&&""!==t?t:"Search"},_getMaxInlineResultsDisplayed:function(){return this.options.maxInlineResultsDisplayed||parseInt(this.model.$element.data("max-inline-results-displayed"),10)||void 0},_assignEventsToFurniture:function(){var e=this;this._assignEvents("body",document);this.options.stallEventBind?window.setTimeout((function(){e._assignEvents("field",e.$field)._assignEvents("keys",e.$field)._assignEvents("container",e.$container)._assignEvents("fieldIcon",e.$dropDownIcon)}),0):e._assignEvents("field",e.$field)._assignEvents("keys",e.$field)._assignEvents("fieldIcon",e.$dropDownIcon);this.listController.$container.delegate(".clear-all","click",(function(t){t.preventDefault();var i=c(t.target);if(!i.hasClass("disabled")){i.parent().remove();e.clear()}}));this.listController.bind("itemFocus",this._onItemFocus.bind(this))},clear:function(){var e=this,t=this.model.getDisplayableSelectedDescriptors();this.model.setAllUnSelected();if(0===this.$field.val().length){this.$field.val("");this.listController.$container.find(":checkbox").removeAttr("checked")}else{this.clearQueryField();this.listController.moveToFirst()}this._toggleClearButton();c.each(t,(function(){e.model.$element.trigger("unselect",[this,e,!0])}));var i=new CustomEvent("clearall",{bubbles:!0,detail:{component:"checkboxmultiselect"}});this.options.element[0].dispatchEvent(i)},clearQueryField:function(){this.$field.val("");this._handleCharacterInput(!0);this.$field.focus()},unselectItem:function(e){this.model.setUnSelected(e);this.model.$element.trigger("unselect",[e,this,!1]);var t=new CustomEvent("unselect",{bubbles:!0,detail:{id:e.properties.value,name:e.properties.label,component:"checkboxmultiselect"}});this.options.element[0].dispatchEvent(t);this.$container.find(".aui-list input[type=checkbox]").each((function(){this.value===e.value()&&(this.checked=!1)}))},showLoading:function(){this.$dropDownIcon.addClass("loading").removeClass("noloading");return this},hideLoading:function(){this.$dropDownIcon.removeClass("loading").addClass("noloading");return this},_handleEscape:function(e){var i=this.$field;if("keydown"===e.type&&""!==i.val()){e.stopPropagation();i.val("");i.on("keyup",(function e(n){if(n.keyCode===t.ESCAPE){n.stopPropagation();i.off("keyup",e)}}));this._handleCharacterInput(!0)}},selectItem:function(e,t){this.model.setSelected(e);if(!t){this.model.$element.trigger("selected",[e,this]);var i=new CustomEvent("selected",{bubbles:!0,detail:{id:e.properties.value,name:e.properties.label,component:"checkboxmultiselect"}});this.options.element[0].dispatchEvent(i)}this.$container.find(".aui-list input[type=checkbox]").each((function(){this.value===e.value()&&(this.checked=!0)}))},_selectionHandler:function(e){var t=this;e.each((function(){var e=c.data(this,"descriptor"),i=c(this).find(":input");t._setDescriptorSelection(e,i)}));this._toggleClearButton()},_toggleClearButton:function(){var e=this.model.getSelectedValues().length>0;this.listController.$container.find(".clear-all").attr("tabindex",e?null:-1).closest(".check-list-group-actions").toggleClass("hidden",!e)},_setDescriptorSelection:function(e,t){if(e.selected()){this.unselectItem(e);t.removeAttr("checked")}else{this.selectItem(e);t.attr("checked","checked")}},render:function(){this._handleCharacterInput(!0)},_events:{field:{keydown:function(e){if(e.keyCode===t.ENTER){e.preventDefault();var i=this;this.model.$element.bind("unselect selected",n);setTimeout((function(){i.model.$element.unbind("unselect selected",n)}),0)}function n(){if(""!==c.trim(i.$field.val())){i.$field.val("");i._handleCharacterInput(!0)}}}},fieldIcon:{click:function(e){c(e.target).hasClass("clear-field")&&this.clearQueryField()}}},_renders:{errorMessage:function(e){return c('<div class="error" />').attr("id",e+"-error")},fieldContainer:function(){return c("<div class='check-list-field-container' />")},fieldAnnouncement:function(){return c("<div class='assistive' aria-live='polite'></div>")},field:function(e,t){var i=this._render("baseField").attr({placeholder:t,class:"text",id:e+"-input"});this.options.ariaLabel&&i.attr("aria-label",this.options.ariaLabel);return i},disableSelectField:function(e){return c("<input type='text' class='long-field' />").attr({name:e,id:e})},container:function(e){return c('<div class="check-list-select" />').attr("id",e+"-multi-select")},suggestionItemElement:function(e,t){var i=d.escape(e.value()),n=e.icon(),s=n&&"none"!==n,o=e.fallbackIcon(),l=d.escape(e.title()),r=t||e.html()||d.escape(e.label()),a=e.selected(),h=e.styleClass(),u=e.disabled(),p=o&&"none"!==o?" onerror=\"this.onerror=null;this.src='".concat(o,"';\""):"",g="";s&&(g="<img src=".concat(n," \n ").concat(p," \n loading='lazy' \n alt='' \n height='16' width='16' \n class='icon").concat("rounded"===e.iconType()?" rounded":"","' \n align='absmiddle' />"));return c("\n <li class='check-list-item".concat(u?" disabled":""," ").concat(h||"","' id='").concat(i+"-"+this.options.id,"'>\n <label class='item-label checkbox' original-title='").concat(l,"' data-descriptor-title='").concat(l,"'>\n <input type='checkbox'").concat(u?' disabled="disabled"':""," value='").concat(i,"'").concat(a?" checked='checked'":""," />\n ").concat(g,"\n ").concat(r,"\n </label>\n </li>"))},suggestionItemResolver:function(e,t){return this._render("suggestionItemElement",e,t)},suggestionItem:function(t,i){var n,s=this._render("suggestionItemResolver",t,i),o=s.find("label");
4342if(t.invalid()||t.disabled()){s.addClass("has-invalid-item");o.append("<span class='invalid-item'></span>");n=o.find(".invalid-item");var l;if(t.title()){l=t.title();o.attr("original-title",l);o.removeAttr("title")}else l=e.format("{0} \u0027\u0027{1}\u0027\u0027 is not valid for your current Project(s) and/or Issue Type(s) selection","Value",t.label());n.tipsy({title:function(){return l},className:"tipsy-front",trigger:"manual"});n.hoverIntent({interval:200,over:function(){n.tipsy("show")},out:function(){n.tipsy("hide")}})}return s.data("descriptor",t)},dropdownAndLoadingIcon:function(){return c('<span class="icon-default aui-icon aui-icon-small aui-iconfont-search noloading"></span>')}},handleFreeInput:c.noop,hideSuggestions:c.noop,showErrorMessage:c.noop,_deactivate:c.noop})}));AJS.namespace("AJS.CheckboxMultiSelect",null,require("jira/ajs/select/checkbox-multi-select")); 4343}catch(e){WRMCB(e)}; 4344; 4345try { 4346/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.icon', location = 'aui.chunk.c683d29b45b0edae9fb6--98e01f91bb93674371d4.js' */ 4347"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1135],{8351:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[5828],(()=>{return a=8351,u(u.s=a);var a}));u.O()}]); 4348}catch(e){WRMCB(e)}; 4349; 4350try { 4351/* module-key = 'com.atlassian.auiplugin:split_aui.page.iconography', location = 'aui.chunk.5822db8c38c18b1d1ca2--fbc29624b75ce9a7c2dd.js' */ 4352"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[3008],{9794:(u,a,i)=>{i.r(a)}},u=>{u.O(0,[1263,5828,5388,9489],(()=>{return a=9794,u(u.s=a);var a}));u.O()}]); 4353}catch(e){WRMCB(e)}; 4354; 4355try { 4356/* module-key = 'jira.webresources:select-pickers', location = '/includes/jira/field/IssuePicker.js' */ 4357define("jira/field/issue-picker",["jira/ajs/select/multi-select","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","wrm/context-path","jquery","jira/libs/parse-uri"],(function(e,s,i,t,r,n){"use strict";var a=t(),u=e.extend({_formatResponse:function(e){var t,u=[],o=(t=n(window.location)).protocol+"://"+t.authority;e&&e.sections&&r(e.sections).each((function(e,t){var n=new s({weight:e,label:t.label,description:t.sub});t.issues&&t.issues.length>0&&r(t.issues).each((function(){n.addItem(new i({highlighted:!0,value:this.key,label:this.key+" - "+this.summaryText,icon:this.img?o+a+this.img:null,html:this.keyHtml+" - "+this.summary}))}));u.push(n)}));return u},_getDefaultOptions:function(){return r.extend(!0,this._super(),{ajaxOptions:{formatResponse:this._formatResponse}})},_launchPopup:function(){function e(e,s){return null==e?s:e}var s,i,t,n,o=this;u.callback=function(e){"string"==typeof e&&(e=JSON.parse(e));o._addMultipleItems(e,!0);o.$field.focus()};n=this.options.ajaxOptions.data;s=a+"/secure/popups/IssuePicker.jspa?";i={singleSelectOnly:"false",decorator:"popup",currentIssue:n.currentIssueKey||"",showSubTasks:e(n.showSubTasks,!1),showSubTasksParent:e(n.showSubTaskParent,!1)};n.currentProjectId&&(i.currentProjectId=n.currentProjectId);s+=r.param(i);(t=window.open(s,"IssueSelectorPopup","status=no,resizable=yes,top=100,left=200,width="+this.options.popupWidth+",height="+this.options.popupHeight+",scrollbars=yes,resizable")).opener=self;t.focus()},_createFurniture:function(e){var s;this._super(e);s=this._render("popupLink");this._assignEvents("popupLink",s);this.$container.addClass("jira-issue-picker");this.$container.addClass("hasIcon");this.$container.after(s)},handleFreeInput:function(){var e=this.$field.val().toUpperCase().match(/\S+/g);e&&this._addMultipleItems(r.map(e,(function(e){return{value:e,label:e}})));this.$field.val("")},_events:{popupLink:{click:function(e){this._launchPopup();e.preventDefault()}}},_renders:{popupLink:function(){return r(JIRA.Templates.IssuePicker.popupLink({popupLinkMessage:this.options.popupLinkMessage}))}}});u.callback=null;return u}));AJS.namespace("jira.issuepicker",null,require("jira/field/issue-picker"));AJS.namespace("AJS.IssuePicker",null,require("jira/field/issue-picker"));AJS.namespace("JIRA.IssuePicker",null,require("jira/field/issue-picker")); 4358}catch(e){WRMCB(e)}; 4359; 4360try { 4361/* module-key = 'jira.webresources:select-pickers', location = '/includes/jira/field/LabelPicker.js' */ 4362define("jira/field/label-picker",["jira/util/formatter","jira/ajs/select/multi-select","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","wrm/context-path","jquery"],(function(e,t,i,s,a,l){"use strict";var n=a();return t.extend({_getDefaultOptions:function(){return l.extend(!0,this._super(),{ajaxOptions:{url:n+"/includes/js/ajs/layer/labeldata.js",formatResponse:this._formatResponse},removeDuplicates:!0,removeOnUnSelect:!0,userEnteredOptionsMsg:"New Label"})},isValidItem:function(e){return!/\s/.test(e)},_handleServerSuggestions:function(e){e&&e.token&&l.trim(this.$field.val())!==e.token||this._super(e)},_handleSpace:function(){""!==l.trim(this.$field.val())&&this.handleFreeInput()&&this.hideSuggestions()},keys:{Spacebar:function(e){this._handleSpace();e.preventDefault()}},_formatResponse:function(t){var a=new i({label:"Suggestions",type:"optgroup",styleClass:"labels-suggested"});t&&t.suggestions&&l.each(t.suggestions,(function(){a.addItem(new s({value:this.label,label:this.label,html:this.html,highlighted:!0}))}
4362));return[a]},handleFreeInput:function(){var e=l.trim(this.$field.val()).match(/\S+/g);if(e){for(var t=0;t<e.length;t++){var i=e[t];this.addItem({value:i,label:i})}this.model.$element.trigger("change")}this.$field.val("")}})}));AJS.namespace("AJS.LabelPicker",null,require("jira/field/label-picker"));AJS.namespace("JIRA.LabelPicker",null,require("jira/field/label-picker")); 4363}catch(e){WRMCB(e)}; 4364; 4365try { 4366/* module-key = 'jira.webresources:select-pickers', location = '/includes/ajs/select/CheckboxMultiSelectStatusLozenge.js' */ 4367define("jira/ajs/select/checkbox-multi-select-status-lozenge",["jira/ajs/select/checkbox-multi-select","jquery"],(function(e,t){"use strict";return e.extend({_getCustomRenders:function(){var e=this._super();e.suggestionItemStatusLozenge=this._renders.suggestionItemStatusLozenge;return e},_renders:{suggestionItemStatusLozenge:function(e){var s=t("<input type='checkbox' />").val(e.value()),a=t('<li class="check-list-item">').attr("id",e.value()+"-"+this.options.id),l=t("<label class='item-label checkbox' />");e.styleClass()&&a.addClass(e.styleClass());l.html(JIRA.Template.Util.Issue.Status.issueStatusResolver({issueStatus:e.model().data("simple-status"),isSubtle:!0}));e.selected()&&s.attr("checked","checked");e.title()&&l.attr("data-descriptor-title",e.title());if(e.disabled()){a.addClass("disabled");s.attr("disabled","disabled")}l.prepend(s);a.append(l);return a},suggestionItemResolver:function(e,t){return e.model().data("simple-status")?this._render("suggestionItemStatusLozenge",e):this._render("suggestionItemElement",e,t)}}})}));AJS.namespace("AJS.CheckboxMultiSelectStatusLozenge",null,require("jira/ajs/select/checkbox-multi-select-status-lozenge")); 4368}catch(e){WRMCB(e)}; 4369; 4370try { 4371/* module-key = 'jira.webresources:select-pickers', location = '/includes/jira/field/templates/IssuePicker.soy' */ 4372// This file was automatically generated from IssuePicker.soy. 4373// Please don't edit this file by hand. 4374 4375/** 4376 * @fileoverview Templates in namespace JIRA.Templates.IssuePicker. 4377 */ 4378 4379if (typeof JIRA == 'undefined') { var JIRA = {}; } 4380if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4381if (typeof JIRA.Templates.IssuePicker == 'undefined') { JIRA.Templates.IssuePicker = {}; } 4382 4383 4384JIRA.Templates.IssuePicker.popupLink = function(opt_data, opt_ignored) { 4385 return '<div class=\'issue-picker-popup\'>' + aui.buttons.button({type: 'subtle', text: '', extraClasses: ['aui-button-compact'], iconType: 'aui', iconClass: 'aui-icon-small aui-iconfont-add', iconText: opt_data.popupLinkMessage, extraAttributes: {title: opt_data.popupLinkMessage, type: 'button'}}) + '</div>'; 4386}; 4387if (goog.DEBUG) { 4388 JIRA.Templates.IssuePicker.popupLink.soyTemplateName = 'JIRA.Templates.IssuePicker.popupLink'; 4389} 4390 4391}catch(e){WRMCB(e)}; 4392; 4393try { 4394/* module-key = 'jira.webresources:shifter', location = '/includes/jira/shifter/shifter.soy' */ 4395// This file was automatically generated from shifter.soy. 4396// Please don't edit this file by hand. 4397 4398/** 4399 * @fileoverview Templates in namespace JIRA.Templates.Shifter. 4400 */ 4401 4402if (typeof JIRA == 'undefined') { var JIRA = {}; } 4403if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4404if (typeof JIRA.Templates.Shifter == 'undefined') { JIRA.Templates.Shifter = {}; } 4405 4406 4407JIRA.Templates.Shifter.dialog = function(opt_data, opt_ignored) { 4408 return '<div class="shifter-dialog" id="' + soy.$$escapeHtml(opt_data.id) + '"><form class="aui ajs-dirty-warning-exempt"><div id="' + soy.$$escapeHtml(opt_data.id) + '-suggestions" class="aui-list"></div></form><div class="hint-container overflow-ellipsis" title="' + soy.$$escapeHtml('Pressing full-stop (.) opens this dialog box') + '">' + soy.$$filterNoAutoescape('Pressing full-stop (\x3ckbd\x3e.\x3c/kbd\x3e) opens this dialog box') + '</div></div>'; 4409}; 4410if (goog.DEBUG) { 4411 JIRA.Templates.Shifter.dialog.soyTemplateName = 'JIRA.Templates.Shifter.dialog'; 4412} 4413 4414 4415JIRA.Templates.Shifter.groupHeading = function(opt_data, opt_ignored) { 4416 return '<div class="shifter-group-heading"><h5>' + soy.$$escapeHtml(opt_data.groupName) + '</h5>' + ((opt_data.groupContext) ? '<span class="shifter-group-context">' + soy.$$escapeHtml(opt_data.groupContext) + '</span>' : '') + '</div>'; 4417}; 4418if (goog.DEBUG) { 4419 JIRA.Templates.Shifter.groupHeading.soyTemplateName = 'JIRA.Templates.Shifter.groupHeading'; 4420} 4421 4422}catch(e){WRMCB(e)}; 4423; 4424try { 4425/* module-key = 'jira.webresources:shifter', location = '/includes/jira/shifter/ShifterAnalytics.js' */ 4426define("jira/shifter/shifter-analytics",["jira/analytics","jira/util/strings","jira/util/data/meta","underscore","exports"],(function(e,t,r,i,n){"use strict";var s=["admin","issue-actions"];var a=["done","start progress","ready for review","stop progress","reopen","approve","reject","reopen and start progress"];function o(e,r,n){r=function(e){return i.isObject(e)&&i.has(e,"url")?e.url:i.isString(e)?e.toLowerCase():""}(r);e=e.toLowerCase();return function(e){return s.indexOf(e)>=0}(n)||function(e){return a.indexOf(e)>=0}(e)?e:"edit-fields"!==n||t.startsWith(r,"customfield_")?t.hashCode(e):r}function c(t,r){e.send({name:"jira.dotdialog."+t,data:r})}n.show=function(){c("show")};n.selection=function(e,t,i){i&&t&&e&&c("selection",{group:i,selected:o(e,t,i),lang:r.getLanguage()})};n.selection.privacyPolicySafeGroups=s;n.selection.privacyPolicySafeLabels=a})); 4427}catch(e){WRMCB(e)}; 4428; 4429try { 4430/* module-key = 'jira.webresources:shifter', location = '/includes/jira/shifter/ShifterSelect.js' */
4431define("jira/shifter/shifter-select",["jira/util/formatter","jira/ajs/select/queryable-dropdown-select","jira/ajs/list/list-with-messages","jira/ajs/list/message-descriptor","jquery","underscore"],(function(e,t,o,i,n,s){"use strict";return t.extend({init:function(t){s.extend(t,{dropdownController:{setWidth:n.noop,setPosition:n.noop,onhide:n.noop,hide:n.noop,show:n.noop}});this._super(t);this.$field.attr("aria-controls",this.options.element.attr("id"));this.$field.attr("placeholder","Find Actions...");this.$dropDownIcon.click(s.bind(this.clear,this));this._handleCharacterInput()},onEdit:function(){this.toggleClearButton();this._handleCharacterInput()},clear:function(){this.$field.val("").focus();this.onEdit()},toggleClearButton:function(){this.$dropDownIcon.toggleClass("aui-iconfont-remove",!!this.$field.val())},showLoading:function(){this._super();this.$dropDownIcon.removeClass("aui-iconfont-remove")},hideLoading:function(){this._super();this.toggleClearButton()},_handleCharacterInput:function(){this._super(!0);0===this.getQueryVal().length&&this.listController.moveToFirst()},_createListController:function(){var t=this;this.listController=new o({containerSelector:this.options.element,groupSelector:"ul.aui-list-section",scrollContainer:".aui-list-scroll",listItemTag:"span",matchingStrategy:this.options.matchingStrategy,maxResultsDisplayedPerGroup:this.options.maxResultsDisplayedPerGroup,eventTarget:this.$field,hasLinks:!1,subtextPrefix:" - ",renderers:{suggestionGroupHeading:this._renders.suggestionGroupHeading},selectionHandler:function(o){var s=n(o.currentTarget).data();if(s&&s.descriptor instanceof i)return!1;var r=this.getFocused().data("descriptor"),a=r.meta().groupIndex,l=t.options.groups[a],c=r.value(),u=r.label();t.$dropDownIcon.removeClass("aui-iconfont-remove");t.$field.val("Loading...").prop("disabled",!0);t.options.onSelection(l,c,u)}})},hideSuggestions:n.noop,_renders:{suggestionGroupHeading:function(e){return n(JIRA.Templates.Shifter.groupHeading({groupName:e.label(),groupContext:e.description()})).data("descriptor",e)},dropdownAndLoadingIcon:function(){return n('<span class="icon noloading aui-icon aui-icon-small"><span>More</span></span>')}}})}));AJS.namespace("JIRA.ShifterComponent.ShifterSelect",null,require("jira/shifter/shifter-select")); 4432}catch(e){WRMCB(e)}; 4433; 4434try { 4435/* module-key = 'jira.webresources:shifter', location = '/includes/jira/shifter/ShifterDialog.js' */ 4436define("jira/shifter/shifter-dialog",["jira/util/key-code","jira/jquery/deferred","jira/lib/class","jira/data/session-storage","jira/shifter/shifter-select","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor-factory","jira/shifter/shifter-analytics","jquery","underscore"],(function(t,i,e,n,s,o,r,a,d,u){"use strict";return e.extend({BLUR_DELAY:50,init:function(t,i,e){this.id=t;this.groups=i;this.options=e;this._render();this._destroyOnBlur();this._preventFocusOnNonInputElements();d(document).on("mousedown.shifterdialog."+t,u.bind(this._destroyOnMousedownOutside,this))},focus:function(){this.$dialog&&this.$dialog.find("input").focus()},destroy:function(){var t=this.$dialog;if(t){t.stop().animate({top:-1*t.height()},100,(function(){t.remove()}));this.$dialog=null;d(document).off("mousedown.shifterdialog."+this.id)}},destroyed:function(){return!this.$dialog},saveLastQuery:function(t){try{n.setItem("JIRA.Shifter.lastQuery",t)}catch(t){}},getLastQuery:function(){return n.getItem("JIRA.Shifter.lastQuery")},enterLoadingState:function(){var t=this.$dialog;t.addClass("loading-action");t.find(".aui-list").slideUp(200)},_render:function(){var i=JIRA.Templates.Shifter.dialog({id:this.id}),e=this.$dialog=d(i).appendTo("body"),n=this.shifterSelect=new s({id:this.id,element:e.find(".aui-list"),groups:this.groups,suggestionsHandler:this._makeSuggestionsHandler(),onSelection:u.bind(this._onSelection,this),maxResultsDisplayedPerGroup:this.options.maxResultsDisplayedPerGroup});if(this.getLastQuery()){n.$field.val(this.getLastQuery()).select();n.onEdit()}n.$field.on("keyup",u.bind((function(i){if(i.which===t.ESCAPE){i.stopPropagation();this.destroy()}}),this));AJS.currentLayerItem&&AJS.currentLayerItem.hide&&AJS.currentLayerItem.hide();this._closeDropdownsIfNeeded();e.css("top",-1*e.height()).animate({top:0},100)},_closeDropdownsIfNeeded:function(){d(".aui-dropdown2-trigger.aui-dropdown2-active").trigger("aui-button-invoke")},_destroyOnBlur:function(){this.$dialog.find("input").blur(u.bind((function(){setTimeout(u.bind((function(){this.$dialog&&!d.contains(this.$dialog[0],document.activeElement)&&this.destroy()}),this),this.BLUR_DELAY)}),this))},_destroyOnMousedownOutside:function(t){0===this.$dialog.find(t.target).length&&t.target!==this.$dialog&&this.destroy()},_preventFocusOnNonInputElements:function(){var t=this.$dialog.find("input");this.$dialog.mousedown((function(i){-1===d.inArray(i.target,t)&&i.preventDefault()}))},_makeSuggestionsHandler:function(){var t=this.groups;return e.extend({execute:function(e){var n=[],s=i(),a=t.length;u.map(t,(function(t,i){return t.getSuggestions(e).done((function(e){if(u.isArray(e)){n.push(new o({label:t.name,description:t.context,weight:t.weight,items:u.map(e,(function(t){return r.createItemDescriptor(t,i)}))}));n.sort((function(t,i){return t.weight()-i.weight()}))}})).always((function(){0===--a&&s.resolve(n,e)}))}));return s}})},_onSelection:function(t,i,e){a.selection(e,i,t.id);this.saveLastQuery(e);var n=t.onSelection(i,e);
4436if(n&&u.isFunction(n.always)){this.enterLoadingState();n.always(u.bind(this.destroy,this))}else this.destroy()}})}));AJS.namespace("JIRA.ShifterComponent.ShifterDialog",null,require("jira/shifter/shifter-dialog")); 4437}catch(e){WRMCB(e)}; 4438; 4439try { 4440/* module-key = 'jira.webresources:shifter', location = '/includes/jira/shifter/ShifterController.js' */ 4441define("jira/shifter/shifter-controller",["jira/lib/class","jira/shifter/shifter-dialog","jira/shifter/shifter-analytics","underscore"],(function(i,t,r,e){"use strict";return i.extend({MAX_RESULTS_PER_GROUP:5,init:function(i){this.id=i;this.groupFactories=[]},register:function(i){this.groupFactories.push(i);return i},unregister:function(i){this.groupFactories=e.without(this.groupFactories,i);return i},show:function(){r.show();if(!this.dialog||this.dialog.destroyed()){var i=e.chain(this.groupFactories).map((function(i){return i()})).compact().flatten().value().sort((function(i,t){return i.weight-t.weight}));this.dialog=new t(this.id,i,{maxResultsDisplayedPerGroup:this.MAX_RESULTS_PER_GROUP})}this.dialog.focus()},hide:function(){this.dialog&&this.dialog.destroy()}})}));AJS.namespace("JIRA.ShifterComponent.ShifterController",window,require("jira/shifter/shifter-controller")); 4442}catch(e){WRMCB(e)}; 4443; 4444try { 4445/* module-key = 'jira.webresources:shifter', location = '/includes/jira/shifter/shifter.js' */ 4446!function(){"use strict";var r=null;define("jira/shifter",["jira/shifter/shifter-controller"],(function(e){null===r&&(r=new e("shifter-dialog"));return r}))}();AJS.namespace("JIRA.Shifter",null,require("jira/shifter")); 4447}catch(e){WRMCB(e)}; 4448; 4449try { 4450/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.behaviour.jquery-throbber', location = 'aui.chunk.aedafa5afddaa90ba98f--a519f2342dabc70a444b.js' */ 4451"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5285],{8760:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(6753);const i="jquery"}},u=>{u.O(0,[8640],(()=>{return a=8760,u(u.s=a);var a}));u.O()}]); 4452}catch(e){WRMCB(e)}; 4453; 4454try { 4455/* module-key = 'jira.webresources:jquery-progressbar', location = '/includes/jquery/plugins/progressbar/jquery.progressbar.js' */ 4456!function(e){e.fn.progressBar=function(t,r){var a=this,d=e.extend({height:"1em",showPercentage:!0},r),c=a.attr("id")+"-incomplete-bar",n=a.attr("id")+"-complete-bar",s=a.attr("id")+"-percent-complete-text";if(0===e("#"+c).length){var i=e(document.createElement("div"));i.attr("id",c);i.css({width:"90%",border:"solid 1px #ccc",float:"left","margin-right":"0.5em"});i.addClass("progress-background-color");var o=e(document.createElement("div"));o.attr("id",n);o.addClass("progress-fill-color");o.css({height:d.height,width:t+"%"});var l=e(document.createElement("span"));l.attr("id",s);l.addClass("percent-complete-text");l.html(t+"%");i.append(o);a.append(i);d.showPercentage&&a.append(l)}else{e("#"+n).css("width",t+"%");e("#"+s).html(t+"%")}}}(jQuery); 4457}catch(e){WRMCB(e)}; 4458; 4459try { 4460/* module-key = 'jira.webresources:inline-attach', location = '/includes/ajs/attachment/InlineAttach.js' */ 4461define("jira/attachment/inline-attach",["jira/util/urls","jira/util/formatter","jira/lib/class","jira/xsrf","jira/util/navigator","jquery","wrm/context-path"],(function(t,e,r,n,i,o,a){"use strict";var s,l,u,h,c,d,p,f,m,g=a(),x=r.extend({init:function(t){var e=o(t);x.AjaxPresenter.isSupported(e)?new x.AjaxPresenter(e):new x.FormPresenter(e)}});o.extend(x,{MAX_UPLOADS:2,DISPLAY_WAIT:600,rescope:function(t,e){return t?e?o.proxy(t,e):t:o.noop},copyArrayLike:function(t){return o.makeArray(t)},Renderers:{container:function(){return o("<div class='field-group'/>")}}});x.Presenter=r.extend({init:function(){this.cancelled=!1;this.running=[];this.waiting=[]},_addUpload:function(t){if(!this.cancelled)if(this.running.length>=x.MAX_UPLOADS)this.waiting.push(t);else{this.running.push(t);t.upload()}return this.running.length>0},_finishUpload:function(t){if(!this.cancelled){x.Presenter.removeFromArray(this.waiting,t);if(x.Presenter.removeFromArray(this.running,t)&&this.waiting.length>0){var e=this.waiting.shift();this.running.push(e);e.upload()}}return this.running.length>0},_cancel:function(){this.cancelled=!0;var t,e=x.copyArrayLike(this.waiting);for(t=0;t<e.length;t++)e[t].abort();var r=x.copyArrayLike(this.running);for(t=0;t<r.length;t++)r[t].abort();this.waiting=[];this.running=[]}});o.extend(x.Presenter,{removeFromArray:function(t,e){var r=o.inArray(e,t);return r>=0?t.splice(r,1):null}});x.FormPresenter=x.Presenter.extend({init:function(t){this._super();this.form=new x.Form(new x.FileInput(t,!1));this.form.fileSelector.onChange(o.proxy(this._attach,this));this.form.onCancel(o.proxy(this._cancel,this))},_attach:function(t){this.form.clearErrors();if(!this.cancelled){var e=this.form,r=this._createSubmitData(),n=e.cloneFileInput();e.fileSelector.clear();var i=e.addStaticProgress(t),o=new x.Timer((function(){!this.cancelled&&i.show()}),this),a=new x.FormUpload({$input:n,url:x.FormPresenter.DEFAULT_URL,params:r,scope:this,before:function(){!this.cancelled&&i.start()},success:function(r){this.cancelled||(r.id&&r.name?e.addTemporaryFileCheckbox(r.id,r.name,i):r.errorMsg?e.addErrorWithFileName(r.errorMsg,t,i):e.addError(x.Text.tr("upload.error.bad.response",t),i))},error:function(r){this.cancelled||(r.indexOf("SecurityTokenMissing")>=0?e.addError(x.Text.tr("upload.xsrf.timeout",t),i):e.addError(x.Text.tr("upload.error.unknown",t),i))},after:function(){o.cancel();i.remove();this.cancelled||this._finishUpload(a)||e.enable()}});i.onCancel((function(){a.abort()}));if(this._addUpload(a)){o.schedule(x.DISPLAY_WAIT);e.disable()}e.fileSelector.focus()}},_cancel:function(){this._super();this.form.enable()},_createSubmitData:function(){var t={atl_token:this.form.getAtlToken(),formToken:this.form.getFormToken()};if(this.form.issueId)t.id=this.form.issueId;else{if(!this.form.projectId)throw"Unable to find either an issueId or projectId to submit the attachment to.";t.create=!0;t.projectId=this.form.projectId}return t}});x.FormPresenter.DEFAULT_URL=g+"/secure/AttachTemporaryFile.jspa?decorator=none";x.AjaxPresenter=x.Presenter.extend({init:function(t){this._super();this.form=new x.Form(new x.FileInput(t,!0));this.form.fileSelector.onChange(o.proxy(this._attach,this));this.form.onCancel(o.proxy(this._cancel,this))},_attach:function(t){this.form.clearErrors();if(!this.cancelled){t&&t.length>0&&(t=this._checkAndFilterFiles(t))&&this._uploadFiles(t);this.form.fileSelector.clear().focus()}},_checkAndFilterFiles:function(t){if(t.length>x.AjaxPresenter.MAX_SELECTED_FILES){this.form.addError(x.Text.tr("upload.error.too.many.files",t.length,x.AjaxPresenter.MAX_SELECTED_FILES));return null}for(var e=this.form.maxSize,r=[],n=0;n<t.length;n++)try{var i=t[n];if(0===i.size)this.form.addError(x.Text.tr("upload.empty.file",i.name));else if(e>0&&i.size>e){var o=x.Text.fileSize(e,i.size);this.form.addError(x.Text.tr("upload.too.big",i.name,o[1],o[0]))}else r.push({name:i.name,size:i.size,file:i})}catch(t){this.form.addError(x.AjaxUpload.getClientErrorMessage(t,i))}return 0===r.length?null:r},_createSubmitData:function(){var t={atl_token:this.form.getAtlToken(),formToken:this.form.getFormToken()};if(this.form.issueId)t.issueId=this.form.issueId;else{if(!this.form.projectId)throw"Unable to find either an issueId or projectId to submit the attachment to.";t.projectId=this.form.projectId}return t},_uploadFiles:function(t){var e=this.form,r=this._createSubmitData(),n=this,i=!1;o.each(t,(function(){var t=e.addProgress(this),a=this,s=new x.Timer((function(){n.cancelled||t.show()})),l=new x.AjaxUpload({file:a.file,params:o.extend({filename:a.name,size:a.size},r),scope:n,url:x.AjaxPresenter.DEFAULT_URL,before:function(){!this.cancelled&&t.start()},progress:function(e){!this.cancelled&&t.update(e)},success:function(r,n){if(!this.cancelled)if(201===n)void 0!==r.id&&void 0!==r.name?e.addTemporaryFileCheckbox(r.id,r.name,t,a.file):e.addError(x.Text.tr("upload.error.bad.response",a.name),t);else{r.token&&e.setAtlToken(r.token);r.errorMessage?e.addErrorWithFileName(r.errorMessage,a.name,t):e.addError(this._getErrorFromStatus(n,a),t)}},error:function(r,n){if(!this.cancelled)if(n<0)e.addError(r,t);else{var i=this._getErrorFromStatus(n,a);i?e.addError(i,t):e.addError(x.Text.tr("upload.error.unknown",a.name),t)}}
4461,after:function(){s.cancel();t.finish().remove();this.cancelled||this._finishUpload(l)||e.enable()}});t.onCancel((function(){l.abort()}));if(n._addUpload(l)){i=!0;s.schedule(x.DISPLAY_WAIT)}}));i&&this.form.disable()},_getErrorFromStatus:function(t,e){return 0===t?x.Text.tr("upload.error.server.no.reply",e.name):400===t?x.Text.tr("upload.error.badrequest",e.name):401===t?x.Text.tr("upload.error.auth",e.name):x.Text.tr("upload.error.unknown.status",e.name,t)},_cancel:function(){this._super();this.form.enable()}});o.extend(x.AjaxPresenter,{DEFAULT_URL:g+"/rest/internal/2/AttachTemporaryFile",MAX_SELECTED_FILES:100,isSupported:function(t){return!!(t&&t[0]&&t[0].files)&&x.AjaxUpload.isSupported()}});x.FileInput=r.extend({init:function(t,e){this.$element=t;this.$container=t.parent();if(e&&void 0!==this.$element[0].files){this.$element.attr("multiple","multiple");this.multiple=!0}else this.multiple=!1},clear:function(){this.$element.val("");return this},getFiles:function(){return this.$element[0].files},hasFiles:function(){return this.getFiles().length>0},onChange:function(t){var e=this;this.$element.change((function(){e.multiple?t.call(e,this.files):t.call(e,e.getFileName())}));return this},focus:function(){if(this._isIE()){var t=this.$element;setTimeout((function(){t.focus()}),0)}else this.$element.focus();return this},cloneInput:function(){var t=this.$element;t.replaceWith(this.$element=t.clone(!0));t.unbind();return t},getFileName:(s=/^c:\\fakepath\\(?!$)/i,function(){var t=this.$element.val();t=t.replace(s,"");this._isIE()&&t.indexOf("\\")>=0&&(t=t.substring(t.lastIndexOf("\\")+1));return t}),_isIE:function(){return i.isIE()&&i.majorVersion()<11},before:function(t){if(t){t.$element&&(t=t.$element);this.$container.before(t)}}});l={showPercentage:!1,height:"2px"},u=0,x.ProgressBar=r.extend({init:function(){var t=this.$element=this._renderers.container();this.$progress=this._renderers.progress().appendTo(t);this.$progress.progressBar(0,l);this.hidden=!0;this.old=0},value:function(t){t>100?t=100:t<0&&(t=0);if(this.hidden){this.$progress.show();this.hidden=!1}if(this.old!==t){this.$progress.progressBar(t,l);t>=100&&this.$progress.fadeOut();this.old=t}},_renderers:{container:function(){return o("<div>").addClass("file-progress")},progress:function(){return o("<div>").attr("id","upload-progress-"+u++).hide()}}});x.UploadProgress=r.extend({init:function(t){var e=this.$element=x.Renderers.container().hide(),r=this.progress=new x.ProgressBar,n=this._renders.content(t.name);this.$content=n.$content;this.$cancel=n.$cancel;e.append(n.$element).append(r.$element);this.total=t.size;this.current=0;this.name=t.name;this.timer=new x.Timer(this._update,this);this.rateNumerator=0;this.rateDenominator=0;this._title(x.Text.tr("upload.progress.title.waiting"))},start:function(){this.started=this._now();this.startedSize=0;return this},update:function(t){this.timer.cancel();return this._update(t)},_update:function(t){var e=this._now();if(void 0===t)t=this.current;else if(t!==this.current){this.lastUpdate=e;this.current=t}var r,n,i=x.Text,o=Math.min(100,Math.round(t/this.total*100)),a=i.currentOutOfTotalSize(t,this.total);this.progress.value(o);var s=(e-this.started)/1e3;if(s>=2){this.startedSize>0&&this._addRate((t-this.startedSize)/s);this.started=e;this.startedSize=t}var l=this._calcRate();if(t>=x.UploadProgress.DATA_MIN&&l>0){var u=Math.max(1,(this.total-t)/l);r=i.rate(l);n=i.time(u)}if(e-this.lastUpdate>=x.UploadProgress.STALLED_TIMEOUT){this._content(i.tr("upload.file.stalled",this.name));r?this._title(i.tr("upload.progress.title.known.stalled",r,a)):this._title(i.tr("upload.progress.title.unknown.stalled",a))}else if(r){this._title(i.tr("upload.progress.title.known",r,a,n));this._content(i.tr("upload.file.remaining",this.name,n))}else{this._title(a);this._content(this.name)}t<this.total&&this.timer.schedule(x.UploadProgress.UPLOAD_REFRESH);return this},finish:function(){this.progress.value(100);this.timer.cancel();return this},onCancel:function(t){var e=this;this.$cancel.click((function(r){r.preventDefault();t.call(e)}));return this},remove:function(){this.$element.remove();return this},hide:function(){this.$element.hide();return this},show:function(){this.$element.fadeIn();return this},_title:function(t){this.$element.attr("title",t);return this},_content:function(t){this.$content.text(t);return this},_addRate:function(t){var e=x.UploadProgress.WEIGHT;this.rateNumerator=this.rateNumerator*e+t;this.rateDenominator=this.rateDenominator*e+1},_calcRate:function(){if(0===this.rateDenominator)return 0;var t=this.rateNumerator/this.rateDenominator;return Math.abs(t)<.005?0:t},_now:function(){return(new Date).getTime()},_renders:{content:function(t){var e=x.Text.tr("upload.file.waiting",t),r=o("<div class='loading file' />"),n=o("<span />").text(e),i=o("<a href='#' />").text(x.Text.tr("upload.cancel"));r.append(n).append(" ").append(i);return{$element:r,$content:n,$cancel:i}}}});o.extend(x.UploadProgress,{STALLED_TIMEOUT:1e4,UPLOAD_REFRESH:2e3,DATA_MIN:20480,WEIGHT:.7});x.UnknownProgress=r.extend({init:function(t){var e=this._renders.content(t);this.$element=e.$element;this.$cancel=e.$cancel;this.$content=e.$content;this.fileName=t;this._title(x.Text.tr("upload.progress.title.waiting"))},remove:function(){this.$element.remove();return this},hide:function(){this.$element.hide();return this},show:function(){this.$element.fadeIn();return this},start:function(){this._title(x.Text.tr("upload.progress.title.running"));this._content(this.fileName);return this},onCancel:function(t){var e=this;this.$cancel.click((function(r){r.preventDefault();t.call(e)}));return this},_title:function(t){this.$element.attr("title",t);return this},_content:function(t){this.$content.text(t);return this},_renders:{content:function(t){var e=x.Text.tr("upload.file.waiting",t),r=o("<a href='#' />").text(x.Text.tr("upload.cancel")),n=o("<div class='loading file' />"),i=o("<span />").text(e);n.append(i).append(" ").append(r);return{$element:x.Renderers.container().append(n),$cancel:r,$content:i}}}});x.Form=r.extend({init:function(t){this.fileSelector=t;this.$form=t.$element.closest("form");this.maxSize=parseInt(this.$form.find("#attach-max-size").text()||o("#attach-max-size").text());if(isNaN(this.maxSize))throw"Unable to find maximum upload size on form.";var e=!1,r=parseInt(this.$form.find(":input[name=id]").val());if(!isNaN(r)){e=!0;this.issueId=r}r=parseInt(this.$form.find(":input[name=pid]").val());if(!isNaN(r)){e=!0;this.projectId=r}if(!e)throw"Unable to find either an issueId or projectId to submit the attachment to."},getAtlToken:function(){var e=this.$form.find("input[name='atl_token']");return e.length>0?e.val():t.atl_token()},setAtlToken:function(t){var e=this.$form.find("input[name='atl_token']");e.length>0?e.val(t):n.updateTokenOnPage(t);return this},getFormToken:function(){var t=this.$form.find("input[name='formToken']");return t.length>0?t.val():null},disable:function(){this._getFormSubmits().attr("disabled","disabled");return this},enable:function(){this._getFormSubmits().removeAttr("disabled");return this},addProgress:function(t){var e=new x.UploadProgress(t);this._addElement(e.$element);return e},addStaticProgress:function(t){var e=new x.UnknownProgress(t);this._addElement(e.$element);return e},addTemporaryFileCheckbox:function(t,e,r,n){var i=this.addLocalThumbnailImage(e,n),a=x.Renderers.container(),s=o("<label>").attr("for","filetoconvert-"+t).text(e),l=o("<input type='checkbox' class='checkbox' name='filetoconvert' checked='checked'>").attr({id:"filetoconvert-"+t,value:t,title:x.Text.tr("upload.checkbox.title")});a.append(l).append(s);i&&a.append(o("<br/>")).append(i);a.hide();this._replaceElement(a,r);return this},addLocalThumbnailImage:function(t,e){var r=null;window.URL=window.webkitURL||window.URL;if(e&&window.URL&&window.URL.createObjectURL){if(e.type.match(/image.*/)){var n=this,i=t
4461+" - "+x.Text.fileSize(e.size)+" - "+e.type,a=document.createElement("img");a.title=i;a.alt=i;a.onload=function(){var t=n.getAspectRatio(100,100,a.width,a.height);a.width=Math.round(a.width/t);a.height=Math.round(a.height/t);r.show();window.URL.revokeObjectURL(a.src)};a.src=window.URL.createObjectURL(e);r=o(a).hide()}}return r},getAspectRatio:function(t,e,r,n){return r>t?Math.round(r/t):n>e?Math.round(n/e):1},addErrorWithFileName:function(t,e,r){-1===t.indexOf(e)&&(t=x.Text.tr("upload.error.server",e,t));return this.addError(t,r)},addError:function(t,e){var r=x.Renderers.container();r.addClass("error").append(o("<div>").text(t)).hide();this._replaceElement(r,e);return r},clearErrors:function(){this.$form.find("div.error").remove();return this},cloneFileInput:function(){return this.fileSelector.cloneInput()},onCancel:function(t){this.$form.find("a.cancel").click(o.proxy(t,this));return this},_getFormSubmits:function(){return this.$form.find("input[type=submit]")},_addElement:function(t){this.fileSelector.before(t)},_replaceElement:function(t,e){e&&e.$element?e.$element.replaceWith(t):this._addElement(t);t.fadeIn()}});x.FormUpload=r.extend({init:function(t){var e=t.scope||null,r=x.rescope;this.$input=t.$input;this.url=t.url;this.params=t.params||{};this.successcb=r(t.success,e);this.errorcb=r(t.error,e);this.before=r(t.before,e);this.after=r(t.after,e);this.abortcb=r(t.abort,e);this.aborted=!1;this.$form=null;this.xhr=null},upload:function(){if(!this.aborted){var t=this.url,e=o.param(this.params);e&&(t=t+"?"+e);var r=this.$form=this._renders.form(t),n=this;this._addToBody(r.append(this.$input));r.ajaxForm({dataType:"json",data:this.params,timeout:0,beforeSend:function(t){n.xhr=t},beforeSubmit:function(){n.before()},error:function(t){if(n.aborted)n.abortcb();else{var e=t&&t.responseText||"";n.errorcb(e)}},success:function(t){n.successcb(t||{})},complete:function(){if(n.$form){n.$form.remove();n.$form=null}n.after()}});r.submit()}},abort:function(){if(!this.aborted){this.aborted=!0;if(this.xhr){this.xhr.abort();this.xhr=null}else{this.abortcb();this.after()}}},_addToBody:function(t){o("body").append(t)},_renders:{form:function(t){return o("<form method='post' enctype='multipart/form-data'/>").attr("action",t).hide()}}});x.AjaxUpload=r.extend({init:function(t){var e=t.scope||null,r=x.rescope;this.file=t.file;this.url=t.url;this.params=t.params||{};this.beforecb=r(t.before,e);this.progresscb=r(t.progress,e);this.errorcb=r(t.error,e);this.successcb=r(t.success,e);this.abortcb=r(t.abort,e);this.finalcb=r(t.after,e);this.aborted=!1},upload:function(){if(!this.aborted&&!this.xhr){var t=this.xhr=x.AjaxUpload.xhr();t.upload.onprogress=o.proxy(this._upload,this);t.onreadystatechange=o.proxy(this._statechange,this);var e=this.url,r=o.param(this.params);r&&(e=e+"?"+r);this.beforecb();try{t.open("POST",e,!0);t.setRequestHeader("Content-Type",this.file.type||"application/octet-stream");t.send(this.file)}catch(t){this._clienterror(t,this.file)}}},abort:function(){if(!this.aborted){this.aborted=!0;if(this.xhr)this.xhr.abort();else{this.abortcb();this.finalcb()}}},_statechange:function(){if(4===this.xhr.readyState){if(this.aborted)this.abortcb();else{try{this.successcb(JSON.parse(this.xhr.responseText),this.xhr.status,this.xhr)}catch(t){this.errorcb(this.xhr.responseText,this.xhr.status,this.xhr)}this.xhr.upload.onprogress=this.xhr.statechange=null}this.finalcb()}},_clienterror:function(t,e){this.errorcb(x.AjaxUpload.getClientErrorMessage(t,e),-1,this.xhr);this.finalcb()},_upload:function(t){t.lengthComputable&&this.progresscb(t.loaded)}});o.extend(x.AjaxUpload,{isSupported:function(){return x.AjaxUpload._fileApiSupport(window)&&x.AjaxUpload._xhrSupport()},xhr:function(){var t=x.AjaxUpload._xhrJquery();t||(t=x.AjaxUpload._xhrDirect);x.AjaxUpload.xhr=t;return t()},getClientErrorMessage:function(t,e){var r;try{r=e.name}catch(t){r="<unknown>"}return"NS_ERROR_FILE_ACCESS_DENIED"===t.name?x.Text.tr("upload.error.no.access",r):"NS_ERROR_FILE_NOT_FOUND"===t.name||"NS_ERROR_FILE_TARGET_DOES_NOT_EXIST"===t.name?x.Text.tr("upload.error.does.not.exist",r):x.Text.tr("upload.error.client.unknown",r,t.message||t)},_xhrJquery:function(){var t=o.ajaxSettings;return t&&t.xhr||null},_xhrDirect:function(){try{return new XMLHttpRequest}catch(t){return null}},_xhrSupport:function(){try{var t=x.AjaxUpload.xhr();if(t&&t.upload)return!0}catch(t){}return!1},_fileApiSupport:function(t){return t.File&&t.FileList&&(!i.isMozilla()||t.FileReader)}});x.Timer=r.extend({init:function(t,e){this.callback=x.rescope(t,e||this);this._callback=o.proxy(this._callback,this);this.timeoutId=null},cancel:function(){if(null!==this.timeoutId){this._endTimeout(this.timeoutId);this.timeoutId=null}return this},schedule:function(t){this.cancel();this.timeoutId=this._startTimeout(this._callback,t);return this},_callback:function(){this.timeoutId=null;this.callback()},_startTimeout:function(t,e){return window.setTimeout(t,e)},_endTimeout:function(t){window.clearTimeout(t)}});x.Text=(h=1024,d=1024*(c=1048576),p=Math.floor(1018.88),f=Math.floor(.995*c),m=Math.floor(.995*d),{"upload.empty.file":"Cannot attach empty file {0}.","upload.too.big":"{0} is too large to attach. Attachment is {1} but the largest allowed attachment is {2}.","upload.error.bad.response":"Cannot attach file {0}: Unexpected server response.","upload.error.unknown.status":"Cannot attach file {0}: Unknown server error ({1}).","upload.error.auth":"Cannot attach file {0}: You do not have permission to attach a file to the issue.","upload.error.badrequest":"Cannot attach file {0}. Browser made bad request to the server.","upload.error.server"
4461:"Cannot attach file {0}: {1}","upload.cancel":"Cancel","upload.file.remaining":"{0} - {1} left.","upload.file.waiting":"{0} - waiting.","upload.file.stalled":"{0} - stalled.","upload.checkbox.title":"Clear check box to prevent file being attached","upload.xsrf.timeout":"Cannot attach file {0}: Your session has timed out or you were logged out. Please save your work and reload the page.","upload.error.unknown":"Cannot attach file {0}: Unknown server error.","upload.progress.title.waiting":"Waiting for other uploads to complete.","upload.progress.title.running":"Uploading.","upload.progress.title.unknown.stalled":"{0}, stalled.","upload.progress.title.known":"{0} - {1}, {2} left.","upload.progress.title.known.stalled":"{0} - {1}, stalled.","upload.kilobyte":"{0} kB","upload.kilobyte.part":"{0}/{1} kB","upload.megabyte":"{0} MB","upload.megabyte.part":"{0}/{1} MB","upload.gigabyte":"{0} GB","upload.gigabyte.part":"{0}/{1} GB","upload.seconds":"{0} sec","upload.minutes":"{0} min","upload.hours":"{0} hr","upload.hours.minutes":"{0} hr {1} min","upload.bytes.per.second":"{0} B/sec","upload.kilobytes.per.second":"{0} kB/sec","upload.megabytes.per.second":"{0} MB/sec","upload.error.no.access":"Browser does not have permission to access {0}.","upload.error.does.not.exist":"{0} does not exist.","upload.error.client.unknown":"An unknown error occured on the browser while trying to attach {0}: {1}.","upload.error.too.many.files":"You are trying to attach {0} files. Only {1} files can be attached at a time.","upload.error.server.no.reply":"Cannot attach file {0}: Unable to communicate with Jira.",tr:function(t){if(0!==arguments.length){if(1===arguments.length)return this[t]||t;if(this[t]){var r=x.copyArrayLike(arguments);r[0]=this[t];return e.format.apply(AJS,r)}return t}},fileSize:function(){if(0!==arguments.length){var t,e=x.Text._classifySize(arguments[0]);t=e.unit===h?"upload.kilobyte":e.unit===c?"upload.megabyte":"upload.gigabyte";if(1===arguments.length)return this.tr(t,e.convert(arguments[0]));for(var r=new Array(arguments.length),n=0;n<arguments.length;n++)r[n]=this.tr(t,e.convert(arguments[n]));return r}},currentOutOfTotalSize:function(t,e){var r,n=this._classifySize(e);r=n.unit===h?"upload.kilobyte.part":n.unit===c?"upload.megabyte.part":"upload.gigabyte.part";return this.tr(r,n.convert(t),n.convert(e))},_classifySize:function(t){var e;return{unit:e=t<=f?h:t<=m?c:d,convert:function(t){return x.Text._toDisplay(t/e)}}},time:function(t){if(t<60)return this.tr("upload.seconds",Math.floor(t));var e=t/60;if(e<60)return this.tr("upload.minutes",Math.floor(e));var r=Math.floor(e/60);return(e=Math.floor(e%60))>0?this.tr("upload.hours.minutes",r,e):this.tr("upload.hours",r)},rate:function(t){return t<=p?this.tr("upload.bytes.per.second",x.Text._toDisplay(t)):t<=f?this.tr("upload.kilobytes.per.second",x.Text._toDisplay(t/h)):this.tr("upload.megabytes.per.second",x.Text._toDisplay(t/c))},_toDisplay:function(t){return t<.005?"0":(Math.round(100*t)/100).toFixed(2)}});return x}));AJS.namespace("AJS.InlineAttach",null,require("jira/attachment/inline-attach")); 4462}catch(e){WRMCB(e)}; 4463; 4464try { 4465/* module-key = 'jira.webresources:inline-attach', location = '/includes/jquery/plugins/attachment/jquery.inlineAttach.js' */ 4466define("jira/jquery/plugins/attachment/inline-attach",["jira/attachment/inline-attach","jquery"],(function(n,t){t.fn.inlineAttach=function(){var t=[];this.each((function(){t.push(new n(this))}));return t};return t.fn.inlineAttach}));require("jira/jquery/plugins/attachment/inline-attach"); 4467}catch(e){WRMCB(e)}; 4468; 4469try { 4470/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/FormDialog.js' */ 4471define("jira/dialog/form-dialog",["jira/util/formatter","jira/dialog/dialog","jira/flag","jira/message","jira/ajs/ajax/smart-ajax","jira/focus/set-focus","jira/util/browser","jira/util/events","jira/skate","jquery","jira/libs/parse-uri"],(function(t,e,i,s,o,n,r,a,u,l,c){"use strict";return e.extend({defineResources:function(){this._super.apply(this,arguments);this.isIssueDialog()&&this.requireContext("jira.edit.issue")},_getDefaultOptions:function(){return l.extend(this._super(),{autoClose:!1,targetUrl:"",refreshOnSubmit:!0,onUnSuccessfulSubmit:function(){},onSuccessfulSubmit:function(){},onDialogFinished:function(){var t=this._getTargetUrlValue();this.hide();if(t){a.trigger("page-unload.location-change.from-dialog",[this.$popup]);window.location.href=t}else if(this.options.refreshOnSubmit){a.trigger("page-unload.refresh.from-dialog",[this.$popup]);r.reloadViaWindowLocation()}},submitAjaxOptions:{type:"post",data:{inline:!0,decorator:"dialog"},dataType:"html"},isIssueDialog:!1})},_getFormDataAsObject:function(){var t={};l(this.$form.serializeArray()).each((function(){var e=t[this.name];
4471e?l.isArray(e)?e.push(this.value):e=[e,this.value]:e=this.value;t[this.name]=e}));return t},_getRelativePath:function(){var t=this._getRequestOptions();return c(t.url).directory},_getPath:function(t){var e=this._getRelativePath();return 0===t.indexOf(e)?t:e+t},_submitForm:function(t){this.cancelled=!1;this.xhr=null;this.redirected=!1;this.serverIsDone=!1;var e=this,i=l.extend(!0,{},this.options.submitAjaxOptions),s=l.extend(!0,i,{url:this._getPath(this.$form.attr("action")),data:this._getFormDataAsObject(),complete:function(t,i,s){e.hideFooterLoadingIndicator();if(!e.cancelled){e._showMessagesFromXhrResponse(t);if(s.successful){e.$form.trigger("fakesubmit");e._handleServerSuccess(s.data,t,i,s);e.redirected||e._handleSubmitResponse(s.data,t,s)}else e._handleServerError(t,i,s.errorThrown,s)}e.$form.removeClass("submitting")}});s.data.decorator="dialog";s.data.inline=!0;this.showFooterLoadingIndicator();this.xhr=o.makeRequest(s);t.preventDefault()},_showMessagesFromXhrResponse:function(t){var e=t.getResponseHeader("X-Atlassian-Messages");if(e){var s=JSON.parse(e);i.showMessages(s)}},_handleServerError:function(t,e,i,s){this.options.onUnSuccessfulSubmit&&this.options.onUnSuccessfulSubmit.call(t,e,i,s);var n=o.buildDialogErrorContent(s,!0),r=this.get$popupContent().find(".form-body");1!==r.length&&(r=this.get$popupContent());1===r.length&&!s.hasData?r.prepend(n):this.setSubmitResponseContent(n)},setSubmitResponseContent:function(t){this.options.formatSubmitResponseContent&&(t=this.options.formatSubmitResponseContent.call(this,t));this._setContent(t)},isIssueDialog:function(){return!!this.options.isIssueDialog},_handleServerSuccess:function(t,e,i,o){var n=this._detectMsgInstructions(e),r=this._detectRedirectInstructions(e);this.serverIsDone=r.serverIsDone;n&&(r.redirectUrl||this._getTargetUrlValue()||this.options.refreshOnSubmit?s.showMsgOnReload(n.msg,{type:n.type,closeable:n.closeable,target:n.target}):s.showMsg(n.msg,{type:n.type.toLowerCase(),closeable:n.closeable,target:n.target}));if(r.redirectUrl){this.options.onSuccessfulSubmit&&this.options.onSuccessfulSubmit.call(this,t,e,i,o);this._performRedirect(r.redirectUrl)}else this.serverIsDone||this.setSubmitResponseContent(t)},_detectMsgInstructions:function(t){var e={msg:t.getResponseHeader("X-Atlassian-Dialog-Msg-Html")};if(e.msg){e.type=t.getResponseHeader("X-Atlassian-Dialog-Msg-Type").toUpperCase();e.closeable="true"===t.getResponseHeader("X-Atlassian-Dialog-Msg-Closeable");e.target=t.getResponseHeader("X-Atlassian-Dialog-Msg-Target");return e}},_handleInitialDoneResponse:function(t,e,i){this._handleSubmitResponse(t,e,i)},_handleSubmitResponse:function(t,e,i){if(this.serverIsDone){this.options.onSuccessfulSubmit&&this.options.onSuccessfulSubmit.call(this,t,e,i);this.options.autoClose&&this.hide();this.options.onDialogFinished&&this.options.onDialogFinished.call(this,t,e,i)}else this.$popup&&this.$popup.find("[aria-invalid='true']").first().focus()},_performRedirect:function(t){this.options.stayVisibleOnRedirect||this.hide();this.redirected=!0;this._super(t)},_hasTargetUrl:function(){return this._getTargetUrlHolder().length>0},_getTargetUrlHolder:function(){return l(this.options.targetUrl)},_getTargetUrlValue:function(){return this._getTargetUrlHolder().val()},decorateContent:function(){var i,s,o,n,r,a=this;this.$form=l("form",this.get$popupContent());this._constructHeading();this.$form.submit((function(t){var e=new l.Event("before-submit");a.$form.trigger(e,[t,a]);if(e.isDefaultPrevented())t.preventDefault();else{a.$form.addClass("submitting");l(":submit",a.$form).attr("disabled","disabled");if(a.options.submitHandler){a.showFooterLoadingIndicator();a.options.submitHandler.call(a,t,(function(){if(a.isCurrent()){a.hideFooterLoadingIndicator();a.$form.removeClass("submitting")}}))}else a._submitForm(t)}}));(s=l(".cancel",this.get$popupContent())).click((function(t){a.xhr&&a.xhr.abort();a.xhr=null;a.cancelled=!0;a.hide(!0,{reason:e.HIDE_REASON.cancel});t.preventDefault()}));i=this.get$popupContent().find(".button, .aui-button");o=this.get$popupContent().find("div.buttons");if(0===s.length&&0===i.length){0===o.length&&(o=(n=l('<div class="buttons-container form-footer"><div class="buttons"/></div>').appendTo(this.get$popupContent())).find(".buttons"));AJS.populateParameters();r=l("<button class='aui-button aui-button-link cancel' id='aui-dialog-close'>"+"Close"+"</button>");o.append(r);(r=l(".cancel",this.get$popupContent())).click((function(t){a.hide(!0,{reason:e.HIDE_REASON.cancel});t.preventDefault()}))}o.prepend(l("<span class='throbber'/>"));this.get$popupContent().on("click",".shortcut-tip-trigger",(function(e){e.preventDefault();if(!a.get$popupContent().isDirty()||confirm("You have entered new data in this dialog. If you navigate away from this dialog without first saving your data, the changes will be lost. Click cancel to return to the dialog.")){a.hide();l("#keyshortscuthelp").click()}}));n instanceof l||(n=o.closest(".buttons-container, .form-footer")).size()||(n=o);this.$buttonContainer=n},getButtonsContainer:function(){return this.$buttonContainer},_constructHeading:function(){var t,e;if((t=l(":header:first",this.get$popupContent())).length>0){this.addHeading(t.contents());e=t.parent();t.remove();for(;e.is(":empty");){t=e.parent();e.remove();e=t}}},_setContent:function(t,i){this._super(t,i);t&&e.current===this&&(this.options.shouldFocusTitleOnLoad?this.focusTitle():this._focusFirstField())},_focusFirstField:function(t){var e=new n.FocusConfiguration;t?e.focusElementSelector=t:this.$activeTrigger&&this.$activeTrigger.attr("data-field")&&(e.focusElementSelector="[name='"+this.$activeTrigger.attr("data-field")+"']");e.parentElementSelectors.unshift(".aui-dialog-content");e.context=this.get$popup()[0];u.init&&u.init(e.context);n.pushConfiguration(e);n.triggerFocus();n.triggerFocus()},hide:function(t,e){if(!1===this._super(t,e))return!1;this.options.shouldFocusTitleOnLoad&&n.popConfiguration()}})}));AJS.namespace("AJS.FormPopup",null,require("jira/dialog/form-dialog"));AJS.namespace("JIRA.FormDialog",null,require("jira/dialog/form-dialog")); 4472}catch(e){WRMCB(e)}; 4473; 4474try { 4475/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/ErrorDialog.js' */ 4476define("jira/dialog/error-dialog",["jira/util/formatter","jira/dialog/dialog","jira/ajs/ajax/ajax-util","jira/lib/class","
4476jira/util/browser","jquery"],(function(r,e,o,i,a,n){"use strict";var t=i.extend({init:function(o){var i,t=o.message||"The Jira server was contacted but has returned an error response. We are unsure of the result of this operation.",d=o.heading||"Error";i=!o.mode||["warning","error","info"].indexOf(o.mode)<0?"error":o.mode;this.dialog=new e({id:"error-dialog",content:function(r){var e=n(JIRA.Templates.ErrorDialog.serverErrorModalDialog({message:t,mode:i}));e.find(".error-dialog-refresh").click((function(r){r.preventDefault();a.reloadViaWindowLocation()}));r(e)}});this.dialog.addHeading(d);this.dialog.handleCancel=n.noop},hide:function(){this.dialog.hide();return this},show:function(){this.dialog.show();return this}});t.openErrorDialogForXHR=function(r){return new t({message:o.getErrorMessageFromXHR(r)}).show()};return t}));AJS.namespace("JIRA.ErrorDialog",null,require("jira/dialog/error-dialog")); 4477}catch(e){WRMCB(e)}; 4478; 4479try { 4480/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/ErrorDialog.soy' */ 4481// This file was automatically generated from ErrorDialog.soy. 4482// Please don't edit this file by hand. 4483 4484/** 4485 * @fileoverview Templates in namespace JIRA.Templates.ErrorDialog. 4486 */ 4487 4488if (typeof JIRA == 'undefined') { var JIRA = {}; } 4489if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4490if (typeof JIRA.Templates.ErrorDialog == 'undefined') { JIRA.Templates.ErrorDialog = {}; } 4491 4492 4493JIRA.Templates.ErrorDialog.serverErrorModalDialog = function(opt_data, opt_ignored) { 4494 return '<div class="form-body"><div class="aui-message aui-message-' + soy.$$escapeHtml(opt_data.mode) + '">' + soy.$$escapeHtml(opt_data.message) + '</div></div><div class="buttons-container form-footer"><div class="buttons"><a href="#" class="error-dialog-refresh aui-button aui-button-link">' + soy.$$escapeHtml('Refresh') + '</a></div></div>'; 4495}; 4496if (goog.DEBUG) { 4497 JIRA.Templates.ErrorDialog.serverErrorModalDialog.soyTemplateName = 'JIRA.Templates.ErrorDialog.serverErrorModalDialog'; 4498} 4499 4500}catch(e){WRMCB(e)}; 4501; 4502try { 4503/* module-key = 'jira.webresources:dialogs', location = '/includes/ajs/ajax/SmartAjaxWebSudo.js' */ 4504define("jira/ajs/ajax/smart-ajax/web-sudo",["jira/jquery/deferred","jira/ajs/ajax/smart-ajax","jira/ajs/ajax/ajax-util","jira/dialog/dialog","jira/dialog/form-dialog2","jira/util/browser","wrm/context-path","jquery"],(function(e,a,t,s,o,i,n,c){"use strict";var u=n();return{showWebSudoDialog:function(e){var t=e.context||this,n=new o({id:"smart-websudo",type:"ajax",ajaxOptions:{url:u+"/secure/admin/WebSudoAuthenticate!default.jspa?close=true"},submitHandler:function(s,o){s.preventDefault();var i=c(s.target);a.makeRequest({url:i.attr("action"),data:i.serialize(),type:"POST",complete:function(a){if("Has-Authentication"===a.getResponseHeader("X-Atlassian-WebSudo"))if(c.isFunction(e.success))e.success.call(t,(function(){o();n.hide()}));else{o();n.hide()}else n.setContent(a.responseText,!0)}})}});c.isFunction(e.cancel)&&c(n).one("Dialog.hide",(function(a,o,n){if(n===s.HIDE_REASON.cancel||n===s.HIDE_REASON.escape){a=c.Event();(!1===e.cancel.call(t,a)||!a.isDefaultPrevented())&&i.reloadViaWindowLocation(o.find(".cancel").attr("href"))}}));c.isFunction(e.beforeShow)&&e.beforeShow.call(t);n.show();c.isFunction(e.show)&&e.show.call(t)},handleWebSudoError:function(e,t,s,o,i){var n={success:function(s){t&&c.isFunction(t.success)?t.success.apply(this,arguments):s();a.makeRequest(e)},cancel:function(){c.isFunction(e.complete)&&e.complete.call(this,s,o,i);t&&c.isFunction(t.cancel)&&t.cancel.apply(this,arguments)},beforeShow:function(){t&&c.isFunction(t.beforeShow)&&t.beforeShow.apply(this,arguments)},show:function(){t&&c.isFunction(t.show)&&t.show.apply(this,arguments)},context:this};this.showWebSudoDialog(n)},makeWebSudoRequest:function(s,o){var i=c.extend({},s),n=!1,u=e(),r=this;i.error=function(e,a,l,d){if(t.isWebSudoFailure(e)){n=!0;r.handleWebSudoError(i,o,e,a,d)}else{u.rejectWith(this,arguments);c.isFunction(s.error)&&s.error.apply(this,arguments)}};i.complete=function(){!n&&c.isFunction(s.complete)&&s.complete.apply(this,arguments);n=!1};i.success=function(){c.isFunction(s.success)&&s.success.apply(this,arguments);u.resolveWith(this,arguments)};
4504a.makeRequest(i);return u.promise()}}}));!function(e){"use strict";AJS.namespace("JIRA.SmartAjax.showWebSudoDialog",null,e.showWebSudoDialog);AJS.namespace("JIRA.SmartAjax.handleWebSudoError",null,e.handleWebSudoError);AJS.namespace("JIRA.SmartAjax.makeWebSudoRequest",null,e.makeWebSudoRequest)}(require("jira/ajs/ajax/smart-ajax/web-sudo")); 4505}catch(e){WRMCB(e)}; 4506; 4507try { 4508/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/IssueActionsDialog.js' */ 4509require(["jira/util/urls","jira/util/formatter","wrm/context-path","jira/jquery/deferred","jquery","underscore","jira/ajs/ajax/smart-ajax","jira/shifter"],(function(e,s,t,r,i,n,a,o){"use strict";o.register((function(){var o=r(),u=r();function l(e){for(var s=0;s<e.length;s++){var t=n.reduce(e[s].split("."),(function(e,s){return void 0!==e?e[s]:void 0}),window);if(n.isFunction(t)){var r=t();if(null!=r)return r}}}var c=l(["JIRA.Issues.getSelectedIssueKey","JIRA.Issue.getIssueKey","JIRA.IssueNavigator.getSelectedIssueKey"]),I=l(["JIRA.Issues.getSelectedIssueKey","JIRA.Issue.getIssueId","JIRA.IssueNavigator.getSelectedIssueId"]);if(null==I)return null;var d=s.format(t()+"/rest/api/1.0/issues/{0}/ActionsAndOperations?atl_token={1}",I,e.atl_token());a.makeRequest({dataType:"json",url:d}).done((function(e){var s=n.map(e.operations,(function(e){return{label:e.name,value:{styleClass:e.styleClass,url:e.url}}})),r=n.map(e.actions,(function(s){var r=t()+"/secure/WorkflowUIDispatcher.jspa?id="+e.id+"&action="+s.action+"&atl_token="+e.atlToken;return{label:s.name,value:{styleClass:"issueaction-workflow-transition",url:r}}}));o.resolve(s);u.resolve(r)})).fail((function(e,t){var r;r=JIRA&&JIRA.Templates&&JIRA.Templates.ViewIssue&&JIRA.Templates.ViewIssue.Body&&JIRA.Templates.ViewIssue.Body.errorsLoading?JIRA.Templates.ViewIssue.Body.errorsLoading({isTimeout:"timeout"===t}):"Unable to retrieve issue.";o.resolve([{label:r,messageID:"error-loading-issue",useAUI:!1,isMessage:!0}]);u.reject()}));var g=function(e,s){var t=i("<a>",{text:s,class:e.styleClass,href:e.url,css:{display:"none"}});t.appendTo("body").get(0).click();t.remove()};return[{id:"issue-actions",name:"Issue Actions",context:c,weight:200,getSuggestions:function(){return o},onSelection:g},{id:"issue-transitions",name:"Workflow",context:c,weight:220,getSuggestions:function(){return u},onSelection:g}]}))})); 4510}catch(e){WRMCB(e)}; 4511; 4512try { 4513/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/LabelsDialog.js' */ 4514define("jira/dialog/labels-dialog",["jira/dialog/form-dialog2","jira/issue","jira/issuenavigator/issue-navigator","jira/util/events","jira/util/events/types","wrm/context-path","jquery"],(function(i,t,e,s,n,o,l){"use strict";var a=o();return i.extend({init:function(i){this._super(i);this.issueId=null;this.customFieldId=null;this.labelsProvider=this.initLabelsProvider();this.labelPicker=null},initLabelsProvider:function(){return this.options.labelsProvider&&l.isFunction(this.options.labelsProvider)?this.options.labelsProvider:this.options.labels?this._getLabelsFromOptions:this._getLabelsFromTrigger},_getLabelsFromOptions:function(){return l(this.options.labels)},_getLabelsFromTrigger:function(){return this.$activeTrigger.closest(".labels-wrap")},decorateContent:function(){this._super();var i=this.get$popupContent();this.issueId=i.find("input[name=id]").val();var t=i.find("input[name=customFieldId]");1===t.length?this.customFieldId=t.val():this.customFieldId=null},focusLabelPicker:function(){this.get$popupContent().find("textarea").focus()},show:function(){this._super()&&this.focusLabelPicker()},_handleSubmitResponse:function(i,o,r){if(this.serverIsDone){this.options.onSuccessfulSubmit&&this.options.onSuccessfulSubmit.call(this,i,o,r);var u=this.get$popupContent().find("input[name=id]").val(),d=this.get$popupContent().find("input[name=noLink]").val();this.options.autoClose&&this.hide();var h={id:u,decorator:"none",noLink:d};this.customFieldId&&(h.customFieldId=this.customFieldId);var c=this.labelsProvider(this);l(l.ajax({url:a+"/secure/EditLabels!viewLinks.jspa",data:h,success:function(i){var o=l("<div>").html(i).find(".labels-wrap");e.isNavigator()&&o.find("a.edit-labels").remove();c.html(o.html());n.REFRESH_ISSUE_PAGE&&s.trigger(n.REFRESH_ISSUE_PAGE,[t.getIssueId()])}})).throbber({target:c})}},handleCancel:function(){this._super();this.$content=null}})}));AJS.namespace("AJS.LabelsPopup",null,require("jira/dialog/labels-dialog"));AJS.namespace("JIRA.LabelsDialog",null,require("jira/dialog/labels-dialog")); 4515}catch(e){WRMCB(e)}; 4516; 4517try { 4518/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/ScreenshotDialog.js' */ 4519define("jira/dialog/screenshot-window",["jira/dialog/dialog2","jira/ajs/layer/inline-layer","jquery"],(function(e,r,i){"use strict";return function(t){this.$trigger=i(t.trigger);i(document).delegate(t.trigger,"click",(function(t){t.preventDefault();e.current&&e.current.hide();r.current&&r.current.hide();window.open(i(this).attr("href")+"&decorator=popup","screenshot","width=800,height=700,scrollbars=yes,status=yes")}))}}));AJS.namespace("jira.app.attachments.screenshot.ScreenshotWindow",null,require("jira/dialog/screenshot-window"));AJS.namespace("JIRA.ScreenshotDialog",null,require("jira/dialog/screenshot-window")); 4520}catch(e){WRMCB(e)}; 4521; 4522try { 4523/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/userhover/userhover.js' */ 4524define("jira/userhover/userhover",["jira/ajs/dropdown/dropdown-factory","aui/inline-dialog","wrm/context-path","jquery","jira/util/assistive","jira/util/formatter"],(function(e,i,t,o,a,n){"use strict";var r=t(),s=function(){},l=400,u="AJS.InlineDialog",d="AJS.InlineDialog.hasUserAttention",c="AJS.InlineDialog.delayId",f="AJS.InlineDialog.isFetchingContent",g="AJS.InlineDialog.focusHandler";s._isLocked=!1;s.INLINE_DIALOG_OPTIONS={urlPrefix:r+"/secure/ViewUserHover!default.jspa?decorator=none&username=",showDelay:l,closeOthers:!1,offsetX:-10,addActiveClass:!1,noBind:!0,hideCallback:function(){var e=this.popup.getOptions();s.hide(e.trigger,e.isHoverLogicDisabled)}};s._showDialog=function(e,t,a){var n={};if(a){var r={isHoverLogicDisabled:!0,shouldFocusTriggerOnClose:!0,showDelay:t?0:s.INLINE_DIALOG_OPTIONS.showDelay};n=Object.assign(s.INLINE_DIALOG_OPTIONS,r)}n.trigger=e;var l="user-hover-dialog-"+(new Date).getTime(),d=new i(o(e),l,(function(i,t,o){s._fetchDialogContents(i,e,o,l,a)}),n);o.data(e,u,d).show()};s.show=function(e,i,t){clearTimeout(o.data(e,c)||0);o.data(e,d,!0);o.data(e,u)||s._isLocked||""===AJS.params.loggedInUser||(i?s._showDialog(e,i,t):o.data(e,c,setTimeout((function(){s._showDialog(e,!1,t)}),l)))};s._hideDialog=function(e,i){i.getOptions().shouldFocusTriggerOnClose&&setTimeout((function(){o(e).focus()}));i.remove();var t=o.data(e,g);o.data(e,g,null);document.removeEventListener("keydown",t);o.data(e,u,null)};s.hide=function(e,i){if(!o.data(e,f)&&!s._isLocked){clearTimeout(o.data(e,c)||0);o.data(e,d,!1);var t=o.data(e,u);t&&(i?s._hideDialog(e,t):o.data(e,c,setTimeout((function(){s._hideDialog(e,t)}),l)))}};s.toggle=function(e,i){o.data(e,u)?s.hide(e,i):s.show(e,i,!0)};s._setupDialogContents=function(i,t,r){i.html(t);var l=o("<button class='aui-button aui-button-text aui-button-close user-hover-close'><span class='aui-icon aui-icon-small aui-iconfont-close-dialog'></span></button>");l.attr("aria-label","Close");l.on("click keydown",(function(e){a.handleClickSpaceEnter(e,(function(){s.hide(r,!0)}))}));i.append(l);i.css({overflow:"visible",position:"relative"});i.parent().attr({role:"dialog","aria-label":"User information"});var u=e.createDropdown({trigger:i.find(".aui-dd-link"),content:i.find(".aui-list")});o(u).bind({showLayer:function(){s._isLocked=!0},hideLayer:function(){s._isLocked=!1;o.data(r,d)||s.hide(r)}})};s._fetchDialogContents=function(e,i,t,a,n){var r=s.INLINE_DIALOG_OPTIONS.urlPrefix+encodeURIComponent(i.getAttribute("rel"));o.data(i,f,!0);o.get(r,(function(r){if(o.data(i,d)){s._setupDialogContents(e,r,i);o.data(i,f,!1);t();var u=function(e){return function(i){if("Tab"===i.key){var t=document.activeElement,a=o("#inline-dialog-"+e).find(":focusable:visible:not([tabindex='-1'])"),n=a[0],r=a[a.length-1];if(i.shiftKey&&t===n){r.focus();i.preventDefault()}else if(!i.shiftKey&&t===r){n.focus();i.preventDefault()}}}}(a);document.addEventListener("keydown",u);o.data(i,g,u);n?setTimeout((function(){e.find("#avatar-image-link").focus()})):o.data(i,c,setTimeout((function(){e.bind({mousemove:function(){s.show(i)},mouseleave:function(){s.hide(i)}})}),l))}else o.data(i,f,!1)}))};return s}));AJS.namespace("jira.app.userhover",null,require("jira/userhover/userhover"));AJS.namespace("JIRA.userhover",null,require("jira/userhover/userhover")); 4525}catch(e){WRMCB(e)}; 4526; 4527try { 4528/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/userhover/initUserhover.js' */ 4529require(["jquery","jira/userhover/userhover","jira/util/assistive"],(function(e,i,t){"use strict";e(document).delegate(".user-hover[rel]:not(.user-hover-replaced)",{click:function(){i.hide(this,!0)},mousemove:function(){i.show(this)},mouseleave:function(){i.hide(this)}});e(document).delegate(".user-hover-trigger",{"click keydown":function(e){e.stopPropagation();t.handleClickSpaceEnter(e,function(){i.toggle(this,!0)}.bind(this))}})})); 4530}catch(e){WRMCB(e)}; 4531; 4532try { 4533/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/LinkIssueDialog.js' */ 4534define("jira/dialog/link-issue-dialog-factory",["require"],(function(e){"use strict";var i=e("jira/deprecator"),n=e("jira/dialog/dialog-factory"),t=e("jira/dialog/form-dialog2"),o=e("jira/dialog/dialog-util"),s=e("jira/ajs/ajax/smart-ajax"),r=e("jira/issue"),a=e("jira/issuenavigator/issue-navigator"),u=e("jquery"),l=e("jira/jquery/deferred"),c=e("wrm/context-path"),d=e("wrm/require"),g=c(),f=e("jira/analytics"),p=e("jira/util/logger"),m=e("jira/util/browser");function h(){return"link.issue.dialog"}function j(e){return new t({id:"link-issue-dialog",isIssueDialog:!0,trigger:e,onSuccessfulSubmit:function(e,i){"warning"!==i.getResponseHeader("X-Atlassian-Dialog-Msg-Type")&&o.storeCurrentIssueIdOnSucessfulSubmit.apply(this,arguments)},issueMsg:"thanks_issue_linked",widthClass:"large",stacked:!0,content:function(e,i){var n=this,t=r.getIssueId()||a.getSelectedIssueId(),c=d("wrc!link.issue.dialog");u.when(c).done((function(){var i=function(e){var i=new l;
4534s.makeRequest({url:g+"/rest/viewIssue/1/remoteIssueLink/linkType?issueId="+e,complete:function(e,n,t){t.successful?i.resolve(t.data):i.reject(s.buildDialogErrorContent(t))}});return i.promise()}(t),r=function(e){var i=new l,n=o.getDefaultAjaxOptions.call(e);n.complete=function(e,n,t){t.successful?i.resolve(t.data):i.reject(s.buildDialogErrorContent(t))};s.makeRequest(n);return i.promise()}(n);u.when(r,i).done((function(i,t){t=function(e,i){var n=!1;u.each(i,(function(i,t){if(t.id===e){t.isSelected=!0;n=!0;return!1}}));n||(i[0].isSelected=!0);return i}(function(e){return e.$activeTrigger.attr("id")}(n),t);e(JIRA.Templates.LinkIssue.dialog({linkTypes:t,tabContent:i}));u.each(t,(function(e,i){var t;if(!0===i.isSelected){t="[name='".concat(i.focusedFieldName,"']");0===u(t).length&&(t="#".concat(i.id));n._focusFirstField(t)}}))})).fail((function(i,n){e(n||i)}))})).fail((function(){i();u.when(d("wr!com.atlassian.jira.plugin.system.issueoperations:link-issue-error-dialog")).done((function(){var e=AJS.dialog2(u(JIRA.Templates.LinkIssue.errorDialog())).on("show",(function(){f.send({name:"link.issue.dialog.loading.ui.resources.failed"})}));e.$el.find("#error-dialog-button").click((function(){m.reloadViaWindowLocation()}));e.show()})).fail((function(e){p.error(e)}))}))},formatSubmitResponseContent:function(e){this.get$popupContent().find(".dialog-pane").html(e);return this.get$popupContent().html()},onContentRefresh:function(){this.bindAnchorsToDialog(this.get$popupContent().find(".dialog-menu-item "))}})}n.createLinkIssueDialog=j;i.prop(n,"createLinkIssueDialog",{sinceVersion:"7.3",removeInVersion:"8.0"});return{createLinkIssueDialog:j,webResourcesContextName:h}})); 4535}catch(e){WRMCB(e)}; 4536; 4537try { 4538/* module-key = 'jira.webresources:dialogs', location = '/includes/jira/dialog/linkissue.soy' */ 4539// This file was automatically generated from linkissue.soy. 4540// Please don't edit this file by hand. 4541 4542/** 4543 * @fileoverview Templates in namespace JIRA.Templates.LinkIssue. 4544 */ 4545 4546if (typeof JIRA == 'undefined') { var JIRA = {}; } 4547if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4548if (typeof JIRA.Templates.LinkIssue == 'undefined') { JIRA.Templates.LinkIssue = {}; } 4549 4550 4551JIRA.Templates.LinkIssue.dialog = function(opt_data, opt_ignored) { 4552 var output = '<div class="aui-group"><div class="aui-item dialog-menu-group"><ul class="dialog-menu">'; 4553 var linkTypeList4 = opt_data.linkTypes; 4554 var linkTypeListLen4 = linkTypeList4.length; 4555 for (var linkTypeIndex4 = 0; linkTypeIndex4 < linkTypeListLen4; linkTypeIndex4++) { 4556 var linkTypeData4 = linkTypeList4[linkTypeIndex4]; 4557 output += '<li><button id="' + soy.$$escapeHtml(linkTypeData4.id) + '" data-url="' + soy.$$escapeHtml(linkTypeData4.url) + '" class="dialog-menu-item ' + ((linkTypeData4.isSelected) ? 'selected' : '') + '">' + soy.$$escapeHtml(linkTypeData4.label) + '</button></li>'; 4558 } 4559 output += '</ul></div><div class="aui-item dialog-pane">' + soy.$$filterNoAutoescape(opt_data.tabContent) + '</div></div>'; 4560 return output; 4561}; 4562if (goog.DEBUG) { 4563 JIRA.Templates.LinkIssue.dialog.soyTemplateName = 'JIRA.Templates.LinkIssue.dialog'; 4564} 4565 4566 4567JIRA.Templates.LinkIssue.errorDialog = function(opt_data, opt_ignored) { 4568 return '<section id="link-issue-error-dialog" class="aui-dialog2 aui-dialog2-medium aui-layer" role="dialog" hidden data-aui-modal="true"><header class="aui-dialog2-header"><h2 class="aui-dialog2-header-main">' + soy.$$escapeHtml('We can\x27t link your issue') + '</h2></header><div class="aui-dialog2-content">' + soy.$$escapeHtml('To fix this, ask your Jira administrator to apply the configuration changes from the linked article.') + '<a href="https://confluence.atlassian.com/display/JIRAKB/JIRA+elements+fail+to+render+with+HTTP+400+error" target="_blank"> ' + soy.$$escapeHtml('Learn more.') + '</a></div><footer class="aui-dialog2-footer"><div class="aui-dialog2-footer-actions"><button id="error-dialog-button" class="aui-button aui-button-primary">' + soy.$$escapeHtml('Refresh') + '</button></div></footer></section>'; 4569}; 4570if (goog.DEBUG) { 4571 JIRA.Templates.LinkIssue.errorDialog.soyTemplateName = 'JIRA.Templates.LinkIssue.errorDialog'; 4572} 4573 4574}catch(e){WRMCB(e)}; 4575; 4576try { 4577/* module-key = 'jira.webresources:default-comment-security-level', location = '/includes/ajs/select/security/DefaultCommentSecurityLevelModel.js' */ 4578define("jira/ajs/select/security/default-comment-security-level-model",["
4578jira/issue","jira/analytics","jira/lib/class","jira/util/strings","jquery","wrm/context-path"],(function(e,t,n,i,s,a){"use strict";return n.extend({DEFAULT_COMMENT_SECURITY_LEVEL_KEY_PREFIX:"default-comment-security-level-",_currentDefault:null,_preferenceKey:null,init:function(e){this.NOT_SELECTED_DEFAULT=new this.LvlObj("","");this._preferenceKey=this.DEFAULT_COMMENT_SECURITY_LEVEL_KEY_PREFIX+e},LvlObj:function(e,t){this.level=e;this.levelName=t},_isLvlObjValid:function(e){return!(void 0===e.level||void 0===e.levelName)},_getDefaultStoreRequest:function(e){return s.ajax({url:a()+"/rest/api/2/mypreferences?key="+this._preferenceKey,type:"PUT",contentType:"application/json",dataType:"json",data:JSON.stringify(e)})},_getDefaultLoadRequest:function(){return s.ajax({url:a()+"/rest/api/2/mypreferences?key="+this._preferenceKey,type:"GET",contentType:"application/json",dataType:"json"})},updateDefault:function(e,t,n){this._sendDefaultChangedAnalytics(e);this._getDefaultStoreRequest(e).done(function(){this._currentDefault=e;t()}.bind(this)).fail((function(e){n(e)}))},getDefault:function(e,t){null==this._currentDefault?this._getDefaultLoadRequest().done(function(t){this._isLvlObjValid(t)?this._currentDefault=t:this._currentDefault=this.NOT_SELECTED_DEFAULT;e(this._currentDefault)}.bind(this)).fail(function(n){if(404===n.status){this._currentDefault=this.NOT_SELECTED_DEFAULT;e(this._currentDefault)}else t(n)}.bind(this)):e(this._currentDefault)},getCurrentDefault:function(){return this._currentDefault},_sendDefaultChangedAnalytics:function(n){var s=i.hashCode(this._preferenceKey);t.send({name:"jira.issue.comment.level.default.set",data:{newDefaultlevelHash:i.hashCode(n.level.toString()),projectIdHash:s,issueIdHash:i.hashCode(e.getIssueId().toString()),wasSetToByAll:""===n.level}})}})})); 4579}catch(e){WRMCB(e)}; 4580; 4581try { 4582/* module-key = 'jira.webresources:default-comment-security-level', location = '/includes/ajs/select/security/DefaultCommentSecurityLevelControl.js' */ 4583define("jira/ajs/select/security/default-comment-security-level-control",["jira/util/formatter","jira/ajs/select/security/default-comment-security-level-model","jira/ajs/ajax/smart-ajax","jira/dialog/form-dialog2","jira/lib/class","jquery","underscore","wrm/data"],(function(e,t,n,i,l,a,o,s){"use strict";var r=s.claim("jira.core:default-comment-security-level-data.DefaultCommentSecurityLevelHelpLink");return l.extend({_InitialLoadDefaultLevelView:l.extend({init:function(e){this.$containerSpan=e},startLoading:function(){this.$containerSpan.html(JIRA.Templates.CommentSecurityLevel.initialLoadDefaultStart());this.$containerSpan.find(".default-comment-level-spinner").spin({top:"0px",left:"0px"})},endLoading:function(){this.$containerSpan.find(".default-comment-level-load").addClass("hidden")}}),_SaveDefaultLevelControl:l.extend({init:function(e,t,n){this.$containerSpan=e;this.defaultLevelModel=t;this.currentSelection=n;this._putLinkToSetDefault();this._putHelpLink()},_putLinkToSetDefault:function(){this.$containerSpan.append(JIRA.Templates.CommentSecurityLevel.linkToSetDefault());this.$containerSpan.find(".default-comment-level-switch").bind("click",function(e){e.preventDefault();this._onUpdateBegin();this.defaultLevelModel.updateDefault(this.currentSelection,this._onUpdateSuccess.bind(this),this._onUpdateFail.bind(this))}.bind(this))},_putHelpLink:function(){this.$containerSpan.append(JIRA.Templates.Links.helpLink(r));var t=this.$containerSpan.find(".default-comment-level-help");t.attr("title","Makes the selected restriction level your default for this project");t.tooltip({trigger:"hover",gravity:"nw",fade:!1})},_putStatusSpan:function(e){this.$containerSpan.html(JIRA.Templates.CommentSecurityLevel.defaultLevelStatus(e));var t=this.$containerSpan.find(".default-comment-level-status");t.attr("status",e.status);setTimeout((function(){t.addClass("fade-out")}),2e3)},_onUpdateBegin:function(){this.$containerSpan.find(".default-comment-level-switch").addClass("disabled-link");if(0===this.$containerSpan.find(".default-comment-level-spinner").length){this.$containerSpan.prepend(JIRA.Templates.CommentSecurityLevel.defaultLevelSpinner());this.$containerSpan.find(".default-comment-level-spinner").spin()}},_onUpdateSuccess:function(){this._putStatusSpan({text:"Done",status:"success",span_classes:"",icon_classes:"aui-icon aui-icon-small aui-iconfont-approve",text_classes:"default-saved-message"})},_onUpdateFail:function(e){new i({content:n.buildDialogErrorContent(e)}).show();this.$containerSpan.find(".default-comment-level-spinner").remove();this.$containerSpan.find(".default-comment-level-switch").removeClass("disabled-link")}}),enabled:!0,projectId:null,$rootSpan:null,$errorSpan:null,selectionSpi:null,defaultLevelModel:null,init:function(e,n,i){this.$rootSpan=e;this.$errorSpan=n;this.projectId=e.data("project-id");if(o.isNumber(this.projectId)){this.selChanged=!1;this.selectionSpi=i;this.defaultLevelModel=new t(this.projectId)}else this.enabled=!1},selectionChanged:function(){this.selChanged=!0},loadAndApplyDefault:function(t){t&&this.selectionSpi.selectUnavailble("Unknown");var l=this._createContainer(),a=new this._InitialLoadDefaultLevelView(l);a.startLoading();this.defaultLevelModel.getDefault(function(e){t?this.selChanged||this._applyDefaultToSelection(e):this.selectionSpi.repickSelection();a.endLoading()}.bind(this),function(e){new i({content:n.buildDialogErrorContent(e)}).show();a.endLoading()}.bind(this))},flushViewWithNewControl:function(e){var t=this.defaultLevelModel.getCurrentDefault();if(t&&e.value()!==t.level&&"none"!==e.value()){var n=this._createContainer(),i=new this.defaultLevelModel.LvlObj(e.value(),e.label());new this._SaveDefaultLevelControl(n,this.defaultLevelModel,i)}else this.$rootSpan.empty();this.$errorSpan.empty()},_applyDefaultToSelection:function(e){if(this.selectionSpi.hasSecurityLevel(e.level)){this.selectionSpi.selectLevel(e.level);var t=this.selectionSpi.getSelectedLevelName();if(t!==e.levelName){e.levelName=t;this.defaultLevelModel.updateDefault(e,(function(){}),(function(){}))}}else{this.selectionSpi.selectUnavailble(e.levelName);this.$errorSpan.html(JIRA.Templates.CommentSecurityLevel.unavailable({name:e.levelName}))}},_createContainer:function(){var e=a(JIRA.Templates.CommentSecurityLevel.defaultLevelContainer());this.$rootSpan.html(e);return e}})})); 4584}catch(e){WRMCB(e)}; 4585; 4586try { 4587/* module-key = 'jira.webresources:default-comment-security-level', location = '/includes/ajs/select/security/SecuritySelectAdapter.js' */ 4588define("jira/ajs/select/security/select-adapter",["jira/lib/class"],(function(e){"use strict";return e.extend({_selectedModel:null,init:function(e){this._selectModel=e},hasSecurityLevel:function(e){return this._selectModel.hasOptionByValue(e)},selectUnavailble:function(e){this._selectModel.putOption("none",e,!0);this._selectModel.changeSelectionByValue("none")},selectLevel:function(e){this._selectModel.changeSelectionByValue(e)},repickSelection:function(){this._selectModel.changeSelectionByValue(this.getSelectedLevel())},getSelectedLevel:function(){return this._selectModel.getSelectedValues()[0]},getSelectedLevelName:function(){return this._selectModel.getSelectedTexts()[0]}})})); 4589}catch(e){WRMCB(e)}; 4590; 4591try { 4592/* module-key = 'jira.webresources:default-comment-security-level', location = '/includes/ajs/select/security/CommentSecurityLevel.soy' */ 4593// This file was automatically generated from CommentSecurityLevel.soy. 4594// Please don't edit this file by hand. 4595 4596/** 4597 * @fileoverview Templates in namespace JIRA.Templates.CommentSecurityLevel. 4598 */ 4599 4600if (typeof JIRA == 'undefined') { var JIRA = {}; } 4601if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4602if (typeof JIRA.Templates.CommentSecurityLevel == 'undefined') { JIRA.Templates.CommentSecurityLevel = {}; } 4603 4604 4605JIRA.Templates.CommentSecurityLevel.defaultLevelSpinner = function(opt_data, opt_ignored) { 4606 return '<span class="icon default-comment-level-spinner"></span>'; 4607}; 4608if (goog.DEBUG) { 4609 JIRA.Templates.CommentSecurityLevel.defaultLevelSpinner.soyTemplateName = 'JIRA.Templates.CommentSecurityLevel.defaultLevelSpinner'; 4610} 4611 4612 4613JIRA.Templates.CommentSecurityLevel.initialLoadDefaultStart = function(opt_data, opt_ignored) { 4614 return '<span class="default-comment-level-load">' + JIRA.Templates.CommentSecurityLevel.defaultLevelSpinner(null) + '<span class="default-comment-level-load-text">' + soy.$$escapeHtml('Loading your default...') + '</span></span>'; 4615}; 4616if (goog.DEBUG) { 4617 JIRA.Templates.CommentSecurityLevel.initialLoadDefaultStart.soyTemplateName = 'JIRA.Templates.CommentSecurityLevel.initialLoadDefaultStart'; 4618} 4619 4620 4621JIRA.Templates.CommentSecurityLevel.linkToSetDefault = function(opt_data, opt_ignored) { 4622 return '' + aui.buttons.button({text: 'Make this my default', type: 'link', extraClasse
4622s: 'default-comment-level-switch'}); 4623}; 4624if (goog.DEBUG) { 4625 JIRA.Templates.CommentSecurityLevel.linkToSetDefault.soyTemplateName = 'JIRA.Templates.CommentSecurityLevel.linkToSetDefault'; 4626} 4627 4628 4629JIRA.Templates.CommentSecurityLevel.defaultLevelStatus = function(opt_data, opt_ignored) { 4630 return '<span class="default-comment-level-status ' + soy.$$escapeHtml(opt_data.span_classes) + '"><span class="default-comment-level-status-icon ' + soy.$$escapeHtml(opt_data.icon_classes) + '"></span><span class="default-comment-level-status-text ' + soy.$$escapeHtml(opt_data.text_classes) + '">' + soy.$$escapeHtml(opt_data.text) + '</span></span>'; 4631}; 4632if (goog.DEBUG) { 4633 JIRA.Templates.CommentSecurityLevel.defaultLevelStatus.soyTemplateName = 'JIRA.Templates.CommentSecurityLevel.defaultLevelStatus'; 4634} 4635 4636 4637JIRA.Templates.CommentSecurityLevel.unavailable = function(opt_data, opt_ignored) { 4638 return '<span class="security-level-unavailble"><span class="aui-icon aui-icon-small aui-iconfont-error"></span><span class="security-level-unavailble-text">' + soy.$$escapeHtml(AJS.format('Your selected security level is unavailable, please change it',opt_data.name)) + '</span></span>'; 4639}; 4640if (goog.DEBUG) { 4641 JIRA.Templates.CommentSecurityLevel.unavailable.soyTemplateName = 'JIRA.Templates.CommentSecurityLevel.unavailable'; 4642} 4643 4644 4645JIRA.Templates.CommentSecurityLevel.defaultLevelContainer = function(opt_data, opt_ignored) { 4646 return '<span class="default-comment-level-container"></span>'; 4647}; 4648if (goog.DEBUG) { 4649 JIRA.Templates.CommentSecurityLevel.defaultLevelContainer.soyTemplateName = 'JIRA.Templates.CommentSecurityLevel.defaultLevelContainer'; 4650} 4651 4652}catch(e){WRMCB(e)}; 4653; 4654try { 4655/* module-key = 'jira.webresources:dropdown-select', location = '/includes/ajs/select/DropdownSelect.js' */ 4656function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);return"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}define("jira/ajs/select/dropdown-select",["jira/ajs/layer/layer-constants","jira/ajs/control","jira/ajs/select/select-model","jira/ajs/layer/inline-layer-factory","jira/ajs/list/list","jquery","jira/util/events","jira/ajs/layer/inline-layer"],(function(e,t,r,n,i,o,s,a){"use strict";return t.extend({init:function(t){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=this;this.model=new r(t);this.model.$element.hide();this._createFurniture();c._createFocusHandler=c._createFocusHandler.bind(this);this.listController=new i({listId:"".concat(this.model.$element.attr("id"),"-suggestions-list"),containerSelector:o(".aui-list",this.$container),groupSelector:"ul.opt-group",itemSelector:"li:not(.no-suggestions)",rootRole:this.model.$element.data("root-role"),selectionHandler:function(e){c._selectionHandler(this.getFocused(),e);return!1},stallEventBind:!0,suggestionRole:this.model.$element.data("suggestion-role"),suggestionsListRole:this.model.$element.data("suggestions-list-role")});this.dropdownController=n.createInlineLayers(Object.assign({alignment:e.LEFT,width:200,hideOnScroll:".issue-container",content:o(".aui-list",this.$container)},l));this.dropdownController.layer().addClass("select-menu");this._assignEventsToFurniture();s.bind(a.EVENTS.beforeHide,(function(){c.shown=!1;c.$trigger.attr("aria-expanded",c.shown);
4656o(document).unbind("keydown",c._createFocusHandler)}))},_createFocusHandler:function(e){if(27!==e.keyCode)"Tab"===e.key&&this.listController._handleSectionByKeyboard(e);else{e.preventDefault();e.stopPropagation();this.dropdownController.hide();this.$trigger.focus()}},show:function(){var e=this;this.listController.generateListFromJSON(this.model.getAllDescriptors());this.dropdownController.show();this.dropdownController.setPosition();this.shown=!0;this.listController.enable();setTimeout((function(){o(document).bind("keydown",e._createFocusHandler);e.$trigger.attr("aria-expanded",e.shown)}),0);this.listController.on("itemFocus",(function(t){var r=_slicedToArray(t,1)[0];e.$trigger.attr({"aria-activedescendant":r.find("a").attr("id")})}))},_assignEventsToFurniture:function(){this._assignEvents("trigger",this.$trigger)},_createFurniture:function(){var e=this.model.$element.attr("id");this.$container=this._render("container",e);this.$trigger=this.model.$element.prev("a").appendTo(this.$container);this.$container.append(this._render("suggestionsContainer",e));this.$container.insertBefore(this.model.$element)},_renders:{container:function(e){return o('<div class="select-menu" />').attr("id",e+"-multi-select")},suggestionsContainer:function(e){return o('<div class="aui-list aui-list-checked" tabindex="-1" />').attr("id",e+"-suggestions")}},_selectionHandler:function(e){var t=this,r=0;this.model.setSelected(e.data("descriptor"));this.dropdownController.content().find(".aui-checked").removeClass(".aui-checked");e.addClass(".aui-checked");var n=window.setInterval((function(){r++;e.toggleClass(".aui-checking");if(r>2){clearInterval(n);t.dropdownController.hide()}}),80);t.$trigger.focus()},shown:!1,_events:{trigger:{"aui:keydown":function(e){if("Spacebar"===e.key&&!this.shown){e.preventDefault();e.stopPropagation();this.show()}},click:function(e){e.preventDefault();e.stopPropagation();this.shown?this.dropdownController.hide():this.show()}}}})}));AJS.namespace("AJS.SelectMenu",null,require("jira/ajs/select/dropdown-select"));AJS.namespace("AJS.DropdownSelect",null,require("jira/ajs/select/dropdown-select")); 4657}catch(e){WRMCB(e)}; 4658; 4659try { 4660/* module-key = 'jira.webresources:dropdown-select', location = '/includes/ajs/select/SecurityLevelSelect.js' */ 4661define("jira/ajs/select/security-level-select",["jira/util/key-code","jira/util/formatter","jira/util/strings","jira/analytics","jira/issue","jira/featureflags/feature-manager","jira/ajs/select/security/default-comment-security-level-control","jira/ajs/select/security/select-adapter","jira/ajs/select/dropdown-select","jira/ajs/layer/inline-layer/window-positioning","jquery"],(function(e,t,l,i,n,a,r,s,o,u,c){"use strict";return o.extend({$securityLevelDiv:null,$commentLevelSelect:null,$triggerIcon:null,$currentLevelSpan:null,defaultEnabled:!1,applyDefault:!1,loadDefault:!1,_defaultSecurityLevelControl:null,_createFurniture:function(){AJS.populateParameters();this._super()},init:function(e){var t=new u;t.setInversePositioningIfNotFit(!0);this._super(e,{setMaxHeightToWindow:!0,positioningController:t});var l=c(e);this.$securityLevelDiv=l.parent();this.$triggerIcon=this.$securityLevelDiv.find(".security-level-drop-icon");this.$currentLevelSpan=this.$securityLevelDiv.find(".current-level");this.defaultEnabled=!!l.data("enable-default");this.applyDefault=!!l.data("apply-default");this.model.$element.bind("change",function(e,t){this._updateView(t)}.bind(this));if(this.defaultEnabled&&a.isFeatureEnabled("viewissue.comment.defaultlevel")){var i=this.$securityLevelDiv.find(".default-comment-level"),n=this.$securityLevelDiv.next(".security-level-inline-error");this._defaultSecurityLevelControl=new r(i,n,new s(this.model));this._defaultSecurityLevelControl.loadAndApplyDefault(this.applyDefault);this.model.$element.bind("change",function(e,t){this._defaultSecurityLevelControl.flushViewWithNewControl(t)}.bind(this))}},_updateView:function(e){if(""===e.value()){this.$triggerIcon.removeClass("aui-iconfont-locked").addClass("aui-iconfont-unlocked");var l="Viewable by All Users";this.$triggerIcon.text(t.format("This comment will be {0}",l));this.$currentLevelSpan.text(l)}else{this.$triggerIcon.removeClass("aui-iconfont-unlocked").addClass("aui-iconfont-locked");var i=c("<div/>").text(e.label()).html(),n=t.format("Restricted to \u003cspan class=\u0027redText\u0027\u003e{0}\u003c/span\u003e",i),a=c("<div/>").html(n).text();this.$triggerIcon.text(t.format("This comment will be {0}",a));this.$currentLevelSpan.html(n)}},_handleDownKey:function(t){if(this.dropdownController.isVisible()){if(t.keyCode===e.UP&&t.altKey){t.preventDefault();this.listController._handleSectionByKeyboard(t)}if(t.keyCode===e.SPACE){t.preventDefault();this.listController._handleSectionByKeyboard(t)}}else{if(t.keyCode===e.DOWN){t.preventDefault();t.stopPropagation();this.show()}if(t.keyCode===e.UP){t.preventDefault();t.stopPropagation();this.listController.moveToFirst();this.show()}}},_selectionHandler:function(e){this._super(e);this._defaultSecurityLevelControl&&this._defaultSecurityLevelControl.selectionChanged();this._sendSelectionChangedAnalytics(e.data("descriptor").value())},_sendSelectionChangedAnalytics:function(e){var t=null!=this._defaultSecurityLevelControl,a=t?this._defaultSecurityLevelControl.defaultLevelModel.getCurrentDefault().level:"";i.send({name:"jira.issue.comment.level.changed",data:{defaultWasSelected:e===a,issueIdHash:l.hashCode(n.getIssueId().toString()),defaultEnabled:t}})},_events:{trigger:{keydown:function(e){this._handleDownKey(e)}}}})}));AJS.namespace("AJS.SecurityLevel",null,require("jira/ajs/select/security-level-select"));AJS.namespace("AJS.SecurityLevelSelect",null,require("jira/ajs/select/security-level-select")); 4662}catch(e){WRMCB(e)}; 4663; 4664try { 4665/* module-key = 'jira.webresources:user-management', location = '/includes/jira/common/Users.js' */ 4666!function(e){"use strict";AJS.namespace("JIRA.Users.LoggedInUser.userName",null,e.username);AJS.namespace("JIRA.Users.LoggedInUser.isAnonymous",null,e.isAnonymous)}(require("jira/util/users/logged-in-user")); 4667}catch(e){WRMCB(e)}; 4668; 4669try { 4670/* module-key = 'jira.webresources:toggle-block', location = '/includes/jira/toggleblock/ToggleBlock.js' */ 4671define("jira/toggleblock/toggle-block",["jira/util/logger","jira/lib/class","
4671jira/util/events","jira/util/events/types","jira/data/local-storage","jquery","jira/libs/parse-uri"],(function(t,e,i,o,s,n,a){"use strict";var r=/^#[a-zA-Z0-9_\-]+$/;function l(t){var e=t.data.instance;n(this).hasClass(e.options.collapsedClass)&&e.expand(this)}function c(t){var e=t.data.instance;if(!e.options.originalTargetIgnoreSelector||!n(t.originalTarget).is(e.options.originalTargetIgnoreSelector)){e.toggle(t.target);t.preventDefault()}}function d(t){t.data.instance._collapseTwiciBlocksFromStorage()}return e.extend({getDefautOptions:function(){return{blockSelector:".twixi-block",triggerSelector:".twixi",eventType:"click",collapsedClass:"collapsed",expandedClass:"expanded",storageCollectionName:"twixi-blocks",autoFocusTrigger:!0}},_collapseTwiciBlocksFromStorage:function(){var t,e=s.getItem(this.options.storageCollectionName)||"";(e=e.split(",").filter((function(t){return r.test(t)})).join(","))&&(t=n(e)).is(this.options.blockSelector)&&(this.isPermlink()||this._addCollapsedState(t));return this},_addCollapsedState:function(t){t.removeClass(this.options.expandedClass).addClass(this.options.collapsedClass);this._updateAriaLabelForTriggerElement(t,!1)},_addExpandedState:function(t){t.removeClass(this.options.collapsedClass).addClass(this.options.expandedClass);this._updateAriaLabelForTriggerElement(t,!0)},_updateAriaLabelForTriggerElement:function(t,e){var i=t.attr("id");t.find('[aria-controls="'.concat(i,'"]')).attr("aria-expanded",e)},_updateTwixiBlockIdInStorage:function(t){if(!this.isPermlink()){if(!r.test(t))return this;var e=(s.getItem(this.options.storageCollectionName)||"").split(",").filter((function(t){return r.test(t)})),i=e.indexOf(t);-1!==i?e.splice(i,1):e.push(t);try{s.setItem(this.options.storageCollectionName,e.join(","))}catch(t){}}return this},contract:function(t){if((t=n(t)).is(this.options.blockSelector)){this._addCollapsedState(t);!1!==this.options.persist&&this._updateTwixiBlockIdInStorage("#"+t.attr("id"))}n(t).trigger("contractBlock");return this},expand:function(t){if((t=n(t)).is(this.options.blockSelector)){this._addExpandedState(t);!1!==this.options.persist&&this._updateTwixiBlockIdInStorage("#"+t.attr("id"))}n(t).trigger("expandBlock");return this},toggle:function(t){var e=n(t).closest(this.options.blockSelector);e.hasClass(this.options.collapsedClass)?this.expand(e):this.contract(e);this.options.autoFocusTrigger&&e.find(this.options.triggerSelector+":visible").focus();return this},isPermlink:function(){return this.checkIsPermlink(location.href)},checkIsPermlink:function(t){var e=a(t).queryKey;return e.hasOwnProperty("focusedId")||e.hasOwnProperty("focusedCommentId")||e.hasOwnProperty("focusedWorklogId")},addTrigger:function(t,e){var i=this,o=0;if(t){"dblclick"===(e=e||"click")&&(document.selection?n(document).delegate(t,"dblclick",(function(){document.selection.empty()})):n(document).delegate(t,"mousedown",(function(){var t=(new Date).getTime(),e=t-o>750;o=t;return e})));n(document).delegate(t,e,(function(){i.toggle(this)}))}return this},addCallback:function(t,e){n.aop.after({target:this,method:t},e);return this},isUnique:function(t){var e=n(document).data("toggleBlockUids")||[];return-1===n.inArray(t,e)},setUid:function(t){var e=n(document).data("toggleBlockUids")||[];e.push(t);n(document).data("toggleBlockUids",e)},init:function(e){var s=this;e=e||{};this.options=n.extend(this.getDefautOptions(),e);var a=this.options.triggerSelector;if(this.isUnique(a)){this.setUid(a);n(document).delegate(this.options.blockSelector,"reveal",{instance:this},l);n(document).delegate(this.options.triggerSelector,this.options.eventType,{instance:this},c);i.bind(o.REFRESH_TOGGLE_BLOCKS,{instance:this},d);!1!==this.options.persist&&n((function(){s._collapseTwiciBlocksFromStorage()}))}else"undefined"!=typeof console&&t.warn&&t.warn("Your are trying to create a ToggleBlock with selector '"+this.options.triggerSelector+"'.One already exists with this trigger so has been ignored.")}})}));AJS.namespace("JIRA.ToggleBlock",null,require("jira/toggleblock/toggle-block")); 4672}catch(e){WRMCB(e)}; 4673; 4674try { 4675/* module-key = 'com.atlassian.auiplugin:split_aui.component.banner', location = 'aui.chunk.a99c8194d69cbe10f181--e0454091656e3e5b60d6.js' */ 4676"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[8359],{1935:(e,n,t)=>{t.r(n),t.d(n,{banner:()=>s});var r=t(9501),a=t(1415),i=t(9392),o=t(1005);function u(e){const n=document.getElementById("header");if(!n)throw new Error('Unable to find the application header. Please ensure that an element with the ID "header" is present in the DOM');const t=function({body:e="",type:n="error"}){const t=document.createElement("div");t.className=`aui-banner aui-banner-${n}`,t.setAttribute("role","alert"),t.innerHTML=e;const r=document.createElement("div");return r.innerText=`${n}`,r.classList.add("assistive"),t.prepend(r),t}(e);
4676return function(e,n){n.prepend(e),(0,r.recomputeStyle)(e)}(t,n),function(e){const n=e.querySelectorAll(".aui-banner[hidden]"),t=o.getMessageLogger("Banner [hidden] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.8.0",deprecationType:"ATTRIBUTE",extraInfo:"The hidden attribute on the banner is no longer effective. Future banner function calls won't remove banners with this attribute."});n.forEach((function(e){t(),e.remove()}))}(n),t}(0,a.default)("aui/banner",u),(0,i.default)("banner",u);const s=u}},e=>{e.O(0,[4496,1263,5131,5366,2178,3910,3447,5388,2016,8235,1700],(()=>{return n=1935,e(e.s=n);var n}));e.O()}]); 4677}catch(e){WRMCB(e)}; 4678; 4679try { 4680/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.7386883120', location = 'aui.chunk.6c0c96c945c4021bb36d--ab366dc4b6a113ff7209.js' */ 4681"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[2721],{2703:(t,n,r)=>{r.r(n),r.d(n,{default:()=>u});var e=r(5017);const u=function(t){function n(n){return u((function(){return t.hasAttribute(n)}),n+" wasn't defined")}function r(r){if(!n(r))return!1;var e=t.getAttribute(r);return u((function(){return document.getElementById(e)}),'an element with id set to "'+e+'" was not found')}function u(n,r){return!!n()||(t?e.error(r,t):e.error(r),!1)}return{attributeExists:n,refersTo:r,satisfiesRules:u,ariaControls:function(){return r("aria-controls")},ariaOwns:function(){return r("aria-owns")}}}}}]); 4682}catch(e){WRMCB(e)}; 4683; 4684try { 4685/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.480d8aa1d1', location = 'aui.chunk.a8f4416a8a1d786ef39c--6ffc7c2c4f02e7d7e12e.js' */ 4686"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6297],{3398:(t,e,u)=>{function n(t){return null!==t}function l(t,e,u){u?t.setAttribute(e,""):t.removeAttribute(e)}function i(t,e){const u=t=>t.toLowerCase()===e.toLowerCase(),n=null===e,l=!n&&!t.values.filter(u).length;return n?t.hasOwnProperty("missingDefault")?t.missingDefault:null:l?t.hasOwnProperty("invalidDefault")?t.invalidDefault:t.hasOwnProperty("missingDefault")?t.missingDefault:null:t.values.length?t.values.filter(u)[0]:null}function a(t,e,u){t.setAttribute(e.attribute,u)}u.r(e),u.d(e,{computeBooleanValue:()=>n,computeEnumValue:()=>i,default:()=>s,setBooleanAttribute:()=>l,setEnumAttribute:()=>a});const s={computeBooleanValue:n,setBooleanAttribute:l,computeEnumValue:i,setEnumAttribute:a}}}]); 4687}catch(e){WRMCB(e)}; 4688; 4689try { 4690/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e13f04fa37', location = 'aui.chunk.a22a299857255690b044--5d19f80466fe9daff3f8.js' */ 4691"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[315],{1906:(e,t,n)=>{n.r(t),n.d(t,{InlineDialogEl:()=>i.default});n(7163),n(7958);var i=n(9735)},9735:(e,t,n)=>{n.r(t),n.d(t,{default:()=>B});var i=n(6311),o=n(5338),u=n(1415),r=n(3398),s=n(2703),a=n(9392),l=n(2496),d=n(6249),f=n(2618),c=n(1865),p=n(7582),g=n(1971);const m=1e3;function h(e,t){D(e)&&(0,c.doIfTrigger)(e,(function(n){n.setAttribute("aria-expanded","false"),t.setAttribute("aria-expanded",e.open)})),(0,c.setTrigger)(e,t)}function v(e,t){if(e._auiAlignment)e._auiAlignment.changeTarget(t),e._auiAlignment.enable();else{let n={overflowContainer:"viewport"===e.getAttribute("contained-by")?"viewport":"window",positionFixed:!1,eventsEnabled:!0};e._auiAlignment=new o.default(e,t,n)}}function b(e){e._auiAlignment&&(e._auiAlignment.destroy(),delete e._auiAlignment)}function T(e,t){var n=t.currentTarget;n&&(h(e,n),v(e,n)),e.open||(e.open=!0),clearTimeout(e._closingTimeout)}function A(e=0){return function(t){t.open&&!(0,l.default)(t).isPersistent()&&(clearTimeout(t._closingTimeout),t._closingTimeout=setTimeout((function(){(function(e){return(0,f.default)(e).get("mouse-inside")||e.contains(document.activeElement)})(t)||(t.open=!1),t._closingTimeout=null}),e))}}const _={click(e,t){e.open&&!(0,l.default)(e).isPersistent()?e.open=!1:(h(e,t.currentTarget),e.open=!0),clearTimeout(e._closingTimeout)},mouseenter:T,mouseleave:A(m),focus:T,blur:A(0)};function E(e){var t=e.currentTarget;(0,f.default)(t).set("mouse-inside",!0),t.message({type:"mouseenter"})}function y(e){var t=e.currentTarget;(0,f.default)(t).set("mouse-inside",!1),t.message({type:"mouseleave"})}function w(e){var t=e.currentTarget;"hover"===t.respondsTo&&A(m)(t)}function x(e){(0,f.default)(e).set("mouse-inside",void 0),e.removeEventListener("mouseenter",E),e.removeEventListener("mouseleave",y),e.removeEventListener("blur",w),"hover"===e.respondsTo&&((0,f.default)(e).set("mouse-inside",!1),e.addEventListener("mouseenter",E),e.addEventListener("mouseleave",y),e.addEventListener("blur",w))}function V(e,t){return`${e}.nested-layer-${t}`}function I(e){return(0,l.default)(e).show(),!0===(0,l.default)(e).isVisible()}function k(e){return(0,l.default)(e).hide(),!1===(0,l.default)(e).isVisible()}function L(e){return"hover"!==e.respondsTo}function D(e){return"dialog"!==e.getAttribute("role")}function P(e){e.__initialised||((0,l.default)(e),(0,i.default)(e).on({[`${l.EVENT_PREFIX}show`]:function(e){const t=this;e.target===t&&(!function(e){let t=(0,i.default)(e);const n=e.id,o=e=>t.find((0,c.getTrigger)(e.target)).length<1;(0,i.default)(document).on(V("aui-layer-show",n),(e=>{o(e)||t.attr("persistent","")})).on(V("aui-layer-hide",n),(e=>{o(e)||t.removeAttr("persistent")})).on(V("select2-opening",n),(()=>{t.attr("persistent","")})).on(V("select2-close",n),(()=>{setTimeout((()=>{t.removeAttr("persistent")}),150)}))}(t),(0,c.doIfTrigger)(t,(function(e){L(t)&&(0,g.default)().enter((0,i.default)(t),(0,i.default)(e)),v(t,e),D(t)&&e.setAttribute("aria-expanded","true")})))},[`${l.EVENT_PREFIX}hide`]:function(e){const t=this;var n;e.target===t&&(n=t.id,(0,i.default)(document).off(V("aui-layer-hide",n)).off(V("aui-layer-show",n)).off(V("select2-opening",n)).off(V("select2-close",n)),t.ownerDocument.body.contains(t)?function(e){e._auiAlignment&&e._auiAlignment.disable()}(t):b(t),(0,c.doIfTrigger)(t,(function(e){L(t)&&(0,g.default)().exit((0,i.default)(t)),D(t)&&e.setAttribute("aria-expanded","fal
vendor: 7,430 bytes, lines 4691-4722
4691se")})),(0,c.setTrigger)(t,null))}}),e.__initialised=!0)}const R={attribute:"responds-to",values:["toggle","hover"],missingDefault:"toggle",invalidDefault:"toggle"},$=(0,d.default)("aui-inline-dialog",{prototype:{get open(){return(0,l.default)(this).isVisible()},set open(e){this.__propUpdate=!0,e?I(this):k(this)},get persistent(){return this.hasAttribute("persistent")},set persistent(e){r.default.setBooleanAttribute(this,"persistent",e)},get respondsTo(){var e=R.attribute;return r.default.computeEnumValue(R,this.getAttribute(e))},set respondsTo(e){const t=this.respondsTo;r.default.setEnumAttribute(this,R,e),t!==this.respondsTo&&x(this)},message:function(e){var t,n,i;return n=e,(i={toggle:["click"],hover:["mouseenter","mouseleave","focus","blur"]}[(t=this).respondsTo])&&i.indexOf(n.type)>-1&&_[n.type](t,n),this}},attributes:{open:function(e,t){if(P(e),e.__propUpdate)delete e.__propUpdate;else{if("created"===t.type){I(e)||(0,r.setBooleanAttribute)(e,"open",!1)}if("removed"===t.type){k(e)||(0,r.setBooleanAttribute)(e,"open",!0)}}},"responds-to":function(e,t){r.default.computeEnumValue(R,t.oldValue)!==r.default.computeEnumValue(R,t.newValue)&&x(e)}},created:P,attached:function(e){(0,s.default)(e).attributeExists("id"),e.setAttribute("tabindex",0),D(e)&&(e.setAttribute("role","group"),(0,c.doIfTrigger)(e,(function(t){t.setAttribute("aria-expanded",e.open)})),(0,c.forEachTrigger)(e,(function(e){e.setAttribute("aria-haspopup","true")}))),x(e)},detached:function(e){(0,p.ifGone)(e).then((()=>{b(e),D(e)&&(0,c.forEachTrigger)(e,(function(e){e.removeAttribute("aria-haspopup"),e.removeAttribute("aria-expanded")}))}))},template:function(e){(0,i.default)('<div class="aui-inline-dialog-contents"></div>').append(e.childNodes).appendTo(e)}});(0,u.default)("aui/inline-dialog2",$),(0,a.default)("InlineDialog2",$);const B=$}}]); 4692}catch(e){WRMCB(e)}; 4693; 4694try { 4695/* module-key = 'com.atlassian.auiplugin:split_aui.component.inline-dialog2', location = 'aui.chunk.bb946dd5bb3d0b8d6340--7951d94665fb99281870.js' */ 4696"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5035],{},u=>{u.O(0,[8658,1221,4496,1263,5131,5366,2178,3910,3447,9146,1661,9121,8574,2016,8235,6534,9869,6843,700,9610,7794,614,8308,151,7199,6327,2721,6297,315],(()=>{return a=1906,u(u.s=a);var a}));u.O()}]); 4697}catch(e){WRMCB(e)}; 4698; 4699try { 4700/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--177522ba92', location = 'aui.chunk.f56fcc69f6610bc59b69--8d2a2303dcc9b7229bc3.js' */ 4701(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[5996],{759:(e,t,i)=>{var s,o,n;!function(u){"use strict";o=[i(4440),i(3309)],void 0===(n="function"==typeof(s=function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?s.apply(t,o):s)||(e.exports=n)}()},7228:(e,t,i)=>{var s,o,n; 4702/*! 4703 * jQuery UI Mouse 1.13.3 4704 * https://jqueryui.com 4705 * 4706 * Copyright OpenJS Foundation and other contributors 4707 * Released under the MIT license. 4708 * https://jquery.org/license 4709 */!function(u){"use strict";o=[i(4440),i(759),i(3309),i(9229)],void 0===(n="function"==typeof(s=function(e){var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(i){if(!0===e.data(i.target,t.widgetName+".preventClickEvent"))return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,o=1===i.which,n=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&e(i.target).closest(this.options.cancel).length;return!(o&&!n&&this._mouseCapture(i))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){s.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&e.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,i.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?s.apply(t,o):s)||(e.exports=n)}()}}]); 4710}catch(e){WRMCB(e)}; 4711; 4712try { 4713/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--252a940369', location = 'aui.chunk.50c5162a081443ac009e--ae1fe76c66e71e485ddc.js' */ 4714(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[1677],{2903:(t,e,i)=>{var s,o,r; 4715/*! 4716 * jQuery UI Sortable 1.13.3 4717 * https://jqueryui.com 4718 * 4719 * Copyright OpenJS Foundation and other contributors 4720 * Released under the MIT license. 4721 * https://jquery.org/license 4722 */!function(n){"use strict";o=[i(4440),i(7228),i(4745),i(759),i(9041),i(3309),i(9229)],s=function(t){return t.widget("ui.sortable",t.ui.mouse,{version:"1.13.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null}
vendor: 23,545 bytes, line 4722
4722,_isOverAxis:function(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,(function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var s=null,o=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each((function(){if(t.data(this,r.widgetName+"-item")===r)return s=t(this),!1})),t.data(e.target,r.widgetName+"-item")===r&&(s=t(e.target)),!!s&&(!(this.options.handle&&!i&&(t(this.options.handle,s).find("*").addBack().each((function(){this===e.target&&(o=!0)})),!o))&&(this.currentItem=s,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,i,s){var o,r,n=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=t("parent"!==n.appendTo?n.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),t.extend(this.offset,{parent:this._getParentOffset()}),n.containment&&this._setContainment(),n.cursor&&"auto"!==n.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",n.cursor),this.storedStylesheet=t("<style>*{ cursor: "+n.cursor+" !important; }</style>").appendTo(r)),n.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",n.zIndex)),n.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",n.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(t){var e=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),i},_mouseDrag:function(e){var i,s,o,r,n=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},i=this.items.length-1;i>=0;i--)if(o=(s=this.items[i]).item[0],(r=this._intersectsWithPointer(s))&&s.instance===this.currentContainer&&!(o===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===o||t.contains(this.placeholder[0],o)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],o))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,o=this.placeholder.offset(),r=this.options.axis,n={};r&&"x"!==r||(n.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(n.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(n,parseInt(this.options.revert,10)||500,(function(){s._clear(e)}))}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each((function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))})),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each((function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")})),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,o=s+this.helperProportions.height,r=t.left,n=r+t.width,h=t.top,a=h+t.height,l=this.offset.click.top,c=this.offset.click.left,p="x"===this.options.axis||s+l>h&&s+l<a,f="y"===this.options.axis||e+c>r&&e+c<n,u=p&&f;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:r<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<n&&h<s+this.helperProportions.height/2&&o-this.helperProportions.height/2<a},_intersectsWithPointer:function(t){var e,i,s="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),o="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!s||!o)&&(e=this.dragDirection.vertical,i=this.dragDirection.horizontal,this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),s=this.dragDirection.vertical,o=this.dragDirection.horizontal;return this.floating&&o?"right"===o&&i||"left"===o&&!i:s&&("down"===s&&e||"up"===s&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,o,r,n=[],h=[],a=this._connectWith();if(a&&e)for(i=a.length-1;i>=0;i--)for(s=(o=t(a[i],this.document[0])).length-1;s>=0;s--)(r=t.data(o[s],this.widgetFullName))&&r!==this&&!r.options.disabled&&h.push(["function"==typeof r.options.items?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);function l(){n.push(this)}for(h.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=h.length-1;i>=0;i--)h[i][0].each(l);return t(n)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,(function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0}))},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,o,r,n,h,a,l,c=this.items,p=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(i=f.length-1;i>=0;i--)for(s=(o=t(f[i],this.document[0])).length-1;s>=0;s--)(r=t.data(o[s],this.widgetFullName))&&r!==this&&!r.options.disabled&&(p.push(["function"==typeof r.options.items?r.options.items.call(r.element[0],e,{item:this.currentItem}):t(r.options.items,r.element),r]),this.containers.push(r));for(i=p.length-1;i>=0;i--)for(n=p[i][1],s=0,l=(h=p[i][0]).length;s<l;s++)(a=t(h[s])).data(this.widgetName+"-item",n),c.push({item:a,instance:n,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){var i,s,o,r;for(i=this.items.length-1;i>=0;i--)s=this.items[i],this.currentContainer&&s.instance!==this.currentContainer&&s.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=o.outerWidth(),s.height=o.outerHeight()),r=o.offset(),s.left=r.left,s.top=r.top)},refreshPositions:function(t){var e,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;e>=0;e--)i=this.containers[e].element.offset(),this.containers[e].containerCache.left=i.left,this.containers[e].containerCache.top=i.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 i,s,o=(e=e||this).options;o.placeholder&&o.placeholder.constructor!==String||(i=o.placeholder,s=e.currentItem[0].nodeName.toLowerCase(),o.placeholder={element:function(){var o=t("<"+s+">",e.document[0]);return e._addClass(o,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===s?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(o)):"tr"===s?e._createTrPlaceholder(e.currentItem,o):"img"===s&&o.attr("src",e.currentItem.attr("src")),i||o.css("visibility","hidden"),o},update:function(t,r){i&&!o.forcePlaceholderSize||(r.height()&&(!o.forcePlaceholderSize||"tbody"!==s&&"tr"!==s)||r.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),r.width()||r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(o.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),o.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var s=this;e.children().each((function(){t("<td> </td>",s.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)}))},_contactContainers:function(e){var i,s,o,r,n,h,a,l,c,p,f=null,u=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(f&&t.contains(this.containers[i].element[0],f.element[0]))continue;f=this.containers[i],u=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[u].containerCache.over||(this.containers[u]._trigger("over",e,this._uiHash(this)),this.containers[u].containerCache.over=1);else{for(o=1e4,r=null,n=(c=f.floating||this._isFloating(this.currentItem))?"left":"top",h=c?"width":"height",p=c?"pageX":"pageY",s=this.items.length-1;s>=0;s--)t.contains(this.containers[u].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(a=this.items[s].item.offset()[n],l=!1,e[p]-a>this.items[s][h]/2&&(l=!0),Math.abs(e[p]-a)<o&&(o=Math.abs(e[p]-a),r=this.items[s],this.direction=l?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[u])return void(this.currentContainer.containerCache.over||(this.containers[u]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[u].element,!0),this._trigger("change",e,this._uiHash()),this.containers[u]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[u],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[u]._trigger("over",e,this._uiHash(this)),this.containers[u].containerCache.over=1}},_createHelper:function(e){var i=this.options,s="function"==typeof i.helper?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||this.appendTo[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),s[0].style.width&&!i.forceHelperSize||s.width(this.currentItem.width()),s[0].style.height&&!i.forceHelperSize||s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}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 e,i,s,o=this.options;"parent"===o.containment&&(o.containment=this.helper[0].parentNode),"document"!==o.containment&&"window"!==o.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===o.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===o.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(o.containment)||(e=t(o.containment)[0],i=t(o.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(o[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:o.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:o.scrollLeft())*s}},_generatePosition:function(e){var i,s,o=this.options,r=e.pageX,n=e.pageY,h="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(h[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(r=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(n=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(r=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(n=this.containment[3]+this.offset.click.top)),o.grid&&(i=this.originalPageY+Math.round((n-this.originalPageY)/o.grid[1])*o.grid[1],n=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-o.grid[1]:i+o.grid[1]:i,s=this.originalPageX+Math.round((r-this.originalPageX)/o.grid[0])*o.grid[0],r=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:n-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:h.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:h.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay((function(){o===this.counter&&this.refreshPositions(!s)}))},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(t,e,i){return function(s){i._trigger(t,s,e._uiHash(e))}}for(this.fromOutside&&!e&&s.push((function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push((function(t){this._trigger("update",t,this._uiHash())})),this!==this.currentContainer&&(e||(s.push((function(t){this._trigger("remove",t,this._uiHash())})),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;
4722i--)e||s.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<s.length;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})},void 0===(r="function"==typeof s?s.apply(e,o):s)||(t.exports=r)}()}}]); 4723}catch(e){WRMCB(e)}; 4724; 4725try { 4726/* module-key = 'com.atlassian.auiplugin:split_jquery.ui.sortable', location = 'aui.chunk.b487151686ea2bd5fe1e--a6118a0ffdec1fa6df42.js' */ 4727"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([[6951],{5451:(u,a,e)=>{e.r(a),e.d(a,{default:()=>i});e(2903);const i="jquery"}},u=>{u.O(0,[9100,5947,5996,9675,5273,1677,9385,4496],(()=>{return a=5451,u(u.s=a);var a}));u.O()}]); 4728}catch(e){WRMCB(e)}; 4729; 4730try { 4731/* module-key = 'jira.webresources:jira-issuetable', location = '/includes/jira/issuetable/IssueTable.js' */ 4732define("jira/issuetable",["jira/skate","wrm/require","require"],(function(e,t,a){"use strict";var s;return new Promise((function(i){e("issuetable-web-component",{isSubtasksTable:!1,attached:function(e){this.isSubtasksTable="subtasks"===e.dataset.content;if(this.isSubtasksTable)return t("wr!jira.webresources:issue-table-dnd").then((function(){s=a("jira/issuetable/dnd");e.table=s.enhancedTable(e);s.impl.attach(e.table);return i(s.api)}))},detached:function(e){e.table&&s.impl.detach(e.table)}})}))})); 4733}catch(e){WRMCB(e)}; 4734; 4735try { 4736/* module-key = 'jira.webresources:keyboard-shortcut-toggle', location = '/includes/ajs/keyboardshortcut/KeyboardShortcuts.toggle.js' */ 4737define("jira/ajs/keyboardshortcut/keyboard-shortcut-toggle",["exports"],(function(e){"use strict";var t=!1;e.disable=function(){t=!0};e.enable=function(){t=!1};e.areKeyboardShortcutsDisabled=function(){return t}}));!function(e){"use strict";AJS.namespace("AJS.enableKeyboardShortcuts",null,e.enable);AJS.namespace("AJS.disableKeyboardShortcuts",null,e.disable)}(require("jira/ajs/keyboardshortcut/keyboard-shortcut-toggle")); 4738}catch(e){WRMCB(e)}; 4739; 4740try { 4741/* module-key = 'jira.webresources:assignee-picker', location = '/includes/jira/field/AssigneePicker.js' */ 4742define("jira/field/assignee-picker",["jira/util/formatter","jira/ajs/select/single-select","jira/ajs/select/suggestions/assignee-suggest-handler","jira/ajs/list/group-descriptor","jira/ajs/list/item-descriptor","wrm/context-path","aui/params","jquery"],(function(e,s,t,i,a,r,n,u){"use strict";var o=r();return s.extend({init:function(s){var r=s.element instanceof u?s.element:u(s.element),l=!!r.data("use-new-endpoint");if("-1"===(s=u.extend(!0,{},{submitInputVal:!0,showDropdownButton:!!r.data("show-dropdown-button"),errorMessage:"User \u0027\u0027{0}\u0027\u0027 cannot be assigned this issue",localDataGroupId:"assignee-group-suggested",content:"mixed",iconType:"rounded",suggestionAtTop:!0,removeDuplicates:!1,disableRemoveSelected:!0,ajaxOptions:{url:function(){n.assigneeEditIssueKey=void 0;AJS.populateParameters();if(l)return"".concat(o).concat(n.assigneeEditIssueKey?"/rest/internal/2/users/assignee":"/rest/internal/2/users/assignee/multiProjectSearch");var e=n.assigneeEditIssueKey?"search":"multiProjectSearch";return"".concat(o,"/rest/api/latest/user/assignable/").concat(e)}(),minQueryLength:0,data:function(e){n.actionDescriptorId=void 0;AJS.populateParameters();var s={issueKey:n.assigneeEditIssueKey,actionDescriptorId:n.actionDescriptorId,maxResults:100};l&&n.assigneeEditIssueKey||(s.projectKeys=n.projectKeys);l?s.query=e:s.username=e;return s},formatResponse:function(s){var t=[],r=l?s.users:s;if(!r||0===r.length)return t;for(var n=new i({weight:1,id:"assignee-group-search",uniqueItemScope:"container",replace:!0,label:"All Users"}),u=0,o=r.length;u<o;u++){var c=r[u],d=c.name,p=c.displayName,g=c.emailAddress,h=p;g&&(h+=" - "+g);h+=" ("+d+")";n.addItem(new a({value:d,fieldText:p,label:h,allowDuplicate:!0,icon:l?c.avatarUrl:c.avatarUrls["16x16"],iconType:"rounded"}))}t.push(n);return t}}},s)).editValue){s.editValue=!1;r.val("-1")}this._super(s);this.suggestionsHandler=new t(this.options,this.model)},handleFreeInput:function(e){""===u.trim(e||this.$field.val())?this.setSelection(this.model.getDescriptor("-1")):this._super(e);this.lastQuery=this.getQueryVal()},_handleCharacterInput:function(e){this.lastQuery!==this.getQueryVal()?this._super(e):e&&this.showSuggestions();this.lastQuery=this.getQueryVal()},cleanUpModel:function(){}})}));AJS.namespace("JIRA.AssigneePicker",null,require("jira/field/assignee-picker")); 4743}catch(e){WRMCB(e)}; 4744; 4745try { 4746/* module-key = 'jira.webresources:assignee-picker', location = '/includes/jira/field/initAssigneePickers.js' */ 4747define("jira/field/init-assignee-pickers",["jira/field/assignee-picker","jira/util/users/logged-in-user","jira/util/events","jira/util/events/types","jira/util/events/reasons","jquery","jira/skate"],(function(e,i,n,t,s,a,r){"use strict";r("js-assignee-picker",{type:r.type.CLASSNAME,created:function(i){var n=a(i),t=n.data("editValue"),s=new e({element:n,editValue:t});a(document).trigger("ready.single-select.assignee",s)}});n.bind(t.NEW_CONTENT_ADDED,(function(e,n,t){if(t!==s.panelRefreshed){!function(e){a("#assign-to-me-tr
4747igger",e).click((function(n){n.preventDefault();var t,s,r=-1!==(s=(t=a(this).data("field-id")).indexOf("#"))?t.substring(s):t,c=i.username(),u=a(r,e);a(r+"-single-select",e).length?u.trigger("set-selection-value",c):u.val(c).change()}))}(n);!function(e){a(".assignee-edit-group",e).each((function(){var i=a(this),n=i.attr("rel");a("#assignee_userpicker_dummy_"+n+"_container",e).click((function(){a("#assignee_radio_picker_"+n,e).attr("checked","checked")}));i.parents("form[name=jiraform]").submit((function(){i.find("input[name=assignee_radio]:checked").each((function(){this.id==="assignee_radio_picker_"+n?a("#"+n,e).val(a("#assignee_userpicker_dummy_"+n,e).val()):a("#"+n,e).val(a(this).val())}))}))}))}(n)}}))})); 4748}catch(e){WRMCB(e)}; 4749; 4750try { 4751/* module-key = 'jira.webresources:assignee-picker', location = '/includes/jira/field/init/init-assignee-picker-webresource.js' */ 4752require("jira/field/init-assignee-pickers"); 4753}catch(e){WRMCB(e)}; 4754; 4755try { 4756/* module-key = 'jira.webresources:jira-global', location = '/includes/ajs/dark-features.js' */ 4757function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}define("jira/ajs/dark-features",["jira/util/data/meta"],(function(e){"use strict";for(var t=function(){try{var t=JSON.parse(e.get("enabled-dark-features"));if("object"===_typeof(t))return t}catch(e){}return[]}(),r={},n=0,o=t.length;n<o;n++)r[t[n]]=!0;return{isEnabled:function(e){return!!r[e]},enable:function(e){e&&!r[e]&&(r[e]=!0)},disable:function(e){e&&r[e]&&delete r[e]}}}));AJS.namespace("AJS.DarkFeatures",null,require("jira/ajs/dark-features")); 4758}catch(e){WRMCB(e)}; 4759; 4760try { 4761/* module-key = 'jira.webresources:jira-global', location = '/includes/jquery/plugins/color/color.js' */ 4762!function(r){r.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],(function(a,t){r.fx.step[t]=function(a){if(0==a.state){a.start=function(a,t){var o;do{if(""!=(o=r.curCSS(a,t))&&"transparent"!=o||r.nodeName(a,"body"))break;t="backgroundColor"}while(a=a.parentNode);return e(o)}(a.elem,t);a.end=e(a.end)}a.start&&(a.elem.style[t]="rgb("+[Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0]),255),0),Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1]),255),0),Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2]),255),0)].join(",")+")")}}));function e(e){var t;return e&&e.constructor==Array&&3==e.length?e:(t=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))?[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]:(t=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e))?[2.55*parseFloat(t[1]),2.55*parseFloat(t[2]),2.55*parseFloat(t[3])]:(t=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:(t=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e))?[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]:a[r.trim(e).toLowerCase()]}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery); 4763}catch(e){WRMCB(e)}; 4764; 4765try { 4766/* module-key = 'jira.webresources:jira-global', location = '/includes/jquery/plugins/expandoninput/expandOnInput.js' */ 4767!function(t){var i="input keyup";t.fn.expandOnInput=function(s){var a=this.filter("textarea");a.unbind(i,n).bind(i,n);(t.browser.mozilla||t.browser.msie)&&a.unbind("paste",e).bind("paste",e);a.unbind("refreshInputHeight").bind("refreshInputHeight",(function(){t(this).css("height","");n.call(this)}));a.data("expandOnInput_maxHeight",s);a.each((function(){var i=t(this);i.each((function(){var i=t(this);i.data("hasFixedParent",!!i.hasFixedParent())}
4767));""!==i.val()&&n.call(this)}));return this};function e(){var i=t(this),e=this;setTimeout((function(){i.keyup();e.scrollTop=e.scrollHeight}),0)}function n(){var s=t(this),a="border-box"===(s.css("boxSizing")||s.css("-mozBoxSizing")||s.css("-webkitBoxSizing")||s.css("-msBoxSizing"));this.scrollHeight;var h,r=parseInt(s.css("maxHeight"),10)||s.data("expandOnInput_maxHeight")||t(window).height()-160;if(a){var o=s.outerHeight();h=Math.max(o+this.scrollHeight-this.clientHeight,o)}else{var c=s.height();h=Math.max(this.scrollHeight-(s.innerHeight()-c),c)}if(h<r)s.css({overflow:"hidden",height:h+"px"});else{var l=this.selectionStart;s.css({"overflow-y":"auto",height:r+"px"});s.unbind(i,n);s.unbind("paste",e);if(this.selectionStart!==l){this.selectionStart=l;this.selectionEnd=l}h=r}s.trigger("expandedOnInput");if(!s.data("hasFixedParent")){var d=t(window),g=d.scrollTop(),u=s.offset().top+h-d.height()+29;g<u&&d.scrollTop(u)}s.trigger("stalkerHeightUpdated")}}(jQuery); 4768}catch(e){WRMCB(e)}; 4769; 4770try { 4771/* module-key = 'jira.webresources:jira-global', location = '/includes/jquery/plugins/overlabel/overlabel.js' */ 4772!function(a){a.fn.overlabel=function(e){this.each((function(){var t=a(this),d=e||a("#"+(t.data("target")||t.attr("for")));t.removeClass("overlabel").addClass("overlabel-apply").click((function(a){d.attr("disabled")||d.focus();a.preventDefault()}));d.width()&&t.width(d.width());d.on({focus:function(){t.addClass("hidden")},"blur change":function(){""===a(this).val()?t.removeClass("hidden"):t.addClass("hidden")}});d.val()&&""!==d.val()&&t.addClass("hidden")}));return this}}(jQuery); 4773}catch(e){WRMCB(e)}; 4774; 4775try { 4776/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/togglelist/ToggleList.js' */ 4777define("jira/togglelist/toggle-list",["jira/lib/class"],(function(e){"use strict";return e.extend({init:function(e){var i=e.more,t=e.showMoreContainer||e.showMoreLink,o=e.showLessContainer||e.showLessLink,s=e.showMoreLink,n=e.showLessLink;if(i&&i.length){i.hide();t.show();o.hide();var l=function(e){e.preventDefault();i.toggle();t.toggle();o.toggle()};s.click(l);n.click(l)}else{t.hide();o.hide()}}})}));AJS.namespace("JIRA.ToggleList",null,require("jira/togglelist/toggle-list")); 4778}catch(e){WRMCB(e)}; 4779; 4780try { 4781/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/wikipreview/wikiPreview.js' */ 4782define("jira/wikipreview/wiki-preview",["jira/util/formatter","wrm/context-path","jquery"],(function(e,i,n){"use strict";return function(r,t){var s,a,o,d,l,c=!1,u={show:function(){l||(l=n("<div>").html(" ").css({height:"300px"}).insertBefore(a));l.css({display:"block"})},hide:function(){l.css({display:"none"})}},p=function(){if(c){a.find(".content-inner").css({maxHeight:""});this.showInput()}else{a.find(".content-inner").css({maxHeight:s.css("maxHeight")});this.showPreview()}},w=function(e){o.find(".wiki-renderer-icon").text(e)},f=function(i){a.originalHeight=a.height();u.show();a.addClass("previewClass");d=s.val();s.hide();o.removeClass("loading").addClass("selected");w(e.format("Back to edit {0}",r.fieldId));a.find(".content-inner").html(i);u.hide();c=!0;n(document).trigger("showWikiPreview",[a]);setTimeout((function(){o.focus()}),0)};return{showPreview:function(){var e,a=n("#pid",t).val(),l=n("#issuetype",t).val();n.isArray(a)&&(a=a[0]);n.isArray(l)&&(l=l[0]);n("#"+r.trigger,t).addClass("loading");n.ajax({url:i()+"/rest/api/1.0/render",contentType:"application/json",type:"POST",data:JSON.stringify({rendererType:r.rendererType,unrenderedMarkup:s.val(),issueKey:r.issueKey,projectId:a,issueType:l}),dataType:"html",success:f,error:(e=this,function(i,n,r){o.removeClass("loading");d=s.val();n&&alert(n);r&&alert(r);e.showInput()})})},showInput:function(){if(a){u.show();a.css({height:""});a.removeClass("previewClass").find(".content-inner").empty();(s=n("#"+r.fieldId,t)).val(d);s.show();s.focus();o.removeClass("selected");w(e.format("Preview {0}",r.fieldId));u.hide();c=!1;n(document).trigger("showWikiInput",[a])}},init:function(){var e,i=this;r instanceof n&&(r=n.readData(r));(e=n("#"+r.trigger,t)).click((function(d){if(!e.hasClass("loading")){!function(){s=n("#"+r.fieldId,t);a=n("#"+r.fieldId+"-wiki-edit",t);o=n("#"+r.trigger,t)}();p.call(i)}d.preventDefault()}))}}}}));AJS.namespace("jira.app.wikiPreview",null,require("jira/wikipreview/wiki-preview"));AJS.namespace("JIRA.wikiPreview",null,require("jira/wikipreview/wiki-preview")); 4783}catch(e){WRMCB(e)}; 4784; 4785try { 4786/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/common/app.js' */ 4787!function(){"use strict";var e=require("jquery"),t=require("aui/params"),i=require("aui/inline-dialog"),a=require("aui/tabs"),n=require("jira/toggleblock/toggle-block"),r=require("jira/ajs/browser/describe-browser"),o=require("jira/issue"),s=require("jira/message"),l=require("jira/data/cookie"),d=require("jira/util/forms"),c=require("jira/util/formatter"),u=require("jira/util/data/meta"),g=require("jira/util/events"),f=require("jira/util/navigator"),h=require("jira/skate"),m=require("jira/util/strings"),p=require("wrm/context-path")(),v=e(document);function b(){var t=function(){e('[name="timetracking_targetsubfield"]').length&&e("#cbtimetracking").attr("checked",!!e('[name="timetracking_targetsubfield"]:checked').length)};e("#availableActionsTable tr.availableActionRow").children("td:last-child").find(":input").change((function(){!function(i){e(i).closest(".availableActionRow").find("td:first :checkbox").attr("checked",!0);"timetracking_targetsubfield"===i.name&&t()}(this)}));["originalestimate","remainingestimate"].forEach((function(t){var i=e("#timetracking_"+t+"_subfield");e("#timetracking_"+t).change((function(){i.attr("checked",!0)}))}));e("form#bulkedit").submit(t)}function w(){e("#availableActionsTable .availableActionRowMultiSelect").children("td:last-child").find(":input").change((function(){e(this).closest("tr").prev().find("td:first :checkbox").attr("checked",!0)}))}h("shared-item-trigger",{type:h.type.CLASSNAME,attached:function(t){var a=t.getAttribute("href");new i(t,a.substring(1),(function(t,i,n){t.html(e(a).html());n()}),{width:240})}});e((function(){!function(){new n({blockSelector:".twixi-block",storageCollectionName:"twixi"}).addCallback("toggle",(function(){o.getStalker().trigger("stalkerHeightUpdated")}
4787)).addTrigger(".action-head .action-details","click");new n({blockSelector:"#issue-filter .toggle-wrap:not(#navigator-filter-subheading-textsearch-group)",triggerSelector:".toggle-trigger",collapsedClass:"expanded",expandedClass:"collapsed",storageCollectionName:"navSimpleSearch"});new n({blockSelector:".twixi-block",triggerSelector:".twixi-trigger",storageCollectionName:"twixi"});new n({blockSelector:"#issuenav",triggerSelector:"a.toggle-lhc",collapsedClass:"lhc-collapsed",storageCollectionName:"lhc-state",autoFocusTrigger:!1});e(".error","#issue-filter").parents(".toggle-wrap").removeClass("collapsed").addClass("expanded");e("fieldset.content-toggle input[type='radio']").live("change",(function(){var t=e(this);t.closest(".content-toggle").find("input[type='radio']").each((function(){var t=e(this);e("#"+t.attr("name")+"-"+t.val()+"-content").addClass("hidden")}));e("#"+t.attr("name")+"-"+t.val()+"-content").removeClass("hidden")}))}();e("label.overlabel").overlabel();!function(){var t=e("div.results"),i=t.width();t.bind("resultsWidthChanged",(function(){e(this).css("width",100/i*(i-(parseInt(e(document.documentElement).prop("scrollWidth"),10)-e(window).width()))+"%")}));e(window).resize((function(){t.trigger("resultsWidthChanged")}));t.trigger("resultsWidthChanged");e("#issuenav").bind("contractBlock expandBlock",(function(){e(".results").trigger("resultsWidthChanged")}))}();e(".fieldTabs li").click((function(t){t.preventDefault();t.stopPropagation();var i=e(this);if(!i.hasClass("active")){e(".fieldTabs li.active").removeClass("active");i.addClass("active");e(".fieldTabArea.active").removeClass("active");e("#"+i.attr("rel")).addClass("active")}}));!function(){e("form").handleAccessKeys();v.bind("dialogContentReady",(function(){e("form",this.$content).handleAccessKeys({selective:!1})}))}();!function(){e("#log-work-adjust-estimate-new-value,#log-work-adjust-estimate-manual-value").attr("disabled","disabled");e("#log-work-adjust-estimate-"+e("input[name=worklog_adjustEstimate]:checked,input[name=adjustEstimate]:checked").val()+"-value").removeAttr("disabled");e("input[name=worklog_adjustEstimate],input[name=adjustEstimate]").change((function(){e("#log-work-adjust-estimate-new-value,#log-work-adjust-estimate-manual-value").attr("disabled","disabled");e("#log-work-adjust-estimate-"+e(this).val()+"-value").removeAttr("disabled")}))}();!function(){var t=e("input:checked");if(0!==t.length)if("forgot-login-rb-forgot-password"===t.attr("id")){e("#username,#password").addClass("hidden");e("#password").removeClass("hidden")}else if("forgot-login-rb-forgot-username"===t.attr("id")){e("#username,#password").addClass("hidden");e("#username").removeClass("hidden")}e("#forgot-login-rb-forgot-password").change((function(){e("#username,#password").addClass("hidden");e("#password").removeClass("hidden")}));e("#forgot-login-rb-forgot-username").change((function(){e("#username,#password").addClass("hidden");e("#username").removeClass("hidden")}))}();e("input.upfile").each((function(){var t=e(this),i=t.closest(".field-group");t.change((function(){t.val().length>0&&i.next(".field-group").removeClass("hidden")}))}));!function(){v.on("keydown","textarea",d.submitOnCtrlEnter);e("#jqltext").keypress(d.submitOnEnter)}();a=e("#browser-warning"),e(".aui-close-button",a).click((function(){a.slideUp("fast");l.save("UNSUPPORTED_BROWSER_WARNING","handled")}));var a,r,s,c;e("form").submit((function(t){var i=new e.Event("before-submit");e(this).trigger(i);i.isDefaultPrevented()&&t.preventDefault()}));!function(){var t="#comment, #environment, #description";v.bind("tabSelect",(function(e,i){i.pane.find(t).expandOnInput()}));e(t).expandOnInput(200);v.bind("dialogContentReady",(function(e,i){i.get$popupContent().bind("tabSelect",(function(e,i){i.pane.find(t).expandOnInput(200)})).find(t).expandOnInput(200)}));v.bind("showWikiInput",(function(e,i){i.find(t).expandOnInput()}))}();r=e("form.aui"),s=e("a.cancel",r),f.isIE()&&f.majorVersion()<12&&s.attr("accessKey")&&s.focus((function(t){if(t.altKey){e(this).mousedown();window.location.href=s.attr("href")}}));b();w();e("#availableActionsTable .availableActionMultiSelect select").change((function(){var t=e(this);t.closest("tr").next().toggleClass("hidden","removeall"===t.val())}));v.keydown((function(t){i.current&&27===t.which&&!e(t.target).is(":input")&&i.current.hide()}));!function(){if(t.showmonitor){var a=e("<div class='perf-monitor'/>"),n=t["jira.request.server.time"]>2e3,r=t.jiraSQLstatements>50;n&&a.addClass("tooslow");r&&a.addClass("toomanysql");e("#header-top").append(a);new i(a,"perf-monitor-dialog",(function(e,i,a){var n="<div>Page render time <strong>"+t["jira.request.server.time"]+" ms</strong>";if(t.jiraSQLstatements){n+=" / SQL <strong>"+t.jiraSQLstatements+"@"+t.jiraSQLtime+" ms</strong></br>";n+='<a target="_blank" href='+p+"/sqldata.jsp?requestId="+t["jira.request.id"]+">More...</a>"}else n+=" / No SQL statments";
4787n+="</div>";e.empty().append(n);a()}))}}();e(".clickable").click((function(){window.location.href=e(this).find("a").attr("href")}));v.on("click","[data-helplink=local]",(function(e){var t=this.getAttribute("href"),i=window.open(t,"jiraLocalHelp");i&&i.focus();e.preventDefault();return!1}));!function(){var t="jiraTooltipInitialized",i=function(i){return function(a){var n=e(a);if(!i||n.is(i)){n.tooltip();a[t]=!0}}},a=function(i){if(i[t]){delete i[t];var a=e(i);a.tooltip&&a.tooltip("destroy")}};h("help-lnk",{type:h.type.CLASSNAME,attached:i("a[title]"),detached:a});h("grouppicker-trigger",{type:h.type.CLASSNAME,attached:i("[title]"),detached:a});h("popup-trigger",{type:h.type.CLASSNAME,attached:i("[title]"),detached:a})}();e(".projects-list-trigger",c).each((function(){var t=e(this);t.click(!1);var a=t.attr("href");new i(this,a.substring(1),(function(t,i,n){t.html(e(a).html());n()}),{onHover:!0,hideDelay:500,width:240})}))}));r();g.bind("dialogContentReady",(function(){a.setup()}));h("js-filter-form-edit",{type:h.type.CLASSNAME,extends:"form",events:{submit:function(e,t){if(!t.defaultPrevented){var i=m.escapeHtml(e.elements.filterName.value);s.showMsgOnReload(c.format("Changes to {0} have been saved.",i),{type:"SUCCESS",closeable:!0,target:"body:not(:has(#edit-entity))"})}}}});h("js-filter-form-subscription",{type:h.type.CLASSNAME,extends:"form",events:{submit:function(e,t){if(!t.defaultPrevented){var i=e.elements.groupName.value||u.get("remote-user-fullname");s.showMsgOnReload(c.format("A subscription has been added for \u003cstrong\u003e{0}\u003c/strong\u003e.",m.escapeHtml(i)),{type:"SUCCESS",closeable:!0,target:"body:not(:has(#filter-subscription))"})}}}})}(); 4788}catch(e){WRMCB(e)}; 4789; 4790try { 4791/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/common/page.js' */ 4792define("jira/common/page",["jira/util/logger","jquery"],(function(e,n){"use strict";var t={relatedContentCssSelector:".content-container > .content-related",mainContentCssSelector:".content-container > .content-body"},a={relatedContentCssSelector:".aui-page-panel > .aui-page-panel-inner > .aui-page-panel-nav",mainContentCssSelector:".aui-page-panel > .aui-page-panel-inner > .aui-page-panel-content"},o=function(o){var r=n(t[o]);r.size()?e.log("This page is using a deprecated page layout markup pattern. It should be updated to use AUI page layout."):r=n(a[o]);return r},r=JIRA&&JIRA.Page;return n.extend({},r,t,a,{relatedContentElement:function(){return o("relatedContentCssSelector")},mainContentElement:function(){return o("mainContentCssSelector")}})}));AJS.namespace("JIRA.Page",null,require("jira/common/page")); 4793}catch(e){WRMCB(e)}; 4794; 4795try { 4796/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dialog/initGenericDialogs.js' */ 4797define("jira/dialog/init-generic-dialogs",["jira/dialog/dialog-register","jira/dialog/dialog-util","jira/dialog/form-dialog2","jira/ajs/keyboardshortcut/keyboard-shortcut-toggle","jquery","exports"],(function(i,e,t,a,o,r){"use strict";r.init=function(){i.keyboardShortcuts=new t({id:"keyboard-shortcuts-dialog",trigger:"#keyshortscuthelp",widthClass:"large",onContentRefresh:function(){var i=this.get$popup();o("a.submit-link",i).click((function(e){e.preventDefault();o("form",i).submit()}))},onSuccessfulSubmit:function(){a.areKeyboardShortcutsDisabled()?a.enable():a.disable()},shouldFocusTitleOnLoad:!0});i.deleteIssueLink=new t({type:"ajax",id:"delete-issue-link-dialog",trigger:"#linkingmodule .delete-link > a",ajaxOptions:e.getDefaultAjaxOptions,isIssueDialog:!0});new t({id:"credits-dialog",trigger:"#view_credits",widthClass:"creditsContainer"});new t({id:"about-dialog",trigger:"#view_about",ajaxOptions:{url:this.href,data:{decorator:"dialog",inline:!0}},widthClass:"large"});o(document).on("click",".trigger-dialog",(function(i){i.preventDefault();var e=void 0!==i.target&&o(i.target).hasClass("stacked-dialog");new t({id:this.id+"-dialog",ajaxOptions:{url:this.href,data:{decorator:"dialog",inline:!0}},stacked:e}).show()}))}})); 4798}catch(e){WRMCB(e)}; 4799; 4800try { 4801/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dialog/initDashboardDialogs.js' */ 4802define("jira/dialog/init-dashboard-dialogs",["jira/dialog/dialog-register","jira/dialog/form-dialog","jquery","exports"],(function(e,a,t,d){"use strict";d.init=function(){if(document.getElementById("dashboard")){e.deleteDashboard=new a({type:"aja
4802x"});t(document).delegate("#delete_dashboard","click",(function(a){a.stopPropagation();a.preventDefault();e.deleteDashboard.$activeTrigger=t("#delete_dashboard");e.deleteDashboard.init({type:"ajax",id:"delete-dshboard",ajaxOptions:{url:e.deleteDashboard.$activeTrigger.attr("href")},targetUrl:"input[name=targetUrl]"});e.deleteDashboard.show()}))}}})); 4803}catch(e){WRMCB(e)}; 4804; 4805try { 4806/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dialog/initNonDashboardDialogs.js' */ 4807define("jira/dialog/init-non-dashboard-dialogs",["jira/dialog/dialog-register","jira/dialog/dialog-util","jira/dialog/form-dialog2","jira/dialog/labels-dialog","jira/dialog/link-issue-dialog-factory","jira/dialog/screenshot-window","jira/issuenavigator/issue-navigator","jquery","exports"],(function(e,s,i,t,a,u,o,l,n){"use strict";n.init=function(){if(document.getElementById("dashboard"))return!1;e.linkIssue=a.createLinkIssueDialog(".issueaction-link-issue");e.deleteIssue=new i({id:"delete-issue-dialog",trigger:".issueaction-delete-issue",targetUrl:"#delete-issue-return-url",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_deleted",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0});e.archiveIssue=new i({id:"archive-issue-dialog",trigger:".issueaction-archive-issue",targetUrl:"#archive-issue-return-url",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_archived",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0});e.restoreIssue=new i({id:"restore-issue-dialog",trigger:".issueaction-restore-issue",targetUrl:"#restore-issue-return-url",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_restored",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0});e.cloneIssue=new i({id:"clone-issue-dialog",trigger:".issueaction-clone-issue",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_cloned",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0});
4807e.assignIssue=new i({id:"assign-dialog",trigger:".issueaction-assign-issue",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_assigned",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0,widthClass:"large"});e.assignIssueToMe=new i({id:"assign-dialog",trigger:".issueaction-assign-to-me",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_assigned",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0});e.logWork=new i({id:"log-work-dialog",trigger:".issueaction-log-work",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_worklogged",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0,widthClass:"large"});e.attachFile=new i({id:"attach-file-dialog",trigger:".issueaction-attach-file",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_attached",isIssueDialog:!0,widthClass:"large"});e.attachScreenshot=new u({id:"attach-screenshot-window",trigger:".issueaction-attach-screenshot"});e.manageAttachment=new i({id:"manage-attachment-dialog",trigger:"#manage-attachment-link",stacked:!0,reloadOnPop:!0,isIssueDialog:!0,widthClass:"large"});e.comment=new i({id:"comment-add-dialog",trigger:".issueaction-comment-issue:not(.inline-comment)",ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_commented",isIssueDialog:!0,widthClass:"large"}).dirtyFormWarning();e.editLabels=new t({id:"edit-labels-dialog",trigger:".issueaction-edit-labels,aui-item-link.edit-labels",autoClose:!0,ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,issueMsg:"thanks_issue_labelled",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,labelsProvider:function(e){var s=e.$activeTrigger,i=s.closest(".labels-wrap");0!==s.parents("#view-subtasks").length?i=s.parents("tr").find(".labels-wrap"):s.hasClass("issueaction-edit-labels")&&(i=o.isNavigator()?l("#issuetable tr.issuerow.focused td.labels .labels-wrap"):l("#wrap-labels .labels-wrap"));if(i.length>0)return i;return!1},isIssueDialog:!0});e.editComment=new i({type:"ajax",id:"edit-comment",trigger:".action-links .edit-comment",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0,widthClass:"large"}).dirtyFormWarning();e.editLogWork=new i({id:"edit-log-work-dialog",trigger:".action-links .edit-worklog-trigger",isIssueDialog:!0,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:s.BeforeShowIssueDialogHandler.execute,widthClass:"large"});e.deleteLogWork=new i({id:"delete-log-work-dialog",trigger:".action-links .delete-worklog-trigger",isIssueDialog:!0,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:s.BeforeShowIssueDialogHandler.execute,widthClass:"large"});e.deleteComment=new i({type:"ajax",id:"delete-comment-dialog",trigger:".action-links [id^='delete_comment']",delayShowUntil:s.BeforeShowIssueDialogHandler.execute,isIssueDialog:!0,widthClass:"large"}).dirtyFormWarning();e.watchIssue=new i({ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:s.BeforeShowIssueDialogHandler.execute,trigger:".issueaction-watch-issue:not([id='toggle-watch-issue'])",isIssueDialog:!0});e.stopWatchingIssue=new i({ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:s.BeforeShowIssueDialogHandler.execute,trigger:".issueaction-unwatch-issue:not([id='toggle-watch-issue'])",isIssueDialog:!0});e.addVoteForIssue=new i({ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:s.BeforeShowIssueDialogHandler.execute,trigger:".issueaction-vote-issue:not([id='toggle-vote-issue'])",isIssueDialog:!0});e.removeVoteForIssue=new i({ajaxOptions:s.getDefaultAjaxOptions,onSuccessfulSubmit:s.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:s.BeforeShowIssueDialogHandler.execute,trigger:".issueaction-unvote-issue:not([id='toggle-unvote-issue'])",isIssueDialog:!0});
4807new i({type:"ajax",id:"delete-attachment-dialog",trigger:"#attachmentmodule .attachment-delete a, #issue-attachments-table a.delete",isIssueDialog:!0})}})); 4808}catch(e){WRMCB(e)}; 4809; 4810try { 4811/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dialog/initWorkflowTransitionDialogs.js' */ 4812define("jira/dialog/init-workflow-transition-dialogs",["jira/dialog/dialog-register","jira/dialog/dialog-util","jira/dialog/form-dialog2","aui/tabs","jquery","exports","jira/libs/parse-uri"],(function(i,e,t,s,a,o,r){"use strict";var n=".issueaction-workflow-transition";o.init=function(){a(document).delegate(n,"click",(function(o){o.preventDefault();var l=a(o.target).closest(n),u=r(l.attr("href")).queryKey.action;if(u){var f="false"!==l.attr("is-issue-dialog"),g="false"!==l.attr("refresh-on-submit"),d="workflow-transition-".concat(u,"-dialog");i[d]=new t({id:d,widthClass:"large",ajaxOptions:e.getDefaultAjaxOptions,onSuccessfulSubmit:e.storeCurrentIssueIdOnSucessfulSubmit,delayShowUntil:e.BeforeShowIssueDialogHandler.execute,issueMsg:"thanks_issue_transitioned",onContentRefresh:function(){s.setup()},isIssueDialog:f,refreshOnSubmit:g});var c=a(this);i[d].$activeTrigger=c;i[d].show()}}))}})); 4813}catch(e){WRMCB(e)}; 4814; 4815try { 4816/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dialog/initDialogBehaviour.js' */ 4817define("jira/dialog/init-dialog-behaviour",["jira/dialog/dialog-register","jira/dialog/dialog2","jira/issue","jira/issuenavigator/issue-navigator","jquery","underscore","exports"],(function(i,e,n,r,o,t,s){"use strict";s.init=function(){o(window).resize(t.debounce((function(){e.current&&e.current._positionInCenter&&e.current._positionInCenter()}),200));o.each(i,(function(i,s){s instanceof e&&t.result(s,"isIssueDialog")&&o(s).bind("beforeShow",(function(){return r.isRowSelected()||!!n.getIssueId()}))}))}})); 4818}catch(e){WRMCB(e)}; 4819; 4820try { 4821/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dialog/initDialogs.js' */ 4822require(["jira/dialog/init-generic-dialogs","jira/dialog/init-dashboard-dialogs","jira/dialog/init-non-dashboard-dialogs","jira/dialog/init-workflow-transition-dialogs","jira/dialog/init-dialog-behaviour","jquery"],(function(i,a,n,o,t,r){"use strict";r((function(){i.init();a.init();n.init();o.init();t.init()}))})); 4823}catch(e){WRMCB(e)}; 4824; 4825try { 4826/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dropdown/element/default-dropdown.js' */ 4827define("jira/dropdown/element/default-dropdown",["jira/util/logger","jira/ajs/layer/layer-constants","jira/ajs/dropdown/dropdown","jira/skate","jquery"],(function(t,n,a,e,o){"use strict";return e("js-default-dropdown",{type:e.type.CLASSNAME,created:function(){},attached:function(e){var r=o(e),i=r.next(".aui-list"),d=r.attr("data-alignment")||n.RIGHT,l=!!r.data("hasDropdown");0===i.length&&t.warn("Dropdown init failed. Could not find content. Printing culprit...",e);if(!l){r.data("hasDropdown",!0);new a({trigger:r,content:i,alignment:d,setMaxHeightToWindow:r.attr("data-contain-to-window"),hideOnScroll:r.attr("data-hide-on-scroll")||".issue-container",focusFirstItem:!0})}}})})); 4828}catch(e){WRMCB(e)}; 4829; 4830try { 4831/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dropdown/element/append-to-trigger-dropdown.js' */ 4832define("jira/dropdown/element/append-to-trigger-dropdown",["jira/util/logger","jira/ajs/layer/layer-constants","jira/ajs/dropdown/dropdown","jira/skate","jquery"],(function(t,n,r,a,e){"use strict";return a("js-append-to-trigger-dropdown",{type:a.type.CLASSNAME,created:function(){},attached:function(a){var o=e(a),i=o.next(".aui-list"),d=o.attr("data-alignment")||n.RIGHT,s=!!o.data("hasDropdown");0===i.length&&t.warn("Dropdown init failed. Could not find content. Printing culprit...",a);if(!s){o.data("hasDropdown",!0);new r({trigger:o,content:i,alignment:d,setMaxHeightToWindow:o.attr("data-contain-to-window"),hideOnScroll:o.attr("data-hide-on-scroll")||".issue-container",focusFirstItem:!0,appendToTrigger:!0,focusTriggerOnClose:!0})}}})})); 4833}catch(e){WRMCB(e)}; 4834; 4835try { 4836/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dropdown/element/issue-actions-trigger.js' */ 4837define("jira/dropdown/element/issue-actions-trigger",["jira/fragments/issueActionsFragment","jira/ajs/dropdown/dropdown","jira/skate","jquery"],(function(r,e,i,s){"use strict";var a=r;return i("issue-actions-trigger",{type:i.type.CLASSNAME,attached:function(r){var i=s(r),n={hideOnScroll:".issue-container",trigger:i,ajaxOptions:{dataType:"json",cache:!1,formatSuccess:a},stopTriggerClickPropagation:!0,onerror:function(r){r.layerController.initialized=!0;r.hide()}};n=s.extend(!0,n,function(){var r={};if(JIRA.Issues&&JIRA.Issues.Api){r.ajaxOptions={};r.ajaxOptions.formatError=JIRA.Issues.Api.showInlineIssueLoadError}return r}());new e(n);i.addClass("trigger-happy")}})})); 4838}catch(e){WRMCB(e)}; 4839; 4840try { 4841/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dropdown/DropdownFactory.js' */ 4842define("jira/dropdown/dropdown-factory",["jira/ajs/layer/layer-constants","jira/ajs/dropdown/dropdown-factory","jquery","exports"],(function(n,d,o,i){"use strict";i.bindGenericDropdowns=o.noop;i.bindIssueActionsDds=o.noop;i.bindNavigatorOptionsDds=function(){var i=o("#navigator-options");d.createDropdown({trigger:i.find(".aui-dd-link"),content:i.find(".aui-list"),alignment:n.RIGHT});i.find("a.aui-dd-link").linkedMenu()};i.bindConfigDashboardDds=function(){o("#dashboard").find(".aui-dd-parent").dropDown("Standard",{trigger:"a.aui-dd-link"})}}));AJS.namespace("JIRA.Dropdowns",null,require("jira/dropdown/dropdown-factory")); 4843}catch(e){WRMCB(e)}; 4844; 4845try { 4846/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/dropdown/initDropdowns.js' */ 4847require(["jira/dropdown/element/default-dropdown","jira/dropdown/element/issue-actions-trigger","jira/dropdown/element/append-to-trigger-dropdown","jira/dropdown/dropdown-factory","jquery"],(function(o,r,d,n,e){"use strict";e((function(){n.bindNavigatorOptionsDds();n.bindConfigDashboardDds()}))})); 4848}catch(e){WRMCB(e)}; 4849; 4850try { 4851/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/websudo/webSudo.js' */ 4852require(["jira/util/browser","wrm/context-path","jquery"],(function(e,o,n){"use strict";var t=o();function r(e){n.ajax({type:"DELETE",url:t+"/rest/auth/1/websudo",contentType:"application/json",success:e})}n(document).on("click","#websudo-drop-from-protected-page",(function(o){r((function(){e.reloadViaWindowLocation(t+"/secure/MyJiraHome.jspa")}));o.preventDefault()}));n(document).on("click","#websudo-drop-from-normal-page",(function(e){var o=n("#websudo-banner");r((function(){o.slideUp((function(){o.trigger("aui-message-close")}));o.addClass("dropped")}));e.preventDefault()}))})); 4853}catch(e){WRMCB(e)}; 4854; 4855try { 4856/* module-key = 'jira.webresources:jira-global', location = '/includes/jquery/plugins/togglefield/toggleField.js' */ 4857!function(e){e.fn.toggleField=function(n){var t=this,r=(n=e(n),function(){n.prop("disabled",function(){if(!1===t.prop("checked")){t.parent().addClass("disabled");return!0}t.parent().removeClass("disabled");return!1}());return arguments.callee}());e(document[this.attr("name")]).click(r).change(r);return this}}(jQuery); 4858}catch(e){WRMCB(e)}; 4859; 4860try { 4861/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/project/ProjectKeyGenerator.js' */
4862define("jira/util/strings/character-map",(function(){"use strict";var e={199:"C",231:"c",252:"u",251:"u",250:"u",249:"u",233:"e",234:"e",235:"e",232:"e",226:"a",228:"a",224:"a",229:"a",225:"a",239:"i",238:"i",236:"i",237:"i",196:"A",197:"A",201:"E",230:"ae",198:"Ae",244:"o",246:"o",242:"o",243:"o",220:"U",255:"Y",214:"O",241:"n",209:"N"};return e}));define("jira/project/project-key-generator",["jira/util/strings/character-map","jira/lib/class","jquery","underscore"],(function(e,t,r,n){"use strict";var i=["THE","A","AN","AS","AND","OF","OR"];return t.extend({init:function(e){e=r.extend({},e);this.desiredKeyLength="number"==typeof e.desiredKeyLength?e.desiredKeyLength:4;this.maxKeyLength="number"==typeof e.maxKeyLength?e.maxKeyLength:0},generateKey:function(t){if(!(t=r.trim(t)))return"";for(var a=[],s=0,h=t.length;s<h;s++){var u=e[t.charCodeAt(s)];a.push(u||t[s])}t=a.join("");var c,o=[];r.each(t.split(/\s+/),(function(e,t){t&&(t=(t=t.replace(/[^a-zA-Z]/g,"")).toUpperCase()).length&&o.push(t)}));this.desiredKeyLength&&function(e){return e.join("").length}(o)>this.desiredKeyLength&&(o=function(e){return n.reject(e,(function(e){return-1!==r.inArray(e,i)}))}(o));if(0===o.length)c="";else if(1===o.length){var g=o[0];c=this.desiredKeyLength&&g.length>this.desiredKeyLength?function(e){var t,r,n=!1;for(t=0;t<e.length;t++)if((r=e[t])&&1===r.length&&-1!==r.search("[AEIOUY]"))n=!0;else if(n)return e.substring(0,t+1);return e}(g):g}else c=function(e){var t="";r.each(e,(function(e,r){t+=r.charAt(0)}));return t}(o);this.maxKeyLength&&c.length>this.maxKeyLength&&(c=c.substr(0,this.maxKeyLength));return c}})}));AJS.namespace("JIRA.ProjectKeyGenerator",null,require("jira/project/project-key-generator")); 4863}catch(e){WRMCB(e)}; 4864; 4865try { 4866/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/project/ProjectSample.js' */ 4867define("jira/project/project-sample",["jira/lib/class","jquery"],(function(e,t){"use strict";return e.extend({init:function(e){this.defaultName="My Project";this.defaultKey="MP";this.defaultAvatarSrc="";this.nameValue="";this.keyValue="";this.avatarSrc="";this.$container=e.element;this.$container.html(JIRA.Templates.CreateProject.projectSample({projectName:this.defaultName,projectKey:this.defaultKey,issueName:e.issueName}));this.$sampleElement=this.$container.find(".sample-project");this.$sampleElementName=this.$sampleElement.find("#project-name-val");this.$sampleElementKey=this.$sampleElement.find("#key-val");this.$sampleElementAvatar=this.$sampleElement.find("#project-avatar");this.events=e.events;this.events.bind("updated.Name",t.proxy((function(){this.updateSampleName(arguments[1])}),this));this.events.bind("updated.Key",t.proxy((function(){this.updateSampleKey(arguments[1])}),this));this.events.bind("updated.Avatar",t.proxy((function(){this.updateSampleAvatar(arguments[1])}),this))},_render:function(){var e=this.nameValue||this.defaultName,t=this.keyValue||this.defaultKey,a=this.avatarSrc||this.defaultAvatarSrc;t=(t=(t||"")+"-1").toUpperCase();this.$sampleElementName.text(e);this.$sampleElementKey.text(t);this.$sampleElementAvatar.attr("src",a)},updateSampleName:function(e){this.nameValue=t.trim(e);this._render()},updateSampleKey:function(e){this.keyValue=t.trim(e);this._render()},updateSampleAvatar:function(e){this.avatarSrc=e;this._render()}})}));AJS.namespace("JIRA.ProjectSample",null,require("jira/project/project-sample")); 4868}catch(e){WRMCB(e)}; 4869; 4870try { 4871/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/field/CreateProjectField.js' */ 4872define("jira/field/create-project-field",["jira/util/formatter","jira/lib/class","jira/ajs/dark-features","jira/project/project-key-generator","jira/project/project-sample","aui/inline-dialog","wrm/context-path","jquery"],(function(e,t,i,n,a,r,s,o){"use strict";var l=s();return t.extend({TIMEOUT_MS:100,projectNames:[],maxNameLength:80,init:function(e){this.$element=e.element;this.$nameElement=this.$element.find("input.text[name='name']");this.$keyElement=this.$element.find("input.text[name='key']");this.$keyEditedElement=this.$element.find("input[name='keyEdited']");this.$avatarElement=this.$element.find(".jira-inline-avatar-picker-trigger");this.eventBus={src:o(this),trigger:function(e,t){this.src.trigger(e,t)},bind:function(e,t){this.src.bind(e,t)}};var t=+this.$keyElement.attr("maxlength");t||(t=10);this.keygen=new n({desiredKeyLength:4,maxKeyLength:t});this.lastKeyValidated="";
4872i.isEnabled("addproject.project.sample")&&(this.sample=new a({element:this.$element.find("#sample-project-container"),events:this.eventBus}));this.$keyElement.attr("style","text-transform: uppercase");this.initialName=this.$nameElement.val();this.initialKey=this.$keyElement.val();this.$element.find(".error").addClass("description initial-error");this.showInitialError(this.$nameElement);this.showInitialError(this.$keyElement);this.$nameElement.focus(o.proxy(this._bindNameHook,this));this.$nameElement.blur(o.proxy(this._unbindHook,this));this.$keyElement.focus(o.proxy(this._bindKeyHook,this));this.$keyElement.blur(o.proxy(this._unbindHook,this));this.$keyElement.blur(o.proxy(this.autofillKeyIfNeeded,this));var s=this.$keyElement.parent().find("#add-project-key-icon").removeAttr("target data-helplink");s.length&&new r(s,"project-key-help-popup",(function(e,t,i){e.html(JIRA.Templates.CreateProject.keyHelp());i()}),{width:330,offsetX:-30});if(this.$avatarElement.size()){this.eventBus.trigger("updated.Avatar",this.$avatarElement.attr("src"));this.$avatarElement.bind("AvatarSelected",o.proxy((function(){this.eventBus.trigger("updated.Avatar",this.$avatarElement.attr("src"))}),this))}this._loadExistingProjects()},_loadExistingProjects:function(){var e=this;o.ajax({url:l+"/rest/api/latest/project",success:function(t){for(var i=0,n=(t=t||[]).length;i<n;i++)e.projectNames.push(t[i].name.toUpperCase())}})},_bindNameHook:function(e){this._bindHook(e,this.onNameTimeout)},_bindKeyHook:function(e){var t=o(e.target);t.data("lastValue",t.val());this._bindHook(e,this.onKeyTimeout)},_bindHook:function(e,t){var i,n=this,a=o(e.target);i=function(){n._unbindHook(e);t.apply(n);a.is(":visible")&&a.data("checkHook",setTimeout(i,n.TIMEOUT_MS))};a.data("checkHook")||a.data("checkHook",setTimeout(i,0))},_unbindHook:function(e){var t=o(e.target);clearTimeout(t.data("checkHook"));t.removeData("checkHook")},shouldUpdateKey:function(){return"true"!==this.$keyEditedElement.val()},setKeyEdited:function(e){this.$keyElement.data("lastValue")!==e&&this.$keyEditedElement.val(e?"true":"false");this.$keyElement.data("lastValue",e)},updateKey:function(e){this.$keyElement.val(e);this.validateKey(e);this.eventBus.trigger("updated.Key",e)},autofillKeyIfNeeded:function(){if(this.shouldUpdateKey()){var e=this.keygen.generateKey(this.$nameElement.val());e.length>1?this.updateKey(e):this.$keyElement.val("")}},onNameTimeout:function(){var e=this.$nameElement.val();this.validateName(e);this.eventBus.trigger("updated.Name",e);this.autofillKeyIfNeeded()},onKeyTimeout:function(){var e=this.$keyElement.val();this.setKeyEdited(e);this.validateKey(e);this.eventBus.trigger("updated.Key",e)},validateName:function(t){if(t!==this.initialName||!this.$nameElement.parent().find(".error").size())if(t.length>this.maxNameLength)this.showInlineError(this.$nameElement,this.initialName,e.format("The project name must not exceed {0} characters in length.",this.maxNameLength));else{for(var i=0,n=this.projectNames.length;i<n;i++)if(t.toUpperCase()===this.projectNames[i]){this.showInlineError(this.$nameElement,this.initialName,"A project with that name already exists.");return}this.hideInlineError(this.$nameElement)}},validateKey:function(e){var t=this,i=t.lastKeyValidated!==e;this.lastKeyValidated=e;i&&(e?o.ajax({url:l+"/rest/api/latest/projectvalidate/key?key="+e.toUpperCase(),success:function(e){e.errors&&e.errors.projectKey?t.showInlineError(t.$keyElement,t.initialKey,e.errors.projectKey):t.hideInlineError(t.$keyElement)}}):t.hideInlineError(t.$keyElement))},showInlineError:function(e,t,i){var n=e.parent().find(".initial-error");if(e.val()===t&&n.length)this.showInitialError(e);else{var a=e.parent().find(".error.description");if(!a.length){a=o("<div class='error description'></div>");e.parent().append(a)}a.text(i);e.parent().find(".description").hide();n.hide();a.show()}},hideInlineError:function(e){e.parent().find(".description").show();e.parent().find(".error.description").hide()},showInitialError:function(e){var t=e.parent().find(".initial-error");if(t.length){e.parent().find(".description").hide();e.parent().find(".error.description").hide();t.show()}}})}));AJS.namespace("JIRA.CreateProjectField",null,require("jira/field/create-project-field")); 4873}catch(e){WRMCB(e)}; 4874; 4875try { 4876/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/field/initCreateProjectField.js' */ 4877define("jira/field/init-create-project-field",["jira/field/create-project-field","jira/util/events","jira/util/events/types","jira/util/events/reasons","jquery"],(function(e,i,t,n,r){"use strict";i.bind(t.NEW_CONTENT_ADDED,(function(i,t,a){a!==n.panelRefreshed&&t.find("#add-project-fields").each((function(){new e({element:r(this)})}))}))})); 4878}catch(e){WRMCB(e)}; 4879; 4880try { 4881/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/field/templates/createProject.soy' */ 4882// This file was automatically generated from createProject.soy. 4883// Please don't edit this file by hand. 4884 4885/** 4886 * @fileoverview Templates in namespace JIRA.Templates.CreateProject. 4887 */ 4888 4889if (typeof JIRA == 'undefined') { var JIRA = {}; } 4890if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4891if (typeof JIRA.Templates.CreateProject == 'undefined') { JIRA.Templates.CreateProject = {}; } 4892 4893 4894JIRA.Templates.CreateProject.keyHelp = function(opt_data, opt_ignored) { 4895 return '<div class="project-key-help"><p><b>' + soy.$$escapeHtml('What\x27s a project key?') + '</b></p><ul><li>' + soy.$$escapeHtml('It prefixes each issue in the project') + '</li><li>' + soy.$$escapeHtml('It can be changed, but this is not a trivial task') + '</li></ul></div>'; 4896}; 4897if (goog.DEBUG) { 4898 JIRA.Templates.CreateProject.keyHelp.soyTemplateName = 'JIRA.Templates.CreateProject.keyHelp'; 4899} 4900 4901}catch(e){WRMCB(e)}; 4902; 4903try { 4904/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/project/templates/projectSample.
4904soy' */ 4905// This file was automatically generated from projectSample.soy. 4906// Please don't edit this file by hand. 4907 4908/** 4909 * @fileoverview Templates in namespace JIRA.Templates.CreateProject. 4910 */ 4911 4912if (typeof JIRA == 'undefined') { var JIRA = {}; } 4913if (typeof JIRA.Templates == 'undefined') { JIRA.Templates = {}; } 4914if (typeof JIRA.Templates.CreateProject == 'undefined') { JIRA.Templates.CreateProject = {}; } 4915 4916 4917JIRA.Templates.CreateProject.projectSample = function(opt_data, opt_ignored) { 4918 opt_data = opt_data || {}; 4919 return '<div class="aui-message aui-message-hint sample-project-container"><p class="title">' + soy.$$escapeHtml('Project preview') + '</p><p>' + soy.$$escapeHtml('With the values you\x27ve set, an issue in your project might look like this:') + '</p><div class="aui-page-panel sample-project"><div class="item-header"><div class="avatar"><img id="project-avatar" alt="" class="project-avatar-48" height="48" src="' + soy.$$escapeHtml(opt_data.avatarUrl) + '" width="48"/></div><ul class="breadcrumbs"><li><a id="project-name-val">' + soy.$$escapeHtml(opt_data.projectName) + '</a></li><li><a id="key-val">' + soy.$$escapeHtml(opt_data.projectKey) + '</a></li></ul><h1 class="item-summary"><a>' + ((opt_data.issueTitle) ? soy.$$escapeHtml(opt_data.issueTitle) : soy.$$escapeHtml('Example')) + '</a></h1><div class="command-bar"></div></div></div></div>'; 4920}; 4921if (goog.DEBUG) { 4922 JIRA.Templates.CreateProject.projectSample.soyTemplateName = 'JIRA.Templates.CreateProject.projectSample'; 4923} 4924 4925}catch(e){WRMCB(e)}; 4926; 4927try { 4928/* module-key = 'jira.webresources:jira-global', location = '/includes/jira/field/init/init-create-project-field-webresource.js' */ 4929require("jira/field/init-create-project-field"); 4930}catch(e){WRMCB(e)}; 4931; 4932try { 4933/* module-key = 'jira.webresources:key-commands', location = '/includes/jquery/plugins/shortcuts/shortcuts.js' */ 4934!function(t){var n={},e=[],o=0,r=0,i=!1,u=t(document);t.event.special.shortcut={setup:function(){u.bind("keydown",a);u.bind("aui:keypress",d);u.bind("keyup",c)},teardown:function(){u.unbind("keydown",a);u.unbind("aui:keypress",d);u.unbind("keyup",c)},add:function(t){if(this!==document)throw new TypeError('"shortcut" event handlers must be bound at the document');if(void 0===t.data)throw new Error('No data argument supplied in call to jQuery.fn.bind("shortcut", '+(t.handler.name||"function")+")");if("string"!=typeof t.data)throw new TypeError("Object "+t.data+" is not a string");if(0===t.data.length)throw new Error("Shortcut sequence must not be empty");for(var e in n)if(s(e,t.data)){console.log('Cannot bind new shortcut "'+t.data+'" due to conflict with existing shortcut "'+e+'"');return}t.data.length>o&&(o=t.data.length);n[t.data]=t.handler},remove:function(t){if(this!==document)throw new TypeError('"shortcut" event handlers must be bound at the document');delete n[t.data]}};function a(t){i&&h();i=16!==t.which}function d(u){if(t(u.target).is(":input:not(button[type=button])"))h();else{e.push(u.key);clearTimeout(r);r=setTimeout(h,2e3);e.length>
4934o&&e.shift();for(var a=e.join(""),d=0;d<a.length;d++){var c=a.slice(d);if(c in n){u.preventDefault();(u=new t.Event("shortcut")).data=c;n[c].call(document,u);e.length=0;break}}i=!1}}function c(){i&&h()}function h(){e.length=0}function s(t,n){var e,o,r=t.length,i=n.length;if(r===i)return t===n;if(r<i){e=n.indexOf(t);o=i-r}else{e=t.indexOf(n);o=r-i}return e>=0&&e<o}}(jQuery); 4935}catch(e){WRMCB(e)}; 4936; 4937try { 4938/* module-key = 'jira.webresources:key-commands', location = '/includes/ajs/keyboardshortcut/KeyboardShortcuts.js' */ 4939function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}define("jira/ajs/keyboardshortcut/keyboard-shortcut",["jira/util/formatter","jira/util/key-code","aui/inline-dialog","wrm/context-path","jira/jquery/deferred","jquery","underscore"],(function(t,e,o,r,n,i,c){"use strict";var u=r(),s=function(t,e){this._executer=null;this.shortcuts=[t];this._bindShortcut(t,e)},a=new n;s.prototype._bindShortcut=function(t,e){if("string"!=typeof t)throw new TypeError("Ke
4939yboardShortcut expects string; received "+_typeof(t));if(/^(?:ctrl|alt|shift|meta)+/i.test(t))throw new SyntaxError('KeyboardShortcut cannot bind the shortcut "'+t+'" because it uses a modifier');var r=this;i(document).bind("shortcut",t,(function(n){if(r._executer&&!r._ignoreShortcut(n,t,e)){o.current&&o.current.hide();r._executer(n);n.preventDefault()}}))};s.prototype._ignoreShortcut=function(t,e,o){var r=!1;c.each(s._ignoreConditions,(function(n){n(t,e,o)&&(r=!0)}));return r};s.prototype._addShortcutTitle=function(e){var o=i(e),r=o.attr("title")||"",n="Type",c="then",u="OR",s=" ( "+n+i.map(this.shortcuts,(function(t){return" '"+t.split("").join("' "+c+" '")+"'"})).join(" "+u+" ")+" )";r.includes(s)||(r+=s);o.attr("title",r)};s.prototype.moveToNextItem=function(t){this._executer=function(){var o,r=i(t),n=i(t+".focused");this._executer.blurHandler||i(document).one("keypress",(function(t){t.keyCode===e.ESCAPE&&n&&n.removeClass("focused")}));if(0===n.length)n=i(t).eq(0);else{n.removeClass("focused");if((o=i.inArray(n.get(0),r))<r.length-1){o+=1;n=r.eq(o)}else{n.removeClass("focused");n=i(t).eq(0)}}if(n&&n.length>0){n.addClass("focused");n.scrollIntoView();n.find("a:first").focus()}}};s.prototype.moveToPrevItem=function(t){this._executer=function(){var o,r=i(t),n=i(t+".focused");this._executer.blurHandler||i(document).one("keypress",(function(t){t.keyCode===e.ESCAPE&&n&&n.removeClass("focused")}));if(0===n.length)n=i(t+":last");else{n.removeClass("focused");if((o=i.inArray(n.get(0),r))>0){o-=1;n=r.eq(o)}else{n.removeClass("focused");n=i(t+":last")}}if(n&&n.length>0){n.addClass("focused");n.scrollIntoView();n.find("a:first").focus()}}};s.prototype.click=function(t){this._addShortcutTitle(t);this._executer=function(){var e=i(t).eq(0);e.length>0&&e.click()}};s.prototype.goTo=function(t){this._executer=function(){window.location.href=u+t}};s.prototype.followLink=function(t){this._addShortcutTitle(t);this._executer=function(){var e=i(t).eq(0);if(e.length>0&&("a"===e.prop("nodeName").toLowerCase()||"link"===e.prop("nodeName").toLowerCase())){e.click();window.location.href=e.attr("href")}}};s.prototype.moveToAndClick=function(t){this._addShortcutTitle(t);this._executer=function(){var e=i(t).eq(0);if(e.length>0){e.click();e.scrollIntoView()}}};s.prototype.moveToAndFocus=function(t){this._addShortcutTitle(t);this._executer=function(e){var o=i(t).eq(0);if(o.length>0){o.focus();o.scrollIntoView();o.is(":input")&&e.preventDefault()}}};s.prototype.evaluate=function(t){"function"!=typeof t&&(t=new Function(t));t.call(this)};s.prototype.execute=function(t){var e=this;this._executer=function(){"function"!=typeof t&&(t=new Function(t));t.call(e)}};s.prototype.or=function(t){this.shortcuts.push(t);this._bindShortcut(t);return this};s._ignoreConditions=[];s._shortcuts=[];Object.defineProperty(s,"initialised",{value:a.promise(),writable:!1,configurable:!1});s.addIgnoreCondition=function(t){s._ignoreConditions.push(t)};s.getKeyboardShortcutKeys=function(t){for(var e in s._shortcuts)if(Object.prototype.hasOwnProperty.call(s._shortcuts,e)){var o=s._shortcuts[e];if(o.moduleKey===t)return o.keys.toString()}return null};s.fromJSON=function(t){var e;if(t){s._shortcuts=t;e={};c.each(t,(function(t){var o=c.flatten(t.keys),r=o.join("");if(o.length<r.length)throw new Error("Shortcut sequence ["+o.join(",")+"] contains invalid keys");(e[r]=new s(r,t.context))[t.op](t.param)}))}a.resolve(s);return e};return s}));AJS.namespace("AJS.KeyboardShortcut",null,require("jira/ajs/keyboardshortcut/keyboard-shortcut")); 4940}catch(e){WRMCB(e)}; 4941; 4942try { 4943/* module-key = 'jira.webresources:key-commands', location = '/includes/ajs/keyboardshortcut/initKeyboardShortcuts.js' */ 4944define("jira/ajs/keyboardshortcut/init-keyboard-shortcut",["jira/ajs/keyboardshortcut/keyboard-shortcut","jira/ajs/keyboardshortcut/keyboard-shortcut-toggle","jira/util/data/meta","jira/dialog/dialog-stack","aui/dropdown","aui/popup","jira/jquery/deferred","jquery","wrm/data"],(function(r,t,e,o,a,u,n,i,c){"use strict";var s=new n,d={};Object.defineProperty(d,"keyboardShortcuts",{value:s.promise(),writable:!1,
4944configurable:!1});function b(t){fetch(t).then((function(r){return r.json()})).then((function(t){AJS.activeShortcuts=r.fromJSON(t.shortcuts);s.resolve(AJS.activeShortcuts)})).catch((function(r){return console.error("There was an error during the setup of keyboard shortcuts.",r)}))}i((function(){r.addIgnoreCondition((function(){return u.current||a.current||o.current||t.areKeyboardShortcutsDisabled()}));e.get("keyboard-shortcuts-enabled")?t.enable():t.disable();c.claim("keyboardShortcutsUrl",b)}));i(document).bind("aui:keyup",(function(r){var t,e;if("Esc"===r.key&&(t=i(r.target)).is(":input:not(button[type='button'])")){e=new i.Event("beforeBlurInput");t.trigger(e,[{reason:"escPressed"}]);e.isDefaultPrevented()||t.blur()}}));return d}));require("jira/ajs/keyboardshortcut/init-keyboard-shortcut"); 4945}catch(e){WRMCB(e)}; 4946; 4947try { 4948/* module-key = 'jira.webresources:key-commands', location = '/includes/ajs/whenitype/whenIType.js' */ 4949!function(r){"use strict";AJS.whenIType=function(e,t){return new r(e,t)};AJS.whenIType.fromJSON=r.fromJSON}(require("jira/ajs/keyboardshortcut/keyboard-shortcut")); 4950}catch(e){WRMCB(e)}; 4951; 4952try { 4953/* module-key = 'jira.webresources:header', location = '/includes/jira/common/headerModule.js' */ 4954define("jira/common/header",["jira/util/formatter","jira/message","jira/issue","jira/util/events","exports","wrm/context-path"],(function(e,n,s,t,i,o){"use strict";var r,a,u,c,d,p={},l=new Promise((function(e){r=e})),f=function(n,s){var t=n.substr(0,n.indexOf("-"));return e.format('<a href="{0}" target="_blank">',o()+"/plugins/servlet/project-config/"+t+"/"+s)},I=function(e){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e&&n.showSuccessMsg(e,{closeable:!0,ariaLabel:s});p={}},m=function(e,n){var s="";p.versionCreated&&(s="<p>"+e+"</p>");p.componentCreated&&(s+="<p>"+n+"</p>");return s},v=function(){return!!(JIRA&&JIRA.Issues&&JIRA.Issues.Application)&&JIRA.Issues.Application};i.initialize=function(){t.bind("QuickCreateIssue.sessionComplete",a=function(n,t){setTimeout((function(){var n=[].concat(t).pop(),i=s.issueCreatedMessage(n);i+=m(e.format("You also added a new version to this project. You can set a release date for this version in {0}project admin{1}.",f(n.issueKey,"versions"),"</a>"),e.format("You also added a new component to this project. You can assign a component lead for this component in {0}project admin{1}.",f(n.issueKey,"components"),"</a>"));I(i,i.replace(/<[^>]+>/g,""))}),100)});v()&&v().on("issueEditor:saveSuccess",u=function(n){var t=n&&n.issueKey?n.issueKey:s.getIssueKey(),i=m(e.format("A new version has been added to your project. You can set a release date for this version in {0}project admin{1}.",f(t,"versions"),"</a>"),e.format("A new component has been added to your project. You can assign a component lead for this component in {0}project admin{1}.",f(t,"components"),"</a>"));I(i,i.replace(/<[^>]+>/g,""))});t.bind("Issue.Version.new.selected",c=function(){p.versionCreated=!0});t.bind("Issue.Component.new.selected",d=function(){p.componentCreated=!0});"function"==typeof r&&r()};i.headerInitialising=l;i.unbind=function(){t.unbind("QuickCreateIssue.sessionComplete",a);t.unbind("Issue.Version.new.selected",c);t.unbind("Issue.Component.new.selected",d);v()&&v().unbind("issueEditor:saveSuccess",u)}})); 4955}catch(e){WRMCB(e)}; 4956; 4957try { 4958/* module-key = 'jira.webresources:header', location = '/includes/jira/common/initHeader.js' */ 4959require(["jira/common/header","wrm/require-lazily","jquery"],(function(e,i,r){"use strict";r((function(){e.initialize();setTimeout((function(){i("wrc!jira.webresources:header-dimensions")}),5e3)}))})); 4960}catch(e){WRMCB(e)}; 4961; 4962try { 4963/* module-key = 'jira.webresources:mentions', location = '/includes/jira/mention/initMentions.js' */ 4964require(["wrm/require-lazily","jira/util/logger"],(function(e,r){"use strict";e("wrc!jira.webresources:mentions-feature").then((function(){return require(["jira/mention/mention-element"])})).catch((function(e){r.error(e)}))})); 4965}catch(e){WRMCB(e)};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.