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 = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:root', location = 'js/root.js' */ 5window.WRM||(window.WRM={});window.AJS||(window.AJS={}); 6}catch(e){WRMCB(e)}; 7; 8try { 9/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:data', location = 'js/data/data.js' */ 10(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|| 11{};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)}}}}; 12WRM.data=WRM._createDataImpl(WRM);"function"===typeof define&&define("wrm/data",()=>WRM.data)})(); 13}catch(e){WRMCB(e)}; 14; 15try { 16/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path', location = 'js/data/context-path.js' */ 17(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})(); 18}catch(e){WRMCB(e)}; 19; 20try { 21/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:common-runtime', location = 'manifest.js' */ 22!function(e){function t(t){for(var r,u,c=t[0],l=t[1],f=t[2],p=0,s=[];p<c.length;p++)u=c[p],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(i&&i(t);s.length;)s.shift()();return a.push.apply(a,f||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,c=1;c<n.length;c++){var l=n[c];0!==o[l]&&(r=!1)}r&&(a.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},o={0:0},a=[];function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="","undefined"!=typeof AJS&&(u.p=AJS.contextPath()+"/s/0c1d2e87-546c-4254-8aa3-7aefbc5886f4/_/download/resources/com.atlassian.confluence.plugins.confluence-super-batch:assets-0c1d2e87-546c-4254-8aa3-7aefbc5886f4/");var c=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var f=0;f<c.length;f++)t(c[f]);var i=l;n()}([]); 23}catch(e){WRMCB(e)}; 24; 25try { 26/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors~amd~core-js~react-dom~react-dom-client', location = 'vendors~amd~core-js~react-dom~react-dom-client.js' */ 27(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[3],{27:function(n,a){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(n){"object"==typeof window&&(e=window)}n.exports=e}}]); 28}catch(e){WRMCB(e)}; 29; 30try { 31/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors~core-js', location = 'vendors~core-js.js' */ 32(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[15],[function(t,r,e){"use strict";(function(r){var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,e(27))},function(t,r,e){"use strict";var n=e(28),o=Function.prototype,i=o.call,c=n&&o.bind.bind(i,i);t.exports=n?c:function(t){return function(){return i.apply(t,arguments)}}},function(t,r,e){"use strict";
32t.exports=function(t){try{return!!t()}catch(t){return!0}}},,function(t,r,e){"use strict";var n="object"==typeof document&&document.all;t.exports=void 0===n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},function(t,r,e){"use strict";var n=e(0),o=e(54).f,i=e(44),c=e(82),s=e(42),a=e(88),u=e(98);t.exports=function(t,r){var e,f,p,l,v,h=t.target,y=t.global,d=t.stat;if(e=y?n:d?n[h]||s(h,{}):n[h]&&n[h].prototype)for(f in r){if(l=r[f],p=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!u(y?f:h+(d?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;a(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(e,f,l,t)}}},,function(t,r,e){"use strict";var n=e(1),o=e(80),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},function(t,r,e){"use strict";var n=e(1),o=Set.prototype;t.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},function(t,r,e){"use strict";var n=e(2);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,e){"use strict";var n=e(28),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(t,r,e){"use strict";var n=e(4);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,r,e){"use strict";var n=e(0),o=e(4),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},function(t,r,e){"use strict";var n=e(11),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},function(t,r,e){"use strict";var n=e(4),o=e(40),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},function(t,r,e){"use strict";var n=e(8).has;t.exports=function(t){return n(t),t}},function(t,r,e){"use strict";var n=e(10);t.exports=function(t,r,e){for(var o,i,c=e?t:t.iterator,s=t.next;!(o=n(s,c)).done;)if(void 0!==(i=r(o.value)))return i}},function(t,r,e){"use strict";var n=e(14),o=e(13),i=e(10),c=e(45),s=e(106),a=RangeError,u=TypeError,f=Math.max,p=function(t,r){this.set=t,this.size=f(r,0),this.has=n(t.has),this.keys=n(t.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var r=+t.size;if(r!=r)throw new u("Invalid size");var e=c(r);if(e<0)throw new a("Invalid size");return new p(t,e)}},function(t,r,e){"use strict";var n=e(12),o=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(t){return{size:t,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(t,r){var e=n("Set");try{(new e)[t](o(0));try{return(new e)[t](o(-1)),!1}catch(n){if(!r)return!0;try{return(new e)[t](i(-1/0)),!1}catch(n){var c=new e;return c.add(1),c.add(2),r(c[t](i(1/0)))}}}catch(t){return!1}}},function(t,r,e){"use strict";var n=e(0),o=e(58),i=e(7),c=e(43),s=e(56),a=e(55),u=n.Symbol,f=o("wks"),p=a?u.for||u:u&&u.withoutSetter||c;t.exports=function(t){return i(f,t)||(f[t]=s&&i(u,t)?u[t]:p("Symbol."+t)),f[t]}},function(t,r,e){"use strict";var n=e(1),o=e(16),i=e(8),c=i.Set,s=i.proto,a=n(s.forEach),u=n(s.keys),f=u(new c).next;t.exports=function(t,r,e){return e?o({iterator:u(t),next:f},r):a(t,r)}},,function(t,r,e){"use strict";t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r,e){"use strict";var n=e(30),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},function(t,r,e){"use strict";t.exports=!1},function(t,r,e){"use strict";var n=e(9),o=e(59),i=e(81),c=e(13),s=e(37),a=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor;r.f=n?i?function(t,r,e){if(c(t),r=s(r),c(e),"function"==typeof t&&"prototype"===r&&"value"in e&&"writable"in e&&!e.writable){var n=f(t,r);n&&n.writable&&(t[r]=e.value,e={configurable:"configurable"in e?e.configurable:n.configurable,enumerable:"enumerable"in e?e.enumerable:n.enumerable,writable:!1})}return u(t,r,e)}:u:function(t,r,e){if(c(t),r=s(r),c(e),o)try{return u(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new a("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},function(t,r,e){"use strict";var n=e(67),o=e(8);t.exports=n(o.proto,"size","get")||function(t){return t.size}},,function(t,r,e){"use strict";var n=e(2);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,r,e){"use strict";var n=e(1),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,r,e){"use strict";
32t.exports=function(t){return null==t}},function(t,r,e){"use strict";var n=e(1);t.exports=n({}.isPrototypeOf)},function(t,r,e){"use strict";var n=e(0).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},function(t,r,e){"use strict";var n=e(102),o=e(4),i=e(29),c=e(19)("toStringTag"),s=Object,a="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=s(t),c))?e:a?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},function(t,r,e){"use strict";var n=TypeError;t.exports=function(t,r){if(t<r)throw new n("Not enough arguments");return t}},,function(t,r,e){"use strict";var n=e(77),o=e(23);t.exports=function(t){return n(o(t))}},function(t,r,e){"use strict";var n=e(78),o=e(38);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},function(t,r,e){"use strict";var n=e(12),o=e(4),i=e(31),c=e(55),s=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,s(t))}},function(t,r,e){"use strict";var n=e(14),o=e(30);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},function(t,r,e){"use strict";var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,r,e){"use strict";var n=e(24),o=e(0),i=e(42),c=t.exports=o["__core-js_shared__"]||i("__core-js_shared__",{});(c.versions||(c.versions=[])).push({version:"3.45.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,r,e){"use strict";var n=e(0),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},function(t,r,e){"use strict";var n=e(1),o=0,i=Math.random(),c=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},function(t,r,e){"use strict";var n=e(9),o=e(25),i=e(22);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},function(t,r,e){"use strict";var n=e(94);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},function(t,r,e){"use strict";var n=e(95);t.exports=function(t){return n(t.length)}},function(t,r,e){"use strict";var n=e(63),o=e(10),i=e(13),c=e(40),s=e(100),a=e(46),u=e(31),f=e(101),p=e(65),l=e(48),v=TypeError,h=function(t,r){this.stopped=t,this.result=r},y=h.prototype;t.exports=function(t,r,e){var d,g,b,m,w,E,x,S=e&&e.that,O=!(!e||!e.AS_ENTRIES),R=!(!e||!e.IS_RECORD),D=!(!e||!e.IS_ITERATOR),A=!(!e||!e.INTERRUPTED),I=n(r,S),T=function(t){return d&&l(d,"normal"),new h(!0,t)},_=function(t){return O?(i(t),A?I(t[0],t[1],T):I(t[0],t[1])):A?I(t,T):I(t)};if(R)d=t.iterator;else if(D)d=t;else{if(!(g=p(t)))throw new v(c(t)+" is not iterable");if(s(g)){for(b=0,m=a(t);m>b;b++)if((w=_(t[b]))&&u(y,w))return w;return new h(!1)}d=f(t,g)}for(E=R?t.next:d.next;!(x=o(E,d)).done;){try{w=_(x.value)}catch(t){l(d,"throw",t)}if("object"==typeof w&&w&&u(y,w))return w}return new h(!1)}},function(t,r,e){"use strict";var n=e(10),o=e(13),i=e(39);t.exports=function(t,r,e){var c,s;o(t);try{if(!(c=i(t,"return"))){if("throw"===r)throw e;return e}c=n(c,t)}catch(t){s=!0,c=t}if("throw"===r)throw e;if(s)throw c;return o(c),e}},function(t,r,e){"use strict";var n=e(8),o=e(20),i=n.Set,c=n.add;t.exports=function(t){var r=new i;return o(t,(function(t){c(r,t)})),r}},function(t,r,e){"use strict";var n=e(0),o=e(32),i=e(29),c=function(t){return o.slice(0,t.length)===t};t.exports=c("Bun/")?"BUN":c("Cloudflare-Workers")?"CLOUDFLARE":c("Deno/")?"DENO":c("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},,,,function(t,r,e){"use strict";var n=e(9),o=e(10),i=e(76),c=e(22),s=e(36),a=e(37),u=e(7),f=e(59),p=Object.getOwnPropertyDescriptor;r.f=n?p:function(t,r){if(t=s(t),r=a(r),f)try{return p(t,r)}catch(t){}if(u(t,r))return c(!o(i.f,t,r),t[r])}},function(t,r,e){"use strict";var n=e(56);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,e){"use strict";var n=e(57),o=e(2),i=e(0).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,r,e){"use strict";var n,o,i=e(0),c=e(32),s=i.process,a=i.Deno,u=s&&s.versions||a&&a.version,f=u&&u.v8;f&&(o=(n=f.split("."))[0]>
320&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},function(t,r,e){"use strict";var n=e(41);t.exports=function(t,r){return n[t]||(n[t]=r||{})}},function(t,r,e){"use strict";var n=e(9),o=e(2),i=e(60);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,r,e){"use strict";var n=e(0),o=e(11),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,r,e){"use strict";var n=e(1),o=e(4),i=e(41),c=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},function(t,r,e){"use strict";t.exports={}},function(t,r,e){"use strict";var n=e(99),o=e(14),i=e(28),c=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?c(t,r):function(){return t.apply(r,arguments)}}},function(t,r,e){"use strict";t.exports={}},function(t,r,e){"use strict";var n=e(33),o=e(39),i=e(30),c=e(64),s=e(19)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||c[n(t)]}},function(t,r,e){"use strict";var n=e(1),o=Map.prototype;t.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},function(t,r,e){"use strict";var n=e(1),o=e(14);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},function(t,r,e){"use strict";t.exports=function(t){try{var r=new Set,e={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return r.clear(),r.add(4),function(){return{done:!0}}}})}},n=r[t](e);return 1===n.size&&4===n.values().next().value}catch(t){return!1}}},function(t,r,e){"use strict";var n=e(33),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},function(t,r,e){"use strict";var n,o,i,c,s=e(0),a=e(71),u=e(63),f=e(4),p=e(7),l=e(2),v=e(130),h=e(72),y=e(60),d=e(34),g=e(131),b=e(73),m=s.setImmediate,w=s.clearImmediate,E=s.process,x=s.Dispatch,S=s.Function,O=s.MessageChannel,R=s.String,D=0,A={};l((function(){n=s.location}));var I=function(t){if(p(A,t)){var r=A[t];delete A[t],r()}},T=function(t){return function(){I(t)}},_=function(t){I(t.data)},k=function(t){s.postMessage(R(t),n.protocol+"//"+n.host)};m&&w||(m=function(t){d(arguments.length,1);var r=f(t)?t:S(t),e=h(arguments,1);return A[++D]=function(){a(r,void 0,e)},o(D),D},w=function(t){delete A[t]},b?o=function(t){E.nextTick(T(t))}:x&&x.now?o=function(t){x.now(T(t))}:O&&!g?(c=(i=new O).port2,i.port1.onmessage=_,o=u(c.postMessage,c)):s.addEventListener&&f(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!l(k)?(o=k,s.addEventListener("message",_,!1)):o="onreadystatechange"in y("script")?function(t){v.appendChild(y("script")).onreadystatechange=function(){v.removeChild(this),I(t)}}:function(t){setTimeout(T(t),0)}),t.exports={set:m,clear:w}},function(t,r,e){"use strict";var n=e(28),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(i):function(){return c.apply(i,arguments)})},function(t,r,e){"use strict";var n=e(1);t.exports=n([].slice)},function(t,r,e){"use strict";var n=e(50);t.exports="NODE"===n},function(t,r,e){"use strict";var n=e(0),o=e(2),i=e(57),c=e(50),s=n.structuredClone;t.exports=!!s&&!o((function(){if("DENO"===c&&i>92||"NODE"===c&&i>94||"BROWSER"===c&&i>97)return!1;var t=new ArrayBuffer(8),r=s(t,{transfer:[t]});return 0!==t.byteLength||8!==r.byteLength}))},function(t,r,e){"use strict";var n=e(5),o=e(1),i=e(14),c=e(23),s=e(47),a=e(66),u=e(24),f=e(2),p=a.Map,l=a.has,v=a.get,h=a.set,y=o([].push),d=u||f((function(){return 1!==p.groupBy("ab",(function(t){return t})).get("a").length}));n({target:"Map",stat:!0,forced:u||d},{groupBy:function(t,r){c(t),i(r);var e=new p,n=0;return s(t,(function(t){var o=r(t,n++);l(e,o)?y(v(e,o),t):h(e,o,[t])})),e}})},function(t,r,e){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:n},function(t,r,e){"use strict";var n=e(1),o=e(2),i=e(29),c=Object,s=n("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):c(t)}:c},function(t,r,e){"use strict";var n=e(10),o=e(11),i=e(38),c=e(39),s=e(79),a=e(19),u=TypeError,f=a("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,a=c(t,f);if(a){if(void 0===r&&(r="default"),e=n(a,t,r),!o(e)||i(e))return e;throw new u("Can't convert object to primitive value")}return void 0===r&&(r="number"),s(t,r)}},function(t,r,e){"use strict";var n=e(10),o=e(4),i=e(11),c=TypeError;t.exports=function(t,r){var e,s;if("string"===r&&o(e=t.toString)&&!i(s=n(e,t)))return s;if(o(e=t.valueOf)&&!i(s=n(e,t)))return s;if("string"!==r&&o(e=t.toString)&&!i(s=n(e,t)))return s;throw new c("Can't convert object to primitive value")}},function(t,r,e){"use strict";var n=e(23),o=Object;t.exports=function(t){return o(n(t))}},function(t,r,e){"use strict";var n=e(9),o=e(2);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,r,e){"use strict";var n=e(4),o=e(25),i=e(83),c=e(42);t.exports=function(t,r,e,s){s||(s={});var a=s.enumerable,u=void 0!==s.name?s.name:r;if(n(e)&&i(e,u,s),s.global)a?t[r]=e:c(r,e);else{try{s.unsafe?t[r]&&(a=!0):delete t[r]}catch(t){}
vendor: 4,346 bytes, line 32
32a?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},function(t,r,e){"use strict";var n=e(1),o=e(2),i=e(4),c=e(7),s=e(9),a=e(84).CONFIGURABLE,u=e(61),f=e(85),p=f.enforce,l=f.get,v=String,h=Object.defineProperty,y=n("".slice),d=n("".replace),g=n([].join),b=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),m=String(String).split("String"),w=t.exports=function(t,r,e){"Symbol("===y(v(r),0,7)&&(r="["+d(v(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!c(t,"name")||a&&t.name!==r)&&(s?h(t,"name",{value:r,configurable:!0}):t.name=r),b&&e&&c(e,"arity")&&t.length!==e.arity&&h(t,"length",{value:e.arity});try{e&&c(e,"constructor")&&e.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=p(t);return c(n,"source")||(n.source=g(m,"string"==typeof r?r:"")),t};Function.prototype.toString=w((function(){return i(this)&&l(this).source||u(this)}),"toString")},function(t,r,e){"use strict";var n=e(9),o=e(7),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),a=s&&"something"===function(){}.name,u=s&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:s,PROPER:a,CONFIGURABLE:u}},function(t,r,e){"use strict";var n,o,i,c=e(86),s=e(0),a=e(11),u=e(44),f=e(7),p=e(41),l=e(87),v=e(62),h=s.TypeError,y=s.WeakMap;if(c||p.state){var d=p.state||(p.state=new y);d.get=d.get,d.has=d.has,d.set=d.set,n=function(t,r){if(d.has(t))throw new h("Object already initialized");return r.facade=t,d.set(t,r),r},o=function(t){return d.get(t)||{}},i=function(t){return d.has(t)}}else{var g=l("state");v[g]=!0,n=function(t,r){if(f(t,g))throw new h("Object already initialized");return r.facade=t,u(t,g,r),r},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!a(r)||(e=o(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return e}}}},function(t,r,e){"use strict";var n=e(0),o=e(4),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},function(t,r,e){"use strict";var n=e(58),o=e(43),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,r,e){"use strict";var n=e(7),o=e(89),i=e(54),c=e(25);t.exports=function(t,r,e){for(var s=o(r),a=c.f,u=i.f,f=0;f<s.length;f++){var p=s[f];n(t,p)||e&&n(e,p)||a(t,p,u(r,p))}}},function(t,r,e){"use strict";var n=e(12),o=e(1),i=e(90),c=e(97),s=e(13),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(s(t)),e=c.f;return e?a(r,e(t)):r}},function(t,r,e){"use strict";var n=e(91),o=e(96).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,r,e){"use strict";var n=e(1),o=e(7),i=e(36),c=e(92).indexOf,s=e(62),a=n([].push);t.exports=function(t,r){var e,n=i(t),u=0,f=[];for(e in n)!o(s,e)&&o(n,e)&&a(f,e);for(;r.length>u;)o(n,e=r[u++])&&(~c(f,e)||a(f,e));return f}},function(t,r,e){"use strict";var n=e(36),o=e(93),i=e(46),c=function(t){return function(r,e,c){var s=n(r),a=i(s);if(0===a)return!t&&-1;var u,f=o(c,a);if(t&&e!=e){for(;a>f;)if((u=s[f++])!=u)return!0}else for(;a>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,r,e){"use strict";var n=e(45),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},function(t,r,e){"use strict";var n=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?o:n)(r)}},function(t,r,e){"use strict";var n=e(45),o=Math.min;t.exports=function(t){var r=n(t);return r>0?o(r,9007199254740991):0}},function(t,r,e){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r,e){"use strict";r.f=Object.getOwnPropertySymbols},function(t,r,e){"use strict";var n=e(2),o=e(4),i=/#|\.prototype\./,c=function(t,r){var e=a[s(t)];return e===f||e!==u&&(o(r)?n(r):!!r)},s=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},u=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},function(t,r,e){"use strict";var n=e(29),o=e(1);t.exports=function(t){if("Function"===n(t))return o(t)}},function(t,r,e){"use strict";var n=e(19),o=e(64),i=n("iterator"),c=Array.prototype;
32t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,r,e){"use strict";var n=e(10),o=e(14),i=e(13),c=e(40),s=e(65),a=TypeError;t.exports=function(t,r){var e=arguments.length<2?s(t):r;if(o(e))return i(n(e,t));throw new a(c(t)+" is not iterable")}},function(t,r,e){"use strict";var n={};n[e(19)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,r,e){"use strict";var n=e(5),o=e(12),i=e(1),c=e(14),s=e(23),a=e(37),u=e(47),f=e(2),p=Object.groupBy,l=o("Object","create"),v=i([].push);n({target:"Object",stat:!0,forced:!p||f((function(){return 1!==p("ab",(function(t){return t})).a.length}))},{groupBy:function(t,r){s(t),c(r);var e=l(null),n=0;return u(t,(function(t){var o=a(r(t,n++));o in e?v(e[o],t):e[o]=[t]})),e}})},function(t,r,e){"use strict";var n=e(5),o=e(105),i=e(2);n({target:"Set",proto:!0,real:!0,forced:!e(18)("difference",(function(t){return 0===t.size}))||i((function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var e=t++>1;return r.has(1)&&r.clear(),{done:e,value:2}}}}},r=new Set([1,2,3,4]);return 3!==r.difference(t).size}))},{difference:o})},function(t,r,e){"use strict";var n=e(15),o=e(8),i=e(49),c=e(26),s=e(17),a=e(20),u=e(16),f=o.has,p=o.remove;t.exports=function(t){var r=n(this),e=s(t),o=i(r);return c(r)<=e.size?a(r,(function(t){e.includes(t)&&p(o,t)})):u(e.getIterator(),(function(t){f(o,t)&&p(o,t)})),o}},function(t,r,e){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},function(t,r,e){"use strict";var n=e(5),o=e(2),i=e(108);n({target:"Set",proto:!0,real:!0,forced:!e(18)("intersection",(function(t){return 2===t.size&&t.has(1)&&t.has(2)}))||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},function(t,r,e){"use strict";var n=e(15),o=e(8),i=e(26),c=e(17),s=e(20),a=e(16),u=o.Set,f=o.add,p=o.has;t.exports=function(t){var r=n(this),e=c(t),o=new u;return i(r)>e.size?a(e.getIterator(),(function(t){p(r,t)&&f(o,t)})):s(r,(function(t){e.includes(t)&&f(o,t)})),o}},function(t,r,e){"use strict";var n=e(5),o=e(110);n({target:"Set",proto:!0,real:!0,forced:!e(18)("isDisjointFrom",(function(t){return!t}))},{isDisjointFrom:o})},function(t,r,e){"use strict";var n=e(15),o=e(8).has,i=e(26),c=e(17),s=e(20),a=e(16),u=e(48);t.exports=function(t){var r=n(this),e=c(t);if(i(r)<=e.size)return!1!==s(r,(function(t){if(e.includes(t))return!1}),!0);var f=e.getIterator();return!1!==a(f,(function(t){if(o(r,t))return u(f,"normal",!1)}))}},function(t,r,e){"use strict";var n=e(5),o=e(112);n({target:"Set",proto:!0,real:!0,forced:!e(18)("isSubsetOf",(function(t){return t}))},{isSubsetOf:o})},function(t,r,e){"use strict";var n=e(15),o=e(26),i=e(20),c=e(17);t.exports=function(t){var r=n(this),e=c(t);return!(o(r)>e.size)&&!1!==i(r,(function(t){if(!e.includes(t))return!1}),!0)}},function(t,r,e){"use strict";var n=e(5),o=e(114);n({target:"Set",proto:!0,real:!0,forced:!e(18)("isSupersetOf",(function(t){return!t}))},{isSupersetOf:o})},function(t,r,e){"use strict";var n=e(15),o=e(8).has,i=e(26),c=e(17),s=e(16),a=e(48);t.exports=function(t){var r=n(this),e=c(t);if(i(r)<e.size)return!1;var u=e.getIterator();return!1!==s(u,(function(t){if(!o(r,t))return a(u,"normal",!1)}))}},function(t,r,e){"use strict";var n=e(5),o=e(116),i=e(68);n({target:"Set",proto:!0,real:!0,forced:!e(18)("symmetricDifference")||!i("symmetricDifference")},{symmetricDifference:o})},function(t,r,e){"use strict";var n=e(15),o=e(8),i=e(49),c=e(17),s=e(16),a=o.add,u=o.has,f=o.remove;t.exports=function(t){var r=n(this),e=c(t).getIterator(),o=i(r);return s(e,(function(t){u(r,t)?f(o,t):a(o,t)})),o}},function(t,r,e){"use strict";var n=e(5),o=e(118),i=e(68);n({target:"Set",proto:!0,real:!0,forced:!e(18)("union")||!i("union")},{union:o})},function(t,r,e){"use strict";var n=e(15),o=e(8).add,i=e(49),c=e(17),s=e(16);t.exports=function(t){var r=n(this),e=c(t).getIterator(),a=i(r);return s(e,(function(t){o(a,t)})),a}},function(t,r,e){"use strict";var n=e(5),o=e(0),i=e(12),c=e(22),s=e(25).f,a=e(7),u=e(120),f=e(121),p=e(125),l=e(126),v=e(127),h=e(9),y=e(24),d=i("Error"),g=i("DOMException"),b=function(){u(this,m);var t=arguments.length,r=p(t<1?void 0:arguments[0]),e=p(t<2?void 0:arguments[1],"Error"),n=new g(r,e),o=new d(r);return o.name="DOMException",s(n,"stack",c(1,v(o.stack,1))),f(n,this,b),n},m=b.prototype=g.prototype,w="stack"in new d("DOMException"),E="stack"in new g(1,2),x=g&&h&&Object.getOwnPropertyDescriptor(o,"DOMException"),S=!(!x||x.writable&&x.configurable),O=w&&!S&&!E;n({global:!0,constructor:!0,forced:y||O},{DOMException:O?b:g});var R=i("DOMException"),D=R.prototype;if(D.constructor!==R)for(var A in y||s(D,"constructor",c(1,R)),l)if(a(l,A)){var I=l[A],T=I.s;a(R,T)||s(R,T,c(6,I.c))}},function(t,r,e){"use strict";var n=e(31),o=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw new o("Incorrect invocation")}},function(t,r,e){"use strict";var n=e(4),o=e(11),i=e(122);t.exports=function(t,r,e){var c,s;return i&&n(c=r.constructor)&&c!==e&&o(s=c.prototype)&&s!==e.prototype&&i(t,s),t}},function(t,r,e){"use strict";var n=e(67),o=e(11),i=e(23),c=e(123);
32t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return i(e),c(n),o(e)?(r?t(e,n):e.__proto__=n,e):e}}():void 0)},function(t,r,e){"use strict";var n=e(124),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},function(t,r,e){"use strict";var n=e(11);t.exports=function(t){return n(t)||null===t}},function(t,r,e){"use strict";var n=e(69);t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:n(t)}},function(t,r,e){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
vendor: 6,446 bytes, line 32
32,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(t,r,e){"use strict";var n=e(1),o=Error,i=n("".replace),c=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,a=s.test(c);t.exports=function(t,r){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;r--;)t=i(t,s,"");return t}},function(t,r,e){"use strict";e(129),e(132)},function(t,r,e){"use strict";var n=e(5),o=e(0),i=e(70).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(t,r,e){"use strict";var n=e(12);t.exports=n("document","documentElement")},function(t,r,e){"use strict";var n=e(32);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},function(t,r,e){"use strict";var n=e(5),o=e(0),i=e(70).set,c=e(133),s=o.setImmediate?c(i,!1):i;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},function(t,r,e){"use strict";var n,o=e(0),i=e(71),c=e(4),s=e(50),a=e(32),u=e(72),f=e(34),p=o.Function,l=/MSIE .\./.test(a)||"BUN"===s&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));t.exports=function(t,r){var e=r?2:1;return l?function(n,o){var s=f(arguments.length,1)>e,a=c(n)?n:p(n),l=s?u(arguments,e):[],v=s?function(){i(a,this,l)}:a;return r?t(v,o):t(v)}:t}},function(t,r,e){"use strict";var n,o=e(24),i=e(5),c=e(0),s=e(12),a=e(1),u=e(2),f=e(43),p=e(4),l=e(135),v=e(30),h=e(11),y=e(38),d=e(47),g=e(13),b=e(33),m=e(7),w=e(136),E=e(44),x=e(46),S=e(34),O=e(137),R=e(66),D=e(8),A=e(20),I=e(140),T=e(142),_=e(74),k=c.Object,M=c.Array,C=c.Date,j=c.Error,N=c.TypeError,P=c.PerformanceMark,L=s("DOMException"),B=R.Map,U=R.has,F=R.get,z=R.set,W=D.Set,V=D.add,H=D.has,G=s("Object","keys"),Y=a([].push),Q=a((!0).valueOf),q=a(1.1.valueOf),X=a("".valueOf),J=a(C.prototype.getTime),K=f("structuredClone"),Z=function(t){return!u((function(){var r=new c.Set([7]),e=t(r),n=t(k(7));return e===r||!e.has(7)||!h(n)||7!=+n}))&&t},$=function(t,r){return!u((function(){var e=new r,n=t({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof r&&n.a.stack===e.stack)}))},tt=c.structuredClone,rt=o||!$(tt,j)||!$(tt,L)||(n=tt,!!u((function(){var t=n(new c.AggregateError([1],K,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==K||3!==t.cause}))),et=!tt&&Z((function(t){return new P(K,{detail:t}).detail})),nt=Z(tt)||et,ot=function(t){throw new L("Uncloneable type: "+t,"DataCloneError")},it=function(t,r){throw new L((r||"Cloning")+" of "+t+" cannot be properly polyfilled in this engine","DataCloneError")},ct=function(t,r){return nt||it(r),nt(t)},st=function(t,r,e){if(U(r,t))return F(r,t);var n,o,i,s,a,u;if("SharedArrayBuffer"===(e||b(t)))n=nt?nt(t):t;else{var f=c.DataView;f||p(t.slice)||it("ArrayBuffer");try{if(p(t.slice)&&!t.resizable)n=t.slice(0);else{o=t.byteLength,i="maxByteLength"in t?{maxByteLength:t.maxByteLength}:void 0,n=new ArrayBuffer(o,i),s=new f(t),a=new f(n);for(u=0;u<o;u++)a.setUint8(u,s.getUint8(u))}}catch(t){throw new L("ArrayBuffer is detached","DataCloneError")}}return z(r,t,n),n},at=function(t,r){if(y(t)&&ot("Symbol"),!h(t))return t;if(r){if(U(r,t))return F(r,t)}else r=new B;var e,n,o,i,a,u,f,l,v=b(t);switch(v){case"Array":o=M(x(t));break;case"Object":o={};break;case"Map":o=new B;break;case"Set":o=new W;break;case"RegExp":o=new RegExp(t.source,O(t));break;case"Error":switch(n=t.name){case"AggregateError":o=new(s(n))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":o=new(s(n));break;case"CompileError":case"LinkError":case"RuntimeError":o=new(s("WebAssembly",n));break;default:o=new j}break;case"DOMException":o=new L(t.message,t.name);break;case"ArrayBuffer":case"SharedArrayBuffer":o=st(t,r,v);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":u="DataView"===v?t.byteLength:t.length,o=function(t,r,e,n,o){var i=c[r];return h(i)||it(r),new i(st(t.buffer,o),e,n)}(t,v,t.byteOffset,u,r);break;case"DOMQuad":try{o=new DOMQuad(at(t.p1,r),at(t.p2,r),at(t.p3,r),at(t.p4,r))}catch(r){o=ct(t,v)}break;case"File":if(nt)try{o=nt(t),b(o)!==v&&(o=void 0)}catch(t){}if(!o)try{o=new File([t],t.name,t)}catch(t){}o||it(v);break;case"FileList":if(i=function(){var t;try{t=new c.DataTransfer}catch(r){try{t=new c.ClipboardEvent("").clipboardData}catch(t){}}return t&&t.items&&t.files?t:null}()){for(a=0,u=x(t);a<u;a++)i.items.add(at(t[a],r));o=i.files}else o=ct(t,v);break;case"ImageData":try{o=new ImageData(at(t.data,r),t.width,t.height,{colorSpace:t.colorSpace})}catch(r){o=ct(t,v)}break;default:if(nt)o=nt(t);else switch(v){case"BigInt":o=k(t.valueOf());break;case"Boolean":o=k(Q(t));break;case"Number":o=k(q(t));break;case"String":o=k(X(t));break;case"Date":o=new C(J(t));break;case"Blob":try{o=t.slice(0,t.size,t.type)}catch(t){it(v)}break;case"DOMPoint":case"DOMPointReadOnly":e=c[v];try{o=e.fromPoint?e.fromPoint(t):new e(t.x,t.y,t.z,t.w)}catch(t){it(v)}break;case"DOMRect":case"DOMRectReadOnly":e=c[v];try{o=e.fromRect?e.fromRect(t):new e(t.x,t.y,t.width,t.height)}catch(t){it(v)}break;case"DOMMatrix":case"DOMMatrixReadOnly":e=c[v];try{o=e.fromMatrix?e.fromMatrix(t):new e(t)}catch(t){it(v)}break;case"AudioData":case"VideoFrame":p(t.clone)||it(v);try{o=t.clone()}catch(t){ot(v)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":it(v);default:ot(v)}}switch(z(r,t,o),v){case"Array":case"Object":for(f=G(t),a=0,u=x(f);a<u;a++)l=f[a],w(o,l,at(t[l],r));break;case"Map":t.forEach((function(t,e){z(o,at(e,r),at(t,r))}));break;case"Set":t.forEach((function(t){V(o,at(t,r))}));break;case"Error":E(o,"message",at(t.message,r)),m(t,"cause")&&E(o,"cause",at(t.cause,r)),"AggregateError"===n?o.errors=at(t.errors,r):"SuppressedError"===n&&(o.error=at(t.error,r),o.suppressed=at(t.suppressed,r));case"DOMException":T&&E(o,"stack",at(t.stack,r))}return o},ut=function(t,r){if(!h(t))throw new N("Transfer option cannot be converted to a sequence");var e=[];d(t,(function(t){Y(e,g(t))}));for(var n,o,i,s,a,u=0,f=x(e),v=new W;u<f;){if(n=e[u++],"ArrayBuffer"===(o=b(n))?H(v,n):U(r,n))throw new L("Duplicate transferable","DataCloneError");
32if("ArrayBuffer"!==o){if(_)s=tt(n,{transfer:[n]});else switch(o){case"ImageBitmap":i=c.OffscreenCanvas,l(i)||it(o,"Transferring");try{(a=new i(n.width,n.height)).getContext("bitmaprenderer").transferFromImageBitmap(n),s=a.transferToImageBitmap()}catch(t){}break;case"AudioData":case"VideoFrame":p(n.clone)&&p(n.close)||it(o,"Transferring");try{s=n.clone(),n.close()}catch(t){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":it(o,"Transferring")}if(void 0===s)throw new L("This object cannot be transferred: "+o,"DataCloneError");z(r,n,s)}else V(v,n)}return v},ft=function(t){A(t,(function(t){_?nt(t,{transfer:[t]}):p(t.transfer)?t.transfer():I?I(t):it("ArrayBuffer","Transferring")}))};i({global:!0,enumerable:!0,sham:!_,forced:rt},{structuredClone:function(t){var r,e,n=S(arguments.length,1)>1&&!v(arguments[1])?g(arguments[1]):void 0,o=n?n.transfer:void 0;void 0!==o&&(r=new B,e=ut(o,r));var i=at(t,r);return e&&ft(e),i}})},function(t,r,e){"use strict";var n=e(1),o=e(2),i=e(4),c=e(33),s=e(12),a=e(61),u=function(){},f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=n(p.exec),v=!p.test(u),h=function(t){if(!i(t))return!1;try{return f(u,[],t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!l(p,a(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?y:h},function(t,r,e){"use strict";var n=e(9),o=e(25),i=e(22);t.exports=function(t,r,e){n?o.f(t,r,i(0,e)):t[r]=e}},function(t,r,e){"use strict";var n=e(10),o=e(7),i=e(31),c=e(138),s=e(139),a=RegExp.prototype;t.exports=c.correct?function(t){return t.flags}:function(t){return c.correct||!i(a,t)||o(t,"flags")?t.flags:n(s,t)}},function(t,r,e){"use strict";var n=e(0),o=e(2),i=n.RegExp,c=!o((function(){var t=!0;try{i(".","d")}catch(r){t=!1}var r={},e="",n=t?"dgimsy":"gimsy",o=function(t,n){Object.defineProperty(r,t,{get:function(){return e+=n,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in t&&(c.hasIndices="d"),c)o(s,c[s]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(r)!==n||e!==n}));t.exports={correct:c}},function(t,r,e){"use strict";var n=e(13);t.exports=function(){var t=n(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r}},function(t,r,e){"use strict";var n,o,i,c,s=e(0),a=e(141),u=e(74),f=s.structuredClone,p=s.ArrayBuffer,l=s.MessageChannel,v=!1;if(u)v=function(t){f(t,{transfer:[t]})};else if(p)try{l||(n=a("worker_threads"))&&(l=n.MessageChannel),l&&(o=new l,i=new p(2),c=function(t){o.port1.postMessage(null,[t])},2===i.byteLength&&(c(i),0===i.byteLength&&(v=c)))}catch(t){}t.exports=v},function(t,r,e){"use strict";var n=e(0),o=e(73);t.exports=function(t){if(o){try{return n.process.getBuiltinModule(t)}catch(t){}try{return Function('return require("'+t+'")')()}catch(t){}}}},function(t,r,e){"use strict";var n=e(2),o=e(22);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},function(t,r,e){"use strict";var n=e(5),o=e(12),i=e(34),c=e(69),s=e(144),a=o("URL");n({target:"URL",stat:!0,forced:!s},{parse:function(t){var r=i(arguments.length,1),e=c(t),n=r<2||void 0===arguments[1]?void 0:c(arguments[1]);try{return new a(e,n)}catch(t){return null}}})},function(t,r,e){"use strict";var n=e(2),o=e(19),i=e(9),c=e(24),s=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),r=t.searchParams,e=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",r.forEach((function(t,e){r.delete("b"),n+=e+t})),e.delete("a",2),e.delete("b",void 0),c&&(!t.toJSON||!e.has("a",1)||e.has("a",2)||!e.has("a",void 0)||e.has("b"))||!r.size&&(c||!i)||!r.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://ÑеÑÑ").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))}]]); 33}catch(e){WRMCB(e)}; 34; 35try { 36/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_core-js', location = 'core-js.js' */ 37(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[7],{164:function(a,e,s){"use strict";s.r(e);s(75),s(103),s(104),s(107),s(109),s(111),s(113),s(115),s(117),s(119),s(128),s(134),s(143)}},[[164,0,3,15]]]); 38}catch(e){WRMCB(e)}; 39; 40try { 41/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:common-runtime', location = 'manifest.js' */ 42(()=>{"use strict";var e,r,t,n,o={},a={};function i(e){var r=a[e];
42if(void 0!==r)return r.exports;var t=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}i.m=o,e=[],i.O=(r,t,n,o)=>{if(!t){var a=1/0;for(u=0;u<e.length;u++){for(var[t,n,o]=e[u],c=!0,l=0;l<t.length;l++)(!1&o||a>=o)&&Object.keys(i.O).every(e=>i.O[e](t[l]))?t.splice(l--,1):(c=!1,o<a&&(a=o));if(c){e.splice(u--,1);var s=n();void 0!==s&&(r=s)}}return r}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[t,n,o]},i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var a={};r=r||[null,t({}),t([]),t(t)];for(var c=2&n&&e;"object"==typeof c&&!~r.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(r=>a[r]=()=>e[r]);return a.default=()=>e,i.d(o,a),o},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((r,t)=>(i.f[t](e,r),r),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n={},i.l=(e,r,t,o)=>{if(n[e])n[e].push(r);else{var a,i;if(void 0!==t)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var s=c[l];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")=="@atlassian/dc.product.confluence-frontend-plugins.confluence-frontend:"+t){a=s;break}}if(!a){i=!0;const e=(t||"").replace(/^chunk-/,"");return void WRM.require("wrc!com.atlassian.confluence.plugins.confluence-frontend:"+e).then(()=>r(),e=>{var t=new Event("missing");t.data=e,r(t)})}n[e]=[r];var u=(r,t)=>{a.onerror=a.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(t)),r)return r(t)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),i&&document.head.appendChild(a)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var r=i.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),"undefined"!=typeof AJS&&(i.p=AJS.contextPath()+"/s/d6620a31-7a76-4d8c-b8f5-2787abbe219f/_/download/resources/com.atlassian.confluence.plugins.confluence-frontend:assets-d6620a31-7a76-4d8c-b8f5-2787abbe219f/"),(()=>{var e={manifest:0,"compiled-css":0};i.f.j=(r,t)=>{var n=i.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(compiled\-css|manifest)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=i.p+i.u(r),c=new Error;i.l(a,t=>{if(i.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,n[1](c)}},"chunk-"+r,r)}},i.O.j=r=>0===e[r];var r=(r,t)=>{var n,o,[a,c,l]=t,s=0;if(a.some(r=>0!==e[r])){for(n in c)i.o(c,n)&&(i.m[n]=c[n]);if(l)var u=l(i)}for(r&&r(t);s<a.length;s++)o=a[s],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(u)},t=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})(); 43}catch(e){WRMCB(e)}; 44; 45try { 46/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-rest:web-resource-manager', location = '
46js/dist/wrm.js' */ 47!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"})}
47_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))}(); 48 49}catch(e){WRMCB(e)}; 50; 51try { 52/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_cookie-overrides', location = 'cookie-overrides.js' */ 53"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["cookie-overrides"],{8564:()=>{const e=["lax","strict","none"],o="samesite";(()=>{if(!navigator.cookieEnabled)return;const t=Object.getOwnPropertyDescriptor(Document.prototype,"cookie").get,r=Object.getOwnPropertyDescriptor(Document.prototype,"cookie").set;Object.defineProperty(document,"cookie",{set(t){let n=t;var c,i;(t=>{if(!t.toLowerCase().includes(o))return!1;const r=t.split(";").reverse();for(let t=0;t<r.length;t++){const n=r[t],[c,i]=n.split("=");if(c.trim().toLowerCase()===o)return e.includes(i.trim().toLowerCase())}return!1})(t)||(n=`${t}; SameSite=${null!==(c=null===(i=AJS)||void 0===i||null===(i=i.Meta)||void 0===i?void 0:i.get("same-site-cookie-default-policy"))&&void 0!==c?c:"Lax"}`);try{r.call(document,n)}catch(e){console.error("Failed to set cookie",e)}},get(){try{return t.call(document)}catch(e){console.error("Error accessing document.cookie:",e)}return""},configurable:!0})})()}},e=>{e(e.s=8564)}]); 54}catch(e){WRMCB(e)}; 55; 56try { 57/* module-key = 'com.atlassian.plugins.jquery:jquery-lib', location = '/jquery.js' */ 58/*! 59 * jQuery JavaScript Library v3.7.1 60 * https://jquery.com/ 61 * 62 * Copyright OpenJS Foundation and other contributors 63 * Released under the MIT license 64 * https://jquery.org/license 65 * 66 * Date: 2023-08-28T13:37Z 67 */ 68( function( global, factory ) { 69 70 "use strict"; 71 72 if ( typeof module === "object"
vendor: 12,125 bytes, lines 72-565
72 && typeof module.exports === "object" ) { 73 74 // For CommonJS and CommonJS-like environments where a proper `window` 75 // is present, execute the factory and get jQuery. 76 // For environments that do not have a `window` with a `document` 77 // (such as Node.js), expose a factory as module.exports. 78 // This accentuates the need for the creation of a real `window`. 79 // e.g. var jQuery = require("jquery")(window); 80 // See ticket trac-14549 for more info. 81 module.exports = global.document ? 82 factory( global, true ) : 83 function( w ) { 84 if ( !w.document ) { 85 throw new Error( "jQuery requires a window with a document" ); 86 } 87 return factory( w ); 88 }; 89 } else { 90 factory( global ); 91 } 92 93// Pass this if window is not defined yet 94} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { 95 96// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 97// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode 98// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common 99// enough that all such attempts are guarded in a try block. 100"use strict"; 101 102var arr = []; 103 104var getProto = Object.getPrototypeOf; 105 106var slice = arr.slice; 107 108var flat = arr.flat ? function( array ) { 109 return arr.flat.call( array ); 110} : function( array ) { 111 return arr.concat.apply( [], array ); 112}; 113 114 115var push = arr.push; 116 117var indexOf = arr.indexOf; 118 119var class2type = {}; 120 121var toString = class2type.toString; 122 123var hasOwn = class2type.hasOwnProperty; 124 125var fnToString = hasOwn.toString; 126 127var ObjectFunctionString = fnToString.call( Object ); 128 129var support = {}; 130 131var isFunction = function isFunction( obj ) { 132 133 // Support: Chrome <=57, Firefox <=52 134 // In some browsers, typeof returns "function" for HTML <object> elements 135 // (i.e., `typeof document.createElement( "object" ) === "function"`). 136 // We don't want to classify *any* DOM node as a function. 137 // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 138 // Plus for old WebKit, typeof returns "function" for HTML collections 139 // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) 140 return typeof obj === "function" && typeof obj.nodeType !== "number" && 141 typeof obj.item !== "function"; 142 }; 143 144 145var isWindow = function isWindow( obj ) { 146 return obj != null && obj === obj.window; 147 }; 148 149 150var document = window.document; 151 152 153 154 var preservedScriptAttributes = { 155 type: true, 156 src: true, 157 nonce: true, 158 noModule: true 159 }; 160 161 function DOMEval( code, node, doc ) { 162 doc = doc || document; 163 164 var i, val, 165 script = doc.createElement( "script" ); 166 167 script.text = code; 168 if ( node ) { 169 for ( i in preservedScriptAttributes ) { 170 171 // Support: Firefox 64+, Edge 18+ 172 // Some browsers don't support the "nonce" property on scripts. 173 // On the other hand, just using `getAttribute` is not enough as 174 // the `nonce` attribute is reset to an empty string whenever it 175 // becomes browsing-context connected. 176 // See https://github.com/whatwg/html/issues/2369 177 // See https://html.spec.whatwg.org/#nonce-attributes 178 // The `node.getAttribute` check was added for the sake of 179 // `jQuery.globalEval` so that it can fake a nonce-containing node 180 // via an object. 181 val = node[ i ] || node.getAttribute && node.getAttribute( i ); 182 if ( val ) { 183 script.setAttribute( i, val ); 184 } 185 } 186 } 187 doc.head.appendChild( script ).parentNode.removeChild( script ); 188 } 189 190 191function toType( obj ) { 192 if ( obj == null ) { 193 return obj + ""; 194 } 195 196 // Support: Android <=2.3 only (functionish RegExp) 197 return typeof obj === "object" || typeof obj === "function" ? 198 class2type[ toString.call( obj ) ] || "object" : 199 typeof obj; 200} 201/* global Symbol */ 202// Defining this global in .eslintrc.json would create a danger of using the global 203// unguarded in another place, it seems safer to define global only for this module 204 205 206 207var version = "3.7.1", 208 209 rhtmlSuffix = /HTML$/i, 210 211 // Define a local copy of jQuery 212 jQuery = function( selector, context ) { 213 214 // The jQuery object is actually just the init constructor 'enhanced' 215 // Need init if jQuery is called (just allow error to be thrown if not included) 216 return new jQuery.fn.init( selector, context ); 217 }; 218 219jQuery.fn = jQuery.prototype = { 220 221 // The current version of jQuery being used 222 jquery: version, 223 224 constructor: jQuery, 225 226 // The default length of a jQuery object is 0 227 length: 0, 228 229 toArray: function() { 230 return slice.call( this ); 231 }, 232 233 // Get the Nth element in the matched element set OR 234 // Get the whole matched element set as a clean array 235 get: function( num ) { 236 237 // Return all the elements in a clean array 238 if ( num == null ) { 239 return slice.call( this ); 240 } 241 242 // Return just the one element from the set 243 return num < 0 ? this[ num + this.length ] : this[ num ]; 244 }, 245 246 // Take an array of elements and push it onto the stack 247 // (returning the new matched element set) 248 pushStack: function( elems ) { 249 250 // Build a new jQuery matched element set 251 var ret = jQuery.merge( this.constructor(), elems ); 252 253 // Add the old object onto the stack (as a reference) 254 ret.prevObject = this; 255 256 // Return the newly-formed element set 257 return ret; 258 }, 259 260 // Execute a callback for every element in the matched set. 261 each: function( callback ) { 262 return jQuery.each( this, callback ); 263 }, 264 265 map: function( callback ) { 266 return this.pushStack( jQuery.map( this, function( elem, i ) { 267 return callback.call( elem, i, elem ); 268 } ) ); 269 }, 270 271 slice: function() { 272 return this.pushStack( slice.apply( this, arguments ) ); 273 }, 274 275 first: function() { 276 return this.eq( 0 ); 277 }, 278 279 last: function() { 280 return this.eq( -1 ); 281 }, 282 283 even: function() { 284 return this.pushStack( jQuery.grep( this, function( _elem, i ) { 285 return ( i + 1 ) % 2; 286 } ) ); 287 }, 288 289 odd: function() { 290 return this.pushStack( jQuery.grep( this, function( _elem, i ) { 291 return i % 2; 292 } ) ); 293 }, 294 295 eq: function( i ) { 296 var len = this.length, 297 j = +i + ( i < 0 ? len : 0 ); 298 return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); 299 }, 300 301 end: function() { 302 return this.prevObject || this.constructor(); 303 }, 304 305 // For internal use only. 306 // Behaves like an Array's method, not like a jQuery method. 307 push: push, 308 sort: arr.sort, 309 splice: arr.splice 310}; 311 312jQuery.extend = jQuery.fn.extend = function() { 313 var options, name, src, copy, copyIsArray, clone, 314 target = arguments[ 0 ] || {}, 315 i = 1, 316 length = arguments.length, 317 deep = false; 318 319 // Handle a deep copy situation 320 if ( typeof target === "boolean" ) { 321 deep = target; 322 323 // Skip the boolean and the target 324 target = arguments[ i ] || {}; 325 i++; 326 } 327 328 // Handle case when target is a string or something (possible in deep copy) 329 if ( typeof target !== "object" && !isFunction( target ) ) { 330 target = {}; 331 } 332 333 // Extend jQuery itself if only one argument is passed 334 if ( i === length ) { 335 target = this; 336 i--; 337 } 338 339 for ( ; i < length; i++ ) { 340 341 // Only deal with non-null/undefined values 342 if ( ( options = arguments[ i ] ) != null ) { 343 344 // Extend the base object 345 for ( name in options ) { 346 copy = options[ name ]; 347 348 // Prevent Object.prototype pollution 349 // Prevent never-ending loop 350 if ( name === "__proto__" || target === copy ) { 351 continue; 352 } 353 354 // Recurse if we're merging plain objects or arrays 355 if ( deep && copy && ( jQuery.isPlainObject( copy ) || 356 ( copyIsArray = Array.isArray( copy ) ) ) ) { 357 src = target[ name ]; 358 359 // Ensure proper type for the source value 360 if ( copyIsArray && !Array.isArray( src ) ) { 361 clone = []; 362 } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { 363 clone = {}; 364 } else { 365 clone = src; 366 } 367 copyIsArray = false; 368 369 // Never move original objects, clone them 370 target[ name ] = jQuery.extend( deep, clone, copy ); 371 372 // Don't bring in undefined values 373 } else if ( copy !== undefined ) { 374 target[ name ] = copy; 375 } 376 } 377 } 378 } 379 380 // Return the modified object 381 return target; 382}; 383 384jQuery.extend( { 385 386 // Unique for each copy of jQuery on the page 387 expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), 388 389 // Assume jQuery is ready without the ready module 390 isReady: true, 391 392 error: function( msg ) { 393 throw new Error( msg ); 394 }, 395 396 noop: function() {}, 397 398 isPlainObject: function( obj ) { 399 var proto, Ctor; 400 401 // Detect obvious negatives 402 // Use toString instead of jQuery.type to catch host objects 403 if ( !obj || toString.call( obj ) !== "[object Object]" ) { 404 return false; 405 } 406 407 proto = getProto( obj ); 408 409 // Objects with no prototype (e.g., `Object.create( null )`) are plain 410 if ( !proto ) { 411 return true; 412 } 413 414 // Objects with prototype are plain iff they were constructed by a global Object function 415 Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; 416 return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; 417 }, 418 419 isEmptyObject: function( obj ) { 420 var name; 421 422 for ( name in obj ) { 423 return false; 424 } 425 return true; 426 }, 427 428 // Evaluates a script in a provided context; falls back to the global one 429 // if not specified. 430 globalEval: function( code, options, doc ) { 431 DOMEval( code, { nonce: options && options.nonce }, doc ); 432 }, 433 434 each: function( obj, callback ) { 435 var length, i = 0; 436 437 if ( isArrayLike( obj ) ) { 438 length = obj.length; 439 for ( ; i < length; i++ ) { 440 if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { 441 break; 442 } 443 } 444 } else { 445 for ( i in obj ) { 446 if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { 447 break; 448 } 449 } 450 } 451 452 return obj; 453 }, 454 455 456 // Retrieve the text value of an array of DOM nodes 457 text: function( elem ) { 458 var node, 459 ret = "", 460 i = 0, 461 nodeType = elem.nodeType; 462 463 if ( !nodeType ) { 464 465 // If no nodeType, this is expected to be an array 466 while ( ( node = elem[ i++ ] ) ) { 467 468 // Do not traverse comment nodes 469 ret += jQuery.text( node ); 470 } 471 } 472 if ( nodeType === 1 || nodeType === 11 ) { 473 return elem.textContent; 474 } 475 if ( nodeType === 9 ) { 476 return elem.documentElement.textContent; 477 } 478 if ( nodeType === 3 || nodeType === 4 ) { 479 return elem.nodeValue; 480 } 481 482 // Do not include comment or processing instruction nodes 483 484 return ret; 485 }, 486 487 // results is for internal usage only 488 makeArray: function( arr, results ) { 489 var ret = results || []; 490 491 if ( arr != null ) { 492 if ( isArrayLike( Object( arr ) ) ) { 493 jQuery.merge( ret, 494 typeof arr === "string" ? 495 [ arr ] : arr 496 ); 497 } else { 498 push.call( ret, arr ); 499 } 500 } 501 502 return ret; 503 }, 504 505 inArray: function( elem, arr, i ) { 506 return arr == null ? -1 : indexOf.call( arr, elem, i ); 507 }, 508 509 isXMLDoc: function( elem ) { 510 var namespace = elem && elem.namespaceURI, 511 docElem = elem && ( elem.ownerDocument || elem ).documentElement; 512 513 // Assume HTML when documentElement doesn't yet exist, such as inside 514 // document fragments. 515 return !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || "HTML" ); 516 }, 517 518 // Support: Android <=4.0 only, PhantomJS 1 only 519 // push.apply(_, arraylike) throws on ancient WebKit 520 merge: function( first, second ) { 521 var len = +second.length, 522 j = 0, 523 i = first.length; 524 525 for ( ; j < len; j++ ) { 526 first[ i++ ] = second[ j ]; 527 } 528 529 first.length = i; 530 531 return first; 532 }, 533 534 grep: function( elems, callback, invert ) { 535 var callbackInverse, 536 matches = [], 537 i = 0, 538 length = elems.length, 539 callbackExpect = !invert; 540 541 // Go through the array, only saving the items 542 // that pass the validator function 543 for ( ; i < length; i++ ) { 544 callbackInverse = !callback( elems[ i ], i ); 545 if ( callbackInverse !== callbackExpect ) { 546 matches.push( elems[ i ] ); 547 } 548 } 549 550 return matches; 551 }, 552 553 // arg is for internal usage only 554 map: function( elems, callback, arg ) { 555 var length, value, 556 i = 0, 557 ret = []; 558 559 // Go through the array, translating each of the items to their new values 560 if ( isArrayLike( elems ) ) { 561 length = elems.length; 562 for ( ; i < length; i++ ) { 563 value = callback( elems[ i ], i, arg ); 564 565 if ( value != null ) {
vendor: 17,514 bytes, lines 566-1187
566 ret.push( value ); 567 } 568 } 569 570 // Go through every key on the object, 571 } else { 572 for ( i in elems ) { 573 value = callback( elems[ i ], i, arg ); 574 575 if ( value != null ) { 576 ret.push( value ); 577 } 578 } 579 } 580 581 // Flatten any nested arrays 582 return flat( ret ); 583 }, 584 585 // A global GUID counter for objects 586 guid: 1, 587 588 // jQuery.support is not used in Core but other projects attach their 589 // properties to it so it needs to exist. 590 support: support 591} ); 592 593if ( typeof Symbol === "function" ) { 594 jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; 595} 596 597// Populate the class2type map 598jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), 599 function( _i, name ) { 600 class2type[ "[object " + name + "]" ] = name.toLowerCase(); 601 } ); 602 603function isArrayLike( obj ) { 604 605 // Support: real iOS 8.2 only (not reproducible in simulator) 606 // `in` check used to prevent JIT error (gh-2145) 607 // hasOwn isn't used here due to false negatives 608 // regarding Nodelist length in IE 609 var length = !!obj && "length" in obj && obj.length, 610 type = toType( obj ); 611 612 if ( isFunction( obj ) || isWindow( obj ) ) { 613 return false; 614 } 615 616 return type === "array" || length === 0 || 617 typeof length === "number" && length > 0 && ( length - 1 ) in obj; 618} 619 620 621function nodeName( elem, name ) { 622 623 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); 624 625} 626var pop = arr.pop; 627 628 629var sort = arr.sort; 630 631 632var splice = arr.splice; 633 634 635var whitespace = "[\\x20\\t\\r\\n\\f]"; 636 637 638var rtrimCSS = new RegExp( 639 "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", 640 "g" 641); 642 643 644 645 646// Note: an element does not contain itself 647jQuery.contains = function( a, b ) { 648 var bup = b && b.parentNode; 649 650 return a === bup || !!( bup && bup.nodeType === 1 && ( 651 652 // Support: IE 9 - 11+ 653 // IE doesn't have `contains` on SVG. 654 a.contains ? 655 a.contains( bup ) : 656 a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 657 ) ); 658}; 659 660 661 662 663// CSS string/identifier serialization 664// https://drafts.csswg.org/cssom/#common-serializing-idioms 665var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; 666 667function fcssescape( ch, asCodePoint ) { 668 if ( asCodePoint ) { 669 670 // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER 671 if ( ch === "\0" ) { 672 return "\uFFFD"; 673 } 674 675 // Control characters and (dependent upon position) numbers get escaped as code points 676 return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; 677 } 678 679 // Other potentially-special ASCII characters get backslash-escaped 680 return "\\" + ch; 681} 682 683jQuery.escapeSelector = function( sel ) { 684 return ( sel + "" ).replace( rcssescape, fcssescape ); 685}; 686 687 688 689 690var preferredDoc = document, 691 pushNative = push; 692 693( function() { 694 695var i, 696 Expr, 697 outermostContext, 698 sortInput, 699 hasDuplicate, 700 push = pushNative, 701 702 // Local document vars 703 document, 704 documentElement, 705 documentIsHTML, 706 rbuggyQSA, 707 matches, 708 709 // Instance-specific data 710 expando = jQuery.expando, 711 dirruns = 0, 712 done = 0, 713 classCache = createCache(), 714 tokenCache = createCache(), 715 compilerCache = createCache(), 716 nonnativeSelectorCache = createCache(), 717 sortOrder = function( a, b ) { 718 if ( a === b ) { 719 hasDuplicate = true; 720 } 721 return 0; 722 }, 723 724 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|" + 725 "loop|multiple|open|readonly|required|scoped", 726 727 // Regular expressions 728 729 // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram 730 identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + 731 "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", 732 733 // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors 734 attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + 735 736 // Operator (capture 2) 737 "*([*^$|!~]?=)" + whitespace + 738 739 // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" 740 "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + 741 whitespace + "*\\]", 742 743 pseudos = ":(" + identifier + ")(?:\\((" + 744 745 // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: 746 // 1. quoted (capture 3; capture 4 or capture 5) 747 "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + 748 749 // 2. simple (capture 6) 750 "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + 751 752 // 3. anything else (capture 2) 753 ".*" + 754 ")\\)|)", 755 756 // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter 757 rwhitespace = new RegExp( whitespace + "+", "g" ), 758 759 rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), 760 rleadingCombinator = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + 761 whitespace + "*" ), 762 rdescend = new RegExp( whitespace + "|>" ), 763 764 rpseudo = new RegExp( pseudos ), 765 ridentifier = new RegExp( "^" + identifier + "$" ), 766 767 matchExpr = { 768 ID: new RegExp( "^#(" + identifier + ")" ), 769 CLASS: new RegExp( "^\\.(" + identifier + ")" ), 770 TAG: new RegExp( "^(" + identifier + "|[*])" ), 771 ATTR: new RegExp( "^" + attributes ), 772 PSEUDO: new RegExp( "^" + pseudos ), 773 CHILD: new RegExp( 774 "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + 775 whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + 776 whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), 777 bool: new RegExp( "^(?:" + booleans + ")$", "i" ), 778 779 // For use in libraries implementing .is() 780 // We use this for POS matching in `select` 781 needsContext: new RegExp( "^" + whitespace + 782 "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + 783 "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) 784 }, 785 786 rinputs = /^(?:input|select|textarea|button)$/i, 787 rheader = /^h\d$/i, 788 789 // Easily-parseable/retrievable ID or TAG or CLASS selectors 790 rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 791 792 rsibling = /[+~]/, 793 794 // CSS escapes 795 // https://www.w3.org/TR/CSS21/syndata.html#escaped-characters 796 runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + 797 "?|\\\\([^\\r\\n\\f])", "g" ), 798 funescape = function( escape, nonHex ) { 799 var high = "0x" + escape.slice( 1 ) - 0x10000; 800 801 if ( nonHex ) { 802 803 // Strip the backslash prefix from a non-hex escape sequence 804 return nonHex; 805 } 806 807 // Replace a hexadecimal escape sequence with the encoded Unicode code point 808 // Support: IE <=11+ 809 // For values outside the Basic Multilingual Plane (BMP), manually construct a 810 // surrogate pair 811 return high < 0 ? 812 String.fromCharCode( high + 0x10000 ) : 813 String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); 814 }, 815 816 // Used for iframes; see `setDocument`. 817 // Support: IE 9 - 11+, Edge 12 - 18+ 818 // Removing the function wrapper causes a "Permission Denied" 819 // error in IE/Edge. 820 unloadHandler = function() { 821 setDocument(); 822 }, 823 824 inDisabledFieldset = addCombinator( 825 function( elem ) { 826 return elem.disabled === true && nodeName( elem, "fieldset" ); 827 }, 828 { dir: "parentNode", next: "legend" } 829 ); 830 831// Support: IE <=9 only 832// Accessing document.activeElement can throw unexpectedly 833// https://bugs.jquery.com/ticket/13393 834function safeActiveElement() { 835 try { 836 return document.activeElement; 837 } catch ( err ) { } 838} 839 840// Optimize for push.apply( _, NodeList ) 841try { 842 push.apply( 843 ( arr = slice.call( preferredDoc.childNodes ) ), 844 preferredDoc.childNodes 845 ); 846 847 // Support: Android <=4.0 848 // Detect silently failing push.apply 849 // eslint-disable-next-line no-unused-expressions 850 arr[ preferredDoc.childNodes.length ].nodeType; 851} catch ( e ) { 852 push = { 853 apply: function( target, els ) { 854 pushNative.apply( target, slice.call( els ) ); 855 }, 856 call: function( target ) { 857 pushNative.apply( target, slice.call( arguments, 1 ) ); 858 } 859 }; 860} 861 862function find( selector, context, results, seed ) { 863 var m, i, elem, nid, match, groups, newSelector, 864 newContext = context && context.ownerDocument, 865 866 // nodeType defaults to 9, since context defaults to document 867 nodeType = context ? context.nodeType : 9; 868 869 results = results || []; 870 871 // Return early from calls with invalid selector or context 872 if ( typeof selector !== "string" || !selector || 873 nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { 874 875 return results; 876 } 877 878 // Try to shortcut find operations (as opposed to filters) in HTML documents 879 if ( !seed ) { 880 setDocument( context ); 881 context = context || document; 882 883 if ( documentIsHTML ) { 884 885 // If the selector is sufficiently simple, try using a "get*By*" DOM method 886 // (excepting DocumentFragment context, where the methods don't exist) 887 if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { 888 889 // ID selector 890 if ( ( m = match[ 1 ] ) ) { 891 892 // Document context 893 if ( nodeType === 9 ) { 894 if ( ( elem = context.getElementById( m ) ) ) { 895 896 // Support: IE 9 only 897 // getElementById can match elements by name instead of ID 898 if ( elem.id === m ) { 899 push.call( results, elem ); 900 return results; 901 } 902 } else { 903 return results; 904 } 905 906 // Element context 907 } else { 908 909 // Support: IE 9 only 910 // getElementById can match elements by name instead of ID 911 if ( newContext && ( elem = newContext.getElementById( m ) ) && 912 find.contains( context, elem ) && 913 elem.id === m ) { 914 915 push.call( results, elem ); 916 return results; 917 } 918 } 919 920 // Type selector 921 } else if ( match[ 2 ] ) { 922 push.apply( results, context.getElementsByTagName( selector ) ); 923 return results; 924 925 // Class selector 926 } else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) { 927 push.apply( results, context.getElementsByClassName( m ) ); 928 return results; 929 } 930 } 931 932 // Take advantage of querySelectorAll 933 if ( !nonnativeSelectorCache[ selector + " " ] && 934 ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) { 935 936 newSelector = selector; 937 newContext = context; 938 939 // qSA considers elements outside a scoping root when evaluating child or 940 // descendant combinators, which is not what we want. 941 // In such cases, we work around the behavior by prefixing every selector in the 942 // list with an ID selector referencing the scope context. 943 // The technique has to be used as well when a leading combinator is used 944 // as such selectors are not recognized by querySelectorAll. 945 // Thanks to Andrew Dupont for this technique. 946 if ( nodeType === 1 && 947 ( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) { 948 949 // Expand context for sibling selectors 950 newContext = rsibling.test( selector ) && testContext( context.parentNode ) || 951 context; 952 953 // We can use :scope instead of the ID hack if the browser 954 // supports it & if we're not changing the context. 955 // Support: IE 11+, Edge 17 - 18+ 956 // IE/Edge sometimes throw a "Permission denied" error when 957 // strict-comparing two documents; shallow comparisons work. 958 // eslint-disable-next-line eqeqeq 959 if ( newContext != context || !support.scope ) { 960 961 // Capture the context ID, setting it first if necessary 962 if ( ( nid = context.getAttribute( "id" ) ) ) { 963 nid = jQuery.escapeSelector( nid ); 964 } else { 965 context.setAttribute( "id", ( nid = expando ) ); 966 } 967 } 968 969 // Prefix every selector in the list 970 groups = tokenize( selector ); 971 i = groups.length; 972 while ( i-- ) { 973 groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + 974 toSelector( groups[ i ] ); 975 } 976 newSelector = groups.join( "," ); 977 } 978 979 try { 980 push.apply( results, 981 newContext.querySelectorAll( newSelector ) 982 ); 983 return results; 984 } catch ( qsaError ) { 985 nonnativeSelectorCache( selector, true ); 986 } finally { 987 if ( nid === expando ) { 988 context.removeAttribute( "id" ); 989 } 990 } 991 } 992 } 993 } 994 995 // All others 996 return select( selector.replace( rtrimCSS, "$1" ), context, results, seed ); 997} 998 999/** 1000 * Create key-value caches of limited size 1001 * @returns {function(string, object)} Returns the Object data after storing it on itself with 1002 * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) 1003 * deleting the oldest entry 1004 */ 1005function createCache() { 1006 var keys = []; 1007 1008 function cache( key, value ) { 1009 1010 // Use (key + " ") to avoid collision with native prototype properties 1011 // (see https://github.com/jquery/sizzle/issues/157) 1012 if ( keys.push( key + " " ) > Expr.cacheLength ) { 1013 1014 // Only keep the most recent entries 1015 delete cache[ keys.shift() ]; 1016 } 1017 return ( cache[ key + " " ] = value ); 1018 } 1019 return cache; 1020} 1021 1022/** 1023 * Mark a function for special use by jQuery selector module 1024 * @param {Function} fn The function to mark 1025 */ 1026function markFunction( fn ) { 1027 fn[ expando ] = true; 1028 return fn; 1029} 1030 1031/** 1032 * Support testing using an element 1033 * @param {Function} fn Passed the created element and returns a boolean result 1034 */ 1035function assert( fn ) { 1036 var el = document.createElement( "fieldset" ); 1037 1038 try { 1039 return !!fn( el ); 1040 } catch ( e ) { 1041 return false; 1042 } finally { 1043 1044 // Remove from its parent by default 1045 if ( el.parentNode ) { 1046 el.parentNode.removeChild( el ); 1047 } 1048 1049 // release memory in IE 1050 el = null; 1051 } 1052} 1053 1054/** 1055 * Returns a function to use in pseudos for input types 1056 * @param {String} type 1057 */ 1058function createInputPseudo( type ) { 1059 return function( elem ) { 1060 return nodeName( elem, "input" ) && elem.type === type; 1061 }; 1062} 1063 1064/** 1065 * Returns a function to use in pseudos for buttons 1066 * @param {String} type 1067 */ 1068function createButtonPseudo( type ) { 1069 return function( elem ) { 1070 return ( nodeName( elem, "input" ) || nodeName( elem, "button" ) ) && 1071 elem.type === type; 1072 }; 1073} 1074 1075/** 1076 * Returns a function to use in pseudos for :enabled/:disabled 1077 * @param {Boolean} disabled true for :disabled; false for :enabled 1078 */ 1079function createDisabledPseudo( disabled ) { 1080 1081 // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable 1082 return function( elem ) { 1083 1084 // Only certain elements can match :enabled or :disabled 1085 // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled 1086 // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled 1087 if ( "form" in elem ) { 1088 1089 // Check for inherited disabledness on relevant non-disabled elements: 1090 // * listed form-associated elements in a disabled fieldset 1091 // https://html.spec.whatwg.org/multipage/forms.html#category-listed 1092 // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled 1093 // * option elements in a disabled optgroup 1094 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled 1095 // All such elements have a "form" property. 1096 if ( elem.parentNode && elem.disabled === false ) { 1097 1098 // Option elements defer to a parent optgroup if present 1099 if ( "label" in elem ) { 1100 if ( "label" in elem.parentNode ) { 1101 return elem.parentNode.disabled === disabled; 1102 } else { 1103 return elem.disabled === disabled; 1104 } 1105 } 1106 1107 // Support: IE 6 - 11+ 1108 // Use the isDisabled shortcut property to check for disabled fieldset ancestors 1109 return elem.isDisabled === disabled || 1110 1111 // Where there is no isDisabled, check manually 1112 elem.isDisabled !== !disabled && 1113 inDisabledFieldset( elem ) === disabled; 1114 } 1115 1116 return elem.disabled === disabled; 1117 1118 // Try to winnow out elements that can't be disabled before trusting the disabled property. 1119 // Some victims get caught in our net (label, legend, menu, track), but it shouldn't 1120 // even exist on them, let alone have a boolean value. 1121 } else if ( "label" in elem ) { 1122 return elem.disabled === disabled; 1123 } 1124 1125 // Remaining elements are neither :enabled nor :disabled 1126 return false; 1127 }; 1128} 1129 1130/** 1131 * Returns a function to use in pseudos for positionals 1132 * @param {Function} fn 1133 */ 1134function createPositionalPseudo( fn ) { 1135 return markFunction( function( argument ) { 1136 argument = +argument; 1137 return markFunction( function( seed, matches ) { 1138 var j, 1139 matchIndexes = fn( [], seed.length, argument ), 1140 i = matchIndexes.length; 1141 1142 // Match elements found at the specified indexes 1143 while ( i-- ) { 1144 if ( seed[ ( j = matchIndexes[ i ] ) ] ) { 1145 seed[ j ] = !( matches[ j ] = seed[ j ] ); 1146 } 1147 } 1148 } ); 1149 } ); 1150} 1151 1152/** 1153 * Checks a node for validity as a jQuery selector context 1154 * @param {Element|Object=} context 1155 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value 1156 */ 1157function testContext( context ) { 1158 return context && typeof context.getElementsByTagName !== "undefined" && context; 1159} 1160 1161/** 1162 * Sets document-related variables once based on the current document 1163 * @param {Element|Object} [node] An element or document object to use to set the document 1164 * @returns {Object} Returns the current document 1165 */ 1166function setDocument( node ) { 1167 var subWindow, 1168 doc = node ? node.ownerDocument || node : preferredDoc; 1169 1170 // Return early if doc is invalid or already selected 1171 // Support: IE 11+, Edge 17 - 18+ 1172 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1173 // two documents; shallow comparisons work. 1174 // eslint-disable-next-line eqeqeq 1175 if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { 1176 return document; 1177 } 1178 1179 // Update global variables 1180 document = doc; 1181 documentElement = document.documentElement; 1182 documentIsHTML = !jQuery.isXMLDoc( document ); 1183 1184 // Support: iOS 7 only, IE 9 - 11+ 1185 // Older browsers didn't support unprefixed `matches`. 1186 matches = documentElement.matches || 1187 documentElement.webkitMatchesSelector ||
vendor: 4,667 bytes, lines 1188-1339
1188 documentElement.msMatchesSelector; 1189 1190 // Support: IE 9 - 11+, Edge 12 - 18+ 1191 // Accessing iframe documents after unload throws "permission denied" errors 1192 // (see trac-13936). 1193 // Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`, 1194 // all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well. 1195 if ( documentElement.msMatchesSelector && 1196 1197 // Support: IE 11+, Edge 17 - 18+ 1198 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1199 // two documents; shallow comparisons work. 1200 // eslint-disable-next-line eqeqeq 1201 preferredDoc != document && 1202 ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { 1203 1204 // Support: IE 9 - 11+, Edge 12 - 18+ 1205 subWindow.addEventListener( "unload", unloadHandler ); 1206 } 1207 1208 // Support: IE <10 1209 // Check if getElementById returns elements by name 1210 // The broken getElementById methods don't pick up programmatically-set names, 1211 // so use a roundabout getElementsByName test 1212 support.getById = assert( function( el ) { 1213 documentElement.appendChild( el ).id = jQuery.expando; 1214 return !document.getElementsByName || 1215 !document.getElementsByName( jQuery.expando ).length; 1216 } ); 1217 1218 // Support: IE 9 only 1219 // Check to see if it's possible to do matchesSelector 1220 // on a disconnected node. 1221 support.disconnectedMatch = assert( function( el ) { 1222 return matches.call( el, "*" ); 1223 } ); 1224 1225 // Support: IE 9 - 11+, Edge 12 - 18+ 1226 // IE/Edge don't support the :scope pseudo-class. 1227 support.scope = assert( function() { 1228 return document.querySelectorAll( ":scope" ); 1229 } ); 1230 1231 // Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only 1232 // Make sure the `:has()` argument is parsed unforgivingly. 1233 // We include `*` in the test to detect buggy implementations that are 1234 // _selectively_ forgiving (specifically when the list includes at least 1235 // one valid selector). 1236 // Note that we treat complete lack of support for `:has()` as if it were 1237 // spec-compliant support, which is fine because use of `:has()` in such 1238 // environments will fail in the qSA path and fall back to jQuery traversal 1239 // anyway. 1240 support.cssHas = assert( function() { 1241 try { 1242 document.querySelector( ":has(*,:jqfake)" ); 1243 return false; 1244 } catch ( e ) { 1245 return true; 1246 } 1247 } ); 1248 1249 // ID filter and find 1250 if ( support.getById ) { 1251 Expr.filter.ID = function( id ) { 1252 var attrId = id.replace( runescape, funescape ); 1253 return function( elem ) { 1254 return elem.getAttribute( "id" ) === attrId; 1255 }; 1256 }; 1257 Expr.find.ID = function( id, context ) { 1258 if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { 1259 var elem = context.getElementById( id ); 1260 return elem ? [ elem ] : []; 1261 } 1262 }; 1263 } else { 1264 Expr.filter.ID = function( id ) { 1265 var attrId = id.replace( runescape, funescape ); 1266 return function( elem ) { 1267 var node = typeof elem.getAttributeNode !== "undefined" && 1268 elem.getAttributeNode( "id" ); 1269 return node && node.value === attrId; 1270 }; 1271 }; 1272 1273 // Support: IE 6 - 7 only 1274 // getElementById is not reliable as a find shortcut 1275 Expr.find.ID = function( id, context ) { 1276 if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { 1277 var node, i, elems, 1278 elem = context.getElementById( id ); 1279 1280 if ( elem ) { 1281 1282 // Verify the id attribute 1283 node = elem.getAttributeNode( "id" ); 1284 if ( node && node.value === id ) { 1285 return [ elem ]; 1286 } 1287 1288 // Fall back on getElementsByName 1289 elems = context.getElementsByName( id ); 1290 i = 0; 1291 while ( ( elem = elems[ i++ ] ) ) { 1292 node = elem.getAttributeNode( "id" ); 1293 if ( node && node.value === id ) { 1294 return [ elem ]; 1295 } 1296 } 1297 } 1298 1299 return []; 1300 } 1301 }; 1302 } 1303 1304 // Tag 1305 Expr.find.TAG = function( tag, context ) { 1306 if ( typeof context.getElementsByTagName !== "undefined" ) { 1307 return context.getElementsByTagName( tag ); 1308 1309 // DocumentFragment nodes don't have gEBTN 1310 } else { 1311 return context.querySelectorAll( tag ); 1312 } 1313 }; 1314 1315 // Class 1316 Expr.find.CLASS = function( className, context ) { 1317 if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { 1318 return context.getElementsByClassName( className ); 1319 } 1320 }; 1321 1322 /* QSA/matchesSelector 1323 ---------------------------------------------------------------------- */ 1324 1325 // QSA and matchesSelector support 1326 1327 rbuggyQSA = []; 1328 1329 // Build QSA regex 1330 // Regex strategy adopted from Diego Perini 1331 assert( function( el ) { 1332 1333 var input; 1334 1335 documentElement.appendChild( el ).innerHTML = 1336 "<a id='" + expando + "' href='' disabled='disabled'></a>" + 1337 "<select id='" + expando + "-\r\\' disabled='disabled'>" + 1338 "<option selected=''></option></select>"; 1339
vendor: 38,614 bytes, lines 1340-2711
1340 // Support: iOS <=7 - 8 only 1341 // Boolean attributes and "value" are not treated correctly in some XML documents 1342 if ( !el.querySelectorAll( "[selected]" ).length ) { 1343 rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); 1344 } 1345 1346 // Support: iOS <=7 - 8 only 1347 if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { 1348 rbuggyQSA.push( "~=" ); 1349 } 1350 1351 // Support: iOS 8 only 1352 // https://bugs.webkit.org/show_bug.cgi?id=136851 1353 // In-page `selector#id sibling-combinator selector` fails 1354 if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { 1355 rbuggyQSA.push( ".#.+[+~]" ); 1356 } 1357 1358 // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+ 1359 // In some of the document kinds, these selectors wouldn't work natively. 1360 // This is probably OK but for backwards compatibility we want to maintain 1361 // handling them through jQuery traversal in jQuery 3.x. 1362 if ( !el.querySelectorAll( ":checked" ).length ) { 1363 rbuggyQSA.push( ":checked" ); 1364 } 1365 1366 // Support: Windows 8 Native Apps 1367 // The type and name attributes are restricted during .innerHTML assignment 1368 input = document.createElement( "input" ); 1369 input.setAttribute( "type", "hidden" ); 1370 el.appendChild( input ).setAttribute( "name", "D" ); 1371 1372 // Support: IE 9 - 11+ 1373 // IE's :disabled selector does not pick up the children of disabled fieldsets 1374 // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+ 1375 // In some of the document kinds, these selectors wouldn't work natively. 1376 // This is probably OK but for backwards compatibility we want to maintain 1377 // handling them through jQuery traversal in jQuery 3.x. 1378 documentElement.appendChild( el ).disabled = true; 1379 if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { 1380 rbuggyQSA.push( ":enabled", ":disabled" ); 1381 } 1382 1383 // Support: IE 11+, Edge 15 - 18+ 1384 // IE 11/Edge don't find elements on a `[name='']` query in some cases. 1385 // Adding a temporary attribute to the document before the selection works 1386 // around the issue. 1387 // Interestingly, IE 10 & older don't seem to have the issue. 1388 input = document.createElement( "input" ); 1389 input.setAttribute( "name", "" ); 1390 el.appendChild( input ); 1391 if ( !el.querySelectorAll( "[name='']" ).length ) { 1392 rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + 1393 whitespace + "*(?:''|\"\")" ); 1394 } 1395 } ); 1396 1397 if ( !support.cssHas ) { 1398 1399 // Support: Chrome 105 - 110+, Safari 15.4 - 16.3+ 1400 // Our regular `try-catch` mechanism fails to detect natively-unsupported 1401 // pseudo-classes inside `:has()` (such as `:has(:contains("Foo"))`) 1402 // in browsers that parse the `:has()` argument as a forgiving selector list. 1403 // https://drafts.csswg.org/selectors/#relational now requires the argument 1404 // to be parsed unforgivingly, but browsers have not yet fully adjusted. 1405 rbuggyQSA.push( ":has" ); 1406 } 1407 1408 rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); 1409 1410 /* Sorting 1411 ---------------------------------------------------------------------- */ 1412 1413 // Document order sorting 1414 sortOrder = function( a, b ) { 1415 1416 // Flag for duplicate removal 1417 if ( a === b ) { 1418 hasDuplicate = true; 1419 return 0; 1420 } 1421 1422 // Sort on method existence if only one input has compareDocumentPosition 1423 var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; 1424 if ( compare ) { 1425 return compare; 1426 } 1427 1428 // Calculate position if both inputs belong to the same document 1429 // Support: IE 11+, Edge 17 - 18+ 1430 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1431 // two documents; shallow comparisons work. 1432 // eslint-disable-next-line eqeqeq 1433 compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? 1434 a.compareDocumentPosition( b ) : 1435 1436 // Otherwise we know they are disconnected 1437 1; 1438 1439 // Disconnected nodes 1440 if ( compare & 1 || 1441 ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { 1442 1443 // Choose the first element that is related to our preferred document 1444 // Support: IE 11+, Edge 17 - 18+ 1445 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1446 // two documents; shallow comparisons work. 1447 // eslint-disable-next-line eqeqeq 1448 if ( a === document || a.ownerDocument == preferredDoc && 1449 find.contains( preferredDoc, a ) ) { 1450 return -1; 1451 } 1452 1453 // Support: IE 11+, Edge 17 - 18+ 1454 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1455 // two documents; shallow comparisons work. 1456 // eslint-disable-next-line eqeqeq 1457 if ( b === document || b.ownerDocument == preferredDoc && 1458 find.contains( preferredDoc, b ) ) { 1459 return 1; 1460 } 1461 1462 // Maintain original order 1463 return sortInput ? 1464 ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : 1465 0; 1466 } 1467 1468 return compare & 4 ? -1 : 1; 1469 }; 1470 1471 return document; 1472} 1473 1474find.matches = function( expr, elements ) { 1475 return find( expr, null, null, elements ); 1476}; 1477 1478find.matchesSelector = function( elem, expr ) { 1479 setDocument( elem ); 1480 1481 if ( documentIsHTML && 1482 !nonnativeSelectorCache[ expr + " " ] && 1483 ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { 1484 1485 try { 1486 var ret = matches.call( elem, expr ); 1487 1488 // IE 9's matchesSelector returns false on disconnected nodes 1489 if ( ret || support.disconnectedMatch || 1490 1491 // As well, disconnected nodes are said to be in a document 1492 // fragment in IE 9 1493 elem.document && elem.document.nodeType !== 11 ) { 1494 return ret; 1495 } 1496 } catch ( e ) { 1497 nonnativeSelectorCache( expr, true ); 1498 } 1499 } 1500 1501 return find( expr, document, null, [ elem ] ).length > 0; 1502}; 1503 1504find.contains = function( context, elem ) { 1505 1506 // Set document vars if needed 1507 // Support: IE 11+, Edge 17 - 18+ 1508 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1509 // two documents; shallow comparisons work. 1510 // eslint-disable-next-line eqeqeq 1511 if ( ( context.ownerDocument || context ) != document ) { 1512 setDocument( context ); 1513 } 1514 return jQuery.contains( context, elem ); 1515}; 1516 1517 1518find.attr = function( elem, name ) { 1519 1520 // Set document vars if needed 1521 // Support: IE 11+, Edge 17 - 18+ 1522 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1523 // two documents; shallow comparisons work. 1524 // eslint-disable-next-line eqeqeq 1525 if ( ( elem.ownerDocument || elem ) != document ) { 1526 setDocument( elem ); 1527 } 1528 1529 var fn = Expr.attrHandle[ name.toLowerCase() ], 1530 1531 // Don't get fooled by Object.prototype properties (see trac-13807) 1532 val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? 1533 fn( elem, name, !documentIsHTML ) : 1534 undefined; 1535 1536 if ( val !== undefined ) { 1537 return val; 1538 } 1539 1540 return elem.getAttribute( name ); 1541}; 1542 1543find.error = function( msg ) { 1544 throw new Error( "Syntax error, unrecognized expression: " + msg ); 1545}; 1546 1547/** 1548 * Document sorting and removing duplicates 1549 * @param {ArrayLike} results 1550 */ 1551jQuery.uniqueSort = function( results ) { 1552 var elem, 1553 duplicates = [], 1554 j = 0, 1555 i = 0; 1556 1557 // Unless we *know* we can detect duplicates, assume their presence 1558 // 1559 // Support: Android <=4.0+ 1560 // Testing for detecting duplicates is unpredictable so instead assume we can't 1561 // depend on duplicate detection in all browsers without a stable sort. 1562 hasDuplicate = !support.sortStable; 1563 sortInput = !support.sortStable && slice.call( results, 0 ); 1564 sort.call( results, sortOrder ); 1565 1566 if ( hasDuplicate ) { 1567 while ( ( elem = results[ i++ ] ) ) { 1568 if ( elem === results[ i ] ) { 1569 j = duplicates.push( i ); 1570 } 1571 } 1572 while ( j-- ) { 1573 splice.call( results, duplicates[ j ], 1 ); 1574 } 1575 } 1576 1577 // Clear input after sorting to release objects 1578 // See https://github.com/jquery/sizzle/pull/225 1579 sortInput = null; 1580 1581 return results; 1582}; 1583 1584jQuery.fn.uniqueSort = function() { 1585 return this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) ); 1586}; 1587 1588Expr = jQuery.expr = { 1589 1590 // Can be adjusted by the user 1591 cacheLength: 50, 1592 1593 createPseudo: markFunction, 1594 1595 match: matchExpr, 1596 1597 attrHandle: {}, 1598 1599 find: {}, 1600 1601 relative: { 1602 ">": { dir: "parentNode", first: true }, 1603 " ": { dir: "parentNode" }, 1604 "+": { dir: "previousSibling", first: true }, 1605 "~": { dir: "previousSibling" } 1606 }, 1607 1608 preFilter: { 1609 ATTR: function( match ) { 1610 match[ 1 ] = match[ 1 ].replace( runescape, funescape ); 1611 1612 // Move the given value to match[3] whether quoted or unquoted 1613 match[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || "" ) 1614 .replace( runescape, funescape ); 1615 1616 if ( match[ 2 ] === "~=" ) { 1617 match[ 3 ] = " " + match[ 3 ] + " "; 1618 } 1619 1620 return match.slice( 0, 4 ); 1621 }, 1622 1623 CHILD: function( match ) { 1624 1625 /* matches from matchExpr["CHILD"] 1626 1 type (only|nth|...) 1627 2 what (child|of-type) 1628 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) 1629 4 xn-component of xn+y argument ([+-]?\d*n|) 1630 5 sign of xn-component 1631 6 x of xn-component 1632 7 sign of y-component 1633 8 y of y-component 1634 */ 1635 match[ 1 ] = match[ 1 ].toLowerCase(); 1636 1637 if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { 1638 1639 // nth-* requires argument 1640 if ( !match[ 3 ] ) { 1641 find.error( match[ 0 ] ); 1642 } 1643 1644 // numeric x and y parameters for Expr.filter.CHILD 1645 // remember that false/true cast respectively to 0/1 1646 match[ 4 ] = +( match[ 4 ] ? 1647 match[ 5 ] + ( match[ 6 ] || 1 ) : 1648 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) 1649 ); 1650 match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); 1651 1652 // other types prohibit arguments 1653 } else if ( match[ 3 ] ) { 1654 find.error( match[ 0 ] ); 1655 } 1656 1657 return match; 1658 }, 1659 1660 PSEUDO: function( match ) { 1661 var excess, 1662 unquoted = !match[ 6 ] && match[ 2 ]; 1663 1664 if ( matchExpr.CHILD.test( match[ 0 ] ) ) { 1665 return null; 1666 } 1667 1668 // Accept quoted arguments as-is 1669 if ( match[ 3 ] ) { 1670 match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; 1671 1672 // Strip excess characters from unquoted arguments 1673 } else if ( unquoted && rpseudo.test( unquoted ) && 1674 1675 // Get excess from tokenize (recursively) 1676 ( excess = tokenize( unquoted, true ) ) && 1677 1678 // advance to the next closing parenthesis 1679 ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { 1680 1681 // excess is a negative index 1682 match[ 0 ] = match[ 0 ].slice( 0, excess ); 1683 match[ 2 ] = unquoted.slice( 0, excess ); 1684 } 1685 1686 // Return only captures needed by the pseudo filter method (type and argument) 1687 return match.slice( 0, 3 ); 1688 } 1689 }, 1690 1691 filter: { 1692 1693 TAG: function( nodeNameSelector ) { 1694 var expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); 1695 return nodeNameSelector === "*" ? 1696 function() { 1697 return true; 1698 } : 1699 function( elem ) { 1700 return nodeName( elem, expectedNodeName ); 1701 }; 1702 }, 1703 1704 CLASS: function( className ) { 1705 var pattern = classCache[ className + " " ]; 1706 1707 return pattern || 1708 ( pattern = new RegExp( "(^|" + whitespace + ")" + className + 1709 "(" + whitespace + "|$)" ) ) && 1710 classCache( className, function( elem ) { 1711 return pattern.test( 1712 typeof elem.className === "string" && elem.className || 1713 typeof elem.getAttribute !== "undefined" && 1714 elem.getAttribute( "class" ) || 1715 "" 1716 ); 1717 } ); 1718 }, 1719 1720 ATTR: function( name, operator, check ) { 1721 return function( elem ) { 1722 var result = find.attr( elem, name ); 1723 1724 if ( result == null ) { 1725 return operator === "!="; 1726 } 1727 if ( !operator ) { 1728 return true; 1729 } 1730 1731 result += ""; 1732 1733 if ( operator === "=" ) { 1734 return result === check; 1735 } 1736 if ( operator === "!=" ) { 1737 return result !== check; 1738 } 1739 if ( operator === "^=" ) { 1740 return check && result.indexOf( check ) === 0; 1741 } 1742 if ( operator === "*=" ) { 1743 return check && result.indexOf( check ) > -1; 1744 } 1745 if ( operator === "$=" ) { 1746 return check && result.slice( -check.length ) === check; 1747 } 1748 if ( operator === "~=" ) { 1749 return ( " " + result.replace( rwhitespace, " " ) + " " ) 1750 .indexOf( check ) > -1; 1751 } 1752 if ( operator === "|=" ) { 1753 return result === check || result.slice( 0, check.length + 1 ) === check + "-"; 1754 } 1755 1756 return false; 1757 }; 1758 }, 1759 1760 CHILD: function( type, what, _argument, first, last ) { 1761 var simple = type.slice( 0, 3 ) !== "nth", 1762 forward = type.slice( -4 ) !== "last", 1763 ofType = what === "of-type"; 1764 1765 return first === 1 && last === 0 ? 1766 1767 // Shortcut for :nth-*(n) 1768 function( elem ) { 1769 return !!elem.parentNode; 1770 } : 1771 1772 function( elem, _context, xml ) { 1773 var cache, outerCache, node, nodeIndex, start, 1774 dir = simple !== forward ? "nextSibling" : "previousSibling", 1775 parent = elem.parentNode, 1776 name = ofType && elem.nodeName.toLowerCase(), 1777 useCache = !xml && !ofType, 1778 diff = false; 1779 1780 if ( parent ) { 1781 1782 // :(first|last|only)-(child|of-type) 1783 if ( simple ) { 1784 while ( dir ) { 1785 node = elem; 1786 while ( ( node = node[ dir ] ) ) { 1787 if ( ofType ? 1788 nodeName( node, name ) : 1789 node.nodeType === 1 ) { 1790 1791 return false; 1792 } 1793 } 1794 1795 // Reverse direction for :only-* (if we haven't yet done so) 1796 start = dir = type === "only" && !start && "nextSibling"; 1797 } 1798 return true; 1799 } 1800 1801 start = [ forward ? parent.firstChild : parent.lastChild ]; 1802 1803 // non-xml :nth-child(...) stores cache data on `parent` 1804 if ( forward && useCache ) { 1805 1806 // Seek `elem` from a previously-cached index 1807 outerCache = parent[ expando ] || ( parent[ expando ] = {} ); 1808 cache = outerCache[ type ] || []; 1809 nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; 1810 diff = nodeIndex && cache[ 2 ]; 1811 node = nodeIndex && parent.childNodes[ nodeIndex ]; 1812 1813 while ( ( node = ++nodeIndex && node && node[ dir ] || 1814 1815 // Fallback to seeking `elem` from the start 1816 ( diff = nodeIndex = 0 ) || start.pop() ) ) { 1817 1818 // When found, cache indexes on `parent` and break 1819 if ( node.nodeType === 1 && ++diff && node === elem ) { 1820 outerCache[ type ] = [ dirruns, nodeIndex, diff ]; 1821 break; 1822 } 1823 } 1824 1825 } else { 1826 1827 // Use previously-cached element index if available 1828 if ( useCache ) { 1829 outerCache = elem[ expando ] || ( elem[ expando ] = {} ); 1830 cache = outerCache[ type ] || []; 1831 nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; 1832 diff = nodeIndex; 1833 } 1834 1835 // xml :nth-child(...) 1836 // or :nth-last-child(...) or :nth(-last)?-of-type(...) 1837 if ( diff === false ) { 1838 1839 // Use the same loop as above to seek `elem` from the start 1840 while ( ( node = ++nodeIndex && node && node[ dir ] || 1841 ( diff = nodeIndex = 0 ) || start.pop() ) ) { 1842 1843 if ( ( ofType ? 1844 nodeName( node, name ) : 1845 node.nodeType === 1 ) && 1846 ++diff ) { 1847 1848 // Cache the index of each encountered element 1849 if ( useCache ) { 1850 outerCache = node[ expando ] || 1851 ( node[ expando ] = {} ); 1852 outerCache[ type ] = [ dirruns, diff ]; 1853 } 1854 1855 if ( node === elem ) { 1856 break; 1857 } 1858 } 1859 } 1860 } 1861 } 1862 1863 // Incorporate the offset, then check against cycle size 1864 diff -= last; 1865 return diff === first || ( diff % first === 0 && diff / first >= 0 ); 1866 } 1867 }; 1868 }, 1869 1870 PSEUDO: function( pseudo, argument ) { 1871 1872 // pseudo-class names are case-insensitive 1873 // https://www.w3.org/TR/selectors/#pseudo-classes 1874 // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters 1875 // Remember that setFilters inherits from pseudos 1876 var args, 1877 fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || 1878 find.error( "unsupported pseudo: " + pseudo ); 1879 1880 // The user may use createPseudo to indicate that 1881 // arguments are needed to create the filter function 1882 // just as jQuery does 1883 if ( fn[ expando ] ) { 1884 return fn( argument ); 1885 } 1886 1887 // But maintain support for old signatures 1888 if ( fn.length > 1 ) { 1889 args = [ pseudo, pseudo, "", argument ]; 1890 return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? 1891 markFunction( function( seed, matches ) { 1892 var idx, 1893 matched = fn( seed, argument ), 1894 i = matched.length; 1895 while ( i-- ) { 1896 idx = indexOf.call( seed, matched[ i ] ); 1897 seed[ idx ] = !( matches[ idx ] = matched[ i ] ); 1898 } 1899 } ) : 1900 function( elem ) { 1901 return fn( elem, 0, args ); 1902 }; 1903 } 1904 1905 return fn; 1906 } 1907 }, 1908 1909 pseudos: { 1910 1911 // Potentially complex pseudos 1912 not: markFunction( function( selector ) { 1913 1914 // Trim the selector passed to compile 1915 // to avoid treating leading and trailing 1916 // spaces as combinators 1917 var input = [], 1918 results = [], 1919 matcher = compile( selector.replace( rtrimCSS, "$1" ) ); 1920 1921 return matcher[ expando ] ? 1922 markFunction( function( seed, matches, _context, xml ) { 1923 var elem, 1924 unmatched = matcher( seed, null, xml, [] ), 1925 i = seed.length; 1926 1927 // Match elements unmatched by `matcher` 1928 while ( i-- ) { 1929 if ( ( elem = unmatched[ i ] ) ) { 1930 seed[ i ] = !( matches[ i ] = elem ); 1931 } 1932 } 1933 } ) : 1934 function( elem, _context, xml ) { 1935 input[ 0 ] = elem; 1936 matcher( input, null, xml, results ); 1937 1938 // Don't keep the element 1939 // (see https://github.com/jquery/sizzle/issues/299) 1940 input[ 0 ] = null; 1941 return !results.pop(); 1942 }; 1943 } ), 1944 1945 has: markFunction( function( selector ) { 1946 return function( elem ) { 1947 return find( selector, elem ).length > 0; 1948 }; 1949 } ), 1950 1951 contains: markFunction( function( text ) { 1952 text = text.replace( runescape, funescape ); 1953 return function( elem ) { 1954 return ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1; 1955 }; 1956 } ), 1957 1958 // "Whether an element is represented by a :lang() selector 1959 // is based solely on the element's language value 1960 // being equal to the identifier C, 1961 // or beginning with the identifier C immediately followed by "-". 1962 // The matching of C against the element's language value is performed case-insensitively. 1963 // The identifier C does not have to be a valid language name." 1964 // https://www.w3.org/TR/selectors/#lang-pseudo 1965 lang: markFunction( function( lang ) { 1966 1967 // lang value must be a valid identifier 1968 if ( !ridentifier.test( lang || "" ) ) { 1969 find.error( "unsupported lang: " + lang ); 1970 } 1971 lang = lang.replace( runescape, funescape ).toLowerCase(); 1972 return function( elem ) { 1973 var elemLang; 1974 do { 1975 if ( ( elemLang = documentIsHTML ? 1976 elem.lang : 1977 elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { 1978 1979 elemLang = elemLang.toLowerCase(); 1980 return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; 1981 } 1982 } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); 1983 return false; 1984 }; 1985 } ), 1986 1987 // Miscellaneous 1988 target: function( elem ) { 1989 var hash = window.location && window.location.hash; 1990 return hash && hash.slice( 1 ) === elem.id; 1991 }, 1992 1993 root: function( elem ) { 1994 return elem === documentElement; 1995 }, 1996 1997 focus: function( elem ) { 1998 return elem === safeActiveElement() && 1999 document.hasFocus() && 2000 !!( elem.type || elem.href || ~elem.tabIndex ); 2001 }, 2002 2003 // Boolean properties 2004 enabled: createDisabledPseudo( false ), 2005 disabled: createDisabledPseudo( true ), 2006 2007 checked: function( elem ) { 2008 2009 // In CSS3, :checked should return both checked and selected elements 2010 // https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked 2011 return ( nodeName( elem, "input" ) && !!elem.checked ) || 2012 ( nodeName( elem, "option" ) && !!elem.selected ); 2013 }, 2014 2015 selected: function( elem ) { 2016 2017 // Support: IE <=11+ 2018 // Accessing the selectedIndex property 2019 // forces the browser to treat the default option as 2020 // selected when in an optgroup. 2021 if ( elem.parentNode ) { 2022 // eslint-disable-next-line no-unused-expressions 2023 elem.parentNode.selectedIndex; 2024 } 2025 2026 return elem.selected === true; 2027 }, 2028 2029 // Contents 2030 empty: function( elem ) { 2031 2032 // https://www.w3.org/TR/selectors/#empty-pseudo 2033 // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), 2034 // but not by others (comment: 8; processing instruction: 7; etc.) 2035 // nodeType < 6 works because attributes (2) do not appear as children 2036 for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { 2037 if ( elem.nodeType < 6 ) { 2038 return false; 2039 } 2040 } 2041 return true; 2042 }, 2043 2044 parent: function( elem ) { 2045 return !Expr.pseudos.empty( elem ); 2046 }, 2047 2048 // Element/input types 2049 header: function( elem ) { 2050 return rheader.test( elem.nodeName ); 2051 }, 2052 2053 input: function( elem ) { 2054 return rinputs.test( elem.nodeName ); 2055 }, 2056 2057 button: function( elem ) { 2058 return nodeName( elem, "input" ) && elem.type === "button" || 2059 nodeName( elem, "button" ); 2060 }, 2061 2062 text: function( elem ) { 2063 var attr; 2064 return nodeName( elem, "input" ) && elem.type === "text" && 2065 2066 // Support: IE <10 only 2067 // New HTML5 attribute values (e.g., "search") appear 2068 // with elem.type === "text" 2069 ( ( attr = elem.getAttribute( "type" ) ) == null || 2070 attr.toLowerCase() === "text" ); 2071 }, 2072 2073 // Position-in-collection 2074 first: createPositionalPseudo( function() { 2075 return [ 0 ]; 2076 } ), 2077 2078 last: createPositionalPseudo( function( _matchIndexes, length ) { 2079 return [ length - 1 ]; 2080 } ), 2081 2082 eq: createPositionalPseudo( function( _matchIndexes, length, argument ) { 2083 return [ argument < 0 ? argument + length : argument ]; 2084 } ), 2085 2086 even: createPositionalPseudo( function( matchIndexes, length ) { 2087 var i = 0; 2088 for ( ; i < length; i += 2 ) { 2089 matchIndexes.push( i ); 2090 } 2091 return matchIndexes; 2092 } ), 2093 2094 odd: createPositionalPseudo( function( matchIndexes, length ) { 2095 var i = 1; 2096 for ( ; i < length; i += 2 ) { 2097 matchIndexes.push( i ); 2098 } 2099 return matchIndexes; 2100 } ), 2101 2102 lt: createPositionalPseudo( function( matchIndexes, length, argument ) { 2103 var i; 2104 2105 if ( argument < 0 ) { 2106 i = argument + length; 2107 } else if ( argument > length ) { 2108 i = length; 2109 } else { 2110 i = argument; 2111 } 2112 2113 for ( ; --i >= 0; ) { 2114 matchIndexes.push( i ); 2115 } 2116 return matchIndexes; 2117 } ), 2118 2119 gt: createPositionalPseudo( function( matchIndexes, length, argument ) { 2120 var i = argument < 0 ? argument + length : argument; 2121 for ( ; ++i < length; ) { 2122 matchIndexes.push( i ); 2123 } 2124 return matchIndexes; 2125 } ) 2126 } 2127}; 2128 2129Expr.pseudos.nth = Expr.pseudos.eq; 2130 2131// Add button/input type pseudos 2132for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { 2133 Expr.pseudos[ i ] = createInputPseudo( i ); 2134} 2135for ( i in { submit: true, reset: true } ) { 2136 Expr.pseudos[ i ] = createButtonPseudo( i ); 2137} 2138 2139// Easy API for creating new setFilters 2140function setFilters() {} 2141setFilters.prototype = Expr.filters = Expr.pseudos; 2142Expr.setFilters = new setFilters(); 2143 2144function tokenize( selector, parseOnly ) { 2145 var matched, match, tokens, type, 2146 soFar, groups, preFilters, 2147 cached = tokenCache[ selector + " " ]; 2148 2149 if ( cached ) { 2150 return parseOnly ? 0 : cached.slice( 0 ); 2151 } 2152 2153 soFar = selector; 2154 groups = []; 2155 preFilters = Expr.preFilter; 2156 2157 while ( soFar ) { 2158 2159 // Comma and first run 2160 if ( !matched || ( match = rcomma.exec( soFar ) ) ) { 2161 if ( match ) { 2162 2163 // Don't consume trailing commas as valid 2164 soFar = soFar.slice( match[ 0 ].length ) || soFar; 2165 } 2166 groups.push( ( tokens = [] ) ); 2167 } 2168 2169 matched = false; 2170 2171 // Combinators 2172 if ( ( match = rleadingCombinator.exec( soFar ) ) ) { 2173 matched = match.shift(); 2174 tokens.push( { 2175 value: matched, 2176 2177 // Cast descendant combinators to space 2178 type: match[ 0 ].replace( rtrimCSS, " " ) 2179 } ); 2180 soFar = soFar.slice( matched.length ); 2181 } 2182 2183 // Filters 2184 for ( type in Expr.filter ) { 2185 if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || 2186 ( match = preFilters[ type ]( match ) ) ) ) { 2187 matched = match.shift(); 2188 tokens.push( { 2189 value: matched, 2190 type: type, 2191 matches: match 2192 } ); 2193 soFar = soFar.slice( matched.length ); 2194 } 2195 } 2196 2197 if ( !matched ) { 2198 break; 2199 } 2200 } 2201 2202 // Return the length of the invalid excess 2203 // if we're just parsing 2204 // Otherwise, throw an error or return tokens 2205 if ( parseOnly ) { 2206 return soFar.length; 2207 } 2208 2209 return soFar ? 2210 find.error( selector ) : 2211 2212 // Cache the tokens 2213 tokenCache( selector, groups ).slice( 0 ); 2214} 2215 2216function toSelector( tokens ) { 2217 var i = 0, 2218 len = tokens.length, 2219 selector = ""; 2220 for ( ; i < len; i++ ) { 2221 selector += tokens[ i ].value; 2222 } 2223 return selector; 2224} 2225 2226function addCombinator( matcher, combinator, base ) { 2227 var dir = combinator.dir, 2228 skip = combinator.next, 2229 key = skip || dir, 2230 checkNonElements = base && key === "parentNode", 2231 doneName = done++; 2232 2233 return combinator.first ? 2234 2235 // Check against closest ancestor/preceding element 2236 function( elem, context, xml ) { 2237 while ( ( elem = elem[ dir ] ) ) { 2238 if ( elem.nodeType === 1 || checkNonElements ) { 2239 return matcher( elem, context, xml ); 2240 } 2241 } 2242 return false; 2243 } : 2244 2245 // Check against all ancestor/preceding elements 2246 function( elem, context, xml ) { 2247 var oldCache, outerCache, 2248 newCache = [ dirruns, doneName ]; 2249 2250 // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching 2251 if ( xml ) { 2252 while ( ( elem = elem[ dir ] ) ) { 2253 if ( elem.nodeType === 1 || checkNonElements ) { 2254 if ( matcher( elem, context, xml ) ) { 2255 return true; 2256 } 2257 } 2258 } 2259 } else { 2260 while ( ( elem = elem[ dir ] ) ) { 2261 if ( elem.nodeType === 1 || checkNonElements ) { 2262 outerCache = elem[ expando ] || ( elem[ expando ] = {} ); 2263 2264 if ( skip && nodeName( elem, skip ) ) { 2265 elem = elem[ dir ] || elem; 2266 } else if ( ( oldCache = outerCache[ key ] ) && 2267 oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { 2268 2269 // Assign to newCache so results back-propagate to previous elements 2270 return ( newCache[ 2 ] = oldCache[ 2 ] ); 2271 } else { 2272 2273 // Reuse newcache so results back-propagate to previous elements 2274 outerCache[ key ] = newCache; 2275 2276 // A match means we're done; a fail means we have to keep checking 2277 if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { 2278 return true; 2279 } 2280 } 2281 } 2282 } 2283 } 2284 return false; 2285 }; 2286} 2287 2288function elementMatcher( matchers ) { 2289 return matchers.length > 1 ? 2290 function( elem, context, xml ) { 2291 var i = matchers.length; 2292 while ( i-- ) { 2293 if ( !matchers[ i ]( elem, context, xml ) ) { 2294 return false; 2295 } 2296 } 2297 return true; 2298 } : 2299 matchers[ 0 ]; 2300} 2301 2302function multipleContexts( selector, contexts, results ) { 2303 var i = 0, 2304 len = contexts.length; 2305 for ( ; i < len; i++ ) { 2306 find( selector, contexts[ i ], results ); 2307 } 2308 return results; 2309} 2310 2311function condense( unmatched, map, filter, context, xml ) { 2312 var elem, 2313 newUnmatched = [], 2314 i = 0, 2315 len = unmatched.length, 2316 mapped = map != null; 2317 2318 for ( ; i < len; i++ ) { 2319 if ( ( elem = unmatched[ i ] ) ) { 2320 if ( !filter || filter( elem, context, xml ) ) { 2321 newUnmatched.push( elem ); 2322 if ( mapped ) { 2323 map.push( i ); 2324 } 2325 } 2326 } 2327 } 2328 2329 return newUnmatched; 2330} 2331 2332function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { 2333 if ( postFilter && !postFilter[ expando ] ) { 2334 postFilter = setMatcher( postFilter ); 2335 } 2336 if ( postFinder && !postFinder[ expando ] ) { 2337 postFinder = setMatcher( postFinder, postSelector ); 2338 } 2339 return markFunction( function( seed, results, context, xml ) { 2340 var temp, i, elem, matcherOut, 2341 preMap = [], 2342 postMap = [], 2343 preexisting = results.length, 2344 2345 // Get initial elements from seed or context 2346 elems = seed || 2347 multipleContexts( selector || "*", 2348 context.nodeType ? [ context ] : context, [] ), 2349 2350 // Prefilter to get matcher input, preserving a map for seed-results synchronization 2351 matcherIn = preFilter && ( seed || !selector ) ? 2352 condense( elems, preMap, preFilter, context, xml ) : 2353 elems; 2354 2355 if ( matcher ) { 2356 2357 // If we have a postFinder, or filtered seed, or non-seed postFilter 2358 // or preexisting results, 2359 matcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ? 2360 2361 // ...intermediate processing is necessary 2362 [] : 2363 2364 // ...otherwise use results directly 2365 results; 2366 2367 // Find primary matches 2368 matcher( matcherIn, matcherOut, context, xml ); 2369 } else { 2370 matcherOut = matcherIn; 2371 } 2372 2373 // Apply postFilter 2374 if ( postFilter ) { 2375 temp = condense( matcherOut, postMap ); 2376 postFilter( temp, [], context, xml ); 2377 2378 // Un-match failing elements by moving them back to matcherIn 2379 i = temp.length; 2380 while ( i-- ) { 2381 if ( ( elem = temp[ i ] ) ) { 2382 matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); 2383 } 2384 } 2385 } 2386 2387 if ( seed ) { 2388 if ( postFinder || preFilter ) { 2389 if ( postFinder ) { 2390 2391 // Get the final matcherOut by condensing this intermediate into postFinder contexts 2392 temp = []; 2393 i = matcherOut.length; 2394 while ( i-- ) { 2395 if ( ( elem = matcherOut[ i ] ) ) { 2396 2397 // Restore matcherIn since elem is not yet a final match 2398 temp.push( ( matcherIn[ i ] = elem ) ); 2399 } 2400 } 2401 postFinder( null, ( matcherOut = [] ), temp, xml ); 2402 } 2403 2404 // Move matched elements from seed to results to keep them synchronized 2405 i = matcherOut.length; 2406 while ( i-- ) { 2407 if ( ( elem = matcherOut[ i ] ) && 2408 ( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) { 2409 2410 seed[ temp ] = !( results[ temp ] = elem ); 2411 } 2412 } 2413 } 2414 2415 // Add elements to results, through postFinder if defined 2416 } else { 2417 matcherOut = condense( 2418 matcherOut === results ? 2419 matcherOut.splice( preexisting, matcherOut.length ) : 2420 matcherOut 2421 ); 2422 if ( postFinder ) { 2423 postFinder( null, results, matcherOut, xml ); 2424 } else { 2425 push.apply( results, matcherOut ); 2426 } 2427 } 2428 } ); 2429} 2430 2431function matcherFromTokens( tokens ) { 2432 var checkContext, matcher, j, 2433 len = tokens.length, 2434 leadingRelative = Expr.relative[ tokens[ 0 ].type ], 2435 implicitRelative = leadingRelative || Expr.relative[ " " ], 2436 i = leadingRelative ? 1 : 0, 2437 2438 // The foundational matcher ensures that elements are reachable from top-level context(s) 2439 matchContext = addCombinator( function( elem ) { 2440 return elem === checkContext; 2441 }, implicitRelative, true ), 2442 matchAnyContext = addCombinator( function( elem ) { 2443 return indexOf.call( checkContext, elem ) > -1; 2444 }, implicitRelative, true ), 2445 matchers = [ function( elem, context, xml ) { 2446 2447 // Support: IE 11+, Edge 17 - 18+ 2448 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 2449 // two documents; shallow comparisons work. 2450 // eslint-disable-next-line eqeqeq 2451 var ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || ( 2452 ( checkContext = context ).nodeType ? 2453 matchContext( elem, context, xml ) : 2454 matchAnyContext( elem, context, xml ) ); 2455 2456 // Avoid hanging onto element 2457 // (see https://github.com/jquery/sizzle/issues/299) 2458 checkContext = null; 2459 return ret; 2460 } ]; 2461 2462 for ( ; i < len; i++ ) { 2463 if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { 2464 matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; 2465 } else { 2466 matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); 2467 2468 // Return special upon seeing a positional matcher 2469 if ( matcher[ expando ] ) { 2470 2471 // Find the next relative operator (if any) for proper handling 2472 j = ++i; 2473 for ( ; j < len; j++ ) { 2474 if ( Expr.relative[ tokens[ j ].type ] ) { 2475 break; 2476 } 2477 } 2478 return setMatcher( 2479 i > 1 && elementMatcher( matchers ), 2480 i > 1 && toSelector( 2481 2482 // If the preceding token was a descendant combinator, insert an implicit any-element `*` 2483 tokens.slice( 0, i - 1 ) 2484 .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) 2485 ).replace( rtrimCSS, "$1" ), 2486 matcher, 2487 i < j && matcherFromTokens( tokens.slice( i, j ) ), 2488 j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), 2489 j < len && toSelector( tokens ) 2490 ); 2491 } 2492 matchers.push( matcher ); 2493 } 2494 } 2495 2496 return elementMatcher( matchers ); 2497} 2498 2499function matcherFromGroupMatchers( elementMatchers, setMatchers ) { 2500 var bySet = setMatchers.length > 0, 2501 byElement = elementMatchers.length > 0, 2502 superMatcher = function( seed, context, xml, results, outermost ) { 2503 var elem, j, matcher, 2504 matchedCount = 0, 2505 i = "0", 2506 unmatched = seed && [], 2507 setMatched = [], 2508 contextBackup = outermostContext, 2509 2510 // We must always have either seed elements or outermost context 2511 elems = seed || byElement && Expr.find.TAG( "*", outermost ), 2512 2513 // Use integer dirruns iff this is the outermost matcher 2514 dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), 2515 len = elems.length; 2516 2517 if ( outermost ) { 2518 2519 // Support: IE 11+, Edge 17 - 18+ 2520 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 2521 // two documents; shallow comparisons work. 2522 // eslint-disable-next-line eqeqeq 2523 outermostContext = context == document || context || outermost; 2524 } 2525 2526 // Add elements passing elementMatchers directly to results 2527 // Support: iOS <=7 - 9 only 2528 // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching 2529 // elements by id. (see trac-14142) 2530 for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { 2531 if ( byElement && elem ) { 2532 j = 0; 2533 2534 // Support: IE 11+, Edge 17 - 18+ 2535 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 2536 // two documents; shallow comparisons work. 2537 // eslint-disable-next-line eqeqeq 2538 if ( !context && elem.ownerDocument != document ) { 2539 setDocument( elem ); 2540 xml = !documentIsHTML; 2541 } 2542 while ( ( matcher = elementMatchers[ j++ ] ) ) { 2543 if ( matcher( elem, context || document, xml ) ) { 2544 push.call( results, elem ); 2545 break; 2546 } 2547 } 2548 if ( outermost ) { 2549 dirruns = dirrunsUnique; 2550 } 2551 } 2552 2553 // Track unmatched elements for set filters 2554 if ( bySet ) { 2555 2556 // They will have gone through all possible matchers 2557 if ( ( elem = !matcher && elem ) ) { 2558 matchedCount--; 2559 } 2560 2561 // Lengthen the array for every element, matched or not 2562 if ( seed ) { 2563 unmatched.push( elem ); 2564 } 2565 } 2566 } 2567 2568 // `i` is now the count of elements visited above, and adding it to `matchedCount` 2569 // makes the latter nonnegative. 2570 matchedCount += i; 2571 2572 // Apply set filters to unmatched elements 2573 // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` 2574 // equals `i`), unless we didn't visit _any_ elements in the above loop because we have 2575 // no element matchers and no seed. 2576 // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that 2577 // case, which will result in a "00" `matchedCount` that differs from `i` but is also 2578 // numerically zero. 2579 if ( bySet && i !== matchedCount ) { 2580 j = 0; 2581 while ( ( matcher = setMatchers[ j++ ] ) ) { 2582 matcher( unmatched, setMatched, context, xml ); 2583 } 2584 2585 if ( seed ) { 2586 2587 // Reintegrate element matches to eliminate the need for sorting 2588 if ( matchedCount > 0 ) { 2589 while ( i-- ) { 2590 if ( !( unmatched[ i ] || setMatched[ i ] ) ) { 2591 setMatched[ i ] = pop.call( results ); 2592 } 2593 } 2594 } 2595 2596 // Discard index placeholder values to get only actual matches 2597 setMatched = condense( setMatched ); 2598 } 2599 2600 // Add matches to results 2601 push.apply( results, setMatched ); 2602 2603 // Seedless set matches succeeding multiple successful matchers stipulate sorting 2604 if ( outermost && !seed && setMatched.length > 0 && 2605 ( matchedCount + setMatchers.length ) > 1 ) { 2606 2607 jQuery.uniqueSort( results ); 2608 } 2609 } 2610 2611 // Override manipulation of globals by nested matchers 2612 if ( outermost ) { 2613 dirruns = dirrunsUnique; 2614 outermostContext = contextBackup; 2615 } 2616 2617 return unmatched; 2618 }; 2619 2620 return bySet ? 2621 markFunction( superMatcher ) : 2622 superMatcher; 2623} 2624 2625function compile( selector, match /* Internal Use Only */ ) { 2626 var i, 2627 setMatchers = [], 2628 elementMatchers = [], 2629 cached = compilerCache[ selector + " " ]; 2630 2631 if ( !cached ) { 2632 2633 // Generate a function of recursive functions that can be used to check each element 2634 if ( !match ) { 2635 match = tokenize( selector ); 2636 } 2637 i = match.length; 2638 while ( i-- ) { 2639 cached = matcherFromTokens( match[ i ] ); 2640 if ( cached[ expando ] ) { 2641 setMatchers.push( cached ); 2642 } else { 2643 elementMatchers.push( cached ); 2644 } 2645 } 2646 2647 // Cache the compiled function 2648 cached = compilerCache( selector, 2649 matcherFromGroupMatchers( elementMatchers, setMatchers ) ); 2650 2651 // Save selector and tokenization 2652 cached.selector = selector; 2653 } 2654 return cached; 2655} 2656 2657/** 2658 * A low-level selection function that works with jQuery's compiled 2659 * selector functions 2660 * @param {String|Function} selector A selector or a pre-compiled 2661 * selector function built with jQuery selector compile 2662 * @param {Element} context 2663 * @param {Array} [results] 2664 * @param {Array} [seed] A set of elements to match against 2665 */ 2666function select( selector, context, results, seed ) { 2667 var i, tokens, token, type, find, 2668 compiled = typeof selector === "function" && selector, 2669 match = !seed && tokenize( ( selector = compiled.selector || selector ) ); 2670 2671 results = results || []; 2672 2673 // Try to minimize operations if there is only one selector in the list and no seed 2674 // (the latter of which guarantees us context) 2675 if ( match.length === 1 ) { 2676 2677 // Reduce context if the leading compound selector is an ID 2678 tokens = match[ 0 ] = match[ 0 ].slice( 0 ); 2679 if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && 2680 context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { 2681 2682 context = ( Expr.find.ID( 2683 token.matches[ 0 ].replace( runescape, funescape ), 2684 context 2685 ) || [] )[ 0 ]; 2686 if ( !context ) { 2687 return results; 2688 2689 // Precompiled matchers will still verify ancestry, so step up a level 2690 } else if ( compiled ) { 2691 context = context.parentNode; 2692 } 2693 2694 selector = selector.slice( tokens.shift().value.length ); 2695 } 2696 2697 // Fetch a seed set for right-to-left matching 2698 i = matchExpr.needsContext.test( selector ) ? 0 : tokens.length; 2699 while ( i-- ) { 2700 token = tokens[ i ]; 2701 2702 // Abort if we hit a combinator 2703 if ( Expr.relative[ ( type = token.type ) ] ) { 2704 break; 2705 } 2706 if ( ( find = Expr.find[ type ] ) ) { 2707 2708 // Search, expanding context for leading sibling combinators 2709 if ( ( seed = find( 2710 token.matches[ 0 ].replace( runescape, funescape ), 2711 rsibling.test( tokens[ 0 ].type ) &&
vendor: 4,497 bytes, lines 2712-2896
2712 testContext( context.parentNode ) || context 2713 ) ) ) { 2714 2715 // If seed is empty or no tokens remain, we can return early 2716 tokens.splice( i, 1 ); 2717 selector = seed.length && toSelector( tokens ); 2718 if ( !selector ) { 2719 push.apply( results, seed ); 2720 return results; 2721 } 2722 2723 break; 2724 } 2725 } 2726 } 2727 } 2728 2729 // Compile and execute a filtering function if one is not provided 2730 // Provide `match` to avoid retokenization if we modified the selector above 2731 ( compiled || compile( selector, match ) )( 2732 seed, 2733 context, 2734 !documentIsHTML, 2735 results, 2736 !context || rsibling.test( selector ) && testContext( context.parentNode ) || context 2737 ); 2738 return results; 2739} 2740 2741// One-time assignments 2742 2743// Support: Android <=4.0 - 4.1+ 2744// Sort stability 2745support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; 2746 2747// Initialize against the default document 2748setDocument(); 2749 2750// Support: Android <=4.0 - 4.1+ 2751// Detached nodes confoundingly follow *each other* 2752support.sortDetached = assert( function( el ) { 2753 2754 // Should return 1, but returns 4 (following) 2755 return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; 2756} ); 2757 2758jQuery.find = find; 2759 2760// Deprecated 2761jQuery.expr[ ":" ] = jQuery.expr.pseudos; 2762jQuery.unique = jQuery.uniqueSort; 2763 2764// These have always been private, but they used to be documented as part of 2765// Sizzle so let's maintain them for now for backwards compatibility purposes. 2766find.compile = compile; 2767find.select = select; 2768find.setDocument = setDocument; 2769find.tokenize = tokenize; 2770 2771find.escape = jQuery.escapeSelector; 2772find.getText = jQuery.text; 2773find.isXML = jQuery.isXMLDoc; 2774find.selectors = jQuery.expr; 2775find.support = jQuery.support; 2776find.uniqueSort = jQuery.uniqueSort; 2777 2778 /* eslint-enable */ 2779 2780} )(); 2781 2782 2783var dir = function( elem, dir, until ) { 2784 var matched = [], 2785 truncate = until !== undefined; 2786 2787 while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 2788 if ( elem.nodeType === 1 ) { 2789 if ( truncate && jQuery( elem ).is( until ) ) { 2790 break; 2791 } 2792 matched.push( elem ); 2793 } 2794 } 2795 return matched; 2796}; 2797 2798 2799var siblings = function( n, elem ) { 2800 var matched = []; 2801 2802 for ( ; n; n = n.nextSibling ) { 2803 if ( n.nodeType === 1 && n !== elem ) { 2804 matched.push( n ); 2805 } 2806 } 2807 2808 return matched; 2809}; 2810 2811 2812var rneedsContext = jQuery.expr.match.needsContext; 2813 2814var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); 2815 2816 2817 2818// Implement the identical functionality for filter and not 2819function winnow( elements, qualifier, not ) { 2820 if ( isFunction( qualifier ) ) { 2821 return jQuery.grep( elements, function( elem, i ) { 2822 return !!qualifier.call( elem, i, elem ) !== not; 2823 } ); 2824 } 2825 2826 // Single element 2827 if ( qualifier.nodeType ) { 2828 return jQuery.grep( elements, function( elem ) { 2829 return ( elem === qualifier ) !== not; 2830 } ); 2831 } 2832 2833 // Arraylike of elements (jQuery, arguments, Array) 2834 if ( typeof qualifier !== "string" ) { 2835 return jQuery.grep( elements, function( elem ) { 2836 return ( indexOf.call( qualifier, elem ) > -1 ) !== not; 2837 } ); 2838 } 2839 2840 // Filtered directly for both simple and complex selectors 2841 return jQuery.filter( qualifier, elements, not ); 2842} 2843 2844jQuery.filter = function( expr, elems, not ) { 2845 var elem = elems[ 0 ]; 2846 2847 if ( not ) { 2848 expr = ":not(" + expr + ")"; 2849 } 2850 2851 if ( elems.length === 1 && elem.nodeType === 1 ) { 2852 return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; 2853 } 2854 2855 return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { 2856 return elem.nodeType === 1; 2857 } ) ); 2858}; 2859 2860jQuery.fn.extend( { 2861 find: function( selector ) { 2862 var i, ret, 2863 len = this.length, 2864 self = this; 2865 2866 if ( typeof selector !== "string" ) { 2867 return this.pushStack( jQuery( selector ).filter( function() { 2868 for ( i = 0; i < len; i++ ) { 2869 if ( jQuery.contains( self[ i ], this ) ) { 2870 return true; 2871 } 2872 } 2873 } ) ); 2874 } 2875 2876 ret = this.pushStack( [] ); 2877 2878 for ( i = 0; i < len; i++ ) { 2879 jQuery.find( selector, self[ i ], ret ); 2880 } 2881 2882 return len > 1 ? jQuery.uniqueSort( ret ) : ret; 2883 }, 2884 filter: function( selector ) { 2885 return this.pushStack( winnow( this, selector || [], false ) ); 2886 }, 2887 not: function( selector ) { 2888 return this.pushStack( winnow( this, selector || [], true ) ); 2889 }, 2890 is: function( selector ) { 2891 return !!winnow( 2892 this, 2893 2894 // If this is a positional/relative selector, check membership in the returned set 2895 // so $("p:first").is("p:last") won't return true for a doc with two "p". 2896 typeof selector === "string" && rneedsContext.test( selector ) ?
vendor: 9,941 bytes, lines 2897-3285
2897 jQuery( selector ) : 2898 selector || [], 2899 false 2900 ).length; 2901 } 2902} ); 2903 2904 2905// Initialize a jQuery object 2906 2907 2908// A central reference to the root jQuery(document) 2909var rootjQuery, 2910 2911 // A simple way to check for HTML strings 2912 // Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521) 2913 // Strict HTML recognition (trac-11290: must start with <) 2914 // Shortcut simple #id case for speed 2915 rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, 2916 2917 init = jQuery.fn.init = function( selector, context, root ) { 2918 var match, elem; 2919 2920 // HANDLE: $(""), $(null), $(undefined), $(false) 2921 if ( !selector ) { 2922 return this; 2923 } 2924 2925 // Method init() accepts an alternate rootjQuery 2926 // so migrate can support jQuery.sub (gh-2101) 2927 root = root || rootjQuery; 2928 2929 // Handle HTML strings 2930 if ( typeof selector === "string" ) { 2931 if ( selector[ 0 ] === "<" && 2932 selector[ selector.length - 1 ] === ">" && 2933 selector.length >= 3 ) { 2934 2935 // Assume that strings that start and end with <> are HTML and skip the regex check 2936 match = [ null, selector, null ]; 2937 2938 } else { 2939 match = rquickExpr.exec( selector ); 2940 } 2941 2942 // Match html or make sure no context is specified for #id 2943 if ( match && ( match[ 1 ] || !context ) ) { 2944 2945 // HANDLE: $(html) -> $(array) 2946 if ( match[ 1 ] ) { 2947 context = context instanceof jQuery ? context[ 0 ] : context; 2948 2949 // Option to run scripts is true for back-compat 2950 // Intentionally let the error be thrown if parseHTML is not present 2951 jQuery.merge( this, jQuery.parseHTML( 2952 match[ 1 ], 2953 context && context.nodeType ? context.ownerDocument || context : document, 2954 true 2955 ) ); 2956 2957 // HANDLE: $(html, props) 2958 if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { 2959 for ( match in context ) { 2960 2961 // Properties of context are called as methods if possible 2962 if ( isFunction( this[ match ] ) ) { 2963 this[ match ]( context[ match ] ); 2964 2965 // ...and otherwise set as attributes 2966 } else { 2967 this.attr( match, context[ match ] ); 2968 } 2969 } 2970 } 2971 2972 return this; 2973 2974 // HANDLE: $(#id) 2975 } else { 2976 elem = document.getElementById( match[ 2 ] ); 2977 2978 if ( elem ) { 2979 2980 // Inject the element directly into the jQuery object 2981 this[ 0 ] = elem; 2982 this.length = 1; 2983 } 2984 return this; 2985 } 2986 2987 // HANDLE: $(expr, $(...)) 2988 } else if ( !context || context.jquery ) { 2989 return ( context || root ).find( selector ); 2990 2991 // HANDLE: $(expr, context) 2992 // (which is just equivalent to: $(context).find(expr) 2993 } else { 2994 return this.constructor( context ).find( selector ); 2995 } 2996 2997 // HANDLE: $(DOMElement) 2998 } else if ( selector.nodeType ) { 2999 this[ 0 ] = selector; 3000 this.length = 1; 3001 return this; 3002 3003 // HANDLE: $(function) 3004 // Shortcut for document ready 3005 } else if ( isFunction( selector ) ) { 3006 return root.ready !== undefined ? 3007 root.ready( selector ) : 3008 3009 // Execute immediately if ready is not present 3010 selector( jQuery ); 3011 } 3012 3013 return jQuery.makeArray( selector, this ); 3014 }; 3015 3016// Give the init function the jQuery prototype for later instantiation 3017init.prototype = jQuery.fn; 3018 3019// Initialize central reference 3020rootjQuery = jQuery( document ); 3021 3022 3023var rparentsprev = /^(?:parents|prev(?:Until|All))/, 3024 3025 // Methods guaranteed to produce a unique set when starting from a unique set 3026 guaranteedUnique = { 3027 children: true, 3028 contents: true, 3029 next: true, 3030 prev: true 3031 }; 3032 3033jQuery.fn.extend( { 3034 has: function( target ) { 3035 var targets = jQuery( target, this ), 3036 l = targets.length; 3037 3038 return this.filter( function() { 3039 var i = 0; 3040 for ( ; i < l; i++ ) { 3041 if ( jQuery.contains( this, targets[ i ] ) ) { 3042 return true; 3043 } 3044 } 3045 } ); 3046 }, 3047 3048 closest: function( selectors, context ) { 3049 var cur, 3050 i = 0, 3051 l = this.length, 3052 matched = [], 3053 targets = typeof selectors !== "string" && jQuery( selectors ); 3054 3055 // Positional selectors never match, since there's no _selection_ context 3056 if ( !rneedsContext.test( selectors ) ) { 3057 for ( ; i < l; i++ ) { 3058 for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { 3059 3060 // Always skip document fragments 3061 if ( cur.nodeType < 11 && ( targets ? 3062 targets.index( cur ) > -1 : 3063 3064 // Don't pass non-elements to jQuery#find 3065 cur.nodeType === 1 && 3066 jQuery.find.matchesSelector( cur, selectors ) ) ) { 3067 3068 matched.push( cur ); 3069 break; 3070 } 3071 } 3072 } 3073 } 3074 3075 return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); 3076 }, 3077 3078 // Determine the position of an element within the set 3079 index: function( elem ) { 3080 3081 // No argument, return index in parent 3082 if ( !elem ) { 3083 return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; 3084 } 3085 3086 // Index in selector 3087 if ( typeof elem === "string" ) { 3088 return indexOf.call( jQuery( elem ), this[ 0 ] ); 3089 } 3090 3091 // Locate the position of the desired element 3092 return indexOf.call( this, 3093 3094 // If it receives a jQuery object, the first element is used 3095 elem.jquery ? elem[ 0 ] : elem 3096 ); 3097 }, 3098 3099 add: function( selector, context ) { 3100 return this.pushStack( 3101 jQuery.uniqueSort( 3102 jQuery.merge( this.get(), jQuery( selector, context ) ) 3103 ) 3104 ); 3105 }, 3106 3107 addBack: function( selector ) { 3108 return this.add( selector == null ? 3109 this.prevObject : this.prevObject.filter( selector ) 3110 ); 3111 } 3112} ); 3113 3114function sibling( cur, dir ) { 3115 while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} 3116 return cur; 3117} 3118 3119jQuery.each( { 3120 parent: function( elem ) { 3121 var parent = elem.parentNode; 3122 return parent && parent.nodeType !== 11 ? parent : null; 3123 }, 3124 parents: function( elem ) { 3125 return dir( elem, "parentNode" ); 3126 }, 3127 parentsUntil: function( elem, _i, until ) { 3128 return dir( elem, "parentNode", until ); 3129 }, 3130 next: function( elem ) { 3131 return sibling( elem, "nextSibling" ); 3132 }, 3133 prev: function( elem ) { 3134 return sibling( elem, "previousSibling" ); 3135 }, 3136 nextAll: function( elem ) { 3137 return dir( elem, "nextSibling" ); 3138 }, 3139 prevAll: function( elem ) { 3140 return dir( elem, "previousSibling" ); 3141 }, 3142 nextUntil: function( elem, _i, until ) { 3143 return dir( elem, "nextSibling", until ); 3144 }, 3145 prevUntil: function( elem, _i, until ) { 3146 return dir( elem, "previousSibling", until ); 3147 }, 3148 siblings: function( elem ) { 3149 return siblings( ( elem.parentNode || {} ).firstChild, elem ); 3150 }, 3151 children: function( elem ) { 3152 return siblings( elem.firstChild ); 3153 }, 3154 contents: function( elem ) { 3155 if ( elem.contentDocument != null && 3156 3157 // Support: IE 11+ 3158 // <object> elements with no `data` attribute has an object 3159 // `contentDocument` with a `null` prototype. 3160 getProto( elem.contentDocument ) ) { 3161 3162 return elem.contentDocument; 3163 } 3164 3165 // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only 3166 // Treat the template element as a regular one in browsers that 3167 // don't support it. 3168 if ( nodeName( elem, "template" ) ) { 3169 elem = elem.content || elem; 3170 } 3171 3172 return jQuery.merge( [], elem.childNodes ); 3173 } 3174}, function( name, fn ) { 3175 jQuery.fn[ name ] = function( until, selector ) { 3176 var matched = jQuery.map( this, fn, until ); 3177 3178 if ( name.slice( -5 ) !== "Until" ) { 3179 selector = until; 3180 } 3181 3182 if ( selector && typeof selector === "string" ) { 3183 matched = jQuery.filter( selector, matched ); 3184 } 3185 3186 if ( this.length > 1 ) { 3187 3188 // Remove duplicates 3189 if ( !guaranteedUnique[ name ] ) { 3190 jQuery.uniqueSort( matched ); 3191 } 3192 3193 // Reverse order for parents* and prev-derivatives 3194 if ( rparentsprev.test( name ) ) { 3195 matched.reverse(); 3196 } 3197 } 3198 3199 return this.pushStack( matched ); 3200 }; 3201} ); 3202var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); 3203 3204 3205 3206// Convert String-formatted options into Object-formatted ones 3207function createOptions( options ) { 3208 var object = {}; 3209 jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { 3210 object[ flag ] = true; 3211 } ); 3212 return object; 3213} 3214 3215/* 3216 * Create a callback list using the following parameters: 3217 * 3218 * options: an optional list of space-separated options that will change how 3219 * the callback list behaves or a more traditional option object 3220 * 3221 * By default a callback list will act like an event callback list and can be 3222 * "fired" multiple times. 3223 * 3224 * Possible options: 3225 * 3226 * once: will ensure the callback list can only be fired once (like a Deferred) 3227 * 3228 * memory: will keep track of previous values and will call any callback added 3229 * after the list has been fired right away with the latest "memorized" 3230 * values (like a Deferred) 3231 * 3232 * unique: will ensure a callback can only be added once (no duplicate in the list) 3233 * 3234 * stopOnFalse: interrupt callings when a callback returns false 3235 * 3236 */ 3237jQuery.Callbacks = function( options ) { 3238 3239 // Convert options from String-formatted to Object-formatted if needed 3240 // (we check in cache first) 3241 options = typeof options === "string" ? 3242 createOptions( options ) : 3243 jQuery.extend( {}, options ); 3244 3245 var // Flag to know if list is currently firing 3246 firing, 3247 3248 // Last fire value for non-forgettable lists 3249 memory, 3250 3251 // Flag to know if list was already fired 3252 fired, 3253 3254 // Flag to prevent firing 3255 locked, 3256 3257 // Actual callback list 3258 list = [], 3259 3260 // Queue of execution data for repeatable lists 3261 queue = [], 3262 3263 // Index of currently firing callback (modified by add/remove as needed) 3264 firingIndex = -1, 3265 3266 // Fire callbacks 3267 fire = function() { 3268 3269 // Enforce single-firing 3270 locked = locked || options.once; 3271 3272 // Execute callbacks for all pending executions, 3273 // respecting firingIndex overrides and runtime changes 3274 fired = firing = true; 3275 for ( ; queue.length; firingIndex = -1 ) { 3276 memory = queue.shift(); 3277 while ( ++firingIndex < list.length ) { 3278 3279 // Run callback and check for early termination 3280 if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && 3281 options.stopOnFalse ) { 3282 3283 // Jump to end and forget the data so .add doesn't re-fire 3284 firingIndex = list.length; 3285 memory = false;
vendor: 4,918 bytes, lines 3286-3495
3286 } 3287 } 3288 } 3289 3290 // Forget the data if we're done with it 3291 if ( !options.memory ) { 3292 memory = false; 3293 } 3294 3295 firing = false; 3296 3297 // Clean up if we're done firing for good 3298 if ( locked ) { 3299 3300 // Keep an empty list if we have data for future add calls 3301 if ( memory ) { 3302 list = []; 3303 3304 // Otherwise, this object is spent 3305 } else { 3306 list = ""; 3307 } 3308 } 3309 }, 3310 3311 // Actual Callbacks object 3312 self = { 3313 3314 // Add a callback or a collection of callbacks to the list 3315 add: function() { 3316 if ( list ) { 3317 3318 // If we have memory from a past run, we should fire after adding 3319 if ( memory && !firing ) { 3320 firingIndex = list.length - 1; 3321 queue.push( memory ); 3322 } 3323 3324 ( function add( args ) { 3325 jQuery.each( args, function( _, arg ) { 3326 if ( isFunction( arg ) ) { 3327 if ( !options.unique || !self.has( arg ) ) { 3328 list.push( arg ); 3329 } 3330 } else if ( arg && arg.length && toType( arg ) !== "string" ) { 3331 3332 // Inspect recursively 3333 add( arg ); 3334 } 3335 } ); 3336 } )( arguments ); 3337 3338 if ( memory && !firing ) { 3339 fire(); 3340 } 3341 } 3342 return this; 3343 }, 3344 3345 // Remove a callback from the list 3346 remove: function() { 3347 jQuery.each( arguments, function( _, arg ) { 3348 var index; 3349 while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { 3350 list.splice( index, 1 ); 3351 3352 // Handle firing indexes 3353 if ( index <= firingIndex ) { 3354 firingIndex--; 3355 } 3356 } 3357 } ); 3358 return this; 3359 }, 3360 3361 // Check if a given callback is in the list. 3362 // If no argument is given, return whether or not list has callbacks attached. 3363 has: function( fn ) { 3364 return fn ? 3365 jQuery.inArray( fn, list ) > -1 : 3366 list.length > 0; 3367 }, 3368 3369 // Remove all callbacks from the list 3370 empty: function() { 3371 if ( list ) { 3372 list = []; 3373 } 3374 return this; 3375 }, 3376 3377 // Disable .fire and .add 3378 // Abort any current/pending executions 3379 // Clear all callbacks and values 3380 disable: function() { 3381 locked = queue = []; 3382 list = memory = ""; 3383 return this; 3384 }, 3385 disabled: function() { 3386 return !list; 3387 }, 3388 3389 // Disable .fire 3390 // Also disable .add unless we have memory (since it would have no effect) 3391 // Abort any pending executions 3392 lock: function() { 3393 locked = queue = []; 3394 if ( !memory && !firing ) { 3395 list = memory = ""; 3396 } 3397 return this; 3398 }, 3399 locked: function() { 3400 return !!locked; 3401 }, 3402 3403 // Call all callbacks with the given context and arguments 3404 fireWith: function( context, args ) { 3405 if ( !locked ) { 3406 args = args || []; 3407 args = [ context, args.slice ? args.slice() : args ]; 3408 queue.push( args ); 3409 if ( !firing ) { 3410 fire(); 3411 } 3412 } 3413 return this; 3414 }, 3415 3416 // Call all the callbacks with the given arguments 3417 fire: function() { 3418 self.fireWith( this, arguments ); 3419 return this; 3420 }, 3421 3422 // To know if the callbacks have already been called at least once 3423 fired: function() { 3424 return !!fired; 3425 } 3426 }; 3427 3428 return self; 3429}; 3430 3431 3432function Identity( v ) { 3433 return v; 3434} 3435function Thrower( ex ) { 3436 throw ex; 3437} 3438 3439function adoptValue( value, resolve, reject, noValue ) { 3440 var method; 3441 3442 try { 3443 3444 // Check for promise aspect first to privilege synchronous behavior 3445 if ( value && isFunction( ( method = value.promise ) ) ) { 3446 method.call( value ).done( resolve ).fail( reject ); 3447 3448 // Other thenables 3449 } else if ( value && isFunction( ( method = value.then ) ) ) { 3450 method.call( value, resolve, reject ); 3451 3452 // Other non-thenables 3453 } else { 3454 3455 // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: 3456 // * false: [ value ].slice( 0 ) => resolve( value ) 3457 // * true: [ value ].slice( 1 ) => resolve() 3458 resolve.apply( undefined, [ value ].slice( noValue ) ); 3459 } 3460 3461 // For Promises/A+, convert exceptions into rejections 3462 // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in 3463 // Deferred#then to conditionally suppress rejection. 3464 } catch ( value ) { 3465 3466 // Support: Android 4.0 only 3467 // Strict mode functions invoked without .call/.apply get global-object context 3468 reject.apply( undefined, [ value ] ); 3469 } 3470} 3471 3472jQuery.extend( { 3473 3474 Deferred: function( func ) { 3475 var tuples = [ 3476 3477 // action, add listener, callbacks, 3478 // ... .then handlers, argument index, [final state] 3479 [ "notify", "progress", jQuery.Callbacks( "memory" ), 3480 jQuery.Callbacks( "memory" ), 2 ], 3481 [ "resolve", "done", jQuery.Callbacks( "once memory" ), 3482 jQuery.Callbacks( "once memory" ), 0, "resolved" ], 3483 [ "reject", "fail", jQuery.Callbacks( "once memory" ), 3484 jQuery.Callbacks( "once memory" ), 1, "rejected" ] 3485 ], 3486 state = "pending", 3487 promise = { 3488 state: function() { 3489 return state; 3490 }, 3491 always: function() { 3492 deferred.done( arguments ).fail( arguments ); 3493 return this; 3494 }, 3495 "catch": function( fn ) {
vendor: 28,472 bytes, lines 3496-4607
3496 return promise.then( null, fn ); 3497 }, 3498 3499 // Keep pipe for back-compat 3500 pipe: function( /* fnDone, fnFail, fnProgress */ ) { 3501 var fns = arguments; 3502 3503 return jQuery.Deferred( function( newDefer ) { 3504 jQuery.each( tuples, function( _i, tuple ) { 3505 3506 // Map tuples (progress, done, fail) to arguments (done, fail, progress) 3507 var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; 3508 3509 // deferred.progress(function() { bind to newDefer or newDefer.notify }) 3510 // deferred.done(function() { bind to newDefer or newDefer.resolve }) 3511 // deferred.fail(function() { bind to newDefer or newDefer.reject }) 3512 deferred[ tuple[ 1 ] ]( function() { 3513 var returned = fn && fn.apply( this, arguments ); 3514 if ( returned && isFunction( returned.promise ) ) { 3515 returned.promise() 3516 .progress( newDefer.notify ) 3517 .done( newDefer.resolve ) 3518 .fail( newDefer.reject ); 3519 } else { 3520 newDefer[ tuple[ 0 ] + "With" ]( 3521 this, 3522 fn ? [ returned ] : arguments 3523 ); 3524 } 3525 } ); 3526 } ); 3527 fns = null; 3528 } ).promise(); 3529 }, 3530 then: function( onFulfilled, onRejected, onProgress ) { 3531 var maxDepth = 0; 3532 function resolve( depth, deferred, handler, special ) { 3533 return function() { 3534 var that = this, 3535 args = arguments, 3536 mightThrow = function() { 3537 var returned, then; 3538 3539 // Support: Promises/A+ section 2.3.3.3.3 3540 // https://promisesaplus.com/#point-59 3541 // Ignore double-resolution attempts 3542 if ( depth < maxDepth ) { 3543 return; 3544 } 3545 3546 returned = handler.apply( that, args ); 3547 3548 // Support: Promises/A+ section 2.3.1 3549 // https://promisesaplus.com/#point-48 3550 if ( returned === deferred.promise() ) { 3551 throw new TypeError( "Thenable self-resolution" ); 3552 } 3553 3554 // Support: Promises/A+ sections 2.3.3.1, 3.5 3555 // https://promisesaplus.com/#point-54 3556 // https://promisesaplus.com/#point-75 3557 // Retrieve `then` only once 3558 then = returned && 3559 3560 // Support: Promises/A+ section 2.3.4 3561 // https://promisesaplus.com/#point-64 3562 // Only check objects and functions for thenability 3563 ( typeof returned === "object" || 3564 typeof returned === "function" ) && 3565 returned.then; 3566 3567 // Handle a returned thenable 3568 if ( isFunction( then ) ) { 3569 3570 // Special processors (notify) just wait for resolution 3571 if ( special ) { 3572 then.call( 3573 returned, 3574 resolve( maxDepth, deferred, Identity, special ), 3575 resolve( maxDepth, deferred, Thrower, special ) 3576 ); 3577 3578 // Normal processors (resolve) also hook into progress 3579 } else { 3580 3581 // ...and disregard older resolution values 3582 maxDepth++; 3583 3584 then.call( 3585 returned, 3586 resolve( maxDepth, deferred, Identity, special ), 3587 resolve( maxDepth, deferred, Thrower, special ), 3588 resolve( maxDepth, deferred, Identity, 3589 deferred.notifyWith ) 3590 ); 3591 } 3592 3593 // Handle all other returned values 3594 } else { 3595 3596 // Only substitute handlers pass on context 3597 // and multiple values (non-spec behavior) 3598 if ( handler !== Identity ) { 3599 that = undefined; 3600 args = [ returned ]; 3601 } 3602 3603 // Process the value(s) 3604 // Default process is resolve 3605 ( special || deferred.resolveWith )( that, args ); 3606 } 3607 }, 3608 3609 // Only normal processors (resolve) catch and reject exceptions 3610 process = special ? 3611 mightThrow : 3612 function() { 3613 try { 3614 mightThrow(); 3615 } catch ( e ) { 3616 3617 if ( jQuery.Deferred.exceptionHook ) { 3618 jQuery.Deferred.exceptionHook( e, 3619 process.error ); 3620 } 3621 3622 // Support: Promises/A+ section 2.3.3.3.4.1 3623 // https://promisesaplus.com/#point-61 3624 // Ignore post-resolution exceptions 3625 if ( depth + 1 >= maxDepth ) { 3626 3627 // Only substitute handlers pass on context 3628 // and multiple values (non-spec behavior) 3629 if ( handler !== Thrower ) { 3630 that = undefined; 3631 args = [ e ]; 3632 } 3633 3634 deferred.rejectWith( that, args ); 3635 } 3636 } 3637 }; 3638 3639 // Support: Promises/A+ section 2.3.3.3.1 3640 // https://promisesaplus.com/#point-57 3641 // Re-resolve promises immediately to dodge false rejection from 3642 // subsequent errors 3643 if ( depth ) { 3644 process(); 3645 } else { 3646 3647 // Call an optional hook to record the error, in case of exception 3648 // since it's otherwise lost when execution goes async 3649 if ( jQuery.Deferred.getErrorHook ) { 3650 process.error = jQuery.Deferred.getErrorHook(); 3651 3652 // The deprecated alias of the above. While the name suggests 3653 // returning the stack, not an error instance, jQuery just passes 3654 // it directly to `console.warn` so both will work; an instance 3655 // just better cooperates with source maps. 3656 } else if ( jQuery.Deferred.getStackHook ) { 3657 process.error = jQuery.Deferred.getStackHook(); 3658 } 3659 window.setTimeout( process ); 3660 } 3661 }; 3662 } 3663 3664 return jQuery.Deferred( function( newDefer ) { 3665 3666 // progress_handlers.add( ... ) 3667 tuples[ 0 ][ 3 ].add( 3668 resolve( 3669 0, 3670 newDefer, 3671 isFunction( onProgress ) ? 3672 onProgress : 3673 Identity, 3674 newDefer.notifyWith 3675 ) 3676 ); 3677 3678 // fulfilled_handlers.add( ... ) 3679 tuples[ 1 ][ 3 ].add( 3680 resolve( 3681 0, 3682 newDefer, 3683 isFunction( onFulfilled ) ? 3684 onFulfilled : 3685 Identity 3686 ) 3687 ); 3688 3689 // rejected_handlers.add( ... ) 3690 tuples[ 2 ][ 3 ].add( 3691 resolve( 3692 0, 3693 newDefer, 3694 isFunction( onRejected ) ? 3695 onRejected : 3696 Thrower 3697 ) 3698 ); 3699 } ).promise(); 3700 }, 3701 3702 // Get a promise for this deferred 3703 // If obj is provided, the promise aspect is added to the object 3704 promise: function( obj ) { 3705 return obj != null ? jQuery.extend( obj, promise ) : promise; 3706 } 3707 }, 3708 deferred = {}; 3709 3710 // Add list-specific methods 3711 jQuery.each( tuples, function( i, tuple ) { 3712 var list = tuple[ 2 ], 3713 stateString = tuple[ 5 ]; 3714 3715 // promise.progress = list.add 3716 // promise.done = list.add 3717 // promise.fail = list.add 3718 promise[ tuple[ 1 ] ] = list.add; 3719 3720 // Handle state 3721 if ( stateString ) { 3722 list.add( 3723 function() { 3724 3725 // state = "resolved" (i.e., fulfilled) 3726 // state = "rejected" 3727 state = stateString; 3728 }, 3729 3730 // rejected_callbacks.disable 3731 // fulfilled_callbacks.disable 3732 tuples[ 3 - i ][ 2 ].disable, 3733 3734 // rejected_handlers.disable 3735 // fulfilled_handlers.disable 3736 tuples[ 3 - i ][ 3 ].disable, 3737 3738 // progress_callbacks.lock 3739 tuples[ 0 ][ 2 ].lock, 3740 3741 // progress_handlers.lock 3742 tuples[ 0 ][ 3 ].lock 3743 ); 3744 } 3745 3746 // progress_handlers.fire 3747 // fulfilled_handlers.fire 3748 // rejected_handlers.fire 3749 list.add( tuple[ 3 ].fire ); 3750 3751 // deferred.notify = function() { deferred.notifyWith(...) } 3752 // deferred.resolve = function() { deferred.resolveWith(...) } 3753 // deferred.reject = function() { deferred.rejectWith(...) } 3754 deferred[ tuple[ 0 ] ] = function() { 3755 deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); 3756 return this; 3757 }; 3758 3759 // deferred.notifyWith = list.fireWith 3760 // deferred.resolveWith = list.fireWith 3761 // deferred.rejectWith = list.fireWith 3762 deferred[ tuple[ 0 ] + "With" ] = list.fireWith; 3763 } ); 3764 3765 // Make the deferred a promise 3766 promise.promise( deferred ); 3767 3768 // Call given func if any 3769 if ( func ) { 3770 func.call( deferred, deferred ); 3771 } 3772 3773 // All done! 3774 return deferred; 3775 }, 3776 3777 // Deferred helper 3778 when: function( singleValue ) { 3779 var 3780 3781 // count of uncompleted subordinates 3782 remaining = arguments.length, 3783 3784 // count of unprocessed arguments 3785 i = remaining, 3786 3787 // subordinate fulfillment data 3788 resolveContexts = Array( i ), 3789 resolveValues = slice.call( arguments ), 3790 3791 // the primary Deferred 3792 primary = jQuery.Deferred(), 3793 3794 // subordinate callback factory 3795 updateFunc = function( i ) { 3796 return function( value ) { 3797 resolveContexts[ i ] = this; 3798 resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; 3799 if ( !( --remaining ) ) { 3800 primary.resolveWith( resolveContexts, resolveValues ); 3801 } 3802 }; 3803 }; 3804 3805 // Single- and empty arguments are adopted like Promise.resolve 3806 if ( remaining <= 1 ) { 3807 adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, 3808 !remaining ); 3809 3810 // Use .then() to unwrap secondary thenables (cf. gh-3000) 3811 if ( primary.state() === "pending" || 3812 isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { 3813 3814 return primary.then(); 3815 } 3816 } 3817 3818 // Multiple arguments are aggregated like Promise.all array elements 3819 while ( i-- ) { 3820 adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); 3821 } 3822 3823 return primary.promise(); 3824 } 3825} ); 3826 3827 3828// These usually indicate a programmer mistake during development, 3829// warn about them ASAP rather than swallowing them by default. 3830var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 3831 3832// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error 3833// captured before the async barrier to get the original error cause 3834// which may otherwise be hidden. 3835jQuery.Deferred.exceptionHook = function( error, asyncError ) { 3836 3837 // Support: IE 8 - 9 only 3838 // Console exists when dev tools are open, which can happen at any time 3839 if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { 3840 window.console.warn( "jQuery.Deferred exception: " + error.message, 3841 error.stack, asyncError ); 3842 } 3843}; 3844 3845 3846 3847 3848jQuery.readyException = function( error ) { 3849 window.setTimeout( function() { 3850 throw error; 3851 } ); 3852}; 3853 3854 3855 3856 3857// The deferred used on DOM ready 3858var readyList = jQuery.Deferred(); 3859 3860jQuery.fn.ready = function( fn ) { 3861 3862 readyList 3863 .then( fn ) 3864 3865 // Wrap jQuery.readyException in a function so that the lookup 3866 // happens at the time of error handling instead of callback 3867 // registration. 3868 .catch( function( error ) { 3869 jQuery.readyException( error ); 3870 } ); 3871 3872 return this; 3873}; 3874 3875jQuery.extend( { 3876 3877 // Is the DOM ready to be used? Set to true once it occurs. 3878 isReady: false, 3879 3880 // A counter to track how many items to wait for before 3881 // the ready event fires. See trac-6781 3882 readyWait: 1, 3883 3884 // Handle when the DOM is ready 3885 ready: function( wait ) { 3886 3887 // Abort if there are pending holds or we're already ready 3888 if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { 3889 return; 3890 } 3891 3892 // Remember that the DOM is ready 3893 jQuery.isReady = true; 3894 3895 // If a normal DOM Ready event fired, decrement, and wait if need be 3896 if ( wait !== true && --jQuery.readyWait > 0 ) { 3897 return; 3898 } 3899 3900 // If there are functions bound, to execute 3901 readyList.resolveWith( document, [ jQuery ] ); 3902 } 3903} ); 3904 3905jQuery.ready.then = readyList.then; 3906 3907// The ready event handler and self cleanup method 3908function completed() { 3909 document.removeEventListener( "DOMContentLoaded", completed ); 3910 window.removeEventListener( "load", completed ); 3911 jQuery.ready(); 3912} 3913 3914// Catch cases where $(document).ready() is called 3915// after the browser event has already occurred. 3916// Support: IE <=9 - 10 only 3917// Older IE sometimes signals "interactive" too soon 3918if ( document.readyState === "complete" || 3919 ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { 3920 3921 // Handle it asynchronously to allow scripts the opportunity to delay ready 3922 window.setTimeout( jQuery.ready ); 3923 3924} else { 3925 3926 // Use the handy event callback 3927 document.addEventListener( "DOMContentLoaded", completed ); 3928 3929 // A fallback to window.onload, that will always work 3930 window.addEventListener( "load", completed ); 3931} 3932 3933 3934 3935 3936// Multifunctional method to get and set values of a collection 3937// The value/s can optionally be executed if it's a function 3938var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { 3939 var i = 0, 3940 len = elems.length, 3941 bulk = key == null; 3942 3943 // Sets many values 3944 if ( toType( key ) === "object" ) { 3945 chainable = true; 3946 for ( i in key ) { 3947 access( elems, fn, i, key[ i ], true, emptyGet, raw ); 3948 } 3949 3950 // Sets one value 3951 } else if ( value !== undefined ) { 3952 chainable = true; 3953 3954 if ( !isFunction( value ) ) { 3955 raw = true; 3956 } 3957 3958 if ( bulk ) { 3959 3960 // Bulk operations run against the entire set 3961 if ( raw ) { 3962 fn.call( elems, value ); 3963 fn = null; 3964 3965 // ...except when executing function values 3966 } else { 3967 bulk = fn; 3968 fn = function( elem, _key, value ) { 3969 return bulk.call( jQuery( elem ), value ); 3970 }; 3971 } 3972 } 3973 3974 if ( fn ) { 3975 for ( ; i < len; i++ ) { 3976 fn( 3977 elems[ i ], key, raw ? 3978 value : 3979 value.call( elems[ i ], i, fn( elems[ i ], key ) ) 3980 ); 3981 } 3982 } 3983 } 3984 3985 if ( chainable ) { 3986 return elems; 3987 } 3988 3989 // Gets 3990 if ( bulk ) { 3991 return fn.call( elems ); 3992 } 3993 3994 return len ? fn( elems[ 0 ], key ) : emptyGet; 3995}; 3996 3997 3998// Matches dashed string for camelizing 3999var rmsPrefix = /^-ms-/, 4000 rdashAlpha = /-([a-z])/g; 4001 4002// Used by camelCase as callback to replace() 4003function fcamelCase( _all, letter ) { 4004 return letter.toUpperCase(); 4005} 4006 4007// Convert dashed to camelCase; used by the css and data modules 4008// Support: IE <=9 - 11, Edge 12 - 15 4009// Microsoft forgot to hump their vendor prefix (trac-9572) 4010function camelCase( string ) { 4011 return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); 4012} 4013var acceptData = function( owner ) { 4014 4015 // Accepts only: 4016 // - Node 4017 // - Node.ELEMENT_NODE 4018 // - Node.DOCUMENT_NODE 4019 // - Object 4020 // - Any 4021 return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 4022}; 4023 4024 4025 4026 4027function Data() { 4028 this.expando = jQuery.expando + Data.uid++; 4029} 4030 4031Data.uid = 1; 4032 4033Data.prototype = { 4034 4035 cache: function( owner ) { 4036 4037 // Check if the owner object already has a cache 4038 var value = owner[ this.expando ]; 4039 4040 // If not, create one 4041 if ( !value ) { 4042 value = {}; 4043 4044 // We can accept data for non-element nodes in modern browsers, 4045 // but we should not, see trac-8335. 4046 // Always return an empty object. 4047 if ( acceptData( owner ) ) { 4048 4049 // If it is a node unlikely to be stringify-ed or looped over 4050 // use plain assignment 4051 if ( owner.nodeType ) { 4052 owner[ this.expando ] = value; 4053 4054 // Otherwise secure it in a non-enumerable property 4055 // configurable must be true to allow the property to be 4056 // deleted when data is removed 4057 } else { 4058 Object.defineProperty( owner, this.expando, { 4059 value: value, 4060 configurable: true 4061 } ); 4062 } 4063 } 4064 } 4065 4066 return value; 4067 }, 4068 set: function( owner, data, value ) { 4069 var prop, 4070 cache = this.cache( owner ); 4071 4072 // Handle: [ owner, key, value ] args 4073 // Always use camelCase key (gh-2257) 4074 if ( typeof data === "string" ) { 4075 cache[ camelCase( data ) ] = value; 4076 4077 // Handle: [ owner, { properties } ] args 4078 } else { 4079 4080 // Copy the properties one-by-one to the cache object 4081 for ( prop in data ) { 4082 cache[ camelCase( prop ) ] = data[ prop ]; 4083 } 4084 } 4085 return cache; 4086 }, 4087 get: function( owner, key ) { 4088 return key === undefined ? 4089 this.cache( owner ) : 4090 4091 // Always use camelCase key (gh-2257) 4092 owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; 4093 }, 4094 access: function( owner, key, value ) { 4095 4096 // In cases where either: 4097 // 4098 // 1. No key was specified 4099 // 2. A string key was specified, but no value provided 4100 // 4101 // Take the "read" path and allow the get method to determine 4102 // which value to return, respectively either: 4103 // 4104 // 1. The entire cache object 4105 // 2. The data stored at the key 4106 // 4107 if ( key === undefined || 4108 ( ( key && typeof key === "string" ) && value === undefined ) ) { 4109 4110 return this.get( owner, key ); 4111 } 4112 4113 // When the key is not a string, or both a key and value 4114 // are specified, set or extend (existing objects) with either: 4115 // 4116 // 1. An object of properties 4117 // 2. A key and value 4118 // 4119 this.set( owner, key, value ); 4120 4121 // Since the "set" path can have two possible entry points 4122 // return the expected data based on which path was taken[*] 4123 return value !== undefined ? value : key; 4124 }, 4125 remove: function( owner, key ) { 4126 var i, 4127 cache = owner[ this.expando ]; 4128 4129 if ( cache === undefined ) { 4130 return; 4131 } 4132 4133 if ( key !== undefined ) { 4134 4135 // Support array or space separated string of keys 4136 if ( Array.isArray( key ) ) { 4137 4138 // If key is an array of keys... 4139 // We always set camelCase keys, so remove that. 4140 key = key.map( camelCase ); 4141 } else { 4142 key = camelCase( key ); 4143 4144 // If a key with the spaces exists, use it. 4145 // Otherwise, create an array by matching non-whitespace 4146 key = key in cache ? 4147 [ key ] : 4148 ( key.match( rnothtmlwhite ) || [] ); 4149 } 4150 4151 i = key.length; 4152 4153 while ( i-- ) { 4154 delete cache[ key[ i ] ]; 4155 } 4156 } 4157 4158 // Remove the expando if there's no more data 4159 if ( key === undefined || jQuery.isEmptyObject( cache ) ) { 4160 4161 // Support: Chrome <=35 - 45 4162 // Webkit & Blink performance suffers when deleting properties 4163 // from DOM nodes, so set to undefined instead 4164 // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) 4165 if ( owner.nodeType ) { 4166 owner[ this.expando ] = undefined; 4167 } else { 4168 delete owner[ this.expando ]; 4169 } 4170 } 4171 }, 4172 hasData: function( owner ) { 4173 var cache = owner[ this.expando ]; 4174 return cache !== undefined && !jQuery.isEmptyObject( cache ); 4175 } 4176}; 4177var dataPriv = new Data(); 4178 4179var dataUser = new Data(); 4180 4181 4182 4183// Implementation Summary 4184// 4185// 1. Enforce API surface and semantic compatibility with 1.9.x branch 4186// 2. Improve the module's maintainability by reducing the storage 4187// paths to a single mechanism. 4188// 3. Use the same single mechanism to support "private" and "user" data. 4189// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) 4190// 5. Avoid exposing implementation details on user objects (eg. expando properties) 4191// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 4192 4193var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 4194 rmultiDash = /[A-Z]/g; 4195 4196function getData( data ) { 4197 if ( data === "true" ) { 4198 return true; 4199 } 4200 4201 if ( data === "false" ) { 4202 return false; 4203 } 4204 4205 if ( data === "null" ) { 4206 return null; 4207 } 4208 4209 // Only convert to a number if it doesn't change the string 4210 if ( data === +data + "" ) { 4211 return +data; 4212 } 4213 4214 if ( rbrace.test( data ) ) { 4215 return JSON.parse( data ); 4216 } 4217 4218 return data; 4219} 4220 4221function dataAttr( elem, key, data ) { 4222 var name; 4223 4224 // If nothing was found internally, try to fetch any 4225 // data from the HTML5 data-* attribute 4226 if ( data === undefined && elem.nodeType === 1 ) { 4227 name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); 4228 data = elem.getAttribute( name ); 4229 4230 if ( typeof data === "string" ) { 4231 try { 4232 data = getData( data ); 4233 } catch ( e ) {} 4234 4235 // Make sure we set the data so it isn't changed later 4236 dataUser.set( elem, key, data ); 4237 } else { 4238 data = undefined; 4239 } 4240 } 4241 return data; 4242} 4243 4244jQuery.extend( { 4245 hasData: function( elem ) { 4246 return dataUser.hasData( elem ) || dataPriv.hasData( elem ); 4247 }, 4248 4249 data: function( elem, name, data ) { 4250 return dataUser.access( elem, name, data ); 4251 }, 4252 4253 removeData: function( elem, name ) { 4254 dataUser.remove( elem, name ); 4255 }, 4256 4257 // TODO: Now that all calls to _data and _removeData have been replaced 4258 // with direct calls to dataPriv methods, these can be deprecated. 4259 _data: function( elem, name, data ) { 4260 return dataPriv.access( elem, name, data ); 4261 }, 4262 4263 _removeData: function( elem, name ) { 4264 dataPriv.remove( elem, name ); 4265 } 4266} ); 4267 4268jQuery.fn.extend( { 4269 data: function( key, value ) { 4270 var i, name, data, 4271 elem = this[ 0 ], 4272 attrs = elem && elem.attributes; 4273 4274 // Gets all values 4275 if ( key === undefined ) { 4276 if ( this.length ) { 4277 data = dataUser.get( elem ); 4278 4279 if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { 4280 i = attrs.length; 4281 while ( i-- ) { 4282 4283 // Support: IE 11 only 4284 // The attrs elements can be null (trac-14894) 4285 if ( attrs[ i ] ) { 4286 name = attrs[ i ].name; 4287 if ( name.indexOf( "data-" ) === 0 ) { 4288 name = camelCase( name.slice( 5 ) ); 4289 dataAttr( elem, name, data[ name ] ); 4290 } 4291 } 4292 } 4293 dataPriv.set( elem, "hasDataAttrs", true ); 4294 } 4295 } 4296 4297 return data; 4298 } 4299 4300 // Sets multiple values 4301 if ( typeof key === "object" ) { 4302 return this.each( function() { 4303 dataUser.set( this, key ); 4304 } ); 4305 } 4306 4307 return access( this, function( value ) { 4308 var data; 4309 4310 // The calling jQuery object (element matches) is not empty 4311 // (and therefore has an element appears at this[ 0 ]) and the 4312 // `value` parameter was not undefined. An empty jQuery object 4313 // will result in `undefined` for elem = this[ 0 ] which will 4314 // throw an exception if an attempt to read a data cache is made. 4315 if ( elem && value === undefined ) { 4316 4317 // Attempt to get data from the cache 4318 // The key will always be camelCased in Data 4319 data = dataUser.get( elem, key ); 4320 if ( data !== undefined ) { 4321 return data; 4322 } 4323 4324 // Attempt to "discover" the data in 4325 // HTML5 custom data-* attrs 4326 data = dataAttr( elem, key ); 4327 if ( data !== undefined ) { 4328 return data; 4329 } 4330 4331 // We tried really hard, but the data doesn't exist. 4332 return; 4333 } 4334 4335 // Set the data... 4336 this.each( function() { 4337 4338 // We always store the camelCased key 4339 dataUser.set( this, key, value ); 4340 } ); 4341 }, null, value, arguments.length > 1, null, true ); 4342 }, 4343 4344 removeData: function( key ) { 4345 return this.each( function() { 4346 dataUser.remove( this, key ); 4347 } ); 4348 } 4349} ); 4350 4351 4352jQuery.extend( { 4353 queue: function( elem, type, data ) { 4354 var queue; 4355 4356 if ( elem ) { 4357 type = ( type || "fx" ) + "queue"; 4358 queue = dataPriv.get( elem, type ); 4359 4360 // Speed up dequeue by getting out quickly if this is just a lookup 4361 if ( data ) { 4362 if ( !queue || Array.isArray( data ) ) { 4363 queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); 4364 } else { 4365 queue.push( data ); 4366 } 4367 } 4368 return queue || []; 4369 } 4370 }, 4371 4372 dequeue: function( elem, type ) { 4373 type = type || "fx"; 4374 4375 var queue = jQuery.queue( elem, type ), 4376 startLength = queue.length, 4377 fn = queue.shift(), 4378 hooks = jQuery._queueHooks( elem, type ), 4379 next = function() { 4380 jQuery.dequeue( elem, type ); 4381 }; 4382 4383 // If the fx queue is dequeued, always remove the progress sentinel 4384 if ( fn === "inprogress" ) { 4385 fn = queue.shift(); 4386 startLength--; 4387 } 4388 4389 if ( fn ) { 4390 4391 // Add a progress sentinel to prevent the fx queue from being 4392 // automatically dequeued 4393 if ( type === "fx" ) { 4394 queue.unshift( "inprogress" ); 4395 } 4396 4397 // Clear up the last queue stop function 4398 delete hooks.stop; 4399 fn.call( elem, next, hooks ); 4400 } 4401 4402 if ( !startLength && hooks ) { 4403 hooks.empty.fire(); 4404 } 4405 }, 4406 4407 // Not public - generate a queueHooks object, or return the current one 4408 _queueHooks: function( elem, type ) { 4409 var key = type + "queueHooks"; 4410 return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { 4411 empty: jQuery.Callbacks( "once memory" ).add( function() { 4412 dataPriv.remove( elem, [ type + "queue", key ] ); 4413 } ) 4414 } ); 4415 } 4416} ); 4417 4418jQuery.fn.extend( { 4419 queue: function( type, data ) { 4420 var setter = 2; 4421 4422 if ( typeof type !== "string" ) { 4423 data = type; 4424 type = "fx"; 4425 setter--; 4426 } 4427 4428 if ( arguments.length < setter ) { 4429 return jQuery.queue( this[ 0 ], type ); 4430 } 4431 4432 return data === undefined ? 4433 this : 4434 this.each( function() { 4435 var queue = jQuery.queue( this, type, data ); 4436 4437 // Ensure a hooks for this queue 4438 jQuery._queueHooks( this, type ); 4439 4440 if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { 4441 jQuery.dequeue( this, type ); 4442 } 4443 } ); 4444 }, 4445 dequeue: function( type ) { 4446 return this.each( function() { 4447 jQuery.dequeue( this, type ); 4448 } ); 4449 }, 4450 clearQueue: function( type ) { 4451 return this.queue( type || "fx", [] ); 4452 }, 4453 4454 // Get a promise resolved when queues of a certain type 4455 // are emptied (fx is the type by default) 4456 promise: function( type, obj ) { 4457 var tmp, 4458 count = 1, 4459 defer = jQuery.Deferred(), 4460 elements = this, 4461 i = this.length, 4462 resolve = function() { 4463 if ( !( --count ) ) { 4464 defer.resolveWith( elements, [ elements ] ); 4465 } 4466 }; 4467 4468 if ( typeof type !== "string" ) { 4469 obj = type; 4470 type = undefined; 4471 } 4472 type = type || "fx"; 4473 4474 while ( i-- ) { 4475 tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); 4476 if ( tmp && tmp.empty ) { 4477 count++; 4478 tmp.empty.add( resolve ); 4479 } 4480 } 4481 resolve(); 4482 return defer.promise( obj ); 4483 } 4484} ); 4485var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 4486 4487var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 4488 4489 4490var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; 4491 4492var documentElement = document.documentElement; 4493 4494 4495 4496 var isAttached = function( elem ) { 4497 return jQuery.contains( elem.ownerDocument, elem ); 4498 }, 4499 composed = { composed: true }; 4500 4501 // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only 4502 // Check attachment across shadow DOM boundaries when possible (gh-3504) 4503 // Support: iOS 10.0-10.2 only 4504 // Early iOS 10 versions support `attachShadow` but not `getRootNode`, 4505 // leading to errors. We need to check for `getRootNode`. 4506 if ( documentElement.getRootNode ) { 4507 isAttached = function( elem ) { 4508 return jQuery.contains( elem.ownerDocument, elem ) || 4509 elem.getRootNode( composed ) === elem.ownerDocument; 4510 }; 4511 } 4512var isHiddenWithinTree = function( elem, el ) { 4513 4514 // isHiddenWithinTree might be called from jQuery#filter function; 4515 // in that case, element will be second argument 4516 elem = el || elem; 4517 4518 // Inline style trumps all 4519 return elem.style.display === "none" || 4520 elem.style.display === "" && 4521 4522 // Otherwise, check computed style 4523 // Support: Firefox <=43 - 45 4524 // Disconnected elements can have computed display: none, so first confirm that elem is 4525 // in the document. 4526 isAttached( elem ) && 4527 4528 jQuery.css( elem, "display" ) === "none"; 4529 }; 4530 4531 4532 4533function adjustCSS( elem, prop, valueParts, tween ) { 4534 var adjusted, scale, 4535 maxIterations = 20, 4536 currentValue = tween ? 4537 function() { 4538 return tween.cur(); 4539 } : 4540 function() { 4541 return jQuery.css( elem, prop, "" ); 4542 }, 4543 initial = currentValue(), 4544 unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), 4545 4546 // Starting value computation is required for potential unit mismatches 4547 initialInUnit = elem.nodeType && 4548 ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && 4549 rcssNum.exec( jQuery.css( elem, prop ) ); 4550 4551 if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { 4552 4553 // Support: Firefox <=54 4554 // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) 4555 initial = initial / 2; 4556 4557 // Trust units reported by jQuery.css 4558 unit = unit || initialInUnit[ 3 ]; 4559 4560 // Iteratively approximate from a nonzero starting point 4561 initialInUnit = +initial || 1; 4562 4563 while ( maxIterations-- ) { 4564 4565 // Evaluate and update our best guess (doubling guesses that zero out). 4566 // Finish if the scale equals or crosses 1 (making the old*new product non-positive). 4567 jQuery.style( elem, prop, initialInUnit + unit ); 4568 if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { 4569 maxIterations = 0; 4570 } 4571 initialInUnit = initialInUnit / scale; 4572 4573 } 4574 4575 initialInUnit = initialInUnit * 2; 4576 jQuery.style( elem, prop, initialInUnit + unit ); 4577 4578 // Make sure we update the tween properties later on 4579 valueParts = valueParts || []; 4580 } 4581 4582 if ( valueParts ) { 4583 initialInUnit = +initialInUnit || +initial || 0; 4584 4585 // Apply relative offset (+=/-=) if specified 4586 adjusted = valueParts[ 1 ] ? 4587 initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : 4588 +valueParts[ 2 ]; 4589 if ( tween ) { 4590 tween.unit = unit; 4591 tween.start = initialInUnit; 4592 tween.end = adjusted; 4593 } 4594 } 4595 return adjusted; 4596} 4597 4598 4599var defaultDisplayMap = {}; 4600 4601function getDefaultDisplay( elem ) { 4602 var temp, 4603 doc = elem.ownerDocument, 4604 nodeName = elem.nodeName, 4605 display = defaultDisplayMap[ nodeName ]; 4606 4607 if ( display ) {
vendor: 2,317 bytes, lines 4608-4706
4608 return display; 4609 } 4610 4611 temp = doc.body.appendChild( doc.createElement( nodeName ) ); 4612 display = jQuery.css( temp, "display" ); 4613 4614 temp.parentNode.removeChild( temp ); 4615 4616 if ( display === "none" ) { 4617 display = "block"; 4618 } 4619 defaultDisplayMap[ nodeName ] = display; 4620 4621 return display; 4622} 4623 4624function showHide( elements, show ) { 4625 var display, elem, 4626 values = [], 4627 index = 0, 4628 length = elements.length; 4629 4630 // Determine new display value for elements that need to change 4631 for ( ; index < length; index++ ) { 4632 elem = elements[ index ]; 4633 if ( !elem.style ) { 4634 continue; 4635 } 4636 4637 display = elem.style.display; 4638 if ( show ) { 4639 4640 // Since we force visibility upon cascade-hidden elements, an immediate (and slow) 4641 // check is required in this first loop unless we have a nonempty display value (either 4642 // inline or about-to-be-restored) 4643 if ( display === "none" ) { 4644 values[ index ] = dataPriv.get( elem, "display" ) || null; 4645 if ( !values[ index ] ) { 4646 elem.style.display = ""; 4647 } 4648 } 4649 if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { 4650 values[ index ] = getDefaultDisplay( elem ); 4651 } 4652 } else { 4653 if ( display !== "none" ) { 4654 values[ index ] = "none"; 4655 4656 // Remember what we're overwriting 4657 dataPriv.set( elem, "display", display ); 4658 } 4659 } 4660 } 4661 4662 // Set the display of the elements in a second loop to avoid constant reflow 4663 for ( index = 0; index < length; index++ ) { 4664 if ( values[ index ] != null ) { 4665 elements[ index ].style.display = values[ index ]; 4666 } 4667 } 4668 4669 return elements; 4670} 4671 4672jQuery.fn.extend( { 4673 show: function() { 4674 return showHide( this, true ); 4675 }, 4676 hide: function() { 4677 return showHide( this ); 4678 }, 4679 toggle: function( state ) { 4680 if ( typeof state === "boolean" ) { 4681 return state ? this.show() : this.hide(); 4682 } 4683 4684 return this.each( function() { 4685 if ( isHiddenWithinTree( this ) ) { 4686 jQuery( this ).show(); 4687 } else { 4688 jQuery( this ).hide(); 4689 } 4690 } ); 4691 } 4692} ); 4693var rcheckableType = ( /^(?:checkbox|radio)$/i ); 4694 4695var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); 4696 4697var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); 4698 4699 4700 4701( function() { 4702 var fragment = document.createDocumentFragment(), 4703 div = fragment.appendChild( document.createElement( "div" ) ), 4704 input = document.createElement( "input" ); 4705 4706 // Support: Android 4.0 - 4.3 only
vendor: 10,092 bytes, lines 4707-5091
4707 // Check state lost if the name is set (trac-11217) 4708 // Support: Windows Web Apps (WWA) 4709 // `name` and `type` must use .setAttribute for WWA (trac-14901) 4710 input.setAttribute( "type", "radio" ); 4711 input.setAttribute( "checked", "checked" ); 4712 input.setAttribute( "name", "t" ); 4713 4714 div.appendChild( input ); 4715 4716 // Support: Android <=4.1 only 4717 // Older WebKit doesn't clone checked state correctly in fragments 4718 support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 4719 4720 // Support: IE <=11 only 4721 // Make sure textarea (and checkbox) defaultValue is properly cloned 4722 div.innerHTML = "<textarea>x</textarea>"; 4723 support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 4724 4725 // Support: IE <=9 only 4726 // IE <=9 replaces <option> tags with their contents when inserted outside of 4727 // the select element. 4728 div.innerHTML = "<option></option>"; 4729 support.option = !!div.lastChild; 4730} )(); 4731 4732 4733// We have to close these tags to support XHTML (trac-13200) 4734var wrapMap = { 4735 4736 // XHTML parsers do not magically insert elements in the 4737 // same way that tag soup parsers do. So we cannot shorten 4738 // this by omitting <tbody> or other required elements. 4739 thead: [ 1, "<table>", "</table>" ], 4740 col: [ 2, "<table><colgroup>", "</colgroup></table>" ], 4741 tr: [ 2, "<table><tbody>", "</tbody></table>" ], 4742 td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], 4743 4744 _default: [ 0, "", "" ] 4745}; 4746 4747wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; 4748wrapMap.th = wrapMap.td; 4749 4750// Support: IE <=9 only 4751if ( !support.option ) { 4752 wrapMap.optgroup = wrapMap.option = [ 1, "<select multiple='multiple'>", "</select>" ]; 4753} 4754 4755 4756function getAll( context, tag ) { 4757 4758 // Support: IE <=9 - 11 only 4759 // Use typeof to avoid zero-argument method invocation on host objects (trac-15151) 4760 var ret; 4761 4762 if ( typeof context.getElementsByTagName !== "undefined" ) { 4763 ret = context.getElementsByTagName( tag || "*" ); 4764 4765 } else if ( typeof context.querySelectorAll !== "undefined" ) { 4766 ret = context.querySelectorAll( tag || "*" ); 4767 4768 } else { 4769 ret = []; 4770 } 4771 4772 if ( tag === undefined || tag && nodeName( context, tag ) ) { 4773 return jQuery.merge( [ context ], ret ); 4774 } 4775 4776 return ret; 4777} 4778 4779 4780// Mark scripts as having already been evaluated 4781function setGlobalEval( elems, refElements ) { 4782 var i = 0, 4783 l = elems.length; 4784 4785 for ( ; i < l; i++ ) { 4786 dataPriv.set( 4787 elems[ i ], 4788 "globalEval", 4789 !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 4790 ); 4791 } 4792} 4793 4794 4795var rhtml = /<|&#?\w+;/; 4796 4797function buildFragment( elems, context, scripts, selection, ignored ) { 4798 var elem, tmp, tag, wrap, attached, j, 4799 fragment = context.createDocumentFragment(), 4800 nodes = [], 4801 i = 0, 4802 l = elems.length; 4803 4804 for ( ; i < l; i++ ) { 4805 elem = elems[ i ]; 4806 4807 if ( elem || elem === 0 ) { 4808 4809 // Add nodes directly 4810 if ( toType( elem ) === "object" ) { 4811 4812 // Support: Android <=4.0 only, PhantomJS 1 only 4813 // push.apply(_, arraylike) throws on ancient WebKit 4814 jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); 4815 4816 // Convert non-html into a text node 4817 } else if ( !rhtml.test( elem ) ) { 4818 nodes.push( context.createTextNode( elem ) ); 4819 4820 // Convert html into DOM nodes 4821 } else { 4822 tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); 4823 4824 // Deserialize a standard representation 4825 tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); 4826 wrap = wrapMap[ tag ] || wrapMap._default; 4827 tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; 4828 4829 // Descend through wrappers to the right content 4830 j = wrap[ 0 ]; 4831 while ( j-- ) { 4832 tmp = tmp.lastChild; 4833 } 4834 4835 // Support: Android <=4.0 only, PhantomJS 1 only 4836 // push.apply(_, arraylike) throws on ancient WebKit 4837 jQuery.merge( nodes, tmp.childNodes ); 4838 4839 // Remember the top-level container 4840 tmp = fragment.firstChild; 4841 4842 // Ensure the created nodes are orphaned (trac-12392) 4843 tmp.textContent = ""; 4844 } 4845 } 4846 } 4847 4848 // Remove wrapper from fragment 4849 fragment.textContent = ""; 4850 4851 i = 0; 4852 while ( ( elem = nodes[ i++ ] ) ) { 4853 4854 // Skip elements already in the context collection (trac-4087) 4855 if ( selection && jQuery.inArray( elem, selection ) > -1 ) { 4856 if ( ignored ) { 4857 ignored.push( elem ); 4858 } 4859 continue; 4860 } 4861 4862 attached = isAttached( elem ); 4863 4864 // Append to fragment 4865 tmp = getAll( fragment.appendChild( elem ), "script" ); 4866 4867 // Preserve script evaluation history 4868 if ( attached ) { 4869 setGlobalEval( tmp ); 4870 } 4871 4872 // Capture executables 4873 if ( scripts ) { 4874 j = 0; 4875 while ( ( elem = tmp[ j++ ] ) ) { 4876 if ( rscriptType.test( elem.type || "" ) ) { 4877 scripts.push( elem ); 4878 } 4879 } 4880 } 4881 } 4882 4883 return fragment; 4884} 4885 4886 4887var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; 4888 4889function returnTrue() { 4890 return true; 4891} 4892 4893function returnFalse() { 4894 return false; 4895} 4896 4897function on( elem, types, selector, data, fn, one ) { 4898 var origFn, type; 4899 4900 // Types can be a map of types/handlers 4901 if ( typeof types === "object" ) { 4902 4903 // ( types-Object, selector, data ) 4904 if ( typeof selector !== "string" ) { 4905 4906 // ( types-Object, data ) 4907 data = data || selector; 4908 selector = undefined; 4909 } 4910 for ( type in types ) { 4911 on( elem, type, selector, data, types[ type ], one ); 4912 } 4913 return elem; 4914 } 4915 4916 if ( data == null && fn == null ) { 4917 4918 // ( types, fn ) 4919 fn = selector; 4920 data = selector = undefined; 4921 } else if ( fn == null ) { 4922 if ( typeof selector === "string" ) { 4923 4924 // ( types, selector, fn ) 4925 fn = data; 4926 data = undefined; 4927 } else { 4928 4929 // ( types, data, fn ) 4930 fn = data; 4931 data = selector; 4932 selector = undefined; 4933 } 4934 } 4935 if ( fn === false ) { 4936 fn = returnFalse; 4937 } else if ( !fn ) { 4938 return elem; 4939 } 4940 4941 if ( one === 1 ) { 4942 origFn = fn; 4943 fn = function( event ) { 4944 4945 // Can use an empty set, since event contains the info 4946 jQuery().off( event ); 4947 return origFn.apply( this, arguments ); 4948 }; 4949 4950 // Use same guid so caller can remove using origFn 4951 fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); 4952 } 4953 return elem.each( function() { 4954 jQuery.event.add( this, types, fn, data, selector ); 4955 } ); 4956} 4957 4958/* 4959 * Helper functions for managing events -- not part of the public interface. 4960 * Props to Dean Edwards' addEvent library for many of the ideas. 4961 */ 4962jQuery.event = { 4963 4964 global: {}, 4965 4966 add: function( elem, types, handler, data, selector ) { 4967 4968 var handleObjIn, eventHandle, tmp, 4969 events, t, handleObj, 4970 special, handlers, type, namespaces, origType, 4971 elemData = dataPriv.get( elem ); 4972 4973 // Only attach events to objects that accept data 4974 if ( !acceptData( elem ) ) { 4975 return; 4976 } 4977 4978 // Caller can pass in an object of custom data in lieu of the handler 4979 if ( handler.handler ) { 4980 handleObjIn = handler; 4981 handler = handleObjIn.handler; 4982 selector = handleObjIn.selector; 4983 } 4984 4985 // Ensure that invalid selectors throw exceptions at attach time 4986 // Evaluate against documentElement in case elem is a non-element node (e.g., document) 4987 if ( selector ) { 4988 jQuery.find.matchesSelector( documentElement, selector ); 4989 } 4990 4991 // Make sure that the handler has a unique ID, used to find/remove it later 4992 if ( !handler.guid ) { 4993 handler.guid = jQuery.guid++; 4994 } 4995 4996 // Init the element's event structure and main handler, if this is the first 4997 if ( !( events = elemData.events ) ) { 4998 events = elemData.events = Object.create( null ); 4999 } 5000 if ( !( eventHandle = elemData.handle ) ) { 5001 eventHandle = elemData.handle = function( e ) { 5002 5003 // Discard the second event of a jQuery.event.trigger() and 5004 // when an event is called after a page has unloaded 5005 return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? 5006 jQuery.event.dispatch.apply( elem, arguments ) : undefined; 5007 }; 5008 } 5009 5010 // Handle multiple events separated by a space 5011 types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; 5012 t = types.length; 5013 while ( t-- ) { 5014 tmp = rtypenamespace.exec( types[ t ] ) || []; 5015 type = origType = tmp[ 1 ]; 5016 namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); 5017 5018 // There *must* be a type, no attaching namespace-only handlers 5019 if ( !type ) { 5020 continue; 5021 } 5022 5023 // If event changes its type, use the special event handlers for the changed type 5024 special = jQuery.event.special[ type ] || {}; 5025 5026 // If selector defined, determine special event api type, otherwise given type 5027 type = ( selector ? special.delegateType : special.bindType ) || type; 5028 5029 // Update special based on newly reset type 5030 special = jQuery.event.special[ type ] || {}; 5031 5032 // handleObj is passed to all event handlers 5033 handleObj = jQuery.extend( { 5034 type: type, 5035 origType: origType, 5036 data: data, 5037 handler: handler, 5038 guid: handler.guid, 5039 selector: selector, 5040 needsContext: selector && jQuery.expr.match.needsContext.test( selector ), 5041 namespace: namespaces.join( "." ) 5042 }, handleObjIn ); 5043 5044 // Init the event handler queue if we're the first 5045 if ( !( handlers = events[ type ] ) ) { 5046 handlers = events[ type ] = []; 5047 handlers.delegateCount = 0; 5048 5049 // Only use addEventListener if the special events handler returns false 5050 if ( !special.setup || 5051 special.setup.call( elem, data, namespaces, eventHandle ) === false ) { 5052 5053 if ( elem.addEventListener ) { 5054 elem.addEventListener( type, eventHandle ); 5055 } 5056 } 5057 } 5058 5059 if ( special.add ) { 5060 special.add.call( elem, handleObj ); 5061 5062 if ( !handleObj.handler.guid ) { 5063 handleObj.handler.guid = handler.guid; 5064 } 5065 } 5066 5067 // Add to the element's handler list, delegates in front 5068 if ( selector ) { 5069 handlers.splice( handlers.delegateCount++, 0, handleObj ); 5070 } else { 5071 handlers.push( handleObj ); 5072 } 5073 5074 // Keep track of which events have ever been used, for event optimization 5075 jQuery.event.global[ type ] = true; 5076 } 5077 5078 }, 5079 5080 // Detach an event or set of events from an element 5081 remove: function( elem, types, handler, selector, mappedTypes ) { 5082 5083 var j, origCount, tmp, 5084 events, t, handleObj, 5085 special, handlers, type, namespaces, origType, 5086 elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); 5087 5088 if ( !elemData || !( events = elemData.events ) ) { 5089 return; 5090 } 5091
vendor: 4,197 bytes, lines 5092-5230
5092 // Once for each type.namespace in types; type may be omitted 5093 types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; 5094 t = types.length; 5095 while ( t-- ) { 5096 tmp = rtypenamespace.exec( types[ t ] ) || []; 5097 type = origType = tmp[ 1 ]; 5098 namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); 5099 5100 // Unbind all events (on this namespace, if provided) for the element 5101 if ( !type ) { 5102 for ( type in events ) { 5103 jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); 5104 } 5105 continue; 5106 } 5107 5108 special = jQuery.event.special[ type ] || {}; 5109 type = ( selector ? special.delegateType : special.bindType ) || type; 5110 handlers = events[ type ] || []; 5111 tmp = tmp[ 2 ] && 5112 new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); 5113 5114 // Remove matching events 5115 origCount = j = handlers.length; 5116 while ( j-- ) { 5117 handleObj = handlers[ j ]; 5118 5119 if ( ( mappedTypes || origType === handleObj.origType ) && 5120 ( !handler || handler.guid === handleObj.guid ) && 5121 ( !tmp || tmp.test( handleObj.namespace ) ) && 5122 ( !selector || selector === handleObj.selector || 5123 selector === "**" && handleObj.selector ) ) { 5124 handlers.splice( j, 1 ); 5125 5126 if ( handleObj.selector ) { 5127 handlers.delegateCount--; 5128 } 5129 if ( special.remove ) { 5130 special.remove.call( elem, handleObj ); 5131 } 5132 } 5133 } 5134 5135 // Remove generic event handler if we removed something and no more handlers exist 5136 // (avoids potential for endless recursion during removal of special event handlers) 5137 if ( origCount && !handlers.length ) { 5138 if ( !special.teardown || 5139 special.teardown.call( elem, namespaces, elemData.handle ) === false ) { 5140 5141 jQuery.removeEvent( elem, type, elemData.handle ); 5142 } 5143 5144 delete events[ type ]; 5145 } 5146 } 5147 5148 // Remove data and the expando if it's no longer used 5149 if ( jQuery.isEmptyObject( events ) ) { 5150 dataPriv.remove( elem, "handle events" ); 5151 } 5152 }, 5153 5154 dispatch: function( nativeEvent ) { 5155 5156 var i, j, ret, matched, handleObj, handlerQueue, 5157 args = new Array( arguments.length ), 5158 5159 // Make a writable jQuery.Event from the native event object 5160 event = jQuery.event.fix( nativeEvent ), 5161 5162 handlers = ( 5163 dataPriv.get( this, "events" ) || Object.create( null ) 5164 )[ event.type ] || [], 5165 special = jQuery.event.special[ event.type ] || {}; 5166 5167 // Use the fix-ed jQuery.Event rather than the (read-only) native event 5168 args[ 0 ] = event; 5169 5170 for ( i = 1; i < arguments.length; i++ ) { 5171 args[ i ] = arguments[ i ]; 5172 } 5173 5174 event.delegateTarget = this; 5175 5176 // Call the preDispatch hook for the mapped type, and let it bail if desired 5177 if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { 5178 return; 5179 } 5180 5181 // Determine handlers 5182 handlerQueue = jQuery.event.handlers.call( this, event, handlers ); 5183 5184 // Run delegates first; they may want to stop propagation beneath us 5185 i = 0; 5186 while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { 5187 event.currentTarget = matched.elem; 5188 5189 j = 0; 5190 while ( ( handleObj = matched.handlers[ j++ ] ) && 5191 !event.isImmediatePropagationStopped() ) { 5192 5193 // If the event is namespaced, then each handler is only invoked if it is 5194 // specially universal or its namespaces are a superset of the event's. 5195 if ( !event.rnamespace || handleObj.namespace === false || 5196 event.rnamespace.test( handleObj.namespace ) ) { 5197 5198 event.handleObj = handleObj; 5199 event.data = handleObj.data; 5200 5201 ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || 5202 handleObj.handler ).apply( matched.elem, args ); 5203 5204 if ( ret !== undefined ) { 5205 if ( ( event.result = ret ) === false ) { 5206 event.preventDefault(); 5207 event.stopPropagation(); 5208 } 5209 } 5210 } 5211 } 5212 } 5213 5214 // Call the postDispatch hook for the mapped type 5215 if ( special.postDispatch ) { 5216 special.postDispatch.call( this, event ); 5217 } 5218 5219 return event.result; 5220 }, 5221 5222 handlers: function( event, handlers ) { 5223 var i, handleObj, sel, matchedHandlers, matchedSelectors, 5224 handlerQueue = [], 5225 delegateCount = handlers.delegateCount, 5226 cur = event.target; 5227 5228 // Find delegate handlers 5229 if ( delegateCount && 5230
vendor: 19,034 bytes, lines 5231-5877
5231 // Support: IE <=9 5232 // Black-hole SVG <use> instance trees (trac-13180) 5233 cur.nodeType && 5234 5235 // Support: Firefox <=42 5236 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) 5237 // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click 5238 // Support: IE 11 only 5239 // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) 5240 !( event.type === "click" && event.button >= 1 ) ) { 5241 5242 for ( ; cur !== this; cur = cur.parentNode || this ) { 5243 5244 // Don't check non-elements (trac-13208) 5245 // Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764) 5246 if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { 5247 matchedHandlers = []; 5248 matchedSelectors = {}; 5249 for ( i = 0; i < delegateCount; i++ ) { 5250 handleObj = handlers[ i ]; 5251 5252 // Don't conflict with Object.prototype properties (trac-13203) 5253 sel = handleObj.selector + " "; 5254 5255 if ( matchedSelectors[ sel ] === undefined ) { 5256 matchedSelectors[ sel ] = handleObj.needsContext ? 5257 jQuery( sel, this ).index( cur ) > -1 : 5258 jQuery.find( sel, this, null, [ cur ] ).length; 5259 } 5260 if ( matchedSelectors[ sel ] ) { 5261 matchedHandlers.push( handleObj ); 5262 } 5263 } 5264 if ( matchedHandlers.length ) { 5265 handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); 5266 } 5267 } 5268 } 5269 } 5270 5271 // Add the remaining (directly-bound) handlers 5272 cur = this; 5273 if ( delegateCount < handlers.length ) { 5274 handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); 5275 } 5276 5277 return handlerQueue; 5278 }, 5279 5280 addProp: function( name, hook ) { 5281 Object.defineProperty( jQuery.Event.prototype, name, { 5282 enumerable: true, 5283 configurable: true, 5284 5285 get: isFunction( hook ) ? 5286 function() { 5287 if ( this.originalEvent ) { 5288 return hook( this.originalEvent ); 5289 } 5290 } : 5291 function() { 5292 if ( this.originalEvent ) { 5293 return this.originalEvent[ name ]; 5294 } 5295 }, 5296 5297 set: function( value ) { 5298 Object.defineProperty( this, name, { 5299 enumerable: true, 5300 configurable: true, 5301 writable: true, 5302 value: value 5303 } ); 5304 } 5305 } ); 5306 }, 5307 5308 fix: function( originalEvent ) { 5309 return originalEvent[ jQuery.expando ] ? 5310 originalEvent : 5311 new jQuery.Event( originalEvent ); 5312 }, 5313 5314 special: { 5315 load: { 5316 5317 // Prevent triggered image.load events from bubbling to window.load 5318 noBubble: true 5319 }, 5320 click: { 5321 5322 // Utilize native event to ensure correct state for checkable inputs 5323 setup: function( data ) { 5324 5325 // For mutual compressibility with _default, replace `this` access with a local var. 5326 // `|| data` is dead code meant only to preserve the variable through minification. 5327 var el = this || data; 5328 5329 // Claim the first handler 5330 if ( rcheckableType.test( el.type ) && 5331 el.click && nodeName( el, "input" ) ) { 5332 5333 // dataPriv.set( el, "click", ... ) 5334 leverageNative( el, "click", true ); 5335 } 5336 5337 // Return false to allow normal processing in the caller 5338 return false; 5339 }, 5340 trigger: function( data ) { 5341 5342 // For mutual compressibility with _default, replace `this` access with a local var. 5343 // `|| data` is dead code meant only to preserve the variable through minification. 5344 var el = this || data; 5345 5346 // Force setup before triggering a click 5347 if ( rcheckableType.test( el.type ) && 5348 el.click && nodeName( el, "input" ) ) { 5349 5350 leverageNative( el, "click" ); 5351 } 5352 5353 // Return non-false to allow normal event-path propagation 5354 return true; 5355 }, 5356 5357 // For cross-browser consistency, suppress native .click() on links 5358 // Also prevent it if we're currently inside a leveraged native-event stack 5359 _default: function( event ) { 5360 var target = event.target; 5361 return rcheckableType.test( target.type ) && 5362 target.click && nodeName( target, "input" ) && 5363 dataPriv.get( target, "click" ) || 5364 nodeName( target, "a" ); 5365 } 5366 }, 5367 5368 beforeunload: { 5369 postDispatch: function( event ) { 5370 5371 // Support: Firefox 20+ 5372 // Firefox doesn't alert if the returnValue field is not set. 5373 if ( event.result !== undefined && event.originalEvent ) { 5374 event.originalEvent.returnValue = event.result; 5375 } 5376 } 5377 } 5378 } 5379}; 5380 5381// Ensure the presence of an event listener that handles manually-triggered 5382// synthetic events by interrupting progress until reinvoked in response to 5383// *native* events that it fires directly, ensuring that state changes have 5384// already occurred before other listeners are invoked. 5385function leverageNative( el, type, isSetup ) { 5386 5387 // Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add 5388 if ( !isSetup ) { 5389 if ( dataPriv.get( el, type ) === undefined ) { 5390 jQuery.event.add( el, type, returnTrue ); 5391 } 5392 return; 5393 } 5394 5395 // Register the controller as a special universal handler for all event namespaces 5396 dataPriv.set( el, type, false ); 5397 jQuery.event.add( el, type, { 5398 namespace: false, 5399 handler: function( event ) { 5400 var result, 5401 saved = dataPriv.get( this, type ); 5402 5403 if ( ( event.isTrigger & 1 ) && this[ type ] ) { 5404 5405 // Interrupt processing of the outer synthetic .trigger()ed event 5406 if ( !saved ) { 5407 5408 // Store arguments for use when handling the inner native event 5409 // There will always be at least one argument (an event object), so this array 5410 // will not be confused with a leftover capture object. 5411 saved = slice.call( arguments ); 5412 dataPriv.set( this, type, saved ); 5413 5414 // Trigger the native event and capture its result 5415 this[ type ](); 5416 result = dataPriv.get( this, type ); 5417 dataPriv.set( this, type, false ); 5418 5419 if ( saved !== result ) { 5420 5421 // Cancel the outer synthetic event 5422 event.stopImmediatePropagation(); 5423 event.preventDefault(); 5424 5425 return result; 5426 } 5427 5428 // If this is an inner synthetic event for an event with a bubbling surrogate 5429 // (focus or blur), assume that the surrogate already propagated from triggering 5430 // the native event and prevent that from happening again here. 5431 // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the 5432 // bubbling surrogate propagates *after* the non-bubbling base), but that seems 5433 // less bad than duplication. 5434 } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { 5435 event.stopPropagation(); 5436 } 5437 5438 // If this is a native event triggered above, everything is now in order 5439 // Fire an inner synthetic event with the original arguments 5440 } else if ( saved ) { 5441 5442 // ...and capture the result 5443 dataPriv.set( this, type, jQuery.event.trigger( 5444 saved[ 0 ], 5445 saved.slice( 1 ), 5446 this 5447 ) ); 5448 5449 // Abort handling of the native event by all jQuery handlers while allowing 5450 // native handlers on the same element to run. On target, this is achieved 5451 // by stopping immediate propagation just on the jQuery event. However, 5452 // the native event is re-wrapped by a jQuery one on each level of the 5453 // propagation so the only way to stop it for jQuery is to stop it for 5454 // everyone via native `stopPropagation()`. This is not a problem for 5455 // focus/blur which don't bubble, but it does also stop click on checkboxes 5456 // and radios. We accept this limitation. 5457 event.stopPropagation(); 5458 event.isImmediatePropagationStopped = returnTrue; 5459 } 5460 } 5461 } ); 5462} 5463 5464jQuery.removeEvent = function( elem, type, handle ) { 5465 5466 // This "if" is needed for plain objects 5467 if ( elem.removeEventListener ) { 5468 elem.removeEventListener( type, handle ); 5469 } 5470}; 5471 5472jQuery.Event = function( src, props ) { 5473 5474 // Allow instantiation without the 'new' keyword 5475 if ( !( this instanceof jQuery.Event ) ) { 5476 return new jQuery.Event( src, props ); 5477 } 5478 5479 // Event object 5480 if ( src && src.type ) { 5481 this.originalEvent = src; 5482 this.type = src.type; 5483 5484 // Events bubbling up the document may have been marked as prevented 5485 // by a handler lower down the tree; reflect the correct value. 5486 this.isDefaultPrevented = src.defaultPrevented || 5487 src.defaultPrevented === undefined && 5488 5489 // Support: Android <=2.3 only 5490 src.returnValue === false ? 5491 returnTrue : 5492 returnFalse; 5493 5494 // Create target properties 5495 // Support: Safari <=6 - 7 only 5496 // Target should not be a text node (trac-504, trac-13143) 5497 this.target = ( src.target && src.target.nodeType === 3 ) ? 5498 src.target.parentNode : 5499 src.target; 5500 5501 this.currentTarget = src.currentTarget; 5502 this.relatedTarget = src.relatedTarget; 5503 5504 // Event type 5505 } else { 5506 this.type = src; 5507 } 5508 5509 // Put explicitly provided properties onto the event object 5510 if ( props ) { 5511 jQuery.extend( this, props ); 5512 } 5513 5514 // Create a timestamp if incoming event doesn't have one 5515 this.timeStamp = src && src.timeStamp || Date.now(); 5516 5517 // Mark it as fixed 5518 this[ jQuery.expando ] = true; 5519}; 5520 5521// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding 5522// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html 5523jQuery.Event.prototype = { 5524 constructor: jQuery.Event, 5525 isDefaultPrevented: returnFalse, 5526 isPropagationStopped: returnFalse, 5527 isImmediatePropagationStopped: returnFalse, 5528 isSimulated: false, 5529 5530 preventDefault: function() { 5531 var e = this.originalEvent; 5532 5533 this.isDefaultPrevented = returnTrue; 5534 5535 if ( e && !this.isSimulated ) { 5536 e.preventDefault(); 5537 } 5538 }, 5539 stopPropagation: function() { 5540 var e = this.originalEvent; 5541 5542 this.isPropagationStopped = returnTrue; 5543 5544 if ( e && !this.isSimulated ) { 5545 e.stopPropagation(); 5546 } 5547 }, 5548 stopImmediatePropagation: function() { 5549 var e = this.originalEvent; 5550 5551 this.isImmediatePropagationStopped = returnTrue; 5552 5553 if ( e && !this.isSimulated ) { 5554 e.stopImmediatePropagation(); 5555 } 5556 5557 this.stopPropagation(); 5558 } 5559}; 5560 5561// Includes all common event props including KeyEvent and MouseEvent specific props 5562jQuery.each( { 5563 altKey: true, 5564 bubbles: true, 5565 cancelable: true, 5566 changedTouches: true, 5567 ctrlKey: true, 5568 detail: true, 5569 eventPhase: true, 5570 metaKey: true, 5571 pageX: true, 5572 pageY: true, 5573 shiftKey: true, 5574 view: true, 5575 "char": true, 5576 code: true, 5577 charCode: true, 5578 key: true, 5579 keyCode: true, 5580 button: true, 5581 buttons: true, 5582 clientX: true, 5583 clientY: true, 5584 offsetX: true, 5585 offsetY: true, 5586 pointerId: true, 5587 pointerType: true, 5588 screenX: true, 5589 screenY: true, 5590 targetTouches: true, 5591 toElement: true, 5592 touches: true, 5593 which: true 5594}, jQuery.event.addProp ); 5595 5596jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { 5597 5598 function focusMappedHandler( nativeEvent ) { 5599 if ( document.documentMode ) { 5600 5601 // Support: IE 11+ 5602 // Attach a single focusin/focusout handler on the document while someone wants 5603 // focus/blur. This is because the former are synchronous in IE while the latter 5604 // are async. In other browsers, all those handlers are invoked synchronously. 5605 5606 // `handle` from private data would already wrap the event, but we need 5607 // to change the `type` here. 5608 var handle = dataPriv.get( this, "handle" ), 5609 event = jQuery.event.fix( nativeEvent ); 5610 event.type = nativeEvent.type === "focusin" ? "focus" : "blur"; 5611 event.isSimulated = true; 5612 5613 // First, handle focusin/focusout 5614 handle( nativeEvent ); 5615 5616 // ...then, handle focus/blur 5617 // 5618 // focus/blur don't bubble while focusin/focusout do; simulate the former by only 5619 // invoking the handler at the lower level. 5620 if ( event.target === event.currentTarget ) { 5621 5622 // The setup part calls `leverageNative`, which, in turn, calls 5623 // `jQuery.event.add`, so event handle will already have been set 5624 // by this point. 5625 handle( event ); 5626 } 5627 } else { 5628 5629 // For non-IE browsers, attach a single capturing handler on the document 5630 // while someone wants focusin/focusout. 5631 jQuery.event.simulate( delegateType, nativeEvent.target, 5632 jQuery.event.fix( nativeEvent ) ); 5633 } 5634 } 5635 5636 jQuery.event.special[ type ] = { 5637 5638 // Utilize native event if possible so blur/focus sequence is correct 5639 setup: function() { 5640 5641 var attaches; 5642 5643 // Claim the first handler 5644 // dataPriv.set( this, "focus", ... ) 5645 // dataPriv.set( this, "blur", ... ) 5646 leverageNative( this, type, true ); 5647 5648 if ( document.documentMode ) { 5649 5650 // Support: IE 9 - 11+ 5651 // We use the same native handler for focusin & focus (and focusout & blur) 5652 // so we need to coordinate setup & teardown parts between those events. 5653 // Use `delegateType` as the key as `type` is already used by `leverageNative`. 5654 attaches = dataPriv.get( this, delegateType ); 5655 if ( !attaches ) { 5656 this.addEventListener( delegateType, focusMappedHandler ); 5657 } 5658 dataPriv.set( this, delegateType, ( attaches || 0 ) + 1 ); 5659 } else { 5660 5661 // Return false to allow normal processing in the caller 5662 return false; 5663 } 5664 }, 5665 trigger: function() { 5666 5667 // Force setup before trigger 5668 leverageNative( this, type ); 5669 5670 // Return non-false to allow normal event-path propagation 5671 return true; 5672 }, 5673 5674 teardown: function() { 5675 var attaches; 5676 5677 if ( document.documentMode ) { 5678 attaches = dataPriv.get( this, delegateType ) - 1; 5679 if ( !attaches ) { 5680 this.removeEventListener( delegateType, focusMappedHandler ); 5681 dataPriv.remove( this, delegateType ); 5682 } else { 5683 dataPriv.set( this, delegateType, attaches ); 5684 } 5685 } else { 5686 5687 // Return false to indicate standard teardown should be applied 5688 return false; 5689 } 5690 }, 5691 5692 // Suppress native focus or blur if we're currently inside 5693 // a leveraged native-event stack 5694 _default: function( event ) { 5695 return dataPriv.get( event.target, type ); 5696 }, 5697 5698 delegateType: delegateType 5699 }; 5700 5701 // Support: Firefox <=44 5702 // Firefox doesn't have focus(in | out) events 5703 // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 5704 // 5705 // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 5706 // focus(in | out) events fire after focus & blur events, 5707 // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order 5708 // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 5709 // 5710 // Support: IE 9 - 11+ 5711 // To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch, 5712 // attach a single handler for both events in IE. 5713 jQuery.event.special[ delegateType ] = { 5714 setup: function() { 5715 5716 // Handle: regular nodes (via `this.ownerDocument`), window 5717 // (via `this.document`) & document (via `this`). 5718 var doc = this.ownerDocument || this.document || this, 5719 dataHolder = document.documentMode ? this : doc, 5720 attaches = dataPriv.get( dataHolder, delegateType ); 5721 5722 // Support: IE 9 - 11+ 5723 // We use the same native handler for focusin & focus (and focusout & blur) 5724 // so we need to coordinate setup & teardown parts between those events. 5725 // Use `delegateType` as the key as `type` is already used by `leverageNative`. 5726 if ( !attaches ) { 5727 if ( document.documentMode ) { 5728 this.addEventListener( delegateType, focusMappedHandler ); 5729 } else { 5730 doc.addEventListener( type, focusMappedHandler, true ); 5731 } 5732 } 5733 dataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 ); 5734 }, 5735 teardown: function() { 5736 var doc = this.ownerDocument || this.document || this, 5737 dataHolder = document.documentMode ? this : doc, 5738 attaches = dataPriv.get( dataHolder, delegateType ) - 1; 5739 5740 if ( !attaches ) { 5741 if ( document.documentMode ) { 5742 this.removeEventListener( delegateType, focusMappedHandler ); 5743 } else { 5744 doc.removeEventListener( type, focusMappedHandler, true ); 5745 } 5746 dataPriv.remove( dataHolder, delegateType ); 5747 } else { 5748 dataPriv.set( dataHolder, delegateType, attaches ); 5749 } 5750 } 5751 }; 5752} ); 5753 5754// Create mouseenter/leave events using mouseover/out and event-time checks 5755// so that event delegation works in jQuery. 5756// Do the same for pointerenter/pointerleave and pointerover/pointerout 5757// 5758// Support: Safari 7 only 5759// Safari sends mouseenter too often; see: 5760// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 5761// for the description of the bug (it existed in older Chrome versions as well). 5762jQuery.each( { 5763 mouseenter: "mouseover", 5764 mouseleave: "mouseout", 5765 pointerenter: "pointerover", 5766 pointerleave: "pointerout" 5767}, function( orig, fix ) { 5768 jQuery.event.special[ orig ] = { 5769 delegateType: fix, 5770 bindType: fix, 5771 5772 handle: function( event ) { 5773 var ret, 5774 target = this, 5775 related = event.relatedTarget, 5776 handleObj = event.handleObj; 5777 5778 // For mouseenter/leave call the handler if related is outside the target. 5779 // NB: No relatedTarget if the mouse left/entered the browser window 5780 if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { 5781 event.type = handleObj.origType; 5782 ret = handleObj.handler.apply( this, arguments ); 5783 event.type = fix; 5784 } 5785 return ret; 5786 } 5787 }; 5788} ); 5789 5790jQuery.fn.extend( { 5791 5792 on: function( types, selector, data, fn ) { 5793 return on( this, types, selector, data, fn ); 5794 }, 5795 one: function( types, selector, data, fn ) { 5796 return on( this, types, selector, data, fn, 1 ); 5797 }, 5798 off: function( types, selector, fn ) { 5799 var handleObj, type; 5800 if ( types && types.preventDefault && types.handleObj ) { 5801 5802 // ( event ) dispatched jQuery.Event 5803 handleObj = types.handleObj; 5804 jQuery( types.delegateTarget ).off( 5805 handleObj.namespace ? 5806 handleObj.origType + "." + handleObj.namespace : 5807 handleObj.origType, 5808 handleObj.selector, 5809 handleObj.handler 5810 ); 5811 return this; 5812 } 5813 if ( typeof types === "object" ) { 5814 5815 // ( types-object [, selector] ) 5816 for ( type in types ) { 5817 this.off( type, selector, types[ type ] ); 5818 } 5819 return this; 5820 } 5821 if ( selector === false || typeof selector === "function" ) { 5822 5823 // ( types [, fn] ) 5824 fn = selector; 5825 selector = undefined; 5826 } 5827 if ( fn === false ) { 5828 fn = returnFalse; 5829 } 5830 return this.each( function() { 5831 jQuery.event.remove( this, types, fn, selector ); 5832 } ); 5833 } 5834} ); 5835 5836 5837var 5838 5839 // Support: IE <=10 - 11, Edge 12 - 13 only 5840 // In IE/Edge using regex groups here causes severe slowdowns. 5841 // See https://connect.microsoft.com/IE/feedback/details/1736512/ 5842 rnoInnerhtml = /<script|<style|<link/i, 5843 5844 // checked="checked" or checked 5845 rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, 5846 5847 rcleanScript = /^\s*<!\[CDATA\[|\]\]>\s*$/g; 5848 5849// Prefer a tbody over its parent table for containing new rows 5850function manipulationTarget( elem, content ) { 5851 if ( nodeName( elem, "table" ) && 5852 nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { 5853 5854 return jQuery( elem ).children( "tbody" )[ 0 ] || elem; 5855 } 5856 5857 return elem; 5858} 5859 5860// Replace/restore the type attribute of script elements for safe DOM manipulation 5861function disableScript( elem ) { 5862 elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; 5863 return elem; 5864} 5865function restoreScript( elem ) { 5866 if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { 5867 elem.type = elem.type.slice( 5 ); 5868 } else { 5869 elem.removeAttribute( "type" ); 5870 } 5871 5872 return elem; 5873} 5874 5875function cloneCopyEvent( src, dest ) { 5876 var i, l, type, pdataOld, udataOld, udataCur, events; 5877
vendor: 6,382 bytes, lines 5878-6107
5878 if ( dest.nodeType !== 1 ) { 5879 return; 5880 } 5881 5882 // 1. Copy private data: events, handlers, etc. 5883 if ( dataPriv.hasData( src ) ) { 5884 pdataOld = dataPriv.get( src ); 5885 events = pdataOld.events; 5886 5887 if ( events ) { 5888 dataPriv.remove( dest, "handle events" ); 5889 5890 for ( type in events ) { 5891 for ( i = 0, l = events[ type ].length; i < l; i++ ) { 5892 jQuery.event.add( dest, type, events[ type ][ i ] ); 5893 } 5894 } 5895 } 5896 } 5897 5898 // 2. Copy user data 5899 if ( dataUser.hasData( src ) ) { 5900 udataOld = dataUser.access( src ); 5901 udataCur = jQuery.extend( {}, udataOld ); 5902 5903 dataUser.set( dest, udataCur ); 5904 } 5905} 5906 5907// Fix IE bugs, see support tests 5908function fixInput( src, dest ) { 5909 var nodeName = dest.nodeName.toLowerCase(); 5910 5911 // Fails to persist the checked state of a cloned checkbox or radio button. 5912 if ( nodeName === "input" && rcheckableType.test( src.type ) ) { 5913 dest.checked = src.checked; 5914 5915 // Fails to return the selected option to the default selected state when cloning options 5916 } else if ( nodeName === "input" || nodeName === "textarea" ) { 5917 dest.defaultValue = src.defaultValue; 5918 } 5919} 5920 5921function domManip( collection, args, callback, ignored ) { 5922 5923 // Flatten any nested arrays 5924 args = flat( args ); 5925 5926 var fragment, first, scripts, hasScripts, node, doc, 5927 i = 0, 5928 l = collection.length, 5929 iNoClone = l - 1, 5930 value = args[ 0 ], 5931 valueIsFunction = isFunction( value ); 5932 5933 // We can't cloneNode fragments that contain checked, in WebKit 5934 if ( valueIsFunction || 5935 ( l > 1 && typeof value === "string" && 5936 !support.checkClone && rchecked.test( value ) ) ) { 5937 return collection.each( function( index ) { 5938 var self = collection.eq( index ); 5939 if ( valueIsFunction ) { 5940 args[ 0 ] = value.call( this, index, self.html() ); 5941 } 5942 domManip( self, args, callback, ignored ); 5943 } ); 5944 } 5945 5946 if ( l ) { 5947 fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); 5948 first = fragment.firstChild; 5949 5950 if ( fragment.childNodes.length === 1 ) { 5951 fragment = first; 5952 } 5953 5954 // Require either new content or an interest in ignored elements to invoke the callback 5955 if ( first || ignored ) { 5956 scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); 5957 hasScripts = scripts.length; 5958 5959 // Use the original fragment for the last item 5960 // instead of the first because it can end up 5961 // being emptied incorrectly in certain situations (trac-8070). 5962 for ( ; i < l; i++ ) { 5963 node = fragment; 5964 5965 if ( i !== iNoClone ) { 5966 node = jQuery.clone( node, true, true ); 5967 5968 // Keep references to cloned scripts for later restoration 5969 if ( hasScripts ) { 5970 5971 // Support: Android <=4.0 only, PhantomJS 1 only 5972 // push.apply(_, arraylike) throws on ancient WebKit 5973 jQuery.merge( scripts, getAll( node, "script" ) ); 5974 } 5975 } 5976 5977 callback.call( collection[ i ], node, i ); 5978 } 5979 5980 if ( hasScripts ) { 5981 doc = scripts[ scripts.length - 1 ].ownerDocument; 5982 5983 // Re-enable scripts 5984 jQuery.map( scripts, restoreScript ); 5985 5986 // Evaluate executable scripts on first document insertion 5987 for ( i = 0; i < hasScripts; i++ ) { 5988 node = scripts[ i ]; 5989 if ( rscriptType.test( node.type || "" ) && 5990 !dataPriv.access( node, "globalEval" ) && 5991 jQuery.contains( doc, node ) ) { 5992 5993 if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { 5994 5995 // Optional AJAX dependency, but won't run scripts if not present 5996 if ( jQuery._evalUrl && !node.noModule ) { 5997 jQuery._evalUrl( node.src, { 5998 nonce: node.nonce || node.getAttribute( "nonce" ) 5999 }, doc ); 6000 } 6001 } else { 6002 6003 // Unwrap a CDATA section containing script contents. This shouldn't be 6004 // needed as in XML documents they're already not visible when 6005 // inspecting element contents and in HTML documents they have no 6006 // meaning but we're preserving that logic for backwards compatibility. 6007 // This will be removed completely in 4.0. See gh-4904. 6008 DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); 6009 } 6010 } 6011 } 6012 } 6013 } 6014 } 6015 6016 return collection; 6017} 6018 6019function remove( elem, selector, keepData ) { 6020 var node, 6021 nodes = selector ? jQuery.filter( selector, elem ) : elem, 6022 i = 0; 6023 6024 for ( ; ( node = nodes[ i ] ) != null; i++ ) { 6025 if ( !keepData && node.nodeType === 1 ) { 6026 jQuery.cleanData( getAll( node ) ); 6027 } 6028 6029 if ( node.parentNode ) { 6030 if ( keepData && isAttached( node ) ) { 6031 setGlobalEval( getAll( node, "script" ) ); 6032 } 6033 node.parentNode.removeChild( node ); 6034 } 6035 } 6036 6037 return elem; 6038} 6039 6040jQuery.extend( { 6041 htmlPrefilter: function( html ) { 6042 return html; 6043 }, 6044 6045 clone: function( elem, dataAndEvents, deepDataAndEvents ) { 6046 var i, l, srcElements, destElements, 6047 clone = elem.cloneNode( true ), 6048 inPage = isAttached( elem ); 6049 6050 // Fix IE cloning issues 6051 if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && 6052 !jQuery.isXMLDoc( elem ) ) { 6053 6054 // We eschew jQuery#find here for performance reasons: 6055 // https://jsperf.com/getall-vs-sizzle/2 6056 destElements = getAll( clone ); 6057 srcElements = getAll( elem ); 6058 6059 for ( i = 0, l = srcElements.length; i < l; i++ ) { 6060 fixInput( srcElements[ i ], destElements[ i ] ); 6061 } 6062 } 6063 6064 // Copy the events from the original to the clone 6065 if ( dataAndEvents ) { 6066 if ( deepDataAndEvents ) { 6067 srcElements = srcElements || getAll( elem ); 6068 destElements = destElements || getAll( clone ); 6069 6070 for ( i = 0, l = srcElements.length; i < l; i++ ) { 6071 cloneCopyEvent( srcElements[ i ], destElements[ i ] ); 6072 } 6073 } else { 6074 cloneCopyEvent( elem, clone ); 6075 } 6076 } 6077 6078 // Preserve script evaluation history 6079 destElements = getAll( clone, "script" ); 6080 if ( destElements.length > 0 ) { 6081 setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); 6082 } 6083 6084 // Return the cloned set 6085 return clone; 6086 }, 6087 6088 cleanData: function( elems ) { 6089 var data, elem, type, 6090 special = jQuery.event.special, 6091 i = 0; 6092 6093 for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { 6094 if ( acceptData( elem ) ) { 6095 if ( ( data = elem[ dataPriv.expando ] ) ) { 6096 if ( data.events ) { 6097 for ( type in data.events ) { 6098 if ( special[ type ] ) { 6099 jQuery.event.remove( elem, type ); 6100 6101 // This is a shortcut to avoid jQuery.event.remove's overhead 6102 } else { 6103 jQuery.removeEvent( elem, type, data.handle ); 6104 } 6105 } 6106 } 6107
vendor: 1,119 bytes, lines 6108-6152
6108 // Support: Chrome <=35 - 45+ 6109 // Assign undefined instead of using delete, see Data#remove 6110 elem[ dataPriv.expando ] = undefined; 6111 } 6112 if ( elem[ dataUser.expando ] ) { 6113 6114 // Support: Chrome <=35 - 45+ 6115 // Assign undefined instead of using delete, see Data#remove 6116 elem[ dataUser.expando ] = undefined; 6117 } 6118 } 6119 } 6120 } 6121} ); 6122 6123jQuery.fn.extend( { 6124 detach: function( selector ) { 6125 return remove( this, selector, true ); 6126 }, 6127 6128 remove: function( selector ) { 6129 return remove( this, selector ); 6130 }, 6131 6132 text: function( value ) { 6133 return access( this, function( value ) { 6134 return value === undefined ? 6135 jQuery.text( this ) : 6136 this.empty().each( function() { 6137 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 6138 this.textContent = value; 6139 } 6140 } ); 6141 }, null, value, arguments.length ); 6142 }, 6143 6144 append: function() { 6145 return domManip( this, arguments, function( elem ) { 6146 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 6147 var target = manipulationTarget( this, elem ); 6148 target.appendChild( elem ); 6149 } 6150 } ); 6151 }, 6152
vendor: 4,514 bytes, lines 6153-6344
6153 prepend: function() { 6154 return domManip( this, arguments, function( elem ) { 6155 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 6156 var target = manipulationTarget( this, elem ); 6157 target.insertBefore( elem, target.firstChild ); 6158 } 6159 } ); 6160 }, 6161 6162 before: function() { 6163 return domManip( this, arguments, function( elem ) { 6164 if ( this.parentNode ) { 6165 this.parentNode.insertBefore( elem, this ); 6166 } 6167 } ); 6168 }, 6169 6170 after: function() { 6171 return domManip( this, arguments, function( elem ) { 6172 if ( this.parentNode ) { 6173 this.parentNode.insertBefore( elem, this.nextSibling ); 6174 } 6175 } ); 6176 }, 6177 6178 empty: function() { 6179 var elem, 6180 i = 0; 6181 6182 for ( ; ( elem = this[ i ] ) != null; i++ ) { 6183 if ( elem.nodeType === 1 ) { 6184 6185 // Prevent memory leaks 6186 jQuery.cleanData( getAll( elem, false ) ); 6187 6188 // Remove any remaining nodes 6189 elem.textContent = ""; 6190 } 6191 } 6192 6193 return this; 6194 }, 6195 6196 clone: function( dataAndEvents, deepDataAndEvents ) { 6197 dataAndEvents = dataAndEvents == null ? false : dataAndEvents; 6198 deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; 6199 6200 return this.map( function() { 6201 return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); 6202 } ); 6203 }, 6204 6205 html: function( value ) { 6206 return access( this, function( value ) { 6207 var elem = this[ 0 ] || {}, 6208 i = 0, 6209 l = this.length; 6210 6211 if ( value === undefined && elem.nodeType === 1 ) { 6212 return elem.innerHTML; 6213 } 6214 6215 // See if we can take a shortcut and just use innerHTML 6216 if ( typeof value === "string" && !rnoInnerhtml.test( value ) && 6217 !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { 6218 6219 value = jQuery.htmlPrefilter( value ); 6220 6221 try { 6222 for ( ; i < l; i++ ) { 6223 elem = this[ i ] || {}; 6224 6225 // Remove element nodes and prevent memory leaks 6226 if ( elem.nodeType === 1 ) { 6227 jQuery.cleanData( getAll( elem, false ) ); 6228 elem.innerHTML = value; 6229 } 6230 } 6231 6232 elem = 0; 6233 6234 // If using innerHTML throws an exception, use the fallback method 6235 } catch ( e ) {} 6236 } 6237 6238 if ( elem ) { 6239 this.empty().append( value ); 6240 } 6241 }, null, value, arguments.length ); 6242 }, 6243 6244 replaceWith: function() { 6245 var ignored = []; 6246 6247 // Make the changes, replacing each non-ignored context element with the new content 6248 return domManip( this, arguments, function( elem ) { 6249 var parent = this.parentNode; 6250 6251 if ( jQuery.inArray( this, ignored ) < 0 ) { 6252 jQuery.cleanData( getAll( this ) ); 6253 if ( parent ) { 6254 parent.replaceChild( elem, this ); 6255 } 6256 } 6257 6258 // Force callback invocation 6259 }, ignored ); 6260 } 6261} ); 6262 6263jQuery.each( { 6264 appendTo: "append", 6265 prependTo: "prepend", 6266 insertBefore: "before", 6267 insertAfter: "after", 6268 replaceAll: "replaceWith" 6269}, function( name, original ) { 6270 jQuery.fn[ name ] = function( selector ) { 6271 var elems, 6272 ret = [], 6273 insert = jQuery( selector ), 6274 last = insert.length - 1, 6275 i = 0; 6276 6277 for ( ; i <= last; i++ ) { 6278 elems = i === last ? this : this.clone( true ); 6279 jQuery( insert[ i ] )[ original ]( elems ); 6280 6281 // Support: Android <=4.0 only, PhantomJS 1 only 6282 // .get() because push.apply(_, arraylike) throws on ancient WebKit 6283 push.apply( ret, elems.get() ); 6284 } 6285 6286 return this.pushStack( ret ); 6287 }; 6288} ); 6289var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 6290 6291var rcustomProp = /^--/; 6292 6293 6294var getStyles = function( elem ) { 6295 6296 // Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150) 6297 // IE throws on elements created in popups 6298 // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 6299 var view = elem.ownerDocument.defaultView; 6300 6301 if ( !view || !view.opener ) { 6302 view = window; 6303 } 6304 6305 return view.getComputedStyle( elem ); 6306 }; 6307 6308var swap = function( elem, options, callback ) { 6309 var ret, name, 6310 old = {}; 6311 6312 // Remember the old values, and insert the new ones 6313 for ( name in options ) { 6314 old[ name ] = elem.style[ name ]; 6315 elem.style[ name ] = options[ name ]; 6316 } 6317 6318 ret = callback.call( elem ); 6319 6320 // Revert the old values 6321 for ( name in options ) { 6322 elem.style[ name ] = old[ name ]; 6323 } 6324 6325 return ret; 6326}; 6327 6328 6329var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); 6330 6331 6332 6333( function() { 6334 6335 // Executing both pixelPosition & boxSizingReliable tests require only one layout 6336 // so they're executed at the same time to save the second computation. 6337 function computeStyleTests() { 6338 6339 // This is a singleton, we need to execute it only once 6340 if ( !div ) { 6341 return; 6342 } 6343 6344 container.style.cssText = "position:absolute;
vendor: 4,156 bytes, lines 6344-6463
6344left:-11111px;width:60px;" + 6345 "margin-top:1px;padding:0;border:0"; 6346 div.style.cssText = 6347 "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + 6348 "margin:auto;border:1px;padding:1px;" + 6349 "width:60%;top:1%"; 6350 documentElement.appendChild( container ).appendChild( div ); 6351 6352 var divStyle = window.getComputedStyle( div ); 6353 pixelPositionVal = divStyle.top !== "1%"; 6354 6355 // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 6356 reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; 6357 6358 // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 6359 // Some styles come back with percentage values, even though they shouldn't 6360 div.style.right = "60%"; 6361 pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; 6362 6363 // Support: IE 9 - 11 only 6364 // Detect misreporting of content dimensions for box-sizing:border-box elements 6365 boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; 6366 6367 // Support: IE 9 only 6368 // Detect overflow:scroll screwiness (gh-3699) 6369 // Support: Chrome <=64 6370 // Don't get tricked when zoom affects offsetWidth (gh-4029) 6371 div.style.position = "absolute"; 6372 scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; 6373 6374 documentElement.removeChild( container ); 6375 6376 // Nullify the div so it wouldn't be stored in the memory and 6377 // it will also be a sign that checks already performed 6378 div = null; 6379 } 6380 6381 function roundPixelMeasures( measure ) { 6382 return Math.round( parseFloat( measure ) ); 6383 } 6384 6385 var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, 6386 reliableTrDimensionsVal, reliableMarginLeftVal, 6387 container = document.createElement( "div" ), 6388 div = document.createElement( "div" ); 6389 6390 // Finish early in limited (non-browser) environments 6391 if ( !div.style ) { 6392 return; 6393 } 6394 6395 // Support: IE <=9 - 11 only 6396 // Style of cloned element affects source element cloned (trac-8908) 6397 div.style.backgroundClip = "content-box"; 6398 div.cloneNode( true ).style.backgroundClip = ""; 6399 support.clearCloneStyle = div.style.backgroundClip === "content-box"; 6400 6401 jQuery.extend( support, { 6402 boxSizingReliable: function() { 6403 computeStyleTests(); 6404 return boxSizingReliableVal; 6405 }, 6406 pixelBoxStyles: function() { 6407 computeStyleTests(); 6408 return pixelBoxStylesVal; 6409 }, 6410 pixelPosition: function() { 6411 computeStyleTests(); 6412 return pixelPositionVal; 6413 }, 6414 reliableMarginLeft: function() { 6415 computeStyleTests(); 6416 return reliableMarginLeftVal; 6417 }, 6418 scrollboxSize: function() { 6419 computeStyleTests(); 6420 return scrollboxSizeVal; 6421 }, 6422 6423 // Support: IE 9 - 11+, Edge 15 - 18+ 6424 // IE/Edge misreport `getComputedStyle` of table rows with width/height 6425 // set in CSS while `offset*` properties report correct values. 6426 // Behavior in IE 9 is more subtle than in newer versions & it passes 6427 // some versions of this test; make sure not to make it pass there! 6428 // 6429 // Support: Firefox 70+ 6430 // Only Firefox includes border widths 6431 // in computed dimensions. (gh-4529) 6432 reliableTrDimensions: function() { 6433 var table, tr, trChild, trStyle; 6434 if ( reliableTrDimensionsVal == null ) { 6435 table = document.createElement( "table" ); 6436 tr = document.createElement( "tr" ); 6437 trChild = document.createElement( "div" ); 6438 6439 table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; 6440 tr.style.cssText = "box-sizing:content-box;border:1px solid"; 6441 6442 // Support: Chrome 86+ 6443 // Height set through cssText does not get applied. 6444 // Computed height then comes back as 0. 6445 tr.style.height = "1px"; 6446 trChild.style.height = "9px"; 6447 6448 // Support: Android 8 Chrome 86+ 6449 // In our bodyBackground.html iframe, 6450 // display for all div elements is set to "inline", 6451 // which causes a problem only in Android 8 Chrome 86. 6452 // Ensuring the div is `display: block` 6453 // gets around this issue. 6454 trChild.style.display = "block"; 6455 6456 documentElement 6457 .appendChild( table ) 6458 .appendChild( tr ) 6459 .appendChild( trChild ); 6460 6461 trStyle = window.getComputedStyle( tr ); 6462 reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + 6463 parseInt( trStyle.borderTopWidth, 10 ) +
vendor: 12,879 bytes, lines 6464-6890
6464 parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; 6465 6466 documentElement.removeChild( table ); 6467 } 6468 return reliableTrDimensionsVal; 6469 } 6470 } ); 6471} )(); 6472 6473 6474function curCSS( elem, name, computed ) { 6475 var width, minWidth, maxWidth, ret, 6476 isCustomProp = rcustomProp.test( name ), 6477 6478 // Support: Firefox 51+ 6479 // Retrieving style before computed somehow 6480 // fixes an issue with getting wrong values 6481 // on detached elements 6482 style = elem.style; 6483 6484 computed = computed || getStyles( elem ); 6485 6486 // getPropertyValue is needed for: 6487 // .css('filter') (IE 9 only, trac-12537) 6488 // .css('--customProperty) (gh-3144) 6489 if ( computed ) { 6490 6491 // Support: IE <=9 - 11+ 6492 // IE only supports `"float"` in `getPropertyValue`; in computed styles 6493 // it's only available as `"cssFloat"`. We no longer modify properties 6494 // sent to `.css()` apart from camelCasing, so we need to check both. 6495 // Normally, this would create difference in behavior: if 6496 // `getPropertyValue` returns an empty string, the value returned 6497 // by `.css()` would be `undefined`. This is usually the case for 6498 // disconnected elements. However, in IE even disconnected elements 6499 // with no styles return `"none"` for `getPropertyValue( "float" )` 6500 ret = computed.getPropertyValue( name ) || computed[ name ]; 6501 6502 if ( isCustomProp && ret ) { 6503 6504 // Support: Firefox 105+, Chrome <=105+ 6505 // Spec requires trimming whitespace for custom properties (gh-4926). 6506 // Firefox only trims leading whitespace. Chrome just collapses 6507 // both leading & trailing whitespace to a single space. 6508 // 6509 // Fall back to `undefined` if empty string returned. 6510 // This collapses a missing definition with property defined 6511 // and set to an empty string but there's no standard API 6512 // allowing us to differentiate them without a performance penalty 6513 // and returning `undefined` aligns with older jQuery. 6514 // 6515 // rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED 6516 // as whitespace while CSS does not, but this is not a problem 6517 // because CSS preprocessing replaces them with U+000A LINE FEED 6518 // (which *is* CSS whitespace) 6519 // https://www.w3.org/TR/css-syntax-3/#input-preprocessing 6520 ret = ret.replace( rtrimCSS, "$1" ) || undefined; 6521 } 6522 6523 if ( ret === "" && !isAttached( elem ) ) { 6524 ret = jQuery.style( elem, name ); 6525 } 6526 6527 // A tribute to the "awesome hack by Dean Edwards" 6528 // Android Browser returns percentage for some values, 6529 // but width seems to be reliably pixels. 6530 // This is against the CSSOM draft spec: 6531 // https://drafts.csswg.org/cssom/#resolved-values 6532 if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { 6533 6534 // Remember the original values 6535 width = style.width; 6536 minWidth = style.minWidth; 6537 maxWidth = style.maxWidth; 6538 6539 // Put in the new values to get a computed value out 6540 style.minWidth = style.maxWidth = style.width = ret; 6541 ret = computed.width; 6542 6543 // Revert the changed values 6544 style.width = width; 6545 style.minWidth = minWidth; 6546 style.maxWidth = maxWidth; 6547 } 6548 } 6549 6550 return ret !== undefined ? 6551 6552 // Support: IE <=9 - 11 only 6553 // IE returns zIndex value as an integer. 6554 ret + "" : 6555 ret; 6556} 6557 6558 6559function addGetHookIf( conditionFn, hookFn ) { 6560 6561 // Define the hook, we'll check on the first run if it's really needed. 6562 return { 6563 get: function() { 6564 if ( conditionFn() ) { 6565 6566 // Hook not needed (or it's not possible to use it due 6567 // to missing dependency), remove it. 6568 delete this.get; 6569 return; 6570 } 6571 6572 // Hook needed; redefine it so that the support test is not executed again. 6573 return ( this.get = hookFn ).apply( this, arguments ); 6574 } 6575 }; 6576} 6577 6578 6579var cssPrefixes = [ "Webkit", "Moz", "ms" ], 6580 emptyStyle = document.createElement( "div" ).style, 6581 vendorProps = {}; 6582 6583// Return a vendor-prefixed property or undefined 6584function vendorPropName( name ) { 6585 6586 // Check for vendor prefixed names 6587 var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), 6588 i = cssPrefixes.length; 6589 6590 while ( i-- ) { 6591 name = cssPrefixes[ i ] + capName; 6592 if ( name in emptyStyle ) { 6593 return name; 6594 } 6595 } 6596} 6597 6598// Return a potentially-mapped jQuery.cssProps or vendor prefixed property 6599function finalPropName( name ) { 6600 var final = jQuery.cssProps[ name ] || vendorProps[ name ]; 6601 6602 if ( final ) { 6603 return final; 6604 } 6605 if ( name in emptyStyle ) { 6606 return name; 6607 } 6608 return vendorProps[ name ] = vendorPropName( name ) || name; 6609} 6610 6611 6612var 6613 6614 // Swappable if display is none or starts with table 6615 // except "table", "table-cell", or "table-caption" 6616 // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display 6617 rdisplayswap = /^(none|table(?!-c[ea]).+)/, 6618 cssShow = { position: "absolute", visibility: "hidden", display: "block" }, 6619 cssNormalTransform = { 6620 letterSpacing: "0", 6621 fontWeight: "400" 6622 }; 6623 6624function setPositiveNumber( _elem, value, subtract ) { 6625 6626 // Any relative (+/-) values have already been 6627 // normalized at this point 6628 var matches = rcssNum.exec( value ); 6629 return matches ? 6630 6631 // Guard against undefined "subtract", e.g., when used as in cssHooks 6632 Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : 6633 value; 6634} 6635 6636function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { 6637 var i = dimension === "width" ? 1 : 0, 6638 extra = 0, 6639 delta = 0, 6640 marginDelta = 0; 6641 6642 // Adjustment may not be necessary 6643 if ( box === ( isBorderBox ? "border" : "content" ) ) { 6644 return 0; 6645 } 6646 6647 for ( ; i < 4; i += 2 ) { 6648 6649 // Both box models exclude margin 6650 // Count margin delta separately to only add it after scroll gutter adjustment. 6651 // This is needed to make negative margins work with `outerHeight( true )` (gh-3982). 6652 if ( box === "margin" ) { 6653 marginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); 6654 } 6655 6656 // If we get here with a content-box, we're seeking "padding" or "border" or "margin" 6657 if ( !isBorderBox ) { 6658 6659 // Add padding 6660 delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); 6661 6662 // For "border" or "margin", add border 6663 if ( box !== "padding" ) { 6664 delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 6665 6666 // But still keep track of it otherwise 6667 } else { 6668 extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 6669 } 6670 6671 // If we get here with a border-box (content + padding + border), we're seeking "content" or 6672 // "padding" or "margin" 6673 } else { 6674 6675 // For "content", subtract padding 6676 if ( box === "content" ) { 6677 delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); 6678 } 6679 6680 // For "content" or "padding", subtract border 6681 if ( box !== "margin" ) { 6682 delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 6683 } 6684 } 6685 } 6686 6687 // Account for positive content-box scroll gutter when requested by providing computedVal 6688 if ( !isBorderBox && computedVal >= 0 ) { 6689 6690 // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border 6691 // Assuming integer scroll gutter, subtract the rest and round down 6692 delta += Math.max( 0, Math.ceil( 6693 elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - 6694 computedVal - 6695 delta - 6696 extra - 6697 0.5 6698 6699 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter 6700 // Use an explicit zero to avoid NaN (gh-3964) 6701 ) ) || 0; 6702 } 6703 6704 return delta + marginDelta; 6705} 6706 6707function getWidthOrHeight( elem, dimension, extra ) { 6708 6709 // Start with computed style 6710 var styles = getStyles( elem ), 6711 6712 // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). 6713 // Fake content-box until we know it's needed to know the true value. 6714 boxSizingNeeded = !support.boxSizingReliable() || extra, 6715 isBorderBox = boxSizingNeeded && 6716 jQuery.css( elem, "boxSizing", false, styles ) === "border-box", 6717 valueIsBorderBox = isBorderBox, 6718 6719 val = curCSS( elem, dimension, styles ), 6720 offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); 6721 6722 // Support: Firefox <=54 6723 // Return a confounding non-pixel value or feign ignorance, as appropriate. 6724 if ( rnumnonpx.test( val ) ) { 6725 if ( !extra ) { 6726 return val; 6727 } 6728 val = "auto"; 6729 } 6730 6731 6732 // Support: IE 9 - 11 only 6733 // Use offsetWidth/offsetHeight for when box sizing is unreliable. 6734 // In those cases, the computed value can be trusted to be border-box. 6735 if ( ( !support.boxSizingReliable() && isBorderBox || 6736 6737 // Support: IE 10 - 11+, Edge 15 - 18+ 6738 // IE/Edge misreport `getComputedStyle` of table rows with width/height 6739 // set in CSS while `offset*` properties report correct values. 6740 // Interestingly, in some cases IE 9 doesn't suffer from this issue. 6741 !support.reliableTrDimensions() && nodeName( elem, "tr" ) || 6742 6743 // Fall back to offsetWidth/offsetHeight when value is "auto" 6744 // This happens for inline elements with no explicit setting (gh-3571) 6745 val === "auto" || 6746 6747 // Support: Android <=4.1 - 4.3 only 6748 // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) 6749 !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && 6750 6751 // Make sure the element is visible & connected 6752 elem.getClientRects().length ) { 6753 6754 isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; 6755 6756 // Where available, offsetWidth/offsetHeight approximate border box dimensions. 6757 // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the 6758 // retrieved value as a content box dimension. 6759 valueIsBorderBox = offsetProp in elem; 6760 if ( valueIsBorderBox ) { 6761 val = elem[ offsetProp ]; 6762 } 6763 } 6764 6765 // Normalize "" and auto 6766 val = parseFloat( val ) || 0; 6767 6768 // Adjust for the element's box model 6769 return ( val + 6770 boxModelAdjustment( 6771 elem, 6772 dimension, 6773 extra || ( isBorderBox ? "border" : "content" ), 6774 valueIsBorderBox, 6775 styles, 6776 6777 // Provide the current computed size to request scroll gutter calculation (gh-3589) 6778 val 6779 ) 6780 ) + "px"; 6781} 6782 6783jQuery.extend( { 6784 6785 // Add in style property hooks for overriding the default 6786 // behavior of getting and setting a style property 6787 cssHooks: { 6788 opacity: { 6789 get: function( elem, computed ) { 6790 if ( computed ) { 6791 6792 // We should always get a number back from opacity 6793 var ret = curCSS( elem, "opacity" ); 6794 return ret === "" ? "1" : ret; 6795 } 6796 } 6797 } 6798 }, 6799 6800 // Don't automatically add "px" to these possibly-unitless properties 6801 cssNumber: { 6802 animationIterationCount: true, 6803 aspectRatio: true, 6804 borderImageSlice: true, 6805 columnCount: true, 6806 flexGrow: true, 6807 flexShrink: true, 6808 fontWeight: true, 6809 gridArea: true, 6810 gridColumn: true, 6811 gridColumnEnd: true, 6812 gridColumnStart: true, 6813 gridRow: true, 6814 gridRowEnd: true, 6815 gridRowStart: true, 6816 lineHeight: true, 6817 opacity: true, 6818 order: true, 6819 orphans: true, 6820 scale: true, 6821 widows: true, 6822 zIndex: true, 6823 zoom: true, 6824 6825 // SVG-related 6826 fillOpacity: true, 6827 floodOpacity: true, 6828 stopOpacity: true, 6829 strokeMiterlimit: true, 6830 strokeOpacity: true 6831 }, 6832 6833 // Add in properties whose names you wish to fix before 6834 // setting or getting the value 6835 cssProps: {}, 6836 6837 // Get and set the style property on a DOM Node 6838 style: function( elem, name, value, extra ) { 6839 6840 // Don't set styles on text and comment nodes 6841 if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { 6842 return; 6843 } 6844 6845 // Make sure that we're working with the right name 6846 var ret, type, hooks, 6847 origName = camelCase( name ), 6848 isCustomProp = rcustomProp.test( name ), 6849 style = elem.style; 6850 6851 // Make sure that we're working with the right name. We don't 6852 // want to query the value if it is a CSS custom property 6853 // since they are user-defined. 6854 if ( !isCustomProp ) { 6855 name = finalPropName( origName ); 6856 } 6857 6858 // Gets hook for the prefixed version, then unprefixed version 6859 hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; 6860 6861 // Check if we're setting a value 6862 if ( value !== undefined ) { 6863 type = typeof value; 6864 6865 // Convert "+=" or "-=" to relative numbers (trac-7345) 6866 if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { 6867 value = adjustCSS( elem, name, ret ); 6868 6869 // Fixes bug trac-9237 6870 type = "number"; 6871 } 6872 6873 // Make sure that null and NaN values aren't set (trac-7116) 6874 if ( value == null || value !== value ) { 6875 return; 6876 } 6877 6878 // If a number was passed in, add the unit (except for certain CSS properties) 6879 // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append 6880 // "px" to a few hardcoded values. 6881 if ( type === "number" && !isCustomProp ) { 6882 value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); 6883 } 6884 6885 // background-* props affect original clone's values 6886 if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { 6887 style[ name ] = "inherit"; 6888 } 6889 6890 // If a hook was provided, use that value, otherwise just set the specified value
vendor: 16,052 bytes, lines 6891-7495
6891 if ( !hooks || !( "set" in hooks ) || 6892 ( value = hooks.set( elem, value, extra ) ) !== undefined ) { 6893 6894 if ( isCustomProp ) { 6895 style.setProperty( name, value ); 6896 } else { 6897 style[ name ] = value; 6898 } 6899 } 6900 6901 } else { 6902 6903 // If a hook was provided get the non-computed value from there 6904 if ( hooks && "get" in hooks && 6905 ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { 6906 6907 return ret; 6908 } 6909 6910 // Otherwise just get the value from the style object 6911 return style[ name ]; 6912 } 6913 }, 6914 6915 css: function( elem, name, extra, styles ) { 6916 var val, num, hooks, 6917 origName = camelCase( name ), 6918 isCustomProp = rcustomProp.test( name ); 6919 6920 // Make sure that we're working with the right name. We don't 6921 // want to modify the value if it is a CSS custom property 6922 // since they are user-defined. 6923 if ( !isCustomProp ) { 6924 name = finalPropName( origName ); 6925 } 6926 6927 // Try prefixed name followed by the unprefixed name 6928 hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; 6929 6930 // If a hook was provided get the computed value from there 6931 if ( hooks && "get" in hooks ) { 6932 val = hooks.get( elem, true, extra ); 6933 } 6934 6935 // Otherwise, if a way to get the computed value exists, use that 6936 if ( val === undefined ) { 6937 val = curCSS( elem, name, styles ); 6938 } 6939 6940 // Convert "normal" to computed value 6941 if ( val === "normal" && name in cssNormalTransform ) { 6942 val = cssNormalTransform[ name ]; 6943 } 6944 6945 // Make numeric if forced or a qualifier was provided and val looks numeric 6946 if ( extra === "" || extra ) { 6947 num = parseFloat( val ); 6948 return extra === true || isFinite( num ) ? num || 0 : val; 6949 } 6950 6951 return val; 6952 } 6953} ); 6954 6955jQuery.each( [ "height", "width" ], function( _i, dimension ) { 6956 jQuery.cssHooks[ dimension ] = { 6957 get: function( elem, computed, extra ) { 6958 if ( computed ) { 6959 6960 // Certain elements can have dimension info if we invisibly show them 6961 // but it must have a current display style that would benefit 6962 return rdisplayswap.test( jQuery.css( elem, "display" ) ) && 6963 6964 // Support: Safari 8+ 6965 // Table columns in Safari have non-zero offsetWidth & zero 6966 // getBoundingClientRect().width unless display is changed. 6967 // Support: IE <=11 only 6968 // Running getBoundingClientRect on a disconnected node 6969 // in IE throws an error. 6970 ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? 6971 swap( elem, cssShow, function() { 6972 return getWidthOrHeight( elem, dimension, extra ); 6973 } ) : 6974 getWidthOrHeight( elem, dimension, extra ); 6975 } 6976 }, 6977 6978 set: function( elem, value, extra ) { 6979 var matches, 6980 styles = getStyles( elem ), 6981 6982 // Only read styles.position if the test has a chance to fail 6983 // to avoid forcing a reflow. 6984 scrollboxSizeBuggy = !support.scrollboxSize() && 6985 styles.position === "absolute", 6986 6987 // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) 6988 boxSizingNeeded = scrollboxSizeBuggy || extra, 6989 isBorderBox = boxSizingNeeded && 6990 jQuery.css( elem, "boxSizing", false, styles ) === "border-box", 6991 subtract = extra ? 6992 boxModelAdjustment( 6993 elem, 6994 dimension, 6995 extra, 6996 isBorderBox, 6997 styles 6998 ) : 6999 0; 7000 7001 // Account for unreliable border-box dimensions by comparing offset* to computed and 7002 // faking a content-box to get border and padding (gh-3699) 7003 if ( isBorderBox && scrollboxSizeBuggy ) { 7004 subtract -= Math.ceil( 7005 elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - 7006 parseFloat( styles[ dimension ] ) - 7007 boxModelAdjustment( elem, dimension, "border", false, styles ) - 7008 0.5 7009 ); 7010 } 7011 7012 // Convert to pixels if value adjustment is needed 7013 if ( subtract && ( matches = rcssNum.exec( value ) ) && 7014 ( matches[ 3 ] || "px" ) !== "px" ) { 7015 7016 elem.style[ dimension ] = value; 7017 value = jQuery.css( elem, dimension ); 7018 } 7019 7020 return setPositiveNumber( elem, value, subtract ); 7021 } 7022 }; 7023} ); 7024 7025jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, 7026 function( elem, computed ) { 7027 if ( computed ) { 7028 return ( parseFloat( curCSS( elem, "marginLeft" ) ) || 7029 elem.getBoundingClientRect().left - 7030 swap( elem, { marginLeft: 0 }, function() { 7031 return elem.getBoundingClientRect().left; 7032 } ) 7033 ) + "px"; 7034 } 7035 } 7036); 7037 7038// These hooks are used by animate to expand properties 7039jQuery.each( { 7040 margin: "", 7041 padding: "", 7042 border: "Width" 7043}, function( prefix, suffix ) { 7044 jQuery.cssHooks[ prefix + suffix ] = { 7045 expand: function( value ) { 7046 var i = 0, 7047 expanded = {}, 7048 7049 // Assumes a single number if not a string 7050 parts = typeof value === "string" ? value.split( " " ) : [ value ]; 7051 7052 for ( ; i < 4; i++ ) { 7053 expanded[ prefix + cssExpand[ i ] + suffix ] = 7054 parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; 7055 } 7056 7057 return expanded; 7058 } 7059 }; 7060 7061 if ( prefix !== "margin" ) { 7062 jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; 7063 } 7064} ); 7065 7066jQuery.fn.extend( { 7067 css: function( name, value ) { 7068 return access( this, function( elem, name, value ) { 7069 var styles, len, 7070 map = {}, 7071 i = 0; 7072 7073 if ( Array.isArray( name ) ) { 7074 styles = getStyles( elem ); 7075 len = name.length; 7076 7077 for ( ; i < len; i++ ) { 7078 map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); 7079 } 7080 7081 return map; 7082 } 7083 7084 return value !== undefined ? 7085 jQuery.style( elem, name, value ) : 7086 jQuery.css( elem, name ); 7087 }, name, value, arguments.length > 1 ); 7088 } 7089} ); 7090 7091 7092function Tween( elem, options, prop, end, easing ) { 7093 return new Tween.prototype.init( elem, options, prop, end, easing ); 7094} 7095jQuery.Tween = Tween; 7096 7097Tween.prototype = { 7098 constructor: Tween, 7099 init: function( elem, options, prop, end, easing, unit ) { 7100 this.elem = elem; 7101 this.prop = prop; 7102 this.easing = easing || jQuery.easing._default; 7103 this.options = options; 7104 this.start = this.now = this.cur(); 7105 this.end = end; 7106 this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); 7107 }, 7108 cur: function() { 7109 var hooks = Tween.propHooks[ this.prop ]; 7110 7111 return hooks && hooks.get ? 7112 hooks.get( this ) : 7113 Tween.propHooks._default.get( this ); 7114 }, 7115 run: function( percent ) { 7116 var eased, 7117 hooks = Tween.propHooks[ this.prop ]; 7118 7119 if ( this.options.duration ) { 7120 this.pos = eased = jQuery.easing[ this.easing ]( 7121 percent, this.options.duration * percent, 0, 1, this.options.duration 7122 ); 7123 } else { 7124 this.pos = eased = percent; 7125 } 7126 this.now = ( this.end - this.start ) * eased + this.start; 7127 7128 if ( this.options.step ) { 7129 this.options.step.call( this.elem, this.now, this ); 7130 } 7131 7132 if ( hooks && hooks.set ) { 7133 hooks.set( this ); 7134 } else { 7135 Tween.propHooks._default.set( this ); 7136 } 7137 return this; 7138 } 7139}; 7140 7141Tween.prototype.init.prototype = Tween.prototype; 7142 7143Tween.propHooks = { 7144 _default: { 7145 get: function( tween ) { 7146 var result; 7147 7148 // Use a property on the element directly when it is not a DOM element, 7149 // or when there is no matching style property that exists. 7150 if ( tween.elem.nodeType !== 1 || 7151 tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { 7152 return tween.elem[ tween.prop ]; 7153 } 7154 7155 // Passing an empty string as a 3rd parameter to .css will automatically 7156 // attempt a parseFloat and fallback to a string if the parse fails. 7157 // Simple values such as "10px" are parsed to Float; 7158 // complex values such as "rotate(1rad)" are returned as-is. 7159 result = jQuery.css( tween.elem, tween.prop, "" ); 7160 7161 // Empty strings, null, undefined and "auto" are converted to 0. 7162 return !result || result === "auto" ? 0 : result; 7163 }, 7164 set: function( tween ) { 7165 7166 // Use step hook for back compat. 7167 // Use cssHook if its there. 7168 // Use .style if available and use plain properties where available. 7169 if ( jQuery.fx.step[ tween.prop ] ) { 7170 jQuery.fx.step[ tween.prop ]( tween ); 7171 } else if ( tween.elem.nodeType === 1 && ( 7172 jQuery.cssHooks[ tween.prop ] || 7173 tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { 7174 jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); 7175 } else { 7176 tween.elem[ tween.prop ] = tween.now; 7177 } 7178 } 7179 } 7180}; 7181 7182// Support: IE <=9 only 7183// Panic based approach to setting things on disconnected nodes 7184Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { 7185 set: function( tween ) { 7186 if ( tween.elem.nodeType && tween.elem.parentNode ) { 7187 tween.elem[ tween.prop ] = tween.now; 7188 } 7189 } 7190}; 7191 7192jQuery.easing = { 7193 linear: function( p ) { 7194 return p; 7195 }, 7196 swing: function( p ) { 7197 return 0.5 - Math.cos( p * Math.PI ) / 2; 7198 }, 7199 _default: "swing" 7200}; 7201 7202jQuery.fx = Tween.prototype.init; 7203 7204// Back compat <1.8 extension point 7205jQuery.fx.step = {}; 7206 7207 7208 7209 7210var 7211 fxNow, inProgress, 7212 rfxtypes = /^(?:toggle|show|hide)$/, 7213 rrun = /queueHooks$/; 7214 7215function schedule() { 7216 if ( inProgress ) { 7217 if ( document.hidden === false && window.requestAnimationFrame ) { 7218 window.requestAnimationFrame( schedule ); 7219 } else { 7220 window.setTimeout( schedule, jQuery.fx.interval ); 7221 } 7222 7223 jQuery.fx.tick(); 7224 } 7225} 7226 7227// Animations created synchronously will run synchronously 7228function createFxNow() { 7229 window.setTimeout( function() { 7230 fxNow = undefined; 7231 } ); 7232 return ( fxNow = Date.now() ); 7233} 7234 7235// Generate parameters to create a standard animation 7236function genFx( type, includeWidth ) { 7237 var which, 7238 i = 0, 7239 attrs = { height: type }; 7240 7241 // If we include width, step value is 1 to do all cssExpand values, 7242 // otherwise step value is 2 to skip over Left and Right 7243 includeWidth = includeWidth ? 1 : 0; 7244 for ( ; i < 4; i += 2 - includeWidth ) { 7245 which = cssExpand[ i ]; 7246 attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; 7247 } 7248 7249 if ( includeWidth ) { 7250 attrs.opacity = attrs.width = type; 7251 } 7252 7253 return attrs; 7254} 7255 7256function createTween( value, prop, animation ) { 7257 var tween, 7258 collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), 7259 index = 0, 7260 length = collection.length; 7261 for ( ; index < length; index++ ) { 7262 if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { 7263 7264 // We're done with this property 7265 return tween; 7266 } 7267 } 7268} 7269 7270function defaultPrefilter( elem, props, opts ) { 7271 var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, 7272 isBox = "width" in props || "height" in props, 7273 anim = this, 7274 orig = {}, 7275 style = elem.style, 7276 hidden = elem.nodeType && isHiddenWithinTree( elem ), 7277 dataShow = dataPriv.get( elem, "fxshow" ); 7278 7279 // Queue-skipping animations hijack the fx hooks 7280 if ( !opts.queue ) { 7281 hooks = jQuery._queueHooks( elem, "fx" ); 7282 if ( hooks.unqueued == null ) { 7283 hooks.unqueued = 0; 7284 oldfire = hooks.empty.fire; 7285 hooks.empty.fire = function() { 7286 if ( !hooks.unqueued ) { 7287 oldfire(); 7288 } 7289 }; 7290 } 7291 hooks.unqueued++; 7292 7293 anim.always( function() { 7294 7295 // Ensure the complete handler is called before this completes 7296 anim.always( function() { 7297 hooks.unqueued--; 7298 if ( !jQuery.queue( elem, "fx" ).length ) { 7299 hooks.empty.fire(); 7300 } 7301 } ); 7302 } ); 7303 } 7304 7305 // Detect show/hide animations 7306 for ( prop in props ) { 7307 value = props[ prop ]; 7308 if ( rfxtypes.test( value ) ) { 7309 delete props[ prop ]; 7310 toggle = toggle || value === "toggle"; 7311 if ( value === ( hidden ? "hide" : "show" ) ) { 7312 7313 // Pretend to be hidden if this is a "show" and 7314 // there is still data from a stopped show/hide 7315 if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { 7316 hidden = true; 7317 7318 // Ignore all other no-op show/hide data 7319 } else { 7320 continue; 7321 } 7322 } 7323 orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); 7324 } 7325 } 7326 7327 // Bail out if this is a no-op like .hide().hide() 7328 propTween = !jQuery.isEmptyObject( props ); 7329 if ( !propTween && jQuery.isEmptyObject( orig ) ) { 7330 return; 7331 } 7332 7333 // Restrict "overflow" and "display" styles during box animations 7334 if ( isBox && elem.nodeType === 1 ) { 7335 7336 // Support: IE <=9 - 11, Edge 12 - 15 7337 // Record all 3 overflow attributes because IE does not infer the shorthand 7338 // from identically-valued overflowX and overflowY and Edge just mirrors 7339 // the overflowX value there. 7340 opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; 7341 7342 // Identify a display type, preferring old show/hide data over the CSS cascade 7343 restoreDisplay = dataShow && dataShow.display; 7344 if ( restoreDisplay == null ) { 7345 restoreDisplay = dataPriv.get( elem, "display" ); 7346 } 7347 display = jQuery.css( elem, "display" ); 7348 if ( display === "none" ) { 7349 if ( restoreDisplay ) { 7350 display = restoreDisplay; 7351 } else { 7352 7353 // Get nonempty value(s) by temporarily forcing visibility 7354 showHide( [ elem ], true ); 7355 restoreDisplay = elem.style.display || restoreDisplay; 7356 display = jQuery.css( elem, "display" ); 7357 showHide( [ elem ] ); 7358 } 7359 } 7360 7361 // Animate inline elements as inline-block 7362 if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { 7363 if ( jQuery.css( elem, "float" ) === "none" ) { 7364 7365 // Restore the original display value at the end of pure show/hide animations 7366 if ( !propTween ) { 7367 anim.done( function() { 7368 style.display = restoreDisplay; 7369 } ); 7370 if ( restoreDisplay == null ) { 7371 display = style.display; 7372 restoreDisplay = display === "none" ? "" : display; 7373 } 7374 } 7375 style.display = "inline-block"; 7376 } 7377 } 7378 } 7379 7380 if ( opts.overflow ) { 7381 style.overflow = "hidden"; 7382 anim.always( function() { 7383 style.overflow = opts.overflow[ 0 ]; 7384 style.overflowX = opts.overflow[ 1 ]; 7385 style.overflowY = opts.overflow[ 2 ]; 7386 } ); 7387 } 7388 7389 // Implement show/hide animations 7390 propTween = false; 7391 for ( prop in orig ) { 7392 7393 // General show/hide setup for this element animation 7394 if ( !propTween ) { 7395 if ( dataShow ) { 7396 if ( "hidden" in dataShow ) { 7397 hidden = dataShow.hidden; 7398 } 7399 } else { 7400 dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); 7401 } 7402 7403 // Store hidden/visible for toggle so `.stop().toggle()` "reverses" 7404 if ( toggle ) { 7405 dataShow.hidden = !hidden; 7406 } 7407 7408 // Show elements before animating them 7409 if ( hidden ) { 7410 showHide( [ elem ], true ); 7411 } 7412 7413 /* eslint-disable no-loop-func */ 7414 7415 anim.done( function() { 7416 7417 /* eslint-enable no-loop-func */ 7418 7419 // The final step of a "hide" animation is actually hiding the element 7420 if ( !hidden ) { 7421 showHide( [ elem ] ); 7422 } 7423 dataPriv.remove( elem, "fxshow" ); 7424 for ( prop in orig ) { 7425 jQuery.style( elem, prop, orig[ prop ] ); 7426 } 7427 } ); 7428 } 7429 7430 // Per-property setup 7431 propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); 7432 if ( !( prop in dataShow ) ) { 7433 dataShow[ prop ] = propTween.start; 7434 if ( hidden ) { 7435 propTween.end = propTween.start; 7436 propTween.start = 0; 7437 } 7438 } 7439 } 7440} 7441 7442function propFilter( props, specialEasing ) { 7443 var index, name, easing, value, hooks; 7444 7445 // camelCase, specialEasing and expand cssHook pass 7446 for ( index in props ) { 7447 name = camelCase( index ); 7448 easing = specialEasing[ name ]; 7449 value = props[ index ]; 7450 if ( Array.isArray( value ) ) { 7451 easing = value[ 1 ]; 7452 value = props[ index ] = value[ 0 ]; 7453 } 7454 7455 if ( index !== name ) { 7456 props[ name ] = value; 7457 delete props[ index ]; 7458 } 7459 7460 hooks = jQuery.cssHooks[ name ]; 7461 if ( hooks && "expand" in hooks ) { 7462 value = hooks.expand( value ); 7463 delete props[ name ]; 7464 7465 // Not quite $.extend, this won't overwrite existing keys. 7466 // Reusing 'index' because we have the correct "name" 7467 for ( index in value ) { 7468 if ( !( index in props ) ) { 7469 props[ index ] = value[ index ]; 7470 specialEasing[ index ] = easing; 7471 } 7472 } 7473 } else { 7474 specialEasing[ name ] = easing; 7475 } 7476 } 7477} 7478 7479function Animation( elem, properties, options ) { 7480 var result, 7481 stopped, 7482 index = 0, 7483 length = Animation.prefilters.length, 7484 deferred = jQuery.Deferred().always( function() { 7485 7486 // Don't match elem in the :animated selector 7487 delete tick.elem; 7488 } ), 7489 tick = function() { 7490 if ( stopped ) { 7491 return false; 7492 } 7493 var currentTime = fxNow || createFxNow(), 7494 remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), 7495
vendor: 9,542 bytes, lines 7496-7886
7496 // Support: Android 2.3 only 7497 // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497) 7498 temp = remaining / animation.duration || 0, 7499 percent = 1 - temp, 7500 index = 0, 7501 length = animation.tweens.length; 7502 7503 for ( ; index < length; index++ ) { 7504 animation.tweens[ index ].run( percent ); 7505 } 7506 7507 deferred.notifyWith( elem, [ animation, percent, remaining ] ); 7508 7509 // If there's more to do, yield 7510 if ( percent < 1 && length ) { 7511 return remaining; 7512 } 7513 7514 // If this was an empty animation, synthesize a final progress notification 7515 if ( !length ) { 7516 deferred.notifyWith( elem, [ animation, 1, 0 ] ); 7517 } 7518 7519 // Resolve the animation and report its conclusion 7520 deferred.resolveWith( elem, [ animation ] ); 7521 return false; 7522 }, 7523 animation = deferred.promise( { 7524 elem: elem, 7525 props: jQuery.extend( {}, properties ), 7526 opts: jQuery.extend( true, { 7527 specialEasing: {}, 7528 easing: jQuery.easing._default 7529 }, options ), 7530 originalProperties: properties, 7531 originalOptions: options, 7532 startTime: fxNow || createFxNow(), 7533 duration: options.duration, 7534 tweens: [], 7535 createTween: function( prop, end ) { 7536 var tween = jQuery.Tween( elem, animation.opts, prop, end, 7537 animation.opts.specialEasing[ prop ] || animation.opts.easing ); 7538 animation.tweens.push( tween ); 7539 return tween; 7540 }, 7541 stop: function( gotoEnd ) { 7542 var index = 0, 7543 7544 // If we are going to the end, we want to run all the tweens 7545 // otherwise we skip this part 7546 length = gotoEnd ? animation.tweens.length : 0; 7547 if ( stopped ) { 7548 return this; 7549 } 7550 stopped = true; 7551 for ( ; index < length; index++ ) { 7552 animation.tweens[ index ].run( 1 ); 7553 } 7554 7555 // Resolve when we played the last frame; otherwise, reject 7556 if ( gotoEnd ) { 7557 deferred.notifyWith( elem, [ animation, 1, 0 ] ); 7558 deferred.resolveWith( elem, [ animation, gotoEnd ] ); 7559 } else { 7560 deferred.rejectWith( elem, [ animation, gotoEnd ] ); 7561 } 7562 return this; 7563 } 7564 } ), 7565 props = animation.props; 7566 7567 propFilter( props, animation.opts.specialEasing ); 7568 7569 for ( ; index < length; index++ ) { 7570 result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); 7571 if ( result ) { 7572 if ( isFunction( result.stop ) ) { 7573 jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = 7574 result.stop.bind( result ); 7575 } 7576 return result; 7577 } 7578 } 7579 7580 jQuery.map( props, createTween, animation ); 7581 7582 if ( isFunction( animation.opts.start ) ) { 7583 animation.opts.start.call( elem, animation ); 7584 } 7585 7586 // Attach callbacks from options 7587 animation 7588 .progress( animation.opts.progress ) 7589 .done( animation.opts.done, animation.opts.complete ) 7590 .fail( animation.opts.fail ) 7591 .always( animation.opts.always ); 7592 7593 jQuery.fx.timer( 7594 jQuery.extend( tick, { 7595 elem: elem, 7596 anim: animation, 7597 queue: animation.opts.queue 7598 } ) 7599 ); 7600 7601 return animation; 7602} 7603 7604jQuery.Animation = jQuery.extend( Animation, { 7605 7606 tweeners: { 7607 "*": [ function( prop, value ) { 7608 var tween = this.createTween( prop, value ); 7609 adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); 7610 return tween; 7611 } ] 7612 }, 7613 7614 tweener: function( props, callback ) { 7615 if ( isFunction( props ) ) { 7616 callback = props; 7617 props = [ "*" ]; 7618 } else { 7619 props = props.match( rnothtmlwhite ); 7620 } 7621 7622 var prop, 7623 index = 0, 7624 length = props.length; 7625 7626 for ( ; index < length; index++ ) { 7627 prop = props[ index ]; 7628 Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; 7629 Animation.tweeners[ prop ].unshift( callback ); 7630 } 7631 }, 7632 7633 prefilters: [ defaultPrefilter ], 7634 7635 prefilter: function( callback, prepend ) { 7636 if ( prepend ) { 7637 Animation.prefilters.unshift( callback ); 7638 } else { 7639 Animation.prefilters.push( callback ); 7640 } 7641 } 7642} ); 7643 7644jQuery.speed = function( speed, easing, fn ) { 7645 var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { 7646 complete: fn || !fn && easing || 7647 isFunction( speed ) && speed, 7648 duration: speed, 7649 easing: fn && easing || easing && !isFunction( easing ) && easing 7650 }; 7651 7652 // Go to the end state if fx are off 7653 if ( jQuery.fx.off ) { 7654 opt.duration = 0; 7655 7656 } else { 7657 if ( typeof opt.duration !== "number" ) { 7658 if ( opt.duration in jQuery.fx.speeds ) { 7659 opt.duration = jQuery.fx.speeds[ opt.duration ]; 7660 7661 } else { 7662 opt.duration = jQuery.fx.speeds._default; 7663 } 7664 } 7665 } 7666 7667 // Normalize opt.queue - true/undefined/null -> "fx" 7668 if ( opt.queue == null || opt.queue === true ) { 7669 opt.queue = "fx"; 7670 } 7671 7672 // Queueing 7673 opt.old = opt.complete; 7674 7675 opt.complete = function() { 7676 if ( isFunction( opt.old ) ) { 7677 opt.old.call( this ); 7678 } 7679 7680 if ( opt.queue ) { 7681 jQuery.dequeue( this, opt.queue ); 7682 } 7683 }; 7684 7685 return opt; 7686}; 7687 7688jQuery.fn.extend( { 7689 fadeTo: function( speed, to, easing, callback ) { 7690 7691 // Show any hidden elements after setting opacity to 0 7692 return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() 7693 7694 // Animate to the value specified 7695 .end().animate( { opacity: to }, speed, easing, callback ); 7696 }, 7697 animate: function( prop, speed, easing, callback ) { 7698 var empty = jQuery.isEmptyObject( prop ), 7699 optall = jQuery.speed( speed, easing, callback ), 7700 doAnimation = function() { 7701 7702 // Operate on a copy of prop so per-property easing won't be lost 7703 var anim = Animation( this, jQuery.extend( {}, prop ), optall ); 7704 7705 // Empty animations, or finishing resolves immediately 7706 if ( empty || dataPriv.get( this, "finish" ) ) { 7707 anim.stop( true ); 7708 } 7709 }; 7710 7711 doAnimation.finish = doAnimation; 7712 7713 return empty || optall.queue === false ? 7714 this.each( doAnimation ) : 7715 this.queue( optall.queue, doAnimation ); 7716 }, 7717 stop: function( type, clearQueue, gotoEnd ) { 7718 var stopQueue = function( hooks ) { 7719 var stop = hooks.stop; 7720 delete hooks.stop; 7721 stop( gotoEnd ); 7722 }; 7723 7724 if ( typeof type !== "string" ) { 7725 gotoEnd = clearQueue; 7726 clearQueue = type; 7727 type = undefined; 7728 } 7729 if ( clearQueue ) { 7730 this.queue( type || "fx", [] ); 7731 } 7732 7733 return this.each( function() { 7734 var dequeue = true, 7735 index = type != null && type + "queueHooks", 7736 timers = jQuery.timers, 7737 data = dataPriv.get( this ); 7738 7739 if ( index ) { 7740 if ( data[ index ] && data[ index ].stop ) { 7741 stopQueue( data[ index ] ); 7742 } 7743 } else { 7744 for ( index in data ) { 7745 if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { 7746 stopQueue( data[ index ] ); 7747 } 7748 } 7749 } 7750 7751 for ( index = timers.length; index--; ) { 7752 if ( timers[ index ].elem === this && 7753 ( type == null || timers[ index ].queue === type ) ) { 7754 7755 timers[ index ].anim.stop( gotoEnd ); 7756 dequeue = false; 7757 timers.splice( index, 1 ); 7758 } 7759 } 7760 7761 // Start the next in the queue if the last step wasn't forced. 7762 // Timers currently will call their complete callbacks, which 7763 // will dequeue but only if they were gotoEnd. 7764 if ( dequeue || !gotoEnd ) { 7765 jQuery.dequeue( this, type ); 7766 } 7767 } ); 7768 }, 7769 finish: function( type ) { 7770 if ( type !== false ) { 7771 type = type || "fx"; 7772 } 7773 return this.each( function() { 7774 var index, 7775 data = dataPriv.get( this ), 7776 queue = data[ type + "queue" ], 7777 hooks = data[ type + "queueHooks" ], 7778 timers = jQuery.timers, 7779 length = queue ? queue.length : 0; 7780 7781 // Enable finishing flag on private data 7782 data.finish = true; 7783 7784 // Empty the queue first 7785 jQuery.queue( this, type, [] ); 7786 7787 if ( hooks && hooks.stop ) { 7788 hooks.stop.call( this, true ); 7789 } 7790 7791 // Look for any active animations, and finish them 7792 for ( index = timers.length; index--; ) { 7793 if ( timers[ index ].elem === this && timers[ index ].queue === type ) { 7794 timers[ index ].anim.stop( true ); 7795 timers.splice( index, 1 ); 7796 } 7797 } 7798 7799 // Look for any animations in the old queue and finish them 7800 for ( index = 0; index < length; index++ ) { 7801 if ( queue[ index ] && queue[ index ].finish ) { 7802 queue[ index ].finish.call( this ); 7803 } 7804 } 7805 7806 // Turn off finishing flag 7807 delete data.finish; 7808 } ); 7809 } 7810} ); 7811 7812jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { 7813 var cssFn = jQuery.fn[ name ]; 7814 jQuery.fn[ name ] = function( speed, easing, callback ) { 7815 return speed == null || typeof speed === "boolean" ? 7816 cssFn.apply( this, arguments ) : 7817 this.animate( genFx( name, true ), speed, easing, callback ); 7818 }; 7819} ); 7820 7821// Generate shortcuts for custom animations 7822jQuery.each( { 7823 slideDown: genFx( "show" ), 7824 slideUp: genFx( "hide" ), 7825 slideToggle: genFx( "toggle" ), 7826 fadeIn: { opacity: "show" }, 7827 fadeOut: { opacity: "hide" }, 7828 fadeToggle: { opacity: "toggle" } 7829}, function( name, props ) { 7830 jQuery.fn[ name ] = function( speed, easing, callback ) { 7831 return this.animate( props, speed, easing, callback ); 7832 }; 7833} ); 7834 7835jQuery.timers = []; 7836jQuery.fx.tick = function() { 7837 var timer, 7838 i = 0, 7839 timers = jQuery.timers; 7840 7841 fxNow = Date.now(); 7842 7843 for ( ; i < timers.length; i++ ) { 7844 timer = timers[ i ]; 7845 7846 // Run the timer and safely remove it when done (allowing for external removal) 7847 if ( !timer() && timers[ i ] === timer ) { 7848 timers.splice( i--, 1 ); 7849 } 7850 } 7851 7852 if ( !timers.length ) { 7853 jQuery.fx.stop(); 7854 } 7855 fxNow = undefined; 7856}; 7857 7858jQuery.fx.timer = function( timer ) { 7859 jQuery.timers.push( timer ); 7860 jQuery.fx.start(); 7861}; 7862 7863jQuery.fx.interval = 13; 7864jQuery.fx.start = function() { 7865 if ( inProgress ) { 7866 return; 7867 } 7868 7869 inProgress = true; 7870 schedule(); 7871}; 7872 7873jQuery.fx.stop = function() { 7874 inProgress = null; 7875}; 7876 7877jQuery.fx.speeds = { 7878 slow: 600, 7879 fast: 200, 7880 7881 // Default speed 7882 _default: 400 7883}; 7884 7885 7886// Based off of the plugin by Clint Helfers, with permission.
vendor: 5,177 bytes, lines 7887-8107
7887jQuery.fn.delay = function( time, type ) { 7888 time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 7889 type = type || "fx"; 7890 7891 return this.queue( type, function( next, hooks ) { 7892 var timeout = window.setTimeout( next, time ); 7893 hooks.stop = function() { 7894 window.clearTimeout( timeout ); 7895 }; 7896 } ); 7897}; 7898 7899 7900( function() { 7901 var input = document.createElement( "input" ), 7902 select = document.createElement( "select" ), 7903 opt = select.appendChild( document.createElement( "option" ) ); 7904 7905 input.type = "checkbox"; 7906 7907 // Support: Android <=4.3 only 7908 // Default value for a checkbox should be "on" 7909 support.checkOn = input.value !== ""; 7910 7911 // Support: IE <=11 only 7912 // Must access selectedIndex to make default options select 7913 support.optSelected = opt.selected; 7914 7915 // Support: IE <=11 only 7916 // An input loses its value after becoming a radio 7917 input = document.createElement( "input" ); 7918 input.value = "t"; 7919 input.type = "radio"; 7920 support.radioValue = input.value === "t"; 7921} )(); 7922 7923 7924var boolHook, 7925 attrHandle = jQuery.expr.attrHandle; 7926 7927jQuery.fn.extend( { 7928 attr: function( name, value ) { 7929 return access( this, jQuery.attr, name, value, arguments.length > 1 ); 7930 }, 7931 7932 removeAttr: function( name ) { 7933 return this.each( function() { 7934 jQuery.removeAttr( this, name ); 7935 } ); 7936 } 7937} ); 7938 7939jQuery.extend( { 7940 attr: function( elem, name, value ) { 7941 var ret, hooks, 7942 nType = elem.nodeType; 7943 7944 // Don't get/set attributes on text, comment and attribute nodes 7945 if ( nType === 3 || nType === 8 || nType === 2 ) { 7946 return; 7947 } 7948 7949 // Fallback to prop when attributes are not supported 7950 if ( typeof elem.getAttribute === "undefined" ) { 7951 return jQuery.prop( elem, name, value ); 7952 } 7953 7954 // Attribute hooks are determined by the lowercase version 7955 // Grab necessary hook if one is defined 7956 if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { 7957 hooks = jQuery.attrHooks[ name.toLowerCase() ] || 7958 ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); 7959 } 7960 7961 if ( value !== undefined ) { 7962 if ( value === null ) { 7963 jQuery.removeAttr( elem, name ); 7964 return; 7965 } 7966 7967 if ( hooks && "set" in hooks && 7968 ( ret = hooks.set( elem, value, name ) ) !== undefined ) { 7969 return ret; 7970 } 7971 7972 elem.setAttribute( name, value + "" ); 7973 return value; 7974 } 7975 7976 if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { 7977 return ret; 7978 } 7979 7980 ret = jQuery.find.attr( elem, name ); 7981 7982 // Non-existent attributes return null, we normalize to undefined 7983 return ret == null ? undefined : ret; 7984 }, 7985 7986 attrHooks: { 7987 type: { 7988 set: function( elem, value ) { 7989 if ( !support.radioValue && value === "radio" && 7990 nodeName( elem, "input" ) ) { 7991 var val = elem.value; 7992 elem.setAttribute( "type", value ); 7993 if ( val ) { 7994 elem.value = val; 7995 } 7996 return value; 7997 } 7998 } 7999 } 8000 }, 8001 8002 removeAttr: function( elem, value ) { 8003 var name, 8004 i = 0, 8005 8006 // Attribute names can contain non-HTML whitespace characters 8007 // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 8008 attrNames = value && value.match( rnothtmlwhite ); 8009 8010 if ( attrNames && elem.nodeType === 1 ) { 8011 while ( ( name = attrNames[ i++ ] ) ) { 8012 elem.removeAttribute( name ); 8013 } 8014 } 8015 } 8016} ); 8017 8018// Hooks for boolean attributes 8019boolHook = { 8020 set: function( elem, value, name ) { 8021 if ( value === false ) { 8022 8023 // Remove boolean attributes when set to false 8024 jQuery.removeAttr( elem, name ); 8025 } else { 8026 elem.setAttribute( name, name ); 8027 } 8028 return name; 8029 } 8030}; 8031 8032jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { 8033 var getter = attrHandle[ name ] || jQuery.find.attr; 8034 8035 attrHandle[ name ] = function( elem, name, isXML ) { 8036 var ret, handle, 8037 lowercaseName = name.toLowerCase(); 8038 8039 if ( !isXML ) { 8040 8041 // Avoid an infinite loop by temporarily removing this function from the getter 8042 handle = attrHandle[ lowercaseName ]; 8043 attrHandle[ lowercaseName ] = ret; 8044 ret = getter( elem, name, isXML ) != null ? 8045 lowercaseName : 8046 null; 8047 attrHandle[ lowercaseName ] = handle; 8048 } 8049 return ret; 8050 }; 8051} ); 8052 8053 8054 8055 8056var rfocusable = /^(?:input|select|textarea|button)$/i, 8057 rclickable = /^(?:a|area)$/i; 8058 8059jQuery.fn.extend( { 8060 prop: function( name, value ) { 8061 return access( this, jQuery.prop, name, value, arguments.length > 1 ); 8062 }, 8063 8064 removeProp: function( name ) { 8065 return this.each( function() { 8066 delete this[ jQuery.propFix[ name ] || name ]; 8067 } ); 8068 } 8069} ); 8070 8071jQuery.extend( { 8072 prop: function( elem, name, value ) { 8073 var ret, hooks, 8074 nType = elem.nodeType; 8075 8076 // Don't get/set properties on text, comment and attribute nodes 8077 if ( nType === 3 || nType === 8 || nType === 2 ) { 8078 return; 8079 } 8080 8081 if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { 8082 8083 // Fix name and attach hooks 8084 name = jQuery.propFix[ name ] || name; 8085 hooks = jQuery.propHooks[ name ]; 8086 } 8087 8088 if ( value !== undefined ) { 8089 if ( hooks && "set" in hooks && 8090 ( ret = hooks.set( elem, value, name ) ) !== undefined ) { 8091 return ret; 8092 } 8093 8094 return ( elem[ name ] = value ); 8095 } 8096 8097 if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { 8098 return ret; 8099 } 8100 8101 return elem[ name ]; 8102 }, 8103 8104 propHooks: { 8105 tabIndex: { 8106 get: function( elem ) { 8107
vendor: 6,126 bytes, lines 8108-8367
8108 // Support: IE <=9 - 11 only 8109 // elem.tabIndex doesn't always return the 8110 // correct value when it hasn't been explicitly set 8111 // Use proper attribute retrieval (trac-12072) 8112 var tabindex = jQuery.find.attr( elem, "tabindex" ); 8113 8114 if ( tabindex ) { 8115 return parseInt( tabindex, 10 ); 8116 } 8117 8118 if ( 8119 rfocusable.test( elem.nodeName ) || 8120 rclickable.test( elem.nodeName ) && 8121 elem.href 8122 ) { 8123 return 0; 8124 } 8125 8126 return -1; 8127 } 8128 } 8129 }, 8130 8131 propFix: { 8132 "for": "htmlFor", 8133 "class": "className" 8134 } 8135} ); 8136 8137// Support: IE <=11 only 8138// Accessing the selectedIndex property 8139// forces the browser to respect setting selected 8140// on the option 8141// The getter ensures a default option is selected 8142// when in an optgroup 8143// eslint rule "no-unused-expressions" is disabled for this code 8144// since it considers such accessions noop 8145if ( !support.optSelected ) { 8146 jQuery.propHooks.selected = { 8147 get: function( elem ) { 8148 8149 /* eslint no-unused-expressions: "off" */ 8150 8151 var parent = elem.parentNode; 8152 if ( parent && parent.parentNode ) { 8153 parent.parentNode.selectedIndex; 8154 } 8155 return null; 8156 }, 8157 set: function( elem ) { 8158 8159 /* eslint no-unused-expressions: "off" */ 8160 8161 var parent = elem.parentNode; 8162 if ( parent ) { 8163 parent.selectedIndex; 8164 8165 if ( parent.parentNode ) { 8166 parent.parentNode.selectedIndex; 8167 } 8168 } 8169 } 8170 }; 8171} 8172 8173jQuery.each( [ 8174 "tabIndex", 8175 "readOnly", 8176 "maxLength", 8177 "cellSpacing", 8178 "cellPadding", 8179 "rowSpan", 8180 "colSpan", 8181 "useMap", 8182 "frameBorder", 8183 "contentEditable" 8184], function() { 8185 jQuery.propFix[ this.toLowerCase() ] = this; 8186} ); 8187 8188 8189 8190 8191 // Strip and collapse whitespace according to HTML spec 8192 // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace 8193 function stripAndCollapse( value ) { 8194 var tokens = value.match( rnothtmlwhite ) || []; 8195 return tokens.join( " " ); 8196 } 8197 8198 8199function getClass( elem ) { 8200 return elem.getAttribute && elem.getAttribute( "class" ) || ""; 8201} 8202 8203function classesToArray( value ) { 8204 if ( Array.isArray( value ) ) { 8205 return value; 8206 } 8207 if ( typeof value === "string" ) { 8208 return value.match( rnothtmlwhite ) || []; 8209 } 8210 return []; 8211} 8212 8213jQuery.fn.extend( { 8214 addClass: function( value ) { 8215 var classNames, cur, curValue, className, i, finalValue; 8216 8217 if ( isFunction( value ) ) { 8218 return this.each( function( j ) { 8219 jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); 8220 } ); 8221 } 8222 8223 classNames = classesToArray( value ); 8224 8225 if ( classNames.length ) { 8226 return this.each( function() { 8227 curValue = getClass( this ); 8228 cur = this.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); 8229 8230 if ( cur ) { 8231 for ( i = 0; i < classNames.length; i++ ) { 8232 className = classNames[ i ]; 8233 if ( cur.indexOf( " " + className + " " ) < 0 ) { 8234 cur += className + " "; 8235 } 8236 } 8237 8238 // Only assign if different to avoid unneeded rendering. 8239 finalValue = stripAndCollapse( cur ); 8240 if ( curValue !== finalValue ) { 8241 this.setAttribute( "class", finalValue ); 8242 } 8243 } 8244 } ); 8245 } 8246 8247 return this; 8248 }, 8249 8250 removeClass: function( value ) { 8251 var classNames, cur, curValue, className, i, finalValue; 8252 8253 if ( isFunction( value ) ) { 8254 return this.each( function( j ) { 8255 jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); 8256 } ); 8257 } 8258 8259 if ( !arguments.length ) { 8260 return this.attr( "class", "" ); 8261 } 8262 8263 classNames = classesToArray( value ); 8264 8265 if ( classNames.length ) { 8266 return this.each( function() { 8267 curValue = getClass( this ); 8268 8269 // This expression is here for better compressibility (see addClass) 8270 cur = this.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); 8271 8272 if ( cur ) { 8273 for ( i = 0; i < classNames.length; i++ ) { 8274 className = classNames[ i ]; 8275 8276 // Remove *all* instances 8277 while ( cur.indexOf( " " + className + " " ) > -1 ) { 8278 cur = cur.replace( " " + className + " ", " " ); 8279 } 8280 } 8281 8282 // Only assign if different to avoid unneeded rendering. 8283 finalValue = stripAndCollapse( cur ); 8284 if ( curValue !== finalValue ) { 8285 this.setAttribute( "class", finalValue ); 8286 } 8287 } 8288 } ); 8289 } 8290 8291 return this; 8292 }, 8293 8294 toggleClass: function( value, stateVal ) { 8295 var classNames, className, i, self, 8296 type = typeof value, 8297 isValidValue = type === "string" || Array.isArray( value ); 8298 8299 if ( isFunction( value ) ) { 8300 return this.each( function( i ) { 8301 jQuery( this ).toggleClass( 8302 value.call( this, i, getClass( this ), stateVal ), 8303 stateVal 8304 ); 8305 } ); 8306 } 8307 8308 if ( typeof stateVal === "boolean" && isValidValue ) { 8309 return stateVal ? this.addClass( value ) : this.removeClass( value ); 8310 } 8311 8312 classNames = classesToArray( value ); 8313 8314 return this.each( function() { 8315 if ( isValidValue ) { 8316 8317 // Toggle individual class names 8318 self = jQuery( this ); 8319 8320 for ( i = 0; i < classNames.length; i++ ) { 8321 className = classNames[ i ]; 8322 8323 // Check each className given, space separated list 8324 if ( self.hasClass( className ) ) { 8325 self.removeClass( className ); 8326 } else { 8327 self.addClass( className ); 8328 } 8329 } 8330 8331 // Toggle whole class name 8332 } else if ( value === undefined || type === "boolean" ) { 8333 className = getClass( this ); 8334 if ( className ) { 8335 8336 // Store className if set 8337 dataPriv.set( this, "__className__", className ); 8338 } 8339 8340 // If the element has a class name or if we're passed `false`, 8341 // then remove the whole classname (if there was one, the above saved it). 8342 // Otherwise bring back whatever was previously saved (if anything), 8343 // falling back to the empty string if nothing was stored. 8344 if ( this.setAttribute ) { 8345 this.setAttribute( "class", 8346 className || value === false ? 8347 "" : 8348 dataPriv.get( this, "__className__" ) || "" 8349 ); 8350 } 8351 } 8352 } ); 8353 }, 8354 8355 hasClass: function( selector ) { 8356 var className, elem, 8357 i = 0; 8358 8359 className = " " + selector + " "; 8360 while ( ( elem = this[ i++ ] ) ) { 8361 if ( elem.nodeType === 1 && 8362 ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { 8363 return true; 8364 } 8365 } 8366 8367 return false;
vendor: 1,385 bytes, lines 8368-8437
8368 } 8369} ); 8370 8371 8372 8373 8374var rreturn = /\r/g; 8375 8376jQuery.fn.extend( { 8377 val: function( value ) { 8378 var hooks, ret, valueIsFunction, 8379 elem = this[ 0 ]; 8380 8381 if ( !arguments.length ) { 8382 if ( elem ) { 8383 hooks = jQuery.valHooks[ elem.type ] || 8384 jQuery.valHooks[ elem.nodeName.toLowerCase() ]; 8385 8386 if ( hooks && 8387 "get" in hooks && 8388 ( ret = hooks.get( elem, "value" ) ) !== undefined 8389 ) { 8390 return ret; 8391 } 8392 8393 ret = elem.value; 8394 8395 // Handle most common string cases 8396 if ( typeof ret === "string" ) { 8397 return ret.replace( rreturn, "" ); 8398 } 8399 8400 // Handle cases where value is null/undef or number 8401 return ret == null ? "" : ret; 8402 } 8403 8404 return; 8405 } 8406 8407 valueIsFunction = isFunction( value ); 8408 8409 return this.each( function( i ) { 8410 var val; 8411 8412 if ( this.nodeType !== 1 ) { 8413 return; 8414 } 8415 8416 if ( valueIsFunction ) { 8417 val = value.call( this, i, jQuery( this ).val() ); 8418 } else { 8419 val = value; 8420 } 8421 8422 // Treat null/undefined as ""; convert numbers to string 8423 if ( val == null ) { 8424 val = ""; 8425 8426 } else if ( typeof val === "number" ) { 8427 val += ""; 8428 8429 } else if ( Array.isArray( val ) ) { 8430 val = jQuery.map( val, function( value ) { 8431 return value == null ? "" : value + ""; 8432 } ); 8433 } 8434 8435 hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; 8436 8437 // If set returns undefined, fall back to normal setting
vendor: 4,458 bytes, lines 8438-8623
8438 if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { 8439 this.value = val; 8440 } 8441 } ); 8442 } 8443} ); 8444 8445jQuery.extend( { 8446 valHooks: { 8447 option: { 8448 get: function( elem ) { 8449 8450 var val = jQuery.find.attr( elem, "value" ); 8451 return val != null ? 8452 val : 8453 8454 // Support: IE <=10 - 11 only 8455 // option.text throws exceptions (trac-14686, trac-14858) 8456 // Strip and collapse whitespace 8457 // https://html.spec.whatwg.org/#strip-and-collapse-whitespace 8458 stripAndCollapse( jQuery.text( elem ) ); 8459 } 8460 }, 8461 select: { 8462 get: function( elem ) { 8463 var value, option, i, 8464 options = elem.options, 8465 index = elem.selectedIndex, 8466 one = elem.type === "select-one", 8467 values = one ? null : [], 8468 max = one ? index + 1 : options.length; 8469 8470 if ( index < 0 ) { 8471 i = max; 8472 8473 } else { 8474 i = one ? index : 0; 8475 } 8476 8477 // Loop through all the selected options 8478 for ( ; i < max; i++ ) { 8479 option = options[ i ]; 8480 8481 // Support: IE <=9 only 8482 // IE8-9 doesn't update selected after form reset (trac-2551) 8483 if ( ( option.selected || i === index ) && 8484 8485 // Don't return options that are disabled or in a disabled optgroup 8486 !option.disabled && 8487 ( !option.parentNode.disabled || 8488 !nodeName( option.parentNode, "optgroup" ) ) ) { 8489 8490 // Get the specific value for the option 8491 value = jQuery( option ).val(); 8492 8493 // We don't need an array for one selects 8494 if ( one ) { 8495 return value; 8496 } 8497 8498 // Multi-Selects return an array 8499 values.push( value ); 8500 } 8501 } 8502 8503 return values; 8504 }, 8505 8506 set: function( elem, value ) { 8507 var optionSet, option, 8508 options = elem.options, 8509 values = jQuery.makeArray( value ), 8510 i = options.length; 8511 8512 while ( i-- ) { 8513 option = options[ i ]; 8514 8515 /* eslint-disable no-cond-assign */ 8516 8517 if ( option.selected = 8518 jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 8519 ) { 8520 optionSet = true; 8521 } 8522 8523 /* eslint-enable no-cond-assign */ 8524 } 8525 8526 // Force browsers to behave consistently when non-matching value is set 8527 if ( !optionSet ) { 8528 elem.selectedIndex = -1; 8529 } 8530 return values; 8531 } 8532 } 8533 } 8534} ); 8535 8536// Radios and checkboxes getter/setter 8537jQuery.each( [ "radio", "checkbox" ], function() { 8538 jQuery.valHooks[ this ] = { 8539 set: function( elem, value ) { 8540 if ( Array.isArray( value ) ) { 8541 return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); 8542 } 8543 } 8544 }; 8545 if ( !support.checkOn ) { 8546 jQuery.valHooks[ this ].get = function( elem ) { 8547 return elem.getAttribute( "value" ) === null ? "on" : elem.value; 8548 }; 8549 } 8550} ); 8551 8552 8553 8554 8555// Return jQuery for attributes-only inclusion 8556var location = window.location; 8557 8558var nonce = { guid: Date.now() }; 8559 8560var rquery = ( /\?/ ); 8561 8562 8563 8564// Cross-browser xml parsing 8565jQuery.parseXML = function( data ) { 8566 var xml, parserErrorElem; 8567 if ( !data || typeof data !== "string" ) { 8568 return null; 8569 } 8570 8571 // Support: IE 9 - 11 only 8572 // IE throws on parseFromString with invalid input. 8573 try { 8574 xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 8575 } catch ( e ) {} 8576 8577 parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; 8578 if ( !xml || parserErrorElem ) { 8579 jQuery.error( "Invalid XML: " + ( 8580 parserErrorElem ? 8581 jQuery.map( parserErrorElem.childNodes, function( el ) { 8582 return el.textContent; 8583 } ).join( "\n" ) : 8584 data 8585 ) ); 8586 } 8587 return xml; 8588}; 8589 8590 8591var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, 8592 stopPropagationCallback = function( e ) { 8593 e.stopPropagation(); 8594 }; 8595 8596jQuery.extend( jQuery.event, { 8597 8598 trigger: function( event, data, elem, onlyHandlers ) { 8599 8600 var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, 8601 eventPath = [ elem || document ], 8602 type = hasOwn.call( event, "type" ) ? event.type : event, 8603 namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; 8604 8605 cur = lastElement = tmp = elem = elem || document; 8606 8607 // Don't do events on text and comment nodes 8608 if ( elem.nodeType === 3 || elem.nodeType === 8 ) { 8609 return; 8610 } 8611 8612 // focus/blur morphs to focusin/out; ensure we're not firing them right now 8613 if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { 8614 return; 8615 } 8616 8617 if ( type.indexOf( "." ) > -1 ) { 8618 8619 // Namespaced trigger; create a regexp to match event type in handle() 8620 namespaces = type.split( "." ); 8621 type = namespaces.shift(); 8622 namespaces.sort(); 8623 }
vendor: 6,524 bytes, lines 8624-8873
8624 ontype = type.indexOf( ":" ) < 0 && "on" + type; 8625 8626 // Caller can pass in a jQuery.Event object, Object, or just an event type string 8627 event = event[ jQuery.expando ] ? 8628 event : 8629 new jQuery.Event( type, typeof event === "object" && event ); 8630 8631 // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) 8632 event.isTrigger = onlyHandlers ? 2 : 3; 8633 event.namespace = namespaces.join( "." ); 8634 event.rnamespace = event.namespace ? 8635 new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : 8636 null; 8637 8638 // Clean up the event in case it is being reused 8639 event.result = undefined; 8640 if ( !event.target ) { 8641 event.target = elem; 8642 } 8643 8644 // Clone any incoming data and prepend the event, creating the handler arg list 8645 data = data == null ? 8646 [ event ] : 8647 jQuery.makeArray( data, [ event ] ); 8648 8649 // Allow special events to draw outside the lines 8650 special = jQuery.event.special[ type ] || {}; 8651 if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { 8652 return; 8653 } 8654 8655 // Determine event propagation path in advance, per W3C events spec (trac-9951) 8656 // Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724) 8657 if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { 8658 8659 bubbleType = special.delegateType || type; 8660 if ( !rfocusMorph.test( bubbleType + type ) ) { 8661 cur = cur.parentNode; 8662 } 8663 for ( ; cur; cur = cur.parentNode ) { 8664 eventPath.push( cur ); 8665 tmp = cur; 8666 } 8667 8668 // Only add window if we got to document (e.g., not plain obj or detached DOM) 8669 if ( tmp === ( elem.ownerDocument || document ) ) { 8670 eventPath.push( tmp.defaultView || tmp.parentWindow || window ); 8671 } 8672 } 8673 8674 // Fire handlers on the event path 8675 i = 0; 8676 while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { 8677 lastElement = cur; 8678 event.type = i > 1 ? 8679 bubbleType : 8680 special.bindType || type; 8681 8682 // jQuery handler 8683 handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && 8684 dataPriv.get( cur, "handle" ); 8685 if ( handle ) { 8686 handle.apply( cur, data ); 8687 } 8688 8689 // Native handler 8690 handle = ontype && cur[ ontype ]; 8691 if ( handle && handle.apply && acceptData( cur ) ) { 8692 event.result = handle.apply( cur, data ); 8693 if ( event.result === false ) { 8694 event.preventDefault(); 8695 } 8696 } 8697 } 8698 event.type = type; 8699 8700 // If nobody prevented the default action, do it now 8701 if ( !onlyHandlers && !event.isDefaultPrevented() ) { 8702 8703 if ( ( !special._default || 8704 special._default.apply( eventPath.pop(), data ) === false ) && 8705 acceptData( elem ) ) { 8706 8707 // Call a native DOM method on the target with the same name as the event. 8708 // Don't do default actions on window, that's where global variables be (trac-6170) 8709 if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { 8710 8711 // Don't re-trigger an onFOO event when we call its FOO() method 8712 tmp = elem[ ontype ]; 8713 8714 if ( tmp ) { 8715 elem[ ontype ] = null; 8716 } 8717 8718 // Prevent re-triggering of the same event, since we already bubbled it above 8719 jQuery.event.triggered = type; 8720 8721 if ( event.isPropagationStopped() ) { 8722 lastElement.addEventListener( type, stopPropagationCallback ); 8723 } 8724 8725 elem[ type ](); 8726 8727 if ( event.isPropagationStopped() ) { 8728 lastElement.removeEventListener( type, stopPropagationCallback ); 8729 } 8730 8731 jQuery.event.triggered = undefined; 8732 8733 if ( tmp ) { 8734 elem[ ontype ] = tmp; 8735 } 8736 } 8737 } 8738 } 8739 8740 return event.result; 8741 }, 8742 8743 // Piggyback on a donor event to simulate a different one 8744 // Used only for `focus(in | out)` events 8745 simulate: function( type, elem, event ) { 8746 var e = jQuery.extend( 8747 new jQuery.Event(), 8748 event, 8749 { 8750 type: type, 8751 isSimulated: true 8752 } 8753 ); 8754 8755 jQuery.event.trigger( e, null, elem ); 8756 } 8757 8758} ); 8759 8760jQuery.fn.extend( { 8761 8762 trigger: function( type, data ) { 8763 return this.each( function() { 8764 jQuery.event.trigger( type, data, this ); 8765 } ); 8766 }, 8767 triggerHandler: function( type, data ) { 8768 var elem = this[ 0 ]; 8769 if ( elem ) { 8770 return jQuery.event.trigger( type, data, elem, true ); 8771 } 8772 } 8773} ); 8774 8775 8776var 8777 rbracket = /\[\]$/, 8778 rCRLF = /\r?\n/g, 8779 rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, 8780 rsubmittable = /^(?:input|select|textarea|keygen)/i; 8781 8782function buildParams( prefix, obj, traditional, add ) { 8783 var name; 8784 8785 if ( Array.isArray( obj ) ) { 8786 8787 // Serialize array item. 8788 jQuery.each( obj, function( i, v ) { 8789 if ( traditional || rbracket.test( prefix ) ) { 8790 8791 // Treat each array item as a scalar. 8792 add( prefix, v ); 8793 8794 } else { 8795 8796 // Item is non-scalar (array or object), encode its numeric index. 8797 buildParams( 8798 prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", 8799 v, 8800 traditional, 8801 add 8802 ); 8803 } 8804 } ); 8805 8806 } else if ( !traditional && toType( obj ) === "object" ) { 8807 8808 // Serialize object item. 8809 for ( name in obj ) { 8810 buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); 8811 } 8812 8813 } else { 8814 8815 // Serialize scalar item. 8816 add( prefix, obj ); 8817 } 8818} 8819 8820// Serialize an array of form elements or a set of 8821// key/values into a query string 8822jQuery.param = function( a, traditional ) { 8823 var prefix, 8824 s = [], 8825 add = function( key, valueOrFunction ) { 8826 8827 // If value is a function, invoke it and use its return value 8828 var value = isFunction( valueOrFunction ) ? 8829 valueOrFunction() : 8830 valueOrFunction; 8831 8832 s[ s.length ] = encodeURIComponent( key ) + "=" + 8833 encodeURIComponent( value == null ? "" : value ); 8834 }; 8835 8836 if ( a == null ) { 8837 return ""; 8838 } 8839 8840 // If an array was passed in, assume that it is an array of form elements. 8841 if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { 8842 8843 // Serialize the form elements 8844 jQuery.each( a, function() { 8845 add( this.name, this.value ); 8846 } ); 8847 8848 } else { 8849 8850 // If traditional, encode the "old" way (the way 1.3.2 or older 8851 // did it), otherwise encode params recursively. 8852 for ( prefix in a ) { 8853 buildParams( prefix, a[ prefix ], traditional, add ); 8854 } 8855 } 8856 8857 // Return the resulting serialization 8858 return s.join( "&" ); 8859}; 8860 8861jQuery.fn.extend( { 8862 serialize: function() { 8863 return jQuery.param( this.serializeArray() ); 8864 }, 8865 serializeArray: function() { 8866 return this.map( function() { 8867 8868 // Can add propHook for "elements" to filter or add form elements 8869 var elements = jQuery.prop( this, "elements" ); 8870 return elements ? jQuery.makeArray( elements ) : this; 8871 } ).filter( function() { 8872 var type = this.type; 8873
vendor: 9,174 bytes, lines 8874-9232
8874 // Use .is( ":disabled" ) so that fieldset[disabled] works 8875 return this.name && !jQuery( this ).is( ":disabled" ) && 8876 rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && 8877 ( this.checked || !rcheckableType.test( type ) ); 8878 } ).map( function( _i, elem ) { 8879 var val = jQuery( this ).val(); 8880 8881 if ( val == null ) { 8882 return null; 8883 } 8884 8885 if ( Array.isArray( val ) ) { 8886 return jQuery.map( val, function( val ) { 8887 return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; 8888 } ); 8889 } 8890 8891 return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; 8892 } ).get(); 8893 } 8894} ); 8895 8896 8897var 8898 r20 = /%20/g, 8899 rhash = /#.*$/, 8900 rantiCache = /([?&])_=[^&]*/, 8901 rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, 8902 8903 // trac-7653, trac-8125, trac-8152: local protocol detection 8904 rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, 8905 rnoContent = /^(?:GET|HEAD)$/, 8906 rprotocol = /^\/\//, 8907 8908 /* Prefilters 8909 * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) 8910 * 2) These are called: 8911 * - BEFORE asking for a transport 8912 * - AFTER param serialization (s.data is a string if s.processData is true) 8913 * 3) key is the dataType 8914 * 4) the catchall symbol "*" can be used 8915 * 5) execution will start with transport dataType and THEN continue down to "*" if needed 8916 */ 8917 prefilters = {}, 8918 8919 /* Transports bindings 8920 * 1) key is the dataType 8921 * 2) the catchall symbol "*" can be used 8922 * 3) selection will start with transport dataType and THEN go to "*" if needed 8923 */ 8924 transports = {}, 8925 8926 // Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression 8927 allTypes = "*/".concat( "*" ), 8928 8929 // Anchor tag for parsing the document origin 8930 originAnchor = document.createElement( "a" ); 8931 8932originAnchor.href = location.href; 8933 8934// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport 8935function addToPrefiltersOrTransports( structure ) { 8936 8937 // dataTypeExpression is optional and defaults to "*" 8938 return function( dataTypeExpression, func ) { 8939 8940 if ( typeof dataTypeExpression !== "string" ) { 8941 func = dataTypeExpression; 8942 dataTypeExpression = "*"; 8943 } 8944 8945 var dataType, 8946 i = 0, 8947 dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; 8948 8949 if ( isFunction( func ) ) { 8950 8951 // For each dataType in the dataTypeExpression 8952 while ( ( dataType = dataTypes[ i++ ] ) ) { 8953 8954 // Prepend if requested 8955 if ( dataType[ 0 ] === "+" ) { 8956 dataType = dataType.slice( 1 ) || "*"; 8957 ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); 8958 8959 // Otherwise append 8960 } else { 8961 ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); 8962 } 8963 } 8964 } 8965 }; 8966} 8967 8968// Base inspection function for prefilters and transports 8969function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { 8970 8971 var inspected = {}, 8972 seekingTransport = ( structure === transports ); 8973 8974 function inspect( dataType ) { 8975 var selected; 8976 inspected[ dataType ] = true; 8977 jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { 8978 var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); 8979 if ( typeof dataTypeOrTransport === "string" && 8980 !seekingTransport && !inspected[ dataTypeOrTransport ] ) { 8981 8982 options.dataTypes.unshift( dataTypeOrTransport ); 8983 inspect( dataTypeOrTransport ); 8984 return false; 8985 } else if ( seekingTransport ) { 8986 return !( selected = dataTypeOrTransport ); 8987 } 8988 } ); 8989 return selected; 8990 } 8991 8992 return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); 8993} 8994 8995// A special extend for ajax options 8996// that takes "flat" options (not to be deep extended) 8997// Fixes trac-9887 8998function ajaxExtend( target, src ) { 8999 var key, deep, 9000 flatOptions = jQuery.ajaxSettings.flatOptions || {}; 9001 9002 for ( key in src ) { 9003 if ( src[ key ] !== undefined ) { 9004 ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; 9005 } 9006 } 9007 if ( deep ) { 9008 jQuery.extend( true, target, deep ); 9009 } 9010 9011 return target; 9012} 9013 9014/* Handles responses to an ajax request: 9015 * - finds the right dataType (mediates between content-type and expected dataType) 9016 * - returns the corresponding response 9017 */ 9018function ajaxHandleResponses( s, jqXHR, responses ) { 9019 9020 var ct, type, finalDataType, firstDataType, 9021 contents = s.contents, 9022 dataTypes = s.dataTypes; 9023 9024 // Remove auto dataType and get content-type in the process 9025 while ( dataTypes[ 0 ] === "*" ) { 9026 dataTypes.shift(); 9027 if ( ct === undefined ) { 9028 ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); 9029 } 9030 } 9031 9032 // Check if we're dealing with a known content-type 9033 if ( ct ) { 9034 for ( type in contents ) { 9035 if ( contents[ type ] && contents[ type ].test( ct ) ) { 9036 dataTypes.unshift( type ); 9037 break; 9038 } 9039 } 9040 } 9041 9042 // Check to see if we have a response for the expected dataType 9043 if ( dataTypes[ 0 ] in responses ) { 9044 finalDataType = dataTypes[ 0 ]; 9045 } else { 9046 9047 // Try convertible dataTypes 9048 for ( type in responses ) { 9049 if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { 9050 finalDataType = type; 9051 break; 9052 } 9053 if ( !firstDataType ) { 9054 firstDataType = type; 9055 } 9056 } 9057 9058 // Or just use first one 9059 finalDataType = finalDataType || firstDataType; 9060 } 9061 9062 // If we found a dataType 9063 // We add the dataType to the list if needed 9064 // and return the corresponding response 9065 if ( finalDataType ) { 9066 if ( finalDataType !== dataTypes[ 0 ] ) { 9067 dataTypes.unshift( finalDataType ); 9068 } 9069 return responses[ finalDataType ]; 9070 } 9071} 9072 9073/* Chain conversions given the request and the original response 9074 * Also sets the responseXXX fields on the jqXHR instance 9075 */ 9076function ajaxConvert( s, response, jqXHR, isSuccess ) { 9077 var conv2, current, conv, tmp, prev, 9078 converters = {}, 9079 9080 // Work with a copy of dataTypes in case we need to modify it for conversion 9081 dataTypes = s.dataTypes.slice(); 9082 9083 // Create converters map with lowercased keys 9084 if ( dataTypes[ 1 ] ) { 9085 for ( conv in s.converters ) { 9086 converters[ conv.toLowerCase() ] = s.converters[ conv ]; 9087 } 9088 } 9089 9090 current = dataTypes.shift(); 9091 9092 // Convert to each sequential dataType 9093 while ( current ) { 9094 9095 if ( s.responseFields[ current ] ) { 9096 jqXHR[ s.responseFields[ current ] ] = response; 9097 } 9098 9099 // Apply the dataFilter if provided 9100 if ( !prev && isSuccess && s.dataFilter ) { 9101 response = s.dataFilter( response, s.dataType ); 9102 } 9103 9104 prev = current; 9105 current = dataTypes.shift(); 9106 9107 if ( current ) { 9108 9109 // There's only work to do if current dataType is non-auto 9110 if ( current === "*" ) { 9111 9112 current = prev; 9113 9114 // Convert response if prev dataType is non-auto and differs from current 9115 } else if ( prev !== "*" && prev !== current ) { 9116 9117 // Seek a direct converter 9118 conv = converters[ prev + " " + current ] || converters[ "* " + current ]; 9119 9120 // If none found, seek a pair 9121 if ( !conv ) { 9122 for ( conv2 in converters ) { 9123 9124 // If conv2 outputs current 9125 tmp = conv2.split( " " ); 9126 if ( tmp[ 1 ] === current ) { 9127 9128 // If prev can be converted to accepted input 9129 conv = converters[ prev + " " + tmp[ 0 ] ] || 9130 converters[ "* " + tmp[ 0 ] ]; 9131 if ( conv ) { 9132 9133 // Condense equivalence converters 9134 if ( conv === true ) { 9135 conv = converters[ conv2 ]; 9136 9137 // Otherwise, insert the intermediate dataType 9138 } else if ( converters[ conv2 ] !== true ) { 9139 current = tmp[ 0 ]; 9140 dataTypes.unshift( tmp[ 1 ] ); 9141 } 9142 break; 9143 } 9144 } 9145 } 9146 } 9147 9148 // Apply converter (if not an equivalence) 9149 if ( conv !== true ) { 9150 9151 // Unless errors are allowed to bubble, catch and return them 9152 if ( conv && s.throws ) { 9153 response = conv( response ); 9154 } else { 9155 try { 9156 response = conv( response ); 9157 } catch ( e ) { 9158 return { 9159 state: "parsererror", 9160 error: conv ? e : "No conversion from " + prev + " to " + current 9161 }; 9162 } 9163 } 9164 } 9165 } 9166 } 9167 } 9168 9169 return { state: "success", data: response }; 9170} 9171 9172jQuery.extend( { 9173 9174 // Counter for holding the number of active queries 9175 active: 0, 9176 9177 // Last-Modified header cache for next request 9178 lastModified: {}, 9179 etag: {}, 9180 9181 ajaxSettings: { 9182 url: location.href, 9183 type: "GET", 9184 isLocal: rlocalProtocol.test( location.protocol ), 9185 global: true, 9186 processData: true, 9187 async: true, 9188 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 9189 9190 /* 9191 timeout: 0, 9192 data: null, 9193 dataType: null, 9194 username: null, 9195 password: null, 9196 cache: null, 9197 throws: false, 9198 traditional: false, 9199 headers: {}, 9200 */ 9201 9202 accepts: { 9203 "*": allTypes, 9204 text: "text/plain", 9205 html: "text/html", 9206 xml: "application/xml, text/xml", 9207 json: "application/json, text/javascript" 9208 }, 9209 9210 contents: { 9211 xml: /\bxml\b/, 9212 html: /\bhtml/, 9213 json: /\bjson\b/ 9214 }, 9215 9216 responseFields: { 9217 xml: "responseXML", 9218 text: "responseText", 9219 json: "responseJSON" 9220 }, 9221 9222 // Data converters 9223 // Keys separate source (or catchall "*") and destination types with a single space 9224 converters: { 9225 9226 // Convert anything to text 9227 "* text": String, 9228 9229 // Text to html (true = no transformation) 9230 "text html": true, 9231 9232 /
9232** 9233 * BEGIN MODIFIED BY ATLASSIAN 9234 * With this modification any ajax requests with the dataType option set to json 9235 * or any requests that return a response with a json content type but have an 9236 * empty (invalid) json payload, the ajax data will come back as null. 9237 * This brings back partial jQuery v1.4.1 behaviour and is required by Jira 9238 * for jQuery v2 and jQuery v3 compatibility. 9239 */ 9240 // Evaluate text as a json expression 9241 "text json": function ( data ) { 9242 if (data === '' || typeof data === 'undefined') { 9243 data = 'null'; 9244 } 9245 return JSON.parse(data); 9246 }, 9247 /* END MODIFIED BY ATLASSIAN */
vendor: 23,199 bytes, lines 9247-10141
9247 9248 9249 // Parse text as xml 9250 "text xml": jQuery.parseXML 9251 }, 9252 9253 // For options that shouldn't be deep extended: 9254 // you can add your own custom options here if 9255 // and when you create one that shouldn't be 9256 // deep extended (see ajaxExtend) 9257 flatOptions: { 9258 url: true, 9259 context: true 9260 } 9261 }, 9262 9263 // Creates a full fledged settings object into target 9264 // with both ajaxSettings and settings fields. 9265 // If target is omitted, writes into ajaxSettings. 9266 ajaxSetup: function( target, settings ) { 9267 return settings ? 9268 9269 // Building a settings object 9270 ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : 9271 9272 // Extending ajaxSettings 9273 ajaxExtend( jQuery.ajaxSettings, target ); 9274 }, 9275 9276 ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), 9277 ajaxTransport: addToPrefiltersOrTransports( transports ), 9278 9279 // Main method 9280 ajax: function( url, options ) { 9281 9282 // If url is an object, simulate pre-1.5 signature 9283 if ( typeof url === "object" ) { 9284 options = url; 9285 url = undefined; 9286 } 9287 9288 // Force options to be an object 9289 options = options || {}; 9290 9291 var transport, 9292 9293 // URL without anti-cache param 9294 cacheURL, 9295 9296 // Response headers 9297 responseHeadersString, 9298 responseHeaders, 9299 9300 // timeout handle 9301 timeoutTimer, 9302 9303 // Url cleanup var 9304 urlAnchor, 9305 9306 // Request state (becomes false upon send and true upon completion) 9307 completed, 9308 9309 // To know if global events are to be dispatched 9310 fireGlobals, 9311 9312 // Loop variable 9313 i, 9314 9315 // uncached part of the url 9316 uncached, 9317 9318 // Create the final options object 9319 s = jQuery.ajaxSetup( {}, options ), 9320 9321 // Callbacks context 9322 callbackContext = s.context || s, 9323 9324 // Context for global events is callbackContext if it is a DOM node or jQuery collection 9325 globalEventContext = s.context && 9326 ( callbackContext.nodeType || callbackContext.jquery ) ? 9327 jQuery( callbackContext ) : 9328 jQuery.event, 9329 9330 // Deferreds 9331 deferred = jQuery.Deferred(), 9332 completeDeferred = jQuery.Callbacks( "once memory" ), 9333 9334 // Status-dependent callbacks 9335 statusCode = s.statusCode || {}, 9336 9337 // Headers (they are sent all at once) 9338 requestHeaders = {}, 9339 requestHeadersNames = {}, 9340 9341 // Default abort message 9342 strAbort = "canceled", 9343 9344 // Fake xhr 9345 jqXHR = { 9346 readyState: 0, 9347 9348 // Builds headers hashtable if needed 9349 getResponseHeader: function( key ) { 9350 var match; 9351 if ( completed ) { 9352 if ( !responseHeaders ) { 9353 responseHeaders = {}; 9354 while ( ( match = rheaders.exec( responseHeadersString ) ) ) { 9355 responseHeaders[ match[ 1 ].toLowerCase() + " " ] = 9356 ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) 9357 .concat( match[ 2 ] ); 9358 } 9359 } 9360 match = responseHeaders[ key.toLowerCase() + " " ]; 9361 } 9362 return match == null ? null : match.join( ", " ); 9363 }, 9364 9365 // Raw string 9366 getAllResponseHeaders: function() { 9367 return completed ? responseHeadersString : null; 9368 }, 9369 9370 // Caches the header 9371 setRequestHeader: function( name, value ) { 9372 if ( completed == null ) { 9373 name = requestHeadersNames[ name.toLowerCase() ] = 9374 requestHeadersNames[ name.toLowerCase() ] || name; 9375 requestHeaders[ name ] = value; 9376 } 9377 return this; 9378 }, 9379 9380 // Overrides response content-type header 9381 overrideMimeType: function( type ) { 9382 if ( completed == null ) { 9383 s.mimeType = type; 9384 } 9385 return this; 9386 }, 9387 9388 // Status-dependent callbacks 9389 statusCode: function( map ) { 9390 var code; 9391 if ( map ) { 9392 if ( completed ) { 9393 9394 // Execute the appropriate callbacks 9395 jqXHR.always( map[ jqXHR.status ] ); 9396 } else { 9397 9398 // Lazy-add the new callbacks in a way that preserves old ones 9399 for ( code in map ) { 9400 statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; 9401 } 9402 } 9403 } 9404 return this; 9405 }, 9406 9407 // Cancel the request 9408 abort: function( statusText ) { 9409 var finalText = statusText || strAbort; 9410 if ( transport ) { 9411 transport.abort( finalText ); 9412 } 9413 done( 0, finalText ); 9414 return this; 9415 } 9416 }; 9417 9418 // Attach deferreds 9419 deferred.promise( jqXHR ); 9420 9421 // Add protocol if not provided (prefilters might expect it) 9422 // Handle falsy url in the settings object (trac-10093: consistency with old signature) 9423 // We also use the url parameter if available 9424 s.url = ( ( url || s.url || location.href ) + "" ) 9425 .replace( rprotocol, location.protocol + "//" ); 9426 9427 // Alias method option to type as per ticket trac-12004 9428 s.type = options.method || options.type || s.method || s.type; 9429 9430 // Extract dataTypes list 9431 s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; 9432 9433 // A cross-domain request is in order when the origin doesn't match the current origin. 9434 if ( s.crossDomain == null ) { 9435 urlAnchor = document.createElement( "a" ); 9436 9437 // Support: IE <=8 - 11, Edge 12 - 15 9438 // IE throws exception on accessing the href property if url is malformed, 9439 // e.g. http://example.com:80x/ 9440 try { 9441 urlAnchor.href = s.url; 9442 9443 // Support: IE <=8 - 11 only 9444 // Anchor's host property isn't correctly set when s.url is relative 9445 urlAnchor.href = urlAnchor.href; 9446 s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== 9447 urlAnchor.protocol + "//" + urlAnchor.host; 9448 } catch ( e ) { 9449 9450 // If there is an error parsing the URL, assume it is crossDomain, 9451 // it can be rejected by the transport if it is invalid 9452 s.crossDomain = true; 9453 } 9454 } 9455 9456 // Convert data if not already a string 9457 if ( s.data && s.processData && typeof s.data !== "string" ) { 9458 s.data = jQuery.param( s.data, s.traditional ); 9459 } 9460 9461 // Apply prefilters 9462 inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); 9463 9464 // If request was aborted inside a prefilter, stop there 9465 if ( completed ) { 9466 return jqXHR; 9467 } 9468 9469 // We can fire global events as of now if asked to 9470 // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118) 9471 fireGlobals = jQuery.event && s.global; 9472 9473 // Watch for a new set of requests 9474 if ( fireGlobals && jQuery.active++ === 0 ) { 9475 jQuery.event.trigger( "ajaxStart" ); 9476 } 9477 9478 // Uppercase the type 9479 s.type = s.type.toUpperCase(); 9480 9481 // Determine if request has content 9482 s.hasContent = !rnoContent.test( s.type ); 9483 9484 // Save the URL in case we're toying with the If-Modified-Since 9485 // and/or If-None-Match header later on 9486 // Remove hash to simplify url manipulation 9487 cacheURL = s.url.replace( rhash, "" ); 9488 9489 // More options handling for requests with no content 9490 if ( !s.hasContent ) { 9491 9492 // Remember the hash so we can put it back 9493 uncached = s.url.slice( cacheURL.length ); 9494 9495 // If data is available and should be processed, append data to url 9496 if ( s.data && ( s.processData || typeof s.data === "string" ) ) { 9497 cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; 9498 9499 // trac-9682: remove data so that it's not used in an eventual retry 9500 delete s.data; 9501 } 9502 9503 // Add or update anti-cache param if needed 9504 if ( s.cache === false ) { 9505 cacheURL = cacheURL.replace( rantiCache, "$1" ); 9506 uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + 9507 uncached; 9508 } 9509 9510 // Put hash and anti-cache on the URL that will be requested (gh-1732) 9511 s.url = cacheURL + uncached; 9512 9513 // Change '%20' to '+' if this is encoded form body content (gh-2658) 9514 } else if ( s.data && s.processData && 9515 ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { 9516 s.data = s.data.replace( r20, "+" ); 9517 } 9518 9519 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 9520 if ( s.ifModified ) { 9521 if ( jQuery.lastModified[ cacheURL ] ) { 9522 jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); 9523 } 9524 if ( jQuery.etag[ cacheURL ] ) { 9525 jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); 9526 } 9527 } 9528 9529 // Set the correct header, if data is being sent 9530 if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { 9531 jqXHR.setRequestHeader( "Content-Type", s.contentType ); 9532 } 9533 9534 // Set the Accepts header for the server, depending on the dataType 9535 jqXHR.setRequestHeader( 9536 "Accept", 9537 s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? 9538 s.accepts[ s.dataTypes[ 0 ] ] + 9539 ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : 9540 s.accepts[ "*" ] 9541 ); 9542 9543 // Check for headers option 9544 for ( i in s.headers ) { 9545 jqXHR.setRequestHeader( i, s.headers[ i ] ); 9546 } 9547 9548 // Allow custom headers/mimetypes and early abort 9549 if ( s.beforeSend && 9550 ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { 9551 9552 // Abort if not done already and return 9553 return jqXHR.abort(); 9554 } 9555 9556 // Aborting is no longer a cancellation 9557 strAbort = "abort"; 9558 9559 // Install callbacks on deferreds 9560 completeDeferred.add( s.complete ); 9561 jqXHR.done( s.success ); 9562 jqXHR.fail( s.error ); 9563 9564 // Get transport 9565 transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); 9566 9567 // If no transport, we auto-abort 9568 if ( !transport ) { 9569 done( -1, "No Transport" ); 9570 } else { 9571 jqXHR.readyState = 1; 9572 9573 // Send global event 9574 if ( fireGlobals ) { 9575 globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); 9576 } 9577 9578 // If request was aborted inside ajaxSend, stop there 9579 if ( completed ) { 9580 return jqXHR; 9581 } 9582 9583 // Timeout 9584 if ( s.async && s.timeout > 0 ) { 9585 timeoutTimer = window.setTimeout( function() { 9586 jqXHR.abort( "timeout" ); 9587 }, s.timeout ); 9588 } 9589 9590 try { 9591 completed = false; 9592 transport.send( requestHeaders, done ); 9593 } catch ( e ) { 9594 9595 // Rethrow post-completion exceptions 9596 if ( completed ) { 9597 throw e; 9598 } 9599 9600 // Propagate others as results 9601 done( -1, e ); 9602 } 9603 } 9604 9605 // Callback for when everything is done 9606 function done( status, nativeStatusText, responses, headers ) { 9607 var isSuccess, success, error, response, modified, 9608 statusText = nativeStatusText; 9609 9610 // Ignore repeat invocations 9611 if ( completed ) { 9612 return; 9613 } 9614 9615 completed = true; 9616 9617 // Clear timeout if it exists 9618 if ( timeoutTimer ) { 9619 window.clearTimeout( timeoutTimer ); 9620 } 9621 9622 // Dereference transport for early garbage collection 9623 // (no matter how long the jqXHR object will be used) 9624 transport = undefined; 9625 9626 // Cache response headers 9627 responseHeadersString = headers || ""; 9628 9629 // Set readyState 9630 jqXHR.readyState = status > 0 ? 4 : 0; 9631 9632 // Determine if successful 9633 isSuccess = status >= 200 && status < 300 || status === 304; 9634 9635 // Get response data 9636 if ( responses ) { 9637 response = ajaxHandleResponses( s, jqXHR, responses ); 9638 } 9639 9640 // Use a noop converter for missing script but not if jsonp 9641 if ( !isSuccess && 9642 jQuery.inArray( "script", s.dataTypes ) > -1 && 9643 jQuery.inArray( "json", s.dataTypes ) < 0 ) { 9644 s.converters[ "text script" ] = function() {}; 9645 } 9646 9647 // Convert no matter what (that way responseXXX fields are always set) 9648 response = ajaxConvert( s, response, jqXHR, isSuccess ); 9649 9650 // If successful, handle type chaining 9651 if ( isSuccess ) { 9652 9653 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 9654 if ( s.ifModified ) { 9655 modified = jqXHR.getResponseHeader( "Last-Modified" ); 9656 if ( modified ) { 9657 jQuery.lastModified[ cacheURL ] = modified; 9658 } 9659 modified = jqXHR.getResponseHeader( "etag" ); 9660 if ( modified ) { 9661 jQuery.etag[ cacheURL ] = modified; 9662 } 9663 } 9664 9665 // if no content 9666 if ( status === 204 || s.type === "HEAD" ) { 9667 statusText = "nocontent"; 9668 9669 // if not modified 9670 } else if ( status === 304 ) { 9671 statusText = "notmodified"; 9672 9673 // If we have data, let's convert it 9674 } else { 9675 statusText = response.state; 9676 success = response.data; 9677 error = response.error; 9678 isSuccess = !error; 9679 } 9680 } else { 9681 9682 // Extract error from statusText and normalize for non-aborts 9683 error = statusText; 9684 if ( status || !statusText ) { 9685 statusText = "error"; 9686 if ( status < 0 ) { 9687 status = 0; 9688 } 9689 } 9690 } 9691 9692 // Set data for the fake xhr object 9693 jqXHR.status = status; 9694 jqXHR.statusText = ( nativeStatusText || statusText ) + ""; 9695 9696 // Success/Error 9697 if ( isSuccess ) { 9698 deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); 9699 } else { 9700 deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); 9701 } 9702 9703 // Status-dependent callbacks 9704 jqXHR.statusCode( statusCode ); 9705 statusCode = undefined; 9706 9707 if ( fireGlobals ) { 9708 globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", 9709 [ jqXHR, s, isSuccess ? success : error ] ); 9710 } 9711 9712 // Complete 9713 completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); 9714 9715 if ( fireGlobals ) { 9716 globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); 9717 9718 // Handle the global AJAX counter 9719 if ( !( --jQuery.active ) ) { 9720 jQuery.event.trigger( "ajaxStop" ); 9721 } 9722 } 9723 } 9724 9725 return jqXHR; 9726 }, 9727 9728 getJSON: function( url, data, callback ) { 9729 return jQuery.get( url, data, callback, "json" ); 9730 }, 9731 9732 getScript: function( url, callback ) { 9733 return jQuery.get( url, undefined, callback, "script" ); 9734 } 9735} ); 9736 9737jQuery.each( [ "get", "post" ], function( _i, method ) { 9738 jQuery[ method ] = function( url, data, callback, type ) { 9739 9740 // Shift arguments if data argument was omitted 9741 if ( isFunction( data ) ) { 9742 type = type || callback; 9743 callback = data; 9744 data = undefined; 9745 } 9746 9747 // The url can be an options object (which then must have .url) 9748 return jQuery.ajax( jQuery.extend( { 9749 url: url, 9750 type: method, 9751 dataType: type, 9752 data: data, 9753 success: callback 9754 }, jQuery.isPlainObject( url ) && url ) ); 9755 }; 9756} ); 9757 9758jQuery.ajaxPrefilter( function( s ) { 9759 var i; 9760 for ( i in s.headers ) { 9761 if ( i.toLowerCase() === "content-type" ) { 9762 s.contentType = s.headers[ i ] || ""; 9763 } 9764 } 9765} ); 9766 9767 9768jQuery._evalUrl = function( url, options, doc ) { 9769 return jQuery.ajax( { 9770 url: url, 9771 9772 // Make this explicit, since user can override this through ajaxSetup (trac-11264) 9773 type: "GET", 9774 dataType: "script", 9775 cache: true, 9776 async: false, 9777 global: false, 9778 9779 // Only evaluate the response if it is successful (gh-4126) 9780 // dataFilter is not invoked for failure responses, so using it instead 9781 // of the default converter is kludgy but it works. 9782 converters: { 9783 "text script": function() {} 9784 }, 9785 dataFilter: function( response ) { 9786 jQuery.globalEval( response, options, doc ); 9787 } 9788 } ); 9789}; 9790 9791 9792jQuery.fn.extend( { 9793 wrapAll: function( html ) { 9794 var wrap; 9795 9796 if ( this[ 0 ] ) { 9797 if ( isFunction( html ) ) { 9798 html = html.call( this[ 0 ] ); 9799 } 9800 9801 // The elements to wrap the target around 9802 wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); 9803 9804 if ( this[ 0 ].parentNode ) { 9805 wrap.insertBefore( this[ 0 ] ); 9806 } 9807 9808 wrap.map( function() { 9809 var elem = this; 9810 9811 while ( elem.firstElementChild ) { 9812 elem = elem.firstElementChild; 9813 } 9814 9815 return elem; 9816 } ).append( this ); 9817 } 9818 9819 return this; 9820 }, 9821 9822 wrapInner: function( html ) { 9823 if ( isFunction( html ) ) { 9824 return this.each( function( i ) { 9825 jQuery( this ).wrapInner( html.call( this, i ) ); 9826 } ); 9827 } 9828 9829 return this.each( function() { 9830 var self = jQuery( this ), 9831 contents = self.contents(); 9832 9833 if ( contents.length ) { 9834 contents.wrapAll( html ); 9835 9836 } else { 9837 self.append( html ); 9838 } 9839 } ); 9840 }, 9841 9842 wrap: function( html ) { 9843 var htmlIsFunction = isFunction( html ); 9844 9845 return this.each( function( i ) { 9846 jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); 9847 } ); 9848 }, 9849 9850 unwrap: function( selector ) { 9851 this.parent( selector ).not( "body" ).each( function() { 9852 jQuery( this ).replaceWith( this.childNodes ); 9853 } ); 9854 return this; 9855 } 9856} ); 9857 9858 9859jQuery.expr.pseudos.hidden = function( elem ) { 9860 return !jQuery.expr.pseudos.visible( elem ); 9861}; 9862jQuery.expr.pseudos.visible = function( elem ) { 9863 return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); 9864}; 9865 9866 9867 9868 9869jQuery.ajaxSettings.xhr = function() { 9870 try { 9871 return new window.XMLHttpRequest(); 9872 } catch ( e ) {} 9873}; 9874 9875var xhrSuccessStatus = { 9876 9877 // File protocol always yields status code 0, assume 200 9878 0: 200, 9879 9880 // Support: IE <=9 only 9881 // trac-1450: sometimes IE returns 1223 when it should be 204 9882 1223: 204 9883 }, 9884 xhrSupported = jQuery.ajaxSettings.xhr(); 9885 9886support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); 9887support.ajax = xhrSupported = !!xhrSupported; 9888 9889jQuery.ajaxTransport( function( options ) { 9890 var callback, errorCallback; 9891 9892 // Cross domain only allowed if supported through XMLHttpRequest 9893 if ( support.cors || xhrSupported && !options.crossDomain ) { 9894 return { 9895 send: function( headers, complete ) { 9896 var i, 9897 xhr = options.xhr(); 9898 9899 xhr.open( 9900 options.type, 9901 options.url, 9902 options.async, 9903 options.username, 9904 options.password 9905 ); 9906 9907 // Apply custom fields if provided 9908 if ( options.xhrFields ) { 9909 for ( i in options.xhrFields ) { 9910 xhr[ i ] = options.xhrFields[ i ]; 9911 } 9912 } 9913 9914 // Override mime type if needed 9915 if ( options.mimeType && xhr.overrideMimeType ) { 9916 xhr.overrideMimeType( options.mimeType ); 9917 } 9918 9919 // X-Requested-With header 9920 // For cross-domain requests, seeing as conditions for a preflight are 9921 // akin to a jigsaw puzzle, we simply never set it to be sure. 9922 // (it can always be set on a per-request basis or even using ajaxSetup) 9923 // For same-domain requests, won't change header if already provided. 9924 if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { 9925 headers[ "X-Requested-With" ] = "XMLHttpRequest"; 9926 } 9927 9928 // Set headers 9929 for ( i in headers ) { 9930 xhr.setRequestHeader( i, headers[ i ] ); 9931 } 9932 9933 // Callback 9934 callback = function( type ) { 9935 return function() { 9936 if ( callback ) { 9937 callback = errorCallback = xhr.onload = 9938 xhr.onerror = xhr.onabort = xhr.ontimeout = 9939 xhr.onreadystatechange = null; 9940 9941 if ( type === "abort" ) { 9942 xhr.abort(); 9943 } else if ( type === "error" ) { 9944 9945 // Support: IE <=9 only 9946 // On a manual native abort, IE9 throws 9947 // errors on any property access that is not readyState 9948 if ( typeof xhr.status !== "number" ) { 9949 complete( 0, "error" ); 9950 } else { 9951 complete( 9952 9953 // File: protocol always yields status 0; see trac-8605, trac-14207 9954 xhr.status, 9955 xhr.statusText 9956 ); 9957 } 9958 } else { 9959 complete( 9960 xhrSuccessStatus[ xhr.status ] || xhr.status, 9961 xhr.statusText, 9962 9963 // Support: IE <=9 only 9964 // IE9 has no XHR2 but throws on binary (trac-11426) 9965 // For XHR2 non-text, let the caller handle it (gh-2498) 9966 ( xhr.responseType || "text" ) !== "text" || 9967 typeof xhr.responseText !== "string" ? 9968 { binary: xhr.response } : 9969 { text: xhr.responseText }, 9970 xhr.getAllResponseHeaders() 9971 ); 9972 } 9973 } 9974 }; 9975 }; 9976 9977 // Listen to events 9978 xhr.onload = callback(); 9979 errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); 9980 9981 // Support: IE 9 only 9982 // Use onreadystatechange to replace onabort 9983 // to handle uncaught aborts 9984 if ( xhr.onabort !== undefined ) { 9985 xhr.onabort = errorCallback; 9986 } else { 9987 xhr.onreadystatechange = function() { 9988 9989 // Check readyState before timeout as it changes 9990 if ( xhr.readyState === 4 ) { 9991 9992 // Allow onerror to be called first, 9993 // but that will not handle a native abort 9994 // Also, save errorCallback to a variable 9995 // as xhr.onerror cannot be accessed 9996 window.setTimeout( function() { 9997 if ( callback ) { 9998 errorCallback(); 9999 } 10000 } ); 10001 } 10002 }; 10003 } 10004 10005 // Create the abort callback 10006 callback = callback( "abort" ); 10007 10008 try { 10009 10010 // Do send the request (this may raise an exception) 10011 xhr.send( options.hasContent && options.data || null ); 10012 } catch ( e ) { 10013 10014 // trac-14683: Only rethrow if this hasn't been notified as an error yet 10015 if ( callback ) { 10016 throw e; 10017 } 10018 } 10019 }, 10020 10021 abort: function() { 10022 if ( callback ) { 10023 callback(); 10024 } 10025 } 10026 }; 10027 } 10028} ); 10029 10030 10031 10032 10033// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) 10034jQuery.ajaxPrefilter( function( s ) { 10035 if ( s.crossDomain ) { 10036 s.contents.script = false; 10037 } 10038} ); 10039 10040// Install script dataType 10041jQuery.ajaxSetup( { 10042 accepts: { 10043 script: "text/javascript, application/javascript, " + 10044 "application/ecmascript, application/x-ecmascript" 10045 }, 10046 contents: { 10047 script: /\b(?:java|ecma)script\b/ 10048 }, 10049 converters: { 10050 "text script": function( text ) { 10051 jQuery.globalEval( text ); 10052 return text; 10053 } 10054 } 10055} ); 10056 10057// Handle cache's special case and crossDomain 10058jQuery.ajaxPrefilter( "script", function( s ) { 10059 if ( s.cache === undefined ) { 10060 s.cache = false; 10061 } 10062 if ( s.crossDomain ) { 10063 s.type = "GET"; 10064 } 10065} ); 10066 10067// Bind script tag hack transport 10068jQuery.ajaxTransport( "script", function( s ) { 10069 10070 // This transport only deals with cross domain or forced-by-attrs requests 10071 if ( s.crossDomain || s.scriptAttrs ) { 10072 var script, callback; 10073 return { 10074 send: function( _, complete ) { 10075 script = jQuery( "<script>" ) 10076 .attr( s.scriptAttrs || {} ) 10077 .prop( { charset: s.scriptCharset, src: s.url } ) 10078 .on( "load error", callback = function( evt ) { 10079 script.remove(); 10080 callback = null; 10081 if ( evt ) { 10082 complete( evt.type === "error" ? 404 : 200, evt.type ); 10083 } 10084 } ); 10085 10086 // Use native DOM manipulation to avoid our domManip AJAX trickery 10087 document.head.appendChild( script[ 0 ] ); 10088 }, 10089 abort: function() { 10090 if ( callback ) { 10091 callback(); 10092 } 10093 } 10094 }; 10095 } 10096} ); 10097 10098 10099 10100 10101var oldCallbacks = [], 10102 rjsonp = /(=)\?(?=&|$)|\?\?/; 10103 10104// Default jsonp settings 10105jQuery.ajaxSetup( { 10106 jsonp: "callback", 10107 jsonpCallback: function() { 10108 var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce.guid++ ) ); 10109 this[ callback ] = true; 10110 return callback; 10111 } 10112} ); 10113 10114// Detect, normalize options and install callbacks for jsonp requests 10115jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { 10116 10117 var callbackName, overwritten, responseContainer, 10118 jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? 10119 "url" : 10120 typeof s.data === "string" && 10121 ( s.contentType || "" ) 10122 .indexOf( "application/x-www-form-urlencoded" ) === 0 && 10123 rjsonp.test( s.data ) && "data" 10124 ); 10125 10126 // Handle iff the expected data type is "jsonp" or we have a parameter to set 10127 if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { 10128 10129 // Get callback name, remembering preexisting value associated with it 10130 callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ? 10131 s.jsonpCallback() : 10132 s.jsonpCallback; 10133 10134 // Insert callback into url or form data 10135 if ( jsonProp ) { 10136 s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); 10137 } else if ( s.jsonp !== false ) { 10138 s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; 10139 } 10140 10141 // Use data converter to retrieve json after script execution
vendor: 8,362 bytes, lines 10142-10453
10142 s.converters[ "script json" ] = function() { 10143 if ( !responseContainer ) { 10144 jQuery.error( callbackName + " was not called" ); 10145 } 10146 return responseContainer[ 0 ]; 10147 }; 10148 10149 // Force json dataType 10150 s.dataTypes[ 0 ] = "json"; 10151 10152 // Install callback 10153 overwritten = window[ callbackName ]; 10154 window[ callbackName ] = function() { 10155 responseContainer = arguments; 10156 }; 10157 10158 // Clean-up function (fires after converters) 10159 jqXHR.always( function() { 10160 10161 // If previous value didn't exist - remove it 10162 if ( overwritten === undefined ) { 10163 jQuery( window ).removeProp( callbackName ); 10164 10165 // Otherwise restore preexisting value 10166 } else { 10167 window[ callbackName ] = overwritten; 10168 } 10169 10170 // Save back as free 10171 if ( s[ callbackName ] ) { 10172 10173 // Make sure that re-using the options doesn't screw things around 10174 s.jsonpCallback = originalSettings.jsonpCallback; 10175 10176 // Save the callback name for future use 10177 oldCallbacks.push( callbackName ); 10178 } 10179 10180 // Call if it was a function and we have a response 10181 if ( responseContainer && isFunction( overwritten ) ) { 10182 overwritten( responseContainer[ 0 ] ); 10183 } 10184 10185 responseContainer = overwritten = undefined; 10186 } ); 10187 10188 // Delegate to script 10189 return "script"; 10190 } 10191} ); 10192 10193 10194 10195 10196// Support: Safari 8 only 10197// In Safari 8 documents created via document.implementation.createHTMLDocument 10198// collapse sibling forms: the second one becomes a child of the first one. 10199// Because of that, this security measure has to be disabled in Safari 8. 10200// https://bugs.webkit.org/show_bug.cgi?id=137337 10201support.createHTMLDocument = ( function() { 10202 var body = document.implementation.createHTMLDocument( "" ).body; 10203 body.innerHTML = "<form></form><form></form>"; 10204 return body.childNodes.length === 2; 10205} )(); 10206 10207 10208// Argument "data" should be string of html 10209// context (optional): If specified, the fragment will be created in this context, 10210// defaults to document 10211// keepScripts (optional): If true, will include scripts passed in the html string 10212jQuery.parseHTML = function( data, context, keepScripts ) { 10213 if ( typeof data !== "string" ) { 10214 return []; 10215 } 10216 if ( typeof context === "boolean" ) { 10217 keepScripts = context; 10218 context = false; 10219 } 10220 10221 var base, parsed, scripts; 10222 10223 if ( !context ) { 10224 10225 // Stop scripts or inline event handlers from being executed immediately 10226 // by using document.implementation 10227 if ( support.createHTMLDocument ) { 10228 context = document.implementation.createHTMLDocument( "" ); 10229 10230 // Set the base href for the created document 10231 // so any parsed elements with URLs 10232 // are based on the document's URL (gh-2965) 10233 base = context.createElement( "base" ); 10234 base.href = document.location.href; 10235 context.head.appendChild( base ); 10236 } else { 10237 context = document; 10238 } 10239 } 10240 10241 parsed = rsingleTag.exec( data ); 10242 scripts = !keepScripts && []; 10243 10244 // Single tag 10245 if ( parsed ) { 10246 return [ context.createElement( parsed[ 1 ] ) ]; 10247 } 10248 10249 parsed = buildFragment( [ data ], context, scripts ); 10250 10251 if ( scripts && scripts.length ) { 10252 jQuery( scripts ).remove(); 10253 } 10254 10255 return jQuery.merge( [], parsed.childNodes ); 10256}; 10257 10258 10259/** 10260 * Load a url into a page 10261 */ 10262jQuery.fn.load = function( url, params, callback ) { 10263 var selector, type, response, 10264 self = this, 10265 off = url.indexOf( " " ); 10266 10267 if ( off > -1 ) { 10268 selector = stripAndCollapse( url.slice( off ) ); 10269 url = url.slice( 0, off ); 10270 } 10271 10272 // If it's a function 10273 if ( isFunction( params ) ) { 10274 10275 // We assume that it's the callback 10276 callback = params; 10277 params = undefined; 10278 10279 // Otherwise, build a param string 10280 } else if ( params && typeof params === "object" ) { 10281 type = "POST"; 10282 } 10283 10284 // If we have elements to modify, make the request 10285 if ( self.length > 0 ) { 10286 jQuery.ajax( { 10287 url: url, 10288 10289 // If "type" variable is undefined, then "GET" method will be used. 10290 // Make value of this field explicit since 10291 // user can override it through ajaxSetup method 10292 type: type || "GET", 10293 dataType: "html", 10294 data: params 10295 } ).done( function( responseText ) { 10296 10297 // Save response for use in complete callback 10298 response = arguments; 10299 10300 self.html( selector ? 10301 10302 // If a selector was specified, locate the right elements in a dummy div 10303 // Exclude scripts to avoid IE 'Permission Denied' errors 10304 jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) : 10305 10306 // Otherwise use the full result 10307 responseText ); 10308 10309 // If the request succeeds, this function gets "data", "status", "jqXHR" 10310 // but they are ignored because response was set above. 10311 // If it fails, this function gets "jqXHR", "status", "error" 10312 } ).always( callback && function( jqXHR, status ) { 10313 self.each( function() { 10314 callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); 10315 } ); 10316 } ); 10317 } 10318 10319 return this; 10320}; 10321 10322 10323 10324 10325jQuery.expr.pseudos.animated = function( elem ) { 10326 return jQuery.grep( jQuery.timers, function( fn ) { 10327 return elem === fn.elem; 10328 } ).length; 10329}; 10330 10331 10332 10333 10334jQuery.offset = { 10335 setOffset: function( elem, options, i ) { 10336 var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, 10337 position = jQuery.css( elem, "position" ), 10338 curElem = jQuery( elem ), 10339 props = {}; 10340 10341 // Set position first, in-case top/left are set even on static elem 10342 if ( position === "static" ) { 10343 elem.style.position = "relative"; 10344 } 10345 10346 curOffset = curElem.offset(); 10347 curCSSTop = jQuery.css( elem, "top" ); 10348 curCSSLeft = jQuery.css( elem, "left" ); 10349 calculatePosition = ( position === "absolute" || position === "fixed" ) && 10350 ( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1; 10351 10352 // Need to be able to calculate position if either 10353 // top or left is auto and position is either absolute or fixed 10354 if ( calculatePosition ) { 10355 curPosition = curElem.position(); 10356 curTop = curPosition.top; 10357 curLeft = curPosition.left; 10358 10359 } else { 10360 curTop = parseFloat( curCSSTop ) || 0; 10361 curLeft = parseFloat( curCSSLeft ) || 0; 10362 } 10363 10364 if ( isFunction( options ) ) { 10365 10366 // Use jQuery.extend here to allow modification of coordinates argument (gh-1848) 10367 options = options.call( elem, i, jQuery.extend( {}, curOffset ) ); 10368 } 10369 10370 if ( options.top != null ) { 10371 props.top = ( options.top - curOffset.top ) + curTop; 10372 } 10373 if ( options.left != null ) { 10374 props.left = ( options.left - curOffset.left ) + curLeft; 10375 } 10376 10377 if ( "using" in options ) { 10378 options.using.call( elem, props ); 10379 10380 } else { 10381 curElem.css( props ); 10382 } 10383 } 10384}; 10385 10386jQuery.fn.extend( { 10387 10388 // offset() relates an element's border box to the document origin 10389 offset: function( options ) { 10390 10391 // Preserve chaining for setter 10392 if ( arguments.length ) { 10393 return options === undefined ? 10394 this : 10395 this.each( function( i ) { 10396 jQuery.offset.setOffset( this, options, i ); 10397 } ); 10398 } 10399 10400 var rect, win, 10401 elem = this[ 0 ]; 10402 10403 if ( !elem ) { 10404 return; 10405 } 10406 10407 // Return zeros for disconnected and hidden (display: none) elements (gh-2310) 10408 // Support: IE <=11 only 10409 // Running getBoundingClientRect on a 10410 // disconnected node in IE throws an error 10411 if ( !elem.getClientRects().length ) { 10412 return { top: 0, left: 0 }; 10413 } 10414 10415 // Get document-relative position by adding viewport scroll to viewport-relative gBCR 10416 rect = elem.getBoundingClientRect(); 10417 win = elem.ownerDocument.defaultView; 10418 return { 10419 top: rect.top + win.pageYOffset, 10420 left: rect.left + win.pageXOffset 10421 }; 10422 }, 10423 10424 // position() relates an element's margin box to its offset parent's padding box 10425 // This corresponds to the behavior of CSS absolute positioning 10426 position: function() { 10427 if ( !this[ 0 ] ) { 10428 return; 10429 } 10430 10431 var offsetParent, offset, doc, 10432 elem = this[ 0 ], 10433 parentOffset = { top: 0, left: 0 }; 10434 10435 // position:fixed elements are offset from the viewport, which itself always has zero offset 10436 if ( jQuery.css( elem, "position" ) === "fixed" ) { 10437 10438 // Assume position:fixed implies availability of getBoundingClientRect 10439 offset = elem.getBoundingClientRect(); 10440 10441 } else { 10442 offset = this.offset(); 10443 10444 // Account for the *real* offset parent, which can be the document or its root element 10445 // when a statically positioned element is identified 10446 doc = elem.ownerDocument; 10447 offsetParent = elem.offsetParent || doc.documentElement; 10448 while ( offsetParent && 10449 ( offsetParent === doc.body || offsetParent === doc.documentElement ) && 10450 jQuery.css( offsetParent, "position" ) === "static" ) { 10451 10452 offsetParent = offsetParent.parentNode; 10453 }
vendor: 8,812 bytes, lines 10454-10746
10454 if ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) { 10455 10456 // Incorporate borders into its offset, since they are outside its content origin 10457 parentOffset = jQuery( offsetParent ).offset(); 10458 parentOffset.top += jQuery.css( offsetParent, "borderTopWidth", true ); 10459 parentOffset.left += jQuery.css( offsetParent, "borderLeftWidth", true ); 10460 } 10461 } 10462 10463 // Subtract parent offsets and element margins 10464 return { 10465 top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), 10466 left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) 10467 }; 10468 }, 10469 10470 // This method will return documentElement in the following cases: 10471 // 1) For the element inside the iframe without offsetParent, this method will return 10472 // documentElement of the parent window 10473 // 2) For the hidden or detached element 10474 // 3) For body or html element, i.e. in case of the html node - it will return itself 10475 // 10476 // but those exceptions were never presented as a real life use-cases 10477 // and might be considered as more preferable results. 10478 // 10479 // This logic, however, is not guaranteed and can change at any point in the future 10480 offsetParent: function() { 10481 return this.map( function() { 10482 var offsetParent = this.offsetParent; 10483 10484 while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) { 10485 offsetParent = offsetParent.offsetParent; 10486 } 10487 10488 return offsetParent || documentElement; 10489 } ); 10490 } 10491} ); 10492 10493// Create scrollLeft and scrollTop methods 10494jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { 10495 var top = "pageYOffset" === prop; 10496 10497 jQuery.fn[ method ] = function( val ) { 10498 return access( this, function( elem, method, val ) { 10499 10500 // Coalesce documents and windows 10501 var win; 10502 if ( isWindow( elem ) ) { 10503 win = elem; 10504 } else if ( elem.nodeType === 9 ) { 10505 win = elem.defaultView; 10506 } 10507 10508 if ( val === undefined ) { 10509 return win ? win[ prop ] : elem[ method ]; 10510 } 10511 10512 if ( win ) { 10513 win.scrollTo( 10514 !top ? val : win.pageXOffset, 10515 top ? val : win.pageYOffset 10516 ); 10517 10518 } else { 10519 elem[ method ] = val; 10520 } 10521 }, method, val, arguments.length ); 10522 }; 10523} ); 10524 10525// Support: Safari <=7 - 9.1, Chrome <=37 - 49 10526// Add the top/left cssHooks using jQuery.fn.position 10527// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 10528// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347 10529// getComputedStyle returns percent when specified for top/left/bottom/right; 10530// rather than make the css module depend on the offset module, just check for it here 10531jQuery.each( [ "top", "left" ], function( _i, prop ) { 10532 jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, 10533 function( elem, computed ) { 10534 if ( computed ) { 10535 computed = curCSS( elem, prop ); 10536 10537 // If curCSS returns percentage, fallback to offset 10538 return rnumnonpx.test( computed ) ? 10539 jQuery( elem ).position()[ prop ] + "px" : 10540 computed; 10541 } 10542 } 10543 ); 10544} ); 10545 10546 10547// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods 10548jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { 10549 jQuery.each( { 10550 padding: "inner" + name, 10551 content: type, 10552 "": "outer" + name 10553 }, function( defaultExtra, funcName ) { 10554 10555 // Margin is only for outerHeight, outerWidth 10556 jQuery.fn[ funcName ] = function( margin, value ) { 10557 var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), 10558 extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); 10559 10560 return access( this, function( elem, type, value ) { 10561 var doc; 10562 10563 if ( isWindow( elem ) ) { 10564 10565 // $( window ).outerWidth/Height return w/h including scrollbars (gh-1729) 10566 return funcName.indexOf( "outer" ) === 0 ? 10567 elem[ "inner" + name ] : 10568 elem.document.documentElement[ "client" + name ]; 10569 } 10570 10571 // Get document width or height 10572 if ( elem.nodeType === 9 ) { 10573 doc = elem.documentElement; 10574 10575 // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], 10576 // whichever is greatest 10577 return Math.max( 10578 elem.body[ "scroll" + name ], doc[ "scroll" + name ], 10579 elem.body[ "offset" + name ], doc[ "offset" + name ], 10580 doc[ "client" + name ] 10581 ); 10582 } 10583 10584 return value === undefined ? 10585 10586 // Get width or height on the element, requesting but not forcing parseFloat 10587 jQuery.css( elem, type, extra ) : 10588 10589 // Set width or height on the element 10590 jQuery.style( elem, type, value, extra ); 10591 }, type, chainable ? margin : undefined, chainable ); 10592 }; 10593 } ); 10594} ); 10595 10596 10597jQuery.each( [ 10598 "ajaxStart", 10599 "ajaxStop", 10600 "ajaxComplete", 10601 "ajaxError", 10602 "ajaxSuccess", 10603 "ajaxSend" 10604], function( _i, type ) { 10605 jQuery.fn[ type ] = function( fn ) { 10606 return this.on( type, fn ); 10607 }; 10608} ); 10609 10610 10611 10612 10613jQuery.fn.extend( { 10614 10615 bind: function( types, data, fn ) { 10616 return this.on( types, null, data, fn ); 10617 }, 10618 unbind: function( types, fn ) { 10619 return this.off( types, null, fn ); 10620 }, 10621 10622 delegate: function( selector, types, data, fn ) { 10623 return this.on( types, selector, data, fn ); 10624 }, 10625 undelegate: function( selector, types, fn ) { 10626 10627 // ( namespace ) or ( selector, types [, fn] ) 10628 return arguments.length === 1 ? 10629 this.off( selector, "**" ) : 10630 this.off( types, selector || "**", fn ); 10631 }, 10632 10633 hover: function( fnOver, fnOut ) { 10634 return this 10635 .on( "mouseenter", fnOver ) 10636 .on( "mouseleave", fnOut || fnOver ); 10637 } 10638} ); 10639 10640jQuery.each( 10641 ( "blur focus focusin focusout resize scroll click dblclick " + 10642 "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 10643 "change select submit keydown keypress keyup contextmenu" ).split( " " ), 10644 function( _i, name ) { 10645 10646 // Handle event binding 10647 jQuery.fn[ name ] = function( data, fn ) { 10648 return arguments.length > 0 ? 10649 this.on( name, null, data, fn ) : 10650 this.trigger( name ); 10651 }; 10652 } 10653); 10654 10655 10656 10657 10658// Support: Android <=4.0 only 10659// Make sure we trim BOM and NBSP 10660// Require that the "whitespace run" starts from a non-whitespace 10661// to avoid O(N^2) behavior when the engine would try matching "\s+$" at each space position. 10662var rtrim = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 10663 10664// Bind a function to a context, optionally partially applying any 10665// arguments. 10666// jQuery.proxy is deprecated to promote standards (specifically Function#bind) 10667// However, it is not slated for removal any time soon 10668jQuery.proxy = function( fn, context ) { 10669 var tmp, args, proxy; 10670 10671 if ( typeof context === "string" ) { 10672 tmp = fn[ context ]; 10673 context = fn; 10674 fn = tmp; 10675 } 10676 10677 // Quick check to determine if target is callable, in the spec 10678 // this throws a TypeError, but we will just return undefined. 10679 if ( !isFunction( fn ) ) { 10680 return undefined; 10681 } 10682 10683 // Simulated bind 10684 args = slice.call( arguments, 2 ); 10685 proxy = function() { 10686 return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); 10687 }; 10688 10689 // Set the guid of unique handler to the same of original handler, so it can be removed 10690 proxy.guid = fn.guid = fn.guid || jQuery.guid++; 10691 10692 return proxy; 10693}; 10694 10695jQuery.holdReady = function( hold ) { 10696 if ( hold ) { 10697 jQuery.readyWait++; 10698 } else { 10699 jQuery.ready( true ); 10700 } 10701}; 10702jQuery.isArray = Array.isArray; 10703jQuery.parseJSON = JSON.parse; 10704jQuery.nodeName = nodeName; 10705jQuery.isFunction = isFunction; 10706jQuery.isWindow = isWindow; 10707jQuery.camelCase = camelCase; 10708jQuery.type = toType; 10709 10710jQuery.now = Date.now; 10711 10712jQuery.isNumeric = function( obj ) { 10713 10714 // As of jQuery 3.0, isNumeric is limited to 10715 // strings and numbers (primitives or objects) 10716 // that can be coerced to finite numbers (gh-2662) 10717 var type = jQuery.type( obj ); 10718 return ( type === "number" || type === "string" ) && 10719 10720 // parseFloat NaNs numeric-cast false positives ("") 10721 // ...but misinterprets leading-number strings, particularly hex literals ("0x...") 10722 // subtraction forces infinities to NaN 10723 !isNaN( obj - parseFloat( obj ) ); 10724}; 10725 10726jQuery.trim = function( text ) { 10727 return text == null ? 10728 "" : 10729 ( text + "" ).replace( rtrim, "$1" ); 10730}; 10731 10732 10733 10734// Register as a named AMD module, since jQuery can be concatenated with other 10735// files that may use define, but not via a proper concatenation script that 10736// understands anonymous AMD modules. A named AMD is safest and most robust 10737// way to register. Lowercase jquery is used because AMD module names are 10738// derived from file names, and jQuery is normally delivered in a lowercase 10739// file name. Do this after creating the global so that if an AMD module wants 10740// to call noConflict to hide this version of jQuery, it will work. 10741 10742// Note that for maximum portability, libraries that are not jQuery should 10743// declare themselves as anonymous modules, and avoid setting a global if an 10744// AMD loader is present. jQuery is a special case. For more information, see 10745// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 10746
10747/** 10748 * BEGIN MODIFIED BY ATLASSIAN 10749 * We want jquery to define itself so that the platform web-resource works 10750 */ 10751if ( typeof define === "function" ) { 10752/* END MODIFIED BY ATLASSIAN */ 10753 define( "jquery", [], function() { 10754 return jQuery; 10755 } ); 10756} 10757 10758 10759 10760 10761var 10762 10763 // Map over jQuery in case of overwrite 10764 _jQuery = window.jQuery, 10765 10766 // Map over the $ in case of overwrite 10767 _$ = window.$; 10768 10769jQuery.noConflict = function( deep ) { 10770 if ( window.$ === jQuery ) { 10771 window.$ = _$; 10772 } 10773 10774 if ( deep && window.jQuery === jQuery ) { 10775 window.jQuery = _jQuery; 10776 } 10777 10778 return jQuery; 10779}; 10780 10781// Expose jQuery and $ identifiers, even in AMD 10782// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557) 10783// and CommonJS for browser emulators (trac-13566) 10784if ( typeof noGlobal === "undefined" ) { 10785 window.jQuery = window.$ = jQuery; 10786} 10787 10788 10789 10790 10791return jQuery; 10792} ); 10793 10794}catch(e){WRMCB(e)}; 10795; 10796try { 10797/* module-key = 'com.atlassian.plugins.jquery:jquery-browser', location = '/plugins/jquery.browser.js' */ 10798/*! 10799 * jQuery Browser Plugin 0.1.0 10800 * https://github.com/gabceb/jquery-browser-plugin 10801 * 10802 * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors 10803 * http://jquery.org/license 10804 * 10805 * Modifications Copyright 2015 Gabriel Cebrian 10806 * https://github.com/gabceb 10807 * 10808 * Released under the MIT license 10809 * 10810 * Date: 05-07-2015 10811 */ 10812/*! THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. Modified lines are marked below, search "ATLASSIAN" */ 10813/*global window: false */ 10814 10815(function (factory) { 10816 //! FOLLOWING REMOVED BY ATLASSIAN: definition of AMD module. It will always register to the global variable. 10817 factory(window.jQuery); 10818}(function(jQuery) { 10819 "use strict"; 10820 10821 function uaMatch( ua ) { 10822 // If an UA is not provided, default to the current browser UA. 10823 if ( ua === undefined ) { 10824 ua = window.navigator.userAgent; 10825 } 10826 ua = ua.toLowerCase(); 10827 10828 var match = /(edge)\/([\w.]+)/.exec( ua ) || 10829 /(opr)[\/]([\w.]+)/.exec( ua ) || 10830 /(chrome)[ \/]([\w.]+)/.exec( ua ) || 10831 /(iemobile)[\/]([\w.]+)/.exec( ua ) || 10832 /(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec( ua ) || 10833 /(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec( ua ) || 10834 /(webkit)[ \/]([\w.]+)/.exec( ua ) || 10835 /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || 10836 /(msie) ([\w.]+)/.exec( ua ) || 10837 ua.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec( ua ) || 10838 ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || 10839 []; 10840 10841 var platform_match = /(ipad)/.exec( ua ) || 10842 /(ipod)/.exec( ua ) || 10843 /(windows phone)/.exec( ua ) || 10844 /(iphone)/.exec( ua ) || 10845 /(kindle)/.exec( ua ) || 10846 /(silk)/.exec( ua ) || 10847 /(android)/.exec( ua ) || 10848 /(win)/.exec( ua ) || 10849 /(mac)/.exec( ua ) || 10850 /(linux)/.exec( ua ) || 10851 /(cros)/.exec( ua ) || 10852 /(playbook)/.exec( ua ) || 10853 /(bb)/.exec( ua ) || 10854 /(blackberry)/.exec( ua ) || 10855 []; 10856 10857 var browser = {}, 10858 matched = { 10859 browser: match[ 5 ] || match[ 3 ] || match[ 1 ] || "", 10860 version: match[ 2 ] || match[ 4 ] || "0", 10861 versionNumber: match[ 4 ] || match[ 2 ] || "0", 10862 platform: platform_match[ 0 ] || "" 10863 }; 10864 10865 if ( matched.browser ) { 10866 browser[ matched.browser ] = true; 10867 browser.version = matched.version; 10868 browser.versionNumber = parseInt(matched.versionNumber, 10); 10869 } 10870 10871 if ( matched.platform ) { 10872 browser[ matched.platform ] = true; 10873 } 10874 10875 // These are all considered mobile platforms, meaning they run a mobile browser 10876 if ( browser.android || browser.bb || browser.blackberry || browser.ipad || browser.iphone || 10877 browser.ipod || browser.kindle || browser.playbook || browser.silk || browser[ "windows phone" ]) { 10878 browser.mobile = true; 10879 } 10880 10881 // These are all considered desktop platforms, meaning they run a desktop browser 10882 if ( browser.cros || browser.mac || browser.linux || browser.win ) { 10883 browser.desktop = true; 10884 } 10885 10886 // Chrome, Opera 15+ and Safari are webkit based browsers 10887 if ( browser.chrome || browser.opr || browser.safari ) { 10888 browser.webkit = true; 10889 } 10890 10891 // IE11 has a new token so we will assign it msie to avoid breaking changes 10892 if ( browser.rv || browser.iemobile) { 10893 var ie = "msie"; 10894 10895 matched.browser = ie; 10896 browser[ie] = true; 10897 } 10898 10899 // Edge is officially known as Microsoft Edge, so rewrite the key to match 10900 if ( browser.edge ) { 10901 delete browser.edge; 10902 var msedge = "msedge"; 10903 10904 matched.browser = msedge; 10905 browser[msedge] = true; 10906 } 10907 10908 // Blackberry browsers are marked as Safari on BlackBerry 10909 if ( browser.safari && browser.blackberry ) { 10910 var blackberry = "blackberry"; 10911 10912 matched.browser = blackberry; 10913 browser[blackberry] = true; 10914 } 10915 10916 // Playbook browsers are marked as Safari on Playbook 10917 if ( browser.safari && browser.playbook ) {
10918 var playbook = "playbook"; 10919 10920 matched.browser = playbook; 10921 browser[playbook] = true; 10922 } 10923 10924 // BB10 is a newer OS version of BlackBerry 10925 if ( browser.bb ) { 10926 var bb = "blackberry"; 10927 10928 matched.browser = bb; 10929 browser[bb] = true; 10930 } 10931 10932 // Opera 15+ are identified as opr 10933 if ( browser.opr ) { 10934 var opera = "opera"; 10935 10936 matched.browser = opera; 10937 browser[opera] = true; 10938 } 10939 10940 // Stock Android browsers are marked as Safari on Android. 10941 if ( browser.safari && browser.android ) { 10942 var android = "android"; 10943 10944 matched.browser = android; 10945 browser[android] = true; 10946 } 10947 10948 // Kindle browsers are marked as Safari on Kindle 10949 if ( browser.safari && browser.kindle ) { 10950 var kindle = "kindle"; 10951 10952 matched.browser = kindle; 10953 browser[kindle] = true; 10954 } 10955 10956 // Kindle Silk browsers are marked as Safari on Kindle 10957 if ( browser.safari && browser.silk ) { 10958 var silk = "silk"; 10959 10960 matched.browser = silk; 10961 browser[silk] = true; 10962 } 10963 10964 // Assign the name and platform variable 10965 browser.name = matched.browser; 10966 browser.platform = matched.platform; 10967 return browser; 10968 } 10969 10970 // Run the matching process, also assign the function to the returned object 10971 // for manual, jQuery-free use if desired 10972 //! FOLLOWING MODIFIED BY ATLASSIAN: definition of window.jQBrowser; it is only exposed on the jQuery object. 10973 var jQBrowser = uaMatch( window.navigator.userAgent ); 10974 jQBrowser.uaMatch = uaMatch; 10975 10976 // Only assign to jQuery.browser if jQuery is loaded 10977 if ( jQuery ) { 10978 jQuery.browser = window.jQBrowser; 10979 } 10980 10981 return jQBrowser; 10982 //! END MODIFIED BY ATLASSIAN 10983})); 10984 10985}catch(e){WRMCB(e)}; 10986; 10987try { 10988/* module-key = 'com.atlassian.plugins.jquery:jquery-migrate-lib', location = '/jquery-migrate.js' */ 10989/*! 10990 * jQuery Migrate - v3.6.0 - 2025-12-11T02:48Z 10991 * Copyright OpenJS Foundation and other contributors 10992 * Released under the MIT license 10993 * https://jquery.com/license/ 10994 */ 10995( function( factory ) { 10996 "use strict"; 10997 10998 if ( typeof define === "function" && define.amd ) { 10999 11000 // AMD. Register as an anonymous module. 11001 define( [ "jquery" ], function( jQuery ) { 11002 return factory( jQuery, window ); 11003 } ); 11004 } else if ( typeof module === "object" && module.exports ) { 11005 11006 // Node/CommonJS 11007 // eslint-disable-next-line no-undef 11008 module.exports = factory( require( "jquery" ), window ); 11009 } else { 11010 11011 // Browser globals 11012 factory( jQuery, window ); 11013 } 11014} )( function( jQuery, window ) { 11015"use strict"; 11016 11017jQuery.migrateVersion = "3.6.0"; 11018 11019// Returns 0 if v1 == v2, -1 if v1 < v2, 1 if v1 > v2 11020function compareVersions( v1, v2 ) { 11021 var i, 11022 rVersionParts = /^(\d+)\.(\d+)\.(\d+)/, 11023 v1p = rVersionParts.exec( v1 ) || [ ], 11024 v2p = rVersionParts.exec( v2 ) || [ ]; 11025 11026 for ( i = 1; i <= 3; i++ ) { 11027 if ( +v1p[ i ] > +v2p[ i ] ) { 11028 return 1; 11029 } 11030 if ( +v1p[ i ] < +v2p[ i ] ) { 11031 return -1; 11032 } 11033 } 11034 return 0; 11035} 11036 11037function jQueryVersionSince( version ) { 11038 return compareVersions( jQuery.fn.jquery, version ) >= 0; 11039} 11040 11041// A map from disabled patch codes to `true`. This should really 11042// be a `Set` but those are unsupported in IE. 11043var disabledPatches = Object.create( null ); 11044 11045// Don't apply patches for specified codes. Helpful for code bases 11046// where some Migrate warnings have been addressed, and it's desirable 11047// to avoid needless patches or false positives. 11048jQuery.migrateDisablePatches = function() { 11049 var i; 11050 for ( i = 0; i < arguments.length; i++ ) { 11051 disabledPatches[ arguments[ i ] ] = true; 11052 } 11053}; 11054 11055// Allow enabling patches disabled via `jQuery.migrateDisablePatches`. 11056// Helpful if you want to disable a patch only for some code that won't 11057// be updated soon to be able to focus on other warnings - and enable it 11058// immediately after such a call: 11059// ```js 11060// jQuery.migrateDisablePatches( "workaroundA" ); 11061// elem.pluginViolatingWarningA( "pluginMethod" ); 11062// jQuery.migrateEnablePatches( "workaroundA" ); 11063// ``` 11064jQuery.migrateEnablePatches = function() { 11065 var i; 11066 for ( i = 0; i < arguments.length; i++ ) { 11067 delete disabledPatches[ arguments[ i ] ]; 11068 } 11069}; 11070 11071jQuery.migrateIsPatchEnabled = function( patchCode ) { 11072 return !disabledPatches[ patchCode ]; 11073}; 11074 11075( function() { 11076 11077// Support: IE9 only 11078// IE9 only creates console object when dev tools are first opened 11079// IE9 console is a host object, callable but doesn't have .apply() 11080if ( !window.console || !window.console.log ) { 11081 return; 11082} 11083 11084// Need jQuery 3.x and no older Migrate loaded 11085if ( !jQuery || !jQueryVersionSince( "3.0.0" ) || 11086 jQueryVersionSince( "4.0.0" ) ) { 11087 window.console.log( "JQMIGRATE: jQuery 3.x REQUIRED" ); 11088} 11089if ( jQuery.migrateWarnings ) { 11090 window.console.log( "JQMIGRATE: Migrate plugin loaded multiple times" ); 11091} 11092 11093// Show a message on the console so devs know we're active 11094window.console.log( "JQMIGRATE: Migrate is installed" + 11095 ( jQuery.migrateMute ? "" : " with logging active" ) + 11096 ", version " + jQuery.migrateVersion ); 11097 11098} )(); 11099 11100var warnedAbout = {}; 11101 11102/** 11103 * BEGIN MODIFIED BY ATLASSIAN 11104 * Set to true to prevent console output; migrateWarnings still maintained 11105 */ 11106jQuery.migrateMute = true; 11107/* END MODIFIED BY ATLASSIAN */ 11108 11109// By default, each warning is only reported once. 11110jQuery.migrateDeduplicateWarnings = true; 11111 11112// List of warnings already given; public read only 11113jQuery.migrateWarnings = []; 11114 11115// Set to `false` to disable traces that appear with warnings 11116if ( jQuery.migrateTrace === undefined ) { 11117 jQuery.migrateTrace = true; 11118} 11119 11120// Forget any warnings we've already given; public 11121jQuery.migrateReset = function() { 11122 warnedAbout = {}; 11123 jQuery.migrateWarnings.length = 0; 11124}; 11125 11126function migrateWarn( code, msg ) { 11127 var console = window.console; 11128 if ( jQuery.migrateIsPatchEnabled( code ) && 11129 ( !jQuery.migrateDeduplicateWarnings || !warnedAbout[ msg ] ) ) { 11130 warnedAbout[ msg ] = true; 11131 jQuery.migrateWarnings.push( msg + " [" + code + "]" ); 11132 if ( console && console.warn && !jQuery.migrateMute ) { 11133 console.warn( "JQMIGRATE: " + msg ); 11134 if ( jQuery.migrateTrace && console.trace ) { 11135 console.trace(); 11136 } 11137 } 11138 } 11139} 11140 11141function migrateWarnProp( obj, prop, value, code, msg ) { 11142 Object.defineProperty( obj, prop, { 11143 configurable: true, 11144 enumerable: true, 11145 get: function() { 11146 migrateWarn( code, msg ); 11147 return value; 11148 }, 11149 set: function( newValue ) { 11150 migrateWarn( code, msg ); 11151 value = newValue; 11152 } 11153 } ); 11154} 11155 11156function migrateWarnFuncInternal( obj, prop, newFunc, code, msg ) { 11157 var finalFunc, 11158 origFunc = obj[ prop ]; 11159 11160 obj[ prop ] = function() { 11161 11162 // If `msg` not provided, do not warn; more sophisticated warnings 11163 // logic is most likely embedded in `newFunc`, in that case here 11164 // we just care about the logic choosing the proper implementation 11165 // based on whether the patch is disabled or not. 11166 if ( msg ) { 11167 migrateWarn( code, msg ); 11168 } 11169 11170 // Since patches can be disabled & enabled dynamically, we 11171 // need to decide which implementation to run on each invocation. 11172 finalFunc = jQuery.migrateIsPatchEnabled( code ) ? 11173 newFunc : 11174
11175 // The function may not have existed originally so we need a fallback. 11176 ( origFunc || jQuery.noop ); 11177 11178 return finalFunc.apply( this, arguments ); 11179 }; 11180} 11181 11182function migratePatchAndWarnFunc( obj, prop, newFunc, code, msg ) { 11183 if ( !msg ) { 11184 throw new Error( "No warning message provided" ); 11185 } 11186 return migrateWarnFuncInternal( obj, prop, newFunc, code, msg ); 11187} 11188 11189function migratePatchFunc( obj, prop, newFunc, code ) { 11190 return migrateWarnFuncInternal( obj, prop, newFunc, code ); 11191} 11192 11193if ( window.document.compatMode === "BackCompat" ) { 11194 11195 // jQuery has never supported or tested Quirks Mode 11196 migrateWarn( "quirks", "jQuery is not compatible with Quirks Mode" ); 11197} 11198 11199var arr = [], 11200 push = arr.push, 11201 sort = arr.sort, 11202 splice = arr.splice, 11203 class2type = {}, 11204 11205 // Require that the "whitespace run" starts from a non-whitespace 11206 // to avoid O(N^2) behavior when the engine would try matching "\s+$" at each space position. 11207 rtrim = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 11208 11209function isFunction( obj ) { 11210 11211 // Support: Chrome <=57, Firefox <=52 11212 // In some browsers, typeof returns "function" for HTML <object> elements 11213 // (i.e., `typeof document.createElement( "object" ) === "function"`). 11214 // We don't want to classify *any* DOM node as a function. 11215 // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 11216 // Plus for old WebKit, typeof returns "function" for HTML collections 11217 // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) 11218 return typeof obj === "function" && typeof obj.nodeType !== "number" && 11219 typeof obj.item !== "function"; 11220} 11221 11222// The number of elements contained in the matched element set 11223migratePatchAndWarnFunc( jQuery.fn, "size", function() { 11224 return this.length; 11225}, "size", 11226"jQuery.fn.size() is deprecated and removed; use the .length property" ); 11227 11228migratePatchAndWarnFunc( jQuery, "parseJSON", function() { 11229 return JSON.parse.apply( null, arguments ); 11230}, "parseJSON", 11231"jQuery.parseJSON is deprecated; use JSON.parse" ); 11232 11233migratePatchAndWarnFunc( jQuery, "holdReady", jQuery.holdReady, 11234 "holdReady", "jQuery.holdReady is deprecated" ); 11235 11236migratePatchAndWarnFunc( jQuery, "unique", jQuery.uniqueSort, 11237 "unique", "jQuery.unique is deprecated; use jQuery.uniqueSort" ); 11238 11239// Prior to jQuery 3.1.1 there were internal refs so we don't warn there 11240if ( jQueryVersionSince( "3.1.1" ) ) { 11241 migratePatchAndWarnFunc( jQuery, "trim", function( text ) { 11242 return text == null ? 11243 "" : 11244 ( text + "" ).replace( rtrim, "$1" ); 11245 }, "trim", 11246 "jQuery.trim is deprecated; use String.prototype.trim" ); 11247} 11248 11249// Prior to jQuery 3.2 there were internal refs so we don't warn there 11250if ( jQueryVersionSince( "3.2.0" ) ) { 11251 migratePatchAndWarnFunc( jQuery, "nodeName", function( elem, name ) { 11252 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); 11253 }, "nodeName", 11254 "jQuery.nodeName is deprecated" ); 11255 11256 migratePatchAndWarnFunc( jQuery, "isArray", Array.isArray, "isArray", 11257 "jQuery.isArray is deprecated; use Array.isArray" 11258 ); 11259} 11260 11261if ( jQueryVersionSince( "3.3.0" ) ) { 11262 11263 migratePatchAndWarnFunc( jQuery, "isNumeric", 11264 function( obj ) { 11265 11266 // As of jQuery 3.0, isNumeric is limited to 11267 // strings and numbers (primitives or objects) 11268 // that can be coerced to finite numbers (gh-2662) 11269 var type = typeof obj; 11270 return ( type === "number" || type === "string" ) && 11271 11272 // parseFloat NaNs numeric-cast false positives ("") 11273 // ...but misinterprets leading-number strings, e.g. hex literals ("0x...") 11274 // subtraction forces infinities to NaN 11275 !isNaN( obj - parseFloat( obj ) ); 11276 }, "isNumeric", 11277 "jQuery.isNumeric() is deprecated" 11278 ); 11279 11280 // Populate the class2type map 11281 jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol". 11282 split( " " ), 11283 function( _, name ) { 11284 class2type[ "[object " + name + "]" ] = name.toLowerCase(); 11285 } ); 11286 11287 migratePatchAndWarnFunc( jQuery, "type", function( obj ) { 11288 if ( obj == null ) { 11289 return obj + ""; 11290 } 11291 11292 // Support: Android <=2.3 only (functionish RegExp) 11293 return typeof obj === "object" || typeof obj === "function" ? 11294 class2type[ Object.prototype.toString.call( obj ) ] || "object" : 11295 typeof obj; 11296 }, "type", 11297 "jQuery.type is deprecated" ); 11298 11299 migratePatchAndWarnFunc( jQuery, "isFunction", function( obj ) { 11300 return isFunction( obj ); 11301 }, "isFunction", 11302 "jQuery.isFunction() is deprecated" ); 11303 11304 migratePatchAndWarnFunc( jQuery, "isWindow", 11305 function( obj ) { 11306 return obj != null && obj === obj.window; 11307 }, "isWindow", 11308 "jQuery.isWindow() is deprecated" 11309 ); 11310 11311 migratePatchAndWarnFunc( jQuery, "now", Date.now, "now", 11312 "jQuery.now() is deprecated; use Date.now()" 11313 ); 11314 11315 migratePatchAndWarnFunc( jQuery, "camelCase", jQuery.camelCase, "camelCase", 11316 "jQuery.camelCase() is deprecated" 11317 ); 11318 11319 // Bind a function to a context, optionally partially applying any 11320 // arguments. 11321 // jQuery.proxy is deprecated to promote standards (specifically Function#bind) 11322 // However, it is not slated for removal any time soon 11323 migratePatchAndWarnFunc( jQuery, "proxy", jQuery.proxy, 11324 "proxy", "DEPRECATED: jQuery.proxy()" ); 11325 11326} 11327 11328if ( jQueryVersionSince( "3.7.0" ) ) { 11329 migratePatchAndWarnFunc( jQuery.fn, "push", push, "push", 11330 "jQuery.fn.push() is deprecated; use .add() or convert to an array" ); 11331 migratePatchAndWarnFunc( jQuery.fn, "sort", sort, "sort", 11332 "jQuery.fn.sort() is deprecated; convert to an array before sorting" ); 11333 migratePatchAndWarnFunc( jQuery.fn, "splice", splice, "splice", 11334 "jQuery.fn.splice() is deprecated; use .slice() or .not() with .eq()" ); 11335} 11336 11337var findProp, 11338 oldInit = jQuery.fn.init, 11339 oldFind = jQuery.find, 11340 11341 rattrHashTest = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, 11342 rattrHashGlob = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g; 11343 11344migratePatchFunc( jQuery.fn, "init", function( arg1 ) { 11345 var args = Array.prototype.slice.call( arguments ); 11346 11347 if ( jQuery.migrateIsPatchEnabled( "selector-empty-id" ) && 11348 typeof arg1 === "string" && arg1 === "#" ) { 11349 11350 // JQuery( "#" ) is a bogus ID selector, but it returned an empty set 11351 // before jQuery 3.0 11352 migrateWarn( "selector-empty-id", "jQuery( '#' ) is not a valid selector" ); 11353 args[ 0 ] = []; 11354 } 11355 11356 return oldInit.apply( this, args ); 11357}, "selector-empty-id" ); 11358 11359// This is already done in Core but the above patch will lose this assignment 11360// so we need to redo it. It doesn't matter whether the patch is enabled or not 11361// as the method is always going to be a Migrate-created wrapper. 11362jQuery.fn.init.prototype = jQuery.fn; 11363 11364migratePatchFunc( jQuery, "find", function( selector ) { 11365 var args = Array.prototype.slice.call( arguments ); 11366 11367 // Support: PhantomJS 1.x 11368 // String#match fails to match when used with a //g RegExp, only on some strings 11369 if ( typeof selector === "string" && rattrHashTest.test( selector ) ) { 11370 11371 // The nonstandard and undocumented unquoted-hash was removed in jQuery 1.12.0 11372 // First see if qS thinks it's a valid selector, if so avoid a false positive 11373 try { 11374 window.document.querySelector( selector ); 11375 } catch ( err1 ) { 11376 11377 // Didn't *look* valid to qSA, warn and try quoting what we think is the value 11378 selector = selector.replace( rattrHashGlob, function( _, attr, op, value ) { 11379 return "[" + attr + op + "\"" + value + "\"]"; 11380 } ); 11381
11382 // If the regexp *may* have created an invalid selector, don't update it 11383 // Note that there may be false alarms if selector uses jQuery extensions 11384 try { 11385 window.document.querySelector( selector ); 11386 migrateWarn( "selector-hash", 11387 "Attribute selector with '#' must be quoted: " + args[ 0 ] ); 11388 args[ 0 ] = selector; 11389 } catch ( err2 ) { 11390 migrateWarn( "selector-hash", 11391 "Attribute selector with '#' was not fixed: " + args[ 0 ] ); 11392 } 11393 } 11394 } 11395 11396 return oldFind.apply( this, args ); 11397}, "selector-hash" ); 11398 11399// Copy properties attached to original jQuery.find method (e.g. .attr, .isXML) 11400for ( findProp in oldFind ) { 11401 if ( Object.prototype.hasOwnProperty.call( oldFind, findProp ) ) { 11402 jQuery.find[ findProp ] = oldFind[ findProp ]; 11403 } 11404} 11405 11406// Now jQuery.expr.pseudos is the standard incantation 11407migrateWarnProp( jQuery.expr, "filters", jQuery.expr.pseudos, "expr-pre-pseudos", 11408 "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" ); 11409migrateWarnProp( jQuery.expr, ":", jQuery.expr.pseudos, "expr-pre-pseudos", 11410 "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos" ); 11411 11412function markFunction( fn ) { 11413 fn[ jQuery.expando ] = true; 11414 return fn; 11415} 11416 11417// jQuery older than 3.7.0 used Sizzle which has its own private expando 11418// variable that we cannot access. This makes thi patch impossible in those 11419// jQuery versions. 11420if ( jQueryVersionSince( "3.7.0" ) ) { 11421 migratePatchFunc( jQuery.expr.filter, "PSEUDO", function( pseudo, argument ) { 11422 11423 // pseudo-class names are case-insensitive 11424 // https://www.w3.org/TR/selectors/#pseudo-classes 11425 // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters 11426 // Remember that setFilters inherits from pseudos 11427 var args, 11428 fn = jQuery.expr.pseudos[ pseudo ] || 11429 jQuery.expr.setFilters[ pseudo.toLowerCase() ] || 11430 jQuery.error( 11431 "Syntax error, unrecognized expression: unsupported pseudo: " + 11432 pseudo ); 11433 11434 // The user may use createPseudo to indicate that 11435 // arguments are needed to create the filter function 11436 // just as jQuery does 11437 if ( fn[ jQuery.expando ] ) { 11438 return fn( argument ); 11439 } 11440 11441 // But maintain support for old signatures 11442 if ( fn.length > 1 ) { 11443 migrateWarn( "legacy-custom-pseudos", 11444 "Pseudos with multiple arguments are deprecated; " + 11445 "use jQuery.expr.createPseudo()" ); 11446 args = [ pseudo, pseudo, "", argument ]; 11447 return jQuery.expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? 11448 markFunction( function( seed, matches ) { 11449 var idx, 11450 matched = fn( seed, argument ), 11451 i = matched.length; 11452 while ( i-- ) { 11453 idx = Array.prototype.indexOf.call( seed, matched[ i ] ); 11454 seed[ idx ] = !( matches[ idx ] = matched[ i ] ); 11455 } 11456 } ) : 11457 function( elem ) { 11458 return fn( elem, 0, args ); 11459 }; 11460 } 11461 11462 return fn; 11463 }, "legacy-custom-pseudos" ); 11464 11465 if ( typeof Proxy !== "undefined" ) { 11466 jQuery.each( [ "pseudos", "setFilters" ], function( _, api ) { 11467 jQuery.expr[ api ] = new Proxy( jQuery.expr[ api ], { 11468 set: function( _target, _prop, fn ) { 11469 if ( typeof fn === "function" && !fn[ jQuery.expando ] && fn.length > 1 ) { 11470 migrateWarn( "legacy-custom-pseudos", 11471 "Pseudos with multiple arguments are deprecated; " + 11472 "use jQuery.expr.createPseudo()" ); 11473 } 11474 return Reflect.set.apply( this, arguments ); 11475 } 11476 } ); 11477 } ); 11478 } 11479} 11480 11481// Support jQuery slim which excludes the ajax module 11482if ( jQuery.ajax ) { 11483 11484var oldAjax = jQuery.ajax, 11485 oldCallbacks = [], 11486 guid = "migrate-" + Date.now(), 11487 origJsonpCallback = jQuery.ajaxSettings.jsonpCallback, 11488 rjsonp = /(=)\?(?=&|$)|\?\?/; 11489 11490migratePatchFunc( jQuery, "ajax", function() { 11491 var jQXHR = oldAjax.apply( this, arguments ); 11492 11493 // Be sure we got a jQXHR (e.g., not sync) 11494 if ( jQXHR.promise ) { 11495 migratePatchAndWarnFunc( jQXHR, "success", jQXHR.done, "jqXHR-methods", 11496 "jQXHR.success is deprecated and removed" ); 11497 migratePatchAndWarnFunc( jQXHR, "error", jQXHR.fail, "jqXHR-methods", 11498 "jQXHR.error is deprecated and removed" ); 11499 migratePatchAndWarnFunc( jQXHR, "complete", jQXHR.always, "jqXHR-methods", 11500 "jQXHR.complete is deprecated and removed" ); 11501 } 11502 11503 return jQXHR; 11504}, "jqXHR-methods" ); 11505 11506jQuery.ajaxSetup( { 11507 jsonpCallback: function() { 11508 11509 // Source is virtually the same as in Core, but we need to duplicate 11510 // to maintain a proper `oldCallbacks` reference. 11511 if ( jQuery.migrateIsPatchEnabled( "jsonp-promotion" ) ) { 11512 var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( guid++ ) ); 11513 this[ callback ] = true; 11514 return callback; 11515 } else { 11516 return origJsonpCallback.apply( this, arguments ); 11517 } 11518 } 11519} ); 11520 11521// Register this prefilter before the jQuery one. Otherwise, a promoted 11522// request is transformed into one with the script dataType, and we can't 11523// catch it anymore. 11524// jQuery <4 already contains this prefilter; don't duplicate the whole logic, 11525// but only enough to know when to warn. 11526jQuery.ajaxPrefilter( "+json", function( s ) { 11527 11528 if ( !jQuery.migrateIsPatchEnabled( "jsonp-promotion" ) ) { 11529 return; 11530 } 11531 11532 // Warn if JSON-to-JSONP auto-promotion happens. 11533 if ( s.jsonp !== false && ( rjsonp.test( s.url ) || 11534 typeof s.data === "string" && 11535 ( s.contentType || "" ) 11536 .indexOf( "application/x-www-form-urlencoded" ) === 0 && 11537 rjsonp.test( s.data ) 11538 ) ) { 11539 migrateWarn( "jsonp-promotion", "JSON-to-JSONP auto-promotion is deprecated" ); 11540 } 11541} ); 11542 11543} 11544 11545var oldRemoveAttr = jQuery.fn.removeAttr, 11546 oldJQueryAttr = jQuery.attr, 11547 oldToggleClass = jQuery.fn.toggleClass, 11548 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|" + 11549 "disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 11550 rbooleans = new RegExp( "^(?:" + booleans + ")$", "i" ), 11551 rmatchNonSpace = /\S+/g, 11552 11553 // Some formerly boolean attributes gained new values with special meaning. 11554 // Skip the old boolean attr logic for those values. 11555 extraBoolAttrValues = { 11556 hidden: [ "until-found" ] 11557 }; 11558 11559// HTML boolean attributes have special behavior: 11560// we consider the lowercase name to be the only valid value, so 11561// getting (if the attribute is present) normalizes to that, as does 11562// setting to any non-`false` value (and setting to `false` removes the attribute). 11563// See https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes 11564jQuery.each( booleans.split( "|" ), function( _i, name ) {
11565 var origAttrHooks = jQuery.attrHooks[ name ] || {}; 11566 jQuery.attrHooks[ name ] = { 11567 get: origAttrHooks.get || function( elem ) { 11568 var attrValue; 11569 11570 if ( jQuery.migrateIsPatchEnabled( "boolean-attributes" ) ) { 11571 attrValue = elem.getAttribute( name ); 11572 11573 if ( attrValue !== name && attrValue != null && 11574 ( extraBoolAttrValues[ name ] || [] ) 11575 .indexOf( String( attrValue ).toLowerCase() ) === -1 11576 ) { 11577 migrateWarn( "boolean-attributes", 11578 "Boolean attribute '" + name + 11579 "' value is different from its lowercased name" ); 11580 } 11581 } 11582 11583 return null; 11584 }, 11585 11586 set: origAttrHooks.set || function( elem, value, name ) { 11587 if ( jQuery.migrateIsPatchEnabled( "boolean-attributes" ) ) { 11588 if ( value !== name && 11589 ( extraBoolAttrValues[ name ] || [] ) 11590 .indexOf( String( value ).toLowerCase() ) === -1 11591 ) { 11592 if ( value !== false ) { 11593 migrateWarn( "boolean-attributes", 11594 "Boolean attribute '" + name + 11595 "' is not set to its lowercased name" ); 11596 } 11597 11598 if ( value === false ) { 11599 11600 // Remove boolean attributes when set to false 11601 jQuery.removeAttr( elem, name ); 11602 } else { 11603 elem.setAttribute( name, name ); 11604 } 11605 return name; 11606 } 11607 } else { 11608 11609 // jQuery <4 uses a private `boolHook` for the boolean attribute 11610 // setter. It's only activated if `attrHook` is not set, but we set 11611 // it here in Migrate so jQuery would not use it. Since we cannot 11612 // access it, let's just repeat its contents here. 11613 if ( value === false ) { 11614 11615 // Remove boolean attributes when set to false 11616 jQuery.removeAttr( elem, name ); 11617 } else { 11618 elem.setAttribute( name, name ); 11619 } 11620 return name; 11621 } 11622 } 11623 }; 11624} ); 11625 11626migratePatchFunc( jQuery, "attr", function( elem, name, value ) { 11627 var nType = elem.nodeType; 11628 11629 // Fallback to the original method on text, comment and attribute nodes 11630 // and when attributes are not supported. 11631 if ( nType === 3 || nType === 8 || nType === 2 || 11632 typeof elem.getAttribute === "undefined" ) { 11633 return oldJQueryAttr.apply( this, arguments ); 11634 } 11635 11636 if ( value === false && name.toLowerCase().indexOf( "aria-" ) !== 0 && 11637 !rbooleans.test( name ) ) { 11638 migrateWarn( "attr-false", 11639 "Setting the non-ARIA non-boolean attribute '" + name + 11640 "' to false" ); 11641 11642 jQuery.attr( elem, name, "false" ); 11643 return; 11644 } 11645 11646 return oldJQueryAttr.apply( this, arguments ); 11647}, "attr-false" ); 11648 11649migratePatchFunc( jQuery.fn, "removeAttr", function( name ) { 11650 var self = this, 11651 patchNeeded = false; 11652 11653 jQuery.each( name.match( rmatchNonSpace ), function( _i, attr ) { 11654 if ( rbooleans.test( attr ) ) { 11655 11656 // Only warn if at least a single node had the property set to 11657 // something else than `false`. Otherwise, this Migrate patch 11658 // doesn't influence the behavior and there's no need to set or warn. 11659 self.each( function() { 11660 if ( jQuery( this ).prop( attr ) !== false ) { 11661 patchNeeded = true; 11662 return false; 11663 } 11664 } ); 11665 } 11666 11667 if ( patchNeeded ) { 11668 migrateWarn( "removeAttr-bool", 11669 "jQuery.fn.removeAttr no longer sets boolean properties: " + attr ); 11670 self.prop( attr, false ); 11671 } 11672 } ); 11673 11674 return oldRemoveAttr.apply( this, arguments ); 11675}, "removeAttr-bool" ); 11676 11677migratePatchFunc( jQuery.fn, "toggleClass", function( state ) { 11678 11679 // Only deprecating no-args or single boolean arg 11680 if ( state !== undefined && typeof state !== "boolean" ) { 11681 11682 return oldToggleClass.apply( this, arguments ); 11683 } 11684 11685 migrateWarn( "toggleClass-bool", "jQuery.fn.toggleClass( boolean ) is deprecated" ); 11686 11687 // Toggle entire class name of each element 11688 return this.each( function() { 11689 var className = this.getAttribute && this.getAttribute( "class" ) || ""; 11690 11691 if ( className ) { 11692 jQuery.data( this, "__className__", className ); 11693 } 11694 11695 // If the element has a class name or if we're passed `false`, 11696 // then remove the whole classname (if there was one, the above saved it). 11697 // Otherwise, bring back whatever was previously saved (if anything), 11698 // falling back to the empty string if nothing was stored. 11699 if ( this.setAttribute ) { 11700 this.setAttribute( "class", 11701 className || state === false ? 11702 "" : 11703 jQuery.data( this, "__className__" ) || "" 11704 ); 11705 } 11706 } ); 11707}, "toggleClass-bool" ); 11708 11709function camelCase( string ) { 11710 return string.replace( /-([a-z])/g, function( _, letter ) { 11711 return letter.toUpperCase(); 11712 } ); 11713} 11714 11715// Make `object` inherit from `Object.prototype` via an additional object 11716// in between; that intermediate object proxies properties 11717// to `Object.prototype`, warning about their usage first. 11718function patchProto( object, options ) { 11719 11720 // Support: IE 9 - 10 only, iOS 7 - 8 only 11721 // Older IE doesn't have a way to change an existing prototype. 11722 // Just return the original method there.
11723 // Older WebKit supports `__proto__` but not `Object.setPrototypeOf`. 11724 // To avoid complicating code, don't patch the API there either. 11725 if ( !Object.setPrototypeOf ) { 11726 return object; 11727 } 11728 11729 var i, 11730 warningId = options.warningId, 11731 apiName = options.apiName, 11732 11733 // `Object.prototype` keys are not enumerable so list the 11734 // official ones here. An alternative would be wrapping 11735 // objects with a Proxy but that creates additional issues 11736 // like breaking object identity on subsequent calls. 11737 objProtoKeys = [ 11738 "__proto__", 11739 "__defineGetter__", 11740 "__defineSetter__", 11741 "__lookupGetter__", 11742 "__lookupSetter__", 11743 "hasOwnProperty", 11744 "isPrototypeOf", 11745 "propertyIsEnumerable", 11746 "toLocaleString", 11747 "toString", 11748 "valueOf" 11749 ], 11750 11751 // Use a null prototype at the beginning so that we can define our 11752 // `__proto__` getter & setter. We'll reset the prototype afterward. 11753 intermediateObj = Object.create( null ); 11754 11755 for ( i = 0; i < objProtoKeys.length; i++ ) { 11756 ( function( key ) { 11757 Object.defineProperty( intermediateObj, key, { 11758 get: function() { 11759 migrateWarn( warningId, 11760 "Accessing properties from " + apiName + 11761 " inherited from Object.prototype is deprecated" ); 11762 return ( key + "__cache" ) in intermediateObj ? 11763 intermediateObj[ key + "__cache" ] : 11764 Object.prototype[ key ]; 11765 }, 11766 set: function( value ) { 11767 migrateWarn( warningId, 11768 "Setting properties from " + apiName + 11769 " inherited from Object.prototype is deprecated" ); 11770 intermediateObj[ key + "__cache" ] = value; 11771 } 11772 } ); 11773 } )( objProtoKeys[ i ] ); 11774 } 11775 11776 Object.setPrototypeOf( intermediateObj, Object.prototype ); 11777 Object.setPrototypeOf( object, intermediateObj ); 11778 11779 return object; 11780} 11781 11782var origFnCss, 11783 internalSwapCall = false, 11784 ralphaStart = /^[a-z]/, 11785 11786 // The regex visualized: 11787 // 11788 // /----------\ 11789 // | | /-------\ 11790 // | / Top \ | | | 11791 // /--- Border ---+-| Right |-+---+- Width -+---\ 11792 // | | Bottom | | 11793 // | \ Left / | 11794 // | | 11795 // | /----------\ | 11796 // | /-------------\ | | |- END 11797 // | | | | / Top \ | | 11798 // | | / Margin \ | | | Right | | | 11799 // |---------+-| |-+---+-| Bottom |-+----| 11800 // | \ Padding / \ Left / | 11801 // BEGIN -| | 11802 // | /---------\ | 11803 // | | | | 11804 // | | / Min \ | / Width \ | 11805 // \--------------+-| |-+---| |---/ 11806 // \ Max / \ Height / 11807 rautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/; 11808 11809// If this version of jQuery has .swap(), don't false-alarm on internal uses 11810if ( jQuery.swap ) { 11811 jQuery.each( [ "height", "width", "reliableMarginRight" ], function( _, name ) { 11812 var oldHook = jQuery.cssHooks[ name ] && jQuery.cssHooks[ name ].get; 11813 11814 if ( oldHook ) { 11815 jQuery.cssHooks[ name ].get = function() { 11816 var ret; 11817 11818 internalSwapCall = true; 11819 ret = oldHook.apply( this, arguments ); 11820 internalSwapCall = false; 11821 return ret; 11822 }; 11823 } 11824 } ); 11825} 11826 11827migratePatchFunc( jQuery, "swap", function( elem, options, callback, args ) { 11828 var ret, name, 11829 old = {}; 11830 11831 if ( !internalSwapCall ) { 11832 migrateWarn( "swap", "jQuery.swap() is undocumented and deprecated" ); 11833 } 11834 11835 // Remember the old values, and insert the new ones 11836 for ( name in options ) { 11837 old[ name ] = elem.style[ name ]; 11838 elem.style[ name ] = options[ name ]; 11839 } 11840 11841 ret = callback.apply( elem, args || [] ); 11842 11843 // Revert the old values 11844 for ( name in options ) { 11845 elem.style[ name ] = old[ name ]; 11846 } 11847 11848 return ret; 11849}, "swap" ); 11850 11851if ( jQueryVersionSince( "3.4.0" ) && typeof Proxy !== "undefined" ) { 11852 jQuery.cssProps = new Proxy( jQuery.cssProps || {}, { 11853 set: function() { 11854 migrateWarn( "cssProps", "jQuery.cssProps is deprecated" ); 11855 return Reflect.set.apply( this, arguments ); 11856 } 11857 } ); 11858} 11859 11860function isAutoPx( prop ) { 11861 11862 // The first test is used to ensure that: 11863 // 1. The prop starts with a lowercase letter (as we uppercase it for the second regex). 11864 // 2. The prop is not empty. 11865 return ralphaStart.test( prop ) && 11866 rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) ); 11867} 11868 11869origFnCss = jQuery.fn.css; 11870 11871migratePatchFunc( jQuery.fn, "css", function( name, value ) { 11872 var camelName, 11873 origThis = this; 11874 11875 if ( name && typeof name === "object" && !Array.isArray( name ) ) { 11876 jQuery.each( name, function( n, v ) { 11877 jQuery.fn.css.call( origThis, n, v ); 11878 } ); 11879 return this; 11880 } 11881 11882 if ( typeof value === "number" ) { 11883 camelName = camelCase( name ); 11884 11885 if ( !isAutoPx( camelName ) && !jQuery.cssNumber[ camelName ] ) { 11886 migrateWarn( "css-number", 11887 "Number-typed values are deprecated for jQuery.fn.css( \"" + 11888 name + "\", value )" ); 11889 } 11890 } 11891 11892 return origFnCss.apply( this, arguments ); 11893}, "css-number" ); 11894 11895var rmultiDash = /[A-Z]/g, 11896 rnothtmlwhite = /[^\x20\t\r\n\f]+/g, 11897 origJQueryData = jQuery.data, 11898 origJQueryPrivateData = jQuery._data; 11899 11900function unCamelCase( str ) { 11901 return str.replace( rmultiDash, "-$&" ).toLowerCase(); 11902} 11903 11904function patchDataCamelCase( origData, options ) { 11905 var apiName = options.apiName, 11906 isPrivateData = options.isPrivateData, 11907 isInstanceMethod = options.isInstanceMethod, 11908 origJQueryStaticData = isPrivateData ? origJQueryPrivateData : origJQueryData; 11909 11910 function objectSetter( elem, obj ) { 11911 var curData, key; 11912 11913 // Name can be an object, and each entry in the object is meant 11914 // to be set as data. 11915 // Let the original method handle the case of a missing elem. 11916 if ( elem ) { 11917 11918 // Don't use the instance method here to avoid `data-*` attributes 11919 // detection this early. 11920 curData = origJQueryStaticData( elem ); 11921 11922 for ( key in obj ) { 11923 if ( key !== camelCase( key ) ) { 11924 migrateWarn( "data-camelCase", 11925 apiName + " always sets/gets camelCased names: " + 11926 key ); 11927 curData[ key ] = obj[ key ]; 11928 } 11929 } 11930 11931 // Pass the keys handled above to the original API as well 11932 // so that both the camelCase & initial keys are saved. 11933 if ( isInstanceMethod ) { 11934 origData.call( this, obj ); 11935 } else { 11936 origData.call( this, elem, obj ); 11937 } 11938 11939 return obj; 11940 } 11941 } 11942 11943 function singleSetter( elem, name, value ) { 11944 var curData; 11945 11946 // If the name is transformed, look for the un-transformed name 11947 // in the data object. 11948 // Let the original method handle the case of a missing elem. 11949 if ( elem ) { 11950 11951 // Don't use the instance method here to avoid `data-*` attributes 11952 // detection this early. 11953 curData = origJQueryStaticData( elem ); 11954 11955 if ( curData && name in curData ) { 11956 migrateWarn( "data-camelCase", 11957 apiName + " always sets/gets camelCased names: " + 11958 name ); 11959 11960 curData[ name ] = value; 11961 } 11962 11963 origJQueryStaticData( elem, name, value ); 11964
11965 // Since the "set" path can have two possible entry points 11966 // return the expected data based on which path was taken. 11967 return value !== undefined ? value : name; 11968 } 11969 } 11970 11971 return function jQueryDataPatched( elem, name, value ) { 11972 var curData, 11973 that = this, 11974 11975 // Support: IE 9 only 11976 // IE 9 doesn't support strict mode and later modifications of 11977 // parameters also modify the arguments object in sloppy mode. 11978 // We need the original arguments so save them here. 11979 args = Array.prototype.slice.call( arguments ), 11980 11981 adjustedArgsLength = args.length; 11982 11983 if ( isInstanceMethod ) { 11984 value = name; 11985 name = elem; 11986 elem = that[ 0 ]; 11987 adjustedArgsLength++; 11988 } 11989 11990 if ( name && typeof name === "object" && adjustedArgsLength === 2 ) { 11991 if ( isInstanceMethod ) { 11992 return that.each( function() { 11993 objectSetter.call( that, this, name ); 11994 } ); 11995 } else { 11996 return objectSetter.call( that, elem, name ); 11997 } 11998 } 11999 12000 // If the name is transformed, look for the un-transformed name 12001 // in the data object. 12002 // Let the original method handle the case of a missing elem. 12003 if ( name && typeof name === "string" && name !== camelCase( name ) &&
12004 adjustedArgsLength > 2 ) { 12005 12006 if ( isInstanceMethod ) { 12007 return that.each( function() { 12008 singleSetter.call( that, this, name, value ); 12009 } ); 12010 } else { 12011 return singleSetter.call( that, elem, name, value ); 12012 } 12013 } 12014 12015 if ( elem && name && typeof name === "string" && 12016 name !== camelCase( name ) && 12017 adjustedArgsLength === 2 ) { 12018 12019 // Don't use the instance method here to avoid `data-*` attributes 12020 // detection this early. 12021 curData = origJQueryStaticData( elem ); 12022 12023 if ( curData && name in curData ) { 12024 migrateWarn( "data-camelCase", 12025 apiName + " always sets/gets camelCased names: " + 12026 name ); 12027 return curData[ name ]; 12028 } 12029 } 12030 12031 return origData.apply( this, args ); 12032 }; 12033} 12034 12035function patchRemoveDataCamelCase( origRemoveData, options ) { 12036 var isPrivateData = options.isPrivateData, 12037 isInstanceMethod = options.isInstanceMethod, 12038 origJQueryStaticData = isPrivateData ? origJQueryPrivateData : origJQueryData; 12039 12040 function remove( elem, keys ) { 12041 var i, singleKey, unCamelCasedKeys, 12042 curData = origJQueryStaticData( elem ); 12043 12044 if ( keys === undefined ) { 12045 origRemoveData( elem ); 12046 return; 12047 } 12048 12049 // Support array or space separated string of keys 12050 if ( !Array.isArray( keys ) ) { 12051 12052 // If a key with the spaces exists, use it. 12053 // Otherwise, create an array by matching non-whitespace 12054 keys = keys in curData ? 12055 [ keys ] : 12056 ( keys.match( rnothtmlwhite ) || [] ); 12057 } 12058 12059 // Remove: 12060 // * the original keys as passed 12061 // * their "unCamelCased" version 12062 // * their camelCase version 12063 // These may be three distinct values for each key! 12064 // jQuery 3.x only removes camelCase versions by default. However, in this patch 12065 // we set the original keys in the mass-setter case and if the key already exists 12066 // so without removing the "unCamelCased" versions the following would be broken: 12067 // ```js 12068 // elem.data( { "a-a": 1 } ).removeData( "aA" ); 12069 // ``` 12070 // Unfortunately, we'll still hit this issue for partially camelCased keys, e.g.: 12071 // ```js 12072 // elem.data( { "a-aA": 1 } ).removeData( "aAA" ); 12073 // ``` 12074 // won't work with this patch. We consider this an edge case, but to make sure that 12075 // at least piggybacking works: 12076 // ```js 12077 // elem.data( { "a-aA": 1 } ).removeData( "a-aA" ); 12078 // ``` 12079 // we also remove the original key. Hence, all three are needed. 12080 // The original API already removes the camelCase versions, though, so let's defer 12081 // to it. 12082 unCamelCasedKeys = keys.map( unCamelCase ); 12083 12084 i = keys.length; 12085 while ( i-- ) { 12086 singleKey = keys[ i ]; 12087 if ( singleKey !== camelCase( singleKey ) && singleKey in curData ) { 12088 migrateWarn( "data-camelCase", 12089 "jQuery" + ( isInstanceMethod ? ".fn" : "" ) + 12090 ".data() always sets/gets camelCased names: " + 12091 singleKey ); 12092 } 12093 delete curData[ singleKey ]; 12094 } 12095 12096 // Don't warn when removing "unCamelCased" keys; we're already printing 12097 // a warning when setting them and the fix is needed there, not in 12098 // the `.removeData()` call. 12099 i = unCamelCasedKeys.length; 12100 while ( i-- ) { 12101 delete curData[ unCamelCasedKeys[ i ] ]; 12102 } 12103 12104 origRemoveData( elem, keys ); 12105 } 12106 12107 return function jQueryRemoveDataPatched( elem, key ) { 12108 if ( isInstanceMethod ) { 12109 key = elem; 12110 return this.each( function() { 12111 remove( this, key ); 12112 } ); 12113 } else { 12114 remove( elem, key ); 12115 } 12116 }; 12117} 12118 12119migratePatchFunc( jQuery, "data", 12120 patchDataCamelCase( jQuery.data, { 12121 apiName: "jQuery.data()", 12122 isPrivateData: false, 12123 isInstanceMethod: false 12124 } ), 12125 "data-camelCase" ); 12126migratePatchFunc( jQuery, "_data", 12127 patchDataCamelCase( jQuery._data, { 12128 apiName: "jQuery._data()", 12129 isPrivateData: true, 12130 isInstanceMethod: false 12131 } ), 12132 "data-camelCase" ); 12133migratePatchFunc( jQuery.fn, "data", 12134 patchDataCamelCase( jQuery.fn.data, { 12135 apiName: "jQuery.fn.data()", 12136 isPrivateData: false, 12137 isInstanceMethod: true 12138 } ), 12139 "data-camelCase" ); 12140 12141migratePatchFunc( jQuery, "removeData", 12142 patchRemoveDataCamelCase( jQuery.removeData, { 12143 isPrivateData: false, 12144 isInstanceMethod: false 12145 } ), 12146 "data-camelCase" ); 12147migratePatchFunc( jQuery, "_removeData", 12148 patchRemoveDataCamelCase( jQuery._removeData, { 12149 isPrivateData: true, 12150 isInstanceMethod: false 12151 } ), 12152 "data-camelCase" ); 12153migratePatchFunc( jQuery.fn, "removeData", 12154 12155 // No, it's not a typo - we're intentionally passing 12156 // the static method here as we need something working on 12157 // a single element. 12158 patchRemoveDataCamelCase( jQuery.removeData, { 12159 isPrivateData: false, 12160 isInstanceMethod: true 12161 } ), 12162 "data-camelCase" ); 12163 12164function patchDataProto( original, options ) { 12165 var warningId = options.warningId, 12166 apiName = options.apiName, 12167 isInstanceMethod = options.isInstanceMethod; 12168 12169 return function apiWithProtoPatched() { 12170 var result = original.apply( this, arguments ); 12171 12172 if ( arguments.length !== ( isInstanceMethod ? 0 : 1 ) || result === undefined ) { 12173 return result; 12174 } 12175 12176 patchProto( result, { 12177 warningId: warningId, 12178 apiName: apiName 12179 } ); 12180 12181 return result; 12182 }; 12183} 12184 12185// Yes, we are patching jQuery.data twice; here & above. This is necessary 12186// so that each of the two patches can be independently disabled. 12187migratePatchFunc( jQuery, "data", 12188 patchDataProto( jQuery.data, { 12189 warningId: "data-null-proto", 12190 apiName: "jQuery.data()", 12191 isInstanceMethod: false 12192 } ), 12193 "data-null-proto" ); 12194migratePatchFunc( jQuery, "_data", 12195 patchDataProto( jQuery._data, { 12196 warningId: "data-null-proto", 12197 apiName: "jQuery._data()", 12198 isInstanceMethod: false 12199 } ), 12200 "data-null-proto" ); 12201migratePatchFunc( jQuery.fn, "data", 12202 patchDataProto( jQuery.fn.data, { 12203 warningId: "data-null-proto", 12204 apiName: "jQuery.fn.data()", 12205 isInstanceMethod: true 12206 } ), 12207 "data-null-proto" ); 12208 12209// Support jQuery slim which excludes the effects module 12210if ( jQuery.fx ) { 12211 12212var intervalValue, intervalMsg, 12213 oldTweenRun = jQuery.Tween.prototype.run, 12214 linearEasing = function( pct ) { 12215 return pct; 12216 }; 12217 12218migratePatchFunc( jQuery.Tween.prototype, "run", function( ) { 12219 if ( jQuery.easing[ this.easing ].length > 1 ) { 12220 migrateWarn( 12221 "easing-one-arg", 12222 "'jQuery.easing." + this.easing.toString() + "' should use only one argument" 12223 ); 12224 12225 jQuery.easing[ this.easing ] = linearEasing; 12226 } 12227 12228 oldTweenRun.apply( this, arguments ); 12229}, "easing-one-arg" ); 12230 12231intervalValue = jQuery.fx.interval; 12232intervalMsg = "jQuery.fx.interval is deprecated"; 12233 12234// Support: IE9, Android <=4.4 12235// Avoid false positives on browsers that lack rAF 12236// Don't warn if document is hidden, jQuery uses setTimeout (#292) 12237if ( window.requestAnimationFrame ) { 12238 Object.defineProperty( jQuery.fx, "interval", { 12239 configurable: true, 12240 enumerable: true, 12241 get: function() { 12242 if ( !window.document.hidden ) { 12243 migrateWarn( "fx-interval", intervalMsg ); 12244 } 12245 12246 // Only fallback to the default if patch is enabled 12247 if ( !jQuery.migrateIsPatchEnabled( "fx-interval" ) ) { 12248 return intervalValue; 12249 } 12250 return intervalValue === undefined ? 13 : intervalValue; 12251 }, 12252 set: function( newValue ) { 12253 migrateWarn( "fx-interval", intervalMsg ); 12254 intervalValue = newValue; 12255 } 12256 } ); 12257} 12258 12259} 12260 12261var oldLoad = jQuery.fn.load, 12262 oldEventAdd = jQuery.event.add, 12263 originalFix = jQuery.event.fix; 12264 12265jQuery.event.props = []; 12266jQuery.event.fixHooks = {}; 12267 12268migrateWarnProp( jQuery.event.props, "concat", jQuery.event.props.concat,
12269 "event-old-patch", 12270 "jQuery.event.props.concat() is deprecated and removed" ); 12271 12272migratePatchFunc( jQuery.event, "fix", function( originalEvent ) { 12273 var event, 12274 type = originalEvent.type, 12275 fixHook = this.fixHooks[ type ], 12276 props = jQuery.event.props; 12277 12278 if ( props.length ) { 12279 migrateWarn( "event-old-patch", 12280 "jQuery.event.props are deprecated and removed: " + props.join() ); 12281 while ( props.length ) { 12282 jQuery.event.addProp( props.pop() ); 12283 } 12284 } 12285 12286 if ( fixHook && !fixHook._migrated_ ) { 12287 fixHook._migrated_ = true; 12288 migrateWarn( "event-old-patch", 12289 "jQuery.event.fixHooks are deprecated and removed: " + type ); 12290 if ( ( props = fixHook.props ) && props.length ) { 12291 while ( props.length ) { 12292 jQuery.event.addProp( props.pop() ); 12293 } 12294 } 12295 } 12296 12297 event = originalFix.call( this, originalEvent ); 12298 12299 return fixHook && fixHook.filter ? 12300 fixHook.filter( event, originalEvent ) : 12301 event; 12302}, "event-old-patch" ); 12303 12304migratePatchFunc( jQuery.event, "add", function( elem, types ) { 12305 12306 // This misses the multiple-types case but that seems awfully rare 12307 if ( elem === window && types === "load" && window.document.readyState === "complete" ) { 12308 migrateWarn( "load-after-event", 12309 "jQuery(window).on('load'...) called after load event occurred" ); 12310 } 12311 return oldEventAdd.apply( this, arguments ); 12312}, "load-after-event" ); 12313 12314jQuery.each( [ "load", "unload", "error" ], function( _, name ) { 12315 12316 migratePatchFunc( jQuery.fn, name, function() { 12317 var args = Array.prototype.slice.call( arguments, 0 ); 12318 12319 // If this is an ajax load() the first arg should be the string URL; 12320 // technically this could also be the "Anything" arg of the event .load() 12321 // which just goes to show why this dumb signature has been deprecated! 12322 // jQuery custom builds that exclude the Ajax module justifiably die here. 12323 if ( name === "load" && typeof args[ 0 ] === "string" ) { 12324 return oldLoad.apply( this, args ); 12325 } 12326 12327 migrateWarn( "shorthand-removed-v3", 12328 "jQuery.fn." + name + "() is deprecated" ); 12329 12330 args.splice( 0, 0, name ); 12331 if ( arguments.length ) { 12332 return this.on.apply( this, args ); 12333 } 12334 12335 // Use .triggerHandler here because: 12336 // - load and unload events don't need to bubble, only applied to window or image 12337 // - error event should not bubble to window, although it does pre-1.7 12338 // See http://bugs.jquery.com/ticket/11820 12339 this.triggerHandler.apply( this, args ); 12340 return this; 12341 }, "shorthand-removed-v3" ); 12342 12343} ); 12344 12345jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + 12346 "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 12347 "change select submit keydown keypress keyup contextmenu" ).split( " " ), 12348function( _i, name ) { 12349 12350 // Handle event binding 12351 migratePatchAndWarnFunc( jQuery.fn, name, jQuery.fn[ name ], "shorthand-deprecated-v3", 12352 "DEPRECATED: jQuery.fn." + name + "() event shorthand" ); 12353 12354} ); 12355 12356// Trigger "ready" event only once, on document ready 12357jQuery( function() { 12358 jQuery( window.document ).triggerHandler( "ready" ); 12359} ); 12360 12361jQuery.event.special.ready = { 12362 setup: function() { 12363 if ( this === window.document ) { 12364 migrateWarn( "ready-event", "'ready' event is deprecated" ); 12365 } 12366 } 12367}; 12368 12369// Support: jQuery <3.2.0 only 12370// jQuery 3.0.x & 3.1.x used to not include the deprecated module in the slim build. 12371// To maintain compatibility with those versions, we need to reimplement APIs 12372// deprecated in them. 12373// See https://github.com/jquery/jquery/blob/3.1.1/src/deprecated.js 12374migratePatchAndWarnFunc( jQuery.fn, "bind", function( types, data, fn ) { 12375 return this.on( types, null, data, fn ); 12376}, "pre-on-methods", "jQuery.fn.bind() is deprecated" ); 12377migratePatchAndWarnFunc( jQuery.fn, "unbind", function( types, fn ) { 12378 return this.off( types, null, fn ); 12379}, "pre-on-methods", "jQuery.fn.unbind() is deprecated" ); 12380migratePatchAndWarnFunc( jQuery.fn, "delegate", function( selector, types, data, fn ) { 12381 return this.on( types, selector, data, fn ); 12382}, "pre-on-methods", "jQuery.fn.delegate() is deprecated" ); 12383migratePatchAndWarnFunc( jQuery.fn, "undelegate", function( selector, types, fn ) { 12384 return arguments.length === 1 ? 12385 this.off( selector, "**" ) : 12386 this.off( types, selector || "**", fn ); 12387}, "pre-on-methods", "jQuery.fn.undelegate() is deprecated" ); 12388migratePatchAndWarnFunc( jQuery.fn, "hover", function( fnOver, fnOut ) { 12389 return this.on( "mouseenter", fnOver ).on( "mouseleave", fnOut || fnOver ); 12390}, "pre-on-methods", "jQuery.fn.hover() is deprecated" ); 12391 12392// We can apply the patch unconditionally here as in the `3.x` line the API 12393// inherits from `Object.prototype` even without a patch and `migrateWarn` 12394// inside `patchProto` will already silence warnings if the patch gets disabled. 12395patchProto( jQuery.event.special, { 12396 warningId: "event-special-null-proto", 12397 apiName: "jQuery.event.special" 12398} ); 12399 12400var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, 12401 makeMarkup = function( html ) { 12402 var doc = window.document.implementation.createHTMLDocument( "" ); 12403 doc.body.innerHTML = html; 12404 return doc.body && doc.body.innerHTML; 12405 }, 12406 warnIfChanged = function( html ) { 12407 var changed = html.replace( rxhtmlTag, "<$1></$2>" ); 12408 if ( changed !== html && makeMarkup( html ) !== makeMarkup( changed ) ) { 12409 migrateWarn( "self-closed-tags", 12410 "HTML tags must be properly nested and closed: " + html ); 12411 } 12412 }; 12413 12414/**
12415 * Deprecated, please use `jQuery.migrateDisablePatches( "self-closed-tags" )` instead. 12416 * @deprecated 12417 */ 12418migratePatchAndWarnFunc( jQuery, "UNSAFE_restoreLegacyHtmlPrefilter", function() { 12419 jQuery.migrateEnablePatches( "self-closed-tags" ); 12420}, "legacy-self-closed-tags", 12421"jQuery.UNSAFE_restoreLegacyHtmlPrefilter deprecated; use " + 12422 "`jQuery.migrateEnablePatches( \"self-closed-tags\" )`" ); 12423 12424migratePatchFunc( jQuery, "htmlPrefilter", function( html ) { 12425 warnIfChanged( html ); 12426 return html.replace( rxhtmlTag, "<$1></$2>" ); 12427}, "self-closed-tags" ); 12428 12429// This patch needs to be disabled by default as it re-introduces 12430// security issues (CVE-2020-11022, CVE-2020-11023). 12431jQuery.migrateDisablePatches( "self-closed-tags" ); 12432 12433var origOffset = jQuery.fn.offset; 12434 12435migratePatchFunc( jQuery.fn, "offset", function() { 12436 var elem = this[ 0 ]; 12437 12438 if ( elem && ( !elem.nodeType || !elem.getBoundingClientRect ) ) { 12439 migrateWarn( "offset-valid-elem", "jQuery.fn.offset() requires a valid DOM element" ); 12440 return arguments.length ? this : undefined; 12441 } 12442 12443 return origOffset.apply( this, arguments ); 12444}, "offset-valid-elem" ); 12445 12446// Support jQuery slim which excludes the ajax module 12447// The jQuery.param patch is about respecting `jQuery.ajaxSettings.traditional` 12448// so it doesn't make sense for the slim build. 12449if ( jQuery.ajax ) { 12450 12451var origParam = jQuery.param; 12452 12453migratePatchFunc( jQuery, "param", function( data, traditional ) { 12454 var ajaxTraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; 12455 12456 if ( traditional === undefined && ajaxTraditional ) { 12457 12458 migrateWarn( "param-ajax-traditional", 12459 "jQuery.param() no longer uses jQuery.ajaxSettings.traditional" ); 12460 traditional = ajaxTraditional; 12461 } 12462 12463 return origParam.call( this, data, traditional ); 12464}, "param-ajax-traditional" ); 12465 12466} 12467 12468migratePatchAndWarnFunc( jQuery.fn, "andSelf", jQuery.fn.addBack, "andSelf", 12469 "jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" ); 12470 12471// Support jQuery slim which excludes the deferred module in jQuery 4.0+ 12472if ( jQuery.Deferred ) { 12473 12474var unpatchedGetStackHookValue, 12475 oldDeferred = jQuery.Deferred, 12476 tuples = [ 12477 12478 // Action, add listener, callbacks, .then handlers, final state 12479 [ "resolve", "done", jQuery.Callbacks( "once memory" ), 12480 jQuery.Callbacks( "once memory" ), "resolved" ], 12481 [ "reject", "fail", jQuery.Callbacks( "once memory" ), 12482 jQuery.Callbacks( "once memory" ), "rejected" ], 12483 [ "notify", "progress", jQuery.Callbacks( "memory" ), 12484 jQuery.Callbacks( "memory" ) ] 12485 ]; 12486 12487migratePatchFunc( jQuery, "Deferred", function( func ) { 12488 var deferred = oldDeferred(), 12489 promise = deferred.promise(); 12490 12491 function newDeferredPipe( /* fnDone, fnFail, fnProgress */ ) { 12492 var fns = arguments; 12493 12494 return jQuery.Deferred( function( newDefer ) { 12495 jQuery.each( tuples, function( i, tuple ) { 12496 var fn = typeof fns[ i ] === "function" && fns[ i ]; 12497 12498 // Deferred.done(function() { bind to newDefer or newDefer.resolve }) 12499 // deferred.fail(function() { bind to newDefer or newDefer.reject }) 12500 // deferred.progress(function() { bind to newDefer or newDefer.notify }) 12501 deferred[ tuple[ 1 ] ]( function() { 12502 var returned = fn && fn.apply( this, arguments ); 12503 if ( returned && typeof returned.promise === "function" ) { 12504 returned.promise() 12505 .done( newDefer.resolve ) 12506 .fail( newDefer.reject ) 12507 .progress( newDefer.notify ); 12508 } else { 12509 newDefer[ tuple[ 0 ] + "With" ]( 12510 this === promise ? newDefer.promise() : this, 12511 fn ? [ returned ] : arguments 12512 ); 12513 } 12514 } ); 12515 } ); 12516 fns = null; 12517 } ).promise(); 12518 } 12519 12520 migratePatchAndWarnFunc( deferred, "pipe", newDeferredPipe, "deferred-pipe", 12521 "deferred.pipe() is deprecated" ); 12522 migratePatchAndWarnFunc( promise, "pipe", newDeferredPipe, "deferred-pipe", 12523 "deferred.pipe() is deprecated" ); 12524 12525 if ( func ) { 12526 func.call( deferred, deferred ); 12527 } 12528 12529 return deferred; 12530}, "deferred-pipe" ); 12531 12532// Preserve handler of uncaught exceptions in promise chains 12533jQuery.Deferred.exceptionHook = oldDeferred.exceptionHook; 12534 12535// Preserve the optional hook to record the error, if defined 12536jQuery.Deferred.getErrorHook = oldDeferred.getErrorHook; 12537 12538// We want to mirror jQuery.Deferred.getErrorHook here, so we cannot use 12539// existing Migrate utils. 12540Object.defineProperty( jQuery.Deferred, "getStackHook", { 12541 configurable: true, 12542 enumerable: true, 12543 get: function() { 12544 if ( jQuery.migrateIsPatchEnabled( "deferred-getStackHook" ) ) { 12545 12546 // jQuery 3.x checks `getStackHook` if `getErrorHook` is missing, 12547 // so don't warn on the getter. 12548 return jQuery.Deferred.getErrorHook; 12549 } else { 12550 return unpatchedGetStackHookValue; 12551 } 12552 }, 12553 set: function( newValue ) { 12554 if ( jQuery.migrateIsPatchEnabled( "deferred-getStackHook" ) ) { 12555 12556 // Only warn if `getErrorHook` wasn't set to the same value first. 12557 if ( jQuery.Deferred.getErrorHook !== newValue ) { 12558 migrateWarn( "deferred-getStackHook", 12559 "jQuery.Deferred.getStackHook is deprecated; " + 12560 "use jQuery.Deferred.getErrorHook" ); 12561 jQuery.Deferred.getErrorHook = newValue; 12562 } 12563 } else { 12564 unpatchedGetStackHookValue = newValue; 12565 } 12566 } 12567} ); 12568 12569} 12570 12571return jQuery; 12572} ); 12573 12574}catch(e){WRMCB(e)}; 12575; 12576try { 12577/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors~amd~react~react-dom~react-dom-client~react-dom-server', location = 'vendors~amd~react~react-dom~react-dom-client~react-dom-server.js' */ 12578(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[2],{51:function(n,e,i){var r,t,o; 12579/** 12580 * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. 12581 * Released under MIT license, http://github.com/requirejs/almond/LICENSE 12582 */!function(n){var e,i,u,f,l={},c={},s={},p={},a=Object.prototype.hasOwnProperty,d=[].slice,g=/\.js$/;function v(n,e){return a.call(n,e)}function h(n,e){var i,r,t,o,u,f,l,c,p,a,d,v=e&&e.split("/"),h=s.map,m=h&&h["*"]||{};if(n){for(u=(n=n.split("/")).length-1,s.nodeIdCompat&&g.test(n[u])&&(n[u]=n[u].replace(g,"")),"."===n[0].charAt(0)&&v&&(n=v.slice(0,v.length-1).concat(n)),p=0;p<n.length;p++)if("."===(d=n[p]))n.splice(p,1),p-=1;else if(".."===d){if(0===p||1===p&&".."===n[2]||".."===n[p-1])continue;p>0&&(n.splice(p-1,2),p-=2)}n=n.join("/")}if((v||m)&&h){for(p=(i=n.split("/")).length;p>0;p-=1){if(r=i.slice(0,p).join("/"),v)for(a=v.length;a>0;a-=1)if((t=h[v.slice(0,a).join("/")])&&(t=t[r])){o=t,f=p;break}if(o)break;!l&&m&&m[r]&&(l=m[r],c=p)}!o&&l&&(o=l,f=c),o&&(i.splice(0,f,o),n=i.join("/"))}return n}function m(n,e){return function(){var r=d.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),i.apply(void 0,r.concat([n,e]))}}function b(n){return function(e){l[n]=e}}function w(n){if(v(c,n)){var i=c[n];delete c[n],p[n]=!0,e.apply(void 0,i)}if(!v(l,n)&&!v(p,n))throw new Error("No "+n);return l[n]}function y(n){var e,i=n?n.indexOf("!"):-1;return i>-1&&(e=n.substring(0,i),n=n.substring(i+1,n.length)),[e,n]}function x(n){return n?y(n):[]}function j(n){return function(){return s&&s.config&&s.config[n]||{}}}u=function(n,e){var i,r,t=y(n),o=t[0],u=e[1];return n=t[1],o&&(i=w(o=h(o,u))),o?n=i&&i.normalize?i.normalize(n,(r=u,function(n){return h(n,r)})):h(n,u):(o=(t=y(n=h(n,u)))[0],n=t[1],o&&(i=w(o))),{f:o?o+"!"+n:n,n:n,pr:o,p:i}},f={require:function(n){return m(n)},exports:function(n){var e=l[n];return void 0!==e?e:l[n]={}},module:function(n){return{id:n,uri:"",exports:l[n],config:j(n)}}},e=function(n,e,i,r){var t,o,s,a,d,g,h,y=[],j=typeof i;if(g=x(r=r||n),"undefined"===j||"function"===j){for(e=!e.length&&i.length?["require","exports","module"]:e,d=0;d<e.length;d+=1)if("require"===(o=(a=u(e[d],g)).f))y[d]=f.require(n);else if("exports"===o)y[d]=f.exports(n),h=!0;else if("module"===o)t=y[d]=f.module(n);else if(v(l,o)||v(c,o)||v(p,o))y[d]=w(o);else{if(!a.p)throw new Error(n+" missing "+o);a.p.load(a.n,m(r,!0),b(o),{}),y[d]=l[o]}s=i?i.apply(l[n],y):void 0,n&&(t&&void 0!==t.exports&&t.exports!==l[n]?l[n]=t.exports:void 0===s&&h||(l[n]=s))}else n&&(l[n]=i)},r=t=i=function(n,r,t,o,l){if("string"==typeof n)return f[n]?f[n](r):w(u(n,x(r)).f);if(!n.splice){if((s=n).deps&&i(s.deps,s.callback),!r)return;r.splice?(n=r,r=t,t=null):n=void 0}return r=r||function(){},"function"==typeof t&&(t=o,o=l),o?e(void 0,n,r,t):setTimeout((function(){e(void 0,n,r,t)}),4),i},i.config=function(n){return i(n)},r._defined=l,(o=function(n,e,i){if("string"!=typeof n)throw new Error("See almond README: incorrect module build, no module name");e.splice||(i=e,e=[]),v(l,n)||v(c,n)||(c[n]=[n,e,i])}).amd={jQuery:!0}}(),e.define=o,e.require=t}}]); 12583}catch(e){WRMCB(e)}; 12584; 12585try { 12586/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors~amd', location = 'vendors~amd.js' */ 12587(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[14],{6:function(e,s,a){"use strict";(function(s){e.exports="object"==typeof self&&self.self===self&&self||"object"==typeof s&&s.global===s&&s||this}).call(this,a(27))}}]); 12588}catch(e){WRMCB(e)}; 12589; 12590try { 12591/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_amd~react~react-dom~react-dom-client~react-dom-server', location = 'amd~react~react-dom~react-dom-client~react-dom-server.js' */ 12592(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[1],{3:function(n,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return s}));var d=a(51);const i=d.define,s=d.require}}]); 12593}catch(e){WRMCB(e)}; 12594; 12595try { 12596/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_amd', location = 'amd.js' */ 12597(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[6],{163:function(e,a,r){"use strict";r.r(a);var i=r(6),n=r.n(i),d=r(3);try{delete d.a.amd}catch(e){console.error("Failed to delete `window.define.amd`, libraries may export as AMD modules now.")}void 0===n.a.define?n.a.define=d.a:console.error("`window.define` already defined externally, Confluence API will not be available."),void 0===n.a.require?n.a.require=d.b:console.error("`window.require` already defined externally, Confluence API will not be available."),Object(d.a)("wrm/context-path",()=>n.a.AJS.contextPath),Object(d.a)("wrm/data",()=>n.a.WRM.data),Object(d.a)("wrm/format",()=>n.a.WRM.format),Object(d.a)("wrm/i18n",()=>n.a.WRM.I18n),Object(d.a)("wrm/require",()=>n.a.WRM.require),Object(d.a)("wrm/require-lazily",()=>n.a.WRM.requireLazily)}},[[163,0,2,3,14,1]]]); 12598}catch(e){WRMCB(e)}; 12599; 12600try { 12601/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:window', location = '/includes/js/amd/shim/window-amd.js' */ 12602define("window",function(){return window}
12602); 12603}catch(e){WRMCB(e)}; 12604; 12605try { 12606/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:document', location = '/includes/js/amd/shim/document-amd.js' */ 12607define("document",["window"],function(a){return a.document}); 12608}catch(e){WRMCB(e)}; 12609; 12610try { 12611/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:underscore', location = '/includes/js/amd/shim/underscore-amd.js' */ 12612define("underscore",function(){return _}); 12613}catch(e){WRMCB(e)}; 12614; 12615try { 12616/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_vendors-node_modules_backbone_backbone_js', location = 'vendors-node_modules_backbone_backbone_js.js' */ 12617(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["vendors-node_modules_backbone_backbone_js"],{4613:(t,e,i)=>{(function(){(function(){var t,s=this,n=s.Backbone,r=[],a=r.push,o=r.slice,h=r.splice;(t=e).VERSION="1.0.0";var u=s._;u||(u=i(1246)),t.$=s.jQuery||s.Zepto||s.ender||s.$,t.noConflict=function(){return s.Backbone=n,this},t.emulateHTTP=!1,t.emulateJSON=!1;var c=t.Events={on:function(t,e,i){return d(this,"on",t,[e,i])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:i,ctx:i||this}),this):this},once:function(t,e,i){if(!d(this,"once",t,[e,i])||!e)return this;var s=this,n=u.once(function(){s.off(t,n),e.apply(this,arguments)});return n._callback=e,this.on(t,n,i)},off:function(t,e,i){var s,n,r,a,o,h,c,l;if(!this._events||!d(this,"off",t,[e,i]))return this;if(!t&&!e&&!i)return this._events={},this;for(o=0,h=(a=t?[t]:u.keys(this._events)).length;o<h;
12617o++)if(t=a[o],r=this._events[t]){if(this._events[t]=s=[],e||i)for(c=0,l=r.length;c<l;c++)n=r[c],(e&&e!==n.callback&&e!==n.callback._callback||i&&i!==n.context)&&s.push(n);s.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!d(this,"trigger",t,e))return this;var i=this._events[t],s=this._events.all;return i&&f(i,e),s&&f(s,arguments),this},stopListening:function(t,e,i){var s=this._listeners;if(!s)return this;var n=!e&&!i;for(var r in"object"==typeof e&&(i=this),t&&((s={})[t._listenerId]=t),s)s[r].off(e,i,this),n&&delete this._listeners[r];return this}},l=/\s+/,d=function(t,e,i,s){if(!i)return!0;if("object"==typeof i){for(var n in i)t[e].apply(t,[n,i[n]].concat(s));return!1}if(l.test(i)){for(var r=i.split(l),a=0,o=r.length;a<o;a++)t[e].apply(t,[r[a]].concat(s));return!1}return!0},f=function(t,e){var i,s=-1,n=t.length,r=e[0],a=e[1],o=e[2];switch(e.length){case 0:for(;++s<n;)(i=t[s]).callback.call(i.ctx);return;case 1:for(;++s<n;)(i=t[s]).callback.call(i.ctx,r);return;case 2:for(;++s<n;)(i=t[s]).callback.call(i.ctx,r,a);return;case 3:for(;++s<n;)(i=t[s]).callback.call(i.ctx,r,a,o);return;default:for(;++s<n;)(i=t[s]).callback.apply(i.ctx,e)}};u.each({listenTo:"on",listenToOnce:"once"},function(t,e){c[e]=function(e,i,s){return(this._listeners||(this._listeners={}))[e._listenerId||(e._listenerId=u.uniqueId("l"))]=e,"object"==typeof i&&(s=this),e[t](i,s,this),this}}),c.bind=c.on,c.unbind=c.off,u.extend(t,c);var p=t.Model=function(t,e){var i,s=t||{};e||(e={}),this.cid=u.uniqueId("c"),this.attributes={},u.extend(this,u.pick(e,g)),e.parse&&(s=this.parse(s,e)||{}),(i=u.result(this,"defaults"))&&(s=u.defaults({},s,i)),this.set(s,e),this.changed={},this.initialize.apply(this,arguments)},g=["url","urlRoot","collection"];u.extend(p.prototype,c,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return u.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return u.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,i){var s,n,r,a,o,h,c,l;if(null==t)return this;if("object"==typeof t?(n=t,i=e):(n={})[t]=e,i||(i={}),!this._validate(n,i))return!1;for(s in r=i.unset,o=i.silent,a=[],h=this._changing,this._changing=!0,h||(this._previousAttributes=u.clone(this.attributes),this.changed={}),l=this.attributes,c=this._previousAttributes,this.idAttribute in n&&(this.id=n[this.idAttribute]),n)e=n[s],u.isEqual(l[s],e)||a.push(s),u.isEqual(c[s],e)?delete this.changed[s]:this.changed[s]=e,r?delete l[s]:l[s]=e;if(!o){a.length&&(this._pending=!0);for(var d=0,f=a.length;d<f;d++)this.trigger("change:"+a[d],this,l[a[d]],i)}if(h)return this;if(!o)for(;this._pending;)this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,u.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,u.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!u.isEmpty(this.changed):u.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&u.clone(this.changed);var e,i=!1,s=this._changing?this._previousAttributes:this.attributes;for(var n in t)u.isEqual(s[n],e=t[n])||((i||(i={}))[n]=e);return i},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return u.clone(this._previousAttributes)},fetch:function(t){void 0===(t=t?u.clone(t):{}).parse&&(t.parse=!0);var e=this,i=t.success;return t.success=function(s){if(!e.set(e.parse(s,t),t))return!1;i&&i(e,s,t),e.trigger("sync",e,s,t)},C(this,t),this.sync("read",this,t)},save:function(t,e,i){var s,n,r,a=this.attributes;if(null==t||"object"==typeof t?(s=t,i=e):(s={})[t]=e,s&&(!i||!i.wait)&&!this.set(s,i))return!1;if(i=u.extend({validate:!0},i),!this._validate(s,i))return!1;s&&i.wait&&(this.attributes=u.extend({},a,s)),void 0===i.parse&&(i.parse=!0);var o=this,h=i.success;return i.success=function(t){o.attributes=a;var e=o.parse(t,i);if(i.wait&&(e=u.extend(s||{},e)),u.isObject(e)&&!o.set(e,i))return!1;h&&h(o,t,i),o.trigger("sync",o,t,i)},C(this,i),"patch"==(n=this.isNew()?"create":i.patch?"patch":"update")&&(i.attrs=s),r=this.sync(n,this,i),s&&i.wait&&(this.attributes=a),r},destroy:function(t){t=t?u.clone(t):{};var e=this,i=t.success,s=function(){e.trigger("destroy",e,e.collection,t)};if(t.success=function(n){(t.wait||e.isNew())&&s(),i&&i(e,n,t),e.isNew()||e.trigger("sync",e,n,t)},this.isNew())return t.success(),!1;C(this,t);var n=this.sync("delete",this,t);return t.wait||s(),n},url:function(){var t=u.result(this,"urlRoot")||u.result(this.collection,"url")||O();
12617return this.isNew()?t:t+("/"===t.charAt(t.length-1)?"":"/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return null==this.id},isValid:function(t){return this._validate({},u.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=u.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,u.extend(e||{},{validationError:i})),!1)}}),u.each(["keys","values","pairs","invert","pick","omit"],function(t){p.prototype[t]=function(){var e=o.call(arguments);return e.unshift(this.attributes),u[t].apply(u,e)}});var v=t.Collection=function(t,e){e||(e={}),e.url&&(this.url=e.url),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,u.extend({silent:!0},e))},m={add:!0,remove:!0,merge:!0},_={add:!0,merge:!1,remove:!1};u.extend(v.prototype,c,{model:p,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return t.sync.apply(this,arguments)},add:function(t,e){return this.set(t,u.defaults(e||{},_))},remove:function(t,e){var i,s,n,r;for(e||(e={}),i=0,s=(t=u.isArray(t)?t.slice():[t]).length;i<s;i++)(r=this.get(t[i]))&&(delete this._byId[r.id],delete this._byId[r.cid],n=this.indexOf(r),this.models.splice(n,1),this.length--,e.silent||(e.index=n,r.trigger("remove",r,this,e)),this._removeReference(r));return this},set:function(t,e){var i,s,n,r,o;(e=u.defaults(e||{},m)).parse&&(t=this.parse(t,e)),u.isArray(t)||(t=t?[t]:[]);var c=e.at,l=this.comparator&&null==c&&!1!==e.sort,d=u.isString(this.comparator)?this.comparator:null,f=[],p=[],g={};for(i=0,s=t.length;i<s;i++)(n=this._prepareModel(t[i],e))&&((r=this.get(n))?(e.remove&&(g[r.cid]=!0),e.merge&&(r.set(n.attributes,e),l&&!o&&r.hasChanged(d)&&(o=!0))):e.add&&(f.push(n),n.on("all",this._onModelEvent,this),this._byId[n.cid]=n,null!=n.id&&(this._byId[n.id]=n)));if(e.remove){for(i=0,s=this.length;i<s;++i)g[(n=this.models[i]).cid]||p.push(n);p.length&&this.remove(p,e)}if(f.length&&(l&&(o=!0),this.length+=f.length,null!=c?h.apply(this.models,[c,0].concat(f)):a.apply(this.models,f)),o&&this.sort({silent:!0}),e.silent)return this;for(i=0,s=f.length;i<s;i++)(n=f[i]).trigger("add",n,this,e);return o&&this.trigger("sort",this,e),this},reset:function(t,e){e||(e={});for(var i=0,s=this.models.length;i<s;i++)this._removeReference(this.models[i]);return e.previousModels=this.models,this._reset(),this.add(t,u.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),this},push:function(t,e){return t=this._prepareModel(t,e),this.add(t,u.extend({at:this.length},e)),t},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t),e},unshift:function(t,e){return t=this._prepareModel(t,e),this.add(t,u.extend({at:0},e)),t},shift:function(t){var e=this.at(0);return this.remove(e,t),e},slice:function(t,e){return this.models.slice(t,e)},get:function(t){if(null!=t)return this._byId[null!=t.id?t.id:t.cid||t]},at:function(t){return this.models[t]},where:function(t,e){return u.isEmpty(t)?e?void 0:[]:this[e?"find":"filter"](function(e){for(var i in t)if(t[i]!==e.get(i))return!1;return!0})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t||(t={}),u.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(u.bind(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},sortedIndex:function(t,e,i){e||(e=this.comparator);var s=u.isFunction(e)?e:function(t){return t.get(e)};return u.sortedIndex(this.models,t,s,i)},pluck:function(t){return u.invoke(this.models,"get",t)},fetch:function(t){void 0===(t=t?u.clone(t):{}).parse&&(t.parse=!0);var e=t.success,i=this;return t.success=function(s){var n=t.reset?"reset":"set";i[n](s,t),e&&e(i,s,t),i.trigger("sync",i,s,t)},C(this,t),this.sync("read",this,t)},create:function(t,e){if(e=e?u.clone(e):{},!(t=this._prepareModel(t,e)))return!1;e.wait||this.add(t,e);var i=this,s=e.success;return e.success=function(n){e.wait&&i.add(t,e),s&&s(t,n,e)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(t instanceof p)return t.collection||(t.collection=this),t;e||(e={}),e.collection=this;var i=new this.model(t,e);return i._validate(t,e)?i:(this.trigger("invalid",this,t,e),!1)},_removeReference:function(t){this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)}
12617,_onModelEvent:function(t,e,i,s){("add"!==t&&"remove"!==t||i===this)&&("destroy"===t&&this.remove(e,s),e&&t==="change:"+e.idAttribute&&(delete this._byId[e.previous(e.idAttribute)],null!=e.id&&(this._byId[e.id]=e)),this.trigger.apply(this,arguments))}}),u.each(["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain"],function(t){v.prototype[t]=function(){var e=o.call(arguments);return e.unshift(this.models),u[t].apply(u,e)}}),u.each(["groupBy","countBy","sortBy"],function(t){v.prototype[t]=function(e,i){var s=u.isFunction(e)?e:function(t){return t.get(e)};return u[t](this.models,s,i)}});var y=t.View=function(t){this.cid=u.uniqueId("view"),this._configure(t||{}),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},b=/^(\S+)\s*(.*)$/,w=["model","collection","el","id","attributes","className","tagName","events"];u.extend(y.prototype,c,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(e,i){return this.$el&&this.undelegateEvents(),this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0],!1!==i&&this.delegateEvents(),this},delegateEvents:function(t){if(!t&&!(t=u.result(this,"events")))return this;for(var e in this.undelegateEvents(),t){var i=t[e];if(u.isFunction(i)||(i=this[t[e]]),i){var s=e.match(b),n=s[1],r=s[2];i=u.bind(i,this),n+=".delegateEvents"+this.cid,""===r?this.$el.on(n,i):this.$el.on(n,r,i)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_configure:function(t){this.options&&(t=u.extend({},u.result(this,"options"),t)),u.extend(this,u.pick(t,w)),this.options=t},_ensureElement:function(){if(this.el)this.setElement(u.result(this,"el"),!1);else{var e=u.extend({},u.result(this,"attributes"));this.id&&(e.id=u.result(this,"id")),this.className&&(e.class=u.result(this,"className"));var i=t.$("<"+u.result(this,"tagName")+">").attr(e);this.setElement(i,!1)}}}),t.sync=function(e,i,s){var n=x[e];u.defaults(s||(s={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var r={type:n,dataType:"json"};if(s.url||(r.url=u.result(i,"url")||O()),null!=s.data||!i||"create"!==e&&"update"!==e&&"patch"!==e||(r.contentType="application/json",r.data=JSON.stringify(s.attrs||i.toJSON(s))),s.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),s.emulateHTTP&&("PUT"===n||"DELETE"===n||"PATCH"===n)){r.type="POST",s.emulateJSON&&(r.data._method=n);var a=s.beforeSend;s.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",n),a)return a.apply(this,arguments)}}"GET"===r.type||s.emulateJSON||(r.processData=!1),"PATCH"!==r.type||!window.ActiveXObject||window.external&&window.external.msActiveXFilteringEnabled||(r.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var o=s.xhr=t.ajax(u.extend(r,s));return i.trigger("request",i,o,s),o};var x={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var E=t.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,S=/(\(\?)?:\w+/g,T=/\*\w+/g,$=/[\-{}\[\]+?.,\\\^$|#\s]/g;u.extend(E.prototype,c,{initialize:function(){},route:function(e,i,s){u.isRegExp(e)||(e=this._routeToRegExp(e)),u.isFunction(i)&&(s=i,i=""),s||(s=this[i]);var n=this;return t.history.route(e,function(r){var a=n._extractParameters(e,r);s&&s.apply(n,a),n.trigger.apply(n,["route:"+i].concat(a)),n.trigger("route",i,a),t.history.trigger("route",n,i,a)}),this},navigate:function(e,i){return t.history.navigate(e,i),this},_bindRoutes:function(){if(this.routes){this.routes=u.result(this,"routes");for(var t,e=u.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace($,"\\$&").replace(k,"(?:$1)?").replace(S,function(t,e){return e?t:"([^/]+)"}).replace(T,"(.*?)"),new RegExp("^"+t+"$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return u.map(i,function(t){return t?decodeURIComponent(t):null})}});var H=t.History=function(){this.handlers=[],u.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},A=/^[#\/]|\s+$/g,I=/^\/+|\/+$/g,N=/msie [\w.]+/,P=/\/$/;H.started=!1,u.extend(H.prototype,c,{interval:50,getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(null==t)if(this._hasPushState||!this._wantsHashChange||e){t=this.location.pathname;var i=this.root.replace(P,"");t.indexOf(i)||(t=t.substr(i.length))}else t=this.getHash();return t.replace(A,"")},start:function(e){if(H.started)throw new Error("Backbone.history has already been started");H.started=!0,this.options=u.extend({},{root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var i=this.getFragment(),s=document.documentMode,n=N.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(I,"/"),n&&this._wantsHashChange&&(this.iframe=t.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(i)),this._hasPushState?t.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!n?t.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=i;var r=this.location,a=r.pathname.replace(/[^\/]$/,"$&/")===this.root;return this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!a?(this.fragment=this.getFragment(null,!0),this.location.replace(this.root+this.location.search+"#"+this.fragment),!0):(this._wantsPushState&&this._hasPushState&&a&&r.hash&&(this.fragment=this.getHash().replace(A,""),this.history.replaceState({},document.title,this.root+this.fragment+r.search)),this.options.silent?void 0:this.loadUrl())},stop:function(){t.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),clearInterval(this._checkUrlInterval),H.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.getFragment(this.getHash(this.iframe))),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()||this.loadUrl(this.getHash())},loadUrl:function(t){var e=this.fragment=this.getFragment(t);return u.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})},navigate:function(t,e){if(!H.started)return!1;if(e&&!0!==e||(e={trigger:e}),t=this.getFragment(t||""),this.fragment!==t){this.fragment=t;var i=this.root+t;if(this._hasPushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}e.trigger&&this.loadUrl(t)}}
12617,_updateHash:function(t,e,i){if(i){var s=t.href.replace(/(javascript:|#).*$/,"");t.replace(s+"#"+e)}else t.hash="#"+e}}),t.history=new H,p.extend=v.extend=E.extend=y.extend=H.extend=function(t,e){var i,s=this;i=t&&u.has(t,"constructor")?t.constructor:function(){return s.apply(this,arguments)},u.extend(i,s,e);var n=function(){this.constructor=i};return n.prototype=s.prototype,i.prototype=new n,t&&u.extend(i.prototype,t),i.__super__=s.prototype,i};var O=function(){throw new Error('A "url" property or function must be specified')},C=function(t,e){var i=e.error;e.error=function(s){i&&i(t,s,e),t.trigger("error",t,s,e)}}}).call(this)}).call(window)}}]); 12618}catch(e){WRMCB(e)}; 12619; 12620try { 12621/* module-key = 'com.atlassian.auiplugin:common-runtime', location = 'aui.chunk.5cadc513011706a8--fb0d046350501293.js' */ 12622(()=>{"use strict";var e,r,t,o,n={},a={};function i(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={exports:{}};return n[e].call(t.exports,t,t.exports,i),t.exports}i.m=n,"u">typeof AJS&&(i.p=AJS.contextPath()+"/s/68d33622-46fd-406b-8840-5a5ade91b9fe/_/download/resources/com.atlassian.auiplugin:assets-68d33622-46fd-406b-8840-5a5ade91b9fe/"),i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e=[],i.O=(r,t,o,n)=>{if(t){n=n||0;for(var a=e.length;a>0&&e[a-1][2]>n;a--)e[a]=e[a-1];e[a]=[t,o,n];return}for(var u=1/0,a=0;a<e.length;a++){for(var[t,o,n]=e[a],l=!0,s=0;s<t.length;s++)(!1&n||u>=n)&&Object.keys(i.O).every(e=>i.O[e](t[s]))?t.splice(s--,1):(l=!1,n<u&&(u=n));if(l){e.splice(a--,1);var f=o();void 0!==f&&(r=f)}}return r},i.rv=()=>"1.7.7",r={1360:0,1861:0,1925:0,1935:0,3146:0,3692:0,3744:0,3882:0,3938:0,4002:0,4581:0,4876:0,5262:0,6635:0,7619:0,7625:0,781:0,874:0,8976:0,9141:0,9284:0},i.O.j=e=>0===r[e],t=(e,t)=>{var o,n,[a,u,l]=t,s=0;if(a.some(e=>0!==r[e])){for(o in u)i.o(u,o)&&(i.m[o]=u[o]);if(l)var f=l(i)}for(e&&e(t);s<a.length;s++)n=a[s],i.o(r,n)&&r[n]&&r[n][0](),r[n]=0;return i.O(f)},(o=globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o)),i.ruid="[email protected]"})(); 12623}catch(e){WRMCB(e)}; 12624; 12625try { 12626/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--fa85ea364a', location = 'aui.chunk.cb04a43bd9960856--d4fb79274e83fb1e.js' */ 12627(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5889"],{4171(n,t,r){Object.defineProperty(t,"__esModule",{value:!0});var e="1.13.8",u="object"==typeof self&&self.self===self&&self||"object"==typeof r.g&&r.g.global===r.g&&r.g||Function("return this")()||{},i=Array.prototype,o=Object.prototype,a="u">typeof Symbol?Symbol.prototype:null,f=i.push,c=i.slice,l=o.toString,s=o.hasOwnProperty,p="u">typeof ArrayBuffer,v="u">typeof DataView,h=Array.isArray,y=Object.keys,d=Object.create,g=p&&ArrayBuffer.isView,b=isNaN,m=isFinite,j=!({toString:null}).propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function w(n,t){return t=null==t?n.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),e=Array(r),u=0;u<r;u++)e[u]=arguments[u+t];switch(t){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(t+1);for(u=0;u<t;u++)i[u]=arguments[u];return i[t]=e,n.apply(this,i)}}function x(n){var t=typeof n;return"function"===t||"object"===t&&!!n}function A(n){return null===n}function S(n){return void 0===n}function O(n){return!0===n||!1===n||"[object Boolean]"===l.call(n)}function E(n){return!!(n&&1===n.nodeType)}function k(n){var t="[object "+n+"]";return function(n){return l.call(n)===t}}var M=k("String"),B=k("Number"),I=k("Date"),N=k("RegExp"),R=k("Error"),T=k("Symbol"),D=k("ArrayBuffer"),V=k("Function"),F=u.document&&u.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof F&&(V=function(n){return"function"==typeof n});var q=V,z=k("Object"),P=v&&(!/\[native code\]/.test(String(DataView))||z(new DataView(new ArrayBuffer(8)))
vendor: 4,317 bytes, line 12627
12627),W="u">typeof Map&&z(new Map),U=k("DataView"),K=P?function(n){return null!=n&&q(n.getInt8)&&D(n.buffer)}:U,L=h||k("Array");function C(n,t){return null!=n&&s.call(n,t)}var $=k("Arguments");!function(){$(arguments)||($=function(n){return C(n,"callee")})}();var J=$;function G(n){return!T(n)&&m(n)&&!isNaN(parseFloat(n))}function H(n){return B(n)&&b(n)}function Q(n){return function(){return n}}function X(n){return function(t){var r=n(t);return"number"==typeof r&&r>=0&&r<=0x1fffffffffffff}}function Y(n){return function(t){return null==t?void 0:t[n]}}var Z=Y("byteLength"),nn=X(Z),nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,nr=p?function(n){return g?g(n)&&!K(n):nn(n)&&nt.test(l.call(n))}:Q(!1),ne=Y("length");function nu(n,t){t=function(n){for(var t={},r=n.length,e=0;e<r;++e)t[n[e]]=!0;return{contains:function(n){return!0===t[n]},push:function(r){return t[r]=!0,n.push(r)}}}(t);var r=_.length,e=n.constructor,u=q(e)&&e.prototype||o,i="constructor";for(C(n,i)&&!t.contains(i)&&t.push(i);r--;)(i=_[r])in n&&n[i]!==u[i]&&!t.contains(i)&&t.push(i)}function ni(n){if(!x(n))return[];if(y)return y(n);var t=[];for(var r in n)C(n,r)&&t.push(r);return j&&nu(n,t),t}function no(n){if(null==n)return!0;var t=ne(n);return"number"==typeof t&&(L(n)||M(n)||J(n))?0===t:0===ne(ni(n))}function na(n,t){var r=ni(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0}function nf(n){return n instanceof nf?n:this instanceof nf?void(this._wrapped=n):new nf(n)}function nc(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,Z(n))}nf.VERSION=e,nf.prototype.value=function(){return this._wrapped},nf.prototype.valueOf=nf.prototype.toJSON=nf.prototype.value,nf.prototype.toString=function(){return String(this._wrapped)};var nl="[object DataView]";function ns(n,t){for(var r=[{a:n,b:t}],e=[],u=[];r.length;){var i=r.pop();if(!0===i){e.pop(),u.pop();continue}if((n=i.a)===(t=i.b)){if(0!==n||1/n==1/t)continue;return!1}if(null==n||null==t)return!1;if(n!=n){if(t!=t)continue;return!1}var o=typeof n;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;n instanceof nf&&(n=n._wrapped),t instanceof nf&&(t=t._wrapped);var f=l.call(n);if(f!==l.call(t))return!1;if(P&&"[object Object]"==f&&K(n)){if(!K(t))return!1;f=nl}switch(f){case"[object RegExp]":case"[object String]":if(""+n==""+t)continue;return!1;case"[object Number]":r.push({a:+n,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+n==+t)continue;return!1;case"[object Symbol]":if(a.valueOf.call(n)===a.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case nl:r.push({a:nc(n),b:nc(t)});continue}var c="[object Array]"===f;if(!c&&nr(n)){if(Z(n)!==Z(t))return!1;if(n.buffer===t.buffer&&n.byteOffset===t.byteOffset)continue;c=!0}if(!c){if("object"!=typeof n||"object"!=typeof t)return!1;var s=n.constructor,p=t.constructor;if(s!==p&&!(q(s)&&s instanceof s&&q(p)&&p instanceof p)&&"constructor"in n&&"constructor"in t)return!1}for(var v=e.length;v--;)if(e[v]===n){if(u[v]===t)break;return!1}if(!(v>=0))if(e.push(n),u.push(t),r.push(!0),c){if((v=n.length)!==t.length)return!1;for(;v--;)r.push({a:n[v],b:t[v]})}else{var h,y=ni(n);if(v=y.length,ni(t).length!==v)return!1;for(;v--;){if(!C(t,h=y[v]))return!1;r.push({a:n[h],b:t[h]})}}}return!0}function np(n){if(!x(n))return[];var t=[];for(var r in n)t.push(r);return j&&nu(n,t),t}function nv(n){var t=ne(n);return function(r){if(null==r||ne(np(r)))return!1;for(var e=0;e<t;e++)if(!q(r[n[e]]))return!1;return n!==nb||!q(r[nh])}}var nh="forEach",ny=["clear","delete"],nd=["get","has","set"],ng=ny.concat(nh,nd),nb=ny.concat(nd),nm=["add"].concat(ny,nh,"has"),nj=W?nv(ng):k("Map"),n_=W?nv(nb):k("WeakMap"),nw=W?nv(nm):k("Set"),nx=k("WeakSet");function nA(n){for(var t=ni(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function nS(n){for(var t=ni(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e}function nO(n){for(var t={},r=ni(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function nE(n){var t=[];for(var r in n)q(n[r])&&t.push(r);return t.sort()}function nk(n,t){return function(r){var e=arguments.length;if(t&&(r=Object(r)),e<2||null==r)return r;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];t&&void 0!==r[c]||(r[c]=i[c])}return r}}
vendor: 5,063 bytes, line 12627
12627var nM=nk(np),nB=nk(ni),nI=nk(np,!0);function nN(n){if(!x(n))return{};if(d)return d(n);var t=function(){};t.prototype=n;var r=new t;return t.prototype=null,r}function nR(n,t){var r=nN(n);return t&&nB(r,t),r}function nT(n){return x(n)?L(n)?n.slice():nM({},n):n}function nD(n,t){return t(n),n}function nV(n){return L(n)?n:[n]}function nF(n){return nf.toPath(n)}function nq(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function nz(n,t,r){var e=nq(n,nF(t));return S(e)?r:e}function nP(n,t){for(var r=(t=nF(t)).length,e=0;e<r;e++){var u=t[e];if(!C(n,u))return!1;n=n[u]}return!!r}function nW(n){return n}function nU(n){return n=nB({},n),function(t){return na(t,n)}}function nK(n){return n=nF(n),function(t){return nq(t,n)}}function nL(n,t,r){if(void 0===t)return n;switch(null==r?3:r){case 1:return function(r){return n.call(t,r)};case 3:return function(r,e,u){return n.call(t,r,e,u)};case 4:return function(r,e,u,i){return n.call(t,r,e,u,i)}}return function(){return n.apply(t,arguments)}}function nC(n,t,r){return null==n?nW:q(n)?nL(n,t,r):x(n)&&!L(n)?nU(n):nK(n)}function n$(n,t){return nC(n,t,1/0)}function nJ(n,t,r){return nf.iteratee!==n$?nf.iteratee(n,t):nC(n,t,r)}function nG(n,t,r){t=nJ(t,r);for(var e=ni(n),u=e.length,i={},o=0;o<u;o++){var a=e[o];i[a]=t(n[a],a,n)}return i}function nH(){}function nQ(n){return null==n?nH:function(t){return nz(n,t)}}function nX(n,t,r){var e=Array(Math.max(0,n));t=nL(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e}function nY(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}nf.toPath=nV,nf.iteratee=n$;var nZ=Date.now||function(){return new Date().getTime()};function n0(n){var t=function(t){return n[t]},r="(?:"+ni(n).join("|")+")",e=RegExp(r),u=RegExp(r,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,t):n}}var n1={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},n2=n0(n1),n8=n0(nO(n1)),n3=nf.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},n4=/(.)^/,n6={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},n9=/\\|'|\r|\n|\u2028|\u2029/g;function n7(n){return"\\"+n6[n]}var n5=/^\s*(\w|\$)+\s*$/;function tn(n,t,r){!t&&r&&(t=r);var e,u=RegExp([((t=nI({},t,nf.templateSettings)).escape||n4).source,(t.interpolate||n4).source,(t.evaluate||n4).source].join("|")+"|$","g"),i=0,o="__p+='";n.replace(u,function(t,r,e,u,a){return o+=n.slice(i,a).replace(n9,n7),i=a+t.length,r?o+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?o+="'+\n((__t=("+e+"))==null?'':__t)+\n'":u&&(o+="';\n"+u+"\n__p+='"),t}),o+="';\n";var a=t.variable;if(a){if(!n5.test(a))throw Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{e=Function(a,"_",o)}catch(n){throw n.source=o,n}var f=function(n){return e.call(this,n,nf)};return f.source="function("+a+"){\n"+o+"}",f}function tt(n,t,r){var e=(t=nF(t)).length;if(!e)return q(r)?r.call(n):r;for(var u=0;u<e;u++){var i=null==n?void 0:n[t[u]];void 0===i&&(i=r,u=e),n=q(i)?i.call(n):i}return n}var tr=0;function te(n){var t=++tr+"";return n?n+t:t}function tu(n){var t=nf(n);return t._chain=!0,t}function ti(n,t,r,e,u){if(!(e instanceof t))return n.apply(r,u);var i=nN(n.prototype),o=n.apply(i,u);return x(o)?o:i}var to=w(function(n,t){var r=to.placeholder,e=function(){for(var u=0,i=t.length,o=Array(i),a=0;a<i;a++)o[a]=t[a]===r?arguments[u++]:t[a];for(;u<arguments.length;)o.push(arguments[u++]);return ti(n,e,this,this,o)};return e});to.placeholder=nf;var ta=w(function(n,t,r){if(!q(n))throw TypeError("Bind must be called on a function");var e=w(function(u){return ti(n,e,t,this,r.concat(u))});return e}),tf=X(ne);function tc(n,t,r){t||0===t||(t=1/0);for(var e=[],u=0,i=0,o=ne(n)||0,a=[];;){if(i>=o){if(!a.length)break;var f=a.pop();i=f.i,o=ne(n=f.v);continue}var c=n[i++];a.length>=t?e[u++]=c:tf(c)&&(L(c)||J(c))?(a.push({i:i,v:n}),i=0,o=ne(n=c)):r||(e[u++]=c)}return e}var tl=w(function(n,t){var r=(t=tc(t,!1,!1)).length;if(r<1)throw Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=ta(n[e],n)}return n});function ts(n,t){var r=function(e){var u=r.cache,i=""+(t?t.apply(this,arguments):e);return C(u,i)||(u[i]=n.apply(this,arguments)),u[i]};return r.cache={},r}var tp=w(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),tv=to(tp,nf,1);function th(n,t,r){var e,u,i,o,a=0;r||(r={});var f=function(){a=!1===r.leading?0:nZ(),e=null,o=n.apply(u,i),e||(u=i=null)},c=function(){var c=nZ();a||!1!==r.leading||(a=c);var l=t-(c-a);return u=this,i=arguments,l<=0||l>t?(e&&(clearTimeout(e),e=null),a=c,o=n.apply(u,i),e||(u=i=null)):e||!1===r.trailing||(e=setTimeout(f,l)),o};return c.cancel=function(){clearTimeout(e),a=0,e=u=i=null},c}function ty(n,t,r){var e,u,i,o,a,f=function(){var c=nZ()-u;t>c?e=setTimeout(f,t-c):(e=null,r||(o=n.apply(a,i)),e||(i=a=null))},c=w(function(c){return a=this,i=c,u=nZ(),!e&&(e=setTimeout(f,t),r&&(
vendor: 7,608 bytes, line 12627
12627o=n.apply(a,i))),o});return c.cancel=function(){clearTimeout(e),e=i=a=null},c}function td(n,t){return to(t,n)}function tg(n){return function(){return!n.apply(this,arguments)}}function tb(){var n=arguments,t=n.length-1;return function(){for(var r=t,e=n[t].apply(this,arguments);r--;)e=n[r].call(this,e);return e}}function tm(n,t){return function(){if(--n<1)return t.apply(this,arguments)}}function tj(n,t){var r;return function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var t_=to(tj,2);function tw(n,t,r){t=nJ(t,r);for(var e,u=ni(n),i=0,o=u.length;i<o;i++)if(t(n[e=u[i]],e,n))return e}function tx(n){return function(t,r,e){r=nJ(r,e);for(var u=ne(t),i=n>0?0:u-1;i>=0&&i<u;i+=n)if(r(t[i],i,t))return i;return -1}}var tA=tx(1),tS=tx(-1);function tO(n,t,r,e){for(var u=(r=nJ(r,e,1))(t),i=0,o=ne(n);i<o;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i}function tE(n,t,r){return function(e,u,i){var o=0,a=ne(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(r&&i&&a)return i=r(e,u),e[i]===u?i:-1;if(u!=u)return(i=t(c.call(e,o,a),H))>=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 tk=tE(1,tA,tO),tM=tE(-1,tS);function tB(n,t,r){var e=(tf(n)?tA:tw)(n,t,r);if(void 0!==e&&-1!==e)return n[e]}function tI(n,t){return tB(n,nU(t))}function tN(n,t,r){if(t=nL(t,r),tf(n))for(e=0,u=n.length;e<u;e++)t(n[e],e,n);else{var e,u,i=ni(n);for(e=0,u=i.length;e<u;e++)t(n[i[e]],i[e],n)}return n}function tR(n,t,r){t=nJ(t,r);for(var e=!tf(n)&&ni(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i}function tT(n){var t=function(t,r,e,u){var i=!tf(t)&&ni(t),o=(i||t).length,a=n>0?0:o-1;for(u||(e=t[i?i[a]:a],a+=n);a>=0&&a<o;a+=n){var f=i?i[a]:a;e=r(e,t[f],f,t)}return e};return function(n,r,e,u){var i=arguments.length>=3;return t(n,nL(r,u,4),e,i)}}var tD=tT(1),tV=tT(-1);function tF(n,t,r){var e=[];return t=nJ(t,r),tN(n,function(n,r,u){t(n,r,u)&&e.push(n)}),e}function tq(n,t,r){return tF(n,tg(nJ(t)),r)}function tz(n,t,r){t=nJ(t,r);for(var e=!tf(n)&&ni(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0}function tP(n,t,r){t=nJ(t,r);for(var e=!tf(n)&&ni(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1}function tW(n,t,r,e){return tf(n)||(n=nA(n)),("number"!=typeof r||e)&&(r=0),tk(n,t,r)>=0}var tU=w(function(n,t,r){var e,u;return q(t)?u=t:(e=(t=nF(t)).slice(0,-1),t=t[t.length-1]),tR(n,function(n){var i=u;if(!i){if(e&&e.length&&(n=nq(n,e)),null==n)return;i=n[t]}return null==i?i:i.apply(n,r)})});function tK(n,t){return tR(n,nK(t))}function tL(n,t){return tF(n,nU(t))}function tC(n,t,r){var e,u,i=-1/0,o=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof n[0]&&null!=n){n=tf(n)?n:nA(n);for(var a=0,f=n.length;a<f;a++)null!=(e=n[a])&&e>i&&(i=e)}else t=nJ(t,r),tN(n,function(n,r,e){((u=t(n,r,e))>o||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i}function t$(n,t,r){var e,u,i=1/0,o=1/0;if(null==t||"number"==typeof t&&"object"!=typeof n[0]&&null!=n){n=tf(n)?n:nA(n);for(var a=0,f=n.length;a<f;a++)null!=(e=n[a])&&e<i&&(i=e)}else t=nJ(t,r),tN(n,function(n,r,e){((u=t(n,r,e))<o||u===1/0&&i===1/0)&&(i=n,o=u)});return i}var tJ=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function tG(n){return n?L(n)?c.call(n):M(n)?n.match(tJ):tf(n)?tR(n,nW):nA(n):[]}function tH(n,t,r){if(null==t||r)return tf(n)||(n=nA(n)),n[nY(n.length-1)];var e=tG(n),u=ne(e);t=Math.max(Math.min(t,u),0);for(var i=u-1,o=0;o<t;o++){var a=nY(o,i),f=e[o];e[o]=e[a],e[a]=f}return e.slice(0,t)}function tQ(n){return tH(n,1/0)}function tX(n,t,r){var e=0;return t=nJ(t,r),tK(tR(n,function(n,r,u){return{value:n,index:e++,criteria:t(n,r,u)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||void 0===r)return 1;if(r<e||void 0===e)return -1}return n.index-t.index}),"value")}function tY(n,t){return function(r,e,u){var i=t?[[],[]]:{};return e=nJ(e,u),tN(r,function(t,u){var o=e(t,u,r);n(i,t,o)}),i}}var tZ=tY(function(n,t,r){C(n,r)?n[r].push(t):n[r]=[t]}),t0=tY(function(n,t,r){n[r]=t}),t1=tY(function(n,t,r){C(n,r)?n[r]++:n[r]=1}),t2=tY(function(n,t,r){n[+!r].push(t)},!0);function t8(n){return null==n?0:tf(n)?n.length:ni(n).length}function t3(n,t,r){return t in r}var t4=w(function(n,t){var r={},e=t[0];if(null==n)return r;q(e)?(t.length>1&&(e=nL(e,t[1])),t=np(n)):(e=t3,t=tc(t,!1,!1),n=Object(n));for(var u=0,i=t.length;u<i;u++){var o=t[u],a=n[o];e(a,o,n)&&(r[o]=a)}return r}),t6=w(function(n,t){var r,e=t[0];return q(e)?(e=tg(e),t.length>1&&(r=t[1])):(t=tR(tc(t,!1,!1),String),e=function(n,r){return!tW(t,r)}),t4(n,e,r)});function t9(n,t,r){return c.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function t7(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:t9(n,n.length-t)}function t5(n,t,r){return c.call(n,null==t||r?1:t)}function rn(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:t5(n,Math.max(0,n.length-t))}function rt(n){return tF(n,Boolean)}function rr(n,t){return tc(n,t,!1)}var re=w(function(n,t){return t=tc(t,!0,!0),tF(n,function(n){return!tW(t,n)})}),ru=w(function(n,t){return re(n,t)});function ri(n,t,r,e){O(t)||(e=r,r=t,t=!1),null!=r&&(r=nJ(r,e));for(var u=[],i=[],o=0,a=ne(n);o<a;o++){var f=n[o],c=r?r(f,o,n):f;t&&!r?(o&&i===c||u.push(f),i=c):r?tW(i,c)||(i.push(c),u.push(f)):tW(u,f)||u.push(f)}return u}var ro=w(function(n){return ri(tc(n,!0,!0))});function ra(n){for(var t=[],r=arguments.length,e=0,u=ne(n);e<u;e++){var i,o=n[e];if(!tW(t,o)){for(i=1;i<r&&tW(arguments[i],o);i++);i===r&&t.push(o)}}return t}function rf(n){for(var t=n&&tC(n,ne).length||0,r=Array(t),e=0;e<t;e++)r[e]=tK(n,e);return r}var rc=w(rf);function rl(n,t){for(var r={},e=0,u=ne(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r}function rs(n,t,r){null==t&&(t=n||0,n=0),r||(r=t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;i<e;i++,n+=r)u[i]=n;return u}function rp(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(c.call(n,e,e+=t));return r}function rv(n,t){return n._chain?nf(t).chain():t}function rh(n){return tN(nE(n),function(t){var r=nf[t]=n[t];nf.prototype[t]=function(){var n=[this._wrapped];return f.apply(n,arguments),rv(this,r.apply(nf,n))}}),nf}tN(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=i[n];nf.prototype[n]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),("shift"===n||"splice"===n)&&0===r.length&&delete r[0]),rv(this,r)}}),tN(["concat","join","slice"],function(n){var t=i[n];nf.prototype[n]=function(){var n=this._wrapped;return null!=n&&(n=t.apply(n,arguments)),rv(this,n)}});var ry=rh({__proto__:null,VERSION:e,restArguments:w,isObject:x,isNull:A,isUndefined:S,isBoolean:O,isElement:E,isString:M,isNumber:B,isDate:I,isRegExp:N,isError:R,isSymbol:T,isArrayBuffer:D,isDataView:K,isArray:L,isFunction:q,isArguments:J,isFinite:G,isNaN:H,isTypedArray:nr,isEmpty:no,isMatch:na,isEqual:ns,isMap:nj,isWeakMap:n_,isSet:nw,isWeakSet:nx,keys:ni,allKeys:np,values:nA,pairs:nS,invert:nO,functions:nE,methods:nE,extend:nM,extendOwn:nB,assign:nB,defaults:nI,create:nR,clone:nT,tap:nD,get:nz,has:nP,mapObject:nG,identity:nW,constant:Q,noop:nH,toPath:nV,property:nK,propertyOf:nQ,matcher:nU,matches:nU,times:nX,random:nY,now:nZ,escape:n2,unescape:n8,templateSettings:n3,template:tn,result:tt,uniqueId:te,chain:tu,iteratee:n$,partial:to,bind:ta,bindAll:tl,memoize:ts,delay:tp,defer:tv,throttle:th,debounce:ty,wrap:td,negate:tg,compose:tb,after:tm,before:tj,once:t_,findKey:tw,findIndex:tA,findLastIndex:tS,sortedIndex:tO,indexOf:tk,lastIndexOf:tM,find:tB,detect:tB,findWhere:tI,each:tN,forEac
12627h:tN,map:tR,collect:tR,reduce:tD,foldl:tD,inject:tD,reduceRight:tV,foldr:tV,filter:tF,select:tF,reject:tq,every:tz,all:tz,some:tP,any:tP,contains:tW,includes:tW,include:tW,invoke:tU,pluck:tK,where:tL,max:tC,min:t$,shuffle:tQ,sample:tH,sortBy:tX,groupBy:tZ,indexBy:t0,countBy:t1,partition:t2,toArray:tG,size:t8,pick:t4,omit:t6,first:t7,head:t7,take:t7,initial:t9,last:rn,rest:t5,tail:t5,drop:t5,compact:rt,flatten:rr,without:ru,uniq:ri,unique:ri,union:ro,intersection:ra,difference:re,unzip:rf,transpose:rf,zip:rc,object:rl,range:rs,chunk:rp,mixin:rh,default:nf});ry._=ry,t.VERSION=e,t._=ry,t._escape=n2,t._unescape=n8,t.after=tm,t.allKeys=np,t.before=tj,t.bind=ta,t.bindAll=tl,t.chain=tu,t.chunk=rp,t.clone=nT,t.compact=rt,t.compose=tb,t.constant=Q,t.contains=tW,t.countBy=t1,t.create=nR,t.debounce=ty,t.defaults=nI,t.defer=tv,t.delay=tp,t.difference=re,t.each=tN,t.every=tz,t.extend=nM,t.extendOwn=nB,t.filter=tF,t.find=tB,t.findIndex=tA,t.findKey=tw,t.findLastIndex=tS,t.findWhere=tI,t.first=t7,t.flatten=rr,t.functions=nE,t.get=nz,t.groupBy=tZ,t.has=nP,t.identity=nW,t.indexBy=t0,t.indexOf=tk,t.initial=t9,t.intersection=ra,t.invert=nO,t.invoke=tU,t.isArguments=J,t.isArray=L,t.isArrayBuffer=D,t.isBoolean=O,t.isDataView=K,t.isDate=I,t.isElement=E,t.isEmpty=no,t.isEqual=ns,t.isError=R,t.isFinite=G,t.isFunction=q,t.isMap=nj,t.isMatch=na,t.isNaN=H,t.isNull=A,t.isNumber=B,t.isObject=x,t.isRegExp=N,t.isSet=nw,t.isString=M,t.isSymbol=T,t.isTypedArray=nr,t.isUndefined=S,t.isWeakMap=n_,t.isWeakSet=nx,t.iteratee=n$,t.keys=ni,t.last=rn,t.lastIndexOf=tM,t.map=tR,t.mapObject=nG,t.matcher=nU,t.max=tC,t.memoize=ts,t.min=t$,t.mixin=rh,t.negate=tg,t.noop=nH,t.now=nZ,t.object=rl,t.omit=t6,t.once=t_,t.pairs=nS,t.partial=to,t.partition=t2,t.pick=t4,t.pluck=tK,t.property=nK,t.propertyOf=nQ,t.random=nY,t.range=rs,t.reduce=tD,t.reduceRight=tV,t.reject=tq,t.rest=t5,t.restArguments=w,t.result=tt,t.sample=tH,t.shuffle=tQ,t.size=t8,t.some=tP,t.sortBy=tX,t.sortedIndex=tO,t.tap=nD,t.template=tn,t.templateSettings=n3,t.throttle=th,t.times=nX,t.toArray=tG,t.toPath=nV,t.union=ro,t.uniq=ri,t.uniqueId=te,t.unzip=rf,t.values=nA,t.where=tL,t.without=ru,t.wrap=td,t.zip=rc},8126(n,t,r){n.exports=r(4171)._}}]); 12628}catch(e){WRMCB(e)}; 12629; 12630try { 12631/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.fa85ea364a', location = 'aui.chunk.a3ce9b671719d8ad--6e13abef073bbeb5.js' */ 12632(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3590"],{9616(u,a,i){var n;void 0===(n=(function(u){return u}).apply(a,[i(8126)]))||(u.exports=n)}}]); 12633}catch(e){WRMCB(e)}; 12634; 12635try { 12636/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.vendor.underscore', location = 'aui.chunk.682109fc15295e22--701b5635b9092a96.js' */ 12637"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4502"],{128(e,n,i){i.r(n),i.d(n,{default:()=>a});var o=i(9616),u=i.n(o);let a=u();console.warn&&console.warn("Use of `window._` through AUI is deprecated and will be removed in AUI 10.0.0");let t=u();window._=t}},function(e){e.O(0,["3590","5889"],function(){return e(e.s=128)}),e.O()}]); 12638}catch(e){WRMCB(e)}; 12639; 12640try { 12641/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_backbone', location = 'backbone.js' */ 12642"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["backbone"],{2084:(n,e,o)=>{var c=o(4613),_=o.n(c);window.Backbone=_().noConflict()},1246:n=>{n.exports=require("underscore")}},n=>{n.O(0,["vendors-node_modules_backbone_backbone_js"],()=>n(n.s=2084)),n.O()}]); 12643}catch(e){WRMCB(e)}; 12644; 12645try { 12646/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-backbone', location = '/includes/js/amd/shim/backbone-amd.js' */ 12647define("backbone",["underscore","jquery"],function(){return Backbone}); 12648}catch(e){WRMCB(e)}; 12649; 12650try { 12651/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:wrm', location = '/includes/js/amd/shim/wrm-amd.js' */ 12652define("wrm",function(){return WRM}); 12653}catch(e){WRMCB(e)}; 12654; 12655try { 12656/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:module-exporter', location = '/includes/js/module-exporter.js' */ 12657define("confluence/module-exporter",[],function(){var g={namespace:function(a,c,b){var d=a.split(".");b=b||window;var h=d.length-1,e;for(e=0;e<h;e++){var f=b[d[e]];null!=f?b=f:(b[d[e]]={},b=b[d[e]])}f=b[d[e]];"undefined"===typeof f?a=c:"undefined"===typeof c?a=f:"object"!==typeof f||"object"!==typeof c?(window.console&&window.console.warn&&window.console.warn('Value of "'+a+'" ('+typeof f+" was overridden to be "+typeof c),a=c):(window.console&&window.console.warn&&window.console.warn('Properties of "'+ 12658a+'" were overwritten'),a=Object.assign(f,c));b[d[e]]=a||{};return b[d[e]]},safeRequire:function(a,c){define&&void 0===define.amd&&(a=require(a),c&&c(a))},exportModuleAsGlobal:function(a,c,b){g.safeRequire(a,function(d){g.namespace(c,d);b&&b(d)})}};return g}); 12659}catch(e){WRMCB(e)}; 12660; 12661try { 12662/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:format', location = '
12662js/data/format.js' */ 12663(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; 12664continue}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+ 126651,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})(); 12666}catch(e){WRMCB(e)}; 12667; 12668try { 12669/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:format', location = 'js/data/i18n.js' */ 12670(function(){const b={km:new Map,format:WRM.format,getText(a,...c){if(!b.km.has(a))return console.debug(`No translation found for '${a}'. Have you included the "jsI18n" transformation in your web-resource configuration?`),a;a=b.km.get(a);return b.format.apply(null,[a,...c])}};"function"===typeof define&&define("wrm/i18n",()=>b);WRM.I18n=b;AJS.I18n=b})(); 12671}catch(e){WRMCB(e)}; 12672; 12673try { 12674/* module-key = 'com.atlassian.soy.soy-template-plugin:soy-deps', location = 'js/soyutils.js' */ 12675/* 12676 * Copyright 2008 Google Inc. 12677 * 12678 * Licensed under the Apache License, Version 2.0 (the "License"); 12679 * you may not use this file except in compliance with the License. 12680 * You may obtain a copy of the License at 12681 * 12682 * http://www.apache.org/licenses/LICENSE-2.0 12683 * 12684 * Unless required by applicable law or agreed to in writing, software 12685 * distributed under the License is distributed on an "AS IS" BASIS, 12686 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12687 * See the License for the specific language governing permissions and 12688 * limitations under the License. 12689 */ 12690var goog=goog||{} 12691goog.global=this 12692COMPILED=!0 12693goog.global.CLOSURE_UNCOMPILED_DEFINES 12694goog.global.CLOSURE_DEFINES 12695goog.isDef=function(val){return void 0!==val} 12696goog.exportPath_=function(name,opt_object,opt_objectToExportTo){var part,parts=name.split("."),cur=opt_objectToExportTo||goog.global 12697!(parts[0]in cur)&&cur.execScript&&cur.execScript("var "+parts[0]) 12698for(;parts.length&&(part=parts.shift());)!parts.length&&goog.isDef(opt_object)?cur[part]=opt_object:cur=cur[part]?cur[part]:cur[part]={}} 12699goog.define=function(name,defaultValue){var value=defaultValue 12700COMPILED||(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])) 12701goog.exportPath_(name,value)} 12702goog.DEBUG=!0 12703goog.define("goog.LOCALE","en") 12704goog.define("goog.TRUSTED_SITE",!0) 12705goog.define("goog.STRICT_MODE_COMPATIBLE",!1) 12706goog.define("goog.DISALLOW_TEST_ONLY_CODE",COMPILED&&!goog.DEBUG) 12707goog.provide=function(name){if(!COMPILED&&goog.isProvided_(name))throw Error('Namespace "'+name+'" already declared.') 12708goog.constructNamespace_(name)} 12709goog.constructNamespace_=function(name,opt_obj){if(!COMPILED){delete goog.implicitNamespaces_[name] 12710for(var namespace=name;(namespace=namespace.substring(0,namespace.lastIndexOf(".")))&&!goog.getObjectByName(namespace);)goog.implicitNamespaces_[namespace]=!0}goog.exportPath_(name,opt_obj)} 12711goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/ 12712goog.module=function(name){if(!goog.isString(name)||!name||-1==name.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier") 12713if(!goog.isInModuleLoader_())throw Error("Module "+name+" has been loaded incorrectly.") 12714if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.") 12715goog.moduleLoaderState_.moduleName=name
12716if(!COMPILED){if(goog.isProvided_(name))throw Error('Namespace "'+name+'" already declared.') 12717delete goog.implicitNamespaces_[name]}} 12718goog.module.get=function(name){return goog.module.getInternal_(name)} 12719goog.module.getInternal_=function(name){if(!COMPILED)return goog.isProvided_(name)?name in goog.loadedModules_?goog.loadedModules_[name]:goog.getObjectByName(name):null} 12720goog.moduleLoaderState_=null 12721goog.isInModuleLoader_=function(){return null!=goog.moduleLoaderState_} 12722goog.module.declareTestMethods=function(){if(!goog.isInModuleLoader_())throw new Error("goog.module.declareTestMethods must be called from within a goog.module") 12723goog.moduleLoaderState_.declareTestMethods=!0} 12724goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInModuleLoader_())throw new Error("goog.module.declareLegacyNamespace must be called from within a goog.module") 12725if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.") 12726goog.moduleLoaderState_.declareLegacyNamespace=!0} 12727goog.setTestOnly=function(opt_message){if(goog.DISALLOW_TEST_ONLY_CODE){opt_message=opt_message||"" 12728throw Error("Importing test-only code into non-debug environment"+(opt_message?": "+opt_message:"."))}} 12729goog.forwardDeclare=function(name){} 12730if(!COMPILED){goog.isProvided_=function(name){return name in goog.loadedModules_||!goog.implicitNamespaces_[name]&&goog.isDefAndNotNull(goog.getObjectByName(name))} 12731goog.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 12732cur=cur[part]}return cur} 12733goog.globalize=function(obj,opt_global){var global=opt_global||goog.global 12734for(var x in obj)global[x]=obj[x]} 12735goog.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 12736deps.pathIsModule[path]=!!opt_isModule}for(var j=0;require=requires[j];j++){path in deps.requires||(deps.requires[path]={}) 12737deps.requires[path][require]=!0}}} 12738goog.define("goog.ENABLE_DEBUG_LOADER",!0) 12739goog.logToConsole_=function(msg){goog.global.console&&goog.global.console.error(msg)} 12740goog.require=function(name){if(!COMPILED){goog.ENABLE_DEBUG_LOADER&&goog.IS_OLD_IE_&&goog.maybeProcessDeferredDep_(name) 12741if(goog.isProvided_(name))return goog.isInModuleLoader_()?goog.module.getInternal_(name):null 12742if(goog.ENABLE_DEBUG_LOADER){var path=goog.getPathFromDeps_(name) 12743if(path){goog.included_[path]=!0 12744goog.writeScripts_() 12745return null}}var errorMessage="goog.require could not find: "+name 12746goog.logToConsole_(errorMessage) 12747throw Error(errorMessage)}} 12748goog.basePath="" 12749goog.global.CLOSURE_BASE_PATH 12750goog.global.CLOSURE_NO_DEPS 12751goog.global.CLOSURE_IMPORT_SCRIPT 12752goog.nullFunction=function(){} 12753goog.identityFunction=function(opt_returnValue,var_args){return opt_returnValue} 12754goog.abstractMethod=function(){throw Error("unimplemented abstract method")} 12755goog.addSingletonGetter=function(ctor){ctor.getInstance=function(){if(ctor.instance_)return ctor.instance_ 12756goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=ctor) 12757return ctor.instance_=new ctor}} 12758goog.instantiatedSingletons_=[] 12759goog.define("goog.LOAD_MODULE_USING_EVAL",!0) 12760goog.define("goog.SEAL_MODULE_EXPORTS",goog.DEBUG) 12761goog.loadedModules_={} 12762goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER 12763if(goog.DEPENDENCIES_ENABLED){goog.included_={} 12764goog.dependencies_={pathIsModule:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}} 12765goog.inHtmlDocument_=function(){var doc=goog.global.document 12766return void 0!==doc&&"write"in doc} 12767goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH 12768else 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 12769if("base.js"==src.substr(l-7,7)){goog.basePath=src.substr(0,l-7) 12770return}}} 12771goog.importScript_=function(src,opt_sourceText){(goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_)(src,opt_sourceText)&&(goog.dependencies_.written[src]=!0)} 12772goog.IS_OLD_IE_=goog.global.document&&goog.global.document.all&&!goog.global.atob 12773goog.importModule_=function(src){var bootstrap='goog.retrieveAndExecModule_("'+src+'");'
12774goog.importScript_("",bootstrap)&&(goog.dependencies_.written[src]=!0)} 12775goog.queuedModules_=[] 12776goog.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"} 12777goog.loadQueuedModules_=function(){var count=goog.queuedModules_.length 12778if(count>0){var queue=goog.queuedModules_ 12779goog.queuedModules_=[] 12780for(var i=0;i<count;i++){var path=queue[i] 12781goog.maybeProcessDeferredPath_(path)}}} 12782goog.maybeProcessDeferredDep_=function(name){if(goog.isDeferredModule_(name)&&goog.allDepsAreAvailable_(name)){var path=goog.getPathFromDeps_(name) 12783goog.maybeProcessDeferredPath_(goog.basePath+path)}} 12784goog.isDeferredModule_=function(name){var path=goog.getPathFromDeps_(name) 12785if(path&&goog.dependencies_.pathIsModule[path]){return goog.basePath+path in goog.dependencies_.deferred}return!1} 12786goog.allDepsAreAvailable_=function(name){var path=goog.getPathFromDeps_(name) 12787if(path&&path in goog.dependencies_.requires)for(var requireName in goog.dependencies_.requires[path])if(!goog.isProvided_(requireName)&&!goog.isDeferredModule_(requireName))return!1 12788return!0} 12789goog.maybeProcessDeferredPath_=function(abspath){if(abspath in goog.dependencies_.deferred){var src=goog.dependencies_.deferred[abspath] 12790delete goog.dependencies_.deferred[abspath] 12791goog.globalEval(src)}} 12792goog.loadModule=function(moduleDef){var previousState=goog.moduleLoaderState_ 12793try{goog.moduleLoaderState_={moduleName:void 0,declareTestMethods:!1} 12794var exports 12795if(goog.isFunction(moduleDef))exports=moduleDef.call(goog.global,{}) 12796else{if(!goog.isString(moduleDef))throw Error("Invalid module definition") 12797exports=goog.loadModuleFromSource_.call(goog.global,moduleDef)}var moduleName=goog.moduleLoaderState_.moduleName 12798if(!goog.isString(moduleName)||!moduleName)throw Error('Invalid module name "'+moduleName+'"') 12799goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(moduleName,exports):goog.SEAL_MODULE_EXPORTS&&Object.seal&&Object.seal(exports) 12800goog.loadedModules_[moduleName]=exports 12801if(goog.moduleLoaderState_.declareTestMethods)for(var entry in exports)0!==entry.indexOf("test",0)&&"tearDown"!=entry&&"setUp"!=entry&&"setUpPage"!=entry&&"tearDownPage"!=entry||(goog.global[entry]=exports[entry])}finally{goog.moduleLoaderState_=previousState}} 12802goog.loadModuleFromSource_=function(source){"use strict" 12803var exports={} 12804eval(arguments[0]) 12805return exports} 12806goog.writeScriptTag_=function(src,opt_sourceText){if(goog.inHtmlDocument_()){var doc=goog.global.document 12807if("complete"==doc.readyState){if(/\bdeps.js$/.test(src))return!1 12808throw Error('Cannot write "'+src+'" after document load')}var isOldIE=goog.IS_OLD_IE_ 12809if(void 0===opt_sourceText)if(isOldIE){var state=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' " 12810doc.write('<script type="text/javascript" src="'+src+'"'+state+"><\/script>")}else doc.write('<script type="text/javascript" src="'+src+'"><\/script>') 12811else doc.write('<script type="text/javascript">'+opt_sourceText+"<\/script>") 12812return!0}return!1} 12813goog.lastNonModuleScriptIndex_=0 12814goog.onScriptLoad_=function(script,scriptIndex){"complete"==script.readyState&&goog.lastNonModuleScriptIndex_==scriptIndex&&goog.loadQueuedModules_() 12815return!0} 12816goog.writeScripts_=function(){var scripts=[],seenScript={},deps=goog.dependencies_ 12817function visitNode(path){if(!(path in deps.written))if(path in deps.visited){if(!(path in seenScript)){seenScript[path]=!0 12818scripts.push(path)}}else{deps.visited[path]=!0 12819if(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) 12820visitNode(deps.nameToPath[requireName])}if(!(path in seenScript)){seenScript[path]=!0 12821scripts.push(path)}}}for(var path in goog.included_)deps.written[path]||visitNode(path) 12822for(var i=0;i<scripts.length;i++){path=scripts[i] 12823goog.dependencies_.written[path]=!0}var moduleState=goog.moduleLoaderState_ 12824goog.moduleLoaderState_=null 12825for(i=0;i<scripts.length;i++){if(!(path=scripts[i])){goog.moduleLoaderState_=moduleState 12826throw Error("Undefined script input")}if(deps.pathIsModule[path]){0 12827goog.importModule_(goog.basePath+path)}else goog.importScript_(goog.basePath+path)}goog.moduleLoaderState_=moduleState} 12828goog.getPathFromDeps_=function(rule){return rule in goog.dependencies_.nameToPath?goog.dependencies_.nameToPath[rule]:null} 12829goog.findBasePath_() 12830goog.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++ 12831return components.join("/")} 12832goog.retrieveAndExecModule_=function(src){if(!COMPILED){var originalPath=src 12833src=goog.normalizePath_(src) 12834var importScript=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_,scriptText=null,xhr=new goog.global.XMLHttpRequest 12835xhr.onload=function(){scriptText=this.responseText} 12836xhr.open("get",src,!1) 12837xhr.send() 12838if(null==(scriptText=xhr.responseText))throw new Error("load of "+src+"failed") 12839var execModuleScript=goog.wrapModule_(src,scriptText) 12840if(goog.IS_OLD_IE_){goog.dependencies_.deferred[originalPath]=execModuleScript 12841goog.queuedModules_.push(originalPath)}else importScript(src,execModuleScript)}} 12842goog.typeOf=function(value){var s=typeof value 12843if("object"==s){if(!value)return"null" 12844if(value instanceof Array)return"array" 12845if(value instanceof Object)return s 12846var className=Object.prototype.toString.call(value) 12847if("[object Window]"==className)return"object" 12848if("[object Array]"==className||"number"==typeof value.length&&void 0!==value.splice&&void 0!==value.propertyIsEnumerable&&!value.propertyIsEnumerable("splice"))return"array" 12849if("[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" 12850return s} 12851goog.isNull=function(val){return null===val} 12852goog.isDefAndNotNull=function(val){return null!=val} 12853goog.isArray=function(val){return"array"==goog.typeOf(val)} 12854goog.isArrayLike=function(val){var type=goog.typeOf(val) 12855return"array"==type||"object"==type&&"number"==typeof val.length} 12856goog.isDateLike=function(val){return goog.isObject(val)&&"function"==typeof val.getFullYear} 12857goog.isString=function(val){return"string"==typeof val} 12858goog.isBoolean=function(val){return"boolean"==typeof val} 12859goog.isNumber=function(val){return"number"==typeof val} 12860goog.isFunction=function(val){return"function"==goog.typeOf(val)} 12861goog.isObject=function(val){var type=typeof val 12862return"object"==type&&null!=val||"function"==type} 12863goog.getUid=function(obj){return obj[goog.UID_PROPERTY_]||(obj[goog.UID_PROPERTY_]=++goog.uidCounter_)} 12864goog.hasUid=function(obj){return!!obj[goog.UID_PROPERTY_]} 12865goog.removeUid=function(obj){"removeAttribute"in obj&&obj.removeAttribute(goog.UID_PROPERTY_) 12866/** @preserveTry */ 12867try{delete obj[goog.UID_PROPERTY_]}catch(ex){}} 12868goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0) 12869goog.uidCounter_=0 12870goog.getHashCode=goog.getUid 12871goog.removeHashCode=goog.removeUid 12872goog.cloneObject=function(obj){var type=goog.typeOf(obj) 12873if("object"==type||"array"==type){if(obj.clone)return obj.clone() 12874var clone="array"==type?[]:{} 12875for(var key in obj)clone[key]=goog.cloneObject(obj[key]) 12876return clone}return obj}
12877goog.bindNative_=function(fn,selfObj,var_args){return fn.call.apply(fn.bind,arguments)} 12878goog.bindJs_=function(fn,selfObj,var_args){if(!fn)throw new Error 12879if(arguments.length>2){var boundArgs=Array.prototype.slice.call(arguments,2) 12880return function(){var newArgs=Array.prototype.slice.call(arguments) 12881Array.prototype.unshift.apply(newArgs,boundArgs) 12882return fn.apply(selfObj,newArgs)}}return function(){return fn.apply(selfObj,arguments)}} 12883goog.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_ 12884return goog.bind.apply(null,arguments)} 12885goog.partial=function(fn,var_args){var args=Array.prototype.slice.call(arguments,1) 12886return function(){var newArgs=args.slice() 12887newArgs.push.apply(newArgs,arguments) 12888return fn.apply(this,newArgs)}} 12889goog.mixin=function(target,source){for(var x in source)target[x]=source[x]} 12890goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date} 12891goog.globalEval=function(script){if(goog.global.execScript)goog.global.execScript(script,"JavaScript") 12892else{if(!goog.global.eval)throw Error("goog.globalEval not available") 12893if(null==goog.evalWorksForGlobals_){goog.global.eval("var _et_ = 1;") 12894if(void 0!==goog.global._et_){delete goog.global._et_ 12895goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(script) 12896else{var doc=goog.global.document,scriptElt=doc.createElement("script") 12897scriptElt.type="text/javascript" 12898scriptElt.defer=!1 12899scriptElt.appendChild(doc.createTextNode(script)) 12900doc.body.appendChild(scriptElt) 12901doc.body.removeChild(scriptElt)}}} 12902goog.evalWorksForGlobals_=null 12903goog.cssNameMapping_ 12904goog.cssNameMappingStyle_ 12905goog.getCssName=function(className,opt_modifier){var rename,getMapping=function(cssName){return goog.cssNameMapping_[cssName]||cssName} 12906rename=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])) 12907return mapped.join("-")}:function(a){return a} 12908return opt_modifier?className+"-"+rename(opt_modifier):rename(className)} 12909goog.setCssNameMapping=function(mapping,opt_style){goog.cssNameMapping_=mapping 12910goog.cssNameMappingStyle_=opt_style} 12911goog.global.CLOSURE_CSS_NAME_MAPPING 12912!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING) 12913goog.getMsg=function(str,opt_values){opt_values&&(str=str.replace(/\{\$([^}]+)}/g,function(match,key){return key in opt_values?opt_values[key]:match})) 12914return str} 12915goog.getMsgWithFallback=function(a,b){return a} 12916goog.exportSymbol=function(publicPath,object,opt_objectToExportTo){goog.exportPath_(publicPath,object,opt_objectToExportTo)} 12917goog.exportProperty=function(object,publicName,symbol){object[publicName]=symbol} 12918goog.inherits=function(childCtor,parentCtor){function tempCtor(){}tempCtor.prototype=parentCtor.prototype 12919childCtor.superClass_=parentCtor.prototype 12920childCtor.prototype=new tempCtor 12921childCtor.prototype.constructor=childCtor 12922childCtor.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] 12923return parentCtor.prototype[methodName].apply(me,args)}} 12924goog.base=function(me,opt_methodName,var_args){var caller=arguments.callee.caller 12925if(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") 12926if(caller.superClass_){for(var ctorArgs=new Array(arguments.length-1),i=1;i<arguments.length;i++)ctorArgs[i-1]=arguments[i] 12927return caller.superClass_.constructor.apply(me,ctorArgs)}var args=new Array(arguments.length-2) 12928for(i=2;i<arguments.length;i++)args[i-2]=arguments[i] 12929for(var foundCaller=!1,ctor=me.constructor;ctor;ctor=ctor.superClass_&&ctor.superClass_.constructor)if(ctor.prototype[opt_methodName]===caller)foundCaller=!0 12930else if(foundCaller)return ctor.prototype[opt_methodName].apply(me,args) 12931if(me[opt_methodName]===caller)return me.constructor.prototype[opt_methodName].apply(me,args) 12932throw Error("goog.base called from a method of one name to a method of a different name")} 12933goog.scope=function(fn){fn.call(goog.global)} 12934COMPILED||(goog.global.COMPILED=COMPILED) 12935goog.defineClass=function(superClass,def){var constructor=def.constructor,statics=def.statics 12936constructor&&constructor!=Object.prototype.constructor||(constructor=function(){throw Error("cannot instantiate an interface (no constructor defined).")}) 12937var cls=goog.defineClass.createSealingConstructor_(constructor,superClass) 12938superClass&&goog.inherits(cls,superClass) 12939delete def.constructor 12940delete def.statics 12941goog.defineClass.applyProperties_(cls.prototype,def) 12942null!=statics&&(statics instanceof Function?statics(cls):goog.defineClass.applyProperties_(cls,statics)) 12943return cls} 12944goog.defineClass.ClassDescriptor
12945goog.define("goog.defineClass.SEAL_CLASS_INSTANCES",goog.DEBUG) 12946goog.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 12947var wrappedCtr=function(){var instance=ctr.apply(this,arguments)||this 12948instance[goog.UID_PROPERTY_]=instance[goog.UID_PROPERTY_] 12949this.constructor===wrappedCtr&&Object.seal(instance) 12950return instance} 12951return wrappedCtr}return ctr} 12952goog.defineClass.OBJECT_PROTOTYPE_FIELDS_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"] 12953goog.defineClass.applyProperties_=function(target,source){var key 12954for(key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]) 12955for(var i=0;i<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;i++){key=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[i] 12956Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}} 12957goog.tagUnsealableClass=function(ctr){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(ctr.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)} 12958goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable" 12959goog.DEBUG=!1 12960goog.inherits=function(childCtor,parentCtor){function tempCtor(){}tempCtor.prototype=parentCtor.prototype 12961childCtor.superClass_=parentCtor.prototype 12962childCtor.prototype=new tempCtor 12963childCtor.prototype.constructor=childCtor 12964childCtor.base=function(me,methodName,var_args){var args=Array.prototype.slice.call(arguments,2) 12965return parentCtor.prototype[methodName].apply(me,args)}} 12966goog.userAgent||(goog.userAgent=function(){var userAgent="" 12967"undefined"!=typeof navigator&&navigator&&"string"==typeof navigator.userAgent&&(userAgent=navigator.userAgent) 12968var isOpera=0==userAgent.indexOf("Opera") 12969return{jscript:{HAS_JSCRIPT:"ScriptEngine"in this},OPERA:isOpera,IE:!isOpera&&-1!=userAgent.indexOf("MSIE"),WEBKIT:!isOpera&&-1!=userAgent.indexOf("WebKit")}}()) 12970goog.asserts||(goog.asserts={assert:function(condition){if(!condition)throw Error("Assertion error")},fail:function(var_args){}}) 12971if(!goog.dom){goog.dom={} 12972goog.dom.DomHelper=function(d){this.document_=d||document} 12973goog.dom.DomHelper.prototype.getDocument=function(){return this.document_} 12974goog.dom.DomHelper.prototype.createElement=function(name){return this.document_.createElement(name)} 12975goog.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) 12976if(numCharsWithoutBreak>=maxCharsBetweenWordBreaks&&32!=charCode){resultArr[resultArrLen++]=str.substring(flushIndex,i) 12977flushIndex=i 12978resultArr[resultArrLen++]=goog.format.WORD_BREAK 12979numCharsWithoutBreak=0}if(isInTag)62==charCode&&(isInTag=!1) 12980else if(isMaybeInEntity)switch(charCode){case 59:isMaybeInEntity=!1;++numCharsWithoutBreak 12981break 12982case 60:isMaybeInEntity=!1 12983isInTag=!0 12984break 12985case 32:isMaybeInEntity=!1 12986numCharsWithoutBreak=0}else switch(charCode){case 60:isInTag=!0 12987break 12988case 38:isMaybeInEntity=!0 12989break 12990case 32:numCharsWithoutBreak=0 12991break 12992default:++numCharsWithoutBreak}}resultArr[resultArrLen++]=str.substring(flushIndex) 12993return resultArr.join("")},WORD_BREAK:goog.userAgent.WEBKIT?"<wbr></wbr>":goog.userAgent.OPERA?"­":goog.userAgent.IE?"​":"<wbr>"}) 12994goog.i18n||(goog.i18n={bidi:{}}) 12995goog.i18n.bidi.IS_RTL=!1 12996goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0,UNKNOWN:0} 12997 12998;/** 12999 * Convert a directionality given in various formats to a goog.i18n.bidi.Dir 13000 * constant. Useful for interaction with different standards of directionality 13001 * representation. 13002 * 13003 * @param {goog.i18n.bidi.Dir|number|boolean|null} givenDir Directionality given 13004 * in one of the following formats: 13005 * 1. A goog.i18n.bidi.Dir constant. 13006 * 2. A number (positive = LTR, negative = RTL, 0 = neutral). 13007 * 3. A boolean (true = RTL, false = LTR). 13008 * 4. A null for unknown directionality. 13009 * @param {boolean=} opt_noNeutral Whether a givenDir of zero or 13010 * goog.i18n.bidi.Dir.NEUTRAL should be treated as null, i.e. unknown, in 13011 * order to preserve legacy behavior. 13012 * @return {?goog.i18n.bidi.Dir} A goog.i18n.bidi.Dir constant matching the 13013 * given directionality. If given null, returns null (i.e. unknown). 13014 */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} 13015goog.i18n.bidi.estimateDirection=function(str,opt_isHtml){for(var rtlC
13015ount=0,totalCount=0,hasWeaklyLtr=!1,tokens=soyshim.$$bidiStripHtmlIfNecessary_(str,opt_isHtml).split(soyshim.$$bidiWordSeparatorRe_),i=0;i<tokens.length;i++){var token=tokens[i] 13016if(soyshim.$$bidiRtlDirCheckRe_.test(token)){rtlCount++ 13017totalCount++}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} 13018goog.i18n.BidiFormatter=function(dir){this.dir_=goog.i18n.bidi.toDir(dir,!0)} 13019goog.i18n.BidiFormatter.prototype.getContextDir=function(){return this.dir_} 13020goog.i18n.BidiFormatter.prototype.knownDirAttr=function(dir){return dir&&dir!=this.dir_?dir<0?'dir="rtl"':'dir="ltr"':""} 13021goog.i18n.BidiFormatter.prototype.endEdge=function(){return this.dir_<0?"left":"right"} 13022goog.i18n.BidiFormatter.prototype.mark=function(){return this.dir_>0?"â":this.dir_<0?"â":""} 13023goog.i18n.BidiFormatter.prototype.markAfterKnownDir=function(textDir,text,opt_isHtml){null==textDir&&(textDir=goog.i18n.bidi.estimateDirection(text,opt_isHtml)) 13024return this.dir_>0&&(textDir<0||soyshim.$$bidiIsRtlExitText_(text,opt_isHtml))?"â":this.dir_<0&&(textDir>0||soyshim.$$bidiIsLtrExitText_(text,opt_isHtml))?"â":""} 13025goog.i18n.BidiFormatter.prototype.spanWrapWithKnownDir=function(textDir,str,placeholder){null==textDir&&(textDir=goog.i18n.bidi.estimateDirection(str,!0)) 13026var reset=this.markAfterKnownDir(textDir,str,!0) 13027textDir>0&&this.dir_<=0?str='<span dir="ltr">'+str+"</span>":textDir<0&&this.dir_>=0&&(str='<span dir="rtl">'+str+"</span>") 13028return str+reset} 13029goog.i18n.BidiFormatter.prototype.startEdge=function(){return this.dir_<0?"right":"left"} 13030goog.i18n.BidiFormatter.prototype.unicodeWrapWithKnownDir=function(textDir,str,opt_isHtml){null==textDir&&(textDir=goog.i18n.bidi.estimateDirection(str,opt_isHtml)) 13031var reset=this.markAfterKnownDir(textDir,str,opt_isHtml) 13032textDir>0&&this.dir_<=0?str="âª"+str+"â¬":textDir<0&&this.dir_>=0&&(str="â«"+str+"â¬") 13033return str+reset} 13034goog.string||(goog.string={newLineToBr:function(str,opt_xml){str=String(str) 13035return 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]/}) 13036goog.string.StringBuffer=function(opt_a1,var_args){this.buffer_=goog.userAgent.jscript.HAS_JSCRIPT?[]:"" 13037null!=opt_a1&&this.append.apply(this,arguments)} 13038goog.string.StringBuffer.prototype.bufferLength_=0 13039goog.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 13040else{var arr=this.buffer_ 13041arr.push.apply(arr,arguments) 13042this.bufferLength_=this.buffer_.length}else{this.buffer_+=a1 13043if(null!=opt_a2)for(var i=1;i<arguments.length;i++)this.buffer_+=arguments[i]}return this} 13044goog.string.StringBuffer.prototype.clear=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){this.buffer_.length=0 13045this.bufferLength_=0}else this.buffer_=""} 13046goog.string.StringBuffer.prototype.toString=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){var str=this.buffer_.join("") 13047this.clear() 13048str&&this.append(str) 13049return str}return this.buffer_} 13050goog.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:{}}) 13051goog.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}:{}} 13052goog.soy.data.SanitizedContent=function(){throw Error("Do not instantiate directly")} 13053goog.soy.data.SanitizedContent.prototype.contentKind 13054goog.soy.data.SanitizedContent.prototype.contentDir=null 13055goog.soy.data.SanitizedContent.prototype.content 13056goog.soy.data.SanitizedContent.prototype.toString=function(){return this.content} 13057var 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") 13058wrapper.innerHTML=template(opt_templateData||soyshim.$$DEFAULT_TEMPLATE_DATA_,void 0,opt_injectedData) 13059if(1==wrapper.childNodes.length){var firstChild=wrapper.firstChild 13060if(!opt_asElement||1==firstChild.nodeType)return firstChild}if(opt_asElement)return wrapper 13061for(var fragment=dom.createDocumentFragment();wrapper.firstChild;)fragment.appendChild(wrapper.firstChild) 13062return fragment},$$bidiStripHtmlIfNecessary_:function(str,opt_isHtml){return opt_isHtml?str.replace(soyshim.$$BIDI_HTML_SKIP_RE_,""):str},$$BIDI_HTML_SKIP_RE_:/<[^>]*>|&[^;]+;
13062/g,$$bidiLtrChars_:"A-Za-zÃ-ÃÃ-öø-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿",$$bidiRtlChars_:"Ö-ß¿âï¬-ï·¿ï¹°-ﻼ"} 13063soyshim.$$bidiRtlDirCheckRe_=new RegExp("^[^"+soyshim.$$bidiLtrChars_+"]*["+soyshim.$$bidiRtlChars_+"]") 13064soyshim.$$bidiLtrCharRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"]") 13065soyshim.$$bidiIsRequiredLtrRe_=/^http:\/\/.*/ 13066soyshim.$$bidiHasNumeralsRe_=/\d/ 13067soyshim.$$bidiWordSeparatorRe_=/\s+/ 13068soyshim.$$bidiRtlDetectionThreshold_=.4 13069soyshim.$$bidiLtrExitDirCheckRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"][^"+soyshim.$$bidiRtlChars_+"]*$") 13070soyshim.$$bidiRtlExitDirCheckRe_=new RegExp("["+soyshim.$$bidiRtlChars_+"][^"+soyshim.$$bidiLtrChars_+"]*$") 13071soyshim.$$bidiIsLtrExitText_=function(str,opt_isHtml){str=soyshim.$$bidiStripHtmlIfNecessary_(str,opt_isHtml) 13072return soyshim.$$bidiLtrExitDirCheckRe_.test(str)} 13073soyshim.$$bidiIsRtlExitText_=function(str,opt_isHtml){str=soyshim.$$bidiStripHtmlIfNecessary_(str,opt_isHtml) 13074return soyshim.$$bidiRtlExitDirCheckRe_.test(str)} 13075soy.StringBuilder=goog.string.StringBuffer 13076soydata.SanitizedContentKind=goog.soy.data.SanitizedContentKind 13077soydata.isContentKind=function(value,contentKind){return null!=value&&value.contentKind===contentKind} 13078soydata.getContentDir=function(value){if(null!=value)switch(value.contentDir){case goog.i18n.bidi.Dir.LTR:return goog.i18n.bidi.Dir.LTR 13079case goog.i18n.bidi.Dir.RTL:return goog.i18n.bidi.Dir.RTL 13080case goog.i18n.bidi.Dir.NEUTRAL:return goog.i18n.bidi.Dir.NEUTRAL}return null} 13081soydata.SanitizedHtml=function(){goog.soy.data.SanitizedContent.call(this)} 13082goog.inherits(soydata.SanitizedHtml,goog.soy.data.SanitizedContent) 13083soydata.SanitizedHtml.prototype.contentKind=soydata.SanitizedContentKind.HTML 13084 13085;/** 13086 * Returns a SanitizedHtml object for a particular value. The content direction 13087 * is preserved. 13088 * 13089 * This HTML-escapes the value unless it is already SanitizedHtml. 13090 * 13091 * @param {*} value The value to convert. If it is already a SanitizedHtml 13092 * object, it is left alone. 13093 * @return {!soydata.SanitizedHtml} A SanitizedHtml object derived from the 13094 * stringified value. It is escaped unless the input is SanitizedHtml. 13095 */soydata.SanitizedHtml.from=function(value){if(null!=value&&value.contentKind===soydata.SanitizedContentKind.HTML){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 13096return value}return soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.esc.$$escapeHtmlHelper(String(value)),soydata.getContentDir(value))} 13097soydata.SanitizedJs=function(){goog.soy.data.SanitizedContent.call(this)} 13098goog.inherits(soydata.SanitizedJs,goog.soy.data.SanitizedContent) 13099soydata.SanitizedJs.prototype.contentKind=soydata.SanitizedContentKind.JS 13100soydata.SanitizedJs.prototype.contentDir=goog.i18n.bidi.Dir.LTR 13101soydata.SanitizedJsStrChars=function(){goog.soy.data.SanitizedContent.call(this)} 13102goog.inherits(soydata.SanitizedJsStrChars,goog.soy.data.SanitizedContent) 13103soydata.SanitizedJsStrChars.prototype.contentKind=soydata.SanitizedContentKind.JS_STR_CHARS 13104soydata.SanitizedUri=function(){goog.soy.data.SanitizedContent.call(this)} 13105goog.inherits(soydata.SanitizedUri,goog.soy.data.SanitizedContent) 13106soydata.SanitizedUri.prototype.contentKind=soydata.SanitizedContentKind.URI 13107soydata.SanitizedUri.prototype.contentDir=goog.i18n.bidi.Dir.LTR 13108soydata.SanitizedHtmlAttribute=function(){goog.soy.data.SanitizedContent.call(this)} 13109goog.inherits(soydata.SanitizedHtmlAttribute,goog.soy.data.SanitizedContent) 13110soydata.SanitizedHtmlAttribute.prototype.contentKind=soydata.SanitizedContentKind.ATTRIBUTES 13111soydata.SanitizedHtmlAttribute.prototype.contentDir=goog.i18n.bidi.Dir.LTR 13112soydata.SanitizedCss=function(){goog.soy.data.SanitizedContent.call(this)} 13113goog.inherits(soydata.SanitizedCss,goog.soy.data.SanitizedContent) 13114soydata.SanitizedCss.prototype.contentKind=soydata.SanitizedContentKind.CSS 13115soydata.SanitizedCss.prototype.contentDir=goog.i18n.bidi.Dir.LTR 13116soydata.UnsanitizedText=function(content,opt_contentDir){this.content=String(content) 13117this.contentDir=null!=opt_contentDir?opt_contentDir:null} 13118goog.inherits(soydata.UnsanitizedText,goog.soy.data.SanitizedContent) 13119soydata.UnsanitizedText.prototype.contentKind=soydata.SanitizedContentKind.TEXT 13120soydata.$$EMPTY_STRING_={VALUE:""} 13121soydata.$$makeSanitizedContentFactory_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 13122return function(content,opt_contentDir){var result=new InstantiableCtor 13123result.content=String(content)
13124void 0!==opt_contentDir&&(result.contentDir=opt_contentDir) 13125return result}} 13126soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 13127return function(content){var result=new InstantiableCtor 13128result.content=String(content) 13129return result}} 13130soydata.markUnsanitizedText=function(content,opt_contentDir){return new soydata.UnsanitizedText(content,opt_contentDir)} 13131soydata.VERY_UNSAFE.ordainSanitizedHtml=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedHtml) 13132soydata.VERY_UNSAFE.ordainSanitizedJs=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedJs) 13133soydata.VERY_UNSAFE.ordainSanitizedJsStrChars=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedJsStrChars) 13134soydata.VERY_UNSAFE.ordainSanitizedUri=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedUri) 13135soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedHtmlAttribute) 13136soydata.VERY_UNSAFE.ordainSanitizedCss=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedCss) 13137soy.renderElement=goog.soy.renderElement 13138soy.renderAsFragment=function(template,opt_templateData,opt_document,opt_injectedData){return goog.soy.renderAsFragment(template,opt_templateData,opt_injectedData,new goog.dom.DomHelper(opt_document))} 13139soy.renderAsElement=function(template,opt_templateData,opt_document,opt_injectedData){return goog.soy.renderAsElement(template,opt_templateData,opt_injectedData,new goog.dom.DomHelper(opt_document))} 13140soy.$$IS_LOCALE_RTL=goog.i18n.bidi.IS_RTL 13141soy.$$augmentMap=function(baseMap,additionalMap){function TempCtor(){}TempCtor.prototype=baseMap 13142var augmentedMap=new TempCtor 13143for(var key in additionalMap)augmentedMap[key]=additionalMap[key] 13144return augmentedMap} 13145soy.$$checkMapKey=function(key){if("string"!=typeof key)throw Error("Map literal's key expression must evaluate to string (encountered type \""+typeof key+'").') 13146return key} 13147soy.$$getMapKeys=function(map){var mapKeys=[] 13148for(var key in map)mapKeys.push(key) 13149return mapKeys} 13150soy.$$getDelTemplateId=function(delTemplateName){return delTemplateName} 13151soy.$$DELEGATE_REGISTRY_PRIORITIES_={} 13152soy.$$DELEGATE_REGISTRY_FUNCTIONS_={} 13153soy.$$registerDelegateFn=function(delTemplateId,delTemplateVariant,delPriority,delFn){var mapKey="key_"+delTemplateId+":"+delTemplateVariant,currPriority=soy.$$DELEGATE_REGISTRY_PRIORITIES_[mapKey] 13154if(void 0===currPriority||delPriority>currPriority){soy.$$DELEGATE_REGISTRY_PRIORITIES_[mapKey]=delPriority 13155soy.$$DELEGATE_REGISTRY_FUNCTIONS_[mapKey]=delFn}else if(delPriority==currPriority)throw Error('Encountered two active delegates with the same priority ("'+delTemplateId+":"+delTemplateVariant+'").')} 13156soy.$$getDelegateFn=function(delTemplateId,delTemplateVariant,allowsEmptyDefault){var delFn=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+delTemplateId+":"+delTemplateVariant] 13157delFn||""==delTemplateVariant||(delFn=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+delTemplateId+":"]) 13158if(delFn)return delFn 13159if(allowsEmptyDefault)return soy.$$EMPTY_TEMPLATE_FN_ 13160throw Error('Found no active impl for delegate call to "'+delTemplateId+":"+delTemplateVariant+'" (and not allowemptydefault="true").')} 13161soy.$$EMPTY_TEMPLATE_FN_=function(opt_data,opt_sb,opt_ijData){return""} 13162soydata.$$makeSanitizedContentFactoryForInternalBlocks_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 13163return function(content,opt_contentDir){if(!String(content))return soydata.$$EMPTY_STRING_.VALUE 13164var result=new InstantiableCtor 13165result.content=String(content) 13166void 0!==opt_contentDir&&(result.contentDir=opt_contentDir) 13167return result}} 13168soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_=function(ctor){function InstantiableCtor(){}InstantiableCtor.prototype=ctor.prototype 13169return function(content){if(!String(content))return soydata.$$EMPTY_STRING_.VALUE 13170var result=new InstantiableCtor 13171result.content=String(content) 13172return result}} 13173soydata.$$markUnsanitizedTextForInternalBlocks=function(content,opt_contentDir){var contentString=String(content) 13174return contentString?new soydata.UnsanitizedText(contentString,opt_contentDir):soydata.$$EMPTY_STRING_.VALUE} 13175soydata.VERY_UNSAFE.$$ordainSanitizedHtmlForInternalBlocks=soydata.$$makeSanitizedContentFactoryForInternalBlocks_(soydata.SanitizedHtml) 13176soydata.VERY_UNSAFE.$$ordainSanitizedJsForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedJs) 13177soydata.VERY_UNSAFE.$$ordainSanitizedUriForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedUri) 13178soydata.VERY_UNSAFE.$$ordainSanitizedAttributesForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedHtmlAttribute) 13179soydata.VERY_UNSAFE.$$ordainSanitizedCssForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedCss) 13180 13181;/** 13182 * Returns a SanitizedHtml object for a particular value. The content direction 13183 * is preserved. 13184 * 13185 * This HTML-escapes the value unless it is already SanitizedHtml. Escapes 13186 * double quote '"' in addition to '&', '<', and '>' so that a string can be 13187 * included in an HTML tag attribute value within double quotes. 13188 * 13189 * @param {*} value The value to convert. If it is already a SanitizedHtml 13190 * object, it is left alone. 13191 * @return {!soydata.SanitizedHtml} An escaped version of value. 13192 */soy.$$escapeHtml=function(value){return soydata.SanitizedHtml.from(value)} 13193 13194;
13194/** 13195 * Strips unsafe tags to convert a string of untrusted HTML into HTML that 13196 * is safe to embed. The content direction is preserved. 13197 * 13198 * @param {*} value The string-like value to be escaped. May not be a string, 13199 * but the value will be coerced to a string. 13200 * @return {!soydata.SanitizedHtml} A sanitized and normalized version of value. 13201 */soy.$$cleanHtml=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 13202return value}return soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.$$stripHtmlTags(value,soy.esc.$$SAFE_TAG_WHITELIST_),soydata.getContentDir(value))} 13203soy.$$escapeHtmlRcdata=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 13204return soy.esc.$$normalizeHtmlHelper(value.content)}return soy.esc.$$escapeHtmlHelper(value)} 13205soy.$$HTML5_VOID_ELEMENTS_=new RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b") 13206soy.$$stripHtmlTags=function(value,opt_tagWhitelist){if(!opt_tagWhitelist)return String(value).replace(soy.esc.$$HTML_TAG_REGEX_,"").replace(soy.esc.$$LT_REGEX_,"<") 13207var html=String(value).replace(/\[/g,"["),tags=[] 13208html=html.replace(soy.esc.$$HTML_TAG_REGEX_,function(tok,tagName){if(tagName){tagName=tagName.toLowerCase() 13209if(opt_tagWhitelist.hasOwnProperty(tagName)&&opt_tagWhitelist[tagName]){var start="/"===tok.charAt(1)?"</":"<",index=tags.length 13210tags[index]=start+tagName+">" 13211return"["+index+"]"}}return""}) 13212html=soy.esc.$$normalizeHtmlHelper(html) 13213var finalCloseTags=soy.$$balanceTags_(tags) 13214return(html=html.replace(/\[(\d+)\]/g,function(_,index){return tags[index]}))+finalCloseTags} 13215soy.$$balanceTags_=function(tags){for(var open=[],i=0,n=tags.length;i<n;++i){var tag=tags[i] 13216if("/"===tag.charAt(1)){for(var openTagIndex=open.length-1;openTagIndex>=0&&open[openTagIndex]!=tag;)openTagIndex-- 13217if(openTagIndex<0)tags[i]="" 13218else{tags[i]=open.slice(openTagIndex).reverse().join("") 13219open.length=openTagIndex}}else soy.$$HTML5_VOID_ELEMENTS_.test(tag)||open.push("</"+tag.substring(1))}return open.reverse().join("")} 13220soy.$$escapeHtmlAttribute=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 13221return soy.esc.$$normalizeHtmlHelper(soy.$$stripHtmlTags(value.content))}return soy.esc.$$escapeHtmlHelper(value)} 13222soy.$$escapeHtmlAttributeNospace=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)){goog.asserts.assert(value.constructor===soydata.SanitizedHtml) 13223return soy.esc.$$normalizeHtmlNospaceHelper(soy.$$stripHtmlTags(value.content))}return soy.esc.$$escapeHtmlNospaceHelper(value)} 13224soy.$$filterHtmlAttributes=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.ATTRIBUTES)){goog.asserts.assert(value.constructor===soydata.SanitizedHtmlAttribute) 13225return value.content.replace(/([^"'\s])$/,"$1 ")}return soy.esc.$$filterHtmlAttributesHelper(value)} 13226soy.$$filterHtmlElementName=function(value){return soy.esc.$$filterHtmlElementNameHelper(value)} 13227soy.$$escapeJs=function(value){return soy.$$escapeJsString(value)} 13228soy.$$escapeJsString=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.JS_STR_CHARS)){goog.asserts.assert(value.constructor===soydata.SanitizedJsStrChars) 13229return value.content}return soy.esc.$$escapeJsStringHelper(value)} 13230soy.$$escapeJsValue=function(value){if(null==value)return" null " 13231if(soydata.isContentKind(value,soydata.SanitizedContentKind.JS)){goog.asserts.assert(value.constructor===soydata.SanitizedJs) 13232return value.content}switch(typeof value){case"boolean":case"number":return" "+value+" " 13233default:return"'"+soy.esc.$$escapeJsStringHelper(String(value))+"'"}} 13234soy.$$escapeJsRegex=function(value){return soy.esc.$$escapeJsRegexHelper(value)} 13235soy.$$problematicUriMarks_=/['()]/g 13236soy.$$pctEncode_=function(ch){return"%"+ch.charCodeAt(0).toString(16)} 13237soy.$$escapeUri=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.URI)){goog.asserts.assert(value.constructor===soydata.SanitizedUri) 13238return soy.$$normalizeUri(value)}var encoded=soy.esc.$$escapeUriHelper(value) 13239soy.$$problematicUriMarks_.lastIndex=0 13240return soy.$$problematicUriMarks_.test(encoded)?encoded.replace(soy.$$problematicUriMarks_,soy.$$pctEncode_):encoded} 13241soy.$$normalizeUri=function(value){return soy.esc.$$normalizeUriHelper(value)} 13242soy.$$filterNormalizeUri=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.URI)){goog.asserts.assert(value.constructor===soydata.SanitizedUri) 13243return soy.$$normalizeUri(value)}return soy.esc.$$filterNormalizeUriHelper(value)} 13244soy.$$filterImageDataUri=function(value){return soydata.VERY_UNSAFE.ordainSanitizedUri(soy.esc.$$filterImageDataUriHelper(value))} 13245soy.$$escapeCssString=function(value){return soy.esc.$$escapeCssStringHelper(value)} 13246soy.$$filterCssValue=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.CSS)){goog.asserts.assert(value.constructor===soydata.SanitizedCss) 13247return value.content}return null==value?"":soy.esc.$$filterCssValueHelper(value)} 13248soy.$$filterNoAutoescape=function(value){if(soydata.isContentKind(value,soydata.SanitizedContentKind.TEXT)){goog.asserts.fail("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[value.content]) 13249return"zSoyz"}return value} 13250soy.$$changeNewlineToBr=function(value){var result=goog.string.newLineToBr(String(value),!1) 13251return soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)?soydata.VERY_UNSAFE.ordainSanitizedHtml(result,soydata.getContentDir
13251(value)):result} 13252soy.$$insertWordBreaks=function(value,maxCharsBetweenWordBreaks){var result=goog.format.insertWordBreaks(String(value),maxCharsBetweenWordBreaks) 13253return soydata.isContentKind(value,soydata.SanitizedContentKind.HTML)?soydata.VERY_UNSAFE.ordainSanitizedHtml(result,soydata.getContentDir(value)):result} 13254soy.$$truncate=function(str,maxLen,doAddEllipsis){if((str=String(str)).length<=maxLen)return str 13255doAddEllipsis&&(maxLen>3?maxLen-=3:doAddEllipsis=!1) 13256soy.$$isHighSurrogate_(str.charAt(maxLen-1))&&soy.$$isLowSurrogate_(str.charAt(maxLen))&&(maxLen-=1) 13257str=str.substring(0,maxLen) 13258doAddEllipsis&&(str+="...") 13259return str} 13260soy.$$isHighSurrogate_=function(ch){return 55296<=ch&&ch<=56319} 13261soy.$$isLowSurrogate_=function(ch){return 56320<=ch&&ch<=57343} 13262soy.$$bidiFormatterCache_={} 13263soy.$$getBidiFormatterInstance_=function(bidiGlobalDir){return soy.$$bidiFormatterCache_[bidiGlobalDir]||(soy.$$bidiFormatterCache_[bidiGlobalDir]=new goog.i18n.BidiFormatter(bidiGlobalDir))} 13264soy.$$bidiTextDir=function(text,opt_isHtml){var contentDir=soydata.getContentDir(text) 13265if(null!=contentDir)return contentDir 13266var isHtml=opt_isHtml||soydata.isContentKind(text,soydata.SanitizedContentKind.HTML) 13267return goog.i18n.bidi.estimateDirection(text+"",isHtml)} 13268soy.$$bidiDirAttr=function(bidiGlobalDir,text,opt_isHtml){var formatter=soy.$$getBidiFormatterInstance_(bidiGlobalDir),contentDir=soydata.getContentDir(text) 13269if(null==contentDir){var isHtml=opt_isHtml||soydata.isContentKind(text,soydata.SanitizedContentKind.HTML) 13270contentDir=goog.i18n.bidi.estimateDirection(text+"",isHtml)}return soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute(formatter.knownDirAttr(contentDir))} 13271soy.$$bidiMarkAfter=function(bidiGlobalDir,text,opt_isHtml){var formatter=soy.$$getBidiFormatterInstance_(bidiGlobalDir),isHtml=opt_isHtml||soydata.isContentKind(text,soydata.SanitizedContentKind.HTML) 13272return formatter.markAfterKnownDir(soydata.getContentDir(text),text+"",isHtml)} 13273soy.$$bidiSpanWrap=function(bidiGlobalDir,text){return soy.$$getBidiFormatterInstance_(bidiGlobalDir).spanWrapWithKnownDir(soydata.getContentDir(text),text+"",!0)} 13274soy.$$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() 13275return 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} 13276soy.esc.$$escapeUriHelper=function(v){return encodeURIComponent(String(v))} 13277soy.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":"
"} 13278soy.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]} 13279soy.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"} 13280soy.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]} 13281soy.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 "} 13282soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_=function(ch){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_[ch]} 13283soy.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
13283F%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"} 13284soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_=function(ch){return soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_[ch]} 13285soy.esc.$$MATCHER_FOR_ESCAPE_HTML_=/[\x00\x22\x26\x27\x3c\x3e]/g 13286soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_=/[\x00\x22\x27\x3c\x3e]/g 13287soy.esc.$$MATCHER_FOR_ESCAPE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g 13288soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g 13289soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\\\x85\u2028\u2029]/g 13290soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_=/[\x00\x08-\x0d\x22\x24\x26-\/\x3a\x3c-\x3f\x5b-\x5e\x7b-\x7d\x85\u2028\u2029]/g 13291soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_=/[\x00\x08-\x0d\x22\x26-\x2a\/\x3a-\x3e@\\\x7b\x7d\x85\xa0\u2028\u2029]/g 13292soy.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 13293soy.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 13294soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_=/^(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i 13295soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_=/^data:image\/(?:bmp|gif|jpe?g|png|tiff|webp);base64,[a-z0-9+\/]+=*$/i 13296soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_=/^(?!style|on|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|src|usemap)(?:[a-z0-9_$:-]*)$/i 13297soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_=/^(?!script|style|title|textarea|xmp|no)[a-z0-9_$:-]*$/i 13298soy.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_)} 13299soy.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_)} 13300soy.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_)} 13301soy.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_)} 13302soy.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_)} 13303soy.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_)} 13304soy.esc.$$escapeCssStringHelper=function(value){return String(value).replace(soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_)} 13305soy.esc.$$filterCssValueHelper=function(value){var str=String(value) 13306return soy.esc.$$FILTER_FOR_FILTER_CSS_VALUE_.test(str)?str:"zSoyz"} 13307soy.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_)} 13308soy.esc.$$filterNormalizeUriHelper=function(value){var str=String(value) 13309return 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"} 13310soy.esc.$$filterImageDataUriHelper=function(value){var str=String(value) 13311return soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_.test(str)?str:"data:image/gif;base64,zSoyz"} 13312soy.esc.$$filterHtmlAttributesHelper=function(value){var str=String(value) 13313return soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_.test(str)?str:"zSoyz"} 13314soy.esc.$$filterHtmlElementNameHelper=function(value){var str=String(value) 13315return soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_.test(str)?str:"zSoyz"} 13316soy.esc.$$HTML_TAG_REGEX_=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g 13317soy.esc.$$LT_REGEX_=/</g 13318soy.esc.$$SAFE_TAG_WHITELIST_={b:1,br:1,em:1,i:1,s:1,sub:1,sup:1,u:1} 13319 13320}catch(e){WRMCB(e)}; 13321; 13322try { 13323/* module-key = 'com.atlassian.soy.soy-template-plugin:soy-deps', location = '
13323js/atlassian-deps.js' */ 13324window.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}; 13325}catch(e){WRMCB(e)}; 13326; 13327try { 13328/* module-key = 'com.atlassian.auiplugin:aui-soy', location = 'aui.soy' */ 13329// This file was automatically generated from aui.soy. 13330// Please don't edit this file by hand. 13331 13332/** 13333 * @fileoverview Templates in namespace aui. 13334 */ 13335 13336if (typeof aui == 'undefined') { var aui = {}; } 13337 13338 13339aui.renderExtraAttributes = function(opt_data, opt_ignored) { 13340 opt_data = opt_data || {}; 13341 var output = ''; 13342 if (opt_data.extraAttributes) { 13343 if (Object.prototype.toString.call(opt_data.extraAttributes) === '[object Object]') { 13344 var attrList7 = soy.$$getMapKeys(opt_data.extraAttributes); 13345 var attrListLen7 = attrList7.length; 13346 for (var attrIndex7 = 0; attrIndex7 < attrListLen7; attrIndex7++) { 13347 var attrData7 = attrList7[attrIndex7]; 13348 output += ' ' + soy.$$escapeHtml(attrData7) + '="' + soy.$$escapeHtml(opt_data.extraAttributes[attrData7]) + '"'; 13349 } 13350 } else { 13351 output += ' ' + soy.$$filterNoAutoescape(opt_data.extraAttributes); 13352 } 13353 } 13354 return output; 13355}; 13356if (goog.DEBUG) { 13357 aui.renderExtraAttributes.soyTemplateName = 'aui.renderExtraAttributes'; 13358} 13359 13360 13361aui.renderExtraClasses = function(opt_data, opt_ignored) { 13362 opt_data = opt_data || {}; 13363 var output = ''; 13364 if (opt_data.extraClasses) { 13365 if ((opt_data.extraClasses) instanceof Array) { 13366 var classList23 = opt_data.extraClasses; 13367 var classListLen23 = classList23.length; 13368 for (var classIndex23 = 0; classIndex23 < classListLen23; classIndex23++) { 13369 var classData23 = classList23[classIndex23]; 13370 output += ' ' + soy.$$escapeHtml(classData23); 13371 } 13372 } else { 13373 output += ' ' + soy.$$escapeHtml(opt_data.extraClasses); 13374 } 13375 } 13376 return output; 13377}; 13378if (goog.DEBUG) { 13379 aui.renderExtraClasses.soyTemplateName = 'aui.renderExtraClasses'; 13380} 13381 13382}catch(e){WRMCB(e)}; 13383; 13384try { 13385/* module-key = 'com.atlassian.auiplugin:soy', location = 'avatar.soy' */ 13386// This file was automatically generated from avatar.soy. 13387// Please don't edit this file by hand. 13388 13389/** 13390 * @fileoverview Templates in namespace aui.avatar. 13391 */ 13392 13393if (typeof aui == 'undefined') { var aui = {}; } 13394if (typeof aui.avatar == 'undefined') { aui.avatar = {}; } 13395 13396 13397aui.avatar.avatar = function(opt_data, opt_ignored) { 13398 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') + '>'; 13399}; 13400if (goog.DEBUG) { 13401 aui.avatar.avatar.soyTemplateName = 'aui.avatar.avatar'; 13402} 13403 13404}catch(e){WRMCB(e)}; 13405; 13406try { 13407/* module-key = 'com.atlassian.auiplugin:soy', location = 'badges.soy' */ 13408// This file was automatically generated from badges.soy. 13409// Please don't edit this file by hand. 13410 13411/** 13412 * @fileoverview Templates in namespace aui.badges. 13413 */ 13414 13415if (typeof aui == 'undefined') { var aui = {}; } 13416if (typeof aui.badges == 'undefined') { aui.badges = {}; } 13417 13418 13419aui.badges.badge = function(opt_data, opt_ignored) { 13420 return '<aui-badge' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="' + aui.renderExtraClasse
13420s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$escapeHtml(opt_data.text) + '</aui-badge>'; 13421}; 13422if (goog.DEBUG) { 13423 aui.badges.badge.soyTemplateName = 'aui.badges.badge'; 13424} 13425 13426}catch(e){WRMCB(e)}; 13427; 13428try { 13429/* module-key = 'com.atlassian.auiplugin:soy', location = 'buttons.soy' */ 13430// This file was automatically generated from buttons.soy. 13431// Please don't edit this file by hand. 13432 13433/** 13434 * @fileoverview Templates in namespace aui.buttons. 13435 */ 13436 13437if (typeof aui == 'undefined') { var aui = {}; } 13438if (typeof aui.buttons == 'undefined') { aui.buttons = {}; } 13439 13440 13441aui.buttons.button = function(opt_data, opt_ignored) { 13442 var output = ''; 13443 if (opt_data.href || opt_data.href == '') { 13444 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>'; 13445 } else if (opt_data.tagName == 'input') { 13446 output += '<input type="' + soy.$$escapeHtml(opt_data.inputType ? opt_data.inputType : 'button') + '" ' + aui.buttons.buttonAttributes(opt_data) + ' value="' + soy.$$escapeHtml(opt_data.text) + '" />'; 13447 } else { 13448 var theTagName__soy29 = opt_data.tagName ? opt_data.tagName : 'button'; 13449 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) + '>'; 13450 } 13451 return output; 13452}; 13453if (goog.DEBUG) { 13454 aui.buttons.button.soyTemplateName = 'aui.buttons.button'; 13455} 13456 13457 13458aui.buttons.buttons = function(opt_data, opt_ignored) { 13459 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>'; 13460}; 13461if (goog.DEBUG) { 13462 aui.buttons.buttons.soyTemplateName = 'aui.buttons.buttons'; 13463} 13464 13465 13466aui.buttons.buttonAttributes = function(opt_data, opt_ignored) { 13467 opt_data = opt_data || {}; 13468 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' : '') : ''); 13469 switch (opt_data.type) { 13470 case 'primary': 13471 output += ' aui-button-primary'; 13472 break; 13473 case 'link': 13474 output += ' aui-button-link'; 13475 break; 13476 case 'subtle': 13477 output += ' aui-button-subtle'; 13478 break; 13479 case 'text': 13480 output += ' aui-button-text'; 13481 break; 13482 } 13483 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"' : ''); 13484 var label__soy115 = opt_data.extraAttributes ? opt_data.extraAttributes['aria-label'] : null; 13485 output += (opt_data.iconText && ! opt_data.text && ! label__soy115) ? ' aria-label="' + soy.$$escapeHtml(opt_data.iconText) + '"' : ''; 13486 return output; 13487}; 13488if (goog.DEBUG) { 13489 aui.buttons.buttonAttributes.soyTemplateName = 'aui.buttons.buttonAttributes'; 13490} 13491 13492 13493aui.buttons.buttonIcon = function(opt_data, opt_ignored) { 13494 opt_data = opt_data || {}; 13495 return '' + ((opt_data.iconType) ? '<span class="' + ((opt_data.iconType == 'aui') ? 'aui-icon' : '') + ((opt_data.iconClass) ? ' ' + soy.$$escapeHtml(opt_data.iconClass) : '') + '" aria-hidden="true" ></span>' : ''); 13496}; 13497if (goog.DEBUG) { 13498 aui.buttons.buttonIcon.soyTemplateName = 'aui.buttons.buttonIcon'; 13499} 13500 13501}catch(e){WRMCB(e)}; 13502; 13503try { 13504/* module-key = 'com.atlassian.auiplugin:soy', location = 'dialog2.soy' */ 13505// This file was automatically generated from dialog2.soy. 13506// Please don't edit this file by hand. 13507 13508/** 13509 * @fileoverview Templates in namespace aui.dialog. 13510 */ 13511 13512if (typeof aui == 'undefined') { var aui = {}; } 13513if (typeof aui.dialog == 'undefined') { aui.dialog = {}; } 13514 13515 13516aui.dialog.dialog2 = function(opt_data, opt_ignored) { 13517 var output = ''; 13518 var ariaId__soy3 = opt_data.id ? opt_data.id + '--dialog-title' : null; 13519 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, extraClasse
13519s: 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})}); 13520 return output; 13521}; 13522if (goog.DEBUG) { 13523 aui.dialog.dialog2.soyTemplateName = 'aui.dialog.dialog2'; 13524} 13525 13526 13527aui.dialog.dialog2Chrome = function(opt_data, opt_ignored) { 13528 opt_data = opt_data || {}; 13529 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') + '>'; 13530}; 13531if (goog.DEBUG) { 13532 aui.dialog.dialog2Chrome.soyTemplateName = 'aui.dialog.dialog2Chrome'; 13533} 13534 13535 13536aui.dialog.dialog2Content = function(opt_data, opt_ignored) { 13537 opt_data = opt_data || {}; 13538 var output = ''; 13539 var defaultTitleId__soy69 = opt_data.id ? opt_data.id + '--title' : null; 13540 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}); 13541 return output; 13542}; 13543if (goog.DEBUG) { 13544 aui.dialog.dialog2Content.soyTemplateName = 'aui.dialog.dialog2Content'; 13545} 13546 13547 13548aui.dialog.dialog2Header = function(opt_data, opt_ignored) { 13549 opt_data = opt_data || {}; 13550 return '<header' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dialog2-header' + aui.renderExtraClasses(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>'; 13551}; 13552if (goog.DEBUG) { 13553 aui.dialog.dialog2Header.soyTemplateName = 'aui.dialog.dialog2Header'; 13554} 13555 13556 13557aui.dialog.dialog2Footer = function(opt_data, opt_ignored) { 13558 opt_data = opt_data || {}; 13559 return '' + ((opt_data.actionContent || opt_data.hintText || opt_data.hintContent) ? '<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>' : ''); 13560}; 13561if (goog.DEBUG) { 13562 aui.dialog.dialog2Footer.soyTemplateName = 'aui.dialog.dialog2Footer'; 13563} 13564 13565 13566aui.dialog.dialog2Panel = function(opt_data, opt_ignored) { 13567 opt_data = opt_data || {}; 13568 return '<div' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-dialog2-content' + aui.renderExtraClasse
13568s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.content) ? soy.$$filterNoAutoescape(opt_data.content) : '') + '</div>'; 13569}; 13570if (goog.DEBUG) { 13571 aui.dialog.dialog2Panel.soyTemplateName = 'aui.dialog.dialog2Panel'; 13572} 13573 13574}catch(e){WRMCB(e)}; 13575; 13576try { 13577/* module-key = 'com.atlassian.auiplugin:soy', location = 'dropdown2.soy' */ 13578// This file was automatically generated from dropdown2.soy. 13579// Please don't edit this file by hand. 13580 13581/** 13582 * @fileoverview Templates in namespace aui.dropdown2. 13583 */ 13584 13585if (typeof aui == 'undefined') { var aui = {}; } 13586if (typeof aui.dropdown2 == 'undefined') { aui.dropdown2 = {}; } 13587 13588 13589aui.dropdown2.trigger = function(opt_data, opt_ignored) { 13590 return '' + aui.trigger.trigger(soy.$$augmentMap(opt_data, {extraClasses: 'aui-dropdown2-trigger' + aui.renderExtraClasses(opt_data)})); 13591}; 13592if (goog.DEBUG) { 13593 aui.dropdown2.trigger.soyTemplateName = 'aui.dropdown2.trigger'; 13594} 13595 13596 13597aui.dropdown2.contents = function(opt_data, opt_ignored) { 13598 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>'; 13599}; 13600if (goog.DEBUG) { 13601 aui.dropdown2.contents.soyTemplateName = 'aui.dropdown2.contents'; 13602} 13603 13604 13605aui.dropdown2.section = function(opt_data, opt_ignored) { 13606 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>'; 13607}; 13608if (goog.DEBUG) { 13609 aui.dropdown2.section.soyTemplateName = 'aui.dropdown2.section'; 13610} 13611 13612}catch(e){WRMCB(e)}; 13613; 13614try { 13615/* module-key = 'com.atlassian.auiplugin:soy', location = 'expander.soy' */ 13616// This file was automatically generated from expander.soy. 13617// Please don't edit this file by hand. 13618 13619/** 13620 * @fileoverview Templates in namespace aui.expander. 13621 */ 13622 13623if (typeof aui == 'undefined') { var aui = {}; } 13624if (typeof aui.expander == 'undefined') { aui.expander = {}; } 13625 13626 13627aui.expander.content = function(opt_data, opt_ignored) { 13628 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>'; 13629}; 13630if (goog.DEBUG) { 13631 aui.expander.content.soyTemplateName = 'aui.expander.content'; 13632} 13633 13634 13635aui.expander.trigger = function(opt_data, opt_ignored) { 13636 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') + '>'; 13637}; 13638if (goog.DEBUG) { 13639 aui.expander.trigger.soyTemplateName = 'aui.expander.trigger'; 13640} 13641 13642}catch(e){WRMCB(e)}; 13643; 13644try { 13645/* module-key = 'com.atlassian.auiplugin:soy', location = 'form.soy' */ 13646// This file was automatically generated from form.soy. 13647// Please don't edit this file by hand. 13648 13649/** 13650 * @fileoverview Templates in namespace aui.form. 13651 */ 13652 13653if (typeof aui == 'undefined') { var aui = {}; } 13654if (typeof aui.form == 'undefined') { aui.form = {}; } 13655 13656 13657aui.form.form = function(opt_data, opt_ignored) { 13658 return '<form' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui' + ((opt_data.isLongLabels) ? ' long-label' : '') + ((opt_data.isTopLabels) ? ' top-label' : '') + aui.renderExtraClasse
13658s(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>'; 13659}; 13660if (goog.DEBUG) { 13661 aui.form.form.soyTemplateName = 'aui.form.form'; 13662} 13663 13664 13665aui.form.fieldset = function(opt_data, opt_ignored) { 13666 var output = ''; 13667 var hasClass__soy33 = opt_data.isInline || opt_data.isDateSelect || opt_data.isGroup || opt_data.extraClasses; 13668 output += '<fieldset' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ((hasClass__soy33) ? ' 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>'; 13669 return output; 13670}; 13671if (goog.DEBUG) { 13672 aui.form.fieldset.soyTemplateName = 'aui.form.fieldset'; 13673} 13674 13675 13676aui.form.fieldGroup = function(opt_data, opt_ignored) { 13677 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>'; 13678}; 13679if (goog.DEBUG) { 13680 aui.form.fieldGroup.soyTemplateName = 'aui.form.fieldGroup'; 13681} 13682 13683 13684aui.form.buttons = function(opt_data, opt_ignored) { 13685 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>'; 13686}; 13687if (goog.DEBUG) { 13688 aui.form.buttons.soyTemplateName = 'aui.form.buttons'; 13689} 13690 13691 13692aui.form.label = function(opt_data, opt_ignored) { 13693 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>'; 13694}; 13695if (goog.DEBUG) { 13696 aui.form.label.soyTemplateName = 'aui.form.label'; 13697} 13698 13699 13700aui.form.input = function(opt_data, opt_ignored) { 13701 var output = ''; 13702 var baseType__soy108 = ''; 13703 switch (opt_data.type) { 13704 case 'password': 13705 case 'email': 13706 case 'url': 13707 case 'tel': 13708 case 'search': 13709 baseType__soy108 += 'text'; 13710 break; 13711 case 'submit': 13712 case 'reset': 13713 baseType__soy108 += 'button'; 13714 break; 13715 default: 13716 baseType__soy108 += soy.$$escapeHtml(opt_data.type); 13717 } 13718 output += '<input class="' + soy.$$escapeHtml(baseType__soy108) + aui.renderExtraClasses(opt_data) + ((opt_data.icon && baseType__soy108 == '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__soy108 == 'text' && opt_data.type != 'password' && opt_data.maxLength) ? ' maxlength="' + soy.$$escapeHtml(opt_data.maxLength) + '"' : '') + ((baseType__soy108 == 'text' && opt_data.type != 'password' && opt_data.size) ? ' size="' + soy.$$escapeHtml(opt_data.size) + '"' : '') + ((baseType__soy108 == 'text' && opt_data.placeholderText) ? ' placeholder="' + soy.$$escapeHtml(opt_data.placeholderText) + '"' : '') + ((baseType__soy108 == '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__soy108 == 'text') ? aui.icons.icon({icon: opt_data.icon, useIconFont: true, size: 'small'}) : ''); 13719 return output; 13720}; 13721if (goog.DEBUG) {
13722 aui.form.input.soyTemplateName = 'aui.form.input'; 13723} 13724 13725 13726aui.form.renderValidationArguments = function(opt_data, opt_ignored) { 13727 opt_data = opt_data || {}; 13728 var output = ''; 13729 if (opt_data.validationArguments) { 13730 var argumentList189 = soy.$$getMapKeys(opt_data.validationArguments); 13731 var argumentListLen189 = argumentList189.length; 13732 for (var argumentIndex189 = 0; argumentIndex189 < argumentListLen189; argumentIndex189++) { 13733 var argumentData189 = argumentList189[argumentIndex189]; 13734 output += (argumentData189 == 'required' || argumentData189 == 'pattern' || argumentData189 == 'min' || argumentData189 == 'max' || argumentData189 == 'minlength' || argumentData189 == 'maxlength') ? ' ' + soy.$$escapeHtml(argumentData189) + '="' + soy.$$escapeHtml(opt_data.validationArguments[argumentData189]) + '"' : ' ' + soy.$$escapeHtml('data-aui-validation-' + argumentData189) + '="' + soy.$$escapeHtml(opt_data.validationArguments[argumentData189]) + '"'; 13735 } 13736 } 13737 return output; 13738}; 13739if (goog.DEBUG) { 13740 aui.form.renderValidationArguments.soyTemplateName = 'aui.form.renderValidationArguments'; 13741} 13742 13743 13744aui.form.renderTooltipArguments = function(opt_data, opt_ignored) { 13745 opt_data = opt_data || {}; 13746 var output = ''; 13747 if (opt_data.tooltipArguments) { 13748 var argumentList207 = soy.$$getMapKeys(opt_data.tooltipArguments); 13749 var argumentListLen207 = argumentList207.length; 13750 for (var argumentIndex207 = 0; argumentIndex207 < argumentListLen207; argumentIndex207++) { 13751 var argumentData207 = argumentList207[argumentIndex207]; 13752 output += ' ' + soy.$$escapeHtml('data-aui-notification-' + argumentData207) + '="' + soy.$$escapeHtml(opt_data.tooltipArguments[argumentData207]) + '"'; 13753 } 13754 } 13755 return output; 13756}; 13757if (goog.DEBUG) { 13758 aui.form.renderTooltipArguments.soyTemplateName = 'aui.form.renderTooltipArguments'; 13759} 13760 13761 13762aui.form.renderInfoMessage = function(opt_data, opt_ignored) { 13763 opt_data = opt_data || {}; 13764 return '' + ((opt_data.infoMessage) ? ' data-aui-notification-info="' + soy.$$escapeHtml(opt_data.infoMessage) + '"' : ''); 13765}; 13766if (goog.DEBUG) { 13767 aui.form.renderInfoMessage.soyTemplateName = 'aui.form.renderInfoMessage'; 13768} 13769 13770 13771aui.form.renderFieldComponentAttribute = function(opt_data, opt_ignored) { 13772 opt_data = opt_data || {}; 13773 return '' + ((opt_data.infoMessage) ? ' data-aui-notification-field' : '') + ((opt_data.validationArguments) ? ' data-aui-validation-field' : ''); 13774}; 13775if (goog.DEBUG) { 13776 aui.form.renderFieldComponentAttribute.soyTemplateName = 'aui.form.renderFieldComponentAttribute'; 13777} 13778 13779 13780aui.form.renderAriaAttributes = function(opt_data, opt_ignored) { 13781 opt_data = opt_data || {}; 13782 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' : '') + '"' : ''); 13783}; 13784if (goog.DEBUG) { 13785 aui.form.renderAriaAttributes.soyTemplateName = 'aui.form.renderAriaAttributes'; 13786} 13787 13788 13789aui.form.submit = function(opt_data, opt_ignored) { 13790 return '' + aui.form.button(soy.$$augmentMap(opt_data, {tagName: 'input', inputType: 'submit'})); 13791}; 13792if (goog.DEBUG) { 13793 aui.form.submit.soyTemplateName = 'aui.form.submit'; 13794} 13795 13796 13797aui.form.button = function(opt_data, opt_ignored) { 13798 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)})); 13799}; 13800if (goog.DEBUG) { 13801 aui.form.button.soyTemplateName = 'aui.form.button'; 13802} 13803 13804 13805aui.form.linkButton = function(opt_data, opt_ignored) { 13806 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)})); 13807}; 13808if (goog.DEBUG) { 13809 aui.form.linkButton.soyTemplateName = 'aui.form.linkButton'; 13810} 13811 13812 13813aui.form.textarea = function(opt_data, opt_ignored) { 13814 opt_data = opt_data || {}; 13815 return '<textarea name="' + ((opt_data.name) ? soy.$$escapeHtml(opt_data.name) : soy.$$escapeHtml(opt_data.id)) + '" class="textarea' + aui.renderExtraClasse
13815s(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'}) : ''); 13816}; 13817if (goog.DEBUG) { 13818 aui.form.textarea.soyTemplateName = 'aui.form.textarea'; 13819} 13820 13821 13822aui.form.select = function(opt_data, opt_ignored) { 13823 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})) : ''); 13824 var optionList383 = opt_data.options; 13825 var optionListLen383 = optionList383.length; 13826 for (var optionIndex383 = 0; optionIndex383 < optionListLen383; optionIndex383++) { 13827 var optionData383 = optionList383[optionIndex383]; 13828 output += aui.form.optionOrOptgroup(soy.$$augmentMap(optionData383, {defaultValue: opt_data.value})); 13829 } 13830 output += '</select>'; 13831 return output; 13832}; 13833if (goog.DEBUG) { 13834 aui.form.select.soyTemplateName = 'aui.form.select'; 13835} 13836 13837 13838aui.form.optionOrOptgroup = function(opt_data, opt_ignored) { 13839 var output = ''; 13840 if (opt_data.options) { 13841 output += '<optgroup label="' + soy.$$escapeHtml(opt_data.text) + '"' + ((opt_data.disabled) ? ' disabled' : '') + '>'; 13842 var optionList398 = opt_data.options; 13843 var optionListLen398 = optionList398.length; 13844 for (var optionIndex398 = 0; optionIndex398 < optionListLen398; optionIndex398++) { 13845 var optionData398 = optionList398[optionIndex398]; 13846 output += aui.form.optionOrOptgroup(soy.$$augmentMap(optionData398, {defaultValue: opt_data.defaultValue})); 13847 } 13848 output += '</optgroup>'; 13849 } else { 13850 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>'; 13851 } 13852 return output; 13853}; 13854if (goog.DEBUG) { 13855 aui.form.optionOrOptgroup.soyTemplateName = 'aui.form.optionOrOptgroup'; 13856} 13857 13858 13859aui.form.value = function(opt_data, opt_ignored) { 13860 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>'; 13861}; 13862if (goog.DEBUG) { 13863 aui.form.value.soyTemplateName = 'aui.form.value'; 13864} 13865 13866 13867aui.form.field = function(opt_data, opt_ignored) { 13868 opt_data = opt_data || {}; 13869 var output = ''; 13870 var isCheckboxOrRadio__soy432 = opt_data.type == 'checkbox' || opt_data.type == 'radio'; 13871 var fieldWidthClass__soy433 = opt_data.fieldWidth ? opt_data.fieldWidth + '-field ' : '';
13872 var fieldClasses__soy434 = fieldWidthClass__soy433 + (opt_data.extraFieldClasses ? opt_data.extraFieldClasses : ''); 13873 var errorTextsIsList__soy435 = (opt_data.errorTexts) instanceof Array; 13874 var errorTextsIsProbablyNonEmptyString__soy436 = ! errorTextsIsList__soy435 && opt_data.errorTexts != null; 13875 var errorTextsIsNonEmptyList__soy437 = errorTextsIsList__soy435 && opt_data.errorTexts.length > 0; 13876 var hasErrors__soy438 = errorTextsIsProbablyNonEmptyString__soy436 || errorTextsIsNonEmptyList__soy437; 13877 output += '<div class="' + ((isCheckboxOrRadio__soy432) ? soy.$$escapeHtml(opt_data.type) : 'field-group') + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>' + ((opt_data.labelContent && ! isCheckboxOrRadio__soy432) ? aui.form.label({forField: opt_data.id, isRequired: opt_data.isRequired, content: opt_data.labelContent}) : ''); 13878 switch (opt_data.type) { 13879 case 'textarea': 13880 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__soy434, 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__soy438}); 13881 break; 13882 case 'select': 13883 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__soy434, 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__soy438}); 13884 break; 13885 case 'auiSelectField': 13886 output += aui.form.auiSelectField(opt_data); 13887 break; 13888 case 'value': 13889 output += aui.form.value({id: opt_data.id, content: '' + soy.$$escapeHtml(opt_data.value), extraClasses: fieldClasses__soy434}); 13890 break; 13891 case 'text': 13892 case 'password': 13893 case 'email': 13894 case 'url': 13895 case 'tel': 13896 case 'search': 13897 case 'file': 13898 case 'radio': 13899 case 'checkbox': 13900 case 'button': 13901 case 'submit': 13902 case 'reset': 13903 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__soy434, 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__soy438, isReadOnly: opt_data.isReadOnly}); 13904 break; 13905 } 13906 output += ((opt_data.labelContent && isCheckboxOrRadio__soy432) ? 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>'; 13907 return output; 13908}; 13909if (goog.DEBUG) { 13910 aui.form.field.soyTemplateName = 'aui.form.field'; 13911} 13912 13913 13914aui.form.fieldError = function(opt_data, opt_ignored) { 13915 var output = ''; 13916 var messageIsList__soy545 = (opt_data.message) instanceof Array; 13917 var messageIsProbablyNonEmptyString__soy546 = ! messageIsList__soy545 && opt_data.message != null; 13918 var messageIsNonEmptyList__soy547 = messageIsList__soy545 && opt_data.message.length > 0; 13919 if (messageIsProbablyNonEmptyString__soy546 || messageIsNonEmptyList__soy547) {
13920 output += '<div class="error' + aui.renderExtraClasses(opt_data) + '" role="alert" ' + ((opt_data.id) ? 'id="' + soy.$$escapeHtml(opt_data.id) + '-errors"' : '') + '><ul>'; 13921 if (messageIsList__soy545) { 13922 var errorList561 = opt_data.message; 13923 var errorListLen561 = errorList561.length; 13924 for (var errorIndex561 = 0; errorIndex561 < errorListLen561; errorIndex561++) { 13925 var errorData561 = errorList561[errorIndex561]; 13926 output += '<li>' + soy.$$escapeHtml(errorData561) + '</li>'; 13927 } 13928 } else { 13929 output += '<li>' + soy.$$escapeHtml(opt_data.message) + '</li>'; 13930 } 13931 output += '</ul></div>'; 13932 } 13933 return output; 13934}; 13935if (goog.DEBUG) { 13936 aui.form.fieldError.soyTemplateName = 'aui.form.fieldError'; 13937} 13938 13939 13940aui.form.fieldDescription = function(opt_data, opt_ignored) { 13941 opt_data = opt_data || {}; 13942 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>'; 13943}; 13944if (goog.DEBUG) { 13945 aui.form.fieldDescription.soyTemplateName = 'aui.form.fieldDescription'; 13946} 13947 13948 13949aui.form.textField = function(opt_data, opt_ignored) { 13950 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'text'})); 13951}; 13952if (goog.DEBUG) { 13953 aui.form.textField.soyTemplateName = 'aui.form.textField'; 13954} 13955 13956 13957aui.form.textareaField = function(opt_data, opt_ignored) { 13958 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'textarea'})); 13959}; 13960if (goog.DEBUG) { 13961 aui.form.textareaField.soyTemplateName = 'aui.form.textareaField'; 13962} 13963 13964 13965aui.form.passwordField = function(opt_data, opt_ignored) { 13966 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'password'})); 13967}; 13968if (goog.DEBUG) { 13969 aui.form.passwordField.soyTemplateName = 'aui.form.passwordField'; 13970} 13971 13972 13973aui.form.selectField = function(opt_data, opt_ignored) { 13974 return '' + aui.form.field(soy.$$augmentMap(opt_data, {type: 'select'})); 13975}; 13976if (goog.DEBUG) { 13977 aui.form.selectField.soyTemplateName = 'aui.form.selectField'; 13978} 13979 13980 13981aui.form.checkboxField = function(opt_data, opt_ignored) { 13982 var param608 = '' + ((opt_data.isMatrix) ? '<div class="matrix">' : ''); 13983 var fieldList612 = opt_data.fields; 13984 var fieldListLen612 = fieldList612.length; 13985 for (var fieldIndex612 = 0; fieldIndex612 < fieldListLen612; fieldIndex612++) { 13986 var fieldData612 = fieldList612[fieldIndex612]; 13987 param608 += aui.form.field(soy.$$augmentMap(fieldData612, {type: 'checkbox', labelContent: '' + soy.$$escapeHtml(fieldData612.labelText), extraFieldClasses: opt_data.extraFieldClasses})); 13988 } 13989 param608 += ((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}) : ''); 13990 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: param608}); 13991 return output; 13992}; 13993if (goog.DEBUG) { 13994 aui.form.checkboxField.soyTemplateName = 'aui.form.checkboxField'; 13995} 13996 13997 13998aui.form.radioField = function(opt_data, opt_ignored) { 13999 var param636 = '' + ((opt_data.isMatrix) ? '<div class="matrix">' : ''); 14000 var fieldList640 = opt_data.fields; 14001 var fieldListLen640 = fieldList640.length; 14002 for (var fieldIndex640 = 0; fieldIndex640 < fieldListLen640; fieldIndex640++) { 14003 var fieldData640 = fieldList640[fieldIndex640]; 14004 param636 += aui.form.field(soy.$$augmentMap(fieldData640, {type: 'radio', name: opt_data.name ? opt_data.name : opt_data.id, labelContent: '' + soy.$$escapeHtml(fieldData640.labelText), extraFieldClasses: opt_data.extraFieldClasses})); 14005 } 14006 param636 += ((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}) : ''); 14007 var output = '' + aui.form.fieldset({legendContent: opt_data.legendContent + (opt_data.isRequired ? '<span class="aui-icon icon-required"></span>
14007' : ''), isGroup: true, id: opt_data.id, extraClasses: opt_data.extraClasses, extraAttributes: opt_data.extraAttributes, content: param636}); 14008 return output; 14009}; 14010if (goog.DEBUG) { 14011 aui.form.radioField.soyTemplateName = 'aui.form.radioField'; 14012} 14013 14014 14015aui.form.auiSelectField = function(opt_data, opt_ignored) { 14016 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) + '"' : '') + '>'; 14017 var optionList683 = opt_data.options; 14018 var optionListLen683 = optionList683.length; 14019 for (var optionIndex683 = 0; optionIndex683 < optionListLen683; optionIndex683++) { 14020 var optionData683 = optionList683[optionIndex683]; 14021 output += '<aui-option value="' + soy.$$escapeHtml(optionData683.value) + '"' + ((opt_data.value == optionData683.value) ? ' selected' : '') + '>' + soy.$$escapeHtml(optionData683.text ? optionData683.text : optionData683.label) + '</aui-option>'; 14022 } 14023 output += '</aui-select>'; 14024 return output; 14025}; 14026if (goog.DEBUG) { 14027 aui.form.auiSelectField.soyTemplateName = 'aui.form.auiSelectField'; 14028} 14029 14030}catch(e){WRMCB(e)}; 14031; 14032try { 14033/* module-key = 'com.atlassian.auiplugin:soy', location = 'group.soy' */ 14034// This file was automatically generated from group.soy. 14035// Please don't edit this file by hand. 14036 14037/** 14038 * @fileoverview Templates in namespace aui.group. 14039 */ 14040 14041if (typeof aui == 'undefined') { var aui = {}; } 14042if (typeof aui.group == 'undefined') { aui.group = {}; } 14043 14044 14045aui.group.group = function(opt_data, opt_ignored) { 14046 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') + '>'; 14047}; 14048if (goog.DEBUG) { 14049 aui.group.group.soyTemplateName = 'aui.group.group'; 14050} 14051 14052 14053aui.group.item = function(opt_data, opt_ignored) { 14054 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') + '>'; 14055}; 14056if (goog.DEBUG) { 14057 aui.group.item.soyTemplateName = 'aui.group.item'; 14058} 14059 14060}catch(e){WRMCB(e)}; 14061; 14062try { 14063/* module-key = 'com.atlassian.auiplugin:soy', location = 'icons.soy' */ 14064// This file was automatically generated from icons.soy. 14065// Please don't edit this file by hand. 14066 14067/** 14068 * @fileoverview Templates in namespace aui.icons. 14069 */ 14070 14071if (typeof aui == 'undefined') { var aui = {}; } 14072if (typeof aui.icons == 'undefined') { aui.icons = {}; } 14073 14074 14075aui.icons.icon = function(opt_data, opt_ignored) { 14076 return '<' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'span') + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="aui-icon' + ((opt_data.useIconFont) ? ' aui-icon-' + soy.$$escapeHtml(opt_data.size ? opt_data.size : 'small') : '') + ' aui' + soy.$$escapeHtml(opt_data.useIconFont ? '-iconfont' : '-icon') + soy.$$escapeHtml(opt_data.iconFontSet ? '-' + opt_data.iconFontSet : '') + '-' + soy.$$escapeHtml(opt_data.icon) + aui.renderExtraClasses(opt_data) + '"' + ((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') + '>'; 14077}; 14078if (goog.DEBUG) { 14079 aui.icons.icon.soyTemplateName = 'aui.icons.icon'; 14080} 14081 14082}catch(e){WRMCB(e)}; 14083; 14084try { 14085/* module-key = 'com.atlassian.auiplugin:soy', location = 'inline-dialog2.soy' */ 14086// This file was automatically generated from inline-dialog2.soy. 14087// Please don't edit this file by hand. 14088 14089/** 14090 * @fileoverview Templates in namespace aui.inlineDialog2. 14091 */ 14092 14093if (typeof aui == 'undefined') { var aui = {}; } 14094if (typeof aui.inlineDialog2 == 'undefined') { aui.inlineDialog2 = {}; } 14095 14096 14097aui.inlineDialog2.inlineDialog2 = function(opt_data, opt_ignored) { 14098 return '<aui-inline-dialog' + ((opt_data.id) ? ' id="' + soy.$$escapeHtml(opt_data.id) + '"' : '') + ' class="' + aui.renderExtraClasse
14098s(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>'; 14099}; 14100if (goog.DEBUG) { 14101 aui.inlineDialog2.inlineDialog2.soyTemplateName = 'aui.inlineDialog2.inlineDialog2'; 14102} 14103 14104}catch(e){WRMCB(e)}; 14105; 14106try { 14107/* module-key = 'com.atlassian.auiplugin:soy', location = 'labels.soy' */ 14108// This file was automatically generated from labels.soy. 14109// Please don't edit this file by hand. 14110 14111/** 14112 * @fileoverview Templates in namespace aui.labels. 14113 */ 14114 14115if (typeof aui == 'undefined') { var aui = {}; } 14116if (typeof aui.labels == 'undefined') { aui.labels = {}; } 14117 14118 14119aui.labels.label = function(opt_data, opt_ignored) { 14120 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') + '>'); 14121}; 14122if (goog.DEBUG) { 14123 aui.labels.label.soyTemplateName = 'aui.labels.label'; 14124} 14125 14126 14127aui.labels.closeIcon = function(opt_data, opt_ignored) { 14128 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>'; 14129}; 14130if (goog.DEBUG) { 14131 aui.labels.closeIcon.soyTemplateName = 'aui.labels.closeIcon'; 14132} 14133 14134 14135aui.labels.closeIconText = function(opt_data, opt_ignored) { 14136 return '' + ((opt_data.closeIconText) ? soy.$$escapeHtml(opt_data.closeIconText) : '(' + soy.$$escapeHtml('Remove') + ' ' + soy.$$escapeHtml(opt_data.text) + ')'); 14137}; 14138if (goog.DEBUG) { 14139 aui.labels.closeIconText.soyTemplateName = 'aui.labels.closeIconText'; 14140} 14141 14142}catch(e){WRMCB(e)}; 14143; 14144try { 14145/* module-key = 'com.atlassian.auiplugin:soy', location = 'lozenges.soy' */ 14146// This file was automatically generated from lozenges.soy. 14147// Please don't edit this file by hand. 14148 14149/** 14150 * @fileoverview Templates in namespace aui.lozenges. 14151 */ 14152 14153if (typeof aui == 'undefined') { var aui = {}; } 14154if (typeof aui.lozenges == 'undefined') { aui.lozenges = {}; } 14155 14156 14157aui.lozenges.lozenge = function(opt_data, opt_ignored) { 14158 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') + '>'; 14159}; 14160if (goog.DEBUG) { 14161 aui.lozenges.lozenge.soyTemplateName = 'aui.lozenges.lozenge'; 14162} 14163 14164}catch(e){WRMCB(e)}; 14165; 14166try { 14167/* module-key = 'com.atlassian.auiplugin:soy', location = 'message.soy' */ 14168// This file was automatically generated from message.soy. 14169// Please don't edit this file by hand. 14170 14171/** 14172 * @fileoverview Templates in namespace aui.message. 14173 */ 14174 14175if (typeof aui == 'undefined') { var aui = {}; } 14176if (typeof aui.message == 'undefined') { aui.message = {}; } 14177 14178 14179aui.message.info = function(opt_data, opt_ignored) { 14180 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'info'})); 14181}; 14182if (goog.DEBUG) { 14183 aui.message.info.soyTemplateName = 'aui.message.info'; 14184} 14185 14186 14187aui.message.change = function(opt_data, opt_ignored) { 14188 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'change'})); 14189}; 14190if (goog.DEBUG) { 14191 aui.message.change.soyTemplateName = 'aui.message.change'; 14192} 14193 14194 14195aui.message.warning = function(opt_data, opt_ignored) { 14196 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'warning'})); 14197}; 14198if (goog.DEBUG) { 14199 aui.message.warning.soyTemplateName = 'aui.message.warning'; 14200} 14201 14202 14203aui.message.error = function(opt_data, opt_ignored) { 14204 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'error'})); 14205}; 14206if (goog.DEBUG) { 14207 aui.message.error.soyTemplateName = 'aui.message.error'; 14208} 14209 14210 14211aui.message.success = function(opt_data, opt_ignored) { 14212 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'success'})); 14213}; 14214if (goog.DEBUG) { 14215 aui.message.success.soyTemplateName = 'aui.message.success'; 14216} 14217 14218 14219aui.message.hint = function(opt_data, opt_ignored) { 14220 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'hint'})); 14221}; 14222if (goog.DEBUG) { 14223 aui.message.hint.soyTemplateName = 'aui.message.hint'; 14224} 14225 14226 14227aui.message.generic = function(opt_data, opt_ignored) { 14228 return '' + aui.message.message(soy.$$augmentMap(opt_data, {type: 'generic'})); 14229}; 14230if (goog.DEBUG) { 14231 aui.message.generic.soyTemplateName = 'aui.message.generic'; 14232} 14233 14234 14235aui.message.message = function(opt_data, opt_ignored) { 14236 var output = ''; 14237 var theTagName__soy24 = opt_data.tagName ? opt_data.tagName : 'div'; 14238 var theType__soy25 = opt_data.type ? opt_data.type : 'generic'; 14239 var labeledType__soy26 = theType__soy25 == 'error' || theType__soy25 == 'warning' || theType__soy25 == 'info' || theType__soy25 == 'confirmation' || theType__soy25 == 'change'; 14240 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
14240s(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) + '>'; 14241 return output; 14242}; 14243if (goog.DEBUG) { 14244 aui.message.message.soyTemplateName = 'aui.message.message'; 14245} 14246 14247}catch(e){WRMCB(e)}; 14248; 14249try { 14250/* module-key = 'com.atlassian.auiplugin:soy', location = 'panel.soy' */ 14251// This file was automatically generated from panel.soy. 14252// Please don't edit this file by hand. 14253 14254/** 14255 * @fileoverview Templates in namespace aui. 14256 */ 14257 14258if (typeof aui == 'undefined') { var aui = {}; } 14259 14260 14261aui.panel = function(opt_data, opt_ignored) { 14262 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') + '>'; 14263}; 14264if (goog.DEBUG) { 14265 aui.panel.soyTemplateName = 'aui.panel'; 14266} 14267 14268}catch(e){WRMCB(e)}; 14269; 14270try { 14271/* module-key = 'com.atlassian.auiplugin:soy', location = 'progress-tracker.soy' */ 14272// This file was automatically generated from progress-tracker.soy. 14273// Please don't edit this file by hand. 14274 14275/** 14276 * @fileoverview Templates in namespace aui.progressTracker. 14277 */ 14278 14279if (typeof aui == 'undefined') { var aui = {}; } 14280if (typeof aui.progressTracker == 'undefined') { aui.progressTracker = {}; } 14281 14282 14283aui.progressTracker.progressTracker = function(opt_data, opt_ignored) { 14284 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) + '>'; 14285 var param18 = ''; 14286 var currentStepList19 = opt_data.steps; 14287 var currentStepListLen19 = currentStepList19.length; 14288 for (var currentStepIndex19 = 0; currentStepIndex19 < currentStepListLen19; currentStepIndex19++) { 14289 var currentStepData19 = currentStepList19[currentStepIndex19]; 14290 if (currentStepData19['isCurrent']) { 14291 var stepList22 = opt_data.steps; 14292 var stepListLen22 = stepList22.length; 14293 for (var stepIndex22 = 0; stepIndex22 < stepListLen22; stepIndex22++) { 14294 var stepData22 = stepList22[stepIndex22]; 14295 param18 += aui.progressTracker.step(soy.$$augmentMap(stepData22, {width: Math.round(100 / opt_data.steps.length * 10000) / 10000, href: stepIndex22 < currentStepIndex19 ? stepData22['href'] : null})); 14296 } 14297 } 14298 } 14299 output += aui.progressTracker.content({steps: opt_data.steps, content: param18}); 14300 output += '</ol>'; 14301 return output; 14302}; 14303if (goog.DEBUG) { 14304 aui.progressTracker.progressTracker.soyTemplateName = 'aui.progressTracker.progressTracker'; 14305} 14306 14307 14308aui.progressTracker.content = function(opt_data, opt_ignored) { 14309 var output = ''; 14310 if (opt_data.content != '') { 14311 output += soy.$$filterNoAutoescape(opt_data.content); 14312 } else { 14313 var stepList36 = opt_data.steps; 14314 var stepListLen36 = stepList36.length; 14315 for (var stepIndex36 = 0; stepIndex36 < stepListLen36; stepIndex36++) { 14316 var stepData36 = stepList36[stepIndex36]; 14317 output += aui.progressTracker.step(soy.$$augmentMap(stepData36, {isCurrent: stepIndex36 == 0, width: Math.round(100 / opt_data.steps.length * 10000) / 10000, href: null})); 14318 } 14319 } 14320 return output; 14321}; 14322if (goog.DEBUG) { 14323 aui.progressTracker.content.soyTemplateName = 'aui.progressTracker.content'; 14324} 14325 14326 14327aui.progressTracker.step = function(opt_data, opt_ignored) { 14328 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.renderExtraClasse
14328s(opt_data) + '" style="width: ' + soy.$$escapeHtml(opt_data.width) + '%;"' + aui.renderExtraAttributes(opt_data) + '><' + soy.$$escapeHtml(opt_data.href ? 'a' : 'span') + ((opt_data.href) ? ' href="' + soy.$$escapeHtml(opt_data.href) + '"' : '') + '>' + soy.$$escapeHtml(opt_data.text) + '</' + soy.$$escapeHtml(opt_data.href ? 'a' : 'span') + '></li>'; 14329}; 14330if (goog.DEBUG) { 14331 aui.progressTracker.step.soyTemplateName = 'aui.progressTracker.step'; 14332} 14333 14334}catch(e){WRMCB(e)}; 14335; 14336try { 14337/* module-key = 'com.atlassian.auiplugin:soy', location = 'sidebar.soy' */ 14338// This file was automatically generated from sidebar.soy. 14339// Please don't edit this file by hand. 14340 14341/** 14342 * @fileoverview Templates in namespace aui.sidebar. 14343 */ 14344 14345if (typeof aui == 'undefined') { var aui = {}; } 14346if (typeof aui.sidebar == 'undefined') { aui.sidebar = {}; } 14347 14348 14349aui.sidebar.sidebar = function(opt_data, opt_ignored) { 14350 var output = ''; 14351 var isExpanded__soy3 = opt_data.state == 'collapsed' ? false : true; 14352 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" 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') + '>'; 14353 return output; 14354}; 14355if (goog.DEBUG) { 14356 aui.sidebar.sidebar.soyTemplateName = 'aui.sidebar.sidebar'; 14357} 14358 14359}catch(e){WRMCB(e)}; 14360; 14361try { 14362/* module-key = 'com.atlassian.auiplugin:soy', location = 'table.soy' */ 14363// This file was automatically generated from table.soy. 14364// Please don't edit this file by hand. 14365 14366/** 14367 * @fileoverview Templates in namespace aui. 14368 */ 14369 14370if (typeof aui == 'undefined') { var aui = {}; } 14371 14372 14373aui.table = function(opt_data, opt_ignored) { 14374 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>'; 14375}; 14376if (goog.DEBUG) { 14377 aui.table.soyTemplateName = 'aui.table'; 14378} 14379 14380}catch(e){WRMCB(e)}; 14381; 14382try { 14383/* module-key = 'com.atlassian.auiplugin:soy', location = 'tabs.soy' */ 14384// This file was automatically generated from tabs.soy. 14385// Please don't edit this file by hand. 14386 14387/** 14388 * @fileoverview Templates in namespace aui. 14389 */ 14390 14391if (typeof aui == 'undefined') { var aui = {}; } 14392 14393 14394aui.tabs = function(opt_data, opt_ignored) { 14395 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
14395s(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '><ul class="tabs-menu">'; 14396 var itemList19 = opt_data.menuItems; 14397 var itemListLen19 = itemList19.length; 14398 for (var itemIndex19 = 0; itemIndex19 < itemListLen19; itemIndex19++) { 14399 var itemData19 = itemList19[itemIndex19]; 14400 output += aui.tabMenuItem(itemData19); 14401 } 14402 output += '</ul>' + soy.$$filterNoAutoescape(opt_data.paneContent) + '</' + soy.$$escapeHtml(opt_data.tagName ? opt_data.tagName : 'div') + '>'; 14403 return output; 14404}; 14405if (goog.DEBUG) { 14406 aui.tabs.soyTemplateName = 'aui.tabs'; 14407} 14408 14409 14410aui.tabMenuItem = function(opt_data, opt_ignored) { 14411 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>'; 14412}; 14413if (goog.DEBUG) { 14414 aui.tabMenuItem.soyTemplateName = 'aui.tabMenuItem'; 14415} 14416 14417 14418aui.tabPane = function(opt_data, opt_ignored) { 14419 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') + '>'; 14420}; 14421if (goog.DEBUG) { 14422 aui.tabPane.soyTemplateName = 'aui.tabPane'; 14423} 14424 14425}catch(e){WRMCB(e)}; 14426; 14427try { 14428/* module-key = 'com.atlassian.auiplugin:soy', location = 'toolbar2.soy' */ 14429// This file was automatically generated from toolbar2.soy. 14430// Please don't edit this file by hand. 14431 14432/** 14433 * @fileoverview Templates in namespace aui.toolbar2. 14434 */ 14435 14436if (typeof aui == 'undefined') { var aui = {}; } 14437if (typeof aui.toolbar2 == 'undefined') { aui.toolbar2 = {}; } 14438 14439 14440aui.toolbar2.group = function(opt_data, opt_ignored) { 14441 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>'; 14442}; 14443if (goog.DEBUG) { 14444 aui.toolbar2.group.soyTemplateName = 'aui.toolbar2.group'; 14445} 14446 14447}catch(e){WRMCB(e)}; 14448; 14449try { 14450/* module-key = 'com.atlassian.auiplugin:soy', location = 'trigger.soy' */ 14451// This file was automatically generated from trigger.soy. 14452// Please don't edit this file by hand. 14453 14454/** 14455 * @fileoverview Templates in namespace aui.trigger. 14456 */ 14457 14458if (typeof aui == 'undefined') { var aui = {}; } 14459if (typeof aui.trigger == 'undefined') { aui.trigger = {}; } 14460 14461 14462aui.trigger.trigger = function(opt_data, opt_ignored) { 14463 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') + '>'; 14464}; 14465if (goog.DEBUG) { 14466 aui.trigger.trigger.soyTemplateName = 'aui.trigger.trigger'; 14467} 14468 14469}catch(e){WRMCB(e)}; 14470; 14471try {
14472/* module-key = 'com.atlassian.auiplugin:soy', location = 'navigation.soy' */ 14473// This file was automatically generated from navigation.soy. 14474// Please don't edit this file by hand. 14475 14476/** 14477 * @fileoverview Templates in namespace aui.navigation. 14478 */ 14479 14480if (typeof aui == 'undefined') { var aui = {}; } 14481if (typeof aui.navigation == 'undefined') { aui.navigation = {}; } 14482 14483 14484aui.navigation.item = function(opt_data, opt_ignored) { 14485 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>'; 14486}; 14487if (goog.DEBUG) { 14488 aui.navigation.item.soyTemplateName = 'aui.navigation.item'; 14489} 14490 14491 14492aui.navigation.nav = function(opt_data, opt_ignored) { 14493 var output = '<ul class="aui-nav' + aui.renderExtraClasses(opt_data) + '"' + aui.renderExtraAttributes(opt_data) + '>'; 14494 var itemList56 = opt_data.items; 14495 var itemListLen56 = itemList56.length; 14496 for (var itemIndex56 = 0; itemIndex56 < itemListLen56; itemIndex56++) { 14497 var itemData56 = itemList56[itemIndex56]; 14498 output += aui.navigation.item(soy.$$augmentMap(itemData56, {isChild: opt_data.isChild, selectedItemKey: opt_data.selectedItemKey})); 14499 } 14500 output += '</ul>'; 14501 return output; 14502}; 14503if (goog.DEBUG) { 14504 aui.navigation.nav.soyTemplateName = 'aui.navigation.nav'; 14505} 14506 14507 14508aui.navigation.toggleTreeIcon = function(opt_data, opt_ignored) { 14509 return '' + aui.icons.icon({icon: opt_data.isCollapsed ? 'collapsed' : 'expanded', size: 'small', useIconFont: true, accessibilityText: '' + ((opt_data.isCollapsed) ? soy.$$escapeHtml('Expand') : soy.$$escapeHtml('Collapse'))}); 14510}; 14511if (goog.DEBUG) { 14512 aui.navigation.toggleTreeIcon.soyTemplateName = 'aui.navigation.toggleTreeIcon'; 14513} 14514 14515}catch(e){WRMCB(e)}; 14516; 14517try { 14518/* module-key = 'com.atlassian.auiplugin:soy', location = 'page.soy' */ 14519// This file was automatically generated from page.soy. 14520// Please don't edit this file by hand. 14521 14522/** 14523 * @fileoverview Templates in namespace aui.page. 14524 */ 14525 14526if (typeof aui == 'undefined') { var aui = {}; } 14527if (typeof aui.page == 'undefined') { aui.page = {}; } 14528 14529 14530aui.page.page = function(opt_data, opt_ignored) { 14531 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>'; 14532}; 14533if (goog.DEBUG) { 14534 aui.page.page.soyTemplateName = 'aui.page.page'; 14535} 14536 14537 14538aui.page.genericElement = function(opt_data, opt_ignored) { 14539 var output = ''; 14540 var theTag__soy16 = opt_data.tagName ? opt_data.tagName : 'div'; 14541 var theId__soy17 = opt_data.id && opt_data.id != false && opt_data.id != 'false' ? opt_data.id : false; 14542 output += '<' + soy.$$escapeHtml(theTag__soy16) + aui.page.roleAttribute({tagName: theTag__soy16}) + ((theId__soy17) ? ' id="' + soy.$$escapeHtml(theId__soy17) + '"' : '') + ' class="' + soy.$$escapeHtml(opt_data.className) + aui.renderExtraClasses(opt_data) + '" ' + aui.renderExtraAttributes(opt_data) + '>' + soy.$$filterNoAutoescape(opt_data.content) + '</' + soy.$$escapeHtml(theTag__soy16) + '>'; 14543 return output; 14544}; 14545if (goog.DEBUG) { 14546 aui.page.genericElement.soyTemplateName = 'aui.page.genericElement'; 14547} 14548 14549 14550aui.page.roleAttribute = function(opt_data, opt_ignored) { 14551 var output = ''; 14552 var role__soy39 = ''; 14553 switch (opt_data.tagName) { 14554 case 'main': 14555 role__soy39 += 'main'; 14556 break; 14557 case 'header': 14558 role__soy39 += 'banner'; 14559 break; 14560 case 'footer': 14561 role__soy39 += 'contentinfo'; 14562 break; 14563 case 'aside': 14564 role__soy39 += 'complementary'; 14565 break; 14566 case 'nav': 14567 role__soy39 += 'navigation'; 14568 break; 14569 } 14570 output += (role__soy39) ? ' role="' + soy.$$escapeHtml(role__soy39) + '"' : ''; 14571 return output; 14572}; 14573if (goog.DEBUG) { 14574 aui.page.roleAttribute.soyTemplateName = 'aui.page.roleAttribute'; 14575} 14576 14577 14578aui.page.document = function(opt_data, opt_ignored) { 14579 return '<!DOCTYPE html><html lang="en">' + aui.page.documentHTMLContent(opt_data) + '</html>'; 14580}; 14581if (goog.DEBUG) { 14582 aui.page.document.soyTemplateName = 'aui.page.document'; 14583} 14584 14585 14586aui.page.documentHTMLContent = function(opt_data, opt_ignored) { 14587 var output = ''; 14588 var thePageSize__soy61 = opt_data.pageSize ? opt_data.pageSize : opt_data.focusedPageSize ? opt_data.focusedPageSize : 'xlarge'; 14589 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
14589s) ? ' class="' + aui.renderExtraClasses(opt_data) + '"' : '' : (opt_data.pageType == 'focused') ? ' class="aui-page-focused aui-page-focused-' + soy.$$escapeHtml(thePageSize__soy61) + ' aui-page-size-' + soy.$$escapeHtml(thePageSize__soy61) + aui.renderExtraClasses(opt_data) + '"' : (opt_data.pageType == 'notification') ? ' class="aui-page-notification aui-page-size-' + soy.$$escapeHtml(thePageSize__soy61) + 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>'; 14590 return output; 14591}; 14592if (goog.DEBUG) { 14593 aui.page.documentHTMLContent.soyTemplateName = 'aui.page.documentHTMLContent'; 14594} 14595 14596 14597aui.page.header = function(opt_data, opt_ignored) { 14598 var output = ''; 14599 if (opt_data.skipLinks) { 14600 var linkList113 = opt_data.skipLinks; 14601 var linkListLen113 = linkList113.length; 14602 for (var linkIndex113 = 0; linkIndex113 < linkListLen113; linkIndex113++) { 14603 var linkData113 = linkList113[linkIndex113]; 14604 output += '<a class="aui-skip-link" href="' + soy.$$escapeHtml(linkData113.href) + '">' + soy.$$escapeHtml(linkData113.label) + '</a>'; 14605 } 14606 } 14607 if (opt_data.bannerContent) { 14608 var bannerType__soy122 = opt_data.bannerType != null ? opt_data.bannerType : 'error'; 14609 output += '<div class="aui-banner aui-banner-' + soy.$$escapeHtml(bannerType__soy122) + '" role="alert"><div class="assistive">' + soy.$$escapeHtml(bannerType__soy122) + '</div>' + soy.$$filterNoAutoescape(opt_data.bannerContent) + '</div>'; 14610 } 14611 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('Confluence 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 -->'; 14612 return output; 14613}; 14614if (goog.DEBUG) { 14615 aui.page.header.soyTemplateName = 'aui.page.header'; 14616} 14617 14618 14619aui.page.pageHeader = function(opt_data, opt_ignored) { 14620 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>'})); 14621}; 14622if (goog.DEBUG) { 14623 aui.page.pageHeader.soyTemplateName = 'aui.page.pageHeader'; 14624} 14625 14626 14627aui.page.pageHeaderImage = function(opt_data, opt_ignored) { 14628 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header-image', patternName: '.aui-page-header-image'})); 14629}; 14630if (goog.DEBUG) { 14631 aui.page.pageHeaderImage.soyTemplateName = 'aui.page.pageHeaderImage'; 14632} 14633 14634 14635aui.page.pageHeaderMain = function(opt_data, opt_ignored) { 14636 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header-main', patternName: '.aui-page-header-main'})); 14637}; 14638if (goog.DEBUG) { 14639 aui.page.pageHeaderMain.soyTemplateName = 'aui.page.pageHeaderMain'; 14640} 14641 14642 14643aui.page.pageHeaderActions = function(opt_data, opt_ignored) { 14644 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-header-actions', patternName: '.aui-page-header-actions'})); 14645}; 14646if (goog.DEBUG) { 14647 aui.page.pageHeaderActions.soyTemplateName = 'aui.page.pageHeaderActions'; 14648} 14649 14650 14651aui.page.pagePanel = function(opt_data, opt_ignored) { 14652 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>'})); 14653}; 14654if (goog.DEBUG) { 14655 aui.page.pagePanel.soyTemplateName = 'aui.page.pagePanel'; 14656} 14657 14658 14659aui.page.pagePanelNav = function(opt_data, opt_ignored) { 14660 return '' + aui.page.genericElement(soy.$$augmentMap(opt_data, {className: 'aui-page-panel-nav', patternName: '.aui-page-panel-nav'})); 14661}; 14662if (goog.DEBUG) { 14663 aui.page.pagePanelNav.soyTemplateName = 'aui.page.pagePanelNav'; 14664} 14665 14666 14667aui.page.pagePanelContent = function(opt_data, opt_ignored) { 14668 var output = ''; 14669 var theId__soy237 = opt_data.id == false || opt_data.id == 'false' ? false : opt_data.id ? opt_data.id : 'main'; 14670 output += aui.page.genericElement(soy.$$augmentMap(opt_data, {id: theId__soy237, tagName: opt_data.tagName ? opt_data.tagName : 'main', className: 'aui-page-panel-content', patternName: '.aui-page-panel-content'})); 14671 return output; 14672}; 14673if (goog.DEBUG) { 14674 aui.page.pagePanelContent.soyTemplateName = 'aui.page.pagePanelContent'; 14675} 14676 14677 14678aui.page.pagePanelSidebar = function(opt_data, opt_ignored) { 14679 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'})); 14680}; 14681if (goog.DEBUG) { 14682 aui.page.pagePanelSidebar.soyTemplateName = 'aui.page.pagePanelSidebar'; 14683} 14684 14685 14686aui.page.pagePanelItem = function(opt_data, opt_ignored) { 14687 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'})); 14688}; 14689if (goog.DEBUG) { 14690 aui.page.pagePanelItem.soyTemplateName = 'aui.page.pagePanelItem';
14691} 14692 14693}catch(e){WRMCB(e)}; 14694; 14695try { 14696/* module-key = 'com.atlassian.auiplugin:soy', location = 'sidebar.soy' */ 14697// This file was automatically generated from sidebar.soy. 14698// Please don't edit this file by hand. 14699 14700/** 14701 * @fileoverview Templates in namespace aui.sidebar. 14702 */ 14703 14704if (typeof aui == 'undefined') { var aui = {}; } 14705if (typeof aui.sidebar == 'undefined') { aui.sidebar = {}; } 14706 14707 14708aui.sidebar.sidebar = function(opt_data, opt_ignored) { 14709 var output = ''; 14710 var isExpanded__soy3 = opt_data.state == 'collapsed' ? false : true; 14711 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" 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') + '>'; 14712 return output; 14713}; 14714if (goog.DEBUG) { 14715 aui.sidebar.sidebar.soyTemplateName = 'aui.sidebar.sidebar'; 14716} 14717 14718}catch(e){WRMCB(e)}; 14719; 14720try { 14721/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/confluence-amd.js' */ 14722define("confluence/legacy",function(){return Confluence}); 14723}catch(e){WRMCB(e)}; 14724; 14725try { 14726/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/confluence-mobile-amd.js' */ 14727define("confluence-mobile/legacy",function(){return ConfluenceMobile}); 14728}catch(e){WRMCB(e)}; 14729; 14730try { 14731/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/confluence-templates-amd.js' */ 14732define("confluence/templates",["confluence/legacy"],function(a){return a.Templates}); 14733}catch(e){WRMCB(e)}; 14734; 14735try { 14736/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/ajs-amd.js' */ 14737define("ajs",function(){return AJS}); 14738}catch(e){WRMCB(e)}; 14739; 14740try { 14741/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/jquery-amd.js' */ 14742define("jquery",function(){return jQuery}); 14743}catch(e){WRMCB(e)}; 14744; 14745try { 14746/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/memoir-amd.js' */ 14747define("memoir",function(){return memoir}); 14748}catch(e){WRMCB(e)}; 14749; 14750try { 14751/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/aui-templates-amd.js' */ 14752define("aui/templates",function(){return aui}); 14753}catch(e){WRMCB(e)}; 14754; 14755try { 14756/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/raphael-amd.js' */ 14757define("raphael",function(){return Raphael}); 14758}catch(e){WRMCB(e)}; 14759; 14760try { 14761/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core-amd', location = '/includes/js/amd/shim/tinymce-amd.js' */ 14762define("tinymce",["confluence-editor/init"],function(){return tinymce}); 14763}catch(e){WRMCB(e)}; 14764; 14765try { 14766/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs-namespace-global', location = '/includes/js/module-exporter-global.js' */ 14767require(["confluence/module-exporter"],function(a){a.namespace("AJS.namespace",function(b,c,d){a.namespace(b,d,c)})}); 14768}catch(e){WRMCB(e)}; 14769; 14770try { 14771/* module-key = 'com.atlassian.plugins.react:react-core-amd', location = '/react.amd.js' */ 14772/*! For license information please see react.amd.js.LICENSE.txt */ 14773define("atlassian/libs/react",[],()=>(()=>{let e={};return{743(e,t){!function(){"use strict";!function(e){function t(e,t,n){this.props=e,this.context=t,this.refs=F,this.updater=n||O}function n(){}function r(e,t,n){this.props=e,this.context=t,this.refs=F,this.updater=n||O}function u(e,t,n){var r,u={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)U.call(t,r)&&!q.hasOwnProperty(r)&&(u[r]=t[r]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var l=Array(i),c=0;c<i;c++)l[c]=arguments[c+2];u.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===u[r]&&(u[r]=i[r]);return{$$typeof:k,type:e,key:o,ref:a,props:u,_owner:V.current}}function o(e){return"object"==typeof e&&null!==e&&e.$$typeof===k}function a(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function i(e,t,n,r,u){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var c=!1;if(null===e)c=!0;else switch(l){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case k:case w:c=!0}}if(c)return u=u(c=e),e=""===r?"."+a(c,0):r,D(u)?(n="",null!=e&&(n=e.replace(A,"$&/")+"/"),i(u,t,n,"",function(e){return e})):null!=u&&(o(u)&&(u=function(e,t){return{$$typeof:k,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(u,n+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(A,"$&/")+"/")+e)),t.push(u)),1;if(c=0,r=""===r?".":r+":",D(e))for(var f=0;f<e.length;f++){var s=r+a(l=e[f],f);c+=i(l,t,n,s,u)}else if("function"==typeof(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}(e)))for(e=s.call(e),f=0;!(l=e.next()).done;)c+=i(l=l.value,t,n,s=r+a(l,f++),u);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function l(e,t,n){if(null==e)return e;var r=[],u=0;return i(e,r,"","",function(e){return t.call(n,e,u++)}),r}function c(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}function f(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,u=e[r];if(!(0<y(u,t)))break e;e[r]=t,e[n]=u,n=r}}function s(e){return 0===e.length?null:e[0]}function p(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,u=e.length,o=u>>>1;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,c=e[l];
14773if(0>y(i,n))l<u&&0>y(c,i)?(e[r]=c,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(l<u&&0>y(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function y(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function d(e){for(var t=s(J);null!==t;){if(null===t.callback)p(J);else{if(!(t.startTime<=e))break;p(J),t.sortIndex=t.expirationTime,f(G,t)}t=s(J)}}function b(e){if(te=!1,d(e),!ee)if(null!==s(G))ee=!0,m(v);else{var t=s(J);null!==t&&h(b,t.startTime-e)}}function v(e,t){ee=!1,te&&(te=!1,re(ie),ie=-1),Z=!0;var n=X;try{for(d(t),Q=s(G);null!==Q&&(!(Q.expirationTime>t)||e&&!_());){var r=Q.callback;if("function"==typeof r){Q.callback=null,X=Q.priorityLevel;var u=r(Q.expirationTime<=t);t=H(),"function"==typeof u?Q.callback=u:Q===s(G)&&p(G),d(t)}else p(G);Q=s(G)}if(null!==Q)var o=!0;else{var a=s(J);null!==a&&h(b,a.startTime-t),o=!1}return o}finally{Q=null,X=n,Z=!1}}function _(){return!(H()-ce<le)}function m(e){ae=e,oe||(oe=!0,se())}function h(e,t){ie=ne(function(){e(H())},t)}function g(e){throw Error("act(...) is not supported in production builds of React.")}var k=Symbol.for("react.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),R=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),I=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),j=Symbol.iterator,O={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},L=Object.assign,F={};t.prototype.isReactComponent={},t.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},t.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},n.prototype=t.prototype;var M=r.prototype=new n;M.constructor=r,L(M,t.prototype),M.isPureReactComponent=!0;var D=Array.isArray,U=Object.prototype.hasOwnProperty,V={current:null},q={key:!0,ref:!0,__self:!0,__source:!0},A=/\/+/g,N={current:null},B={transition:null};if("object"==typeof performance&&"function"==typeof performance.now)var z=performance,H=function(){return z.now()};else{var W=Date,Y=W.now();H=function(){return W.now()-Y}}var G=[],J=[],K=1,Q=null,X=3,Z=!1,ee=!1,te=!1,ne="function"==typeof setTimeout?setTimeout:null,re="function"==typeof clearTimeout?clearTimeout:null,ue="undefined"!=typeof setImmediate?setImmediate:null;"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var oe=!1,ae=null,ie=-1,le=5,ce=-1,fe=function(){if(null!==ae){var e=H();ce=e;var t=!0;try{t=ae(!0,e)}finally{t?se():(oe=!1,ae=null)}}else oe=!1};if("function"==typeof ue)var se=function(){ue(fe)};else if("undefined"!=typeof MessageChannel){var pe=(M=new MessageChannel).port2;M.port1.onmessage=fe,se=function(){pe.postMessage(null)}}else se=function(){ne(fe,0)};M={ReactCurrentDispatcher:N,ReactCurrentOwner:V,ReactCurrentBatchConfig:B,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=X;X=e;try{return t()}finally{X=n}},unstable_next:function(e){switch(X){case 1:case 2:case 3:var t=3;break;default:t=X}var n=X;X=t;try{return e()}finally{X=n}},unstable_scheduleCallback:function(e,t,n){var r=H();switch(n="object"==typeof n&&null!==n&&"number"==typeof(n=n.delay)&&0<n?r+n:r,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:K++,callback:t,priorityLevel:e,startTime:n,expirationTime:u=n+u,sortIndex:-1},n>r?(e.sortIndex=n,f(J,e),null===s(G)&&e===s(J)&&(te?(re(ie),ie=-1):te=!0,h(b,n-r))):(e.sortIndex=u,f(G,e),ee||Z||(ee=!0,m(v))),e},unstable_cancelCallback:function(e){e.callback=null},unstable_wrapCallback:function(e){var t=X;return function(){var n=X;X=t;
14773try{return e.apply(this,arguments)}finally{X=n}}},unstable_getCurrentPriorityLevel:function(){return X},unstable_shouldYield:_,unstable_requestPaint:function(){},unstable_continueExecution:function(){ee||Z||(ee=!0,m(v))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return s(G)},get unstable_now(){return H},unstable_forceFrameRate:function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<e?Math.floor(1e3/e):5},unstable_Profiling:null}},e.Children={map:l,forEach:function(e,t,n){l(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return l(e,function(){t++}),t},toArray:function(e){return l(e,function(e){return e})||[]},only:function(e){if(!o(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},e.Component=t,e.Fragment=S,e.Profiler=E,e.PureComponent=r,e.StrictMode=C,e.Suspense=$,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,e.act=g,e.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=L({},e.props),u=e.key,o=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,a=V.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(l in t)U.call(t,l)&&!q.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==i?i[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){i=Array(l);for(var c=0;c<l;c++)i[c]=arguments[c+2];r.children=i}return{$$typeof:k,type:e.type,key:u,ref:o,props:r,_owner:a}},e.createContext=function(e){return(e={$$typeof:R,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:x,_context:e},e.Consumer=e},e.createElement=u,e.createFactory=function(e){var t=u.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:P,render:e}},e.isValidElement=o,e.lazy=function(e){return{$$typeof:T,_payload:{_status:-1,_result:e},_init:c}},e.memo=function(e,t){return{$$typeof:I,type:e,compare:void 0===t?null:t}},e.startTransition=function(e,t){t=B.transition,B.transition={};try{e()}finally{B.transition=t}},e.unstable_act=g,e.useCallback=function(e,t){return N.current.useCallback(e,t)},e.useContext=function(e){return N.current.useContext(e)},e.useDebugValue=function(e,t){},e.useDeferredValue=function(e){return N.current.useDeferredValue(e)},e.useEffect=function(e,t){return N.current.useEffect(e,t)},e.useId=function(){return N.current.useId()},e.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return N.current.useMemo(e,t)},e.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},e.useRef=function(e){return N.current.useRef(e)},e.useState=function(e){return N.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return N.current.useTransition()},e.version="18.3.1"}(t)}()}}[743](0,e),e})()); 14774}catch(e){WRMCB(e)}; 14775; 14776try { 14777/* module-key = 'com.atlassian.plugins.react:react-core-amd', location = '/react/jsx-runtime.amd.js' */ 14778/*! For license information please see jsx-runtime.amd.js.LICENSE.txt */ 14779define("atlassian/libs/react/jsx-runtime",["atlassian/libs/react"],r=>(()=>{"use strict";var e={20(r,e,t){var o=t(777),n=Symbol.for("react.element"),s=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(r,e,t){var o,s={},l=null,p=null;
14779for(o in void 0!==t&&(l=""+t),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(p=e.ref),e)a.call(e,o)&&!i.hasOwnProperty(o)&&(s[o]=e[o]);if(r&&r.defaultProps)for(o in e=r.defaultProps)void 0===s[o]&&(s[o]=e[o]);return{$$typeof:n,type:r,key:l,ref:p,props:s,_owner:f.current}}e.Fragment=s,e.jsx=l,e.jsxs=l},848(r,e,t){r.exports=t(20)},777(e){e.exports=r}};const t={};return function r(o){const n=t[o];if(void 0!==n)return n.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}(848)})()); 14780}catch(e){WRMCB(e)}; 14781; 14782try { 14783/* module-key = 'com.atlassian.plugins.react:react-dom-amd', location = '/react-dom.amd.js' */ 14784/*! For license information please see react-dom.amd.js.LICENSE.txt */ 14785define("atlassian/libs/react-dom",["atlassian/libs/react"],e=>(()=>{var n={515(e,n,t){!function(){"use strict";!function(e,n){function t(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(e,n){l(e,n),l(e+"Capture",n)}function l(e,n){for(ra[e]=n,e=0;e<n.length;e++)ta.add(n[e])}function a(e,n,t,r,l,a,u){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=u}function u(e,n,t,r){var l=sa.hasOwnProperty(n)?sa[n]:null;(null!==l?0!==l.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,l,r)&&(t=null),r||null===l?function(e){return!!aa.call(ia,e)||!aa.call(oa,e)&&(ua.test(e)?ia[e]=!0:(oa[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}function o(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=_a&&e[_a]||e["@@iterator"])?e:null}function i(e,n,t){if(void 0===za)try{throw Error()}catch(e){za=(n=e.stack.trim().match(/\n( *(at )?)/))&&n[1]||""}return"\n"+za+e}function s(e,n){if(!e||Ta)return"";Ta=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 5,527 bytes, line 14785
14785else{try{n.call()}catch(e){r=e}e.call(n.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(n){if(n&&r&&"string"==typeof n.stack){for(var l=n.stack.split("\n"),a=r.stack.split("\n"),u=l.length-1,o=a.length-1;1<=u&&0<=o&&l[u]!==a[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==a[o]){if(1!==u||1!==o)do{if(u--,0>--o||l[u]!==a[o]){var s="\n"+l[u].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=u&&0<=o);break}}}finally{Ta=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?i(e):""}function c(e){switch(e.tag){case 5:return i(e.type);case 16:return i("Lazy");case 13:return i("Suspense");case 19:return i("SuspenseList");case 0:case 2:case 15:return s(e.type,!1);case 11:return s(e.type.render,!1);case 1:return s(e.type,!0);default:return""}}function f(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ha:return"Fragment";case ma:return"Portal";case va:return"Profiler";case ga:return"StrictMode";case wa:return"Suspense";case Sa:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ba:return(e.displayName||"Context")+".Consumer";case ya:return(e._context.displayName||"Context")+".Provider";case ka:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case xa:return null!==(n=e.displayName||null)?n:f(e.type)||"Memo";case Ea:n=e._payload,e=e._init;try{return f(e(n))}catch(e){}}return null}function d(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return f(n);case 8:return n===ga?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}function p(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function m(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function h(e){e._valueTracker||(e._valueTracker=function(e){var n=m(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function g(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=m(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function v(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function y(e,n){var t=n.checked;return La({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function b(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=p(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function k(e,n){null!=(n=n.checked)&&u(e,"checked",n,!1)}function w(e,n){k(e,n);var t=p(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?x(e,n.type,t):n.hasOwnProperty("defaultValue")&&x(e,n.type,p(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function S(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function x(e,n,t){"number"===n&&v(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function E(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+p(t),n=null,l=0;l<e.length;l++){if(e[l].value===t)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function C(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(t(91));return La({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function z(e,n){var r=n.value;if(null==r){if(r=n.children,n=n.defaultValue,null!=r){if(null!=n)throw Error(t(92));
vendor: 1,760 bytes, line 14785
14785if(Ma(r)){if(1<r.length)throw Error(t(93));r=r[0]}n=r}null==n&&(n=""),r=n}e._wrapperState={initialValue:p(r)}}function N(e,n){var t=p(n.value),r=p(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function P(e,n){(n=e.textContent)===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function _(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function L(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?_(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}function T(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||Da.hasOwnProperty(e)&&Da[e]?(""+n).trim():n+"px"}function M(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=T(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}function F(e,n){if(n){if(Ia[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(t(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(t(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(t(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(t(62))}}function R(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function D(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 20,686 bytes, line 14785
14785odeType?e.parentNode:e}function O(e){if(e=mn(e)){if("function"!=typeof Va)throw Error(t(280));var n=e.stateNode;n&&(n=gn(n),Va(e.stateNode,e.type,n))}}function I(e){Aa?Ba?Ba.push(e):Ba=[e]:Aa=e}function U(){if(Aa){var e=Aa,n=Ba;if(Ba=Aa=null,O(e),n)for(e=0;e<n.length;e++)O(n[e])}}function V(e,n,t){if(Qa)return e(n,t);Qa=!0;try{return Wa(e,n,t)}finally{Qa=!1,(null!==Aa||null!==Ba)&&(Ha(),U())}}function A(e,n){var r=e.stateNode;if(null===r)return null;var l=gn(r);if(null===l)return null;r=l[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(l=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!l;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(t(231,n,typeof r));return r}function B(e,n,t,r,l,a,u,o,i){Ga=!1,Za=null,Xa.apply(nu,arguments)}function W(e,n,r,l,a,u,o,i,s){if(B.apply(this,arguments),Ga){if(!Ga)throw Error(t(198));var c=Za;Ga=!1,Za=null,Ja||(Ja=!0,eu=c)}}function H(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{!!(4098&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function Q(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&null!==(e=e.alternate)&&(n=e.memoizedState),null!==n)return n.dehydrated}return null}function j(e){if(H(e)!==e)throw Error(t(188))}function $(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=H(e)))throw Error(t(188));return n!==e?null:e}for(var r=e,l=n;;){var a=r.return;if(null===a)break;var u=a.alternate;if(null===u){if(null!==(l=a.return)){r=l;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===r)return j(a),e;if(u===l)return j(a),n;u=u.sibling}throw Error(t(188))}if(r.return!==l.return)r=a,l=u;else{for(var o=!1,i=a.child;i;){if(i===r){o=!0,r=a,l=u;break}if(i===l){o=!0,l=a,r=u;break}i=i.sibling}if(!o){for(i=u.child;i;){if(i===r){o=!0,r=u,l=a;break}if(i===l){o=!0,l=u,r=a;break}i=i.sibling}if(!o)throw Error(t(189))}}if(r.alternate!==l)throw Error(t(190))}if(3!==r.tag)throw Error(t(188));return r.stateNode.current===r?e:n}(e))?K(e):null}function K(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=K(e);if(null!==n)return n;e=e.sibling}return null}function q(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Y(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,u=268435455&t;if(0!==u){var o=u&~l;0!==o?r=q(o):0!==(a&=u)&&(r=q(a))}else 0!==(u=t&~l)?r=q(u):0!==a&&(r=q(a));if(0===r)return 0;if(0!==n&&n!==r&&0===(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&4194240&a))return n;if(4&r&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-yu(n)),r|=e[t],n&=~l;return r}function X(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;default:return-1}}function G(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Z(){var e=wu;return!(4194240&(wu<<=1))&&(wu=64),e}function J(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function ee(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-yu(n)]=t}function ne(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-yu(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}function te(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}function re(e,n){switch(e){case"focusin":case"focusout":zu=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":Pu=null;break;case"pointerover":case"pointerout":_u.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lu.delete(n.pointerId)}}function le(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[l]},null!==n&&null!==(n=mn(n))&&js(n),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function ae(e){var n=pn(e.target);if(null!==n){var t=H(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=Q(t)))return e.blockedOn=n,void qs(e.priority,function(){$s(t)})}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function ue(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=me(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=mn(t))&&js(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);Ua=r,t.target.dispatchEvent(r),Ua=null,n.shift()}return!0}function oe(e,n,t){ue(e)&&t.delete(n)}function ie(){Eu=!1,null!==zu&&ue(zu)&&(zu=null),null!==Nu&&ue(Nu)&&(Nu=null),null!==Pu&&ue(Pu)&&(Pu=null),_u.forEach(oe),Lu.forEach(oe)}function se(e,n){e.blockedOn===n&&(e.blockedOn=null,Eu||(Eu=!0,ru(lu,ie)))}function ce(e){if(0<Cu.length){se(Cu[0],e);for(var n=1;n<Cu.length;n++){var t=Cu[n];t.blockedOn===e&&(t.blockedOn=null)}}for(null!==zu&&se(zu,e),null!==Nu&&se(Nu,e),null!==Pu&&se(Pu,e),n=function(n){return se(n,e)},_u.forEach(n),Lu.forEach(n),n=0;n<Tu.length;n++)(t=Tu[n]).blockedOn===e&&(t.blockedOn=null);for(;0<Tu.length&&null===(n=Tu[0]).blockedOn;)ae(n),null===n.blockedOn&&Tu.shift()}function fe(e,n,t,r){var l=xu,a=Fu.transition;Fu.transition=null;try{xu=1,pe(e,n,t,r)}finally{xu=l,Fu.transition=a}}function de(e,n,t,r){var l=xu,a=Fu.transition;Fu.transition=null;try{xu=4,pe(e,n,t,r)}finally{xu=l,Fu.transition=a}}function pe(e,n,t,r){if(Ru){var l=me(e,n,t,r);if(null===l)Je(e,n,r,Du,t),re(e,r);else if(function(e,n,t,r,l){switch(n){case"focusin":return zu=le(zu,e,n,t,r,l),!0;case"dragenter":return Nu=le(Nu,e,n,t,r,l),!0;case"mouseover":return Pu=le(Pu,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return _u.set(a,le(_u.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,Lu.set(a,le(Lu.get(a)||null,e,n,t,r,l)),!0}return!1}(l,e,n,t,r))r.stopPropagation();else if(re(e,r),4&n&&-1<Mu.indexOf(e)){for(;null!==l;){var a=mn(l);if(null!==a&&Qs(a),null===(a=me(e,n,t,r))&&Je(e,n,r,Du,t),a===l)break;l=a}null!==l&&r.stopPropagation()}else Je(e,n,r,null,t)}}function me(e,n,t,r){if(Du=null,null!==(e=pn(e=D(r))))if(null===(n=H(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=Q(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Du=e,null}function he(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(cu()){case fu:return 1;case du:return 4;case pu:case mu:return 16;case hu:return 536870912;default:return 16}default:return 16}}function ge(){if(Uu)return Uu;var e,n,t=Iu,r=t.length,l="value"in Ou?Ou.value:Ou.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var u=r-e;for(n=1;n<=u&&t[r-n]===l[a-n];n++);return Uu=l.slice(e,1<n?1-n:void 0)}function ve(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function ye(){return!0}function be(){return!1}function ke(e){function n(n,t,r,l,a){for(var u in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(l):l[u]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?ye:be,this.isPropagationStopped=be,this}return La(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ye)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ye)},persist:function(){},isPersistent:ye}),n}function we(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=Ju[e])&&!!n[e]}function Se(e){return we}function xe(e,n){switch(e){case"keyup":return-1!==ao.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ee(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function Ce(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!mo[e.type]:"textarea"===n}function ze(e,n,t,r){I(r),0<(n=nn(n,"onChange")).length&&(t=new Au("onChange","change",null,t,r),e.push({event:t,listeners:n}))}function Ne(e){qe(e,0)}function Pe(e){if(g(hn(e)))return e}function _e(e,n){if("change"===e)return n}function Le(){ho&&(ho.detachEvent("onpropertychange",Te),go=ho=null)}function Te(e){if("value"===e.propertyName&&Pe(go)){var n=[];ze(n,go,e,D(e)),V(Ne,n)}}function Me(e,n,t){"focusin"===e?(Le(),go=t,(ho=n).attachEvent("onpropertychange",Te)):"focusout"===e&&Le()}function Fe(e,n){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Pe(go)}function Re(e,n){if("click"===e)return Pe(n)}function De(e,n){if("input"===e||"change"===e)return Pe(n)}function Oe(e,n){if(yo(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!aa.call(n,l)||!yo(e[l],n[l]))return!1}return!0}function Ie(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ue(e,n){var t,r=Ie(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ie(r)}}function Ve(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?Ve(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function Ae(){for(var e=window,n=v();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(!t)break;n=v((e=n.contentWindow).document)}return n}function Be(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function We(e){var n=Ae(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ve(t.ownerDocument.documentElement,t)){if(null!==r&&Be(t))if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var l=t.textContent.length,a=Math.min(r.start,l);r=void 0===r.end?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=Ue(t,a);var u=Ue(t,r);l&&u&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}function He(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;xo||null==ko||ko!==v(r)||(r="selectionStart"in(r=ko)&&Be(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},So&&Oe(So,r)||(So=r,0<(r=nn(wo,"onSelect")).length&&(n=new Au("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=ko)))}function Qe(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}function je(e){if(Co[e])return Co[e];if(!Eo[e])return e;var n,t=Eo[e];for(n in t)if(t.hasOwnProperty(n)&&n in zo)return Co[e]=t[n];return e}function $e(e,n){To.set(e,n),r(n,[e])}function Ke(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,W(r,n,void 0,e),e.currentTarget=null}function qe(e,n){n=!!(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var u=r.length-1;0<=u;u--){var o=r[u],i=o.instance,s=o.currentTarget;if(o=o.listener,i!==a&&l.isPropagationStopped())break e;Ke(l,o,s),a=i}else for(u=0;u<r.length;u++){if(i=(o=r[u]).instance,s=o.currentTarget,o=o.listener,i!==a&&l.isPropagationStopped())break e;Ke(l,o,s),a=i}}}if(Ja)throw e=eu,Ja=!1,eu=null,e}function Ye(e,n){var t=n[qo];void 0===t&&(t=n[qo]=new Set);var r=e+"__bubble";t.has(r)||(Ze(n,e,2,!1),t.add(r))}function Xe(e,n,t){var r=0;n&&(r|=4),Ze(t,e,r,n)}function Ge(e){if(!e[Do]){e[Do]=!0,ta.forEach(function(n){"selectionchange"!==n&&(Ro.has(n)||Xe(n,!1,e),Xe(n,!0,e))});var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Do]||(n[Do]=!0,Xe("selectionchange",!1,n))}}function Ze(e,n,t,r,l){switch(he(n)){case 1:l=fe;break;case 4:l=de;break;default:l=pe}t=l.bind(null,n,t,e),l=void 0,!ja||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Je(e,n,t,r,l){var a=r;if(!(1&n||2&n||null===r))e:for(;;){if(null===r)return;var u=r.tag;if(3===u||4===u){var o=r.stateNode.containerInfo;if(o===l||8===o.nodeType&&o.parentNode===l)break;if(4===u)for(u=r.return;null!==u;){var i=u.tag;if((3===i||4===i)&&((i=u.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;u=u.return}for(;null!==o;){if(null===(u=pn(o)))return;if(5===(i=u.tag)||6===i){r=a=u;continue e}o=o.parentNode}}r=r.return}V(function(){var r=a,l=D(t),u=[];e:{var o=To.get(e);if(void 0!==o){var i=Au,s=e;switch(e){case"keypress":if(0===ve(t))break e;case"keydown":case"keyup":i=eo;break;case"focusin":s="focus",i=$u;break;case"focusout":s="blur",i=$u;break;case"beforeblur":case"afterblur":i=$u;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=Qu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=ju;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=to;break;case No:case Po:case _o:i=Ku;break;case Lo:i=ro;break;case"scroll":i=Wu;break;case"wheel":i=lo;break;case"copy":case"cut":case"paste":i=qu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=no}var c=!!(4&n),f=!c&&"scroll"===e,d=c?null!==o?o+"Capture":null:o;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=A(m,d))&&c.push(en(m,h,p))),f)break;m=m.return}0<c.length&&(o=new i(o,s,null,t,l),u.push({event:o,listeners:c}))}}if(!(7&n)){if(i="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||t===Ua||!(s=t.relatedTarget||t.fromElement)||!pn(s)&&!s[Ko])&&(i||o)&&(o=l.window===l?l:(o=l.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=r,null!==(s=(s=t.relatedTarget||t.toElement)?pn(s):null)&&(s!==(f=H(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=Qu,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=no,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?o:hn(i),p=null==s?o:hn(s),(o=new c(h,m+"leave",i,t,l)).target=f,o.relatedTarget=p,h=null,pn(l)===r&&((c=new c(d,m+"enter",s,t,l)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)e:{for(d=s,m=0,p=c=i;p;p=tn(p))m++;for(p=0,h=d;h;h=tn(h))p++;for(;0<m-p;)c=tn(c),m--;for(;0<p-m;)d=tn(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=tn(c),d=tn(d)}c=null}else c=null;null!==i&&rn(u,o,i,c,!1),null!==s&&null!==f&&rn(u,f,s,c,!0)}if("select"===(i=(o=r?hn(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===i&&"file"===o.type)var g=_e;else if(Ce(o))if(vo)g=De;else{g=Fe;var v=Me}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(g=Re);switch(g&&(g=g(e,r))?ze(u,g,t,l):(v&&v(e,o,r),"focusout"===e&&(v=o._wrapperState)&&v.controlled&&"number"===o.type&&x(o,"number",o.value)),v=r?hn(r):window,e){case"focusin":(Ce(v)||"true"===v.contentEditable)&&(ko=v,wo=r,So=null);break;case"focusout":So=wo=ko=null;break;case"mousedown":xo=!0;break;case"contextmenu":case"mouseup":case"dragend":xo=!1,He(u,t,l);break;case"selectionchange":if(bo)break;case"keydown":case"keyup":He(u,t,l)}var y;if(uo)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else po?xe(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(so&&"ko"!==t.locale&&(po||"onCompositionStart"!==b?"onCompositionEnd"===b&&po&&(y=ge()):(Iu="value"in(Ou=l)?Ou.value:Ou.textContent,po=!0)),0<(v=nn(r,b)).length&&(b=new Yu(b,e,null,t,l),u.push({event:b,listeners:v}),(y||null!==(y=Ee(t)))&&(b.data=y))),(y=io?function(e,n){switch(e){case"compositionend":return Ee(n);case"keypress":return 32!==n.which?null:(fo=!0,co);case"textInput":return(e=n.data)===co&&fo?null:e;default:return null}}(e,t):function(e,n){if(po)return"compositionend"===e||!uo&&xe(e,n)?(e=ge(),Uu=Iu=Ou=null,po=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return so&&"ko"!==n.locale?null:n.data}}(e,t))&&0<(r=nn(r,"onBeforeInput")).length&&(l=new Xu("onBeforeInput","beforeinput",null,t,l),u.push({event:l,listeners:r}),l.data=y)}qe(u,n)})}function en(e,n,t){return{instance:e,listener:n,currentTarget:t}}function nn(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=A(e,t))&&r.unshift(en(e,a,l)),null!=(a=A(e,n))&&r.push(en(e,a,l))),e=e.return}return r}function tn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function rn(e,n,t,r,l){for(var a=n._reactName,u=[];null!==t&&t!==r;){var o=t,i=o.alternate,s=o.stateNode;if(null!==i&&i===r)break;5===o.tag&&null!==s&&(o=s,l?null!=(i=A(t,a))&&u.unshift(en(t,i,o)):l||null!=(i=A(t,a))&&u.push(en(t,i,o))),t=t.return}0!==u.length&&e.push({event:n,listeners:u})}function ln(e){return("string"==typeof e?e:""+e).replace(Oo,"\n").replace(Io,"")}function an(e,n,r,l){if(n=ln(n),ln(e)!==n&&r)throw Error(t(425))}function un(){}function on(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}function sn(e){setTimeout(function(){throw e})}function cn(e,n){var t=n,r=0;do{var l=t.nextSibling;
vendor: 7,026 bytes, line 14785
14785if(e.removeChild(t),l&&8===l.nodeType)if("/$"===(t=l.data)){if(0===r)return e.removeChild(l),void ce(n);r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++;t=l}while(t);ce(n)}function fn(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function dn(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}function pn(e){var n=e[jo];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ko]||t[jo]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=dn(e);null!==e;){if(t=e[jo])return t;e=dn(e)}return n}t=(e=t).parentNode}return null}function mn(e){return!(e=e[jo]||e[Ko])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function hn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(t(33))}function gn(e){return e[$o]||null}function vn(e){return{current:e}}function yn(e,n){0>Zo||(e.current=Go[Zo],Go[Zo]=null,Zo--)}function bn(e,n,t){Zo++,Go[Zo]=e.current,e.current=n}function kn(e,n){var t=e.type.contextTypes;if(!t)return Jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function wn(e){return null!=e.childContextTypes}function Sn(e,n,r){if(ei.current!==Jo)throw Error(t(168));bn(ei,n),bn(ni,r)}function xn(e,n,r){var l=e.stateNode;if(n=n.childContextTypes,"function"!=typeof l.getChildContext)return r;for(var a in l=l.getChildContext())if(!(a in n))throw Error(t(108,d(e)||"Unknown",a));return La({},r,l)}function En(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jo,ti=ei.current,bn(ei,e),bn(ni,ni.current),!0}function Cn(e,n,r){var l=e.stateNode;if(!l)throw Error(t(169));r?(e=xn(e,n,ti),l.__reactInternalMemoizedMergedChildContext=e,yn(ni),yn(ei),bn(ei,e)):yn(ni),bn(ni,r)}function zn(e){null===ri?ri=[e]:ri.push(e)}function Nn(){if(!ai&&null!==ri){ai=!0;var e=0,n=xu;try{var t=ri;for(xu=1;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}ri=null,li=!1}catch(n){throw null!==ri&&(ri=ri.slice(e+1)),au(fu,Nn),n}finally{xu=n,ai=!1}}return null}function Pn(e,n){ui[oi++]=si,ui[oi++]=ii,ii=e,si=n}function _n(e,n,t){ci[fi++]=pi,ci[fi++]=mi,ci[fi++]=di,di=e;var r=pi;e=mi;var l=32-yu(r)-1;r&=~(1<<l),t+=1;var a=32-yu(n)+l;if(30<a){var u=l-l%5;a=(r&(1<<u)-1).toString(32),r>>=u,l-=u,pi=1<<32-yu(n)+l|t<<l|r,mi=a+e}else pi=1<<a|t<<l|r,mi=e}function Ln(e){null!==e.return&&(Pn(e,1),_n(e,1,0))}function Tn(e){for(;e===ii;)ii=ui[--oi],ui[oi]=null,si=ui[--oi],ui[oi]=null;for(;e===di;)di=ci[--fi],ci[fi]=null,mi=ci[--fi],ci[fi]=null,pi=ci[--fi],ci[fi]=null}function Mn(e,n){var t=Ws(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function Fn(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,hi=e,gi=fn(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,hi=e,gi=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==di?{id:pi,overflow:mi}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=Ws(18,null,null,0)).stateNode=n,t.return=e,e.child=t,hi=e,gi=null,!0);default:return!1}}function Rn(e){return!(!(1&e.mode)||128&e.flags)}function Dn(e){if(vi){var n=gi;if(n){var r=n;if(!Fn(e,n)){if(Rn(e))throw Error(t(418));n=fn(r.nextSibling);var l=hi;n&&Fn(e,n)?Mn(l,r):(e.flags=-4097&e.flags|2,vi=!1,hi=e)}}else{if(Rn(e))throw Error(t(418));e.flags=-4097&e.flags|2,vi=!1,hi=e}}}function On(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;hi=e}function In(e){if(e!==hi)return!1;if(!vi)return On(e),vi=!0,!1;var n;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!on(e.type,e.memoizedProps)),n&&(n=gi)){if(Rn(e)){for(e=gi;e;)e=fn(e.nextSibling);throw Error(t(418))}for(;n;)Mn(e,n),n=fn(n.nextSibling)}if(On(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(t(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===n){gi=fn(e.nextSibling);break e}n--}else"$"!==r&&"$!"!==r&&"$?"!==r||n++}e=e.nextSibling}gi=null}}else gi=hi?fn(e.stateNode.nextSibling):null;return!0}function Un(){gi=hi=null,vi=!1}function Vn(e){null===yi?yi=[e]:yi.push(e)}function An(e,n,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(t(309));var l=r.stateNode}if(!l)throw Error(t(147,e));var a=l,u=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===u?n.ref:(n=function(e){var n=a.refs;null===e?delete n[u]:n[u]=e},n._stringRef=u,n)}if("string"!=typeof e)throw Error(t(284));if(!r._owner)throw Error(t(290,e))}return e}function Bn(e,n){throw e=Object.prototype.toString.call(n),Error(t(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Wn(e){return(0,e._init)(e._payload)}function Hn(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function r(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function l(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function a(e,n){return(e=Rl(e,n)).index=0,e.sibling=null,e}function u(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function i(n){return e&&null===n.alternate&&(n.flags|=2),n}function s(e,n,t,r){return null===n||6!==n.tag?((n=Ul(t,e.mode,r)).return=e,n):((n=a(n,t)).return=e,n)}function c(e,n,t,r){var l=t.type;return l===ha?d(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===Ea&&Wn(l)===n.type)?((r=a(n,t.props)).ref=An(e,n,t),r.return=e,r):((r=Dl(t.type,t.key,t.props,null,e.mode,r)).ref=An(e,n,t),r.return=e,r)}function f(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Vl(t,e.mode,r)).return=e,n):((n=a(n,t.children||[])).return=e,n)}function d(e,n,t,r,l){return null===n||7!==n.tag?((n=Ol(t,e.mode,r,l)).return=e,n):((n=a(n,t)).return=e,n)}function p(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=Ul(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case pa:return(t=Dl(n.type,n.key,n.props,null,e.mode,t)).ref=An(e,null,n),t.return=e,t;case ma:return(n=Vl(n,e.mode,t)).return=e,n;case Ea:return p(e,(0,n._init)(n._payload),t)}if(Ma(n)||o(n))return(n=Ol(n,e.mode,t,null)).return=e,n;Bn(e,n)}return null}function m(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==l?null:s(e,n,""+t,r);
vendor: 5,372 bytes, line 14785
14785if("object"==typeof t&&null!==t){switch(t.$$typeof){case pa:return t.key===l?c(e,n,t,r):null;case ma:return t.key===l?f(e,n,t,r):null;case Ea:return m(e,n,(l=t._init)(t._payload),r)}if(Ma(t)||o(t))return null!==l?null:d(e,n,t,r,null);Bn(e,t)}return null}function h(e,n,t,r,l){if("string"==typeof r&&""!==r||"number"==typeof r)return s(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case pa:return c(n,e=e.get(null===r.key?t:r.key)||null,r,l);case ma:return f(n,e=e.get(null===r.key?t:r.key)||null,r,l);case Ea:return h(e,n,t,(0,r._init)(r._payload),l)}if(Ma(r)||o(r))return d(n,e=e.get(t)||null,r,l,null);Bn(n,r)}return null}function g(t,a,o,i){for(var s=null,c=null,f=a,d=a=0,g=null;null!==f&&d<o.length;d++){f.index>d?(g=f,f=null):g=f.sibling;var v=m(t,f,o[d],i);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&n(t,f),a=u(v,a,d),null===c?s=v:c.sibling=v,c=v,f=g}if(d===o.length)return r(t,f),vi&&Pn(t,d),s;if(null===f){for(;d<o.length;d++)null!==(f=p(t,o[d],i))&&(a=u(f,a,d),null===c?s=f:c.sibling=f,c=f);return vi&&Pn(t,d),s}for(f=l(t,f);d<o.length;d++)null!==(g=h(f,t,d,o[d],i))&&(e&&null!==g.alternate&&f.delete(null===g.key?d:g.key),a=u(g,a,d),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return n(t,e)}),vi&&Pn(t,d),s}function v(a,i,s,c){var f=o(s);if("function"!=typeof f)throw Error(t(150));if(null==(s=f.call(s)))throw Error(t(151));for(var d=f=null,g=i,v=i=0,y=null,b=s.next();null!==g&&!b.done;v++,b=s.next()){g.index>v?(y=g,g=null):y=g.sibling;var k=m(a,g,b.value,c);if(null===k){null===g&&(g=y);break}e&&g&&null===k.alternate&&n(a,g),i=u(k,i,v),null===d?f=k:d.sibling=k,d=k,g=y}if(b.done)return r(a,g),vi&&Pn(a,v),f;if(null===g){for(;!b.done;v++,b=s.next())null!==(b=p(a,b.value,c))&&(i=u(b,i,v),null===d?f=b:d.sibling=b,d=b);return vi&&Pn(a,v),f}for(g=l(a,g);!b.done;v++,b=s.next())null!==(b=h(g,a,v,b.value,c))&&(e&&null!==b.alternate&&g.delete(null===b.key?v:b.key),i=u(b,i,v),null===d?f=b:d.sibling=b,d=b);return e&&g.forEach(function(e){return n(a,e)}),vi&&Pn(a,v),f}return function e(t,l,u,s){if("object"==typeof u&&null!==u&&u.type===ha&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case pa:e:{for(var c=u.key,f=l;null!==f;){if(f.key===c){if((c=u.type)===ha){if(7===f.tag){r(t,f.sibling),(l=a(f,u.props.children)).return=t,t=l;break e}}else if(f.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Ea&&Wn(c)===f.type){r(t,f.sibling),(l=a(f,u.props)).ref=An(t,f,u),l.return=t,t=l;break e}r(t,f);break}n(t,f),f=f.sibling}u.type===ha?((l=Ol(u.props.children,t.mode,s,u.key)).return=t,t=l):((s=Dl(u.type,u.key,u.props,null,t.mode,s)).ref=An(t,l,u),s.return=t,t=s)}return i(t);case ma:e:{for(f=u.key;null!==l;){if(l.key===f){if(4===l.tag&&l.stateNode.containerInfo===u.containerInfo&&l.stateNode.implementation===u.implementation){r(t,l.sibling),(l=a(l,u.children||[])).return=t,t=l;break e}r(t,l);break}n(t,l),l=l.sibling}(l=Vl(u,t.mode,s)).return=t,t=l}return i(t);case Ea:return e(t,l,(f=u._init)(u._payload),s)}if(Ma(u))return g(t,l,u,s);if(o(u))return v(t,l,u,s);Bn(t,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==l&&6===l.tag?(r(t,l.sibling),(l=a(l,u)).return=t,t=l):(r(t,l),(l=Ul(u,t.mode,s)).return=t,t=l),i(t)):r(t,l)}}function Qn(){Ci=Ei=xi=null}function jn(e,n){n=Si.current,yn(Si),e._currentValue=n}function $n(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Kn(e,n){xi=e,Ci=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&n)&&(Zi=!0),e.firstContext=null)}function qn(e){var n=e._currentValue;if(Ci!==e)if(e={context:e,memoizedValue:n,next:null},null===Ei){if(null===xi)throw Error(t(308));Ei=e,xi.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return n}function Yn(e){null===zi?zi=[e]:zi.push(e)}function Xn(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,Yn(n)):(t.next=l.next,l.next=t),n.interleaved=t,Gn(e,r)}function Gn(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}function Zn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jn(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function et(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function nt(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&hs){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ni(e,t)}return null===(l=r.interleaved)?(n.next=n,Yn(r)):(n.next=l.next,l.next=n),r.interleaved=n,Gn(e,t)}function tt(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,4194240&t)){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,ne(e,t)}}function rt(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=u:a=a.next=u,t=t.next}
vendor: 9,486 bytes, line 14785
14785while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;return t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function lt(e,n,t,r){var l=e.updateQueue;Pi=!1;var a=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(null!==o){l.shared.pending=null;var i=o,s=i.next;i.next=null,null===u?a=s:u.next=s,u=i;var c=e.alternate;null!==c&&(o=(c=c.updateQueue).lastBaseUpdate)!==u&&(null===o?c.firstBaseUpdate=s:o.next=s,c.lastBaseUpdate=i)}if(null!==a){var f=l.baseState;for(u=0,c=s=i=null,o=a;;){var d=o.lane,p=o.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,h=o;switch(d=n,p=t,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(d="function"==typeof(m=h.payload)?m.call(p,f,d):m))break e;f=La({},f,d);break e;case 2:Pi=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[o]:d.push(o))}else p={eventTime:p,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(s=c=p,i=f):c=c.next=p,u|=d;if(null===(o=o.next)){if(null===(o=l.shared.pending))break;o=(d=o).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(n=l.shared.interleaved)){l=n;do{u|=l.lane,l=l.next}while(l!==n)}else null===a&&(l.shared.lanes=0);xs|=u,e.lanes=u,e.memoizedState=f}}function at(e,n,r){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var l=e[n],a=l.callback;if(null!==a){if(l.callback=null,l=r,"function"!=typeof a)throw Error(t(191,a));a.call(l)}}}function ut(e){if(e===_i)throw Error(t(174));return e}function ot(e,n){switch(bn(Mi,n),bn(Ti,e),bn(Li,_i),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:L(null,"");break;default:n=L(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}yn(Li),bn(Li,n)}function it(e){yn(Li),yn(Ti),yn(Mi)}function st(e){ut(Mi.current);var n=ut(Li.current),t=L(n,e.type);n!==t&&(bn(Ti,e),bn(Li,t))}function ct(e){Ti.current===e&&(yn(Li),yn(Ti))}function ft(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(128&n.flags)return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function dt(){for(var e=0;e<Ri.length;e++)Ri[e]._workInProgressVersionPrimary=null;Ri.length=0}function pt(){throw Error(t(321))}function mt(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!yo(e[t],n[t]))return!1;return!0}function ht(e,n,r,l,a,u){if(Ii=u,Ui=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Di.current=null===e||null===e.memoizedState?$i:Ki,e=r(l,a),Wi){u=0;do{if(Wi=!1,Hi=0,25<=u)throw Error(t(301));u+=1,Ai=Vi=null,n.updateQueue=null,Di.current=qi,e=r(l,a)}while(Wi)}if(Di.current=ji,n=null!==Vi&&null!==Vi.next,Ii=0,Ai=Vi=Ui=null,Bi=!1,n)throw Error(t(300));return e}function gt(){var e=0!==Hi;return Hi=0,e}function vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ai?Ui.memoizedState=Ai=e:Ai=Ai.next=e,Ai}function yt(){if(null===Vi){var e=Ui.alternate;e=null!==e?e.memoizedState:null}else e=Vi.next;var n=null===Ai?Ui.memoizedState:Ai.next;if(null!==n)Ai=n,Vi=e;else{if(null===e)throw Error(t(310));e={memoizedState:(Vi=e).memoizedState,baseState:Vi.baseState,baseQueue:Vi.baseQueue,queue:Vi.queue,next:null},null===Ai?Ui.memoizedState=Ai=e:Ai=Ai.next=e}return Ai}function bt(e,n){return"function"==typeof n?n(e):n}function kt(e,n,r){if(null===(r=(n=yt()).queue))throw Error(t(311));r.lastRenderedReducer=e;var l=Vi,a=l.baseQueue,u=r.pending;if(null!==u){if(null!==a){var o=a.next;a.next=u.next,u.next=o}l.baseQueue=a=u,r.pending=null}if(null!==a){u=a.next,l=l.baseState;var i=o=null,s=null,c=u;do{var f=c.lane;if((Ii&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),l=c.hasEagerState?c.eagerState:e(l,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(i=s=d,o=l):s=s.next=d,Ui.lanes|=f,xs|=f}c=c.next}while(null!==c&&c!==u);null===s?o=l:s.next=i,yo(l,n.memoizedState)||(Zi=!0),n.memoizedState=l,n.baseState=o,n.baseQueue=s,r.lastRenderedState=l}if(null!==(e=r.interleaved)){a=e;do{u=a.lane,Ui.lanes|=u,xs|=u,a=a.next}while(a!==e)}else null===a&&(r.lanes=0);return[n.memoizedState,r.dispatch]}function wt(e,n,r){if(null===(r=(n=yt()).queue))throw Error(t(311));r.lastRenderedReducer=e;var l=r.dispatch,a=r.pending,u=n.memoizedState;if(null!==a){r.pending=null;var o=a=a.next;do{u=e(u,o.action),o=o.next}while(o!==a);yo(u,n.memoizedState)||(Zi=!0),n.memoizedState=u,null===n.baseQueue&&(n.baseState=u),r.lastRenderedState=u}return[u,l]}function St(e,n,t){}function xt(e,n,r){r=Ui;var l=yt(),a=n(),u=!yo(l.memoizedState,a);if(u&&(l.memoizedState=a,Zi=!0),l=l.queue,Dt(zt.bind(null,r,l,e),[e]),l.getSnapshot!==n||u||null!==Ai&&1&Ai.memoizedState.tag){if(r.flags|=2048,Lt(9,Ct.bind(null,r,l,a,n),void 0,null),null===gs)throw Error(t(349));30&Ii||Et(r,n,a)}return a}function Et(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=Ui.updateQueue)?(n={lastEffect:null,stores:null},Ui.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function Ct(e,n,t,r){n.value=t,n.getSnapshot=r,Nt(n)&&Pt(e)}function zt(e,n,t){return t(function(){Nt(n)&&Pt(e)})}function Nt(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!yo(e,t)}catch(e){return!0}}function Pt(e){var n=Gn(e,1);null!==n&&al(n,e,1,-1)}function _t(e){var n=vt();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bt,lastRenderedState:e},n.queue=e,e=e.dispatch=Kt.bind(null,Ui,e),[n.memoizedState,e]}function Lt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=Ui.updateQueue)?(n={lastEffect:null,stores:null},Ui.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function Tt(e){return yt().memoizedState}function Mt(e,n,t,r){var l=vt();Ui.flags|=e,l.memoizedState=Lt(1|n,t,void 0,void 0===r?null:r)}function Ft(e,n,t,r){var l=yt();r=void 0===r?null:r;var a=void 0;if(null!==Vi){var u=Vi.memoizedState;if(a=u.destroy,null!==r&&mt(r,u.deps))return void(l.memoizedState=Lt(n,t,a,r))}Ui.flags|=e,l.memoizedState=Lt(1|n,t,a,r)}function Rt(e,n){return Mt(8390656,8,e,n)}function Dt(e,n){return Ft(2048,8,e,n)}function Ot(e,n){return Ft(4,2,e,n)}function It(e,n){return Ft(4,4,e,n)}function Ut(e,n){return"function"==typeof n?(e=e(),n(e),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function Vt(e,n,t){return t=null!=t?t.concat([e]):null,Ft(4,4,Ut.bind(null,n,e),t)}function At(e,n){}function Bt(e,n){var t=yt();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&mt(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Wt(e,n){var t=yt();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&mt(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ht(e,n,t){return 21&Ii?(yo(t,n)||(t=Z(),Ui.lanes|=t,xs|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,Zi=!0),e.memoizedState=t)}function Qt(e,n,t){xu=0!==(t=xu)&&4>t?t:4,e(!0);var r=Oi.transition;Oi.transition={};try{e(!1),n()}finally{xu=t,Oi.transition=r}}function jt(){return yt().memoizedState}function $t(e,n,t){var r=ll(e);t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},qt(e)?Yt(n,t):null!==(t=Xn(e,n,t,r))&&(al(t,e,r,rl()),Xt(t,n,r))}function Kt(e,n,t){var r=ll(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(qt(e))Yt(n,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var u=n.lastRenderedState,o=a(u,t);if(l.hasEagerState=!0,l.eagerState=o,yo(o,u)){var i=n.interleaved;return null===i?(l.next=l,Yn(n)):(l.next=i.next,i.next=l),void(n.interleaved=l)}}catch(e){}null!==(t=Xn(e,n,l,r))&&(al(t,e,r,l=rl()),Xt(t,n,r))}}function qt(e){var n=e.alternate;return e===Ui||null!==n&&n===Ui}function Yt(e,n){Wi=Bi=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Xt(e,n,t){if(4194240&t){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,ne(e,t)}}function Gt(e,n){if(e&&e.defaultProps){for(var t in n=La({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}function Zt(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:La({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}function Jt(e,n,t,r,l,a,u){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,u):!(n.prototype&&n.prototype.isPureReactComponent&&Oe(t,r)&&Oe(l,a))}function er(e,n,t){var r=!1,l=Jo,a=n.contextType;return"object"==typeof a&&null!==a?a=qn(a):(l=wn(n)?ti:ei.current,a=(r=null!=(r=n.contextTypes))?kn(e,l):Jo),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Yi,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a
vendor: 4,169 bytes, line 14785
14785),n}function nr(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&Yi.enqueueReplaceState(n,n.state,null)}function tr(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs={},Zn(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=qn(a):(a=wn(n)?ti:ei.current,l.context=kn(e,a)),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Zt(e,n,a,t),l.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(n=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&Yi.enqueueReplaceState(l,l.state,null),lt(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308)}function rr(e,n){try{var t="",r=n;do{t+=c(r),r=r.return}while(r);var l=t}catch(e){l="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:l,digest:null}}function lr(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function ar(e,n){try{console.error(n.value)}catch(e){setTimeout(function(){throw e})}}function ur(e,n,t){(t=et(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Ts||(Ts=!0,Ms=r),ar(0,n)},t}function or(e,n,t){(t=et(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){ar(0,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){ar(0,n),"function"!=typeof r&&(null===Fs?Fs=new Set([this]):Fs.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}function ir(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new Xi;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Nl.bind(null,e,n,t),n.then(e,e))}function sr(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function cr(e,n,t,r,l){return 1&e.mode?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=et(-1,1)).tag=2,nt(t,n,1))),t.lanes|=1),e)}function fr(e,n,t,r){n.child=null===e?wi(n,null,t,r):ki(n,e.child,t,r)}function dr(e,n,t,r,l){t=t.render;var a=n.ref;return Kn(n,l),r=ht(e,n,t,r,a,l),t=gt(),null===e||Zi?(vi&&t&&Ln(n),n.flags|=1,fr(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Lr(e,n,l))}function pr(e,n,t,r,l){if(null===e){var a=t.type;return"function"!=typeof a||Fl(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Dl(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,mr(e,n,a,r,l))}if(a=e.child,0===(e.lanes&l)){var u=a.memoizedProps;if((t=null!==(t=t.compare)?t:Oe)(u,r)&&e.ref===n.ref)return Lr(e,n,l)}return n.flags|=1,(e=Rl(a,r)).ref=n.ref,e.return=n,n.child=e}function mr(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(Oe(a,r)&&e.ref===n.ref){if(Zi=!1,n.pendingProps=r=a,0===(e.lanes&l))return n.lanes=e.lanes,Lr(e,n,l);131072&e.flags&&(Zi=!0)}}return vr(e,n,t,r,l)}function hr(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&n.mode){if(!(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,bn(ks,bs),bs|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,bn(ks,bs),bs|=r}else n.memoizedState={baseLanes:0,cachePool:null,transitions:null},bn(ks,bs),bs|=t;else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,bn(ks,bs),bs|=r;return fr(e,n,l,t),n.child}function gr(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}
vendor: 5,575 bytes, line 14785
14785function vr(e,n,t,r,l){var a=wn(t)?ti:ei.current;return a=kn(n,a),Kn(n,l),t=ht(e,n,t,r,a,l),r=gt(),null===e||Zi?(vi&&r&&Ln(n),n.flags|=1,fr(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Lr(e,n,l))}function yr(e,n,t,r,l){if(wn(t)){var a=!0;En(n)}else a=!1;if(Kn(n,l),null===n.stateNode)_r(e,n),er(n,t,r),tr(n,t,r,l),r=!0;else if(null===e){var u=n.stateNode,o=n.memoizedProps;u.props=o;var i=u.context,s=t.contextType;s="object"==typeof s&&null!==s?qn(s):kn(n,s=wn(t)?ti:ei.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof u.getSnapshotBeforeUpdate;f||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==r||i!==s)&&nr(n,u,r,s),Pi=!1;var d=n.memoizedState;u.state=d,lt(n,r,u,l),i=n.memoizedState,o!==r||d!==i||ni.current||Pi?("function"==typeof c&&(Zt(n,t,c,r),i=n.memoizedState),(o=Pi||Jt(n,t,o,r,d,i,s))?(f||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(n.flags|=4194308)):("function"==typeof u.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=i),u.props=r,u.state=i,u.context=s,r=o):("function"==typeof u.componentDidMount&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,Jn(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:Gt(n.type,o),u.props=s,f=n.pendingProps,d=u.context,i="object"==typeof(i=t.contextType)&&null!==i?qn(i):kn(n,i=wn(t)?ti:ei.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==f||d!==i)&&nr(n,u,r,i),Pi=!1,d=n.memoizedState,u.state=d,lt(n,r,u,l);var m=n.memoizedState;o!==f||d!==m||ni.current||Pi?("function"==typeof p&&(Zt(n,t,p,r),m=n.memoizedState),(s=Pi||Jt(n,t,s,r,d,m,i)||!1)?(c||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(r,m,i),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,m,i)),"function"==typeof u.componentDidUpdate&&(n.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),u.props=r,u.state=m,u.context=i,r=s):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1)}return br(e,n,t,r,a,l)}function br(e,n,t,r,l,a){gr(e,n);var u=!!(128&n.flags);if(!r&&!u)return l&&Cn(n,t,!1),Lr(e,n,a);r=n.stateNode,Gi.current=n;var o=u&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&u?(n.child=ki(n,e.child,null,a),n.child=ki(n,null,o,a)):fr(e,n,o,a),n.memoizedState=r.state,l&&Cn(n,t,!0),n.child}function kr(e){var n=e.stateNode;n.pendingContext?Sn(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Sn(0,n.context,!1),ot(e,n.containerInfo)}function wr(e,n,t,r,l){return Un(),Vn(l),n.flags|=256,fr(e,n,t,r),n.child}function Sr(e){return{baseLanes:e,cachePool:null,transitions:null}}function xr(e,n,r){var l,a=n.pendingProps,u=Fi.current,o=!1,i=!!(128&n.flags);if((l=i)||(l=(null===e||null!==e.memoizedState)&&!!(2&u)),l?(o=!0,n.flags&=-129):null!==e&&null===e.memoizedState||(u|=1),bn(Fi,1&u),null===e)return Dn(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)?(1&n.mode?"$!"===e.data?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(i=a.children,e=a.fallback,o?(a=n.mode,o=n.child,i={mode:"hidden",children:i},1&a||null===o?o=Il(i,a,0,null):(o.childLanes=0,o.pendingProps=i),e=Ol(e,a,r,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=Sr(r),n.memoizedState=Ji,e):Er(n,i));if(null!==(u=e.memoizedState)&&null!==(l=u.dehydrated))return function(e,n,r,l,a,u,o){if(r)return 256&n.flags?(n.flags&=-257,Cr(e,n,o,l=lr(Error(t(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(u=l.fallback,a=n.mode,l=Il({mode:"visible",children:l.children},a,0,null),(u=Ol(u,a,o,null)).flags|=2,l.return=n,u.return=n,l.sibling=u,n.child=l,1&n.mode&&ki(n,e.child,null,o),n.child.memoizedState=Sr(o),n.memoizedState=Ji,u);if(!(1&n.mode))return Cr(e,n,o,null);if("$!"===a.data){if(l=a.nextSibling&&a.nextSibling.dataset)var i=l.dgst;return l=i,Cr(e,n,o,l=lr(u=Error(t(419)),l,void 0))}if(i=0!==(o&e.childLanes),Zi||i){if(null!==(l=gs)){switch(o&-o){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(l.suspendedLanes|o))?0:a)&&a!==u.retryLane&&(u.retryLane=a,Gn(e,a),al(l,e,a,-1))}return vl(),Cr(e,n,o,l=lr(Error(t(421))))}return"$?"===a.data?(n.flags|=128,n.child=e.child,n=_l.bind(null,e),a._reactRetry=n,null):(e=u.treeContext,gi=fn(a.nextSibling),hi=n,vi=!0,yi=null,null!==e&&(ci[fi++]=pi,ci[fi++]=mi,ci[fi++]=di,pi=e.id,mi=e.overflow,di=n),(n=Er(n,l.children)).flags|=4096,n)}(e,n,i,a,l,u,r);
vendor: 7,179 bytes, line 14785
14785if(o){o=a.fallback,i=n.mode,l=(u=e.child).sibling;var s={mode:"hidden",children:a.children};return 1&i||n.child===u?(a=Rl(u,s)).subtreeFlags=14680064&u.subtreeFlags:((a=n.child).childLanes=0,a.pendingProps=s,n.deletions=null),null!==l?o=Rl(l,o):(o=Ol(o,i,r,null)).flags|=2,o.return=n,a.return=n,a.sibling=o,n.child=a,a=o,o=n.child,i=null===(i=e.child.memoizedState)?Sr(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~r,n.memoizedState=Ji,a}return e=(o=e.child).sibling,a=Rl(o,{mode:"visible",children:a.children}),!(1&n.mode)&&(a.lanes=r),a.return=n,a.sibling=null,null!==e&&(null===(r=n.deletions)?(n.deletions=[e],n.flags|=16):r.push(e)),n.child=a,n.memoizedState=null,a}function Er(e,n,t){return(n=Il({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function Cr(e,n,t,r){return null!==r&&Vn(r),ki(n,e.child,null,t),(e=Er(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function zr(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),$n(e.return,n,t)}function Nr(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l)}function Pr(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(fr(e,n,r.children,t),2&(r=Fi.current))r=1&r|2,n.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zr(e,t,n);else if(19===e.tag)zr(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(bn(Fi,r),1&n.mode)switch(l){case"forwards":for(t=n.child,l=null;null!==t;)null!==(e=t.alternate)&&null===ft(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Nr(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===ft(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Nr(n,!0,t,null,a);break;case"together":Nr(n,!1,null,null,void 0);break;default:n.memoizedState=null}else n.memoizedState=null;return n.child}function _r(e,n){!(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Lr(e,n,r){if(null!==e&&(n.dependencies=e.dependencies),xs|=n.lanes,0===(r&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(t(153));if(null!==n.child){for(r=Rl(e=n.child,e.pendingProps),n.child=r,r.return=n;null!==e.sibling;)e=e.sibling,(r=r.sibling=Rl(e,e.pendingProps)).return=n;r.sibling=null}return n.child}function Tr(e,n){if(!vi)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Mr(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function Fr(e,n,r){var l=n.pendingProps;switch(Tn(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mr(n),null;case 1:case 17:return wn(n.type)&&(yn(ni),yn(ei)),Mr(n),null;case 3:return l=n.stateNode,it(),yn(ni),yn(ei),dt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(In(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&n.flags)||(n.flags|=1024,null!==yi&&(sl(yi),yi=null))),ns(e,n),Mr(n),null;case 5:ct(n);var a=ut(Mi.current);if(r=n.type,null!==e&&null!=n.stateNode)ts(e,n,r,l,a),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(null===n.stateNode)throw Error(t(166));return Mr(n),null}if(e=ut(Li.current),In(n)){l=n.stateNode,r=n.type;var o=n.memoizedProps;switch(l[jo]=n,l[$o]=o,e=!!(1&n.mode),r){case"dialog":Ye("cancel",l),Ye("close",l);break;case"iframe":case"object":case"embed":Ye("load",l);break;case"video":case"audio":for(a=0;a<Fo.length;a++)Ye(Fo[a],l);break;case"source":Ye("error",l);break;case"img":case"image":case"link":Ye("error",l),Ye("load",l);break;case"details":Ye("toggle",l);break;case"input":b(l,o),Ye("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!o.multiple},Ye("invalid",l);break;case"textarea":z(l,o),Ye("invalid",l)}for(var i in F(r,o),a=null,o)if(o.hasOwnProperty(i)){var s=o[i];"children"===i?"string"==typeof s?l.textContent!==s&&(!0!==o.suppressHydrationWarning&&an(l.textContent,s,e),a=["children",s]):"number"==typeof s&&l.textContent!==""+s&&(!0!==o.suppressHydrationWarning&&an(l.textContent,s,e),a=["children",""+s]):ra.hasOwnProperty(i)&&null!=s&&"onScroll"===i&&Ye("scroll",l)}switch(r){case"input":h(l),S(l,o,!0);break;case"textarea":h(l),P(l);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(l.onclick=un)}l=a,n.updateQueue=l,null!==l&&(n.flags|=4)}else{i=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=_(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof l.is?e=i.createElement(r,{is:l.is}):(e=i.createElement(r),"select"===r&&(i=e,l.multiple?i.multiple=!0:l.size&&(i.size=l.size))):e=i.createElementNS(e,r),e[jo]=n,e[$o]=l,es(e,n,!1,!1),n.stateNode=e;e:{switch(i=R(r,l),r){case"dialog":Ye("cancel",e),Ye("close",e),a=l;break;case"iframe":case"object":case"embed":Ye("load",e),a=l;break;case"video":case"audio":for(a=0;a<Fo.length;a++)Ye(Fo[a],e);a=l;break;case"source":Ye("error",e),a=l;break;case"img":case"image":case"link":Ye("error",e),Ye("load",e),a=l;break;case"details":Ye("toggle",e),a=l;break;case"input":b(e,l),a=y(e,l),Ye("invalid",e);break;case"option":default:a=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},a=La({},l,{value:void 0}),Ye("invalid",e);break;case"textarea":z(e,l),a=C(e,l),Ye("invalid",e)}for(o in F(r,a),s=a)if(s.hasOwnProperty(o)){var c=s[o];"style"===o?M(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&Fa(e,c):"children"===o?"string"==typeof c?("textarea"!==r||""!==c)&&Ra(e,c):"number"==typeof c&&Ra(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(ra.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Ye("scroll",e):null!=c&&u(e,o,c,i))}switch(r){case"input":h(e),S(e,l,!1);break;case"textarea":h(e),P(e);break;case"option":null!=l.value&&e.setAttribute("value",""+p(l.value));break;case"select":e.multiple=!!l.multiple,null!=(o=l.value)?E(e,!!l.multiple,o,!1):null!=l.defaultValue&&E(e,!!l.multiple,l.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=un)}switch(r){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}
vendor: 4,205 bytes, line 14785
14785return Mr(n),null;case 6:if(e&&null!=n.stateNode)rs(e,n,e.memoizedProps,l);else{if("string"!=typeof l&&null===n.stateNode)throw Error(t(166));if(r=ut(Mi.current),ut(Li.current),In(n)){if(l=n.stateNode,r=n.memoizedProps,l[jo]=n,(o=l.nodeValue!==r)&&null!==(e=hi))switch(e.tag){case 3:an(l.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&an(l.nodeValue,r,!!(1&e.mode))}o&&(n.flags|=4)}else(l=(9===r.nodeType?r:r.ownerDocument).createTextNode(l))[jo]=n,n.stateNode=l}return Mr(n),null;case 13:if(yn(Fi),l=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(vi&&null!==gi&&1&n.mode&&!(128&n.flags)){for(o=gi;o;)o=fn(o.nextSibling);Un(),n.flags|=98560,o=!1}else if(o=In(n),null!==l&&null!==l.dehydrated){if(null===e){if(!o)throw Error(t(318));if(!(o=null!==(o=n.memoizedState)?o.dehydrated:null))throw Error(t(317));o[jo]=n}else Un(),!(128&n.flags)&&(n.memoizedState=null),n.flags|=4;Mr(n),o=!1}else null!==yi&&(sl(yi),yi=null),o=!0;if(!o)return 65536&n.flags?n:null}return 128&n.flags?(n.lanes=r,n):((l=null!==l)!=(null!==e&&null!==e.memoizedState)&&l&&(n.child.flags|=8192,1&n.mode&&(null===e||1&Fi.current?0===ws&&(ws=3):vl())),null!==n.updateQueue&&(n.flags|=4),Mr(n),null);case 4:return it(),ns(e,n),null===e&&Ge(n.stateNode.containerInfo),Mr(n),null;case 10:return jn(n.type._context),Mr(n),null;case 19:if(yn(Fi),null===(o=n.memoizedState))return Mr(n),null;if(l=!!(128&n.flags),null===(i=o.rendering))if(l)Tr(o,!1);else{if(0!==ws||null!==e&&128&e.flags)for(e=n.child;null!==e;){if(null!==(i=ft(e))){for(n.flags|=128,Tr(o,!1),null!==(l=i.updateQueue)&&(n.updateQueue=l,n.flags|=4),n.subtreeFlags=0,l=r,r=n.child;null!==r;)e=l,(o=r).flags&=14680066,null===(i=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return bn(Fi,1&Fi.current|2),n.child}e=e.sibling}null!==o.tail&&su()>_s&&(n.flags|=128,l=!0,Tr(o,!1),n.lanes=4194304)}else{if(!l)if(null!==(e=ft(i))){if(n.flags|=128,l=!0,null!==(r=e.updateQueue)&&(n.updateQueue=r,n.flags|=4),Tr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!vi)return Mr(n),null}else 2*su()-o.renderingStartTime>_s&&1073741824!==r&&(n.flags|=128,l=!0,Tr(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(null!==(r=o.last)?r.sibling=i:n.child=i,o.last=i)}return null!==o.tail?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=su(),n.sibling=null,r=Fi.current,bn(Fi,l?1&r|2:1&r),n):(Mr(n),null);case 22:case 23:return bs=ks.current,yn(ks),l=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==l&&(n.flags|=8192),l&&1&n.mode?!!(1073741824&bs)&&(Mr(n),6&n.subtreeFlags&&(n.flags|=8192)):Mr(n),null;case 24:case 25:return null}throw Error(t(156,n.tag))}function Rr(e,n,r){switch(Tn(n),n.tag){case 1:return wn(n.type)&&(yn(ni),yn(ei)),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return it(),yn(ni),yn(ei),dt(),65536&(e=n.flags)&&!(128&e)?(n.flags=-65537&e|128,n):null;case 5:return ct(n),null;case 13:if(yn(Fi),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(t(340));Un()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return yn(Fi),null;case 4:return it(),null;case 10:return jn(n.type._context),null;case 22:case 23:return bs=ks.current,yn(ks),null;default:return null}}function Dr(e,n){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zl(e,n,t)}else t.current=null}function Or(e,n,t){try{t()}catch(t){zl(e,n,t)}}function Ir(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&Or(n,t,a)}l=l.next}while(l!==r)}}function Ur(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}
vendor: 5,367 bytes, line 14785
14785while(t!==n)}}function Vr(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function Ar(e){var n=e.alternate;null!==n&&(e.alternate=null,Ar(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(n=e.stateNode)&&(delete n[jo],delete n[$o],delete n[qo],delete n[Yo],delete n[Xo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Br(e){return 5===e.tag||3===e.tag||4===e.tag}function Wr(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Br(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Hr(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=un));else if(4!==r&&null!==(e=e.child))for(Hr(e,n,t),e=e.sibling;null!==e;)Hr(e,n,t),e=e.sibling}function Qr(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Qr(e,n,t),e=e.sibling;null!==e;)Qr(e,n,t),e=e.sibling}function jr(e,n,t){for(t=t.child;null!==t;)$r(e,n,t),t=t.sibling}function $r(e,n,t){if(vu&&"function"==typeof vu.onCommitFiberUnmount)try{vu.onCommitFiberUnmount(gu,t)}catch(e){}switch(t.tag){case 5:as||Dr(t,n);case 6:var r=ss,l=cs;ss=null,jr(e,n,t),cs=l,null!==(ss=r)&&(cs?(e=ss,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):ss.removeChild(t.stateNode));break;case 18:null!==ss&&(cs?(e=ss,t=t.stateNode,8===e.nodeType?cn(e.parentNode,t):1===e.nodeType&&cn(e,t),ce(e)):cn(ss,t.stateNode));break;case 4:r=ss,l=cs,ss=t.stateNode.containerInfo,cs=!0,jr(e,n,t),ss=r,cs=l;break;case 0:case 11:case 14:case 15:if(!as&&null!==(r=t.updateQueue)&&null!==(r=r.lastEffect)){l=r=r.next;do{var a=l,u=a.destroy;a=a.tag,void 0!==u&&(2&a||4&a)&&Or(t,n,u),l=l.next}while(l!==r)}jr(e,n,t);break;case 1:if(!as&&(Dr(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(e){zl(t,n,e)}jr(e,n,t);break;case 21:jr(e,n,t);break;case 22:1&t.mode?(as=(r=as)||null!==t.memoizedState,jr(e,n,t),as=r):jr(e,n,t);break;default:jr(e,n,t)}}function Kr(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new us),n.forEach(function(n){var r=Ll.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})}}function qr(e,n,r){if(null!==(r=n.deletions))for(var l=0;l<r.length;l++){var a=r[l];try{var u=e,o=n,i=o;e:for(;null!==i;){switch(i.tag){case 5:ss=i.stateNode,cs=!1;break e;case 3:case 4:ss=i.stateNode.containerInfo,cs=!0;break e}i=i.return}if(null===ss)throw Error(t(160));$r(u,o,a),ss=null,cs=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(e){zl(a,n,e)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)Yr(n,e),n=n.sibling}function Yr(e,n,r){var l=e.alternate;switch(r=e.flags,e.tag){case 0:case 11:case 14:case 15:if(qr(n,e),Xr(e),4&r){try{Ir(3,e,e.return),Ur(3,e)}catch(n){zl(e,e.return,n)}try{Ir(5,e,e.return)}catch(n){zl(e,e.return,n)}}break;case 1:qr(n,e),Xr(e),512&r&&null!==l&&Dr(l,l.return);break;case 5:if(qr(n,e),Xr(e),512&r&&null!==l&&Dr(l,l.return),32&e.flags){var a=e.stateNode;try{Ra(a,"")}catch(n){zl(e,e.return,n)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==l?l.memoizedProps:o,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===o.type&&null!=o.name&&k(a,o),R(s,i);var f=R(s,o);for(i=0;i<c.length;i+=2){var d=c[i],p=c[i+1];"style"===d?M(a,p):"dangerouslySetInnerHTML"===d?Fa(a,p):"children"===d?Ra(a,p):u(a,d,p,f)}switch(s){case"input":w(a,o);break;case"textarea":N(a,o);break;case"select":var m=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?E(a,!!o.multiple,h,!1):m!==!!o.multiple&&(null!=o.defaultValue?E(a,!!o.multiple,o.defaultValue,!0):E(a,!!o.multiple,o.multiple?[]:"",!1))}a[$o]=o}catch(n){zl(e,e.return,n)}}break;case 6:if(qr(n,e),Xr(e),4&r){if(null===e.stateNode)throw Error(t(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(n){zl(e,e.return,n)}}break;case 3:if(qr(n,e),Xr(e),4&r&&null!==l&&l.memoizedState.isDehydrated)try{ce(n.containerInfo)}catch(n){zl(e,e.return,n)}break;case 4:default:qr(n,e),Xr(e);break;case 13:qr(n,e),Xr(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,!o||null!==a.alternate&&null!==a.alternate.memoizedState||(Ps=su())),4&r&&Kr(e);break;case 22:if(d=null!==l&&null!==l.memoizedState,1&e.mode?(as=(f=as)||d,qr(n,e),as=f):qr(n,e),Xr(e),8192&r){if(f=null!==e.memoizedState,(e.stateNode.isHidden=f)&&!d&&1&e.mode)for(os=e,d=e.child;null!==d;){for(p=os=d;null!==os;){switch(h=(m=os).child,m.tag){case 0:case 11:case 14:case 15:Ir(4,m,m.return);break;case 1:Dr(m,m.return);var g=m.stateNode;if("function"==typeof g.componentWillUnmount){r=m,n=m.return;try{l=r,g.props=l.memoizedProps,g.state=l.memoizedState,g.componentWillUnmount()}catch(e){zl(r,n,e)}}break;case 5:Dr(m,m.return);break;case 22:if(null!==m.memoizedState){el(p);continue}}
vendor: 4,219 bytes, line 14785
14785null!==h?(h.return=m,os=h):el(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,f?"function"==typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none":(s=p.stateNode,i=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=T("display",i))}catch(n){zl(e,e.return,n)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=f?"":p.memoizedProps}catch(n){zl(e,e.return,n)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:qr(n,e),Xr(e),4&r&&Kr(e);case 21:}}function Xr(e){var n=e.flags;if(2&n){try{e:{for(var r=e.return;null!==r;){if(Br(r)){var l=r;break e}r=r.return}throw Error(t(160))}switch(l.tag){case 5:var a=l.stateNode;32&l.flags&&(Ra(a,""),l.flags&=-33),Qr(e,Wr(e),a);break;case 3:case 4:var u=l.stateNode.containerInfo;Hr(e,Wr(e),u);break;default:throw Error(t(161))}}catch(n){zl(e,e.return,n)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function Gr(e,n,t){os=e,Zr(e,n,t)}function Zr(e,n,t){for(var r=!!(1&e.mode);null!==os;){var l=os,a=l.child;if(22===l.tag&&r){var u=null!==l.memoizedState||ls;if(!u){var o=l.alternate,i=null!==o&&null!==o.memoizedState||as;o=ls;var s=as;if(ls=u,(as=i)&&!s)for(os=l;null!==os;)i=(u=os).child,22===u.tag&&null!==u.memoizedState?nl(l):null!==i?(i.return=u,os=i):nl(l);for(;null!==a;)os=a,Zr(a,n,t),a=a.sibling;os=l,ls=o,as=s}Jr(e,n,t)}else 8772&l.subtreeFlags&&null!==a?(a.return=l,os=a):Jr(e,n,t)}}function Jr(e,n,r){for(;null!==os;){if(8772&(n=os).flags){r=n.alternate;try{if(8772&n.flags)switch(n.tag){case 0:case 11:case 15:as||Ur(5,n);break;case 1:var l=n.stateNode;if(4&n.flags&&!as)if(null===r)l.componentDidMount();else{var a=n.elementType===n.type?r.memoizedProps:Gt(n.type,r.memoizedProps);l.componentDidUpdate(a,r.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var u=n.updateQueue;null!==u&&at(n,u,l);break;case 3:var o=n.updateQueue;if(null!==o){if(r=null,null!==n.child)switch(n.child.tag){case 5:case 1:r=n.child.stateNode}at(n,o,r)}break;case 5:var i=n.stateNode;if(null===r&&4&n.flags){r=i;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var c=n.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&ce(d)}}}break;default:throw Error(t(163))}as||512&n.flags&&Vr(n)}catch(e){zl(n,n.return,e)}}if(n===e){os=null;break}if(null!==(r=n.sibling)){r.return=n.return,os=r;break}os=n.return}}function el(e){for(;null!==os;){var n=os;if(n===e){os=null;break}var t=n.sibling;if(null!==t){t.return=n.return,os=t;break}os=n.return}}function nl(e){for(;null!==os;){var n=os;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{Ur(4,n)}catch(e){zl(n,t,e)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var l=n.return;try{r.componentDidMount()}catch(e){zl(n,l,e)}}var a=n.return;try{Vr(n)}catch(e){zl(n,a,e)}break;case 5:var u=n.return;try{Vr(n)}catch(e){zl(n,u,e)}}}catch(e){zl(n,n.return,e)}if(n===e){os=null;break}var o=n.sibling;if(null!==o){o.return=n.return,os=o;break}os=n.return}}function tl(){_s=su()+500}function rl(){return 6&hs?su():-1!==Vs?Vs:Vs=su()}function ll(e){return 1&e.mode?2&hs&&0!==ys?ys&-ys:null!==bi.transition?(0===As&&(As=Z()),As):0!==(e=xu)?e:e=void 0===(e=window.event)?16:he(e.type):1}function al(e,n,r,l){if(50<Is)throw Is=0,Us=null,Error(t(185));ee(e,r,l),2&hs&&e===gs||(e===gs&&(!(2&hs)&&(Es|=r),4===ws&&cl(e,ys)),ul(e,l),1===r&&0===hs&&!(1&n.mode)&&(tl(),li&&Nn()))}function ul(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-yu(a),o=1<<u,i=l[u];-1===i?0!==(o&t)&&0===(o&r)||(l[u]=X(o,n)):i<=n&&(e.expiredLanes|=o),a&=~o}}(e,n);var r=Y(e,e===gs?ys:0);if(0===r)null!==t&&uu(t),e.callbackNode=null,e.callbackPriority=0;
vendor: 11,044 bytes, line 14785
14785else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&uu(t),1===n)0===e.tag?function(e){li=!0,zn(e)}(fl.bind(null,e)):zn(fl.bind(null,e)),Ho(function(){!(6&hs)&&Nn()}),t=null;else{switch(te(r)){case 1:t=fu;break;case 4:t=du;break;case 16:default:t=pu;break;case 536870912:t=hu}t=Tl(t,ol.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function ol(e,n){if(Vs=-1,As=0,6&hs)throw Error(t(327));var r=e.callbackNode;if(El()&&e.callbackNode!==r)return null;var l=Y(e,e===gs?ys:0);if(0===l)return null;if(30&l||0!==(l&e.expiredLanes)||n)n=yl(e,l);else{n=l;var a=hs;hs|=2;var u=gl();for(gs===e&&ys===n||(Ls=null,tl(),ml(e,n));;)try{kl();break}catch(n){hl(e,n)}Qn(),ds.current=u,hs=a,null!==vs?n=0:(gs=null,ys=0,n=ws)}if(0!==n){if(2===n&&0!==(a=G(e))&&(l=a,n=il(e,a)),1===n)throw r=Ss,ml(e,0),cl(e,l),ul(e,su()),r;if(6===n)cl(e,l);else{if(a=e.current.alternate,!(30&l||function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var l=t[r],a=l.getSnapshot;l=l.value;try{if(!yo(a(),l))return!1}catch(e){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(a)||(n=yl(e,l),2===n&&(u=G(e),0!==u&&(l=u,n=il(e,u))),1!==n)))throw r=Ss,ml(e,0),cl(e,l),ul(e,su()),r;switch(e.finishedWork=a,e.finishedLanes=l,n){case 0:case 1:throw Error(t(345));case 2:case 5:xl(e,Ns,Ls);break;case 3:if(cl(e,l),(130023424&l)===l&&10<(n=Ps+500-su())){if(0!==Y(e,0))break;if(((a=e.suspendedLanes)&l)!==l){rl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Ao(xl.bind(null,e,Ns,Ls),n);break}xl(e,Ns,Ls);break;case 4:if(cl(e,l),(4194240&l)===l)break;for(n=e.eventTimes,a=-1;0<l;){var o=31-yu(l);u=1<<o,(o=n[o])>a&&(a=o),l&=~u}if(l=a,10<(l=(120>(l=su()-l)?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*fs(l/1960))-l)){e.timeoutHandle=Ao(xl.bind(null,e,Ns,Ls),l);break}xl(e,Ns,Ls);break;default:throw Error(t(329))}}}return ul(e,su()),e.callbackNode===r?ol.bind(null,e):null}function il(e,n){var t=zs;return e.current.memoizedState.isDehydrated&&(ml(e,n).flags|=256),2!==(e=yl(e,n))&&(n=Ns,Ns=t,null!==n&&sl(n)),e}function sl(e){null===Ns?Ns=e:Ns.push.apply(Ns,e)}function cl(e,n){for(n&=~Cs,n&=~Es,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-yu(n),r=1<<t;e[t]=-1,n&=~r}}function fl(e){if(6&hs)throw Error(t(327));El();var n=Y(e,0);if(!(1&n))return ul(e,su()),null;var r=yl(e,n);if(0!==e.tag&&2===r){var l=G(e);0!==l&&(n=l,r=il(e,l))}if(1===r)throw r=Ss,ml(e,0),cl(e,n),ul(e,su()),r;if(6===r)throw Error(t(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,xl(e,Ns,Ls),ul(e,su()),null}function dl(e,n){var t=hs;hs|=1;try{return e(n)}finally{0===(hs=t)&&(tl(),li&&Nn())}}function pl(e){null!==Ds&&0===Ds.tag&&!(6&hs)&&El();var n=hs;hs|=1;var t=ms.transition,r=xu;try{if(ms.transition=null,xu=1,e)return e()}finally{xu=r,ms.transition=t,!(6&(hs=n))&&Nn()}}function ml(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,Bo(t)),null!==vs)for(t=vs.return;null!==t;){var r=t;switch(Tn(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&(yn(ni),yn(ei));break;case 3:it(),yn(ni),yn(ei),dt();break;case 5:ct(r);break;case 4:it();break;case 13:case 19:yn(Fi);break;case 10:jn(r.type._context);break;case 22:case 23:bs=ks.current,yn(ks)}t=t.return}if(gs=e,vs=e=Rl(e.current,null),ys=bs=n,ws=0,Ss=null,Cs=Es=xs=0,Ns=zs=null,null!==zi){for(n=0;n<zi.length;n++)if(null!==(r=(t=zi[n]).interleaved)){t.interleaved=null;var l=r.next,a=t.pending;if(null!==a){var u=a.next;a.next=l,r.next=u}t.pending=r}zi=null}return e}function hl(e,n){for(;;){var r=vs;try{if(Qn(),Di.current=ji,Bi){for(var l=Ui.memoizedState;null!==l;){var a=l.queue;null!==a&&(a.pending=null),l=l.next}Bi=!1}if(Ii=0,Ai=Vi=Ui=null,Wi=!1,Hi=0,ps.current=null,null===r||null===r.return){ws=1,Ss=n,vs=null;break}e:{var u=e,o=r.return,i=r,s=n;if(n=ys,i.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,f=i,d=f.tag;if(!(1&f.mode||0!==d&&11!==d&&15!==d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=sr(o);if(null!==m){m.flags&=-257,cr(m,o,i,0,n),1&m.mode&&ir(u,c,n),s=c;var h=(n=m).updateQueue;if(null===h){var g=new Set;g.add(s),n.updateQueue=g}else h.add(s);break e}if(!(1&n)){ir(u,c,n),vl();break e}s=Error(t(426))}else if(vi&&1&i.mode){var v=sr(o);if(null!==v){!(65536&v.flags)&&(v.flags|=256),cr(v,o,i,0,n),Vn(rr(s,i));break e}}u=s=rr(s,i),4!==ws&&(ws=2),null===zs?zs=[u]:zs.push(u),u=o;do{switch(u.tag){case 3:u.flags|=65536,n&=-n,u.lanes|=n,rt(u,ur(0,s,n));break e;case 1:i=s;var y=u.type,b=u.stateNode;if(!(128&u.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Fs&&Fs.has(b)))){u.flags|=65536,n&=-n,u.lanes|=n,rt(u,or(u,i,n));break e}}u=u.return}while(null!==u)}Sl(r)}catch(e){n=e,vs===r&&null!==r&&(vs=r=r.return);continue}break}}function gl(){var e=ds.current;return ds.current=ji,null===e?ji:e}function vl(){0!==ws&&3!==ws&&2!==ws||(ws=4),null===gs||!(268435455&xs)&&!(268435455&Es)||cl(gs,ys)}function yl(e,n){var r=hs;hs|=2;var l=gl();for(gs===e&&ys===n||(Ls=null,ml(e,n));;)try{bl();break}catch(n){hl(e,n)}if(Qn(),hs=r,ds.current=l,null!==vs)throw Error(t(261));return gs=null,ys=0,ws}function bl(){for(;null!==vs;)wl(vs)}function kl(){for(;null!==vs&&!ou();)wl(vs)}function wl(e){var n=Bs(e.alternate,e,bs);e.memoizedProps=e.pendingProps,null===n?Sl(e):vs=n,ps.current=null}function Sl(e){var n=e;do{var t=n.alternate;if(e=n.return,32768&n.flags){if(null!==(t=Rr(t,n)))return t.flags&=32767,void(vs=t);if(null===e)return ws=6,void(vs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(t=Fr(t,n,bs)))return void(vs=t);if(null!==(n=n.sibling))return void(vs=n);vs=n=e}while(null!==n);0===ws&&(ws=5)}function xl(e,n,r){var l=xu,a=ms.transition;try{ms.transition=null,xu=1,function(e,n,r,l){do{El()}while(null!==Ds);if(6&hs)throw Error(t(327));r=e.finishedWork;var a=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(t(177));e.callbackNode=null,e.callbackPriority=0;var u=r.lanes|r.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-yu(t),a=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~a}}(e,u),e===gs&&(vs=gs=null,ys=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Rs||(Rs=!0,Tl(pu,function(){return El(),null})),u=!!(15990&r.flags),15990&r.subtreeFlags||u){u=ms.transition,ms.transition=null;var o=xu;xu=1;var i=hs;hs|=4,ps.current=null,function(e,n){if(Uo=Ru,Be(e=Ae())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var l=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(l&&0!==l.rangeCount){r=l.anchorNode;var a=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{r.nodeType,u.nodeType}catch(e){r=null;break e}var o=0,i=-1,s=-1,c=0,f=0,d=e,p=null;n:for(;;){for(var m;d!==r||0!==a&&3!==d.nodeType||(i=o+a),d!==u||0!==l&&3!==d.nodeType||(s=o+l),3===d.nodeType&&(o+=d.nodeValue.length),null!==(m=d.firstChild);)p=d,d=m;for(;;){if(d===e)break n;if(p===r&&++c===a&&(i=o),p===u&&++f===l&&(s=o),null!==(m=d.nextSibling))break;p=(d=p).parentNode}d=m}r=-1===i||-1===s?null:{start:i,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(Vo={focusedElem:e,selectionRange:r},Ru=!1,os=n;null!==os;)if(e=(n=os).child,1028&n.subtreeFlags&&null!==e)e.return=n,os=e;else for(;null!==os;){n=os;try{var h=n.alternate;if(1024&n.flags)switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,v=h.memoizedState,y=n.stateNode,b=y.getSnapshotBeforeUpdate(n.elementType===n.type?g:Gt(n.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var k=n.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(t(163))}}catch(e){zl(n,n.return,e)}if(null!==(e=n.sibling)){e.return=n.return,os=e;break}os=n.return}h=is,is=!1}(e,r),Yr(r,e),We(Vo),Ru=!!Uo,Vo=Uo=null,e.current=r,Gr(r,e,a),iu(),hs=i,xu=o,ms.transition=u}else e.current=r;if(Rs&&(Rs=!1,Ds=e,Os=a),0===(u=e.pendingLanes)&&(Fs=null),function(e){if(vu&&"function"==typeof vu.onCommitFiberRoot)try{vu.onCommitFiberRoot(gu,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),ul(e,su()),null!==n)for(l=e.onRecoverableError,r=0;r<n.length;r++)l((a=n[r]).value,{componentStack:a.stack,digest:a.digest});if(Ts)throw Ts=!1,e=Ms,Ms=null,e;1&Os&&0!==e.tag&&El(),1&(u=e.pendingLanes)?e===Us?Is++:(Is=0,Us=e):Is=0,Nn()}(e,n,r,l)}finally{ms.transition=a,xu=l}return null}function El(){if(null!==Ds){var e=te(Os),n=ms.transition,r=xu;try{if(ms.transition=null,xu=16>e?16:e,null===Ds)var l=!1;else{if(e=Ds,Ds=null,Os=0,6&hs)throw Error(t(331));var a=hs;for(hs|=4,os=e.current;null!==os;){var u=os,o=u.child;if(16&os.flags){var i=u.deletions;if(null!==i){for(var s=0;s<i.length;s++){var c=i[s];for(os=c;null!==os;){var f=os;switch(f.tag){case 0:case 11:case 15:Ir(8,f,u)}var d=f.child;if(null!==d)d.return=f,os=d;else for(;null!==os;){var p=(f=os).sibling,m=f.return;if(Ar(f),f===c){os=null;break}if(null!==p){p.return=m,os=p;break}os=m}}}var h=u.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}os=u}}if(2064&u.subtreeFlags&&null!==o)o.return=u,os=o;else e:for(;null!==os;){if(2048&(u=os).flags)switch(u.tag){case 0:case 11:case 15:Ir(9,u,u.return)}var y=u.sibling;if(null!==y){y.return=u.return,os=y;break e}os=u.return}}var b=e.current;for(os=b;null!==os;){var k=(o=os).child;if(2064&o.subtreeFlags&&null!==k)k.return=o,os=k;else e:for(o=b;null!==os;){if(2048&(i=os).flags)try{switch(i.tag){case 0:case 11:case 15:Ur(9,i)}}catch(e){zl(i,i.return,e)}if(i===o){os=null;break e}var w=i.sibling;if(null!==w){w.return=i.return,os=w;break e}os=i.return}}if(hs=a,Nn(),vu&&"function"==typeof vu.onPostCommitFiberRoot)try{vu.onPostCommitFiberRoot(gu,e)}catch(e){}l=!0}return l}finally{xu=r,ms.transition=n}}return!1}function Cl(e,n,t){e=nt(e,n=ur(0,n=rr(t,n),1),1),n=rl(),null!==e&&(ee(e,1,n),ul(e,n))}function zl(e,n,t){if(3===e.tag)Cl(e,e,t);else for(;null!==n;){if(3===n.tag){Cl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Fs||!Fs.has(r))){n=nt(n,e=or(n,e=rr(t,e),1),1),e=rl(),null!==n&&(ee(n,1,e),ul(n,e));break}}n=n.return}}function Nl(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=rl(),e.pingedLanes|=e.suspendedLanes&t,gs===e&&(ys&t)===t&&(4===ws||3===ws&&(130023424&ys)===ys&&500>su()-Ps?ml(e,0):Cs|=t),ul(e,n)}function Pl(e,n){0===n&&(1&e.mode?(n=Su,!(130023424&(Su<<=1))&&(Su=4194304)):n=1);var t=rl();
vendor: 10,841 bytes, line 14785
14785null!==(e=Gn(e,n))&&(ee(e,n,t),ul(e,t))}function _l(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),Pl(e,t)}function Ll(e,n){var r=0;switch(e.tag){case 13:var l=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(t(314))}null!==l&&l.delete(n),Pl(e,r)}function Tl(e,n){return au(e,n)}function Ml(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rl(e,n){var t=e.alternate;return null===t?((t=Ws(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Dl(e,n,r,l,a,u){var o=2;if(l=e,"function"==typeof e)Fl(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case ha:return Ol(r.children,a,u,n);case ga:o=8,a|=8;break;case va:return(e=Ws(12,r,n,2|a)).elementType=va,e.lanes=u,e;case wa:return(e=Ws(13,r,n,a)).elementType=wa,e.lanes=u,e;case Sa:return(e=Ws(19,r,n,a)).elementType=Sa,e.lanes=u,e;case Ca:return Il(r,a,u,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ya:o=10;break e;case ba:o=9;break e;case ka:o=11;break e;case xa:o=14;break e;case Ea:o=16,l=null;break e}throw Error(t(130,null==e?e:typeof e,""))}return(n=Ws(o,r,n,a)).elementType=e,n.type=l,n.lanes=u,n}function Ol(e,n,t,r){return(e=Ws(7,e,r,n)).lanes=t,e}function Il(e,n,t,r){return(e=Ws(22,e,r,n)).elementType=Ca,e.lanes=t,e.stateNode={isHidden:!1},e}function Ul(e,n,t){return(e=Ws(6,e,null,n)).lanes=t,e}function Vl(e,n,t){return(n=Ws(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Al(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=J(0),this.expirationTimes=J(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=J(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Bl(e,n,t,r,l,a,u,o,i,s){return e=new Al(e,n,t,o,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=Ws(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zn(a),e}function Wl(e){if(!e)return Jo;e:{if(H(e=e._reactInternals)!==e||1!==e.tag)throw Error(t(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(wn(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(t(171))}if(1===e.tag){var r=e.type;if(wn(r))return xn(e,r,n)}return n}function Hl(e,n,t,r,l,a,u,o,i,s){return(e=Bl(t,r,!0,e,0,a,0,o,i)).context=Wl(null),t=e.current,(a=et(r=rl(),l=ll(t))).callback=null!=n?n:null,nt(t,a,l),e.current.lanes=l,ee(e,l,r),ul(e,r),e}function Ql(e,n,t,r){var l=n.current,a=rl(),u=ll(l);return t=Wl(t),null===n.context?n.context=t:n.pendingContext=t,(n=et(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=nt(l,n,u))&&(al(e,l,u,a),tt(e,l,u)),u}function jl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $l(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function Kl(e,n){$l(e,n),(e=e.alternate)&&$l(e,n)}function ql(e){return null===(e=$(e))?null:e.stateNode}function Yl(e){return null}function Xl(e){this._internalRoot=e}function Gl(e){this._internalRoot=e}function Zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ea(){}function na(e,n,t,r,l){var a=t._reactRootContainer;if(a){var u=a;if("function"==typeof l){var o=l;l=function(){var e=jl(u);o.call(e)}}Ql(n,u,e,l)}else u=function(e,n,t,r,l){if(l){if("function"==typeof r){var a=r;r=function(){var e=jl(u);a.call(e)}}var u=Hl(n,r,e,0,null,!1,0,"",ea);return e._reactRootContainer=u,e[Ko]=u.current,Ge(8===e.nodeType?e.parentNode:e),pl(),u}for(;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var o=r;r=function(){var e=jl(i);o.call(e)}}var i=Bl(e,0,!1,null,0,!1,0,"",ea);return e._reactRootContainer=i,e[Ko]=i.current,Ge(8===e.nodeType?e.parentNode:e),pl(function(){Ql(n,i,t,r)}),i}(t,n,e,l,r);return jl(u)}var ta=new Set,ra={},la=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),aa=Object.prototype.hasOwnProperty,ua=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,oa={},ia={},sa={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){sa[e]=new a(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];sa[n]=new a(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){sa[e]=new a(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){sa[e]=new a(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){sa[e]=new a(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){sa[e]=new a(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){sa[e]=new a(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){sa[e]=new a(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){sa[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)});var ca=/[\-:]([a-z])/g,fa=function(e){return e[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(ca,fa);sa[n]=new a(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(ca,fa);sa[n]=new a(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(ca,fa);sa[n]=new a(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){sa[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)}),sa.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){sa[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)});var da=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pa=Symbol.for("react.element"),ma=Symbol.for("react.portal"),ha=Symbol.for("react.fragment"),ga=Symbol.for("react.strict_mode"),va=Symbol.for("react.profiler"),ya=Symbol.for("react.provider"),ba=Symbol.for("react.context"),ka=Symbol.for("react.forward_ref"),wa=Symbol.for("react.suspense"),Sa=Symbol.for("react.suspense_list"),xa=Symbol.for("react.memo"),Ea=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var Ca=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var za,Na,Pa,_a=Symbol.iterator,La=Object.assign,Ta=!1,Ma=Array.isArray,Fa=(Pa=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((Na=Na||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Na.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction(function(){return Pa(e,n)})}:Pa),Ra=function(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n},Da={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Oa=["Webkit","ms","Moz","O"];
14785Object.keys(Da).forEach(function(e){Oa.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Da[n]=Da[e]})});var Ia=La({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Ua=null,Va=null,Aa=null,Ba=null,Wa=function(e,n){return e(n)},Ha=function(){},Qa=!1,ja=!1;if(la)try{var $a={};Object.defineProperty($a,"passive",{get:function(){ja=!0}}),window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch(Pa){ja=!1}var Ka,qa,Ya,Xa=function(e,n,t,r,l,a,u,o,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(e){this.onError(e)}},Ga=!1,Za=null,Ja=!1,eu=null,nu={onError:function(e){Ga=!0,Za=e}},tu=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,ru=tu.unstable_scheduleCallback,lu=tu.unstable_NormalPriority,au=ru,uu=tu.unstable_cancelCallback,ou=tu.unstable_shouldYield,iu=tu.unstable_requestPaint,su=tu.unstable_now,cu=tu.unstable_getCurrentPriorityLevel,fu=tu.unstable_ImmediatePriority,du=tu.unstable_UserBlockingPriority,pu=lu,mu=tu.unstable_LowPriority,hu=tu.unstable_IdlePriority,gu=null,vu=null,yu=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(bu(e)/ku|0)|0},bu=Math.log,ku=Math.LN2,wu=64,Su=4194304,xu=0,Eu=!1,Cu=[],zu=null,Nu=null,Pu=null,_u=new Map,Lu=new Map,Tu=[],Mu="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),Fu=da.ReactCurrentBatchConfig,Ru=!0,Du
14785=null,Ou=null,Iu=null,Uu=null,Vu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Au=ke(Vu),Bu=La({},Vu,{view:0,detail:0}),Wu=ke(Bu),Hu=La({},Bu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Se,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ya&&(Ya&&"mousemove"===e.type?(Ka=e.screenX-Ya.screenX,qa=e.screenY-Ya.screenY):qa=Ka=0,Ya=e),Ka)},movementY:function(e){return"movementY"in e?e.movementY:qa}}),Qu=ke(Hu),ju=ke(La({},Hu,{dataTransfer:0})),$u=ke(La({},Bu,{relatedTarget:0})),Ku=ke(La({},Vu,{animationName:0,elapsedTime:0,pseudoElement:0})),qu=ke(La({},Vu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Yu=ke(La({},Vu,{data:0})),Xu=Yu,Gu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ju={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},eo=ke(La({},Bu,{key:function(e){if(e.key){var n=Gu[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=ve(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zu[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Se,charCode:function(e){return"keypress"===e.type?ve(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ve(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),no=ke(La({},Hu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),to=ke(La({},Bu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Se})),ro=ke(La({},Vu,{propertyName:0,elapsedTime:0,pseudoElement:0})),lo=ke(La({},Hu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),ao=[9,13,27,32],uo=la&&"CompositionEvent"in window,oo=null;la&&"documentMode"in document&&(oo=document.documentMode);var io=la&&"TextEvent"in window&&!oo,so=la&&(!uo||oo&&8<oo&&11>=oo),co=String.fromCharCode(32),fo=!1,po=!1,mo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},ho=null,go=null,vo=!1;la&&(vo=function(e){if(!la)return!1;var n=(e="on"+e)in document;return n||((n=document.createElement("div")).setAttribute(e,"return;"),n="function"==typeof n[e]),n}("input")&&(!document.documentMode||9<document.documentMode));var yo="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},bo=la&&"documentMode"in document&&11>=document.documentMode,ko=null,wo=null,So=null,xo=!1,Eo={animationend:Qe("Animation","AnimationEnd"),animationiteration:Qe("Animation","AnimationIteration"),animationstart:Qe("Animation","AnimationStart"),transitionend:Qe("Transition","TransitionEnd")},Co={},zo={};la&&(zo=document.createElement("div").style,"AnimationEvent"in window||(delete Eo.animationend.animation,delete Eo.animationiteration.animation,delete Eo.animationstart.animation),"TransitionEvent"in window||delete Eo.transitionend.transition);var No=je("animationend"),Po=je("animationiteration"),_o=je("animationstart"),Lo=je("transitionend"),To=new Map,Mo="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");(function(){for(var e=0;e<Mo.length;e++){var n=Mo[e];$e(n.toLowerCase(),"on"+(n=n[0].toUpperCase()+n.slice(1)))}$e(No,"onAnimationEnd"),$e(Po,"onAnimationIteration"),$e(_o,"onAnimationStart"),$e("dblclick","onDoubleClick"),$e("focusin","onFocus"),$e("focusout","onBlur"),$e(Lo,"onTransitionEnd")})(),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),r("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),r("onSelect","focusout contextmenu dragend focu
14785sin keydown keyup mousedown mouseup selectionchange".split(" ")),r("onBeforeInput",["compositionend","keypress","textInput","paste"]),r("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),r("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),r("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ro=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fo)),Do="_reactListening"+Math.random().toString(36).slice(2),Oo=/\r\n?/g,Io=/\u0000|\uFFFD/g,Uo=null,Vo=null,Ao="function"==typeof setTimeout?setTimeout:void 0,Bo="function"==typeof clearTimeout?clearTimeout:void 0,Wo="function"==typeof Promise?Promise:void 0,Ho="function"==typeof queueMicrotask?queueMicrotask:void 0!==Wo?function(e){return Wo.resolve(null).then(e).catch(sn)}:Ao,Qo=Math.random().toString(36).slice(2),jo="__reactFiber$"+Qo,$o="__reactProps$"+Qo,Ko="__reactContainer$"+Qo,qo="__reactEvents$"+Qo,Yo="__reactListeners$"+Qo,Xo="__reactHandles$"+Qo,Go=[],Zo=-1,Jo={},ei=vn(Jo),ni=vn(!1),ti=Jo,ri=null,li=!1,ai=!1,ui=[],oi=0,ii=null,si=0,ci=[],fi=0,di=null,pi=1,mi="",hi=null,gi=null,vi=!1,yi=null,bi=da.ReactCurrentBatchConfig,ki=Hn(!0),wi=Hn(!1),Si=vn(null),xi=null,Ei=null,Ci=null,zi=null,Ni=Gn,Pi=!1,_i={},Li=vn(_i),Ti=vn(_i),Mi=vn(_i),Fi=vn(0),Ri=[],Di=da.ReactCurrentDispatcher,Oi=da.ReactCurrentBatchConfig,Ii=0,Ui=null,Vi=null,Ai=null,Bi=!1,Wi=!1,Hi=0,Qi=0,ji={readContext:qn,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},$i={readContext:qn,useCallback:function(e,n){return vt().memoizedState=[e,void 0===n?null:n],e},useContext:qn,useEffect:Rt,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,Mt(4194308,4,Ut.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Mt(4194308,4,e,n)},useInsertionEffect:function(e,n){return Mt(4,2,e,n)},useMemo:function(e,n){var t=vt();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=vt();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=$t.bind(null,Ui,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},vt().memoizedState=e},useState:_t,useDebugValue:At,useDeferredValue:function(e){return vt().memoizedState=e},useTransition:function(){var e=_t(!1),n=e[0];return e=Qt.bind(null,e[1]),vt().memoizedState=e,[n,e]},useMutableSource:function(e,n,t){},useSyncExternalStore:function(e,n,r){var l=Ui,a=vt();if(vi){if(void 0===r)throw Error(t(407));r=r()}else{if(r=n(),null===gs)throw Error(t(349));30&Ii||Et(l,n,r)}a.memoizedState=r;var u={value:r,getSnapshot:n};return a.queue=u,Rt(zt.bind(null,l,u,e),[e]),l.flags|=2048,Lt(9,Ct.bind(null,l,u,r,n),void 0,null),r},useId:function(){var e=vt(),n=gs.identifierPrefix;if(vi){var t=mi;n=":"+n+"R"+(t=(pi&~(1<<32-yu(pi)-1)).toString(32)+t),0<(t=Hi++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=Qi++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},Ki={readContext:qn,useCallback:Bt,useContext:qn,useEffect:Dt,useImperativeHandle:Vt,useInsertionEffect:Ot,useLayoutEffect:It,useMemo:Wt,useReducer:kt,useRef:Tt,useState:function(e){return kt(bt)},useDebugValue:At,useDeferredValue:function(e){return Ht(yt(),Vi.memoizedState,e)},useTransition:function(){return[kt(bt)[0],yt().memoizedState]},useMutableSource:St,useSyncExternalStore:xt,useId:jt,unstable_isNewReconciler:!1},qi={readContext:qn,useCallback:Bt,useContext:qn,useEffect:Dt,useImperativeHandle:Vt,useInsertionEffect:Ot,useLayoutEffect:It,useMemo:Wt,useReducer:wt,useRef:Tt,useState:function(e){return wt(bt)},useDebugValue:At,useDeferredValue:function(e){var n=yt();return null===Vi?n.memoizedState=e:Ht(n,Vi.memoizedState,e)},useTransition:function(){return[wt(bt)[0],yt().memoizedState]},useMutableSource:St,useSyncExternalStore:xt,useId:jt,unstable_isNewReconciler:!1},Yi={isMounted:function(e){return!!(e=e._reactInternals)&&H(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=rl(),l=ll(e),a=et(r,l);a.payload=n,null!=t&&(a.callback=t),null!==(n=nt(e,a,l))&&(al(n,e,l,r),tt(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=rl(),l=ll(e),a=et(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=nt(e,a,l))&&(al(n,e,l,r),tt(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=rl(),r=ll(e),l=et(t,r);l.tag=2,null!=n&&(l.callback=n),null!==(n=nt(e,l,r))&&(al(n,e,r,t),tt(n,e,r))}},Xi="function"==typeof WeakMap?WeakMap:Map,Gi=da.ReactCurrentOwner,Zi=!1,Ji={dehydrated:null,treeContext:null,retryLane:0},es=function(e,n,t,r){for(t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},ns=function(e,n){},ts=function(e,n,t,r,l){var a=e.memoizedProps;if(a!==r){switch(e=n.stateNode,ut(Li.current),l=null,t){case"input":a=y(e,a),r=y(e,r),l=[];break;case"select":a=La({},a,{value:void 0}),r=La({},r,{value:void 0}),l=[];break;case"textarea":a=C(e,a),r=C(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=un)}var u;for(s in F(t,r),t=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s){var o=a[s];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(ra.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var i=r[s];if(o=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&i!==o&&(null!=i||null!=o))if("style"===s)if(o){for(u in o)!o.hasOwnProperty(u)||i&&i.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in i)i.hasOwnProperty(u)&&o[u]!==i[u]&&(t||(t={}),t[u]=i[u])}else t||(l||(l=[]),l.push(s,t)),t=i;else"dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,o=o?o.__html:void 0,null!=i&&o!==i&&(l=l||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(l=l||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(ra.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&Ye("scroll",e),l||o===i||(l=[])):(l=l||[]).push(s,i))}t&&(l=l||[]).push("style",t);var s=l;(n.updateQueue=s)&&(n.flags|=4)}},rs=function(e,n,t,r){t!==r&&(n.flags|=4)},ls=!1,as=!1,us="function"==typeof WeakSet?WeakSet:Set,os=null,is=!1,ss=null,cs=!1,fs=Math.ceil,ds=da.ReactCurrentDispatcher,ps=da.ReactCurrentOwner,ms=da.ReactCurrentBatchConfig,hs=0,gs=null,vs=null,ys=0,bs=0,ks=vn(0),ws=0,Ss=null,xs=0,Es=0,Cs=0,zs=null,Ns=null,Ps=0,_s=1/0,Ls=null,Ts=!1,Ms=null,Fs=null,Rs=!1,Ds=null,Os=0,Is=0,Us=null,Vs=-1,As=0,Bs=function(e,n,r){if(null!==e)if(e.memoizedProps!==n.pendingProps||ni.current)Zi=!0;else{if(0===(e.lanes&r)&&!(128&n.flags))return Zi=!1,function(e,n,t){switch(n.tag){case 3:kr(n),Un();break;case 5:st(n);break;case 1:wn(n.type)&&En(n);break;case 4:ot(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;bn(Si,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState))return null!==r.dehydrated?(bn(Fi,1&Fi.current),n.flags|=128,null):0!==(t&n.child.childLanes)?xr(e,n,t):(bn(Fi,1&Fi.current),null!==(e=Lr(e,n,t))?e.sibling:null);bn(Fi,1&Fi.current);break;case 19:if(r=0!==(t&n.childLanes),128&e.flags){if(r)return Pr(e,n,t);n.flags|=128}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),bn(Fi,Fi.current),r)break;return null;case 22:case 23:return n.lanes=0,hr(e,n,t)}return Lr(e,n,t)}(e,n,r);Zi=!!(131072&e.flags)}else Zi=!1,vi&&1048576&n.flags&&_n(n,si,n.index);switch(n.lanes=0,n.tag){case 2:var l=n.type;_r(e,n),e=n.pendingProps;var a=kn(n,ei.current);Kn(n,r),a=ht(null,n,l,e,a,r);var u=gt();return n.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,wn(l)?(u=!0,En(n)):u=!1,n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Zn(n),a.updater=Yi,n.stateNode=a,a._reactInternals=n,tr(n,l,e,r),n=br(null,n,l,!0,u,r)):(n.tag=0,vi&&u&&Ln(n),fr(null,n,a,r),n=n.child),n;case 16:l=n.elementType;e:{switch(_r(e,n),e=n.pendingProps,l=(a=l._init)(l._payload),n.type=l,a=n.tag=function(e){if("function"==typeof e)return Fl(e)?1:0;if(null!=e){if((e=e.$$typeof)===ka)return 11;if(e===xa)return 14}return 2}(l),e=Gt(l,e),a){case 0:n=vr(null,n,l,e,r);break e;case 1:n=yr(null,n,l,e,r);break e;case 11:n=dr(null,n,l,e,r);break e;case 14:n=pr(null,n,l,Gt(l.type,e),r);break e}throw Error(t(306,l,""))}return n;case 0:return l=n.type,a=n.pendingProps,vr(e,n,l,a=n.elementType===l?a:Gt(l,a),r);case 1:return l=n.type,a=n.pendingProps,yr(e,n,l,a=n.elementType===l?a:Gt(l,a),r);case 3:e:{if(kr(n),null===e)throw Error(t(387));l=n.pendingProps,a=(u=n.memoizedState).element,Jn(e,n),lt(n,l,null,r);var o=n.memoizedState;if(l=o.element,u.isDehydrated){if(u={element:l,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=u,n.memoizedState=u,256&n.flags){n=wr(e,n,l,r,a=rr(Error(t(423)),n));break e}if(l!==a){n=wr(e,n,l,r,a=rr(Error(t(424)),n));break e}for(gi=fn(n.stateNode.containerInfo.firstChild),hi=n,vi=!0,yi=null,r=wi(n,null,l,r),n.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(Un(),l===a){n=Lr(e,n,r);break e}fr(e,n,l,r)}n=n.child}return n;case 5:return st(n),null===e&&Dn(n),l=n.type,a=n.pendingProps,u=null!==e?e.memoizedProps:null,o=a.children,on(l,a)?o=null:null!==u&&on(l,u)&&(n.flags|=32),gr(e,n),fr(e,n,o,r),n.child;case 6:return null===e&&Dn(n),null;case 13:return xr(e,n,r);case 4:return ot(n,n.stateNode.containerInfo),l=n.pendingProps,null===e?n.child=ki(n,null,l,r):fr(e,n,l,r),n.child;case 11:return l=n.type,a=n.pendingProps,dr(e,n,l,a=n.elementType===l?a:Gt(l,a),r);case 7:return fr(e,n,n.pendingProps,r),n.child;case 8:case 12:return fr(e,n,n.pendingProps.children,r),n.child;case 10:e:{if(l=n.type._context,a=n.pendingProps,u=n.memoizedProps,o=a.value,bn(Si,l._currentValue),l._currentValue=o,null!==u)if(yo(u.value,o)){if(u.children===a.children&&!ni.current){n=Lr(e,n,r);break e}}else for(null!==(u=n.child)&&(u.return=n);null!==u;){var i=u.dependencies;if(null!==i){o=u.child;for(var s=i.firstContext;null!==s;){if(s.context===l){if(1===u.tag){(s=et(-1,r&-r)).tag=2;var c=u.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}u.lanes|=r,null!==(s=u.alternate)&&(s.lanes|=r),$n(u.return,r,n),i.lanes|=r;break}s=s.next}}else if(10===u.tag)o=u.type===n.type?null:u.child;else if(18===u.tag){if(null===(o=u.return))throw Error(t(341));o.lanes|=r,null!==(i=o.alternate)&&(i.lanes|=r),$n(o,r,n),o=u.sibling}else o=u.child;if(null!==o)o.return=u;else for(o=u;null!==o;){if(o===n){o=null;break}if(null!==(u=o.sibling)){u.return=o.return,o=u;break}o=o.return}u=o}fr(e,n,a.children,r),n=n.child}return n;case 9:return a=n.type,l=n.pendingProps.children,Kn(n,r),l=l(a=qn(a)),n.flags|=1,fr(e,n,l,r),n.child;case 14:return a=Gt(l=n.type,n.pendingProps),pr(e,n,l,a=Gt(l.type,a),r);case 15:return mr(e,n,n.type,n.pendingProps,r);case 17:return l=n.type,a=n.pendingProps,a=n.elementType===l?a:Gt(l,a),_r(e,n),n.tag=1,wn(l)?(e=!0,En(n)):e=!1,Kn(n,r),er(n,l,a),tr(n,l,a,r),br(null,n,l,!0,e,r);case 19:return Pr(e,n,r);case 22:return hr(e,n,r)}throw Error(t(156,n.tag))},Ws=function(e,n,t,r){return new Ml(e,n,t,r)},Hs="function"==typeof reportError?reportError:function(e){console.error(e)};Gl.prototype.render=Xl.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(t(409));Ql(e,n,null,null)},Gl.prototype.unmount=Xl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;pl(function(){Ql(null,e,null,null)}),n[Ko]=null}},Gl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Ks();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Tu.length&&0!==n&&n<Tu[t].priority;t++);Tu.splice(t,0,e),0===t&&ae(e)}};var Qs=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=q(n.pendingLanes);0!==t&&(ne(n,1|t),ul(n,su()),!(6&hs)&&(tl(),Nn()))}break;case 13:pl(function(){var n=Gn(e,1);if(null!==n){var t=rl();al(n,e,1,t)}}),Kl(e,1)}},js=function(e){if(13===e.tag){var n=Gn(e,134217728);null!==n&&al(n,e,134217728,rl()),Kl(e,134217728)}},$s=function(e){if(13===e.tag){var n=ll(e),t=Gn(e,n);null!==t&&al(t,e,n,rl()),Kl(e,n)}},Ks=function(){return xu},qs=function(e,n){var t=xu;try{return xu=e,n()}finally{xu=t}};Va=function(e,n,r){switch(n){case"input":if(w(e,r),n=r.name,"radio"===r.type&&null!=n){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<r.length;n++){var l=r[n];if(l!==e&&l.form===e.form){var a=gn(l);if(!a)throw Error(t(90));g(l),w(l,a)}}}break;case"textarea":N(e,r);break;case"select":null!=(n=r.value)&&E(e,!!r.multiple,n,!1)}},function(e,n,t){Wa=e,Ha=t}(dl,0,pl);var Ys={usingClientEntryPoint:!1,Events:[mn,hn,gn,I,U,dl]};(function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:ql,findFiberByHostInstance:e.findFiberByHostInstance||Yl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled||!n.supportsFiber)e=!0;else{try{gu=n.inject(e),vu=n}catch(e){}e=!!n.checkDCE}}})({findFiberByHostInstance:pn,bundleType:0,version:"18.3.1-next-f1338f8080-20240426",rendererPackageName:"react-dom"}
14785),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ys,e.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zl(n))throw Error(t(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ma,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,r)},e.createRoot=function(e,n){if(!Zl(e))throw Error(t(299));var r=!1,l="",a=Hs;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(l=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),n=Bl(e,1,!1,null,0,r,0,l,a),e[Ko]=n.current,Ge(8===e.nodeType?e.parentNode:e),new Xl(n)},e.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(t(188));throw e=Object.keys(e).join(","),Error(t(268,e))}return null===(e=$(n))?null:e.stateNode},e.flushSync=function(e){return pl(e)},e.hydrate=function(e,n,r){if(!Jl(n))throw Error(t(200));return na(null,e,n,!0,r)},e.hydrateRoot=function(e,n,r){if(!Zl(e))throw Error(t(405));var l=null!=r&&r.hydratedSources||null,a=!1,u="",o=Hs;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(u=r.identifierPrefix),void 0!==r.onRecoverableError&&(o=r.onRecoverableError)),n=Hl(n,null,e,1,null!=r?r:null,a,0,u,o),e[Ko]=n.current,Ge(e),l)for(e=0;e<l.length;e++)a=(a=(r=l[e])._getVersion)(r._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[r,a]:n.mutableSourceEagerHydrationData.push(r,a);return new Gl(n)},e.render=function(e,n,r){if(!Jl(n))throw Error(t(200));return na(null,e,n,!1,r)},e.unmountComponentAtNode=function(e){if(!Jl(e))throw Error(t(40));return!!e._reactRootContainer&&(pl(function(){na(null,null,e,!1,function(){e._reactRootContainer=null,e[Ko]=null})}),!0)},e.unstable_batchedUpdates=dl,e.unstable_renderSubtreeIntoContainer=function(e,n,r,l){if(!Jl(r))throw Error(t(200));if(null==e||void 0===e._reactInternals)throw Error(t(38));return na(e,n,r,!1,l)},e.version="18.3.1-next-f1338f8080-20240426"}(n,t(777))}()},777(n){"use strict";n.exports=e}};const t={};return function e(r){const l=t[r];if(void 0!==l)return l.exports;const a=t[r]={exports:{}};return n[r](a,a.exports,e),a.exports}(515)})()); 14786}catch(e){WRMCB(e)}; 14787; 14788try { 14789/* module-key = 'com.atlassian.plugins.react:react-dom-amd', location = '/react-dom/client.amd.js' */ 14790define("atlassian/libs/react-dom/client",["atlassian/libs/react-dom"],t=>(()=>{"use strict";var e={444(e){e.exports=t}};const o={};function r(t){const s=o[t];if(void 0!==s)return s.exports;const a=o[t]={exports:{}};return e[t](a,a.exports,r),a.exports}let s={};return(()=>{let t=s;var e=r(444);t.createRoot=e.createRoot,t.hydrateRoot=e.hydrateRoot})(),s})()); 14791}catch(e){WRMCB(e)}; 14792; 14793try { 14794/* module-key = 'com.atlassian.ratelimiting.rate-limiting-plugin:split_compiled-css', location = 'compiled-css.d8dddaa51ff3904e316b.js' */ 14795(window.atlassianWebpackJsonp71606c11fd5f01dab35b839b4460b376=window.atlassianWebpackJsonp71606c11fd5f01dab35b839b4460b376||[]).push([[0],Array(282).concat([function(n,t,c){},,,function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},,,function(n,t,c){},function(n,t,c){},function(n,t,c){},,,,,,function(n,t,c){},,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,c){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,,function(n,t,c){},function(n,t,c){},,function(n,t,c){},,function(n,t,c){},,,,,function(n,t,c){},function(n,t,c){},,,function(n,t,c){},function(n,t,c){},,function(n,t,c){},,,function(n,t,c){},function(n,t,c){},,function(n,t,c){},,function(n,t,c){},,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,,,,function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,,,,function(n,t,c){},function(n,t,c){},function(n,t,c){},,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,function(n,t,c){},,function(n,t,c){},,function(n,t,c){},,,,,,,function(n,t,c){},function(n,t,c){},function(n,t,c){},,,,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,function(n,t,c){},,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,function(n,t,c){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){"use strict";c.r(t)},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,function(n,t,c){},,function(n,t,c){},,,,,,,,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},,,,,,,function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){},function(n,t,c){"use strict";c.r(t)},,,,,,,,,,,,,function(n,t,c){},function(n,t,c){}])]); 14796}catch(e){WRMCB(e)}; 14797; 14798try { 14799/* module-key = 'com.atlassian.ratelimiting.rate-limiting-plugin:split_vendors', location = 'vendors.9cbc1c06496cfadee1a0.js' */ 14800/*! For license information please see vendors.9cbc1c06496cfadee1a0.js.LICENSE.txt */ 14801(window.atlassianWebpackJsonp71606c11fd5f01dab35b839b4460b376=window.atlassianWebpackJsonp71606c11fd5f01dab35b839b4460b376||[]).push([[1],[,function(e,t,n){var r=n(261);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(null,arguments)}
14801e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){var r=n(474);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(264),o=n(480),i=n(199),s=n(265);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(481)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";n.d(t,"a",function(){return Je}),n.d(t,"b",function(){return We}),n.d(t,"c",function(){return ze});var r=n(0);var o=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,590 bytes, line 14801
14801,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i="-ms-",s="-moz-",a="-webkit-",u="comm",c="rule",l="decl",f="@keyframes",d=Math.abs,h=String.fromCharCode,p=Object.assign;function v(e,t){return 45^b(e,0)?(((t<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(e,3):0}function g(e){return e.trim()}function m(e,t){return(e=t.exec(e))?e[0]:e}function y(e,t,n){return e.replace(t,n)}function _(e,t){return e.indexOf(t)}function b(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function S(e){return e.length}function w(e){return e.length}function O(e,t){return t.push(e),e}function x(e,t){return e.map(t).join("")}var T=1,j=1,k=0,P=0,C=0,I="";function M(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:T,column:j,length:s,return:""}}function A(e,t){return p(M("",null,null,"",null,null,0),e,{length:-e.length},t)}function D(){return C=P>0?b(I,--P):0,j--,10===C&&(j=1,T--),C}function L(){return C=P<k?b(I,P++):0,j++,10===C&&(j=1,T++),C}function N(){return b(I,P)}function F(){return P}function R(e,t){return E(I,e,t)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(e){return T=j=1,k=S(I=e),P=0,[]}function H(e){return I="",e}function G(e){return g(R(P-1,K(91===e?e+2:40===e?e+1:e)))}function $(e){for(;(C=N())&&C<33;)L();return B(e)>2||B(C)>3?"":" "}function V(e,t){for(;--t&&L()&&!(C<48||C>102||C>57&&C<65||C>70&&C<97););return R(e,F()+(t<6&&32==N()&&32==L()))}function K(e){for(;L();)switch(C){case e:return P;case 34:case 39:34!==e&&39!==e&&K(C);break;case 40:41===e&&K(e);break;case 92:L()}return P}function z(e,t){for(;L()&&e+C!==57&&(e+C!==84||47!==N()););return"/*"+R(t,P-1)+"*"+h(47===e?e:L())}function W(e){for(;!B(N());)L();return R(e,P)}function q(e){return H(X("",null,null,null,[""],e=U(e),0,[0],e))}function X(e,t,n,r,o,i,s,a,u){for(var c=0,l=0,f=s,d=0,p=0,v=0,g=1,m=1,E=1,w=0,x="",T=o,j=i,k=r,P=x;m;)switch(v=w,w=L()){case 40:if(108!=v&&58==b(P,f-1)){-1!=_(P+=y(G(w),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:P+=G(w);break;case 9:case 10:case 13:case 32:P+=$(v);break;case 92:P+=V(F()-1,7);continue;case 47:switch(N()){case 42:case 47:O(Y(z(L(),F()),t,n),u);break;default:P+="/"}break;case 123*g:a[c++]=S(P)*E;case 125*g:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+l:-1==E&&(P=y(P,/\f/g,"")),p>0&&S(P)-f&&O(p>32?Q(P+";",r,n,f-1):Q(y(P," ","")+";",r,n,f-2),u);break;case 59:P+=";";default:if(O(k=J(P,t,n,c,l,o,a,x,T=[],j=[],f),i),123===w)if(0===l)X(P,t,k,k,T,i,f,a,j);else switch(99===d&&110===b(P,3)?100:d){case 100:case 108:case 109:case 115:X(e,k,k,r&&O(J(e,k,k,0,0,o,a,x,o,T=[],f),j),o,j,f,a,r?T:j);break;default:X(P,k,k,k,[""],j,0,a,j)}}c=l=p=0,g=E=1,x=P="",f=s;break;case 58:f=1+S(P),p=v;default:if(g<1)if(123==w)--g;else if(125==w&&0==g++&&125==D())continue;switch(P+=h(w),w*g){case 38:E=l>0?1:(P+="\f",-1);break;case 44:a[c++]=(S(P)-1)*E,E=1;break;case 64:45===N()&&(P+=G(L())),d=N(),l=f=S(x=P+=W(F())),w++;break;case 45:45===v&&2==S(P)&&(g=0)}}return i}function J(e,t,n,r,o,i,s,a,u,l,f){for(var h=o-1,p=0===o?i:[""],v=w(p),m=0,_=0,b=0;m<r;++m)for(var S=0,O=E(e,h+1,h=d(_=s[m])),x=e;S<v;++S)(x=g(_>0?p[S]+" "+O:y(O,/&\f/g,p[S])))&&(u[b++]=x);return M(e,t,n,0===o?c:a,u,l,f)}function Y(e,t,n){return M(e,t,n,u,h(C),E(e,2,-2),0)}function Q(e,t,n,r){return M(e,t,n,l,E(e,0,r),E(e,r+1,-1),r)}function Z(e,t){for(var n="",r=w(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ee(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case l:return e.return=e.return||e.value;case u:return"";case f:return e.return=e.value+"{"+Z(e.children,r)+"}";case c:e.value=e.props.join(",")}return S(n=Z(e.children,r))?e.return=e.value+"{"+n+"}":""}function te(e){var t=w(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function ne(e){return function(t){t.root||(t=t.return)&&e(t)}}var re=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function oe(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ie="undefined"!=typeof document,se=function(e,t,n){for(var r=0,o=0;r=o,o=N(),38===r&&12===o&&(t[n]=1),!B(o);)L();return R(e,P)},ae=function(e,t){return H(function(e,t){var n=-1,r=44;do{switch(B(r)){case 0:38===r&&12===N()&&(t[n]=1),e[n]+=se(P-1,t,n);break;case 2:e[n]+=G(r);break;case 4:if(44===r){e[++n]=58===N()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=h(r)}}while(r=L());return e}(U(e),t))},ue=new WeakMap,ce=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ue.get(n))&&!r){ue.set(e,!0);for(var o=[],i=ae(t,o),s=n.props,a=0,u=0;a<i.length;a++)for(var c=0;c<s.length;c++,u++)e.props[u]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},le=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function fe(e,t){switch(v(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;
14801case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+s+e+i+e+e;case 6828:case 4268:return a+e+i+e+e;case 6165:return a+e+i+"flex-"+e+e;case 5187:return a+e+y(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return a+e+i+"flex-item-"+y(e,/flex-|-self/,"")+e;case 4675:return a+e+i+"flex-line-pack"+y(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+i+y(e,"shrink","negative")+e;case 5292:return a+e+i+y(e,"basis","preferred-size")+e;case 6060:return a+"box-"+y(e,"-grow","")+a+e+i+y(e,"grow","positive")+e;case 4554:return a+y(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+i+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(S(e)-1-t>6)switch(b(e,t+1)){case 109:if(45!==b(e,t+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+s+(108==b(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch")?fe(y(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==b(e,t+1))break;case 6444:switch(b(e,S(e)-3-(~_(e,"!important")&&10))){case 107:return y(e,":",":"+a)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===b(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(b(e,t+11)){case 114:return a+e+i+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+i+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+i+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+i+e+e}return e}var de=ie?void 0:re(function(){return oe(function(){return{}})}),he=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case l:e.return=fe(e.value,e.length);break;case f:return Z([A(e,{value:y(e.value,"@","@"+a)})],r);case c:if(e.length)return x(e.props,function(t){switch(m(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([A(e,{props:[y(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Z([A(e,{props:[y(t,/:(plac\w+)/,":"+a+"input-$1")]}),A(e,{props:[y(t,/:(plac\w+)/,":-moz-$1")]}),A(e,{props:[y(t,/:(plac\w+)/,i+"input-$1")]})],r)}return""})}}],pe=function(e){var t=e.key;if(ie&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,s=e.stylisPlugins||he,a={},u=[];ie&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;u.push(e)}));var c=[ce,le];if(de){var l=[ee],f=te(c.concat(s,l)),d=de(s)(t),h=function(e,t){var n=t.name;return void 0===d[n]&&(d[n]=Z(q(e?e+"{"+t.styles+"}":t.styles),f)),d[n]};i=function(e,t,n,r){var o=t.name,i=h(e,t);return void 0===m.compat?(r&&(m.inserted[o]=!0),i):r?void(m.inserted[o]=i):i}}else{var p,v=[ee,ne(function(e){p.insert(e)})],g=te(c.concat(s,v));i=function(e,t,n,r){p=n,Z(q(e?e+"{"+t.styles+"}":t.styles),g),r&&(m.inserted[t.name]=!0)}}var m={key:t,sheet:new o({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return m.sheet.hydrate(u),m},ve=(n(32),n(102),"undefined"!=typeof document);function ge(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var me=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ve&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ye=function(e,t,n){me(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var s=e.insert(t===i?"."+r:"",i,e.sheet,!0);ve||void 0===s||(o+=s),i=i.next}while(void 0!==i);if(!ve&&0!==o.length)return o}};var _e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
14801idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},be=!1,Ee=/[A-Z]|^ms/g,Se=/_EMO_([^_]+?)_([^]*?)_EMO_/g,we=function(e){return 45===e.charCodeAt(1)},Oe=function(e){return null!=e&&"boolean"!=typeof e},xe=oe(function(e){return we(e)?e:e.replace(Ee,"-$&").toLowerCase()}),Te=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Se,function(e,t,n){return Pe={name:t,styles:n,next:Pe},t})}return 1===_e[e]||we(e)||"number"!=typeof t||0===t?t:t+"px"},je="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ke(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Pe={name:o.name,styles:o.styles,next:Pe},o.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)Pe={name:s.name,styles:s.styles,next:Pe},s=s.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ke(e,t,n[o])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Oe(a)&&(r+=xe(i)+":"+Te(i,a)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&be)throw new Error(je);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var u=ke(e,t,s);switch(i){case"animation":case"animationName":r+=xe(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var c=0;c<s.length;c++)Oe(s[c])&&(r+=xe(i)+":"+Te(i,s[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=Pe,u=n(e);return Pe=a,ke(e,t,u)}}var c=n;if(null==t)return c;var l=t[c];return void 0!==l?l:c}var Pe,Ce=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ie(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Pe=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=ke(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++){if(o+=ke(n,t,e[s]),r)o+=i[s]}Ce.lastIndex=0;for(var a,u="";null!==(a=Ce.exec(o));)u+="-"+a[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:c,styles:o,next:Pe}}var Me="undefined"!=typeof document,Ae=function(e){return e()},De=!!r.useInsertionEffect&&r.useInsertionEffect,Le=Me&&De||Ae,Ne=(De||r.useLayoutEffect,"undefined"!=typeof document),Fe=r.createContext("undefined"!=typeof HTMLElement?pe({key:"css"}):null),Re=(Fe.Provider,function(e){return Object(r.forwardRef)(function(t,n){var o=Object(r.useContext)(Fe);return e(t,o,n)})});Ne||(Re=function(e){return function(t){var n=Object(r.useContext)(Fe);return null===n?(n=pe({key:"css"}),r.createElement(Fe.Provider,{value:n},e(t,n))):e(t,n)}});var Be=r.createContext({});var Ue,He,Ge={}.hasOwnProperty,$e="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ve=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;me(t,n,o);var i=Le(function(){return ye(t,n,o)});if(!Ne&&void 0!==i){for(var s,a=n.name,u=n.next;void 0!==u;)a+=" "+u.name,u=u.next;return r.createElement("style",((s={})["data-emotion"]=t.key+" "+a,s.dangerouslySetInnerHTML={__html:i},s.nonce=t.sheet.nonce,s))}return null},Ke=Re(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[$e],s=[o],a="";"string"==typeof e.className?a=ge(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var u=Ie(s,void 0,r.useContext(Be));a+=t.key+"-"+u.name;var c={};for(var l in e)Ge.call(e,l)&&"css"!==l&&l!==$e&&(c[l]=e[l]);return c.className=a,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Ve,{cache:t,serialized:u,isStringTag:"string"==typeof i}),r.createElement(i,c))}),ze=(n(2),function(e,t){var n=arguments;if(null==t||!Ge.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Ke,i[1]=function(e,t){var n={};for(var r in t)Ge.call(t,r)&&(n[r]=t[r]);return n[$e]=e,n}(e,t);for(var s=2;s<o;s++)i[s]=n[s];return r.createElement.apply(null,i)});Ue=ze||(ze={}),He||(He=Ue.JSX||(Ue.JSX={}));function We(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ie(t)}var qe=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];
14801if(null!=i){var s=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))s=e(i);else for(var a in s="",i)i[a]&&a&&(s&&(s+=" "),s+=a);break;default:s=i}s&&(o&&(o+=" "),o+=s)}}return o};var Xe=function(e){var t,n=e.cache,o=e.serializedArr,i=Le(function(){for(var e="",t=0;t<o.length;t++){var r=ye(n,o[t],!1);Ne||void 0===r||(e+=r)}if(!Ne)return e});return Ne||0===i.length?null:r.createElement("style",((t={})["data-emotion"]=n.key+" "+o.map(function(e){return e.name}).join(" "),t.dangerouslySetInnerHTML={__html:i},t.nonce=n.sheet.nonce,t))},Je=Re(function(e,t){var n=[],o=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i=Ie(r,t.registered);return n.push(i),me(t,i,!1),t.key+"-"+i.name},i={css:o,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,t,n){var r=[],o=ge(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,qe(n))},theme:r.useContext(Be)},s=e.children(i);return r.createElement(r.Fragment,null,r.createElement(Xe,{cache:t,serializedArr:n}),s)})},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return a});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},,,,function(e,t){function n(t){return e.exports=n="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,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(261);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.d(t,"m",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"k",function(){return i}),n.d(t,"f",function(){return s}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"l",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"d",function(){return f}),n.d(t,"o",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"j",function(){return p}),n.d(t,"n",function(){return v}),n.d(t,"h",function(){return g}),n.d(t,"g",function(){return m});var r="top",o="bottom",i="right",s="left",a="auto",u=[r,o,i,s],c="start",l="end",f="clippingParents",d="viewport",h="popper",p="reference",v=u.reduce(function(e,t){return e.concat([t+"-"+c,t+"-"+l])},[]),g=[].concat(u,[a]).reduce(function(e,t){return e.concat([t,t+"-"+c,t+"-"+l])},[]),m=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},function(e,t){function n(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(e){return void n(e)}a.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var s=e.apply(t,r);function a(e){n(s,o,i,a,u,"next",e)}function u(e){n(s,o,i,a,u,"throw",e)}a(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";
14801Object.defineProperty(t,"__esModule",{value:!0}),t.bindAll=t.bind=void 0;var r=n(288);Object.defineProperty(t,"bind",{enumerable:!0,get:function(){return r.bind}});var o=n(632);Object.defineProperty(t,"bindAll",{enumerable:!0,get:function(){return o.bindAll}})},function(e,t,n){var r=n(476),o=n(263),i=n(199),s=n(477);e.exports=function(e){return r(e)||o(e)||i(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t,n){var r=n(12).default,o=n(478);e.exports=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(200);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){!function(e,t,r){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(t),s=o(r);const a=function(){try{return n(248)}catch(e){return null}}();function u(e,...n){let r=0;const o={};n=n.map(e=>{if(t.isValidElement(e)){const t=`!PLACEHOLDER_${++r}!`;return o[t]=e,t}return e});const a=s.default(e,...n).split(/(!PLACEHOLDER_\d+!)/g);if(1===a.length)return a.join("");const u=a.map((e,n)=>i.default.createElement(t.Fragment,{key:n},n%2?o[e]:e));return i.default.createElement(t.Fragment,null,u)}const I18n={getText:(...e)=>{if(!a)return console.warn('Call to "getText" function was not replaced with either raw translation or call to "format" function. Have you included the "jsI18n" transformation in Web Resource Manager?'),u(...e);let t;try{WRM.I18n.format=u,t=a.getText.apply(null,e)}finally{WRM.I18n.format=s.default}return t}};e.I18n=I18n,e.format=u,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0),n(247))},,function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.Log=t.EventLogger=t.Diagnostics=void 0,n(84);const i=n(84),s=n(201);Object.defineProperty(t,"Diagnostics",{enumerable:!0,get:function(){return s.Diagnostics}});const a=n(271);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return a.EventLogger}});const u=n(40);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return u.Log}});const c=n(117),l=n(62);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return l.Storage}}),o(n(84),t),o(n(154),t),o(n(494),t),o(n(495),t),o(n(201),t),o(n(496),t),o(n(279),t),o(n(497),t),o(n(498),t),o(n(85),t),o(n(499),t),o(n(40),t),o(n(280),t),o(n(116),t),o(n(272),t),o(n(500),t),o(n(501),t),o(n(60),t),o(n(155),t),o(n(119),t),o(n(502),t),o(n(120),t),o(n(503),t),o(n(274),t),o(n(504),t),o(n(275),t),o(n(117),t),o(n(121),t),o(n(505),t),o(n(506),t),o(n(507),t),o(n(277),t),o(n(62),t),o(n(278),t),o(n(203),t),o(n(276),t),o(n(204),t),o(n(118),t),o(n(508),t),o(n(273),t),Object.assign((0,i._getStatsigGlobal)(),{Log:u.Log,SDK_VERSION:c.SDK_VERSION})},,function(e,t,n){"use strict";n.d(t,"a",function(){return de}),n.d(t,"b",function(){return fe}),n.d(t,"c",function(){return V}),n.d(t,"d",function(){return ye}),n.d(t,"e",function(){return Ee});var r=n(0),o=n(337),i=Object.defineProperty,s=Object.defineProperties,a=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&f(e,n,t[n]);if(u)for(var n of u(t))l.call(t,n)&&f(e,n,t[n]);return e},h=(e,t)=>s(e,a(t)),p=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))t.indexOf(r)<0&&l.call(e,r)&&(n[r]=e[r]);return n},v=r.version.startsWith("19"),g=Symbol.for(v?"react.transitional.element":"react.element"),m=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),S=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),k=w,P=T;function C(e){if("object"==typeof e&&null!==e){const{$$typeof:t}=e;switch(t){case g:switch(e=e.type){case y:case b:case _:case O:case x:return e;default:switch(e=e&&e.$$typeof){case S:case w:case j:case T:case E:return e;default:return t}}case m:return t}}}function I(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:s}){let a,u,c,l,f,d=!1;function h(d,h){const p=!i(h,u),v=!o(d,a,h,u);
14801return a=d,u=h,p&&v?(c=e(a,u),t.dependsOnOwnProps&&(l=t(r,u)),f=n(c,l,u),f):p?(e.dependsOnOwnProps&&(c=e(a,u)),t.dependsOnOwnProps&&(l=t(r,u)),f=n(c,l,u),f):v?function(){const t=e(a,u),r=!s(t,c);return c=t,r&&(f=n(c,l,u)),f}():f}return function(o,i){return d?h(o,i):(a=o,u=i,c=e(a,u),l=t(r,u),f=n(c,l,u),d=!0,f)}}function M(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function A(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function D(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=A(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=A(o),o=r(t,n)),o},r}}function L(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function N(e,t,n){return d(d(d({},n),e),t)}function F(e){e()}var R={notify(){},get:()=>[]};function B(e,t){let n,r=R,o=0,i=!1;function s(){c.onStateChange&&c.onStateChange()}function a(){o++,n||(n=t?t.addNestedSub(s):e.subscribe(s),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){F(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function u(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=R)}const c={addNestedSub:function(e){a();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),u())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:s,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,a())},tryUnsubscribe:function(){i&&(i=!1,u())},getListeners:()=>r};return c}var U=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),H=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),G=(()=>U||H?r.useLayoutEffect:r.useEffect)();function $(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function V(e,t){if($(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!$(e[n[r]],t[n[r]]))return!1;return!0}var K={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},W={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q={[k]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[P]:W};function X(e){return C(e)===T?W:q[e.$$typeof]||K}var J=Object.defineProperty,Y=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,Z=Object.getOwnPropertyDescriptor,ee=Object.getPrototypeOf,te=Object.prototype;function ne(e,t){if("string"!=typeof t){if(te){const n=ee(t);n&&n!==te&&ne(e,n)}let n=Y(t);Q&&(n=n.concat(Q(t)));const r=X(e),o=X(t);for(let i=0;i<n.length;++i){const s=n[i];if(!(z[s]||o&&o[s]||r&&r[s])){const n=Z(t,s);try{J(e,s,n)}catch(e){}}}}return e}var re=Symbol.for("react-redux-context"),oe="undefined"!=typeof globalThis?globalThis:{};function ie(){var e;if(!r.createContext)return{};const t=null!=(e=oe[re])?e:oe[re]=new Map;let n=t.get(r.createContext);return n||(n=r.createContext(null),t.set(r.createContext,n)),n}var se=ie(),ae=[null,null];function ue(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ce(e,t){return e===t}function le(e,t,n,{pure:o,areStatesEqual:i=ce,areOwnPropsEqual:s=V,areStatePropsEqual:a=V,areMergedPropsEqual:u=V,forwardRef:c=!1,context:l=se}={}){const f=l,v=function(e){return e?"function"==typeof e?D(e):L(e,"mapStateToProps"):M(()=>({}))}(e),g=function(e){return e&&"object"==typeof e?M(t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t)):e?"function"==typeof e?D(e):L(e,"mapDispatchToProps"):M(e=>({dispatch:e}))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,s){const a=e(t,n,s);return i?r(a,o)||(o=a):(i=!0,o=a),o}}}(e):L(e,"mergeProps"):()=>N}(n),y=Boolean(e);return e=>
14801{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,o={shouldHandleStateChanges:y,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:v,initMapDispatchToProps:g,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:s,areMergedPropsEqual:u};function l(t){const[n,i,s]=r.useMemo(()=>{const e=t,{reactReduxForwardedRef:n}=e,r=p(e,["reactReduxForwardedRef"]);return[t.context,n,r]},[t]),a=r.useMemo(()=>{let e=f;return null==n||n.Consumer,e},[n,f]),u=r.useContext(a),c=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),l=Boolean(u)&&Boolean(u.store);const v=c?t.store:u.store,g=l?u.getServerState:v.getState,m=r.useMemo(()=>function(e,t){var n=t,{initMapStateToProps:r,initMapDispatchToProps:o,initMergeProps:i}=n,s=p(n,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);return I(r(e,s),o(e,s),i(e,s),e,s)}(v.dispatch,o),[v]),[_,b]=r.useMemo(()=>{if(!y)return ae;const e=B(v,c?void 0:u.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[v,c,u]),E=r.useMemo(()=>c?u:h(d({},u),{subscription:_}),[c,u,_]),S=r.useRef(void 0),w=r.useRef(s),O=r.useRef(void 0),x=r.useRef(!1),T=r.useRef(!1),j=r.useRef(void 0);G(()=>(T.current=!0,()=>{T.current=!1}),[]);const k=r.useMemo(()=>()=>O.current&&s===w.current?O.current:m(v.getState(),s),[v,s]),P=r.useMemo(()=>e=>_?function(e,t,n,r,o,i,s,a,u,c,l){if(!e)return()=>{};let f=!1,d=null;const h=()=>{if(f||!a.current)return;const e=t.getState();let n,h;try{n=r(e,o.current)}catch(e){h=e,d=e}h||(d=null),n===i.current?s.current||c():(i.current=n,u.current=n,s.current=!0,l())};return n.onStateChange=h,n.trySubscribe(),h(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(y,v,_,m,w,S,x,T,O,b,e):()=>{},[_]);var C,M,A;let D;C=ue,M=[w,S,x,s,O,b],G(()=>C(...M),A);try{D=r.useSyncExternalStore(P,k,g?()=>m(g(),s):k)}catch(e){throw j.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${j.current.stack}\n\n`),e}G(()=>{j.current=void 0,O.current=void 0,S.current=D});const L=r.useMemo(()=>r.createElement(e,h(d({},D),{ref:i})),[i,e,D]);return r.useMemo(()=>y?r.createElement(a.Provider,{value:E},L):L,[a,L,E])}const _=r.memo(l);if(_.WrappedComponent=e,_.displayName=l.displayName=n,c){const t=r.forwardRef(function(e,t){return r.createElement(_,h(d({},e),{reactReduxForwardedRef:t}))});return t.displayName=n,t.WrappedComponent=e,ne(t,e)}return ne(_,e)}}var fe=le;var de=function(e){const{children:t,context:n,serverState:o,store:i}=e,s=r.useMemo(()=>{const e=B(i);return{store:i,subscription:e,getServerState:o?()=>o:void 0}},[i,o]),a=r.useMemo(()=>i.getState(),[i]);G(()=>{const{subscription:e}=s;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[s,a]);const u=n||se;return r.createElement(u.Provider,{value:s},t)};function he(e=se){return function(){return r.useContext(e)}}var pe=he();function ve(e=se){const t=e===se?pe:he(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var ge=ve();function me(e=se){const t=e===se?ge:ve(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var ye=me(),_e=(e,t)=>e===t;function be(e=se){const t=e===se?pe:he(e),n=(e,n={})=>{const{equalityFn:i=_e}="function"==typeof n?{equalityFn:n}:n;const s=t(),{store:a,subscription:u,getServerState:c}=s,l=(r.useRef(!0),r.useCallback({[e.name]:t=>e(t)}[e.name],[e])),f=Object(o.useSyncExternalStoreWithSelector)(u.addNestedSub,a.getState,c||a.getState,l,i);return r.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var Ee=be()},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(e){a=!0,o=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}
14801(e,t)||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.")}()}function o(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}e.exports=function(e){var t=r(e,4),n=t[1],o=t[3];if(!o)return n;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),a="/*# ".concat(s," */"),u=o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")});return[n].concat(u).concat([a]).join("\n")}return[n].join("\n")}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},,function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClient=void 0;const i=n(26),s=n(509);t.StatsigClient=s.default,o(n(26),t);const a=Object.assign((0,i._getStatsigGlobal)(),{StatsigClient:s.default});t.default=a},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0;function r(e){return e.unshift("[Statsig]"),e}t.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class o{static info(...e){o.level>=t.LogLevel.Info&&console.info(" INFO ",...r(e))}static debug(...e){o.level>=t.LogLevel.Debug&&console.debug(" DEBUG ",...r(e))}static warn(...e){o.level>=t.LogLevel.Warn&&console.warn(" WARN ",...r(e))}static error(...e){o.level>=t.LogLevel.Error&&console.error(" ERROR ",...r(e))}}t.Log=o,o.level=t.LogLevel.Warn},function(e,t,n){var r=n(447);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},,function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=!0,o="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,i=n?"".concat(o,": ").concat(n):o;throw new Error(i)}}},,,,function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],u=t.base?i[0]+t.base:i[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var f=a(l),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(s[f].references++,s[f].updater(d)):s.push({identifier:l,updater:g(d,t),references:1}),r.push(l)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach(function(e){t.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invali
14801d.");s.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function h(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,v=0;function g(e,t){var n,r,o;if(t.singleton){var i=v++;n=p||(p=c(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else n=c(t),r=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);s[o].references--}for(var i=u(e,t),c=0;c<n.length;c++){var l=a(n[c]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}n=i}}}},,,,,,,,,,function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&h())}function h(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},,function(e,t,n){var r=n(253),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t._cloneObject=t._getUnloadEvent=t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0;const r=n(40);t._getWindowSafe=()=>"undefined"!=typeof window?window:null;t._getDocumentSafe=()=>{var e;const n=(0,t._getWindowSafe)();return null!==(e=null==n?void 0:n.document)&&void 0!==e?e:null};t._isServerEnv=()=>{if(null!==(0,t._getDocumentSafe)())return!1;const n=void 0!==e&&null!=e.versions&&null!=e.versions.node;return"string"==typeof EdgeRuntime||n};t._addWindowEventListenerSafe=(e,n)=>{const r=(0,t._getWindowSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};
14801t._addDocumentEventListenerSafe=(e,n)=>{const r=(0,t._getDocumentSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._getCurrentPageUrlSafe=()=>{var e;try{return null===(e=(0,t._getWindowSafe)())||void 0===e?void 0:e.location.href.split(/[?#]/)[0]}catch(e){return}};t._getUnloadEvent=()=>{const e=(0,t._getWindowSafe)();if(!e)return"beforeunload";return"onpagehide"in e?"pagehide":"beforeunload"};t._cloneObject=(e,t)=>{try{return JSON.parse(JSON.stringify(t))}catch(t){return r.Log.error(`Failed to clone object ${e}`),null}}}).call(this,n(57))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;const r=n(40),o=n(60),i={},s={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:e=>i[e]?i[e]:null,setItem:(e,t)=>{i[e]=t},removeItem:e=>{delete i[e]},getAllKeys:()=>Object.keys(i)};let a=null;try{const e=(0,o._getWindowSafe)();e&&e.localStorage&&"function"==typeof e.localStorage.getItem&&(a={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:t=>e.localStorage.getItem(t),setItem:(t,n)=>e.localStorage.setItem(t,n),removeItem:t=>e.localStorage.removeItem(t),getAllKeys:()=>Object.keys(e.localStorage)})}catch(e){r.Log.warn("Failed to setup localStorageProvider.")}let u=null!=a?a:s,c=u;function l(e){try{return e()}catch(e){if(e instanceof Error&&"SecurityError"===e.name)return t.Storage._setProvider(s),null;throw e}}t.Storage={isReady:()=>c.isReady(),isReadyResolver:()=>c.isReadyResolver(),getProviderName:()=>c.getProviderName(),getItem:e=>l(()=>c.getItem(e)),setItem:(e,t)=>l(()=>c.setItem(e,t)),removeItem:e=>c.removeItem(e),getAllKeys:()=>c.getAllKeys(),_setProvider:e=>{u=e,c=e},_setDisabled:e=>{c=e?s:u}},t._getObjectFromStorage=function(e){const n=t.Storage.getItem(e);try{return JSON.parse(null!=n?n:"null")}catch(t){return r.Log.error(`Failed to parse value for key "${e}"`),null}},t._setObjectInStorage=function(e,n){t.Storage.setItem(e,JSON.stringify(n))}},,,,,,,,,,,,function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},,function(e,t,n){var r=n(479);function o(){return e.exports=o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports,o.apply(null,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,function(e,t,n){var r=n(428),o=n(433);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";(function(e){var r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;const s=n(40);t._getStatsigGlobal=()=>{try{return"undefined"!=typeof __STATSIG__?__STATSIG__:f}catch(e){return f}};t._getStatsigGlobalFlag=e=>(0,t._getStatsigGlobal)()[e];t._getInstance=e=>{const n=(0,t._getStatsigGlobal)();return e?n.instances&&n.instances[e]:(n.instances&&Object.keys(n.instances).length>1&&s.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),n.firstInstance)};const a="__STATSIG__",u="undefined"!=typeof window?window:{},c=void 0!==e?e:{},l="undefined"!=typeof globalThis?globalThis:{},f=null!==(i=null!==(o=null!==(r=u[a])&&void 0!==r?r:c[a])&&void 0!==o?o:l[a])&&void 0!==i?i:{instance:t._getInstance};u[a]=f,c[a]=f,l[a]=f}).call(this,n(254))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;const r=n(203);t._DJB2=e=>{let t=0;for(let n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return String(t>>>0)};t._DJB2Object=(e,n)=>(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(e,n)));t._getSortedObject=(e,n)=>{if(null==e)return null;const o=Object.keys(e).sort(),i={};return o.forEach(o=>{const s=e[o];
148010!==n&&"object"===(0,r._typeOf)(s)?i[o]=(0,t._getSortedObject)(s,null!=n?n-1:n):i[o]=s}),i}},,,function(e,t,n){"use strict";t.a=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame(function(){n=null,e.apply(void 0,t)}))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r}},,,,,,,,,,,,function(e,t,n){e.exports=n(577)()},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){return e===t||!(!r(e)||!r(t))}function i(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!o(e[n],t[n]))return!1;return!0}function s(e,t){void 0===t&&(t=i);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}},function(e,t,n){"use strict";var r=n(554),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?s:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var s=l(n);f&&(s=s.concat(f(n)));for(var a=u(t),v=u(n),g=0;g<s.length;++g){var m=s[g];if(!(i[m]||r&&r[m]||v&&v[m]||a&&a[m])){var y=d(n,m);try{c(t,m,y)}catch(e){}}}}return t}},,,,function(e,t,n){"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,"a",function(){return d}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return f}),n.d(t,"d",function(){return c});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function a(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function u(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(u)(e,t)}let i=e,c=t,l=new Map,f=l,d=0,h=!1;function p(){f===l&&(f=new Map,l.forEach((e,t)=>{f.set(t,e)}))}function v(){if(h)throw new Error(r(3));return c}function g(e){if("function"!=typeof e)throw new Error(r(4));if(h)throw new Error(r(5));let t=!0;p();const n=d++;return f.set(n,e),function(){if(t){if(h)throw new Error(r(6));t=!1,p(),f.delete(n),l=null}}}function m(e){if(!a(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(h)throw new Error(r(9));try{h=!0,c=i(c,e)}finally{h=!1}return(l=f).forEach(e=>{e()}),e}m({type:s.INIT});return{dispatch:m,subscribe:g,getState:v,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,m({type:s.REPLACE})},[o]:function(){const e=g;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(v())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function c(e,t,n){return u(e,t,n)}function l(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const o=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:s.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))})}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let s=!1;const a={};for(let i=0;i<o.length;i++){const u=o[i],c=n[u],l=e[u],f=c(l,t);if(void 0===f){t&&t.type;throw new Error(r(14))}a[u]=f,s=s||f!==l}return s=s||o.length!==Object.keys(e).length,s?a:e}}function f(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>
14801(...n)=>e(t(...n)))}function d(...e){return t=>(n,o)=>{const i=t(n,o);let s=()=>{throw new Error(r(15))};const a={getState:i.getState,dispatch:(e,...t)=>s(e,...t)},u=e.map(e=>e(a));return s=f(...u)(i.dispatch),{...i,dispatch:s}}}},,,,,,,,function(e,t,n){var r=n(147),o=n(429),i=n(430),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=t.Endpoint=void 0,t.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},t.NetworkDefault={[t.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[t.Endpoint._initialize]:"https://featureassets.org/v1",[t.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},t.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="3.33.2";let r={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:()=>r,add:e=>{r=Object.assign(Object.assign({},r),e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;const r=n(60),o="foreground",i="background",s=[];let a=o,u=!1;t._isCurrentlyVisible=()=>a===o;t._isUnloading=()=>u;t._subscribeToVisiblityChanged=e=>{s.unshift(e)};t._notifyVisibilityChanged=e=>{e!==a&&(a=e,s.forEach(t=>t(e)))},(0,r._addWindowEventListenerSafe)("focus",()=>{u=!1,(0,t._notifyVisibilityChanged)(o)}),(0,r._addWindowEventListenerSafe)("blur",()=>(0,t._notifyVisibilityChanged)(i)),(0,r._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?o:i)}),(0,r._addWindowEventListenerSafe)((0,r._getUnloadEvent)(),()=>{u=!0,(0,t._notifyVisibilityChanged)(i)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;const r=n(154),o=n(40),i=n(62),s=n(204),a=n(118),u=18e5,c=144e5,l={};function f(e){var t;const n=e.data,r=function({lastUpdate:e}){return Date.now()-e>u}(n)||function({startTime:e}){return Date.now()-e>c}(n);return r&&(e.data=p(),null===(t=null===__STATSIG__||void 0===__STATSIG__?void 0:__STATSIG__.instance(e.sdkKey))||void 0===t||t.$emt({name:"session_expired"})),r}function d(e){return`statsig.session_id.${(0,r._getStorageKey)(e)}`}function h(e){try{(0,i._setObjectInStorage)(e.storageKey,e.data),e.lastPersistedAt=Date.now()}catch(e){o.Log.warn("Failed to save SessionID")}}function p(){return{sessionID:(0,s.getUUID)(),startTime:Date.now(),lastUpdate:Date.now()}}(0,a._subscribeToVisiblityChanged)(e=>{"background"===e&&Object.values(l).forEach(e=>h(e))}),t.SessionID={get:e=>t.StatsigSession.get(e).data.sessionID},t.StatsigSession={get:(e,t=!0)=>{null==l[e]&&(l[e]=function(e){const t=d(e),n=function(e){const t=(0,i._getObjectFromStorage)(e);return t}(t);if(n&&n.sessionID&&n.startTime&&n.lastUpdate)return{data:n,sdkKey:e,lastPersistedAt:0,storageKey:t};return{data:p(),sdkKey:e,lastPersistedAt:0,storageKey:t}}(e));return function(e,t){const n=Date.now(),r=f(e);r?h(e):t&&(e.data.lastUpdate=n,function(e){const t=Date.now();t-e.lastPersistedAt>15e3&&h(e)}(e));return e}(l[e],t)},overrideInitialSessionID:(e,t)=>{const n=Date.now(),r={data:{sessionID:e,startTime:n,lastUpdate:n},sdkKey:t,lastPersistedAt:Date.now(),storageKey:d(t)};h(r),l[t]=r},checkForIdleSession:e=>{const t=l[e];if(!t)return;f(t)&&h(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieName=t.StableID=void 0;const r=n(154),o=n(40),i=n(60),s=n(62),a=n(204),u={},c={},l={};function f(e){return`statsig.stable_id.${(0,r._getStorageKey)(e)}`}function d(e,t){const n=f(t);try{(0,s._setObjectInStorage)(n,e)}catch(e){o.Log.warn("Failed to save StableID to storage")}}function h(e,t){if(!c[t]||null==(0,i._getDocumentSafe)())return;const n=new Date;n.setFullYear(n.getFullYear()+1),document.cookie=`${p(t)}=${encodeURIComponent(e)}; expires=${n.toUTCString()}; path=/`}function p(e){return`statsig.stable_id.${(0,r._getStorageKey)(e)}`}t.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:e=>{if(l[e])return null;if(null!=u[e])return u[e];let t=null;return t=function(e){if(!c[e]||null==(0,i._getDocumentSafe)())return null;const t=document.cookie.split(";");for(const n of t){const[t,r]=n.trim().split("=");if(t===p(e))return decodeURIComponent(r)}return null}(e),null!=t?(u[e]=t,d(t,e),t):(t=function(e){const t=f(e);return(0,s._getObjectFromStorage)(t)}(e),null==t&&(t=(0,a.getUUID)()),d(t,e),h(t,e),u[e]=t,t)},setOverride:(e,t)=>{u[t]=e,d(e,t),h(e,t)}
14801,_setCookiesEnabled:(e,t)=>{c[e]=t},_setDisabled:(e,t)=>{l[e]=t}},t.getCookieName=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingEnabledOption=t.LogEventCompressionMode=void 0,t.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},t.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(629);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}});var o=n(287);Object.defineProperty(t,"TouchScrollable",{enumerable:!0,get:function(){return o.TouchScrollable}})},,,,,,,,,,,,,function(e,t,n){var r=n(59).Symbol;e.exports=r},function(e,t,n){var r=n(114),o=n(115);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(83)(Object,"create");e.exports=r},function(e,t,n){var r=n(459),o=n(460),i=n(461),s=n(462),a=n(463);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},function(e,t,n){var r=n(152);e.exports=function(e,t){for(var n=e.length;n--;
14801)if(r(e[n][0],t))return n;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(465);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;const r=n(85);function o(e,t,n){var o;if(n)return n(e,t);const i=t&&t.customIDs?t.customIDs:{},s=[`uid:${null!==(o=null==t?void 0:t.userID)&&void 0!==o?o:""}`,`cids:${Object.keys(i).sort((e,t)=>e.localeCompare(t)).map(e=>`${e}-${i[e]}`).join(",")}`,`k:${e}`];return(0,r._DJB2)(s.join("|"))}t._getUserStorageKey=o,t._getStorageKey=function(e,t,n){return t?o(e,t,n):(0,r._DJB2)(`k:${e}`)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;const r={};let o;t.SDKType={_get:e=>{var t;return(null!==(t=r[e])&&void 0!==t?t:"js-mono")+(null!=o?o:"")},_setClientType(e,t){r[e]=t},_setBindingType(e){o&&"-react"!==o||(o="-"+e)}}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipe=t.listenerOptions=void 0,t.preventTouchMove=function(e){return e.preventDefault(),!1},t.allowTouchMove=function(e){var t=e.currentTarget;if(t.scrollHeight>t.clientHeight)return e.stopPropagation(),!0;return e.preventDefault(),!1},t.preventInertiaScroll=function(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)},t.isTouchDevice=function(){return!!r.canUseDOM&&("ontouchstart"in window||navigator.maxTouchPoints)},t.camelToKebab=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},t.parse=function(e){return isNaN(e)?e:e+"px"},t.getPadding=function(){if(!r.canUseDOM)return 0;var e=parseInt(window.getComputedStyle(document.body).paddingRight,10),t=window.innerWidth-document.documentElement.clientWidth;return e+t},t.getWindowHeight=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(r.canUseDOM)return window.innerHeight*e},t.getDocumentHeight=function(){if(r.canUseDOM)return document.body.clientHeight},t.makeStyleTag=function(){if(!r.canUseDOM)return;var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e},t.injectStyles=function(e,t){if(!r.canUseDOM)return;e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))},t.insertStyleTag=function(e){if(!r.canUseDOM)return;(document.head||document.getElementsByTagName("head")[0]).appendChild(e)};var r=n(157);t.listenerOptions={capture:!1,passive:!1};var o=function(e,t){return function(){return t(e.apply(void 0,arguments))}};t.pipe=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(o)}},,,function(e,t,n){var r=n(19),o=n(200),i=n(516),s=n(517);function a(t){var n="function"==typeof Map?new Map:void 0;return e.exports=a=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return s(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";var r=n(50);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},function(e,t,n){var r=n(249),o=n(251),i=n(191),s=n(74),a=n(192),u=n(194),c=n(250),l=n(195),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;
14801if(a(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0);function o(e,t){var n=Object(r.useState)(function(){return{inputs:t,result:e()}})[0],o=Object(r.useRef)(!0),i=Object(r.useRef)(n),s=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return Object(r.useEffect)(function(){o.current=!1,i.current=s},[s]),s.result}function i(e,t){return o(function(){return e},t)}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o="~";function i(){}function s(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,n,r,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var a=new s(n,r||e,i),u=o?o+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],a]:e._events[u].push(a):(e._events[u]=a,e._eventsCount++),e}function u(e,t){0===--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=o?o+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,i=n.length,s=new Array(i);r<i;r++)s[r]=n[r].fn;return s},c.prototype.listenerCount=function(e){var t=o?o+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,r,i,s){var a=o?o+e:e;if(!this._events[a])return!1;var u,c,l=this._events[a],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,n),!0;case 4:return l.fn.call(l.context,t,n,r),!0;case 5:return l.fn.call(l.context,t,n,r,i),!0;case 6:return l.fn.call(l.context,t,n,r,i,s),!0}for(c=1,u=new Array(f-1);c<f;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var d,h=l.length;for(c=0;c<h;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,n);break;case 4:l[c].fn.call(l[c].context,t,n,r);break;default:if(!u)for(d=1,u=new Array(f-1);d<f;d++)u[d-1]=arguments[d];l[c].fn.apply(l[c].context,u)}}return!0},c.prototype.on=function(e,t,n){return a(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return a(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,r){var i=o?o+e:e;if(!this._events[i])return this;if(!t)return u(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||r&&!s.once||n&&s.context!==n||u(this,i);else{for(var a=0,c=[],l=s.length;a<l;a++)(s[a].fn!==t||r&&!s[a].once||n&&s[a].context!==n)&&c.push(s[a]);c.length?this._events[i]=1===c.length?c[0]:c:u(this,i)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=o?o+e:e,this._events[t]&&u(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=o,c.EventEmitter=c,e.exports=c},,function(e,t,n){"use strict";n.d(t,"a",function(){return M}),n.d(t,"b",function(){return f});var r=n(32),o=n(169),i=".".charCodeAt(0),s=/\\(\\)?/g,a=RegExp("[^.[\\]]+|\\[(?:([^\"'][^[]*)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))","g"),u={},c=/[.[\]]+/,l=function(e){if(null==e||!e.length)return[];if("string"!=typeof e)throw new Error("toPath() expects a string");var t,n;return null==u[e]&&(e.endsWith("[]")?u[e]=e.split(c).filter(Boolean):u[e]=(n=[],(t=e).charCodeAt(0)===i&&n.push(""),t.replace(a,function(e,t,r,o){var i=e;r?i=o.replace(s,"$1"):t&&(i=t.trim()),n.push(i)}),n)),u[e]},f=function(e,t){for(var n=l(t),r=e,o=0;o<n.length;o++){var i=n[o];if(null==r||"object"!=typeof r||Array.isArray(r)&&isNaN(i))return;r=r[i]}return r};function d(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var h=function e(t,n,i,s,a){if(n>=i.length)return s;var u=i[n];if(isNaN(u)){var c;if(null==t){var l,f=e(void 0,n+1,i,s,a);return void 0===f?void 0:((l={})[u]=f,l)}if(Array.isArray(t))throw new Error("Cannot set a non-numeric property on an array");var h=e(t[u],n+1,i,s,a);if(void 0===h){var p=Object.keys(t).length;if(void 0===t[u]&&0===p)return;return void 0!==t[u]&&p<=1?isNaN(i[n-1])||a?void 0:{}:(t[u],Object(o.a)(t,[u].map(d)))}return Object(r.a)({},t,((c={})[u]=h,c))}var v=Number(u);
14801if(null==t){var g=e(void 0,n+1,i,s,a);if(void 0===g)return;var m=[];return m[v]=g,m}if(!Array.isArray(t))throw new Error("Cannot set a numeric property on an object");var y=e(t[v],n+1,i,s,a),_=[].concat(t);if(a&&void 0===y){if(_.splice(v,1),0===_.length)return}else _[v]=y;return _},p=function(e,t,n,r){if(void 0===r&&(r=!1),null==e)throw new Error("Cannot call setIn() with "+String(e)+" state");if(null==t)throw new Error("Cannot call setIn() with "+String(t)+" key");return h(e,0,l(t),n,r)},v="FINAL_FORM/form-error",g="FINAL_FORM/array-error";function m(e,t){var n=e.errors,r=e.initialValues,o=e.lastSubmittedValues,i=e.submitErrors,s=e.submitFailed,a=e.submitSucceeded,u=e.submitting,c=e.values,l=t.active,d=t.blur,h=t.change,p=t.data,v=t.focus,m=t.modified,y=t.modifiedSinceLastSubmit,_=t.name,b=t.touched,E=t.validating,S=t.visited,w=f(c,_),O=f(n,_);O&&O[g]&&(O=O[g]);var x=i&&f(i,_),T=r&&f(r,_),j=t.isEqual(T,w),k=!O&&!x;return{active:l,blur:d,change:h,data:p,dirty:!j,dirtySinceLastSubmit:!(!o||t.isEqual(f(o,_),w)),error:O,focus:v,initial:T,invalid:!k,length:Array.isArray(w)?w.length:void 0,modified:m,modifiedSinceLastSubmit:y,name:_,pristine:j,submitError:x,submitFailed:s,submitSucceeded:a,submitting:u,touched:b,valid:k,value:w,visited:S,validating:E}}var y=["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","modifiedSinceLastSubmit","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","value","visited","validating"],_=function(e,t){if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++){var s=n[i];if(!o(s)||e[s]!==t[s])return!1}return!0};function b(e,t,n,r,o,i){var s=!1;return o.forEach(function(o){r[o]&&(e[o]=t[o],n&&(~i.indexOf(o)?_(t[o],n[o]):t[o]===n[o])||(s=!0))}),s}var E=["data"],S=function(e,t,n,r){var o={blur:e.blur,change:e.change,focus:e.focus,name:e.name};return b(o,e,t,n,y,E)||!t||r?o:void 0},w=["active","dirty","dirtyFields","dirtyFieldsSinceLastSubmit","dirtySinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","modifiedSinceLastSubmit","pristine","submitting","submitError","submitErrors","submitFailed","submitSucceeded","touched","valid","validating","values","visited"],O=["touched","visited"];function x(e,t,n,r){var o={};return b(o,e,t,n,w,O)||!t||r?o:void 0}var T=function(e){var t,n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.length===t.length&&!o.some(function(e,n){return!_(t[n],e)})||(t=o,n=e.apply(void 0,o)),n}},j=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then},k=function(e,t){return e===t},P=function e(t){return Object.keys(t).some(function(n){var r=t[n];return!r||"object"!=typeof r||r instanceof Error?void 0!==r:e(r)})};function C(e,t,n,r,o,i){var s=o(n,r,t,i);return!!s&&(e(s),!0)}function I(e,t,n,r,o){var i=e.entries;
14801Object.keys(i).forEach(function(e){var s=i[Number(e)];if(s){var a=s.subscription,u=s.subscriber,c=s.notified;C(u,a,t,n,r,o||!c)&&(s.notified=!0)}})}function M(e){if(!e)throw new Error("No config specified");var t=e.debug,n=e.destroyOnUnregister,o=e.keepDirtyOnReinitialize,i=e.initialValues,s=e.mutators,a=e.onSubmit,u=e.validate,c=e.validateOnBlur;if(!a)throw new Error("No onSubmit function specified");var l={subscribers:{index:0,entries:{}},fieldSubscribers:{},fields:{},formState:{asyncErrors:{},dirtySinceLastSubmit:!1,modifiedSinceLastSubmit:!1,errors:{},initialValues:i&&Object(r.a)({},i),invalid:!1,pristine:!0,submitting:!1,submitFailed:!1,submitSucceeded:!1,resetWhileSubmitting:!1,valid:!0,validating:0,values:i?Object(r.a)({},i):{}},lastFormState:void 0},d=0,h=!1,y=!1,b=!1,E=0,w={},O=function(e,t,n){var r=n(f(e.formState.values,t));e.formState.values=p(e.formState.values,t,r)||{}},M=function(e,t,n){if(e.fields[t]){var o,i;e.fields=Object(r.a)({},e.fields,((o={})[n]=Object(r.a)({},e.fields[t],{name:n,blur:function(){return V.blur(n)},change:function(e){return V.change(n,e)},focus:function(){return V.focus(n)},lastFieldState:void 0}),o)),delete e.fields[t],e.fieldSubscribers=Object(r.a)({},e.fieldSubscribers,((i={})[n]=e.fieldSubscribers[t],i)),delete e.fieldSubscribers[t];var s=f(e.formState.values,t);e.formState.values=p(e.formState.values,t,void 0)||{},e.formState.values=p(e.formState.values,n,s),delete e.lastFormState}},A=function(e){return function(){if(s){for(var t={formState:l.formState,fields:l.fields,fieldSubscribers:l.fieldSubscribers,lastFormState:l.lastFormState},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=s[e](r,t,{changeValue:O,getIn:f,renameField:M,resetFieldState:V.resetFieldState,setIn:p,shallowEqual:_});return l.formState=t.formState,l.fields=t.fields,l.fieldSubscribers=t.fieldSubscribers,l.lastFormState=t.lastFormState,N(void 0,function(){F(),G()}),i}}},D=s?Object.keys(s).reduce(function(e,t){return e[t]=A(t),e},{}):{},L=function(e){return Object.keys(e.validators).reduce(function(t,n){var r=e.validators[Number(n)]();return r&&t.push(r),t},[])},N=function(e,t){if(h)return y=!0,void t();var n=l.fields,o=l.formState,i=Object(r.a)({},n),s=Object.keys(i);if(u||s.some(function(e){return L(i[e]).length})){var a=!1;if(e){var c=i[e];if(c){var d=c.validateFields;d&&(a=!0,s=d.length?d.concat(e):[e])}}var b,S={},O={},x={},T=[].concat(function(e){var t=[];if(u){var n=u(Object(r.a)({},l.formState.values));j(n)?t.push(n.then(function(t){return e(t,!0)})):e(n,!1)}return t}(function(e,t){t?O=e||{}:S=e||{}}),s.reduce(function(e,t){return e.concat(function(e,t){var n,r=[],o=L(e);return o.length&&(o.forEach(function(o){var i=o(f(l.formState.values,e.name),l.formState.values,0===o.length||3===o.length?m(l.formState,l.fields[e.name]):void 0);if(i&&j(i)){e.validating=!0;var s=i.then(function(n){l.fields[e.name]&&(l.fields[e.name].validating=!1,t(n))});r.push(s)}else n||(n=i)}),t(n)),r}(n[t],function(e){x[t]=e}))},[])),k=T.length>0,P=++E,C=Promise.all(T).then((b=P,function(e){return delete w[b],e}));k&&(w[P]=C);var I=function(e){var t=Object(r.a)({},a?o.errors:{},S,e?O:o.asyncErrors),c=function(e){s.forEach(function(r){if(n[r]){var o=f(S,r),s=f(t,r),c=L(i[r]).length,l=x[r];e(r,c&&l||u&&o||(o||a?void 0:s))}})};c(function(e,n){t=p(t,e,n)||{}}),c(function(e,n){if(n&&n[g]){var r=f(t,e),o=[].concat(r);o[g]=n[g],t=p(t,e,o)}}),_(o.errors,t)||(o.errors=t),e&&(o.asyncErrors=O),o.error=S[v]};if(k&&(l.formState.validating++,t()),I(!1),t(),k){var M=function(){l.formState.validating--,t(),0===l.formState.validating&&l.lastFormState.validating&&G()};C.then(function(){E>P||I(!0)}).then(M,M)}}else t()},F=function(e){if(!d){var t=l.fields,n=l.fieldSubscribers,o=l.formState,i=Object(r.a)({},t),s=function(e){var t=i[e],r=m(o,t),s=t.lastFieldState;t.lastFieldState=r;var a=n[e];a&&I(a,r,s,S,void 0===s)};
14801e?s(e):Object.keys(i).forEach(s)}},R=function(){Object.keys(l.fields).forEach(function(e){l.fields[e].touched=!0})},B=function(){var e=l.fields,t=l.formState,n=l.lastFormState,o=Object(r.a)({},e),i=Object.keys(o),s=!1,a=i.reduce(function(e,n){return!o[n].isEqual(f(t.values,n),f(t.initialValues||{},n))&&(s=!0,e[n]=!0),e},{}),u=i.reduce(function(e,n){var r=t.lastSubmittedValues||{};return o[n].isEqual(f(t.values,n),f(r,n))||(e[n]=!0),e},{});t.pristine=!s,t.dirtySinceLastSubmit=!(!t.lastSubmittedValues||!Object.values(u).some(function(e){return e})),t.modifiedSinceLastSubmit=!(!t.lastSubmittedValues||!Object.keys(o).some(function(e){return o[e].modifiedSinceLastSubmit})),t.valid=!(t.error||t.submitError||P(t.errors)||t.submitErrors&&P(t.submitErrors));var c=function(e){var t=e.active,n=e.dirtySinceLastSubmit,r=e.modifiedSinceLastSubmit,o=e.error,i=e.errors,s=e.initialValues,a=e.pristine,u=e.submitting,c=e.submitFailed,l=e.submitSucceeded,f=e.submitError,d=e.submitErrors,h=e.valid,p=e.validating,v=e.values;return{active:t,dirty:!a,dirtySinceLastSubmit:n,modifiedSinceLastSubmit:r,error:o,errors:i,hasSubmitErrors:!!(f||d&&P(d)),hasValidationErrors:!(!o&&!P(i)),invalid:!h,initialValues:s,pristine:a,submitting:u,submitFailed:c,submitSucceeded:l,submitError:f,submitErrors:d,valid:h,validating:p>0,values:v}}(t),d=i.reduce(function(e,t){return e.modified[t]=o[t].modified,e.touched[t]=o[t].touched,e.visited[t]=o[t].visited,e},{modified:{},touched:{},visited:{}}),h=d.modified,p=d.touched,v=d.visited;return c.dirtyFields=n&&_(n.dirtyFields,a)?n.dirtyFields:a,c.dirtyFieldsSinceLastSubmit=n&&_(n.dirtyFieldsSinceLastSubmit,u)?n.dirtyFieldsSinceLastSubmit:u,c.modified=n&&_(n.modified,h)?n.modified:h,c.touched=n&&_(n.touched,p)?n.touched:p,c.visited=n&&_(n.visited,v)?n.visited:v,n&&_(n,c)?n:c},U=!1,H=!1,G=function e(){if(U)H=!0;else{if(U=!0,t&&t(B(),Object.keys(l.fields).reduce(function(e,t){return e[t]=l.fields[t],e},{})),!(d||h&&b)){var n=l.lastFormState,r=B();r!==n&&(l.lastFormState=r,I(l.subscribers,r,n,x))}U=!1,H&&(H=!1,e())}},$=function(){return Object.keys(l.fields).forEach(function(e){return l.fields[e].modifiedSinceLastSubmit=!1})};N(void 0,function(){G()});var V={batch:function(e){d++,e(),d--,F(),G()},blur:function(e){var t=l.fields,n=l.formState,o=t[e];o&&(delete n.active,t[e]=Object(r.a)({},o,{active:!1,touched:!0}),c?N(e,function(){F(),G()}):(F(),G()))},change:function(e,t){var n=l.fields,o=l.formState;if(f(o.values,e)!==t){O(l,e,function(){return t});var i=n[e];i&&(n[e]=Object(r.a)({},i,{modified:!0,modifiedSinceLastSubmit:!!o.lastSubmittedValues})),c?(F(),G()):N(e,function(){F(),G()})}},get destroyOnUnregister(){return!!n},set destroyOnUnregister(e){n=e},focus:function(e){var t=l.fields[e];t&&!t.active&&(l.formState.active=e,t.active=!0,t.visited=!0,F(),G())},mutators:D,getFieldState:function(e){var t=l.fields[e];return t&&t.lastFieldState},getRegisteredFields:function(){return Object.keys(l.fields)},getState:function(){return B()},initialize:function(e){var t=l.fields,n=l.formState,i=Object(r.a)({},t),s="function"==typeof e?e(n.values):e;o||(n.values=s);var a=o?Object.keys(i).reduce(function(e,t){return i[t].isEqual(f(n.values,t),f(n.initialValues||{},t))||(e[t]=f(n.values,t)),e},{}):{};n.initialValues=s,n.values=s,Object.keys(a).forEach(function(e){n.values=p(n.values,e,a[e])||{}}),N(void 0,function(){F(),G()})},isValidationPaused:function(){return h},pauseValidation:function(e){void 0===e&&(e=!0),h=!0,b=e},registerField:function(e,t,r,o){void 0===r&&(r={}),l.fieldSubscribers[e]||(l.fieldSubscribers[e]={index:0,entries:{}});var i=l.fieldSubscribers[e].index++;l.fieldSubscribers[e].entries[i]={subscriber:T(t),subscription:r,notified:!1};var s=l.fields[e]||{active:!1,afterSubmit:o&&o.afterSubmit,beforeSubmit:o&&o.beforeSubmit,data:o&&o.data||{},isEqual:o&&o.isEqual||k,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,name:e,touched:!1,valid:!0,validateFields:o&&o.validateFields,validators:{},validating:!1,visited:!1};s.blur=s.blur||function(){return V.blur(e)},s.change=s.change||function(t){return V.change(e,t)},s.focus=s.focus||function(){return V.focus(e)},l.fields[e]=s;var a=!1,u=o&&o.silent,c=function(){u&&l.fields[e]?F(e):(G(),F())};if(o){a=!(!o.getValidator||!o.getValidator()),o.getValidator&&(l.fields[e].validators[i]=o.getValidator);var d=void 0===f(l.formState.values,e);void 0===o.initialValue||!d&&f(l.formState.values,e)!==f(l.formState.initialValues,e)||(l.formState.initialValues=p(l.formState.initialValues||{},e,o.initialValue),l.formState.values=p(l.formState.values,e,o.initialValue),N(void 0,c)),void 0!==o.defaultValue&&void 0===o.initialValue&&void 0===f(l.formState.initialValues,e)&&d&&(l.formState.values=p(l.formState.values,e,o.defaultValue))}return a?N(void 0,c):c(),function(){var t=!1;l.fields[e]&&(t=!(!l.fields[e].validators[i]||!l.fields[e].validators[i]()),delete l.fields[e].validators[i]);var r=!!l.fieldSubscribers[e];r&&delete l.fieldSubscribers[e].entries[i];
14801var o=r&&!Object.keys(l.fieldSubscribers[e].entries).length;o&&(delete l.fieldSubscribers[e],delete l.fields[e],t&&(l.formState.errors=p(l.formState.errors,e,void 0)||{}),n&&(l.formState.values=p(l.formState.values,e,void 0,!0)||{})),u||(t?N(void 0,function(){G(),F()}):o&&G())}},reset:function(e){void 0===e&&(e=l.formState.initialValues),l.formState.submitting&&(l.formState.resetWhileSubmitting=!0),l.formState.submitFailed=!1,l.formState.submitSucceeded=!1,delete l.formState.submitError,delete l.formState.submitErrors,delete l.formState.lastSubmittedValues,V.initialize(e||{})},resetFieldState:function(e){l.fields[e]=Object(r.a)({},l.fields[e],{active:!1,lastFieldState:void 0,modified:!1,touched:!1,valid:!0,validating:!1,visited:!1}),N(void 0,function(){F(),G()})},restart:function(e){void 0===e&&(e=l.formState.initialValues),V.batch(function(){for(var t in l.fields)V.resetFieldState(t),l.fields[t]=Object(r.a)({},l.fields[t],{active:!1,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,touched:!1,valid:!0,validating:!1,visited:!1});V.reset(e)})},resumeValidation:function(){h=!1,b=!1,y&&N(void 0,function(){F(),G()}),y=!1},setConfig:function(e,r){switch(e){case"debug":t=r;break;case"destroyOnUnregister":n=r;break;case"initialValues":V.initialize(r);break;case"keepDirtyOnReinitialize":o=r;break;case"mutators":s=r,r?(Object.keys(D).forEach(function(e){e in r||delete D[e]}),Object.keys(r).forEach(function(e){D[e]=A(e)})):Object.keys(D).forEach(function(e){delete D[e]});break;case"onSubmit":a=r;break;case"validate":u=r,N(void 0,function(){F(),G()});break;case"validateOnBlur":c=r;break;default:throw new Error("Unrecognised option "+e)}},submit:function(){var e=l.formState;if(!e.submitting){if(delete e.submitErrors,delete e.submitError,e.lastSubmittedValues=Object(r.a)({},e.values),l.formState.error||P(l.formState.errors))return R(),$(),l.formState.submitFailed=!0,G(),void F();var t=Object.keys(w);if(t.length)Promise.all(t.map(function(e){return w[Number(e)]})).then(V.submit,console.error);else if(!Object.keys(l.fields).some(function(e){return l.fields[e].beforeSubmit&&!1===l.fields[e].beforeSubmit()})){var n,o=!1,i=function(t){e.submitting=!1;var r=e.resetWhileSubmitting;return r&&(e.resetWhileSubmitting=!1),t&&P(t)?(e.submitFailed=!0,e.submitSucceeded=!1,e.submitErrors=t,e.submitError=t[v],R()):(r||(e.submitFailed=!1,e.submitSucceeded=!0),Object.keys(l.fields).forEach(function(e){return l.fields[e].afterSubmit&&l.fields[e].afterSubmit()})),G(),F(),o=!0,n&&n(t),t};e.submitting=!0,e.submitFailed=!1,e.submitSucceeded=!1,e.lastSubmittedValues=Object(r.a)({},e.values),$();var s=a(e.values,V,i);if(!o){if(s&&j(s))return G(),F(),s.then(i,function(e){throw i(),e});if(a.length>=3)return G(),F(),new Promise(function(e){n=e});i(s)}}}},subscribe:function(e,t){if(!e)throw new Error("No callback given.");if(!t)throw new Error("No subscription provided. What values do you want to listen to?");var n=T(e),r=l.subscribers,o=r.index++;r.entries[o]={subscriber:n,subscription:t,notified:!1};var i=B();return C(n,t,i,i,x,!0),function(){delete r.entries[o]}}};return V}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,"a",function(){return r})},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(83)(n(59),"Map");e.exports=r},function(e,t,n){var r=n(437),o=n(115),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=u},function(e,t,n){var r=n(252),o=n(193);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){(function(e){var r=n(59),o=n(438),i=t&&!t.nodeType&&t,s=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===i?r.Buffer:void 0,u=(a?a.isBuffer:void 0)||o;e.exports=u}).call(this,n(256)(e))},function(e,t,n){var r=n(439),o=n(440),i=n(441),s=i&&i.isTypedArray,a=s?o(s):r;e.exports=a},function(e,t,n){var r=n(74),o=n(448),i=n(449),s=n(260);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},function(e,t,n){var r=n(452),o=n(464),i=n(466),s=n(467),a=n(468);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},function(e,t,n){var r=n(148);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(262);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.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)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}
14801,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;const r=new Map,o="start",i="end",s="statsig::diagnostics";function a(e,t,n,r){return Object.assign({key:n,action:t,step:r,timestamp:Date.now()},e)}function u(e,t){var n;const o=null!==(n=r.get(e))&&void 0!==n?n:[];o.push(t),r.set(e,o)}function c(e,t){if(t in e)return e[t]}t.Diagnostics={_getMarkers:e=>r.get(e),_markInitOverallStart:e=>{u(e,a({},o,"overall"))},_markInitOverallEnd:(e,t,n)=>{u(e,a({success:t,error:t?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:n},i,"overall"))},_markInitNetworkReqStart:(e,t)=>{u(e,a(t,o,"initialize","network_request"))},_markInitNetworkReqEnd:(e,t)=>{u(e,a(t,i,"initialize","network_request"))},_markInitProcessStart:e=>{u(e,a({},o,"initialize","process"))},_markInitProcessEnd:(e,t)=>{u(e,a(t,i,"initialize","process"))},_clearMarkers:e=>{r.delete(e)},_formatError(e){if(e&&"object"==typeof e)return{code:c(e,"code"),name:c(e,"name"),message:c(e,"message")}},_getDiagnosticsData(e,n,r,o){var i;return{success:!0===(null==e?void 0:e.ok),statusCode:null==e?void 0:e.status,sdkRegion:null===(i=null==e?void 0:e.headers)||void 0===i?void 0:i.get("x-statsig-region"),isDelta:!0===r.includes('"is_delta":true')||void 0,attempt:n,error:t.Diagnostics._formatError(o)}},_enqueueDiagnosticsEvent(e,n,r,o){const i=t.Diagnostics._getMarkers(r);if(null==i||i.length<=0)return-1;const a=i[i.length-1].timestamp-i[0].timestamp;t.Diagnostics._clearMarkers(r);const u=function(e,t){const n={eventName:s,user:e,value:null,metadata:t,time:Date.now()};return n}(e,{context:"initialize",markers:i.slice(),statsigOptions:o});return n.enqueue(u),a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventRetryConstants=void 0,t.EventRetryConstants={MAX_RETRY_ATTEMPTS:8,DEFAULT_BATCH_SIZE:100,MAX_PENDING_BATCHES:40,TICK_INTERVAL_MS:1e3,QUICK_FLUSH_WINDOW_MS:200,MAX_LOCAL_STORAGE:500,get MAX_QUEUED_EVENTS(){return this.DEFAULT_BATCH_SIZE*this.MAX_PENDING_BATCHES}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0,t._typeOf=function(e){return Array.isArray(e)?"array":typeof e},t._isTypeMatch=function(e,t){const n=e=>Array.isArray(e)?"array":null===e?"null":typeof e;return n(e)===n(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(4*Math.random())]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,n=>{let r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)})}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(585);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},,,,function(e,t,n){var r=n(716),o=n(717);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){var r=n(718);e.exports=function(e,t){return r(e,t)}},,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(250),o=n(425),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(427),o=n(190),i=n(434),s=n(435),a=n(436),u=n(114),c=n(255),l="[object Map]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",v=c(r),g=c(o),m=c(i),y=c(s),_=c(a),b=u;
14801(r&&b(new r(new ArrayBuffer(1)))!=p||o&&b(new o)!=l||i&&b(i.resolve())!=f||s&&b(new s)!=d||a&&b(new a)!=h)&&(b=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return p;case g:return l;case m:return f;case y:return d;case _:return h}return t}),e.exports=b},function(e,t,n){var r=n(114),o=n(75);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(254))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(147),o=n(443),i=n(74),s=n(148),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(259),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(445),o=n(75),i=n(148),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?NaN:+e}},function(e,t,n){var r=n(257);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(12).default,o=n(469);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(268);function o(){var t,n,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.toStringTag||"@@toStringTag";function u(e,o,i,s){var a=o&&o.prototype instanceof l?o:l,u=Object.create(a.prototype);return r(u,"_invoke",function(e,r,o){var i,s,a,u=0,l=o||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return i=e,s=0,a=t,d.n=n,c}};function h(e,r){for(s=e,a=r,n=0;!f&&u&&!o&&n<l.length;n++){var o,i=l[n],h=d.p,p=i[2];e>3?(o=p===r)&&(a=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=t):i[0]<=h&&((o=e<2&&h<i[1])?(s=0,d.v=r,d.n=i[1]):h<p&&(o=e<3||i[0]>r||r>p)&&(i[4]=e,i[5]=r,d.n=p,s=0))}if(o||e>1)return c;throw f=!0,r}return function(o,l,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,p),s=l,a=p;(n=s<2?t:a)||!f;){i||(s?s<3?(s>1&&(d.n=-1),h(s,a)):d.n=a:d.v=a);try{if(u=2,i){if(s||(o="next"),n=i[o]){if(!(n=n.call(i,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,s<2&&(s=0)}else 1===s&&(n=i.return)&&n.call(i),s<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=t}else if((n=(f=d.n<0)?a:e.call(r,d))!==c)break}catch(e){i=t,s=1,a=e}finally{u=1}}return{value:n,done:f}}}(e,i,s),!0),u}var c={};function l(){}function f(){}function d(){}n=Object.getPrototypeOf;
14801var h=[][s]?n(n([][s]())):(r(n={},s,function(){return this}),n),p=d.prototype=l.prototype=Object.create(h);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return f.prototype=d,r(p,"constructor",d),r(d,"constructor",f),f.displayName="GeneratorFunction",r(d,a,"GeneratorFunction"),r(p),r(p,a,"Generator"),r(p,s,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:u,m:v}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r,o,i){var s=Object.defineProperty;try{s({},"",{})}catch(t){s=0}e.exports=n=function(e,t,r,o){function i(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?s?s(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r,o,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(267),o=n(270);e.exports=function(e,t,n,i,s){return new o(r().w(e,t,n,i),s||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(266),o=n(268);e.exports=function e(t,n){function i(e,o,s,a){try{var u=t[e](o),c=u.value;return c instanceof r?n.resolve(c.v).then(function(e){i("next",e,s,a)},function(e){i("throw",e,s,a)}):n.resolve(c).then(function(e){u.value=e,s(u)},function(e){return i("throw",e,s,a)})}catch(e){a(e)}}var s;this.next||(o(e.prototype),o(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,t,r){function o(){return new n(function(t,n){i(e,r,t,n)})}return s=s?s.then(o,o):o()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;const o=n(485),i=n(154),s=n(202),a=n(487),u=n(85),c=n(40),l=n(116),f=n(493),d=n(60),h=n(275),p=n(121),v=n(62),g=n(276),m=n(118),y={};class _{static _safeFlushAndForget(e){var t;null===(t=y[e])||void 0===t||t.flush().catch(()=>{})}constructor(e,t,n,r,o){var i;this._sdkKey=e,this._emitter=t,this._network=n,this._options=r,this._errorBoundary=o,this._pendingEvents=null,this._batchQueue=null,this._flushCoordinator=null,this._lastExposureTimeMap={},this._nonExposedChecks={},this._isShuttingDown=!1,this._storageKey=null,this._pendingCompressionMode=null,this._loggingEnabled=null!==(i=null==r?void 0:r.loggingEnabled)&&void 0!==i?i:!0===(null==r?void 0:r.disableLogging)?p.LoggingEnabledOption.disabled:p.LoggingEnabledOption.browserOnly,(null==r?void 0:r.loggingEnabled)&&void 0!==r.disableLogging&&c.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging.");const s=null==r?void 0:r.networkConfig;this._logEventUrlConfig=new g.UrlConfiguration(l.Endpoint._rgstr,null==s?void 0:s.logEventUrl,null==s?void 0:s.api,null==s?void 0:s.logEventFallbackUrls)}setLogEventCompressionMode(e){this._flushCoordinator?this._flushCoordinator.setLogEventCompressionMode(e):this._pendingCompressionMode=e}setLoggingEnabled(e){const t="disabled"===this._loggingEnabled,n="disabled"!==e;if(this._loggingEnabled=e,this._flushCoordinator&&this._flushCoordinator.setLoggingEnabled(e),t&&n){const e=this._loadStoredEvents();c.Log.debug(`Loaded ${e.length} stored event(s) from storage`),e.length>0&&(e.forEach(e=>{this._initFlushCoordinator().addEvent(e)}),this.flush().catch(e=>{c.Log.warn("Failed to flush events after enabling logging:",e)}))}}enqueue(e){var t;if(!this._shouldLogEvent(e))return;const n=this._normalizeEvent(e);"disabled"!==this._loggingEnabled?(this._initFlushCoordinator().addEvent(n),null===(t=this._flushCoordinator)||void 0===t||t.checkQuickFlush()):this._storeEventToStorage(n)}incrementNonExposureCount(e){var t;const n=null!==(t=this._nonExposedChecks[e])&&void 0!==t?t:0;this._nonExposedChecks[e]=n+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var e;const t=(0,d._isServerEnv)();if(t&&"always"!==(null===(e=this._options)||void 0===e?void 0:e.loggingEnabled))return;const n=this._initFlushCoordinator();y[this._sdkKey]=this,t||(0,m._subscribeToVisiblityChanged)(e=>{"background"===e?_._safeFlushAndForget(this._sdkKey):"foreground"===e&&n.startScheduledFlushCycle()}),n.loadAndRetryShutdownFailedEvents().catch(e=>{c.Log.warn("Failed to load failed shutdown events:",e)}),n.startScheduledFlushCycle()}stop(){return r(this,void 0,void 0,function*(){this._isShuttingDown=!0,this._flushCoordinator&&(yield this._flushCoordinator.processShutdown()),delete y[this._sdkKey],this._flushCoordinator=null,this._pendingEvents=null,this._batchQueue=null})}flush(){return r(this,void 0,void 0,function*(){if(this._flushCoordinator)return this._flushCoordinator.processManualFlush()})}appendAndResetNonExposedChecks(){if(0===Object.keys(this._nonExposedChecks).length)return;const e=Object.assign({},this._nonExposedChecks);this._nonExposedChecks={};const t=this._normalizeEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:e}});this._flushCoordinator&&this._flushCoordinator.addEvent(t)}_shouldLogEvent(e){var t;if("always"!==(null===(t=this._options)||void 0===t?void 0:t.loggingEnabled)&&(0,d._isServerEnv)())return!1;if(!(0,h._isExposureEvent)(e))return!0;const n=e.user?e.user:{statsigEnvironment:void 0},r=(0,i._getUserStorageKey)(this._sdkKey,n),o=e.metadata?e.metadata:{},s=[e.eventName,r,o.gate,o.config,o.ruleID,o.allocatedExperiment,o.parameterName,String(o.isExplicitParameter),o.reason].join("|"),a=this._lastExposureTimeMap[s],u=Date.now();return!(a&&u-a<6e5)&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[s]=u,!0)}_getCurrentPageUrl(){var e;if(!1!==(null===(e=this._options)||void 0===e?void 0:e.includeCurrentPageUrlWithEvents))return(0,d._getCurrentPageUrlSafe)()}_getStorageKey(){return this._storageKey||(this._storageKey=`statsig.pending_events.${(0,u._DJB2)(this._sdkKey)}`),this._storageKey}_initFlushCoordinator(){var e,t;if(this._flushCoordinator)return this._flushCoordinator;const n=null!==(t=null===(e=this._options)||void 0===e?void 0:e.loggingBufferMaxSize)&&void 0!==t?t:s.EventRetryConstants.DEFAULT_BATCH_SIZE;return this._pendingEvents=new f.PendingEvents(n),this._batchQueue=new o.BatchQueue(n),this._flushCoordinator=new a.FlushCoordinator(this._batchQueue,this._pendingEvents,()=>this.appendAndResetNonExposedChecks(),this._sdkKey,this._network,this._emitter,this._logEventUrlConfig,this._options,this._loggingEnabled,this._errorBoundary),this._pendingCompressionMode&&(this._flushCoordinator.setLogEventCompressionMode(this._pe
vendor: 21,426 bytes, line 14801
14801ndingCompressionMode),this._pendingCompressionMode=null),this._flushCoordinator}_storeEventToStorage(e){const t=this._getStorageKey();try{let n=this._getEventsFromStorage(t);n.push(e),n.length>s.EventRetryConstants.MAX_LOCAL_STORAGE&&(n=n.slice(-s.EventRetryConstants.MAX_LOCAL_STORAGE)),(0,v._setObjectInStorage)(t,n)}catch(e){c.Log.warn("Unable to save events to storage")}}_getEventsFromStorage(e){try{const t=(0,v._getObjectFromStorage)(e);return Array.isArray(t)?t:[]}catch(e){return[]}}_loadStoredEvents(){const e=this._getStorageKey(),t=this._getEventsFromStorage(e);return t.length>0&&v.Storage.removeItem(e),t}_normalizeEvent(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);const t={},n=this._getCurrentPageUrl();return n&&(t.statsigMetadata={currentPage:n}),Object.assign(Object.assign({},e),t)}}t.EventLogger=_},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=t.RETRYABLE_CODES=void 0,n(84);const o=n(84),i=n(201),s=n(40),a=n(116),u=n(491),c=n(273),l=n(155),f=n(60),d=n(119),h=n(120),p=n(274),v=n(117),g=n(121),m=n(118);t.RETRYABLE_CODES=new Set([408,500,502,503,504,522,524,599]);t.NetworkCore=class{constructor(e,t){this._emitter=t,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,e&&(this._options=e),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new u.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(e))}setLogEventCompressionMode(e){this._options.logEventCompressionMode=e}setErrorBoundary(e){this._errorBoundary=e,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(e)}isBeaconSupported(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}getLastUsedInitUrlAndReset(){const e=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,e}beacon(e,t){if(!y(e))return t&&(t.path="beacon_invalid_sdk_key"),!1;const n=this._getInternalRequestArgs("POST",e),r=this._getPopulatedURL(n),o=navigator;try{const e=o.sendBeacon.bind(o)(r,n.body);return e||t&&(t.path="beacon_send_false"),e}catch(e){throw t&&(t.path="beacon_send_exception"),e}}post(e,t){return r(this,void 0,void 0,function*(){const n=this._getInternalRequestArgs("POST",e);return this._tryEncodeBody(n),yield this._tryToCompressBody(n),this._sendRequest(n,t)})}get(e){const t=this._getInternalRequestArgs("GET",e);return this._sendRequest(t)}_sendRequest(e,n){return r(this,void 0,void 0,function*(){var o,u,c,l;if(!y(e))return n&&(n.path="network_invalid_sdk_key"),null;if(this._netConfig.preventAllNetworkTraffic)return n&&(n.path="network_prevent_all_network_traffic"),null;const{method:d,body:h,retries:v,attempt:g}=e,_=e.urlConfig.endpoint;if(this._isRateLimited(_))return s.Log.warn(`Request to ${_} was blocked because you are making requests too frequently.`),n&&(n.path="network_rate_limited"),null;const S=null!=g?g:1;let w=!1;const O=this._getPopulatedURL(e),x=Date.now();let T=null;const j=(0,m._isUnloading)();try{const t={method:d,body:h,headers:Object.assign({},e.headers),priority:e.priority,keepalive:j};!function(e,t){if(e.urlConfig.endpoint!==a.Endpoint._initialize)return;i.Diagnostics._markInitNetworkReqStart(e.sdkKey,{attempt:t})}(e,S);const n=this._leakyBucket[_];n&&(n.lastRequestTime=Date.now(),this._leakyBucket[_]=n);const r=null!==(o=this._netConfig.networkOverrideFunc)&&void 0!==o?o:fetch;let s;if(T=yield Promise.race([r(O,t).finally(()=>clearTimeout(s)),new Promise((e,t)=>{s=setTimeout(()=>{w=!0,t(new Error(`Timeout of ${this._timeout}ms expired.`))},this._timeout)})]),!T.ok){const e=yield T.text().catch(()=>"No Text"),t=new Error(`NetworkError: ${O} ${e}`);throw t.name="NetworkError",t}const u=yield T.text();return E(e,T,S,u),this._fallbackResolver.tryBumpExpiryTime(e.sdkKey,e.urlConfig),{body:u,code:T.status}}catch(o){const i=function(e){if("string"==typeof e)return e;if(e instanceof Error)return`${e.name}: ${e.message}`;return"Unknown Error"}(o),a=(k=w,(null!=i?i:"").includes("Timeout")||k);E(e,T,S,"",o);if((yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(e.sdkKey,e.urlConfig,i,a))&&(e.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(e.sdkKey,e.urlConfig)),!v||S>v||!t.RETRYABLE_CODES.has(null!==(u=null==T?void 0:T.status)&&void 0!==u?u:500)){null===(c=this._emitter)||void 0===c||c.call(this,{name:"error",error:o,tag:p.ErrorTag.NetworkError,requestArgs:e});const t=`A networking error occurred during ${d} request to ${O}.`;if(s.Log.error(t,i,o),null===(l=this._errorBoundary)||void 0===l||l.attachErrorIfNoneExists(t),e.preserveFailedStatusCode&&null!=T)return{body:null,code:T.status};if(null==T&&n){n.path=a?"network_request_timed_out_no_response":"network_request_exception_no_response",i&&(n.errorMessage=i);try{const t=function(e,t,n,r){var o,i,s;const a=(0,f._getWindowSafe)(),u=null==a?void 0:a.document,c="undefined"!=typeof navigator?navigator:null,l=(0,m._isUnloading)(),d=c&&"boolean"==typeof c.onLine?String(c.onLine):"unknown",h=null!==(o=null==u?void 0:u.visibilityState)&&void 0!==o?o:"unknown",p=Object.keys(null!==(i=e.headers)&&void 0!==i?i:{}).length>0,v=function(e,t){if(!t)return!0;return!e.startsWith(`${t}/`)&&!e.startsWith(`${t}?`)&&e!==t}(t,null===(s=null==a?void 0:a.location)||void 0===s?void 0:s.origin),g=null!=e.urlConfig.customUrl,y=null!=e.fallbackUrl,_=b(r,[250,1e3,5e3,1e4]),E=b(function(e){if(null==e)return 0;if("string"==typeof e)return e.length;if(e instanceof Uint8Array)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob)return e.size;return-1}(e.body),[16384,65536,262144,1048576]);let S="unknown_no_response";n?S="timeout":"false"===d?S="browser_offline":l?S="page_unloading":"hidden"===h?S="page_hidden":v&&p?S="cross_origin_custom_headers_preflight_risk":g||y?S="custom_url_no_response":r<250&&(S="immediate_network_rejection");return{bucket:S,metadata:{elapsedMsBucket:_,bodySizeBucket:E,online:d,visibilityState:h,isUnloading:String(l),crossOrigin:String(v),hasCustomUrl:String(g)}}}(e,O,a,Date.now()-x);n.diagnosticBucket=t.bucket,n.diagnosticMetadata=t.metadata}catch(e){}}return null}return yield function(e){return r(this,void 0,void 0,function*(){yield new Promise(t=>setTimeout(t,Math.min(e*e*500,3e4)))})}(S),this._sendRequest(Object.assign(Object.assign({},e),{retries:v,attempt:S+1}),n)}var k})}_getLogEventCompressionMode(e){let t=null==e?void 0:e.logEventCompressionMode;return t||!0!==(null==e?void 0:e.disableCompression)||(t=g.LogEventCompressionMode.Disabled),t||(t=g.LogEventCompressionMode.Enabled),t}_isRateLimited(e){var t;const n=Date.now(),r=null!==(t=this._leakyBucket[e])&&void 0!==t?t:{count:0,lastRequestTime:n},o=n-r.lastRequestTime,i=Math.floor(.05*o);return r.count=Math.max(0,r.count-i),r.count>=50||(r.count+=1,r.lastRequestTime=n,this._leakyBucket[e]=r,!1)}_getPopulatedURL(e){var t;const n=null!==(t=e.fallbackUrl)&&void 0!==t?t:e.urlConfig.getUrl();e.urlConfig.endpoint!==a.Endpoint._initialize&&e.urlConfig.endpoint!==a.Endpoint._download_config_specs||(this._lastUsedInitUrl=n);const r=Object.assign({[a.NetworkParam.SdkKey]:e.sdkKey,[a.NetworkParam.SdkType]:l.SDKType._get(e.sdkKey),[a.NetworkParam.SdkVersion]:v.SDK_VERSION,[a.NetworkParam.Time]:String(Date.now()),[a.NetworkParam.SessionID]:d.SessionID.get(e.sdkKey)},e.params),o=Object.keys(r).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(r[e])}`).join("&");return`${n}${o?`?${o}`:""}`}_tryEncodeBody(e){var t;const n=(0,f._getWindowSafe)(),r=e.body;if(e.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof r&&null==(0,o._getStatsigGlobalFlag)("no-encode")&&(null==n?void 0:n.btoa))try{e.body=n.btoa(r).split("").reverse().join(""),e.params=Object.assign(Object.assign({},null!==(t=e.params)&&void 0!==t?t:{}),{[a.NetworkParam.StatsigEncoded]:"1"})}catch(t){s.Log.warn(`Request encoding failed for ${e.urlConfig.getUrl()}`,t)}}_tryToCompressBody(e){return r(this,void 0,void 0,function*(){var t;const n=e.body;if("string"==typeof n&&function(e,t){if(!e.isCompressable)return!1;if(null!=(0,o._getStatsigGlobalFlag)("no-compress")||"undefined"==typeof CompressionStream||"undefined"==typeof TextEncoder)return!1;const n=null!=e.urlConfig.customUrl||null!=e.urlConfig.fallbackUrls,r=!0===c.SDKFlags.get(e.sdkKey,"enable_log_event_compression");switch(t.logEventCompressionMode){case g.LogEventCompressionMode.Disabled:return!1;case g.LogEventCompressionMode.Enabled:return!(n&&!r);case g.LogEventCompressionMode.Forced:return!0;default:return!1}}(e,this._options))try{const r=(new TextEncoder).encode(n),o=new CompressionStream("gzip"),i=o.writable.getWriter();i.write(r).catch(s.Log.error),i.close().catch(s.Log.error);const u=o.readable.getReader(),c=[];let l;for(;!(l=yield u.read()).done;)c.push(l.value);const f=c.reduce((e,t)=>e+t.length,0),d=new Uint8Array(f);let h=0;for(const e of c)d.set(e,h),h+=e.length;e.body=d,e.params=Object.assign(Object.assign({},null!==(t=e.params)&&void 0!==t?t:{}),{[a.NetworkParam.IsGzipped]:"1"})}catch(t){s.Log.warn(`Request compression failed for ${e.urlConfig.getUrl()}`,t)}})}_getInternalRequestArgs(e,t){const n=this._fallbackResolver.getActiveFallbackUrl(t.sdkKey,t.urlConfig),r=Object.assign(Object.assign({},t),{method:e,fallbackUrl:n});return"data"in t&&_(r,t.data),r}};const y=e=>!!e.sdkKey||(s.Log.warn("Unable to make request without an SDK key"),!1),_=(e,t)=>{const{sdkKey:n,fallbackUrl:r}=e,o=h.StableID.get(n),i=d.SessionID.get(n),s=l.SDKType._get(n);e.body=JSON.stringify(Object.assign(Object.assign({},t),{statsigMetadata:Object.assign(Object.assign({},v.StatsigMetadataProvider.get()),{stableID:o,sessionID:i,sdkType:s,fallbackUrl:r})}))};function b(e,t){if(e<0)return"unknown";for(const n of t)if(e<n)return`<${n}`;return`>=${t[t.length-1]}`}function E(e,t,n,r,o){e.urlConfig.endpoint===a.Endpoint._initialize&&i.Diagnostics._markInitNetworkReqEnd(e.sdkKey,i.Diagnostics._getDiagnosticsData(t,n,r,o))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKFlags=void 0;const r={};t.SDKFlags={setFlags:(e,t)=>{r[e]=t},get:(e,t)=>{var n,o;return null!==(o=null===(n=r[e])||void 0===n?void 0:n[t])&&void 0!==o&&o}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTag=void 0,t.ErrorTag={NetworkError:"NetworkError"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._mapExposures=t._createGateExposure=t._isExposureEvent=void 0;const r="statsig::config_exposure",o="statsig::gate_exposure",i="statsig::layer_exposure",s=(e,t,n,r,o)=>(n.bootstrapMetadata&&(r.bootstrapMetadata=n.bootstrapMetadata),{eventName:e,user:t,value:null,metadata:u(n,r),secondaryExposures:o,time:Date.now()});t._isExposureEvent=({eventName:e})=>e===o||e===r||e===i;function a(e,t){return e.map(e=>"string"==typeof e?(null!=t?t:{})[e]:e).filter(e=>null!=e)}t._createGateExposure=(e,t,n)=>{var r,i,u;const c={gate:t.name,gateValue:String(t.value),ruleID:t.ruleID};return null!=(null===(r=t.__evaluation)||void 0===r?void 0:r.version)&&(c.configVersion=t.__evaluation.version),s(o,e,t.details,c,a(null!==(u=null===(i=t.__evaluation)||void 0===i?void 0:i.secondary_exposures)&&void 0!==u?u:[],n))},t._mapExposures=a;t._createConfigExposure=(e,t,n)=>{var o,i,u,c;const l={config:t.name,ruleID:t.ruleID};return null!=(null===(o=t.__evaluation)||void 0===o?void 0:o.version)&&(l.configVersion=t.__evaluation.version),null!=(null===(i=t.__evaluation)||void 0===i?void 0:i.passed)&&(l.rulePassed=String(t.__evaluation.passed)),s(r,e,t.details,l,a(null!==(c=null===(u=t.__evaluation)||void 0===u?void 0:u.secondary_exposures)&&void 0!==c?c:[],n))};t._createLayerParameterExposure=(e,t,n,r)=>{var o,u,c,l,f,d,h;const p=t.__evaluation,v=!0===(null===(o=null==p?void 0:p.explicit_parameters)||void 0===o?void 0:o.includes(n));let g="",m=null!==(u=null==p?void 0:p.undelegated_secondary_exposures)&&void 0!==u?u:[];v&&(g=null!==(c=p.allocated_experiment_name)&&void 0!==c?c:"",m=null!==(l=p.secondary_exposures)&&void 0!==l?l:[]);const y=null===(f=t.__evaluation)||void 0===f?void 0:f.parameter_rule_ids,_={config:t.name,parameterName:n,ruleID:null!==(d=null==y?void 0:y[n])&&void 0!==d?d:t.ruleID,allocatedExperiment:g,isExplicitParameter:String(v)};return null!=(null===(h=t.__evaluation)||void 0===h?void 0:h.version)&&(_.configVersion=t.__evaluation.version),s(i,e,t.details,_,a(m,r))};const u=(e,t)=>(t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlConfiguration=void 0;const r=n(85),o=n(116),i={[o.Endpoint._initialize]:"i",[o.Endpoint._rgstr]:"e",[o.Endpoint._download_config_specs]:"d"};t.UrlConfiguration=class{constructor(e,t,n,r){this.customUrl=null,this.fallbackUrls=null,this.endpoint=e,this.endpointDnsKey=i[e],t&&(this.customUrl=t),!t&&n&&(this.customUrl=n.endsWith("/")?`${n}${e}`:`${n}/${e}`),r&&(this.fallbackUrls=r);const s=o.NetworkDefault[e];this.defaultUrl=`${s}/${e}`}getUrl(){var e;return null!==(e=this.customUrl)&&void 0!==e?e:this.defaultUrl}getChecksum(){var e;const t=(null!==(e=this.fallbackUrls)&&void 0!==e?e:[]).sort().join(",");return(0,r._DJB2)(this.customUrl+t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getUnitIDFromUser=t._getFullUserHash=t._normalizeUser=void 0;const r=n(85),o=n(40),i=n(60);t._normalizeUser=function(e,t,n){const r=(0,i._cloneObject)("StatsigUser",e);return null==r?(o.Log.error("Failed to clone user"),{statsigEnvironment:void 0}):(null!=t&&null!=t.environment?r.statsigEnvironment=t.environment:null!=n&&(r.statsigEnvironment={tier:n}),r)},t._getFullUserHash=function(e){return e?(0,r._DJB2Object)(e):null},t._getUnitIDFromUser=function(e,t){var n,r,o;if("string"!=typeof t)return e.userID;const i=t.toLowerCase();return"userid"!==i?null!==(r=null===(n=e.customIDs)||void 0===n?void 0:n[t])&&void 0!==r?r:null===(o=e.customIDs)||void 0===o?void 0:o[i]:e.userID}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;const r=n(40);t._typedJsonParse=function(e,t,n){try{const n=JSON.parse(e);if(n&&"object"==typeof n&&t in n)return n}catch(e){}return r.Log.error(`Failed to parse ${n}`),null}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=t.EXCEPTION_ENDPOINT=void 0;const o=n(40),i=n(155),s=n(117);t.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const a="[Statsig] UnknownError";function u(e){return e instanceof Error?e:"string"==typeof e?new Error(e):new Error("An unknown error occurred.")}function c(e){if(!e)return{};const t={};return Object.keys(e).forEach(n=>{const r=n,o=e[r];switch(typeof o){case"number":case"bigint":case"boolean":t[String(r)]=o;break;case"string":o.length<50?t[String(r)]=o:t[String(r)]="set";break;case"object":"environment"===r?t.environment=o:"networkConfig"===r?t.networkConfig=o:t[String(r)]=null!=o?"set":"unset"}}),t}t.ErrorBoundary=class{constructor(e,t,n,r){this._sdkKey=e,this._options=t,this._emitter=n,this._lastSeenError=r,this._seen=new Set}wrap(e,t){try{const n=e;(function(e){const t=new Set;let n=Object.getPrototypeOf(e);for(;n&&n!==Object.prototype;)Object.getOwnPropertyNames(n).filter(e=>"function"==typeof(null==n?void 0:n[e])).forEach(e=>t.add(e)),n=Object.getPrototypeOf(n);return Array.from(t)})(n).forEach(r=>{const o=n[r];"$EB"in o||(n[r]=(...n)=>this._capture(t?`${t}:${r}`:r,()=>o.apply(e,n)),n[r].$EB=!0)})}catch(e){this._onError("eb:wrap",e)}}logError(e,t){this._onError(e,t)}logDroppedEvents(e,t,n){const r={eventCount:String(e),reason:t};n&&Object.keys(n).forEach(e=>{r[e]=String(n[e])}),this._onError("statsig::log_event_dropped_event_count",new Error(t),!0,r)}logEventRequestFailure(e,t,n,r,o,i,s,a,u){const c={eventCount:String(e),flushType:n,statusCode:String(r),reason:t,retries:String(o)};i&&(c.failurePath=i),"string"==typeof s&&s.length>0&&(c.failureErrorMessage=s),"string"==typeof a&&a.length>0&&(c.failureDiagnosticBucket=a),u&&Object.keys(u).forEach(e=>{const t=u[e];t.length>0&&(c[`failureDiagnostic_${e}`]=t)}),this._onError("statsig::log_event_failed",new Error(t),!0,c)}getLastSeenErrorAndReset(){const e=this._lastSeenError;return this._lastSeenError=void 0,null!=e?e:null}attachErrorIfNoneExists(e){this._lastSeenError||(this._lastSeenError=u(e))}_capture(e,t){try{const n=t();return n&&n instanceof Promise?n.catch(t=>this._onError(e,t)):n}catch(t){return this._onError(e,t),null}}_onError(e,n,l=!1,f){try{o.Log.warn(`Caught error in ${e}`,{error:n});(()=>r(this,void 0,void 0,function*(){var r,o,d,h,p,v,g;const m=n||Error(a),y=m instanceof Error,_=y?m.name:"No Name",b=u(m);if(this._lastSeenError=b,!l&&this._seen.has(_))return;if(this._seen.add(_),null===(o=null===(r=this._options)||void 0===r?void 0:r.networkConfig)||void 0===o?void 0:o.preventAllNetworkTraffic)return void(null===(d=this._emitter)||void 0===d||d.call(this,{name:"error",error:n,tag:e}));const E=i.SDKType._get(this._sdkKey),S=s.StatsigMetadataProvider.get(),w=y?m.stack:function(e){try{return JSON.stringify(e)}catch(e){return a}}(m),O=Object.assign(Object.assign({tag:e,exception:_,info:w,statsigOptions:c(this._options)},Object.assign(Object.assign({},S),{sdkType:E})),null!=f?f:{}),x=null===(h=this._options)||void 0===h?void 0:h.networkConfig,T=null!==(p=null==x?void 0:x.networkOverrideFunc)&&void 0!==p?p:fetch;yield T(null!==(v=null==x?void 0:x.sdkExceptionUrl)&&void 0!==v?v:t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(E),"STATSIG-SDK-VERSION":String(S.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(O)}),null===(g=this._emitter)||void 0===g||g.call(this,{name:"error",error:n,tag:e})}))().then(()=>{}).catch(()=>{})}catch(e){}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMemoKey=t.MemoPrefix=void 0,t.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};const r=new Set([]),o=new Set(["userPersistedValues"]);t.createMemoKey=function(e,t,n){let i=`${e}|${t}`;if(!n)return i;for(const e of Object.keys(n)){if(o.has(e))return;r.has(e)?i+=`|${e}=true`:i+=`|${e}=${n[e]}`}return i}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const o=n(26),i=n(513);class s extends o.NetworkCore{constructor(e,t){super(e,t);const n=null==e?void 0:e.networkConfig;this._option=e,this._initializeUrlConfig=new o.UrlConfiguration(o.Endpoint._initialize,null==n?void 0:n.initializeUrl,null==n?void 0:n.api,null==n?void 0:n.initializeFallbackUrls)}fetchEvaluations(e,t,n,i,s){return r(this,void 0,void 0,function*(){var r,a,u,c,l,f;const d=t?(0,o._typedJsonParse)(t,"has_updates","InitializeResponse"):null;let h={user:i,hash:null!==(u=null===(a=null===(r=this._option)||void 0===r?void 0:r.networkConfig)||void 0===a?void 0:a.initializeHashAlgorithm)&&void 0!==u?u:"djb2",deltasResponseRequested:!1,full_checksum:null};if(null==d?void 0:d.has_updates){const e=(null==d?void 0:d.hash_used)!==(null!==(f=null===(l=null===(c=this._option)||void 0===c?void 0:c.networkConfig)||void 0===l?void 0:l.initializeHashAlgorithm)&&void 0!==f?f:"djb2");h=Object.assign(Object.assign({},h),{sinceTime:s&&!e?d.time:0,previousDerivedFields:"derived_fields"in d&&s?d.derived_fields:{},deltasResponseRequested:!0,full_checksum:d.full_checksum,partialUserMatchSinceTime:e?0:d.time})}return this._fetchEvaluations(e,d,h,n)})}_fetchEvaluations(e,t,n,o){return r(this,void 0,void 0,function*(){var r,s;const a=yield this.post({sdkKey:e,urlConfig:this._initializeUrlConfig,data:n,retries:2,isStatsigEncodable:!0,priority:o});if(204===(null==a?void 0:a.code))return'{"has_updates": false}';if(200!==(null==a?void 0:a.code))return null!==(r=null==a?void 0:a.body)&&void 0!==r?r:null;if(!0!==(null==t?void 0:t.has_updates)||!0!==(null===(s=a.body)||void 0===s?void 0:s.includes('"is_delta":true'))||!0!==n.deltasResponseRequested)return a.body;const u=(0,i._resolveDeltasResponse)(t,a.body);return"string"==typeof u?u:this._fetchEvaluations(e,t,Object.assign(Object.assign(Object.assign({},n),u),{deltasResponseRequested:!1}),o)})}}t.default=s},,,,,,function(e,t,n){"use strict";
vendor: 1,369 bytes, line 14801
14801Object.defineProperty(t,"__esModule",{value:!0}),t.TouchScrollable=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),s=n(157),a=n(158);function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.TouchScrollable=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getScrollableArea=function(e){r.scrollableArea=e},u(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
14801(t,e),o(t,[{key:"componentDidMount",value:function(){s.canUseEventListeners&&(this.scrollableArea.addEventListener("touchstart",a.preventInertiaScroll,a.listenerOptions),this.scrollableArea.addEventListener("touchmove",a.allowTouchMove,a.listenerOptions))}},{key:"componentWillUnmount",value:function(){s.canUseEventListeners&&(this.scrollableArea.removeEventListener("touchstart",a.preventInertiaScroll,a.listenerOptions),this.scrollableArea.removeEventListener("touchmove",a.allowTouchMove,a.listenerOptions))}},{key:"render",value:function(){var e=this.props,t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return"function"==typeof t?t(this.getScrollableArea):(0,i.cloneElement)(t,r({ref:this.getScrollableArea},n))}}]),t}(i.PureComponent)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bind=void 0,t.bind=function(e,t){var n=t.type,r=t.listener,o=t.options;return e.addEventListener(n,r,o),function(){e.removeEventListener(n,r,o)}}},,,,,,,,,,function(e,t,n){var r=n(726),o=n(729),i=n(730);e.exports=function(e,t,n,s,a,u){var c=1&n,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var p=-1,v=!0,g=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<l;){var m=e[p],y=t[p];if(s)var _=c?s(y,m,p,t,e,u):s(m,y,p,e,t,u);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!o(t,function(e,t){if(!i(g,t)&&(m===e||a(m,e,n,s,u)))return g.push(t)})){v=!1;break}}else if(m!==y&&!a(m,y,n,s,u)){v=!1;break}}return u.delete(e),u.delete(t),v}},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=["interactive","complete"],o=function(e,t){return new Promise(function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var o=function(){return n(void(e&&setTimeout(e)))};-1!==r.indexOf(t.readyState)?o():t.addEventListener("DOMContentLoaded",o)})};o.resume=function(e){return function(t){return o(e).then(function(){return t})}},t.a=o},function(e,t,n){var r=n(442),o=n(257),i=n(444),s=n(260);e.exports=function(e,t,n){return e=s(e),n=null==n?0:r(i(n),0,e.length),t=o(t),e.slice(n,n+t.length)==t}},,,,,,,,,function(e,t,n){"use strict";var r=n(168),o=function(e){return!(!e||"function"!=typeof e.focus)},i=function(){return"undefined"==typeof document?[]:Array.prototype.slice.call(document.forms).reduce(function(e,t){return e.concat(Array.prototype.slice.call(t).filter(o))},[])},s=function(e,t){return e.find(function(e){return e.name&&Object(r.b)(t,e.name)})},a=function(){};t.a=function(e,t){return function(n){var r=function(n){e||(e=i),t||(t=s);var r=t(e(),n);r&&r.focus()},o=n.submit,u={},c=n.subscribe(function(e){u=e},{errors:!0,submitErrors:!0}),l=function(){var e=u,t=e.errors,n=e.submitErrors;t&&Object.keys(t).length?r(t):n&&Object.keys(n).length&&r(n)};return n.submit=function(){var e=o.call(n);return e&&"function"==typeof e.then?e.then(l,a):l(),e},function(){c(),n.submit=o}}}},,,,function(e,t,n){"use strict";e.exports=n(595)},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t){var n="undefined"!=typeof Element,r="function"==typeof Map,o="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function s(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var a,u,c,l;if(Array.isArray(e)){if((a=e.length)!=t.length)return!1;for(u=a;0!==u--;)if(!s(e[u],t[u]))return!1;return!0}if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(l=e.entries();!(u=l.next()).done;)if(!t.has(u.value[0]))return!1;for(l=e.entries();!(u=l.next()).done;)if(!s(u.value[1],t.get(u.value[0])))return!1;return!0}if(o&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(l=e.entries();!(u=l.next()).done;)if(!t.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((a=e.length)!=t.length)return!1;for(u=a;0!==u--;)if(e[u]!==t[u])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((a=(c=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(u=a;0!==u--;)if(!Object.prototype.hasOwnProperty.call(t,c[u]))return!1;if(n&&e instanceof Element)return!1;for(u=a;0!==u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!e.$$typeof)&&!s(e[c[u]],t[c[u]]))return!1;return!0}return e!=e&&t!=t}e.exports=function(e,t){try{return s(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},,,,function(e,t,n){"use strict";e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=void 0,o=void 0,i=void 0,s=[];return function(){var u=function(e){return"function"==typeof e?e():e}(t),c=(new Date).getTime(),l=!r||c-r>u;r=c;for(var f=arguments.length,d=Array(f),h=0;h<f;h++)d[h]=arguments[h];if(l&&n.leading)return n.accumulate?Promise.resolve(e.call(this,[d])).then(function(e){return e[0]}):Promise.resolve(e.call.apply(e,[this].concat(d)));if(o?clearTimeout(i):o=function(){var e={};return e.promise=new Promise(function(t,n){e.resolve=t,e.reject=n}),e}(),s.push(d),i=setTimeout(a.bind(this),u),n.accumulate){var p=s.length-1;return o.promise.then(function(e){return e[p]})}return o.promise};function a(){var t=o;clearTimeout(i),Promise.resolve(n.accumulate?e.call(this,s):e.apply(this,s[s.length-1])).then(t.resolve,t.reject),s=[],o=null}}},function(e,t,n){var r=n(664)();e.exports=r},,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(264),o=n(263),i=n(199),s=n(265);e.exports=function(e){return r(e)||o(e)||i(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var o=r();o.withExtraArgument=r,t.a=o},function(e,t,n){var r=n(75),o=n(803),i=n(259),s=Math.max,a=Math.min;e.exports=function(e,t,n){var u,c,l,f,d,h,p=0,v=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=c;return u=c=void 0,p=t,f=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-p>=l}function b(){var e=o();if(_(e))return E(e);d=setTimeout(b,function(e){var n=t-(e-h);return g?a(n,l-(e-p)):n}(e))}function E(e){return d=void 0,m&&u?y(e):(u=c=void 0,f)}function S(){var e=o(),n=_(e);if(u=arguments,c=this,h=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(b,t),v?y(e):f}(h);if(g)return clearTimeout(d),d=setTimeout(b,t),y(h)}return void 0===d&&(d=setTimeout(b,t)),f}return t=i(t)||0,r(n)&&(v=!!n.leading,l=(g="maxWait"in n)?s(i(n.maxWait)||0,t):l,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==d&&clearTimeout(d),p=0,u=h=c=d=void 0},S.flush=function(){return void 0===d?f:E(o())},S}},,function(e,t,n){"use strict";var r=n(169),o=n(32),i=n(0),s=n.n(i),a="data-focus-lock",u="data-focus-lock-disabled";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var l="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,f=new WeakMap;function d(e,t){var n,r,o,s=(n=t||null,r=function(t){return e.forEach(function(e){return c(e,t)})},(o=Object(i.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return l(function(){var t=f.get(s);if(t){var n=new Set(t),r=new Set(e),o=s.current;
14801n.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){n.has(e)||c(e,o)})}f.set(s,e)},[e]),s}var h={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},p=function(e){var t=e.children,n=void 0===t?null:t;return s.a.createElement(i.Fragment,null,s.a.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:h}),n,n&&s.a.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:h}))};p.propTypes={};var v=n(8);function g(e){return e}function m(e,t){void 0===t&&(t=g);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}}}function y(e,t){return void 0===t&&(t=g),m(e,t)}var _=y({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),b=y(),E=y(),S=function(e){void 0===e&&(e={});var t=m(null);return t.options=Object(v.a)({async:!0,ssr:!1},e),t}({async:!0,ssr:"undefined"!=typeof document}),w=Object(i.createContext)(void 0),O=[],x=Object(i.forwardRef)(function(e,t){var n,r=Object(i.useState)(),c=r[0],l=r[1],f=Object(i.useRef)(),p=Object(i.useRef)(!1),v=Object(i.useRef)(null),g=Object(i.useState)({})[1],m=e.children,y=e.disabled,E=void 0!==y&&y,x=e.noFocusGuards,T=void 0!==x&&x,j=e.persistentFocus,k=void 0!==j&&j,P=e.crossFrame,C=void 0===P||P,I=e.autoFocus,M=void 0===I||I,A=(e.allowTextSelection,e.group),D=e.className,L=e.whiteList,N=e.hasPositiveIndices,F=e.shards,R=void 0===F?O:F,B=e.as,U=void 0===B?"div":B,H=e.lockProps,G=void 0===H?{}:H,$=e.sideCar,V=e.returnFocus,K=void 0!==V&&V,z=e.focusOptions,W=e.onActivation,q=e.onDeactivation,X=Object(i.useState)({})[0],J=Object(i.useCallback)(function(e){var t=e.captureFocusRestore;if(!v.current){var n,r=null==(n=document)?void 0:n.activeElement;v.current=r,r!==document.body&&(v.current=t(r))}f.current&&W&&W(f.current),p.current=!0,g()},[W]),Y=Object(i.useCallback)(function(){p.current=!1,q&&q(f.current),g()},[q]),Q=Object(i.useCallback)(function(e){var t=v.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof K?K(n):K;if(r){var o="object"==typeof r?r:void 0;v.current=null,e?Promise.resolve().then(function(){return n.focus(o)}):n.focus(o)}}},[K]),Z=Object(i.useCallback)(function(e){p.current&&_.useMedium(e)},[]),ee=b.useMedium,te=Object(i.useCallback)(function(e){f.current!==e&&(f.current=e,l(e))},[]);var ne=Object(o.a)(((n={})[u]=E&&"disabled",n[a]=A,n),G),re=!0!==T,oe=re&&"tail"!==T,ie=d([t,te]),se=Object(i.useMemo)(function(){return{observed:f,shards:R,enabled:!E,get active(){return p.current}}},[E,p,R,f]);return s.a.createElement(i.Fragment,null,re&&[s.a.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:E?-1:0,style:h}),N?s.a.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:E?-1:1,style:h}):null],!E&&s.a.createElement($,{id:X,sideCar:S,observed:c,disabled:E,persistentFocus:k,crossFrame:C,autoFocus:M,whiteList:L,shards:R,onActivation:J,onDeactivation:Y,returnFocus:Q,focusOptions:z,noFocusGuards:T}),s.a.createElement(U,Object(o.a)({ref:ie},ne,{className:D,onBlur:ee,onFocus:Z}),s.a.createElement(w.Provider,{value:se},m)),oe&&s.a.createElement("div",{"data-focus-guard":!0,tabIndex:E?-1:0,style:h}))});x.propTypes={};var T=x;
vendor: 5,099 bytes, line 14801
14801function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function k(e){return k="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},k(e)}function P(e){var t=function(e,t){if("object"!=k(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==k(t)?t:t+""}var C=function(e,t){return function(n){var r,o=[];function a(){r=e(o.map(function(e){return e.props})),t(r)}var u,c,l,f=function(e){var t,i;function u(){return e.apply(this,arguments)||this}i=e,(t=u).prototype=Object.create(i.prototype),t.prototype.constructor=t,j(t,i),u.peek=function(){return r};var c=u.prototype;return c.componentDidMount=function(){o.push(this),a()},c.componentDidUpdate=function(){a()},c.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),a()},c.render=function(){return s.a.createElement(n,this.props)},u}(i.PureComponent);return u=f,c="displayName",l="SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")",(c=P(c))in u?Object.defineProperty(u,c,{value:l,enumerable:!0,configurable:!0,writable:!0}):u[c]=l,f}},I=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},M=function(e){return Array.isArray(e)?e:[e]},A=function(e){return Array.isArray(e)?e[0]:e},D=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},L=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},N=function(e,t){return!e||L(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&!function(e){return e.hasAttribute("inert")}(e)&&t(D(e))},F=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=N(t,F.bind(void 0,e));return e.set(t,r),r},R=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!L(e))||!!G(e)&&t(D(e))}(t,R.bind(void 0,e));return e.set(t,r),r},B=function(e){return e.dataset},U=function(e){return"INPUT"===e.tagName},H=function(e){return U(e)&&"radio"===e.type},G=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},$=function(e){var t;return Boolean(e&&(null===(t=B(e))||void 0===t?void 0:t.focusGuard))},V=function(e){return!$(e)},K=function(e){return Boolean(e)},z=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return-1}return o||i},W=function(e,t,n){return I(e).map(function(e,t){var r=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex}(e);return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(z)},q=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),X="".concat(q,", [data-focus-guard]"),J=function(e,t){return I((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?X:q)?[n]:[],J(n))},[])},Y=function(e,t){return e.reduce(function(e,n){var r,o=J(n,t),i=(r=[]).concat.apply(r,o.map(function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?Y([e.contentDocument.body],t):[e]}(e,t)}));return e.concat(i,n.parentNode?I(n.parentNode.querySelectorAll(q)).filter(function(e){return e===n}):[])},[])},Q=function(e,t){return I(e).filter(function(e){return F(t,e)}).filter(function(e){return function(e){return!((U(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)})},Z=function(e,t){return void 0===t&&(t=new Map),I(e).filter(function(e){return R(t,e)})},ee=function(e,t,n){return W(Q(Y(e,n),t),!0,n)},te=function(e,t){return W(Q(Y(e),t),!1)},ne=function(e,t){return Q((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),I(n).map(function(e){return Y([e])}).reduce(function(e,t){return e.concat(t)},[])),t);var n},re=function(e,t){return e.shadowRoot?re(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||I(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&re(r,t)}return re(e,t)})},oe=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?oe(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return e()}catch(e){return}}(function(){return t.contentWindow.document})?oe(t.contentWindow.document):t}},ie=function(e){return e.parentNode?ie(e.parentNode):e}
14801,se=function(e){return M(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(a);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})}(I(ie(t).querySelectorAll("[".concat(a,'="').concat(n,'"]:not([').concat(u,'="disabled"])')))):[t]),e},[])},ae=function(e,t){return void 0===t&&(t=oe(A(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&se(e).some(function(e){return re(e,t)||function(e,t){return Boolean(I(e.querySelectorAll("iframe")).some(function(e){return function(e,t){return e===t}(e,t)}))}(e,t)})},ue=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},ce=function(e,t){return H(e)&&e.name?function(e,t){return t.filter(H).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e}(e,t):e},le=function(e){return e[0]&&e.length>1?ce(e[0],e):e[0]},fe=function(e,t){return e.indexOf(ce(t,e))},de="NEW_FOCUS",he=function(e,t,n,r,o){var i=e.length,s=e[0],a=e[i-1],u=$(r);if(!(r&&e.indexOf(r)>=0)){var c=void 0!==r?n.indexOf(r):-1,l=o?n.indexOf(o):c,f=o?e.indexOf(o):-1;if(-1===c)return-1!==f?f:de;if(-1===f)return de;var d,h,p=c-l,v=n.indexOf(s),g=n.indexOf(a),m=(d=n,h=new Set,d.forEach(function(e){return h.add(ce(e,d))}),d.filter(function(e){return h.has(e)})),y=void 0!==r?m.indexOf(r):-1,_=o?m.indexOf(o):y,b=m.filter(function(e){return e.tabIndex>=0}),E=void 0!==r?b.indexOf(r):-1,S=o?b.indexOf(o):E,w=E>=0&&S>=0?S-E:_-y;if(!p&&f>=0)return f;if(0===t.length)return f;var O=fe(e,t[0]),x=fe(e,t[t.length-1]);return c<=v&&u&&Math.abs(p)>1?x:c>=g&&u&&Math.abs(p)>1?O:p&&Math.abs(w)>1?f:c<=v?x:c>g?O:p?Math.abs(p)>1?f:(i+f+p)%i:void 0}},pe=function(e,t,n){var r,o=e.map(function(e){return e.node}),i=Z(o.filter((r=n,function(e){var t,n=null===(t=B(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return i&&i.length?le(i):le(Z(t))},ve=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ve(e.parentNode.host||e.parentNode,t),t},ge=function(e,t){for(var n=ve(e),r=ve(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},me=function(e,t,n){var r=M(e),o=M(t),i=r[0],s=!1;
14801return o.filter(Boolean).forEach(function(e){s=ge(s||e,e)||s,n.filter(Boolean).forEach(function(e){var t=ge(i,e);t&&(s=!s||re(t,s)?t:ge(t,s))})}),s},ye=function(e,t){return e.reduce(function(e,n){return e.concat(ne(n,t))},[])},_e=function(e,t){var n=oe(M(e).length>0?document:A(e).ownerDocument),r=se(e).filter(V),o=me(n||e,e,r),i=new Map,s=te(r,i),a=s.filter(function(e){var t=e.node;return V(t)});if(a[0]){var u,c,l,f=te([o],i).map(function(e){return e.node}),d=(u=f,c=a,l=new Map,c.forEach(function(e){return l.set(e.node,e)}),u.map(function(e){return l.get(e)}).filter(K)),h=d.map(function(e){return e.node}),p=d.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),v=he(h,p,f,n,t);if(v===de){var g=pe(s,p,ye(r,i))||pe(s,h,ye(r,i));return g?{node:g}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===v?v:d[v]}},be=0,Ee=!1,Se=function(e,t,n){void 0===n&&(n={});var r=_e(e,t);if(!Ee&&r){if(be>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Ee=!0,void setTimeout(function(){Ee=!1},1);be++,ue(r.node,n.focusOptions),be--}};function we(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var Oe=function(e){var t=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:we(n),parent:we(n.parentElement),left:we(n.previousElementSibling),right:we(n.nextElementSibling)}),n=n.parentElement;return{element:we(e),stack:t,ownerDocument:e.ownerDocument}}(e);return function(){return function(e){var t,n,r,o,i;if(e)for(var s=e.stack,a=e.ownerDocument,u=new Map,c=0,l=s;c<l.length;c++){var f=l[c],d=null===(t=f.parent)||void 0===t?void 0:t.call(f);if(d&&a.contains(d)){for(var h=null===(n=f.left)||void 0===n?void 0:n.call(f),p=f.current(),v=d.contains(p)?p:void 0,g=null===(r=f.right)||void 0===r?void 0:r.call(f),m=ee([d],u),y=null!==(i=null!==(o=null!=v?v:null==h?void 0:h.nextElementSibling)&&void 0!==o?o:g)&&void 0!==i?i:h;y;){for(var _=0,b=m;_<b.length;_++){var E=b[_];if(null==y?void 0:y.contains(E.node))return E.node}y=y.nextElementSibling}if(m.length)return m[0].node}}}(t)}},xe=function(e,t,n){void 0===t&&(t={});var r=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)}(t),o=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=M(t);if(r.every(function(t){return!re(t,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?ee(r,new Map):te(r,new Map),i=o.findIndex(function(t){return t.node===e});return-1!==i?{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}:void 0}(e,r.scope,r.onlyTabbable);if(o){var i=n(o,r.cycle);i&&ue(i.node,r.focusOptions)}},Te=function(e,t,n){var r,o,i,s,a=(o=e,i=null===(r=t.onlyTabbable)||void 0===r||r,{first:(s=i?ee(M(o),new Map):te(M(o),new Map))[0],last:s[s.length-1]})[n];a&&ue(a.node,t.focusOptions)};function je(e){setTimeout(e,1)}var ke=function(e){return e&&"current"in e?e.current:e},Pe=function(){return document&&document.activeElement===document.body},Ce=function(){return Pe()||function(e){void 0===e&&(e=document);var t=oe(e);return!!t&&I(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return re(e,t)})}()},Ie=null,Me=null,Ae=function(){return null},De=null,Le=!1,Ne=!1,Fe=function(){return!0};function Re(e,t,n,r){var o=null,i=e;do{var s=r[i];if(s.guard)s.node.dataset.focusAutoGuard&&(o=s);else{if(!s.lockItem)break;if(i!==e)return;o=null}}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var Be=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Ue=function(e){return te(e,new Map)},He=function(){var e,t,n,r,o,i,s,a=!1;if(Ie){var u=Ie,c=u.observed,l=u.persistentFocus,f=u.autoFocus,d=u.shards,h=u.crossFrame,p=u.focusOptions,v=u.noFocusGuards,g=c||De&&De.portaledElement;if(Pe()&&Me&&Me!==document.body&&(!document.body.contains(Me)||!Ue([(s=Me).parentNode]).some(function(e){return e.no
14801de===s}))){var m=Ae();m&&m.focus()}var y=document&&document.activeElement;if(g){var _=[g].concat(d.map(ke).filter(Boolean));if(y&&!function(e){return(Ie.whiteList||Fe)(e)}(y)||(l||function(){if(!(h?Boolean(Le):"meanwhile"===Le)||!v||!Me||Ne)return!1;var e=Ue(_),t=e.findIndex(function(e){return e.node===Me});return 0===t||t===e.length-1}()||!Ce()||!Me&&f)&&(g&&!(ae(_)||y&&function(e,t){return t.some(function(t){return Be(e,t,t)})}(y,_)||(i=y,De&&De.portaledElement===i))&&(document&&!Me&&y&&!f?(y.blur&&y.blur(),document.body.focus()):(a=Se(_,Me,{focusOptions:p}),De={})),(Me=document&&document.activeElement)!==document.body&&(Ae=Oe(Me)),Le=!1),document&&y!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var b=document&&document.activeElement,E=(t=se(e=_).filter(V),n=me(e,e,t),r=W(Y([n],!0),!0,!0),o=Y(t,!1),r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:$(t)}})),S=E.map(function(e){return e.node}).indexOf(b);S>-1&&(E.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),Re(S,E.length,1,E),Re(S,-1,-1,E))}}}return a},Ge=function(e){He()&&e&&(e.stopPropagation(),e.preventDefault())},$e=function(){return je(He)},Ve=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(De={observerNode:n,portaledElement:t})},Ke=function(){Ne=!0},ze=function(){Ne=!1,Le="just",je(function(){Le="meanwhile"})};var We={moveFocusInside:Se,focusInside:ae,focusNextElement:function(e,t){void 0===t&&(t={}),xe(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),xe(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),Te(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),Te(e,t,"last")},captureFocusRestore:Oe};_.assignSyncMedium(Ve),b.assignMedium($e),E.assignMedium(function(e){return e(We)});var qe=C(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!Ie&&(document.addEventListener("focusin",Ge),document.addEventListener("focusout",$e),window.addEventListener("focus",Ke),window.addEventListener("blur",ze));var n=Ie,r=n&&t&&t.id===n.id;Ie=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(Me=null,r&&n.observed===t.observed||t.onActivation(We),He(),je(He)):(document.removeEventListener("focusin",Ge),document.removeEventListener("focusout",$e),window.removeEventListener("focus",Ke),window.removeEventListener("blur",ze),Me=null)})(function(){return null}),Xe=Object(i.forwardRef)(function(e,t){return s.a.createElement(T,Object(o.a)({sideCar:qe,ref:t},e))}
vendor: 4,671 bytes, line 14801
14801),Je=T.propTypes||{};Je.sideCar,Object(r.a)(Je,["sideCar"]);Xe.propTypes={};var Ye=Xe;t.a=Ye},function(e,t,n){"use strict";n.d(t,"a",function(){return A});const r=Math.min,o=Math.max,i=Math.round,s=Math.floor,a=e=>({x:e,y:e});function u(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function c(){return"undefined"!=typeof window}function l(e){return h(e)?(e.nodeName||"").toLowerCase():"#document"}function f(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function d(e){var t;return null==(t=(h(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function h(e){return!!c()&&(e instanceof Node||e instanceof f(e).Node)}function p(e){return!!c()&&(e instanceof Element||e instanceof f(e).Element)}function v(e){return!!c()&&(e instanceof HTMLElement||e instanceof f(e).HTMLElement)}function g(e){return!(!c()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof f(e).ShadowRoot)}function m(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}let y;function _(){return null==y&&(y="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),y}function b(e){return/^(html|body|#document)$/.test(l(e))}function E(e){return f(e).getComputedStyle(e)}function S(e){if("html"===l(e))return e;const t=e.assignedSlot||e.parentNode||g(e)&&e.host||d(e);return g(t)?t.host:t}function w(e){const t=S(e);return b(t)?e.ownerDocument?e.ownerDocument.body:e.body:v(t)&&m(t)?t:w(t)}function O(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=w(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=f(o);if(i){const e=x(s);return t.concat(s,s.visualViewport||[],m(o)?o:[],e&&n?O(e):[])}return t.concat(o,O(o,[],n))}function x(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function T(e){const t=E(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=v(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:r,u=i(n)!==s||i(r)!==a;return u&&(n=s,r=a),{width:n,height:r,$:u}}function j(e){return p(e)?e:e.contextElement}function k(e){const t=j(e);if(!v(t))return a(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=T(t);let u=(s?i(n.width):n.width)/r,c=(s?i(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),c&&Number.isFinite(c)||(c=1),{x:u,y:c}}const P=a(0);function C(e){const t=f(e);return _()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:P}function I(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=j(e);let s=a(1);t&&(r?p(r)&&(s=k(r)):s=k(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==f(e))&&t}(i,n,r)?C(i):a(0);let l=(o.left+c.x)/s.x,d=(o.top+c.y)/s.y,h=o.width/s.x,v=o.height/s.y;if(i){const e=f(i),t=r&&p(r)?f(r):r;let n=e,o=x(n);for(;o&&r&&t!==n;){const e=k(o),t=o.getBoundingClientRect(),r=E(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,d*=e.y,h*=e.x,v*=e.y,l+=i,d+=s,n=f(o),o=x(n)}}return u({width:h,height:v,x:l,y:d})}function M(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function A(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,h=j(e),p=a||u?[...h?O(h):[],...t?O(t):[]]:[];p.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});const v=h&&l?function(e,t){let n,i=null;const a=d(e);function u(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function c(l,f){void 0===l&&(l=!1),void 0===f&&(f=1),u();const d=e.getBoundingClientRect(),{left:h,top:p,width:v,height:g}=d;if(l||t(),!v||!g)return;const m={rootMargin:-s(p)+"px "+-s(a.clientWidth-(h+v))+"px "+-s(a.clientHeight-(p+g))+"px "+-s(h)+"px",threshold:o(0,r(1,f))||1};let y=!0;function _(t){const r=t[0].intersectionRatio;if(r!==f){if(!y)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||M(d,e.getBoundingClientRect())||c(),y=!1}try{i=new IntersectionObserver(_,{...m,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(_,m)}i.observe(e)}(!0),u}(h,n):null;let g,m=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&y&&t&&(y.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),h&&!f&&y.observe(h),t&&y.observe(t));let _=f?I(e):null;return f&&function t(){const r=I(e);_&&!M(_,r)&&n();_=r,g=requestAnimationFrame(t)}(),n(),()=>{var e;
14801p.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(g)}}},,function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return l});var r=n(0),o=function(){var e=1,t=new WeakMap,n=function(r,o){return"number"==typeof r||"string"==typeof r?o?"idx-".concat(o):"val-".concat(r):t.has(r)?"uid"+t.get(r):(t.set(r,e++),n(r))};return n},i=(o(),function(e){return void 0===e&&(e=""),{value:1,prefix:e,uid:o()}}),s=i(),a=r.createContext(i()),u=function(){var e=Object(r.useContext)(a),t=Object(r.useState)(function(){return function(e){var t=e||s,n=function(e){return e?e.prefix:""}(t),r=function(e){return e.value++}(t),o=n+r;return{uid:o,gen:function(e){return o+t.uid(e)}}}(e)})[0];return t},c=function(){return u().uid},l=function(){return u().gen}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(426)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(83)(n(59),"DataView");e.exports=r},function(e,t,n){var r=n(252),o=n(431),i=n(75),s=n(255),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:a).test(s(e))}},function(e,t,n){var r=n(147),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,o=n(432),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(59)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(83)(n(59),"Promise");e.exports=r},function(e,t,n){var r=n(83)(n(59),"Set");e.exports=r},function(e,t,n){var r=n(83)(n(59),"WeakMap");e.exports=r},function(e,t,n){var r=n(114),o=n(115);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(114),o=n(193),i=n(115),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!s[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(253),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a}).call(this,n(256)(e))},function(e,t){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(258);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(446),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(196),o=n(198);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(74),o=n(148),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(450),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=s},function(e,t,n){var r=n(451);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(197);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(453),o=n(150),i=n(190);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),str
vendor: 5,699 bytes, line 14801
14801ing:new r}}},function(e,t,n){var r=n(454),o=n(455),i=n(456),s=n(457),a=n(458);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},function(e,t,n){var r=n(149);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(149),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(149),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(149);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(151),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(151);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(151);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(151);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(153);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(153);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(153);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(153);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(12).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(e,t){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){var r=n(262);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(19);e.exports=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(266),o=n(267),i=n(482),s=n(269),a=n(270),u=n(483),c=n(484);function l(){"use strict";var t=o(),n=t.m(l),f=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function d(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))}var h={throw:1,return:2,break:3,continue:3};function p(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,h[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,c(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=l=function(){return{wrap:function(e,n,r,o){return t.w(p(e),n,r,o&&o.reverse())},isGeneratorFunction:d,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:a,async:function(e,t,n,r,o){return(d(t)?s:i)(p(e),t,n,r,o)},keys:u,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(269);e.exports=function(e,t,n,o,i){var s=r(e,t,n,o,i);return s.next().then(function(e){return e.done?e.value:s.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(12).default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);
vendor: 50,602 bytes, line 14801
14801if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BatchQueue=void 0;const r=n(486),o=n(202);t.BatchQueue=class{constructor(e=o.EventRetryConstants.DEFAULT_BATCH_SIZE){this._batches=[],this._batchSize=e}batchSize(){return this._batchSize}requeueBatch(e){return this._enqueueBatch(e)}hasFullBatch(){return this._batches.some(e=>e.events.length>=this._batchSize)}takeNextBatch(){return this._batches.shift()}takeAllBatches(){const e=this._batches;return this._batches=[],e}createBatches(e){let t=0,n=0;for(;t<e.length;){const o=e.slice(t,t+this._batchSize);n+=this._enqueueBatch(new r.EventBatch(o)),t+=this._batchSize}return n}_enqueueBatch(e){this._batches.push(e);let t=0;for(;this._batches.length>o.EventRetryConstants.MAX_PENDING_BATCHES;){const e=this._batches.shift();e&&(t+=e.events.length)}return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventBatch=void 0;t.EventBatch=class{constructor(e){this.attempts=0,this.createdAt=Date.now(),this.events=e}incrementAttempts(){this.attempts++}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.FlushCoordinator=void 0;const o=n(202),i=n(488),s=n(489),a=n(490),u=n(85),c=n(40),l=n(272),f=n(60),d=n(119),h=n(121),p=n(62),v=new Set(["network_request_timed_out_no_response","network_request_exception_no_response","event_sender_post_returned_null","event_sender_post_returned_undefined","event_sender_post_exception"]);t.FlushCoordinator=class{constructor(e,t,n,r,o,a,u,c,l,f){this._cooldownTimer=null,this._maxIntervalTimer=null,this._hasRunQuickFlush=!1,this._currentFlushPromise=null,this._creationTime=Date.now(),this._isShuttingDown=!1,this._storageKey=null,this._flushInterval=new s.FlushInterval,this._batchQueue=e,this._pendingEvents=t,this._onPrepareFlush=n,this._errorBoundary=f,this._sdkKey=r,this._loggingEnabled=l,this._eventSender=new i.EventSender(r,o,a,u,c)}setLoggingEnabled(e){this._loggingEnabled=e}setLogEventCompressionMode(e){this._eventSender.setLogEventCompressionMode(e)}startScheduledFlushCycle(){this._scheduleNextFlush()}stopScheduledFlushCycle(){this._clearAllTimers()}addEvent(e){this._pendingEvents.addToPendingEventsQueue(e),this._currentFlushPromise||this._pendingEvents.hasEventsForFullBatch()&&this.processLimitFlush()}processManualFlush(){return r(this,void 0,void 0,function*(){return this._currentFlushPromise&&(yield this._currentFlushPromise),this._currentFlushPromise=this._executeFlush(a.FlushTypeValues.Manual).finally(()=>{this._currentFlushPromise=null,this._scheduleNextFlush()}),this._currentFlushPromise})}processShutdown(){return r(this,void 0,void 0,function*(){return this._isShuttingDown=!0,this._clearAllTimers(),this._currentFlushPromise&&(yield this._currentFlushPromise),this._currentFlushPromise=this._executeFlush(a.FlushTypeValues.Shutdown).catch(e=>{c.Log.error(`Error during shutdown flush: ${e}`)}).finally(()=>{this._currentFlushPromise=null}),this._currentFlushPromise})}_executeFlush(e){return r(this,void 0,void 0,function*(){this._clearAllTimers();try{this._prepareQueueForFlush(e);const t=this._batchQueue.takeAllBatches();if(0===t.length)return;yield Promise.all(t.map(t=>this._processOneBatch(t,e)))}finally{this._isShuttingDown||this._scheduleNextFlush()}})}checkQuickFlush(){this._hasRunQuickFlush||Date.now()-this._creationTime>o.EventRetryConstants.QUICK_FLUSH_WINDOW_MS||(this._hasRunQuickFlush=!0,setTimeout(()=>{this.processManualFlush().catch(e=>{c.Log.warn("Quick flush failed:",e)})},o.EventRetryConstants.QUICK_FLUSH_WINDOW_MS))}_attemptScheduledFlush(){if(this._currentFlushPromise)return void this._scheduleNextFlush();const e=this.containsAtLeastOneFullBatch(),t=this._flushInterval.hasReachedMaxInterval();if(!e&&!t)return void this._scheduleNoopPollTick();let n;this._flushInterval.markFlushAttempt(),n=e?a.FlushTypeValues.ScheduledFullBatch:a.FlushTypeValues.ScheduledMaxTime,this._currentFlushPromise=this._processNextBatch(n).then(()=>{}).catch(e=>{c.Log.error("Error during scheduled flush:",e)}).finally(()=>{this._currentFlushPromise=null,this._scheduleNextFlush()})}processLimitFlush(){this._flushInterval.hasCompletelyRecoveredFromBackoff()&&(this._currentFlushPromise||(this._currentFlushPromise=this._processLimitFlushInternal().catch(e=>{c.Log.error("Error during limit flush",e)}).finally(()=>{this._currentFlushPromise=null,this._scheduleNextFlush()})))}_processLimitFlushInternal(){return r(this,void 0,void 0,function*(){if(yield this._processNextBatch(a.FlushTypeValues.Limit))for(;this._flushInterval.hasCompletelyRecoveredFromBackoff()&&this.containsAtLeastOneFullBatch();){if(!(yield this._processNextBatch(a.FlushTypeValues.Limit)))break}})}_scheduleNextFlush(){if(this._clearAllTimers(),this._isShuttingDown)return;const e=Math.max(0,this._flushInterval.getTimeUntilNextFlush());this._cooldownTimer=setTimeout(()=>{this._cooldownTimer=null,d.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},e);const t=Math.max(0,this._flushInterval.getTimeTillMaxInterval());this._maxIntervalTimer=setTimeout(()=>{this._maxIntervalTimer=null,d.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},t)}_clearAllTimers(){null!==this._cooldownTimer&&(clearTimeout(this._cooldownTimer),this._cooldownTimer=null),null!==this._maxIntervalTimer&&(clearTimeout(this._maxIntervalTimer),this._maxIntervalTimer=null)}_scheduleNoopPollTick(){if(this._clearAllTimers(),this._isShuttingDown)return;this._cooldownTimer=setTimeout(()=>{this._cooldownTimer=null,d.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},o.EventRetryConstants.TICK_INTERVAL_MS);const e=Math.max(0,this._flushInterval.getTimeTillMaxInterval());this._maxIntervalTimer=setTimeout(()=>{this._maxIntervalTimer=null,d.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},e)}_processNextBatch(e){return r(this,void 0,void 0,function*(){this._prepareQueueForFlush(e);const t=this._batchQueue.takeNextBatch();return!!t&&this._processOneBatch(t,e)})}_processOneBatch(e,t){return r(this,void 0,void 0,function*(){if(this._loggingEnabled!==h.LoggingEnabledOption.always&&(0,f._isServerEnv)())return this._flushInterval.adjustForSuccess(),!0;const n=yield this._eventSender.sendBatch(e);return n.success?(this._flushInterval.adjustForSuccess(),!0):(this._flushInterval.adjustForFailure(),this._handleFailure(e,t,n.statusCode,n.failurePath,n.failureErrorMessage,n.failureDiagnosticBucket,n.failureDiagnosticMetadata),!1)})}_prepareQueueForFlush(e){this._onPrepareFlush();const t=this.convertPendingEventsToBatches();t>0&&(c.Log.warn(`Dropped ${t} events`),this._errorBoundary.logDroppedEvents(t,"Batch queue limit reached during batching",{loggingInterval:this._flushInterval.getCurrentIntervalMs(),batchSize:this._batchQueue.batchSize(),maxPendingBatches:o.EventRetryConstants.MAX_PENDING_BATCHES,flushType:e,retries:"dropped before batching"}))}containsAtLeastOneFullBatch(){return this._pendingEvents.hasEventsForFullBatch()||this._batchQueue.hasFullBatch()}convertPendingEventsToBatches(){if(this._pendingEvents.isEmpty())return 0;const e=this._pendingEvents.takeAll();return this._batchQueue.createBatches(e)}_isRetryableBatch(e,t){return!!l.RETRYABLE_CODES.has(e)||!(-1!==e||!t||!v.has(t))}_handleFailure(e,t,n,r,i,s,u){if(t===a.FlushTypeValues.Shutdown)return c.Log.warn(`${t} flush failed during shutdown. ${e.events.length} event(s) will be saved to storage for retry in next session.`),void this._saveShutdownFailedEventsToStorage(e.events);if(!this._isRetryableBatch(n,r)){const o="non-retryable error";return c.Log.warn(`${t} flush failed after ${e.attempts} attempt(s). ${e.events.length} event(s) will be dropped. Non-retryable error: ${n}`),void this._errorBoundary.logEventRequestFailure(e.events.length,o,t,n,e.attempts,r,i,s,u)}if(e.attempts>=o.EventRetryConstants.MAX_RETRY_ATTEMPTS){const o="max retry attempts exceeded";return c.Log.warn(`${t} flush failed after ${e.attempts} attempt(s). ${e.events.length} event(s) will be dropped.`),void this._errorBoundary.logEventRequestFailure(e.events.length,o,t,n,e.attempts,r,i,s,u)}e.incrementAttempts();const l=this._batchQueue.requeueBatch(e);l>0&&(c.Log.warn(`Failed to requeue batch : dropped ${l} events due to full queue`),this._errorBoundary.logDroppedEvents(l,"Batch queue limit reached during requeue",{loggingInterval:this._flushInterval.getCurrentIntervalMs(),batchSize:this._batchQueue.batchSize(),maxPendingBatches:o.EventRetryConstants.MAX_PENDING_BATCHES,flushType:t,retries:e.attempts}))}loadAndRetryShutdownFailedEvents(){return r(this,void 0,void 0,function*(){const e=this._getStorageKey();try{p.Storage.isReady()||(yield p.Storage.isReadyResolver());const t=this._getShutdownFailedEventsFromStorage(e);if(0===t.length)return;c.Log.debug(`Loading ${t.length} failed shutdown event(s) from storage for retry`),p.Storage.removeItem(e),t.forEach(e=>{this.addEvent(e)}),yield this.processManualFlush()}catch(e){c.Log.warn("Failed to load and retry failed shutdown events:",e)}})}_getStorageKey(){return this._storageKey||(this._storageKey=`statsig.failed_shutdown_events.${(0,u._DJB2)(this._sdkKey)}`),this._storageKey}_saveShutdownFailedEventsToStorage(e){const t=this._getStorageKey();try{let n=[...this._getShutdownFailedEventsFromStorage(t),...e];n.length>o.EventRetryConstants.MAX_LOCAL_STORAGE&&(n=n.slice(-o.EventRetryConstants.MAX_LOCAL_STORAGE)),(0,p._setObjectInStorage)(t,n),c.Log.debug(`Saved ${e.length} failed shutdown event(s) to storage (total stored: ${n.length})`)}catch(e){c.Log.warn("Unable to save failed shutdown events to storage:",e)}}_getShutdownFailedEventsFromStorage(e){try{const t=(0,p._getObjectFromStorage)(e);return Array.isArray(t)?t:[]}catch(e){return[]}}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.EventSender=void 0;const o=n(40),i=n(116),s=n(155),a=n(117),u=n(118);t.EventSender=class{constructor(e,t,n,r,o){this._sdkKey=e,this._network=t,this._emitter=n,this._options=o,this._logEventUrlConfig=r}setLogEventCompressionMode(e){this._network.setLogEventCompressionMode(e)}sendBatch(e){return r(this,void 0,void 0,function*(){var t,n,r;let i="event_sender_unexpected_exception";const s={};try{const r=(0,u._isUnloading)()&&this._network.isBeaconSupported()&&null==(null===(n=null===(t=this._options)||void 0===t?void 0:t.networkConfig)||void 0===n?void 0:n.networkOverrideFunc);i="event_sender_pre_logs_flushed_emitter_exception",this._emitter({name:"pre_logs_flushed",events:e.events}),i=r?"event_sender_unexpected_exception":"event_sender_post_exception";const o=r?this._sendEventsViaBeacon(e,s):yield this._sendEventsViaPost(e,s);return o.success?(i="event_sender_logs_flushed_emitter_exception",this._emitter({name:"logs_flushed",events:e.events}),o):Object.assign(Object.assign(Object.assign({success:!1,statusCode:o.statusCode,failurePath:o.failurePath},o.failureErrorMessage?{failureErrorMessage:o.failureErrorMessage}:{}),o.failureDiagnosticBucket?{failureDiagnosticBucket:o.failureDiagnosticBucket}:{}),o.failureDiagnosticMetadata?{failureDiagnosticMetadata:o.failureDiagnosticMetadata}:{})}catch(e){return o.Log.warn("Failed to send batch:",e),Object.assign(Object.assign(Object.assign({success:!1,statusCode:-1,failurePath:null!==(r=s.path)&&void 0!==r?r:i},s.errorMessage?{failureErrorMessage:s.errorMessage}:{}),s.diagnosticBucket?{failureDiagnosticBucket:s.diagnosticBucket}:{}),s.diagnosticMetadata?{failureDiagnosticMetadata:s.diagnosticMetadata}:{})}})}_sendEventsViaPost(e,t){return r(this,void 0,void 0,function*(){var n,r;const o=yield this._network.post(this._getRequestData(e),t),i=null!==(n=null==o?void 0:o.code)&&void 0!==n?n:-1;return-1===i?Object.assign(Object.assign(Object.assign({success:!1,statusCode:-1,failurePath:null!==(r=t.path)&&void 0!==r?r:void 0===o?"event_sender_post_returned_undefined":"event_sender_post_returned_null"},t.errorMessage?{failureErrorMessage:t.errorMessage}:{}),t.diagnosticBucket?{failureDiagnosticBucket:t.diagnosticBucket}:{}),t.diagnosticMetadata?{failureDiagnosticMetadata:t.diagnosticMetadata}:{}):{success:i>=200&&i<300,statusCode:i}})}_sendEventsViaBeacon(e,t){var n;const r=this._network.beacon(this._getRequestData(e),t);return Object.assign(Object.assign(Object.assign({success:r,statusCode:r?200:-1,failurePath:r?void 0:null!==(n=t.path)&&void 0!==n?n:"beacon_send_false"},!r&&t.errorMessage?{failureErrorMessage:t.errorMessage}:{}),!r&&t.diagnosticBucket?{failureDiagnosticBucket:t.diagnosticBucket}:{}),!r&&t.diagnosticMetadata?{failureDiagnosticMetadata:t.diagnosticMetadata}:{})}_getRequestData(e){return{sdkKey:this._sdkKey,data:{events:e.events},urlConfig:this._logEventUrlConfig,retries:3,preserveFailedStatusCode:!0,isCompressable:!0,params:{[i.NetworkParam.EventCount]:String(e.events.length)},headers:{"statsig-event-count":String(e.events.length),"statsig-retry-count":String(e.attempts),"statsig-sdk-type":s.SDKType._get(this._sdkKey),"statsig-sdk-version":a.SDK_VERSION},credentials:"same-origin"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlushInterval=void 0;const r=1e3,o=6e4;t.FlushInterval=class{constructor(){this._currentIntervalMs=r,this._lastFlushAttemptTime=Date.now()}getCurrentIntervalMs(){return this._currentIntervalMs}markFlushAttempt(){this._lastFlushAttemptTime=Date.now()}getTimeSinceLastAttempt(){return Date.now()-this._lastFlushAttemptTime}hasReachedMaxInterval(){return this.getTimeSinceLastAttempt()>=o}getTimeTillMaxInterval(){return o-this.getTimeSinceLastAttempt()}hasCompletelyRecoveredFromBackoff(){return this._currentIntervalMs<=r}adjustForSuccess(){const e=this._currentIntervalMs;e!==r&&(this._currentIntervalMs=Math.max(r,Math.floor(e/2)))}adjustForFailure(){const e=this._currentIntervalMs;this._currentIntervalMs=Math.min(o,2*e)}getTimeUntilNextFlush(){return this.getCurrentIntervalMs()-this.getTimeSinceLastAttempt()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlushTypeValues=void 0,t.FlushTypeValues={ScheduledMaxTime:"scheduled:max_time",ScheduledFullBatch:"scheduled:full_batch",Limit:"limit",Manual:"manual",Shutdown:"shutdown"}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._isDomainFailure=t.NetworkFallbackResolver=void 0;const o=n(492),i=n(85),s=n(40),a=n(62),u=6048e5;function c(e,t){var n;const r=null!==(n=null==e?void 0:e.toLowerCase())&&void 0!==n?n:"";return t||r.includes("uncaught exception")||r.includes("failed to fetch")||r.includes("networkerror when attempting to fetch resource")}function l(e){return`statsig.network_fallback.${(0,i._DJB2)(e)}`}function f(e,t){const n=l(e);t&&0!==Object.keys(t).length?a.Storage.setItem(n,JSON.stringify(t)):a.Storage.removeItem(n)}t.NetworkFallbackResolver=class{constructor(e){var t;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null===(t=e.networkConfig)||void 0===t?void 0:t.networkOverrideFunc}setErrorBoundary(e){this._errorBoundary=e}tryBumpExpiryTime(e,t){var n;const r=null===(n=this._fallbackInfo)||void 0===n?void 0:n[t.endpoint];r&&(r.expiryTime=Date.now()+u,f(e,Object.assign(Object.assign({},this._fallbackInfo),{[t.endpoint]:r})))}getActiveFallbackUrl(e,t){var n,r;if(null!=t.customUrl&&null!=t.fallbackUrls)return null;let o=this._fallbackInfo;null==o&&(o=null!==(n=function(e){const t=l(e),n=a.Storage.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(e){return s.Log.error("Failed to parse FallbackInfo"),null}}(e))&&void 0!==n?n:{},this._fallbackInfo=o);const i=o[t.endpoint];return!i||Date.now()>(null!==(r=i.expiryTime)&&void 0!==r?r:0)||t.getChecksum()!==i.urlConfigChecksum?(delete o[t.endpoint],this._fallbackInfo=o,f(e,this._fallbackInfo),null):i.url?i.url:null}tryFetchUpdatedFallbackInfo(e,t,n,o){return r(this,void 0,void 0,function*(){var r,i;try{if(!c(n,o))return!1;const i=null==t.customUrl&&null==t.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(t):t.fallbackUrls,s=this._pickNewFallbackUrl(null===(r=this._fallbackInfo)||void 0===r?void 0:r[t.endpoint],i);return!!s&&(this._updateFallbackInfoWithNewUrl(e,t,s),!0)}catch(e){return null===(i=this._errorBoundary)||void 0===i||i.logError("tryFetchUpdatedFallbackInfo",e),!1}})}_updateFallbackInfoWithNewUrl(e,t,n){var r,o,i;const s={urlConfigChecksum:t.getChecksum(),url:n,expiryTime:Date.now()+u,previous:[]},a=t.endpoint,c=null===(r=this._fallbackInfo)||void 0===r?void 0:r[a];c&&s.previous.push(...c.previous),s.previous.length>10&&(s.previous=[]);const l=null===(i=null===(o=this._fallbackInfo)||void 0===o?void 0:o[a])||void 0===i?void 0:i.url;null!=l&&s.previous.push(l),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[a]:s}),f(e,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(e){return r(this,void 0,void 0,function*(){var t;const n=this._dnsQueryCooldowns[e.endpoint];if(n&&Date.now()<n)return null;this._dnsQueryCooldowns[e.endpoint]=Date.now()+144e5;const r=[],i=yield(0,o._fetchTxtRecords)(null!==(t=this._networkOverrideFunc)&&void 0!==t?t:fetch),s=function(e){try{return new URL(e).pathname}catch(e){return null}}(e.defaultUrl);for(const t of i){if(!t.startsWith(e.endpointDnsKey+"="))continue;const n=t.split("=");if(n.length>1){let e=n[1];e.endsWith("/")&&(e=e.slice(0,-1)),r.push(`https://${e}${s}`)}}return r})}_pickNewFallbackUrl(e,t){var n;if(null==t)return null;const r=new Set(null!==(n=null==e?void 0:e.previous)&&void 0!==n?n:[]),o=null==e?void 0:e.url;let i=null;for(const e of t){const t=e.endsWith("/")?e.slice(0,-1):e;if(!r.has(e)&&t!==o){i=t;break}}return i}},t._isDomainFailure=c},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._fetchTxtRecords=void 0;const o=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),i=["i","e","d"];t._fetchTxtRecords=function(e){return r(this,void 0,void 0,function*(){const t=yield e("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:o});if(!t.ok){const e=new Error("Failed to fetch TXT records from DNS");throw e.name="DnsTxtFetchError",e}const n=yield t.arrayBuffer();return function(e){const t=e.findIndex((t,n)=>n<200&&"="===String.fromCharCode(t)&&i.includes(String.fromCharCode(e[n-1])));if(-1===t){const e=new Error("Failed to parse TXT records from DNS");throw e.name="DnsTxtParseError",e}let n="";for(let r=t-1;r<e.length;r++)n+=String.fromCharCode(e[r]);return n.split(",")}(new Uint8Array(n))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PendingEvents=void 0;const r=n(40);t.PendingEvents=class{constructor(e){this._pendingEvents=[],this._batchSize=e}addToPendingEventsQueue(e){this._pendingEvents.push(e),r.Log.debug("Enqueued Event:",e)}hasEventsForFullBatch(){return this._pendingEvents.length>=this._batchSize}takeAll(){const e=this._pendingEvents;return this._pendingEvents=[],e}isEmpty(){return 0===this._pendingEvents.length}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrecomputedEvaluationsContextHandle=void 0;const r=n(40),o=n(60),i=n(119),s=n(120);t.PrecomputedEvaluationsContextHandle=class{constructor(e,t,n,r,o,i){this._sdkKey=e,this._getOptions=t,this._getErrorBoundary=n,this._getValues=r,this._getUser=o,this._getSdkInstanceID=i}get sdkKey(){return this._sdkKey}get options(){return this._getOptions()}get errorBoundary(){return this._getErrorBoundary()}get values(){return this._getValues()}get user(){let e=(0,o._cloneObject)("StatsigUser",this._getUser());return null==e&&(r.Log.error("Failed to clone user"),e={}),e}getSession(e=!0){return i.StatsigSession.get(this._sdkKey,e)}get stableID(){return s.StableID.get(this._sdkKey)}get sdkInstanceID(){return this._getSdkInstanceID()}toContext(e=!0){return{sdkKey:this.sdkKey,options:this.options,values:this.values,user:this.user,errorBoundary:this.errorBoundary,session:this.getSession(e),stableID:this.stableID,sdkInstanceID:this.sdkInstanceID}}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._makeDataAdapterResult=t.DataAdapterCore=void 0;const o=n(40),i=n(120),s=n(277),a=n(62),u=n(278);function c(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,s._getFullUserHash)(r)}}t.DataAdapterCore=class{constructor(e,t){this._adapterName=e,this._cacheSuffix=t,this._options=null,this._sdkKey=null,this._cacheLimit=10,this._lastModifiedStoreKey=`statsig.last_modified_time.${t}`,this._inMemoryCache=new l}attach(e,t,n){this._sdkKey=e,this._options=t}getDataSync(e){const t=e&&(0,s._normalizeUser)(e,this._options),n=this._getCacheKey(t),r=this._inMemoryCache.get(n,t);if(r&&this._getIsCacheValueValid(r))return r;const o=this._loadFromCache(n);return o&&this._getIsCacheValueValid(o)?(this._inMemoryCache.add(n,o,this._cacheLimit),this._inMemoryCache.get(n,t)):null}setData(e,t){const n=t&&(0,s._normalizeUser)(t,this._options),r=this._getCacheKey(n);this._inMemoryCache.add(r,c("Bootstrap",e,null,n),this._cacheLimit)}_getIsCacheValueValid(e){return null==e.stableID||e.stableID===i.StableID.get(this._getSdkKey())}_getDataAsyncImpl(e,t,n){return r(this,void 0,void 0,function*(){a.Storage.isReady()||(yield a.Storage.isReadyResolver());const r=null!=e?e:this.getDataSync(t),i=[this._fetchAndPrepFromNetwork(r,t,n)];return(null==n?void 0:n.timeoutMs)&&i.push(new Promise(e=>setTimeout(e,n.timeoutMs)).then(()=>(o.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(i)})}_prefetchDataImpl(e,t){return r(this,void 0,void 0,function*(){const n=e&&(0,s._normalizeUser)(e,this._options),r=this._getCacheKey(n),o=yield this._getDataAsyncImpl(null,n,t);o&&this._inMemoryCache.add(r,Object.assign(Object.assign({},o),{source:"Prefetch"}),this._cacheLimit)})}_fetchAndPrepFromNetwork(e,t,n){return r(this,void 0,void 0,function*(){var r;const s=null!==(r=null==e?void 0:e.data)&&void 0!==r?r:null,a=null!=e&&this._isCachedResultValidFor204(e,t),l=yield this._fetchFromNetwork(s,t,n,a);if(!l)return o.Log.debug("No response returned for latest value"),null;const f=(0,u._typedJsonParse)(l,"has_updates","Response"),d=this._getSdkKey(),h=i.StableID.get(d);let p=null;if(!0===(null==f?void 0:f.has_updates))p=c("Network",l,h,t);else{if(!s||!1!==(null==f?void 0:f.has_updates))return null;p=c("NetworkNotModified",s,h,t)}const v=this._getCacheKey(t);return this._inMemoryCache.add(v,p,this._cacheLimit),this._writeToCache(v,p),p})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(o.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(e){var t;const n=null===(t=a.Storage.getItem)||void 0===t?void 0:t.call(a.Storage,e);if(null==n)return null;const r=(0,u._typedJsonParse)(n,"source","Cached Result");return r?Object.assign(Object.assign({},r),{source:"Cache"}):null}_writeToCache(e,t){const n=JSON.stringify(t);for(let t=0;t<8;t++)try{a.Storage.setItem(e,n);break}catch(t){if(!(t instanceof Error)||!t.toString().includes("QuotaExceededError")&&!t.toString().includes("QUOTA_EXCEEDED_ERR")||this._cacheLimit<=1)throw t;this._cacheLimit=Math.ceil(this._cacheLimit/2),this._runLocalStorageCacheEviction(e,this._cacheLimit-1)}this._runLocalStorageCacheEviction(e)}_runLocalStorageCacheEviction(e,t=this._cacheLimit){var n;const r=null!==(n=(0,a._getObjectFromStorage)(this._lastModifiedStoreKey))&&void 0!==n?n:{};r[e]=Date.now();const o=f(r,t);for(const e of o)delete r[e],a.Storage.removeItem(e);(0,a._setObjectInStorage)(this._lastModifiedStoreKey,r)}},t._makeDataAdapterResult=c;class l{constructor(){this._data={}}get(e,t){var n;const r=this._data[e],i=null==r?void 0:r.stableID,s=null===(n=null==t?void 0:t.customIDs)||void 0===n?void 0:n.stableID;return s&&i&&s!==i?(o.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):r}add(e,t,n){const r=f(this._data,n-1);for(const e of r)delete this._data[e];this._data[e]=t}merge(e){this._data=Object.assign(Object.assign({},this._data),e)}}function f(e,t){const n=Object.keys(e);return n.length<=t?[]:0===t?n:n.sort((t,n)=>{const r=e[t],o=e[n];return"object"==typeof r&&"object"==typeof o?r.receivedAt-o.receivedAt:r-o}).slice(0,n.length-t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._fastApproxSizeOf=void 0;t._fastApproxSizeOf=(e,n)=>{let r=0;const o=Object.keys(e);for(let i=0;i<o.length;i++){const s=o[i],a=e[s];if(r+=s.length,r+="object"==typeof a&&null!==a?(0,t._fastApproxSizeOf)(a,n)+2:String(a).length+1,r>=n)return r}return r}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,n(84);const o=n(84),i=n(279),s=n(271),a=n(40),u=n(280),c=n(60),l=n(119),f=n(120),d=n(121),h=n(62);t.StatsigClientBase=class{constructor(e,t,n,r){var u,d,p,v;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const g=this.$emt.bind(this);null!=(null==r?void 0:r.logLevel)&&(a.Log.level=r.logLevel),(null==r?void 0:r.disableStorage)&&h.Storage._setDisabled(!0),(null==r?void 0:r.initialSessionID)&&l.StatsigSession.overrideInitialSessionID(r.initialSessionID,e),(null==r?void 0:r.storageProvider)&&h.Storage._setProvider(r.storageProvider),(null==r?void 0:r.enableCookies)&&f.StableID._setCookiesEnabled(e,r.enableCookies),(null==r?void 0:r.disableStableID)&&f.StableID._setDisabled(e,!0),this._sdkKey=e,this._options=null!=r?r:{},this._memoCache={},this.overrideAdapter=null!==(u=null==r?void 0:r.overrideAdapter)&&void 0!==u?u:null,this._errorBoundary=new i.ErrorBoundary(e,r,g),this._logger=new s.EventLogger(e,g,n,r,this._errorBoundary),this._errorBoundary.wrap(this),this._errorBoundary.wrap(t),this._errorBoundary.wrap(this._logger),n.setErrorBoundary(this._errorBoundary),this.dataAdapter=t,this.dataAdapter.attach(e,r,n),this.storageProvider=h.Storage,null===(v=null===(p=null===(d=this.overrideAdapter)||void 0===d?void 0:d.loadFromStorage)||void 0===p?void 0:p.call(d))||void 0===v||v.catch(e=>this._errorBoundary.logError("OA::loadFromStorage",e)),this._primeReadyRipcord(),function(e,t){var n;if((0,c._isServerEnv)())return;const r=(0,o._getStatsigGlobal)(),i=null!==(n=r.instances)&&void 0!==n?n:{},s=t;null!=i[e]&&a.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys.");i[e]=s,r.firstInstance||(r.firstInstance=s);r.instances=i,__STATSIG__=r}(e,this)}updateRuntimeOptions(e){e.loggingEnabled?(this._options.loggingEnabled=e.loggingEnabled,this._logger.setLoggingEnabled(e.loggingEnabled)):null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingEnabled(e.disableLogging?"disabled":"browser-only")),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,h.Storage._setDisabled(e.disableStorage)),null!=e.enableCookies&&(this._options.enableCookies=e.enableCookies,f.StableID._setCookiesEnabled(this._sdkKey,e.enableCookies)),e.logEventCompressionMode?this._logger.setLogEventCompressionMode(e.logEventCompressionMode):e.disableCompression&&this._logger.setLogEventCompressionMode(d.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return r(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){if(this._listeners[e]){const n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}}$on(e,t){t.__isInternal=!0,this.on(e,t)}$emt(e){var t;const n=t=>{try{t(e)}catch(n){if(!0===t.__isInternal)return void this._errorBoundary.logError(`__emit:${e.name}`,n);a.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach(e=>n(e)),null===(t=this._listeners["*"])||void 0===t||t.forEach(n)}_setStatus(e,t){this.loadingStatus=e,this._memoCache={},this.$emt({name:"values_updated",status:e,values:t})}_enqueueExposure(e,t,n){!0!==(null==n?void 0:n.disableExposureLog)?this._logger.enqueue(t):this._logger.incrementNonExposureCount(e)}_memoize(e,t){return(n,r)=>{if(this._options.disableEvaluationMemoization)return t(n,r);const o=(0,u.createMemoKey)(e,n,r);return o?(o in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[o]=t(n,r)),this._memoCache[o]):t(n,r)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;const r=n(40),o=n(203);function i(e,t,n,r){var o;return{name:e,details:t,ruleID:null!==(o=null==n?void 0:n.rule_id)&&void 0!==o?o:"",__evaluation:n,value:r}}function s(e,t,n){var r,o;const s=null!==(r=null==n?void 0:n.value)&&void 0!==r?r:{};return Object.assign(Object.assign({},i(e,t,n,s)),{idType:null!==(o=null==n?void 0:n.id_type)&&void 0!==o?o:null,get:a(e,null==n?void 0:n.value)})}function a(e,t,n){return(i,s)=>{var a;const u=null!==(a=null==t?void 0:t[i])&&void 0!==a?a:null;return null==u?null!=s?s:null:null==s||(0,o._isTypeMatch)(u,s)?(null==n||n(i),u):(r.Log.warn(`Parameter type mismatch. '${e}.${i}' was found to be type '${typeof u}' but fallback/return type is '${typeof s}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),null!=s?s:null)}}t._makeFeatureGate=function(e,t,n){var r;return Object.assign(Object.assign({},i(e,t,n,!0===(null==n?void 0:n.value))),{idType:null!==(r=null==n?void 0:n.id_type)&&void 0!==r?r:null})},t._makeDynamicConfig=s,t._makeExperiment=function(e,t,n){var r;const o=s(e,t,n);return Object.assign(Object.assign({},o),{groupName:null!==(r=null==n?void 0:n.group_name)&&void 0!==r?r:null})},t._makeLayer=function(e,t,n,r){var o,s;return Object.assign(Object.assign({},i(e,t,n,void 0)),{get:a(e,null==n?void 0:n.value,r),groupName:null!==(o=null==n?void 0:n.group_name)&&void 0!==o?o:null,__value:null!==(s=null==n?void 0:n.value)&&void 0!==s?s:{}})},t._mergeOverride=function(e,t,n,r){return Object.assign(Object.assign(Object.assign({},e),t),{get:a(e.name,n,r)})},t._makeTypedGet=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_DETAIL_ERROR_MESSAGES=t.createUpdateDetails=void 0;t.createUpdateDetails=(e,t,n,r,o,i)=>({duration:n,source:t,success:e,error:r,sourceUrl:o,warnings:i}),t.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const o=n(26),i=n(510),s=n(281),a=n(514),u=n(515);class c extends o.StatsigClientBase{static instance(e){const t=(0,o._getStatsigGlobal)().instance(e);return t instanceof c?t:(o.Log.warn((0,o._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new c(null!=e?e:"",{}))}constructor(e,t,n=null){var r,a;o.SDKType._setClientType(e,"javascript-client");const c=new s.default(n,e=>{this.$emt(e)});super(e,null!==(r=null==n?void 0:n.dataAdapter)&&void 0!==r?r:new u.StatsigEvaluationsDataAdapter,c,n),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(o.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(o.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(o.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(o.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(o.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(o.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new i.default(e,null!=n?n:null),this._network=c,this._user=this._configureUser(t,n),this._sdkInstanceID=(0,o.getUUID)(),this._contextHandle=new o.PrecomputedEvaluationsContextHandle(e,()=>this._options,()=>this._errorBoundary,()=>this._store.getValues(),()=>this._user,()=>this._sdkInstanceID);const l=null!==(a=null==n?void 0:n.plugins)&&void 0!==a?a:[];for(const e of l)e.bind(this)}initializeSync(e){var t;return"Uninitialized"!==this.loadingStatus?(0,o.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...null!==(t=this._store.getWarnings())&&void 0!==t?t:[]]):(this._logger.start(),this.updateUserSync(this._user,e))}initializeAsync(e){return r(this,void 0,void 0,function*(){return this._initializePromise||(this._initializePromise=this._initializeAsyncImpl(e)),this._initializePromise})}updateUserSync(e,t){const n=performance.now();try{return this._updateUserSyncImpl(e,t,n)}catch(e){const t=e instanceof Error?e:new Error(String(e));return this._createErrorUpdateDetails(t,n)}}_updateUserSyncImpl(e,t,n){var r;const i=[...null!==(r=this._store.getWarnings())&&void 0!==r?r:[]];this._resetForUser(e);const s=this.dataAdapter.getDataSync(this._user);null==s&&i.push("NoCachedValues"),this._store.setValues(s,this._user),this._finalizeUpdate(s);const a=null==t?void 0:t.disableBackgroundCacheRefresh;return!0===a||null==a&&"Bootstrap"===(null==s?void 0:s.source)||this._runPostUpdate(null!=s?s:null,this._user),(0,o.createUpdateDetails)(!0,this._store.getSource(),performance.now()-n,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),i)}updateUserAsync(e,t){return r(this,void 0,void 0,function*(){const n=performance.now();try{return yield this._updateUserAsyncImpl(e,t)}catch(e){const t=e instanceof Error?e:new Error(String(e));return this._createErrorUpdateDetails(t,n)}})}_updateUserAsyncImpl(e,t){return r(this,void 0,void 0,function*(){this._resetForUser(e);const n=this._user;o.Diagnostics._markInitOverallStart(this._sdkKey);let r=this.dataAdapter.getDataSync(n);if(this._store.setValues(r,this._user),this._setStatus("Loading",r),r=yield this.dataAdapter.getDataAsync(r,n,t),n!==this._user)return(0,o.createUpdateDetails)(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let i=!1;null!=r&&(o.Diagnostics._markInitProcessStart(this._sdkKey),i=this._store.setValues(r,this._user),o.Diagnostics._markInitProcessEnd(this._sdkKey,{success:i})),this._finalizeUpdate(r),i||(this._errorBoundary.attachErrorIfNoneExists(o.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),o.Diagnostics._markInitOverallEnd(this._sdkKey,i,this._store.getCurrentSourceDetails());const s=o.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,o.createUpdateDetails)(i,this._store.getSource(),s,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){let e=(0,o._cloneObject)("StatsigUser",this._user);return null==e&&(o.Log.error("Failed to clone user"),e={}),{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:e,errorBoundary:this._errorBoundary,session:o.StatsigSession.get(this._sdkKey),stableID:o.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}getContextHandle(){return this._contextHandle}checkGate(e,t){return this.getFeatureGate(e,t).value}logEvent(e,t,n){const r="string"==typeof e?{eventName:e,value:t,metadata:n}:e;this.$emt({name:"log_event_called",event:r}),this._logger.enqueue(Object.assign(Object.assign({},r),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(e){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:e}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{"Loading"===this.loadingStatus&&this._finalizeUpdate(null)})}_initializeAsyncImpl(e){return r(this,void 0,void 0,function*(){return o.Storage.isReady()||(yield o.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,e)})}_createErrorUpdateDetails(e,t){var n;return(0,o.createUpdateDetails)(!1,this._store.getSource(),performance.now()-t,e,null,[...null!==(n=this._store.getWarnings())&&void 0!==n?n:[]])}_finalizeUpdate(e){this._store.finalize(),this._setStatus("Ready",e)}_runPostUpdate(e,t){this.dataAdapter.getDataAsync(e,t,{priority:"low"}).catch(e=>{o.Log.error("An error occurred after update.",e)})}_resetForUser(e){this._logger.reset(),this._store.reset(),this._user=this._configureUser(e,this._options)}_configureUser(e,t){var n,r,i;const s=(0,o._normalizeUser)(e,t),a=null===(n=s.customIDs)||void 0===n?void 0:n.stableID;if(a){const e=null===(i=(r=this.storageProvider).isReadyResolver)||void 0===i?void 0:i.call(r);e?e.then(()=>o.StableID.setOverride(a,this._sdkKey),()=>o.StableID.setOverride(a,this._sdkKey)):o.StableID.setOverride(a,this._sdkKey)}return Object.keys(this._possibleFirstTouchMetadata).length>0&&(s.analyticsOnlyMetadata=Object.assign(Object.assign({},s.analyticsOnlyMetadata),this._possibleFirstTouchMetadata)),s}_getFeatureGateImpl(e,t){var n,r;const{result:i,details:s}=this._store.getGate(e);this._checkUserHasIdForEvaluation(null==i?void 0:i.id_type,e,"Gate"),this._checkInitializationStatus(s.reason);const a=(0,o._makeFeatureGate)(e,s,i),u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getGateOverride)||void 0===r?void 0:r.call(n,a,this._user,t),c=null!=u?u:a;return this._enqueueExposure(e,(0,o._createGateExposure)(this._user,c,this._store.getExposureMapping()),t),this.$emt({name:"gate_evaluation",gate:c}),c}_getDynamicConfigImpl(e,t){var n,r;const{result:i,details:s}=this._store.getConfig(e);this._checkUserHasIdForEvaluation(null==i?void 0:i.id_type,e,"Dynamic config"),this._checkInitializationStatus(s.reason);const a=(0,o._makeDynamicConfig)(e,s,i),u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getDynamicConfigOverride)||void 0===r?void 0:r.call(n,a,this._user,t),c=null!=u?u:a;return this._enqueueExposure(e,(0,o._createConfigExposure)(this._user,c,this._store.getExposureMapping()),t),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:c}),c}_getExperimentImpl(e,t){var n,r,i,s;const{result:a,details:u}=this._store.getConfig(e);this._checkUserHasIdForEvaluation(null==a?void 0:a.id_type,e,"Experiment"),this._checkInitializationStatus(u.reason);const c=(0,o._makeExperiment)(e,u,a);null!=c.__evaluation&&(c.__evaluation.secondary_exposures=(0,o._mapExposures)(null!==(r=null===(n=c.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==r?r:[],this._store.getExposureMapping()));const l=null===(s=null===(i=this.overrideAdapter)||void 0===i?void 0:i.getExperimentOverride)||void 0===s?void 0:s.call(i,c,this._user,t),f=null!=l?l:c;return this._enqueueExposure(e,(0,o._createConfigExposure)(this._user,f,this._store.getExposureMapping()),t),this.$emt({name:"experiment_evaluation",experiment:f}),f}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(e,t){var n,r,i;const{result:s,details:a}=this._store.getLayer(e),u=(0,o._makeLayer)(e,a,s),c=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getLayerOverride)||void 0===r?void 0:r.call(n,u,this._user,t);(null==t?void 0:t.disableExposureLog)&&this._logger.incrementNonExposureCount(e);const l=(0,o._mergeOverride)(u,c,null!==(i=null==c?void 0:c.__value)&&void 0!==i?i:u.__value,n=>{(null==t?void 0:t.disableExposureLog)||this._enqueueExposure(e,(0,o._createLayerParameterExposure)(this._user,l,n,this._store.getExposureMapping()),t)});return this.$emt({name:"layer_evaluation",layer:l}),l}_getParameterStoreImpl(e,t){var n,r;const{result:o,details:i}=this._store.getParamStore(e);this._logger.incrementNonExposureCount(e);const s={name:e,details:i,__configuration:o,get:(0,a._makeParamStoreGetter)(this,o,t)},u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getParamStoreOverride)||void 0===r?void 0:r.call(n,s,t);return null!=u&&(s.__configuration=u.config,s.details=u.details,s.get=(0,a._makeParamStoreGetter)(this,u.config,t)),s}_checkUserHasIdForEvaluation(e,t,n){e&&((0,o._getUnitIDFromUser)(this._user,e)||o.Log.warn(`The user does not have the required id_type "${e}" for ${n} "${t}"`))}_checkInitializationStatus(e){("Uninitialized"===e||e.startsWith("Loading"))&&o.Log.warn(`SDK initialization has not completed. Reason: ${e}`)}}t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(26),o=n(511),i=n(512);t.default=class{constructor(e,t){this._sdkKey=e,this._options=t,this._valuesForExternalUse=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._valuesForExternalUse=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings.clear()}finalize(){this._values||(this._source="NoValues")}getValues(){return this._valuesForExternalUse}setValues(e,t){var n,s;if(!e)return!1;const a=(0,r._typedJsonParse)(e.data,"has_updates","EvaluationResponse");if(null==a)return!1;if(this._source=e.source,!0!==(null==a?void 0:a.has_updates))return!0;return(null!==(n=a.time)&&void 0!==n?n:0)<this._lcut||(this._valuesForExternalUse=(0,r._typedJsonParse)(e.data,"has_updates","EvaluationResponse"),this._lcut=a.time,this._receivedAt=e.receivedAt,"init-v2"===a.response_format?this._values=new i.V2InitializeContainer(a):this._values=new o.V1InitializeContainer(a),this._bootstrapMetadata=this._extractBootstrapMetadata(e.source,a),e.source&&a.user&&this._setWarningState(t,a),r.SDKFlags.setFlags(this._sdkKey,null!==(s=a.sdk_flags)&&void 0!==s?s:{})),!0}getWarnings(){if(0!==this._warnings.size)return Array.from(this._warnings)}getGate(e){const t=this._values?this._values.getGate(e):null;return this._getDetailedStoreResult(t)}getConfig(e){const t=this._values?this._values.getConfig(e):null;return this._getDetailedStoreResult(t)}getConfigList(){return this._values?this._values.getConfigList():[]}getLayer(e){const t=this._values?this._values.getLayer(e):null;return this._getDetailedStoreResult(t)}getParamStore(e){const t=this._values?this._values.getParamStore(e):null;return this._getDetailedStoreResult(t)}getSource(){return this._source}getExposureMapping(){var e;return null===(e=this._values)||void 0===e?void 0:e.getExposureMapping()}_extractBootstrapMetadata(e,t){if("Bootstrap"!==e)return null;const n={};return t.user&&(n.user=t.user),t.sdkInfo&&(n.generatorSDKInfo=t.sdkInfo),n.lcut=t.time,n}_getDetailedStoreResult(e){return{result:e,details:this._getDetails(null==e)}}_setWarningState(e,t){var n,o,i;const s=r.StableID.get(this._sdkKey);if((null===(n=e.customIDs)||void 0===n?void 0:n.stableID)===s||!(null===(o=e.customIDs)||void 0===o?void 0:o.stableID)&&!s){if("user"in t){let n=t.user,o=Object.assign(Object.assign({},e),{analyticsOnlyMetadata:void 0,privateAttributes:void 0});(null===(i=this._options)||void 0===i?void 0:i.disableStableID)&&(o=Object.assign(Object.assign({},o),{customIDs:Object.assign(Object.assign({},o.customIDs),{stableID:void 0})}),n=Object.assign(Object.assign({},n),{customIDs:Object.assign(Object.assign({},n.customIDs),{stableID:void 0})})),(0,r._getFullUserHash)(o)!==(0,r._getFullUserHash)(n)&&this._warnings.add("PartialUserMatch")}}else this._warnings.add("StableIDMismatch")}getCurrentSourceDetails(){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};const e={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(e.warnings=Array.from(this._warnings)),e}_getDetails(e){var t,n;const r=this.getCurrentSourceDetails();let o=r.reason;const i=null!==(t=r.warnings)&&void 0!==t?t:[];if("Bootstrap"===this._source&&i.length>0&&(o+=i[0]),"Uninitialized"!==o&&"NoValues"!==o){o=`${o}:${e?"Unrecognized":"Recognized"}`}const s="Bootstrap"===this._source&&null!==(n=this._bootstrapMetadata)&&void 0!==n?n:void 0;return s&&(r.bootstrapMetadata=s),Object.assign(Object.assign({},r),{reason:o})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.V1InitializeContainer=void 0;const r=n(26);t.V1InitializeContainer=class{constructor(e){this._values=e}getGate(e){return this._getResultFromLookup(this._values.feature_gates,e)}getConfig(e){return this._getResultFromLookup(this._values.dynamic_configs,e)}getLayer(e){return this._getResultFromLookup(this._values.layer_configs,e)}getParamStore(e){return this._getResultFromLookup(this._values.param_stores,e)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(e,t){var n,o;return e&&null!==(o=null!==(n=e[t])&&void 0!==n?n:e[(0,r._DJB2)(t)])&&void 0!==o?o:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.V2InitializeContainer=void 0;const r=n(26);t.V2InitializeContainer=class{constructor(e){this._values=e}getGate(e){var t,n,r;const o=this._getResultFromLookup(this._values.feature_gates,e);return o?{name:e,value:!0===o.v,rule_id:null!==(t=o.r)&&void 0!==t?t:"default",secondary_exposures:null!==(n=o.s)&&void 0!==n?n:[],id_type:null!==(r=o.i)&&void 0!==r?r:""}:null}getConfig(e){var t,n,r,o;const i=this._getResultFromLookup(this._values.dynamic_configs,e);return i?{name:e,value:null!==(t=this._values.values[i.v])&&void 0!==t?t:{},rule_id:i.r,secondary_exposures:null!==(n=i.s)&&void 0!==n?n:[],id_type:null!==(r=i.i)&&void 0!==r?r:"",is_user_in_experiment:!0===i.ue,passed:!0===i.p,group_name:null!==(o=i.gn)&&void 0!==o?o:void 0,is_experiment_active:!0===i.ea,group:i.r,is_device_based:"stableID"===i.i}:null}getLayer(e){var t,n,r,o,i,s;const a=this._getResultFromLookup(this._values.layer_configs,e);return a?{name:e,value:null!==(t=this._values.values[a.v])&&void 0!==t?t:{},rule_id:a.r,secondary_exposures:null!==(n=a.s)&&void 0!==n?n:[],is_user_in_experiment:!0===a.ue,group_name:null!==(r=a.gn)&&void 0!==r?r:void 0,is_experiment_active:!0===a.ea,group:a.r,is_device_based:"stableID"===a.i,allocated_experiment_name:null!==(o=a.ae)&&void 0!==o?o:"",explicit_parameters:null!==(i=a.ep)&&void 0!==i?i:[],undelegated_secondary_exposures:null!==(s=a.us)&&void 0!==s?s:[],parameter_rule_ids:a.pr}:null}getParamStore(e){return this._getResultFromLookup(this._values.param_stores,e)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(e,t){var n,o;return e&&null!==(o=null!==(n=e[t])&&void 0!==n?n:e[(0,r._DJB2)(t)])&&void 0!==o?o:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._resolveDeltasResponse=void 0;const r=n(26);function o(e,t){null==e||e.forEach(e=>{delete t[e]})}t._resolveDeltasResponse=function(e,t){const n=(0,r._typedJsonParse)(t,"checksum","DeltasEvaluationResponse");if(!n)return{hadBadDeltaChecksum:!0};const i=function(e){const t=e;return o(e.deleted_gates,t.feature_gates),delete t.deleted_gates,o(e.deleted_configs,t.dynamic_configs),delete t.deleted_configs,o(e.deleted_layers,t.layer_configs),delete t.deleted_layers,t}(function(e,t){return Object.assign(Object.assign(Object.assign({},e),t),{feature_gates:Object.assign(Object.assign({},e.feature_gates),t.feature_gates),layer_configs:Object.assign(Object.assign({}
14801,e.layer_configs),t.layer_configs),dynamic_configs:Object.assign(Object.assign({},e.dynamic_configs),t.dynamic_configs)})}(e,n)),s=(0,r._DJB2Object)({feature_gates:i.feature_gates,dynamic_configs:i.dynamic_configs,layer_configs:i.layer_configs},2);return s===n.checksumV2?JSON.stringify(i):{hadBadDeltaChecksum:!0,badChecksum:s,badMergedConfigs:i,badFullResponse:n.deltas_full_response}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeParamStoreGetter=void 0;const r=n(26),o={disableExposureLog:!0};function i(e){return null==e||!1===e.disableExposureLog}function s(e,t){return null!=t&&!(0,r._isTypeMatch)(e,t)}t._makeParamStoreGetter=function(e,t,n){return(a,u)=>{if(null==t)return u;const c=t[a];if(null==c||null!=u&&(0,r._typeOf)(u)!==c.param_type)return u;switch(c.ref_type){case"static":return function(e){return e.value}(c);case"gate":return function(e,t,n){return e.getFeatureGate(t.gate_name,i(n)?void 0:o).value?t.pass_value:t.fail_value}(e,c,n);case"dynamic_config":return function(e,t,n,r){const a=e.getDynamicConfig(t.config_name,i(r)?void 0:o).get(t.param_name);return s(a,n)?n:a}(e,c,u,n);case"experiment":return function(e,t,n,r){const a=e.getExperiment(t.experiment_name,i(r)?void 0:o).get(t.param_name);return s(a,n)?n:a}(e,c,u,n);case"layer":return function(e,t,n,r){const a=e.getLayer(t.layer_name,i(r)?void 0:o).get(t.param_name);return s(a,n)?n:a}(e,c,u,n);default:return u}}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEvaluationsDataAdapter=void 0;const o=n(26),i=n(281);class s extends o.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(e,t,n){super.attach(e,t,n),null!==n&&n instanceof i.default?this._network=n:this._network=new i.default(null!=t?t:{})}getDataAsync(e,t,n){return this._getDataAsyncImpl(e,(0,o._normalizeUser)(t,this._options),n)}prefetchData(e,t){return this._prefetchDataImpl(e,t)}setData(e){const t=(0,o._typedJsonParse)(e,"has_updates","data");t&&"user"in t?super.setData(e,t.user):o.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(e,t){super.setData(e,t)}_fetchFromNetwork(e,t,n,o){return r(this,void 0,void 0,function*(){var r;const i=yield null===(r=this._network)||void 0===r?void 0:r.fetchEvaluations(this._getSdkKey(),e,null==n?void 0:n.priority,t,o);return null!=i?i:null})}_getCacheKey(e){var t;const n=(0,o._getStorageKey)(this._getSdkKey(),e,null===(t=this._options)||void 0===t?void 0:t.customUserCacheKeyFunc);return`${o.DataAdapterCachePrefix}.${this._cacheSuffix}.${n}`}_isCachedResultValidFor204(e,t){return null!=e.fullUserHash&&e.fullUserHash===(0,o._getFullUserHash)(t)}}t.StatsigEvaluationsDataAdapter=s},function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(518),o=n(200);e.exports=function(e,t,n){if(r())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var s=new(e.bind.apply(e,i));return n&&o(s,n.prototype),s},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){throw new TypeError('"'+e+'" is read-only')},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";e.exports=n(555)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,_=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case s:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case m:case g:case c:return e;default:return t}}case i:return t}}}function w(e){return S(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=h,t.Fragment=s,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=u,t.
vendor: 4,423 bytes, line 14801
14801StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||S(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return S(e)===h},t.isFragment=function(e){return S(e)===s},t.isLazy=function(e){return S(e)===m},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===u||e===a||e===p||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===_||e.$$typeof===b||e.$$typeof===E||e.$$typeof===y)},t.typeOf=S},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(578);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,,,function(e,t,n){var r=n(586),o=n(196),i=n(156),s=n(75),a=n(198);e.exports=function(e,t,n,u){if(!s(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c<l;){var h=a(t[c]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=f){var v=d[h];void 0===(p=u?u(v,h,d):void 0)&&(p=s(v)?v:i(t[c+1])?[]:{})}r(d,h,p),d=d[h]}return e}},function(e,t,n){var r=n(587),o=n(152),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(588);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(83),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},,,,,,,function(e,t,n){"use strict";var r=n(0);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,s=r.useRef,a=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var f=s(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=u(function(){function e(e){if(!a){if(a=!0,i=e,e=r(e),void 0!==l&&d.hasValue){var t=d.value;if(l(t,e))return s=t}return s=e}if(t=s,o(i,e))return t;var n=r(e);return void 0!==l&&l(t,n)?(i=e,t):(i=e,s=n)}var i,s,a=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,l]);var h=i(e,f[0],f[1]);return a(function(){d.hasValue=!0,d.value=h},[h]),c(h),h}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=f(o),s=n(157),a=n(287),u=f(n(630)),c=f(n(631)),l=n(158);function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
14801(t,e),r(t,[{key:"componentDidMount",value:function(){s.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){var e=window.innerHeight-this.initialHeight;e&&window.scrollTo(0,window.pageYOffset+e),this.initialHeight=window.innerHeight}},{key:"render",value:function(){var e=this.props.children;return e?i.default.createElement(a.TouchScrollable,null,e):null}}]),t}(o.PureComponent),h=(0,l.pipe)(c.default,u.default)(d),p=function(e){return e.isActive?i.default.createElement(h,e):e.children};p.defaultProps={accountForScrollbars:!0,children:null,isActive:!0},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return function(t){function n(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return t=r=u(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.addSheet=function(){var e=r.getStyles(),t=(0,a.makeStyleTag)();t&&((0,a.injectStyles)(t,e),(0,a.insertStyleTag)(t),r.sheet=t)},r.getStyles=function(){var e=r.props.accountForScrollbars,t=(0,a.getDocumentHeight)(),n=e?(0,a.getPadding)():null;return"body {\n box-sizing: border-box !important;\n overflow: hidden !important;\n position: relative !important;\n "+(t?"height: "+t+"px !important;":"")+"\n "+(n?"padding-right: "+n+"px !important;":"")+"\n }"},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),r(n,[{key:"componentDidMount",value:function(){this.addSheet()}},{key:"removeSheet",value:function(){this.sheet&&(this.sheet.parentNode.removeChild(this.sheet),this.sheet=null)}},{key:"componentWillUnmount",value:function(){this.removeSheet()}},{key:"render",value:function(){return s.default.createElement(e,this.props)}}]),n}(i.PureComponent)};var o,i=n(0),s=(o=i)&&o.__esModule?o:{default:o},a=n(158);function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),r(n,[{key:"componentDidMount",value:function(){a.canUseDOM&&(0,u.isTouchDevice)()&&document.addEventListener("touchmove",u.preventTouchMove,u.listenerOptions)}},{key:"componentWillUnmount",value:function(){a.canUseDOM&&(0,u.isTouchDevice)()&&document.removeEventListener("touchmove",u.preventTouchMove,u.listenerOptions)}},{key:"render",value:function(){return s.default.createElement(e,this.props)}}]),n}(i.PureComponent)};var o,i=n(0),s=(o=i)&&o.__esModule?o:{default:o},a=n(157),u=n(158)},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};
14801Object.defineProperty(t,"__esModule",{value:!0}),t.bindAll=void 0;var o=n(288);function i(e){if(void 0!==e)return"boolean"==typeof e?{capture:e}:e}t.bindAll=function(e,t,n){var s=t.map(function(t){var s=function(e,t){return null==t?e:r(r({},e),{options:r(r({},i(t)),i(e.options))})}(t,n);return(0,o.bind)(e,s)});return function(){s.forEach(function(e){return e()})}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(665),o=n(666),i=n(258);e.exports=function(e){return function(t,n,s){return s&&"number"!=typeof s&&o(t,n,s)&&(n=s=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),s=void 0===s?t<n?1:-1:i(s),r(t,n,s,e)}}},function(e,t){var n=Math.ceil,r=Math.max;e.exports=function(e,t,o,i){for(var s=-1,a=r(n((t-e)/(o||1)),0),u=Array(a);a--;)u[i?a:++s]=e,e+=o;return u}},function(e,t,n){var r=n(152),o=n(192),i=n(156),s=n(75);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?o(n)&&i(t,n.length):"string"==a&&t in n)&&r(n[t],e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(196),o=n(191),i=n(74),s=n(156),a=n(193),u=n(198);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var d=u(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&a(l)&&s(d,l)&&(i(e)||o(e))}},function(e,t,n){var r=n(719),o=n(115);e.exports=function e(t,n,i,s,a){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,s,e,a))}},function(e,t,n){var r=n(720),o=n(298),i=n(731),s=n(735),a=n(251),u=n(74),c=n(194),l=n(195),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,m){var y=u(e),_=u(t),b=y?d:a(e),E=_?d:a(t),S=(b=b==f?h:b)==h,w=(E=E==f?h:E)==h,O=b==E;if(O&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(O&&!S)return m||(m=new r),y||l(e)?o(e,t,n,v,g,m):i(e,t,b,n,v,g,m);if(!(1&n)){var x=S&&p.call(e,"__wrapped__"),T=w&&p.call(t,"__wrapped__");
vendor: 1,585 bytes, line 14801
14801if(x||T){var j=x?e.value():e,k=T?t.value():t;return m||(m=new r),g(j,k,n,v,m)}}return!!O&&(m||(m=new r),s(e,t,n,v,g,m))}},function(e,t,n){var r=n(150),o=n(721),i=n(722),s=n(723),a=n(724),u=n(725);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(150);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(150),o=n(190),i=n(197);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(197),o=n(727),i=n(728);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,e.exports=s},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(147),o=n(732),i=n(152),s=n(298),a=n(733),u=n(734),c=r?r.prototype:void 0,l=c?c.valueOf
14801:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var p=1&r;if(h||(h=u),e.size!=t.size&&!p)return!1;var v=d.get(e);if(v)return v==t;r|=2,d.set(e,t);var g=s(h(e),h(t),r,c,f,d);return d.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(59).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(736),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,s,a){var u=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var d=c[f];if(!(u?d in t:o.call(t,d)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var v=!0;a.set(e,t),a.set(t,e);for(var g=u;++f<l;){var m=e[d=c[f]],y=t[d];if(i)var _=u?i(y,m,d,t,e,a):i(m,y,d,e,t,a);if(!(void 0===_?m===y||s(m,y,n,i,a):_)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var b=e.constructor,E=t.constructor;b==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof E&&E instanceof E||(v=!1)}return a.delete(e),a.delete(t),v}},function(e,t,n){var r=n(737),o=n(739),i=n(742);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(738),o=n(74);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(740),o=n(741),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return i.call(e,t)}))}:o;e.exports=a},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(743),o=n(249),i=n(192);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(744),o=n(191),i=n(74),s=n(194),a=n(156),u=n(195),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&s(e),d=!n&&!l&&!f&&u(e),h=n||l||f||d,p=h?r(e.length,String):[],v=p.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,v))||p.push(g);return p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(59);e.exports=function(){return r.Date.now()}},,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(43);var r=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return o});const r=5;function o(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const n of e){if(!n)continue;const e=n.split(" ");for(const n of e){t[n.startsWith("_")?n.slice(0,r):n]=n}}let n="";for(const e in t)n+=t[e]+" ";return n?n.trimEnd():void 0}},function(e,t,n){"use strict";function r(e,t,n){return null!=e?t?n?n+e+t:e+t:e:"var(--c-, )"}n.d(t,"a",function(){return r})},,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return pe});var r=n(0),o=r.createContext();r.createContext();var i=function(e){return Array.isArray(e)?e[0]:e},s=function(e,t){if("function"==typeof e)return function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}}(e,t);null!=e&&(e.current=t)},a=function(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e},{})},u="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,c=n(50);function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){return e instanceof l(e).Element||e instanceof Element}function d(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}var p=Math.max,v=Math.min,g=Math.round;function m(){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 y(){return!/^((?!chrome|android).)*safari/i.test(m())}function _(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&d(e)&&(o=e.offsetWidth>0&&g(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);
vendor: 4,154 bytes, line 14801
14801var s=(f(e)?l(e):window).visualViewport,a=!y()&&n,u=(r.left+(a&&s?s.offsetLeft:0))/o,c=(r.top+(a&&s?s.offsetTop:0))/i,h=r.width/o,p=r.height/i;return{width:h,height:p,top:c,right:u+h,bottom:c+p,left:u,x:u,y:c}}function b(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function E(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return _(S(e)).left+b(e).scrollLeft}function O(e){return l(e).getComputedStyle(e)}function x(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function T(e,t,n){void 0===n&&(n=!1);var r,o,i=d(t),s=d(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=S(t),u=_(e,s,n),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==E(t)||x(a))&&(c=(r=t)!==l(r)&&d(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:b(r)),d(t)?((f=_(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=w(a))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function j(e){var t=_(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 k(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||S(e)}function P(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:d(e)&&x(e)?e:P(k(e))}function C(e,t){var n;void 0===t&&(t=[]);var r=P(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=l(r),s=o?[i].concat(i.visualViewport||[],x(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(C(k(s)))}function I(e){return["table","td","th"].indexOf(E(e))>=0}function M(e){return d(e)&&"fixed"!==O(e).position?e.offsetParent:null}function A(e){for(var t=l(e),n=M(e);n&&I(n)&&"static"===O(n).position;)n=M(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===O(n).position)?t:n||function(e){var t=/firefox/i.test(m());if(/Trident/i.test(m())&&d(e)&&"fixed"===O(e).position)return null;var n=k(e);for(h(n)&&(n=n.host);d(n)&&["html","body"].indexOf(E(n))<0;){var r=O(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 D=n(15);function L(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}var N={placement:"bottom",modifiers:[],strategy:"absolute"};function F(){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 R(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?N:o;return function(e,t,n){void 0===n&&(n=i);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},N,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,l={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,o),a.scrollParents={reference:f(e)?C(e):e.contextElement?C(e.contextElement):[],popper:C(t)};var s,c,h=function(e){var t=L(e);return D.g.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(r,a.options.modifiers),c=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(c).map(function(e){return c[e]})));return a.orderedModifiers=h.filter(function(e){return e.enabled}),a.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:a,name:t,instance:l,options:r}),s=function(){};u.push(i||s)}}
14801),l.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(F(t,n)){a.rects={reference:T(t,A(n),"fixed"===a.options.strategy),popper:j(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,s=o.options,u=void 0===s?{}:s,f=o.name;"function"==typeof i&&(a=i({state:a,options:u,name:f,instance:l})||a)}else a.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){l.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(o())})})),s}),destroy:function(){d(),c=!0}};if(!F(e,t))return l;function d(){u.forEach(function(e){return e()}),u=[]}return l.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}var B={passive:!0};function U(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?U(o):null,s=o?H(o):null,a=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case D.m:t={x:a,y:n.y-r.height};break;case D.c:t={x:a,y:n.y+n.height};break;case D.k:t={x:n.x+n.width,y:u};break;case D.f:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?G(i):null;if(null!=c){var l="y"===c?"height":"width";switch(s){case D.l:t[c]=t[c]-(n[l]/2-r[l]/2);break;case D.e:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var V={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,d=e.isFixed,h=s.x,p=void 0===h?0:h,v=s.y,m=void 0===v?0:v,y="function"==typeof f?f({x:p,y:m}):{x:p,y:m};p=y.x,m=y.y;var _=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),E=D.f,w=D.m,x=window;if(c){var T=A(n),j="clientHeight",k="clientWidth";if(T===l(n)&&"static"!==O(T=S(n)).position&&"absolute"===a&&(j="scrollHeight",k="scrollWidth"),o===D.m||(o===D.f||o===D.k)&&i===D.e)w=D.c,m-=(d&&T===x&&x.visualViewport?x.visualViewport.height:T[j])-r.height,m*=u?1:-1;if(o===D.f||(o===D.m||o===D.c)&&i===D.e)E=D.k,p-=(d&&T===x&&x.visualViewport?x.visualViewport.width:T[k])-r.width,p*=u?1:-1}var P,C=Object.assign({position:a},c&&V),I=!0===f?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:g(n*o)/o||0,y:g(r*o)/o||0}}({x:p,y:m},l(n)):{x:p,y:m};return p=I.x,m=I.y,u?Object.assign({},C,((P={})[w]=b?"0":"",P[E]=_?"0":"",P.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",P)):Object.assign({},C,((t={})[w]=b?m+"px":"",t[E]=_?p+"px":"",t.transform="",t))}
vendor: 4,816 bytes, line 14801
14801var z={left:"right",right:"left",bottom:"top",top:"bottom"};function W(e){return e.replace(/left|right|bottom|top/g,function(e){return z[e]})}var q={start:"end",end:"start"};function X(e){return e.replace(/start|end/g,function(e){return q[e]})}function J(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Y(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Q(e,t,n){return t===D.o?Y(function(e,t){var n=l(e),r=S(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,u=0;if(o){i=o.width,s=o.height;var c=y();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:a+w(e),y:u}}(e,n)):f(t)?function(e,t){var n=_(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):Y(function(e){var t,n=S(e),r=b(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=p(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=p(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+w(e),u=-r.scrollTop;return"rtl"===O(o||n).direction&&(a+=p(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:u}}(S(e)))}function Z(e,t,n,r){var o="clippingParents"===t?function(e){var t=C(k(e)),n=["absolute","fixed"].indexOf(O(e).position)>=0&&d(e)?A(e):e;return f(n)?t.filter(function(e){return f(e)&&J(e,n)&&"body"!==E(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce(function(t,n){var o=Q(e,n,r);return t.top=p(o.top,t.top),t.right=v(o.right,t.right),t.bottom=v(o.bottom,t.bottom),t.left=p(o.left,t.left),t},Q(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function te(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,s=void 0===i?e.strategy:i,a=n.boundary,u=void 0===a?D.d:a,c=n.rootBoundary,l=void 0===c?D.o:c,d=n.elementContext,h=void 0===d?D.i:d,p=n.altBoundary,v=void 0!==p&&p,g=n.padding,m=void 0===g?0:g,y=ee("number"!=typeof m?m:te(m,D.b)),b=h===D.i?D.j:D.i,E=e.rects.popper,w=e.elements[v?b:h],O=Z(f(w)?w:w.contextElement||S(e.elements.popper),u,l,s),x=_(e.elements.reference),T=$({reference:x,element:E,strategy:"absolute",placement:o}),j=Y(Object.assign({},E,T)),k=h===D.i?j:x,P={top:O.top-k.top+y.top,bottom:k.bottom-O.bottom+y.bottom,left:O.left-k.left+y.left,right:k.right-O.right+y.right},C=e.modifiersData.offset;if(h===D.i&&C){var I=C[o];Object.keys(P).forEach(function(e){var t=[D.k,D.c].indexOf(e)>=0?1:-1,n=[D.m,D.c].indexOf(e)>=0?"y":"x";P[e]+=I[n]*t})}return P}function re(e,t,n){return p(e,v(t,n))}function oe(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 ie(e){return[D.m,D.k,D.c,D.f].some(function(t){return e[t]>=0})}var se=R({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,s=r.resize,a=void 0===s||s,u=l(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,B)}),a&&u.addEventListener("resize",n.update,B),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,B)}),a&&u.removeEventListener("resize",n.update,B)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{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,s=void 0===i||i,a=n.roundOffsets,u=void 0===a||a,c={placement:U(t.placement),variation:H(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,K(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 6,043 bytes, line 14801
14801Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];d(o)&&E(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]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});d(r)&&E(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{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,s=D.h.reduce(function(e,n){return e[n]=function(e,t,n){var r=U(e),o=[D.f,D.m].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[D.f,D.k].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e},{}),a=s[t.placement],u=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},{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,s=n.altAxis,a=void 0===s||s,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,v=n.allowedAutoPlacements,g=t.options.placement,m=U(g),y=u||(m===g||!p?[W(g)]:function(e){if(U(e)===D.a)return[];var t=W(e);return[X(e),t,X(t)]}(g)),_=[g].concat(y).reduce(function(e,n){return e.concat(U(n)===D.a?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?D.h:u,l=H(r),f=l?a?D.n:D.n.filter(function(e){return H(e)===l}):D.b,d=f.filter(function(e){return c.indexOf(e)>=0});0===d.length&&(d=f);var h=d.reduce(function(t,n){return t[n]=ne(e,{placement:n,boundary:o,rootBoundary:i,padding:s})[U(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:v}):n)},[]),b=t.rects.reference,E=t.rects.popper,S=new Map,w=!0,O=_[0],x=0;x<_.length;x++){var T=_[x],j=U(T),k=H(T)===D.l,P=[D.m,D.c].indexOf(j)>=0,C=P?"width":"height",I=ne(t,{placement:T,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),M=P?k?D.k:D.f:k?D.c:D.m;b[C]>E[C]&&(M=W(M));var A=W(M),L=[];if(i&&L.push(I[j]<=0),a&&L.push(I[M]<=0,I[A]<=0),L.every(function(e){return e})){O=T,w=!1;break}S.set(T,L)}if(w)for(var N=function(e){var t=_.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return O=t,"break"},F=p?3:1;F>0;F--){if("break"===N(F))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{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,s=n.altAxis,a=void 0!==s&&s,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,g=n.tetherOffset,m=void 0===g?0:g,y=ne(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),_=U(t.placement),b=H(t.placement),E=!b,S=G(_),w="x"===S?"y":"x",O=t.modifiersData.popperOffsets,x=t.rects.reference,T=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(O){if(i){var M,L="y"===S?D.m:D.f,N="y"===S?D.c:D.k,F="y"===S?"height":"width",R=O[S],B=R+y[L],$=R-y[N],V=h?-T[F]/2:0,K=b===D.l?x[F]:T[F],z=b===D.l?-T[F]:-x[F],W=t.elements.arrow,q=h&&W?j(W):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=X[L],Y=X[N],Q=re(0,x[F],q[F]),Z=E?x[F]/2-V-Q-J-P.mainAxis:K-Q-J-P.mainAxis,ee=E?-x[F]/2+V+Q+Y+P.mainAxis:z+Q+Y+P.mainAxis,te=t.elements.arrow&&A(t.elements.arrow),oe=te?"y"===S?te.clientTop||0:te.clientLeft||0:0,ie=null!=(M=null==C?void 0:C[S])?M:0,se=R+ee-ie,ae=re(h?v(B,R+Z-ie-oe):B,R,h?p($,se):$);O[S]=ae,I[S]=ae-R}if(a){var ue,ce="x"===S?D.m:D.f,le="x"===S?D.c:D.k,fe=O[w],de="y"===w?"height":"width",he=fe+y[ce],pe=fe-y[le],ve=-1!==[D.m,D.f].indexOf(_),ge=null!=(ue=null==C?void 0:C[w])?ue:0,me=ve?he:fe-x[de]-T[de]-ge+P.altAxis,ye=ve?fe+x[de]+T[de]-ge-P.altAxis:pe,_e=h&&ve?function(e,t,n){var r=re(e,t,n);return r>n?n:r}(me,fe,ye):re(h?me:he,fe,h?ye:pe);O[w]=_e,I[w]=_e-fe}t.modifiersData[r]=I}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=U(n.placement),u=G(a),c=[D.f,D.k].indexOf(a)>=0?"height":"width";if(i&&s){var l=function(e,t){return ee("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:te(e,D.b))}(o.padding,n),f=j(i),d="y"===u?D.m:D.f,h="y"===u?D.c:D.k,p=n.rects.reference[c]+n.rects.reference[u]-s[u]-n.rects.popper[c],v=s[u]-n.rects.reference[u],g=A(i),m=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,y=p/2-v/2,_=l[d],b=m-f[c]-l[h],E=m/2-f[c]/2+y,S=re(_,E,b),w=u;n.modifiersData[r]=((t={})[w]=S,t.centerOffset=S-E,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)))&&J(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
14801cts.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=ne(t,{elementContext:"reference"}),a=ne(t,{altBoundary:!0}),u=oe(s,r),c=oe(a,o,i),l=ie(u),f=ie(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),ae=n(342),ue=n.n(ae),ce=[],le=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ce},s=r.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],f=s[1],d=r.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);c.flushSync(function(){f({styles:a(n.map(function(e){return[e,t.styles[e]||{}]})),attributes:a(n.map(function(e){return[e,t.attributes[e]]}))})})},requires:["computeStyles"]}},[]),h=r.useMemo(function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[d,{name:"applyStyles",enabled:!1}])};return ue()(o.current,e)?o.current||e:(o.current=e,e)}
14801,[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,d]),p=r.useRef();return u(function(){p.current&&p.current.setOptions(h)},[h]),u(function(){if(null!=e&&null!=t){var r=(n.createPopper||se)(e,t,h);return p.current=r,function(){r.destroy(),p.current=null}}},[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},fe=function(){},de=function(){return Promise.resolve(null)},he=[];function pe(e){var t=e.placement,n=void 0===t?"bottom":t,a=e.strategy,u=void 0===a?"absolute":a,c=e.modifiers,l=void 0===c?he:c,f=e.referenceElement,d=e.onFirstUpdate,h=e.innerRef,p=e.children,v=r.useContext(o),g=r.useState(null),m=g[0],y=g[1],_=r.useState(null),b=_[0],E=_[1];r.useEffect(function(){s(h,m)},[h,m]);var S=r.useMemo(function(){return{placement:n,strategy:u,onFirstUpdate:d,modifiers:[].concat(l,[{name:"arrow",enabled:null!=b,options:{element:b}}])}},[n,u,d,l,b]),w=le(f||v,m,S),O=w.state,x=w.styles,T=w.forceUpdate,j=w.update,k=r.useMemo(function(){return{ref:y,style:x.popper,placement:O?O.placement:n,hasPopperEscaped:O&&O.modifiersData.hide?O.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:O&&O.modifiersData.hide?O.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:x.arrow,ref:E},forceUpdate:T||fe,update:j||de}},[y,E,n,O,x,j,T]);return i(p)(k)}},function(e,t,n){"use strict";var r=n(8);function o(e,t){var n=t&&t.cache?t.cache:p,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:u)(e,{cache:n,serializer:r})}function i(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),s=t.get(i);return void 0===s&&(s=e.call(this,r),t.set(i,s)),s}function s(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function a(e,t,n,r,o){return n.bind(t,e,r,o)}function u(e,t){return a(e,this,1===e.length?i:s,t.cache.create(),t.serializer)}var c=function(){return JSON.stringify(arguments)};function l(){this.cache=Object.create(null)}l.prototype.get=function(e){return this.cache[e]},l.prototype.set=function(e,t){this.cache[e]=t};var f,d,h,p={create:function(){return new l}},v={variadic:function(e,t){return a(e,this,s,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)}};function g(e){return e.type===d.literal}function m(e){return e.type===d.argument}function y(e){return e.type===d.number}function _(e){return e.type===d.date}function b(e){return e.type===d.time}function E(e){return e.type===d.select}function S(e){return e.type===d.plural}function w(e){return e.type===d.pound}function O(e){return e.type===d.tag}function x(e){return!(!e||"object"!=typeof e||e.type!==h.number)}function T(e){return!(!e||"object"!=typeof e||e.type!==h.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(f||(f={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(d||(d={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(h||(h={}));var j=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function P(e){var t={};return e.replace(k,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var C=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function I(e){return e.replace(/^(.*?)-/,"")}var M=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,A=/^(@+)?(\+|#+)?[rs]?$/g,D=/(\*)(0+)|(#+)(0+)|(0+)/g,L=/^(0+)$/;function N(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(A,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function F(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function R(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!L.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function B(e){var t=F(e);return t||{}}function U(e){for(var t={},n=0,o=e;n<o.length;n++){var i=o[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=I(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;
vendor: 26,526 bytes, line 14801
14801case"scientific":t=Object(r.a)(Object(r.a)(Object(r.a)({},t),{notation:"scientific"}),i.options.reduce(function(e,t){return Object(r.a)(Object(r.a)({},e),B(t))},{}));continue;case"engineering":t=Object(r.a)(Object(r.a)(Object(r.a)({},t),{notation:"engineering"}),i.options.reduce(function(e,t){return Object(r.a)(Object(r.a)({},e),B(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(D,function(e,n,r,o,i,s){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(L.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(M.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(M,function(e,n,r,o,i,s){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&s?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var s=i.options[0];"w"===s?t=Object(r.a)(Object(r.a)({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=Object(r.a)(Object(r.a)({},t),N(s)))}else if(A.test(i.stem))t=Object(r.a)(Object(r.a)({},t),N(i.stem));else{var a=F(i.stem);a&&(t=Object(r.a)(Object(r.a)({},t),a));var u=R(i.stem);u&&(t=Object(r.a)(Object(r.a)({},t),u))}}return t}var H,G={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function $(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(G[n||""]||G[r||""]||G["".concat(r,"-001")]||G["001"])[0]}var V=new RegExp("^".concat(j.source,"*")),K=new RegExp("".concat(j.source,"*$"));function z(e,t){return{start:e,end:t}}var W=!!String.prototype.startsWith&&"_a".startsWith("a",1),q=!!String.fromCodePoint,X=!!Object.fromEntries,J=!!String.prototype.codePointAt,Y=!!String.prototype.trimStart,Q=!!String.prototype.trimEnd,Z=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ee=!0;try{ee="a"===(null===(H=ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===H?void 0:H[0])}catch(e){ee=!1}var te,ne=W?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},re=q?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;o>i;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},oe=X?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],s=o[1];t[i]=s}return t},ie=J?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},se=Y?function(e){return e.trimStart()}:function(e){return e.replace(V,"")},ae=Q?function(e){return e.trimEnd()}:function(e){return e.replace(K,"")};function ue(e,t){return new RegExp(e,t)}if(ee){var ce=ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");te=function(e,t){var n;return ce.lastIndex=t,null!==(n=ce.exec(e)[1])&&void 0!==n?n:""}}else te=function(e,t){for(var n=[];;){var r=ie(e,t);if(void 0===r||he(r)||pe(r))break;n.push(r),t+=r>=65536?2:1}return re.apply(void 0,n)};var le=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,z(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&fe(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:d.pound,location:z(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<".concat(r,"/>"),location:z(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!fe(this.char()))return this.error(f.INVALID_TAG,z(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,z(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:d.tag,value:r,children:i,location:z(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,z(s,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,z(n,this.clonePosition()))}return this.error(f.INVALID_TAG,z(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&de(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=z(n,this.clonePosition());return{val:{type:d.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(fe(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return re.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),re(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,z(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,z(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:r,location:z(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(f.MALFORMED_ARGUMENT,z(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=te(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:z(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,o){var i,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,z(s,u));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((E=this.parseSimpleArgStyleIfPossible()).err)return E;if(0===(m=ae(E.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,z(this.clonePosition(),this.clonePosition()));c={style:m,styleLocation:z(l,this.clonePosition())}}if((S=this.tryParseArgumentClose(o)).err)return S;var p=z(o,this.clonePosition());if(c&&ne(null==c?void 0:c.style,"::",0)){var v=se(c.style.slice(2));if("number"===a)return(E=this.parseNumberSkeletonFromString(v,c.styleLocation)).err?E:{val:{type:d.number,value:n,location:p,style:E.val},err:null};if(0===v.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,p);var g=v;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var s=1+(1&i),a=i<2?1:3+(i>>1),u=$(t);for("H"!=u&&"k"!=u||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=u+n}else n+="J"===o?"H":o}return n}(v,this.locale));var m={type:h.dateTime,pattern:g,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?P(g):{}};return{val:{type:"date"===a?d.date:d.time,value:n,location:p,style:m},err:null}}return{val:{type:"number"===a?d.number:"date"===a?d.date:d.time,value:n,location:p,style:null!==(i=null==c?void 0:c.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,z(y,Object(r.a)({},y)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),b=0;if("select"!==a&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,z(this.clonePosition(),this.clonePosition()));var E;if(this.bumpSpace(),(E=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return E;this.bumpSpace(),_=this.parseIdentifierIfPossible(),b=E.val}var S,w=this.tryParsePluralOrSelectOptions(e,a,t,_);if(w.err)return w;if((S=this.tryParseArgumentClose(o)).err)return S;var O=z(o,this.clonePosition());return"select"===a?{val:{type:d.select,value:n,options:oe(w.val),location:O},err:null}:{val:{type:d.plural,value:n,options:oe(w.val),offset:b,pluralType:"plural"===a?"cardinal":"ordinal",location:O},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,z(s,u))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,z(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,z(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(C).filter(function(e){return e.length>0});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],s=o.slice(1),a=0,u=s;a<u.length;a++)if(0===u[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:s})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:h.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?U(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,i=!1,s=[],a=new Set,u=r.value,c=r.location;;){if(0===u.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=z(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(a.has(u))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,z(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var v=this.tryParseArgumentClose(h);if(v.err)return v;s.push([u,{value:p.val,location:z(h,this.clonePosition())}]),a.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===s.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,z(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}var a=z(r,this.clonePosition());return o?Z(i*=n)?{val:i,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ie(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ne(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&he(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function fe(e){return e>=97&&e<=122||e>=65&&e<=90}function de(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function he(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function pe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ve(e){e.forEach(function(e){if(delete e.location,E(e)||S(e))for(var t in e.options)delete e.options[t].location,ve(e.options[t].value);else y(e)&&x(e.style)||(_(e)||b(e))&&T(e.style)?delete e.style.location:O(e)&&ve(e.children)})}function ge(e,t){void 0===t&&(t={}),t=Object(r.a)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new le(e,t).parse();if(n.err){var o=SyntaxError(f[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||ve(n.val),n.val}var me;!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(me||(me={}));var ye,_e=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Object(r.b)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),be=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),me.INVALID_VALUE,o)||this}return Object(r.b)(t,e),t}(_e),Ee=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),me.INVALID_VALUE,r)||this}return Object(r.b)(t,e),t}(_e),Se=function(e){function t(t,n){return e.call(this,'The intl str
14801ing context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),me.MISSING_VALUE,n)||this}return Object(r.b)(t,e),t}(_e);function we(e){return"function"==typeof e}function Oe(e,t,n,r,o,i,s){if(1===e.length&&g(e[0]))return[{type:ye.literal,value:e[0].value}];for(var a=[],u=0,c=e;u<c.length;u++){var l=c[u];if(g(l))a.push({type:ye.literal,value:l.value});else if(w(l))"number"==typeof i&&a.push({type:ye.literal,value:n.getNumberFormat(t).format(i)});else{var f=l.value;if(!o||!(f in o))throw new Se(f,s);var d=o[f];if(m(l))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?ye.literal:ye.object,value:d});else if(_(l)){var h="string"==typeof l.style?r.date[l.style]:T(l.style)?l.style.parsedOptions:void 0;a.push({type:ye.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(b(l)){h="string"==typeof l.style?r.time[l.style]:T(l.style)?l.style.parsedOptions:r.time.medium;a.push({type:ye.literal,value:n.getDateTimeFormat(t,h).format(d)})}
14801else if(y(l)){(h="string"==typeof l.style?r.number[l.style]:x(l.style)?l.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),a.push({type:ye.literal,value:n.getNumberFormat(t,h).format(d)})}else{if(O(l)){var p=l.children,v=l.value,j=o[v];if(!we(j))throw new Ee(v,"function",s);var k=j(Oe(p,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(k)||(k=[k]),a.push.apply(a,k.map(function(e){return{type:"string"==typeof e?ye.literal:ye.object,value:e}}))}if(E(l)){if(!(P=l.options[d]||l.options.other))throw new be(l.value,d,Object.keys(l.options),s);a.push.apply(a,Oe(P.value,t,n,r,o))}else if(S(l)){var P;if(!(P=l.options["=".concat(d)])){if(!Intl.PluralRules)throw new _e('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',me.MISSING_INTL_API,s);var C=n.getPluralRules(t,{type:l.pluralType}).select(d-(l.offset||0));P=l.options[C]||l.options.other}if(!P)throw new be(l.value,d,Object.keys(l.options),s);a.push.apply(a,Oe(P.value,t,n,r,o,d-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ye.literal&&t.type===ye.literal?n.value+=t.value:e.push(t),e},[])}(a)}function xe(e,t){return t?Object.keys(e).reduce(function(n,o){var i,s;return n[o]=(i=e[o],(s=t[o])?Object(r.a)(Object(r.a)(Object(r.a)({},i||{}),s||{}),Object.keys(i).reduce(function(e,t){return e[t]=Object(r.a)(Object(r.a)({},i[t]),s[t]||{}),e},{})):i),n},Object(r.a)({},e)):e}function Te(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(ye||(ye={}));var je,ke=function(){function e(t,n,i,s){void 0===n&&(n=e.defaultLocale);var a,u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===ye.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Oe(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=u.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=s||{},l=(c.formatters,Object(r.c)(c,["formatters"]));this.ast=e.__parse(t,Object(r.a)(Object(r.a)({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=xe(e.formats,i),this.formatters=s&&s.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{cache:Te(a.number),strategy:v.variadic}),getDateTimeFormat:o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{cache:Te(a.dateTime),strategy:v.variadic}),getPluralRules:o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(r.d)([void 0],t,!1)))},{cache:Te(a.pluralRules),strategy:v.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=ge,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(je||(je={}));var Pe=function(e){function t(n,r,o){var i=this,s=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(s?"\n".concat(s.message,"\n").concat(s.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return Object(r.b)(t,e),t}(Error),Ce=function(e){function t(t,n){return e.call(this,je.UNSUPPORTED_FORMATTER,t,n)||this}return Object(r.b)(t,e),t}(Pe),Ie=function(e){function t(t,n){return e.call(this,je.INVALID_CONFIG,t,n)||this}return Object(r.b)(t,e),t}(Pe),Me=function(e){function t(t,n){return e.call(this,je.MISSING_DATA,t,n)||this}return Object(r.b)(t,e),t}(Pe),Ae=function(e){function t(t,n,r){var o=e.call(this,je.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return o.locale=n,o}return Object(r.b)(t,e),t}(Pe),De=function(e){function t(t,n,r,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,o)||this;return i.descriptor=r,i.locale=n,i}return Object(r.b)(t,e),t}(Ae),Le=function(e){function t(t,n){var r=e.call(this,je.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return Object(r.b)(t,e),t}(Pe);function Ne(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var Fe={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function Re(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Be(e,t,n,r){var o,i=e&&e[t];if(i&&(o=i[n]),o)return o;r(new Ce("No ".concat(t," format named: ").concat(n)))}var Ue=n(0);function He(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{strategy:v.variadic}),o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{strategy:v.variadic}),o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(r.d)([void 0],t,!1)))},{strategy:v.variadic}),o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.Locale).bind.apply(e,Object(r.d)([void 0],t,!1)))},{strategy:v.variadic}),o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.ListFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{strategy:v.variadic});function Ge(e){He(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var $e=Object(r.a)(Object(r.a)({},Fe),{textComponent:Ue.Fragment});n(102);var Ve="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?Ue.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=Ue.createContext(null)),Ke=(Ve.Consumer,Ve.Provider);function ze(e,t){return Object.keys(e).reduce(function(n,o){return n[o]=Object(r.a)({timeZone:t},e[o]),n},{})}function We(e,t){return Object.keys(Object(r.a)(Object(r.a)({},e),t)).reduce(function(n,o){return n[o]=Object(r.a)(Object(r.a)({},e[o]||{}),t[o]||{}),n},{})}function qe(e,t){if(!t)return e;var n=ke.formats;return Object(r.a)(Object(r.a)(Object(r.a)({},n),e),{date:We(ze(n.date,t),ze(e.date||{},t)),time:We(ze(n.time,t),ze(e.time||{},t))})}var Xe=function(e,t,n,o,i){var s=e.locale,a=e.formats,u=e.messages,c=e.defaultLocale,l=e.defaultFormats,f=e.fallbackOnEmptyString,h=e.onError,p=e.timeZone,v=e.defaultRichTextElements;void 0===n&&(n={id:""});var g=n.id,m=n.defaultMessage;He(!!g,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var y=String(g),_=u&&Object.prototype.hasOwnProperty.call(u,y)&&u[y];if(Array.isArray(_)&&1===_.length&&_[0].type===d.literal)return _[0].value;if(!o&&_&&"string"==typeof _&&!v)return _.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=Object(r.a)(Object(r.a)({},v),o||{}),a=qe(a,p),l=qe(l,p),!_){if(!1===f&&""===_)return _;if((!m||s&&s.toLowerCase()!==c.toLowerCase())&&h(new Le(n,s)),m)try{return t.getMessageFormat(m,c,l,i).format(
vendor: 4,911 bytes, line 14801
14801o)}catch(e){return h(new De('Error formatting default message for: "'.concat(y,'", rendering default message verbatim'),s,n,e)),"string"==typeof m?m:y}return y}try{return t.getMessageFormat(_,s,a,Object(r.a)({formatters:t},i||{})).format(o)}catch(e){h(new De('Error formatting message: "'.concat(y,'", using ').concat(m?"default message":"id"," as fallback."),s,n,e))}if(m)try{return t.getMessageFormat(m,c,l,i).format(o)}catch(e){h(new De('Error formatting the default message for: "'.concat(y,'", rendering message verbatim'),s,n,e))}return"string"==typeof _?_:"string"==typeof m?m:y},Je=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Ye(e,t,n){var r=e.locale,o=e.formats,i=e.onError;void 0===n&&(n={});var s=n.format,a=s&&Be(o,"number",s,i)||{};return t(r,Ne(n,Je,a))}function Qe(e,t,n,r){void 0===r&&(r={});try{return Ye(e,t,r).format(n)}catch(t){e.onError(new Ae("Error formatting number.",e.locale,t))}return String(n)}function Ze(e,t,n,r){void 0===r&&(r={});try{return Ye(e,t,r).formatToParts(n)}catch(t){e.onError(new Ae("Error formatting number.",e.locale,t))}return[]}var et=["numeric","style"];function tt(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new _e('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',me.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,o=e.formats,i=e.onError;void 0===n&&(n={});var s=n.format,a=!!s&&Be(o,"relative",s,i)||{};return t(r,Ne(n,et,a))}(e,t,o).format(n,r)}catch(t){e.onError(new Ae("Error formatting relative time.",e.locale,t))}return String(n)}var nt=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function rt(e,t,n,o){var i=e.locale,s=e.formats,a=e.onError,u=e.timeZone;void 0===o&&(o={});var c=o.format,l=Object(r.a)(Object(r.a)({},u&&{timeZone:u}),c&&Be(s,t,c,a)),f=Ne(o,nt,l);return"time"!==t||f.hour||f.minute||f.second||f.timeStyle||f.dateStyle||(f=Object(r.a)(Object(r.a)({},f),{hour:"numeric",minute:"numeric"})),n(i,f)}function ot(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],s=void 0===i?{}:i,a="string"==typeof o?new Date(o||0):o;try{return rt(e,"date",t,s).format(a)}catch(t){e.onError(new Ae("Error formatting date.",e.locale,t))}return String(a)}function it(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],s=void 0===i?{}:i,a="string"==typeof o?new Date(o||0):o;try{return rt(e,"time",t,s).format(a)}catch(t){e.onError(new Ae("Error formatting time.",e.locale,t))}return String(a)}function st(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],s=n[2],a=void 0===s?{}:s,u=e.timeZone,c=e.locale,l=e.onError,f=Ne(a,nt,u?{timeZone:u}:{});try{return t(c,f).formatRange(o,i)}catch(t){l(new Ae("Error formatting date time range.",e.locale,t))}return String(o)}function at(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],s=void 0===i?{}:i,a="string"==typeof o?new Date(o||0):o;try{return rt(e,"date",t,s).formatToParts(a)}catch(t){e.onError(new Ae("Error formatting date.",e.locale,t))}return[]}function ut(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],s=void 0===i?{}:i,a="string"==typeof o?new Date(o||0):o;try{return rt(e,"time",t,s).formatToParts(a)}catch(t){e.onError(new Ae("Error formatting time.",e.locale,t))}return[]}var ct=["type"];function lt(e,t,n,r){var o=e.locale,i=e.onError;void 0===r&&(r={}),Intl.PluralRules||i(new _e('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',me.MISSING_INTL_API));var s=Ne(r,ct);try{return t(o,s).select(n)}catch(e){i(new Ae("Error formatting plural.",o,e))}return"other"}var ft=["type","style"],dt=Date.now();function ht(e,t,n,r){void 0===r&&(r={});var o=pt(e,t,n,r).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]);return 1===o.length?o[0]:0===o.length?"":o}function pt(e,t,n,o){var i=e.locale,s=e.onError;void 0===o&&(o={}),Intl.ListFormat||s(new _e('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',me.MISSING_INTL_API));var a=Ne(o,ft);try{var u={},c=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(dt,"_").concat(e,"_").concat(dt)}(t);return u[n]=e,n}return String(e)});
14801return t(i,a).formatToParts(c).map(function(e){return"literal"===e.type?e:Object(r.a)(Object(r.a)({},e),{value:u[e.value]||e.value})})}catch(e){s(new Ae("Error formatting list.",i,e))}return n}var vt=["style","type","fallback","languageDisplay"];function gt(e,t,n,r){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new _e('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',me.MISSING_INTL_API));var s=Ne(r,vt);try{return t(o,s).of(n)}catch(e){i(new Ae("Error formatting display name.",o,e))}}function mt(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function yt(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,i=Intl.DisplayNames,s=o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{cache:Re(e.dateTime),strategy:v.variadic}),a=o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(r.d)([void 0],t,!1)))},{cache:Re(e.number),strategy:v.variadic}),u=o(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(r.d)([void 0],t,!1)))},{cache:Re(e.pluralRules),strategy:v.variadic});return{getDateTimeFormat:s,getNumberFormat:a,getMessageFormat:o(function(e,t,n,o){return new ke(e,t,n,Object(r.a)({formatters:{getNumberFormat:a,getDateTimeFormat:s,getPluralRules:u}},o||{}))},{cache:Re(e.message),strategy:v.variadic}),getRelativeTimeFormat:o(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Object(r.d)([void 0],e,!1)))},{cache:Re(e.relativeTime),strategy:v.variadic}),getPluralRules:u,getListFormat:o(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Object(r.d)([void 0],e,!1)))},{cache:Re(e.list),strategy:v.variadic}),getDisplayNames:o(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(i.bind.apply(i,Object(r.d)([void 0],e,!1)))},{cache:Re(e.displayNames),strategy:v.variadic})}}(t),i=Object(r.a)(Object(r.a)({},Fe),e),s=i.locale,a=i.defaultLocale,u=i.onError;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&u?u(new Me('Missing locale data for locale: "'.concat(s,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&u&&u(new Me('Missing locale data for locale: "'.concat(s,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(u&&u(new Ie('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),i.locale=i.defaultLocale||"en"),mt(i),Object(r.a)(Object(r.a)({},i),{formatters:n,formatNumber:Qe.bind(null,i,n.getNumberFormat),formatNumberToParts:Ze.bind(null,i,n.getNumberFormat),formatRelativeTime:tt.bind(null,i,n.getRelativeTimeFormat),formatDate:ot.bind(null,i,n.getDateTimeFormat),formatDateToParts:at.bind(null,i,n.getDateTimeFormat),formatTime:it.bind(null,i,n.getDateTimeFormat),formatDateTimeRange:st.bind(null,i,n.getDateTimeFormat),formatTimeToParts:ut.bind(null,i,n.getDateTimeFormat),formatPlural:lt.bind(null,i,n.getPluralRules),formatMessage:Xe.bind(null,i,n),$t:Xe.bind(null,i,n),formatList:ht.bind(null,i,n.getListFormat),formatListToParts:pt.bind(null,i,n.getListFormat),formatDisplayName:gt.bind(null,i,n.getDisplayNames)})}function _t(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=we(o)?(r=o,function(e){return r(Ue.Children.toArray(e))}):o,t},{}):e}var bt=function(e,t,n,o){for(var i=[],s=4;s<arguments.length;s++)i[s-4]=arguments[s];var a=_t(o),u=Xe.apply(void 0,Object(r.d)([e,t,n,a],i,!1));return Array.isArray(u)?Ue.Children.toArray(u):u},Et=function(e,t){var n=e.defaultRichTextElements,o=Object(r.c)(e,["defaultRichTextElements"]),i=_t(n),s=yt(Object(r.a)(Object(r.a)(Object(r.a)({},$e),o),{defaultRichTextElements:i}),t),a={locale:s.locale,timeZone:s.timeZone,fallbackOnEmptyString:s.fallbackOnEmptyString,formats:s.formats,defaultLocale:s.defaultLocale,defaultFormats:s.defaultFormats,messages:s.messages,onError:s.onError,defaultRichTextElements:i};return Object(r.a)(Object(r.a)({},s),{formatMessage:bt.bind(null,a,s.formatters),$t:bt.bind(null,a,s.formatters)})};function St(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var wt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}
14801,t.state={cache:t.cache,intl:Et(St(t.props),t.cache),prevConfig:St(t.props)},t}return Object(r.b)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=St(e);return function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var s=n[i];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}(n,o)?null:{intl:Et(o,r),prevConfig:o}},t.prototype.render=function(){return Ge(this.state.intl),Ue.createElement(Ke,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=$e,t}(Ue.PureComponent);t.a=wt}]]); 14802}catch(e){WRMCB(e)}; 14803; 14804try { 14805/* module-key = 'com.atlassian.ratelimiting.rate-limiting-plugin:entrypoint-rate-limiting-plugin-handler', location = 'rate-limiting-plugin-handler.0617bf3bd159dca1c208.js' */ 14806!function(e){function t(t){for(var n,c,s=t[0],i=t[1],l=t[2],d=0,b=[];d<s.length;d++)c=s[d],Object.prototype.hasOwnProperty.call(a,c)&&a[c]&&b.push(a[c][0]),a[c]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(t);b.length;)b.shift()();return o.push.apply(o,l||[]),r()}function r(){for(var e,t=0;t<o.length;t++){for(var r=o[t],n=!0,s=1;s<r.length;s++){var i=r[s];0!==a[i]&&(n=!1)}n&&(o.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},a={13:0},o=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];return 0===a[e]?Promise.resolve():a[e]?a[e][2]:(t.push(new Promise(function(t,r){a[e]=[t,r]}),new Promise(function(t,r){WRM.require("wrc!com.atlassian.ratelimiting.rate-limiting-plugin:"+e).then(t,r)})),a[e][2]=Promise.all(t))},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e},"undefined"!=typeof AJS&&(c.p=AJS.contextPath()+"/s/DEV_PSEUDO_HASH/_/download/resources/com.atlassian.ratelimiting.rate-limiting-plugin:assets-DEV_PSEUDO_HASH/");var s=window.atlassianWebpackJsonp71606c11fd5f01dab35b839b4460b376=window.atlassianWebpackJsonp71606c11fd5f01dab35b839b4460b376||[],i=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var u=i;o.push([809,0,1]),r()}({0:function(e,t){e.exports=require("atlassian/libs/react")},10:function(e,t,r){"use strict";r.d(t,"s",function(){return n}),r.d(t,"d",function(){return a}),r.d(t,"a",function(){return o}),r.d(t,"b",function(){return c}),r.d(t,"c",function(){return s}),r.d(t,"e",function(){return i}),r.d(t,"f",function(){return l}),r.d(t,"g",function(){return u}),r.d(t,"i",function(){return d}),r.d(t,"k",function(){return b}),r.d(t,"n",function(){return f}),r.d(t,"p",function(){return p}),r.d(t,"h",function(){return v}),r.d(t,"m",function(){return g}),r.d(t,"o",function(){return h}),r.d(t,"q",function(){return m}),r.d(t,"r",function(){return k}),r.d(t,"j",function(){return y}),r.d(t,"l",function(){return _});var n="#FF5630",a="#DEEBFF",o="#2684FF",c="#0065FF",s="#0052CC",i="#0747A6",l="#FFFFFF",u="#FAFBFC",d="#F4F5F7",b="#EBECF0",f="#A5ADBA",p="#97A0AF",v="#7A869A",g="#42526E",h="#253858",m="#172B4D",k="#091E42",y="rgba(9, 30, 66, 0.04)",_="rgba(9, 30, 66, 0.08)"},122:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(3);var a={colorMode:"auto",contrastMode:"auto",dark:"dark",light:"light",shape:function(){if(Object(n.a)("platform-dst-shape-theme-default"))return"shape"},spacing:"spacing",typography:"typography",motion:function(){if(Object(n.a)("platform-dst-motion-theme-default"))return"motion"},UNSAFE_themeOptions:void 0}},123:function(e,t,r){"use strict";
14806Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" d="m14.53 9.97-6-6a.75.75 0 0 0-1.004-.052l-.056.052-6 6 1.06 1.06L8 5.56l5.47 5.47z"/>'},e));c.displayName="ChevronUpIcon";t.default=c},124:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" d="m14.53 6.03-6 6a.75.75 0 0 1-1.004.052l-.056-.052-6-6 1.06-1.06L8 10.44l5.47-5.47z"/>'},e));c.displayName="ChevronDownIcon";t.default=c},125:function(e,t,r){"use strict";var n,a;r.d(t,"a",function(){return c});var 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))&&"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),c=function(){var e;o&&(e=console).debug.apply(e,arguments)}},126:function(e,t,r){"use strict";r.d(t,"b",function(){return p});var n=r(5),a=r.n(n),o=r(0),c=r.n(o),s=r(3),i={appear:!0,isExiting:!1},l=Object(o.createContext)(i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return c.a.createElement(l.Provider,{key:"".concat(e.key,"-provider"),value:t},e)},d=function(e){var t=[];return o.Children.toArray(e).forEach(function(e){"boolean"!=typeof e&&Boolean(e)&&t.push(e)}),t},b=function(e){return e.reduce(function(e,t){return e[t.key]=t,e},{})},f=Object(o.memo)(function(e){var t=e.appear,r=void 0!==t&&t,n=e.children,c=e.exitThenEnter,i=Object(o.useState)([null,n]),l=a()(i,2),f=l[0],p=l[1],v=Object(o.useState)([]),g=a()(v,2),h=g[0],m=g[1],k=Object(o.useState)(function(){return{appear:r,isExiting:!1}}),y=a()(k,2),_=y[0],O=y[1];if(Object(o.useEffect)(function(){_.appear||O({appear:!0,isExiting:!1})},[]),"boolean"==typeof f)return n;var w=a()(f,2),x=w[0],E=w[1],j=d(x),F=d(E);E!==n&&p([E,n]);var C=function(e,t){for(var r=new Set(e.map(function(e){return e.key})),n=new Set,a=0;a<t.length;a++){var o=t[a].key;r.has(o)||n.add(o)}return n}(F,j),A=F;if(!!C.size&&(A=function(e,t){for(var r=t.concat([]),n=b(t),a=0;a<e.length;a++){var o=e[a];!n[o.key]&&r.splice(a+1,0,o)}return r}(F,j)),c)if(h.length)A=Object(s.a)("platform-dst-motion-uplift")?j:h;else{var S=A.filter(function(e){return C.has(e.key)});S.length&&m(S)}return A=C.size?A.map(function(e){var t=C.has(e.key);return u(e,{appear:!0,isExiting:t,onFinish:t?function(){C.delete(e.key),0===C.size&&(p([null,n]),m([]))}:void 0})}):A.map(function(e){return u(e,_)})}),p=function(){return Object(o.useContext)(l)};f.displayName="ExitingPersistence",t.a=f},127:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(206)),o=c(r(207));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="ErrorIconMigration";t.default=s},128:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(212)),o=c(r(213));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="SuccessIconMigration";t.default=s},129:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(215)),o=c(r(216));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="WarningIconMigration";t.default=s},130:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(218)),o=c(r(219));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="CloseIconMigration";t.default=s},131:function(e,t,r){"use strict";
14806Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(123)),o=c(r(221));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="ChevronUpIconMigration";t.default=s},132:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(124)),o=c(r(222));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="ChevronDownIconMigration";t.default=s},133:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(0),a=Object(n.createContext)(0),o=function(e){var t=Object(n.useContext)(a);return[t,t&&(t>6?"div":"h".concat(t))||e]}},136:function(e,t,r){"use strict";r.d(t,"a",function(){return u});var n=r(1),a=r.n(n),o=r(7),c=("--".concat("ds","-token-not-found"),"--".concat("ds","-elevation-surface-current"));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){a()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l={"space.0":"var(--ds-space-0, 0px)","space.025":"var(--ds-space-025, 2px)","space.050":"var(--ds-space-050, 4px)","space.075":"var(--ds-space-075, 6px)","space.100":"var(--ds-space-100, 8px)","space.150":"var(--ds-space-150, 12px)","space.200":"var(--ds-space-200, 16px)","space.250":"var(--ds-space-250, 20px)","space.300":"var(--ds-space-300, 24px)","space.400":"var(--ds-space-400, 32px)","space.500":"var(--ds-space-500, 40px)","space.600":"var(--ds-space-600, 48px)","space.800":"var(--ds-space-800, 64px)","space.1000":"var(--ds-space-1000, 80px)"},u=(i(i({},l),{"space.negative.025":"var(--ds-space-negative-025, -2px)","space.negative.050":"var(--ds-space-negative-050, -4px)","space.negative.075":"var(--ds-space-negative-075, -6px)","space.negative.100":"var(--ds-space-negative-100, -8px)","space.negative.150":"var(--ds-space-negative-150, -12px)","space.negative.200":"var(--ds-space-negative-200, -16px)","space.negative.250":"var(--ds-space-negative-250, -20px)","space.negative.300":"var(--ds-space-negative-300, -24px)","space.negative.400":"var(--ds-space-negative-400, -32px)"}),{"color.background.neutral.bold":"color.text.inverse","color.background.neutral.bold.hovered":"color.text.inverse","color.background.neutral.bold.pressed":"color.text.inverse","color.background.selected.bold":"color.text.inverse","color.background.selected.bold.hovered":"color.text.inverse","color.background.selected.bold.pressed":"color.text.inverse","color.background.brand.bold":"color.text.inverse","color.background.brand.bold.hovered":"color.text.inverse","color.background.brand.bold.pressed":"color.text.inverse","color.background.brand.boldest":"color.text.inverse","color.background.brand.boldest.hovered":"color.text.inverse","color.background.brand.boldest.pressed":"color.text.inverse","color.background.danger.bold":"color.text.inverse","color.background.danger.bold.hovered":"color.text.inverse","color.background.danger.bold.pressed":"color.text.inverse","color.background.warning.bold":"color.text.warning.inverse","color.background.warning.bold.hovered":"color.text.warning.inverse","color.background.warning.bold.pressed":"color.text.warning.inverse","color.background.success.bold":"color.text.inverse","color.background.success.bold.hovered":"color.text.inverse","color.background.success.bold.pressed":"color.text.inverse","color.background.discovery.bold":"color.text.inverse","color.background.discovery.bold.hovered":"color.text.inverse","color.background.discovery.bold.pressed":"color.text.inverse","color.background.information.bold":"color.text.inverse","color.background.information.bold.hovered":"color.text.inverse","color.background.information.bold.pressed":"color.text.inverse"}),d={"elevation.surface":"var(--ds-surface, #FFFFFF)","elevation.surface.hovered":"var(--ds-surface-hovered, #F0F1F2)","elevation.surface.pressed":"var(--ds-surface-pressed, #DDDEE1)","elevation.surface.overlay":"var(--ds-surface-overlay, #FFFFFF)","elevation.surface.overlay.hovered":"var(--ds-surface-overlay-hovered, #F0F1F2)","elevation.surface.overlay.pressed":"var(--ds-surface-overlay-pressed, #DDDEE1)","elevation.surface.raised":"var(--ds-surface-raised, #FFFFFF)","elevation.surface.raised.hovered":"var(--ds-surface-raised-hovered, #F0F1F2)","elevation.surface.raised.pressed":"var(--ds-surface-raised-pressed, #DDDEE1)","elevation.surface.sunken":"var(--ds-surface-sunken, #F8F8F8)"},b=["padding","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","gap","rowGap","columnGap"],f=function(e,t){return Object.keys(t).reduce(function(r,n){return r[n]=Object(o.b)(a()({},e,t[n])),r},{})};b.reduce(function(e,t){return e[t]=f(t,l),e},{}),b.reduce(function(e,t){return e[t]=f(t,l),e},{}),f("backgroundColor",{"color.background.accent.lime.subtlest":"var(--ds-background-accent-lime-subtlest, #EFFFD6)","color.background.accent.lime.subtlest.hovered":"var(--ds-background-accent-lime-subtlest-hovered, #D3F1A7)","color.background.accent.lime.subtlest.pressed":"var(--ds-background-accent-lime-subtlest-pressed, #BDE97C)","color.background.accent.lime.subtler":"var(--ds-background-accent-lime-subtler, #D3F1A7)","color.background.accent.lime.subtler.hovered":"var(--ds-background-accent-lime-subtler-hovered, #BDE97C)","color.background.accent.lime.subtler.pressed":"var(--ds-background-accent-lime-subtler-pressed, #B3DF72)","color.background.accent.lime.subtle":"var(--ds-background-accent-lime-subtle, #94C748)","color.background.accent.lime.subtle.hovered":"var(--ds-background-accent-lime-subtle-hovered, #B3DF72)","color.background.accent.lime.subtle.pressed":"var(--ds-background-accent-lime-subtle-pressed, #BDE97C)","color.background.accent.lime.bolder":"var(--ds-background-accent-lime-bolder, #5B7F24)","color.background.accent.lime.bolder.hovered":"var(--ds-background-accent-lime-bolder-hovered, #4C6B1F)","color.background.accent.lime.bolder.pressed":"var(--ds-background-accent-lime-bolder-pressed, #3F5224)","color.background.accent.red.subtlest":"var(--ds-background-accent-red-subtlest, #FFECEB)","color.background.accent.red.subtlest.hovered":"var(--ds-background-accent-red-subtlest-hovered, #FFD5D2)","color.background.accent.red.subtlest.pressed":"var(--ds-background-accent-red-subtlest-pressed, #FFB8B2)","color.background.accent.red.subtler":"var(--ds-background-accent-red-subtler, #FFD5D2)","color.background.accent.red.subtler.hovered":"var(--ds-background-accent-red-subtler-hovered, #FFB8B2)","color.background.accent.red.subtler.pressed":"var(--ds-background-accent-red-subtler-pressed, #FD9891)","color.background.accent.red.subtle":"var(--ds-background-accent-red-subtle, #F87168)","color.background.accent.red.subtle.hovered":"var(--ds-background-accent-red-subtle-hovered, #FD9891)","color.background.accent.red.subtle.pressed":"var(--ds-background-accent-red-subtle-pressed, #FFB8B2)","color.background.accent.red.bolder":"var(--ds-background-accent-red-bolder, #C9372C)","color.background.accent.red.bolder.hovered":"var(--ds-background-accent-red-bolder-hovered, #AE2E24)","color.background.accent.red.bolder.pressed":"var(--ds-background-accent-red-bolder-pressed, #872821)","color.background.accent.orange.subtlest":"var(--ds-background-accent-orange-subtlest, #FFF5DB)","color.background.accent.orange.subtlest.hovered":"var(--ds-background-accent-orange-subtlest-hovered, #FCE4A6)","color.background.accent.orange.subtlest.pressed":"var(--ds-background-accent-orange-subtlest-pressed, #FBD779)","color.background.accent.orange.subtler":"var(--ds-background-accent-orange-subtler, #FCE4A6)","color.background.accent.orange.subtler.hovered":"var(--ds-background-accent-orange-subtler-hovered, #FBD779)","color.background.accent.orange.subtler.pressed":"var(--ds-background-accent-orange-subtler-pressed, #FBC828)","color.background.accent.orange.subtle":"var(--ds-background-accent-orange-subtle, #FCA700)","color.background.accent.orange.subtle.hovered":"var(--ds-background-accent-orange-subtle-hovered, #FBC828)","color.background.accent.orange.subtle.pressed":"var(--ds-background-accent-orange-subtle-pressed, #FBD779)","color.background.accent.orange.bolder":"var(--ds-background-accent-orange-bolder, #BD5B00)","color.background.accent.orange.bolder.hovered":"var(--ds-background-accent-orange-bolder-hovered, #9E4C00)","color.background.accent.orange.bolder.pressed":"var(--ds-background-accent-orange-bolder-pressed, #7A3B00)","color.background.accent.yellow.subtlest":"var(--ds-background-accent-yellow-subtlest, #FEF7C8)","color.background.accent.yellow.subtlest.hovered":"var(--ds-background-accent-yellow-subtlest-hovered, #F5E989)","color.background.accent.yellow.subtlest.pressed":"var(--ds-background-accent-yellow-subtlest-pressed, #EFDD4E)","color.background.accent.yellow.subtler":"var(--ds-background-accent-yellow-subtler, #F5E989)","color.background.accent.yellow.subtler.hovered":"var(--ds-background-accent-yellow-subtler-hovered, #EFDD4E)","color.background.accent.yellow.subtler.pressed":"var(--ds-background-accent-yellow-subtler-pressed, #EED12B)","color.background.accent.yellow.subtle":"var(--ds-background-accent-yellow-subtle, #EED12B)","color.background.accent.yellow.subtle.hovered":"var(--ds-background-accent-yellow-subtle-hovered, #DDB30E)","color.background.accent.yellow.subtle.pressed":"var(--ds-background-accent-yellow-subtle-pressed, #EFDD4E)","color.background.accent.yellow.bolder":"var(--ds-background-accent-yellow-bolder, #946F00)","color.background.accent.yellow.bolder.hovered":"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)","color.background.accent.yellow.bolder.pressed":"var(--ds-background-accent-yellow-bolder-pressed, #614A05)","color.background.accent.green.subtlest":"var(--ds-background-accent-green-subtlest, #DCFFF1)","color.background.accent.green.subtlest.hovered":"var(--ds-background-accent-green-subtlest-hovered, #BAF3DB)","color.background.accent.green.subtlest.pressed":"var(--ds-background-accent-green-subtlest-pressed, #97EDC9)","color.background.accent.green.subtler":"var(--ds-background-accent-green-subtler, #BAF3DB)","color.background.accent.green.subtler.hovered":"var(--ds-background-accent-green-subtler-hovered, #97EDC9)","color.background.accent.green.subtler.pressed":"var(--ds-background-accent-green-subtler-pressed, #7EE2B8)","color.background.accent.green.subtle":"var(--ds-background-accent-green-subtle, #4BCE97)","color.background.accent.green.subtle.hovered":"var(--ds-background-accent-green-subtle-hovered, #7EE2B8)","color.background.accent.green.subtle.pressed":"var(--ds-background-accent-green-subtle-pressed, #97EDC9)","color.background.accent.green.bolder":"var(--ds-background-accent-green-bolder, #1F845A)","color.background.accent.green.bolder.hovered":"var(--ds-background-accent-green-bolder-hovered, #216E4E)","color.background.accent.green.bolder.pressed":"var(--ds-background-accent-green-bolder-pressed, #19573D)","color.background.accent.teal.subtlest":"var(--ds-background-accent-teal-subtlest, #E7F9FF)","color.background.accent.teal.subtlest.hovered":"var(--ds-background-accent-teal-subtlest-hovered, #C6EDFB)","color.background.accent.teal.subtlest.pressed":"var(--ds-background-accent-teal-subtlest-pressed, #B1E4F7)","color.background.accent.teal.subtler":"var(--ds-background-accent-teal-subtler, #C6EDFB)","color.background.accent.teal.subtler.hovered":"var(--ds-background-accent-teal-subtler-hovered, #B1E4F7)","color.background.accent.teal.subtler.pressed":"var(--ds-background-accent-teal-subtler-pressed, #9DD9EE)","color.background.accent.teal.subtle":"var(--ds-background-accent-teal-subtle, #6CC3E0)","color.background.accent.teal.subtle.hovered":"var(--ds-background-accent-teal-subtle-hovered, #9DD9EE)","color.background.accent.teal.subtle.pressed":"var(--ds-background-accent-teal-subtle-pressed, #B1E4F7)","color.background.accent.teal.bolder":"var(--ds-background-accent-teal-bolder, #227D9B)","color.background.accent.teal.bolder.hovered":"var(--ds-background-accent-teal-bolder-hovered, #206A83)","color.background.accent.teal.bolder.pressed":"var(--ds-background-accent-teal-bolder-pressed, #1A5265)","color.background.accent.blue.subtlest":"var(--ds-background-accent-blue-subtlest, #E9F2FE)","color.background.accent.blue.subtlest.hovered":"var(--ds-background-accent-blue-subtlest-hovered, #CFE1FD)","color.background.accent.blue.subtlest.pressed":"var(--ds-background-accent-blue-subtlest-pressed, #ADCBFB)","color.background.accent.blue.subtler":"var(--ds-background-accent-blue-subtler, #CFE1FD)","color.background.accent.blue.subtler.hovered":"var(--ds-background-accent-blue-subtler-hovered, #ADCBFB)","color.background.accent.blue.subtler.pressed":"var(--ds-background-accent-blue-subtler-pressed, #8FB8F6)","color.background.accent.blue.subtle":"var(--ds-background-accent-blue-subtle, #669DF1)","color.background.accent.blue.subtle.hovered":"var(--ds-background-accent-blue-subtle-hovered, #8FB8F6)","color.background.accent.blue.subtle.pressed":"var(--ds-background-accent-blue-subtle-pressed, #ADCBFB)","color.background.accent.blue.bolder":"var(--ds-background-accent-blue-bolder, #1868DB)","color.background.accent.blue.bolder.hovered":"var(--ds-background-accent-blue-bolder-hovered, #1558BC)","color.background.accent.blue.bolder.pressed":"var(--ds-background-accent-blue-bolder-pressed, #144794)","color.background.accent.purple.subtlest":"var(--ds-background-accent-purple-subtlest, #F8EEFE)","color.background.accent.purple.subtlest.hovered":"var(--ds-background-accent-purple-subtlest-hovered, #EED7FC)","color.background.accent.purple.subtlest.pressed":"var(--ds-background-accent-purple-subtlest-pressed, #E3BDFA)","color.background.accent.purple.subtler":"var(--ds-background-accent-purple-subtler, #EED7FC)","color.background.accent.purple.subtler.hovered":"var(--ds-background-accent-purple-subtler-hovered, #E3BDFA)","color.background.accent.purple.subtler.pressed":"var(--ds-background-accent-purple-subtler-pressed, #D8A0F7)","color.background.accent.purple.subtle":"var(--ds-background-accent-purple-subtle, #C97CF4)","color.background.accent.purple.subtle.hovered":"var(--ds-background-accent-purple-subtle-hovered, #D8A0F7)","color.background.accent.purple.subtle.pressed":"var(--ds-background-accent-purple-subtle-pressed, #E3BDFA)","color.background.accent.purple.bolder":"var(--ds-background-accent-purple-bolder, #964AC0)","color.background.accent.purple.bolder.hovered":"var(--ds-background-accent-purple-bolder-hovered, #803FA5)","color.background.accent.purple.bolder.pressed":"var(--ds-background-accent-purple-bolder-pressed, #673286)","color.background.accent.magenta.subtlest":"var(--ds-background-accent-magenta-subtlest, #FFECF8)","color.background.accent.magenta.subtlest.hovered":"var(--ds-background-accent-magenta-subtlest-hovered, #FDD0EC)","color.background.accent.magenta.subtlest.pressed":"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)","color.background.accent.magenta.subtler":"var(--ds-background-accent-magenta-subtler, #FDD0EC)","color.background.accent.magenta.subtler.hovered":"var(--ds-background-accent-magenta-subtler-hovered, #FCB6E1)","color.background.accent.magenta.subtler.pressed":"var(--ds-background-accent-magenta-subtler-pressed, #F797D2)","color.background.accent.magenta.subtle":"var(--ds-background-accent-magenta-subtle, #E774BB)","color.background.accent.magenta.subtle.hovered":"var(--ds-background-accent-magenta-subtle-hovered, #F797D2)","color.background.accent.magenta.subtle.pressed":"var(--ds-background-accent-magenta-subtle-pressed, #FCB6E1)","color.background.accent.magenta.bolder":"var(--ds-background-accent-magenta-bolder, #AE4787)","color.background.accent.magenta.bolder.hovered":"var(--ds-background-accent-magenta-bolder-hovered, #94
148063D73)","color.background.accent.magenta.bolder.pressed":"var(--ds-background-accent-magenta-bolder-pressed, #77325B)","color.background.accent.gray.subtlest":"var(--ds-background-accent-gray-subtlest, #F0F1F2)","color.background.accent.gray.subtlest.hovered":"var(--ds-background-accent-gray-subtlest-hovered, #DDDEE1)","color.background.accent.gray.subtlest.pressed":"var(--ds-background-accent-gray-subtlest-pressed, #B7B9BE)","color.background.accent.gray.subtler":"var(--ds-background-accent-gray-subtler, #DDDEE1)","color.background.accent.gray.subtler.hovered":"var(--ds-background-accent-gray-subtler-hovered, #B7B9BE)","color.background.accent.gray.subtler.pressed":"var(--ds-background-accent-gray-subtler-pressed, #8C8F97)","color.background.accent.gray.subtle":"var(--ds-background-accent-gray-subtle, #8C8F97)","color.background.accent.gray.subtle.hovered":"var(--ds-background-accent-gray-subtle-hovered, #B7B9BE)","color.background.accent.gray.subtle.pressed":"var(--ds-background-accent-gray-subtle-pressed, #DDDEE1)","color.background.accent.gray.bolder":"var(--ds-background-accent-gray-bolder, #6B6E76)","color.background.accent.gray.bolder.hovered":"var(--ds-background-accent-gray-bolder-hovered, #505258)","color.background.accent.gray.bolder.pressed":"var(--ds-background-accent-gray-bolder-pressed, #3B3D42)","color.background.disabled":"var(--ds-background-disabled, #0515240F)","color.background.input":"var(--ds-background-input, #FFFFFF)","color.background.input.hovered":"var(--ds-background-input-hovered, #F8F8F8)","color.background.input.pressed":"var(--ds-background-input-pressed, #FFFFFF)","color.background.inverse.subtle":"var(--ds-background-inverse-subtle, #00000029)","color.background.inverse.subtle.hovered":"var(--ds-background-inverse-subtle-hovered, #0000003D)","color.background.inverse.subtle.pressed":"var(--ds-background-inverse-subtle-pressed, #00000052)","color.background.neutral":"var(--ds-background-neutral, #0515240F)","color.background.neutral.hovered":"var(--ds-background-neutral-hovered, #0B120E24)","color.background.neutral.pressed":"var(--ds-background-neutral-pressed, #080F214A)","color.background.neutral.subtle":"var(--ds-background-neutral-subtle, #00000000)","color.background.neutral.subtle.hovered":"var(--ds-background-neutral-subtle-hovered, #0515240F)","color.background.neutral.subtle.pressed":"var(--ds-background-neutral-subtle-pressed, #0B120E24)","color.background.neutral.bold":"var(--ds-background-neutral-bold, #292A2E)","color.background.neutral.bold.hovered":"var(--ds-background-neutral-bold-hovered, #3B3D42)","color.background.neutral.bold.pressed":"var(--ds-background-neutral-bold-pressed, #505258)","color.background.selected":"var(--ds-background-selected, #E9F2FE)","color.background.selected.hovered":"var(--ds-background-selected-hovered, #CFE1FD)","color.background.selected.pressed":"var(--ds-background-selected-pressed, #8FB8F6)","color.background.selected.bold":"var(--ds-background-selected-bold, #1868DB)","color.background.selected.bold.hovered":"var(--ds-background-selected-bold-hovered, #1558BC)","color.background.selected.bold.pressed":"var(--ds-background-selected-bold-pressed, #123263)","color.background.brand.subtlest":"var(--ds-background-brand-subtlest, #E9F2FE)","color.background.brand.subtlest.hovered":"var(--ds-background-brand-subtlest-hovered, #CFE1FD)","color.background.brand.subtlest.pressed":"var(--ds-background-brand-subtlest-pressed, #ADCBFB)","color.background.brand.bold":"var(--ds-background-brand-bold, #1868DB)","color.background.brand.bold.hovered":"var(--ds-background-brand-bold-hovered, #1558BC)","color.background.brand.bold.pressed":"var(--ds-background-brand-bold-pressed, #144794)","color.background.brand.boldest":"var(--ds-background-brand-boldest, #1C2B42)","color.background.brand.boldest.hovered":"var(--ds-background-brand-boldest-hovered, #123263)","color.background.brand.boldest.pressed":"var(--ds-background-brand-boldest-pressed, #144794)","color.background.danger":"var(--ds-background-danger, #FFECEB)","color.background.danger.hovered":"var(--ds-background-danger-hovered, #FFD5D2)","color.background.danger.pressed":"var(--ds-background-danger-pressed, #FFB8B2)","color.background.danger.subtler":"var(--ds-background-danger-subtler, #FFD5D2)","color.background.danger.subtler.hovered":"var(--ds-background-danger-subtler-hovered, #FFB8B2)","color.background.danger.subtler.pressed":"var(--ds-background-danger-subtler-pressed, #FD9891)","color.background.danger.subtle":"var(--ds-background-danger-subtle, #FD9891)","color.background.danger.bold":"var(--ds-background-danger-bold, #C9372C)","color.background.danger.bold.hovered":"var(--ds-background-danger-bold-hovered, #AE2E24)","color.background.danger.bold.pressed":"var(--ds-background-danger-bold-pressed, #872821)","color.background.warning":"var(--ds-background-warning, #FFF5DB)","color.background.warning.hovered":"var(--ds-background-warning-hovered, #FCE4A6)","color.background.warning.pressed":"var(--ds-background-warning-pressed, #FBD779)","color.background.warning.subtler":"var(--ds-background-warning-subtler, #FCE4A6)","color.background.warning.subtler.hovered":"var(--ds-background-warning-subtler-hovered, #FBD779)","color.background.warning.subtler.pressed":"var(--ds-background-warning-subtler-pressed, #FBC828)","color.background.warning.subtle":"var(--ds-background-warning-subtle, #FBD779)","color.background.warning.bold":"var(--ds-background-warning-bold, #FBC828)","color.background.warning.bold.hovered":"var(--ds-background-warning-bold-hovered, #FCA700)","color.background.warning.bold.pressed":"var(--ds-background-warning-bold-pressed, #F68909)","color.background.success":"var(--ds-background-success, #EFFFD6)","color.background.success.hovered":"var(--ds-background-success-hovered, #D3F1A7)","color.background.success.pressed":"var(--ds-background-success-pressed, #BDE97C)","color.background.success.subtler":"var(--ds-background-success-subtler, #D3F1A7)","color.background.success.subtler.hovered":"var(--ds-background-success-subtler-hovered, #BDE97C)","color.background.success.subtler.pressed":"var(--ds-background-success-subtler-pressed, #B3DF72)","color.background.success.subtle":"var(--ds-background-success-subtle, #B3DF72)","color.background.success.bold":"var(--ds-background-success-bold, #5B7F24)","color.background.success.bold.hovered":"var(--ds-background-success-bold-hovered, #4C6B1F)","color.background.success.bold.pressed":"var(--ds-background-success-bold-pressed, #3F5224)","color.background.discovery":"var(--ds-background-discovery, #F8EEFE)","color.background.discovery.hovered":"var(--ds-background-discovery-hovered, #EED7FC)","color.background.discovery.pressed":"var(--ds-background-discovery-pressed, #E3BDFA)","color.background.discovery.subtler":"var(--ds-background-discovery-subtler, #EED7FC)","color.background.discovery.subtler.hovered":"var(--ds-background-discovery-subtler-hovered, #E3BDFA)","color.background.discovery.subtler.pressed":"var(--ds-background-discovery-subtler-pressed, #D8A0F7)","color.background.discovery.subtle":"var(--ds-background-discovery-subtle, #D8A0F7)","color.background.discovery.bold":"var(--ds-background-discovery-bold, #964AC0)","color.background.discovery.bold.hovered":"var(--ds-background-discovery-bold-hovered, #803FA5)","color.background.discovery.bold.pressed":"var(--ds-background-discovery-bold-pressed, #673286)","color.background.information":"var(--ds-background-information, #E9F2FE)","color.background.information.hovered":"var(--ds-background-information-hovered, #CFE1FD)","color.background.information.pressed":"var(--ds-background-information-pressed, #ADCBFB)","color.background.information.subtler":"var(--ds-background-information-subtler, #CFE1FD)","color.background.information.subtler.hovered":"var(--ds-background-information-subtler-hovered, #ADCBFB)","color.background.information.subtler.pressed":"var(--ds-background-information-subtler-pressed, #8FB8F6)","color.background.information.subtle":"var(--ds-background-information-subtle, #8FB8F6)","color.background.information.bold":"var(--ds-background-information-bold, #1868DB)","color.background.information.bold.hovered":"var(--ds-background-information-bold-hovered, #1558BC)","color.background.information.bold.pressed":"var(--ds-background-information-bold-pressed, #144794)","color.blanket":"var(--ds-blanket, #050C1F75)","color.blanket.selected":"var(--ds-blanket-selected, #388BFF14)","color.blanket.danger":"var(--ds-blanket-danger, #EF5C4814)","color.skeleton":"var(--ds-skeleton, #0515240F)","color.skeleton.subtle":"var(--ds-skeleton-subtle, #17171708)","elevation.surface":"var(--ds-surface, #FFFFFF)","elevation.surface.hovered":"var(--ds-surface-hovered, #F0F1F2)","elevation.surface.pressed":"var(--ds-surface-pressed, #DDDEE1)","elevation.surface.overlay":"var(--ds-surface-overlay, #FFFFFF)","elevation.surface.overlay.hovered":"var(--ds-surface-overlay-hovered, #F0F1F2)","elevation.surface.overlay.pressed":"var(--ds-surface-overlay-pressed, #DDDEE1)","elevation.surface.raised":"var(--ds-surface-raised, #FFFFFF)","elevation.surface.raised.hovered":"var(--ds-surface-raised-hovered, #F0F1F2)","elevation.surface.raised.pressed":"var(--ds-surface-raised-pressed, #DDDEE1)","elevation.surface.sunken":"var(--ds-surface-sunken, #F8F8F8)","utility.elevation.surface.current":"var(--ds-elevation-surface-current, #FFFFFF)"}),f("color",{"color.text":"var(--ds-text, #292A2E)","color.text.accent.lime":"var(--ds-text-accent-lime, #4C6B1F)","color.text.accent.lime.bolder":"var(--ds-text-accent-lime-bolder, #37471F)","color.text.accent.red":"var(--ds-text-accent-red, #AE2E24)","color.text.accent.red.bolder":"var(--ds-text-accent-red-bolder, #5D1F1A)","color.text.accent.orange":"var(--ds-text-accent-orange, #9E4C00)","color.text.accent.orange.bolder":"var(--ds-text-accent-orange-bolder, #693200)","color.text.accent.yellow":"var(--ds-text-accent-yellow, #7F5F01)","color.text.accent.yellow.bolder":"var(--ds-text-accent-yellow-bolder, #533F04)","color.text.accent.green":"var(--ds-text-accent-green, #216E4E)","color.text.accent.green.bolder":"var(--ds-text-accent-green-bolder, #164B35)","color.text.accent.teal":"var(--ds-text-accent-teal, #206A83)","color.text.accent.teal.bolder":"var(--ds-text-accent-teal-bolder, #164555)","color.text.accent.blue":"var(--ds-text-accent-blue, #1558BC)","color.text.accent.blue.bolder":"var(--ds-text-accent-blue-bolder, #123263)","color.text.accent.purple":"var(--ds-text-accent-purple, #803FA5)","color.text.accent.purple.bolder":"var(--ds-text-accent-purple-bolder, #48245D)","color.text.accent.magenta":"var(--ds-text-accent-magenta, #943D73)","color.text.accent.magenta.bolder":"var(--ds-text-accent-magenta-bolder, #50253F)","color.text.accent.gray":"var(--ds-text-accent-gray, #505258)","color.text.accent.gray.bolder":"var(--ds-text-accent-gray-bolder, #1E1F21)","color.text.disabled":"var(--ds-text-disabled, #080F214A)","color.text.inverse":"var(--ds-text-inverse, #FFFFFF)","color.text.selected":"var(--ds-text-selected, #1868DB)","color.text.brand":"var(--ds-text-brand, #1868DB)","color.text.danger":"var(--ds-text-danger, #AE2E24)","color.text.danger.bolder":"var(--ds-text-danger-bolder, #5D1F1A)","color.text.warning":"var(--ds-text-warning, #9E4C00)","color.text.warning.inverse":"var(--ds-text-warning-inverse, #292A2E)","color.text.warning.bolder":"var(--ds-text-warning-bolder, #693200)","color.text.success":"var(--ds-text-success, #4C6B1F)","color.text.success.bolder":"var(--ds-text-success-bolder, #37471F)","color.text.discovery":"var(--ds-text-discovery, #8
1480603FA5)","color.text.discovery.bolder":"var(--ds-text-discovery-bolder, #48245D)","color.text.information":"var(--ds-text-information, #1558BC)","color.text.information.bolder":"var(--ds-text-information-bolder, #123263)","color.text.subtlest":"var(--ds-text-subtlest, #6B6E76)","color.text.subtle":"var(--ds-text-subtle, #505258)","color.link":"var(--ds-link, #1868DB)","color.link.pressed":"var(--ds-link-pressed, #1558BC)","color.link.visited":"var(--ds-link-visited, #803FA5)","color.link.visited.pressed":"var(--ds-link-visited-pressed, #48245D)"}),f("fontWeight",{"font.weight.bold":"var(--ds-font-weight-bold, 653)","font.weight.medium":"var(--ds-font-weight-medium, 500)","font.weight.regular":"var(--ds-font-weight-regular, 400)","font.weight.semibold":"var(--ds-font-weight-semibold, 600)"}),f("fontFamily",{"font.family.body":'var(--ds-font-family-body, "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.family.brand.body":'var(--ds-font-family-brand-body, "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.family.brand.heading":'var(--ds-font-family-brand-heading, "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.family.code":'var(--ds-font-family-code, "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace)',"font.family.heading":'var(--ds-font-family-heading, "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)'}),f("font",{"font.body":'var(--ds-font-body, normal 400 14px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.body.large":'var(--ds-font-body-large, normal 400 16px/24px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.body.small":'var(--ds-font-body-small, normal 400 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.code":'var(--ds-font-code, normal 400 0.875em/1 "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace)',"font.heading.large":'var(--ds-font-heading-large, normal 653 24px/28px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.heading.medium":'var(--ds-font-heading-medium, normal 653 20px/24px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.heading.small":'var(--ds-font-heading-small, normal 653 16px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.heading.xlarge":'var(--ds-font-heading-xlarge, normal 653 28px/32px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.heading.xsmall":'var(--ds-font-heading-xsmall, normal 653 14px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.heading.xxlarge":'var(--ds-font-heading-xxlarge, normal 653 32px/36px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.heading.xxsmall":'var(--ds-font-heading-xxsmall, normal 653 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.metric.large":'var(--ds-font-metric-large, normal 653 28px/32px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.metric.medium":'var(--ds-font-metric-medium, normal 653 24px/28px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',"font.metric.small":'var(--ds-font-metric-small, normal
14806653 16px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)'}),f("font",{medium:'var(--ds-font-body, normal 400 14px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',large:'var(--ds-font-body-large, normal 400 16px/24px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',small:'var(--ds-font-body-small, normal 400 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)'}),f("fontWeight",{bold:"var(--ds-font-weight-bold, 653)",medium:"var(--ds-font-weight-medium, 500)",regular:"var(--ds-font-weight-regular, 400)",semibold:"var(--ds-font-weight-semibold, 600)"}),f(c,d),f("font",{large:'var(--ds-font-metric-large, normal 653 28px/32px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',medium:'var(--ds-font-metric-medium, normal 653 24px/28px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)',small:'var(--ds-font-metric-small, normal 653 16px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif)'})},20:function(e,t,r){"use strict";var n=r(0);t.a=Object(n.createContext)(null)},206:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M6.586.604a2 2 0 0 1 2.828 0l5.982 5.982a2 2 0 0 1 0 2.828l-5.982 5.983a2 2 0 0 1-2.828 0L.604 9.414a2 2 0 0 1 0-2.828zM7.25 9V3.75h1.5V9zM8 12.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>'},e));c.displayName="ErrorIcon";t.default=c},207:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(208));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M13.416 4.417a2 2 0 0 0-2.832 0l-6.168 6.167a2 2 0 0 0 0 2.833l6.168 6.167a2 2 0 0 0 2.832 0l6.168-6.167a2 2 0 0 0 0-2.833z"/><path fill="inherit" d="M12 14a1 1 0 0 1-1-1V8a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1m0 3a1 1 0 0 1 0-2 1 1 0 0 1 0 2"/></g></svg>'},e,{newIcon:o.default}));s.displayName="ErrorIcon";t.default=s},208:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M6.586.603a2 2 0 0 1 2.828 0l5.983 5.983a2 2 0 0 1 0 2.828l-5.983 5.982a2 2 0 0 1-2.828 0L.604 9.414a2 2 0 0 1 0-2.828zM8 10.25a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-.75-6.5V9h1.5V3.75z" clip-rule="evenodd"/>'},e));c.displayName="StatusErrorIcon";t.default=c},209:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m6.5-1.25H8a.75.75 0 0 1 .75.75v5h-1.5V8.25H6.5zM8 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>'},e));c.displayName="InformationIcon";t.default=c},21:function(e,t,r){"use strict";r.d(t,"e",function(){return n}),r.d(t,"d",function(){return a}),r.d(t,"a",function(){return o}),r.d(t,"b",function(){return c}),r.d(t,"c",function(){return s});var n="data-theme",a="data-subtree-theme",o="data-color-mode",c="data-contrast-mode",s="data-custom-theme";"--".concat("ds","-token-not-found"),"--".concat("ds","-elevation-surface-current")},210:function(e,t,r){"use strict";
14806Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(211));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2 2 6.477 2 12"/><rect width="2" height="7" x="11" y="10" fill="inherit" rx="1"/><circle cx="12" cy="8" r="1" fill="inherit"/></g></svg>'},e,{newIcon:o.default}));s.displayName="InfoIcon";t.default=s},211:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M6.5 6.75v1.5h.75v4.25h1.5v-5A.75.75 0 0 0 8 6.75zM8 3.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2" clip-rule="evenodd"/>'},e));c.displayName="StatusInformationIcon";t.default=c},212:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m12.326-2.52-1.152-.96L6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z" clip-rule="evenodd"/>'},e));c.displayName="SuccessIcon";t.default=c},213:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(214));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><circle cx="12" cy="12" r="10" fill="currentcolor"/><path fill="inherit" d="M9.707 11.293a1 1 0 1 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 1 0-1.414-1.414L11 12.586z"/></g></svg>'},e,{newIcon:o.default}));s.displayName="CheckCircleIcon";t.default=s},214:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0l5-6-1.152-.96z" clip-rule="evenodd"/>'},e));c.displayName="StatusSuccessIcon";t.default=c},215:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M6.242 1.169c.757-1.396 2.76-1.396 3.516 0l5.9 10.878C16.381 13.379 15.416 15 13.9 15H2.1C.584 15-.38 13.38.342 12.047zM7.25 9.5v-5h1.5v5zM8 12.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>'},e));c.displayName="WarningIcon";t.default=c},216:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(217));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M12.938 4.967c-.518-.978-1.36-.974-1.876 0L3.938 18.425c-.518.978-.045 1.771 1.057 1.771h14.01c1.102 0 1.573-.797 1.057-1.771z"/><path fill="inherit" d="M12 15a1 1 0 0 1-1-1V9a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1m0 3a1 1 0 0 1 0-2 1 1 0 0 1 0 2"/></g></svg>'},e,{newIcon:o.default}));s.displayName="WarningIcon";t.default=s},217:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));
14806function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M6.242 1.168c.756-1.395 2.76-1.395 3.516 0l5.9 10.878c.723 1.333-.242 2.953-1.758 2.953H2.1C.584 15-.38 13.38.342 12.046zM8 10.75a1 1 0 1 0 0 2.001 1 1 0 0 0 0-2M7.25 4.5v5h1.5v-5z" clip-rule="evenodd"/>'},e));c.displayName="StatusWarningIcon";t.default=c},218:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="m9.06 8 4.97-4.97-1.06-1.06L8 6.94 3.03 1.97 1.97 3.03 6.94 8l-4.97 4.97 1.06 1.06L8 9.06l4.97 4.97 1.06-1.06z" clip-rule="evenodd"/>'},e));c.displayName="CloseIcon";t.default=c},219:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(220));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" d="M12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.414L10.586 12l-5.293 5.293a1 1 0 0 0 1.414 1.414L12 13.414l5.293 5.293a1 1 0 0 0 1.414-1.414L13.414 12l5.293-5.293a1 1 0 1 0-1.414-1.414z"/></svg>'},e,{newIcon:o.default}));s.displayName="CrossIcon";t.default=s},220:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(35));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" d="M14.03 3.03 9.06 8l4.97 4.97-1.06 1.06L8 9.06l-4.97 4.97-1.06-1.06L6.94 8 1.97 3.03l1.06-1.06L8 6.94l4.97-4.97z"/>'},e));c.displayName="CrossIcon";t.default=c},221:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(123));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="m11.294 8.708-4.549 4.559a1.051 1.051 0 1 0 1.486 1.488l.001-.001 3.77-3.776 3.768 3.776a1.05 1.05 0 0 0 1.486.001h.001a1.054 1.054 0 0 0 .001-1.489L12.71 8.708a1 1 0 0 0-1.415-.001"/></svg>'},e,{newIcon:o.default}));s.displayName="HipchatChevronUpIcon";t.default=s},222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=r(48),o=c(r(124));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" d="M6.744 8.744a1.053 1.053 0 0 0 0 1.49l4.547 4.557a1 1 0 0 0 1.416 0l4.55-4.558a1.051 1.051 0 1 0-1.488-1.488l-3.77 3.776-3.768-3.776a1.05 1.05 0 0 0-1.487 0"/></svg>'},e,{newIcon:o.default}));s.displayName="HipchatChevronDownIcon";t.default=s},229:function(e,t,r){"use strict";r.d(t,"a",function(){return a});const n=5;function a(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const r of e){if(!r)continue;const e=r.split(" ");for(const r of e){t[r.startsWith("_")?r.slice(0,n):r]=r}}let r="";for(const e in t)r+=t[e]+" ";return r?r.trimEnd():void 0}},232:function(e,t,r){"use strict";var n=r(13),a=r.n(n),o=r(14),c=r.n(o),s=r(1),i=r.n(s),l=r(4),u=r.n(l),d=r(5),b=r.n(d),f=r(16),p=r.n(f),v=r(6),g=r.n(v),h=r(33),m=r(166),k=r.n(m);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?y(Object(r),!0).forEach(function(t){i()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var O="@all-features",w=function(){return c()(function e(){a()(this,e),i()(this,"eventToValue",new Map),this.emitter=new k.a},[{key:"onGateUpdated",value:function(e,t,r,n){var a=this,o=r(e,_(_({},n),{},{fireGateExposure:!1}));void 0===this.eventToValue.get(t)&&this.eventToValue.set(t,o);var c=function(){var o=r(e,_(_({},n),{},{fireGateExposure:!1}));a.eventToValue.get(t)!==o&&(a.eventToValue.set(t,o),t(o))};return this.emitter.on(e,c),function(){a.emitter.off(e,c)}}},{key:"onExperimentValueUpdated",value:function(e,t,r,n,a,o){var c=this,s="".concat(e,".").concat(t),i=a(e,t,r,_(_({},o),{},{fireExperimentExposure:!1}));void 0===this.eventToValue.get(n)&&this.eventToValue.set(n,i);var l=function(){var s=a(e,t,r,_(_({},o),{},{fireExperimentExposure:!1}));c.eventToValue.get(n)!==s&&(c.eventToValue.set(n,s),n(s))};return this.emitter.on(s,l),function(){c.emitter.off(s,l)}}},{key:"onAnyUpdated",value:function(e){var t=this;return this.emitter.on(O,e),function(){t.emitter.off(O,e)}}},{key:"anyUpdated",value:function(){var e=this;this.emitter.emit(O),this.emitter.eventNames().filter(function(e){return e!==O}).forEach(function(t){e.emitter.emit(t)})}}])}(),x=r(12),E=r.n(x),j=r(18),F=r.n(j);function C(){var e,t=globalThis,r=t.MICROS_PERIMETER||t.UNSAFE_ATL_CONTEXT_BOUNDARY;if(r)return"fedramp-moderate"===r;var n=null===(e=t.location)||void 0===e||null===(e=e.hostname)||void 0===e?void 0:e.match(/atlassian-us-gov-mod\.(com|net)|atlassian-us-gov\.(com|net)|atlassian-fex\.(com|net)|atlassian-stg-fedm\.(com|net)/);return!!n&&n.length>0}var A={Error:"Error",LocalOverride:"LocalOverride",Unrecognized:"Unrecognized",Uninitialized:"Uninitialized",NetworkNotModified:"NetworkNotModified",Network:"Network",InvalidBootstrap:"InvalidBootstrap",Bootstrap:"Bootstrap",Cache:"Cache",Unknown:"Unknown"},S="development",D="staging",P="production",I="commercial",M="fedramp-moderate",z=["stableId"],B=["api","disableCurrentPageLogging","loggingIntervalMillis","loggingBufferMaxSize","localMode","eventLoggingApi","eventLoggingApiForRetries","disableLocalStorage","ignoreWindowUndefined","disableAllLogging","initTimeoutMs","disableNetworkKeepalive","overrideStableID","disableErrorLogging","disableAutoMetricsLogging"];function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach(function(t){i()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var U=function(e){return q({perimeter:C()?M:I},e)},L=function(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;var r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;var a=function(e,t){var r=b()(e,1)[0],n=b()(t,1)[0];return r.localeCompare(n)};r.sort(a),n.sort(a);for(var o=0;o<r.length;o++){if(b()(r[o],2)[1]!==b()(n[o],2)[1])return!1}return!0},G=function(e,t){var r=e.stableId,n={customIDs:q(q({},u()(e,z)),void 0!==r?{stableID:r}:{}),custom:t};return e.atlassianAccountId&&(n.userID=e.atlassianAccountId),n};function T(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!r.length)return e;var a=r.shift();if(null==a)return T.apply(void 0,[e].concat(F()(r)));for(var o=0,c=Object.entries(a);o<c.length;o++){var s=b()(c[o],2),i=s[0],l=s[1],u=e[i],d=l&&"object"===E()(l)&&!Array.isArray(l),f=u&&"object"===E()(u)&&!Array.isArray(u);e[i]=d&&f?T(u,l):l}return T.apply(void 0,[e].concat(F()(r)))}var V=function(e){var t=e.api,r=e.disableCurrentPageLogging,n=e.loggingIntervalMillis,a=e.loggingBufferMaxSize,o=e.localMode,c=e.eventLoggingApi,s=e.eventLoggingApiForRetries,i=e.disableLocalStorage,l=e.ignoreWindowUndefined,d=e.disableAllLogging;e.initTimeoutMs,e.disableNetworkKeepalive,e.overrideStableID,e.disableErrorLogging,e.disableAutoMetricsLogging;return q(q({},u()(e,B)),{},{networkConfig:{api:t,logEventUrl:c?c+"rgstr":void 0,logEventFallbackUrls:s?[s]:void 0,preventAllNetworkTraffic:o||!l&&"undefined"==typeof window},includeCurrentPageUrlWithEvents:!r,loggingIntervalMs:n,loggingBufferMaxSize:a,disableStorage:void 0===i?o:i,disableLogging:void 0===d?o:d})},R=Object.entries(A).map(function(e){var t=b()(e,2),r=t[0],n=t[1];return[r.toLowerCase(),n]}),H=function(e){var t,r,n,a=e.reason.toLowerCase();return{reason:null!==(t=null===(r=R.find(function(e){var t=b()(e,1)[0];return a.includes(t)}))||void 0===r?void 0:r[1])&&void 0!==t?t:A.Unknown,time:null!==(n=e.receivedAt)&&void 0!==n?n:Date.now()}},W=function(e){return e.map(function(e){return"string"==typeof e?{gate:e}:e})},J=function(){function e(t,r,n,o){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;a()(this,e),this.value=r,this._name=t,this._ruleID=n,this._secondaryExposures=c,this._allocatedExperimentName=s,this._evaluationDetail
14806s=o,this._onDefaultValueFallback=i}return c()(e,[{key:"get",value:function(e,t,r){var n,a=this.getValue(e,t);if(null==a)return t;var o,c=Array.isArray(t)?"array":E()(t),s=Array.isArray(a)?"array":E()(a);return r?r(a)?(this.fireExposure(e),a):(null===(o=this._onDefaultValueFallback)||void 0===o||o.call(this,this,e,c,s),t):null==t||c===s?(this.fireExposure(e),a):(null===(n=this._onDefaultValueFallback)||void 0===n||n.call(this,this,e,c,s),t)}},{key:"getValue",value:function(e,t){return null==e?this.value:(null==t&&(t=null),null==this.value[e]?t:(this.fireExposure(e),this.value[e]))}},{key:"fireExposure",value:function(e){this.experiment&&this.experiment.get(e)}}],[{key:"fromExperiment",value:function(t){var r,n,a,o=new e(t.name,t.value,t.ruleID,H(t.details),W(null!==(r=null===(n=t.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==r?r:[]),null!==(a=t.groupName)&&void 0!==a?a:void 0);return o.experiment=t,o}}])}(),Y=function(){function e(t,r,n,o){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:[];a()(this,e),this._logParameterFunction=c,this._name=t,this._value=JSON.parse(JSON.stringify(null!=r?r:{})),this._ruleID=null!=n?n:"",this._evaluationDetails=o,this._secondaryExposures=s,this._undelegatedSecondaryExposures=i,this._allocatedExperimentName=l,this._explicitParameters=u}return c()(e,[{key:"get",value:function(e,t,r){var n=this,a=this._value[e];if(null==a)return t;var o=function(){return n._logLayerParameterExposure(e),a};return r?r(a)?o():t:null==t||E()(a)===E()(t)&&Array.isArray(t)===Array.isArray(a)?o():t}},{key:"getValue",value:function(e,t){null==t&&(t=null);var r=this._value[e];return null!=r&&this._logLayerParameterExposure(e),null!=r?r:t}},{key:"_logLayerParameterExposure",value:function(e){var t;null===(t=this._logParameterFunction)||void 0===t||t.call(this,this,e)}}],[{key:"fromLayer",value:function(t){var r,n,a,o,c,s;return new e(t.name,t.__value,t.ruleID,H(t.details),function(e,r){return t.get(r)},W(null!==(r=null===(n=t.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==r?r:[]),W(null!==(a=null===(o=t.__evaluation)||void 0===o?void 0:o.undelegated_secondary_exposures)&&void 0!==a?a:[]),null===(c=t.__evaluation)||void 0===c?void 0:c.allocated_experiment_name,null===(s=t.__evaluation)||void 0===s?void 0:s.explicit_parameters)}}])}(),K="5.8.0",X=r(22),$=r.n(X),Q=r(19),Z=r.n(Q),ee=r(23),te=r.n(ee),re=r(161);function ne(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ne=function(){return!!e})()}var ae=function(e){function t(e){return a()(this,t),r=this,n=t,o=[e],n=Z()(n),$()(r,ne()?Reflect.construct(n,o||[],Z()(r).constructor):n.apply(r,o));var r,n,o}return te()(t,e),c()(t)}(r.n(re)()(Error));function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach(function(t){i()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var se=function(){function e(){a()(this,e)}return c()(e,null,[{key:"fetchClientSdk",value:(s=p()(g.a.mark(function e(t){var r,n,a;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.targetApp,n="/api/v2/frontend/clientSdkKey/".concat(r),e.prev=1,e.next=2,this.fetchRequest(n,"GET",t);case 2:return e.abrupt("return",e.sent);case 3:if(e.prev=3,!((a=e.catch(1))instanceof Error)){e.next=4;break}throw a;case 4:throw Error("Failed to retrieve client sdk key");case 5:case"end":return e.stop()}},e,this,[[1,3]])}
14806)),function(e){return s.apply(this,arguments)})},{key:"fetchExperimentValues",value:(o=p()(g.a.mark(function e(t,r,n){var a,o;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={identifiers:r,customAttributes:n,targetApp:t.targetApp},e.prev=1,e.next=2,this.fetchRequest("/api/v2/frontend/experimentValues","POST",t,a);case 2:return e.abrupt("return",e.sent);case 3:if(e.prev=3,!((o=e.catch(1))instanceof Error)){e.next=4;break}throw o;case 4:throw Error("Failed to retrieve experiment values");case 5:case"end":return e.stop()}},e,this,[[1,3]])})),function(e,t,r){return o.apply(this,arguments)})},{key:"handleResponseError",value:(n=p()(g.a.mark(function e(t){var r;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok){e.next=2;break}return e.next=1,t.text();case 1:throw r=e.sent,new ae("Non 2xx response status received, status: ".concat(t.status,", body: ").concat(JSON.stringify(r)));case 2:if(204!==t.status){e.next=3;break}throw new ae("Unexpected 204 response");case 3:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})},{key:"extractResponseBody",value:(r=p()(g.a.mark(function e(t){var r;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,t.text();case 1:return r=e.sent,e.abrupt("return",JSON.parse(r));case 2:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)})},{key:"getBaseUrl",value:function(e){var t=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return"/gateway/api/flags";if(t===M)switch(e){case P:return"https://api.atlassian-us-gov-mod.com/flags";case D:return"https://api.stg.atlassian-us-gov-mod.com/flags";default:throw new Error('Invalid environment "'.concat(e,'" for "').concat(t,'" perimeter'))}else{if(t!==I)throw new Error('Invalid perimeter "'.concat(t,'"'));switch(e){case S:return"https://api.dev.atlassian.com/flags";case D:var n=this.getApiUrl(r);return null!==n?n:"https://api.stg.atlassian.com/flags";default:var a=this.getApiUrl(r);return null!==a?a:"https://api.atlassian.com/flags"}}}},{key:"fetchRequest",value:(t=p()(g.a.mark(function t(r,n,a,o){var c,s,i,l,u;return g.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=e.getBaseUrl(a.environment,a.useGatewayURL,a.perimeter,a.isolationContextId),s=a.fetchTimeoutMs||5e3,AbortSignal.timeout?i=AbortSignal.timeout(s):AbortController&&(l=new AbortController,i=l.signal,setTimeout(function(){return l.abort()},s)),t.next=1,fetch("".concat(c).concat(r),ce({method:n,headers:{"Content-Type":"application/json","X-Client-Name":"feature-gate-js-client","X-Client-Version":K,"X-API-KEY":a.apiKey},signal:i},o&&{body:JSON.stringify(o)}));case 1:return u=t.sent,t.next=2,this.handleResponseError(u);case 2:return t.next=3,this.extractResponseBody(u);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(e,r,n,a){return t.apply(this,arguments)})},{key:"getApiUrl",value:function(e){var t=this.getWindowLocation();if(void 0===t)return e?"https://atlassian-statsig-proxy-archetype.atl-paas.%s.atl-ic.net".replace("%s",e):null;var r=t.protocol,n=t.hostname,a=n.match(/([^.]+)\.oasis-stg\.com$/);if(a)return"".concat(r,"//api.").concat(a[1],".").concat("oasis-stg.com/flags");var o=n.match(/([^.]+)\.atlassian-isolated\.net$/);return o?"".concat(r,"//api.").concat(o[1],".").concat("atlassian-isolated.net/flags"):null}},{key:"getWindowLocation",value:function(){if("undefined"!=typeof window&&window.location)return window.location}}]);var t,r,n,o,s}(),ie=r(77),le=r.n(ie);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach(function(t){i()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEac
14806h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(be=function(){return!!e})()}var fe=function(e){function t(){var e,r,n,o;return a()(this,t),r=this,n=t,o=["NoFetchDataAdapter","nofetch"],n=Z()(n),e=$()(r,be()?Reflect.construct(n,o||[],Z()(r).constructor):n.apply(r,o)),i()(e,"bootstrapResult",null),e}return te()(t,e),c()(t,[{key:"setBootstrapData",value:function(e){this.bootstrapResult=e?{source:"Bootstrap",data:JSON.stringify(e),receivedAt:Date.now(),stableID:h.StableID.get(this._getSdkKey()),fullUserHash:null}:null}},{key:"prefetchData",value:(o=p()(g.a.mark(function e(t,r){return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e,t){return o.apply(this,arguments)})},{key:"getDataAsync",value:(n=p()(g.a.mark(function e(t,r,n){return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.bootstrapResult&&de(de({},this.bootstrapResult),{},{fullUserHash:Object(h._getFullUserHash)(r)}));case 1:case"end":return e.stop()}},e,this)})),function(e,t,r){return n.apply(this,arguments)})},{key:"getDataSync",value:function(e){return this.bootstrapResult&&de(de({},this.bootstrapResult),{},{fullUserHash:Object(h._getFullUserHash)(e)})}},{key:"_fetchFromNetwork",value:(r=p()(g.a.mark(function e(t,r,n){return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}},e)})),function(e,t,n){return r.apply(this,arguments)})},{key:"_getCacheKey",value:function(e){var t=Object(h._getStorageKey)(this._getSdkKey(),e);return"".concat(h.DataAdapterCachePrefix,".").concat(this._cacheSuffix,".").concat(t)}},{key:"_isCachedResultValidFor204",value:function(e,t){return!1}},{key:"setDataLegacy",value:function(e,r){var n,a,o,c,s;(n=t,a="setData",o=this,c=3,s=le()(Z()(1&c?n.prototype:n),a,o),2&c&&"function"==typeof s?function(e){return s.apply(o,e)}:s)([e,r])}},{key:"toJSON",value:function(){var e=de({},this);return delete e._options,delete e._inMemoryCache,delete e.bootstrapResult,e}}]);var r,n,o}(h.DataAdapterCore),pe=r(26);function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach(function(t){i()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function he(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return me(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,c=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){s=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(s)throw o}}}}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ke="LocalOverride:Recognized",ye="STATSIG_JS_LITE_LOCAL_OVERRIDES",_e=function(e,t){return t+":"+e},Oe=function(){return c()(function e(t){a()(this,e),this._overrides={gates:{},configs:{},layers:{}},this._djb2Map=new Map,this._localStorageKey=t},[{key:"parseStoredOverrides",value:function(e){try{var t=window.localStorage.getItem(e);return t?JSON.parse(t):{gates:{},configs:{},layers:{}}}catch(e){return{gates:{},configs:{},layers:{}}}}},{key:"mergeOverrides",value:function(){for(var e={gates:{},configs:{},layers:{}},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var a=0,o=r;a<o.length;a++){for(var c=o[a],s=0,i=Object.entries(null!==(l=c.gates)&&void 0!==l?l:{});s<i.length;s++){var l,u=b()(i[s],2),d=u[0],f=u[1];e.gates[d]=f}
14806for(var p=0,v=Object.entries(null!==(g=c.configs)&&void 0!==g?g:{});p<v.length;p++){var g,h=b()(v[p],2),m=h[0],k=h[1];e.configs[m]=k}for(var y=0,_=Object.entries(null!==(O=c.layers)&&void 0!==O?O:{});y<_.length;y++){var O,w=b()(_[y],2),x=w[0],E=w[1];e.layers[x]=E}}return e}},{key:"initFromStoredOverrides",value:function(){var e=this.mergeOverrides(this._overrides,this.parseStoredOverrides(ye),this.parseStoredOverrides(this._localStorageKey));try{window.localStorage.removeItem(ye)}catch(e){}for(var t=0,r=Object.values(e);t<r.length;t++){var n,a=r[t],o=new Set(Object.keys(a)),c=he(o);try{for(c.s();!(n=c.n()).done;){var s=n.value,i=Object(pe._DJB2)(s);o.has(i)&&delete a[i]}}catch(e){c.e(e)}finally{c.f()}}this.applyOverrides(e)}},{key:"saveOverrides",value:function(){try{window.localStorage.setItem(this._localStorageKey,JSON.stringify(this._overrides))}catch(e){}}},{key:"getOverrides",value:function(){return this.mergeOverrides(this._overrides)}},{key:"applyOverrides",value:function(e){var t=ge(ge({},{gates:{},configs:{},layers:{}}),e);this._djb2Map.clear();for(var r=0,n=Object.entries(t);r<n.length;r++)for(var a=b()(n[r],2),o=a[0],c=a[1],s=0,i=Object.entries(c);s<i.length;s++){var l=b()(i[s],2),u=l[0],d=l[1];this._djb2Map.set(_e(Object(pe._DJB2)(u),o),d)}this._overrides=t}},{key:"setOverrides",value:function(e){this.applyOverrides(e),this.saveOverrides()}},{key:"overrideGate",value:function(e,t){this._overrides.gates[e]=t,this._djb2Map.set(_e(Object(pe._DJB2)(e),"gates"),t),this.saveOverrides()}},{key:"removeGateOverride",value:function(e){delete this._overrides.gates[e],this._djb2Map.delete(_e(Object(pe._DJB2)(e),"gates")),this.saveOverrides()}},{key:"getGateOverride",value:function(e,t){var r,n=null!==(r=this._overrides.gates[e.name])&&void 0!==r?r:this._djb2Map.get(_e(e.name,"gates"));return null==n?null:ge(ge({},e),{},{value:n,details:ge(ge({},e.details),{},{reason:ke})})}},{key:"overrideDynamicConfig",value:function(e,t){this._overrides.configs[e]=t,this._djb2Map.set(_e(Object(pe._DJB2)(e),"configs"),t),this.saveOverrides()}},{key:"removeDynamicConfigOverride",value:function(e){delete this._overrides.configs[e],this._djb2Map.delete(_e(Object(pe._DJB2)(e),"configs")),this.saveOverrides()}},{key:"getDynamicConfigOverride",value:function(e,t){return this._getConfigOverride(e,this._overrides.configs)}},{key:"overrideExperiment",value:function(e,t){this._overrides.configs[e]=t,this._djb2Map.set(_e(Object(pe._DJB2)(e),"configs"),t),this.saveOverrides()}},{key:"removeExperimentOverride",value:function(e){delete this._overrides.configs[e],this._djb2Map.delete(_e(Object(pe._DJB2)(e),"configs")),this.saveOverrides()}},{key:"getExperimentOverride",value:function(e,t){return this._getConfigOverride(e,this._overrides.configs)}},{key:"overrideLayer",value:function(e,t){this._overrides.layers[e]=t,this._djb2Map.set(_e(Object(pe._DJB2)(e),"layers"),t),this.saveOverrides()}},{key:"removeLayerOverride",value:function(e){delete this._overrides.layers[e],this._djb2Map.delete(_e(Object(pe._DJB2)(e),"layers")),this.saveOverrides()}},{key:"removeAllOverrides",value:function(){this._overrides={gates:{},configs:{},layers:{}};try{window.localStorage.removeItem(this._localStorageKey)}catch(e){}}},{key:"getLayerOverride",value:function(e,t){var r,n=null!==(r=this._overrides.layers[e.name])&&void 0!==r?r:this._djb2Map.get(_e(e.name,"layers"));return null==n?null:ge(ge({},e),{},{__value:n,get:Object(pe._makeTypedGet)(e.name,n),details:ge(ge({},e.details),{},{reason:ke})})}},{key:"_getConfigOverride",value:function(e,t){var r,n=null!==(r=t[e.name])&&void 0!==r?r:this._djb2Map.get(_e(e.name,"configs"));return null==n?null:ge(ge({},e),{},{value:n,get:Object(pe._makeTypedGet)(e.name,n),details:ge(ge({},e.details),{},{reason:ke})})}}])}(),we=["sdkKey","environment","updateUserCompletionCallback","perimeter"];function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?xe(Object(r),!0).forEach(function(t){i()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var je,Fe="client-default-key",Ce=function(){return c()(function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.localStorageKey,o=void 0===n?"STATSIG_OVERRIDES":n,c=r.overrideAdapter;a()(this,e),i()(this,"initPromise",null),i()(this,"initCompleted",!1),i()(this,"initWithDefaults",!1),i()(this,"hasCheckGateErrorOccurred",!1),i()(this,"hasGetExperimentErrorOccurred",!1),i()(this,"hasGetExperimentValueErrorOccurred",!1),i()(this,"hasGetLayerErrorOccurred",!1),i()(this,"hasGetLayerValueErrorOccurred",!1),i()(this,"subscriptions",new w),i()(this,"dataAdapter",new fe),i()(this,"statsigValuesUpdated",function(){t.user&&t.statsigClient.updateUserSync(t.user,{disableBackgroundCacheRefresh:!0}),t.subscriptions.anyUpdated()}),this.overrideAdapter=c||new Oe(o)},[{key:"initialize",value:(k=p()(g.a.mark(function e(t,r,n){var a,o,c=this;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=U(t),!this.initPromise){e.next=1;break}return L(a,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),e.abrupt("return",this.initPromise);case 1:return o=performance.now(),this.initOptions=a,this.initPromise=this.init(a,r,n).then(function(){c.initCompleted=!0,c.initWithDefaults=!0}).finally(function(){var e=performance.now()-o;c.fireClientEvent(o,e,"initialize",c.initCompleted,a.apiKey)}),e.abrupt("return",this.initPromise);case 2:case"end":return e.stop()}},e,this)})),function(e,t,r){return k.apply(this,arguments)})},{key:"initializeWithProvider",value:(m=p()(g.a.mark(function e(t,r,n,a){var o,c,s=this;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=U(t),!this.initPromise){e.next=1;break}return L(o,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),e.abrupt("return",this.initPromise);case 1:return c=performance.now(),this.initOptions=o,this.provider=r,this.provider.setClientVersion(K),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback.bind(this)),this.initPromise=this.initWithProvider(o,r,n,a).then(function(){s.initCompleted=!0,s.initWithDefaults=!0}).finally(function(){var e=performance.now()-c;s.fireClientEvent(c,e,"initializeWithProvider",s.initCompleted,r.getApiKey?r.getApiKey():void 0)}),e.abrupt("return",this.initPromise);case 2:case"end":return e.stop()}},e,this)})),function(e,t,r,n){return m.apply(this,arguments)})},{key:"applyUpdateCallback",value:function(e){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(e.experimentValues),this.dataAdapter.setData(JSON.stringify(e.experimentValues)),this.statsigValuesUpdated())}catch(e){console.warn("Error when attempting to apply update",e)}}},{key:"fireClientEvent",value:function(e,t,r,n){var a,o=this,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;null===(a=this.initOptions.analyticsWebClient)||void 0===a||a.then(function(a){var s=Ee({targetApp:o.initOptions.targetApp,clientVersion:K,success:n,startTime:e,totalTime:t},c&&{apiKey:c});a.sendOperationalEvent({action:r,actionSubject:"featureGatesClient",attributes:s,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})}).catch(function(e){o.initOptions.environment!==P&&console.error("Analytics web client promise did not resolve",e)})}},{key:"initializeFromValues",value:(v=p()(g.a.mark(function e(t,r,n){var a,o,c,s=this,i=arguments;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=i.length>3&&void 0!==i[3]?i[3]:{},o=U(t),!this.initPromise){e.next=1;break}return L(o,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),e.abrupt("return",this.initPromise);case 1:return Object.prototype.hasOwnProperty.call(a,"has_updates")||(a.has_updates=!0),c=performance.now(),this.initOptions=o,this.initPromise=this.initFromValues(o,r,n,a).then(function(){s.initCompleted=!0,s.initWithDefaults=!0}).finally(function(){var e=performance.now()-c;s.fireClientEvent(c,e,"initializeFromValues",s.initCompleted)}),e.abrupt("return",this.initPromise);case 2:case"end":return e.stop()}},e,this)})),function(e,t,r){return v.apply(this,arguments)})},{key:"assertInitialized",value:function(e){if(!e)throw new Error("Client must be initialized before using this method")}},{key:"updateUser",value:(f=p()(g.a.mark(function e(t,r,n){var a,o;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.assertInitialized(this.statsigClient),a=U(t),o=function(){return se.fetchExperimentValues(a,r,n).then(function(e){return{experimentValues:e.experimentValues,customAttributesFromFetch:e.customAttributes}})},e.next=1,this.updateUserUsingInitializeValuesProducer(o,r,n);case 1:case"end":return e.stop()}},e,this)})),function(e,t,r){return f.apply(this,arguments)})},{key:"updateUserWithProvider",value:(d=p()(g.a.mark(function e(t,r){var n=this;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.assertInitialized(this.statsigClient),this.provider){e.next=1;break}throw new Error("Cannot update user using provider as the client was not initialised with a provider");case 1:return e.next=2,this.provider.setProfile(this.initOptions,t,r);case 2:return e.next=3,this.updateUserUsingInitializeValuesProducer(function(){return n.provider.getExperimentValues()},t,r);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return d.apply(this,arguments)})},{key:"updateUserWithValues",value:(l=p()(g.a.mark(function e(t,r){var n,a,o=arguments;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>2&&void 0!==o[2]?o[2]:{},this.assertInitialized(this.statsigClient),a=function(){return Promise.resolve({experimentValues:n,customAttributesFromFetch:r})},e.next=1,this.updateUserUsingInitializeValuesProducer(a,t,r);case 1:case"end":return e.stop()}},e,this)})),function(e,t){return l.apply(this,arguments)})},{key:"initializeCalled",value:function(){return null!=this.initPromise}},{key:"initializeCompleted",value:function(){return this.initCompleted}},{key:"waitUntilInitializeCompleted",value:(s=p()(g.a.mark(function e(){return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.initPromise){e.next=1;break}throw new Error("The client must be initialized before you can wait until initialized.");case 1:if(!this.initCompleted){e.next=2;break}return e.abrupt("return");case 2:return e.next=3,this.initPromise;case 3:case"end":return e.stop()}},e,this)})),function(){return s.apply(this,arguments)})},{key:"checkGate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var r=t.fireGateExposure,n=void 0===r||r;return this.statsigClient.checkGate(e,{disableExposureLog:!n})}catch(t){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:e,error:t}),this.hasCheckGateErrorOccurred=!0),!1}}},{key:"isGateExist",value:function(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getFeatureGate(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error("Error occurred when trying to check FeatureGate: ".concat(e)),!0}}},{key:"isExperimentExist",value:function(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getExperiment(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error("Error occurred when trying to check Experiment: ".concat(e)),!0}}},{key:"manuallyLogGateExposure",value:function(e){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(e)}},{key:"getExperiment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var r=t.fireExperimentExposure,n=void 0===r||r;return J.fromExperiment(this.statsigClient.getExperiment(e,{disableExposureLog:!n}))}catch(t){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:e,error:t}),this.hasGetExperimentErrorOccurred=!0),new J(e,{},"",{time:Date.now(),reason:A.Error})}}},{key:"getExperimentValue",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=this.getExperiment(e,n);try{var o=n.typeGuard;return a.get(t,r,o)}catch(t){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),this.hasGetExperimentValueErrorOccurred=!0),r}}},{key:"manuallyLogExperimentExposure",value:function(e){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(e)}},{key:"manuallyLogLayerExposure",value:function(e,t){var r;this.assertInitialized(this.statsigClient),null===(r=this.statsigClient.getLayer(e))||void 0===r||r.get(t)}},{key:"shutdownStatsig",value:function(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}},{key:"overrideGate",value:function(e,t){var r;(this.overrideAdapter.overrideGate(e,t),this.user)&&(null===(r=this.statsigClient)||void 0===r||r.updateUserSync(this.user,{disableBackgroun
14806dCacheRefresh:!0}));this.statsigValuesUpdated()}},{key:"clearGateOverride",value:function(e){this.overrideAdapter.removeGateOverride(e),this.statsigValuesUpdated()}},{key:"overrideConfig",value:function(e,t){this.overrideAdapter.overrideDynamicConfig(e,t),this.statsigValuesUpdated()}},{key:"clearConfigOverride",value:function(e){this.overrideAdapter.removeDynamicConfigOverride(e),this.statsigValuesUpdated()}},{key:"setOverrides",value:function(e){this.overrideAdapter.setOverrides(e),this.statsigValuesUpdated()}},{key:"getOverrides",value:function(){return this.overrideAdapter.getOverrides()}},{key:"clearAllOverrides",value:function(){this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}},{key:"isCurrentUser",value:function(e,t){return L(this.currentIdentifiers,e)&&L(this.currentAttributes,t)}},{key:"onGateUpdated",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.subscriptions.onGateUpdated(e,function(a){var o=n.fireGateExposure;(void 0===o||o)&&r.manuallyLogGateExposure(e);try{t(a)}catch(t){console.warn("Error calling callback for gate ".concat(e," with value ").concat(a),t)}},this.checkGate.bind(this),n)}},{key:"onExperimentValueUpdated",value:function(e,t,r,n){var a=this,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return this.subscriptions.onExperimentValueUpdated(e,t,r,function(t){var r=o.fireExperimentExposure;(void 0===r||r)&&a.manuallyLogExperimentExposure(e);try{n(t)}catch(r){console.warn("Error calling callback for experiment ".concat(e," with value ").concat(t),r)}},this.getExperimentValue.bind(this),o)}},{key:"onAnyUpdated",value:function(e){return this.subscriptions.onAnyUpdated(e)}},{key:"init",value:(o=p()(g.a.mark(function e(t,r,n){var a,o,c,s,i,l,u,d,f;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=Ee({},t),!t.localMode){e.next=2;break}return e.next=1,this.initFromValues(a,r,n);case 1:return e.abrupt("return");case 2:return e.prev=2,s=se.fetchClientSdk(t).then(function(e){return a.sdkKey=e.clientSdkKey}),i=se.fetchExperimentValues(t,r,n),e.next=3,Promise.all([s,i]);case 3:l=e.sent,u=b()(l,2),d=u[1],o=d.experimentValues,c=d.customAttributes,e.next=6;break;case 4:return e.prev=4,(f=e.catch(2))instanceof Error&&console.error("Error occurred when trying to fetch the Feature Gates client values, error: ".concat(null==f?void 0:f.message)),console.warn("Initialising Statsig client without values"),e.next=5,this.initFromValues(a,r,n);case 5:throw f;case 6:return e.abrupt("return",this.initFromValues(a,r,c,o));case 7:case"end":return e.stop()}},e,this,[[2,4]])})),function(e,t,r){return o.apply(this,arguments)})},{key:"initWithProvider",value:(n=p()(g.a.mark(function e(t,r,n,a){var o,c,s,i,l,u,d,f,p;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=Ee(Ee({},t),{},{disableCurrentPageLogging:!0}),e.prev=1,e.next=2,r.setProfile(t,n,a);case 2:return i=r.getClientSdkKey().then(function(e){return o.sdkKey=e}),l=r.getExperimentValues(),e.next=3,Promise.all([i,l]);case 3:u=e.sent,d=b()(u,2),f=d[1],c=f.experimentValues,s=f.customAttributesFromFetch,e.next=6;break;case 4:return e.prev=4,(p=e.catch(1))instanceof Error&&console.error("Error occurred when trying to fetch the Feature Gates client values, error: ".concat(null==p?void 0:p.message)),console.warn("Initialising Statsig client without values"),e.next=5,this.initFromValues(o,n,a);case 5:throw p;case 6:return e.abrupt("return",this.initFromValues(o,n,s,c));case 7:case"end":return e.stop()}},e,this,[[1,4]])})),function(e,t,r,a){return n.apply(this,arguments)})},{key:"initFromValues",value:(r=p()(g.a.mark(function e(t,r,n){var a,o,c,s,i,l,d,b,f,p=arguments;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=p.length>3&&void 0!==p[3]?p[3]:{},this.overrideAdapter.initFromStoredOverrides(),this.currentIdentifiers=r,this.currentAttributes=n,(c=V(t)).sdkKey||(c.sdkKey=Fe),null!==(a=c.networkConfig)&&void 0!==a&&a.logEventUrl||(c.networkConfig=Ee(Ee({},c.networkConfig),{},{logEventUrl:"https://xp.atlassian.com/v1/rgstr"})),c.perimeter===M&&(c.disableLogging=!0),s=c.sdkKey,i=c.environment,c.updateUserCompletionCallback,c.perimeter,l=u()(c,we),d=G(r,n),this.user=T({},o.user,d),b=Ee(Ee({},l),{},{environment:{tier:i},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter
14806:this.overrideAdapter,logEventCompressionMode:h.LogEventCompressionMode.Forced}),r.stableId?h.StableID.setOverride(r.stableId,s):b.disableStableID=!0,e.prev=1,this.statsigClient=new h.StatsigClient(s,this.user,b),this.dataAdapter.setBootstrapData(o),e.next=2,this.statsigClient.initializeAsync();case 2:e.next=5;break;case 3:return e.prev=3,(f=e.catch(1))instanceof Error&&console.error("Error occurred when trying to initialise the Statsig client, error: ".concat(null==f?void 0:f.message)),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new h.StatsigClient(Fe,this.user,b),this.dataAdapter.setBootstrapData(),e.next=4,this.statsigClient.initializeAsync();case 4:throw this.initWithDefaults=!0,f;case 5:case"end":return e.stop()}},e,this,[[1,3]])})),function(e,t,n){return r.apply(this,arguments)})},{key:"updateUserUsingInitializeValuesProducer",value:(t=p()(g.a.mark(function e(t,r,n){var a,o,c,s=this;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.assertInitialized(this.statsigClient),this.initPromise){e.next=1;break}throw new Error("The client must be initialized before you can update the user.");case 1:if(!this.isCurrentUser(r,n)){e.next=2;break}return e.abrupt("return",this.initPromise);case 2:return a=this.initPromise,e.prev=3,e.next=4,this.initPromise;case 4:e.next=6;break;case 5:e.prev=5,e.catch(3);case 6:return o=t(),c=this.updateStatsigClientUser(o,r,n),this.initPromise=c.catch(p()(g.a.mark(function e(){return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s.initPromise=a,!s.provider){e.next=1;break}return e.next=1,s.provider.setProfile(s.initOptions,s.currentIdentifiers,s.currentAttributes);case 1:case"end":return e.stop()}},e)}))),e.abrupt("return",c);case 7:case"end":return e.stop()}},e,this,[[3,5]])})),function(e,r,n){return t.apply(this,arguments)})},{key:"updateStatsigClientUser",value:(e=p()(g.a.mark(function e(t,r,n){var a,o,c,s,i,l,u,d,b,f,p,v;return g.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.assertInitialized(this.statsigClient),e.prev=1,e.next=2,t;case 2:c=e.sent,i=G(r,c.customAttributesFromFetch),s=T({},c.experimentValues.user,i),e.next=4;break;case 3:throw e.prev=3,p=e.catch(1),d=p instanceof Error?p.message:JSON.stringify(p),null===(l=(u=this.initOptions).updateUserCompletionCallback)||void 0===l||l.call(u,!1,d),p;case 4:if(b=!0,f=null,e.prev=5,this.dataAdapter.setBootstrapData(c.experimentValues),this.user=s,!this.user){e.next=6;break}return e.next=6,this.statsigClient.updateUserAsync(this.user);case 6:e.next=8;break;case 7:e.prev=7,v=e.catch(5),b=!1,f=String(v);case 8:if(null===(a=this.initOptions)||void 0===a||null===(o=a.updateUserCompletionCallback)||void 0===o||o.call(a,b,f),!b){e.next=9;break}this.currentIdentifiers=r,this.currentAttributes=n,this.subscriptions.anyUpdated(),e.next=10;break;case 9:throw new Error("Failed to update user. An unexpected error occured.");case 10:case"end":return e.stop()}},e,this,[[1,3],[5,7]])})),function(t,r,n){return e.apply(this,arguments)})},{key:"getPackageVersion",value:function(){return K}},{key:"getTargetApp",value:function(){var e;return null===(e=this.initOptions)||void 0===e?void 0:e.targetApp}},{key:"getLayer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var r=t.fireLayerExposure,n=void 0===r||r;return Y.fromLayer(this.statsigClient.getLayer(e,{disableExposureLog:!n}))}catch(t){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:e,error:t}),this.hasGetLayerErrorOccurred=!0),Y.fromLayer(Object(h._makeLayer)(e,{reason:"Error"},null))}}},{key:"getLayerValue",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=this.getLayer(e,n);try{var o=n.typeGuard;return a.get(t,r,o)}catch(t){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:e,defaultValue:r,options:n,error:t}),this.hasGetLayerValueErrorOccurred=!0),r}}}]);var e,t,r,n,o,s,l,d,f,v,m,k}(),Ae=function(){return c()(function e(){a()(this,e)},null,[{key:"isGateExists",value:function(e){return this.client.isGateExist(e)}},{key:"isExperimentExists",value:function(e){return this.client.isExperimentExist(e)}}])}();je=Ae,i()(Ae,"client",new Ce),i()(Ae,"hasCheckGateErrorOccurred",!1),i()(Ae,"hasGetExperimentValueErrorOccurred",!1),i()(Ae,"checkGate",function(e,t){try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getFeatureFlagOverride){var r=window.__CRITERION__.getFeatureFlagOverride(e);if(void 0!==r)return r}}catch(t){je.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:e,error:t}),je.hasCheckGateErrorOccurred=!0)}return je.client.checkGate(e,t)}),i()(Ae,"getExperimentValue",function(e,t,r,n){try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getExperimentValueOverride){var a=window.__CRITERION__.getExperimentValueOverride(e,t);if(null!=a)return a}}catch(t){return je.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),je.hasGetExperimentValueErrorOccurred=!0),r}return je.client.getExperimentValue(e,t,r,n)}),i()(Ae,"initializeCalled",je.client.initializeCalled.bind(je.client)),i()(Ae,"initializeCompleted",je.client.initializeCompleted.bind(je.client)),i()(Ae,"waitUntilInitializeCompleted",je.client.waitUntilInitializeCompleted.bind(je.client)),i()(Ae,"initialize",je.client.initialize.bind(je.client)),i()(Ae,"initializeWithProvider",je.client.initializeWithProvider.bind(je.client)),i()(Ae,"initializeFromValues",je.client.initializeFromValues.bind(je.client)),i()(Ae,"manuallyLogGateExposure",je.client.manuallyLogGateExposure.bind(je.client)),i()(Ae,"getExperiment",je.client.getExperiment.bind(je.client)),i()(Ae,"manuallyLogExperimentExposure",je.client.manuallyLogExperimentExposure.bind(je.client)),i()(Ae,"manuallyLogLayerExposure",je.client.manuallyLogLayerExposure.bind(je.client)),i()(Ae,"shutdownStatsig",je.client.shutdownStatsig.bind(je.client)),i()(Ae,"overrideGate",je.client.overrideGate.bind(je.client)),i()(Ae,"clearGateOverride",je.client.clearGateOverride.bind(je.client)),i()(Ae,"overrideConfig",je.client.overrideConfig.bind(je.client)),i()(Ae,"clearConfigOverride",je.client.clearConfigOverride.bind(je.client)),i()(Ae,"setOverrides",je.client.setOverrides.bind(je.client)),i()(Ae,"getOverrides",je.client.getOverrides.bind(je.client)),i()(Ae,"clearAllOverrides",je.client.clearAllOverrides.bind(je.client)),i()(Ae,"isCurrentUser",je.client.isCurrentUser.bind(je.client)),i()(Ae,"onGateUpdated",je.client.onGateUpdated.bind(je.client)),i()(Ae,"onExperimentValueUpdated",je.client.onExperimentValueUpdated.bind(je.client)),i()(Ae,"onAnyUpdated",je.client.onAnyUpdated.bind(je.client)),i()(Ae,"updateUser",je.client.updateUser.bind(je.client)),i()(Ae,"updateUserWithProvider",je.client.updateUserWithProvider.bind(je.client)),i()(Ae,"updateUserWithValues",je.client.updateUserWithValues.bind(je.client)),i()(Ae,"getPackageVersion",je.client.getPackageVersion.bind(je.client)),i()(Ae,"getTargetApp",je.client.getTargetApp.bind(je.client)),i()(Ae,"getLayer",je.client.getLayer.bind(je.client)),i()(Ae,"getLayerValue",je.client.getLayerValue.bind(je.client));var Se=Ae;if("undefined"!=typeof window)if(void 0===window.__FEATUREGATES_JS__)window.__FEATUREGATES_JS__=Ae;else{var De,Pe,Ie=(null===(De=Se=window.__FEATUREGATES_JS__)||void 0===De||null===(Pe=De.getPackageVersion)||void 0===Pe?void 0:Pe.call(De))||"4.10.0 or earlier";if(Ie!==K){var Me="Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ".concat(Ie," when module version ").concat(K," was loading.");console.warn(Me)}}t.a=Se},233:function(e,t,r){"use strict";r.d(t,"a",function(){return o}
14806);var n=r(0),a=Object(n.createContext)("elevation.surface"),o=function(){return Object(n.useContext)(a)};a.displayName="SurfaceProvider"},247:function(e,t){e.exports=WRM.format},248:function(e,t){if(void 0===require("wrm/i18n")){var r=new Error("Cannot find module 'require(\"wrm/i18n\")'");throw r.code="MODULE_NOT_FOUND",r}e.exports=require("wrm/i18n")},25:function(e,t,r){"use strict";function n(){}r.d(t,"a",function(){return n})},3:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(70);function a(e){return Object(n.a)(e)}},35:function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return b}),r.d(t,"Icon",function(){return d});r(301);var n=r(0),a=r(749),o=r(3),c={none:"_1bsbpxbi _4t3ipxbi",compact:"_1bsb1ejb _4t3i1ejb",spacious:"_1bsb1ejb _4t3i1ejb"},s={none:"_1bsbutpp _4t3iutpp",compact:"_1bsbpxbi _4t3ipxbi",spacious:"_1bsb1ejb _4t3i1ejb"},i={none:"_1bsbutpp _4t3iutpp",compact:"_1bsbpxbi _4t3ipxbi",spacious:"_1bsb1ejb _4t3i1ejb"},l={core:16,utility:12},u={core:{medium:{none:0,compact:4,spacious:4},small:{none:0,compact:2.66,spacious:8}},utility:{medium:{none:0,compact:2,spacious:6},small:{none:0,compact:2,spacious:6}}},d=Object(n.memo)(function(e){var t,r=e,d=r.color,b=void 0===d?"currentColor":d,f=r.testId,p=r.label,v=r.LEGACY_primaryColor,g=r.LEGACY_secondaryColor,h=r.LEGACY_size,m=r.LEGACY_fallbackIcon,k=r.dangerouslySetGlyph,y=r.shouldScale,_=r.LEGACY_margin,O=r.spacing,w=void 0===O?"none":O,x=k?{__html:k}:void 0;if(m&&!Object(o.a)("platform-visual-refresh-icons"))return n.createElement(m,{primaryColor:null!=v?v:b,secondaryColor:g,size:h,label:p,testId:f,UNSAFE_margin:_});var E=null!==(t=e.type)&&void 0!==t?t:"core",j=!("size"in e)||void 0===e.size||"small"!==e.size&&"medium"!==e.size?"medium":e.size,F=l[E],C=u[E][j][w],A=F+2*C;return n.createElement("span",{"data-testid":f,role:p?"img":void 0,"aria-label":p||void 0,"aria-hidden":!p||void 0,style:{color:b},className:Object(a.a)(["_1e0c1o8l _vchhusvi _1o9zidpf _vwz4kb7n _y4ti1igz _bozg1mb9","_12va1onz _jcxd1r8n",y&&"_1bsb1kw7 _4t3i1kw7",("utility"===E||"small"===j)&&"_vwz4utpp"])},n.createElement("svg",{fill:"none",viewBox:"".concat(0-C," ").concat(0-C," ").concat(A," ").concat(A),role:"presentation",dangerouslySetInnerHTML:x,className:Object(a.a)(["_1reo15vq _18m915vq _syaz1r31 _lcxvglyw _s7n4yfq0 _vc881r31",y?"_1bsb1kw7 _4t3i1kw7":"utility"===E?i[w]:"small"===j?s[w]:c[w]])}))}),b=d},36:function(e,t,r){"use strict";r.d(t,"c",function(){return n}),r.d(t,"b",function(){return a}),r.d(t,"a",function(){return o});const n=429;let a=function(e){return e.AUTOMATION="automation-request",e.APPLICATION="application-request",e}({});const o="com.atlassian.ratelimiting.rate-limiting-plugin:entrypoint-rate-limiting-plugin.userRequestRateLimitingEnabled"},369:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),a=o(r(96));function o(e){return e&&e.__esModule?e:{default:e}}const c=e=>n.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M6.586.603a2 2 0 0 1 2.828 0l5.983 5.983a2 2 0 0 1 0 2.828l-5.983 5.982a2 2 0 0 1-2.828 0L.604 9.414a2 2 0 0 1 0-2.828zM8 10.25a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-.75-6.5V9h1.5V3.75z" clip-rule="evenodd"/>'},e));c.displayName="StatusErrorIcon";t.default=c},39:function(e,t,r){"use strict";r.d(t,"a",function(){return l});var n=r(1),a=r.n(n),o=r(0),c=r(54),s=r(49);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){var t=e.fn,r=e.action,n=e.componentName,l=e.actionSubject,u=e.packageName,d=e.packageVersion,b=e.analyticsData,f=Object(c.a)().createAnalyticsEvent,p=Object(s.a)(b),v=Object(s.a)(t),g=Object(o.useCallback)(function(e){var t=f({action:r,actionSubject:l||n,attributes:{componentName:n,packageName:u,packageVersion:d}}),o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?i(Object(r),!0).forEach(function(t){a()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({componentName:n,packageName:u,packageVersion:d},p.current);t.context.push(o);var c=t.clone();c&&c.fire("atlaskit"),v.current(e,t)},[r,n,l,u,d,f,p,v]);return g}},42:function(e,t,r){"use strict";function n(){}r.d(t,"a",function(){return n})},48:function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return p}),r.d(t,"Icon",function(){return f}),r.d(t,"IconFacade",function(){return y});var n=r(2),a=r.n(n),o=r(1),c=r.n(o),s=(r(302),r(0)),i=r.n(s),l=r(749);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){c()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var b={small:"_1bsb7vkz _4t3i7vkz _5fdi7vkz _zbji7vkz",medium:"_1bsb1tcg _4t3i1tcg _5fdi1tcg _zbji1tcg",large:"_1bsbzwfg _4t3izwfg _5fdizwfg _zbjizwfg",xlarge:"_1bsbckbl _4t3ickbl _5fdickbl _zbjickbl"},f=Object(s.memo)(function(e){var t=e,r=t.glyph,n=t.dangerouslySetGlyph,o=t.primaryColor,c=void 0===o?"currentColor":o,i=t.secondaryColor,u=t.size,f=t.testId,p=t.label,v=t.width,g=t.height,h=t.UNSAFE_margin,m=n?{dangerouslySetInnerHTML:{__html:n}}:{children:r?s.createElement(r,{role:"presentation"}):null},k=v&&g?{width:v+"px",height:g+"px"}:null;return s.createElement("span",a()({"data-testid":f,"data-vc":"icon-".concat(f),role:p?"img":void 0,"aria-label":p||void 0,"aria-hidden":!p||void 0,style:d(d({},k),{},{"--icon-primary-color":c,"--icon-secondary-color":i,margin:h})},m,{className:Object(l.a)(["_1e0c1o8l _1o9zidpf _vyfuvuon _vwz4kb7n _1szv15vq _1tly15vq _rzyw1osq _17jb1osq _1ksvoz0e _3se1x1jp _re2rglyw _1veoyfq0 _1kg81r31","_jcxd1r8n _gq0g1onz _1trkwc43",c===i&&"_18hbwc43","transparent"===i&&"_4fyi1j28",u&&b[u]])}))}),p=f,v=r(4),g=r.n(v),h=r(3),m=["dangerouslySetGlyph","size"],k={utility:{small:"compact",medium:"spacious"},core:{small:"none",medium:"spacious"}},y=Object(s.memo)(function(e){var t=e.dangerouslySetGlyph,r=e.size,n=g()(e,m),o=n.newIcon,c=null!=r?r:"medium";if(!n.isFacadeDisabled&&Object(h.a)("platform-visual-refresh-icons-legacy-facade")&&o&&("small"===c||"medium"===c)&&!Object(h.a)("platform-visual-refresh-icons-facade-removal")){if("utility"===n.iconType){var s=o;return i.a.createElement(s,a()({},n,{spacing:Object(h.a)("platform-visual-refresh-icons-facade-button-fix")?k.utility[c]:"none",color:n.primaryColor||"currentColor",type:n.iconType}))}var l=o;return i.a.createElement(l,a()({},n,{size:c,spacing:k.core[c],color:n.primaryColor||"currentColor",type:n.iconType}))}return i.a.createElement(f,a()({dangerouslySetGlyph:t,size:r},n))})},49:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(0),a=function(e){var t=Object(n.useRef)(e);return t.current=e,t}},50:function(e,t){e.exports=require("atlassian/libs/react-dom")},53:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=["light-increased-contrast","light","light-future","dark","dark-future","dark-increased-contrast","spacing","shape","typography","motion"]},54:function(e,t,r){"use strict";r.d(t,"a",function(){return C});var n=r(165),a=r(18),o=r.n(a),c=r(13),s=r.n(c),i=r(14),l=r.n(i),u=r(22),d=r.n(u),b=r(19),f=r.n(b),p=r(77),v=r.n(p),g=r(23),h=r.n(g),m=r(1),k=r.n(m),y=r(12),_=r.n(y);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?O(Object(r),!0).forEach(function(t){k()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var x=function(){return l()(function e(t){var r=this;s()(this,e),k()(this,"_isAnalyticsEvent",!0),k()(this,"clone",function(){return new e({payload:w({},r.payload)})}),this.payload=t.payload},[{key:"update",value:function(e){return"function"==typeof e&&(this.payload=e(this.payload)),"object"===_()(e)&&(this.payload=w(w({},this.payload),e)),this}}])}();function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E=function(){return!!e})()}var j=function(e){function t(e){var r,n,a,c;return s()(this,t),n=this,a=t,c=[e],a=f()(a),r=d()(n,E()?Reflect.construct(a,c||[],f()(n).constructor):a.apply(n,c)),k()(r,"_isUIAnalyticsEvent",!0),k()(r,"clone",function(){return r.hasFired?null:new t({context:o()(r.context),handlers:o()(r.handlers),payload:JSON.parse(JSON.stringify(r.payload))})}),k()(r,"fire",function(e){r.hasFired||(r.handlers.forEach(function(t){try{t(r,e)}catch(e){0}}),r.hasFired=!0)}),r.context=e.context||[],r.handlers=e.handlers||[],r.hasFired=!1,r}return h()(t,e),l()(t,[{key:"update",value:function(e){return this.hasFired?this:(r=t,n="update",a=this,o=3,c=v()(f()(1&o?r.prototype:r),n,a),2&o&&"function"==typeof c?function(e){return c.apply(a,e)}:c)([e]);var r,n,a,o,c}}])}(x),F=r(86);function C(){var e=Object(F.a)();return{createAnalyticsEvent:Object(n.a)(function(t){return new j({context:e.getAtlaskitAnalyticsContext(),handlers:e.getAtlaskitAnalyticsEventHandlers(),payload:t})},[e])}}},63:function(e,t,r){"use strict";var n=r(18),a=r.n(n),o=r(53);[].concat(a()(o.a),[]);t.a={"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-spacing":{id:"spacing",displayName:"Atlassian Spacing",palette:"spacingScale",attributes:{type:"spacing"}},"atlassian-typography":{id:"typography",displayName:"Atlassian Typography",palette:"typographyPalette",attributes:{type:"typography"}},"atlassian-shape":{id:"shape",displayName:"Shape",palette:"shapePalette",attributes:{type:"shape"}},"atlassian-motion":{id:"motion",displayName:"Motion",palette:"motionPalette",attributes:{type:"motion"}}}},636:function(e,t,r){"use strict";var n=r(0),a=r.n(n),o=r(67),c={top:"bottom",bottom:"top",left:"right",right:"left"};t.a=function(e){var t=e.children,r=e.duration,n=void 0===r?"large":r,s=e.entranceDirection,i=e.exitDirection,l=e.distance,u=void 0===l?"proportional":l,d=e.onFinish,b=e.isPaused,f=void 0!==s?c[s]:void 0,p=Boolean(i||f)?"fade-out-from-".concat(i||f).concat("proportional"===u?"":"-constant"):"fade-out";return a.a.createElement(o.a,{duration:n,enteringAnimation:s?"fade-in-from-".concat(s).concat("proportional"===u?"":"-constant"):"fade-in",exitingAnimation:p,animationTimingFunction:"ease-in-out",onFinish:d,isPaused:b},t)}},637:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(){return"undefined"!=typeof document?document:null}},64:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=["light","dark","auto"]},65:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(e){for(var t=0,r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t&=t}return new Uint32Array([t])[0].toString(36)}},67:function(e,t,r){"use strict";var n=r(5),a=r.n(n),o=(r(289),r(0));function c(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const r of e){if(!r)continue;const e=r.split(" ");for(const r of e){t[r.startsWith("_")?r.slice(0,5):r]=r}}let r="";for(const e in t)r+=t[e]+" ";return r?r.trimEnd():void 0}r(17);var s=function(){return"undefined"!=typeof window&&"matchMedia"in window},i=function(){return!!s()&&window.matchMedia("(prefers-reduced-motion: reduce)").matches},l=r(89),u=function(e){if("next-effect"!==e.cleanup)return[]},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{cleanup:"unmount"},t=Object(o.useRef)([]);return Object(o.useEffect)(function(){return function(){t.current.length&&(t.current.forEach(function(e){return clearTimeout(e)}),t.current=[])}},u(e)),Object(o.useCallback)(function(e,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];var c=setTimeout.apply(void 0,[function(){t.current=t.current.filter(function(e){return e!==c}),e()},r].concat(a));t.current.push(c)},[])},b=r(126),f=r(25);"undefined"==typeof window?o.useEffect:o.useLayoutEffect;var p=Object(o.createContext)(function(){return{isReady:!0,delay:0,ref:f.a}}),v=function(){var e,t=((e=Object(o.useRef)("")).current||(e.current="_"+(Number(String(Math.random()).slice(2))+Date.now()+Math.round(performance.now())).toString(36)),e.current);return Object(o.useContext)(p)(t)};t.a=function(e){var t=e.children,r=e.animationTimingFunction,n=e.animationTimingFunctionExiting,s=void 0===n?r:n,u=e.enteringAnimation,f=e.exitingAnimation,p=void 0===f?u:f,g=e.isPaused,h=e.onFinish,m=e.duration,k=void 0===m?"large":m,y=v(),_=Object(b.b)(),O=_.isExiting,w=_.onFinish,x=_.appear,E=d(),j=g||!y.isReady,F=O?0:y.delay,C=O?"exiting":"entering",A=Object(o.useState)(x),S=a()(A,2),D=S[0],P=S[1];return Object(o.useEffect)(function(){var e=!1;if(!j)if(x){var t=function(){"exiting"===C&&(null==w||w()),e||P(!1),null==h||h(C)};if(!i())return P(!0),E(t,O?l.b[k]:l.a[k]+F),function(){e=!0};t()}else h&&h(C)},[w,C,O,k,F,j,E]),t({ref:y.ref,className:D?c([c(["_1o51eoah _1y0co91m _1bumglyw _sedtglyw"]),j&&c(["_1y0ctrqk"]),"small"===k&&c(["_5sag1yx9"]),"medium"===k&&c(["_5sag1ttt"]),"large"===k&&c(["_5sagpwmj"]),O&&"small"===k&&c(["_5sag14ed"]),O&&"medium"===k&&c(["_5sagluct"]),O&&"large"===k&&c(["_5sag1ttt"]),O&&c(["_ju255cps _1o51q7pw"]),!O&&"linear"===r&&c(["_1pglp3kn"]),!O&&"ease-out"===r&&c(["_1pgldkwg"]),!O&&"ease-in"===r&&c(["_1pgl1nzg"]),!O&&"ease-in-40-out"===r&&c(["_1pgl5y64"]),!O&&"ease-in-60-out"===r&&c(["_1pgl1ddy"]),!O&&"ease-in-80-out"===r&&c(["_1pglannl"]),!O&&"ease-in-out"===r&&c(["_1pgl1fu8"]),O&&"linear"===r&&c(["_1pglp3kn"]),O&&"ease-out"===s&&c(["_1pgldkwg"]),O&&"ease-in"===s&&c(["_1pgl1nzg"]),O&&"ease-in-40-out"===s&&c(["_1pgl5y64"]),O&&"ease-in-60-out"===s&&c(["_1pgl1ddy"]),O&&"ease-in-80-out"===s&&c(["_1pglannl"]),O&&"ease-in-out"===s&&c(["_1pgl1fu8"]),(!O&&"fade-in"===u||O&&"fade-in"===p)&&c(["_j7hq1cgr"]),(!O&&"fade-out"===u||O&&"fade-out"===p)&&c(["_j7hq1lln"]),(!O&&"zoom-in"===u||O&&"zoom-in"===p)&&c(["_j7hqe8p0"]),(!O&&"zoom-out"===u||O&&"zoom-out"===p)&&c(["_j7hqy6ql"]),(!O&&"slide-in-from-top"===u||O&&"slide-in-from-top"===p)&&c(["_j7hqqshu"]),(!O&&"slide-out-from-top"===u||O&&"slide-out-from-top"===p)&&c(["_j7hq7ri4"]),(!O&&"slide-in-from-right"===u||O&&"slide-in-from-right"===p)&&c(["_j7hqdfjr"]),(!O&&"slide-out-from-right"===u||O&&"slide-out-from-right"===p)&&c(["_j7hqonfj"]),(!O&&"slide-in-from-bottom"===u||O&&"slide-in-from-bottom"===p)&&c(["_j7hq1liq"]),(!O&&"slide-out-from-bottom"===u||O&&"slide-out-from-bottom"===p)&&c(["_j7hqhnf1"]),(!O&&"slide-in-from-left"===u||O&&"slide-in-from-left"===p)&&c(["_j7hq1bh1"]),(!O&&"slide-out-from-left"===u||O&&"slide-out-from-left"===p)&&c(["_j7hqj08w"]),(!O&&"fade-in-from-top"===u||O&&"fade-in-from-top"===p)&&c(["_j7hq2iua"]),(!O&&"fade-out-from-top"===u||O&&"fade-out-from-top"===p)&&c(["_j7hq39va"]),(!O&&"fade-in-from-left"===u||O&&"fade-in-from-left"===p)&&c(["_j7hq15m2"]),(!O&&"fade-out-from-left"===u||O&&"fade-out-from-left"===p)&&c(["_j7hq1yiv"]),(!O&&"fade-in-from-bottom"===u||O&&"fade-in-from-bottom"===p)&&c(["_j7hq1w00"]),(!O&&"fade-out-from-bottom"===u||O&&"fade-out-from-bottom"===p)&&c(["_j7hqzy3z"]),(!O&&"fade-in-from-right"===u||O&&"fade-in-from-right"===p)&&c(["_j7hqpqak"]),(!O&&"fade-out-from-right"===u||O&&"fade-out-from-right"===p)&&c(["_j7hq1ebg"]),(!O&&"fade-in-from-top-constant"===u||O&&"fade-in-from-top-constant"===p)&&c(["_j7hqm2e2"]),(!O&&"fade-out-from-top-constant"===u||O&&"fade-out-from-top-constant"===p)&&c(["_j7hq97jn"]),(!O&&"fade-in-from-left-constant"===u||O&&"fade-in-from-left-constant"===p)&&c(["_j7hqovgq"]),(!O&&"fade-out-from-left-constant"===u||O&&"fade-out-from-left-constant"===p)&&c(["_j7hq15do"]),(!O&&"fade-in-from-bottom-constant"===u||O&&"fade-in-from-bottom-constant"===p)&&c(["_j7hq797a"]),(!O&&"fade-out-from-bottom-constant"===u||O&&"fade-out-from-bottom-constant"===p)&&c(["_j7hqwo7r"]),(!O&&"fade-in-from-right-constant"===u||O&&"fade-in-from-right-constant"===p)&&c(["_j7hqt8u5"]),(!O&&"fade-out-from-right-constant"===u||O&&"fade-out-from-right-constant"===p)&&c(["_j7hq1pgp"])]):"",style:{animationDelay:"".concat(F,"ms")}},C)}},68:function(e,t,r){"use strict";r.d(t,"b",function(){return h});var n=r(12),a=r.n(n),o=(r(299),r(0)),c=r.n(o),s=r(749),i=r(42),l=r(67),u=function(e){var t=e.children,r=e.enterFrom,n=e.exitTo,a=e.duration,o=void 0===a?"medium":a,s=e.isPaused,i=e.onFinish,u=e.animationTimingFunction,d=void 0===u?"ease-out":u,b=e.animationTimingFunctionExiting,f=void 0===b?"ease-in":b;return c.a.createElement(l.a,{duration:o,enteringAnimation:"slide-in-from-".concat(r),exitingAnimation:"slide-out-from-".concat(n||r),animationTimingFunction:d,animationTimingFunctionExiting:f,isPau
14806sed:s,onFinish:i},t)},d=r(126),b=r(807),f=r(76),p=r(810),v={onDismissed:i.a,isDismissAllowed:!1},g=Object(o.createContext)(v);function h(){return Object(o.useContext)(g)}var m="_v5641b8g _1bsb1kdj _kqswstnw _u7coidpf _1eqkauwl",k="_v564glyw _t9ec1ygq _1pbyqfx8",y="_1pbyegat",_="_5sag5cps _t9ec1hw2",O="_3um015vq";t.a=function(e){var t=e.id,r=e.label,n=void 0===r?"Flag notifications":r,c=e.labelTag,l=void 0===c?"h2":c,h=e.shouldRenderToParent,w=void 0!==h&&h,x=e.children,E=e.onDismissed,j=void 0===E?i.a:E,F=Array.isArray(x)?x.length>0:Boolean(x),C=Object(o.useMemo)(function(){return{onDismissed:j,isDismissAllowed:!0}},[j]),A=o.createElement("div",{id:t,className:Object(s.a)(["_kqsw1n9t _1pbyxejw _u7cooahv _1e021epz _1iafidpf _il0widpf"])},F?o.createElement(p.a,null,o.createElement(l,null,n)):null,o.createElement(d.a,{appear:!1},!(!x||"object"!==a()(x))&&o.Children.map(x,function(e,t){var r=0===t;return o.createElement(u,{enterFrom:"left",fade:"inout",duration:"medium",animationTimingFunction:"ease-in"},function(n){var a=n.className,c=n.ref;return o.createElement("div",{className:Object(s.a)([m,0===t&&k,1===t&&y,t>=1&&_,t>=2&&O,r&&"_12a7luct",a]),ref:c},o.createElement(g.Provider,{value:r?C:v},e))})})));return w?A:o.createElement(b.a,{zIndex:f.a.flag()},A)}},689:function(e,t,r){"use strict";var n=r(0),a=r(7),o=Object(a.b)({outline:"var(--ds-border-width-focused, 2px)".concat(" solid ","var(--ds-border-focused, #4688EC)"),outlineOffset:2}),c=Object(a.b)({outlineColor:"var(--ds-border-focused, #4688EC)",outlineOffset:-2,outlineStyle:"solid",outlineWidth:"var(--ds-border-width-focused, 2px)"}),s=Object(a.b)({"&:focus":o,"&:focus-visible":o,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"var(--ds-border-width, 1px)".concat(" solid")}}}),i=Object(a.b)({"&:focus":c,"&:focus-visible":c,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"var(--ds-border-width, 1px)".concat(" solid"),outlineOffset:"-1px"}}}),l=Object(n.memo)(function(e){var t=e.children,r=e.isInset,l=e.focus,u=void 0===l?r?i:s:"on"===l&&(r?c:o);return Object(a.c)(a.a,null,function(e){var r=e.css,a=e.cx;return n.Children.only(u?Object(n.cloneElement)(t,{className:a([r(u),t.props.className])}):t)})});l.displayName="FocusRing",t.a=l},69:function(e,t,r){"use strict";var n=r(0),a=Object(n.createContext)({getAtlaskitAnalyticsContext:function(){return[]},getAtlaskitAnalyticsEventHandlers:function(){return[]}});t.a=a},70:function(e,t,r){"use strict";(function(e){r.d(t,"b",function(){return f}),r.d(t,"a",function(){return p});var n=r(232),a=r(125),o="@atlaskit/platform-feature-flags",c="__PLATFORM_FEATURE_FLAGS__",s=void 0!==e&&void 0!==e.env,i=!!s&&"true"===e.env.ENABLE_PLATFORM_FF,l=!!s&&"true"===e.env.STORYBOOK_ENABLE_PLATFORM_FF,u=i||l,d={booleanResolver:void 0},b="undefined"!=typeof window?window:globalThis;function f(e){b[c].booleanResolver=e}function p(e){if(u)return Object(a.a)('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',o,e),!0;try{var t,r,s;if(void 0===(null===(t=b[c])||void 0===t?void 0:t.booleanResolver)||null===(null===(r=b[c])||void 0===r?void 0:r.booleanResolver))return n.a.checkGate(e);var i=null===(s=b[c])||void 0===s?void 0:s.booleanResolver(e);return"boolean"!=typeof i?(console.warn("".concat(e," resolved to a non-boolean value, returning false for safety")),!1):i}catch(e){return!1}}b[c]=b[c]||d}).call(this,r(57))},709:function(e,t,r){"use strict";(function(e){var n=r(5),a=r.n(n),o=(r(297),r(0)),c=r(229),s=r(136),i=r(233),l=r(133),u={xxlarge:"h1",xlarge:"h1",large:"h2",medium:"h3",small:"h4",xsmall:"h5",xxsmall:"h6"},d="_dxsyidpf _1i144jg8 _nmk4glyw",b={"color.text":"_1w90i7uo","color.text.inverse":"_1w9015cr","color.text.warning.inverse":"_1w901yd3"},f={xxlarge:"_fqox1iff",xlarge:"_fqox12ln",large:"_fqox10sd",medium:"_fqox1af2",small:"_fqox1e3o",xsmall:"_fqox1qyo",xxsmall:"_fqoxi4vh"},p=Object(o.forwardRef)(function(e,t){var r=e.children,n=e.size,p=e.id,v=e.testId,g=e.as,h=e.color;var m=Object(l.a)(u[n]),k=a()(m,2),y=k[0],_=k[1],O=g||_,w="div"===O&&y,x=function(e){var t=Object(i.a)();return e||(s.a.hasOwnProperty(t)?s.a[t]:"color.text")}(h);return o.createElement(O,{id:p,ref:t,"data-testid":v,role:w?"heading":void 0,"aria-level":w?y:void 0,className:Object(c.a)([d,f[n],b[x]])},r)});t.a=p}).call(this,r(57))},749:function(e,t,r){"use strict";r.d(t,"a",function(){return a});const n=5;function a(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const r of e){if(!r)continue;const e=r.split(" ");for(const r of e){t[r.startsWith("_")?r.slice(0,n):r]=r}}let r="";for(const e in t)r+=t[e]+" ";return r?r.trimEnd():void 0}},76:function(e,t,r){"use strict";r.d(t,"a",function(){return n});r(90),r(10);var n={card:function(){return 100},navigation:function(){return 200},dialog:function(){return 300},layer:function(){return 400},blanket:function(){return 500},modal:function(){return 510},flag:function(){return 600},spotlight:function(){return 700},tooltip:function(){return 9999}}},804:function(e,t,r){var n=r(47),a=r(805);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var o={insert:"head",singleton:!1};n(a,o);e.exports=a.locals||{}},805:function(e,t,r){"use strict";r.r(t);var n=r(29),a=r.n(n),o=r(30),c=r.n(o)()(a.a);
14806c.push([e.i,"#rate-limiter-handler-flag-group {\n width: 400px;\n height: 100px;\n right: 10px;\n top: 20px;\n inset-inline-start: unset !important;\n inset-block-end: unset !important;\n}\n","",{version:3,sources:["webpack://./../rate-limit-handler/components/RateLimitNotifier/RateLimitNotifier.less"],names:[],mappings:"AAAA;EACE,YAAA;EACA,aAAA;EACA,WAAA;EACA,SAAA;EACA,oCAAA;EACA,iCAAA;AACF",sourcesContent:["#rate-limiter-handler-flag-group {\n width: 400px;\n height: 100px;\n right: 10px;\n top: 20px;\n inset-inline-start: unset !important;\n inset-block-end: unset !important;\n}"],sourceRoot:""}]),t.default=c},807:function(e,t,r){"use strict";r.d(t,"a",function(){return Qe});var n=r(0),a=r.n(n),o=r(3),c=r(50),s=r(5),i=r.n(s),l=r(1),u=r.n(l),d=r(21),b=r(64),f=function(e){return["light","dark","auto"].includes(e)},p=r(53),v=function(e){return void 0!==p.a.find(function(t){return t===e})},g=["light","dark","spacing","typography","shape","motion"],h=function(e){return void 0!==g.find(function(t){return t===e})},m="UNSAFE_themeOptions";function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var _=function(){if("undefined"==typeof document)return{};var e=document.documentElement,t=e.getAttribute(d.a)||"",r=e.getAttribute(d.e)||"";return y(y({},r.split(" ").map(function(e){return e.split(/:([^]*)/)}).reduce(function(e,t){var r=i()(t,2),n=r[0],a=r[1];if("colorMode"===n&&f(a)&&(e[n]=a),h(n)&&v(a)&&(e[n]=a),n===m)try{e[m]=JSON.parse(a)}catch(e){new Error("Invalid custom theme string")}return e},{})),function(e){return void 0!==b.a.find(function(t){return t===e})}(t)&&{colorMode:t})},O=r(13),w=r.n(O),x=r(14),E=r.n(x),j=function(){function e(t){w()(this,e),u()(this,"legacyObserver",null),this.callback=t,e.callbacks.add(t)}return E()(e,[{key:"observe",value:function(){e.observer||(e.observer=new MutationObserver(function(){var t=_();e.callbacks.forEach(function(e){return e(t)})}),e.observer.observe(document.documentElement,{attributeFilter:[d.e,d.a]}))}},{key:"disconnect",value:function(){this.callback&&e.callbacks.delete(this.callback),0===e.callbacks.size&&e.observer&&(e.observer.disconnect(),e.observer=null)}}])}();u()(j,"observer",null),u()(j,"callbacks",new Set);var F=Object(n.createContext)(void 0);function C(){var e=Object(n.useContext)(F),t=_(),r=Object(n.useState)((null==t?void 0:t.colorMode)||"light"),a=i()(r,2),o=a[0],c=a[1];return Object(n.useEffect)(function(){if(!e){var t=new j(function(e){c((null==e?void 0:e.colorMode)||"light")});return t.observe(),function(){return t.disconnect()}}},[e]),e||o}var A=r(2),S=r.n(A),D=r(16),P=r.n(D),I=(r(290),r(884)),M=r(6),z=r.n(M),B=r(17),N=r(122),q=r(12),U=r.n(q),L=r(65),G=function(e){return/^#[0-9A-F]{6}$/i.test(e)};function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var R=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.colorMode,n=void 0===r?N.a.colorMode:r,a=t.dark,c=void 0===a?N.a.dark:a,s=t.light,l=void 0===s?N.a.light:s,b=t.contrastMode,p=void 0===b?N.a.contrastMode:b,g=t.motion,m=void 0===g?N.a.motion():g,k=t.shape,y=void 0===k?N.a.shape():k,_=t.spacing,O=void 0===_?N.a.spacing:_,w=t.typography,x=void 0===w?N.a.typography:w,E=t.UNSAFE_themeOptions,j=void 0===E?N.a.UNSAFE_themeOptions:E,F=(e={dark:c,light:l,motion:m,shape:y,spacing:O,typography:x},Object.entries(e).reduce(function(e,t){var r=i()(t,2),n=r[0],a=r[1];return"colorMode"===n&&"string"==typeof a&&f(a)||"UNSAFE_themeOptions"===n&&"object"===U()(a)||h(n)&&"string"==typeof a&&v(a)?e+"".concat(e?" ":"")+"".concat(n,":").concat("object"===U()(a)?JSON.stringify(a):a):e},"")),C=u()(u()({},d.e,F),d.a,"auto"===n?"light":n);if(Object(o.a)("platform_increased-contrast-themes")&&(C=V(V({},C),{},u()({},d.b,"auto"===p?"no-preference":p))),j&&G(j.brandColor)){var A=JSON.stringify(j),S=Object(L.a)(A);C[d.c]=S}return C},H={light:function(){return r.e(5).then(r.bind(null,898))},"light-future":function(){return r.e(6).then(r.bind(null,899))},"light-increased-contrast":function(){return r.e(7).then(r.bind(null,900))},dark:function(){return r.e(2).then(r.bind(null,901))},"dark-future":function(){return r.e(3).then(r.bind(null,902))},"dark-increased-contrast":function(){return r.e(4).then(r.bind(null,903))},spacing:function(){return r.e(10).then(r.bind(null,904))},typography:function(){return r.e(11).then(r.bind(null,905))},shape:function(){return r.e(9).then(r.bind(null,906))},motion:function(){return r.e(8).then(r.bind(null,907))}},W=function(){var e=P()(z.a.mark(function e(t){var r,n;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,H[t]();case 1:return r=e.sent,n=r.default,e.abrupt("return",n);case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),J=function(){var e=P()(z.a.mark(function e(t){var r,n;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!document.head.querySelector("style[".concat(d.e,'="').concat(t,'"]:not([').concat(d.c,"])"))){e.
14806next=1;break}return e.abrupt("return");case 1:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=3,W(t);case 3:r=e.sent,(n=document.createElement("style")).textContent=r,n.dataset.theme=t,document.head.appendChild(n);case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();function Y(e){document.documentElement.setAttribute(d.a,e.matches?"dark":"light")}var K="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)"),X=new(function(){return E()(function e(){w()(this,e),u()(this,"unbindThemeChangeListener",null)},[{key:"getColorMode",value:function(){return K&&null!=K&&K.matches?"dark":"light"}},{key:"bind",value:function(){K&&null===this.unbindThemeChangeListener&&(this.unbindThemeChangeListener=Object(B.bind)(K,{type:"change",listener:Y}))}},{key:"unbind",value:function(){this.unbindThemeChangeListener&&(this.unbindThemeChangeListener(),this.unbindThemeChangeListener=null)}}])}());function $(e){document.documentElement.setAttribute(d.b,e.matches?"more":"no-preference")}var Q="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-contrast: more)"),Z=new(function(){return E()(function e(){w()(this,e),u()(this,"unbindContrastChangeListener",null)},[{key:"getContrastMode",value:function(){return Q&&null!=Q&&Q.matches?"more":"no-preference"}},{key:"bind",value:function(){Q&&null===this.unbindContrastChangeListener&&(this.unbindContrastChangeListener=Object(B.bind)(Q,{type:"change",listener:$}))}},{key:"unbind",value:function(){this.unbindContrastChangeListener&&(this.unbindContrastChangeListener(),this.unbindContrastChangeListener=null)}}])}());function ee(e){"auto"===e.colorMode?(e.colorMode=X.getColorMode(),X.bind()):X.unbind(),Object(o.a)("platform_increased-contrast-themes")&&("auto"===e.contrastMode?(e.contrastMode=Z.getContrastMode(),Z.bind()):Z.unbind());var t=R(e);return Object.entries(t).forEach(function(e){var t=i()(e,2),r=t[0],n=t[1];document.documentElement.setAttribute(r,n)}),function(){X.unbind(),Object(o.a)("platform_increased-contrast-themes")&&Z.unbind()}}function te(e,t){var r=JSON.stringify(e),n=Object(L.a)(r),a=[];return("auto"===t?["light","dark"]:[t]).forEach(function(e){var t=document.head.querySelector("style[".concat(d.c,'="').concat(n,'"][').concat(d.e,'="').concat(e,'"]'));t?document.head.appendChild(t):a.push(e)}),a}var re=r(18),ne=r.n(re),ae=function(e){return ne()(new Set([]))},oe=r(63);function ce(e){var t;return null===(t=Object.entries(oe.a).find(function(t){return i()(t,2)[1].increasesContrastFor===e}))||void 0===t?void 0:t[1].id}var se=function(e){var t=e.colorMode,r=e.contrastMode,n=e.dark,a=e.light,c=e.shape,s=e.spacing,i=e.typography,l=e.motion,u=[a,n],d=[];if("auto"===t)"no-preference"!==r&&Object(o.a)("platform_increased-contrast-themes")&&u.forEach(function(e){var t=ce(e);t&&u.push(t)}),d.push.apply(d,u);else if(d.push(e[t]),"no-preference"!==r&&Object(o.a)("platform_increased-contrast-themes")){var b=ce(e[t]);b&&d.push(b)}return[c,s,i,l].forEach(function(e){e&&d.push(e)}),ne()(new Set(d))};function ie(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return le(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?le(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,c=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){s=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(s)throw o}}}}function le(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?ue(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var be=function(){var e=P()(z.a.mark(function e(){var t,n,a,c,s,i,l,u,d,b,f,p,v,g,h,m,k,y,O,w,x,E,j,F,C,A,S,D,I,M,B,q,U,L=arguments;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=L.length>1?L[1]:void 0,a="function"==typeof(t=L.length>0&&void 0!==L[0]?L[0]:{})?t(de(de({},N.a),{},{typography:N.a.typography,shape:N.a.shape(),motion:N.a.motion()},_())):t,c=a.colorMode,s=void 0===c?N.a.colorMode:c,i=a.contrastMode,l=void 0===i?N.a.contrastMode:i,u=a.dark,d=void 0===u?N.a.dark:u,b=a.light,f=void 0===b?N.a.light:b,p=a.shape,v=void 0===p?N.a.shape():p,g=a.spacing,h=void 0===g?N.a.spacing:g,m=a.typography,k=void 0===m?N.a.typography:m,y=a.motion,O=void 0===y?N.a.motion():y,w=a.UNSAFE_themeOptions,x=void 0===w?N.a.UNSAFE_themeOptions:w,Object(o.a)("platform_increased-contrast-themes")||("light-increased-contrast"===f&&(f="light"),"dark-increased-contrast"===d&&(d="dark")),j=se(E={colorMode:s,contrastMode:l,dark:d,light:f,shape:v,spacing:h,typography:k,motion:O,UNSAFE_themeOptions:n?void 0:x}),F=n||J,C=j.map(function(){var e=P()(z.a.mark(function e(t){return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,F(t);case 1:return e.abrupt("return",e.sent);case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),!n&&x&&G(null==x?void 0:x.brandColor)&&(A=s||N.a.colorMode,(S=te(x,A)).length>0&&C.push(P()(z.a.mark(function e(){var t;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,r.e(14).then(r.bind(null,909));case 1:t=e.sent,(0,t.loadAndAppendCustomThemeCss)({colorMode:2===S.length?"auto":S[0],UNSAFE_themeOptions:x});case 2:case"end":return e.stop()}},e)}))())),e.next=1,Promise.all(C);case 1:D=ae(),I=ie(D),e.prev=2,I.s();case 3:if((M=I.n()).done){e.next=5;break}return B=M.value,e.next=4,F(B);case 4:e.next=3;break;case 5:e.next=7;break;case 6:e.prev=6,U=e.catch(2),I.e(U);case 7:return e.prev=7,I.f(),e.finish(7);case 8:return q=ee(E),e.abrupt("return",q);case 9:case"end":return e.stop()}},e,null,[[2,6,7,8]])}));return function(){return e.apply(this,arguments)}}(),fe=be,pe=Object(n.createContext)(!1),ve=Object(n.createContext)(!1),ge=Object(n.createContext)(!1),he=Object(n.createContext)(void 0),me=Object(n.createContext)(void 0),ke=Object(n.createContext)(void 0),ye=function(){var e;return null!==(e=Object(n.useContext)(ge))&&void 0!==e&&e},_e=r(637);function Oe(e){var t=Object(_e.a)();return!!t&&t.head.querySelector("style[".concat(d.e,'="').concat(e,'"]'))}var we=function(){var e=P()(z.a.mark(function e(t){var r,n;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!Oe(t)){e.next=2;break}return e.abrupt("return");case 2:if(t){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,H[t]();case 6:return r=e.sent,n=r.default,e.abrupt("return",n);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),xe=function(){var e=P()(z.a.mark(function e(t,r){var n,a;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Object(_e.a)()){e.next=3;break}return e.abrupt("return");case 3:if((a=n.createElement("style")).textContent=t,a.dataset.theme=r,!Oe(r)){e.next=8;break}return e.abrupt("return");case 8:n.head.appendChild(a);case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),Ee=function(){var e=P()(z.a.mark(function e(t){var r;return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,we(t);case 2:if(r=e.sent){e.next=5;break}return e.abrupt("return");case 5:xe(r,t);case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),je=function(){var e=P()(z.a.mark(function e(t){return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:Object.values(t).filter(function(e){return!!e}).forEach(Ee);case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();function Fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?Fe(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Ae={dark:"dark",light:"light",spacing:"spacing",typography:"typography"},Se="undefined"!=typeof window&&"matchMedia"in window?window.matchMedia("(prefers-color-scheme: dark)"):void 0;function De(e){return"auto"===e?null!=Se&&Se.matches?"dark":"light":e}var Pe="_1e0c1bgi";var Ie=function(e){var t=e.children,r=e.defaultColorMode,o=void 0===r?"auto":r,c=e.defaultTheme,s=Object(n.useState)(o),l=i()(s,2),b=l[0],f=l[1],p=Object(n.useState)(De(o)),v=i()(p,2),g=v[0],h=v[1],m=Object(n.useState)(function(){return Ce(Ce({},Ae),c)}),k=i()(m,2),y=k[0],_=k[1],O=Object(n.useCallback)(function(e){f(e),h(De(e))},[]),w=Object(n.useCallback)(function(e){_(function(t){return Ce(Ce({},t),e)})},[]),x=Object(n.useRef)(null),E=Object(n.useContext)(ve),j=Object(n.useContext)(pe),C=ye(),A=E&&!C&&j;Object(n.useEffect)(function(){if(A){var e=function(){var e=P()(z.a.mark(function e(){return z.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!x.current){e.next=6;break}return e.next=3,x.current;case 3:(0,e.sent)(),x.current=null;case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),t=function(){var t=P()(z.a.mark(function t(){var r;return z.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:r=fe(Ce(Ce({},y),{},{colorMode:g})),x.current=r;case 4:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}();return t(),function(){e()}}je(y)},[E,C,A,g,y]),Object(n.useEffect)(function(){if(Se)return Object(B.bind)(Se,{type:"change",listener:function(e){"auto"===b&&h(e.matches?"dark":"light")}})},[b]);var D=Ce(Ce({},R(Ce(Ce({},y),{},{colorMode:g}))),{},u()({},d.d,!0));return a.a.createElement(ge.Provider,{value:!0},a.a.createElement(F.Provider,{value:g},a.a.createElement(he.Provider,{value:O},a.a.createElement(me.Provider,{value:y},a.a.createElement(ke.Provider,{value:w},A?t:a.a.createElement("div",S()({},D,{className:Object(I.a)([Pe])}),t))))))},Me="atlaskit-portal-container",ze="body > .atlaskit-portal-container",Be="atlaskit-portal",Ne=function(){return document.body},qe=function(e){e.parentElement||function(){var e=document.querySelector(ze);if(!e){var t,r=document.createElement("div");return r.className=Me,r.style.display="flex",null===(t=Ne())||void 0===t||t.appendChild(r),r}return e}().appendChild(e)},Ue=function(e){var t=document.createElement("div");return t.className=Be,t.style.zIndex="".concat(e),t},Le=function(e){var t=function(){var e=document.querySelector(ze);if(!e){var t,r=document.createElement("div");return r.className=Me,r.style.display="flex",null===(t=Ne())||void 0===t||t.appendChild(r),r}return e}();t.contains(e)&&t.removeChild(e)};function Ge(e){var t=e.zIndex,r=e.children,s=e.isClosed,i=void 0!==s&&s,l=Object(n.useMemo)(function(){return Ue(t)},[t]),u=C(),d=ye();return qe(l),Object(n.useEffect)(function(){Object(o.a)("import_into_jsm_in_template_gallery_killswitch")&&i&&Le(l)},[i,l]),Object(n.useEffect)(function(){return function(){Le(l)}},[l]),Object(c.createPortal)(d?a.a.createElement(Ie,{defaultColorMode:u},r):r,l)}var Te="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,Ve=function(e){if(void 0!==document){var t=document.createElement("div");return t.className=Be,t.style.zIndex="".concat(e),t}},Re=function(){if(void 0!==document){var e=document.querySelector(ze);if(!e){var t,r=document.createElement("div");return r.className=Me,r.style.display="flex",null===(t=Ne())||void 0===t||t.appendChild(r),r}return e}},He=function(e){var t;void 0!==document&&(e&&(null===(t=Ne())||void 0===t||t.removeChild(e)))};function We(e){var t=e.zIndex,r=e.children,s=e.isClosed,l=Object(n.useState)(null),u=i()(l,2),d=u[0],b=u[1],f=C(),p=ye();Te(function(){if(!Object(o.a)("import_into_jsm_in_template_gallery_killswitch")){var e=Ve(t);b(e);var r=Re();if(!e||!r)return;return r.appendChild(e),function(){e&&r.removeChild(e),b(null)}}if(!s){var n=Ve(t);b(n);var a=Re();if(!n||!a)return;return a.appendChild(n),function(){a&&(a.removeChild(n),!a.hasChildNodes()&&He(a)),b(null)}}},[t,s,o.a]);var v=a.a.createElement(n.Suspense,{fallback:null},p?a.a.createElement(Ie,{defaultColorMode:f},r):r);return d?Object(c.createPortal)(v,d):null}var Je=function(e){var t=Object(n.useState)(!1),r=i()(t,2),a=r[0],o=r[1],c=Object(n.useState)(function(){return"layoutEffect"===e?Te:n.useEffect});return(0,i()(c,1)[0])(function(){o(!0)},[]),a},Ye={100:"card",200:"navigation",300:"dialog",400:"layer",500:"blanket",510:"modal",600:"flag",700:"spotlight",9999:"tooltip"},Ke=function(e){return Ye.hasOwnProperty(e)?Ye[e]:null};function Xe(e,t){var r=function(e,t){var r={layer:Ke(Number(t)),zIndex:t};return new CustomEvent(e,{detail:r})}(e,t);window.dispatchEvent(r)}var $e=function(e){var t=Number(e);Object(n.useEffect)(function(){return Xe("akPortalMount",t),function(){Xe("akPortalUnmount",t)}},[t])};function Qe(e){var t=e.zIndex,r=void 0===t?0:t,n=e.children,c=e.mountStrategy,s=void 0===c?"effect":c,i=e.isClosed,l=void 0!==i&&i,u=Je(s);return $e(r),Object(o.a)("platform_design_system_team_portal_logic_r18_fix")?a.a.createElement(We,{zIndex:r,isClosed:l},n):u?a.a.createElement(Ge,{zIndex:r,isClosed:l},n):null}},808:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(0),c=r.n(o),s=r(39),i=r(42),l=r(1),u=r.n(l),d=r(5),b=r.n(d),f=(r(300),r(749));function p(e,t,r){return null!=e?t?r?r+e+t:e+t:e:"var(--c-, )"}
14806var v=r(709),g=r(3),h=r(4),m=r.n(h),k=(r(303),Object(o.createContext)("elevation.surface"));k.displayName="SurfaceProvider";var y=["as","children","backgroundColor","padding","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","style","testId","xcss"],_=["className"],O={"color.background.accent.lime.subtlest":"_bfhkm890","color.background.accent.lime.subtlest.hovered":"_bfhkd4y8","color.background.accent.lime.subtlest.pressed":"_bfhk1fno","color.background.accent.lime.subtler":"_bfhkz2ec","color.background.accent.lime.subtler.hovered":"_bfhk1eds","color.background.accent.lime.subtler.pressed":"_bfhk1hgz","color.background.accent.lime.subtle":"_bfhkbq5w","color.background.accent.lime.subtle.hovered":"_bfhkfoww","color.background.accent.lime.subtle.pressed":"_bfhkhgj8","color.background.accent.lime.bolder":"_bfhktde4","color.background.accent.lime.bolder.hovered":"_bfhknzpa","color.background.accent.lime.bolder.pressed":"_bfhk1b17","color.background.accent.red.subtlest":"_bfhk1vk5","color.background.accent.red.subtlest.hovered":"_bfhk1i6i","color.background.accent.red.subtlest.pressed":"_bfhk1pbw","color.background.accent.red.subtler":"_bfhk1rtt","color.background.accent.red.subtler.hovered":"_bfhkrw5d","color.background.accent.red.subtler.pressed":"_bfhk69rw","color.background.accent.red.subtle":"_bfhkkrt9","color.background.accent.red.subtle.hovered":"_bfhk1sou","color.background.accent.red.subtle.pressed":"_bfhk1tf4","color.background.accent.red.bolder":"_bfhkuibq","color.background.accent.red.bolder.hovered":"_bfhk100f","color.background.accent.red.bolder.pressed":"_bfhkprmn","color.background.accent.orange.subtlest":"_bfhk1g3m","color.background.accent.orange.subtlest.hovered":"_bfhkg4tm","color.background.accent.orange.subtlest.pressed":"_bfhk1ya0","color.background.accent.orange.subtler":"_bfhkf2vu","color.background.accent.orange.subtler.hovered":"_bfhk1lml","color.background.accent.orange.subtler.pressed":"_bfhkuxsx","color.background.accent.orange.subtle":"_bfhk1g6e","color.background.accent.orange.subtle.hovered":"_bfhk1oew","color.background.accent.orange.subtle.pressed":"_bfhk1phk","color.background.accent.orange.bolder":"_bfhkjgng","color.background.accent.orange.bolder.hovered":"_bfhkhi52","color.background.accent.orange.bolder.pressed":"_bfhkf767","color.background.accent.yellow.subtlest":"_bfhk1ozg","color.background.accent.yellow.subtlest.hovered":"_bfhk19g9","color.background.accent.yellow.subtlest.pressed":"_bfhk31d1","color.background.accent.yellow.subtler":"_bfhk3fv2","color.background.accent.yellow.subtler.hovered":"_bfhklg04","color.background.accent.yellow.subtler.pressed":"_bfhk1d44","color.background.accent.yellow.subtle":"_bfhkry5t","color.background.accent.yellow.subtle.hovered":"_bfhk17e6","color.background.accent.yellow.subtle.pressed":"_bfhko0y5","color.background.accent.yellow.bolder":"_bfhk1vop","color.background.accent.yellow.bolder.hovered":"_bfhkkjqf","color.background.accent.yellow.bolder.pressed":"_bfhk32kj","color.background.accent.green.subtlest":"_bfhkn729","color.background.accent.green.subtlest.hovered":"_bfhk3utz","color.background.accent.green.subtlest.pressed":"_bfhkv5yf","color.background.accent.green.subtler":"_bfhk1wnw","color.background.accent.green.subtler.hovered":"_bfhkung8","color.background.accent.green.subtler.pressed":"_bfhk1p19","color.background.accent.green.subtle":"_bfhk1rsu","color.background.accent.green.subtle.hovered":"_bfhk12e3","color.background.accent.green.subtle.pressed":"_bfhk8h4p","color.background.accent.green.bolder":"_bfhk1e5c","color.background.accent.green.bolder.hovered":"_bfhka5yi","color.background.accent.green.bolder.pressed":"_bfhk1azz","color.background.accent.teal.subtlest":"_bfhk7xuz","color.background.accent.teal.subtlest.hovered":"_bfhk108c","color.background.accent.teal.subtlest.pressed":"_bfhk1j2h","color.background.accent.teal.subtler":"_bfhk1a17","color.background.accent.teal.subtler.hovered":"_bfhkg5py","color.background.accent.teal.subtler.pressed":"_bfhkq7li","color.background.accent.teal.subtle":"_bfhktdv8","color.background.accent.teal.subtle.hovered":"_bfhkzh8h","color.background.accent.teal.subtle.pressed":"_bfhk10ai","color.background.accent.teal.bolder":"_bfhk2c8p","color.background.accent.teal.bolder.hovered":"_bfhkl3ve","color.background.accent.teal.bolder.pressed":"_bfhkse6l","color.background.accent.blue.subtlest":"_bfhkavxe","color.background.accent.blue.subtlest.hovered":"_bfhkay3p","color.background.accent.blue.subtlest.pressed":"_bfhk1xmr","color.background.accent.blue.subtler":"_bfhk4v9p","color.background.accent.blue.subtler.hovered":"_bfhk16e6","color.background.accent.blue.subtler.pressed":"_bfhk1uh7","color.background.accent.blue.subtle":"_bfhk1j89","color.background.accent.blue.subtle.hovered":"_bfhk1f4s","color.background.accent.blue.subtle.pressed":"_bfhkqctv","color.background.accent.blue.bolder":"_bfhkc8cv","color.background.accent.blue.bolder.hovered":"_bfhk1cwi","color.background.accent.blue.bolder.pressed":"_bfhkhcrq","color.background.accent.purple.subtlest":"_bfhkp7j4","color.background.accent.purple.subtlest.hovered":"_bfhkm0d5","color.background.accent.purple.subtlest.pressed":"_bfhkgslw","color.background.accent.purple.subtler":"_bfhk1jkz","color.background.accent.purple.subtler.hovered":"_bfhk1wyu","color.background.accent.purple.subtler.pressed":"_bfhk5fkp","color.background.accent.purple.subtle":"_bfhkdh45","color.background.accent.purple.subtle.hovered":"_bfhk1wob","color.background.accent.purple.subtle.pressed":"_bfhkwz05","color.background.accent.purple.bolder":"_bfhkygwo","color.background.accent.purple.bolder.hovered":"_bfhkadgs","color.background.accent.purple.bolder.pressed":"_bfhk1uro","color.background.accent.magenta.subtlest":"_bfhk8tvm","color.background.accent.magenta.subtlest.hovered":"_bfhkr3zd","color.background.accent.magenta.subtlest.pressed":"_bfhk1een","color.background.accent.magenta.subtler":"_bfhkv9ra","color.background.accent.magenta.subtler.hovered":"_bfhk1r0p","color.background.accent.magenta.subtler.pressed":"_bfhkxuzc","color.background.accent.magenta.subtle":"_bfhk1mi6","color.background.accent.magenta.subtle.hovered":"_bfhkrwyz","color.background.accent.magenta.subtle.pressed":"_bfhk1ovh","color.background.accent.magenta.bolder":"_bfhkc3uk","color.background.accent.magenta.bolder.hovered":"_bfhk1ok8","color.background.accent.magenta.bolder.pressed":"_bfhkwaw3","color.background.accent.gray.subtlest":"_bfhk11bn","color.background.accent.gray.subtlest.hovered":"_bfhk12j4","color.background.accent.gray.subtlest.pressed":"_bfhk1lb4","color.background.accent.gray.subtler":"_bfhk1v33","color.background.accent.gray.subtler.hovered":"_bfhk1f7l","color.background.accent.gray.subtler.pressed":"_bfhkd8a2","color.background.accent.gray.subtle":"_bfhk1t05","color.background.accent.gray.subtle.hovered":"_bfhk1a2l","color.background.accent.gray.subtle.pressed":"_bfhk1z0s","color.background.accent.gray.bolder":"_bfhk1t1b","color.background.accent.gray.bolder.hovered":"_bfhke4nv","color.background.accent.gray.bolder.pressed":"_bfhk82ra","color.background.disabled":"_bfhksyzs","color.background.input":"_bfhk1j9a","color.background.input.hovered":"_bfhk1d5g","color.background.input.pressed":"_bfhkr01l","color.background.inverse.subtle":"_bfhk1vck","color.background.inverse.subtle.hovered":"_bfhkmpja","color.background.inverse.subtle.pressed":"_bfhk1gii","color.background.neutral":"_bfhkm7j4","color.background.neutral.hovered":"_bfhk15ej","color.background.neutral.pressed":"_bfhkip91","color.background.neutral.subtle":"_bfhksm61","color.background.neutral.subtle.hovered":"_bfhk166n","color.background.neutral.subtle.pressed":"_bfhk1dty","color.background.neutral.bold":"_bfhkcdhy","color.background.neutral.bold.hovered":"_bfhk1bsc","color.background.neutral.bold.pressed":"_bfhk1b6k","color.background.selected":"_bfhkfg4m","color.background.selected.hovered":"_bfhki1yw","color.background.selected.pressed":"_bfhk19ru","color.background.selected.bold":"_bfhk1fvw","color.background.selected.bold.hovered":"_bfhk18hz","color.background.selected.bold.pressed":"_bfhkgr1v","color.background.brand.subtlest":"_bfhk3wxy","color.background.brand.subtlest.hovered":"_bfhkezq1","color.background.brand.subtlest.pressed":"_bfhk2ggb","color.background.brand.bold":"_bfhkb29m","color.background.brand.bold.hovered":"_bfhku1se","color.background.brand.bold.pressed":"_bfhkqkzo","color.background.brand.boldest":"_bfhk15mt","color.background.brand.boldest.hovered":"_bfhk1uwk","color.background.brand.boldest.pressed":"_bfhk17jr","color.background.danger":"_bfhk1gly","color.background.danger.hovered":"_bfhk1yvi","color.background.danger.pressed":"_bfhk1io2","color.background.danger.bold":"_bfhkybec","color.background.danger.bold.hovered":"_bfhks9hg","color.background.danger.bold.pressed":"_bfhk9pqq","color.background.warning":"_bfhk1tzq","color.background.warning.hovered":"_bfhk1rd4","color.background.warning.pressed":"_bfhk11dh","color.background.warning.bold":"_bfhk190i","color.background.warning.bold.hovered":"_bfhk1i4c","color.background.warning.bold.pressed":"_bfhkrj9s","color.background.success":"_bfhkmv6i","color.background.success.hovered":"_bfhk1jgi","color.background.success.pressed":"_bfhky4f1","color.background.success.bold":"_bfhk8emd","color.background.success.bold.hovered":"_bfhk1q4l","color.background.success.bold.pressed":"_bfhkcrcn","color.background.discovery":"_bfhk1nvp","color.background.discovery.hovered":"_bfhk1xp7","color.background.discovery.pressed":"_bfhkdlkp","color.background.discovery.bold":"_bfhk1lri","color.background.discovery.bold.hovered":"_bfhk1w72","color.background.discovery.bold.pressed":"_bfhkrb53","color.background.information":"_bfhk33gi","color.background.information.hovered":"_bfhk1vps","color.background.information.pressed":"_bfhk1s0z","color.background.information.bold":"_bfhk14wj","color.background.information.bold.hovered":"_bfhk1amz","color.background.information.bold.pressed":"_bfhk5bth","color.blanket":"_bfhk10xm","color.blanket.selected":"_bfhk7wq0","color.blanket.danger":"_bfhkrprw","color.skeleton":"_bfhkn82g","color.skeleton.subtle":"_bfhkh3tw","elevation.surface":"_bfhkvuon","elevation.surface.hovered":"_bfhk108i","elevation.surface.pressed":"_bfhk1ji5","elevation.surface.overlay":"_bfhk1bhr","elevation.surface.overlay.hovered":"_bfhk16qz","elevation.surface.overlay.pressed":"_bfhkvq0a","elevation.surface.raised":"_bfhkhp5a","elevation.surface.raised.hovered":"_bfhk1a0f","elevation.surface.raised.pressed":"_bfhkf7u5","elevation.surface.sunken":"_bfhkqbzx","utility.elevation.surface.current":"_bfhkchd4"},w={"elevation.surface":"_1q1lvuon","elevation.surface.hovered":"_1q1l108i","elevation.surface.pressed":"_1q1l1ji5","elevation.surface.overlay":"_1q1l1bhr","elevation.surface.overlay.hovered":"_1q1l16qz","elevation.surface.overlay.pressed":"_1q1lvq0a","elevation.surface.raised":"_1q1lhp5a","elevation.surface.raised.hovered":"_1q1l1a0f","elevation.surface.raised.pressed":"_1q1lf7u5","elevation.surface.sunken":"_1q1lqbzx"},x={"space.0":"_1q51ze3t","space.025":"_1q51v77o","space.050":"_1q511b66","space.075":"_1q5112x7","space.100":"_1q51u2gc","space.150":"_1q51utpp","space.200":"_1q51pxbi","space.250":"_1q51v47k","space.300":"_1q511ejb","space.400":"_1q51xy5q","space.500":"_1q511jfw","space.600":"_1q51oahv","space.800":"_1q51xncg","space.1000":"_1q511epz"},E={"space.0":"_85i5ze3t","space.025":"_85i5v77o","space.050":"_85i51b66","space.075":"_85i512x7","space.100":"_85i5u2gc","space.150":"_85i5utpp","space.200":"_85i5pxbi","space.250":"_85i5v47k","space.300":"_85i51ejb","space.400":"_85i5xy5q","space.500":"_85i51jfw","space.600":"_85i5oahv","space.800":"_85i5xncg","space.1000":"_85i51epz"},j={"space.0":"_bozgze3t","space.025":"_bozgv77o","space.050":"_bozg1b66","space.075":"_bozg12x7","space.100":"_bozgu2gc","space.150":"_bozgutpp","space.200":"_bozgpxbi","space.250":"_bozgv47k","space.300":"_bozg1ejb","space.400":"_bozgxy5q","space.500":"_bozg1jfw","space.600":"_bozgoahv","space.800":"_bozgxncg","space.1000":"_bozg1epz"},F={"space.0":"_y4tize3t","space.025":"_y4tiv77o","space.050":"_y4ti1b66","space.075":"_y4ti12x7","space.100":"_y4tiu2gc","space.150":"_y4tiutpp","space.200":"_y4tipxbi","space.250":"_y4tiv47k","space.300":"_y4ti1ejb","space.400":"_y4tixy5q","space.500":"_y4ti1jfw","space.600":"_y4tioahv","space.800":"_y4tixncg","space.1000":"_y4ti1epz"},C=Object(o.forwardRef)(function(e,t){var r=e.as,n=void 0===r?"div":r,c=e.children,s=e.backgroundColor,i=e.padding,l=e.paddingBlock,u=void 0===l?i:l,d=e.paddingBlockStart,b=void 0===d?u:d,p=e.paddingBlockEnd,v=void 0===p?u:p,g=e.paddingInline,h=void 0===g?i:g,C=e.paddingInlineStart,S=void 0===C?h:C,D=e.paddingInlineEnd,P=void 0===D?h:D,I=e.style,M=e.testId,z=e.xcss,B=m()(e,y),N=(B.className,m()(B,_)),q=o.createElement(n,a()({style:I,ref:t,className:Object(f.a)(["_19itglyw _vchhusvi _r06hglyw",s&&O[s],s&&A(s)&&w[s],b&&x[b],v&&E[v],S&&j[S],P&&F[P],z])},N,{"data-testid":M}),c);return s?o.createElement(k.Provider,{value:s},q):q});function A(e){return e in w}r(304);const S=()=>new Error("\n âââââââ âââââââ ââââ âââââââââââ ââââââ âââââââââââââââ\nââââââââââââââââââââââ âââââââââââââââââââ ââââââââââââââââ\nâââ âââ ââââââââââââââââââââââââââââ ââââââ âââ âââ\nâââ âââ âââââââââââââââââââââ ââââââ ââââââ âââ âââ\nââââââââââââââââââââ âââ ââââââ âââââââââââââââââââââââââââ\n âââââââ âââââââ âââ ââââââ ââââââââââââââââââââââââââ\n\n @compiled/react\n\n Code was executed when it shouldn't have. To resolve make sure to:\n\n 1. Set up Compiled.\n 2. Configure importSources in your Compiled config to point to the module that exports the output of createStrictAPI().\n\n For more information visit https://compiledcssinjs.com/docs/installation and follow the instructions.\n"),D=(...e)=>{const t=e;return Object(f.a)(t)};var P={css(){throw S()},cssMap(){throw S()},cx:D,XCSSProp(){throw S()}}
14806,I=P.cx,M=(r(305),["as","role","alignItems","justifyContent","gap","columnGap","rowGap","children","testId","direction","wrap","xcss"]),z={"space.0":"_1p57ze3t","space.025":"_1p57v77o","space.050":"_1p571b66","space.075":"_1p5712x7","space.100":"_1p57u2gc","space.150":"_1p57utpp","space.200":"_1p57pxbi","space.250":"_1p57v47k","space.300":"_1p571ejb","space.400":"_1p57xy5q","space.500":"_1p571jfw","space.600":"_1p57oahv","space.800":"_1p57xncg","space.1000":"_1p571epz"},B={"space.0":"_gy1pze3t","space.025":"_gy1pv77o","space.050":"_gy1p1b66","space.075":"_gy1p12x7","space.100":"_gy1pu2gc","space.150":"_gy1putpp","space.200":"_gy1ppxbi","space.250":"_gy1pv47k","space.300":"_gy1p1ejb","space.400":"_gy1pxy5q","space.500":"_gy1p1jfw","space.600":"_gy1poahv","space.800":"_gy1pxncg","space.1000":"_gy1p1epz"},N={start:"_1bahv2br",center:"_1bah1h6o",end:"_1bahh9n0","space-between":"_1bah1yb4","space-around":"_1bah1b1v","space-evenly":"_1bahitcz",stretch:"_1bah1fhb"},q={column:"_2lx21bp4",row:"_2lx2vrvc"},U={wrap:"_1n261g80",nowrap:"_1n261q9c"},L={start:"_4cvrv2br",center:"_4cvr1h6o",baseline:"_4cvr1q9y",end:"_4cvrh9n0",stretch:"_4cvr1fhb"},G="_1e0c1txw _vchhusvi",T=Object(o.memo)(Object(o.forwardRef)(function(e,t){var r=e.as,n=void 0===r?"div":r,c=e.role,s=e.alignItems,i=e.justifyContent,l=e.gap,u=e.columnGap,d=e.rowGap,b=e.children,p=e.testId,v=e.direction,g=e.wrap,h=e.xcss,k=m()(e,M);return o.createElement(n,a()({},k,{role:c,className:Object(f.a)([G,l&&B[l],u&&B[u],l&&z[l],d&&z[d],s&&L[s],v&&q[v],i&&N[i],g&&U[g],h]),"data-testid":p,ref:t}),b)}));T.displayName="Flex";var V=T,R=["as","alignInline","alignBlock","shouldWrap","spread","grow","space","rowSpace","separator","xcss","testId","role","children"],H="_1mouze3t _195g1i6y _syazjjyb _lcxvglyw _uiztglyw",W="_16jlidpf",J="_1bsb1osq _16jlkb7n",Y=function(e){var t=e.children;return o.createElement("span",{className:Object(f.a)([H])},t)},K=Object(o.memo)(Object(o.forwardRef)(function(e,t){var r=e.as,n=e.alignInline,c=e.alignBlock,s=void 0===c?"start":c,i=e.shouldWrap,l=void 0!==i&&i,u=e.spread,d=e.grow,b=e.space,f=e.rowSpace,p=e.separator,v=e.xcss,g=e.testId,h=e.role,k=e.children,y=m()(e,R),_="string"==typeof p?o.createElement(Y,null,p):p,O=_?o.Children.toArray(k).filter(Boolean).map(function(e,t){return o.createElement(o.Fragment,{key:t},p&&t>0?_:null,e)}):k;return o.createElement(V,a()({},y,{as:r,role:h,alignItems:s,justifyContent:u||n,direction:"row",gap:b,rowGap:f,wrap:l?"wrap":void 0,xcss:I("hug"===d&&W,"fill"===d&&J,v),testId:g,ref:t}),O)}));K.displayName="Inline";var X=K,$=(r(306),["as","alignInline","alignBlock","spread","grow","space","children","testId","xcss","role"]),Q="_16jlidpf",Z="_1bsb1osq _16jlkb7n",ee=Object(o.memo)(Object(o.forwardRef)(function(e,t){var r=e.as,n=e.alignInline,c=e.alignBlock,s=void 0===c?"stretch":c,i=e.spread,l=e.grow,u=e.space,d=e.children,b=e.testId,f=e.xcss,p=e.role,v=m()(e,$);return o.createElement(V,a()({},v,{as:r,role:p,gap:u,direction:"column",alignItems:n,justifyContent:i||s,xcss:I("hug"===l&&Q,"fill"===l&&Z,f),testId:b,ref:t}),d)}));ee.displayName="Stack";var te=ee,re=r(810),ne="normal",ae=(r(311),["children"]);function oe(e){var t=function(e,t){return e(t)},r=Object(o.createContext)(e);function n(e){return(Object(o.useContext)(r)||t)(e)}return{Consumer:function(e){var t=e.children,r=n(m()(e,ae));return c.a.createElement(c.a.Fragment,null,t(r))},Provider:function(e){var n=Object(o.useContext)(r),a=e.value||t,s=Object(o.useCallback)(function(e){return a(n,e)},[n,a]);return c.a.createElement(r.Provider,{value:s},e.children)},useTheme:n}}var ce=oe(function(){return{mode:"light"}}),se=ce.Provider,ie=ce.Consumer,le=(ce.useTheme,{Provider:se,Consumer:ie}),ue=r(7);function de(){}var be=r(689),fe=r(20);function pe(e){e.preventDefault(),e.stopPropagation()}function ve(e){9!==e.keyCode&&pe(e)}var ge={onMouseDownCapture:pe,onMouseUpCapture:pe,onKeyDownCapture:ve,onKeyUpCapture:ve,onTouchStartCapture:pe,onTouchEndCapture:pe,onPointerDownCapture:pe,onPointerUpCapture:pe,onClickCapture:pe,onClick:pe},he={};function me(e){var t=e.spacing;return Object(ue.b)({margin:"none"===t?0:"0 2px",flexGrow:1,flexShrink:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}function ke(e){var t=e.spacing;return Object(ue.b)({display:"flex",margin:"none"===t?0:"0 2px",flexGrow:0,flexShrink:0,alignSelf:"center",fontSize:0,lineHeight:0,userSelect:"none"})}var ye=function(e){return e&&Object(o.isValidElement)(e)&&e.type===re.a},_e={position:"absolute",left:0,top:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center"}
14806,Oe=["analyticsContext","appearance","autoFocus","buttonCss","children","className","href","component","iconAfter","iconBefore","interactionName","isDisabled","isSelected","onBlur","onClick","onFocus","onMouseDown","overlay","shouldFitContainer","spacing","tabIndex","type","testId"],we={"> *":{pointerEvents:"none"}},xe=Object(ue.b)({"--ds--button--new-icon-padding-end":"var(--ds-space-025, 2px)","--ds--button--new-icon-padding-start":"var(--ds-space-050, 4px)",marginInlineStart:"var(--ds-space-negative-025, -2px)"}),Ee=Object(ue.b)({"--ds--button--new-icon-padding-end":"var(--ds-space-050, 4px)","--ds--button--new-icon-padding-start":"var(--ds-space-025, 2px)",marginInlineEnd:"var(--ds-space-negative-025, -2px)"}),je=function(e,t){return!e||ye(e)?null:t},Fe=c.a.forwardRef(function(e,t){var r=e.analyticsContext,n=e.appearance,c=void 0===n?"default":n,i=e.autoFocus,l=void 0!==i&&i,u=e.buttonCss,d=e.children,b=e.className,f=e.href,p=e.component,v=void 0===p?f?"a":"button":p,g=e.iconAfter,h=e.iconBefore,k=e.interactionName,y=e.isDisabled,_=void 0!==y&&y,O=e.isSelected,w=void 0!==O&&O,x=e.onBlur,E=e.onClick,j=void 0===E?de:E,F=e.onFocus,C=e.onMouseDown,A=void 0===C?de:C,S=e.overlay,D=(e.shouldFitContainer,e.spacing),P=void 0===D?"default":D,I=e.tabIndex,M=void 0===I?0:I,z=e.type,B=void 0===z?f?void 0:"button":z,N=e.testId,q=m()(e,Oe),U=Object(o.useRef)(),L=Object(o.useCallback)(function(e){U.current=e,null!=t&&("function"!=typeof t?t.current=e:t(e))},[U,t]);!function(e,t){var r=Object(o.useRef)(!0);Object(o.useEffect)(function(){e&&r.current&&t&&e.current&&e.current.focus(),r.current=!1},[t,e])}(U,l);var G=Object(o.useContext)(fe.a),T=Object(o.useCallback)(function(e,t){G&&G.tracePress(k,e.timeStamp),j(e,t)},[j,G,k]),V=Object(s.a)({fn:T,action:"clicked",componentName:"button",packageName:"@atlaskit/button",packageVersion:"23.11.7",analyticsData:r}),R=Object(o.useCallback)(function(e){e.preventDefault(),A(e)},[A]);Object(o.useEffect)(function(){var e=U.current;_&&e&&e===document.activeElement&&e.blur()},[_]);var H=Boolean(S),W=Object(ue.b)(function(e){var t=e.hasOverlay;return Object(ue.b)({opacity:t?0:1,transition:"opacity 0.3s"})}({hasOverlay:H})),J=!_&&!H,Y={};return(w||_||"warning"===c)&&(Y={"[data-theme] & circle":{stroke:"".concat(w||_?"var(--ds-icon-subtle, #505258)":"var(--ds-icon-warning-inverse, #292A2E)"," !important")}}),Object(ue.c)(be.a,null,Object(ue.c)(v,a()({},q,{ref:L,className:b,css:[u,J?null:we],"data-has-overlay":!!H||void 0,"data-testid":N,disabled:_,href:J?f:void 0,onBlur:x,onClick:V,onFocus:F,onMouseDown:R,tabIndex:_?-1:M,type:B},{isInteractive:J}.isInteractive?he:ge),h?Object(ue.c)("span",{css:[W,ke({spacing:P}),je(d,xe)]},h):null,function(e,t){return ye(e)?e:e?Object(ue.c)("span",{css:t},e):null}(d,[W,me({spacing:P})]),g?Object(ue.c)("span",{css:[W,ke({spacing:P}),je(d,Ee)]},g):null,S?Object(ue.c)("span",{css:[_e,Y]},S):null))});r(312);function Ce(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const r of e){if(!r)continue;const e=r.split(" ");for(const r of e){t[r.startsWith("_")?r.slice(0,5):r]=r}}let r="";for(const e in t)r+=t[e]+" ";return r?r.trimEnd():void 0}var Ae={xsmall:12,small:16,medium:24,large:48,xlarge:96};var Se="_j7hqsf8s _5sag12kz _tip812c5 _1pgl2qsq _8hrz1h6o",De="_j7hq1ky6 _5sag9cwz _1pgl1ytf _1o51q7pw",Pe="_1e0c116y _s7n4nkob",Ie="_lswuglyw _7ljx1dhp _1snbbs82 _jcxd7g3v _1tjm1onz",Me="undefined"==typeof window?o.useEffect:o.useLayoutEffect,ze=c.a.memo(c.a.forwardRef(function(e,t){var r=e.appearance,n=void 0===r?"inherit":r,a=e.delay,s=void 0===a?0:a,i=e.interactionName,l=e.label,u=e.size,d=void 0===u?"medium":u,b=e.testId,f="number"==typeof d?d:Ae[d],p="".concat(s,"ms"),v=function(e){return"inherit"===e?"var(--ds-icon-subtle, #505258)":"var(--ds-icon-inverse, #FFFFFF)"}(n),g=Object(o.useContext)(fe.a);return Me(function(){if(null!=g)return g.hold(i)},[g,i]),c.a.createElement("span",{"data-testid":b?"".concat(b,"-wrapper"):"spinner-wrapper",style:{animationDelay:p,width:f,height:f},className:Ce([Pe,Se])},c.a.createElement("svg",{height:f,width:f,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":b,ref:t,"aria-label":l||void 0,style:{animationDelay:p},role:l?"img":"none",className:Ce([De])},c.a.createElement("circle",{cx:"8",cy:"8",r:"7",style:{stroke:v},className:Ce([Ie])})))}));function Be(e){var t=e.appearance,r=e.isDisabled,n=e.isSelected;return r?"inherit":n||"primary"===t||"danger"===t?"invert":"inherit"}function Ne(e){var t=e.appearance,r=e.isDisabled,n=e.isSelected,a=e.spacing,o="default"===(void 0===a?"default":a)?"medium":"small";return c.a.createElement(ze,{size:o,label:", Loading",appearance:Be({appearance:t,isDisabled:r,isSelected:n})})}function qe(e,t){return e(t)}function Ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
14806t%2?Ue(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Ge=["default","primary","danger","warning"],Te={default:"".concat(32/14,"em"),compact:"".concat(24/14,"em"),none:"auto"},Ve={default:Te.default,compact:Te.compact,none:"inherit"},Re={default:"0 ".concat(10,"px"),compact:"0 ".concat(10,"px"),none:"0"},He={compact:"0 ".concat(2,"px"),default:"0 ".concat(2,"px"),none:"0"},We={default:"middle",compact:"middle",none:"baseline"},Je={borderRadius:"inherit",inset:"var(--ds-space-0, 0px)",borderStyle:"solid",borderWidth:"var(--ds-border-width, 1px)",pointerEvents:"none",position:"absolute"},Ye={background:"var(--ds-background-neutral-subtle, #00000000)",color:"var(--ds-text, #292A2E)","&::after":Le(Le({},Je),{},{content:'""',borderColor:"var(--ds-border, #0B120E24)"}),"&:hover":{background:"var(--ds-background-neutral-hovered, #0B120E24)"},"&:active":{background:"var(--ds-background-neutral-pressed, #080F214A)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-neutral-subtle, #00000000)"},"&:disabled[disabled]":{background:"var(--ds-background-neutral-subtle, #00000000)"},"&:disabled[disabled]:hover":{background:"var(--ds-background-neutral-subtle, #00000000)"},"&:disabled[disabled]:active":{background:"var(--ds-background-neutral-subtle, #00000000)"}},Ke={background:"var(--ds-background-brand-bold, #1868DB)",color:"var(--ds-text-inverse, #FFFFFF)","&:hover":{background:"var(--ds-background-brand-bold-hovered, #1558BC)"},"&:active":{background:"var(--ds-background-brand-bold-pressed, #144794)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-brand-bold, #1868DB)"}},Xe={background:"transparent",color:"var(--ds-link, #1868DB)","&:hover":{color:"var(--ds-link, #1868DB)",textDecoration:"underline"},"&:active":{color:"var(--ds-link-pressed, #1558BC)",textDecoration:"underline"}},$e={background:"transparent",color:"var(--ds-text-subtle, #505258)","&:hover":{background:"var(--ds-background-neutral-subtle-hovered, #0515240F)"},"&:active":{background:"var(--ds-background-neutral-subtle-pressed, #0B120E24)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"transparent"}},Qe={background:"transparent",color:"var(--ds-text-subtle, #505258)","&:hover":{background:"transparent",color:"var(--ds-text-subtle, #505258)",textDecoration:"underline"},"&:active":{background:"transparent",color:"var(--ds-text, #292A2E)",textDecoration:"underline"}},Ze={background:"var(--ds-background-warning-bold, #FBC828)",color:"var(--ds-text-warning-inverse, #292A2E)","&:hover":{background:"var(--ds-background-warning-bold-hovered, #FCA700)"},"&:active":{background:"var(--ds-background-warning-bold-pressed, #F68909)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-warning-bold, #FBC828)"}},et={background:"var(--ds-background-danger-bold, #C9372C)",color:"var(--ds-text-inverse, #FFFFFF)","&:hover":{background:"var(--ds-background-danger-bold-hovered, #AE2E24)"},"&:active":{background:"var(--ds-background-danger-bold-pressed, #872821)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-danger-bold, #C9372C)"}},tt={background:"var(--ds-background-selected, #E9F2FE)",color:"var(--ds-text-selected, #1868DB)","&:not([disabled])::after":Le(Le({},Je),{},{content:'""',borderColor:"var(--ds-border-selected, #1868DB)"})},rt={'&[data-has-overlay="true"]':{cursor:"default",textDecoration:"none"}};function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function at(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEac
14806h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ot={focus:"&:focus",focusSelected:"&:focus",hover:"&:hover",active:"&:active",disabled:"&[disabled]"};function ct(e){var t=e.appearance,r=void 0===t?"default":t,n=e.spacing,a=void 0===n?"default":n,o=e.isSelected,c=void 0!==o&&o,s=e.shouldFitContainer,i=void 0!==s&&s,l=e.iconIsOnlyChild,u=void 0!==l&&l,d=e.isLoading,b=void 0!==d&&d,f=e.state,p=function(e){var t=e.appearance,r=e.spacing,n=e.isSelected,a=e.shouldFitContainer,o=e.isOnlySingleIcon;return Le(Le({alignItems:"baseline",borderWidth:0,borderRadius:Object(g.a)("platform-dst-shape-theme-default")?"var(--ds-radius-medium, 6px)":"var(--ds-radius-small, 3px)",boxSizing:"border-box",display:"inline-flex",fontSize:"inherit",fontStyle:"normal",fontFamily:"inherit",fontWeight:"var(--ds-font-weight-medium, 500)",maxWidth:"100%",position:"relative",textAlign:"center",textDecoration:"none",transition:"background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38)",whiteSpace:"nowrap",cursor:"pointer",height:Te[r],lineHeight:Ve[r],padding:o?He[r]:Re[r],verticalAlign:We[r],width:a?"100%":"auto",justifyContent:"center"},n?tt:Le(Le(Le(Le(Le(Le(Le(Le({},"default"===t&&Ye),"primary"===t&&Ke),"link"===t&&Xe),"subtle"===t&&$e),"subtle-link"===t&&Qe),"warning"===t&&Ze),"danger"===t&&et),{},{"&[disabled]":{color:"var(--ds-text-disabled, #080F214A)",backgroundColor:Ge.includes(t)?"var(--ds-background-disabled, #17171708)":"transparent",cursor:"not-allowed",textDecoration:"none","&:hovered":{backgroundColor:Ge.includes(t)?"var(--ds-background-disabled, #17171708)":"transparent"},"&:active":{backgroundColor:Ge.includes(t)?"var(--ds-background-disabled, #17171708)":"transparent"}}},rt)),{},{"&::-moz-focus-inner":{border:0,margin:0,padding:0}})}({appearance:r,spacing:a,isSelected:c,shouldFitContainer:i,isOnlySingleIcon:u});p.outline="none";var v=ot[f];return v&&(p=at(at({},p),p[v])),b&&(p=at(at({},p),p['&[data-has-overlay="true"]'])),Object.keys(p).forEach(function(e){"&::-moz-focus-inner"!==e&&0===e.indexOf("&")&&delete p[e]}),p}var st=oe(function(e){return{buttonStyles:ct(e),spinnerStyles:{}}}),it=["appearance","autoFocus","isDisabled","isSelected","shouldFitContainer","spacing","isLoading","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","theme"];function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function dt(e){var t=e.isDisabled,r=void 0!==t&&t,n=e.isActive,a=void 0!==n&&n,o=e.isFocus,c=void 0!==o&&o,s=e.isHover,i=void 0!==s&&s,l=e.isSelected,u=void 0!==l&&l,d=e.isLoading,b=void 0!==d&&d;return r?"disabled":u&&c?"focusSelected":u?"selected":!b&&a?"active":!b&&i?"hover":c?"focus":"default"}var bt={isHover:!1,isActive:!1,isFocus:!1},ft=c.a.memo(c.a.forwardRef(function(e,t){var r=e.appearance,n=void 0===r?"default":r,s=e.autoFocus,i=void 0!==s&&s,l=e.isDisabled,u=void 0!==l&&l,d=e.isSelected,f=void 0!==d&&d,p=e.shouldFitContainer,v=void 0!==p&&p,g=e.spacing,h=void 0===g?"default":g,k=e.isLoading,y=void 0!==k&&k,_=e.onMouseEnter,O=e.onMouseLeave,w=e.onMouseDown,x=e.onMouseUp,E=e.onFocus,j=e.onBlur,F=e.theme,C=void 0===F?qe:F,A=ut({appearance:n,autoFocus:i,isDisabled:u,isSelected:f,shouldFitContainer:v,spacing:h},m()(e,it)),S=Object(o.useState)(bt),D=b()(S,2),P=D[0],I=D[1],M=Object(o.useCallback)(function(e){I(function(e){return ut(ut({},e),{},{isHover:!0})}),_&&_(e)},[_]),z=Object(o.useCallback)(function(e){I(function(e){return ut(ut({},e),{},{isHover:!1,isActive:!1})}),O&&O(e)},[O]),B=Object(o.useCallback)(function(e){I(function(e){return ut(ut({},e),{},{isActive:!0})}),w&&w(e)},[w]),N=Object(o.useCallback)(function(e){I(function(e){return ut(ut({},e),{},{isActive:!1})}),x&&x(e)},[x]),q=Object(o.useCallback)(function(e){I(function(e){return ut(ut({},e),{},{isFocus:!0})}),E&&E(e)},[E]),U=Object(o.useCallback)(function(e){I(function(e){return ut(ut({},e),{},{isFocus:!1})}),j&&j(e)},[j]);return c.a.createElement(st.Provider,{value:C},c.a.createElement(le.Consumer,null,function(e){var r,n,o,s,i=e.mode;return c.a.createElement(st.Consumer,a()({mode:i,state:dt(ut(ut({},P),{},{isLoading:y,isSelected:A.isSelected,isDisabled:A.isDisabled})),iconIsOnlyChild:(r=A,n=r.children,o=r.iconBefore,s=r.iconAfter,!(!ye(n)&&(n||(!o||s)&&(o||!s)))),isLoading:y},A),function(e){var r,n=e.buttonStyles;return c.a.createElement(Fe,a()({},A,{ref:t,overlay:y?c.a.createElement(Ne,A):null,"aria-disabled":y||A["aria-disabled"],onMouseEnter:M,onMouseLeave:z,onMouseDown:B,onMouseUp:N,onFocus:q,onBlur:U,buttonCss:(r=n,{"&, &:hover, &:active, &:focus, &:focus-visible, &:visited, &:disabled, &[disabled]":r})}))})}))}));ft.displayName="CustomThemeButton";var pt=ft,vt=r(127),gt=r.n(vt),ht=r(92),mt=r.n(ht),kt=r(128),yt=r.n(kt),_t=r(129),Ot=r.n(_t),wt=r(10),xt={error:"color.background.danger.bold",info:"color.background.neutral.bold",normal:"elevation.surface.overlay",success:"color.background.success.bold",warning:"color.background.warning.bold"},Et={error:"var(--ds-icon-inverse, #FFFFFF)",info:"var(--ds-icon-inverse, #FFFFFF)",normal:"var(--ds-icon-subtle, #626F86)",success:"var(--ds-icon-inverse, #FFFFFF)",warning:"var(--ds-icon-warning-inverse, #172B4D)"},jt={error:c.a.createElement(gt.a,{label:"",LEGACY_primaryColor:"var(--ds-icon-inverse, ".concat(wt.f,")"),LEGACY_secondaryColor:"var(--ds-background-danger-bold, #C9372C)"}),info:c.a.createElement(mt.a,{label:"",LEGACY_primaryColor:"var(--ds-icon-inverse, ".concat(wt.f,")"),LEGACY_secondaryColor:"var(--ds-background-neutral-bold, #4454
148066F)"}),normal:c.a.createElement(mt.a,{label:"",LEGACY_primaryColor:"var(--ds-icon-subtle, ".concat(wt.m,")"),LEGACY_secondaryColor:"var(--ds-surface-overlay, #FFFFFF)"}),success:c.a.createElement(yt.a,{label:"",LEGACY_primaryColor:"var(--ds-icon-inverse, ".concat(wt.f,")"),LEGACY_secondaryColor:"var(--ds-background-success-bold, #1F845A)"}),warning:c.a.createElement(Ot.a,{label:"",LEGACY_primaryColor:"var(--ds-icon-warning-inverse, ".concat(wt.o,")"),LEGACY_secondaryColor:"var(--ds-background-warning-bold, #F5CD47)"})},Ft={error:"color.text.inverse",info:"color.text.inverse",normal:"color.text",success:"color.text.inverse",warning:"color.text.warning.inverse"},Ct={error:"var(--ds-text-inverse, ".concat(wt.f,")"),info:"var(--ds-text-inverse, ".concat(wt.f,")"),normal:"var(--ds-text, ".concat(wt.q,")"),success:"var(--ds-text-inverse, ".concat(wt.f,")"),warning:"var(--ds-text-warning-inverse, ".concat(wt.o,")")},At={success:{default:"var(--ds-background-inverse-subtle, ".concat(wt.l,")"),active:"var(--ds-background-inverse-subtle-pressed, ".concat(wt.l,")"),pressed:"var(--ds-background-inverse-subtle-hovered, ".concat(wt.l,")")},info:{default:"var(--ds-background-inverse-subtle, ".concat(wt.l,")"),active:"var(--ds-background-inverse-subtle-pressed, ".concat(wt.l,")"),pressed:"var(--ds-background-inverse-subtle-hovered, ".concat(wt.l,")")},error:{default:"var(--ds-background-inverse-subtle, ".concat(wt.l,")"),active:"var(--ds-background-inverse-subtle-pressed, ".concat(wt.l,")"),pressed:"var(--ds-background-inverse-subtle-hovered, ".concat(wt.l,")")},warning:{default:"var(--ds-background-inverse-subtle, ".concat(wt.l,")"),active:"var(--ds-background-inverse-subtle-pressed, ".concat(wt.l,")"),pressed:"var(--ds-background-inverse-subtle-hovered, ".concat(wt.l,")")},normal:{default:"none",active:"none",pressed:"none"}},St={success:"var(--ds-text-inverse, ".concat(wt.f,")"),info:"var(--ds-text-inverse, ".concat(wt.f,")"),error:"var(--ds-text-inverse, ".concat(wt.f,")"),warning:"var(--ds-text-warning-inverse, ".concat(wt.o,")"),normal:"var(--ds-link, ".concat(wt.c,")")};function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var It=function(e){var t=e.appearance,r=void 0===t?ne:t,n=e.actions,a=void 0===n?[]:n,c=e.linkComponent,s=e.testId;if(!a.length)return null;var i=r!==ne;return o.createElement("span",{className:Object(f.a)([!i&&"_1g4l107e _y8dn107e",Object(g.a)("platform_ads_explicit_font_styles")&&"_11c82smr"])},o.createElement(X,{space:"space.100",shouldWrap:!0,alignBlock:"center",separator:i?void 0:"·",testId:s&&"".concat(s,"-actions")},a.map(function(e,t){return o.createElement(pt,{onClick:e.onClick,href:e.href,target:e.target,appearance:i?"default":"link",component:c,spacing:"compact",testId:e.testId,key:t,className:Object(f.a)(["_nup91zz4 _u4iq1zz4 _1w901pkf _qkwg1pkf _12r21wq8 _il101wq8 _1ku2grf3 _1v8mgrf3 _gbuigrf3 _1dwvgrf3 _1bk69tn6 _1wy69tn6 _b3g39tn6 _eqps9tn6 _ow071r31 _1p6b1r31 _8dbm1r31 _77mc1r31 _17rj8stv _1p6m8stv _5kwq8stv _1pd88stv _1iqunqa1 _1ejunqa1 _b6ztnqa1 _1rsgnqa1 _u1mb14jz _10fu17w4",r===ne&&"_1dltgrf3 _h03xgrf3 _w8sqgrf3 _1iysgrf3 _fjwrgrf3 _cwkngrf3 _1yxxgrf3 _z7cdgrf3"]),style:Pt(Pt({},{"--color":St[r],"--bg-color":At[r].default,"--bg-color-hover":At[r].pressed,"--bg-color-active":At[r].active}),{},{"--_zkfc5e":p("var(--ds-space-100, 8px)".concat(" !important"))})},e.content)})))},Mt=r(68),zt=(r(307),r(132)),Bt=r.n(zt),Nt=r(131),qt=r.n(Nt),Ut=r(130),Lt=r.n(Ut);r(308);function Gt(){if("undefined"!=typeof window&&null!=window.navigator){var e,t=null===(e=window.navigator.userAgent)||void 0===e?void 0:e.toLowerCase();return!!t&&(t.includes("safari")&&!t.includes("chrome"))}return!1}function Tt(){}r(309);var Vt=["as","children","isInset","testId","style","xcss"],Rt=["className"],Ht=Object(o.forwardRef)(function(e,t){var r=e.as,n=void 0===r?"button":r,c=e.children,s=e.isInset,i=e.testId,l=e.style,u=e.xcss,d=m()(e,Vt),b=(d.className,m()(d,Rt));return o.createElement(n,a()({},b,{ref:t,className:Object(f.a)(["_mizu194a _1ah3dkaa _ra3xnqa1 _128mdkaa _1cvmnqa1 _4davt94y",s&&"_1ah31gjf _2mwq1gjf",Object(g.a)("platform_dst_compiled_primitives_outline_reset")&&"_ymi
14806o1r31 _ypr0glyw _zcxs1o36",u]),style:l,"data-testid":i}),c)}),Wt=["children","isDisabled","type","onClick","interactionName","componentName","analyticsContext","style","testId","xcss","tabIndex"],Jt=["className"],Yt="_19itglyw _vchhusvi _r06hglyw _80omtlke",Kt="_80om13gf",Xt=Object(o.forwardRef)(function(e,t){var r=e.children,n=e.isDisabled,c=e.type,i=void 0===c?"button":c,l=e.onClick,u=void 0===l?Tt:l,d=e.interactionName,b=e.componentName,f=e.analyticsContext,p=e.style,v=e.testId,g=e.xcss,h=e.tabIndex,k=m()(e,Wt),y=Object(o.useContext)(fe.a),_=Object(o.useCallback)(function(e,t){y&&y.tracePress(d,e.timeStamp),u(e,t)},[u,y,d]),O=Object(s.a)({fn:_,action:"clicked",componentName:b||"Pressable",packageName:"@atlaskit/primitives",packageVersion:"14.15.4",analyticsData:f,actionSubject:"button"}),w=(k.className,m()(k,Jt));return o.createElement(Ht,a()({as:"button",tabIndex:null!=h?h:Gt()&&!n?0:void 0,style:p},w,{type:i,onClick:O,disabled:n,xcss:D(Yt,n&&Kt,g),testId:v,ref:t}),r)}),$t="_16jlidpf _1o9zidpf _i0dl1wug _1dqoglyw _1e0c1txw _1bsb1tcg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _4cvr1h6o _1bah1h6o _80omtlke _o5721q9c",Qt=function(e){var t=e.appearance,r=e.onClick,n=e.isBold,a=e.isExpanded,c=e.testId,s=Lt.a,i="Dismiss",l="small",u=c&&"".concat(c,"-dismiss");return n&&(s=a?qt.a:Bt.a,i=a?"Collapse":"Expand",l="medium",u=c&&"".concat(c,"-toggle")),o.createElement(Xt,{xcss:$t,onClick:r,style:{background:"none"},"aria-expanded":n?a:void 0,testId:u,"aria-label":i},o.createElement(s,{label:"",LEGACY_size:l,LEGACY_primaryColor:Ct[t],color:Ct[t],size:"small"}))},Zt=Object(o.memo)(Qt),er=(r(310),r(126)),tr=r(636),rr="_1bsb1osq",nr="_v5641xzp",ar=function(e){var t=e.children,r=e.isExpanded,n=e.testId;return o.createElement(C,{xcss:rr,style:{maxHeight:r?150:0,flex:"1 1 100%",minWidth:0},"aria-hidden":!r,testId:n&&"".concat(n,"-expander")},o.createElement(er.a,{appear:!0},r&&o.createElement(tr.a,null,function(e){return o.createElement(C,a()({xcss:nr},e),o.createElement(te,{space:"space.100"},t))})))};function or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?or(Object(r),!0).forEach(function(t){u()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):or(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var sr="_1i4qfg65",ir="_2rkosqtm _1reo15vq _18m915vq _v564z97a _16qs8sq4 _1pbyni7l _1bsb1osq",lr="--flag-icon-color",ur={componentName:"flag",packageName:"@atlaskit/flag",packageVersion:"17.2.0"},dr=function(e){var t=e.actions,r=void 0===t?[]:t,n=e.appearance,c=void 0===n?ne:n,l=e.icon,d=e.title,h=e.description,m=e.linkComponent,k=e.onMouseOver,y=e.onFocus,_=void 0===y?i.a:y,O=e.onMouseOut,w=e.onBlur,x=void 0===w?i.a:w,E=e.onDismissed,j=void 0===E?i.a:E,F=e.testId,A=e.id,S=e.analyticsContext,D=e.delayAnnouncement,P=e.headingLevel,I=void 0===P?2:P,M=Object(o.useState)(!1),z=b()(M,2),B=z[0],N=z[1],q=Object(Mt.b)(),U=q.onDismissed,L=q.isDismissAllowed,G=Object(o.useCallback)(function(e,t){j(e,t),U(e,t)},[j,U]),T=Object(o.useState)(!1),V=b()(T,2),R=V[0],H=V[1],W=Object(s.a)(cr({fn:G,action:"dismissed",analyticsData:S},ur)),J=c!==ne,Y=Object(o.useCallback)(function(){H(function(e){return!e})},[]),K=Object(o.useCallback)(function(){L&&W(A)},[W,A,L]);Object(o.useEffect)(function(){J&&R&&!h&&!r.length&&H(!1)},[r.length,h,J,R]),Object(o.useEffect)(function(){D&&setTimeout(function(){N(!0)},D)},[D]);var $={onMouseOver:k,onFocus:Object(s.a)(cr({fn:_,action:"focused",analyticsData:S},ur)),onMouseOut:O,onBlur:Object(s.a)(cr({fn:x,action:"blurred",analyticsData:S},ur))},Q=Ft[c],Z=Et[c],ee=jt[c],ae=J||L,oe=!J&&(h||r.length)||R,ce=D?o.createElement(re.a,null,d,h):void 0;return o.createElement("div",a()({role:"alert","data-testid":F},$,{className:Object(f.a)(["_1bsb1osq"])}),o.createElement(C,{padding:"space.200",backgroundColor:xt[c],xcss:ir},o.createElement(X,{alignBlock:Object(g.a)("platform_ads_component_no_icon_spacing_support")?"start":"stretch",space:"space.200"},o.createElement("div",{"data-testid":F&&"".concat(F,"-icon-container"),className:Object(f.a)([Object(g.a)("platform_ads_component_no_icon_spacing_support")?"_1e0c1txw _1ul91tcg _1tke1tcg _4cvr1h6o _1bah1h6o _1o9zidpf _syaz16r9":"_1e0c1txw _4cvrv2br _1o9zidpf _syaz16r9"]),style:cr(cr({},u()({},lr,Z)),{},{"--_11v68d2":p("var(".concat(lr,")"))})},l||(ee&&Object(g.a)("platform_ads_component_no_icon_spacing_support")?ee:null)),o.createElement("span",{className:Object(f.a)(["_v5641hdc _16jlkb7n"])},o.createElement(te,{space:oe?"space.100":"space.0"},B&&ce,o.createElement(X,{alignBlock:"stretch",space:"space.100",spread:"space-between"},o.createElement(C,{paddingBlockStart:"space.050",paddingBlockEnd:"space.025",xcss:sr}
14806,o.createElement(v.a,{as:"h".concat(I),size:"xsmall",color:Q},o.createElement("span",{"aria-hidden":B},d))),ae?!(J&&!h&&!r.length)&&o.createElement(Zt,{testId:F,appearance:c,isBold:J,isExpanded:R,onClick:J?Y:K}):null),o.createElement(ar,{isExpanded:!J||R,testId:F},h&&o.createElement("div",{style:{color:Ct[c]},"data-testid":F&&"".concat(F,"-description"),"aria-hidden":B,className:Object(f.a)([Object(g.a)("platform_ads_explicit_font_styles")?"_11c82smr _1reo1wug _18m91wug _c71l53f4 _1i4qfg65":"_1reo1wug _18m91wug _c71l53f4 _1i4qfg65"])},h),o.createElement(It,{actions:r,appearance:c,linkComponent:m,testId:F})))))))};t.a=function(e){var t=e.id,r=e.analyticsContext,n=e.onDismissed,l=void 0===n?i.a:n,u=Object(o.useRef)(null),d=Object(Mt.b)(),b=d.onDismissed,f=d.isDismissAllowed,p=Object(o.useCallback)(function(e,t){l(e,t),b(e,t)},[l,b]),v=Object(s.a)({fn:p,action:"dismissed",analyticsData:r,componentName:"flag",packageName:"@atlaskit/flag",packageVersion:"17.2.0"}),g=f&&p,h=Object(o.useCallback)(function(){g&&v(t)},[t,v,g]),m=Object(o.useCallback)(function(){u.current&&(clearTimeout(u.current),u.current=null)},[]),k=Object(o.useCallback)(function(){g&&(m(),u.current=window.setTimeout(h,8e3))},[h,m,g]);return Object(o.useEffect)(function(){return k(),m},[k,m]),c.a.createElement(dr,a()({},e,{onMouseOver:m,onFocus:m,onMouseOut:k,onBlur:k}))}},809:function(e,t,r){"use strict";r.r(t);var n=r(0),a=r.n(n),o=r(163),c=r.n(o),s=r(368),i=r.n(s),l=r(68),u=r(808),d=r(369),b=r.n(d);r(24),r(804);function f({onClose:e}){const[t,r]=Object(n.useState)(!0),o=Object(n.useCallback)(()=>{r(!1),e()},[e]);return t?a.a.createElement(l.a,{id:"rate-limiter-handler-flag-group"},a.a.createElement(u.a,{onDismissed:o,id:"rate-limiter-handler-flag",icon:a.a.createElement(b.a,{label:"Error",color:"var(--ds-icon-danger, #C9372C)"}),title:"Too Many Requests",description:"We've received too many requests. You need to wait before you can try again."})):null}const p=i()(()=>{const e=document.createElement("div");document.body.appendChild(e);const t=c.a.createRoot(e);t.render(a.a.createElement(f,{onClose:()=>{t.unmount(),e.remove()}}))},2e3);var v=r(36);const g=()=>{const e=XMLHttpRequest.prototype.open,t=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(...t){const[r,n,a=!0,o,c]=t;return this.isAsyncCall=a,e.call(this,r,n,a,o,c)},XMLHttpRequest.prototype.send=function(...e){const r=()=>{this.status===v.c&&p()};if(this.isAsyncCall)return this.addEventListener("load",r),t.apply(this,e);const n=t.apply(this,e);return r(),n}};window.rateLimitInterceptorsEnabled=!1;!1===window.rateLimitInterceptorsEnabled&&((()=>{const e=window.fetch;window.fetch=async(...t)=>{const r=await e(...t);return r.status===v.c&&p(),r}})(),g(),window.rateLimitInterceptorsEnabled=!0)},810:function(e,t,r){"use strict";r(282);var n=r(0);function a(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const r of e){if(!r)continue;const e=r.split(" ");for(const r of e){t[r.startsWith("_")?r.slice(0,5):r]=r}}let r="";for(const e in t)r+=t[e]+" ";return r?r.trimEnd():void 0}var o=function(e){var t=e.children,r=e.testId,o=e.role,c=e.id;return n.createElement("span",{id:c,"data-testid":r,role:o,className:a(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _uiztglyw _o5721q9c"])},t)};o.displayName="VisuallyHidden";t.a=o},86:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(0),a=r(69),o=function(){return Object(n.useContext)(a.a)}},89:function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"b",function(){return a});var n={none:0,small:100,medium:350,large:700},a={none:n.none,small:.5*n.small,medium:.5*n.medium,large:.5*n.large}},90:function(e,t,r){"use strict";(function(e){r.d(t,"a",function(){return a});var n=r(91);function a(e,t,r){Object(n.a)("[".concat(e,"]: The ").concat(t," is deprecated.").concat(r&&" ".concat(r)))}}).call(this,r(57))},91:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n={};function a(e){n[e]||(n[e]=!0,"undefined"!=typeof window&&console.warn(e))}},92:function(e,t,r){"use strict";
14806Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),a=c(r(209)),o=c(r(210));function c(e){return e&&e.__esModule?e:{default:e}}const s=e=>n.default.createElement(a.default,Object.assign({LEGACY_fallbackIcon:o.default},e));s.Name="InformationIconMigration";t.default=s},96:function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return b}),r.d(t,"Icon",function(){return d});r(291);var n=r(0);function a(e){if(!e.length)return;if(1===e.length&&e[0]&&!e[0].includes(" "))return e[0];const t={};for(const r of e){if(!r)continue;const e=r.split(" ");for(const r of e){t[r.startsWith("_")?r.slice(0,5):r]=r}}let r="";for(const e in t)r+=t[e]+" ";return r?r.trimEnd():void 0}var o=r(3),c={none:"_1bsbpxbi _4t3ipxbi",compact:"_1bsb1ejb _4t3i1ejb",spacious:"_1bsb1ejb _4t3i1ejb"},s={none:"_1bsbutpp _4t3iutpp",compact:"_1bsbpxbi _4t3ipxbi",spacious:"_1bsb1ejb _4t3i1ejb"},i={none:"_1bsbutpp _4t3iutpp",compact:"_1bsbpxbi _4t3ipxbi",spacious:"_1bsb1ejb _4t3i1ejb"},l={core:16,utility:12},u={core:{medium:{none:0,compact:4,spacious:4},small:{none:0,compact:2.66,spacious:8}},utility:{medium:{none:0,compact:2,spacious:6},small:{none:0,compact:2,spacious:6}}},d=Object(n.memo)(function(e){var t,r=e,d=r.color,b=void 0===d?"currentColor":d,f=r.testId,p=r.label,v=r.LEGACY_primaryColor,g=r.LEGACY_secondaryColor,h=r.LEGACY_size,m=r.LEGACY_fallbackIcon,k=r.dangerouslySetGlyph,y=r.shouldScale,_=r.LEGACY_margin,O=r.spacing,w=void 0===O?"none":O,x=k?{__html:k}:void 0;if(m&&!Object(o.a)("platform-visual-refresh-icons"))return n.createElement(m,{primaryColor:null!=v?v:b,secondaryColor:g,size:h,label:p,testId:f,UNSAFE_margin:_});var E=null!==(t=e.type)&&void 0!==t?t:"core",j=!("size"in e)||void 0===e.size||"small"!==e.size&&"medium"!==e.size?"medium":e.size,F=l[E],C=u[E][j][w],A=F+2*C;return n.createElement("span",{"data-testid":f,role:p?"img":void 0,"aria-label":p||void 0,"aria-hidden":!p||void 0,style:{color:b},className:a(["_1e0c1o8l _vchhusvi _1o9zidpf _vwz4kb7n _y4ti1igz _bozg1mb9","_12va1onz _jcxd1r8n",y&&"_1bsb1kw7 _4t3i1kw7",("utility"===E||"small"===j)&&"_vwz4utpp"])},n.createElement("svg",{fill:"none",viewBox:"".concat(0-C," ").concat(0-C," ").concat(A," ").concat(A),role:"presentation",dangerouslySetInnerHTML:x,className:a(["_1reo15vq _18m915vq _syaz1r31 _lcxvglyw _s7n4yfq0 _vc881r31",y?"_1bsb1kw7 _4t3i1kw7":"utility"===E?i[w]:"small"===j?s[w]:c[w]])}))}),b=d}}); 14807}catch(e){WRMCB(e)}; 14808; 14809try { 14810/* module-key = 'com.atlassian.auiplugin:split_aui.page.reset', location = 'aui.chunk.238d9c5be0fdb18f--f8e577553f9a8af9.js' */ 14811"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8063"],{1632(u,i,n){n.r(i)}},function(u){u.O(0,["8976"],function(){return u(u.s=1632)}),u.O()}]); 14812}catch(e){WRMCB(e)}; 14813; 14814try { 14815/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--87c9c75be2', location = 'aui.chunk.f4c9dc8658d38621--390565e205fa2d85.js' */ 14816(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3944"],{6221(e,t){var r,n,i;i=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ATTR_IGNORE="data-skate-ignore",e.TYPE_ATTRIBUTE="a",e.TYPE_CLASSNAME="c",e.TYPE_ELEMENT="t"},r=[t],void 0===(n=i.apply(t,r))||(e.exports=n)},2894(e,t){var r,n,i;i=function(e,t){"use strict";t.exports=function(e){var t=void 0===arguments[1]?"":arguments[1],r=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(r[t]||(r[t]={}))||r}},r=[t,e],void 0===(n=i.apply(t,r))||(e.exports=n)},5310(e,t,r){var n,i,a;a=function(e,t,r,n,i,a,o){"use strict";var s=r&&r.__esModule?r.default:r,u=n.initElements,d=n.removeElements,c=o.getClosestIgnoredElement;function l(e){for(var t=e.length,r=0;r<t;r++){var n=e[r],i=n.addedNodes,a=n.removedNodes;i&&i.length&&!c(i[0].parentNode)&&u(i),a&&a.length&&d(a)}}t.exports={register:function(e){var t;return e&&this.unregister(),s.observer||((t=new window.MutationObserver(l)).observe(document,{childList:!0,subtree:!0}),s.observer=t),this},unregister:function(){return s.observer&&(s.observer.disconnect(),s.observer=void 0),this}}},n=[t,e,r(5108),r(2740),r(2580),r(1590),r(9537)],void 0===(i=a.apply(t,n))||(e.exports=i)},1590(e,t){var r,n,i;i=function(e){"use strict";var t=/MSIE/.test(navigator.userAgent),r=/Trident/.test(navigator.userAgent),n=window.HTMLElement.prototype;if(t||r){var i,a,o=Object.getOwnPropertyDescriptor(n,"innerHTML");o&&o.get._hasBeenEnhanced||(r&&(window.MutationObserver=window.JsMutationObserver||window.MutationObserver),i=Object.getOwnPropertyDescriptor(n,"innerHTML"),(a=function(){return i.get.call(this)})._hasBeenEnhanced=!0,Object.defineProperty(n,"innerHTML",{get:a,set:function(e){!function e(t,r){var n=t.childNodes;if(n)for(var i=n.length,a=0;a<i;a++){var o=n[a];r(o,t),e(o,r)}}(this,function(e,t){var r=document.createEvent("MutationEvent");r.initMutationEvent("DOMNodeRemoved",!0,!1,t,null,null,null,null),e.dispatchEvent(r)}),i.set.call(this,e)}}))}},r=[t],void 0===(n=i.apply(t,r))||(e.exports=n)},5108(e,t,r){var n,i,a;a=function(e,t,r){"use strict";var n="__skate_"+(r&&r.__esModule?r.default:r).replace(/[^\w]/g,"_");window[n]||(window[n]={observer:void 0,registry:{}}),t.exports=window[n]},n=[t,e,r(6996)],void 0===(i=a.apply(t,n))||(e.exports=i)},2740(e,t,r){var n,i,a;a=function(e,t,r,n,i,a){"use strict";
14816var o=function(e){return e&&e.__esModule?e.default:e};Object.defineProperty(e,"__esModule",{value:!0});var s=t.ATTR_IGNORE,u=o(r),d=o(i),c=a.camelCase,l=a.elementContains,v=a.hasOwn,f=a.inherit,h=a.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 r=e.cloneNode();return document.createElement("div").appendChild(r),b.call(r,t)}return b.call(e,t)},y=/Edge/.test(navigator.userAgent);function w(e,t,r){var n,i,a,o=r.name,s=r.newValue;y&&(a=u(e,"cachedAttributeOldValues"));var d=y&&v(a,o)?a[o]:r.oldValue,c="string"==typeof s,l="string"==typeof d,f=t.attributes,h=f&&f[o];!l&&c?i="created":l&&c?i="updated":l&&!c&&(i="removed"),y&&("removed"===i?delete a[o]:a[o]=s),h&&"function"==typeof h[i]?n=h[i]:h&&"function"==typeof h.fallback?n=h.fallback:"function"==typeof h?n=h:"function"==typeof f&&(n=f),s=void 0===s?null:s,d=void 0===d?null:d,n&&n(e,{type:i,name:o,newValue:s,oldValue:d})}function N(e,t){var r=u(e,t.id);if(!r.created){r.created=!0,f(e,t.prototype,!0),t.template&&!e.hasAttribute(t.resolvedAttribute)&&t.template(e),e.removeAttribute(t.unresolvedAttribute),e.setAttribute(t.resolvedAttribute,""),"object"==typeof t.events&&h(t.events,function(t,r){var n,i,a,o={name:(a=r.split(" ")).shift(),delegate:a.join(" ")},s=!!o.delegate&&("blur"===o.name||"focus"===o.name);e.addEventListener(o.name,(n=t,i=o.delegate,function(t){if(!i)return n(e,t,e);for(var r=t.target;r&&r!==document&&r!==e.parentNode;){if(E(r,i))return n(e,t,r);r=r.parentNode}}),s)}),n=e.attributes,!t.attributes||d.isNativeCustomElement(t.id)||new window.MutationObserver(function(r){r.forEach(function(r){var i=r.attributeName,a=n[i];w(e,t,{name:i,newValue:a&&(a.value||a.nodeValue),oldValue:r.oldValue})})}).observe(e,{attributes:!0,attributeOldValue:!0});var n,i=t.attributes;if("object"==typeof i)for(var a in i){var o=c(a);v(i,a)&&!v(e,o)&&function(e,t,r){Object.defineProperty(e,r,{get:function(){return this.getAttribute(t)},set:function(e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}})}(e,a,o)}var s=t.attributes;if("object"==typeof s){for(var l in s)if(v(s,l)&&v(s[l],"value")&&!e.hasAttribute(l)){var p=s[l].value;p="function"==typeof p?p(e):p,e.setAttribute(l,p)}}!function(e,t){var r,n=e.attributes,i=[],a=n.length;for(r=0;r<a;r++)i.push(n[r]);for(r=0;r<a;r++){var o=i[r];w(e,t,{name:o.nodeName,newValue:o.value||o.nodeValue})}}(e,t),t.created&&t.created(e)}}function M(e,t){var r=u(e,t.id);r.attached||l(document,e)&&(r.attached=!0,t.attached&&t.attached(e),r.detached=!1)}function O(e,t){var r=u(e,t.id);r.detached||(r.detached=!0,t.detached&&t.detached(e),r.attached=!1)}e.initElements=function e(t){for(var r=0;r<t.length;r++){var n=t[r];if(n.nodeType===p.ELEMENT_NODE&&!n.attributes[s]){for(var i,a=d.getForElement(n),o=a.length,u=0;u<o;u++)N(n,i=a[u]),M(n,i);var c=n.childNodes||[];c.length&&e(c)}}},e.removeElements=function e(t){for(var r=0;r<t.length;r++){var n=t[r];if(n.nodeType===p.ELEMENT_NODE){e(n.childNodes);for(var i=d.getForElement(n),a=i.length,o=0;o<a;o++)O(n,i[o])}}},e.triggerAttached=M,e.triggerAttributeChanged=w,e.triggerCreated=N,e.triggerDetached=O},n=[t,r(6221),r(2894),r(2580),r(937),r(9537)],void 0===(i=a.apply(t,n))||(e.exports=i)},2580(e,t){var r,n,i;i=function(e){"use strict";var t,r,n,i;t=window,"u"<typeof WeakMap&&(r=Object.defineProperty,n=Date.now()%1e9,(i=function(){this.name="__st"+(1e9*Math.random()>>>0)+n+++"__"}).prototype={set:function(e,t){var n=e[this.name];return n&&n[0]===e?n[1]=t:r(e,this.name,{value:[e,t],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=i),function(e){if(!e.JsMutationObserver){var t,r,n,i=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))t=setTimeout;else if(window.setImmediate)t=window.setImmediate;else{var a=[],o=String(Math.random());window.addEventListener("message",function(e){if(e.data===o){var t=a;a=[],t.forEach(function(e){e()})}}),t=function(e){a.push(e),window.postMessage(o,"*")}}var s=!1,u=[],d=0;l.prototype={observe:function(e,t){if(r=e,e=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(r)||r,!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw SyntaxError();var r,n,a=i.get(e);a||i.set(e,a=[]);for(var o=0;o<a.length;o++)if(a[o].observer===this){(n=a[o]).removeListeners(),n.options=t;break}n||(n=new p(this,e,t),a.push(n),this.nodes_.push(e)),n.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=i.get(e),r=0;r<t.length;r++){var n=t[r];
14816if(n.observer===this){n.removeListeners(),t.splice(r,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}},p.prototype={enqueue:function(e){var a,o=this.observer.records_,d=o.length;if(o.length>0){var c=function(e,t){return e===t?e:n&&(e===n||e===r)?n:null}(o[d-1],e);if(c){o[d-1]=c;return}}else{a=this.observer,u.push(a),s||(s=!0,t(function e(){s=!1;var t=u;u=[],t.sort(function(e,t){return e.uid_-t.uid_});var r=!1;t.forEach(function(e){var t,n=e.takeRecords();(t=e).nodes_.forEach(function(e){var r=i.get(e);r&&r.forEach(function(e){e.observer===t&&e.removeTransientObservers()})}),n.length&&(e.callback_(n,e),r=!0)}),r&&e()}))}o[d]=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=i.get(e);t||i.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=i.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,i=e.relatedNode.namespaceURI,a=e.target,o=new f("attributes",a);o.attributeName=t,o.attributeNamespace=i;var s=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;c(a,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||-1!==e.attributeFilter.indexOf(t)||-1!==e.attributeFilter.indexOf(i)))return e.attributeOldValue?h(s):o});break;case"DOMCharacterDataModified":var a=e.target,o=f("characterData",a),s=e.prevValue;c(a,function(e){if(e.characterData)return e.characterDataOldValue?h(s):o});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var u,d,l=e.target;"DOMNodeInserted"===e.type?(u=[l],d=[]):(u=[],d=[l]);var v=l.previousSibling,p=l.nextSibling,o=f("childList",e.target.parentNode);o.addedNodes=u,o.removedNodes=d,o.previousSibling=v,o.nextSibling=p,c(e.relatedNode,function(e){if(e.childList)return o})}r=n=void 0}},e.JsMutationObserver=l,e.MutationObserver||(e.MutationObserver=l,l._isPolyfilled=!0)}function c(e,t){for(var r=e;r;r=r.parentNode){var n=i.get(r);if(n)for(var a=0;a<n.length;a++){var o=n[a],s=o.options;if(r===e||s.subtree){var u=t(s);u&&o.enqueue(u)}}}}function l(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++d}function v(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 f(e,t){return r=new v(e,t)}function h(e){var t,i;return n?n:((i=new v((t=r).type,t.target)).addedNodes=t.addedNodes.slice(),i.removedNodes=t.removedNodes.slice(),i.previousSibling=t.previousSibling,i.nextSibling=t.nextSibling,i.attributeName=t.attributeName,i.attributeNamespace=t.attributeNamespace,i.oldValue=t.oldValue,(n=i).oldValue=e,n)}function p(e,t,r){this.observer=e,this.target=t,this.options=r,this.transientObservedNodes=[]}}(t)},r=[t],void 0===(n=i.apply(t,r))||(e.exports=n)},937(e,t,r){var n,i,a;a=function(e,t,r,n,i){"use strict";var a=r.TYPE_ATTRIBUTE,o=r.TYPE_CLASSNAME,s=r.TYPE_ELEMENT,u=n&&n.__esModule?n.default:n,d=i.hasOwn,c=i.isValidNativeCustomElementName,l=i.supportsNativeCustomElements;t.exports={clear:function(){return u.registry={},this},get:function(e){return d(u.registry,e)&&u.registry[e]},getForElement:function(e){var t,r,n=e.attributes,i=n.length,d=[],c=n.is,l=c&&(c.value||c.nodeValue),v=(e.tagName||e.localName).toLowerCase(),f=l||v;this.isType(f,s)&&(r=(t=u.registry[f]).extends,l?v===r&&d.push(t):r||d.push(t));for(var h=0;h<i;h++){var p=n[h].nodeName;this.isType(p,a)&&((r=(t=u.registry[p]).extends)&&v!==r||d.push(t))}for(var m=function(e){var t=e.classList;if(t)return t;var r=e.attributes;return r.class&&r.class.nodeValue.split(/\s+/)||[]}(e),b=m.length,g=0;g<b;g++){var E=m[g];this.isType(E,o)&&((r=(t=u.registry[E]).extends)&&v!==r||d.push(t))}return d},isType:function(e,t){var r=this.get(e);return r&&r.type===t},isNativeCustomElement:function(e){return l()&&this.isType(e,s)&&c(e)},set:function(e,t){if(d(u.registry,e))throw Error('A component definition of type "'+t.type+'" with the ID of "'+e+'" already exists.');return u.registry[e]=t,this}}},n=[t,e,r(6221),r(5108),r(9537)],void 0===(i=a.apply(t,n))||(e.exports=i)},2714(e,t,r){var n,i,a;a=function(e,t,r,n,i,a,o,s){"use strict";
14816var u=function(e){return e&&e.__esModule?e.default:e},d=r.TYPE_ATTRIBUTE,c=r.TYPE_CLASSNAME,l=r.TYPE_ELEMENT,v=u(n),f=i.triggerCreated,h=i.triggerAttached,p=i.triggerDetached,m=i.triggerAttributeChanged,b=i.initElements,g=u(a),E=o.debounce,y=o.inherit,w=u(s),N=window.HTMLElement,M=!!document.attachEvent,O=E(function(){var e=function(){b(document.documentElement.childNodes)};(M?"complete"===document.readyState:"interactive"===document.readyState||"complete"===document.readyState)?e():M?window.addEventListener("load",e):document.addEventListener("DOMContentLoaded",e)});function _(e,t){if(t=y({},t),(t=y(t,_.defaults)).id=e,g.set(e,t),g.isNativeCustomElement(e)){var r=t.extends?document.createElement(t.extends).constructor.prototype:N.prototype;r.isPrototypeOf(t.prototype)||(t.prototype=y(Object.create(r),t.prototype,!0));var n={prototype:y(t.prototype,{createdCallback:function(){f(this,t)},attachedCallback:function(){h(this,t)},detachedCallback:function(){p(this,t)},attributeChangedCallback:function(e,r,n){m(this,t,{name:e,oldValue:r,newValue:n})}})};return t.extends&&(n.extends=t.extends),document.registerElement(e,n)}if(O(),v.register(!!t.detached),g.isType(e,l)){var i=t;function a(){var e,t=i.extends,r=i.id;return t?(e=document.createElement(t)).setAttribute("is",r):e=document.createElement(r),i.prototype=a.prototype,f(e,i),e}return a.prototype=i.prototype,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},_.type={ATTRIBUTE:d,CLASSNAME:c,ELEMENT:l},_.version=w,_.defaults={attributes:void 0,events:void 0,extends:void 0,id:"",prototype:{},resolvedAttribute:"resolved",template:void 0,type:l,unresolvedAttribute:"unresolved"};var T=window.skate;_.noConflict=function(){return window.skate=T,_},window.skate=_,t.exports=_},n=[t,e,r(6221),r(5310),r(2740),r(937),r(9537),r(6996)],void 0===(i=a.apply(t,n))||(e.exports=i)},9537(e,t,r){var n,i,a;a=function(e,t){"use strict";e.hasOwn=a,e.camelCase=function(e){return e.split(/-/g).map(function(e,t){return 0===t?e:e[0].toUpperCase()+e.substring(1)}).join("")},e.elementContains=function(e,t){return e!==document||e.contains?e.contains?e.contains(t):i.call(e,t):document.head.contains(t)||document.body.contains(t)},e.debounce=function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},1))}},e.getClosestIgnoredElement=function(e){for(var t=e;t instanceof Element;){if(t.hasAttribute(r))return t;t=t.parentNode}},e.inherit=function(e,t,r){for(var n=Object.getOwnPropertyNames(t),i=n.length,a=0;a<i;a++){var o=n[a];if(r||void 0===e[o]){var s=Object.getOwnPropertyDescriptor(t,o);!s.get&&!s.set&&s.writable&&s.enumerable&&s.configurable?e[o]=t[o]:Object.defineProperty(e,o,s)}}return e},e.objEach=function(e,t){for(var r in e)a(e,r)&&t(e[r],r)},e.supportsNativeCustomElements=function(){return"function"==typeof document.registerElement},e.isValidNativeCustomElementName=function(e){return e.indexOf("-")>0},Object.defineProperty(e,"__esModule",{value:!0});var r=t.ATTR_IGNORE,n=window.HTMLElement.prototype;e.elementPrototype=n;var i=n.contains;function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},n=[t,r(6221)],void 0===(i=a.apply(t,n))||(e.exports=i)},6996(e,t){var r,n,i;i=function(e,t){"use strict";t.exports="0.13.17"},r=[t,e],void 0===(n=i.apply(t,r))||(e.exports=n)}}]); 14817}catch(e){WRMCB(e)}; 14818; 14819try { 14820/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.3fa959a172', location = 'aui.chunk.1193b2b9da5583aa--34b0c4a33bcbaeda.js' */ 14821"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9274"],{5452(n,i,o){o.r(i),o.d(i,{default:()=>u,globalizeI18n:()=>w});let t="I18n";function e(){"object"!=typeof window.AJS&&(window.AJS={})}function u(n,i){return e(),window.AJS[n]=i}function w(n){e(),"object"!=typeof window.AJS[t]&&(window.AJS[t]={});let i=window.AJS[t];for(let o in n)void 0===i[o]&&(i[o]=n[o]);return i}}}]); 14822}catch(e){WRMCB(e)}; 14823; 14824try { 14825/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b403075dfd', location = 'aui.chunk.b534f3fab58d0041--2f015893f46afa5a.js' */ 14826"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9809"],{3003(u,e,i){i.r(e),i.d(e,{default:()=>t});var a=i(9976),n=i.n(a);let t=window.jQuery||window.Zepto||n()}}]); 14827}catch(e){WRMCB(e)}; 14828; 14829try { 14830/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.0511
148305a7a9d', location = 'aui.chunk.cc0099c3b09e63a0--e2117ce4bc127ed8.js' */ 14831"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4694"],{4459(e,t,n){let r;n.r(t),n.d(t,{construct:()=>f,css:()=>b,fn:()=>u,getMessageLogger:()=>s,obj:()=>y,prop:()=>d});var o=n(5452);let a=Object.prototype.hasOwnProperty,i=[];function c(...e){"u">typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,e)}let s=(e,t)=>p(e,t);function p(e,t){if("function"==typeof e)return e;let n=!1;return t=t??{},function(r){var o,a;let s,p,l=(o=r??1,p=(s=Error()).stack??s.stacktrace,(p=p?.replace(/^Error\n/,"")??"").split("\n")[o+2]??"");if(!n||!i.includes(l)){i.push(l),n=!0;let r="DEPRECATED "+(t.deprecationType??"")+"- "+((a=e)?(a=""+a).charAt(0).toUpperCase()+a.substring(1):"")+" has been deprecated"+(t.sinceVersion?" since "+t.sinceVersion:"")+" and will be removed in "+(t.removeInVersion??"a future release")+".";t.alternativeName&&(r+=" Use "+t.alternativeName+" instead. "),t.extraInfo&&(r+=" "+t.extraInfo),l=""===l?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+l,t.extraObject?c(r+="\n",t.extraObject,l):c(r,l)}}}function l(e,t){let n=e.options?.displayName;n=n?" ("+n+")":"";let r=Object.assign({deprecationType:"CSS",extraObject:t},e.options);p("'"+e.selector+"' pattern"+n,r)()}function u(e,t,n){(n=n??{}).deprecationType=n.deprecationType??"JS";let r=p(t||e.name||"this function",n);return function(...t){return r(),e.apply(this,t)}}function f(e,t,n){(n=n??{}).deprecationType=n.deprecationType??"JS";let r=u(e,t,n);return r.prototype=e.prototype,Object.assign(r,e),r}function d(e,t,n){if("function"==typeof e[t]){(n=n??{}).deprecationType=n.deprecationType??"JS";let r=n.displayName??t;e[t]=u(e[t],r,n)}else{var r;let o,a;r=n,o=e[t],(r=r??{}).deprecationType=r.deprecationType??"JS",a=p(r.displayName??t,r),Object.defineProperty(e,t,{get:function(){return a(),o},set:function(e){return o=e,a(),e}})}}function y(e,t,n){for(let r in n=n??{},e)a.call(e,r)&&(n.deprecationType=n.deprecationType??"JS",n.displayName=t+r,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+r,d(e,r,Object.assign({},n)))}function b(e,t){"string"==typeof e&&(e=[e]),e.forEach(function(e){let n={selector:e,options:t};for(let t of document.querySelectorAll(e))l(n,t);h.push(n),void 0===r&&(r=new MutationObserver(function(e){e.forEach(function(e){for(let t of e.addedNodes)1===t.nodeType&&h.forEach(function(e){return function(t){var n;n=t.selector,e instanceof Element&&e.matches(n)&&l(t,e)}}(t))})})).observe(document,{childList:!0,subtree:!0})})}let h=[];(0,o.default)("deprecate",{fn:u,construct:f,css:b,prop:d,obj:y,getMessageLogger:s})}}]); 14832}catch(e){WRMCB(e)}; 14833; 14834try { 14835/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bc59447b88', location = 'aui.chunk.082af0ba9812b235--d613e0e3649d85a6.js' */ 14836"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1580"],{2221(u,a,i){i.r(a),i.d(a,{default:()=>l});var e=i(2714);let l=i.n(e)().noConflict()}}]); 14837}catch(e){WRMCB(e)}; 14838; 14839try { 14840/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e20cd0588c', location = 'aui.chunk.03b10bda6e18dee4--ce53aa4c75579ced.js' */ 14841"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["7402"],{3349(o,r,e){e.r(r),e.d(r,{error:()=>t,log:()=>a,warn:()=>u});var n=e(5452);function l(o){return function(){"u">typeof console&&console[o]&&Function.prototype.apply.call(console[o],console,arguments)}}var a=l("log"),u=l("warn"),t=l("error");(0,n.default)("error",t),(0,n.default)("log",a),(0,n.default)("warn",u)}}]); 14842}catch(e){WRMCB(e)}; 14843; 14844try { 14845/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b528c4705c', location = 'aui.chunk.0f5bf2a246d5aea2--97b1736e5d90b50a.js' */ 14846"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1103"],{1218(E,A,D){D.r(A),D.d(A,{default:()=>N});var T=D(5452),M={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,T.default)("keyCode",M);let N=M}}]); 14847}catch(e){WRMCB(e)}; 14848; 14849try { 14850/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ab5b4f09c4', location = 'aui.chunk.b5ae22bcf89f6cce--7f1728c59d0e7e2d.js' */ 14851"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3662"],{3067(n,i,u){function e(n,i){return window.define&&(0,window.define)(n,[],function(){return i}),i}u.r(i),u.d(i,{default:()=>e})}}]); 14852}catch(e){WRMCB(e)}; 14853; 14854try { 14855/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.72a3d743a2', location = 'aui.chunk.573b998e77e81e21--35a99ee2ace3da96.js' */ 14856"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6358"],{5081(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})}}]); 14857}catch(e){WRMCB(e)}; 14858; 14859try { 14860/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.3bc03c62d3', location = 'aui.chunk.ef8873172b070179--9098b4834d3012e2.js' */ 14861"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6981"],{1010(r,e,n){n.r(e),n.d(e,{default:()=>u});var a=n(5452),l=n(3349);function t(r){var e=/'(?!')/g,n=/^\d+$/,a=/^(\d+),number$/,u=/^(\d+),choice,(.+)/,i=/^(\d+)([#<])(.+)/,s=function(e,s){var f,h="";if(f=e.match(n))h=s.length>++e?s[e]:"";else if(f=e.match(a))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){p=!0;continue}var m=parseInt(b[1],10);if(c<m)if(g){h=g;break}else{h=b[3];break}if(c==m&&"#"==b[2]){h=b[3];break}v==o.length-1&&(h=b[3]),g=b[3]}
14861p&&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,n=-1,a=0,l=0;l<r.length;l++){var t=r.charAt(l);if("'"==t&&(e=!e),!e){if("{"===t)0===a&&(n=l),a++;else if("}"===t&&a>0&&0==--a){var u=[];return u.push(r.substring(0,l+1)),u.push(r.substring(0,n)),u.push(r.substring(n+1,l)),u}}}return null};return(function(r){var n=arguments,a="";if(!r)return a;for(var l=f(r);l;)r=r.substring(l[0].length),a+=l[1].replace(e,""),a+=s(l[2],n),l=f(r);return a+r.replace(e,"")}).apply(null,arguments)}(0,a.default)("format",t);let u=t}}]); 14862}catch(e){WRMCB(e)}; 14863; 14864try { 14865/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.d7aee9031c', location = 'aui.chunk.3471a9939d26faee--0306cba993bef479.js' */ 14866"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9468"],{8582(e,t,r){r.r(t),r.d(t,{default:()=>n});let n=function(e){return{set:function(t,r){void 0===e._state&&(e._state={}),e._state[t]=r},get:function(t){if(e._state)return e._state[t]}}}},4645(e,t,r){r.r(t),r.d(t,{doIfTrigger:()=>d,forEachTrigger:()=>g,getTrigger:()=>c,hasTrigger:()=>f,setTrigger:()=>s});var n=r(3003),a=r(1218),i=r(3067),u=r(2221),o=r(8582),l=r(3349);function c(e){return(0,o.default)(e).get("last-trigger")||p(e)[0]}function s(e,t){var r=t&&t.nodeType&&1===t.nodeType;return(0,o.default)(e).set("last-trigger",!!r&&t)}function f(e){return!!c(e)}function d(e,t){var r=c(e);r&&t(r)}function g(e,t){return Array.prototype.forEach.call(p(e),t)}function p(e){let t=window.frames,r=`[aria-controls="${e.id}"]`,n=[],a=!1;for(let e=0;e<t.length;e++)try{let a=t[e].document.querySelectorAll(r);n=n.concat(Array.prototype.slice.apply(a))}catch(e){a=!0}let i=document.querySelectorAll(r),u=Array.prototype.slice.apply(i).concat(n);return 0===u.length&&!0===a&&(0,l.warn)(`No triggers found for element (${e.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.`),u}function h(e){return document.getElementById(e.getAttribute("aria-controls"))}function m(e){return"true"!==e.getAttribute("aria-disabled")}function y(e,t){if(m(e)){var r=h(e);r&&r.message&&r.message(t)}}let b={click(e,t){var r,a;r=t.target,(a=(0,n.default)(r).closest("a[href]",e)).length&&a[0]!==e||(y(e,t),t.preventDefault())},keydown(e,t){let r=t.data;(r===a.default.ENTER||r===a.default.SPACE)&&(t.preventDefault(),t.type="click",b.click(e,t))},mouseenter(e,t){y(e,t)},mouseleave(e,t){y(e,t)},focus(e,t){y(e,t)},blur(e,t){let r;(r=t.relatedTarget)||(r=document.activeElement),(0,n.default)(h(e)).find(r).length>0||y(e,t)}};Object.keys(b).forEach(function(e){let t=b[e];(0,n.default)(document).on(`${e}.aui-trigger`,"[data-aui-trigger]",function(r){t(r.currentTarget,function(e,t){let{target:r,currentTarget:n,relatedTarget:a}=e,{keyCode:i,which:u}=e;return{type:t,data:"keydown"===t?u||i:void 0,target:r,currentTarget:n,relatedTarget:a,preventDefault:()=>e.preventDefault()}}(r,e))})}),(0,u.default)("data-aui-trigger",{type:u.default.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return m(this)}}}),(0,i.default)("aui/trigger")}}]); 14867}catch(e){WRMCB(e)}; 14868; 14869try { 14870/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.c02ffc95af', location = 'aui.chunk.c2cb4c6b63cda6f6--7bc34b2b65ebeb12.js' */ 14871"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5985"],{6754(e,d,o){o.r(d),o.d(d,{dim:()=>n,undim:()=>s});var i,l=o(3003),t=o(4459),r=o(5081),a=o(5452);function n(e,d){i||(i=document.body),!0===e&&u();let o=!!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),o||((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.prop("hidden",!1),d&&n.$dim.css({zIndex:d}),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))}let u=(0,t.getMessageLogger)("useShim",{extraInfo:"useShim has no alternative as it is now calculated by dim()."});
14871(0,a.default)("dim",n),(0,a.default)("undim",s)}}]); 14872}catch(e){WRMCB(e)}; 14873; 14874try { 14875/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bc5119d637', location = 'aui.chunk.f5072699aa417a51--e5764cdcffcfea92.js' */ 14876"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2747"],{3567(e,t,a){let i;a.r(t),a.d(t,{default:()=>b});var r=a(3003),n=a(5452),u=a(1218),l=a(4645);function f(e){return"visible"===r.default.css(e,"visibility")&&(0,r.default)(e).is(":visible")}function o(e,t){var a=e.nodeName.toLowerCase();if("aui-select"===a)return!0;if("area"===a){var i=e.parentNode,n=i.name,u=(0,r.default)("img[usemap=#"+n+"]").get();return!!e.href&&!!n&&"map"===i.nodeName.toLowerCase()&&u&&f(u)}var l=/input|select|textarea|button|object|iframe/.test(a),o="a"===a,s=e.href||t;return(l?!e.disabled:o?s:t)&&f(e)}r.default.extend(r.default.expr.pseudos,{"aui-focusable":e=>o(e,!isNaN(r.default.attr(e,"tabindex"))),"aui-tabbable":function(e){var t=r.default.attr(e,"tabindex"),a=isNaN(t);return(a||t>=0)&&o(e,!a)}});var s="_aui-focus-restore";function c(e){return e.is(".aui-dialog2")||e.is('[aui-focus-trap="true"]')}function d(){this._focusTrapStack=[],this._handler}function h(e,t){if(0===e.length||t.keyCode!==u.default.TAB)return;let a=t.shiftKey?-1:1,i=t.target,n=e[e.length-1],f=n.find(":aui-tabbable");if(!f.length&&c(n)&&(n.trigger("focus"),t.preventDefault()),!f.length)return;let o=f.index(i),s=-1;if(o>-1)s=o;else{let e;if((e=(0,r.default)(i).closest(".aui-layer")).length||(e=n.find("[aria-controls]").map(function(){return document.getElementById(this.getAttribute("aria-controls"))}).has(i)),e.length){let t=e.find(":aui-tabbable"),r=t.index(i)+a;if(!(r<0)&&!(r>=t.length))return;{let t=(0,l.getTrigger)(e.get(0));s=f.index(t)}}}s=s>-1?function(e,t,a,i){function r(e){return(e+a)%i.length}let n=r(t);if("radio"===e.type&&e.name)for(;i.eq(n).attr("name")===e.name&&n!==t;)n=r(n);if(n!==t&&"radio"===i.eq(n).attr("type")){let e,t=i.eq(n).attr("name"),r=i.filter(function(){return"radio"===this.type&&this.name===t}),u=r.filter(":checked");e=u.length>0?u.first():a>0?r.first():r.last(),n=i.index(e)}return n}(i,s,a,f):0,"IFRAME"!==f.get(s).nodeName&&(f.eq(s).trigger("focus"),t.preventDefault())}function g(){return i||(i=new d),i}d.defaultFocusSelector=":aui-tabbable",d.prototype.enter=function(e,t){if(!function(e,t=document.activeElement){e.data(s,t)}(e,t),"false"!==e.attr("data-aui-focus")){var a=e.attr("data-aui-focus-selector")||d.defaultFocusSelector;(e.is(a)?e:e.find(a)).first().trigger("focus")}c(e)&&(this._focusTrapStack.push(e),this._handler||(this._handler=h.bind(void 0,this._focusTrapStack),(0,r.default)(document).on("keydown.aui-focus-manager",this._handler)))},d.prototype.exit=function(e){c(e)&&(this._focusTrapStack.splice(this._focusTrapStack.indexOf(e),1),this._focusTrapStack.length||((0,r.default)(document).off(".aui-focus-manager",this._handler),delete this._handler));var t=document.activeElement;if(e[0]===t||e.has(t).length){t.blur();var a=(0,r.default)(e.data(s));a.length&&(e.removeData(s),a.trigger("focus"))}},g.global=g(),(0,n.default)("FocusManager",g);let b=g}}]); 14877}catch(e){WRMCB(e)}; 14878; 14879try { 14880/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f335f2a8e6', location = 'aui.chunk.7e062069a9c5c4b0--29caa180dbd1eae9.js' */ 14881"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3709"],{6552(a,t,u){u.r(t),u.d(t,{default:()=>i});var e=u(3003);function i(a,t){var u="_aui-widget-"+a;return function(a,i){e.default.isPlainObject(a)?l=a:(n=a,l=i);var n,l,r,d=n&&(0,e.default)(n);return d&&d.data(u)?r=d.data(u):(d=(r=new t(d,l||{})).$el).data(u,r),r}}}}]); 14882}catch(e){WRMCB(e)}; 14883; 14884try { 14885/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4e025a8ed1', location = 'aui.chunk.399405393495164d--ef7e3a8164c90efb.js' */ 14886"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8179"],{1548(t,e,i){i.r(e),i.d(e,{EVENT_PREFIX:()=>h,default:()=>w});var n=i(3003),s=i(6754),r=i(3567),a=i(4645),l=i(5452),u=i(1218),o=i(6552);let h="_aui-internal-layer-",c="_aui-internal-layer-global-";var f=(0,n.default)(document);function d(t,e,i){var s=n.default.Event(h+e),r=n.default.Event(c+e),a=new CustomEvent("aui-layer-"+i,{bubbles:!0,cancelable:!0}),l=new CustomEvent("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 g(t){this.$el=(0,n.default)(t||'<div class="aui-layer"></div>'),this.el=this.$el[0],this.$el.addClass("aui-layer")}function k(t,e){return t.getAttribute(e)||t.getAttribute("data-aui-"+e)}g.prototype={below:function(){return m.global.item(m.global.indexOf(this.$el)-1)},above:function(){return m.global.item(m.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(h+t,e),this},off:function(t,e){return this.$el.off(h+t,e),this},show:function(){return this.isVisible()||m.global.indexOf(this.$el)>
14886-1||!d(this.$el,"beforeShow","show")||("none"===this.$el.css("display")&&this.$el.css("display",""),m.global.push(this.$el)),this},hide:function(){if(!this.isVisible())return this;let t=this;return function(t,e,i,n){var s;(s=window.getComputedStyle(t).transitionProperty)&&s.indexOf(e)>-1?t.addEventListener("transitionend",function s(r){e===r.propertyName&&(i.call(t),n&&t.removeEventListener("transitionend",s))}):i.call(t)}(this.$el.get(0),"opacity",function(){t.isVisible()||(this.style.display="none")},!0),m.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=k(this.el,"modal"),e=this.el.hasAttribute("persistent");return"true"===t||e},getDOMContainer:function(){let t=k(this.el,"dom-container");return t&&(t=document.querySelector(t)||document.body),t},_hideLayer:function(t){return(!t||!!d(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(h+"hide"),this.$el.trigger(c+"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(h+"show"),this.$el.trigger(c+"show",[this.$el])}};var v=(0,o.default)("layer",g);function p(t,e){for(var i=t.length;i--;)if(e(t[i]))return i;return -1}function _(t,e){return p(t,function(t){return t[0]===e[0]})}function y(t){return p(t,function(t){return v(t).isBlanketed()})}function b(t,e){var i=y(t);e!==i&&(i>-1?(0,s.dim)(!1,t[i].css("z-index")-20):(0,s.undim)())}function $(t,e,i,n=!0){if(e<0)return[!1,null];for(var s,r=t.length-1;r>=e;r--){var a=v(s=t[r]);if(i||!a.isPersistent()){if(!a._hideLayer(n))return[!1,s];t.splice(r,1)}}return[!0,s]}function m(){this._stack=[]}function P(t){if(!t.length)return!1;var e=document.getElementById(t.attr("aria-controls"));return m.global.indexOf(e)>-1}v.on=function(t,e,i){return f.on(c+t,e,i),this},v.off=function(t,e,i){return f.off(c+t,e,i),this},m.prototype={push:function(t){var e=t instanceof n.default?t:(0,n.default)(t);if(_(this._stack,e)>=0)throw Error("The given element is already an active layer.");this.popLayersBeside(e);var i=v(e),r=function(t){var e;if(t.length){var i=parseInt(t[t.length-1].css("z-index"),10);e=(isNaN(i)?0:i)+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){let e=(0,n.default)(t).get(0);if(!(0,a.hasTrigger)(e)){var i=y(this._stack);$(this._stack,++i,!1);return}let 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);$(this._stack,++t,!1)}else $(this._stack,0,!1)},indexOf:function(t){return _(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=v(t);e.isBlanketed()||e.isPersistent()||e.hide()}),this},getNextLowerNonPersistentOrBlanketedLayer:function(t){var e,i=t instanceof n.default?t:(0,n.default)(t),s=_(this._stack,i);if(s<0)return null;for(s--;s>=0;){var r=v(e=this._stack[s]);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=_(this._stack,i);if(s<0)return null;for(s++;s<this._stack.length;){var r=v(e=this._stack[s]);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=>void 0!==t.attr("open"))||null},popUntil:function(t,e=!1){var i=t instanceof n.default?t:(0,n.default)(t),s=_(this._stack,i);if(-1===s)return null;let r=y(this._stack),a=v(i),[l,u]=$(this._stack,s+1,a.isBlanketed(),e);return l&&a._hideLayer(e)?(this._stack.splice(s,1),b(this._stack,r),i):u},popTopIfNonPersistent:function(t=!1){var e=this.getTopLayer(),i=v(e);
14886return!e||i.isPersistent()?null:this.popUntil(e,t)},popUntilTopBlanketed:function(t=!1){var e=y(this._stack);if(e<0)return null;var i=this._stack[e];if(v(i).isPersistent()){var n=this.getNextHigherNonPeristentAndNonBlanketedLayer(i);if(n){var s=_(this._stack,n);return $(this._stack,s,!0,t),n}return null}return $(this._stack,e,!0),b(this._stack,e),i},popUntilTopPersistent:function(t=!1){var e,i=m.global.getTopLayer();if(i){var n=y(this._stack),s=v(i);if(s.isPersistent())if(s.isBlanketed())return;else{if(s=v(i=m.global.getNextLowerNonPersistentOrBlanketedLayer(i)),!i||s.isPersistent())return;e=_(this._stack,i),$(this._stack,e,!0,t),b(this._stack,n)}else e=_(this._stack,i),$(this._stack,e,!0,t),b(this._stack,n)}}},f.on("keydown",function(t){t.keyCode===u.default.ESCAPE&&(m.global.popUntilTopPersistent(!0),t.preventDefault())}),f.on("click",".aui-blanket",function(t){m.global.popUntilTopBlanketed(!0)&&t.preventDefault()}),f.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&&!P(i)){let e=n.default.Event("aui-close-layers-on-outer-click");return(f.trigger(e),e.isDefaultPrevented())?void t.preventDefault():void m.global.hideAll()}if(!P(i)&&s.length){var r=m.global.getNextHigherNonPeristentAndNonBlanketedLayer(s);r&&v(r).hide()}}}),m.global=new m,v.Manager=m,(0,l.default)("layer",v);let w=v}}]); 14887}catch(e){WRMCB(e)}; 14888; 14889try { 14890/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.5a164cad31', location = 'aui.chunk.6cd214f362a199c8--5c2f07ba40cedb20.js' */ 14891"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5229"],{6569(e,n,i){i.r(n),i.d(n,{enable:()=>r,inlineHelp:()=>s});var t=i(3003),l=i(5452),a=i(2714),u=i.n(a),c=i(9976),o=i.n(c);function d(e){let n;return{type:u().type.CLASSNAME,attached:function(i){!function(e,n){let i=!1;if(n(()=>{i=!0}),i)return;let t=new MutationObserver(e=>{(function(e){for(let n of e)if("childList"===n.type)return!0;return!1})(e)&&n(()=>t.disconnect())});t.observe(e,{childList:!0})}(i,t=>{n=t;let l=o()(`input[type=${e}]`,i);l.each(function(e,n){o()('<span class="aui-form-glyph"></span>').insertAfter(n)}),l.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 s(){(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")})}u()("checkbox",d("checkbox")),u()("radio",d("radio")),(0,l.default)("enable",r),(0,l.default)("inlineHelp",s)}}]); 14892}catch(e){WRMCB(e)}; 14893; 14894try { 14895/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.8ded971411', location = 'aui.chunk.35cb5728daf7dc40--d89b910b07c1d252.js' */ 14896"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2726"],{959(u,i,a){a.r(i),a(6569)}}]); 14897}catch(e){WRMCB(e)}; 14898; 14899try { 14900/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.c97cfb4874', location = 'aui.chunk.947f6aec347b67a3--ee122a0f49568a77.js' */ 14901"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["101"],{2094(e,t,u){u.r(t),u.d(t,{default:()=>c});var a=u(5452);let l={"<":"<",">":">","&":"&",'"':""","'":"'","`":"`"},i=RegExp(`[${Object.keys(l).join("")}]`,"g");function n(e){return e.replace(i,e=>l[e])}(0,a.default)("escapeHtml",n);let c=n}}]); 14902}catch(e){WRMCB(e)}; 14903; 14904try { 14905/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bf8135db29', location = 'aui.chunk.3544d2783f1ac944--acfc4795d8d360c9.js' */ 14906"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2292"],{6273(e,n,r){r.r(n),r.d(n,{bind:()=>a,trigger:()=>l,unbind:()=>o});var i=r(3003),t=r(3349),u=r(5452);let g=(0,i.default)(window);function a(e,n,r){try{if("function"==typeof r)return g.on(e,!1,n,r);return g.on(e,!1,n)}catch(e){t.log("error while binding: ",e.message)}}function o(e,n){try{return g.off(e,n)}catch(e){t.log("error while unbinding: ",e.message)}}function l(e,n){try{return g.trigger(e,n)}catch(e){t.log("error while triggering: "+e.message)}}(0,u.default)("bind",a),(0,u.default)("trigger",l),(0,u.default)("unbind",o)}}]); 14907}catch(e){WRMCB(e)}; 14908; 14909try { 14910/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4717e31b0f', location = 'aui.chunk.ac938902d4dcd63e--80393072efd46a44.js' */ 14911"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["988"],{6476(i,n,u){u.r(n),u.d(n,{bind:()=>b.bind,trigger:()=>b.trigger,unbind:()=>b.unbind});var b=u(6273)}}]); 14912}catch(e){WRMCB(e)}; 14913; 14914try { 14915/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.175d337e8b', location = 'aui.chunk.2e8f5fca7d2f8f39--c85fa072316a2644.js' */ 14916"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2353"],{4066(i,e,u){u.r(e),u.d(e,{version:()=>n.default,trigger:()=>r.trigger,format:()=>a.default,bind:()=>r.bind,unbind:()=>r.unbind});var a=u(1010),n=u(9513),r=u(6476);u(2094)},9513(i,e,u){u.r(e),u.d(e,{default:()=>r});var a=u(5452),n="10.2.2";(0,a.default)("version",n);let r=n}}]); 14917}catch(e){WRMCB(e)}; 14918; 14919try { 14920/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4e3616a7eb', location = 'aui.chunk.647a7c1d1405bb0b--139661c0f5c5c6ec.js' */ 14921"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["362"],{6084(a,e,u){var i=u(5452),l=u(1548);(0,i.default)("LayerManager",l.default.Manager),l.default.Manager}}]); 14922}catch(e){WRMCB(e)}; 14923; 14924try { 14925/* module-key = 'com.atlassian.auiplugin:split_aui.side-effects', location = 'aui.chunk.1e4906c4d70fc4d4--0a70a74588601662.js' */ 14926"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4245"],{1853(t,e,a){a.r(e),a.d(e,{$:()=>c,version:()=>n.version,toInit:()=>p,trigger:()=>n.trigger,format:()=>n.format,bind:()=>n.bind,unbind:()=>n.unbind}),a(959);var n=a(4066);a(6084);var i=a(3003),r=a(5452),u=a(4459);let s={sinceVersion:"9.0.0",removeInVersion:"12.0.0"},o=new Proxy({}
14926,{get:function(t,e){return(0,u.getMessageLogger)("AJS.params",s)(),t[e]}}),l=(0,r.default)("params",o),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:"12.0.0"});(0,r.default)("populateParameters",f);var d=a(9513);(0,i.default)(function(){var t=(0,i.default)("body");t.data("auiVersion")||t.attr("data-aui-version",d.default),f()}),(0,r.default)("$",i.default);let c=i.default;var h=a(3349);function m(t){return i.default.when(i.default.ready).then(function(){setTimeout(function(){try{t.call(this,i.default)}catch(e){h.error("Failed to run init function: "+e.message,t,e,e.stack)}},1)}),this}(0,r.default)("toInit",m);let p=m},9976(t){t.exports=jQuery}},function(t){t.O(0,["101","1103","1360","1580","1861","1925","1935","2292","2353","2726","2747","362","3662","3709","3744","3944","4002","4694","4876","5229","5262","5985","6358","6635","6981","7402","7619","7625","8179","8976","9141","9274","9284","9468","9809","988"],function(){return t(t.s=1853)}),t.O()}]); 14927}catch(e){WRMCB(e)}; 14928; 14929try { 14930/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b2c271b1c6', location = 'aui.chunk.a33dd5604fe6473a--cbb8cb741465da61.js' */ 14931"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3925"],{7640(e,t,i){i.r(t),i.d(t,{SIZE:()=>n,default:()=>p});var s=i(2221),r=i(4459),a=i(9616);let n={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},l={filled:!1,size:n.MEDIUM.name},u=`Add CSS to the parent element of the <aui-spinner>. 14932Use CSS flexbox or grid to vertically align it. 14933See https://css-tricks.com/centering-css-complete-guide/ for techniques.`,o=(0,r.getMessageLogger)("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"12.0.0",extraInfo:u}),d=(0,r.getMessageLogger)("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"12.0.0",extraInfo:u});function c(e){let t=n.MEDIUM.name;return"string"==typeof e&&(e=e.toLowerCase(),Object.keys(n).map(e=>e.toLowerCase()).indexOf(e)>-1&&(t=e)),t}function f(e){let t,i,s,{px:r,radius:l}=(0,a.find)(n,t=>t.name===e._data.size)||n.MEDIUM;(t=e.querySelector("svg"),i=e.querySelector("circle"),t.setAttribute("size",r),t.setAttribute("height",r),t.setAttribute("width",r),t.setAttribute("viewBox",`0 0 ${r} ${r}`),s=r/2,i.setAttribute("cx",s),i.setAttribute("cy",s),i.setAttribute("r",l),e._data.filled)?!function(e,t){let i=e.parentNode;if(i&&1===i.nodeType){let s=e.getBoundingClientRect(),r=i.getBoundingClientRect(),a=r.top+r.height/2,n=s.top+t/2;e.querySelector("svg").style.top=`${a-n}px`}}(e,r):delete e.querySelector("svg").style.top}let 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){o(),e._data.filled=!0,f(e)},removed:function(e){e._data.filled=!1,f(e)}},size(e,t){e._data.size=c(t.newValue),f(e)}},prototype:{get _data(){return this.__data||(this._data=(0,a.defaults)({},l))},set _data(data){return this.__data=data},set filled(isFilled){d(),isFilled?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(newSize){let e=c(newSize);this.setAttribute("size",e)}}})}}]); 14934}catch(e){WRMCB(e)}; 14935; 14936try { 14937/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.16d1263174', location = 'aui.chunk.c7ef89ea87045e17--02a83c4db2a10292.js' */ 14938"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1123"],{6605(e,n,i){i.r(n);var t=i(3003);i(7640);var s=i(2221),a=i(4459);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;let e=(0,t.default)(this),n=e.data();if(n){let 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:"12.0.0",alternativeName:"
14938<aui-spinner>"}),t.default.fn.spinStop=(0,a.fn)(function(){return this.each(function(){if(!this||!this.nodeType)return;let e=(0,t.default)(this).data();e&&e.spinner&&(e.spinner.remove(),delete e.spinner)})},"jQuery.fn.spinStop",{sinceVersion:"7.9.4",removeInVersion:"12.0.0",alternativeName:"<aui-spinner>"})}}]); 14939}catch(e){WRMCB(e)}; 14940; 14941try { 14942/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.behaviour.jquery-spin', location = 'aui.chunk.68ab3442dce35e47--e7621990632270a5.js' */ 14943"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3194"],{3375(u,e,t){t.r(e),t.d(e,{default:()=>i}),t(6605);let i="jquery"},9976(u){u.exports=jQuery}},function(u){u.O(0,["1123","1580","3590","3925","3944","4694","5889","9274","9809"],function(){return u(u.s=3375)}),u.O()}]); 14944}catch(e){WRMCB(e)}; 14945; 14946try { 14947/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a07d2669ba', location = 'aui.chunk.16d3892693139289--b90603f6843f5622.js' */ 14948"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8790"],{9789(t,e,i){i.r(e),i.d(e,{Dialog:()=>d,popup:()=>r});var n=i(3003),o=i(1218),a=i(3349),h=i(4459),s=i(6273),p=i(6754),u=i(6569),l=i(5452);function r(t){"object"!=typeof t&&(t={width:arguments[0],height:arguments[1],id:arguments[2]},t=n.default.extend({},t,arguments[3])),t=n.default.extend({},{width:800,height:600,closeOnOutsideClick:!1,keypressListener:function(t){t.keyCode===o.default.ESCAPE&&e.is(":visible")&&d.hide()}},t);var e=(0,n.default)("<div></div>").addClass("aui-popup");t.id&&e.attr("id",t.id);var i=2600;(0,n.default)(".aui-dialog").each(function(){var t=(0,n.default)(this);i=t.css("z-index")>i?t.css("z-index"):i});var a=function n(o,a){return t.width=o=o||t.width,t.height=a=a||t.height,e.css({marginTop:-Math.round(a/2)+"px",marginLeft:-Math.round(o/2)+"px",width:o,height:a,"z-index":parseInt(i,10)+2}),n}(t.width,t.height);(0,n.default)("body").append(e),e.hide(),(0,u.enable)(e);var h=(0,n.default)(".aui-blanket"),s=function(t,e){var i=(0,n.default)(t,e);return!!i.length&&(i.trigger("focus"),!0)},l=function(e){if(0===(0,n.default)(".dialog-page-body",e).find(":focus").length){if(t.focusSelector)return s(t.focusSelector,e);var i=":input:visible:enabled:first";s(i,(0,n.default)(".dialog-page-body",e))||s(i,(0,n.default)(".dialog-button-panel",e))||s(i,(0,n.default)(".dialog-page-menu",e))}},d={changeSize:function(e,i){(e&&e!=t.width||i&&i!=t.height)&&a(e,i),this.show()},show:function(){var i=function(){(0,n.default)(document).off("keydown",t.keypressListener).on("keydown",t.keypressListener),(0,p.dim)(),0!==(h=(0,n.default)(".aui-blanket")).length&&t.closeOnOutsideClick&&h.on("click",function(){e.is(":visible")&&d.hide()}),e.show(),r.current=this,l(e),(0,n.default)(document).trigger("showLayer",["popup",this])};i.call(this),this.show=i},hide:function(){(0,n.default)(document).off("keydown",t.keypressListener),h.off(),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]),r.current=null,this.enable()},element:e,remove:function(){e.remove(),this.element=null},disable:function(){this.disabled||(this.popupBlanket=(0,n.default)("<div class='dialog-blanket'> </div>").css({height:e.height(),width:e.width()}),e.append(this.popupBlanket),this.disabled=!0)},enable:function(){this.disabled&&(this.disabled=!1,this.popupBlanket.remove(),this.popupBlanket=null)}};return d}var d=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.on("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)}
14948,t.prototype.onclick=function(t){let e=this;if(void 0===t)return this.onclick;this.item.off("click",this._onclick),this._onclick=function(i){return!0===t.call(this,e.page.dialog,e.page,i)},"function"==typeof t&&this.item.on("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.on?this.button.on("click",u):(a.log("atlassian-dialog:Panel:constructor - this.button.on false"),this.button.onclick=u),u(),0==s?t.menu.css("display","none"):t.menu.show()};h.prototype.select=function(){this.button.trigger("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=r(o),this.popup.element.addClass("aui-dialog"),this.page=[],this.curpage=0,new p(this)}return p.prototype.recalcSize=function(){for(var t=62*!!this.header,e=52*!!this.buttonpanel,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)},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}
14948,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=RegExp("(?:^|,)\\s*"+o+"(?:\\s+"+o+")?\\s*(?=,|$)","ig");(t+"").replace(a,function(t,n,o,a,h,s,p,u,l){n=n&&n.toLowerCase();var r=[];if("page"==n&&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(var 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}();d=h.construct(d,"Dialog constructor",{alternativeName:"Dialog2"}),r=h.construct(r,"Dialog popup constructor",{alternatveName:"Dialog2"}),(0,l.default)("Dialog",d),(0,l.default)("popup",r)}}]); 14949}catch(e){WRMCB(e)}; 14950; 14951try { 14952/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.dialog1', location = 'aui.chunk.ed00164aa1bc4160--a084422f476b68c6.js' */ 14953"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4152"],{3093(u,i,p){p.r(i),p.d(i,{Dialog:()=>a.Dialog,popup:()=>a.popup});var a=p(9789)},9976(u){u.exports=jQuery}},function(u){u.O(0,["1103","2292","3944","4694","5229","5985","6358","7402","8790","9274","9809"],function(){return u(u.s=3093)}),u.O()}]); 14954}catch(e){WRMCB(e)}; 14955; 14956try { 14957/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_src_exp
14957ort-as-amd_ts', location = 'src_export-as-amd_ts.js' */ 14958"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["src_export-as-amd_ts"],{6772:(n,e,o)=>{function _(n,e){if(!window.define)throw new Error(`AMD not available, unable to define('${n}')`);window.define(n,e)}o.d(e,{A:()=>_})}}]); 14959}catch(e){WRMCB(e)}; 14960; 14961try { 14962/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_confluence_web_resources_jquery_require_jquery_', location = 'confluence_web_resources_jquery_require_jquery_.js' */ 14963"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["confluence_web_resources_jquery_require_jquery_"],{5150:e=>{e.exports=require("jquery")}}]); 14964}catch(e){WRMCB(e)}; 14965; 14966try { 14967/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_confluence_web_resources_amd_require_confluence_api_logger_', location = 'confluence_web_resources_amd_require_confluence_api_logger_.js' */ 14968"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["confluence_web_resources_amd_require_confluence_api_logger_"],{1634:e=>{e.exports=require("confluence/api/logger")}}]); 14969}catch(e){WRMCB(e)}; 14970; 14971try { 14972/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_deprecated-dialog', location = 'deprecated-dialog.js' */ 14973"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["deprecated-dialog"],{8845:(e,t,n)=>{var a=n(6772),o=n(5150),i=n.n(o);const r="next",l="prev";let c,u,s,d;function p(e){e.children[0].focus()}function b(e,t){let n=c.indexOf(e);t===r?n=n===c.length-1?0:n+1:t===l&&(n=0===n?c.length-1:n-1),p(c[n])}function f(e,t,n){const a=e.children[0];n?(a.setAttribute("aria-selected",!0),a.removeAttribute("tabindex")):(a.setAttribute("aria-selected",!1),a.tabIndex=-1)}function g(e){for(let t=0;t<c.length;t+=1){const n=c[t];f(n,0,e&&e===n)}}function h(e){const t=e.currentTarget;function n(t){t(),e.stopPropagation()}switch(e.key){case"ArrowUp":n(()=>b(t,l));break;case"ArrowDown":n(()=>b(t,r));break;case"Home":n(()=>p(s));break;case"End":n(()=>p(d));break;case"Enter":case" ":n(()=>g(t))}}function m(e){g(e.currentTarget)}const y=/\{([^}]+)}/g;let _=null;const v=e=>{if("Tab"!==e.key)return;const t=_.find('button, \n input:not([type="hidden"]), \n select, \n textarea, \n [href]:not([tabindex="-1"]), \n [role="button"], \n [tabindex]:not([tabindex="-1"])').filter(":visible"),n=i()(e.target);e.shiftKey?(n.is(_)||n.is(t.first()))&&(e.preventDefault(),t.last().focus()):n.is(t.last())&&(e.preventDefault(),t.first().focus())};function A(){AJS.bind("show.dialog",(e,t)=>{const n=AJS.Meta.get("page-id"),a=AJS.Meta.get("space-key"),o=AJS.Meta.get("editor-mode"),i=AJS.Meta.get("new-page");AJS.EventQueue=AJS.EventQueue||[],AJS.EventQueue.push({name:t.dialog.id,properties:function(){const e={};return n&&(e.pageid=n),a&&(e.spacekey=a),o&&(e.editormode=o),i&&(e.newpage=i),e}()});const r=t.dialog.popup.element;if(!r)return;const{dialog:l}=t;if(null==l||!l.page.length)return;l.page.forEach((e,t)=>{var n,a;const o=e.element;let i=null!==(n=null==o?void 0:o.attr("id"))&&void 0!==n?n:`${l.id||"dialog-title"}-${t}`;i=`${i}-label`,null===(a=e.header)||void 0===a||a.attr("id",i)});const c=l.page[l.curpage],u=c.header.attr("id");u&&r.attr("aria-labelledby",u),r.attr("role","dialog"),r.attr("aria-modal",!0),r.attr("aria-hidden",!1),_=c.element,_.attr("tabindex","0"),_.find("input[type=hidden]").attr("tabindex","-1"),_.find(".hidden").attr("tabindex","-1"),r.find(".button-panel-cancel-link").attr("role","button").attr("tabindex","0"),r[0].addEventListener("keydown",v)}),i()(document).bind("showLayer",(e,t,n)=>{Confluence.runBinderComponents(),"popup"===t&&n&&function(e){const t=i()(e);let n;if(t.attr("data-lasttab-override"))return;t.attr("data-tab-default")&&(n=t.attr("data-tab-default"));const a=Confluence.storageManager(t.attr("id")),o=a.getItem("last-tab"),r=null!=o?o:n;r&&i()(`.page-menu-item:visible:eq(${r}) button`,t).click(),t.attr("data-lasttab-bound")||(i()(".page-menu-item",t).each((e,t)=>{i()(t).click(()=>{a.setItem("last-tab",e)})}),t.attr("data-lasttab-bound","true"))}(n.element)}),AJS.Dialog.prototype.overrideLastTab=function(){i()(this.popup.element).attr("data-lasttab-override","true")},AJS.Dialog.prototype.addHelpText=function(e,t){if(!e)return;const n=function(e,t){let n=e;return t&&(n=e.replace(y,(e,n)=>t[n]?AJS.escapeHtml(t[n]):e)),n}(e,t),a=this.page[this.curpage];a.buttonpanel||a.addButtonPanel();const o=i()("<div class='dialog-tip'></div>").html(n);a.buttonpanel.append(o),i()("a",o).click(function(){const e=window.open(this.href,"_blank");return e.focus(),e.opener=null,!1})},AJS.Dialog.prototype.getTitle=function(){return i()(`#${this.id} .dialog-components:visible h2`).text()},AJS.Dialog.prototype.isVisible=function(){return i()(`#${this.id}`).is(":visible")}}function k(e,...t){let a;return"object"!=typeof(e=e||{})||(e=i().extend({},{keypressListener(t){if(27===t.keyCode)n(1634).debug("dialog.js: escape keydown caught"),i()(".aui-dropdown",a.popup.element).is(":visible")||("function"==typeof e.onCancel?e.onCancel():a.hide());else if(13===t.keyCode&&(n(1634).debug("dialog.js: enter keydown caught"),!i()(".aui-dropdown",a.popup.element).is(":visible"))){const n=t.target.nodeName&&t.target.nodeName.toLowerCase();["a","button","textarea"].includes(n)||"function"!=typeof e.onSubmit||setTimeout(e.onSubmit)}},width:865,height:530},e)),a=new AJS.Dialog(e,...t),i()(document).bind("hideLayer",(t,n,o)=>{"popup"===n&&o===a&&"function"==typeof e.onCancel&&(e.onCancel(),c.forEac
14973h(e=>{e.removeEventListener("keydown",h),e.removeEventListener("click",m)}))}),a}function w(e,...t){const a=k(e,...t);return setTimeout(()=>{A(),function(e){const t=e.popup.element,a=t&&t[0].querySelector(".dialog-page-menu");a&&(n(1634).debug("bind tablist events",a),c=Array.prototype.slice.call(a.querySelectorAll(".page-menu-item")),u=Array.prototype.slice.call(t[0].querySelectorAll(".dialog-panel-body")),[s]=c,d=c[c.length-1],function(e){e.setAttribute("role","tablist"),e.setAttribute("aria-orientation","vertical"),c.forEach((e,t)=>{const n=e.querySelector("button"),a=u[t],o=n.id||"dialog-tab-"+t,i=a.id||"dialog-tabpanel-"+t;n.setAttribute("id",o),n.setAttribute("role","tab"),n.setAttribute("aria-controls",i),a.setAttribute("id",i),a.setAttribute("role","tabpanel"),a.setAttribute("aria-labelledby",o),f(e,0,e.classList.contains("selected"))})}(a),c.forEach(e=>{e.addEventListener("keydown",h),e.addEventListener("click",m)}))}(a)},0),a}(0,a.A)("confluence/dialog",()=>({component:k,confluenceDialog:w,initialiser:A}))}},e=>{e.O(0,["src_export-as-amd_ts","confluence_web_resources_jquery_require_jquery_","confluence_web_resources_amd_require_confluence_api_logger_"],()=>e(e.s=8845)),e.O()}]); 14974}catch(e){WRMCB(e)}; 14975; 14976try { 14977/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:aui-dialog1-deprecated', location = '/includes/js/dialog.js' */ 14978require("confluence/module-exporter").safeRequire("confluence/dialog",function(a){AJS.ConfluenceDialog=a.component;AJS.toInit(a.initialiser)}); 14979}catch(e){WRMCB(e)}; 14980; 14981try { 14982/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:confluence-dropdown', location = '/includes/js/deprecated/dropdown.js' */ 14983define("confluence/dropdown",["jquery"],function(a){function d(e,u){var g=null,z=[],x=!1,y=a(document),f={item:"li:has(a)",activeClass:"active",alignment:"right",displayHandler:function(b){return b.name},escapeHandler:function(){this.hide("escape");return!1},hideHandler:function(){},moveHandler:function(){},useDisabled:!1};a.extend(f,u);f.alignment={left:"left",right:"right"}[f.alignment.toLowerCase()]||"left";if(e&&e.jquery)g=e;else if("string"===typeof e)g=a(e);else if(e&&e.constructor===Array){g= 14984a("\x3cdiv\x3e\x3c/div\x3e").addClass("aui-dropdown confluence-aui-dropdown").toggleClass("hidden",!!f.isHiddenByDefault);u=0;for(var v=e.length;u<v;u++){for(var p=a("\x3col\x3e\x3c/ol\x3e"),l=0,m=e[u].length;l<m;l++){var q=a("\x3cli\x3e\x3c/li\x3e"),n=e[u][l];n.href?(q.append(a("\x3ca\x3e\x3c/a\x3e").html("\x3cspan\x3e"+f.displayHandler(n)+"\x3c/span\x3e").attr({href:n.href}).addClass(n.className)),a.data(a("a \x3e span",q)[0],"properties",n)):q.html(n.html).addClass(n.className);n.icon&&q.prepend(a("\x3cimg /\x3e").attr("src", 14985n.icon));n.insideSpanIcon&&q.children("a").prepend(a("\x3cspan\x3e\x3c/span\x3e").attr("class","icon"));n.iconFontClass&&q.children("a").prepend(a("\x3cspan\x3e\x3c/span\x3e").addClass("aui-icon aui-icon-small aui-iconfont-"+n.iconFontClass));a.data(q[0],"properties",n);p.append(q)}u===v-1&&p.addClass("last");g.append(p)}a("body").append(g)}else throw Error("dropDown function was called with illegal parameter. Should be $ object, $ selector or array.");var E=function(){D(1)},F=function(){D(-1)},D= 14986function(b){var r=!x,c=d.current.$[0],h=d.current.links,k=c.focused;x=!0;if(0!==h.length){c.focused="number"===typeof k?k:-1;if(!d.current)return console.log("move - not current, aborting"),!0;c.focused+=b;0>c.focused?c.focused=h.length-1:c.focused>=h.length&&(c.focused=0);f.moveHandler(a(h[c.focused]),0>b?"up":"down");r&&h.length?(a(h[c.focused]).addClass(f.activeClass),x=!1):h.length||(x=!1)}},A=function(b){if(!d.current)return!0;var r=b.which,c=d.current.$[0],h=d.current.links;d.current.cleanActive(); 14987switch(r){case 40:E();break;case 38:F();break;case 27:return f.escapeHandler.call(d.current,b);case 13:return 0<=c.focused?f.selectionHandler?f.selectionHandler.call(d.current,b,a(h[c.focused])):"a"!=a(h[c.focused]).prop("nodeName")?a("a",h[c.focused]).trigger("focus"):a(h[c.focused]).trigger("focus"):!0;default:return h.length&&a(h[c.focused]).addClass(f.activeClass),!0}b.stopPropagation();b.preventDefault();return!1},B=function(b){b&&b.which&&3==b.which||b&&b.button&&2==b.button||d.current&&d.current.hide("click")}, 14988C=function(b){return function(){d.current&&(d.current.cleanFocus(),this.originalClass=this.className,a(this).addClass(f.activeClass),d.current.$[0].focused=b)}},G=function(b){if(b.button||b.metaKey||b.ctrlKey||b.shiftKey)return!0;d.current&&f.selectionHandler&&f.selectionHandler.call(d.current,b,a(this))},I=function(b){var r=!1;b.data("events")&&a.each(b.data("events"),function(c,h){a.each(h,function(k,t){if(G===t)return r=!0,!1})});return r};g.each(function(){var b=this,r=a(this),c={},h={reset:function(){c= 14989a.extend(c,{$:r,links:a(f.item||"li:has(a)",b),cleanActive:function(){b.focused+1&&c.links.length&&a(c.links[b.focu
14989sed]).removeClass(f.activeClass)},cleanFocus:function(){c.cleanActive();b.focused=-1},moveDown:E,moveUp:F,moveFocus:A,getFocusIndex:function(){return"number"===typeof b.focused?b.focused:-1}});c.links.each(function(k){var t=a(this);I(t)||(t.hover(C(k),c.cleanFocus),t.click(G))})},appear:function(k){k?(r.removeClass("hidden"),r.addClass("aui-dropdown-"+f.alignment)):r.addClass("hidden")}, 14990fade:function(k){k?r.fadeIn("fast"):r.fadeOut("fast")},scroll:function(k){k?r.slideDown("fast"):r.slideUp("fast")}};c.reset=h.reset;c.reset();c.addControlProcess=function(k,t){throw Error("The addControlProcess method is intentionally removed and not supported in this dropdown.");};c.addCallback=function(k,t){const w=this[k];if("function"!==typeof w)throw Error(`Method ${k} does not exist`);this[k]=function(...H){const J=w.apply(this,H);t.apply(this,H);return J}};c.show=function(k){f.useDisabled&& 14991this.$.closest(".aui-dd-parent").hasClass("disabled")||(this.alignment=f.alignment,B(),d.current=this,this.method=k||this.method||"appear",this.timer=setTimeout(function(){y.click(B)},0),y.keydown(A),f.firstSelected&&this.links[0]&&C(0).call(this.links[0]),a(b.offsetParent).css({zIndex:2700}),h[this.method](!0),a(document).trigger("showLayer",["dropdown",d.current]))};c.hide=function(k){this.method=this.method||"appear";a(r.get(0).offsetParent).css({zIndex:""});this.cleanFocus();h[this.method](!1); 14992y.unbind("click",B).unbind("keydown",A);a(document).trigger("hideLayer",["dropdown",d.current]);d.current=null;return k};c.addCallback("reset",function(){f.firstSelected&&this.links[0]&&C(0).call(this.links[0])});d.iframes||(d.iframes=[]);d.createShims=function t(){a("iframe").each(function(w){this.shim||(this.shim=a("\x3cdiv /\x3e").addClass("shim hidden").css({position:"absolute"}).appendTo("body"),d.iframes.push(this))});return t}();c.addCallback("show",function(){a(d.iframes).each(function(){var t= 14993a(this);if(t.is(":visible")){var w=t.offset();w.height=t.height();w.width=t.width();this.shim.css({left:w.left+"px",top:w.top+"px",height:w.height+"px",width:w.width+"px"}).removeClass("hidden")}})});c.addCallback("hide",function(){a(d.iframes).each(function(){this.shim.addClass("hidden")});f.hideHandler()});z.push(c)});return z}d.getAdditionalPropertyValue=function(e,u){(e=e[0])&&"string"===typeof e.tagName&&"li"===e.tagName.toLowerCase()||console.log("dropDown.getAdditionalPropertyValue : item passed in should be an LI element wrapped by jQuery"); 14994return(e=a.data(e,"properties"))?e[u]:null};d.Standard=function(e){var u=[],g={selector:".aui-dd-parent",dropDown:".aui-dropdown",trigger:".aui-dd-trigger"};a.extend(g,e);var z=function(v,p,l,m){a.extend(m,{trigger:v});p.addClass("dd-allocated");l.addClass("hidden");0==g.isHiddenByDefault&&m.show();m.addCallback("show",function(){p.addClass("active")});m.addCallback("hide",function(){p.removeClass("active")})},x=function(v,p,l,m){m!=d.current&&(l.css({top:p.outerHeight()}),m.show(),v.stopImmediatePropagation()); 14995v.preventDefault()};if(g.useLiveEvents){var y=[],f=[];a(g.trigger).live("click",function(v){var p=a(this),l;if(0<=(l=a.inArray(this,y))){var m=f[l];var q=m.dropdown;var n=m.ddcontrol}else{l=p.closest(g.selector);q=l.find(g.dropDown);if(0===q.length)return;n=d(q,g)[0];if(!n)return;y.push(this);m={parent:l,dropdown:q,ddcontrol:n};z(p,l,q,n);f.push(m)}x(v,p,q,n)})}else e=this instanceof a?this:a(g.selector),e=e.not(".dd-allocated").filter(":has("+g.dropDown+")").filter(":has("+g.trigger+")"),e.each(function(){var v= 14996a(this),p=a(g.dropDown,this),l=a(g.trigger,this),m=d(p,g)[0];a.extend(m,{trigger:l});z(l,v,p,m);l.on("click",function(q){x(q,l,p,m)});u.push(m)});return u};d.Ajax=function(e){throw Error("The Ajax method is intentionally removed and not supported in this dropdown.");};return d}); 14997}catch(e){WRMCB(e)}; 14998; 14999try { 15000/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ebfbe3d045', location = 'aui.chunk.785a197c63127363--0bf07a3aef652c4c.js' */ 15001"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9496"],{6615(t,e,n){n.r(e),n.d(e,{needsLayeringShim:()=>
15001p,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}}}]); 15002}catch(e){WRMCB(e)}; 15003; 15004try { 15005/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.inline-dialog1', location = 'aui.chunk.c3b1c8487e3c0d2c--ef2ddcad9a628478.js' */ 15006"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9684"],{1610(t,e,o){o.r(e),o.d(e,{InlineDialog:()=>c});var i=o(3003),n=o(6615),a=o(4459),f=o(3349),l=o(5452),r=o(1218);function s(t,e,o,a){if((a=a||[]).hasOwnProperty("onTop")&&(h(),a.onTop&&void 0===a.gravity&&(a.gravity="s")),void 0===e&&(e=String(Math.random()).replace(".",""),(0,i.default)("#inline-dialog-"+e+", #arrow-"+e+", #inline-dialog-shim-"+e).length))throw"GENERATED_IDENTIFIER_NOT_UNIQUE";let l=CSS.escape(e);var u,c,p,g,w,v=i.default.extend(!1,s.opts,a);"w"===v.gravity&&(v.offsetX=void 0===a.offsetX?10:a.offsetX,v.offsetY=void 0===a.offsetY?0:a.offsetY);var m=!1,y=!1,C=!1,b=(0,i.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>'),T=(0,i.default)("#arrow-"+l,b),k=b.find(".contents");v.displayShadow||k.addClass("aui-inline-dialog-no-shadow"),v.autoWidth?k.addClass("aui-inline-dialog-auto-width"):k.width(v.width),k.on({mouseenter:function(){clearTimeout(c),b.off("mouseenter")},mouseleave:function(){M()}});var O=function(){return u||(u={popup:b,hide:function(){M(0)},id:e,show:function(){X()},persistent:!!v.persistent,reset:function(){var t=Math.round(.75*(0,i.default)(window).height());b.children(".aui-inline-dialog-contents").css("max-height",t);var o=v.calculatePositions(b,w,g,v);if(o.hasOwnProperty("displayAbove")&&(d(),o.gravity=o.displayAbove?"s":"n"),b.css(o.popupCss),T.removeClass("aui-bottom-arrow aui-left-arrow aui-right-arrow"),"s"!==o.gravity||T.hasClass("aui-bottom-arrow")?"w"===o.gravity?T.addClass("aui-left-arrow"):"e"===o.gravity&&T.addClass("aui-right-arrow"):T.addClass("aui-bottom-arrow"),T.css(o.arrowCss),b.fadeIn(v.fadeTime,function(){}),(0,n.needsLayeringShim)()){var a=(0,i.default)("#inline-dialog-shim-"+l);a.length||(0,i.default)(b).prepend((0,i.default)('<iframe class = "inline-dialog-shim" id="inline-dialog-shim-'+e+'" frameBorder="0" src="about:blank"></iframe>')),a.css({width:k.outerWidth(),height:k.outerHeight()})}}}),u},X=function(){b.is(":visible")||(p=setTimeout(function(){C&&y&&(v.addActiveClass&&(0,i.default)(t).addClass("active"),m=!0,v.persistent||D(),s.current=O(),(0,i.default)(document).trigger("showLayer",["inlineDialog",O()]),O().reset())},v.showDelay))},M=function(e){void 0===e&&v.persistent||void 0===b.get(0)._datePickerPopup&&(y=!1,m&&v.preHideCallback.call(b[0].popup)&&(e=null==e?v.hideDelay:e,clearTimeout(c),clearTimeout(p),null!=e&&(c=setTimeout(function(){H(),v.addActiveClass&&(0,i.default)(t).removeClass("active"),b.fadeOut(v.fadeTime,function(){v.hideCallback.call(b[0].popup)}),m=!1,y=!1,(0,i.default)(document).trigger("hideLayer",["inlineDialog",O()]),s.current=null,v.cacheContent||(C=!1,x=!1)},e))))},Y=function(t,n){var a=(0,i.default)(n);return v.upfrontCallback.call({popup:b,hide:function(){M(0)},id:e,show:function(){X()}}),b.each(function(){void 0!==this.popup&&this.popup.hide()}),v.closeOthers&&(0,i.default)(".aui-inline-dialog").each(function(){this.popup.persistent||this.popup.hide()}),w={target:a},g=t?{x:t.pageX,y:t.pageY}:{x:a.offset().left,y:a.offset().top},m||clearTimeout(p),y=!0,x||(x=!0,"function"==typeof o?o(k,n,function(){x=!1,C=!0,v.initCallback.call({popup:b,hide:function(){M(0)},id:e,show:function(){X()}}),X()}):i.default.get(o,function(t,o,i){k.html(v.responseHandler(t,o,i)),C=!0,v.initCallback.call({popup:b,hide:function(){M(0)},id:e,show:function(){X()}}),X()})),clearTimeout(c),m||X(),!1};b[0].popup=O();var x=!1,E=!1,L=function(){E||((0,i.default)(v.container).append(b),E=!0)},I=(0,i.default)(t);I.selector=I.selector||t.selector,v.onHover?v.useLiveEvents?I.selector?(0,i.default)(document).on("mouseenter",I.selector,function(t){L(),Y(t,this)}).on("mouseleave",I.selector,function(){M()}):f.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled."):I.on({mouseenter:function(t){L(),Y(t,this)},mouseleave:function(){M()}}):v.noBind||(v.useLiveEvents?I.selector?(0,i.default)(document).on("click",I.selector,function(t){return L(),A()?b.hide():Y(t,this),!1}).on("mouseleave",I.selector,function(){M()}):f.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled."):I.on("click",function(t){return L(),A()?b.hide():Y(t,this),!1}).on("mouseleave",function(){M()}));var A=function(){return m&&v.closeOnTriggerClick},D=function(){B(),R()},H=function(){N(),_()},P=!1,S=e+".inline-dialog-check",B=function(){P||((0,i.default)("body").on("click."+S,function(t){0===(0,i.default)(t.target).closest("#inline-dialog-"+l+" .contents").length&&M(0)}),P=!0)}
15006,N=function(){P&&(0,i.default)("body").off("click."+S),P=!1},W=function(t){t.keyCode===r.default.ESCAPE&&M(0)},R=function(){(0,i.default)(document).on("keydown",W)},_=function(){(0,i.default)(document).off("keydown",W)};return b.show=function(e,o){e&&e.stopPropagation(),L(),v.noBind&&!(t&&t.length)?Y(e,void 0===o?e.target:o):Y(e,t)},b.hide=function(){M(0)},b.refresh=function(){m&&O().reset()},b.getOptions=function(){return v},b}function u(t){let e=(0,i.default)(t);if((t=e.get(0))&&t===t.window)return{left:0,top:0,width:e.width(),height:e.height()};let o=e.offset()||{};return{left:o.left||0,top:o.top||0,width:e.outerWidth()||0,height:e.outerHeight()||0}}s.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,o,n){return("w"===(n=n||{}).gravity?function(t,e,o,n){var a,f,l,r,s,u,d,h,c,p,g,w,v,m,y=(a="function"==typeof n.offsetX?n.offsetX(t,e,o,n):n.offsetX,f="function"==typeof n.offsetY?n.offsetY(t,e,o,n):n.offsetY,l="function"==typeof n.arrowOffsetX?n.arrowOffsetX(t,e,o,n):n.arrowOffsetX,r="function"==typeof n.arrowOffsetY?n.arrowOffsetY(t,e,o,n):n.arrowOffsetY,s="body"!==n.container.toLowerCase(),u=(0,i.default)(n.container),d=s?(0,i.default)(n.container).parent():(0,i.default)(window),h=s?u.offset():{left:0,top:0},c=s?d.offset():{left:0,top:0},g=(p=e.target).offset(),w=p[0].getBBox&&p[0].getBBox(),{screenPadding:10,arrowMargin:5,window:{top:c.top,left:c.left,scrollTop:d.scrollTop(),scrollLeft:d.scrollLeft(),width:d.width(),height:d.height()},scrollContainer:{width:u.width(),height:u.height()},trigger:{top:g.top-h.top,left:g.left-h.left,width:w?w.width:p.outerWidth(),height:w?w.height:p.outerHeight()},dialog:{width:t.width(),height:t.height(),offset:{top:f,left:a}},arrow:{height:t.find(".arrow").outerHeight(),offset:{top:r,left:l}}}),C=y.screenPadding,b=y.window,T=y.trigger,k=y.dialog,O=y.arrow,X=y.scrollContainer,M={top:T.top-b.scrollTop,left:T.left-b.scrollLeft},Y=Math.floor(T.height/2),x=Math.floor(k.height/2),E=Math.floor(O.height/2),L=M.left-k.offset.left-C,I=X.width-M.left-T.width-k.offset.left-C,A=L>=k.width,D=!(I>=k.width)&&A?"e":"w",H=M.top+Y-E,P=b.height-H-O.height;C=Math.min(C=Math.min(C,H-y.arrowMargin),P-y.arrowMargin);var S=M.top+Y,B=Math.max(S-C,0),N=Math.max(b.height-S-C,0),W=x-k.offset.top>B,R=x+k.offset.top>N;return W?(v={top:b.scrollTop+C,left:"w"===D?T.left+T.width+k.offset.left:T.left-k.width-k.offset.left},m={top:T.top+Y-(v.top+E)}):R?(v={top:b.scrollTop+b.height-k.height-C,left:"w"===D?T.left+T.width+k.offset.left:T.left-k.width-k.offset.left},m={top:T.top+Y-(v.top+E)}):(v={top:T.top+Y-x+k.offset.top,left:"w"===D?T.left+T.width+k.offset.left:T.left-k.width-k.offset.left},m={top:x-E+O.offset.top}),{gravity:D,popupCss:v,arrowCss:m}}:function(t,e,o,i){var n="function"==typeof i.offsetX?i.offsetX(t,e,o,i):i.offsetX,a="function"==typeof i.offsetY?i.offsetY(t,e,o,i):i.offsetY,f="function"==typeof i.arrowOffsetX?i.arrowOffsetX(t,e,o,i):i.arrowOffsetX,l=u(window),r=u(e.target),s=u(t),d=u(t.find(".aui-inline-dialog-arrow")),h=r.left+r.width/2,c=(window.pageYOffset||document.documentElement.scrollTop)+l.height;s.top=r.top+r.height+~~a,s.left=r.left+~~n;var p=l.width-(s.left+s.width+10);d.left=h-s.left+~~f,d.top=-(d.height/2);var g=r.top>s.height,w=!(s.top+s.height<c)&&g||g&&"s"===i.gravity;if(w&&(s.top=r.top-s.height-d.height/2,d.top=s.height),i.isRelativeToMouse)p<0?(s.right=10,s.left="auto",d.left=o.x-(l.width-s.width)):(s.left=o.x-20,d.left=o.x-s.left);else if(p<0){s.right=10,s.left="auto";var v=l.width-s.right-s.width;d.right="auto",d.left=h-v-d.width/2}else s.width<=r.width/2&&(d.left=s.width/2,s.left=h-s.width/2);return{gravity:w?"s":"n",displayAbove:w,popupCss:{left:s.left,top:s.top,right:s.right},arrowCss:{left:d.left,top:d.top,right:d.right}}})(t,e,o,n)}},s=a.construct(s,"Inline dialog constructor",{alternativeName:"inline dialog 2"});var d=a.getMessageLogger("displayAbove","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."}),h=a.getMessageLogger("onTop","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."});(0,l.default)("InlineDialog",s);let c=s},9976(t){t.exports=jQuery}}
15006,function(t){t.O(0,["1103","3692","4694","7402","9274","9496","9809"],function(){return t(t.s=1610)}),t.O()}]); 15007}catch(e){WRMCB(e)}; 15008; 15009try { 15010/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--e64bd944a3', location = 'aui.chunk.61807eefec008e9d--9a20a40201a4e4c0.js' */ 15011"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4497"],{6081(u,i){i.module={}}}]); 15012}catch(e){WRMCB(e)}; 15013; 15014try { 15015/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--1a017b24f0', location = 'aui.chunk.05461bb497b18bf4--120505336bf1fec1.js' */ 15016(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2347"],{7841(){var t=jQuery;function e(t){this.num=0,this.timer=t>0&&t}function i(i){if(t.isPlainObject(i.data)||Array.isArray(i.data)||"string"==typeof i.data){var r,a=i.handler,n={timer:700,combo:[]};"string"==typeof(r=i.data)?n.combo=[r]:Array.isArray(r)?n.combo=r:t.extend(n,r),n.combo=t.map(n.combo,function(t){return t.toLowerCase()}),i.index=new e(n.timer),i.handler=function(e){if(!(this!==e.target&&(/textarea|select|input/i.test(e.target.nodeName)||"true"===t(e.target).prop("contenteditable")))){var r="keypress"!==e.type?t.hotkeys.specialKeys[e.which]:null,o=String.fromCharCode(e.which).toLowerCase(),c="",h={};e.altKey&&"alt"!==r&&(c+="alt+"),e.ctrlKey&&"ctrl"!==r&&(c+="ctrl+"),e.metaKey&&!e.ctrlKey&&"meta"!==r&&(c+="meta+"),e.shiftKey&&"shift"!==r&&(c+="shift+"),e.metaKey&&"["===o&&(o=null),r&&(h[c+r]=!0),o&&(h[c+o]=!0),/shift+/.test(c)&&(h[c.replace("shift+","")+t.hotkeys.shiftNums[r||o]]=!0);var u=i.index,l=n.combo;if(s(l[u.val()],h))if(u.val()===l.length-1)return u.reset(),a.apply(this,arguments);else u.inc();else u.reset(),s(l[0],h)&&u.inc()}}}}function s(t,e){for(var i=t.split(" "),s=0,r=i.length;s<r;s++)if(e[i[s]])return!0;return!1}t.hotkeys={version:"0.8",specialKeys:{8:"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",188:",",190:".",191:"/",224:"meta",219:"[",221:"]"},keypressKeys:["<",">","?"],shiftNums:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"}},t.each(t.hotkeys.keypressKeys,function(e,i){t.hotkeys.shiftNums[i]=i}),e.prototype.val=function(){return this.num},e.prototype.inc=function(){this.timer&&(clearTimeout(this.timeout),this.timeout=setTimeout(e.prototype.reset.bind(this),this.timer)),this.num++},e.prototype.reset=function(){this.timer&&clearTimeout(this.timeout),this.num=0},t.each(["keydown","keyup","keypress"],function(){t.event.special[this]={add:i}})}}]); 15017}catch(e){WRMCB(e)}; 15018; 15019try { 15020/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.cac3fdcde7', location = 'aui.chunk.47cda2c7ed0f5c8d--3fd3404a9076f1e2.js' */ 15021"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1843"],{9908(a,e,s){s.r(e),s.d(e,{I18n:()=>o,format:()=>i.default}),s(6081);var i=s(1010);let o=(0,s(5452).globalizeI18n)({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.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
15021ch":"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}})}}]); 15022}catch(e){WRMCB(e)}; 15023; 15024try { 15025/* module-key = 'com.atlassian.auiplugin:split_aui.behaviour.keyboard-shortcuts', location = 'aui.chunk.e33b80b4af2ca2e4--a4629f8eded6bf75.js' */ 15026(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6557"],{9407(e,t,r){"use strict";r.r(t),r.d(t,{whenIType:()=>m});var n=r(3003);r(7841),r(7082);var o=r(3349),a=r(9908),u=r(9789),i=r(5452),s=r(1218),l=r(9616),c=-1!==navigator.platform.indexOf("Mac"),d=-1!==navigator.userAgent.indexOf("Safari"),f=/^(backspace|tab|r(ight|eturn)|s(hift|pace|croll)|c(trl|apslock)|alt|pa(use|ge(up|down))|e(sc|nd)|home|left|up|d(el|own)|insert|f\d\d?|numlock|meta)/i;let h=e=>{let t=e[0];if(t){let e=document.createEvent("MouseEvent");e.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}};function p(e){var t=[],r=n.default.Callbacks();function o(e){!u.popup.current&&r&&r.fire(e)}function i(e){e.preventDefault()}function s(e){(e&&e.split?e.trim().split(" "):[e]).forEach(function(e){var r,a,u;u=!function(e){for(var t=e.length;t--;)if(e[t].length>1&&"space"!==e[t])return!0;return!1}(a=(r=e)instanceof Array?r:function(e){for(var t=[],r="";e.length;){var n=e.match(/^(ctrl|meta|shift|alt)\+/i),o=e.match(f);n?(r+=n[0],e=e.substring(n[0].length)):(o?(t.push(r+o[0]),e=e.substring(o[0].length)):(t.push(r+e[0]),e=e.substring(1)),r="")}return t}(r.toString()))?"keypress":"keydown",t.push(a),(0,n.default)(document).on(u,!1,a,o),(0,n.default)(document).on(u+" keyup",!1,a,i)})}function d(e,t,r,n){var o="(",u=")";return n&&n.workaroundJaws&&(o="",u=""),r?t+=" "+o+a.format("Type \u0027\u0027{0}\u0027\u0027",e.shift()):t=t.replace(/\)$/,"")+" "+a.format("OR \u0027\u0027{0}\u0027\u0027",e.shift()),e.forEach(function(e){t+=" "+a.format("then \u0027\u0027{0}\u0027\u0027",e)}),t+=u}return s(e),p.makeShortcut({executor:r,bindKeys:s,addShortcutsToTitle:function(e){for(var r=(0,n.default)(e),o=r.attr("title")||"",a=t.slice(),u=r.data("boundKeyCombos")||[],i=r.data("kbShortcutAppended")||"",s=r.data("kbShortcutAppendedScreenReader")||"",f=r.attr("aria-label"),h=!i,p=!s,m=h?o:o.substring(0,o.length-i.length),g=p?o:f.substring(0,f.length-s.length);a.length;){var y=a.shift();u.some(function(e){return(0,l.isEqual)(y,e)})||(i=d(y.slice(),i,h),s=d(y.slice(),s,p,{workaroundJaws:!0}),h=!1,p=!1)}c&&(i=i.replace(/Meta/gi,"â").replace(/Shift/gi,"â§"),s=s.replace(/Meta/gi,"â").replace(/Shift/gi,"â§")),r.attr("title",m+i),r.attr("aria-label",g+s),r.data("kbShortcutAppended",i),r.data("kbShortcutAppendedScreenReader",s),r.data("boundKeyCombos",u.concat(t))},removeShortcutsFromTitle:function(e){var t=(0,n.default)(e),r=t.data("kbShortcutAppended");if(r){var o=t.attr("title");t.attr("title",o.replace(r,"")),t.attr("aria-label",o.replace(r,"")),t.removeData("kbShortcutAppended"),t.removeData("kbShortcutAppendedScreenReader"),t.removeData("boundKeyCombos")}},keypressHandler:o,defaultPreventionHandler:i})}p.makeShortcut=function(e){var t=e.executor,r=e.bindKeys,o=e.addShortcutsToTitle,a=e.removeShortcutsFromTitle,u=e.keypressHandler,i=e.defaultPreventionHandler,l=[];function c(e){return function(r,o){var a=(o=o||{}
15026).focusedClass||"focused",u=!o.hasOwnProperty("wrapAround")||o.wrapAround,i=!o.hasOwnProperty("escToCancel")||o.escToCancel;return t.add(function(){let t=(0,n.default)(r),o=t.filter("."+a),l=0===o.length?void 0:{transition:!0};i&&(0,n.default)(document).one("keydown",function(e){e.keyCode===s.default.ESCAPE&&o&&o.removeClass(a)}),o.length&&o.removeClass(a),(o=e(o,t,u))&&o.length>0&&(o.addClass(a),o.moveTo(l),o.is("a")?o.trigger("focus"):o.find("a:first").trigger("focus"))}),this}}return{moveToNextItem:c(function(e,t,r){var o;return r&&0===e.length?t.eq(0):(o=n.default.inArray(e.get(0),t))<t.length-1?(o+=1,t.eq(o)):r?t.eq(0):e}),moveToPrevItem:c(function(e,t,r){var o;return r&&0===e.length?t.filter(":last"):(o=n.default.inArray(e.get(0),t))>0?(o-=1,t.eq(o)):r?t.filter(":last"):e}),click:function(e){return l.push(e),o(e),t.add(function(){h((0,n.default)(e))}),this},goTo:function(e){return t.add(function(){window.location.href=e}),this},followLink:function(e){return l.push(e),o(e),t.add(function(){var t=(0,n.default)(e)[0];t&&({a:!0,link:!0})[t.nodeName.toLowerCase()]&&(window.location.href=t.href)}),this},execute:function(e){var r=this;return t.add(function(){e.apply(r,arguments)}),this},evaluate:function(e){e.call(this)},moveToAndClick:function(e){return l.push(e),o(e),t.add(function(){let t=(0,n.default)(e);t.length>0&&(h(t),t.moveTo())}),this},moveToAndFocus:function(e){return l.push(e),o(e),t.add(function(t){var r=(0,n.default)(e);r.length>0&&(r.trigger("focus"),r.moveTo&&r.moveTo(),r.is(":input")&&t.preventDefault())}),this},or:function(e){return r(e),this},unbind:function(){(0,n.default)(document).off("keydown keypress",u).off("keydown keypress keyup",i);for(var e=0,t=l.length;e<t;e++)a(l[e]);l=[]}}},p.fromJSON=function(e,t){var r=[];return e&&n.default.each(e,function(e,a){let u,i=a.op,s=a.param;if("execute"===i||"evaluate"===i)u=[Function(s)];else if(/^\[[^\]\[]*,[^\]\[]*\]$/.test(s)){try{u=JSON.parse(s)}catch(e){o.error("When using a parameter array, array must be in strict JSON format: "+s)}Array.isArray(u)||o.error("Badly formatted shortcut parameter. Str
15026ing or JSON Array of parameters required: "+s)}else u=[s];n.default.each(a.keys,function(){var e=this;t&&c&&(e=n.default.map(e,function(e){return e.replace(/ctrl/i,"meta")}));var o=p(e);o[i].apply(o,u),r.push(o)})}),r},(0,n.default)(document).on("iframeAppended",function(e,t){(0,n.default)(t).on("load",function(){(0,n.default)(t).contents().on("keyup keydown keypress",function(e){(!d||"keypress"!==e.type)&&((0,n.default)(e.target).is(":input")||n.default.event.trigger(e,arguments,document,!0))})})}),(0,i.default)("whenIType",p);let m=p},7082(){jQuery.fn.moveTo=function(e){var t,r=jQuery.extend({transition:!1,scrollOffset:35},e),n=this,o=n.offset().top;if((jQuery(window).scrollTop()+jQuery(window).height()-this.outerHeight()<o||jQuery(window).scrollTop()+r.scrollOffset>o)&&jQuery(window).height()>r.scrollOffset){if(t=jQuery(window).scrollTop()+r.scrollOffset>o?o-(jQuery(window).height()-this.outerHeight())+r.scrollOffset:o-r.scrollOffset,!jQuery.fn.moveTo.animating&&r.transition)return jQuery(document).trigger("moveToStarted",this),jQuery.fn.moveTo.animating=!0,jQuery("html,body").animate({scrollTop:t},1e3,function(){jQuery(document).trigger("moveToFinished",n),delete jQuery.fn.moveTo.animating}),this;var a=jQuery("html, body");return a.is(":animated")&&(a.stop(),delete jQuery.fn.moveTo.animating),jQuery(document).trigger("moveToStarted"),jQuery(window).scrollTop(t),setTimeout(function(){jQuery(document).trigger("moveToFinished",n)},100),this}return jQuery(document).trigger("moveToFinished",this),this}},9976(e){"use strict";e.exports=jQuery}},function(e){e.O(0,["1103","1843","2292","2347","3590","3944","4497","4694","5229","5889","5985","6358","6981","7402","8790","9274","9809"],function(){return e(e.s=9407)}),e.O()}]); 15027}catch(e){WRMCB(e)}; 15028; 15029try { 15030/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:regexes', location = '/includes/js/api/regexes.js' */ 15031define("confluence/api/regexes",[],function(){return{EMAIL:/^((([a-z]|\d|[!#$%&'*+\-/=?^_`{|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#$%&'*+\-/=?^_`{|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20)*)?(\x20)+)?((\x7f|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x20-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20)*)?(\x20)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i, 15032URL:/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!$&'()*+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)|\/|\?)*)?$/i}}); 15033}catch(e){WRMCB(e)}; 15034; 15035try { 15036/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a092119004', location = 'aui.chunk.4594558b327df598--85a4a2d0a0d33507.js' */ 15037"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["945"],{3534(t,a,u){u.r(a),u.d(a,{CLOSE_BUTTON:()=>s,CLOSE_BUTTON_CLASS:()=>i,CLOSE_BUTTON_CLASS_SELECTOR:()=>l});var e=u(9908);let i="aui-close-button",l=`.${i}`,s=`<button type="button" class="${i}" aria-label="${"Close"}">`}}]); 15038}catch(e){WRMCB(e)}; 15039; 15040try { 15041/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.08ea57a952', location = 'aui.chunk.24119c235f1b204d--24dc51d572c7f937.js' */ 15042"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5623"],{1221(e,s,t){t.r(s),t.d(s,{MessageEl:()=>p});var a=t(3003),o=t(4459),n=t(3349),i=t(5452),r=t(2094),l=t(1218),u=t(2221),c=t(3534),d=t(9908);function f(e,s,t){(0,a.default)(e||".aui-message.aui-remove-on-hide").each(function(){m((0,a.default)(this),s,t)})}function g(e){(0,a.default)(e||"div.aui-message.closeable").each(function(){var e;let s=(0,a.default)(this),t=s.find(c.CLOSE_BUTTON_CLASS_SELECTOR),o=t.length>0?t.first():(0,a.default)(c.CLOSE_BUTTON);s.addClass("closeable"),s.append(o),(e=s).off("click.aui-message").off("keydown.aui-message"),e.on("click.aui-message",c.CLOSE_BUTTON_CLASS_SELECTOR,function(e){(0,a.default)(e.target).closest(".aui-message").closeMessage()}).on("keydown.aui-message",c.CLOSE_BUTTON_CLASS_SELECTOR,function(e){(e.which===l.default.ENTER||e.which===l.default.SPACE)&&((0,a.default)(e.target).closest(".aui-message").closeMessage(),e.preventDefault())})})}function m(e,s,t){s=void 0!==s?s:5e3,t=void 0!==t?t:500,(0,a.default)(e||"div.aui-message.fadeout").each(function(){let e=(0,a.default)(this),o=!1,n=!1;function i(){e.stop(!0,!1).delay(s).fadeOut(t,function(){e.closeMessage()})}function r(){e.stop(!0,!1).fadeTo(100,1)}e.on("focusin",function(){o=!0,r()}).on("focusout",function(){o=!1,n||i()}).on("mouseenter",function(){n=!0,r()}).on("mouseleave",function(){n=!1,o||n||i()}),i()})}let h={setup:function(){f(),g(),m()},makeRemoveOnHide:f,makeCloseable:g,makeFadeout:m,createMessage:function(e){this[e]=function(s,t){var o,i,l;t||(t=s,s="#aui-message-bar"),t.closeable=null!==t.closeable&&!1!==t.closeable,t.title=(t.title||"").toString().trim();let u=function(e,s){let{id:t,closeable:o,removeOnHide:i,fadeout:l,title:u,body:c}=e,f=function(e,s){let{a11yTypeLabel:t}=e;if(""===t)return"";if(null!=t)return t;if(null==t)switch(s){case"error":return "Error";case"warning":return "Warning";case"info":return "Information";case"confirmation":return "Confirmation";case"change":return "Change";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=u?`<p class="title" ${m?`id="${m}" aria-hidden="true"`:""}>${g}<strong>${(0,r.default)(u)}</strong></p>`:"",p=`<div class="aui-message" role="note" ${m?`aria-labelledby="${m}"`:""}>${h}</div>`,b=(0,a.default)(p).append(a.default.parseHTML(c||"")).addClass(i?"aui-remove-on-hide":"").addClass(o?"closeable":"").addClass(l?"fadeout":"").addClass(`aui-message-${s}`);return t&&(/[#'".\s]/g.test(t)?n.warn("Messages error: ID rejected, must not include spaces, hashes, dots or quotes."):b.attr("id",t)),b}(t,e);return o=u,i=t.insert,l=s,"prepend"===i?o.prependTo(l):"before"===i?o.insertBefore(l):"after"===i?o.insertAfter(l):o.appendTo(l),t.removeOnHide&&(console.warn&&console.warn("Use of AUI Message `removeOnHide` is deprecated due to accessibility reasons and will be removed in AUI 12.0.0."),f(u,t.delay,t.duration)),t.closeable&&g(u),t.fadeout&&(console.warn&&console.warn("Use of AUI Message `fadeout` is deprecated due to accessibility reasons and will be removed in AUI 12.0.0."),m(u,t.delay,t.duration)),u}}};a.default.fn.closeMessage=function(){let 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]))}
15042,h.createMessage("generic"),h.createMessage("error"),h.createMessage("warning"),h.createMessage("info"),h.createMessage("confirmation"),h.createMessage("change"),h.createMessage("success"),h.createMessage("hint");let p=(0,u.default)("aui-message",{created:function(e){let s=e.innerHTML,t=e.getAttribute("type")||"info";e.innerHTML="",h[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(){h.setup()}),o.prop(h,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://aui.atlassian.com/aui/latest/docs/messages.html'}),o.prop(h,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. messages.info(). Docs: https://aui.atlassian.com/aui/latest/docs/messages.html"}),o.prop(h,"makeRemoveOnHide",{extraInfo:"Use of the `makeRemoveOnHide` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/aui/latest/docs/messages.html"}),o.prop(h,"makeFadeout",{extraInfo:"Use of the `fadeout` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/aui/latest/docs/messages.html"}),o.prop(h,"generic",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/aui/latest/docs/messages.html"}),o.prop(h,"hint",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/aui/latest/docs/messages.html"}),o.prop(h,"success",{extraInfo:"use the messages.confirmation() method instead. Docs: https://aui.atlassian.com/aui/latest/docs/messages.html"}),(0,i.default)("messages",h)}}]); 15043}catch(e){WRMCB(e)}; 15044; 15045try { 15046/* module-key = 'com.atlassian.auiplugin:split_aui.component.flag', location = 'aui.chunk.6f88b4359207f483--d023641b811a0cc2.js' */ 15047"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["164"],{9184(e,t,a){a.r(t),a.d(t,{flag:()=>y}),a(1221);var i=a(3003),l=a(9616),n=a(5081),r=a(3067),u=a(5452),d=a(1218),o=a(2094),s=a(3534);let 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 c=a(3567),b=a(9908);let g="aui-flag-container",p={body:"",close:"manual",title:"",type:"info",duration:8e3,ariaLive:"polite"};function m(e){var t,a,r,u;let d,s,m=(0,l.defaults)(e,p);m.title=(m.title||"").toString().trim();let y=function({body:e,title:t,close:a,type:l,ariaLive:n,ariaLabel:r,ariaDescription:u}){let d=t?`<p class="title"><strong>${(0,o.default)(t)}</strong></p>`:"",s=`<div class="aui-message">${d}</div>`;r||(r=function(e){switch(e){case"success":return "New confirmation message";case"warning":return "New warning message";case"error":return "New error message";default:return "New information message"}}(l)),u||(u="");let c=(0,i.default)(s).append(i.default.parseHTML(e||"")).addClass("never"===a?"":"closeable").addClass(`aui-message-${l}`),g=c.find(f).length>0;return(0,i.default)('<div class="aui-flag"></div>').attr({"aria-label":(0,o.default)(r),"aria-hidden":"false","aria-live":(0,o.default)(n),role:g?"alertdialog":"alert",...g?{"data-aui-focus-selector":f.split(", ").map(e=>`.aui-message ${e}`).join(", "),"data-aui-focus":"true"}:{},...u?{"aria-description":(0,o.default)(u)}:{}}).append(c)}(m);return(t=y)[0].close=function(){v(t)},"auto"===m.close?(h(y),"alert"===y.attr("role")&&(a=y,r=m.duration,a.find(".aui-message").addClass("aui-will-close"),setTimeout(function(){a[0].close()},r))):"manual"===m.close&&h(y),(d=x())?Array.from(d.querySelectorAll(".aui-flag:not([open])")).map(e=>e.parentNode.removeChild(e)):(0,i.default)("body").prepend('<div id="'+g+'"></div>'),u=y,s=x(),u.appendTo(s),(0,n.recomputeStyle)(u),u.attr("aria-hidden","false").attr("open","open"),setTimeout(function(){"alertdialog"===y.attr("role")&&c.default.global.enter(y)},0),y.get(0)}function h(e){let t=(0,i.default)(s.CLOSE_BUTTON);return t.on("click",function(){v(e)}),t.on("keypress",function(t){(t.which===d.default.ENTER||t.which===d.default.SPACE)&&(v(e),t.preventDefault())}),e.find(".aui-message").append(t)[0]}function v(e){let t=e.get(0);return"alertdialog"===e.attr("role")&&c.default.global.exit(e),t.removeAttribute("open"),t.setAttribute("inert",""),t.setAttribute("aria-hidden",!0),t.style.display="none",t.dispatchEvent(new CustomEvent("aui-flag-close",{bubbles:!0})),t}function x(){return document.getElementById(g)}(0,r.default)("aui/flag",m),(0,u.default)("flag",m);let y=m},9976(e){e.exports=jQuery}},function(e){e.O(0,["101","1103","1580","1843","1935","2747","3590","3662","3944","4002","4497","4694","5262","5623","5889","6358","6981","7402","7619","8976","9274","9284","945","9468","9809"],function(){return e(e.s=9184)}
15047),e.O()}]); 15048}catch(e){WRMCB(e)}; 15049; 15050try { 15051/* module-key = 'com.atlassian.auiplugin:split_aui.component.message', location = 'aui.chunk.f9e733eece17c414--a3fe4e8b966ad315.js' */ 15052"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["635"],{9976(u){u.exports=jQuery}},function(u){u.O(0,["101","1103","1580","1843","1935","3944","4002","4497","4694","5262","5623","6981","7402","7619","8976","9274","9284","945","9809"],function(){return u(u.s=1221)}),u.O()}]); 15053}catch(e){WRMCB(e)}; 15054; 15055try { 15056/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:type-helpers', location = '/includes/js/api/type-helpers.js' */ 15057define("confluence/api/type-helpers",[],function(){return{asBooleanOrString:function(a){var b=a?a.toLowerCase():"";return"true"===b?!0:"false"===b?!1:a}}});require("confluence/module-exporter").safeRequire("confluence/api/type-helpers",function(a){require("confluence/module-exporter").namespace("AJS.asBooleanOrString",a.asBooleanOrString)}); 15058}catch(e){WRMCB(e)}; 15059; 15060try { 15061/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:meta', location = '/includes/js/meta.js' */ 15062define("confluence/meta",["confluence/api/type-helpers"],function(d){var c={};return{set:function(a,b){c[a]=b},get:function(a){if("undefined"!==typeof c[a])return c[a];var b=document.head.querySelector('meta[name\x3d"ajs-'+a+'"]');if(!b&&(b=document.querySelector('meta[name\x3d"ajs-'+a+'"]'),!b))return;a=b.getAttribute("content");return d.asBooleanOrString(a)},getBoolean:function(a){return!0===this.get(a)},getNumber:function(a){return+this.get(a)},getAllAsMap:function(){var a={};document.querySelectorAll('meta[name^\x3d"ajs-"]').forEach(function(b){a[b.getAttribute("name").substring(4)]= 15063b.getAttribute("content")});return Object.assign(a,c)}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/meta","AJS.Meta"); 15064}catch(e){WRMCB(e)}; 15065; 15066try { 15067/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:meta', location = '/includes/js/page-links.js' */ 15068define("confluence/page-links",["jquery"],function(a){return{canonical:function(){return a('head link[rel\x3d"canonical"]').attr("href")},shortlink:function(){return a('head link[rel\x3d"shortlink"]').attr("href")}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/page-links","AJS.Meta.Links"); 15069}catch(e){WRMCB(e)}; 15070; 15071try { 15072/* module-key = 'confluence.aui.staging:dark-features', location = 'js/dark-features.js' */ 15073define("confluence/dark-features",["confluence/meta","jquery"],function(e,f){var c=e.get("enabled-dark-features"),d=c?c.split(","):[],b={};f.each(d,function(){b[this]=!0});return{isEnabled:function(a){return!!b[a]&&!b[a+".disable"]},enable:function(a){a&&(b[a]=!0,b[a+".disable"]&&delete b[a+".disable"])},disable:function(a){a&&(void 0!==b[a]&&delete b[a],void 0!==b[a+".disable"]&&delete b[a+".disable"])},getAllEnabled:function(){return d}}}); 15074require("confluence/module-exporter").exportModuleAsGlobal("confluence/dark-features","AJS.DarkFeatures"); 15075}catch(e){WRMCB(e)}; 15076; 15077try { 15078/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:logger', location = '/includes/js/api/logger.js' */ 15079define("confluence/api/logger",["ajs"],function(a){return{debug:function(){a.debug.apply(this,arguments)},log:function(){a.log.apply(this,arguments)},logError:function(){a.logError.apply(this,arguments)},error:function(){a.error.apply(this,arguments)},warn:function(){a.warn.apply(this,arguments)}}}); 15080}catch(e){WRMCB(e)}; 15081; 15082try { 15083/* module-key = 'confluence.aui.staging:storage-manager', location = 'js/storage-manager.js' */ 15084define("confluence/storage-manager",["confluence/meta","confluence/api/logger","window"],function(j,h,c){return function(k,l){var i=j.get("remote-user"),f=k+"."+(i?i+".":"")+l,e=!1,m=/\d+#/,g=function(a){if(!e)return null;var d,b=c.localStorage.getItem(f+"."+a);if(d=m.exec(b))if(b=b.replace(d[0],""),+new Date>d[0].replace("#",""))return c.localStorage.removeItem(f+"."+a),null;return b};try{e="localStorage"in c&&null!==c.localStorage}catch(n){h.log("Browser does not support localStorage, Confluence.storageManager will not work.")}return{isLocalStorageSupported:function(){return e}, 15085getItem:g,doesContain:function(a){return!!g(a)},getItemAsBoolean:function(a){a=g(a);return"false"==a?!1:"true"==a?!0:!!a},setItem:function(a,d,b){e&&(b=(b=1E3*(b||0))?+new Date+b+"#":"",c.localStorage.setItem(f+"."+a,b+d))},setItemQuietly:function(a,d,b){try{this.setItem(a,d,b)}catch(c){h.debug("Unable to write to localStorage. key: ",a,", value: ",d,", cause: ",c)}},removeItem:function(a){e&&c.localStorage.removeItem(f+"."+a)}}}}); 15086require("confluence/module-exporter").exportModuleAsGlobal("confluence/storage-manager","AJS.storageManager"); 15087}catch(e){WRMCB(e)}; 15088; 15089try { 15090/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs', location = '/includes/js/aui-overrides.js' */
15091define("confluence/aui-overrides",["window","ajs","jquery","confluence/api/type-helpers"],function(f,e,c,h){function g(){c("meta[name^\x3dajs-]").each(function(){var d=this.name,a=this.content;d=d.substring(4).replace(/(-\w)/g,function(b){return b.charAt(1).toUpperCase()});"undefined"===typeof e.params[d]&&(e.params[d]=h.asBooleanOrString(a))})}f.$=c;"undefined"!==typeof e&&g();return{enable:function(d){return this.each(function(){var a=c(this);a.is("a")&&a.css("pointer-events","");var b=a.prop("disabled", 15092!1).attr("aria-disabled",!1).removeClass("disabled").attr("id");b&&c("label[for\x3d"+b+"]",a.parent()).removeClass("disabled")})},disable:function(d){return this.each(function(){var a=c(this);a.is("a")&&a.css("pointer-events","none");var b=a.prop("disabled",!0).attr("aria-disabled",!0).addClass("disabled").attr("id");b&&c("label[for\x3d"+b+"]",a.parent()).addClass("disabled")})},debounce:function(d,a){var b;return function(){var k=this,l=arguments;b&&(clearTimeout(b),b=void 0);b=setTimeout(function(){d.apply(k, 15093l);b=void 0},a)}},metaToParams:g,setVisible:function(d,a){c(d)&&c(d).each(function(){var b=c(this).hasClass("hidden");b&&a?c(this).removeClass("hidden"):b||a||c(this).addClass("hidden")})}}});require("confluence/module-exporter").safeRequire("confluence/aui-overrides",function(f){var e=require("confluence/module-exporter");e.namespace("AJS.$.debounce",f.debounce);e.namespace("AJS.$.fn.enable",f.enable);e.namespace("AJS.$.fn.disable",f.disable)}); 15094}catch(e){WRMCB(e)}; 15095; 15096try { 15097/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs', location = '/includes/js/aui-draft.js' */ 15098define("confluence/aui-draft","jquery ajs confluence/meta window document confluence/api/regexes confluence/aui-overrides".split(" "),function(e,c,h,n,r,p,k){var g={};e.ajaxSetup({traditional:!0});g.defaultIfUndefined=function(a,b){var d=null,f=n;if("undefined"!==typeof b&&("object"===typeof b.defaultValue&&(d=b.defaultValue),"undefined"!==typeof b.rootObject))if("object"===typeof b.rootObject&&b.rootObject)f=b.rootObject;else return d;if("string"!==typeof a)return d;a=a.split(".");for(b=0;b<a.length;b++){if(!Object.prototype.hasOwnProperty.call(f, 15099a[b]))return d;f=f[a[b]]}return f};var l=function(){var a=!1;return function(b){var d=!!n.localStorage;if("boolean"!==typeof b)return d?"true"==localStorage.getItem("debug-switch-enabled"):a;d?localStorage.setItem("debug-switch-enabled",b):a=b}}();g.debug=function(){if(l()){var a=Array.prototype.slice.call(arguments);a.splice(0,0,"DEBUG: "+(new Date).toLocaleTimeString());c.log.apply(c,a)}};g.debugEnabled=function(a){if("boolean"!==typeof a)return l();l(a);c.log("STICKY FLAG DEBUG ENABLED: "+a)}; 15100g.logError=function(a,b){var d=[],f;if(e.browser.webkit)d.push(b);else for(f in b)d.push(f+": "+b[f]);c.log(a+d.join(", "))};if(h.getBoolean("log-rendered")){var t=c.log,m=e('\x3cdiv id\x3d"ajs-log" class\x3d"log"\x3e\x3ch3\x3eAJS Log\x3c/h3\x3e\n\x3c/div\x3e'),u=e("head");m.toggleClass("hidden",!h.getBoolean("log-visible"));var v=function(a){var b="undefined"===typeof a?"undefined":a,d=r.createElement("script");d.type="text/x-log";d.text=b;u.append(d);m.append(e("\x3cp\x3e\x3c/p\x3e").text("\n"+ 15101b));t.apply(c,arguments)};c.log=v;c.toInit(function(){e("body").append(m)})}g.getJSONWrap=function(a){var b=c.contextPath(),d=a.url;0!==d.indexOf(b)&&0!==d.indexOf("http")&&(d=b+d);a.loadingElement&&k.setVisible(a.loadingElement,!0);var f=a.messageHandler;f.clearMessages();e.ajax({type:"GET",url:d,dataType:"json",data:a.data,error:function(){a.loadingElement&&k.setVisible(a.loadingElement,!1);f.displayMessages(a.errorMessage||"There was an error communicating with the server, please try again later.");a.errorCallback&&a.errorCallback()}, 15102success:function(q){a.loadingElement&&k.setVisible(a.loadingElement,!1);f.handleResponseErrors(q)?a.errorCallback&&a.errorCallback():a.successCallback&&a.successCallback(q)}})};g.Validate=e.extend(function(){return{email:function(a){return p.EMAIL.test(a)},url:function(a){return p.URL.test(a)}}}(),c.Validate);g.Meta=c.Data||h;return g}); 15103require("confluence/module-exporter").safeRequire("confluence/aui-draft",function(e){var c=require("ajs");"function"!==typeof c.defaultIfUndefined&&(c.defaultIfUndefined=e.defaultIfUndefined);c.debug=e.debug;c.debugEnabled=e.debugEnabled;c.logError=e.logError;c.getJSONWrap=e.getJSONWrap;c.Validate=e.Validate;c.Data=e.Meta}); 15104}catch(e){WRMCB(e)}; 15105; 15106try { 15107/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs', location = '/includes/js/message-handler.js' */ 15108define("confluence/message-handler",["jquery","ajs"],function(e,m){var q=function(a){var c=function(){return a.baseElement};var g=function(b){var f=e("ul",b);f.length||(f=e("\x3cul\x3e\x3c/ul\x3e").appendTo(b));return f};return{getMessageContainer:c,clearMessages:function(){c().addClass("hidden").empty()},displayMessages:function(b){if(b&&b.length){e.isArray(b)||(b=[b]);for(var f=c(),n=g(f),h=0,p=b.length;h<p;h++)e("\x3cli\x3e\x3c/li\x3e").text(b[h]).appendTo(n);f.removeClass("hidden")}},handleResponseErrors:function(b, 15109f){b=[].concat(b.validationErrors||[]).concat(b.actionErrors||[]).concat(b.errorMessage||[]);return b.length?(this.displayMessages(f||b),!0):!1}}},d=function(a,c){a=e.extend(q(a),c&&c(a));a.getMessageContainer().addClass("message-handler");a.clearMessages();return a},k=!1,l;
15109d.closeOnNew=function(a){if("undefined"!==typeof a)k=a;else return k};d.message=function(a,c,g){g=g||"success";k&&a.empty();return m.messages[g](a,{body:c,closeable:!0,shadowed:!0})};d.error=function(a,c){return d.message(a,c, 15110"error")};d.actionMessage=function(a,c){l=l||e(e("#action-messages","#action-messages-notifications")[0]);return d.message(l,a,c)};d.loading=function(a){return d.actionMessage(a,"info")};d.flag=function(a){return require("aui/flag")(e.extend({},{type:"success",close:"manual"},a))};return d});require("confluence/module-exporter").exportModuleAsGlobal("confluence/message-handler","AJS.MessageHandler"); 15111}catch(e){WRMCB(e)}; 15112; 15113try { 15114/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors~jquery-browser-plugin', location = 'vendors~jquery-browser-plugin.js' */ 15115(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[16],{148:function(e,r,o){var i,a; 15116/*! 15117 * jQuery Browser Plugin 0.1.0 15118 * https://github.com/gabceb/jquery-browser-plugin 15119 * 15120 * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors 15121 * http://jquery.org/license 15122 * 15123 * Modifications Copyright 2015 Gabriel Cebrian 15124 * https://github.com/gabceb 15125 * 15126 * Released under the MIT license 15127 * 15128 * Date: 05-07-2015 15129 */i=[o(149)],void 0===(a=function(e){return function(e){"use strict";function r(e){void 0===e&&(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)||[],o=/(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)||[],i={},a={browser:r[5]||r[3]||r[1]||"",version:r[2]||r[4]||"0",versionNumber:r[4]||r[2]||"0",platform:o[0]||""};if(a.browser&&(i[a.browser]=!0,i.version=a.version,i.versionNumber=parseInt(a.versionNumber,10)),a.platform&&(i[a.platform]=!0),(i.android||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"])&&(i.mobile=!0),(i.cros||i.mac||i.linux||i.win)&&(i.desktop=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),(i.rv||i.iemobile)&&(a.browser="msie",i.msie=!0),i.edge&&(delete i.edge,a.browser="msedge",i.msedge=!0),i.safari&&i.blackberry&&(a.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(a.browser="playbook",i.playbook=!0),i.bb){var s="blackberry";a.browser=s,i[s]=!0}return i.opr&&(a.browser="opera",i.opera=!0),i.safari&&i.android&&(a.browser="android",i.android=!0),i.safari&&i.kindle&&(a.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(a.browser="silk",i.silk=!0),i.name=a.browser,i.platform=a.platform,i}return window.jQBrowser=r(window.navigator.userAgent),window.jQBrowser.uaMatch=r,e&&(e.browser=window.jQBrowser),window.jQBrowser}(e)}.apply(r,i))||(e.exports=a)}}]); 15130}catch(e){WRMCB(e)}; 15131; 15132try { 15133/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_jquery-browser-plugin', location = 'jquery-browser-plugin.js' */ 15134(window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a=window.atlassianWebpackJsonp72e8e6db7d5e073657900987d0037a3a||[]).push([[9],{147:function(e,a,n){"use strict";n.r(a);n(148)},149:function(e,a){e.exports=require("jquery")}},[[147,0,16]]]); 15135}catch(e){WRMCB(e)}; 15136; 15137try { 15138/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ce4a1e45e0', location = 'aui.chunk.9c9f922fd81fced5--46f13c2371b418f2.js' */ 15139"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2883"],{6539(u,a,i){i.r(a),i.d(a,{SpinnerEl:()=>e.default});var e=i(7640)}}]); 15140}catch(e){WRMCB(e)}; 15141; 15142try { 15143/* module-key = 'com.atlassian.auiplugin:split_aui.component.spinner', location = 'aui.chunk.ffab40ecaca41cb3--ca1a121da768c79b.js' */ 15144"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9425"],{},function(u){u.O(0,["1580","2883","3590","3925","3944","4694","5889","8976","9274"],function(){return u(u.s=6539)}),u.O()}]); 15145}catch(e){WRMCB(e)}; 15146; 15147try { 15148/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:raphael', location = '/includes/js/third-party/raphael-spinner.js' */ 15149var Raphael=Raphael||{};Raphael.spinner=function(d,a,e){var b=30*a/60;a={color:e||"#fff",width:13*a/60,radius:b,length:a-b,top:0,left:0,zIndex:0,speed:1.042};var c=$(d);c.spin(a);return function(){c.spinStop()}};Raphael.spinner=AJS.deprecate.fn(Raphael.spinner,"Raphael spinner",{alternativeName:"aui-spinner"}); 15150}catch(e){WRMCB(e)}; 15151; 15152try { 15153/* module-key = 'com.atlassian.confluence.restplugin:confluence-rest', location = '
15153js/confluence-rest.js' */ 15154define("confluence-rest/confluence-rest",["ajs","wrm/context-path","confluence/api/logger","confluence/meta","jquery"],function(i,g,h,l,k){var f={safeHTML:function(a){return a.replace(/[<>&"']/g,function(a){return"&#"+a.charCodeAt()+";"})}},m=function(a){if(!a)return h.log("REST result is null"),null;if(!a.link||!k.isArray(a.link))return h.log("No link for result with title: "+a.title),null;if(!a.title)return h.log("No title for result with id: "+a.id),null;var c={href:encodeURI(f.REST.findLink(a.link)), 15155name:f.safeHTML(a.title),spaceName:f.safeHTML(f.REST.findSpaceName(a)),restObj:a};a.thumbnailLink?c.icon=a.thumbnailLink.href+(a.version?"?version="+a.version+"&modificationDate=":""):c.className=a.iconClass||"content-type-"+a.type+("space"==a.type?"desc":"");return c};f.REST={getBaseUrl:function(){return"/rest/prototype/1/"},makeUrl:function(a){return g()+"/rest/prototype/1/"+a},findLink:function(a,c,b){c||(c="text/html");b||(b="alternate");if(k.isArray(a))for(var e=0,d=a.length;e<d;e++){var j=a[e]; 15156if(j.type===c&&j.rel===b)return j.href}return"#"},findSpaceName:function(a){return a.space?a.space.name:""},convertFromRest:function(a){for(var c=[],b,e,d=0,j=a.length;d<j;d++){b=[];for(var f=0,h=a[d].length;f<h;f++)(e=m(a[d][f]))&&b.push(e);b.length&&c.push(b)}return c},wikiLink:function(a){var c=a.title,b=a.wikiLink&&a.wikiLink.slice(1,-1);b&&("attachment"===a.type&&a.space&&a.space.key===l.get("space-key")&&a.ownerId===i.params.attachmentSourceContentId)&&(b=b.substring(b.indexOf("^")));var e= 15157b&&(c!==b?c+"|":"")+b;h.log("AJS.Editor.Autocompleter.Manager.makeLinkDetails =>"+e);return{alias:c,destination:b,href:this.findLink(a.link),wikiMarkup:e}},makeRestMatrixFromData:function(a,c){var b=[],e=a[c];e&&e.length&&b.push(e);return b},makeRestMatrixFromSearchData:function(a,c){var b=[],e=a[c||"group"];if(e){for(var d={content:[],attachment:[],userinfo:[],spacedesc:[],page:[],blogpost:[],comment:[],personalspacedesc:[],mail:[]},f=0,i=e.length;f<i;f++){var g=e[f];d[g.name]&&d[g.name].push(g.result)}b= 15158b.concat(d.content,d.attachment,d.userinfo,d.spacedesc,d.page,d.blogpost,d.comment,d.personalspacedesc,d.mail)}else h.log("makeRestMatrixFromData","WARNING: Unknown rest object",a);return b}};return f});require("confluence/module-exporter").safeRequire("confluence-rest/confluence-rest",function(i){var g=require("confluence/module-exporter");g.namespace("AJS.safeHTML",i.safeHTML);g.namespace("AJS.REST",i.REST)}); 15159}catch(e){WRMCB(e)}; 15160; 15161try { 15162/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--9ce5195911', location = 'aui.chunk.f5cb98438340ee36--6304aebac99ddbaa.js' */ 15163(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3435"],{7309(e,t,r){var a,n,i;i=function(e){"use strict";var t=/\r?\n/g,r={};r.fileapi=void 0!==e('<input type="file">').get(0).files,r.formdata=void 0!==window.FormData;var a=!!e.fn.prop;function n(t){var r=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(r))}function i(t){var r=t.target,a=e(r);if(!a.is("[type=submit],[type=image]")){var n=a.closest("[type=submit]");if(0===n.length)return;r=n[0]}var i=r.form;if(i.clk=r,"image"===r.type)if(void 0!==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)}function o(){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)}}e.fn.attr2=function(){if(!a)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t,n,i,s){if(!this.length)return o("ajaxSubmit: skipping submit process - no element selected"),this;var u,c,l,f,p=this;"function"==typeof t?t={success:t}
15163:"string"==typeof t||!1===t&&arguments.length>0?(t={url:t,data:n,dataType:i},"function"==typeof s&&(t.success=s)):void 0===t&&(t={}),c=t.method||t.type||this.attr2("method"),(f=(f="string"==typeof(l=t.url||this.attr2("action"))?l.trim():"")||window.location.href||"")&&(f=(f.match(/^([^#]+)/)||[])[1]),/(MSIE|Trident)/.test(navigator.userAgent||""),t=e.extend(!0,{url:f,success:e.ajaxSettings.success,type:c||e.ajaxSettings.type,iframeSrc:"about:blank"},t);var m={};if(this.trigger("form-pre-serialize",[this,t,m]),m.veto)return o("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&!1===t.beforeSerialize(this,t))return o("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var d=t.traditional;void 0===d&&(d=e.ajaxSettings.traditional);var h,v=[],g=this.formToArray(t.semantic,v,t.filtering);if(t.data){var x="function"==typeof t.data?t.data(g):t.data;t.extraData=x,h=e.param(x,d)}if(t.beforeSubmit&&!1===t.beforeSubmit(g,this,t))return o("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[g,this,t,m]),m.veto)return o("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var b=e.param(g,d);h&&(b=b?b+"&"+h:h),"GET"===t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")>=0?"&":"?")+b,t.data=null):t.data=b;var y=[];if(t.resetForm&&y.push(function(){p.resetForm()}),t.clearForm&&y.push(function(){p.clearForm(t.includeHidden)}),!t.dataType&&t.target){var T=t.success||function(){};y.push(function(r,a,n){var i=arguments,o=t.replaceTarget?"replaceWith":"html";"html"==o&&(r=e.parseHTML(e("<div>").text(r).html())),e(t.target)[o](r).each(function(){T.apply(this,i)})})}else t.success&&(Array.isArray(t.success)?e.merge(y,t.success):y.push(t.success));if(t.success=function(e,r,a){for(var n=t.context||this,i=0,o=y.length;i<o;i++)y[i].apply(n,[e,r,a||p,p])},t.error){var S=t.error;t.error=function(e,r,a){var n=t.context||this;S.apply(n,[e,r,a,p])}}if(t.complete){var j=t.complete;t.complete=function(e,r){var a=t.context||this;j.apply(a,[e,r,p])}}var k=e("input[type=file]:enabled",this).filter(function(){return""!==e(this).val()}).length>0,w="multipart/form-data",D=p.attr("enctype")===w||p.attr("encoding")===w,A=r.fileapi&&r.formdata;o("fileAPI :"+A),!1!==t.iframe&&(t.iframe||(k||D)&&!A)?t.closeKeepAlive?e.get(t.closeKeepAlive,function(){u=E(g)}):u=E(g):u=(k||D)&&A?function(r){for(var a=new FormData,n=0;n<r.length;n++)a.append(r[n].name,r[n].value);if(t.extraData){var i=function(r){var a,n,i=e.param(r,t.traditional).split("&"),o=i.length,s=[];for(a=0;a<o;a++)i[a]=i[a].replace(/\+/g," "),s.push([decodeURIComponent((n=i[a].split("="))[0]),decodeURIComponent(n[1])]);return s}(t.extraData);for(n=0;n<i.length;n++)i[n]&&a.append(i[n][0],i[n][1])}t.data=null;var o=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:c||"POST"});t.uploadProgress&&(o.xhr=function(){var r=e.ajaxSettings.xhr();return r.upload&&r.upload.addEventListener("progress",function(e){var r=0,a=e.loaded||e.position,n=e.total;e.lengthComputable&&(r=Math.ceil(a/n*100)),t.uploadProgress(e,a,n,r)},!1),r}),o.data=null;var s=o.beforeSend;return o.beforeSend=function(e,r){t.formData?r.data=t.formData:r.data=a,s&&s.call(this,e,r)},e.ajax(o)}(g):e.ajax(t),p.removeData("jqxhr").data("jqxhr",u);for(var L=0;L<v.length;L++)v[L]=null;return this.trigger("form-submit-notify",[this,t]),this;function E(r){var n,i,s,u,l,f,m,d,h,g,x,b,y=p[0],T=e.Deferred();if(T.abort=function(e){d.abort(e)},r)for(i=0;i<v.length;i++)n=e(v[i]),a?n.prop("disabled",!1):n.removeAttr("disabled");(s=e.extend(!0,{},e.ajaxSettings,t)).context=s.context||s,l="jqFormIO"+new Date().getTime();var S=y.ownerDocument,j=p.closest("body");if(s.iframeTarget?(g=(f=e(s.iframeTarget,S)).attr2("name"))?l=g:f.attr2("name",l):(f=e('<iframe name="'+l+'" src="'+s.iframeSrc+'" />',S)).css({position:"absolute",top:"-1000px",left:"-1000px"}),m=f[0],d={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var r="timeout"===t?"timeout":"aborted";o("aborting upload... "+r),this.aborted=1;try{m.contentWindow.document.execCommand&&m.contentWindow.document.execCommand("Stop")}catch(e){}f.attr("src",s.iframeSrc),d.error=r,s.error&&s.error.call(s.context,d,r,t),u&&e.event.trigger("ajaxError",[d,s,r]),s.complete&&s.complete.call(s.context,d,r)}},(u=s.global)&&0==e.active++&&e.event.trigger("ajaxStart"),u&&e.event.trigger("ajaxSend",[d,s]),s.beforeSend&&!1===s.beforeSend.c
15163all(s.context,d,s))return s.global&&e.active--,T.reject(),T;if(d.aborted)return T.reject(),T;function k(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(e){o("cannot get iframe.contentWindow document: "+e)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(r){o("cannot get iframe.contentDocument: "+r),t=e.document}return t}(h=y.clk)&&(g=h.name)&&!h.disabled&&(s.extraData=s.extraData||{},s.extraData[g]=h.value,"image"===h.type&&(s.extraData[g+".x"]=y.clk_x,s.extraData[g+".y"]=y.clk_y));var w=e("meta[name=csrf-token]").attr("content"),D=e("meta[name=csrf-param]").attr("content");function A(){var t=p.attr2("target"),r=p.attr2("action"),a=p.attr("enctype")||p.attr("encoding")||"multipart/form-data";y.setAttribute("target",l),(!c||/post/i.test(c))&&y.setAttribute("method","POST"),r!==s.url&&y.setAttribute("action",s.url),!s.skipEncodingOverride&&(!c||/post/i.test(c))&&p.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),s.timeout&&(b=setTimeout(function(){x=!0,C(1)},s.timeout));var n=[];try{if(s.extraData)for(var i in s.extraData)s.extraData.hasOwnProperty(i)&&(e.isPlainObject(s.extraData[i])&&s.extraData[i].hasOwnProperty("name")&&s.extraData[i].hasOwnProperty("value")?n.push(e('<input type="hidden" name="'+s.extraData[i].name+'">',S).val(s.extraData[i].value).appendTo(y)[0]):n.push(e('<input type="hidden" name="'+i+'">',S).val(s.extraData[i]).appendTo(y)[0]));s.iframeTarget||f.appendTo(j),m.attachEvent?m.attachEvent("onload",C):m.addEventListener("load",C,!1),setTimeout(function e(){try{var t=k(m).readyState;o("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){o("Server abort: ",e," (",e.name,")"),C(2),b&&clearTimeout(b),b=void 0}},15);try{y.submit()}catch(e){document.createElement("form").submit.apply(y)}}finally{y.setAttribute("action",r),y.setAttribute("enctype",a),t?y.setAttribute("target",t):p.removeAttr("target"),e(n).remove()}}D&&w&&(s.extraData=s.extraData||{},s.extraData[D]=w),s.forceSync?A():setTimeout(A,10);var L,E,F,M=50;function C(t){if(!d.aborted&&!F){if((E=k(m))||(o("cannot access response document"),t=2),1===t&&d){d.abort("timeout"),T.reject(d,"timeout");return}if(2===t&&d){d.abort("server abort"),T.reject(d,"error","server abort");return}if(E&&E.location.href!==s.iframeSrc||x){m.detachEvent?m.detachEvent("onload",C):m.removeEventListener("load",C,!1);var r,a="success";try{if(x)throw"timeout";var n="xml"===s.dataType||E.XMLDocument||e.isXMLDoc(E);if(o("isXml="+n),!n&&window.opera&&(null===E.body||!E.body.innerHTML)&&--M){o("requeing onLoad callback, DOM not available"),setTimeout(C,250);return}var i=E.body?E.body:E.documentElement;d.responseText=i?i.innerHTML:null,d.responseXML=E.XMLDocument?E.XMLDocument:E,n&&(s.dataType="xml"),d.getResponseHeader=function(e){return({"content-type":s.dataType})[e.toLowerCase()]},i&&(d.status=Number(i.getAttribute("status"))||d.status,d.statusText=i.getAttribute("statusText")||d.statusText);var c=(s.dataType||"").toLowerCase(),l=/(json|script|text)/.test(c);if(l||s.textarea){var p=E.getElementsByTagName("textarea")[0];if(p)d.responseText=p.value,d.status=Number(p.getAttribute("status"))||d.status,d.statusText=p.getAttribute("statusText")||d.statusText;else if(l){var h=E.getElementsByTagName("pre")[0],v=E.getElementsByTagName("body")[0];h?d.responseText=h.textContent?h.textContent:h.innerText:v&&(d.responseText=v.textContent?v.textContent:v.innerText)}}else"xml"===c&&!d.responseXML&&d.responseText&&(d.responseXML=O(d.responseText));try{L=X(d,c,s)}catch(e){a="parsererror",d.error=r=e||a}}catch(e){o("error caught: ",e),a="error",d.error=r=e||a}d.aborted&&(o("upload aborted"),a=null),d.status&&(a=d.status>=200&&d.status<300||304===d.status?"success":"error"),"success"===a?(s.success&&s.success.call(s.context,L,"success",d),T.resolve(d.responseText,"success",d),u&&e.event.trigger("ajaxSuccess",[d,s])):a&&(void 0===r&&(r=d.statusText),s.error&&s.error.call(s.context,d,a,r),T.reject(d,"error",r),u&&e.event.trigger("ajaxError",[d,s,r])),u&&e.event.trigger("ajaxComplete",[d,s]),!u||--e.active||e.event.trigger("ajaxStop"),s.complete&&s.complete.call(s.context,d,a),F=!0,s.timeout&&clearTimeout(b),setTimeout(function(){s.iframeTarget?f.attr("src",s.iframeSrc):f.remove(),d.responseXML=null},100)}}}var O=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=new DOMParser().parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},X=function(t,r,a){var n=t.getResponseHeader("content-type")||"",i=("xml"===r||!r)&&n.indexOf("xml")>=0,o=i?t.responseXML:t.responseText;return i&&"parsererror"===o.documentElement.nodeName&&e.error&&e.error("parsererror"),a&&a.dataFilter&&(
15163o=a.dataFilter(o,r)),"string"==typeof o&&(("json"===r||!r)&&n.indexOf("json")>=0?o=JSON.parse(o):("script"===r||!r)&&n.indexOf("javascript")>=0&&e.globalEval(o)),o};return T}},e.fn.ajaxForm=function(t,r,a,s){if(("string"==typeof t||!1===t&&arguments.length>0)&&(t={url:t,data:r,dataType:a},"function"==typeof s&&(t.success=s)),(t=t||{}).delegation=t.delegation&&"function"==typeof e.fn.on,!t.delegation&&0===this.length){var u={s:this.selector,c:this.context};return!e.isReady&&u.s?(o("DOM not ready, queuing ajaxForm"),e(function(){e(u.s,u.c).ajaxForm(t)})):o("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this}return t.delegation?(e(document).off("submit.form-plugin",this.selector,n).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,t,n).on("click.form-plugin",this.selector,t,i),this):(t.beforeFormUnbind&&t.beforeFormUnbind(this,t),this.ajaxFormUnbind().on("submit.form-plugin",t,n).on("click.form-plugin",t,i))},e.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,a,n){var i,o,s,u,c,l,f,p,m=[];if(0===this.length)return m;var d=this[0],h=this.attr("id"),v=t||void 0===d.elements?d.getElementsByTagName("*"):d.elements;if(v&&(v=e.makeArray(v)),h&&(t||/(Edge|Trident)\//.test(navigator.userAgent))&&(i=e(':input[form="'+h+'"]').get()).length&&(v=(v||[]).concat(i)),!v||!v.length)return m;for("function"==typeof n&&(v=e.map(v,n)),o=0,f=v.length;o<f;o++)if((u=(l=v[o]).name)&&!l.disabled){if(t&&d.clk&&"image"===l.type){d.clk===l&&(m.push({name:u,value:e(l).val(),type:l.type}),m.push({name:u+".x",value:d.clk_x},{name:u+".y",value:d.clk_y}));continue}if((c=e.fieldValue(l,!0))&&c.constructor===Array)for(a&&a.push(l),s=0,p=c.length;s<p;s++)m.push({name:u,value:c[s]});else if(r.fileapi&&"file"===l.type){a&&a.push(l);var g=l.files;if(g.length)for(s=0;s<g.length;s++)m.push({name:u,value:g[s],type:l.type});else m.push({name:u,value:"",type:l.type})}else null!=c&&(a&&a.push(l),m.push({name:u,value:c,type:l.type,required:l.required}))}if(!t&&d.clk){var x=e(d.clk),b=x[0];(u=b.name)&&!b.disabled&&"image"===b.type&&(m.push({name:u,value:x.val()}),m.push({name:u+".x",value:d.clk_x},{name:u+".y",value:d.clk_y}))}return m},e.fn.formSerialize=function(t){return e.param(this.formToArray(t))},e.fn.fieldSerialize=function(t){var r=[];return 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})}}),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(r,a){var n=r.name,i=r.type,o=r.tagName.toLowerCase();if(void 0===a&&(a=!0),a&&(!n||r.disabled||"reset"===i||"button"===i||("checkbox"===i||"radio"===i)&&!r.checked||("submit"===i||"image"===i)&&r.form&&r.form.clk!==r||"select"===o&&-1===r.selectedIndex))return null;if("select"===o){var s=r.selectedIndex;if(s<0)return null;for(var u=[],c=r.options,l="select-one"===i,f=l?s+1:c.length,p=l?s:0;p<f;p++){var m=c[p];if(m.selected&&!m.disabled){var d=m.value;if(d||(d=m.attributes&&m.attributes.value&&!m.attributes.value.specified?m.text:m.value),l)return d;u.push(d)}}return u}return e(r).val().replace(t,"\r\n")},e.fn.clearForm=function(t){return this.each(function(){e("input,select,textarea",this).clearFields(t)})},e.fn.clearFields=e.fn.clearInputs=function(t){var r=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var a=this.type,n=this.tagName.toLowerCase();r.test(a)||"textarea"===n?this.value="":"checkbox"===a||"radio"===a?this.checked=!1:"select"===n?this.selectedIndex=-1:"file"===a?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(!0===t&&/hidden/.test(a)||"string"==typeof t&&e(this).is(t))&&(this.value="")})},e.fn.resetForm=function(){return this.each(function(){var t=e(this),r=this.tagName.toLowerCase();switch(r){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var a=t.parents("select");return a.length&&a[0].multiple?"option"===r?this.selected=this.defaultSelected:t.find("option").resetForm():a.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var n=e(t.attr("for")),i=t.find("input,select,textarea");return n[0]&&i.unshift(n[0]),i.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var r=this.t
15163ype;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}})},e.fn.ajaxSubmit.debug=!1},a=[r(9976)],void 0===(n=i.apply(t,a))||(e.exports=n)}}]); 15164}catch(e){WRMCB(e)}; 15165; 15166try { 15167/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.behaviour.jquery-form', location = 'aui.chunk.83a0bc857fcf85a8--d61aa6896d2481a4.js' */ 15168"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1852"],{3033(u,e,t){t.r(e),t.d(e,{default:()=>i}),t(7309);let i="jquery"},9976(u){u.exports=jQuery}},function(u){u.O(0,["3435"],function(){return u(u.s=3033)}),u.O()}]); 15169}catch(e){WRMCB(e)}; 15170; 15171try { 15172/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:confluence', location = '/includes/js/confluence-root.js' */ 15173define("confluence/root","ajs confluence-rest/confluence-rest confluence/api/logger confluence/meta jquery window".split(" "),function(d,k,l,e,f,m){var h={getContextPath:function(){return e.get("context-path")},getBaseUrl:function(){return f("#confluence-base-url").attr("content")||""},getBuildNumber:function(){return e.get("build-number")},getContentId:function(){var a=e.get("content-id");+a||(a=e.get("page-id"));+a||(a="0");return a},getXsrfToken:function(){return e.get("atl-token")},runBinderComponents:function(){for(var a in h.Binder)if(h.Binder.hasOwnProperty(a))try{h.Binder[a]()}catch(c){l.logError("Exception in initialising of component '"+ 15174a+"': "+c.message)}},placeFocus:function(){h.Binder.placeFocus()},unescapeEntities:function(a){var c={amp:"\x26",lt:"\x3c",gt:"\x3e","#39":"'",quot:'"'};return null==a?a:(""+a).replace(/&[#\d\w]+;/g,function(b){var g=b.substring(1,b.length-1);return c[g]||b})},sessionCheck:function(a,c){var b=e.get("remote-user");if(b){var g=this.getContextPath()+k.REST.getBaseUrl()+"session/check/"+b,n=this;return f.getJSON(g).done(function(){l.debug("SESSION CHECK - OK - "+b)}).fail(function(){l.log("SESSION CHECK - FAIL - "+ 15175b);n.sessionFail(a,c)})}},sessionFail:function(a,c){if(!a){var b=f(".aui-dialog:visible");if(b.length)a=b.find(".dialog-panel-body").empty(),b.find(".aui-button").prop("disabled",!0);else throw Error("sessionFail method really expected a visible dialog about now :/");}c||(c=d.format("Your session has expired. Please {0}reload{1} the page to try again.",'\x3ca class\x3d"reload" href\x3d""\x3e',"\x3c/a\x3e"),a.on("click","a.reload",function(){m.location.reload()}));d.messages.warning(a,{body:c,closeable:!1,shadowed:!0})},Binder:{placeFocus:function(){var a, 15176c=-1;f("input[data-focus]").each(function(){var b=f(this),g=b.attr("data-focus");g>c&&(c=g,a=b)});a&&a.focus()}},hintManager:function(a){if(!f.isArray(a))throw Error("Hints passed in must be an array of strings");var c=Math.floor(Math.random()*a.length);return{getNextHint:function(){var b=a[c];c=(c+1)%a.length;return b}}},debugTime:function(a){d.debugEnabled()&&console.time&&(console.log(a+" started"),console.time(a))},debugTimeEnd:function(a){d.debugEnabled()&&console.timeEnd&&console.timeEnd(a)}}; 15177return h});require("confluence/module-exporter").exportModuleAsGlobal("confluence/root","Confluence",function(d){var k=require("ajs");k.toInit(function(){d.runBinderComponents()});k.Confluence=d}); 15178}catch(e){WRMCB(e)}; 15179; 15180try { 15181/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:defaults', location = '/includes/js/defaults.js' */ 15182define("confluence/defaults",[],function(){return{maxResults:50}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/defaults","Confluence.Defaults"); 15183}catch(e){WRMCB(e)}; 15184; 15185try { 15186/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:event', location = '/includes/js/api/event.js' */ 15187define("confluence/api/event",["ajs"],function(a){return{bind:function(){a.bind.apply(this,arguments)},unbind:function(){a.unbind.apply(this,arguments)},trigger:function(){a.trigger.apply(this,arguments)},stopEvent:function(){a.stopEvent.apply(this,arguments)}}}); 15188}catch(e){WRMCB(e)}; 15189; 15190try { 15191/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--1e652ae4e0', location = 'aui.chunk.a9c2d6bb2c6d468b--54af29e3a81318d4.js' */ 15192"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5"],{5363(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){var t=r(e).Element;return e instanceof t||e instanceof Element}function i(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("u"<typeof ShadowRoot)return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}n.r(t),n.d(t,{defaultModifiers:()=>ec,createPopper:()=>ep});var s,f,c,p,u,l=Math.max,d=Math.min,h=Math.round;function m(){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 v(){return!/^((?!chrome|android).)*safari/i.test(m())}function g(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&&h(a.width)/e.offsetWidth||1,f=e.offsetHeight>0&&h(a.height)/e.offsetHeight||1);
vendor: 18,689 bytes, lines 15192-15197
15192var c=(o(e)?r(e):window).visualViewport,p=!v()&&n,u=(a.left+(p&&c?c.offsetLeft:0))/s,l=(a.top+(p&&c?c.offsetTop:0))/f,d=a.width/s,m=a.height/f;return{width:d,height:m,top:l,right:u+d,bottom:l+m,left:u,x:u,y:l}}function y(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return g(w(e)).left+y(e).scrollLeft}function O(e){return r(e).getComputedStyle(e)}function j(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function E(e){var t=g(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function D(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||w(e)}function A(e,t){void 0===t&&(t=[]);var n,o=function e(t){return["html","body","#document"].indexOf(b(t))>=0?t.ownerDocument.body:i(t)&&j(t)?t:e(D(t))}(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=r(o),f=a?[s].concat(s.visualViewport||[],j(o)?o:[]):o,c=t.concat(f);return a?c:c.concat(A(D(f)))}function k(e){return i(e)&&"fixed"!==O(e).position?e.offsetParent:null}function L(e){for(var t=r(e),n=k(e);n&&["table","td","th"].indexOf(b(n))>=0&&"static"===O(n).position;)n=k(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===O(n).position)?t:n||function(e){var t=/firefox/i.test(m());if(/Trident/i.test(m())&&i(e)&&"fixed"===O(e).position)return null;var n=D(e);for(a(n)&&(n=n.host);i(n)&&0>["html","body"].indexOf(b(n));){var r=O(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 M="bottom",P="right",W="left",B="auto",H=["top",M,P,W],R="start",T="viewport",C="popper",S=H.reduce(function(e,t){return e.concat([t+"-"+R,t+"-end"])},[]),V=[].concat(H,[B]).reduce(function(e,t){return e.concat([t,t+"-"+R,t+"-end"])},[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],N={placement:"bottom",modifiers:[],strategy:"absolute"};function I(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var _={passive:!0};function F(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?F(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case M:t={x:s,y:n.y+n.height};break;case P:t={x:n.x+n.width,y:f};break;case W:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?z(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case R:t[c]=t[c]-(n[p]/2-r[p]/2);break;case"end":t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(e){var t,n,o,i,a,s,f,c=e.popper,p=e.popperRect,u=e.placement,l=e.variation,d=e.offsets,m=e.position,v=e.gpuAcceleration,g=e.adaptive,y=e.roundOffsets,b=e.isFixed,x=d.x,j=void 0===x?0:x,E=d.y,D=void 0===E?0:E,A="function"==typeof y?y({x:j,y:D}):{x:j,y:D};j=A.x,D=A.y;var k=d.hasOwnProperty("x"),B=d.hasOwnProperty("y"),H=W,R="top",T=window;if(g){var C=L(c),S="clientHeight",V="clientWidth";C===r(c)&&"static"!==O(C=w(c)).position&&"absolute"===m&&(S="scrollHeight",V="scrollWidth"),("top"===u||(u===W||u===P)&&"end"===l)&&(R=M,D-=(b&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-p.height,D*=v?1:-1),(u===W||("top"===u||u===M)&&"end"===l)&&(H=P,j-=(b&&C===T&&T.visualViewport?T.visualViewport.width:C[V])-p.width,j*=v?1:-1)}var q=Object.assign({position:m},g&&Y),N=!0===y?(t={x:j,y:D},n=r(c),o=t.x,i=t.y,{x:h(o*(a=n.devicePixelRatio||1))/a||0,y:h(i*a)/a||0}):{x:j,y:D};return(j=N.x,D=N.y,v)?Object.assign({},q,((f={})[R]=B?"0":"",f[H]=k?"0":"",f.transform=1>=(T.devicePixelRatio||1)?"translate("+j+"px, "+D+"px)":"translate3d("+j+"px, "+D+"px, 0)",f)):Object.assign({},q,((s={})[R]=B?D+"px":"",s[H]=k?j+"px":"",s.transform="",s))}var J={left:"right",right:"left",bottom:"top",top:"bottom"};function K(e){return e.replace(/left|right|bottom|top/g,function(e){return J[e]})}var Q={start:"end",end:"start"};function Z(e){return e.replace(/start|end/g,function(e){return Q[e]})}function $(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 ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function et(e,t,n){var i,a,s,f,c,p,u,d,h,m;return t===T?ee(function(e,t){var n=r(e),o=w(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,c=0;if(i){a=i.width,s=i.height;var p=v();(p||!p&&"fixed"===t)&&(f=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:f+x(e),y:c}}(e,n)):o(t)?((i=g(t,!1,"fixed"===n)).top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i):ee((a=w(e),f=w(a),c=y(a),p=null==(s=a.ownerDocument)?void 0:s.body,u=l(f.scrollWidth,f.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),d=l(f.scrollHeight,f.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),h=-c.scrollLeft+x(a),m=-c.scrollTop,"rtl"===O(p||f).direction&&(h+=l(f.clientWidth,p?p.clientWidth:0)-u),{width:u,height:d,x:h,y:m}))}function en(){return{top:0,right:0,bottom:0,left:0}}function er(e){return Object.assign({},en(),e)}function eo(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ei(e,t){void 0===t&&(t={});var n,r,a,s,f,c,p,u,h=t,m=h.placement,v=void 0===m?e.placement:m,y=h.strategy,x=void 0===y?e.strategy:y,j=h.boundary,E=h.rootBoundary,k=h.elementContext,W=void 0===k?C:k,B=h.altBoundary,R=h.padding,S=void 0===R?0:R,V=er("number"!=typeof S?S:eo(S,H)),q=e.rects.popper,N=e.elements[void 0!==B&&B?W===C?"reference":C:W],I=(n=o(N)?N:N.contextElement||w(e.elements.popper),r=void 0===j?"clippingParents":j,a=void 0===E?T:E,p=(c=[].concat("clippingParents"===r?(s=A(D(n)),!o(f=["absolute","fixed"].indexOf(O(n).position)>=0&&i(n)?L(n):n)?[]:s.filter(function(e){return o(e)&&$(e,f)&&"body"!==b(e)})):[].concat(r),[a]))[0],(u=c.reduce(function(e,t){var r=et(n,t,x);return e.top=l(r.top,e.top),e.right=d(r.right,e.right),e.bottom=d(r.bottom,e.bottom),e.left=l(r.left,e.left),e},et(n,p,x))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),_=g(e.elements.reference),F=X({reference:_,element:q,strategy:"absolute",placement:v}),U=ee(Object.assign({},q,F)),z=W===C?U:_,Y={top:I.top-z.top+V.top,bottom:z.bottom-I.bottom+V.bottom,left:I.left-z.left+V.left,right:z.right-I.right+V.right},G=e.modifiersData.offset;if(W===C&&G){var J=G[v];Object.keys(Y).forEach(function(e){var t=[P,M].indexOf(e)>=0?1:-1,n=["top",M].indexOf(e)>=0?"y":"x";Y[e]+=J[n]*t})}return Y}function ea(e,t,n){return l(e,d(t,n))}function es(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 ef(e){return["top",P,M,W].some(function(t){return e[t]>=0})}var ec=[{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,_)}),f&&c.addEventListener("resize",n.update,_),function(){a&&p.forEach(function(e){e.removeEventListener("scroll",n.update,_)}),f&&c.removeEventListener("resize",n.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:F(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,G(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,G(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{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)&&b(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)&&b(r)&&(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{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=V.reduce(function(e,n){var r,o,a,s,f,c;return e[n]=(r=t.rects,a=[W,"top"].indexOf(o=F(n))>=0?-1:1,f=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],c=s[1],f=f||0,c=(c||0)*a,[W,P].indexOf(o)>=0?{x:c,y:f}:{x:f,y:c}),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}},{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=F(v)===v,y=f||(g||!h?[K(v)]:function(e){if(F(e)===B)return[];var t=K(e);return[Z(e),t,Z(t)]}(v)),b=[v].concat(y).reduce(function(e,n){var r,o,i,a,s,f,l,d,v,g,y,b;return e.concat(F(n)===B?(o=(r={placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,f=r.flipVariations,d=void 0===(l=r.allowedAutoPlacements)?V:l,0===(y=(g=(v=U(o))?f?S:S.filter(function(e){return U(e)===v}):H).filter(function(e){return d.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=ei(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[F(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):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],k=F(A),L=U(A)===R,T=["top",M].indexOf(k)>=0,C=T?"width":"height",q=ei(t,{placement:A,boundary:p,rootBoundary:u,altBoundary:l,padding:c}),N=T?L?P:W:L?M:"top";w[C]>x[C]&&(N=K(N));var I=K(N),_=[];if(i&&_.push(q[k]<=0),s&&_.push(q[N]<=0,q[I]<=0),_.every(function(e){return e})){E=A,j=!1;break}O.set(A,_)}if(j)for(var z=h?3:1,X=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"},Y=z;Y>0&&"break"!==X(Y);Y--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,f=n.altBoundary,c=n.padding,p=n.tether,u=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=ei(t,{boundary:a,rootBoundary:s,padding:c,altBoundary:f}),g=F(t.placement),y=U(t.placement),b=!y,w=z(g),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,j=t.rects.reference,D=t.rects.popper,A="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(O){if(void 0===o||o){var T,C="y"===w?"top":W,S="y"===w?M:P,V="y"===w?"height":"width",q=O[w],N=q+v[C],I=q-v[S],_=u?-D[V]/2:0,X=y===R?j[V]:D[V],Y=y===R?-D[V]:-j[V],G=t.elements.arrow,J=u&&G?E(G):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:en(),Q=K[C],Z=K[S],$=ea(0,j[V],J[V]),ee=b?j[V]/2-_-$-Q-k.mainAxis:X-$-Q-k.mainAxis,et=b?-j[V]/2+_+$+Z+k.mainAxis:Y+$+Z+k.mainAxis,er=t.elements.arrow&&L(t.elements.arrow),eo=er?"y"===w?er.clientTop||0:er.clientLeft||0:0,es=null!=(T=null==B?void 0:B[w])?T:0,ef=ea(u?d(N,q+ee-es-eo):N,q,u?l(I,q+et-es):I);O[w]=ef,H[w]=ef-q}if(void 0!==i&&i){var ec,ep,eu="x"===w?"top":W,el="x"===w?M:P,ed=O[x],eh="y"===x?"height":"width",em=ed+v[eu],ev=ed-v[el],eg=-1!==["top",W].indexOf(g),ey=null!=(ep=null==B?void 0:B[x])?ep:0,eb=eg?em:ed-j[eh]-D[eh]-ey+k.altAxis,ew=eg?ed+j[eh]+D[eh]-ey-k.altAxis:ev,ex=u&&eg?(ec=ea(eb,ed,ew))>ew?ew:ec:ea(u?eb:em,ed,u?ew:ev);O[x]=ex,H[x]=ex-ed}t.modifiersData[r]=H}},requiresIfExists:["offset"]},{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=F(n.placement),f=z(s),c=[W,P].indexOf(s)>=0?"height":"width";if(i&&a){var p,u=(p=o.padding,er("number"!=typeof(p="function"==typeof p?p(Object.assign({},n.rects,{placement:n.placement})):p)?p:eo(p,H))),l=E(i),d="y"===f?"top":W,h="y"===f?M:P,m=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],v=a[f]-n.rects.reference[f],g=L(i),y=g?"y"===f?g.clientHeight||0:g.clientWidth||0:0,b=u[d],w=y-l[c]-u[h],x=y/2-l[c]/2+(m/2-v/2),O=ea(b,x,w);n.modifiersData[r]=((t={})[f]=O,t.centerOffset=O-x,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)))&&$(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{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=ei(t,{elementContext:"reference"}),s=ei(t,{altBoundary:!0}),f=es(a,r),c=es(s,o,i),p=ef(f),u=ef(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})}}],ep=(c=void 0===(f=(s={defaultModifiers:ec}).defaultModifiers)?[]:f,u=void 0===(p=s.defaultOptions)?N:p,function(e,t,n){void 0===n&&(n=u);var a,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},N,u),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],l=!1,d={state:f,setOptions:function(n){var r,i,a,s,l,h,v="function"==typeof n?n(f.options):n;m(),f.options=Object.assign({},u,f.options,v),f.scrollParents={reference:o(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var g=(i=Object.keys(r=[].concat(c,f.options.modifiers).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},{})).map(function(e){return r[e]}),a=new Map,s=new Set,l=[],i.forEach(function(e){a.set(e.name,e)}),i.forEach(function(e){s.has(e.name)||function e(t){s.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!s.has(t)){var n=a.get(t);n&&e(n)}}),l.push(t)}(e)}),h=l,q.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return f.orderedModifiers=g.filter(function(e){return e.enabled}),f.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:f,name:t,instance:d,options:void 0===n?{}:n});p.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!l){var e=f.elements,t=e.reference,n=e.popper;if(I(t,n)){f.rects={reference:(o=L(n),a="fixed"===f.options.strategy,s=i(o),m=i(o)&&(p=h((c=o.getBoundingClientRect()).width)/o.offsetWidth||1,u=h(c.height)/o.offsetHeight||1,1!==p||1!==u),v=w(o),O=g(t,m,a),D={scrollLeft:0,scrollTop:0},A={x:0,y:0},(s||!s&&!a)&&(("body"!==b(o)||j(v))&&(D=function(e){return e!==r(e)&&i(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:y(e)}(o)),i(o)?(A=g(o,!0),A.x+=o.clientLeft,A.y+=o.clientTop):v&&(A.x=x(v))),{x:O.left+D.scrollLeft-A.x,y:O.top+D.scrollTop-A.y,width:O.width,height:O.height}),popper:E(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 o,a,s,c,p,u,m,v,O,D,A,k=0;k<f.orderedModifiers.length;k++){if(!0===f.reset){f.reset=!1,k=-1;continue}var M=f.orderedModifiers[k],P=M.fn,W=M.options,B=void 0===W?{}:W,H=M.name;"function"==typeof P&&(f=P({state:f,options:B,name:H,instance:d})||f)}}}},update:(a=function(){return new Promise(function(e){d.forceUpdate(),e(f)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(a())})})),s}),destroy:function(){m(),l=!0}};if(!I(e,t))return d;function m(){p.forEach(function(e){return e()}),p=[]}return d.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),d})}}]); 15193}catch(e){WRMCB(e)}; 15194; 15195try { 15196/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.94a6b7c92b', location = 'aui.chunk.6e593669e180d80e--4fb056a6c7ba7553.js' */ 15197"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["7513"],{6982(e,t,n){n.r(t),n.d(t,{ATTR_CONTAINER:()=>o,GPU_ACCELERATION_FLAG:()=>s,default:()=>u});var r=n(5363);let o="alignment-container",s="aui-alignment-use-gpu",i={"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"
15197:"bottom","bottom left":"bottom-start","left bottom":"left-end","left middle":"left","left top":"left-start"};function a(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}function p(e){return a(e,"alignment")||"right middle"}function l(e){let[t,n]=p(e).split(" ");return{side:t,snap:n}}let d={auto:[],top:["top","bottom"],right:["right","left"],bottom:["bottom","top"],left:["left","right"]};function f(e,t,n={}){var u,h,m,c;let g,b,w,v,y=l(e),E=(m=e,c=t,(b=l(m)).snap&&"auto"!==b.snap?g=i[p(m)]||"right":(b.snap=function(e){let t,n=("string"==typeof(t=a(e,o)||window)&&(t=document.querySelector(t)),t),r="left";if(n&&n!==window&&n!==document||(n=document.documentElement),n&&n.nodeType&&n.nodeType===Node.ELEMENT_NODE){let t=n.getBoundingClientRect();e.getBoundingClientRect().left-t.left>(t.right-t.left)/2&&(r="right")}return r}(c),g="submenu"===b.side?i[`${"right"===b.snap?"left":"right"} top`]:i[`${b.side} ${b.snap}`]),g),O=d[E.split("-")[0]],L=t.ownerDocument.defaultView.frameElement;this._eventListenersEnabled=!!n.hasOwnProperty("eventsEnabled")&&n.eventsEnabled,this._triggerOnEvents=!1;let _=[{name:"flip",enabled:!n.hasOwnProperty("flip")||n.flip,options:{allowedAutoPlacements:O,boundary:L||(n.hasOwnProperty("flipContainer")?n.flipContainer:"clippingParents")}},{name:"preventOverflow",enabled:!n.hasOwnProperty("preventOverflow")||n.preventOverflow,options:{padding:0,escapeWithReference:!1,rootBoundary:L?"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(s)}},{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})=>{let 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})=>{let 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}}];L&&t.ownerDocument!=e.ownerDocument&&_.push({name:"iframeOffset",enabled:!0,fn(e){let t=L.getBoundingClientRect(),n=window.getComputedStyle(L),r=(e,t)=>e+t,o=e=>e.map(parseFloat).filter(Boolean).reduce(r,0),s=o([t.top,n.paddingTop,n.borderTop]),i=o([t.left,n.paddingLeft,n.borderLeft]);return e.offsets.reference.left+=i,e.offsets.reference.top+=s,e.offsets.popper.left+=i,e.offsets.popper.top+=s,e}});let C={placement:E,strategy:n.hasOwnProperty("positionFixed")&&!n.positionFixed?"absolute":"fixed",modifiers:_,onFirstUpdate:n.onCreate};this.popper=(0,r.createPopper)(t,e,C),u=y.side,h=y.snap,w="aui-alignment-side-"+u,v="aui-alignment-snap-"+h,e.classList.contains(w)||e.classList.add(w),e.classList.contains(v)||e.classList.add(v)}f.prototype={destroy(){return this.popper.destroy(),this},changeTarget(e){let 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}};let u=f}}]); 15198}catch(e){WRMCB(e)}; 15199; 15200try { 15201/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ae2ebdffe7', location = 'aui.chunk.387974cef5ef1722--e36350b28a70297c.js' */ 15202"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6933"],{4719(a,u,e){e.r(u),e.d(u,{layer:()=>i.default});var i=e(1548)}}]); 15203}catch(e){WRMCB(e)}; 15204; 15205try { 15206/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f15ec11892', location = 'aui.chunk.d314abe0ede4925e--7e06c63163a78a72.js' */ 15207"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9193"],{8962(e,t,u){u.r(t),u.d(t,{DELAY:()=>n,ifGone:()=>r});var i=u(3003);let n=12;function r(e){let t=new i.default.Deferred;return e?setTimeout(()=>{e.parentElement||t.resolve()},n):t.reject(),t.promise()}}}]); 15208}catch(e){WRMCB(e)}; 15209; 15210try { 15211/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.2b8638947e', location = 'aui.chunk.aaabfb04bdf51d4b--79238ec6bedc661d.js' */ 15212"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6452"],{538(u,i,a){a.r(i),a(4645)}}]); 15213}catch(e){WRMCB(e)}; 15214; 15215try { 15216/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.7386883120', location = 'aui.chunk.dc6933727222453a--f537042268dbc006.js' */ 15217"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9674"],{7235(t,n,r){r.r(n),r.d(n,{default:()=>u});var e=r(3349);let u=function(t){function n(n){return u(function(){return t.hasAttribute(n)},n+" wasn't defined")}function r(r){if(!n(r,t))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,ariaControl
15217s:function(){return r("aria-controls")},ariaOwns:function(){return r("aria-owns")}}}}}]); 15218}catch(e){WRMCB(e)}; 15219; 15220try { 15221/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.480d8aa1d1', location = 'aui.chunk.7c6ba2968e66d261--35beaebbadb35e5c.js' */ 15222"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1682"],{7210(t,e,u){function l(t){return null!==t}function n(t,e,u){u?t.setAttribute(e,""):t.removeAttribute(e)}function i(t,e){let u=t=>t.toLowerCase()===e.toLowerCase(),l=null===e,n=!l&&!t.values.filter(u).length;return l?t.hasOwnProperty("missingDefault")?t.missingDefault:null:n?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:()=>l,computeEnumValue:()=>i,default:()=>s,setBooleanAttribute:()=>n,setEnumAttribute:()=>a});let s={computeBooleanValue:l,setBooleanAttribute:n,computeEnumValue:i,setEnumAttribute:a}}}]); 15223}catch(e){WRMCB(e)}; 15224; 15225try { 15226/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e13f04fa37', location = 'aui.chunk.00e1a118a9745adc--cc862bb84c4796c9.js' */ 15227"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5080"],{3750(e,t,i){i.r(t),i.d(t,{InlineDialogEl:()=>n.default}),i(4719),i(538);var n=i(5171)},5171(e,t,i){i.r(t),i.d(t,{default:()=>B});var n=i(3003),o=i(6982),u=i(3067),r=i(7210),a=i(7235),s=i(5452),l=i(1548),d=i(2221),f=i(8582),c=i(4645),p=i(8962),g=i(3567);function m(e,t){L(e)&&(0,c.doIfTrigger)(e,function(i){i.setAttribute("aria-expanded","false"),t.setAttribute("aria-expanded",e.open)}),(0,c.setTrigger)(e,t)}function h(e,t){if(e._auiAlignment)e._auiAlignment.changeTarget(t),e._auiAlignment.enable();else{let i={overflowContainer:"viewport"===e.getAttribute("contained-by")?"viewport":"window",positionFixed:!1,eventsEnabled:!0};e._auiAlignment=new o.default(e,t,i)}}function v(e){e._auiAlignment&&(e._auiAlignment.destroy(),delete e._auiAlignment)}function b(e,t){var i=t.currentTarget;i&&(m(e,i),h(e,i)),e.open||(e.open=!0),clearTimeout(e._closingTimeout)}function T(e=0){return function(t){!t.open||(0,l.default)(t).isPersistent()||(clearTimeout(t._closingTimeout),t._closingTimeout=setTimeout(function(){(0,f.default)(t).get("mouse-inside")||t.contains(document.activeElement)||(t.open=!1),t._closingTimeout=null},e))}}let A={click(e,t){e.open&&!(0,l.default)(e).isPersistent()?e.open=!1:(m(e,t.currentTarget),e.open=!0),clearTimeout(e._closingTimeout)},mouseenter:b,mouseleave:T(1e3),focus:b,blur:T(0)};function _(e){var t=e.currentTarget;(0,f.default)(t).set("mouse-inside",!0),t.message({type:"mouseenter"})}function E(e){var t=e.currentTarget;(0,f.default)(t).set("mouse-inside",!1),t.message({type:"mouseleave"})}function y(e){var t=e.currentTarget;"hover"===t.respondsTo&&T(1e3)(t)}function w(e){(0,f.default)(e).set("mouse-inside",void 0),e.removeEventListener("mouseenter",_),e.removeEventListener("mouseleave",E),e.removeEventListener("blur",y),"hover"===e.respondsTo&&((0,f.default)(e).set("mouse-inside",!1),e.addEventListener("mouseenter",_),e.addEventListener("mouseleave",E),e.addEventListener("blur",y))}function x(e,t){return`${e}.nested-layer-${t}`}function V(e){return(0,l.default)(e).show(),!0===(0,l.default)(e).isVisible()}function I(e){return(0,l.default)(e).hide(),!1===(0,l.default)(e).isVisible()}function k(e){return"hover"!==e.respondsTo}function L(e){return"dialog"!==e.getAttribute("role")}function D(e){e.__initialised||((0,l.default)(e),(0,n.default)(e).on({[`${l.EVENT_PREFIX}show`]:function(e){let t=this;if(e.target===t){let e,i,o;e=(0,n.default)(t),i=t.id,o=t=>e.find((0,c.getTrigger)(t.target)).length<1,(0,n.default)(document).on(x("aui-layer-show",i),t=>{o(t)||e.attr("persistent","")}).on(x("aui-layer-hide",i),t=>{o(t)||e.removeAttr("persistent")}).on(x("select2-opening",i),()=>{e.attr("persistent","")}).on(x("select2-close",i),()=>{setTimeout(()=>{e.removeAttr("persistent")},150)}),(0,c.doIfTrigger)(t,function(e){k(t)&&(0,g.default)().enter((0,n.default)(t),(0,n.default)(e)),h(t,e),L(t)&&e.setAttribute("aria-expanded","true")})}},[`${l.EVENT_PREFIX}hide`]:function(e){let t=this;if(e.target===t){var i;(i=t.id,(0,n.default)(document).off(x("aui-layer-hide",i)).off(x("aui-layer-show",i)).off(x("select2-opening",i
15227)).off(x("select2-close",i)),t.ownerDocument.body.contains(t))?t._auiAlignment&&t._auiAlignment.disable():v(t),(0,c.doIfTrigger)(t,function(e){k(t)&&(0,g.default)().exit((0,n.default)(t)),L(t)&&e.setAttribute("aria-expanded","false")}),(0,c.setTrigger)(t,null)}}}),e.__initialised=!0)}let P={attribute:"responds-to",values:["toggle","hover"],missingDefault:"toggle",invalidDefault:"toggle"},R=(0,d.default)("aui-inline-dialog",{prototype:{get open(){return(0,l.default)(this).isVisible()},set open(value){this.__propUpdate=!0,value?V(this):I(this)},get persistent(){return this.hasAttribute("persistent")},set persistent(value){r.default.setBooleanAttribute(this,"persistent",value)},get respondsTo(){var $=P.attribute;return r.default.computeEnumValue(P,this.getAttribute($))},set respondsTo(value){let e=this.respondsTo;r.default.setEnumAttribute(this,P,value),e!==this.respondsTo&&w(this)},message:function(e){var t;return(t=({toggle:["click"],hover:["mouseenter","mouseleave","focus","blur"]})[this.respondsTo])&&t.indexOf(e.type)>-1&&A[e.type](this,e),this}},attributes:{open:function(e,t){(D(e),e.__propUpdate)?delete e.__propUpdate:("created"===t.type&&(V(e)||(0,r.setBooleanAttribute)(e,"open",!1)),"removed"===t.type&&(I(e)||(0,r.setBooleanAttribute)(e,"open",!0)))},"responds-to":function(e,t){r.default.computeEnumValue(P,t.oldValue)!==r.default.computeEnumValue(P,t.newValue)&&w(e)}},created:D,attached:function(e){(0,a.default)(e).attributeExists("id"),e.setAttribute("tabindex",0),L(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")})),w(e)},detached:function(e){(0,p.ifGone)(e).then(()=>{v(e),L(e)&&(0,c.forEachTrigger)(e,function(e){e.removeAttribute("aria-haspopup"),e.removeAttribute("aria-expanded")})})},template:function(e){(0,n.default)('<div class="aui-inline-dialog-contents"></div>').append(e.childNodes).appendTo(e)}});(0,u.default)("aui/inline-dialog2",R),(0,s.default)("InlineDialog2",R);let B=R}}]); 15228}catch(e){WRMCB(e)}; 15229; 15230try { 15231/* module-key = 'com.atlassian.auiplugin:split_aui.component.inline-dialog2', location = 'aui.chunk.6af6bb998a09d9c3--9b1542c2c843fdff.js' */ 15232"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1336"],{9976(u){u.exports=jQuery}},function(u){u.O(0,["1103","1580","1682","2747","3662","3692","3709","3944","4694","5","5080","5262","5985","6358","6452","6933","7402","7513","7625","8179","8976","9193","9274","9284","9468","9674","9809"],function(){return u(u.s=3750)}),u.O()}]); 15233}catch(e){WRMCB(e)}; 15234; 15235try { 15236/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:user-dialog', location = '/includes/js/confluence-user-dialog.js' */ 15237define("confluence/user-dialog",["jquery","confluence/dark-features","ajs","confluence/meta"],function(c,t,m,x){var C={fadeTime:100,hideDelay:500,showDelay:700,loadDelay:50,width:300,mouseMoveThreshold:10,container:"body"};"undefined"===typeof m.followCallbacks&&(m.followCallbacks=[]);"undefined"===typeof m.favouriteCallbacks&&(m.favouriteCallbacks=[]);m.toInit(function(d){d(self).bind("hover-user.follow",function(b,h){b=0;for(var k=m.followCallbacks.length;b<k;b++)m.followCallbacks[b](h.username)})}); 15238const E=function(d,b,h,k,l){var g=c.extend(!1,C,l),r,n,p=function(){var e=c("#content-hover-"+b);e.length?r=e.find(".contents"):(c(g.container).append(c('\x3cdiv id\x3d"content-hover-'+b+'" class\x3d"ajs-content-hover dialog-content-container aui-box-shadow"\x3e\x3cdiv class\x3d"contents"\x3e\x3c/div\x3e\x3c/div\x3e')),e=c("#content-hover-"+b),r=e.find(".contents"),r.css("width",g.width+"px").mouseover(function(){var f=p()[0];clearTimeout(f.hideDelayTimer);e.unbind("mouseover")}).mouseout(function(){u()}), 15239c(document).keydown(function(f){e.length&&"Escape"===f.key&&u(!0)}),r.click(function(f){f.stopPropagation()}));return e},z=function(){var e=p(),f=e[0];e.is(":visible")||(f.showTimer=setTimeout(function(){if(f.contentLoaded&&f.shouldShow){f.beingShown=!0;var a=c(window),y=n.x-3,v=n.y+15;y+g.width+30>a.width()?e.css({right:"20px",left:"auto"}):e.css({left:y+"px",right:"auto"});a=(window.pageYOffset||document.documentElement.scrollTop)+a.height();v+e.height()>a&&(v=a-e.height()-5,e.mouseover(function(){var D= 15240p()[0];clearTimeout(D.hideDelayTimer)}).mouseout(function(){u()}
15240));e.css({top:v+"px"});e.fadeIn(g.fadeTime,function(){f.beingShown=!1})}},g.showDelay))},u=function(e){var f=p(),a=f[0];a.beingShown=!1;a.shouldShow=!1;clearTimeout(a.hideDelayTimer);clearTimeout(a.showTimer);clearTimeout(a.loadTimer);a.contentLoading=!1;a.shouldLoadContent=!1;a.hideDelayTimer=setTimeout(function(){f.fadeOut(g.fadeTime)},e?0:g.hideDelay)};d.mousemove(function(e){n={x:e.pageX,y:e.pageY};var f=p(),a=f[0];a.beingShown|| 15241clearTimeout(a.showTimer);a.shouldShow=!0;if(!a.contentLoaded)if(a.contentLoading){if(a.shouldLoadContent&&(n.x-a.initialMousePosition.x)*(n.x-a.initialMousePosition.x)+(n.y-a.initialMousePosition.y)*(n.y-a.initialMousePosition.y)>g.mouseMoveThreshold*g.mouseMoveThreshold){a.contentLoading=!1;a.shouldLoadContent=!1;clearTimeout(a.loadTimer);return}}else a.initialMousePosition=n,a.shouldLoadContent=!0,a.contentLoading=!0,a.loadTimer=setTimeout(function(){a.shouldLoadContent&&r.load(h,function(){a.contentLoaded= 15242!0;a.contentLoading=!1;k.call(f,b);z()})},g.loadDelay);clearTimeout(a.hideDelayTimer);a.beingShown||z()}).mouseout(function(){u()});c("body").click(function(){var e=p(),f=e[0];f.beingShown=!1;clearTimeout(f.hideDelayTimer);clearTimeout(f.showTimer);e.hide()})};var F=function(d,b,h,k){if(!d.attr("data-aui-trigger")){d.attr("aria-controls",`dialog-${b}`);d.attr("data-aui-trigger",!0);var l;d.on("click keydown",function(g){"click"!==g.type&&("keydown"!==g.type||"Enter"!==g.key&&" "!==g.key)||l||(g.preventDefault(), 15243g.stopImmediatePropagation(),l=c(` 15244 <aui-inline-dialog id="dialog-${b}" 15245 class="dialog-content-container" 15246 aui-focus-trap="true" 15247 alignment="bottom left" 15248 > 15249 <div class="contents"></div> 15250 </aui-inline-dialog>`),l.insertAfter(d),l.find(".contents").load(h,function(){k.call(l,b);l.attr("open",!0)}))});return l}},q=[],w=m.contextPath();if(x.get("remote-user")&&!x.get("remote-user-has-licensed-access"))return c.noop;var A=function(d){var b=q[d]||d,h={username:b,target:this};c(self).trigger("hover-user.open",h);c(".ajs-menu-bar",this).ajsMenu();c(".follow, .unfollow",this).each(function(){var k=c(this).click(function(l){if(!k.hasClass("waiting")){var g=k.hasClass("unfollow")? 15251"/unfollowuser.action":"/followuser.action";k.addClass("waiting");m.safe.post(w+g+"?username\x3d"+encodeURIComponent(b)+"\x26mode\x3dblank",{},function(){k.removeClass("waiting");k.parent().toggleClass("follow-item").toggleClass("unfollow-item");c(self).trigger("hover-user.follow",h)});l.stopPropagation();return!1}})})},B=t.isEnabled("show.business.group.in.user.hover");t=function(){c("button[data-user-popup-trigger], button[data-user-dialog-trigger]").each(function(d,b){const h=c(b),k=h.attr("data-username"); 15252if(k){b=`${w}/users/userinfopopup.action?username=${encodeURIComponent(k)}`;B&&(b+="\x26profileGroups\x3dbusiness");try{F(h,k+"-"+d,b,A)}catch(l){console.error(`Failed to create UserPopup for ${k}:`,l)}}else console.warn("Username not found for trigger:",b)});c("span.user-hover-trigger, a.confluence-userlink, img.confluence-userlink, a.userLogoLink").not("[data-disable-user-hover]").filter("[data-user-hover-bound!\x3d'true']").each(function(){var d=c(this),b=d.attr("data-username"),h=c("img",d).attr("title"); 15253d.removeAttr("title").attr("data-user-hover-bound","true");h&&c("img",d).attr("alt",h);c("img",d).removeAttr("title");h=c.inArray(b,q);-1===h&&(q.push(b),h=c.inArray(b,q));d.addClass("userlink-"+h)});c.each(q,function(d){var b=w+"/users/userinfopopup.action?username\x3d"+encodeURIComponent(q[d]);B&&(b+="\x26profileGroups\x3dbusiness");E(c(".userlink-"+d),d,b,A)})};m.toInit(t);return t}); 15254}catch(e){WRMCB(e)}; 15255; 15256try { 15257/* module-key = 'confluence.aui.staging:confluence-flags', location = 'flag/confluence-flag.soy' */ 15258// This file was automatically generated from confluence-flag.soy. 15259// Please don't edit this file by hand. 15260 15261/** 15262 * @fileoverview Templates in namespace Confluence.Templates.AuiStaging. 15263 */ 15264 15265if (typeof Confluence == 'undefined') { var Confluence = {}; } 15266if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15267if (typeof Confluence.Templates.AuiStaging == 'undefined') { Confluence.Templates.AuiStaging = {}; } 15268 15269 15270Confluence.Templates.AuiStaging.flag = function(opt_data, opt_ignored) { 15271 var output = ''; 15272 var messageTypeClasses__soy3 = 'aui-message-' + opt_data.type + ' ' + opt_data.type; 15273 var messageCloseableClass__soy4 = opt_data.closeable ? 'closeable' : '';
15274 output += '<div class="aui-flag ' + ((opt_data.extraClasses) ? soy.$$escapeHtml(opt_data.extraClasses) : '') + '" aria-live="polite"><div class="aui-message ' + soy.$$escapeHtml(messageTypeClasses__soy3) + ' ' + soy.$$escapeHtml(messageCloseableClass__soy4) + ' shadowed"><h2 class="title"><strong>' + soy.$$escapeHtml(opt_data.title) + '</strong></h2>' + soy.$$filterNoAutoescape(opt_data.body) + '</div></div>'; 15275 return output; 15276}; 15277if (goog.DEBUG) { 15278 Confluence.Templates.AuiStaging.flag.soyTemplateName = 'Confluence.Templates.AuiStaging.flag'; 15279} 15280 15281}catch(e){WRMCB(e)}; 15282; 15283try { 15284/* module-key = 'confluence.aui.staging:confluence-flags', location = 'flag/confluence-flag.js' */ 15285define("confluence/flag",["ajs","jquery"],function(f,c){function h(a){var b=c(k);b.on("click",function(){g(a)});b.on("keypress",function(b){if(b.which===f.keyCode.ENTER||b.which===f.keyCode.SPACE)g(a),b.preventDefault()});return a.find(".aui-message").append(b)[0]}function g(a){var b=a.get(0);b.removeAttribute("open");b.setAttribute("aria-hidden","true");a=a.parent();i(a);b.dispatchEvent(new CustomEvent("aui-flag-close",{bubbles:!0}));return b}function i(a){a.hasClass("aui-flag-stack")&&a.children('.aui-flag:not([aria-hidden="true"])').length&& 15286(a.children(".aui-flag-stack-top-item").removeClass("aui-flag-stack-top-item"),a.children('.aui-flag:not([aria-hidden="true"])').last().addClass("aui-flag-stack-top-item"))}var l={body:"",close:"manual",title:"",type:"info",fifo:!1},j="";try{j="Close"}catch(m){}var k='<button type="button" class="aui-close-button" aria-label="'+j+'">';return function(a){var a=c.extend({},l,a),b,d=Confluence.Templates.AuiStaging.flag({title:a.title,body:a.body,type:a.type,closeable:"never"!== 15287a.close,extraClasses:a.extraClasses});b=c(d);b[0].close=function(){g(b)};"auto"===a.close?(h(b),b.find(".aui-message").addClass("aui-will-close"),setTimeout(function(){b[0].close()},5E3)):"manual"===a.close&&h(b);c("#aui-flag-container").find(".aui-flag").get().forEach(function(a){a.getAttribute("aria-hidden")==="true"&&c(a).remove()});d=c("#aui-flag-container");d.length||(d=c('<div id="aui-flag-container"></div>'),c("body").prepend(d));if(a.stack){var e=c('[data-aui-flag-stack="'+a.stack+'"]');e.length|| 15288(e=c('<div data-aui-flag-stack="'+a.stack+'" class="aui-flag-stack"></div>'),e.appendTo(d));e.find('[aria-hidden="false"]').length||e.detach().appendTo(d);a.fifo?b.appendTo(e):b.prependTo(e);i(e)}else b.appendTo(d);a=b;a=a.length?a[0]:a;window.getComputedStyle(a,null).getPropertyValue("left");a=b.attr("open","").attr("aria-hidden","false")[0];a.dispatchEvent(new CustomEvent("aui-flag-show",{bubbles:!0}));return a}}); 15289}catch(e){WRMCB(e)}; 15290; 15291try { 15292/* module-key = 'confluence.aui.staging:confluence-flags', location = 'flag/confluence-flag-scroll.js' */ 15293define("confluence/flag-scroll",["jquery","ajs","confluence/meta","document"],function(c,j,k,l){function f(){var a=c("#"+g);if(a.find('.aui-flag[aria-hidden="false"]').length){var b;b=0;h?b=c("#header").height()+d:(b=e.scrollTop(),b=b<=i-d?i-Math.max(b,0):d);a.css("top",b)}}var d=20,i=71,g="aui-flag-container",h=!1,e;return function(a){e=(h=a("body").hasClass("theme-documentation"))?a("#splitter-content"):a(window);e.on("scroll",f);l.addEventListener("aui-flag-show",f);j.bind("rte-ready",function(){"page"=== 15294k.get("content-type")&&a("#"+g).find('.aui-flag[aria-hidden="false"]').each(function(){this.close()})})}});require("confluence/module-exporter").safeRequire("confluence/flag-scroll",function(c){require("ajs").toInit(c)}); 15295}catch(e){WRMCB(e)}; 15296; 15297try { 15298/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/highlighter.js' */ 15299define("confluence/highlighter",["ajs","underscore"],function(l,m){return function(c,g){if(c&&c.length&&c[0]){for(var h=[],e=0,n=c.length;e<n;e++){var k=c[e];k&&h.push(k.replace(/[.*+?|()[\]{}\\]/g,"\\$"))}var d=new RegExp("("+h.join("|")+")","gi");var f=g?g.replace(/{highlight}/g,"$1"):"\x3cstrong\x3e$1\x3c/strong\x3e"}return{highlight:function(a,b){if(!a)return a;b||(a=l.escapeHtml(a));return d?a.replace(d,f):a}
15299,safeHighlight:function(a){if(!a)return a;if(d&&f){var b=f.split("$1"),p=b[0];b=b[1]; 15300a=a.replace(d,"@@@hl@@@$1@@@endhl@@@")}return m.escape(a).replace(/@@@hl@@@/gi,p).replace(/@@@endhl@@@/gi,b)}}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/highlighter","Confluence.Highlighter"); 15301}catch(e){WRMCB(e)}; 15302; 15303try { 15304/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/position.js' */ 15305define("confluence/position",["jquery"],function(e){return{spaceAboveBelow:function(a,c){var d=c.offset().top||0;c=c.outerHeight(!0);if("IFRAME"===a.nodeName){var b=a.contentWindow||a.contentDocument;a=e(a).height();b=e(b.document||b);d-=b.scrollTop()}else b=e(a),a=b.height(),d-=b.position().top;return{above:Math.round(d),below:Math.round(a-d-c)}}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/position","AJS.Position"); 15306}catch(e){WRMCB(e)}; 15307; 15308try { 15309/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/object-cache.js' */ 15310define("confluence/object-cache",[],function(){var c=function(b){if(!(this instanceof c))return new c(b);this.cache={};this.cacheStack=[];this.cacheSize=b||30};c.prototype.get=function(b){var a=this.cache[b];if(a){var d=this.cacheStack[this.cacheStack.length-1][0]+1;a.weight=d;this.cacheStack.push([d,b]);return a.value}};c.prototype.put=function(b,a){var d=this.cacheStack.length?this.cacheStack[this.cacheStack.length-1][0]+1:0;this.cache[b]={weight:d,value:a};for(this.cacheStack.push([d,b]);this.cacheStack.length> 15311this.cacheSize;)a=this.cacheStack.shift(),b=a[0],a=a[1],b===this.cache[a].weight&&delete this.cache[a]};c.prototype.clear=function(){this.cache={};this.cacheStack=[]};return c});require("confluence/module-exporter").exportModuleAsGlobal("confluence/object-cache","AJS.Confluence.cacheManager"); 15312}catch(e){WRMCB(e)}; 15313; 15314try { 15315/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/localstorage-cache.js' */ 15316define("confluence/localstorage-cache",["confluence/object-cache","jquery","window"],function(h,k,b){var g=function(a,c){this.cache={};this.cacheStack=[];this.cacheSize=c||30;if(b.localStorage&&!("string"!==typeof a&&0<a.length)){a="Confluence."+a;var d=a+".cache",e=a+".cacheStack";a=b.localStorage.getItem(d);c=b.localStorage.getItem(e);var f=this;if(a&&c)try{this.cache=JSON.parse(a),this.cacheStack=JSON.parse(c)}catch(l){this.cache={},this.cacheStack={}}k(b).on("unload",function(){b.localStorage.setItem(d, 15317JSON.stringify(f.cache));b.localStorage.setItem(e,JSON.stringify(f.cacheStack))})}};g.prototype=new h;return g});require("confluence/module-exporter").exportModuleAsGlobal("confluence/localstorage-cache","AJS.Confluence.localStorageCacheManager"); 15318}catch(e){WRMCB(e)}; 15319; 15320try { 15321/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/confluence-storage-manager.js' */ 15322define("confluence/confluence-storage-manager",["ajs"],function(a){return function(b){return a.storageManager("confluence",b)}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/confluence-storage-manager","Confluence.storageManager"); 15323}catch(e){WRMCB(e)}; 15324; 15325try { 15326/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/input-driven-dropdown.js' */ 15327define("confluence/input-driven-dropdown","ajs jquery confluence/highlighter confluence/legacy window document confluence/dropdown".split(" "),function(m,f,y,G,r,v,z){function A(a){if(a=a.dd)a.hide(),a.$.remove()}function n(a,c){this._effect="appear";this._timer=null;this.id=a;this.options=c;this.busy=this.inactive=!1;this.cacheManager=m.Confluence.cacheManager();B(this.options,this)}var C=function(a){var c=a.$.closest(".aui-dd-parent").width();c||(a.$.width("25em"),c=a.$.width());f("a span:not(.icon)", 15328a.$).each(function(){var b=f(this),d=f("\x3cvar\x3e\x26#8230;\x3c/var\x3e"),k=d.width(),e=!1;b.wrapInner(f("\x3cem\x3e\x3c/em\x3e"));f("em",b).each(function(){var g=f(this);g.show();if(this.offsetLeft+this.offsetWidth+k>c-20){for(var h=this.childNodes,p=!1,l=h.length-1;0<=l;l--){var t=h[l],u=1,w=3===t.nodeType?"nodeValue":"innerHTML",q=t[w];do if(u<=q.length)t[w]=q.substr(0,q.length-u++);else break;while(this.offsetLeft+this.offsetWidth+k>c-20);if(u<=q.length){p=!0;break}}p?e=!0:g.hide()}});e&&(b.append(d), 15329this.elpss=d)})},D=function(a){f("a span:not(.icon)",a.$).each(function(){var c=f(this);try{var b=c.data("properties");var d=b?b.spaceName:null}catch(k){m.logError("Problem getting space name: "+k.message)}b=c.text();d&&(b+=" ("+f("\x3ci\x3e\x3c/i\x3e").html(d).text()+")");c.attr("title",b)})};const E=(a,c,b)=>{if(!c.$inputEl)return b();const d=c.$inputEl.attr("id"),k=`${d}-listbox`;a.matrix=a.matrix||[];const e=a.matrix.slice(1).reduce((g,h,p)=>{g.push((g[g.length-1]||0)+a.matrix[p].length);return g}, 15330[]);a.matrix=[a.matrix.flat()];b=b();c.$inputEl.attr("aria-controls",k).attr("aria-expanded","true");b.$.find("ol").attr("id",k).attr("role","listbox");b.$.find("li").each(function(g){const h=`${d}-item-${g}`;f(this).attr("id",h).attr("role","option");f(this).find("a").attr("tabindex","-1");e.length&&e.includes(g)&&f(this).attr("class","dropdown-divider");({type:g}=f(this).data("properties")&&f(this).data("properties").restObj||{});g&&f(this).append(f(`<span id="${h}-type" class="assistive">, ${g}</span>`))}); 15331return b},B=(a,c)=>{if(a.$inputEl){var b=a.$inputEl.attr("id");if(!b){b="input-dropdown1-autocomplete";
15331const e=v.querySelectorAll(`input[id*="${b}"]`);e.length&&(b+=`-${e.length}`);a.$inputEl.attr("id",b)}a.$inputEl.attr("role","combobox").attr("aria-autocomplete","list").attr("aria-expanded","false").attr("aria-activedescendant","");a.$inputEl.on("keydown",e=>{"Tab"===e.key&&c.dd&&c.dd.hide()});a.ajsDropDownOptions=a.ajsDropDownOptions||{};var {hideHandler:d,moveHandler:k}=a.ajsDropDownOptions;a.ajsDropDownOptions.hideHandler= 15332function(...e){a.$inputEl.attr("aria-expanded","false").attr("aria-activedescendant","");"function"===typeof d&&d(...e)};a.ajsDropDownOptions.moveHandler=function(...e){const [g]=e;a.$inputEl.attr("aria-activedescendant",g.attr("id"));"function"===typeof k&&k(...e)}}};var x=function(a,c){var b=a.options;b.ajsDropDownOptions=b.ajsDropDownOptions||{};var d=(b.ajsDropDownOptions.Highlighter||y)(c.queryTokens||[c.query]);b.ajsDropDownOptions.alignment||(b.ajsDropDownOptions.alignment="left");b.ajsDropDownOptions.selectionHandler= 15333b.ajsDropDownOptions.selectionHandler||F;A(a);const k=c.matrix;var e=a.dd=E(c,b,()=>z(c.matrix,b.ajsDropDownOptions)[0]);b.ajsDropDownOptions.className&&e.$.addClass(b.ajsDropDownOptions.className);e.$.find("li a:not(.dropdown-prevent-highlight) span").each(function(){var h=f(this);h.html(d.safeHighlight(h.text(),h.data().properties))});if(e.$.hasClass("fabric")){var g=e.$.find(".insert-mentions-dropdown-option");g.length===k[1].length&&k[1].forEach(function(h,p){var l=d.safeHighlight(h.username, 15334h);l&&(h.lozenge&&(l+=" \x26middot; "+h.lozenge),h=f("\x3cspan\x3e\x3c/span\x3e").addClass("dropdown-lozenge").html(l),g.eq(p).append(h))})}b.dropdownPlacement?b.dropdownPlacement(e.$):(m.log("No dropdownPlacement function specified. Appending dropdown to the body."),f("body").append(e.$));C(e);D(e);b.dropdownPostprocess&&b.dropdownPostprocess(e.$);e.show(a._effect);"function"===typeof b.onShow&&b.onShow.call(e,e.$);return e},F=function(a,c){if("click"!=a.type){c=f("a",c).first();var b=c.attr("href"); 15335"keydown"===a.type&&(a.metaKey||a.ctrlKey)&&13===a.which?(c=r.open(b,"_blank"),c.opener=null):(c.click(),v.location=b);a.preventDefault()}};n.prototype.clearCache=function(){this.cacheManager.clear()};n.prototype.change=function(a,c,b){var d=this;if(a!=d._value){d._value=a;d.busy=!1;r.clearTimeout(d._timer);var k=new RegExp("\\S{"+(d.options.minLengthForGetData||2)+",}");if(c||k.test(a))if(c=d.cacheManager.get(a))x(d,c);else{d.busy=!0;var e=function(){d.options.getDataAndRunCallback.call(d,a,function(){d.show.apply(this, 15336arguments);b&&b(a)})};0===d.options.dropDownDelay?e():d._timer=r.setTimeout(function(){e()},d.options.dropDownDelay||200)}else d.dd&&d.dd.hide(),b&&b(a)}};n.prototype.hide=function(){this.dd&&this.dd.hide()};n.prototype.remove=function(){var a=this.dd;a&&(this.hide(),a.$.remove());this.inactive=!0;this.options.onDeath&&this.options.onDeath()};n.prototype.show=function(a,c,b){this.inactive?m.log("Quick search abandoned before server response received, ignoring. "+this):(a={matrix:a,query:c,queryTokens:b}, 15337this.cacheManager.put(c,a),x(this,a),this.busy=!1)};return n});require("confluence/module-exporter").safeRequire("confluence/input-driven-dropdown",function(m){require("confluence/module-exporter").namespace("AJS.inputDrivenDropdown",function(f){return new m("inputdriven-dropdown",f)})}); 15338}catch(e){WRMCB(e)}; 15339; 15340try { 15341/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/quicksearchdropdown.js' */ 15342define("confluence/quicksearchdropdown","jquery ajs window document confluence/input-driven-dropdown confluence/meta".split(" "),function(f,p,q,r,x,y){return function(l,t,b){t&&(b.onShow=t);b.makeParams=b.makeParams||function(a){return{query:a}};var u=function(a){a.statusMessage?a=[[{html:a.statusMessage,className:"error"}]]:b.makeRestMatrixFromData?(a=b.makeRestMatrixFromData(a),a=p.REST.convertFromRest(a)):a=a.contentNameMatches;b.addDropdownData&&(a=b.addDropdownData(a));return a};if("function"=== 15343typeof l){var v=l();var w=function(a){var d=l();d!=v&&(v=d,a.clearCache());return d}}else w=function(){return l};b.getDataAndRunCallback=b.getDataAndRunCallback||function(a,d){var g=this,k=w(g,a);if(void 0==b.includeUrlPrefix||b.includeUrlPrefix)k=(p.Meta.get("context-path")||"")+k;var m=f.data(g,"lastRequest");m&&m.abort();m=f.ajax({type:"GET",dataType:"json",url:k,xhrFields:{withCredentials:!0},data:b.makeParams(a),success:function(e,h){f(q).trigger("quicksearch.ajax-success",{url:k,json:e,resultStatus:h}); 15344r.activeElement==c[0]&&(h=u(e),e.results&&0<e.results.length?d.call(g,h,a,e.queryTokens):d.call(g,h))},global:!1,timeout:parseInt(y.get("quicksearch-request-timeout"))||5E3,error:function(e,h,z){f(q).trigger("quicksearch.ajax-error",{url:k,xmlHttpRequest:e,resultStatus:h,errorThrown:z});r.activeElement==c[0]&&"timeout"==h&&(e=u({statusMessage:"Timeout",query:a}),d.call(g,e,null))},complete:function(){f.removeData(g,"lastRequest");c.trigger("quick-search-loading-stop")}});f.data(g,"lastRequest",m); 15345c.trigger("quick-search-loading-start")};var c=f(this);b.$inputEl=c;var n=new x("inputdriven-dropdown",b);c.keyup(function(a){13!==a.which&&9!==a.which&&!c.hasClass("placeholded")&&n.change(this.value,!1,function(d){c.attr("data-last-search",d)})});c.quickSearchControl=n;c.bind("clearCache.autocomplete",function(){n.clearCache()});c.bind("hide.autocomplete",function(){n.hide()});return c}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/quicksearchdropdown","AJS.$.fn.quicksearch"); 15346}catch(e){WRMCB(e)}; 15347; 15348try { 15349/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/placeholder.js' */ 15350define("confluence/placeholder",["jquery","document"],function(b,e){return function(d){d=d||e.body;var k=["autocomplete-multiuser","select2-input"];"placeholder"in e.createElement("input")||b('textarea[placeholder][data-placeholder-bound!\x3d"true"],input[placeholder][data-placeholder-bound!\x3d"true"],input.default-text[data-placeholder-bound!\x3d"true"]',d).each(function(){for(var a=b(this).attr("data-placeholder-bound","true"),c=0,f=k.length;c<f;++c)if(a.hasClass(k[c]))return;a.bind("reset.placeholder", 15351function(g,h){h.element.closest("form").bind("submit",function(){h.element.hasClass("placeholded")&&h.element.val("")}
15351)});c=function(){if(!b.trim(a.val()).length){var g=a.attr("placeholder")||a.attr("data-default-text");a.val(g).addClass("placeholded").trigger("reset.placeholder",{element:a,defaultText:g});a.trigger("reset.default-text")}};f=function(){a.hasClass("placeholded")&&(a.val(""),a.removeClass("placeholded"))};c();a.blur(c).focus(f).mousedown(f)})}}); 15352require("confluence/module-exporter").safeRequire("confluence/placeholder",function(b){var e=require("ajs"),d=require("confluence/legacy");e.Confluence.Binder.placeholder=b;d.Binder.inputDefaultText=b}); 15353}catch(e){WRMCB(e)}; 15354; 15355try { 15356/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/components/binders/autocomplete-user.js' */ 15357define("confluence/autocomplete-user",["jquery","ajs","document"],function(d,h,r){return function(l){l=l||r.body;var t=function(k){if(!k||!k.result)throw Error("Invalid JSON format");d.each(k.result,function(a,e){e.key=e.username||e.name;"group"===e.type&&(e.title=e.name,e.link=[],e.thumbnailLink={href:h.contextPath()+"/images/icons/avatar_group_48.png"})});var f=[];f.push(k.result);return f};d.each(["user","group","user-or-group"],function(k,f){d("input.autocomplete-"+f+'[data-autocomplete-user-or-group-bound!\x3d"true"]', 15358l).each(function(){var a=d(this).attr("data-autocomplete-user-or-group-bound","true").attr("autocomplete","off"),e=a.attr("data-max")||10,u=a.attr("data-alignment")||"left",m=a.attr("data-dropdown-target"),g=null,n=a.attr("data-target"),v=a.attr("data-show-unlicensed"),p=n&&d(n),w=d(".follow-user-box");m?g=d(m):(g=d("\x3cdiv\x3e\x3c/div\x3e"),a.after(g));a.attr("data-resize-to-input")&&(g.width(a.outerWidth()),g.addClass("resize-to-input"));g.addClass("aui-dd-parent autocomplete");a.quicksearch(h.REST.getBaseUrl()+ 15359"search/"+f+".json",function(){a.trigger("open.autocomplete-user-or-group");"user"===f&&a.trigger("open.autocomplete-user")},{makeParams:function(b){return{"max-results":e,query:b,"show-unlicensed":v}},dropdownPlacement:function(b){g.append(b);b=w.parent().find(".autocomplete .aui-dropdown ol");b.attr("role","listbox");b.find("li").attr("role","none");b.find("li img").attr("alt","");b.find("li a").attr("role","option")},makeRestMatrixFromData:t,addDropdownData:function(b){if(!b.length){var c=a.attr("data-none-message"); 15360c&&b.push([{name:c,className:"no-results",href:"#"}])}return b},ajsDropDownOptions:{alignment:u,displayHandler:function(b){return b.restObj&&b.restObj.username?b.name+" ("+h.escapeHtml(b.restObj.username)+")":b.name},selectionHandler:function(b,c){if(c.find(".search-for").length)a.trigger("selected.autocomplete-user-or-group",{searchFor:a.val()}),"user"===f&&a.trigger("selected.autocomplete-user",{searchFor:a.val()});else{if(!c.find(".no-results").length){c=d("span:eq(0)",c).data("properties");if(p){var q= 15361c.restObj.title;c.restObj.username&&(q+=" ("+c.restObj.username+")");a.val(q);p.val(c.restObj.key)}else a.val(c.restObj.key);a.trigger("selected.autocomplete-user-or-group",{content:c.restObj});"user"===f&&a.trigger("selected.autocomplete-user",{content:c.restObj})}this.hide();b.preventDefault()}}}})})})}});require("confluence/module-exporter").safeRequire("confluence/autocomplete-user",function(d){var h=require("confluence/legacy");h.Binder.autocompleteUserOrGroup=d;h.Binder.autocompleteUser=function(){}}); 15362}catch(e){WRMCB(e)}; 15363; 15364try { 15365/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/autocomplete-content.js' */ 15366define("confluence/autocomplete-content",["jquery","document","ajs","confluence-rest/confluence-rest"],function(d,e,k,z){var A=function(a){if(!a||!a.group)throw Error("Invalid JSON format");for(var b=[],g=0,q=a.group.length;g<q;g++)b.push(a.group[g].result);return b},l=function(a,b,g,q){var c=d(a);if(!c.attr("data-autocomplete-content-bound")){"string"===typeof b&&(b=[b]);c.attr("data-autocomplete-content-bound","true").attr("autocomplete","off");var B=b.join(","),u=c.attr("data-max")||10;a=c.attr("data-alignment")|| 15367"left";var r=c.attr("data-spacekey"),v=c.attr("data-none-message"),w=c.attr("data-search-link-message"),C=c.attr("data-value-key")||g,x=c.attr("data-target"),y=c.attr("data-dropdown-target"),m=null;y?m=d(y):(m=d("\x3cdiv\x3e\x3c/div\x3e"),c.after(m));m.addClass("aui-dd-parent autocomplete");c.focus(function(){r=c.attr("data-spacekey")});c.quicksearch(k.REST.getBaseUrl()+"search/name.json",null,{onShow:function(){c.trigger("open.autocomplete-content",{contentTypes:b})},makeParams:function(f){f={"max-results":u, 15368pageSize:u,type:B,query:f};r&&(f.spaceKey=r);return f},dropdownPlacement:function(f){m.append(f)},makeRestMatrixFromData:A,addDropdownData:function(f){f.length||v&&f.pu
15368sh([{name:v,className:"no-results aui-icon aui-icon-small aui-iconfont-warning",href:"#"}]);if(w){var h=k.escapeHtml(c.val());h=k.format(w,h);f.push([{className:"search-for",name:h,href:"#"}])}return f},ajsDropDownOptions:{alignment:a,displayHandler:q,selectionHandler:function(f,h){k.debug("autocomplete-content: ajsDropDownOptions.selectionHandler"); 15369if(h.find(".search-for").length)c.trigger("selected.autocomplete-content",{contentTypes:b,searchFor:c.val()});else{if(h.find(".no-results").length)k.debug("no results selected");else{var t=h.data("properties");c.val(t.restObj[C]);if(x){var D=t.restObj[g];d(x).val(D)}c.trigger("selected.autocomplete-content",{contentTypes:b,content:t.restObj,selection:h})}this.hide();f.preventDefault()}}}})}},n={autocompleteSpace:function(a){a=a||e.body;d("input.autocomplete-space",a).each(function(){l(this,["spacedesc", 15370"personalspacedesc"],"name",function(b){return b.name})})},autocompleteAttachment:function(a){a=a||e.body;d("input.autocomplete-attachment",a).each(function(){l(this,"attachment","fileName",function(b){var g=b.restObj&&b.restObj.fileName||b.name;b.restObj&&b.restObj.space&&b.restObj.space.title&&(g+=" ("+b.restObj.space.title+")");return z.safeHTML(g)})})}},p=function(a){return a.restObj&&a.restObj.title&&k.escapeHtml(a.restObj.title)||a.name};n.autocompletePage=function(a){a=a||e.body;d("input.autocomplete-page", 15371a).each(function(){l(this,"page","title",p)})};n.autocompleteBlogpost=function(a){a=a||e.body;d("input.autocomplete-blogpost",a).each(function(){l(this,"blogpost","title",p)})};n.autocompleteConfluenceContent=function(a){a=a||e.body;d("input.autocomplete-confluence-content",a).each(function(){l(this,["page","blogpost"],"title",p)})};n.autocompleteSearch=function(a){a=a||e.body;d("input.autocomplete-search",a).each(function(){l(this,[],"title",p)})};return n}); 15372require("confluence/module-exporter").safeRequire("confluence/autocomplete-content",function(d){var e=require("confluence/legacy");e.Binder.autocompleteSpace=d.autocompleteSpace;e.Binder.autocompleteAttachment=d.autocompleteAttachment;e.Binder.autocompletePage=d.autocompletePage;e.Binder.autocompleteBlogpost=d.autocompleteBlogpost;e.Binder.autocompleteConfluenceContent=d.autocompleteConfluenceContent;e.Binder.autocompleteSearch=d.autocompleteSearch}); 15373}catch(e){WRMCB(e)}; 15374; 15375try { 15376/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/attachment-uploader.js' */ 15377define("confluence/attachment-uploader",["ajs","jquery","confluence/aui-overrides"],function(d,g,k){var l=function(e,h){var a;return g.extend({getForm:function(){return g("form",e.baseElement)},getUploadingMessageElement:function(){return g(".upload-in-progress",e.baseElement)},pack:function(){},displayErrors:function(b){a.displayMessages(b);this.pack()},clearErrors:function(){a.clearMessages();this.pack()},setUploadInProgress:function(b,f){var c=this.getUploadingMessageElement();b&&c.html(f||this.getDefaultUploadingMessage()); 15378k.setVisible(c,b);k.setVisible(this.getForm(),!b)},onUploadSuccess:function(){},getMessageHandler:function(){a||=d.MessageHandler({baseElement:g(".warning",e.baseElement)});return a},getDefaultErrorMessage:function(){return "Could not upload the file to Confluence. The server may be unavailable."},getDefaultUploadingMessage:function(){return "File uploading..."},getContentId:function(){return d.Meta.get("attachment-source-content-id")}},h&&h(e))};return function(e,h){var a=l(e,h);var b=a.getMessageHandler(); 15379var f=a.getForm();d.Meta.getBoolean("can-attach-files")?(f.ajaxForm({dataType:"json",timeout:36E5,data:{contentId:a.getContentId(),responseFormat:"html"},resetForm:!0,beforeSubmit:function(){a.setUploadInProgress(!0);b.clearMessages()},success:function(c){a.setUploadInProgress(!1);if(!b.handleResponseErrors(c,a.getDefaultErrorMessage()))a.onUploadSuccess(c.attachmentsAdded||[])},error:function(c){a.setUploadInProgress(!1);b.displayMessages(a.getDefaultErrorMessage());d.logError("Response from server was: "+ 15380c.responseText)}}),f.find("input:file").change(function(){f.submit()})):f.remove();return a}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/attachment-uploader","Confluence.AttachmentUploader"); 15381}catch(e){WRMCB(e)}; 15382; 15383try { 15384/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/message-controller.js' */
15385define("confluence/message-controller",["ajs","jquery","confluence/flag","confluence/api/event","confluence/api/logger"],function(f,d,w,k,e){function l(a){return d("#messageContainer").find("#confluence-message-"+a)}function p(){var a=d("#messageContainer");0===a.length&&(a=d('\x3cul id\x3d"messageContainer"\x3e\x3c/ul\x3e'),d("#full-height-container").prepend(a));return a}function m(){var a=p(),b=l("warning-banner");b.slideUp("normal",function(){b.remove();k.trigger("confluence.header-resized")}); 15386return a}function t(){var a=p(),b=l("success-banner");b.slideUp("normal",function(){b.remove();k.trigger("confluence.header-resized")});return a}function q(a){var b={};"string"===typeof a?b.body=a:(b.title=a.title,b.body=a.body);return b}function r(){var a;for(a=0;a<g.length;a++)g[a].close();g=[]}function u(a){a=d.extend({},x,q(a));r();g.push(new w(a))}function v(a,b){a=d.extend({id:b,closeable:!1},q(a));d('\x3cli id\x3d"'+b+'"\x3e\x3c/li\x3e').appendTo("#messageContainer");f.messages.warning("#"+ 15387b,a);k.trigger("confluence.header-resized")}var g=[],n=function(a){this.name=a},c={FLAG:new n("flag"),BANNER:new n("banner"),ALL:new n("all"),ANY:new n("any")},x={type:"error",close:"manual",fifo:!1};return{parseError:function(a,b){try{var h=JSON.parse(a.responseText).reason}catch(y){e.debug("No error-specific reason was provided. Using fallback messages...")}switch(a.status){case 403:a="You are not permitted to perform this operation.";break;case 405:a="undefined"!==typeof h&&"READ_ONLY"===h?"This site is read-only. You can\u0027t make changes right now.": 15388void 0!==b?b:"An unknown server error has occurred.";break;default:a=void 0!==b?b:"An unknown server error has occurred."}return a},showError:function(a,b){switch(b){case c.FLAG:u(a);break;case c.BANNER:m();v(a,"confluence-message-warning-banner");break;case c.ALL:u(a);m();v(a,"confluence-message-warning-banner");break;default:e.debug("Invalid location to display an error provided.")}},clearErrors:function(a){switch(a){case c.FLAG:r();break;case c.BANNER:m();break;case c.ALL:r();m();break;default:e.error("Invalid location to clear errors.")}}, 15389hasErrors:function(a){var b=l("warning-banner");switch(a){case c.FLAG:return 0<g.length;case c.BANNER:return 0<b.length;case c.ANY:return 0<g.length||0<b.length;default:e.error("Invalid location to check if there are any errors in")}return!1},showSuccess:function(a,b,h){a=d.extend({closeable:h?h.closeable:!1},q(a));switch(b){case c.BANNER:p();t();d('\x3cli id\x3d"confluence-message-success-banner"\x3e\x3c/li\x3e').appendTo("#messageContainer");f.messages.success("#confluence-message-success-banner", 15390a);k.trigger("confluence.header-resized");break;default:e.error("Invalid location to show success")}},clearSuccess:function(a){switch(a){case c.BANNER:case c.ALL:t();break;default:e.error("Invalid location to clear success")}},hasSuccess:function(a){var b=l("success-banner");switch(a){case c.BANNER:case c.ANY:return 0<b.length;default:e.error("Invalid location to check the success flag/banner.")}return!1},Location:c}}); 15391}catch(e){WRMCB(e)}; 15392; 15393try { 15394/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/favourites.js' */ 15395define("confluence/favourites",["jquery","ajs","confluence/message-controller"],function(e,c,k){var m=[],r=function(a,d,b){var f=b.hasClass("aui-iconfont-star-filled"),h=b.parent().find(".icon-wait");if("page"===d){var g=c.contextPath()+"/json/"+(f?"removefavourite.action":"addfavourite.action");var l={entityId:a}}else"space"===d?(g=c.contextPath()+"/json/"+(f?"removespacefromfavourites.action":"addspacetofavourites.action"),l={key:a}):console.error("Unsupported type: "+d);b.addClass("hidden");h.removeClass("hidden"); 15396c.safe.ajax({url:g,type:"POST",data:l}).done(function(n){c.debug(n);b.parent().find(f?".aui-iconfont-new-star":".aui-iconfont-star-filled").removeClass("hidden");c.trigger(f?"remove-fav-complete":"add-fav-complete")}).fail(function(n,q){k.showError(k.parseError(n),k.Location.FLAG);c.debug("Error Toggling Favourite: "+q);b.removeClass("hidden")}).always(function(){h.addClass("hidden");delete m[a]})},p=function(a,d){a.attr("data-favourites-bound")||(a.delegate(".aui-iconfont-new-star, .aui-iconfont-star-filled", 15397"click",function(b){b=e(b.target);var f=a.attr("data-entity-type"),h=a.attr("data-entity-scope");var g=d&&d.getEntityId&&"function"===typeof d.getEntityId?d.getEntityId(b):a.attr("data-entity-id");if(m[g])c.log("Already busy toggling favourite for "+f+" '"+g+"'. Ignoring request.");else{if(h){var l=b.hasClass("aui-iconfont-star-filled")?"unfavourite":"favourite";h=["confluence",h,f,l,"click"].join(".");c.trigger("analytics",{name:h,data:{id:g}})}m[g]=!0;r(g,f,b);return!1}}),a.attr("data-favourites-bound", 15398!0))};return{binder:function(){e(".entity-favourites").each(function(){e(this).attr("data-favourites-bound")||p(e(this),{})})},plugin:function(a){e(this).each(function(){var d=e(this);p(d,a)})}}});require("confluence/module-exporter").safeRequire("confluence/favourites",function(e){var c=require("ajs"),k=require("jquery");c.Confluence.Binder.favourites=e.binder;k.fn.favourites=e.plugin}); 15399}catch(e){WRMCB(e)}; 15400; 15401try { 15402/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/watches.js' */
15403define("confluence/watches",["ajs","jquery"],function(c,f){var h=[],q=function(a){return a.hasClass("icon-stop-watching")||a.hasClass("link-stop-watching")},t=function(a,d,b){var e=q(b),g=b.hasClass("icon-stop-watching"),k=b.parent().find(".icon-wait");if("page"==d){var l=c.contextPath()+"/users/"+(e?"removepagenotificationajax.action":"addpagenotificationajax.action");var m={pageId:a}}"space"==d&&(l=c.contextPath()+"/users/"+(e?"removespacenotificationajax.action":"addspacenotificationajax.action"), 15404m={spaceKey:a});b.addClass("hidden");k.removeClass("hidden");c.safe.ajax({url:l,type:"POST",data:m,success:function(n){c.log(n);k.addClass("hidden");g?b.parent().find(e?".icon-start-watching":".icon-stop-watching").removeClass("hidden"):b.parent().find(e?".link-start-watching":".link-stop-watching").removeClass("hidden");delete h[a]},error:function(n,r,u){k.addClass("hidden");g?b.parent().find(e?".icon-start-watching":".icon-stop-watching").removeClass("hidden"):b.parent().find(e?".link-start-watching": 15405".link-stop-watching").removeClass("hidden");c.log("Error Toggling Watching: "+r);delete h[a]}})},p=function(a,d){a.attr("data-watching-bound")||(a.delegate(".icon-start-watching, .icon-stop-watching, .link-start-watching, .link-stop-watching","click",function(b){b=f(b.target);var e=a.attr("data-entity-type");var g=d&&d.getEntityId&&"function"===typeof d.getEntityId?d.getEntityId(b):a.attr("data-entity-id");if(h[g])c.log("Already busy toggling favourite for "+e+" '"+g+"'. Ignoring request.");else return h[g]= 15406!0,t(g,e,b),!1}),a.attr("data-watching-bound",!0))};return{binder:function(){f(".entity-watching").each(function(){f(this).attr("data-watching-bound")||p(f(this),{})})},plugin:function(a){f(this).each(function(){var d=f(this);p(d,a)})}}});require("confluence/module-exporter").safeRequire("confluence/watches",function(c){var f=require("ajs"),h=require("jquery");f.Confluence.Binder.watching=c.binder;h.fn.watching=c.plugin}); 15407}catch(e){WRMCB(e)}; 15408; 15409try { 15410/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/soy/dialog.soy' */ 15411// This file was automatically generated from dialog.soy. 15412// Please don't edit this file by hand. 15413 15414/** 15415 * @fileoverview Templates in namespace Confluence.Templates.Dialog. 15416 */ 15417 15418if (typeof Confluence == 'undefined') { var Confluence = {}; } 15419if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15420if (typeof Confluence.Templates.Dialog == 'undefined') { Confluence.Templates.Dialog = {}; } 15421 15422 15423Confluence.Templates.Dialog.helpLink = function(opt_data, opt_ignored) { 15424 return '' + Confluence.Templates.Dialog.customHelpLink({href: opt_data.href, text: '' + soy.$$escapeHtml('Help')}); 15425}; 15426if (goog.DEBUG) { 15427 Confluence.Templates.Dialog.helpLink.soyTemplateName = 'Confluence.Templates.Dialog.helpLink'; 15428} 15429 15430 15431Confluence.Templates.Dialog.customHelpLink = function(opt_data, opt_ignored) { 15432 return '<div class="dialog-help-link"><a href="' + soy.$$escapeHtml(opt_data.href) + '" target="_blank">' + soy.$$escapeHtml(opt_data.text) + '</a></div>'; 15433}; 15434if (goog.DEBUG) { 15435 Confluence.Templates.Dialog.customHelpLink.soyTemplateName = 'Confluence.Templates.Dialog.customHelpLink'; 15436} 15437 15438}catch(e){WRMCB(e)}; 15439; 15440try { 15441/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_vendors-node_modules_window-or-global_lib_index_js', location = 'vendors-node_modules_window-or-global_lib_index_js.js' */ 15442"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["vendors-node_modules_window-or-global_lib_index_js"],{8983:function(e,n,o){e.exports="object"==typeof self&&self.self===self&&self||"object"==typeof o.g&&o.g.global===o.g&&o.g||this}}]); 15443}catch(e){WRMCB(e)}; 15444; 15445try { 15446/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_form-state-control', location = 'form-state-control.js' */ 15447"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["form-state-control"],{6273:(e,t,n)=>{var s=n(6772),o=n(8983),a=n.n(o);function l(e){let t=[];return e&&e.length?t=Array.from(e):e instanceof a().HTMLElement&&t.push(e),t}
15447function r(e){l(e).forEach(e=>{"A"===e.tagName.toUpperCase()&&(e.style["pointer-events"]="none"),e.disabled=!0,e.setAttribute("aria-disabled",!0),e.classList.add("disabled");const t=e.getAttribute("id"),n=e.parentNode;if(t&&"object"==typeof n){const e=n.querySelector(`label[for="${t}"]`);e&&e.classList.add("disabled")}})}function d(e){l(e).forEach(e=>{"A"===e.tagName.toUpperCase()&&(e.style["pointer-events"]=""),e.disabled=!1,e.setAttribute("aria-disabled",!1),e.classList.remove("disabled");const t=e.getAttribute("id"),n=e.parentNode;if(t&&"object"==typeof n){const e=n.querySelector(`label[for="${t}"]`);e&&e.classList.remove("disabled")}})}(0,s.A)("confluence/form-state-control",()=>({enableElement:d,disableElement:r}))}},e=>{e.O(0,["vendors-node_modules_window-or-global_lib_index_js","src_export-as-amd_ts"],()=>e(e.s=6273)),e.O()}]); 15448}catch(e){WRMCB(e)}; 15449; 15450try { 15451/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:property-panel-js', location = '/includes/js/property-panel.js' */ 15452define("confluence/property-panel","jquery ajs confluence/position window document confluence/form-state-control".split(" "),function(d,m,w,t,p,x){var y=function(a,b){var c=d('\x3cdiv class\x3d"property-panel-arrow"\x3e\x3c/div\x3e');b&&c.addClass("property-panel-bottom-arrow").css({top:a.outerHeight()});a.prepend(c);return c},z=function(a,b,c,f){c=c.outerHeight()+~~f;a=w.spaceAboveBelow(a[0],b);return a.below>=c?!1:a.above>=c},u=function(a,b){b=b||{};t.setTimeout(function(){var c=m.Rte.Content.offset(a.anchor), 15453f=a.panel.width(),h=f+c.left-d(t).width()+10,k=d(a.anchor).outerHeight();h=c.left-(0<h?h:0);k=a.shouldFlip?c.top-7-a.panel.outerHeight()-4:c.top+7+k;if(a.options.anchorIframe){var l=d(a.options.anchorIframe);l=l.offset().top+l.height()-a.panel.outerHeight()-10;k=Math.min(k,l)}a.panel.find(".property-panel-arrow").css({left:Math.min(Math.abs(c.left-h)+16,f-12)});h=Math.max(0,h);c={top:k,left:h,"z-index":2975};f=a.panel.add();b.animate?f.animate(c,b.animateDuration):f.css(c)},b.delay||0)},r={shouldCreate:!0, 15454current:null,getAnchor:function(){return d(this.current.anchor)},createFromButtonModel:function(a,b,c,f){for(var h=d("\x3cdiv\x3e\x3c/div\x3e").attr({class:"panel-buttons"}),k=0,l=c.length;k<l;k++)if(c[k]){var g=c[k],e=g.html||'\x3cspan class\x3d"icon '+(g.iconClass?g.iconClass:"")+' "\x3e\x3c/span\x3e',n=[];g.text&&(e+='\x3cspan class\x3d"panel-button-text"\x3e'+g.text+"\x3c/span\x3e");g.className&&n.push(g.className);g.disabled&&n.push("disabled");g.selected&&n.push("active");!c[k+1]&&n.push("last"); 15455!c[k-1]&&n.push("first");g.html?e=d(g.html):(e=d("\x3ca\x3e\x3c/a\x3e").attr({href:c[k].href||"#"}).addClass("aui-button").html(e),g.disabled?(e.attr("title",g.disabledText),x.disableElement(e),e.click(function(q){q.stopPropagation();return!1})):c[k].click&&function(q,v,A){v.click(function(B){q.click(v,A);B.stopPropagation();return!1})}(c[k],e,b));e.attr("tabindex","0");e.attr("role","button");g.ariaLabel&&e.attr("aria-label",g.ariaLabel);g.tooltip&&e.attr("data-tooltip",g.tooltip);e.addClass(n.join(" ")); 15456g.isFooter?(f.footer||(f.footer=d("\x3cdiv\x3e\x3c/div\x3e").attr({class:"panel-buttons panel-buttons-footer"})),f.footer.append(e)):h.append(e)}return this.create(a,b,h,f)},create:function(a,b,c,f){f=f||{};m.Rte.BookmarkManager.storeBookmark();var h=d("#property-panel"),k=void 0==f.enableFlip||f.enableFlip;h.length&&this.destroy();h=d('\x3cdiv role\x3d"dialog" tabindex\x3d"0"\x3e\x3c/div\x3e').addClass("aui-property-panel-parent").addClass(a+"-panel aui-box-shadow").attr("id","property-panel").appendTo("body"); 15457var l=d("\x3cdiv\x3e\x3c/div\x3e").addClass("aui-property-panel").append(c);f.footer&&l.append(f.footer);h.append(l).css({top:0,left:-1E4});l=k&&z(d(f.anchorIframe||d(b).parent()),d(b),h,10);var g=this;c.find(".last:last").css({"margin-right":0});c=y(h,l);this.current={anchor:b,panel:h,hasAnchorChanged:function(e){return e&&g.hasAnchorChanged(e)},snapToElement:function(e){u(this,e)},shouldFlip:l,tip:c,options:f,updating:!0,type:a};u(this.current);l=this.current;d(p).bind("keydown.property-panel.escape",
15458function(e){27===e.keyCode&&(r.destroy(),b.focus())});d(p).bind("click.property-panel",function(e){d(e.target).closest("#property-panel").length||r.destroy()});d("#wysiwygTextarea_ifr").contents().on("keydown",this.tabHandler);this.trapFocus();m.trigger("created.property-panel",this.current);this.current.updating=!1;return this.current},destroy:function(){this.current?this.current.updating?m.log("PropertyPanel.destroy: called while updating, returning"):(m.trigger("destroyed.property-panel",this.current), 15459d(p).unbind(".property-panel").unbind(".contextToolbar"),this.current.panel.remove(),this.current=null,d("#wysiwygTextarea_ifr").contents().off("keydown",this.tabHandler)):m.log("PropertyPanel.destroy: called with no current PropertyPanel, returning")},hasAnchorChanged:function(a){var b=this.current;return b&&d(b.anchor)[0]==d(a)[0]?b.options.originalHeight&&b.options.originalHeight!=d(a).height():!0},tabHandler:function(a){if("Tab"===a.key&&!a.shiftKey){var b=d(p).find(".aui-property-panel").parent().get(0); 15460d.contains(b,a.target)||b.focus()}},trapFocus:function(){var a=d(p).find(".aui-property-panel").find("a, button, input, textarea");a.last().on("keydown",function(b){"Tab"!==b.key||b.shiftKey||(b.preventDefault(),a.first().focus())});a.first().on("keydown",function(b){"Tab"===b.key&&b.shiftKey&&(b.preventDefault(),a.last().focus())})}};return r});require("confluence/module-exporter").exportModuleAsGlobal("confluence/property-panel","AJS.Confluence.PropertyPanel"); 15461}catch(e){WRMCB(e)}; 15462; 15463try { 15464/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_table-styles-view', location = 'table-styles-view.js' */ 15465"use strict";(globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend=globalThis.webpackChunk_atlassian_dc_product_confluence_frontend_plugins_confluence_frontend||[]).push([["table-styles-view"],{8990:()=>{}},n=>{n(n.s=8990)}]); 15466}catch(e){WRMCB(e)}; 15467; 15468try { 15469/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--3dfaea08cd', location = 'aui.chunk.1c4b3a8fcb0630c9--4af496c484fcdf04.js' */ 15470(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2436"],{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 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 u(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 v(){var e=[].slice.call(arguments).join("");return function(t){var n=s(t.childNodes);t.innerHTML=e,function(e){var t=e.getElementsByTagName("content");if(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&&v.wrap(t).appendChild(n)}}v.wrap=function(e){d(e,"content")||c(e,"content",function e(t){var n,r,o=t.childNodes,i=o.length,a=[];for(n=0;n<i;n++){var d=o[n];if(8===d.nodeType){var c=function(e){var t,n=e.textContent.match(/^ (\/?)content (.*)/i);if(n){if(n[2])try{t=JSON.parse(n[2])}catch(t){throw 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}
15470,type:n[1]?"close":"open"}}}(d);if(c){if("open"===c.type){if(r)throw Error('Cannot have an opening content placeholder after another content placeholder at the same level in the DOM tree: "'+d.textContent+'" in "'+d.parentNode.innerHTML+'".');r={container:d.parentNode,contentNode:d,defaultNodes:c.data.defaultContent&&l(c.data.defaultContent).childNodes||[],isDefault:c.data.isDefault,selector:c.data.selector,startNode:d}}else if("close"===c.type){if(!r)throw Error('Unmatched closing content placeholder: "'+d.textContent+'" in "'+d.parentNode.innerHTML+'".');r.endNode=d,a.push(r),r=void 0}}}else a=a.concat(e(d))}return a}(e));var t,n,r=(n=(t=d(e,"content")).length,{childNodes:{get:function(){for(var e=[],r=0;r<n;r++){var o=t[r];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 r=l(e),o=0;o<n;o++){for(var i=t[o],a=f(i.startNode,i.endNode),d=0;d<a.length;d++){var c=a[d];c.parentNode.removeChild(c)}for(var s=function(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)||[]}(r,i.selector),v=0;v<s.length;v++)i.container.insertBefore(s[v],i.endNode);s.length?u(i):h(i)}}},lastChild:{get:function(){for(var e=n-1;e>-1;e--)if(!t[e].isDefault){var r=this.childNodes,o=r.length;return r[o-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,t+="</"+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 r;this.innerHTML="";for(var o=0;o<n;o++){var i=t[o];if(!i.selector){r=i;break}}r&&(e?(u(r),r.container.insertBefore(document.createTextNode(e),r.endNode)):h(r))}},appendChild:{value:function(e){if(e instanceof o){var r=e.childNodes;return[].slice.call(r).forEach((function(e){this.appendChild(e)}).bind(this)),this}for(var i=0;i<n;i++){var d=t[i],c=d.selector;if(!c||e instanceof window.HTMLElement&&a.call(e,c)){u(d),d.endNode.parentNode.insertBefore(e,d.endNode);break}}return this}},insertAdjacentHTML:{value:function(t,n){return"afterbegin"===t?this.insertBefore(l(n),this.childNodes[0]):"beforeend"===t?this.appendChild(l(n)):e.insertAdjacentHTML(t,n),this}},insertBefore:{value:function(e,r){if(!r)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],r);return this}var l=!1;e:for(var s=0;s<n;s++)for(var h=t[s],u=f(h.startNode,h.endNode),v=u.length,p=0;p<v;p++){var N=u[p];if(N===r&&(l=!0),l){var T=h.selector;if(!T||a.call(e,T)){N.parentNode.insertBefore(e,N);break e}}}if(!l)throw 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 r=!1,o=0;o<n;o++){var i=t[o];if(i.container===e.parentNode){i.container.removeChild(e),r=!0;break}i.startNode.nextSibling===i.endNode&&h(i)}if(!r)throw 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,r){for(var o=0;o<n;o++){var i=t[o];if(i.container===r.parentNode){i.container.replaceChild(e,r);break}}return this}}}),i={};for(var s in e)s in r?Object.defineProperty(i,s,r[s]):Object.defineProperty(i,s,function(e,t){return{get:function(){var n=e[t];return"function"==typeof n?n.bind(e):n},set:function(n){e[t]=n}}}(e,s));return i},window.skateTemplateHtml=v,void 0===(r=(function(){return v}).call(t,n,t,e))||(e.exports=r),e.exports=v}()}}]); 15471}catch(e){WRMCB(e)}; 15472; 15473try { 15474/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.93d7cb91a3', location = 'aui.chunk.f8da03c5475834a0--6d2e44504e6b4384.js' */ 15475"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4478"],{4654(e,t,u){u.r(t),u.d(t,{default:()=>m});var i,a,n=u(5452),l=0;
15475function d(e){if(i=l+++"",a=e?e+i:"aui-uid-"+i,!document.getElementById(a)||(a=a+"-"+new Date().getTime(),!document.getElementById(a)))return a;throw Error('Timestamped fallback ID "'+a+'" exists.')}(0,n.default)("id",d);let m=d}}]); 15476}catch(e){WRMCB(e)}; 15477; 15478try { 15479/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.778837af2c', location = 'aui.chunk.171f6e015659f777--1035cfa8dad9ad4d.js' */ 15480"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9016"],{2271(e,t,i){i.r(t),i.d(t,{SectionEl:()=>z,ItemCheckboxEl:()=>U,DropdownEl:()=>F,ItemButtonEl:()=>H,ItemRadioEl:()=>j,ItemLinkEl:()=>R}),i(4719),i(538);var a=i(9908);i(7640);var n=i(3003),r=i(9002),d=i.n(r),u=i(4459),o=i(3349),s=i(9616),l=i(6615),c=i(6982),f=i(1218),h=i(1548),b=i(8582),g=i(2221),m=i(2094),p=i(8962),v=i(4645),w=i(4654);function A(e){return e.hasAttribute("hidden")||e.classList.contains("hidden")}function k(e,t){e.setAttribute("aria-expanded",!!t),e.classList[t?"add":"remove"]("active","aui-dropdown2-active")}var y="unloaded",E="loading",C="error";function T(e){(0,b.default)(e).set("loading-state",C),(0,b.default)(e).set("hasErrorBeenShown",e.isVisible()),e.innerHTML=` 15481 <div class="aui-message aui-message-error aui-dropdown-error"> 15482 <p>${"Error loading dropdown"}</p> 15483 </div> 15484 `}function L(e){e.src&&(0,b.default)(e).get("loading-state")!==E&&((0,b.default)(e).set("loading-state",E),(0,b.default)(e).set("hasErrorBeenShown",!1),(0,v.doIfTrigger)(e,function(e){e.setAttribute("aria-busy","true")}),e.innerHTML=` 15485 <div class="aui-dropdown-loading"> 15486 <aui-spinner size="small"></aui-spinner> ${"Loading dropdown"} 15487 </div> 15488 `,n.default.ajax(e.src).done(function(t,i,a){200===a.status?((0,b.default)(e).set("loading-state","success"),e.innerHTML=t.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 a="aui-item-"+e.type;return`<${a} ${i("for")} ${i("href")} ${t("interactive")} 15489 ${t("checked")} ${t("disabled")} ${t("hidden")} ${i("data-value")} ${i("item-id")}> 15490 ${(0,m.default)(e.content)} 15491 </${a}>`}).join("");function i(t){return e[t]?`${t}="${e[t]}"`:""}return`<aui-section ${i("label")} ${i("aria-label")}> 15492 ${t} 15493 </aui-section>`}).join("\n"),g.default.init(e)):T(e)}).fail(function(){T(e)}).always(function(){(0,v.doIfTrigger)(e,function(e){e.setAttribute("aria-busy","false")})}))}function S(e,t){return(0,n.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').filter(t).children('a, button, [role="checkbox"], [role="menuitemcheckbox"], [role="radio"], [role="menuitemradio"]')}function x(e){return S(e,(e,t)=>!A(t))}function I(e){e._auiAlignment&&(e._auiAlignment.destroy(),delete e._auiAlignment)}(0,n.default)(document).on("mousedown",".aui-dropdown2-trigger",function(){this.hasAttribute("resolved")||(g.default.init(this),u.getMessageLogger("Dropdown2 lazy initialisation",{removeInVersion:"12.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,n.default)(document).on("mouseenter",".aui-dropdown2-trigger-group a, .aui-dropdown2-trigger-group button",function(e){let t=(0,n.default)(e.currentTarget);if(t.is(".aui-dropdown2-active")||t.closest(".aui-dropdown2").length)return;let i=t.closest(".aui-dropdown2-trigger-group"),a=i.find(".aui-dropdown2-active");a.length&&t.is(".aui-dropdown2-trigger")&&(a.trigger("blur"),t.trigger("aui-button-invoke"),e.preventDefault());let r=i.find(":focus");r.length&&t.is(".aui-dropdown2-trigger")&&r.trigger("blur")});var $=!1;function D(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")),(0,h.default)(e),e.addEventListener("aui-layer-show",function(t){if(e===t.target){var i;i=(0,n.default)(e),["disabled","interactive","active","checked"].forEach(e
15493=>{i.find(`.${e}`).addClass(`aui-dropdown2-${e}`)}),S(e,()=>!0).each((e,t)=>{t.setAttribute("tabindex","-1"),(t.classList.contains("aui-dropdown2-disabled")||A(t.parentElement))&&t.setAttribute("aria-disabled","true")}),(0,n.default)(e).trigger("aui-dropdown2-show"),(0,v.doIfTrigger)(e,function(t){var i;k(t,!0),i=t.getAttribute("data-dropdown2-hide-location"),e._returnTo=document.getElementById(i)||e.parentNode})}}),e.addEventListener("aui-layer-hide",function(t){e===t.target&&((0,n.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"),S(e,()=>!0).removeClass("active aui-dropdown2-active"),(0,v.doIfTrigger)(e,function(e){var t;k(e,!1),t=!0===$,$=!1,t&&e.focus()}),delete e.isSubmenu)});var t=(0,n.default)(e);function i(t){return(0,n.default)(t).closest(".aui-dropdown2, aui-dropdown-menu").get(0)===e}t.on("keydown",function(t){i(t.target)&&(t.keyCode===f.default.DOWN?(e.focusNext(),t.preventDefault()):t.keyCode===f.default.UP?(e.focusPrevious(),t.preventDefault()):t.keyCode===f.default.LEFT?e.isSubmenu&&($=!0,e.hide(),t.preventDefault()):t.keyCode===f.default.ESCAPE?$=!0:t.keyCode===f.default.TAB&&($=!0,e.hideAll(!1)))});let a=function(t){let i=t.currentTarget;"true"===i.getAttribute("aria-disabled")?t.preventDefault():t.currentTarget.hasSubmenu&&t.currentTarget.hasSubmenu()||i.classList.contains("aui-dropdown2-interactive")||e.hideAll(!0)};t.on("click keydown",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(e){if(!i(e.target))return;let t=e.currentTarget,r=e.keyCode,d=r===f.default.ENTER,u=r===f.default.SPACE;!(d&&(0,n.default)(t).is("a[href], button"))&&("click"===e.type||d||u)&&a(e)}),t.on("mouseenter",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(t){if(!i(t.target))return;let a=(0,n.default)((0,h.default)(e).above()).get(0);for(;a&&a.isDropdown&&a!==e;){let e=a.getAttribute("id"),i=t.target.getAttribute("aria-controls"),r=(0,h.default)(a).above();i!==e&&(0,h.default)(a).hide(),a=(0,n.default)(r).get(0)}}),(0,n.default)(e).on("click keydown",".aui-dropdown2-checkbox",function(e){("click"===e.type||e.keyCode===f.default.ENTER||e.keyCode===f.default.SPACE)&&!e.isDefaultPrevented()&&(this.isInteractive()&&e.preventDefault(),this.isEnabled()&&(this.isChecked()?this.uncheck():this.check()))}),(0,n.default)(e).on("click keydown",".aui-dropdown2-radio",function(e){("click"===e.type||e.keyCode===f.default.ENTER||e.keyCode===f.default.SPACE)&&!e.isDefaultPrevented()&&(this.isInteractive()&&e.preventDefault(),this.isEnabled()&&!1===this.isChecked()&&((0,n.default)(this).closest("ul,[role=group]").find(".aui-dropdown2-checked").not(this).each(function(){this.uncheck()}),this.check()))})}(0,n.default)(window).on("resize",(0,s.debounce)(function(){(0,n.default)(".aui-dropdown2").each(function(e,t){g.default.init(t),t.isVisible()&&t.hide()})},1e3,!0));var N={toggle:function(e){this.isVisible()?this.hide():this.show(e)},show:function(e){let t=this;return(0,v.doIfTrigger)(t,e=>{k(e,!1)}),e&&e.currentTarget&&e.currentTarget.classList.contains("aui-dropdown2-trigger")&&(0,v.setTrigger)(t,e.currentTarget),(0,h.default)(t).show(),(0,v.do
15493IfTrigger)(t,function(e){var i,a,r,d,u,o,s,l;k(e,!0),i=e&&e.hasSubmenu&&e.hasSubmenu(),a="submenu auto"===t.getAttribute("data-aui-alignment"),!i&&a&&(d=t,(o=(u=(0,n.default)(d)).data("previous-data-aui-alignment"))?d.setAttribute("data-aui-alignment",o):d.removeAttribute("data-aui-alignment"),u.removeData("previous-data-aui-alignment"),u.data("had-data-aui-alignment-static")||d.removeAttribute("data-aui-alignment-static"),u.removeData("had-data-aui-alignment-static")),r=t.hasAttribute("data-aui-alignment"),i&&!a?(s=t,l=(0,n.default)(s),s.hasAttribute("data-aui-alignment")&&l.data("previous-data-aui-alignment",s.getAttribute("data-aui-alignment")),l.data("had-data-aui-alignment-static",s.hasAttribute("data-aui-alignment-static")),t.setAttribute("data-aui-alignment","submenu auto"),t.setAttribute("data-aui-alignment-static",!0)):r||(t.setAttribute("data-aui-alignment","bottom auto"),t.setAttribute("data-aui-alignment-static",!0)),I(t),t._auiAlignment=new c.default(t,e,{flip:!1,positionFixed:!1,preventOverflow:!1,offset:e.hasSubmenu&&e.hasSubmenu()?[-3,0]:[0,3]}),t._auiAlignment.enable()}),setTimeout(()=>(function(e,t={}){if(t&&t.type&&-1===t.type.indexOf("mouse")){let i=t.type.indexOf("key")>-1;if(e.isSubmenu)e.focusItem(0);else if(i)if(t.keyCode===f.default.UP){let t=x(e);t&&t.length&&e.focusItem(t.length-1)}else e.focusItem(0);else e.focus()}})(t,e),0),this},hide:function(){return(0,h.default)(this).hide(),this},hideAll:function(e=!0){let t=function(e){let t=(0,h.default)(e);for(;;){let e=t.below();if(!e||!e.get(0).isDropdown)break;t=(0,h.default)(e)}return t}(this);return t.isVisible()&&(t.hide(),e&&(0,v.doIfTrigger)(t.el,e=>{setTimeout(()=>{e.focus()},0),(0,v.setTrigger)(t.el,null)})),this},focusNext:function(){var e,t=x(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=x(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){let t=x(this);"number"==typeof e&&(e=t.get(e));let i=(0,n.default)(e);i.trigger("focus"),t.removeClass("active aui-dropdown2-active"),i.addClass("active aui-dropdown2-active")},isVisible:function(){return(0,h.default)(this).isVisible()},isDropdown:!0},V={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")}},_={created:function(e){e.children[0].classList.add("interactive","aui-dropdown2-interactive")},removed:function(e){e.children[0].classList.remove("interactive","aui-dropdown2-interactive")}},M={created:function(e){var t=e.children[0];t.classList.add("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!0),e.dispatchEvent(new CustomEvent("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 CustomEvent("change",{bubbles:!0}))}},O={created:function(e){V.created(e)},removed:function(e){V.removed(e)}},P=function(e){return{fallback:function(t,i){t.children[0].setAttribute(e,i.newValue)},removed:function(t){t.children[0].removeAttribute(e)}}};let B=function(e=""){return e.split(" ").map(e=>e.trim()).filter(e=>e)},R=(0,g.default)("aui-item-link",{template:d()('<a role="menuitem" tabindex="-1"><content></content></a>'),attributes:{disabled:V,interactive:_,hidden:O,href:P("href"),"item-id":P("id"),for:{created:function(e){var t=e.children[0];t.setAttribute("aria-controls",e.getAttribute("for")),(0,n.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,n.default)(t).removeClass("aui-dropdown2-sub-trigger")}},"extra-classes":function(e,t){let i=e.children[0];t.oldValue&&i.classList.remove(...B(t.oldValue)),t.newValue&&i.classList.add(...B(t.newValue))},"data-value":P("data-value")}}),H=(0,g.default)("aui-item-button",{template:d()('<button class="aui-button"><content></content></button>'),attributes:{disabled:V,"item-id":P("id"),"extra-classes":function(e,t){let i=e.children[0];t.oldValue&&i.classList.remove(...B(t.oldValue)),t.newValue&&i.classList.add(...B(t.newValue))},"data-value":P("data-value")}}),[U,j]=["checkbox","radio"].map(e=>(0,g.default)(`aui-item-${e}`,{template:d()(`<span role="menuitem${e}" class="aui-dropdown2-${e}" tabindex="-1"><content></content></span>`),attributes:{"item-id":P("id"),disabled:V,interactive:_,checked:M,hidden:O,"data-value":P("data-value")}})),z=(0,g.default)("aui-section",{template:d()(`
15494 <span aria-hidden="true" class="aui-dropdown2-heading"></span> 15495 <div class="aui-dropdown2-item-group" role="group"> 15496 <content></content> 15497 </div> 15498 `),attributes:{label:function(e,t){let i=(0,w.default)();var a=e.children[0],n=e.children[1];a.textContent=t.newValue,a.id=i,n.setAttribute("aria-labelledby",i)},"aria-label":{fallback:function(e,t){e.children[1].setAttribute("aria-label",t.newValue)},removed:function(e){e.children[1].removeAttribute("aria-label")}}},created:function(e){e.classList.add("aui-dropdown2-section")}}),F=(0,g.default)("aui-dropdown-menu",{created:function(e){e.setAttribute("role","menu"),e.className="aui-dropdown2",(0,h.default)(e),(0,b.default)(e).set("loading-state",y),g.default.init(e)},detached:function(e){(0,p.ifGone)(e).then(()=>I(e))},attributes:{src:{}},prototype:N,events:{"aui-layer-show":function(e){var t=(0,b.default)(e).get("loading-state")===y,i=(0,b.default)(e).get("hasErrorBeenShown");(t||i)&&L(e),(0,b.default)(e).get("loading-state")===C&&(0,b.default)(e).set("hasErrorBeenShown",!0)}}});(0,g.default)("aui-dropdown2",{type:g.default.type.CLASSNAME,created:D,prototype:N}),(0,g.default)("data-aui-dropdown2",{type:g.default.type.ATTRIBUTE,created:D,prototype:N}),(0,g.default)("aui-dropdown2-trigger",{type:g.default.type.CLASSNAME,created:function(e){let t=e.getAttribute("aria-controls");function i(a,r=!1){if(a.currentTarget!==e||(a.preventDefault(),!e.isEnabled()))return;let d=document.getElementById(t);if(!d)return void o.error('Could not find a dropdown with id "'+t+'" in the DOM.');let u=(0,n.default)(e);return u.parent().hasClass("aui-buttons")&&d.classList.add("aui-dropdown2-in-buttons"),u.parents().hasClass("aui-header")&&d.classList.add("aui-dropdown2-in-header"),r?d.show(a):d.toggle(a),d.isSubmenu=e.hasSubmenu(),d}t||((t=e.getAttribute("aria-owns"))?(e.removeAttribute("aria-owns"),e.setAttribute("aria-controls",t)):o.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,n.default)(e).on("aui-button-invoke",i).on("click",i).on("keydown",function(t){if(t.currentTarget!==e)return;let a=t.keyCode===f.default.ENTER||t.keyCode===f.default.SPACE,n=t.keyCode===f.default.RIGHT&&e.hasSubmenu(),r=(t.keyCode===f.default.UP||t.keyCode===f.default.DOWN)&&!e.hasSubmenu();a?i(t):(r||n)&&i(t,document.activeElement===e)}).on("mouseenter",function(i){var a,n;if(i.currentTarget!==e||(i.preventDefault(),!e.isEnabled()))return;let r=document.getElementById(t);return r?(a=(0,b.default)(r).get("loading-state")===y,n=(0,b.default)(r).get("hasErrorBeenShown"),(a||n&&!r.isVisible())&&L(r),e.hasSubmenu()&&(r.show(i),r.isSubmenu=e.hasSubmenu()),r):void o.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,g.default)("aui-dropdown2-sub-trigger",{type:g.default.type.CLASSNAME,created:function(e){e.classList.add("aui-dropdown2-trigger"),g.default.init(e)}}),["checkbox","radio"].map(e=>(0,g.default)(`aui-dropdown2-${e}`,{type:g.default.type.CLASSNAME,created:function(t){let 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,l.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,n.default)(this).attr("aria-checked","fal
15498se").removeClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-uncheck")},check:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.setAttribute("checked",""),(0,n.default)(this).attr("aria-checked","true").addClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-check")}}}))}}]); 15499}catch(e){WRMCB(e)}; 15500; 15501try { 15502/* module-key = 'com.atlassian.auiplugin:split_aui.component.async-header', location = 'aui.chunk.73d1349c53980c05--cc05fb48030d539d.js' */ 15503"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9044"],{9860(e,t,i){i.r(t),i.d(t,{Header:()=>I}),i(538),i(2271);var n=i(3003),s=i(5452),o=i(4459),r=o.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:"12.0.0",sinceVersion:"8.0.0",extraInfo:"Use equivalent functions from libraries like lodash / underscore instead"});(0,s.default)("debounce",r);var a=o.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:"12.0.0",sinceVersion:"8.0.0",extraInfo:"Use equivalent functions from libraries like lodash / underscore instead"});(0,s.default)("debounceImmediate",a);var d=i(9908),u=i(2221),h=i(9002),l=i.n(h);let m=(0,n.default)(window);function c(e){var t;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)(this.$element[0].querySelector(".aui-header-primary")),function(e){return t.find(e)})}c.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,m.on("resize",this._resizeHandler=r(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(){m.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,t,i=document.createElement("li"),s=document.createElement("aui-dropdown-menu");s.id=`aui-responsive-header-dropdown-${this.index}`,u.default.init(s);var o=document.createElement("aui-section");o.id=`aui-responsive-header-dropdown-list-${this.index}`,u.default.init(o),s.appendChild(o);var r=(e=s,(t=document.createElement("a")).setAttribute("class","aui-dropdown2-trigger"),t.setAttribute("href","#"),t.id=e.id+"-trigger",t.setAttribute("aria-controls",e.id),t.innerHTML="More",t);return i.appendChild(r),i.appendChild(s),0===this.primaryButtonsWidth?this.$headerFind(".aui-nav").append(i):this.$headerFind(".aui-nav > li > .aui-button:first").parent().before(i),this.moreMenuWidth=(0,n.default)(i).outerWidth(!0),(0,n.default)(i)},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=l().wrap(this.$moreMenu[0].querySelector("aui-section")),i=this.rightMostNavItemIndex,s=this.rightMostNavItemIndex-e+1,o=i;o>=s;o--){var r=this.menuItems[o].$element,a=r.children("a");u.default.init(a);var d=document.createElement("aui-item-link");if(d.setAttribute("href",a.attr("href")),a.attr("aria-controls")){var h=(0,n.default)(document.getElementById(a.attr("aria-controls")));d.setAttribute("for",a.attr("aria-controls")),h.addClass("aui-dropdown2-sub-menu"),h.appendTo("body")}if(a.get(0).hasAttribute("data-aui-extra-classes")){let e=Array.from(a.get(0).classList).filter(e=>!e.startsWith("aui-"));d.setAttribute("extra-classes",e.join(" "))}u.default.init(d),l().wrap(d).textContent=a.text(),r.detach(),t.insertBefore(d,t.firstChild),this.element.dispatchEvent(new CustomEvent("aui-responsive-menu-item-created",{bubbles:!0,detail:{originalItem:r[0],newItem:d}}))}this.rightMostNavItemIndex-=e}},showAll:function(){this.moveOutOfResponsiveDropdown(this.menuItems.length-1-this.rightMostNavItemIndex),this.hideResponsiveDropdown()}};let f=function(e){let t=e._header;return t instanceof c||((t=new c(e)).init(),e._header=t),t};function p(){(0,n.default)(".aui-header").each(function(){f(this)})}(0,n.default)(p);let v={};v.setup=o.fn(p,"responsiveheader.setup",{removeInVersion:"12.0.0",sinceVersion:"5.8.0",extraInfo:"No need to manually initialise anymore as this is now a web component."}),(0,s.default)("responsiveheader",v);let I=(0,u.default)("aui-header-end",{type:u.default.type.ELEMENT,created:function(e){let t=e.parentElement;t&&t.classList.contains("aui-header")?f(t):console.log("Could not async. initialise aui-header")}})},9976(e){e.exports=jQuery}},function(e){e.O(0,["101","1103","1580","1843","1925","1935","2436","2747","3590","3662","3709","3925","3944","4478","4497","4581","4694","5","5262","5889","5985","6358","6452","6933","6981","7402","7513","7619","7625","8179","8976","9016","9141","9193","9274","9284","9468","9496","9809"],function(){return e(e.s=9860)}),e.O()}]); 15504}catch(e){WRMCB(e)}; 15505; 15506try { 15507/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:jquery-autocomplete', location = '/includes/js/autocomplete.js' */
15508define("confluence/autocomplete",["jquery"],function(d){d.fn.autocomplete=function(v,k,q){function p(){g.hide();d(document).unbind("click",p)}function w(){var b=f.val();b.length>=k&&b!=f[0].lastQuery&&b!=f[0].lastSelectedValue?(d.getJSON(v+encodeURI(b),function(a){var l="";b=b.toLowerCase();for(var e=b.split(" "),c=0,x=a.length;c<x;c++){var t=!1;if(a[c].fullName&&a[c].username){for(var y=a[c].fullName+" ("+a[c].username+")",m=a[c].fullName.split(" "),n=0,z=m.length;n<z;n++)for(var h=0;h<e.length;h++)0== 15509m[n].toLowerCase().indexOf(e[h])&&(m[n]="\x3cstrong\x3e"+m[n].substring(0,e[h].length)+"\x3c/strong\x3e"+m[n].substring(e[h].length),t=!0);if(!t)for(h=0;h<e.length;h++)a[c].username&&0==a[c].username.toLowerCase().indexOf(e[h])&&(a[c].username="\x3cstrong\x3e"+a[c].username.substring(0,e[h].length)+"\x3c/strong\x3e"+a[c].username.substring(e[h].length));a[c].fullName=m.join(" ");l+="\x3cli\x3e\x3cspan\x3e"+a[c].fullName+"\x3c/span\x3e \x3cspan class\x3d'username-in-autocomplete-list'\x3e("+a[c].username+ 15510")\x3c/span\x3e\x3ci class\x3d'fullDetails'\x3e"+y+"\x3c/i\x3e\x3ci class\x3d'username'\x3e"+a[c].username+"\x3c/i\x3e\x3ci class\x3d'fullName'\x3e"+a[c].fullName+"\x3c/i\x3e\x3c/li\x3e"}a[c].status&&(l+="\x3cli\x3e"+a[c].status+"\x3c/li\x3e")}g.html(l);d("li",g).click(function(r){r.stopPropagation();r=d("i.fullDetails",this).html();u(r)}).hover(function(){d(".focused").removeClass("focused");d(this).addClass("focused")},function(){});d(document).click(p);g.show()}),f[0].lastQuery=b):b.length<k&& 15511p()}function u(b){var a=f.val();b&&(f[0].lastSelectedValue=b,f.val(b),b={input:f,originalValue:a,value:b,fullName:d(".focused i.fullName").text(),username:d(".focused i.username").text()},q(b),p())}q="function"===typeof k?k:"function"===typeof q?q:function(){};k=isNaN(Number(k))?3:k;var f=this;f[0].lastSelectedValue=f.val();var g=d(document.createElement("ol"));f.offset();parseInt(d("body").css("border-left-width"));g.css({position:"absolute",width:f.outerWidth()-2+"px"});g.addClass("autocompleter"); 15512this.after(g);g.css({margin:Math.abs(this.offset().left-g.offset().left)>=Math.abs(this.offset().top-g.offset().top)?f.outerHeight()+"px 0 0 -"+f.outerWidth()+"px":"-1px 0 0 0"});g.hide();f.keydown(function(b){var a=this;this.timer&&clearTimeout(this.timer);var l={40:function(){var e=d(".focused").removeClass("focused").next();e.length?e.addClass("focused"):d(".autocompleter li:first").addClass("focused")},38:function(){var e=d(".focused").removeClass("focused").prev();e.length?e.addClass("focused"): 15513d("li:last",g).addClass("focused")},27:function(){p()},13:function(){var e=d(".focused i.fullDetails").html();u(e)},9:function(){this[13]();setTimeout(function(){a.focus()},0)}};"none"!=g.css("display")&&b.keyCode in l&&(b.preventDefault(),l[b.keyCode]());this.timer=setTimeout(w,300)})}});require("confluence/module-exporter").safeRequire("confluence/autocomplete"); 15514}catch(e){WRMCB(e)}; 15515; 15516try { 15517/* module-key = 'confluence.macros.advanced:get-more-helper', location = 'com/atlassian/confluence/plugins/macros/advanced/js/get-more-helper.js' */ 15518(function(c){AJS.moreLinkClickHandler=function(e){var d=c(this),f=d.attr("href"),b=d.closest(".more-link-container");if(!b.length)throw Error("Could not find more link container when one was expected.");b.addClass("loading");c.get(f,function(a){a=c(a).wrap("\x3cdiv/\x3e").parent();var g=a.children("ul").children("li");b.closest(".results-container").children("ul").append(g);a=a.find(".more-link-container");0===a.length?b.remove():b.replaceWith(a);AJS.PageGadget&&AJS.PageGadget.contentsUpdated&&AJS.PageGadget.contentsUpdated()}); 15519e.stopPropagation();return!1}})(AJS.$); 15520}catch(e){WRMCB(e)}; 15521; 15522try { 15523/* module-key = 'confluence.macros.advanced:get-more', location = 'com/atlassian/confluence/plugins/macros/advanced/js/get-more.js' */ 15524AJS.toInit(function(a){a(".results-container").on("click",".more-link",AJS.moreLinkClickHandler)}); 15525}catch(e){WRMCB(e)}; 15526; 15527try { 15528/* module-key = 'confluence.macros.advanced:get-more', location = 'com/atlassian/confluence/plugins/macros/advanced/js/filter-control.js' */ 15529AJS.toInit(function(a){a("select.content-filter").change(function(){a(".filter-control .waiting-image").removeClass("hidden");var d=a(this);a.get(AJS.params.changesUrl,{contentType:a(this).val()},function(b){b=a(b);var c=d.parent();c.parent().siblings(".results-container").children("ul").html(b);a(".waiting-image",c).addClass("hidden");a(".more-link",b).click(AJS.moreLinkClickHandler)})})}); 15530}catch(e){WRMCB(e)}; 15531; 15532try { 15533/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:profile-macro-styles', location = '/includes/js/personal-sidebar.js' */ 15534define("confluence/personal-sidebar",["jquery","confluence/storage-manager"],function(a,e){return{initialize:function(){function c(){b.toggleClass("collapsed");f.toggleClass("sidebar-collapsed");b.trigger("toggled")}var d=e("personal-sidebar"),b=a("#personal-info-sidebar"),g=b.height(),f=a("#content");d.getItemAsBoolean("show")&&c();a(".sidebar-collapse").click(function(h){c();d.setItem("show",b.hasClass("collapsed"));h.stopPropagation();return!1}).height(g)}}}); 15535require("confluence/module-exporter").safeRequire("confluence/personal-sidebar",function(a){require("ajs").toInit(a.initialize)}); 15536}catch(e){WRMCB(e)}; 15537; 15538try { 15539/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:constants', location = '/includes/js/api/constants.js' */ 15540define("confluence/api/constants",["ajs"],function(b){var a={};a.CONTEXT_PATH=b.contextPath();return a}); 15541}catch(e){WRMCB(e)}; 15542; 15543try { 15544/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:floating-scrollbar', location = '/includes/js/third-party/jquery.floatingScrollbar.
15544js' */ 15545/*! 15546 * jQuery Floating Scrollbar - v0.4 - 02/28/2011 15547 * http://benalman.com/ 15548 * 15549 * Copyright (c) 2011 "Cowboy" Ben Alman 15550 * Dual licensed under the MIT and GPL licenses. 15551 * http://benalman.com/about/license/ 15552 * 15553 * Modified by Atlassian 15554 */ 15555!function($){var current,previous,win=$(this),elems=($("html"),$([])),scroller=$('<div id="floating-scrollbar"><div><div></div></div>'),scrollerInner=scroller.children();function setState(state){scroller.toggle(!!state)}function scrollCurrent(){current&&scroller.scrollLeft(current.scrollLeft())}function update(){if(previous=current,current=null,elems.each(function(){var elem=$(this),top=elem.offset().top,bottom=top+elem.height(),viewportBottom=win.scrollTop()+win.height();if(top+30<viewportBottom&&bottom>viewportBottom)return current=elem,!1}),current){var scroll=current.scrollLeft(),scrollMax=current.scrollLeft(90019001).scrollLeft(),widthOuter=current.innerWidth(),widthInner=widthOuter+scrollMax;current.scrollLeft(scroll),widthInner<=widthOuter?setState():(setState(!0),previous&&previous[0]===current[0]||(previous&&previous.unbind("scroll",scrollCurrent),current.scroll(scrollCurrent).after(scroller)),scroller.css({left:current.offset().left-win.scrollLeft(),width:widthOuter}).scrollLeft(scroll),scrollerInner.width(widthInner))}else setState()}scroller.css({display:"none",position:"fixed",bottom:0,height:"30px",overflowX:"auto",overflowY:"hidden"}).scroll(function(){current&¤t.scrollLeft(scroller.scrollLeft())}),scrollerInner.css({border:"1px solid #fff",opacity:.01}),$.fn.floatingScrollbar=function(state){return!1===state?(elems=elems.not(this),this.unbind("scroll",scrollCurrent),elems.length||(scroller.detach(),win.unbind("resize scroll",update))):this.length&&(elems.length||win.resize(update).scroll(update),elems=elems.add(this)),update(),this},$.floatingScrollbarUpdate=update}(jQuery); 15556}catch(e){WRMCB(e)}; 15557; 15558try { 15559/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:floating-scrollbar', location = '/includes/js/table-floating-scrollbar.js' */ 15560define("confluence/table-floating-scrollbar",["jquery"],function(a){return{initialize:function(){var b=a(".wiki-content").find(".table-wrap");b.length&&b.floatingScrollbar()}}});require("confluence/module-exporter").safeRequire("confluence/table-floating-scrollbar",function(a){require("ajs").toInit(a.initialize)}); 15561}catch(e){WRMCB(e)}; 15562; 15563try { 15564/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:page-metadata-internal', location = '/includes/js/page-metadata.js' */ 15565define("confluence/page-metadata",["jquery"],function(a){return function(){var b=a("#version-comment");if(b.length){var c=a("#show-version-comment"),d=a("#hide-version-comment");c.click(function(e){c.hide();d.show();b.show();e.stopPropagation();return!1});d.click(function(e){d.hide();c.show();b.hide();e.stopPropagation();return!1});c.length&&d.length&&b.hide()}}});require("confluence/module-exporter").safeRequire("confluence/page-metadata",function(a){require("ajs").toInit(a)}); 15566}catch(e){WRMCB(e)}; 15567; 15568try { 15569/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:view-content', location = '/includes/js/manage-watchers.js' */ 15570define("confluence/manage-watchers",["document","ajs","confluence/legacy","confluence/templates","confluence/api/constants"],function(p,f,x,q,r){return function(h){h(p).on("click","#manage-watchers-menu-item, .cw-manage-watchers",function(v){function t(a,c){var b=a.find("#add-"+c+"-watcher-user"),g=a.find("#add-"+c+"-watcher-username"),l=function(){var d=a.find("\x3e .status");return{clear:function(){d.addClass("hidden").removeClass("loading error").text("")},loading:function(k){d.addClass("loading").removeClass("hidden error").html(k)}, 15571error:function(k){var w=`<span class='aui-icon aui-icon-small aui-iconfont-error' role="img" aria-label=${"Error"}></span>`;d.addClass("error").removeClass("hidden loading").html(w+k)}}}();a.ajaxForm({beforeSerialize:function(){""==g.val()&&g.val(b.val())},beforeSubmit:function(){b.blur().prop("disabled",!0);n.addClass("updating");l.loading("Adding watcher...")},dataType:"json",error:function(d,k){console.error("Failed to add watcher: "+ 15572k)},success:function(d){g.val("");b.prop("disabled",!1).val("").focus();n.removeClass("updating");d.actionErrors&&d.actionErrors.length?l.error(d.actionErrors[0]):(e.trigger("list-data-retrieved.manage-watchers",{list:n,watchers:d.pageWatchers,type:"page"}),e.trigger("list-data-retrieved.manage-watchers",{list:u,watchers:d.spaceWatchers,type:"space"}),l.clear())}});b.bind("selected.autocomplete-user-or-group",function(d,k){a.submit()})}v.preventDefault();var m=new f.ConfluenceDialog({width:865,height:530, 15573id:"manage-watchers-dialog",onCancel:function(){m.hide().remove()}});m.addHeader("Manage Watchers");
15573m.addPanel("default",q.ManageWatchers.dialogContent({pageId:f.Meta.get("page-id"),xsrfToken:f.Meta.get("atl-token")}));m.addButton("Close",function(){m.hide().remove();return!1});m.show();var e=h("#manage-watchers-dialog");e.find(".dialog-title").after(q.ManageWatchers.helpLink());f.Confluence.Binder.placeholder();e.bind("remove-list-item.manage-watchers", 15574function(a,c){var b=c.item,g=c.list;a=c.username;c=c.type;b.addClass("removing");f.safe.ajax({dataType:"json",type:"POST",url:r.CONTEXT_PATH+"/json/removewatch.action",data:{pageId:f.params.pageId,username:a,type:c},error:function(){console.error("Failed to delete watcher. Refresh page to see latest status.");b.removeClass("removing")},success:function(){b.slideUp().remove();e.trigger("list-updated.manage-watchers",{list:g})}})});e.bind("list-updated.manage-watchers",function(a,c){a=c.list;0<h("li.watch-user", 15575a).length?(a.find(".no-users").addClass("hidden"),a.find(".confluence-userlink").each(function(){h(this).click(function(b){b.preventDefault()})})):a.find(".no-users").removeClass("hidden")});e.bind("list-data-retrieved.manage-watchers",function(a,c){var b=c.list;a=c.watchers;var g=c.type;b.find(".watch-user").remove();a&&a.length&&h.each(a,function(){var l=this.name,d=h(q.ManageWatchers.userItem({username:l,fullName:this.fullName,url:r.CONTEXT_PATH+"/display/~"+this.name,iconUrl:this.avatarUrl})); 15576b.append(d);d.find(".remove-watch").click(function(){e.trigger("remove-list-item.manage-watchers",{username:l,item:d,list:b,type:g})})});b.find(".loading").hide();e.trigger("list-updated.manage-watchers",{list:b})});var n=e.find(".page-watchers .user-list"),u=e.find(".space-watchers .user-list");f.safe.ajax({url:r.CONTEXT_PATH+"/json/listwatchers.action",dataType:"json",data:{pageId:f.params.pageId},error:function(){console.error("Failed to retrieve watchers.")},success:function(a){e.trigger("list-data-retrieved.manage-watchers", 15577{list:n,watchers:a.pageWatchers,type:"page"});e.trigger("list-data-retrieved.manage-watchers",{list:u,watchers:a.spaceWatchers,type:"space"})}});t(e.find("#manage-page-watchers-form"),"page");t(e.find("#manage-space-watchers-form"),"space")})}});require("confluence/module-exporter").safeRequire("confluence/manage-watchers",function(p){require("ajs").toInit(p)}); 15578}catch(e){WRMCB(e)}; 15579; 15580try { 15581/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:view-content', location = '/includes/soy/manage-watchers.soy' */ 15582// This file was automatically generated from manage-watchers.soy. 15583// Please don't edit this file by hand. 15584 15585/** 15586 * @fileoverview Templates in namespace Confluence.Templates.ManageWatchers. 15587 */ 15588 15589if (typeof Confluence == 'undefined') { var Confluence = {}; } 15590if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15591if (typeof Confluence.Templates.ManageWatchers == 'undefined') { Confluence.Templates.ManageWatchers = {}; } 15592 15593 15594Confluence.Templates.ManageWatchers.dialogContent = function(opt_data, opt_ignored) { 15595 return '<div class="aui-group"><div class="aui-item page-watchers"><h3>' + soy.$$escapeHtml('Watching this page') + '</h3><p>' + soy.$$escapeHtml('These people are notified when the page is changed.') + '</p>' + Confluence.Templates.ManageWatchers.addWatcherForm({pageId: opt_data.pageId, xsrfToken: opt_data.xsrfToken, notificationType: 'page'}) + '<ul class="user-list"><li class="loading">' + soy.$$filterNoAutoescape('Loading...') + '</li><li class="no-users hidden">' + soy.$$escapeHtml('No page watchers') + '</li></ul></div><div class="aui-item space-watchers"><h3>' + soy.$$escapeHtml('Watching this space') + '</h3><p>' + soy.$$escapeHtml('These people are notified when any content in the space is changed.') + '</p>' + Confluence.Templates.ManageWatchers.addWatcherForm({pageId: opt_data.pageId, xsrfToken: opt_data.xsrfToken, notificationType: 'space'}) + '<ul class="user-list"><li class="loading">' + soy.$$filterNoAutoescape('Loading...') + '</li><li class="no-users hidden">' + soy.$$escapeHtml('No space watchers') + '</li></ul></div></div>'; 15596}; 15597if (goog.DEBUG) { 15598 Confluence.Templates.ManageWatchers.dialogContent.soyTemplateName = 'Confluence.Templates.ManageWatchers.dialogContent'; 15599} 15600 15601 15602Confluence.Templates.ManageWatchers.userItem = function(opt_data, opt_ignored) { 15603 return '<li class="watch-user"><span class="user-details"><img class="profile-picture confluence-userlink" src="' + soy.$$escapeHtml(opt_data.iconUrl) + '" data-username="' + soy.$$escapeHtml(opt_data.username) + '" alt="" /><span class="user-hover-trigger" data-username="' + soy.$$escapeHtml(opt_data.username) + '">' + soy.$$escapeHtml(opt_data.fullName) + '</span> <span class="username">(' + soy.$$escapeHtml(opt_data.username) + ')</span></span><button class="aui-button remove-watch" title="' + soy.$$escapeHtml('Remove') + '" aria-label="' + soy.$$escapeHtml(opt_data.fullName ? AJS.format('Remove {0} from watchers list',opt_data.fullName) : 'Remove') + '" data-username="' + soy.$$escapeHtml(opt_data.username) + '"><span class="aui-icon aui-icon-small aui-iconfont-trash" aria-hidden="true"></span></button></li>'; 15604}; 15605if (goog.DEBUG) { 15606 Confluence.Templates.ManageWatchers.userItem.soyTemplateName = 'Confluence.Templates.ManageWatchers.userItem'; 15607} 15608 15609 15610Confluence.Templates.ManageWatchers.helpLink = function(opt_data, opt_ignored) { 15611 return '' + Confluence.Templates.Dialog.helpLink({href: "https://docs.atlassian.com/confluence/docs-102/Manage+Watchers"}); 15612}; 15613if (goog.DEBUG) { 15614 Confluence.Templates.ManageWatchers.helpLink.soyTemplateName = 'Confluence.Templates.ManageWatchers.helpLink'; 15615} 15616 15617 15618Confluence.Templates.ManageWatchers.addWatcherForm = function(opt_data, opt_ignored) { 15619 return '<form class="aui" action="' + soy.$$escapeHtml("") + '/json/addwatch.action" method="POST" id="manage-' + soy.$$escapeHtml(opt_data.notificationType) + '-watchers-form"><input type="hidden" name="atl_token" value="' + soy.$$escapeHtml(opt_data.xsrfToken) + '"><input type="hidden" name="pageId" value="' + soy.$$escapeHtml(opt_data.pageId) + '"/><input type="hidden" name="type" value="' + soy.$$escapeHtml(opt_data.notificationType) + '" /><input type="hidden" id="add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-username" name="username" value=""/><input id="add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-user" name="userFullName" class="text autocomplete-user" type="text" value="" placeholder="' + soy.$$escapeHtml('Full name or username') + '" data-max="10" data-target="#add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-username" data-dropdown-target="#add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-dropdown" data-template="{title}" data-none-message="' + soy.$$escapeHtml('No matching users found.') + '" aria-label="' + soy.$$escapeHtml(AJS.format('Add {0} watcher',opt_data.notificationType)) + '" aria-describedby="add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-user-status" required><input type="submit" name="add" class="button submit" value="' + soy.$$escapeHtml('Add') + '"><div id="add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-dropdown" class="aui-dd-parent autocomplete"></div><div id="add-' + soy.$$escapeHtml(opt_data.notificationType) + '-watcher-user-status" class="status hidden"></div></form>'; 15620}; 15621if (goog.DEBUG) { 15622 Confluence.Templates.ManageWatchers.addWatcherForm.soyTemplateName = 'Confluence.Templates.ManageWatchers.addWatcherForm'; 15623} 15624 15625}catch(e){WRMCB(e)}; 15626; 15627try { 15628/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:view-content', location = '/includes/js/page-children.js' */ 15629define("confluence/page-children",["jquery","ajs","raphael","confluence/api/constants"],function(a,d,q,g){return function(){var h,k,r=function(b){var c=a("#page-children:not(.children-loaded)");n();if(b&&c.length)if(b.errorMessage)c.html("\x3cspan class\x3d'error'\x3e"+b.errorMessage+"\x3c/span\x3e");else{var f=[];a.each(b,function(l,e){l=f.push;if(e.homePage){var p="Home page";e='\x3cspan class\x3d"child-display"\x3e\x3cspan class\x3d"icon icon-home-page" title\x3d"'+p+'"\x3e'+p+ 15630':\x3c/span\x3e \x3ca href\x3d"'+g.CONTEXT_PATH+e.href+'"\x3e'+e.text+"\x3c/a\x3e\x3c/span\x3e"}else e='\x3cspan class\x3d"child-display"\x3e\x3cspan class\x3d"'+(e.recentlyUpdated?"icon icon-recently-updated-page":"icon icon-page")+'" title\x3d"Page"\x3ePage:\x3c/span\x3e \x3ca href\x3d"'+g.CONTEXT_PATH+e.href+'"\x3e'+d.escapeHtml(e.text)+"\x3c/a\x3e\x3c/span\x3e";l.call(f,e)});c.html(f.join(""));c.addClass("children-loaded")}},n=function(){k&&(k(),k=null);h.addClass("hidden")},m=function(b){d.safe.ajax({url:g.CONTEXT_PATH+ 15631"/json/pagechildrenstoresettings.action",type:"POST",data:{pageId:d.params.pageId,showChildren:b},success:function(){},error:function(c,f){d.log("Failed to store the user 'showChildren' user setting: "+f)}})},t=function(){var b=a("#page-children:not(.children-loaded)");b.length?(h=a("\x3cdiv class\x3d'throbber'\x3e\x3c/div\x3e"),b.append(h),k=q.spinner(h[0],10,"#666"),d.safe.ajax({url:g.CONTEXT_PATH+"/json/pagechildren.action",type:"POST",data:{pageId:d.params.pageId,showChildren:!0},success:r,error:function(c, 15632f,l){c="Could not load child pages.";n();b.html("\x3cspan class\x3d'error'\x3e"+c+"\x3c/span\x3e");d.log("Error retrieving child pages: "+f)}})):m(!0)};a("#children-section a.children-show-hide").each(function(){a(this).click(function(b){var c=a("#children-section");c.hasClass("children-showing")?(a("#page-children").hide(),m(!1),c.removeClass("children-showing").addClass("children-hidden")):(a("#page-children").show(),a("#children-section:not(.children-showing)").length?t():m(!0),c.removeClass("children-hidden").addClass("children-showing")); 15633b.stopPropagation();return!1})})}});require("confluence/module-exporter").safeRequire("confluence/page-children",function(a){require("ajs").toInit(a)}); 15634}catch(e){WRMCB(e)}; 15635; 15636try { 15637/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:jquery-json', location = '/includes/js/third-party/jquery.json-2.3.js' */ 15638(function($){var escapeable=/["\\\x00-\x1f\x7f-\x9f]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};$.toJSON="object"==typeof JSON&&JSON.stringify?JSON.stringify:function(o){if
15638(null===o)return"null";var type=typeof o;if("undefined"!==type){if("number"===type||"boolean"===type)return""+o;if("string"===type)return $.quoteString(o);if("object"===type){if("function"==typeof o.toJSON)return $.toJSON(o.toJSON());if(o.constructor===Date){var month=o.getUTCMonth()+1,day=o.getUTCDate(),year=o.getUTCFullYear(),hours=o.getUTCHours(),minutes=o.getUTCMinutes(),seconds=o.getUTCSeconds(),milli=o.getUTCMilliseconds();return month<10&&(month="0"+month),day<10&&(day="0"+day),hours<10&&(hours="0"+hours),minutes<10&&(minutes="0"+minutes),seconds<10&&(seconds="0"+seconds),milli<100&&(milli="0"+milli),milli<10&&(milli="0"+milli),'"'+year+"-"+month+"-"+day+"T"+hours+":"+minutes+":"+seconds+"."+milli+'Z"'}if(o.constructor===Array){for(var ret=[],i=0;i<o.length;i++)ret.push($.toJSON(o[i])||"null");return"["+ret.join(",")+"]"}var name,val,pairs=[];for(var k in o){if("number"===(type=typeof k))name='"'+k+'"';else{if("string"!==type)continue;name=$.quoteString(k)}"function"!==(type=typeof o[k])&&"undefined"!==type&&(val=$.toJSON(o[k]),pairs.push(name+":"+val))}return"{"+pairs.join(",")+"}"}}},$.evalJSON="object"==typeof JSON&&JSON.parse?JSON.parse:function(src){return eval("("+src+")")},$.secureEvalJSON="object"==typeof JSON&&JSON.parse?JSON.parse:function(src){var filtered=src.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(filtered))return eval("("+src+")");throw new SyntaxError("Error parsing JSON, source is not valid.")},$.quoteString=function(string){return string.match(escapeable)?'"'+string.replace(escapeable,function(a){var c=meta[a];return"string"==typeof c?c:(c=a.charCodeAt(),"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16))})+'"':'"'+string+'"'}})(jQuery); 15639}catch(e){WRMCB(e)}; 15640; 15641try { 15642/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:safe-ajax', location = '/includes/js/api/ajax.js' */ 15643define("confluence/api/ajax",["jquery"],function(a){var b={},e=a.ajax;a.ajaxSetup({converters:{"text json":function(c){return JSON.parse((c||"{}")+"")}}});b.ajax=function(c){if(c.data&&"object"===typeof c.data)return c.data.atl_token=a("#atlassian-token").attr("content"),e(c)};b.get=function(c,d,f,g){a.ajax=b.ajax;try{return a.get.apply(a,arguments)}finally{a.ajax=e}};b.getScript=function(c,d){return b.get(c,null,d,"script")};b.getJSON=function(c,d,f){return b.get(c,d,f,"json")};b.post=function(c, 15644d,f,g){a.ajax=b.ajax;try{return a.post.apply(a,arguments)}finally{a.ajax=e}};return b});require("confluence/module-exporter").exportModuleAsGlobal("confluence/api/ajax","AJS.safe",function(a){require("ajs").safeAjax=function(b){return a.ajax(b)}}); 15645}catch(e){WRMCB(e)}; 15646; 15647try { 15648/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:search-results-grid', location = '/includes/js/search-results-grid.js' */ 15649define("confluence/search-results-grid",["jquery","ajs"],function(f,b){return function(c,d,h,a){var e=d.results;if(e&&e.length){this.html(b.getTemplate("searchResultsGrid").toString());d.skipResultCount||(c=b.format(a.resultsCount,d.startIndex+1,d.startIndex+e.length,d.total,b.escapeEntities(c)),this.prepend(b.renderTemplate("searchResultsGridCount",b.html(c))));for(c=0;c<e.length;c++){a=e[c];d.convertFromRest&&(a={id:a.id,title:a.title,url:b.REST.findLink(a.link),type:a.type,spaceName:a.space?a.space.title: 15650"",spaceKey:a.space?a.space.key:"",friendlyDate:a.lastModifiedDate?a.lastModifiedDate.friendly:"",date:a.lastModifiedDate?a.lastModifiedDate.date:""});var g=f(b.renderTemplate("searchResultsGridRow",[a.title,a.url,a.type,a.spaceName,a.spaceKey,a.friendlyDate,a.date]));"attachment"==a.type&&a.id&&g.attr("data-attachment-id",a.id);g.selectableEffects(this,h.select,e[c]);this.find("table").append(g)}f(".search-result:first",this).click()}else d=b.format(a.noSearchResults,b.escapeEntities(c)),this.html("\x3cdiv class\x3d'no-results'\x3e"+ 15651d+"\x3c/div\x3e")}});require("confluence/module-exporter").safeRequire("confluence/search-results-grid",function(f){require("jquery").fn.searchResultsGrid=f}); 15652}catch(e){WRMCB(e)}; 15653; 15654try { 15655/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:atlassian-effects', location = '/includes/js/effects.js' */ 15656define("confluence/effects",["document"],function(b){return{setCookie:function(a,f,c,g,h,d,e,k){a=a+"\x3d"+escape(f);c&&(a+=";
15656 expires\x3d"+(new Date(c,g,h)).toGMTString());a=d?a+("; path\x3d"+escape(d)):a+"; path\x3d/";e&&(a+="; domain\x3d"+escape(e));k&&(a+="; secure");b.cookie=a},getCookie:function(a){return(a=b.cookie.match(a+"\x3d(.*?)(;|$)"))?unescape(a[1]):null},highlight:function(a){new Effect.Highlight(a,{endcolor:"#f0f0f0"})}}}); 15657require("confluence/module-exporter").safeRequire("confluence/effects",function(b){window.setCookie=b.setCookie;window.getCookie=b.getCookie;window.highlight=b.highlight}); 15658}catch(e){WRMCB(e)}; 15659; 15660try { 15661/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/master.js' */ 15662define("confluence/master",["confluence/effects","ajs","confluence/legacy","jquery"],function(c,h,f,d){return{init:function(b){b("#messageContainer").find(".confluence-messages").each(function(){var a=this;c.getCookie(a.id)||(b(a).show(),b(".message-close-button",a).click(function(){b(a).slideUp();c.setCookie(a.id,!0)}))})},selectableEffects:function(b,a,e){var g=d(this);e&&g.data("properties",e);g.click(function(l){var k=d(this);a&&a(this,k.data("properties"));b.find(".selected").removeClass("selected"); 15663k.addClass("selected");l.stopPropagation();return!1});g.hover(function(){d(this).addClass("hover")},function(){d(this).removeClass("hover")})},shortenUntil:function(b){for(var a=0;!b()&&a<this.length;){var e=d(this[a]).text();"â¦"===e?a++:d(this[a]).text(e.replace(/[^\u2026]\u2026?$/,"â¦"))}return this}}}); 15664require("confluence/module-exporter").safeRequire("confluence/master",function(c){var h=require("ajs"),f=require("jquery");h.toInit(c.init);f.fn.selectableEffects=c.selectableEffects;f.fn.shortenUntil=c.shortenUntil}); 15665}catch(e){WRMCB(e)}; 15666; 15667try { 15668/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/template-renderer.js' */ 15669define("confluence/template-renderer",["jquery","ajs","confluence/meta"],function(c,e,p){function h(a){a=new String(a);a.isHtml=!0;return a}function k(a){a=a||document;c("script",a).each(function(){"text/x-template"===this.type&&(g[this.title]=h(this.text))})}function l(a){var b=g[a];b||(b=c('script[title\x3d"'+a+'"]',document),0===b.length?b=null:(g[a]=h(b[0].text),b=g[a]));return b}function m(a){return null==a?a:a.isHtml?""+a:(""+a).replace(/[&<>'"]/g,function(b){return q[b]||b})}function r(a){var b= 15670arguments;return a.replace(/\{(\d+)\}/g,function(f,d){d=b[parseInt(d,10)+1];return null!=d?d:f})}function n(a,b){var f=p.get("static-resource-url-prefix");0!==a.indexOf("http")&&0!==a.indexOf(f)&&(a=f+a);c.ajax({url:a,data:{locale:e.params.userLocale},dataType:"html",success:function(d){d=c("\x3cdiv\x3e\x3c/div\x3e").append(d);k(d);b&&b()}})}var g={},q={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;","'":"\x26#39;",'"':"\x26quot;"};return{renderTemplate:function(a,b){if(!l(a))return"";c.isArray(b)|| 15671(b=Array.prototype.slice.call(arguments,1));for(var f=[l(a).toString()],d=0;d<b.length;d++)f.push(m(b[d]));return r.apply(this,f)},loadTemplatesFromUrl:n,loadWebResourceTemplates:function(a,b,f){return n("/download/resources/"+a+"/"+b,f)},escapeEntities:m,getTemplate:l,loadTemplateScripts:k,html:h,init:function(){k()}}}); 15672require("confluence/module-exporter").safeRequire("confluence/template-renderer",function(c){var e=require("ajs");e.renderTemplate=c.renderTemplate;e.loadTemplatesFromUrl=c.loadTemplatesFromUrl;e.loadWebResourceTemplates=c.loadWebResourceTemplates;e.escapeEntities=c.escapeEntities;e.getTemplate=c.getTemplate;e.loadTemplateScripts=c.loadTemplateScripts;e.html=c.html;e.toInit(c.init)}); 15673}catch(e){WRMCB(e)}; 15674; 15675try { 15676/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/menu.js' */ 15677define("confluence/menu","ajs jquery document window confluence/api/ajax confluence/flag".split(" "),function(f,a,q,u,z,A){var t={},v=function(e){a(e).closest(".ajs-menu-bar").find(".ajs-drop-down").each(function(h){this.hide()})},w=function(e){return a(e).closest(".ajs-menu-bar").hasClass("menu-bar-open")},x=function(e){a(e).closest(".ajs-menu-bar").addClass("menu-bar-open")},y=function(e){a(e).closest(".ajs-menu-bar").removeClass("menu-bar-open")};t.ajsMenu=function(e){e=e||{};a(".ajs-button",this).each(function(){var h= 15678a(this);h.find('a.aui-button[role\x3d"button"]').on("keypress",function(g){32===g.which&&(g.preventDefault(),a(this).click())});h.mouseover(function(){var g=this,c=w(g);v(g);if(c){var m=a(q),b=function(){y(g);return!1};m.unbind("click.menu");setTimeout(function(){m.one("click.menu",b)},1);x(g)}})});a(".ajs-menu-item",this).each(function(){a(this).ajsMenuItem(e)})};t.ajsMenuItem=function(e){e=e||{};var h=this,g=a(this),c=a(".ajs-drop-down",h);if(c.length){c=c[0];c.hidden=!0;c.focused=-1;c.hide=function(){if(!this.hidden){g.toggleClass("opened"); 156790===a(h.parentNode).find(".opened").length&&y(h);var b=a("a",this);a(this).toggleClass("assistive");this.hidden=!0;
15679a(q).unbind("click",this.fhide).unbind("keydown",this.fmovefocus).unbind("keypress",this.blocker);this.focused+1&&a(b[this.focused]).removeClass("active");this.focused=-1}};c.show=function(){if("undefined"===typeof this.hidden||this.hidden){var b=this,d=a(this);d.toggleClass("assistive");g.toggleClass("opened");x(h);this.hidden=!1;this.timer=setTimeout(function(){a(q).click(b.fhide)}, 156801);a(q).keydown(b.fmovefocus).keypress(b.blocker);var k=a("a",b);k.each(function(l){var n=this.parentNode.parentNode;a(this).hover(function(){n.focused+1&&a(k[n.focused].parentNode).removeClass("active");a(this.parentNode).addClass("active");n.focused=l},function(){n.focused+1&&a(k[n.focused].parentNode).removeClass("active");n.focused=-1})});var p=u.pageYOffset||q.documentElement.scrollTop,r=p+a(u).height();d.removeClass("above");!e.isFixedPosition&&d.offset().top+d.height()>r&&(d.addClass("above"), 15681d.offset().top<p&&d.removeClass("above"))}};c.isMenuBarOpened=function(){return w(c)};c.closeOthers=function(){v(c)};c.fmovefocus=function(b){c.movefocus(b)};c.fhide=function(b){c.hide(b);return 0<a(b.target).closest(".ajs-drop-down").length};c.blocker=function(b){b=b.which;if(40===b||38===b)return!1};c.movefocus=function(b){var d=b.which,k=this.getElementsByTagName("a"),p=this.focused,r=9===d;do{switch(d){case 40:case 9:b.shiftKey?this.focused--:this.focused++;break;case 38:this.focused--;break; 15682case 27:return this.hide(),!1;default:return!0}var l=0>this.focused||this.focused>k.length-1}while(!l&&a(k[this.focused].parentNode).hasClass("assistive"));if(r&&l)return-1!==p&&a(k[p].parentNode).removeClass("active"),this.focused=-1,this.hide(),!1;r||(0>this.focused?this.focused=k.length-1:this.focused>k.length-1&&(this.focused=0));0<=p&&a(k[p].parentNode).removeClass("active");k[this.focused].focus();a(k[this.focused].parentNode).addClass("active");b.stopPropagation();b.preventDefault();return!1}; 15683var m=a(".trigger",h);m.length&&(g.mouseover(function(){c.isMenuBarOpened()?c.hidden&&(v(c),c.show()):g.addClass("hover")}),g.mouseout(function(){c.isMenuBarOpened()||g.removeClass("hover")}),m.click(function(){if(c.hidden){m.parent("li").removeClass("hover");var b=0<a(".ajs-menu-bar.menu-bar-open").length;c.show();m.attr("aria-expanded",!0);return b}c.hide();m.parent("li").addClass("hover");m.attr("aria-expanded",!1);return!1}))}};t.initialiser=function(){a("#view-user-history-link").click(function(b){u.open(this.href, 15684(this.id+"-popupwindow").replace(/-/g,"_"),"width\x3d600, height\x3d400, scrollbars, resizable").opener=null;b.preventDefault();return!1});var e={close:"manual",type:"error",extraClasses:"confluence-menu-flag",fifo:!0,stack:"menu"},h,g=function(b){h&&h.close();h=new A(a.extend({},e,{body:b}))};const c=a("#page-favourite");c.attr("aria-pressed",c.hasClass("selected")).on("click keydown",function(b){var d=a(this),k=d.find(".aui-icon");if(d.hasClass("waiting"))return b.stopPropagation(),!1;if("keydown"!== 15685b.type||"Enter"===b.key||" "===b.key){d.addClass("waiting");var p=f.contextPath()+"/rest/experimental/relation/user/current/favourite/toContent/"+f.params.pageId,r=d.hasClass("selected")?"DELETE":"PUT";z.ajax({url:p,type:r,contentType:"application/json",data:{},success:function(){var l=d.hasClass("selected");d.toggleClass("selected ie-page-favourite-selected",!l);var n=l?"Save for later":"Remove";n+=" ("+"f"+ 15686")";var B=l?f.format("Save {0}f{1}or later","\x3cu\x3e","\x3c/u\x3e"):f.format("Saved {0}f{1}or later","\x3cu\x3e","\x3c/u\x3e");d.children("span").empty().append(k).append(" ").append(B);d.attr("title",n);d.attr("aria-pressed",!l);k.toggleClass("aui-iconfont-unstar",l);k.toggleClass("aui-iconfont-star",!l);d.removeClass("waiting");"click"===b.type&&d.blur();f.trigger("analytics",{name:"confluence.page.page-menu."+(l?"favourite":"unfavourite")})},error:function(l){switch(l.status){case 403:g("You are not permitted to perform this operation."); 15687break;case 405:"READ_ONLY"===JSON.parse(l.responseText).reason?g("This site is read-only. You can\u0027t make changes right now."):g("An unknown server error has occurred.");break;default:g("An unknown server error has occurred.")}d.removeClass("waiting");"click"===b.type&&d.blur()}});b.stopPropagation();return!1}});var m=a("#action-menu-link");m.length&&m.next().addClass("most-right-menu-item");a("#action-menu").on({"aui-dropdown2-show":function(){a(this).css({right:function(){return a(u).width()-m.offset().left- 15688m.outerWidth(!0)-1}
15688,left:"auto"})},focus:function(){var b=a(this).find('li[role\x3d"presentation"] a')[0];b&&b.focus()}});a(".ajs-menu-bar").ajsMenu({isFixedPosition:!0})};t.ieHack=function(){a("#header-menu-bar .ajs-menu-item").each(function(){var e=a(this),h=a(".ajs-drop-down",this);e=e.width();e>h.width()&&(h.width(e.valueOf()+50),f.log("Dropdown width override occurred"))});a("#user-menu-link-content .user-item").on("click",function(e){f.trigger("analyticsEvent",{name:"user-menu-item.clicked", 15689data:{id:a(this).attr("id")}})});a("#user-menu-link-content").on({"aui-dropdown2-show":function(){f.trigger("analyticsEvent",{name:"confluence.user-menu.show"})},"aui-dropdown2-hide":function(){f.trigger("analyticsEvent",{name:"confluence.user-menu.hide"})}})};return t});require("confluence/module-exporter").safeRequire("confluence/menu",function(f){var a=require("jquery"),q=require("ajs");a.fn.ajsMenu=f.ajsMenu;a.fn.ajsMenuItem=f.ajsMenuItem;q.toInit(f.initialiser);q.toInit(f.ieHack)}); 15690}catch(e){WRMCB(e)}; 15691; 15692try { 15693/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/third-party/jquery.simpleScrollTo-1.0.js' */ 15694jQuery.fn.simpleScrollTo=function(a){var c=jQuery,b=c(this[0]),d=c(a).position().top;a=d+c(a).outerHeight()-b.outerHeight();0>d?b.scrollTop(b.scrollTop()+d):0<a&&b.scrollTop(b.scrollTop()+a);return this}; 15695}catch(e){WRMCB(e)}; 15696; 15697try { 15698/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/websudo.js' */ 15699define("confluence/websudo",["jquery","ajs"],function(a,b){return function(){a("a#websudo-drop.drop-non-websudo").click(function(){a.getJSON(a(this).attr("href"),function(){a("li#confluence-message-websudo-message").slideUp(function(){b.trigger("confluence.header-resized")})});return!1})}});require("confluence/module-exporter").safeRequire("confluence/websudo",function(a){require("ajs").toInit(a)}); 15700}catch(e){WRMCB(e)}; 15701; 15702try { 15703/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/third-party/jquery.cookie.js' */ 15704jQuery.cookie=function(name,value,options){if(void 0===value){var cookieValue=null;if(document.cookie&&""!=document.cookie)for(var cookies=document.cookie.split(";"),i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==name+"="){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}return cookieValue}options=options||{},null===value&&(value="",options.expires=-1);var date,expires="";options.expires&&("number"==typeof options.expires||options.expires.toUTCString)&&("number"==typeof options.expires?(date=new Date).setTime(date.getTime()+24*options.expires*60*60*1e3):date=options.expires,expires="; expires="+date.toUTCString());var path=options.path?"; path="+options.path:"",domain=options.domain?"; domain="+options.domain:"",secure=options.secure?"; secure":"";document.cookie=[name,"=",encodeURIComponent(value),expires,path,domain,secure].join("")}; 15705}catch(e){WRMCB(e)}; 15706; 15707try { 15708/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:breadcrumbs', location = '/includes/js/breadcrumbs.js' */ 15709define("confluence/breadcrumbs",["jquery","ajs","document","confluence/templates"],function(a,d,g,f){return{init:function(){a("#ellipsis").one("click keypress",function(b){try{if("click"===b.type||"keypress"===b.type&&(32===b.keyCode||13===b.keyCode))a("#breadcrumbs .hidden-crumb").removeClass("hidden-crumb"),a(this).addClass("hidden-crumb"),d.trigger("breadcrumbs.expanded"),a("#breadcrumbs li").eq(2).find("span a").focus()}catch(e){d.log(e)}})},update:function(b,e){a.ajax({type:"GET",dataType:"json", 15710data:{spaceKey:b,title:e},url:d.contextPath()+"/pages/breadcrumb.action",error:function(){},success:function(c){c&&c.breadcrumbs&&a("ol#breadcrumbs").html(f.Breadcrumbs.render({breadcrumbs:c.breadcrumbs,ellipsisIndex:c.ellipsisIndex,ellipsisLength:c.ellipsisLength}))}})}}});require("confluence/module-exporter").safeRequire("confluence/breadcrumbs",function(a){require("ajs").toInit(a.init)}); 15711}catch(e){WRMCB(e)}; 15712; 15713try { 15714/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:breadcrumbs', location = '/includes/soy/breadcrumbs.soy' */ 15715// This file was automatically generated from breadcrumbs.soy. 15716// Please don't edit this file by hand. 15717 15718/** 15719 * @fileoverview Templates in namespace Confluence.Templates.Breadcrumbs. 15720 */ 15721 15722if (typeof Confluence == 'undefined') { var Confluence = {}; } 15723if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15724if (typeof Confluence.Templates.Breadcrumbs == 'undefined') { Confluence.Templates.Breadcrumbs = {}; } 15725 15726 15727Confluence.Templates.Breadcrumbs.render = function(opt_data, opt_ignored) { 15728 var output = ''; 15729 var breadcrumbList3 = opt_data.breadcrumbs; 15730 var breadcrumbListLen3 = breadcrumbList3.length; 15731 for (var breadcrumbIndex3 = 0; breadcrumbIndex3 < breadcrumbListLen3; breadcrumbIndex3++) { 15732 var breadcrumbData3 = breadcrumbList3[breadcrumbIndex3]; 15733 output += ((breadcrumbIndex3 == opt_data.ellipsisIndex) ? '<li id="ellipsis" title="Show all breadcrumbs"><span><strong>\u2026</strong></span></li>' : '') + '<li class="' + ((breadcrumbIndex3 == 0) ? 'first' : '') + ((breadcrumbIndex3 >= opt_data.ellipsisIndex && breadcrumbIndex3 < opt_data.ellipsisIndex + opt_data.ellipsisLength) ? 'hidden-crumb' : '') + '"><span><a href="' + soy.$$escapeHtml(breadcrumbData3.url) + '" target="_blank"> ' + soy.$$escapeHtml(breadcrumbData3.title) + '</a></span></li>'; 15734 } 15735 return output; 15736}; 15737if (goog.DEBUG) { 15738 Confluence.Templates.Breadcrumbs.render.soyTemplateName = 'Confluence.Templates.Breadcrumbs.render'; 15739} 15740 15741}catch(e){WRMCB(e)}; 15742; 15743try { 15744/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:contentnamesearch', location = '/includes/js/contentnamesearch.js' */ 15745define("confluence/contentnamesearch",["jquery","ajs","confluence/dropdown"],function(a,e,f){return function(){(function(){a("#quick-search").on("click","div.quick-search-dropdown li",function(b){var c=a(this),d=a(b.target);d.is("a")&&1===d.parent().children("a").index(d)&&void 0===b.originalEvent||(b=c.children("a:first").attr("class"),c=c.index("div.quick-search-dropdown li"),e.trigger("analytics",{name:"quicknav-click-"+b,data:{index:c}}
15745))});a("#quick-search").on("submit",function(){var b={name:"quicknav-hit-enter", 15746data:{results:a("div.quick-search-dropdown li").length}};e.trigger("analytics",b)})})();(function(){a("#quick-search").on({"quick-search-loading-start":function(){a(this).spin({className:"quick-search-spinner"}).addClass("quick-search-loading");a(".quick-search-spinner").css("left",a(this).outerWidth()-35+"px")},"quick-search-loading-stop":function(){a(this).spinStop().removeClass("quick-search-loading")}})})();(function(){a("#quick-search").on("keydown",function(b){var c=f.current&&-1!==f.current.getFocusIndex(); 1574713!==b.which||!b.metaKey&&!b.ctrlKey||c||(b=a(this),b.attr("target","_blank"),b.submit(),b.attr("target",""))})})()}});require("confluence/module-exporter").safeRequire("confluence/contentnamesearch",function(a){require("ajs").toInit(a)}); 15748}catch(e){WRMCB(e)}; 15749; 15750try { 15751/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.label', location = 'aui.chunk.6de04e7034fa0f93--ddec972bf1ce5e5a.js' */ 15752"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6699"],{3018(u,i,n){n.r(i)}},function(u){u.O(0,["5262","8976","9284"],function(){return u(u.s=3018)}),u.O()}]); 15753}catch(e){WRMCB(e)}; 15754; 15755try { 15756/* module-key = 'com.atlassian.confluence.plugins.confluence-labels:labels-resources', location = 'com/atlassian/confluence/plugins/labels/labels.js' */ 15757define("confluence-labels/labels/labels","ajs confluence/legacy window document jquery confluence/message-controller confluence/api/event".split(" "),function(d,q,x,y,b,z,r){var m,s=function(a,e){if(!a||!e)var c=b("#dialog-label-list"),a=c.attr("entityid"),e=c.attr("entitytype");return!a||!e?b(k.labelView):b(".labels-section-content").filter(function(){return this.getAttribute("entityid")===a&&this.getAttribute("entitytype")===e}).find(k.labelView)};d.bind("init.rte-control",function(){var a=0;if(d.Meta.get("num-labels"))a= 15758d.Meta.get("num-labels");else if(b("#createPageLabelsString").val())a=b.trim(b("#createPageLabelsString").val()).split(/\s+/).length;if(a!==0){d.Meta.set("num-labels",a);b("#rte-button-labels").trigger("updateLabel")}});var A=function(a){a=b.trim(a);if(!a)return[];var e=[],c=(new Date).getTime();b(a.split(/\s+/)).each(function(a,b){var h=b.split(":"),i,d=h[0];if(h.length===2){i=h[0];d=h[1]}e.push({name:d,prefix:i,id:c});c++});return e},k={labelView:".label-list",labelItem:".aui-label",noLabelsMessage:".no-labels-message", 15759idAttribute:"data-label-id",labelsFormFieldId:d.Meta.get("labels-form-field-id")||"createPageLabelsString"},B=d.contextPath(),o={base:B+"/rest/ui/1.0/",getRestEndPoint:function(a){return this.base+(a==="attachment"||a==="template"||a==="space"?a+"/":"content/")},index:B+"/labels/autocompletelabel.action?maxResults=3",validate:function(){return this.getRestEndPoint()+"labels/validate"},add:function(a,b){return this.getRestEndPoint(a)+b+"/labels"},remove:function(a,b,c){return this.getRestEndPoint(a)+ 15760b+"/label/"+c},list:function(a,b){return this.getRestEndPoint(a)+b+"/labels"}},t=function(a){var d=b("#"+k.labelsFormFieldId);d.length&&d.val(a)},u=function(){var a=b("#"+k.labelsFormFieldId);return a.length?a.val():""},v=function(){return b(".space-administration").length},l=function(a){return a==="0"||!!y.getElementById("createpagetemplate")},C=function(a){p();if(a&&a.promise){a.always([D,E]);a.done(function(a,c){d.Meta.set("num-labels",s().first().find(k.labelItem).length);b("#rte-button-labels").trigger("updateLabel"); 15761var g=c.not(".editable");c.find(".aui-label").length===0?g.find(".labels-edit-container").before(q.Templates.Labels.nolabels()):g.find(".no-labels-message").remove()})}return a},E=function(){b("#labels-string, #add-labels-editor-button").prop("disabled",false).removeAttr("aria-disabled")},D=function(){b("#labels-string").val("")},p=function(a){a=a||null;b("#label-operation-error-message").empty().toggle(!!a);d.messages.error("#label-operation-error-message",{body:a})};b(y).on("click keydown",".label-list.editable .aui-icon-close", 15762function(a){if(!a.key||!(a.key!==" "&&a.key!=="Enter")){a.preventDefault();a=b("#dialog-label-list");m.removeLabel(b(this).closest("li"),a.attr("entityid"),a.attr("entitytype"))}});d.toInit(function(){if(v()){m.bindAutocomplete();b(".label-list").addClass("editable")}});d.bind("editor-heartbeat",function(a,e){if(typeof e.labelsHash!=="undefined"){var c=b("#rte-button-labels");if(c.data("labelsHash")!==e.labelsHash){var g=d.Meta.get("content-type"),f=q.Editor.Drafts.isNewContent()?d.Meta.get("draft-id"): 15763d.Meta.get("page-id");l(f)||b.ajax({url:o.list(g,f),cache:false,success:function(a){d.Meta.set("num-labels",a.labels.length);b("#rte-button-labels").trigger("updateLabel");m.updateDialogLabelList(a.labels)},error:function(a,b){d.logError(b)}});c.data("labelsHash",e.labelsHash)}}});return m={addLabel:function(a,e,c){if(a){b("#labels-string, #add-labels-editor-button").attr({disabled:"disabled","aria-disabled":true});if(l(e)){var a=(u()+" "+a).split(/\s+/),g=[];b.each(a,function(a,c){b.inArray(c,g)=== 15764-1&&g.push(c)});a=g.join(" ")}var a={url:l(e)?o.validate():o.add(c,e),type:"POST",dataType:"json",contentType:"application/json",data:JSON.stringify(A(a))},f=b.Deferred(),a=b.ajax(a);a.done(function(a){var g=b("#dialog-label-list").find(".label-list"),a=a.labels,j,w=[];b.each(a,function(a,b){b.prefix&&b.prefix!=="global"?w.push(b.prefix+":"+b.name):w.push(b.name)});j=w.join(" ");if(l()){var F=(new Date).getTime();b.each(a,function(a,b){b.id=F++})}
15764t(j);m.updateDialogLabelList(a);j=d.Meta.get("space-key"); 15765var n=s(e,c).not(".editable");if(n.length){n.find("li.aui-label").remove();n.find("li.labels-edit-container").before(q.Templates.Labels.dialogLabels({labels:a,spaceKey:j}))}f.resolve(a,n.add(g))});a.fail(function(a,b){var c;if(b==="timeout")c="Connecting to the server timed out, you\u0027ll need to try again";else if(a.status===405)c=z.parseError(a);else try{c=JSON.parse(a.responseText).message}catch(g){c=b;d.log("Unexpected error when adding labels: "+g.message)}d.log("Failed to add labels: "+c);d.log("Failed to add labels xhr: "+a.responseText); 15766p(c);f.reject(b)});a=f.promise()}else a=b.Deferred().reject();return C(a)},removeLabel:function(a,e,c){var g=a,f=e,h=c;if(g){g=g.jquery?g:b(g);if(v()){f=d.Meta.get("space-key");h="space"}r.trigger("confluence.label.remove.started");var i=g.attr(k.idAttribute),j=b.Deferred();if(l(f)){a=b.Deferred();a.resolve()}else{a={url:o.remove(h,f,i),type:"DELETE",dataType:"json",contentType:"application/json",data:{}};a=b.ajax(a)}a.done(function(){var a=v()?b("#space-categories-list"):s(f,h),c=a.find(k.labelItem).filter("["+ 15767k.idAttribute+"='"+i+"']");c.fadeOut("normal",function(){c.remove();j.resolve(g,a);r.trigger("confluence.label.remove.succeeded")});var d=b.trim(g.find("a").text()),e=u().split(/\s+/),e=b.grep(e,function(a){return a&&a!==d});t(e.join(" "))});a.fail(function(a,b){var c;c=b==="timeout"?"Connecting to the server timed out, you\u0027ll need to try again":z.parseError(a,b);d.log("Failed to remove label: "+c);d.log("Failed to remove label xhr: "+a.responseText);p(c);j.reject(b);r.trigger("confluence.label.remove.failed")});a=j.promise()}else a= 15768false;return C(a)},bindAutocomplete:function(){var a=b("#labels-string"),e=a.parents("#add-labels-form").length;if(a.length){b(x).bind("quicksearch.ajax-success",function(a,b){if(b.url==="/labels/autocompletelabel.action?maxResults=3"){m.queryTokens=b.json&&b.json.queryTokens||[];return false}});b(x).bind("quicksearch.ajax-error",function(a,b){if(b.url=="/labels/autocompletelabel.action?maxResults=3"){m.queryTokens=[];return false}});a.quicksearch("/labels/autocompletelabel.action?maxResults=3",function(){if(!b("#labels-autocomplete-list").find(".label-suggestion").length|| 15769a.val()==="")this.hide();else if(!e)for(var c=b("#labels-autocomplete-list").find("a.label-suggestion"),d=0;d<c.length;d++)c.get(d).href="#"},{makeParams:function(a){return{query:a,contentId:d.params.pageId||""}},dropdownPlacement:function(a){b("#labels-autocomplete-list").append(a)},ajsDropDownOptions:{selectionHandler:function(c,d){if(d.find("a.label-suggestion").length){var f=b("span",d),f=b.data(f[0],"properties"),h=a.val(),i=[];if(e){i=h.split(/\s+/);i[i.length-1]=f.name;a.val(i.join(" "))}else{for(var j= 15770m.queryTokens,i=-1,k,l="",n=0,o=j.length;n<o;n++){l=j[n];k=h.lastIndexOf(l);k>i&&(i=k)}if(i!==-1){j=h.substr(0,i);(h=h.substr(i+l.length).match(/^\s+/))&&(j=j+h[0]);a.val(j+f.name)}else a.val(f.name)}}this.hide();c.preventDefault();a.focus()}}})}},labelsAreNotPersisted:l,routes:o,setLabelError:p,parseLabelStringToArray:A,getLabelLink:function(a,b){var c="/label/";a!==null&&(a!==void 0&&a!=="")&&(c=c+(a+"/"));var d=encodeURI;var f=b.prefix,h=b.name;return d(c+(f==="global"||f==="team"||f===void 0|| 15771f===""||f===null?h:f+":"+h))},setLabelsInputField:t,getLabelsInputField:u}});require("confluence/module-exporter").exportModuleAsGlobal("confluence-labels/labels/labels","AJS.Labels"); 15772}catch(e){WRMCB(e)}; 15773; 15774try { 15775/* module-key = 'com.atlassian.confluence.plugins.confluence-labels:labels-editor', location = 'com/atlassian/confluence/plugins/labels/dialog/labels-dialog.soy' */ 15776// This file was automatically generated from labels-dialog.soy. 15777// Please don't edit this file by hand. 15778 15779/** 15780 * @fileoverview Templates in namespace Confluence.Templates.Labels. 15781 */ 15782 15783if (typeof Confluence == 'undefined') { var Confluence = {}; } 15784if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15785if (typeof Confluence.Templates.Labels == 'undefined') { Confluence.Templates.Labels = {}; } 15786 15787 15788Confluence.Templates.Labels.helpLink = function(opt_data, opt_ignored) { 15789 return '' + Confluence.Templates.Dialog.helpLink({href: "https://docs.atlassian.com/confluence/docs-102/Add%2C+Remove+and+Search+for+Labels"}); 15790}; 15791if (goog.DEBUG) { 15792 Confluence.Templates.Labels.helpLink.soyTemplateName = 'Confluence.Templates.Labels.helpLink'; 15793} 15794 15795 15796Confluence.Templates.Labels.dialog = function(opt_data, opt_ignored) { 15797 return '<div id="labels-dialog"><form id="add-labels-form" method="GET" action="" class="aui"><div id="label-operation-error-container"><div id="label-operation-error-message" class="error-message" ></div></div><div id="label-input-fields"><input id="labels-string" autocomplete="off" name="labels-string" value="labels-string" class="text" aria-label="' + soy.$$escapeHtml('Please enter a label.') + '"><input id="add-labels-editor-button" type="submit" class="add-labels aui-button" value="' + soy.$$escapeHtml('Add') + '"></div><div id="labels-autocomplete-list" class="aui-dd-parent resize-to-input"></div><div id="dialog-label-list" class="labels-section-content"><!-- DIV placeholder for labels list, is copied into in labels-dialog.js --></div><div class="labels-tip"></div></form></div>'; 15798}; 15799if (goog.DEBUG) { 15800 Confluence.Templates.Labels.dialog.soyTemplateName = 'Confluence.Templates.Labels.dialog'; 15801} 15802 15803 15804Confluence.Templates.Labels.nolabels = function(opt_data, opt_ignored) { 15805 return '<li class="no-labels-message">' + soy.$$escapeHtml('No labels') + '</li>'; 15806}; 15807if (goog.DEBUG) { 15808 Confluence.Templates.Labels.nolabels.soyTemplateName = 'Confluence.Templates.Labels.nolabels'; 15809} 15810 15811 15812Confluence.Templates.Labels.dialogLabelList = function(opt_data, opt_ignored) { 15813 return '<ul class="label-list editable">' + Confluence.Templates.Labels.dialogLabels(opt_data) + '</ul>'; 15814}; 15815if (goog.DEBUG) { 15816 Confluence.Templates.Labels.dialogLabelList.soyTemplateName = 'Confluence.Templates.Labels.dialogLabelList'; 15817} 15818 15819 15820Confluence.Templates.Labels.dialogLabels = function(opt_data, opt_ignored) { 15821 var output = ''; 15822 var labelList20 = opt_data.labels; 15823 var labelListLen20 = labelList20.length; 15824 for (var labelIndex20 = 0; labelIndex20 < labelListLen20; labelIndex20++) { 15825 var labelData20 = labelList20[labelIndex20]; 15826 output += '<li class="aui-label' + ((opt_data.editable) ? ' aui-label-closeable aui-label-split' : '') + '" data-label-id="' + soy.$$escapeHtml(labelData20.id) + '"><a class="aui-label-split-main" href="' + soy.$$escapeHtml("") + soy.$$escapeHtml(labelData20.link) + '" rel="tag nofollow" id="label-' + soy.$$escapeHtml(labelData20.id) + '" >' + ((! labelData20.prefix || labelData20.prefix == 'global' || labelData20.prefix == 'team') ? soy.$$escapeHtml(labelData20.name) : soy.$$escapeHtml(labelData20.prefix) + ':' + soy.$$escapeHtml(labelData20.name)) + '</a>' + ((opt_data.editable) ? '<span class="aui-label-split-close"><span role="button" tabindex="0" class="aui-icon aui-icon-close" title="' + soy.$$escapeHtml('Delete Label') + '" original-title="' + soy.$$escapeHtml('Delete Label') + '" id="remove-btn-' + soy.$$escapeHtml(labelData20.id) + '" aria-labelledby="remove-btn-' + soy.$$escapeHtml(labelData20.id) + ' label-' + soy.$$escapeHtml(labelData20.id) + '" >' + soy.$$escapeHtml('Delete Label') + '</span></span>' : '') + '</li>'; 15827 } 15828 return output; 15829}; 15830if (goog.DEBUG) { 15831 Confluence.Templates.Labels.dialogLabels.soyTemplateName = 'Confluence.Templates.Labels.dialogLabels'; 15832} 15833 15834}catch(e){WRMCB(e)}; 15835; 15836try { 15837/* module-key = 'com.atlassian.confluence.plugins.confluence-labels:labels-editor', location = 'com/atlassian/confluence/plugins/labels/dialog/labels-dialog.js' */ 15838define("confluence-labels/labels/dialog/labels-dialog","confluence/templates ajs confluence-labels/labels/labels confluence/meta confluence/legacy jquery confluence/api/event".split(" "),function(d,c,e,i,p,b,k){if(d.Labels){var g={},f=null,l=function(){b("#"+f.id).find(".label-list").removeClass("editable");f.hide();b("#labels-section .labels-edit-container .show-labels-editor").focus();b("#rte-button-labels").focus();return false};g.bindOpenDialog=function(e){e.click(function(a){a.preventDefault(); 15839a=b(a.target).closest(".labels-section-content");a.length?g.openDialog(a):g.openDialog()})};g.openDialog=function(h){var a,m,j;if(!f){f=c.ConfluenceDialog({width:600,height:250,id:"edit-labels-dialog",onCancel:l});f.addHeader("Labels");
15839f.addPanel("Label Editor",d.Labels.dialog());f.addCancel("Close",l);f.addHelpText(c.format("Shortcut tip: In page view, pressing \u003cb\u003e{0}\u003c/b\u003e also opens this dialog box","l"));f.popup.element.find(".dialog-title").prepend(d.Labels.helpLink());b("#add-labels-form").submit(function(a){var d= 15840b("#labels-string");a.preventDefault();a=b("#dialog-label-list");k.trigger("confluence.label.add.started");e.addLabel(d.val(),a.attr("entityid"),a.attr("entitytype")).always(function(){k.trigger("confluence.label.add.succeeded");b("#labels-autocomplete-list").find(".aui-dropdown").addClass("hidden");d.focus()})});e.bindAutocomplete()}if(h){a=h.attr("entityid");h=h.attr("entitytype")}else{h=i.get("content-type");a=p.Editor.Drafts.isNewContent()?i.get("draft-id"):i.get("page-id")}m=e.routes.list(h, 15841a);j=b("#dialog-label-list");j.attr("entityid",a);j.attr("entitytype",h);var n=function(){f.show();b("#labels-string").val("").focus();c.trigger("labels.dialog.open")},o=function(a){g.updateDialogLabelList(a.labels);i.set("num-labels",a.labels.length);b("#rte-button-labels").trigger("updateLabel");n()};if(e.labelsAreNotPersisted(a)){a=e.getLabelsInputField();a=e.parseLabelStringToArray(a);o({labels:a})}else b.ajax({url:m,cache:false,success:function(a){var d=[];b.each(a.labels,function(a,b){d.push(b.name)}); 15842e.setLabelsInputField(d.join(" "));o(a)},error:function(){e.setLabelError("Unable to fetch current labels from the server.");n()}});b("#dialog-label-list").attr("data-ready","true")};g.updateDialogLabelList=function(c){var a=b("#dialog-label-list");if(a.length){b.each(c,function(a,b){b.link=e.getLabelLink(i.get("space-key"),b)});a.html(d.Labels.dialogLabelList({labels:c,editable:true}))}};return g}}); 15843require("confluence/module-exporter").safeRequire("confluence-labels/labels/dialog/labels-dialog",function(d){var c=require("ajs");c.Labels.bindOpenDialog=d.bindOpenDialog;c.Labels.openDialog=d.openDialog;c.Labels.updateDialogLabelList=d.updateDialogLabelList;c.toInit(function(e){e(document).on("click","#rte-button-labels",function(){d.openDialog()});e(".show-labels-editor").click(function(c){c.preventDefault();c=e(c.target).closest(".labels-section-content");d.openDialog(c)})})}); 15844}catch(e){WRMCB(e)}; 15845; 15846try { 15847/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:dom-filter-field', location = '/includes/js/dom-filter-field.js' */ 15848define("confluence/dom-filter-field",["ajs","confluence/legacy","jquery"],function(k,p,e){return function(b){function l(){g=e(b.items)}function h(){return e.trim(c.filter(":not(.blank-search)").val())}function m(){b.searcher(g,h());b.postSearch(g.filter(":visible"))}var f={items:null,matcher:function(a,d){return-1<a.text().toLowerCase().indexOf(d)},searcher:function(a,d){""!==d?(d=d.toLowerCase(),a.each(function(){var n=e(this),q=b.matcher(n,d);n.toggleClass("hidden",!q)})):a.removeClass("hidden")}, 15849postSearch:function(a){},placeholderText:"Search macros",ariaLabelText:"Search macros",submitCallback:function(a,d){k.debug("Confluence.DomFilterField submitted with "+a.length+" item(s) for search text \x3e"+d+"\x3c")}};b=e.extend(f,b);var g;l();f=e(p.Templates.DomFilterField.form());var c=f.find("input");c.attr("placeholder",b.placeholderText);c.attr("aria-label",b.ariaLabelText);c.keyup(function(a){m();a.stopPropagation();return!1}).keyup(function(a){a.stopPropagation(); 15850return!1}).focus(function(a){c.hasClass("blank-search")&&c.removeClass("blank-search");a.target.select()}).blur(function(){""===h()&&c.addClass("blank-search")}).blur();b.formId&&f.attr("id",b.formId);b.inputId&&c.attr("id",b.inputId);f.submit(function(a){a.stopPropagation();a=g.filter(":visible");a.length&&b.submitCallback(a,h());return!1});return{form:f,reset:function(){""!==h()&&(c.val("").blur(),b.searcher(g,""))},refreshItems:l,filter:m,focus:function(){c.focus()},focusAndSearch:function(a){a= 15851e.trim(a);c.val(a).keyup();a&&c.removeClass("blank-search");c.focus()}}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/dom-filter-field","Confluence.DomFilterField"); 15852}catch(e){WRMCB(e)}; 15853; 15854try { 15855/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:dom-filter-field', location = '/includes/soy/dom-filter-field.soy' */ 15856// This file was automatically generated from dom-filter-field.soy. 15857// Please don't edit this file by hand. 15858 15859/** 15860 * @fileoverview Templates in namespace Confluence.Templates.DomFilterField. 15861 */ 15862 15863if (typeof Confluence == 'undefined') { var Confluence = {}; } 15864if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15865if (typeof Confluence.Templates.DomFilterField == 'undefined') { Confluence.Templates.DomFilterField = {}; } 15866 15867 15868Confluence.Templates.DomFilterField.form = function(opt_data, opt_ignored) { 15869 return '<form class="aui dom-filter-field-form"><input type="text" class="text"/></form>'; 15870}; 15871if (goog.DEBUG) { 15872 Confluence.Templates.DomFilterField.form.soyTemplateName = 'Confluence.Templates.DomFilterField.form'; 15873} 15874 15875}catch(e){WRMCB(e)}; 15876; 15877try { 15878/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.323af25294', location = 'aui.chunk.77532ea3e4ec8489--187a26d3d54ad0db.js' */ 15879"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3247"],{3117(t,i,n){n.r(i);var u=n(3349),e=n(3067),s=n(2221),a=n(7640);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
15879id to call busy() on an input button."):(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.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")}}]); 15880}catch(e){WRMCB(e)}; 15881; 15882try { 15883/* module-key = 'com.atlassian.auiplugin:split_aui.component.button', location = 'aui.chunk.9691abed573bb043--c7d9707e7b977d4c.js' */ 15884"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4050"],{8380(u,i,n){n.r(i),n(6539),n(3117)}},function(u){u.O(0,["1580","1925","1935","2883","3247","3590","3662","3925","3944","4694","5262","5889","7402","8976","9274","9284"],function(){return u(u.s=8380)}),u.O()}]); 15885}catch(e){WRMCB(e)}; 15886; 15887try { 15888/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/loader.js' */ 15889AJS.toInit(function(c){function t(a){var b=a.target;c(b).prop("disabled")?a.preventDefault():(a.ctrlKey||a.shiftKey||a.metaKey||a.button&&1===a.button||(b.busy(),c(b).prop("disabled",!0),c(f).prop("disabled",!0)),AJS.trigger("analytics",{name:"confluence.quick.create.blank.click"}))}function u(a){if(-1==window.location.href.indexOf("src\x3dquick-create"))a.on("click",function(){l()});else c.getJSON(AJS.contextPath()+"/rest/create-dialog/1.0/storage/quick-create",function(b){b.isExist||v(a)})}function v(a){var b= 15890new AJS.InlineDialog(c("#create-page-button"),"discoveryTooltip",function(g,h,e){g.html(Confluence.Quick.Create.discoveryTooltip());e();AJS.trigger("analytics",{name:"confluence.quick.create.discovery.open"})},{gravity:"s",width:270,noBind:!0,persistent:!0});b.show();c(document).off("click","#closeDisDialog").on("click","#closeDisDialog",function(){AJS.trigger("analytics",{name:"confluence.quick.create.discovery.close"});b.hide();l()});a.on("click",function(){b.hide();l()})}function l(){c.ajax({url:AJS.contextPath()+ 15891"/rest/create-dialog/1.0/storage/quick-create",type:"PUT"})}Confluence.Blueprint=Confluence.Blueprint||{};var p=!1,k,m=AJS.Meta.get("space-key");Confluence.Blueprint.Dialog=Confluence.Dialogs.CreateDialogBase({dialogId:"create-dialog",webItemsPath:"/rest/create-dialog/1.0/blueprints/web-items",helpLinkTemplate:Confluence.Templates.Blueprints.helpLink,headingText:"Create"});Confluence.Blueprint.loadDialog=function(a){var b=AJS.$.Deferred(); 15892k&&(a=AJS.$.extend(a,{errorMessage:k}));if(p)b.resolve(Confluence.Blueprint.Dialog.openDialog(a));else{var g=Confluence.Blueprint.Dialog.openDialog(a);var h=WRM.require("wrc!create-content"),e=AJS.$.Deferred();Confluence.Blueprint.Dialog.requestSpaces().done(function(){var d=Confluence.Blueprint.Dialog.loadedSpaces;Confluence.Blueprint.Dialog.requestWebItems((d.promotedSpaces.spaces[0]||d.otherSpaces.space
15892s[0]).id).done(function(){e.resolve()}).fail(function(q){e.resolve(q)})}).fail(function(d){e.resolve(d)}); 15893AJS.$.when(e.promise(),h).done(function(d){AJS.trigger("blueprint.wizard-register.load");Confluence.Dialogs.LocationPanel(Confluence.Blueprint.Dialog);a=AJS.$.extend(a,{createDialog:g,dialogBase:Confluence.Blueprint.Dialog});if(d)try{"READ_ONLY"===JSON.parse(d.responseText).errorType&&(k="This site is read-only. You can\u0027t make changes right now.")}catch(q){k="An unknown server error has occurred."}finally{a=AJS.$.extend(a,{errorMessage:k})}p=!0;b.resolve(Confluence.Blueprint.Dialog.openDialog(a))}).fail(function(){AJS.log("Could not load resources for create dialog.")})}return b.promise()}; 15894var r=!1;AJS.bind("blueprint.wizard-register.load",function(){r||(AJS.trigger("blueprint.wizard-register.ready"),r=!0)});var f=c("#create-page-button:visible"),n=!1;f.length&&(f.click(function(a){n?(n=!1,a=(a=c(a.target).closest("a").attr("href"))&&-1!=a.indexOf("createpage.action")?!1:!0):a=!0;if(a)return AJS.trigger("analytics",{name:"confluence.quick.create.dialog.open"}),Confluence.Blueprint.loadDialog({triggerSrc:"create-page"}),!1}).mousedown(function(a){var b=a.which||a.button;if(c.browser.mozilla&& 158952==b||3==b)b=0;n=0!==b&&1!==b||a.ctrlKey||a.altKey||a.shiftKey||a.metaKey}),function(a){var b=AJS.Meta.get("content-type"),g=AJS.Meta.get("content-id")||AJS.Meta.get("page-id"),h=AJS.contextPath()+"/pages/createpage.action?\x26atl_token\x3d"+AJS.Meta.get("atl-token");m?(b="page"==b?h+c.param({spaceKey:m,fromPageId:g}):h+c.param({spaceKey:m}),a.attr("href",b)):a.attr("href","#")}(f),c(document).on("click",".create-child-page-link",function(){Confluence.Blueprint.loadDialog({location:"child-page"}); 15896return!1}),c("#addPageLink, #addBlogLink, .acs-pagetree-create-link").hide(),function(a){var b=c("#quick-create-page-button");b.length?b.is(":visible")&&(u(a),b.on("click",t)):a.text("Create").removeClass("clc-create-dialog-btn").find("span").removeClass()}(f),function(){var a=window.location.pathname;-1<a.indexOf("/draft-createpage.action")?AJS.bind("rte-ready",function(b){c("#rte-button-publish").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.create-dialog.blue-print.save"})}); 15897c("#rte-button-cancel").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.create-dialog.blue-print.close"})})}):-1<a.indexOf("/createpage.action")&&(a=c("#createpageform input[name\x3d'queryString']").val(),"string"===typeof a&&-1<a.indexOf("src\x3dquick-create")?AJS.bind("rte-ready",function(b){c("#rte-button-publish").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.blank.save"})});c("#rte-button-cancel").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.blank.close"})}); 15898c("#rte-button-location").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.blank.change.location"})})}):AJS.bind("rte-ready",function(b){c("#rte-button-publish").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.create-dialog.blank.save"})});c("#rte-button-cancel").click(function(){AJS.trigger("analytics",{name:"confluence.quick.create.create-dialog.blank.close"})})}))}())}); 15899}catch(e){WRMCB(e)}; 15900; 15901try { 15902/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/create-dialog-launcher.js' */ 15903(function(){function k(a,b,c){Confluence.Blueprint.Dialog.requestWebItems(a,b,function(d){var f=Confluence.Blueprint.Dialog.loadedWebitems[a];_.isEmpty(f)?AJS.log("create-from-template-macro: No Create dialog web items found for spaceKey \x3e"+a+"\x3c"):c(d,f)},function(){AJS.error("create-from-template-macro: requestWebItems call for spaceKey \x3e"+a+"\x3c failed")})}function l(){var a={};AJS.$("#create-dialog-init-params div").each(function(){a[$(this).data("key")]=$(this).data("value")});return a} 15904AJS.toInit(function(){Confluence.Blueprint=$.extend(Confluence.Blueprint,{loadDialogAndOpenTemplate:function(a){if(!_.isObject(a))throw Error("Confluence.Blueprint.loadDialogAndOpenTemplate called with no options");var b=a.spaceKey,c=a.contentBlueprintId,d=a.templateId,f=a.title;a=a.initContext?a.initContext:l();b?Confluence.Blueprint.loadDialog({showDialog:!0,updateHeight:!1,showStepOne:!0,initContext:a}).done(function(g){k(b,!0,function(h,e){if(e=_.find(e,function(m){return c?m.contentBlueprintId== 15905c:m.templateId==d})){var n=e.itemModuleCompleteKey;e=$.extend({},e);e.title=f;e.spaceKey=""+b;AJS.trigger(Confluence.Dialogs.Events.ITEM_SELECTED,{config:e});Confluence.Blueprint.fireWizard(h,e,g);g.removeBackButton();(e.howToUseTemplate&&!e.skipHowToUse||Confluence.Blueprint.hasWizard(n,e))&&g.show()}else AJS.log("create-from-template-macro: No Create dialog web item found for contentBlueprintId \x3e"+c+"\x3c and templateId \x3e"+d+"\x3c")})}):Confluence.Blueprint.loadDialog({initContext:a})}})}); 15906AJS.getWindowQueryParams=function(){var a={};if(1<window.location.search.length)for(var b=window.location.search.substr(1).split("\x26"),c=0;c<b.length;c++){var d=b[c].split("\x3d"),f=unescape(d[0]);d=1<d.length?unescape(d[1]):"";a[f]=d}return a};AJS.toInit(function(){var a=l();if(a.createSpaceDialog)Confluence.SpaceBlueprint.loaded.then(function(){Confluence.SpaceBlueprint.Dialog.launch()});else{var b=AJS.getWindowQueryParams(),c=b.createDialogSpaceKey;if(b.createDialog||c){var d=b.createDialogBlueprintKey; 15907c&&d&&(k(c,!1,function(f,g){(f=_.find(g,function(h){return h.blueprintModuleCompleteKey==d}))?b.createDialogBlueprintId=f.contentBlueprintId:AJS.log("No blueprint found with key: "+d)}),delete b.createDialogBlueprintKey);!c||b.createDialogBlueprintId||b.createDialogTemplateId?Confluence.Blueprint.loadDialogAndOpenTemplate({spaceKey:c,contentBlueprintId:b.createDialogBlueprintId,templateId:b.createDialogTemplateId,initContext:a}):AJS.log("Confluence.Blueprint.launchDialog triggered with incorrect options - please check the URL query: "+ 15908window.location.search)}}})})(); 15909}catch(e){WRMCB(e)}; 15910; 15911try { 15912/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/create-dialog-base.js' */ 15913Confluence.Dialogs=Confluence.Dialogs||{}; 15914(function(e){Confluence.Dialogs.CreateDialogBase=function(u){function x(){if(!f.find(".button-panel-cancel-link:visible").is(".disabled"))return Confluence.Blueprint.HowToUse&&Confluence.Blueprint.HowToUse.notifyCancel(h),AJS.trigger("analytics",{name:D+".cancel"+E}),h.remove(),e(".tipsy").remove(),f=h=null,!1}function r(){return e(".create-dialog-create-button:visible")}function y(){return e(".create-dialog-body .template:visible").length}
15914function F(a){var c=a.data("content-blueprint-id"),b=a.data("template-id"); 15915return(b=c||b)?z(c?"contentBlueprintId":"templateId",b):z("itemModuleCompleteKey",a.data("item-module-complete-key"))}function O(a){if(!y()||!0===e(this).prop("disabled"))return!1;e(this).prop("disabled",!0).before('\x3cdiv class\x3d"create-dialog-button-spinner"\x3e\x3c/div\x3e');e(".create-dialog-button-spinner").spin("small");var c=k.getSpaceKey(),b=e(".template.selected");b=F(b);if(!b)throw Error("Expected at least one template to be selected");b.spaceKey=c;Confluence.Blueprint.fireWizard(a,b, 15916h)}function A(){y()?r().prop("disabled",!1):r().prop("disabled",!0)}function z(a,c){return _.find(k.loadedWebitems[k.getSpaceKey()],function(b){return b[a]==c})}function G(a){a.addClass("selected").siblings().removeClass("selected");a.find("input").prop("checked",!0);a.siblings().find("input").prop("checked",!1);var c=a.data("content-blueprint-id");c=z("contentBlueprintId",c);c=H(!(c&&c.wizard));r().text(c);AJS.trigger(Confluence.Dialogs.Events.ITEM_SELECTED,{item:a})}function P(a){switch(a){case 37:return-1; 15917case 39:return 1;case 38:return-2;case 40:return 2}return 0}function I(a){a.bind("keydown",function(c){var b=P(c.which);if(b){var d=a.find(".template:not(.hidden)"),g=d.filter(".selected");b=d.index(g)+b;b%=d.length;d=d.eq(b);G(d);d.focus();a.simpleScrollTo(d);c.stopPropagation();return!1}})}function Q(a){if(h.initContext)for(var c,b,d=Confluence.Blueprint.Selector.getSelectors(),g=0,l=d.length;g<l;g++)if((c=d[g](h.initContext))&&c.length){b=a.find('.template[data-item-module-complete-key\x3d"'+c+ 15918'"]');if(b.length)return b;AJS.log("Attempted to select a blueprint that could not be found in the create dialog: "+c)}}function B(){var a=e(".templates");a.css("height",a.outerHeight(!1)-e("#discover-new-banner").outerHeight())}function J(){e(".template").click(function(){G(e(this))}).dblclick(function(){r().click()}).focus(function(){e(this).click()});e(".template:visible:first").click()}function R(a){for(var c,b=[],d=0,g=a.length;d<g;d++)a[d].isNew&&(c=(m.getItem("used")?JSON.parse(m.getItem("used")): 15919null)||[],(c=-1!=e.inArray(a[d].itemModuleCompleteKey,c))?a[d].isNew=!1:b.push(a[d]));return b}function K(){return(m.getItem("dismissed")?JSON.parse(m.getItem("dismissed")):null)||[]}function L(){var a=e("#discover-new-banner");a.length&&a.remove()}function S(a,c){L();a=Confluence.Templates.Blueprints.discoverNewBanner({newItemsNo:a,showLinkToNew:c});c=e(".template-select-container-body");c.prepend(a);c.find(".aui-button-link").click(function(){var b=!e(this).data("is-filtered");k.fillWebItemsInDialog(b, 15920!0)});e("#discover-new-banner .aui-close-button").click(function(){e("#discover-new-banner").slideUp(150);var b=K();var d=0;for(max=n.length;d<max;d++){var g=n[d].itemModuleCompleteKey;-1==e.inArray(g,b)&&b.push(g)}m.setItemQuietly("dismissed",JSON.stringify(b));k.fillWebItemsInDialog(!1)})}function M(){if(0==n.length||v)return!1;var a=K();if(0==a.length)return!0;for(var c=0;c<n.length;++c)if(-1==e.inArray(n[c].itemModuleCompleteKey,a))return!0;return!1}function N(){var a=f.find(".dialog-components:visible"); 15921a.attr("tabindex",0);a.find("button, input, select, textarea, a").attr("tabindex",0);a.find(".dialog-page-menu button.item-button").remove();var c=e().add(a.find("button, input, select, textarea")).add(a.find("[href]")).add(a.find("[role\x3d'button']")).add(a.find("[tabindex]:not([tabindex\x3d'-1'])"));a.focus().keydown(function(b){if("Tab"===b.key){var d=e(b.target);if(b.shiftKey){if(d.is(a)||d.is(c.first()))b.preventDefault(),c.last().focus()}else d.is(c.last())&&(b.preventDefault(),c.first().focus())}})} 15922function H(a){return a?"Create":"Next"}function C(a){return function(c,b,d){c=a&&a.call(this,c,b);if(!0!==c&&d)d.preventDefault();else return c}}function T(a,c,b,d){b=H(b);a.addButton(AJS.I18n.getText(b),null,"create-dialog-create-button");a.buttonpanel.find(".button-panel-button").removeClass("button-panel-button").addClass("aui-button");a.buttonpanel.find(".create-dialog-create-button").addClass("aui-button-primary").click(c); 15923d&&a.buttonpanel.addClass(d);this.addCancel("Close",C(x))}function U(a,c,b,d){this.addBackButton(a,b);this.addButtonPanel(a,C(c),d);setTimeout(()=>{e(".create-dialog-create-button").attr("tabindex",0)});N();return a.buttonpanel}function V(a,c){a.addButton("Back",C(function(b){c&&c();1==b.curpage&&b.fillWebItemsInDialog();b.prevPage();0==b.curpage&&B();a.remove();b.page.pop();y()&&!e(".template.selected").length&& 15924(e(".template:visible:first").click(),e(".dialog-components:visible").focus())}),"button-panel-back")}function W(){this.getPage(this.curpage).buttonpanel.find(".button-panel-back").remove()}var h,f,D=u.dialogId,X=u.webItemsPath,n=[],v=!1,m=Confluence.storageManager("confluence-create-content-plugin"),E,k={openDialog:function(a){a=a||{};E=a.triggerSrc?"."+a.triggerSrc:"";h=e.extend(new AJS.Dialog({width:840,height:449,id:D,closeOnOutsideClick:!1,keypressListener:function(b){h&&(27===b.keyCode?x(): 1592513===b.keyCode&&(b=b.target.nodeName&&b.target.nodeName.toLowerCase(),"textarea"!=b&&"a"!=b&&"button"!=b&&r().click()))},focusSelector:".dialog-components #createDialogFilter"}),k);f=h.popup.element;f.attr("modal","true");h.addHeader(u.headingText);
15925h.initContext=a.initContext;var c=f.searcher=Confluence.DomFilterField({items:"#create-dialog .templates .template",inputId:"createDialogFilter",placeholderText:"Filter",postSearch:function(b){0==b.length?AJS.trigger(Confluence.Dialogs.Events.ITEM_SELECTED, 15926{noVisibleItem:!0}):(b.first().find("input").click(),e(this).focus());a.showStepOne||A()},submitCallback:function(b,d){b.first().dblclick()}});c.form.find("input").attr("tabindex",0);c.form.find("input").attr("aria-label","Filter");f.find(".dialog-title").prepend(u.helpLinkTemplate(),c.form);h.addPanel("SinglePanel",Confluence.Templates.Blueprints.createDialogBody(),"loading");e.extend(h,{addButtonPanel:T,addFullButtonPanel:U,addBackButton:V,removeBackButton:W}); 15927h.addButtonPanel(h.getPage(0),O);h.prevPage=function(){f.find(".create-dialog-button-spinner").remove();f.find(".create-dialog-create-button").prop("disabled",!1);return AJS.Dialog.prototype.prevPage.apply(h,arguments)};f.find(".dialog-button-panel").find("button, .button-panel-link").attr("tabindex",0);f.find(".dialog-button-panel").find("button, .create-dialog-create-button").attr("tabindex",0);f.options=a=e.extend({showDialog:!0,updateHeight:!0},a);h.getPanel(0).setPadding(0);h.gotoPanel(0);e("#create-dialog").find(".wait-icon").spin("medium"); 15928a.showDialog&&h.show();AJS.layer(f).show();Confluence.sessionCheck();N();return h},closeDialog:x,requestWebItems:function(a,c,b,d){var g=this;c=_.isUndefined(c)?!0:c;g.loadedWebitems=g.loadedWebitems||{};var l=this.loadedWebitems[a];return l?(b&&"function"===typeof b&&b(l),AJS.$.Deferred().resolveWith(l)):e.ajax({url:Confluence.getContextPath()+X,dataType:"json",data:{spaceKey:a},async:c,success:function(p){g.loadedWebitems[a]=p;b&&"function"===typeof b&&b(p)},error:function(p,t,q){d&&"function"=== 15929typeof d&&d(p,t,q)}})},requestSpaces:function(){var a=this;return AJS.$.getJSON(Confluence.getContextPath()+"/rest/create-dialog/1.0/spaces",{promotedSpaceKey:AJS.params.spaceKey,promotedSpacesLimit:10,otherSpacesLimit:1E3}).done(function(c){a.loadedSpaces=c;AJS.trigger("create-dialog.data-ready")})},loadedWebitems:{},loadedSpaces:{},fillWebItemsInDialog:function(a,c){var b=k.getSpaceKey(),d=k.loadedWebitems[b];v=(d=k.filterWebItems(d))&&0<d.length&&d[0].isPromoted;n=R(d);!v&&a&&(d=n);d=Confluence.Templates.Blueprints.templates({webItems:d, 15930spaceKey:b});var g=e(d);d=Q(g);if(v&&void 0===d){b=k.getSpaceKey();var l=m.getItem("showMore")?JSON.parse(m.getItem("showMore")):{},p=l[b];if(!p||3>p){var t=g.find(".template");_.each(t,function(w){w=e(w);F(w).isPromoted||w.hide()});t=g.append(Confluence.Templates.Blueprints.Promoted.showMore())[0];e("#promoted-link",t).click(function(){l[b]=(p||0)+1;m.setItemQuietly("showMore",JSON.stringify(l));e(this).closest(".templates").find(".template").css("display","");e(this).closest("li").remove();A()})}}var q= 15931f.find(".templates");q.length?c?q.fadeOut(150,function(){q.replaceWith(g.fadeIn(150));B();J();I(g)}):q.replaceWith(g):e(".template-select-container-body").append(g);M()?S(n.length,!a):L();f.searcher&&(f.searcher.refreshItems(),f.searcher.filter());f.find(".loading").removeClass("loading");f.trigger("create-content.loaded");J();I(g);M()&&B();void 0!==d&&f.find(".templates").simpleScrollTo(d.first().click());A()},filterWebItems:function(a){return a},getSpaceKey:function(){return null},setDialogError:function(a){AJS.messages.error(".create-dialog-body", 15932{body:a,id:"create-dialog-error-message",closeable:!1});f.find(".loading").removeClass("loading");f.find(".create-dialog-create-button").remove();f.find("#createDialogFilter").remove()}};return k}})(AJS.$);Confluence.Dialogs.Events={};Confluence.Dialogs.Events.ITEM_SELECTED="create-dialog.item-selected"; 15933}catch(e){WRMCB(e)}; 15934; 15935try { 15936/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/space-blueprint.js' */ 15937define("confluence-create-content/space-blueprint",[],function(){return{loaded:AJS.$.Deferred()}});require("confluence/module-exporter").exportModuleAsGlobal("confluence-create-content/space-blueprint","Confluence.SpaceBlueprint");AJS.deprecate.prop(window.Confluence.SpaceBlueprint,"Dialog",{sinceVersion:"6.0.6",extraInfo:"Use require('confluence-create-content/space-blueprint')"}); 15938}catch(e){WRMCB(e)}; 15939; 15940try { 15941/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/space-dialog.js' */ 15942AJS.toInit(function(d){Confluence.SpaceBlueprint.Dialog=d.extend(Confluence.Dialogs.CreateDialogBase({dialogId:"create-dialog",webItemsPath:"/rest/create-dialog/1.0/space-blueprint/dialog/web-items",helpLinkTemplate:Confluence.Templates.Blueprints.spaceHelpLink,headingText:"Create space"}),{getParentPageId:function(){},getSpaceKey:function(){},launch:function(b){var c=Confluence.SpaceBlueprint.Dialog.openDialog(b?{showDialog:!1,updateHeight:!1, 15943showStepOne:!0,initContext:{}}:{});createSpacePromise=WRM.require("wrc!create-space");webItemsPromise=Confluence.SpaceBlueprint.Dialog.requestWebItems();AJS.$.when(createSpacePromise,webItemsPromise).done(function(a,e){AJS.trigger("blueprint.wizard-register.load");!b&&Confluence.SpaceBlueprint.WelcomeDialog.isShowWelcomeDialog()?(Confluence.SpaceBlueprint.WelcomeDialog.showWelcomeDialog(),c.remove()):(Confluence.SpaceBlueprint.Dialog.fillWebItemsInDialog(),a=Confluence.SpaceBlueprint.Dialog.loadedWebitems[void 0], 15944_.isEmpty(a)?AJS.log("Could not load space dialog - web items not found"):b&&((a=_.find(a,function(g){return g.itemModuleCompleteKey===b}))?(Confluence.Blueprint.fireWizard(e[0],a,c),c.removeBackButton(),(a.howToUseTemplate&&!a.skipHowToUse||Confluence.Blueprint.hasWizard(b,a))&&c.show()):AJS.log("Error finding space blueprint with id"+b)))}).fail(function(a){AJS.log("Could not load resources for space dialog");var e="An unknown server error has occurred.";try{"READ_ONLY"===JSON.parse(a.responseText).errorType&& 15945(e="This site is read-only. You can\u0027t make changes right now.")}catch(g){}finally{c.setDialogError(e)}})}});var h=d('#create-space-button, a[href\x3d"'+Confluence.getContextPath()+'/spaces/createspace-start.action"]'),f=d("#create-personal-space-link");f.length&&(f.unbind("click"),f.click(function(){Confluence.SpaceBlueprint.Dialog.launch("com.atlassian.confluence.plugins.confluence-create-content-plugin:create-personal-space-item");return!1}));h.length&&(d('a[href\x3d"'+Confluence.getContextPath()+ 15946'/spaces/createspace-start.action"]').unbind("click"),h.click(function(b){Confluence.SpaceBlueprint.Dialog.launch();return!1}),Confluence.SpaceBlueprint.loaded.resolve())}); 15947}catch(e){WRMCB(e)}; 15948; 15949try { 15950/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/soy/initial-templates.soy' */ 15951// This file was automatically generated from initial-templates.soy. 15952// Please don't edit this file by hand. 15953 15954/** 15955 * @fileoverview Templates in namespace Confluence.Templates.Blueprints. 15956 */ 15957 15958if (typeof Confluence == 'undefined') { var Confluence = {}; } 15959if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15960if (typeof Confluence.Templates.Blueprints == 'undefined') { Confluence.Templates.Blueprints = {}; } 15961 15962 15963Confluence.Templates.Blueprints.createDialogBody = function(opt_data, opt_ignored) { 15964 return Confluence.Templates.Blueprints.waitContainer(null) + '<div class="create-dialog-body loadable"><div class="template-select-container">' + Confluence.Templates.Blueprints.waitContainer(null) + '<div class="template-select-container-body loadable"></div></div></div>'; 15965}; 15966if (goog.DEBUG) { 15967 Confluence.Templates.Blueprints.createDialogBody.soyTemplateName = 'Confluence.Templates.Blueprints.createDialogBody'; 15968} 15969 15970 15971Confluence.Templates.Blueprints.waitContainer = function(opt_data, opt_ignored) { 15972 return '<div class="wait-container">' + Confluence.Templates.Blueprints.waitIcon(null) + '</div>'; 15973}; 15974if (goog.DEBUG) { 15975 Confluence.Templates.Blueprints.waitContainer.soyTemplateName = 'Confluence.Templates.Blueprints.waitContainer'; 15976} 15977 15978 15979Confluence.Templates.Blueprints.waitIcon = function(opt_data, opt_ignored) { 15980 return '<div class="wait-icon"></div>'; 15981}; 15982if (goog.DEBUG) { 15983 Confluence.Templates.Blueprints.waitIcon.soyTemplateName = 'Confluence.Templates.Blueprints.waitIcon'; 15984} 15985 15986 15987Confluence.Templates.Blueprints.helpLink = function(opt_data, opt_ignored) { 15988 return '' + Confluence.Templates.Dialog.helpLink({href: "https:\/\/docs.atlassian.com\/confluence\/docs-102\/Pages+and+Blogs"}); 15989}; 15990if (goog.DEBUG) { 15991 Confluence.Templates.Blueprints.helpLink.soyTemplateName = 'Confluence.Templates.Blueprints.helpLink'; 15992} 15993 15994 15995Confluence.Templates.Blueprints.spaceHelpLink = function(opt_data, opt_ignored) { 15996 return '' + Confluence.Templates.Dialog.helpLink({href: "https:\/\/docs.atlassian.com\/confluence\/docs-102\/Create+a+Space"}); 15997}; 15998if (goog.DEBUG) { 15999 Confluence.Templates.Blueprints.spaceHelpLink.soyTemplateName = 'Confluence.Templates.Blueprints.spaceHelpLink'; 16000} 16001 16002}catch(e){WRMCB(e)}; 16003; 16004try { 16005/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/blueprint-object.js' */ 16006(function(m,x){function p(b,a,c,d){AJS.trigger("blueprint.before-create");var e=Confluence.storageManager("confluence-create-content-plugin"),f=e.getItem("used")?JSON.parse(e.getItem("used")):null;null==f&&(f=[]);f.push(q.itemModuleCompleteKey);e.setItemQuietly("used",JSON.stringify(f));e="";_.isString(b)&&(e=b);var g=q.createResult;"space"===g&&AJS.trigger("confluence.space.creation.started");if(d&&d.getSubmissionRestPath)b=d.getSubmissionRestPath();else{a:switch(g){case "view":b="content-blueprint/create-content"; 16007break a;case "space":b="space-blueprint/create-space";break a;default:b="content-blueprint/create-draft"}b="/rest/create-dialog/1.0/"+b}b=Confluence.getContextPath()+b;c=c?c.getParentPageId():"";var t=!!a.goToIndexPage;delete a.goToIndexPage;a=d&&d.assembleSubmissionObject?d.assembleSubmissionObject(a):"space"==g?y(a):z(e,a,c);a=JSON.stringify(a);var h=AJS.$(".create-dialog-button-spinner");d=AJS.$("#create-dialog .dialog-button-panel");var r=d.find(".create-dialog-create-button");0===h.length&&(d.prepend('\x3cdiv class\x3d"create-dialog-button-spinner"\x3e\x3c/div\x3e'), 16008h=AJS.$(".create-dialog-button-spinner").spin("small"));m.ajax({url:b,type:"POST",dataType:"json",contentType:"application/json",data:a}).done(function(k){var n=t?k.indexPage.createSuccessRedirectUrl||k.indexPage.url:k.createSuccessRedirectUrl||k.url;"space"===g?(AJS.bind("confluence.space.creation.event.triggered",function(){window.location=n}),AJS.trigger("confluence.space.creation.ended"),setTimeout(function(){window.location=n},500)):window.location=n}).fail(function(k,n,C){k=JSON.parse(k.responseText).errorMessage|| 16009"";n="We can\u0027t create that blueprint right now.";x("aui/flag")({type:"error",title:n,body:k});r.length&&r.prop("disabled")&&r.prop("disabled",!1);AJS.trigger("confluence.space.creation.ended")}).always(function(){h.spinStop();h.remove()});AJS.trigger("blueprint.after-create")}function y(b){var a={spaceKey:b.spaceKey,name:b.name,description:b.description,permissions:b.spacePermission,spaceBlueprintId:q.contentBlueprintId};
16009a.context=b;return a}function z(b,a,c){a= 16010a||{};b=a.title||b||"";var d=a.viewPermissionsUsers||"",e=a.contentTemplateId||"",f=a.contentTemplateKey||"";c=a.parentPageId||c;var g={};g.spaceKey=l;g.contentBlueprintId=q.contentBlueprintId;g.contentTemplateId=e;g.contentTemplateKey=f;g.title=b;g.viewPermissionsUsers=d;g.context=a;g.parentPageId=c;return g}function A(b){var a=Confluence.storageManager("confluence-create-content-plugin"),c=a.getItem("used")?JSON.parse(a.getItem("used")):null;null==c&&(c=[]);-1==m.inArray(b,c)&&c.push(b);a.setItemQuietly("used", 16011JSON.stringify(c))}function B(b){var a=x("confluence/api/url");b=a.parse(b);var c=b.queryParams;b.queryParams=Object.keys(c).reduce(function(d,e){var f=c[e].filter(function(g){return!!g});f.length&&(d[e]=f);return d},{});return a.format(b)}var u={},q,l,v={},w={};Confluence.Blueprint=AJS.$.extend(Confluence.Blueprint,{register:function(b,a){u[b]=a},validateTitle:function(b,a,c,d){var e=m.trim(b.val()),f;c||="Title is required.";d||="A page with this name already exists."; 16012e?Confluence.Blueprint.canCreatePage(a,e)||(f=d):f=c;return f?(b.focus().siblings(".error").html(f),!1):!0},canCreatePage:function(b,a){var c=!1;m.ajax({url:Confluence.getContextPath()+"/rest/create-dialog/1.0/blueprints/can-create-page",dataType:"json",data:{spaceKey:b,pageTitle:a},async:!1,success:function(d){c=d},error:function(d){AJS.error("Failed to call 'can-create-page' - "+d.responseText)}});return c},hasWizard:function(b,a){return(w[b]||a&&a.wizard)&&!v[b]},setWizard:function(b,a){var c= 16013m({});a(c);w[b]=c},getWizard:function(b){return w[b]||m({})},setDirectCallback:function(b,a){v[b]=a},getDirectCallback:function(b){return v[b]},fireWizard:function(b,a,c){var d=c.initContext||{};l=a.spaceKey;q=a;var e=a.itemModuleCompleteKey,f=c.getParentPageId();A(e);if(e)if(AJS.trigger("analytics",{name:"create-dialog.submit.item",data:{itemKey:e,spaceKey:l}}),a.directLink){f={templateId:a.templateId,spaceKey:l,title:a.title||"",newSpaceKey:l,fromPageId:f&&l===AJS.Meta.get("space-key")?f:""};m.extend(f, 16014d);var g=a.directLink;for(h in f)g=g.replace(new RegExp("{"+h.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")+"}","g"),f[h]);window.location=Confluence.getContextPath()+B(g)}else{var t=this.getDirectCallback(e);if(t)var h=function(){var k={spaceKey:l,pageData:{},initContext:d};t(b,k);var n=m.extend(d,{pageData:k.pageData});(new Confluence.DialogWizard(c,p)).doFinalAction(b,k,n,p)};else if(a.wizard){var r=a.wizard.pages[0].id;h=function(){var k=Confluence.Blueprint.getWizard(e);Confluence.DialogWizard(c, 16015p).newPage(a,r,{},m.extend(d,{spaceKey:l,pages:{},parentPageId:c.getParentPageId(),title:a.title}),k)}}else if(u[e])h=function(){u[e](c,l,p)};else if(a.contentBlueprintId)h=function(){p(null,m.extend(d,a),c)};else throw Error("No way to process item: "+e);a.howToUseTemplate?Confluence.Blueprint.HowToUse.check(c,a,h):h()}else if(a.templateId){AJS.trigger("analytics",{name:"create-dialog.submit.template",data:{spaceKey:l,templateId:a.templateId}});h=Confluence.getContextPath()+"/pages/createpage-entervariables.action?templateId\x3d"+ 16016encodeURIComponent(a.templateId)+"\x26spaceKey\x3d"+encodeURIComponent(l)+"\x26title\x3d"+encodeURIComponent(a.title||"")+"\x26newSpaceKey\x3d"+encodeURIComponent(l)+"\x26atl_token\x3d"+AJS.Meta.get("atl-token");for(g in d)h+="\x26"+encodeURIComponent(g)+"\x3d"+encodeURIComponent(d[g]);f&&l==AJS.Meta.get("space-key")&&(h+="\x26fromPageId\x3d"+encodeURIComponent(f));window.location=h}else throw Error("Unknown item: "+a);}});Confluence.Blueprint.Util={};Confluence.Blueprint.Util.getParentPageLocation= 16017function(){var b={};AJS.Meta.get("page-title")?(b.parentPageId=AJS.Meta.get("page-id"),b.parentPageTitle=AJS.Meta.get("page-title")):(b.parentPageId=AJS.Meta.get("parent-page-id"),b.parentPageTitle=AJS.Meta.get("from-page-title"));return b}})(AJS.$,require); 16018}catch(e){WRMCB(e)}; 16019; 16020try { 16021/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/create-dialog-blueprint-selector.js' */ 16022(function(c){var b=[];Confluence.Blueprint.Selector={registerSelector:function(a){a&&"function"===typeof a&&b.push(a)},getSelectors:function(){return b}}})(AJS.$); 16023}catch(e){WRMCB(e)}; 16024; 16025try { 16026/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/soy/discovery-tooltip.soy' */ 16027// This file was automatically generated from discovery-tooltip.soy. 16028// Please don't edit this file by hand. 16029 16030/** 16031 * @fileoverview Templates in namespace Confluence.Quick.Create. 16032 */ 16033 16034if (typeof Confluence == 'undefined') { var Confluence = {}; } 16035if (typeof Confluence.Quick == 'undefined') { Confluence.Quick = {}; } 16036if (typeof Confluence.Quick.Create == 'undefined') { Confluence.Quick.Create = {}; } 16037 16038 16039Confluence.Quick.Create.discoveryTooltip = function(opt_data, opt_ignored) { 16040 return '<p class="title">' + soy.$$escapeHtml('TIME-SAVING TEMPLATES') + '</p><p>' + soy.$$filterNoAutoescape('Want some help creating awesome pages quickly? There are some useful templates here, to help get you started.') + '</p><p><button class="aui-button" id="closeDisDialog">' + soy.$$escapeHtml('Okay, got it') + '</button></p>'; 16041}; 16042if (goog.DEBUG) { 16043 Confluence.Quick.Create.discoveryTooltip.soyTemplateName = 'Confluence.Quick.Create.discoveryTooltip'; 16044} 16045 16046}catch(e){WRMCB(e)}; 16047; 16048try { 16049/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:tooltip', location = '/includes/js/ajs/tooltip.js' */ 16050define("confluence/tooltip",["jquery"],function(c){return function(b){var e=c('\x3cdiv class\x3d"ajs-tooltip-arrow"\x3e\x3c/div\x3e'),f=c('\x3cdiv class\x3d"ajs-tooltip"\x3e'+b.text+"\x3c/div\x3e"),a=c('\x3cdiv class\x3d"ajs-tooltip-wrapper"\x3e\x3c/div\x3e').appendTo(c("body")),g=function(){var d=b.anchor.offset();a.css({left:d.left+b.anchor.width(),top:d.top+b.anchor.height()/2-a.height()/2-2});e.css({top:a.height()/2-3})};e.addClass("ajs-tooltip-arrow-left");a.append(e).append(f);
16050f.css({width:b.width}); 16051b.anchor.bind("mouseover",function(){g();a.fadeIn("fast")});b.anchor.bind("mouseout",function(){a.fadeOut("fast")});b.anchor.click(function(d){d.preventDefault();a.is(":visible")?a.fadeOut("fast"):(g(),a.fadeIn("fast"))})}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/tooltip","AJS.Tooltip"); 16052}catch(e){WRMCB(e)}; 16053; 16054try { 16055/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:keygen', location = '/includes/js/ajs/jquery.keygen.js' */ 16056(function(u,h){u.KeyGenerator=function(){var t="THE A AN AS AND OF OR".split(" "),a={},g=function(b){return h.grep(b,function(c,d){return-1===h.inArray(c,t)})},m=function(b){var c="";h.each(b,function(d,f){c+=f.charAt(0)});return c},k=function(b){var c=!1,d;for(d=0;d<b.length;d++){var f=b[d];if(f&&1===f.length&&-1!==f.search("[AEIOUY]"))c=!0;else if(c)return b.substring(0,d+1)}return b};a[199]="C";a[231]="c";a[252]="u";a[251]="u";a[250]="u";a[249]="u";a[233]="e";a[234]="e";a[235]="e";a[232]="e";a[226]= 16057"a";a[228]="a";a[224]="a";a[229]="a";a[225]="a";a[239]="i";a[238]="i";a[236]="i";a[237]="i";a[196]="A";a[197]="A";a[201]="E";a[230]="ae";a[198]="Ae";a[244]="o";a[246]="o";a[242]="o";a[243]="o";a[220]="U";a[255]="Y";a[214]="O";a[241]="n";a[209]="N";return{generateKey:function(b,c){c=h.extend({},c);var d="number"===typeof c.desiredKeyLength?c.desiredKeyLength:4,f="number"===typeof c.maxKeyLength?c.maxKeyLength:Infinity,e="undefined"!==typeof c.charBlacklistRegex?c.charBlacklistRegex:/[^a-zA-Z0-9]/g; 16058b=h.trim(b);if(!b)return"";c=[];for(var n=0,q=b.length;n<q;n++){var r=a[b.charCodeAt(n)];c.push(r?r:b[n])}b=c.join("");var l=[];h.each(b.split(/\s+/),function(w,p){p&&(p=p.replace(e,""),p=p.toUpperCase(),p.length&&l.push(p))});d&&l.join("").length>d&&(l=g(l));0===l.length?d="":1===l.length?(b=l[0],c=k(b),d=f<b.length||Math.abs(b.length-d)>=Math.abs(c.length-d)?c:b):(b=l.join("").length,c=m(l),d=f<b||Math.abs(b-d)>=Math.abs(c.length-d)?c:l.join(""));f&&d.length>f&&(d=d.substr(0,f));return d}}};var v= 16059u.KeyGenerator();h.fn.generateFrom=function(t,a){var g=h(this).first(),m=t.first(),k=h.extend({},{desiredKeyLength:4,maxKeyLength:10,maxNameLength:30,timeoutMS:100,charBlacklistRegex:/[^a-zA-Z0-9]/g,uppercase:!0,validationCallback:function(){},errorCallback:function(){}},a);(function(){var b=function(){var e=g.val();e?g.data("lastGeneratedValue")!==e&&g.data("autosuggest",!1):g.data("autosuggest",!0);if(!1!==g.data("autosuggest")){e=v.generateKey(m.val(),{desiredKeyLength:k.desiredKeyLength,maxKeyLength:k.maxKeyLength, 16060charBlacklistRegex:k.charBlacklistRegex});var n=g.val();g.data("lastGeneratedValue",e);g.val(e);n!=e&&k.validationCallback()}},c=function(e){d(e,b)},d=function(e,n){var q=h(e.target);var r=function(){f(e);n();q.is(":visible")&&q.data("checkHook",setTimeout(r,k.timeoutMS))};q.data("checkHook")||q.data("checkHook",setTimeout(r,0))},f=function(e){b();e=h(e.target);clearTimeout(e.data("checkHook"));e.removeData("checkHook")};m.attr("maxlength",k.maxNameLength);g.attr("maxlength",k.maxKeyLength);k.uppercase&& 16061g.css("text-transform","uppercase");document.activeElement&&document.activeElement===m[0]&&c({target:m[0]});m.focus(c);m.blur(f)})();return this}})(window,jQuery); 16062}catch(e){WRMCB(e)}; 16063; 16064try { 16065/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/space-welcome-dialog.js' */ 16066Confluence.SpaceBlueprint.WelcomeDialog=function(c){function d(){AJS.Meta.set("show-space-welcome-dialog",!1);c.ajax({type:"post",contentType:"application/json",url:Confluence.getContextPath()+"/rest/create-dialog/1.0/spaces/skip-space-welcome-dialog"});Confluence.SpaceBlueprint.Dialog.launch();a.remove()}function e(){a.remove()}var a;return{isShowWelcomeDialog:function(){return AJS.Meta.getBoolean("show-space-welcome-dialog")},showWelcomeDialog:function(){a=new AJS.Dialog({width:840,height:449,id:"space-welcome-dialog", 16067closeOnOutsideClick:!1});var b="What is a space?";a.addHeader(b);b=Confluence.Templates.Blueprints.CreateSpace.welcome();
16067a.addPanel("how-to-panel",b);b=a.getPage(0);a.addButton("Create",d,"start-creating-space");b.buttonpanel.find(".button-panel-button").removeClass("button-panel-button").addClass("aui-button");b.buttonpanel.find(".start-creating-space").addClass("aui-button-primary");a.addCancel("Close", 16068e);a.show()}}}(AJS.$); 16069}catch(e){WRMCB(e)}; 16070; 16071try { 16072/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/soy/space-dialog-wizard-common.soy' */ 16073// This file was automatically generated from space-dialog-wizard-common.soy. 16074// Please don't edit this file by hand. 16075 16076/** 16077 * @fileoverview Templates in namespace Confluence.Templates.Blueprints.CreateSpace. 16078 */ 16079 16080if (typeof Confluence == 'undefined') { var Confluence = {}; } 16081if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 16082if (typeof Confluence.Templates.Blueprints == 'undefined') { Confluence.Templates.Blueprints = {}; } 16083if (typeof Confluence.Templates.Blueprints.CreateSpace == 'undefined') { Confluence.Templates.Blueprints.CreateSpace = {}; } 16084 16085 16086Confluence.Templates.Blueprints.CreateSpace.createSpaceForm = function(opt_data, opt_ignored) { 16087 return '<form method="post" class="aui common-space-form">' + Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields({showSpacePermission: opt_data.showSpacePermission, fieldErrors: opt_data.fieldErrors, name: opt_data.name, spaceKey: opt_data.spaceKey, spacePermission: opt_data.spacePermission, disableRequiredIcon: true}) + '<input type="hidden" name="atl_token" value="' + soy.$$escapeHtml(opt_data.atlToken) + '" /></form>'; 16088}; 16089if (goog.DEBUG) { 16090 Confluence.Templates.Blueprints.CreateSpace.createSpaceForm.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.createSpaceForm'; 16091} 16092 16093 16094Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields = function(opt_data, opt_ignored) { 16095 var output = '<fieldset><div class="field-group"><label for="name">' + soy.$$escapeHtml('Space name') + ((! opt_data.disableRequiredIcon) ? '<span class="aui-icon icon-required"></span>' : '') + '</label><input class="text long-field" id="name" name="name" autocomplete="off" ' + ((opt_data.name) ? 'value="' + soy.$$escapeHtml(opt_data.name) + '"' : '') + '/>'; 16096 if (opt_data.fieldErrors && opt_data.fieldErrors['name']) { 16097 var errorList29 = opt_data.fieldErrors['name']; 16098 var errorListLen29 = errorList29.length; 16099 for (var errorIndex29 = 0; errorIndex29 < errorListLen29; errorIndex29++) { 16100 var errorData29 = errorList29[errorIndex29]; 16101 output += '<div class="error">' + soy.$$escapeHtml(errorData29) + '</div>'; 16102 } 16103 } else { 16104 output += '<div class="error hidden"></div>'; 16105 } 16106 output += '</div><div class="field-group"><label for="spaceKey">' + soy.$$escapeHtml('Space key') + ((! opt_data.disableRequiredIcon) ? '<span class="aui-icon icon-required"></span>' : '') + '</label><input class="text long-field" id="spaceKey" name="spaceKey" ' + ((opt_data.spaceKey) ? 'value="' + soy.$$escapeHtml(opt_data.spaceKey) + '"' : '') + '/><span class="aui-icon aui-icon-small aui-iconfont-help" data-unicode="UTF+E003" data-tooltip="' + soy.$$escapeHtml('This unique key is used in your space URL') + '" original-title=""></span>'; 16107 if (opt_data.fieldErrors && opt_data.fieldErrors['spaceKey']) { 16108 var errorList52 = opt_data.fieldErrors['spaceKey']; 16109 var errorListLen52 = errorList52.length; 16110 for (var errorIndex52 = 0; errorIndex52 < errorListLen52; errorIndex52++) { 16111 var errorData52 = errorList52[errorIndex52]; 16112 output += '<div class="error">' + soy.$$escapeHtml(errorData52) + '</div>'; 16113 } 16114 } else { 16115 output += '<div class="error hidden"></div>'; 16116 } 16117 output += '</div></fieldset>' + ((opt_data.showSpacePermission) ? Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions(opt_data) : ''); 16118 return output; 16119}; 16120if (goog.DEBUG) { 16121 Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields'; 16122} 16123 16124 16125Confluence.Templates.Blueprints.CreateSpace.createPersonalSpaceForm = function(opt_data, opt_ignored) { 16126 return '<form method="post" class="aui common-space-form how-to-use-blueprint-page"><h2>' + soy.$$escapeHtml('With a personal space, you can...') + '</h2><ol class="howto-steps horizontal"><li class="howto-step"><h3>' + soy.$$escapeHtml('Stay organized') + '</h3><p>' + soy.$$escapeHtml('Keep your notes, task lists, files and other personal content organized.') + '</p></li><li class="howto-step"><h3>' + soy.$$escapeHtml('Share news') + '</h3><p>' + soy.$$escapeHtml('Use your blog to make announcements, capture ideas and share learnings.') + '</p></li><li class="howto-step"><h3>' + soy.$$escapeHtml('Introduce yourself') + '</h3><p>' + soy.$$escapeHtml('Customize your personal homepage and introduce yourself to the team.') + '</p></li></ol></form>'; 16127}; 16128if (goog.DEBUG) { 16129 Confluence.Templates.Blueprints.CreateSpace.createPersonalSpaceForm.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.createPersonalSpaceForm';
16130} 16131 16132 16133Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions = function(opt_data, opt_ignored) { 16134 return '<fieldset class="group" ><span class="aui-icon aui-icon-small ' + ((opt_data.spacePermission == 'private') ? 'aui-iconfont-locked' : 'aui-iconfont-unlocked') + '" id="permissions-group"></span><div class="checkbox"><input class="checkbox" type="checkbox" id="permission-private" name="spacePermission" value="private"' + ((opt_data.spacePermission == 'private') ? ' checked="checked"' : '') + ' /><label for="permission-private">' + soy.$$escapeHtml('Visible only to me') + '</label></div></fieldset>'; 16135}; 16136if (goog.DEBUG) { 16137 Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions'; 16138} 16139 16140 16141Confluence.Templates.Blueprints.CreateSpace.welcome = function(opt_data, opt_ignored) { 16142 return '<ul class="space-types"><li><p>' + soy.$$escapeHtml('Team') + '</p></li><li><p>' + soy.$$escapeHtml('Project') + '</p></li><li><p>' + soy.$$escapeHtml('Department') + '</p></li></ul><div class="space-description"><h1>' + soy.$$escapeHtml('A space is a home for all your content') + '</h1><ul><li>' + soy.$$escapeHtml('Create as many spaces as you like and use them for teams, projects and departments within your company.') + '</p></li><li>' + soy.$$escapeHtml('Add documents, files and photos to your space using pages and keep them organized in a hierarchy.') + '</p></li><li>' + soy.$$escapeHtml('Use the blog on your space to share news and make announcements.') + '</p></li></ul></div>'; 16143}; 16144if (goog.DEBUG) { 16145 Confluence.Templates.Blueprints.CreateSpace.welcome.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.welcome'; 16146} 16147 16148}catch(e){WRMCB(e)}; 16149; 16150try { 16151/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/space-dialog-wizard-common.js' */ 16152AJS.toInit(function(c){function n(a){a?p.prop("disabled",!1):p.prop("disabled",!0)}function q(a){var b=a.attr("name"),d=a.siblings(".error");b=t[b]();b.done(function(){d.text("").addClass("hidden")});b.fail(function(k,l){l||d.text(k).removeClass("hidden")});b.always(function(){a.attr("data-validated-value",a.val())});return b}function u(a){function b(e){"pending"===e.state()&&e.reject("",!0)}function d(){q(c(this));c.when.apply(c,_.values(m)).done(function(){n(!0)}).fail(function(e,r){r||n(!1)})} 16153n(!1);f=a.find("input[name\x3d'spaceKey']").first();g=a.find("input[name\x3d'name']").first();f.parent().find(".error");g.parent().find(".error");f.generateFrom(g,{uppercase:!1,maxNameLength:255,maxKeyLength:255,timeoutMS:100,validationCallback:function(){f.trigger("input")}});var k=c.debounce(d,250),l=c.debounce(d,250);g.on("change input",function(){k.apply(this,arguments)});f.on("change input",function(){_.each(m,b);h&&h.abort();l.apply(this,arguments)});f.focus(function(){var e=f[0];if(e.setSelectionRange){var r= 16154f.val().length;e.setSelectionRange(0,r)}else e.createTextRange&&(e=e.createTextRange(),e.execCommand("SelectAll"),e.select())});a.find("#permission-private").change(function(){c("#permissions-group").toggleClass("aui-iconfont-unlocked");c("#permissions-group").toggleClass("aui-iconfont-locked")})}var f,g,p,h,m={name:c.Deferred().reject(),spaceKey:c.Deferred().reject()},t={spaceKey:function(){var a=c.Deferred(),b=c.trim(f.val());if(!b)return a.reject("You must enter a space key."),m.spaceKey= 16155a,a.promise();h&&(AJS.log("Aborting previous space key validation request."),h.abort());h=c.getJSON(AJS.Confluence.getContextPath()+"/ajax/spaceavailable.action",{key:b}).done(function(d){!d.available&&d.message?a.reject(d.message):a.resolve();h=!1});m.spaceKey=a;return a.promise()},name:function(){var a=c.Deferred();c.trim(g.val())?a.resolve():a.reject("You must enter a space name.");m.name=a;return a.promise()}};c(document).tooltip({live:".common-space-form .aui-iconfont-help",gravity:"w", 16156title:function(){return c(this).attr("data-tooltip")||""},delayIn:250,delayOut:0});Confluence.SpaceBlueprint.CommonWizardBindings={preRender:function(a,b){b.soyRenderContext.atlToken=AJS.Meta.get("atl-token");b.soyRenderContext.showSpacePermission=!0},postRender:function(a,b){p=c(".create-dialog-create-button:visible");u(b.$container)},submit:function(a,b){setTimeout(function(){var k=q(f),l=q(g);c.when(k,l).done(b.validationDeferred.resolve).fail(function(){b.validationDeferred.reject.apply(this, 16157arguments);n(!1)})},101);a=c("form.common-space-form");var d="unknown";a.length&&(d=a.attr("id")||"blank-space");AJS.Analytics?AJS.Analytics.triggerPrivacyPolicySafeEvent("confluence-spaces.blueprint-created",{blueprint:d}):AJS.trigger("analyticsEvent",{name:"confluence-spaces.blueprint-created",data:{blueprint:d}});b.async=!0;return!1}}}); 16158}catch(e){WRMCB(e)}; 16159; 16160try { 16161/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/blank-space-dialog-wizard.js' */
16162AJS.toInit(function(){Confluence.Blueprint.setWizard("com.atlassian.confluence.plugins.confluence-create-content-plugin:create-blank-space-item",function(a){a.on("pre-render.commonPage",Confluence.SpaceBlueprint.CommonWizardBindings.preRender);a.on("post-render.commonPage",Confluence.SpaceBlueprint.CommonWizardBindings.postRender);a.on("submit.commonPage",Confluence.SpaceBlueprint.CommonWizardBindings.submit)})}); 16163}catch(e){WRMCB(e)}; 16164; 16165try { 16166/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/create-personal-space-listener.js' */ 16167AJS.toInit(function(){Confluence.Blueprint.setWizard("com.atlassian.confluence.plugins.confluence-create-content-plugin:create-personal-space-item",function(a){a.assembleSubmissionObject=function(b){return{spaceUserKey:""}};a.getSubmissionRestPath=function(){return"/rest/create-dialog/1.0/space-blueprint/create-personal-space"}})}); 16168}catch(e){WRMCB(e)}; 16169; 16170try { 16171/* module-key = 'com.atlassian.plugins.shortcuts.atlassian-shortcuts-plugin:shortcuts', location = '/js/keycommands.js' */ 16172AJS.bind("initialize.keyboardshortcuts",function(){var D=AJS.$,B=function(F){return(AJS.Data&&AJS.Data.get(F))||AJS.params[F]},A=B("build-number"),E=B("keyboardshortcut-hash");if(!A||!E){throw new Error("build-number and keyboardshortcut-hash must both exist in AJS.Data or AJS.params.")}var C=AJS.contextPath()+"/rest/shortcuts/latest/shortcuts/"+encodeURIComponent(A)+"/"+encodeURIComponent(E);D.getJSON(C,function(H){var F=H.shortcuts;if(!F){throw new Error("Server returned no shortcuts.")}AJS.trigger("shortcuts-loaded.keyboardshortcuts",{shortcuts:F});var I=[];var K={enableContext:function(M){var L=D.grep(F,function(N){return N.context===M});I=I.concat(AJS.whenIType.fromJSON(L,true))}};var G=function(){AJS.trigger("register-contexts.keyboardshortcuts",{shortcutRegistry:K})};G();AJS.bind("add-bindings.keyboardshortcuts",G);var J=function(){D.each(I,function(){this.unbind()});I=[]};AJS.bind("remove-bindings.keyboardshortcuts",J)})}); 16173}catch(e){WRMCB(e)}; 16174; 16175try { 16176/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'js/confluence-keyboard-shortcuts.js' */ 16177define("confluence-keyboard-shortcuts/confluence-keyboard-shortcuts","ajs jquery confluence/legacy window confluence/api/event confluence/api/logger confluence/api/constants".split(" "),function(d,c,a,k,f,h,l){var i={createShortcutFunc:function(b){switch(b.op){case "click":return function(){c(b.param).click()};case "moveToAndFocus":return function(){c(b.param).focus()};case "execute":return b.param}},normalizeShortcutKeys:function(b,a){var e=b.toLowerCase();a.Env.os.isMacOS()&&(e=e.replace(/ctrl/g, 16178"meta"));return e=e.replaceAll("enter","13")},isAnyShortcutInEvent:function(b,a){return a.some(function(a){var c=1;b.metaKey&&c++;b.shiftKey&&c++;return a.split("+").every(function(a){c--;return i._isKeyInShortcutString(b,a)})&&c===0})},_isKeyInShortcutString:function(b,a){var c=b.keyCode?b.keyCode:b.which,c=c?String.fromCharCode(c).toLowerCase():"",d=!!(a==="shift"&&b.shiftKey);return!(!(a==="meta"||a==="ctrl")||!b.metaKey)||d||a===c}},g=function(){try{return k.parent.AJS}catch(a){h.debug("Error accessing parent window", 16179a);return null}},j={init:function(){h.debug("confluence-keyboard-shortcuts initialising");setTimeout(function(){c.hotkeys&&(c.hotkeys.specialKeys[13]="enter")});if(d.PageGadget||g()&&g().PageGadget)h.debug("Inside the Page Gadget. Skipping keyboard shortcuts");else{a.KeyboardShortcuts.enabled=d.Meta.getBoolean("use-keyboard-shortcuts");f.bind("shortcuts-loaded.keyboardshortcuts",function(b,d){a.KeyboardShortcuts.shortcuts=d.shortcuts;c("#keyboard-shortcuts-link").click(a.KeyboardShortcuts.openDialog)}); 16180f.bind("init.rte",function(){typeof l.CONTEXT_PATH!=="undefined"&&f.trigger("initialize.keyboardshortcuts")});f.bind("register-contexts.keyboardshortcuts",function(b,d){if(a.KeyboardShortcuts.enabled){var e=d.shortcutRegistry;e.enableContext("global");var f=a&&a.Editor&&a.Editor.isVisible&&a.Editor.isVisible();c("#action-menu-link").length&&!f&&e.enableContext("viewcontent");c("#viewPageLink").length&&e.enableContext("viewinfo");if(!f)return a.KeyboardShortcuts.ready=true;e.enableContext("editor"); 16181var g=require("tinymce"),j=g.activeEditor,k=c("#rte").closest("form");a.KeyboardShortcuts.shortcuts.filter(function(a){return a.context.
16181indexOf("tinymce")===0}).forEach(function(a){a.keys.forEach(function(b){var c=i.createShortcutFunc(a);c||h.debug("Unknown editor shortcut key operation "+a.op+" for shortcut "+b);var d=(Array.isArray(b)?b:[b]).map(function(a){return i.normalizeShortcutKeys(a,g)}),b=i.normalizeShortcutKeys(d.join(","),g);if(c){h.debug("Adding shortcut for "+b);j.addShortcut(b,"",c)}if(a.context== 16182"tinymce.actions"&&b.indexOf("+")!==-1){h.debug("Binding shortcut on inputs too for "+b);k.delegate(":input","keydown",function(a){if(i.isAnyShortcutInEvent(a,d)){c();a.preventDefault()}})}})});a.KeyboardShortcuts.ready=true}});typeof d.contextPath()!=="undefined"&&f.trigger("initialize.keyboardshortcuts")}},keyboardShortcuts:{Editor:[],enabled:false,ready:false,dialog:null,closeDialog:function(){a.KeyboardShortcuts.getDialog().then(function(a){a.hide()});return false},openDialog:function(){c(this).removeClass("interactive"); 16183a.KeyboardShortcuts.getDialog().then(function(a){a.show()});return false}}};j._logic=i;j._getParentWindowAJS=g;return j});require("confluence/module-exporter").safeRequire("confluence-keyboard-shortcuts/confluence-keyboard-shortcuts",function(d){var c=require("confluence/legacy"),a=require("ajs");c.KeyboardShortcuts=d.keyboardShortcuts;a.toInit(d.init)}); 16184}catch(e){WRMCB(e)}; 16185; 16186try { 16187/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'js/shortcut-dialog.js' */ 16188define("confluence-keyboard-shortcuts/shortcut-dialog","window jquery ajs confluence/dialog confluence/legacy confluence/api/logger confluence/templates confluence-keyboard-shortcuts/confluence-keyboard-shortcuts".split(" "),function(n,e,d,q,g,u,o,h){return function(){var c;h.keyboardShortcuts.getDialog=function(){function r(){if(g&&g.Editor&&g.Editor.isVisible&&g.Editor.isVisible()){c.overrideLastTab();c.gotoPanel(1)}else c.gotoPanel(0)}var p=e.Deferred();if(c){r();return p.resolve(c)}var f=h.keyboardShortcuts.shortcuts, 16189v=n.navigator.platform.indexOf("Mac")!==-1,x=function(b){for(var a=e("<span></span>").addClass("item-action"),k=0;k<b.keys.length;k++){k>0&&a.append(l("or"));for(var c=b.keys[k],m=0;m<c.length;m++){m>0&&a.append(l("then"));for(var s=a,t=c[m].split("+"),i=0;i<t.length;i++){i>0&&s.append(l("+"));for(var g=s,h=t[i].split(".."),f=0;f<h.length;f++){f>0&&g.append(l("to"));g.append(w(h[f]))}}}}return a}, 16190w=function(b){var a=e("<kbd></kbd>"),c;try{c=parseInt(b,10)}catch(f){u.debug("Error while converting shortcut key to int")}switch(true){case b==="Shift":case b==="Sh":a.text("Shift");a.addClass("modifier-key");break;case b==="Ctrl":b=v?"â":"Ctrl";a.text(b);a.addClass("modifier-key");break;case b==="Tab":a.text("Tab");a.addClass("modifier-key");break;case b==="Alt":a.text("Alt"); 16191a.addClass("modifier-key");break;case c===188||c===190:a.text(String.fromCharCode(c-144));a.addClass("regular-key");break;case c===220:a.text(String.fromCharCode(c-128));a.addClass("regular-key");break;case c===59:a.text(String.fromCharCode(b));a.addClass("regular-key");break;default:a.text(b);a.addClass("regular-key")}return a},l=function(b){var a=e("<span></span>");a.text(b);a.addClass("key-separator");return a},j=function(b,a,c){for(var b=e(o.KeyboardShortcutsDialog.keyboardShortcutModule({title:b, 16192description:""})),d=b.find("ul"),f=0;f<c.length;f++){var g=c[f];if(!g.hidden&&e.inArray(g.context,a)!==-1){var h=e("<li></li>").addClass("item-details"),i=g.description,i=e("<span></span>").addClass("item-description").append(i);h.append(i);h.append(x(g));d.append(h)}}return b};c=new (q.confluenceDialog||q)({width:950,height:660,id:"keyboard-shortcuts-dialog"});c.addHeader("Keyboard Shortcuts");
16192c.addPanel("General",function(){var b= 16193e(o.KeyboardShortcutsDialog.keyboardShortcutPanel({panelId:"general-shortcuts-panel"})),a=e(b).children(".shortcutsmenu");d.Meta.get("remote-user")&&b.find(".keyboard-shortcut-dialog-panel-header").append(g.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox());a.append(j("Global Shortcuts",["global"],f));a.append(j("Page / Blog Post Actions",["viewcontent","viewinfo"],f));return b}());c.addPanel("Editor", 16194function(){var b=e(o.KeyboardShortcutsDialog.keyboardShortcutPanel({panelId:"editor-shortcuts-panel"})),a=e(b).children(".shortcutsmenu");a.append(j("Block Formatting",["tinymce.block"],f));a.append(j("Rich Formatting",["tinymce.rich"],f));a.append(j("Editing Actions",["tinymce.actions"],f));return b}());c.addCancel("Close",function(){d.debug("Hiding Shortcuts help"); 16195c.hide();return false});d.trigger("keyboard-shortcut-dialog-ready",c);r();p.resolve(c);e("#keyboard-shortcut-enabled-checkbox").prop("checked",h.keyboardShortcuts.enabled).click(function(){var b=e(this).prop("checked");e.ajax({type:"POST",url:d.contextPath()+"/rest/confluenceshortcuts/latest/enabled",data:e.toJSON({enabled:b}),dataType:"json",contentType:"application/json"}).done(function(){h.keyboardShortcuts.enabled=b;h.keyboardShortcuts.ready=false;b?d.trigger("add-bindings.keyboardshortcuts"): 16196d.trigger("remove-bindings.keyboardshortcuts")})});return p}}});require("confluence/module-exporter").safeRequire("confluence-keyboard-shortcuts/shortcut-dialog",function(n){require("ajs").toInit(n)}); 16197}catch(e){WRMCB(e)}; 16198; 16199try { 16200/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'js/shortcut-dialog-tab-autoformat.js' */ 16201define("confluence-keyboard-shortcuts/shortcut-dialog-tab-autoformat",["ajs","confluence/templates","jquery","confluence-keyboard-shortcuts/confluence-keyboard-shortcuts"],function(a,d,g,c){return function(){void 0===c.keyboardShortcuts.Autoformat&&(c.keyboardShortcuts.Autoformat=[]);var b=d.KeyboardShortcutsDialog.Autoformat,k=[{context:"autoformat.font_formatting",description:b.boldDescription(),action:"*Bold*"},{context:"autoformat.font_formatting", 16202description:b.underlineDescription(),action:"+Underline+"},{context:"autoformat.font_formatting",description:b.italicDescription(),action:"_Italic_"},{context:"autoformat.font_formatting",description:b.monospaceDescription(),action:"{{Monospace}}"},{context:"autoformat.tables",description:b.tableDescription(),action:"||||| + enter"}, 16203{context:"autoformat.tables",description:b.tableWithHeadingsDiscriptions(),action:"||heading||heading||"},{context:"autoformat.styles",description:b.h1Description(),action:["h1. Heading","# Heading"]},{context:"autoformat.styles",description:b.h3Description(),action:["h3. Heading","### Heading"]}, 16204{context:"autoformat.styles",description:b.bqDescription(),action:["bq. Quote","\u003e Quote"]},{context:"autoformat.emoticons",img:"biggrin.svg",alt:"Grinning face with big eyes",action:":smiley:"},{context:"autoformat.emoticons",img:"check.svg",alt:"Tick",action:"(/)"}, 16205{context:"autoformat.emoticons",img:"star_yellow.svg",alt:"Star",action:":star:"},{context:"autoformat.lists",description:b.numberedListDescription(),action:"1. list"},{context:"autoformat.lists",description:b.bulletedListDescription(),action:["* bullets","- bullets"]}, 16206{context:"autoformat.lists",description:b.inlineTaskListDescription(),action:"[] task"},{context:"autoformat.autocomplete",description:"Image/Media",action:"!"},{context:"autoformat.autocomplete",description:"Link",action:"["},{context:"autoformat.autocomplete", 16207description:"Macro",action:"{"},{context:"autoformat.autocomplete",description:"Macro",action:"/"},{context:"autoformat.autocomplete",description:"Mentions",action:"@"}, 16208{context:"autoformat.autocomplete",description:"Emoji",action:":"}],h=function(a,b,f,i){var a=g(d.KeyboardShortcutsDialog.keyboardShortcutModule({title:a,description:i})),i=a.find("ul"),c;c=g.grep(k,function(a){return a.context===b});for(var j=0,h=c.length;j<h;j++)i.append(f(c[j]));return a},f=function(a,b,d){return h(a,b,function(a){return d({output:a.description,type:Array.isArray(a.action)? 16209a.action[0]:a.action,multiple:Array.isArray(a.action)&&a.action.length>1?a.action.slice(1):false})})},l=function(d,e){var c=a.params.staticResourceUrlPrefix+"/images/icons/emoticons/";return h(d,e,function(a){return b.emoticonHelpItem({src:c+a.img,type:a.action,alt:a.alt})},"Hover over an emoji in the emoji menu to see its keyboard shortcut. Here are some examples:")};return function(){var c=g(d.KeyboardShortcutsDialog.keyboardShortcutPanel({panelId:"autoformat-shortcuts-panel"})),e=c.children(".shortcutsmenu");e.append(f("Font Formatting", 16210"autoformat.font_formatting",b.simpleHelpItem));e.append(f("Autocomplete","autoformat.autocomplete",b.keyboardShortcutItem));e.append(f("Tables","autoformat.tables",b.tableHelpItem));e.append(f("Styles","autoformat.styles",b.styleHelpItem).addClass("styles-module"));e.append(l("Emojis","autoformat.emoticons")); 16211e.append(f("Lists","autoformat.lists",b.simpleHelpItem));a.Meta.get("remote-user")&&c.find(".keyboard-shortcut-dialog-panel-header").append(b.configureAutocomplete({href:a.contextPath()+"/users/viewmyeditorsettings.action"}));return c}}}); 16212require("confluence/module-exporter").safeRequire("confluence-keyboard-shortcuts/shortcut-dialog-tab-autoformat",function(a){var d=require("ajs");d.toInit(function(){var g=a();d.bind("keyboard-shortcut-dialog-ready",function(a,b){b.addPanel
16212("Editor Autoformatting",g())})})}); 16213}catch(e){WRMCB(e)}; 16214; 16215try { 16216/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'templates/shortcut-dialog-tab-autoformat.soy' */ 16217// This file was automatically generated from shortcut-dialog-tab-autoformat.soy. 16218// Please don't edit this file by hand. 16219 16220/** 16221 * @fileoverview Templates in namespace Confluence.Templates.KeyboardShortcutsDialog.Autoformat. 16222 */ 16223 16224if (typeof Confluence == 'undefined') { var Confluence = {}; } 16225if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 16226if (typeof Confluence.Templates.KeyboardShortcutsDialog == 'undefined') { Confluence.Templates.KeyboardShortcutsDialog = {}; } 16227if (typeof Confluence.Templates.KeyboardShortcutsDialog.Autoformat == 'undefined') { Confluence.Templates.KeyboardShortcutsDialog.Autoformat = {}; } 16228 16229 16230Confluence.Templates.KeyboardShortcutsDialog.Autoformat.configureAutocomplete = function(opt_data, opt_ignored) { 16231 return '<div id="keyboard-shortcut-autocomplete-message">' + soy.$$escapeHtml('To configure Autocomplete,') + ' <a class="a11y-link" target="_blank" href=' + soy.$$escapeHtml(opt_data.href) + '>' + soy.$$escapeHtml('go to your editor settings') + '</a></div>'; 16232}; 16233if (goog.DEBUG) { 16234 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.configureAutocomplete.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.configureAutocomplete'; 16235} 16236 16237 16238Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem = function(opt_data, opt_ignored) { 16239 return '<li class="item-details"><span class="item-description wiki-content">' + opt_data.output + '</span><span class="' + opt_data.actionClass + ' item-action">' + opt_data.type + '</span></li>'; 16240}; 16241if (goog.DEBUG) { 16242 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem'; 16243} 16244 16245 16246Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type = function(opt_data, opt_ignored) { 16247 var output = '<code>' + soy.$$escapeHtml(opt_data.type) + '</code>'; 16248 if (opt_data.multiple) { 16249 var itemList24 = opt_data.multiple; 16250 var itemListLen24 = itemList24.length; 16251 for (var itemIndex24 = 0; itemIndex24 < itemListLen24; itemIndex24++) { 16252 var itemData24 = itemList24[itemIndex24]; 16253 output += '<span class="key-separator">' + soy.$$escapeHtml('or') + '</span><code>' + soy.$$escapeHtml(itemData24) + '</code>'; 16254 } 16255 } 16256 return output; 16257}; 16258if (goog.DEBUG) { 16259 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type'; 16260} 16261 16262 16263Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem = function(opt_data, opt_ignored) { 16264 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: opt_data.output, type: '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type(opt_data), actionClass: ''}); 16265}; 16266if (goog.DEBUG) { 16267 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem'; 16268} 16269 16270 16271Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableHelpItem = function(opt_data, opt_ignored) { 16272 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: opt_data.output, type: '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type(opt_data), actionClass: 'table-action'}); 16273}; 16274if (goog.DEBUG) { 16275 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableHelpItem'; 16276} 16277 16278 16279Confluence.Templates.KeyboardShortcutsDialog.Autoformat.styleHelpItem = function(opt_data, opt_ignored) { 16280 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: opt_data.output, type: '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type(opt_data), actionClass: 'style-action'}); 16281}; 16282if (goog.DEBUG) { 16283 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.styleHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.styleHelpItem'; 16284} 16285 16286 16287Confluence.Templates.KeyboardShortcutsDialog.Autoformat.keyboardShortcutItem = function(opt_data, opt_ignored) { 16288 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: '' + soy.$$escapeHtml(opt_data.output), type: '<kbd class="regular-key">' + soy.$$escapeHtml(opt_data.type) + '</kbd>', actionClass: ''}); 16289}; 16290if (goog.DEBUG) { 16291 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.keyboardShortcutItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.keyboardShortcutItem'; 16292} 16293 16294 16295Confluence.Templates.KeyboardShortcutsDialog.Autoformat.emoticonHelpItem = function(opt_data, opt_ignored) { 16296 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem({output: '<img src=' + soy.$$escapeHtml(opt_data.src) + ' alt="' + soy.$$escapeHtml(opt_data.alt) + '"></img>', type: opt_data.type, multiple: opt_data.multiple}); 16297}; 16298if (goog.DEBUG) { 16299 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.emoticonHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.emoticonHelpItem'; 16300} 16301 16302 16303Confluence.Templates.KeyboardShortcutsDialog.Autoformat.boldDescription = function(opt_data, opt_ignored) { 16304 return '<b>' + soy.$$escapeHtml('Bold') + '</b> ' + soy.$$escapeHtml('text'); 16305}; 16306if (goog.DEBUG) { 16307 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.boldDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.boldDescription'; 16308} 16309 16310 16311Confluence.Templates.KeyboardShortcutsDialog.Autoformat.underlineDescription = function(opt_data, opt_ignored) { 16312 return '<span style="text-decoration: underline;">' + soy.$$escapeHtml('Underline') + '</span> ' + soy.$$escapeHtml('text'); 16313}; 16314if (goog.DEBUG) { 16315 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.underlineDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.underlineDescription'; 16316} 16317 16318 16319Confluence.Templates.KeyboardShortcutsDialog.Autoformat.italicDescription = function(opt_data, opt_ignored) { 16320 return '<em>' + soy.$$escapeHtml('Italic') + '</em> ' + soy.$$escapeHtml('text'); 16321}; 16322if (goog.DEBUG) { 16323 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.italicDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.italicDescription'; 16324} 16325 16326 16327Confluence.Templates.KeyboardShortcutsDialog.Autoformat.monospaceDescription = function(opt_data, opt_ignored) { 16328 return '<code>' + soy.$$escapeHtml('Monospace') + '</code> ' + soy.$$escapeHtml('text'); 16329}; 16330if (goog.DEBUG) { 16331 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.monospaceDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.monospaceDescription'; 16332} 16333 16334 16335Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableDescription = function(opt_data, opt_ignored) { 16336 return '<table class="confluenceTable"><tbody><tr><td class="confluenceTd">' + soy.$$escapeHtml('first cell') + '</td><td class="confluenceTd"> </td><td class="confluenceTd"> </td><td class="confluenceTd"> </td></tr></tbody></table>'; 16337}; 16338if (goog.DEBUG) { 16339 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableDescription'; 16340} 16341 16342 16343Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableWithHeadingsDiscriptions = function(opt_data, opt_ignored) { 16344 return '<table class="confluenceTable"><tbody><tr><th class="confluenceTh">' + soy.$$escapeHtml('heading') + '</th><th class="confluenceTh">' + soy.$$escapeHtml('heading') + '</th></tr><tr><td class="confluenceTd">​</td><td class="confluenceTd">​</td></tr></tbody></table>'; 16345}; 16346if (goog.DEBUG) { 16347 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableWithHeadingsDiscriptions.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableWithHeadingsDiscriptions'; 16348} 16349 16350 16351Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h1Description = function(opt_data, opt_ignored) { 16352 return '<h1>' + soy.$$escapeHtml('Heading') + '</h1>'; 16353}; 16354if (goog.DEBUG) { 16355 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h1Description.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h1Description'; 16356} 16357 16358 16359Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h3Description = function(opt_data, opt_ignored) { 16360 return '<h3>' + soy.$$escapeHtml('Heading') + '</h3>'; 16361}; 16362if (goog.DEBUG) { 16363 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h3Description.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h3Description'; 16364} 16365 16366 16367Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bqDescription = function(opt_data, opt_ignored) { 16368 return '<blockquote>' + soy.$$escapeHtml('Quote') + '</blockquote>'; 16369}; 16370if (goog.DEBUG) { 16371 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bqDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bqDescription'; 16372} 16373 16374 16375Confluence.Templates.KeyboardShortcutsDialog.Autoformat.numberedListDescription = function(opt_data, opt_ignored) { 16376 return '<ol><li>' + soy.$$escapeHtml('list') + '</li></ol>'; 16377}; 16378if (goog.DEBUG) { 16379 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.numberedListDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.numberedListDescription'; 16380} 16381 16382 16383Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bulletedListDescription = function(opt_data, opt_ignored) { 16384 return '<ul><li>' + soy.$$escapeHtml('bullets') + '</li></ul>'; 16385}; 16386if (goog.DEBUG) { 16387 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bulletedListDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bulletedListDescription'; 16388} 16389 16390 16391Confluence.Templates.KeyboardShortcutsDialog.Autoformat.inlineTaskListDescription = function(opt_data, opt_ignored) { 16392 return '<ul class="inline-task-list"><li>' + soy.$$escapeHtml('task') + '</li></ul>'; 16393}; 16394if (goog.DEBUG) { 16395 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.inlineTaskListDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.inlineTaskListDescription'; 16396} 16397 16398}catch(e){WRMCB(e)}; 16399; 16400try { 16401/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'templates/help-dialog.soy' */ 16402// This file was automatically generated from help-dialog.soy. 16403// Please don't edit this file by hand. 16404 16405/** 16406 * @fileoverview Templates in namespace Confluence.Templates.KeyboardShortcutsDialog. 16407 */ 16408 16409if (typeof Confluence == 'undefined') { var Confluence = {}; } 16410if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 16411if (typeof Confluence.Templates.KeyboardShortcutsDialog == 'undefined') { Confluence.Templates.KeyboardShortcutsDialog = {}; } 16412 16413 16414Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutModule = function(opt_data, opt_ignored) { 16415 return '<div class="module"><div class="mod-header"><h3>' + soy.$$escapeHtml(opt_data.title) + '</h3></div>' + ((opt_data.description) ? '<div class="description">' + soy.$$escapeHtml(opt_data.description) + '</div>' : '') + '<div class="mod-content"><ul class="mod-item"></ul></div></div>'; 16416}; 16417if (goog.DEBUG) { 16418 Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutModule.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutModule'; 16419} 16420 16421 16422Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox = function(opt_data, opt_ignored) {
16423 return '<form name="shortcut-settings" id="shortcut-settings-form"><input type="checkbox" name="enabled" id="keyboard-shortcut-enabled-checkbox"><label for="keyboard-shortcut-enabled-checkbox">' + soy.$$escapeHtml('Enable General Shortcuts') + '</label></form>'; 16424}; 16425if (goog.DEBUG) { 16426 Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox'; 16427} 16428 16429 16430Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutPanel = function(opt_data, opt_ignored) { 16431 return '<div id=' + soy.$$escapeHtml(opt_data.panelId) + '><div class="keyboard-shortcut-dialog-panel-header"></div><div class="shortcutsmenu"></div><div class="keyboard-shortcut-dialog-panel-footer"></div></div>'; 16432}; 16433if (goog.DEBUG) { 16434 Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutPanel.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutPanel'; 16435} 16436 16437}catch(e){WRMCB(e)}; 16438; 16439try { 16440/* module-key = 'com.atlassian.auiplugin:split_aui.page.typography', location = 'aui.chunk.28a37a58b45e563d--6c6ad6c437580dc7.js' */ 16441"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3419"],{2458(u,i,n){n.r(i)}},function(u){u.O(0,["8976","9284"],function(){return u(u.s=2458)}),u.O()}]); 16442}catch(e){WRMCB(e)}; 16443; 16444try { 16445/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.page-layout', location = 'aui.chunk.fc05402240fe836f--7b0970e238d21048.js' */ 16446"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3097"],{7308(u,i,n){n.r(i)}},function(u){u.O(0,["1861","5262","8976","9284"],function(){return u(u.s=7308)}),u.O()}]); 16447}catch(e){WRMCB(e)}; 16448; 16449try { 16450/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.d3ca746d44', location = 'aui.chunk.8200a8ec18080744--7da37217f3323485.js' */ 16451"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2924"],{7007(e,a,t){t.r(a),t.d(a,{NavigationEl:()=>i.NavigationEl,navigation:()=>i.default});var i=t(8879)},8879(e,a,t){t.r(a),t.d(a,{NavigationEl:()=>o,default:()=>h});var i=t(9908),n=t(3003),l=t(2221),s=t(5452),r=t(6552);function d(e){if(this.$el=(0,n.default)(e).closest(".aui-nav"),this.$el.length>1)return this.$el.map(function(e,a){return new d(a)})[0];if(this.$el.data("aui-navigation"))return this.$el.data("aui-navigation");this.$el.data("aui-navigation",this),this.$treeParent=this.$el.parent("li[aria-expanded]"),this.$subtreeToggleIcon=this.$treeParent.children(".aui-nav-subtree-toggle").children("span.aui-icon"),this.$el.children("li:has(.aui-nav-selected)").addClass("aui-nav-child-selected");var a=this.$el.children(".aui-nav-selected");a.parents(".aui-nav > [aria-expanded=false]").add(a.filter("[aria-expanded=false]")).each(function(){u((0,n.default)(this).children(".aui-nav")).expand()});var t=this.$el.find("> li[aria-expanded] > .aui-nav-subtree-toggle");return t.on("click",function(){u((0,n.default)(this).siblings(".aui-nav")).toggle()}),t.each(function(){var e=(0,n.default)(this).parent("li[aria-expanded]"),a=(0,n.default)(this).find(".aui-icon"),t="true"===e.attr("aria-expanded");a.text(t?"Collapse":"Expand")}),this}d.prototype.isNested=function(){return 1===this.$treeParent.length},d.prototype.isCollapsed=function(){return"false"===this.$treeParent.attr("aria-expanded")},d.prototype.expand=function(){return this.$treeParent.attr("aria-expanded","true"),this.$subtreeToggleIcon.removeClass("aui-iconfont-collapsed").addClass("aui-iconfont-expanded").text("Collapse"),this},d.prototype.collapse=function(){return this.$treeParent.attr("aria-expanded","false"),this.$subtreeToggleIcon.removeClass("aui-iconfont-expanded").addClass("aui-iconfont-collapsed").text("Expand"),this},d.prototype.toggle=function(){return this.isCollapsed()?this.expand():this.collapse(),this};let u=(0,r.default)("navigation",d),o=(0,l.default)("aui-nav",{type:l.default.type.CLASSNAME,attached:function(e){new d(e)},detached:function(e){(0,n.default)(e).removeData()}});(0,s.default)("navigation",u);let h=u}}]); 16452}catch(e){WRMCB(e)}; 16453; 16454try { 16455/* module-key = 'com.atlassian.auiplugin:split_aui.component.nav', location = 'aui.chunk.c368f03b6efddc8d--44e5e3aeb03055e6.js' */ 16456"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["109"],{9976(u){u.exports=jQuery}},function(u){u.O(0,["1580","1843","2924","3709","3944","4497","4581","5262","6981","7402","8976","9274","9284","9809"],function(){return u(u.s=7007)}),u.O()}]); 16457}catch(e){WRMCB(e)}; 16458; 16459try { 16460/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.toolbar2', location = 'aui.chunk.af4939c30a165380--f6167faa8e9b69b1.js' */ 16461"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8878"],{2309(u,i,n){n.r(i)}},function(u){u.O(0,["1925","1935","5262","6635","8976","9284"],function(){return u(u.s=2309)}),u.O()}]); 16462}catch(e){WRMCB(e)}; 16463; 16464try { 16465/* module-key = 'com.atlassian.auiplugin:split_aui.component.dropdown2', location = 'aui.chunk.3f4655e8c302e729--0d7c2c15e5f23d46.js' */ 16466"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["929"],{9976(u){u.exports=jQuery}},function(u){u.O(0,["101","1103","1580","1843","2436","2747","3590","3662","3709","3925","3944","4478","4497","4694","5","5889","5985","6358","6452","6933","6981","7402","7513","7619","7625","8179","8976","9016","9193","9274","9468","9496","9809"],function(){return u(u.s=2271)}),u.O()}]); 16467}catch(e){WRMCB(e)}; 16468; 16469try { 16470/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--2a44ce3699', location = 'aui.chunk.dc74c6f906a4a20e--e7dcd8c13788dada.js' */ 16471(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["3453"],{3309(i,u,n){var t,e,o;!function(a){"use strict";e=[n(9976)],void 0===(o="function"==typeof(t=a)?t.apply(u,e):t)||(i.exports=o)}(function(i){return i.ui=i.ui||{},i.ui.version="1.14.1"})}}]); 16472}catch(e){WRMCB(e)}; 16473; 16474try { 16475/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--919950bf68', location = 'aui.chunk.6f98643c54d46b61--2bea759863360e58.js' */ 16476(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4088"],{9229(t,e,i){var s,n,o;!function(a){"use strict";n=[i(9976),i(3309)],void 0===(o="function"==typeof(s=a)?s.apply(e,n):s)||(t.exports=o)}(function(t){"use strict";var e,i=0,s=Array.prototype.hasOwnProperty,n=Array.prototype.slice;return e=t.cleanData,t.cleanData=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.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0];if("__proto__"===(e=e.split(".")[1])||"constructor"===e)return t.error("Invalid widget name: "+e);var u=l+"-"+e;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){if("function"!=typeof e){r[t]=e;return}r[t]=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}}()}),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: 12,640 bytes, lines 16476-16501
16476,t.widget.extend=function(e){for(var i,o,a=n.call(arguments,1),r=0,l=a.length;r<l;r++)for(i in a[r])o=a[r][i],s.call(a[r],i)&&void 0!==o&&(t.isPlainObject(o)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],o):t.widget.extend({},o):e[i]=o);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=n.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,n=t.data(this,s);return"instance"===o?(l=n,!1):n?"function"!=typeof n[o]||"_"===o.charAt(0)?t.error("no such method '"+o+"' for "+e+" widget instance"):(i=n[o].apply(n,r))!==n&&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,s);e?(e.option(o||{}),e._init&&e._init()):t.data(this,s,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(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,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(),e),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={},e=(s=e.split(".")).shift(),s.length){for(o=0,n=a[e]=t.widget.extend({},this.options[e]);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(n,o){var a,r;for(r=0;r<n.length;r++)a=s.classesElementLookup[n[r]]||t(),e.add?(!function(){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"})}(),a=t(t.uniqueSort(a.get().concat(e.element.get())))):a=t(a.not(e.element).get()),s.classesElementLookup[n[r]]=a,i.push(n[r]),o&&e.classes[n[r]]&&i.push(e.classes[n[r]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(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))},_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){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},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){"string"==typeof n&&(n={effect:n});var a,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})}}]); 16477}catch(e){WRMCB(e)}; 16478; 16479try { 16480/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--177522ba92', location = 'aui.chunk.7950bdf5f6ce4c89--109acd37dde302da.js' */ 16481(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["77"],{7228(e,t,s){var i,o,n;!function(u){"use strict";o=[s(9976),s(3309),s(9229)],void 0===(n="function"==typeof(i=u)?i.apply(t,o):i)||(e.exports=n)}(function(e){"use strict";var t=!1;return e(document).on("mouseup",function(){t=!1}),e.widget("ui.mouse",{version:"1.14.1",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(s){if(!0===e.data(s.target,t.widgetName+".preventClickEvent"))return e.removeData(s.target,t.widgetName+".preventClickEvent"),s.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(s){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(s),this._mouseDownEvent=s;var i=this,o=1===s.which,n="string"==typeof this.options.cancel&&e(s.target).closest(this.options.cancel).length;return!(o&&!n&&this._mouseCapture(s))||((this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(s)&&this._mouseDelayMet(s)&&(this._mouseStarted=!1!==this._mouseStart(s),!this._mouseStarted))?(s.preventDefault(),!0):(!0===e.data(s.target,this.widgetName+".preventClickEvent")&&e.removeData(s.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),s.preventDefault(),t=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved&&!e.which){if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return((e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted)?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(s){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,s.target===this._mouseDownEvent.target&&e.data(s.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(s)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,s.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}})})}}]); 16482}catch(e){WRMCB(e)}; 16483; 16484try { 16485/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--e78b1959c2', location = 'aui.chunk.c3feb80658f3360d--c68916470e3e12d7.js' */ 16486(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6840"],{9041(t,o,s){var n,e,i;!function(r){"use strict";e=[s(9976),s(3309)],void 0===(i="function"==typeof(n=r)?n.apply(o,e):n)||(t.exports=i)}(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)}})}}]); 16487}catch(e){WRMCB(e)}; 16488; 16489try { 16490/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--4ce6273df1', location = 'aui.chunk.e7a17f0520c5f058--979f4b5830bfa461.js' */ 16491(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["7352"],{6786(n,e,i){var u,p,t;!function(o){"use strict";p=[i(9976),i(3309)],void 0===(t="function"==typeof(u=o)?u.apply(e,p):u)||(n.exports=t)}(function(n){return n.ui.plugin={add:function(e,i,u){var p,t=n.ui[e].prototype;for(p in u)t.plugins[p]=t.plugins[p]||[],t.plugins[p].push([i,u[p]])},call:function(n,e,i,u){var p,t=n.plugins[e];if(t&&(u||n.element[0].parentNode&&11!==n.element[0].parentNode.nodeType))for(p=0;p<t.length;p++)n.options[t[p][0]]&&t[p][1].apply(n.element,i)}}})}}]); 16492}catch(e){WRMCB(e)}; 16493; 16494try { 16495/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--45b9bd6d27', location = 'aui.chunk.7648e45bd18e1cc8--312038fbd0dc2f18.js' */ 16496(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5666"],{4745(e,n,t){var u,a,i;!function(o){"use strict";a=[t(9976),t(3309)],void 0===(i="function"==typeof(u=o)?u.apply(n,a):u)||(e.exports=i)}(function(e){return e.extend(e.expr.pseudos,{data:e.expr.createPseudo(function(n){return function(t){return!!e.data(t,n)}})})})}}]); 16497}catch(e){WRMCB(e)}; 16498; 16499try { 16500/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--f25bba9dea', location = 'aui.chunk.e774127bb4d10752--fb5b6bb885eaa8b6.js' */ 16501(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8006"],{6973(t,e,i){var n,s,r,o;
vendor: 4,336 bytes, line 16501
16501r=function(t,e,i,n){var s,r=t.Backbone,o=Array.prototype.slice;e.VERSION="1.6.0",e.$=n,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var h=e.Events={},a=/\s+/,u=function(t,e,n,s,r){var o,h=0;if(n&&"object"==typeof n)for(void 0!==s&&("context"in r)&&void 0===r.context&&(r.context=s),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};h.on=function(t,e,i){return this._events=u(l,this._events||{},t,e,{context:i,ctx:this,listening:s}),s&&((this._listeners||(this._listeners={}))[s.id]=s,s.interop=!1),this},h.listenTo=function(t,e,n){if(!t)return this;var r=t._listenId||(t._listenId=i.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),h=s=o[r];h||(this._listenId||(this._listenId=i.uniqueId("l")),h=s=o[r]=new v(this,t));var a=c(t,e,n,this);if(s=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},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=i.keys(h);a<r.length;a++)h[r[a]].cleanup();return}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}};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;if("object"==typeof t?(s=t,n=e):(s={})[t]=e,n||(n={}
vendor: 11,364 bytes, line 16501
16501),!this._validate(s,n))return!1;var s,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)}if(!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;n&&n.call(t.context,e,i,t),e.trigger("sync",e,i,t)},W(this,t),this.sync("read",this,t)},save:function(t,e,n){null==t||"object"==typeof t?(s=t,n=e):(s={})[t]=e;var s,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)},W(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):(W(this,t),o=this.sync("delete",this,t)),s||r(),o},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||L();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,s,r=!i.isArray(t);t=r?[t]:t.slice();var o=e.at;null!=o&&(o*=1),o>this.length&&(o=this.length),o<0&&(o+=this.length+1);var h=[],a=[],u=[],l=[],c={},d=e.add,f=e.merge,p=e.remove,g=!1,v=this.comparator&&null==o&&!1!==e.sort,m=i.isString(this.comparator)?this.comparator:null;for(s=0;s<t.length;s++){n=t[s];var _=this.get(n);if(_){if(f&&n!==_){var b=this._isModel(n)?n.attributes:n;e.parse&&(b=_.parse(b,e)),_.set(b,e),u.push(_),v&&!g&&(g=_.hasChanged(m))}c[_.cid]||(c[_.cid]=!0,h.push(_)),t[s]=_}else d&&(n=t[s]=this._prepareModel(n,e))&&(a.push(n),this._addReference(n,e),c[n.cid]=!0,h.push(n))}if(p){for(s=0;s<this.length;s++)c[(n=this.models[s]).cid]||l.push(n);l.length&&this._removeModels(l,e)}var w=!1;if(h.length&&!v&&d&&p?(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==o?this.length:o),this.length=this.models.length),g&&this.sort({silent:!0}),!e.silent){for(s=0;s<a.length;s++)null!=o&&(e.index=o+s),(n=a[s]).trigger("add",n,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 r?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 o.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 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){n[t.reset?"reset":"set"](i,t),e&&e.call(t.context,n,i,t),n.trigger("sync",n,i,t)},W(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){var n;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},_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)}});
vendor: 7,805 bytes, line 16501
16501var 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=o.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)}};i.each([[_,{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},"models"],[m,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"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=M[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")||L()),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 M={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var N=e.Router=function(t){t||(t={}),this.preinitialize.apply(this,arguments),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},O=/\((.*?)\)/g,U=/(\(\?)?:\w+/g,j=/\*\w+/g,z=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend(N.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 RegExp("^"+(t=t.replace(z,"\\$&").replace(O,"(?:$1)?").replace(U,function(t,e){return e?t:"([^/?]+)"}).replace(j,"([^?]*?)"))+"(?:\\?([\\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 F=e.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"u">typeof window&&(this.location=window.location,this.history=window.history)},J=/^[#\/]|\s+$/g,B=/^\/+|\/+$/g,q=/#.*$/;F.started=!1,i.extend(F.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(J,"")},start:function(t){if(F.started)throw Error("Backbone.history has already been started");if(F.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&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(B,"/"),this._wantsHashChange&&this._wantsPushState)if(this._hasPushState||this.atRoot())this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});else{var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!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),F.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(!F.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(q,"");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);else 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)}if(e.trigger)return this.loadUrl(t)}}
16501,_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"");t.replace(n+"#"+e)}else t.hash="#"+e}}),e.history=new F,m.extend=_.extend=N.extend=T.extend=F.extend=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};var L=function(){throw Error('A "url" property or function must be specified')},W=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},o="object"==typeof self&&self.self===self&&self||"object"==typeof i.g&&i.g.global===i.g&&i.g,n=[i(9616),i(9976),e],void 0===(s=(function(t,e,i){o.Backbone=r(o,i,t,e)}).apply(e,n))||(t.exports=s)}}]); 16502}catch(e){WRMCB(e)}; 16503; 16504try { 16505/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--6951252c72', location = 'aui.chunk.decaf4d49301e72a--aa5addeec1330277.js' */ 16506(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9095"],{1132(t,e,s){var i,o,n;!function(r){"use strict";o=[s(9976),s(7228),s(4745),s(6786),s(9041),s(3309),s(9229)],void 0===(n="function"==typeof(i=r)?i.apply(e,o):i)||(t.exports=n)}(function(t){return t.widget("ui.draggable",t.ui.mouse,{version:"1.14.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=!0;return}this._removeHandleClassName(),this._mouseDestroy()},_mouseCapture:function(e){var s=this.options;return!this.helper&&!s.disabled&&!(t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===s.iframeFix?"iframe":s.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var s=this.document[0].activeElement;t(e.target).closest(s).length||t(s).trigger("blur")},_mouseStart:function(e){var s=this.options;return(this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this._setContainment(),!1===this._trigger("start",e))?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,s){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!s){var i=this._uiHash();if(!1===this._trigger("drag",e,i))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var s=this,i=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(i=t.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,i)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==s._trigger("stop",e)&&s._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var s=this.options,i="function"==typeof s.helper,o=i?t(s.helper.apply(this.element[0],[e])):"clone"===s.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===s.appendTo?this.element[0].parentNode:s.appendTo),i&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}
vendor: 37,168 bytes, lines 16506-16511
16506),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),s=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==s&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(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)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,s,i,o=this.options,n=this.document[0];if(this.relativeContainer=null,!o.containment){this.containment=null;return}if("window"===o.containment){this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if("document"===o.containment){this.containment=[0,0,t(n).width()-this.helperProportions.width-this.margins.left,(t(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(o.containment.constructor===Array){this.containment=o.containment;return}"parent"===o.containment&&(o.containment=this.helper[0].parentNode),(i=(s=t(o.containment))[0])&&(e=/(scroll|auto)/.test(s.css("overflow")),this.containment=[(parseInt(s.css("borderLeftWidth"),10)||0)+(parseInt(s.css("paddingLeft"),10)||0),(parseInt(s.css("borderTopWidth"),10)||0)+(parseInt(s.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(s.css("borderRightWidth"),10)||0)-(parseInt(s.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(s.css("borderBottomWidth"),10)||0)-(parseInt(s.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=s)},_convertPositionTo:function(t,e){e||(e=this.position);var s="absolute"===t?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*s,left:e.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*s}},_generatePosition:function(t,e){var s,i,o,n,r=this.options,l=this._isRootNode(this.scrollParent[0]),a=t.pageX,h=t.pageY;return l&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),s=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):s=this.containment,t.pageX-this.offset.click.left<s[0]&&(a=s[0]+this.offset.click.left),t.pageY-this.offset.click.top<s[1]&&(h=s[1]+this.offset.click.top),t.pageX-this.offset.click.left>s[2]&&(a=s[2]+this.offset.click.left),t.pageY-this.offset.click.top>s[3]&&(h=s[3]+this.offset.click.top)),r.grid&&(o=r.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,h=s?o-this.offset.click.top>=s[1]||o-this.offset.click.top>s[3]?o:o-this.offset.click.top>=s[1]?o-r.grid[1]:o+r.grid[1]:o,n=r.grid[0]?this.originalPageX+Math.round((a-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,a=s?n-this.offset.click.left>=s[0]||n-this.offset.click.left>s[2]?n:n-this.offset.click.left>=s[0]?n-r.grid[0]:n+r.grid[0]:n),"y"===r.axis&&(a=this.originalPageX),"x"===r.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:l?0:this.offset.scroll.top),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:l?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,s,i){return i=i||this._uiHash(),t.ui.plugin.call(this,e,[s,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,s,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,s,i){var o=t.extend({},s,{item:i.element});i.sortables=[],t(i.options.connectToSortable).each(function(){var s=t(this).sortable("instance");s&&!s.options.disabled&&(i.sortables.push(s),s.refreshPositions(),s._trigger("activate",e,o))})},stop:function(e,s,i){var o=t.extend({},s,{item:i.element});i.cancelHelperRemoval=!1,t.each(i.sortables,function(){this.isOver?(this.isOver=0,i.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(e),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",e,o))})},drag:function(e,s,i){t.each(i.sortables,function(){var o=!1,n=this;n.positionAbs=i.positionAbs,n.helperProportions=i.helperProportions,n.offset.click=i.offset.click,n._intersectsWith(n.containerCache)&&(o=!0,t.each(i.sortables,function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==n&&this._intersectsWith(this.containerCache)&&t.contains(n.element[0],this.element[0])&&(o=!1),o})),o?(n.isOver||(n.isOver=1,i._parent=s.helper.parent(),n.currentItem=s.helper.appendTo(n.element).data("ui-sortable-item",!0),n.options._helper=n.options.helper,n.options.helper=function(){return s.helper[0]},e.target=n.currentItem[0],n._mouseCapture(e,!0),n._mouseStart(e,!0,!0),n.offset.click.top=i.offset.click.top,n.offset.click.left=i.offset.click.left,n.offset.parent.left-=i.offset.parent.left-n.offset.parent.left,n.offset.parent.top-=i.offset.parent.top-n.offset.parent.top,i._trigger("toSortable",e),i.dropped=n.element,t.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,n.fromOutside=i),n.currentItem&&(n._mouseDrag(e),s.position=n.position)):n.isOver&&(n.isOver=0,n.cancelHelperRemoval=!0,n.options._revert=n.options.revert,n.options.revert=!1,n._trigger("out",e,n._uiHash(n)),n._mouseStop(e,!0),n.options.revert=n.options._revert,n.options.helper=n.options._helper,n.placeholder&&n.placeholder.remove(),s.helper.appendTo(i._parent),i._refreshOffsets(e),s.position=i._generatePosition(e,!0),i._trigger("fromSortable",e),i.dropped=!1,t.each(i.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,s,i){var o=t("body"),n=i.options;o.css("cursor")&&(n._cursor=o.css("cursor")),o.css("cursor",n.cursor)},stop:function(e,s,i){var o=i.options;o._cursor&&t("body").css("cursor",o._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,s,i){var o=t(s.helper),n=i.options;o.css("opacity")&&(n._opacity=o.css("opacity")),o.css("opacity",n.opacity)},stop:function(e,s,i){var o=i.options;o._opacity&&t(s.helper).css("opacity",o._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,s){s.scrollParentNotHidden||(s.scrollParentNotHidden=s.helper.scrollParent(!1)),s.scrollParentNotHidden[0]!==s.document[0]&&"HTML"!==s.scrollParentNotHidden[0].tagName&&(s.overflowOffset=s.scrollParentNotHidden.offset())},drag:function(e,s,i){var o=i.options,n=!1,r=i.scrollParentNotHidden[0],l=i.document[0];r!==l&&"HTML"!==r.tagName?((!o.axis||"x"!==o.axis)&&(i.overflowOffset.top+r.offsetHeight-e.pageY<o.scrollSensitivity?r.scrollTop=n=r.scrollTop+o.scrollSpeed:e.pageY-i.overflowOffset.top<o.scrollSensitivity&&(r.scrollTop=n=r.scrollTop-o.scrollSpeed)),(!o.axis||"y"!==o.axis)&&(i.overflowOffset.left+r.offsetWidth-e.pageX<o.scrollSensitivity?r.scrollLeft=n=r.scrollLeft+o.scrollSpeed:e.pageX-i.overflowOffset.left<o.scrollSensitivity&&(r.scrollLeft=n=r.scrollLeft-o.scrollSpeed))):((!o.axis||"x"!==o.axis)&&(e.pageY-t(l).scrollTop()<o.scrollSensitivity?n=t(l).scrollTop(t(l).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(l).scrollTop())<o.scrollSensitivity&&(n=t(l).scrollTop(t(l).scrollTop()+o.scrollSpeed))),(!o.axis||"y"!==o.axis)&&(e.pageX-t(l).scrollLeft()<o.scrollSensitivity?n=t(l).scrollLeft(t(l).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(l).scrollLeft())<o.scrollSensitivity&&(n=t(l).scrollLeft(t(l).scrollLeft()+o.scrollSpeed)))),!1!==n&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,s,i){var o=i.options;i.snapElements=[],t(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var e=t(this),s=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:s.top,left:s.left})})},drag:function(e,s,i){var o,n,r,l,a,h,p,c,f,d,g=i.options,u=g.snapTolerance,m=s.offset.left,v=m+i.helperProportions.width,_=s.offset.top,P=_+i.helperProportions.height;for(f=i.snapElements.length-1;f>=0;f--){if(h=(a=i.snapElements[f].left-i.margins.left)+i.snapElements[f].width,c=(p=i.snapElements[f].top-i.margins.top)+i.snapElements[f].height,v<a-u||m>h+u||P<p-u||_>c+u||!t.contains(i.snapElements[f].item.ownerDocument,i.snapElements[f].item)){i.snapElements[f].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[f].item})),i.snapElements[f].snapping=!1;continue}"inner"!==g.snapMode&&(o=Math.abs(p-P)<=u,n=Math.abs(c-_)<=u,r=Math.abs(a-v)<=u,l=Math.abs(h-m)<=u,o&&(s.position.top=i._convertPositionTo("relative",{top:p-i.helperProportions.height,left:0}).top),n&&(s.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),r&&(s.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),l&&(s.position.left=i._convertPositionTo("relative",{top:0,left:h}).left)),d=o||n||r||l,"outer"!==g.snapMode&&(o=Math.abs(p-_)<=u,n=Math.abs(c-P)<=u,r=Math.abs(a-m)<=u,l=Math.abs(h-v)<=u,o&&(s.position.top=i._convertPositionTo("relative",{top:p,left:0}).top),n&&(s.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),r&&(s.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),l&&(s.position.left=i._convertPositionTo("relative",{top:0,left:h-i.helperProportions.width}).left)),!i.snapElements[f].snapping&&(o||n||r||l||d)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[f].item})),i.snapElements[f].snapping=o||n||r||l||d}}}),t.ui.plugin.add("draggable","stack",{start:function(e,s,i){var o,n=i.options,r=t.makeArray(t(n.stack)).sort(function(e,s){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(s).css("zIndex"),10)||0)});r.length&&(o=parseInt(t(r[0]).css("zIndex"),10)||0,t(r).each(function(e){t(this).css("zIndex",o+e)}),this.css("zIndex",o+r.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,s,i){var o=t(s.helper),n=i.options;o.css("zIndex")&&(n._zIndex=o.css("zIndex")),o.css("zIndex",n.zIndex)},stop:function(e,s,i){var o=i.options;o._zIndex&&t(s.helper).css("zIndex",o._zIndex)}}),t.ui.draggable})}}]); 16507}catch(e){WRMCB(e)}; 16508; 16509try { 16510/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--252a940369', location = 'aui.chunk.9c42905f7769ea4f--d7308ed6afb61241.js' */ 16511(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["7054"],{2903(t,e,i){var s,o,r;!function(n){"use strict";o=[i(9976),i(7228),i(4745),i(9041),i(3309),i(9229)],void 0===(r="function"==typeof(s=n)?s.apply(e,o):s)||(t.exports=r)}(function(t){return t.widget("ui.sortable",t.ui.mouse,{version:"1.14.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,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(){this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item).addClass("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._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))this._rearrange(e,s);else break;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;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p&&f: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(s=0,n=p[i][1],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()),s.left=(r=o.offset()).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]){this.currentContainer.containerCache.over||(this.containers[u]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1);return}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&&(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)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var 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;
16511i--)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._storedStylesheet&&(this._storedStylesheet.remove(),this._storedStylesheet=null),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}}})})}}]); 16512}catch(e){WRMCB(e)}; 16513; 16514try { 16515/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--32141df649', location = 'aui.chunk.1cffd6f106acd06f--ad1a3549f385d139.js' */ 16516(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2045"],{6682(){jQuery.fn.serializeObject=function(){var t={};return this.find(":input:not(:button):not(:submit):not(:radio):not('select[multiple]')").each(function(){""!==this.name&&(null===this.value&&(this.value=""),t[this.name]=this.value.match(/^(tru|fals)e$/i)?"true"==this.value.toLowerCase():this.value)}),this.find("input:radio:checked").each(function(){t[this.name]=this.value}),this.find("select[multiple]").each(function(){var i=jQuery(this),e=i.val();i.data("aui-ss")?e?t[this.name]=e[0]:t[this.name]="":null!==e?t[this.name]=e:t[this.name]=[]}),t}}}]); 16517}catch(e){WRMCB(e)}; 16518; 16519try { 16520/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f25bba9dea', location = 'aui.chunk.1e8620323baee4c7--cd860bec4fbf2490.js' */ 16521(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5805"],{9715(i,n,u){var a;void 0===(a=(function(i){return i.noConflict()}).apply(n,[u(6973)]))||(i.exports=a)}}]); 16522}catch(e){WRMCB(e)}; 16523; 16524try { 16525/* module-key = 'com.atlassian.auiplugin:split_aui.component.restful-table', location = 'aui.chunk.7008e327b993a23b--0498f0a8ae858d3b.js' */ 16526"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9768"],{3307(e,t,s){s.r(t),s.d(t,{RestfulTable:()=>S});var i=s(3003);s(9229),s(7228),s(1132),s(2903);var a=s(3349),o=s(9715),n=s.n(o);let r={NO_VALUE:"aui-restfultable-editable-no-value",NO_ENTRIES:"aui-restfultable-no-entires",RESTFUL_TABLE:"aui-restfultable",ROW:"aui-restfultable-row",READ_ONLY:"aui-restfultable-readonly",ACTIVE:"aui-restfultable-active",ALLOW_HOVER:"aui-restfultable-allowhover",FOCUSED:"aui-restfultable-focused",MOVEABLE:"aui-restfultable-movable",DISABLED:"aui-restfultable-disabled",SUBMIT:"aui-restfultable-submit",CANCEL:"aui-restfultable-cancel",EDIT_ROW:"aui-restfultable-editrow",CREATE:"aui-restfultable-create",DRAG_HANDLE:"aui-restfultable-draghandle",ORDER:"aui-restfultable-order",EDITABLE:"aui-restfultable-editable",ERROR:"error",DELETE:"aui-restfultable-delete",STATUS:"aui-restfultable-status"},l=n().View,d=n().View,h=n().View,u={ENABLED_SUBMIT:"enabledSubmit",ROW_VIEW:"RestfulTable_Row_View"};s(6682);let c={REORDER_SUCCESS:"RestfulTable.reorderSuccess",ROW_ADDED:"RestfulTable.rowAdded",ROW_REMOVED:"RestfulTable.rowRemoved",EDIT_ROW:"RestfulTable.switchedToEditMode",SERVER_ERROR:"RestfulTable.serverError",CREATED:"created",UPDATED:"updated",FOCUS:"focus",BLUR:"blur",SUBMIT:"submit",SAVE:"save",MODAL:"modal",MODELESS:"modeless",CANCEL:"cancel",CONTENT_REFRESHED:"contentRefreshed",RENDER:"render",FINISHED_EDITING:"finishedEditing",VALIDATION_ERROR:"validationError",SUBMIT_STARTED:"submitStarted",SUBMIT_FINISHED:"submitFinished",INITIALIZED:"initialized",ROW_INITIALIZED:"rowInitialized",ROW_EDIT:"editRow"};var f=s(9908);s(7640);let m='<aui-spinner size="small"></aui-spinner>',p="aui-spinner";function E(e){0===e.find(p).length&&e.find(`.${r.STATUS}`).append(m)}function v(e){e.find(`.${r.STATUS} ${p}`).remove()}var R=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");
16526let w=n().View.extend({tagName:"tr",events:{focusin:"_focus",click:"_focus",keyup:"_handleKeyUpEvent"},initialize:function(e){this.$el=(0,i.default)(this.el),this._event=c,this.classNames=r,this.dataKeys=u,this.columns=e.columns,this.isCreateRow=e.isCreateRow,this.allowReorder=e.allowReorder,this.events["click ."+this.classNames.CANCEL]="_cancel",this.delegateEvents(),e.isUpdateMode?this.isUpdateMode=!0:(this._modelClass=e.model,this.model=new this._modelClass),this.fieldFocusSelector=e.fieldFocusSelector,this.on(this._event.CANCEL,()=>{this.isCreateRow||(this.disabled=!0)}).on(this._event.SAVE,e=>!this.disabled&&this.submit(e)).on(this._event.FOCUS,e=>this.focus(e)).on(this._event.BLUR,()=>{this.$el.removeClass(this.classNames.FOCUSED),this.disable()}).on(this._event.SUBMIT_STARTED,()=>this._submitStarted()).on(this._event.SUBMIT_FINISHED,()=>this._submitFinished())},defaultColumnRenderer:function(e){return!1!==e.allowEdit?(0,i.default)("<input type='text' />").addClass("text").attr({name:e.name,value:e.value,"aria-label":e.ariaLabel}):e.value?document.createTextNode(e.value):void 0},renderDragHandle:function(){return'<span class="'+this.classNames.DRAG_HANDLE+'"></span></td>'},_handleKeyUpEvent:function(e){27===e.keyCode&&this.trigger(this._event.CANCEL)},_cancel:function(e){return this.trigger(this._event.CANCEL),e.preventDefault(),this},_submitStarted:function(){return this.submitting=!0,this.showLoading().disable().delegateEvents({}),this},_submitFinished:function(){return this.submitting=!1,this.hideLoading().enable().delegateEvents(this.events),this},_focus:function(e){return this.hasFocus()||this.trigger(this._event.FOCUS,e.target.name),this},hasFocus:function(){return this.$el.hasClass(this.classNames.FOCUSED)},focus:function(e){var t,s;return this.enable(),t=e?this.$el.find(this.fieldFocusSelector(e)):0===(s=this.$el.find(this.classNames.ERROR+":first")).length?this.$el.find(":input:text:first"):s.parent().find(":input"),this.$el.addClass(this.classNames.FOCUSED),t.trigger("focus").trigger("select"),this},disable:function(){var e,t;return R&&(t=this.$el.find(":submit")).length&&(e=(0,i.default)("<input type='submit' class='"+this.classNames.SUBMIT+"' />").addClass(t.attr("class")).val(t.val()).data(this.dataKeys.ENABLED_SUBMIT,t),t.replaceWith(e)),this.$el.addClass(this.classNames.DISABLED).find(":submit").prop("disabled",!0),this},enable:function(){var e,t;return R&&(t=(e=this.$el.find(this.classNames.SUBMIT)).data(this.dataKeys.ENABLED_SUBMIT))&&e.length&&e.replaceWith(t),this.$el.removeClass(this.classNames.DISABLED).find(":submit").prop("disabled",!1),this},showLoading:function(){return E(this.$el),this},hideLoading:function(){return v(this.$el),this},hasUpdates:function(){return!!this.mapSubmitParams(this.serializeObject())},serializeObject:function(){var e=this.$el;return e.serializeObject?e.serializeObject():e.serialize()},mapSubmitParams:function(e){return this.model.changedAttributes(e)},submit:function(e){var t,s=this;if(document.activeElement!==window&&(0,i.default)(document.activeElement).trigger("blur"),this.isUpdateMode){if(!(t=this.mapSubmitParams(this.serializeObject())))return s.trigger(s._event.CANCEL)}else this.model.clear(),t=this.mapSubmitParams(this.serializeObject());return this.trigger(this._event.SUBMIT_STARTED),this.model.save(t,{success:function(){s.isUpdateMode?s.trigger(s._event.UPDATED,s.model,e):(s.trigger(s._event.CREATED,s.model.toJSON()),s.model=new s._modelClass,s.render({errors:{},values:{}}),s.trigger(s._event.FOCUS)),s.trigger(s._event.SUBMIT_FINISHED)},error:function(e,t,i){400===i.status&&(s.renderErrors(t.errors),s.trigger(s._event.VALIDATION_ERROR,t.errors)),s.trigger(s._event.SUBMIT_FINISHED)},silent:!0}),this},renderError:function(e,t){return(0,i.default)("<div></div>").attr("data-field",e).addClass(this.classNames.ERROR).text(t)},renderErrors:function(e){var t=this;return this.$("."+this.classNames.ERROR).remove(),e&&i.default.each(e,function(e,s){t.$el.find("[name='"+e+"']").closest("td").append(t.renderError(e,s))}),this},render:function(e){var t=this;return this.$el.empty(),this.allowReorder&&(0,i.default)('<td class="'+this.classNames.ORDER+'"></td>').append(this.renderDragHandle()).appendTo(t.$el),i.default.each(this.columns,function(s,a){var o,n,r=e.values[a.id],l=[{name:a.id,ariaLabel:a.inputAriaLabel?a.inputAriaLabel:a.header,value:r,allowEdit:a.allowEdit},e.values,t.model];r&&t.$el.attr("data-"+a.id,r),o=t.isCreateRow&&a.createView?new a.createView({model:t.model}).render(l[0]):a.editView?new a.editView({model:t.model}).render(l[0]):t.defaultColumnRenderer.apply(t,l),n=(0,i.default)("<td></td>"),"object"==typeof o&&o.done?o.done(function(e){n.append(e)}):n.append(o),a.styleClass&&n.addClass(a.styleClass),n.appendTo(t.$el)}),this.$el.append(this.renderOperations(e.update,e.values)).addClass(this.classNames.ROW+" "+this.classNames.EDIT_ROW),this.trigger(this._event.RENDER,this.$el,e.values),this.$el.trigger(this._event.CONTENT_REFRESHED,[this.$el]),this},renderOperations:function(e){var t=(0,i.default)('<td class="aui-restfultable-operations"></td>');return e?t.append((0,i.default)('<input class="aui-button aui-button-primary" type="submit" />').attr({accesskey:this.submitAccessKey,value:"Update"})).append((0,i.default)('<a class="aui-button aui-button-link" href="#"></a>').addClass(this.classNames.CANCEL).text("Cancel").attr({accesskey:this.cancelAccessKey})):t.append((0,i.default)('<input class="aui-button aui-button-primary" type="submit" />').attr({accesskey:this.submitAccessKey,value:"Add"})),t.add((0,i.default)(`<td class="${this.classNames.STATUS}"></td>`))}}),g=document||{},_=(0,i.default)(g);function b(e,t){_.trigger(e,t)}function C(e,t,s){(0,i.default)(t).trigger(e,s),b(e,s),t.id&&b(t.id+"-"+e,s)}var N=s(9616);let D=e=>JSON.parse(e||"null");var O=n().Model.extend({sync:function(e,t,s){var i=this,a=s.error;return s.error=function(e){i._serverErrorHandler(e,this),a&&a.apply(this,arguments)},n().sync.apply(n(),arguments)},save:function(e,t){var s,i=this,a=(t=t||{}).error,o=t.success;t.error=function(e,t){var s=D(t.responseText||t.data);a&&a.call(i,i,s,t)},this.isNew()?n().Model.prototype.save.call(this,e,t):e&&((s=new(O.extend({url:this.url()}))({id:this.id})).save=n().Model.prototype.save,t.success=function(e,t){i.clear().set(e.toJSON()),o&&o.call(i,i,t)},s.save(e,t))},destroy:function(e){e=e||{};var t=this,s=this.url();return i.default.ajax({url:s,type:"DELETE",dataType:"json",data:e.data||{},contentType:"application/json",success(s){t.collection&&t.collection.remove(t),e.success&&e.success.call(t,s)},error(s){t._serverErrorHandler(s,this),e.error&&e.error.call(t,s)}}),this},changedAttributes:function(e){var t={},s=this.toJSON();if(i.default.each(e,function(e,i){s[e]?s[e]&&s[e]!==i&&("object"==typeof i&&(0,N.isEqual)(i,s[e])||(t[e]=i)):"string"==typeof i?""!==i.trim()&&(t[e]=i):Array.isArray(i)?0!==i.length&&(t[e]=i):t[e]=i}),!(0,N.isEmpty)(t))return this.addExpand(t),t},addExpand:function(e){},_serverErrorHandler:function(e,t){var s;400!==e.status&&(s=D(e.responseText||e.data),C(c.SERVER_ERROR,this,[s,e,t]))},fetch:function(e){e=e||{},this.clear(),n().Model.prototype.fetch.call(this,e)}}),T=s(5452);let y=n().View.extend({tagName:"tr",events:{"click .aui-restfultable-editable":"edit"},initialize:function(e){if(e=e||{},this._event=c,this.classNames=r,this.dataKeys=u,this.columns=e.columns,this.allowEdit=e.allowEdit,this.allowDelete=e.allowDelete,!this.events["click .aui-restfultable-editable"])throw Error("It appears you have overridden the events property. To add events you will need to usea work around. https://github.com/documentcloud/backbone/issues/244");this.index=e.index||0,this.deleteConfirmationCallback=e.deleteConfirmationCallback,this.allowReorder=e.allowReorder,this.$el=(0,i.default)(this.el),this.on(this._event.CANCEL,()=>this.disabled=!0).on(this._event.FOCUS,e=>this.focus(e)).on(this._event.BLUR,()=>this.unfocus()).on(this._event.MODAL,()=>this.$el.addClass(this.classNames.ACTIVE)).on(this._event.MODELESS,()=>this.$el.removeClass(this.classNames.ACTIVE))},renderDragHandle:function(){return'<span class="'+this.classNames.DRAG_HANDLE+'"></span></td>'},defaultColumnRenderer:function(e){if(e.value)return document.createTextNode(e.value.toString())},sync:function(e){var t=this;return this.model.addExpand(e),this.showLoading(),this.model.save(e,{success:function(){t.hideLoading().render(),t.trigger(t._event.UPDATED)},error:function(){t.hideLoading()}}),this},refresh:function(e,t){var s=this;return this.showLoading(),this.model.fetch({success:function(){s.hideLoading().render(),e&&e.apply(this,arguments)},error:function(){s.hideLoading(),t&&t.apply(this,arguments)}}),this},hasFocus:function(){return this.$el.hasClass(this.classNames.FOCUSED)},focus:function(){return(0,i.default)(this.el).addClass(this.classNames.FOCUSED),this},unfocus:function(){return(0,i.default)(this.el).removeClass(this.classNames.FOCUSED),this},showLoading:function(){return E(this.$el),this},hideLoading:function(){return v(this.$el),this},edit:function(e){var t;return t=(0,i.default)(e.target).is("."+this.classNames.EDITABLE)?(0,i.default)(e.target).attr("data-field-name"):(0,i.default)(e.target).closest("."+this.classNames.EDITABLE).attr("data-field-name"),this.trigger(this._event.ROW_EDIT,t),this},renderOperations:function(){var e=this;if(!1!==this.allowDelete)return(0,i.default)("<a href='#' class='aui-button'></a>").addClass(this.classNames.DELETE).text("Delete").on("click",function(t){t.preventDefault(),e.destroy()})},destroy:function(){if(this.deleteConfirmationCallback){let e=this.deleteConfirmationCallback(this.model.toJSON());if(e&&e.then)e.then(()=>this.model.destroy(),()=>{});else throw Error("deleteConfirmationCallback needs to return a Promise")}else this.model.destroy()},render:function(){var e=this,t=this.model.toJSON(),s=(0,i.default)("<td class='aui-restfultable-operations'></td>").append(this.renderOperations({},t)),a=(0,i.default)(`<td class="${this.classNames.STATUS}"></td>`);return this.$el.removeClass(this.classNames.DISABLED+" "+this.classNames.FOCUSED+" "+this.classNames.EDIT_ROW).addClass(this.classNames.READ_ONLY).empty(),this.allowReorder&&(0,i.default)('<td class="'+this.classNames.ORDER+'"></td>').append(this.renderDragHandle()).appendTo(e.$el),this.$el.attr("data-id",this.model.id),i.default.each(this.columns,function(s,a){var o,n=(0,i.default)("<td></td>"),r=t[a.id],l=a.fieldName||a.id,d=[{name:l,value:r,allowEdit:a.allowEdit},t,e.model];if(r&&e.$el.attr("data-"+a.id,r),o=a.readView?new a.readView({model:e.model}).render(d[0]):e.defaultColumnRenderer.apply(e,d),!1!==e.allowEdit&&!1!==a.allowEdit){var h=(0,i.default)("<span></span>").addClass(e.classNames.EDITABLE).append('<span class="aui-icon aui-icon-small aui-iconfont-edit"></span>').append(o).attr("data-field-name",l);n=(0,i.default)("<td></td>").append(h).appendTo(e.$el),o&&String(o).trim()||(n.addClass(e.classNames.NO_VALUE),h.html((0,i.default)("<em></em>").text(this.emptyText||"Enter value")))}else n.append(o);a.styleClass&&n.addClass(a.styleClass),n.appendTo(e.$el)}),this.$el.append(s).append(a).addClass(this.classNames.ROW+" "+this.classNames.READ_ONLY),this.trigger(this._event.RENDER,this.$el,t),this.$el.trigger(this._event.CONTENT_REFRESHED,[this.$el]),this}});var A=n().View.extend({initialize:function(e){var t=this;if(t.options=i.default.extend(!0,t._getDefaultOptions(e),e),t.id=this.options.id,t._event=c,t.classNames=r,t.dataKeys=u,this.$table=(0,i.default)(e.el).addClass(this.classNames.RESTFUL_TABLE).addClass(this.classNames.ALLOW_HOVER).addClass("aui"),this.$table.wrapAll("<form class='aui' action='#'>"),this.$thead=(0,i.default)("<thead>"),this.$theadRow=(0,i.default)("<tr>").appendTo(this.$thead),this.$tbody=(0,i.default)("<tbody>"),!this.$table.length)throw Error("RestfulTable: Init failed! The table you have specified ["+this.$table.selector+"] cannot be found.");if(!this.options.columns)throw Error("RestfulTable: Init failed! You haven't provided any columns to render.");if(this.options.deleteConfirmationCallback&&!(this.options.deleteConfirmationCallback instanceof Function))throw Error("RestfulTable: Init failed! deleteConfirmationCallback is not a function");this.showGlobalLoading(),this.options.columns.forEach(function(e){var s="function"==typeof e.header?e.header():e.header;void 0===s&&(a.warn("You have not specified [header] for column ["+e.id+"]. Using id for now..."),s=e.id),t.$theadRow.append("<th>"+s+"</th>")}),t.$theadRow.append("<th></th><th></th>"),this._models=this._createCollection(),this._rowClass=this.options.views.row,this.editRows=[],this.$table.closest("form").on("submit",function(e){t.focusedRow&&t.focu
16526sedRow.trigger(t._event.SAVE),e.preventDefault()}),this.options.allowReorder&&(this.$theadRow.prepend("<th>"),this.$tbody.sortable({handle:"."+this.classNames.DRAG_HANDLE,helper:function(e,s){var a=(0,i.default)("<div>").attr("class",s.attr("class")).addClass(t.classNames.MOVEABLE);return s.children().each(function(){var e=(0,i.default)(this),t=parseInt(0+e.css("border-left-width"),10),s=parseInt(0+e.css("border-right-width"),10),o=e[0].clientWidth+t+s;a.append((0,i.default)("<div>").html(e.html()).attr("class",e.attr("class")).width(o))}),(a=(0,i.default)("<div class='aui-restfultable-readonly'>").append(a)).css({left:s.offset().left}),a.appendTo(document.body),a},start:function(e,s){var a=s.helper[0].clientHeight,o=s.placeholder.find("td");s.item.addClass(t.classNames.MOVEABLE).children().each(function(e){(0,i.default)(this).width(o.eq(e).width())});var n='<td colspan="'+t.getColumnCount()+'"> </td>';s.placeholder.html(n).css({height:a,visibility:"visible"}),t.getRowFromElement(s.item[0]).trigger(t._event.MODAL)},stop:function(e,s){(0,i.default)(s.item[0]).is(":visible")&&(s.item.removeClass(t.classNames.MOVEABLE).children().attr("style",""),s.placeholder.removeClass(t.classNames.ROW),t.getRowFromElement(s.item[0]).trigger(t._event.MODELESS))},update:function(e,s){var i={row:t.getRowFromElement(s.item[0]),item:s.item,nextItem:s.item.next(),prevItem:s.item.prev()};t.move(i)},axis:"y",delay:0,containment:"document",cursor:"move",scroll:!0,zIndex:8e3}),this.$tbody.on("selectstart mousedown",function(e){return!(0,i.default)(e.target).is("."+t.classNames.DRAG_HANDLE)})),!1!==this.options.allowCreate&&(this._createRow=new this.options.views.editRow({columns:this.options.columns,isCreateRow:!0,model:this.options.model.extend({url:function(){return t.options.resources.self}}),cancelAccessKey:this.options.cancelAccessKey,submitAccessKey:this.options.submitAccessKey,allowReorder:this.options.allowReorder,fieldFocusSelector:this.options.fieldFocusSelector}),this._createRow.on(this._event.CREATED,function(e){void 0===t.options.addPosition&&"bottom"===t.options.createPosition||"bottom"===t.options.addPosition?t.addRow(e):t.addRow(e,0)}),this._createRow.on(this._event.VALIDATION_ERROR,function(){this.trigger(t._event.FOCUS)}),this._createRow.render({errors:{},values:{}}),this.$create=(0,i.default)('<tbody class="'+this.classNames.CREATE+'">').append(this._createRow.el),this._applyFocusCoordinator(this._createRow),this.options.autoFocus&&this._createRow.trigger(this._event.FOCUS)),this._models.on("remove",function(e){t.getRows().forEach(function(s){s.model===e&&(s.hasFocus()&&t._createRow&&t._createRow.trigger(t._event.FOCUS),t.removeRow(s))})}),this.fetchInitialResources()},fetchInitialResources:function(){var e=this;"function"==typeof this.options.resources.all?this.options.resources.all(function(t){e.populate(t)}):i.default.get(this.options.resources.all,function(t){e.populate(t)})},move:function(e){var t=this;if(e.row){var s,a=(s=t.options.reverseOrder?e.nextItem:e.prevItem).length?{after:t.getRowFromElement(s).model.url()}:{position:"First"};i.default.ajax({url:e.row.model.url()+"/move",type:"POST",dataType:"json",contentType:"application/json",data:JSON.stringify(a),complete:function(){e.row.hideLoading()},success:function(e){C(t._event.REORDER_SUCCESS,t,[e])},error:function(e){var s=D(e.responseText||e.data);C(t._event.SERVER_ERROR,t,[s,e,this])}}),e.row.showLoading()}},_createCollection:function(){var e=this;return new(this.options.Collection.extend({sort:function(t){if(t||(t={}),!this.comparator)throw Error("Cannot sort a set without a comparator");return this.tableRows=e.getRows(),this.models=this.sortBy(this.comparator,this),this.tableRows=void 0,t.silent||this.trigger("refresh",this,t),this},remove:function(...t){return this.tableRows=e.getRows(),n().Collection.prototype.remove.apply(this,t),this.tableRows=void 0,this}}))([],{comparator:function(t){var s;return(this&&void 0!==this.tableRows?this.tableRows:e.getRows()).some(function(e,i){if(e.model.id===t.id)return s=i,!0}),s}})},populate:function(e){this.options.reverseOrder&&e.reverse(),this.hideGlobalLoading(),e&&e.length?(this._models.reset([],{silent:!0}),this.renderRows(e),this.isEmpty()&&this.showNoEntriesMsg()):this.showNoEntriesMsg(),this.$table.append(this.$thead),"bottom"===this.options.createPosition?this.$table.append(this.$tbody).append(this.$create):this.$table.append(this.$create).append(this.$tbody),this.$table.trigger(this._event.INITIALIZED,[this]),
16526C(this._event.INITIALIZED,this,[this]),this.options.autoFocus&&this.$table.find(":input:text:first").trigger("focus")},showGlobalLoading:function(){return this.$loading||(this.$loading=(0,i.default)('<div class="aui-restfultable-init"><span class="aui-restfultable-loading">'+m+this.options.loadingMsg+"</span></div>")),this.$loading.is(":visible")||this.$loading.insertAfter(this.$table),this},hideGlobalLoading:function(){return this.$loading&&this.$loading.remove(),this},addRow:function(e,t){var s,i;if(!e.id)throw Error("RestfulTable.addRow: to add a row values object must contain an id. Maybe you are not returning it from your restend point?Recieved:"+JSON.stringify(e));return i=new this.options.model(e),s=this._renderRow(i,t),this._models.add(i),this.removeNoEntriesMsg(),C(this._event.ROW_ADDED,this,[s,this]),this},removeRow:function(e){this._models.remove(e.model),e.remove(),this.isEmpty()&&this.showNoEntriesMsg(),C(this._event.ROW_REMOVED,this,[e,this])},isEmpty:function(){return 0===this._models.length},getModels:function(){return this._models},getTable:function(){return this.$table},getTableBody:function(){return this.$tbody},getCreateRow:function(){return this._createRow},getColumnCount:function(){var e=2;return this.allowReorder&&++e,this.options.columns.length+e},getRowFromElement:function(e){return(0,i.default)(e).data(this.dataKeys.ROW_VIEW)},showNoEntriesMsg:function(){return this.$noEntries&&this.$noEntries.remove(),this.$noEntries=(0,i.default)("<tr>").addClass(this.classNames.NO_ENTRIES).append((0,i.default)("<td>").attr("colspan",this.getColumnCount()).text(this.options.noEntriesMsg)).appendTo(this.$tbody),this},removeNoEntriesMsg:function(){return this.$noEntries&&this._models.length>0&&this.$noEntries.remove(),this},getRows:function(){var e=this,t=[];return this.$tbody.find("."+this.classNames.READ_ONLY).each(function(){var s=(0,i.default)(this).data(e.dataKeys.ROW_VIEW);s&&t.push(s)}),t},_renderRow:function(e,t){var s,i,a=this,o=this.$tbody.find("."+this.classNames.READ_ONLY);return i=new this._rowClass({model:e,columns:this.options.columns,allowEdit:this.options.allowEdit,allowDelete:this.options.allowDelete,allowReorder:this.options.allowReorder,deleteConfirmationCallback:this.options.deleteConfirmationCallback}),this.removeNoEntriesMsg(),i.on(this._event.ROW_EDIT,function(e){C(this._event.EDIT_ROW,{},[this,a]),a.edit(this,e)}),s=i.render().$el,-1!==t&&("number"==typeof t&&0!==o.length?s.insertBefore(o[t]):this.$tbody.append(s)),s.data(this.dataKeys.ROW_VIEW,i),i.on(this._event.MODAL,function(){a.$table.removeClass(a.classNames.ALLOW_HOVER),a.$tbody.sortable("disable"),a.getRows().forEach(function(e){a.isRowBeingEdited(e)||e.delegateEvents({})})}),i.on(this._event.MODELESS,function(){a.$table.addClass(a.classNames.ALLOW_HOVER),a.$tbody.sortable("enable"),a.getRows().forEach(function(e){a.isRowBeingEdited(e)||e.delegateEvents()})}),this._applyFocusCoordinator(i),this.trigger(this._event.ROW_INITIALIZED,i),i},isRowBeingEdited:function(e){var t=!1;return this.editRows.some(function(s){if(s.el===e.el)return t=!0,!0}),t},_applyFocusCoordinator:function(e){var t=this;return e.hasFocusBound||(e.hasFocusBound=!0,e.on(this._event.FOCUS,function(){t.focusedRow&&t.focusedRow!==e&&t.focusedRow.trigger(t._event.BLUR),t.focusedRow=e,e instanceof y&&t._createRow&&t._createRow.enable()})),this},_removeEditRow:function(e){var t=i.default.inArray(e,this.editRows);return this.editRows.splice(t,1),this},_shiftFocusAfterEdit:function(){return this.editRows.length>0?this.editRows[this.editRows.length-1].trigger(this._event.FOCUS):this._createRow&&this._createRow.trigger(this._event.FOCUS),this},_saveEditRowOnBlur:function(){return this.editRows.length<=1},dismissEditRows:function(){this.editRows.forEach(function(e){e.hasUpdates()||e.trigger(this._event.FINISHED_EDITING)},this)},edit:function(e,t){var s=this,i=new this.options.views.editRow({el:e.el,columns:this.options.columns,isUpdateMode:!0,allowReorder:this.options.allowReorder,fieldFocusSelector:this.options.fieldFocusSelector,model:e.model,cancelAccessKey:this.options.cancelAccessKey,submitAccessKey:this.options.submitAccessKey}),a=e.model.toJSON();return a.update=!0,i.render({errors:{},update:!0,values:a}).on(s._event.UPDATED,function(t,i){s._removeEditRow(this),this.off(),e.render().delegateEvents(),e.trigger(s._event.UPDATED),!1!==i&&s._shiftFocusAfterEdit()}).on(s._event.VALIDATION_ERROR,function(){this.trigger(s._event.FOCUS)}).on(s._event.FINISHED_EDITING,function(){s._removeEditRow(this),e.render().delegateEvents(),this.off()}).on(s._event.CANCEL,function(){s._removeEditRow(this),this.off(),e.render().delegateEvents(),s._shiftFocusAfterEdit()}
16526).on(s._event.BLUR,function(){s.dismissEditRows(),s._saveEditRowOnBlur()&&this.trigger(s._event.SAVE,!1)}),this._applyFocusCoordinator(i),i.trigger(s._event.FOCUS,t),s._createRow&&s._createRow.disable(),this.editRows.push(i),i},renderRows:function(e=[]){var t=this._models.comparator,s=[];this._models.comparator=void 0;var i=e.map(e=>{var t=new this.options.model(e);return s.push(this._renderRow(t,-1).el),t});return this._models.add(i,{silent:!0}),this._models.comparator=t,this.removeNoEntriesMsg(),this.$tbody.append(s),this},_getDefaultOptions:function(e){return{model:e.model||O,allowEdit:!0,views:{editRow:w,row:y},Collection:n().Collection.extend({url:e.resources.self,model:e.model||O}),allowReorder:!1,fieldFocusSelector:function(e){return":input[name="+e+"], #"+e},loadingMsg:e.loadingMsg||"Loading"}}});A.ClassNames=r,A.CustomCreateView=l,A.CustomEditView=d,A.CustomReadView=h,A.DataKeys=u,A.EditRow=w,A.EntryModel=O,A.Events=c,A.Row=y,(0,T.default)("RestfulTable",A);let S=A},9976(e){e.exports=jQuery}},function(e){e.O(0,["1360","1580","1843","1925","1935","2045","3453","3590","3925","3944","4088","4497","4694","5262","5666","5805","5889","6840","6981","7054","7352","7402","7625","77","8006","874","8976","9095","9274","9284","9809"],function(){return e(e.s=3307)}),e.O()}]); 16527}catch(e){WRMCB(e)}; 16528; 16529try { 16530/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--471c66030f', location = 'aui.chunk.bfc67287add30edc--b1b4a509b3654827.js' */ 16531"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8181"],{5414(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{default:()=>eu});let o=Object.entries,i=Object.setPrototypeOf,a=Object.isFrozen,l=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,u=Object.freeze,s=Object.seal,m=Object.create,p="u">typeof Reflect&&Reflect,f=p.apply,d=p.construct;u||(u=function(e){return e}),s||(s=function(e){return e}),f||(f=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),d||(d=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});let h=M(Array.prototype.forEach),g=M(Array.prototype.lastIndexOf),y=M(Array.prototype.pop),T=M(Array.prototype.push),b=M(Array.prototype.splice),A=Array.isArray,_=M(String.prototype.toLowerCase),E=M(String.prototype.toString),S=M(String.prototype.match),N=M(String.prototype.replace),O=M(String.prototype.indexOf),R=M(String.prototype.trim),D=M(Number.prototype.toString),w=M(Boolean.prototype.toString),I="u"<typeof BigInt?null:M(BigInt.prototype.toString),v="u"<typeof Symbol?null:M(Symbol.prototype.toString),C=M(Object.prototype.hasOwnProperty),k=M(Object.prototype.toString),x=M(RegExp.prototype.test),L=(ec=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d(ec,t)});function M(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return f(e,t,r)}}function F(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(i&&i(e,null),!A(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){let e=n(o);e!==o&&(a(t)||(t[r]=e),o=e)}e[o]=!0}return e}function U(e){let t=m(null);for(let i of o(e)){var n=function(e){if(Array.isArray(e))return e}(i)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,o,i,a=[],l=!0,c=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(n=o.call(t)).done)&&(a.push(n.value),2!==a.length);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(i)||function(e){if(e){if("string"==typeof e)return r(e,2);var t=({}).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)?r(e,2):void 0}}
16531(i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let o=n[0],a=n[1];C(e,o)&&(A(a)?t[o]=function(e){for(let t=0;t<e.length;t++)C(e,t)||(e[t]=null);return e}(a):a&&"object"==typeof a&&a.constructor===Object?t[o]=U(a):t[o]=a)}return t}function P(e,t){for(;null!==e;){let n=c(e,t);if(n){if(n.get)return M(n.get);if("function"==typeof n.value)return M(n.value)}e=l(e)}return function(){return null}}let z=u(["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","search","section","select","shadow","slot","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=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G=u(["animate","color-profile","cursor","discard","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"]),j=u(["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","mprescripts"]),W=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Y=u(["#text"]),X=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),q=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","mask-type","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","slope","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","tablevalues","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"]),$=u(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
16531subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),K=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=s(/{{[\w\W]*|^[\w\W]*}}/g),Z=s(/<%[\w\W]*|^[\w\W]*%>/g),J=s(/\${[\w\W]*/g),Q=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),ee=s(/^aria-[\-\w]+$/),et=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),en=s(/^(?:\w+script|data):/i),er=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),eo=s(/^html$/i),ei=s(/^[a-z][.\w]*(-[.\w]+)+$/i),ea=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},el=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var ec,eu=function e(){let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,r=t=>e(t);if(r.version="3.4.7",r.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return r.isSupported=!1,r;let i=n.document,a=i,l=a.currentScript;n.DocumentFragment;let c=n.HTMLTemplateElement,s=n.Node,p=n.Element,f=n.NodeFilter;void 0===n.NamedNodeMap&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;let d=n.DOMParser,M=n.trustedTypes,ec=p.prototype,eu=P(ec,"cloneNode"),es=P(ec,"remove"),em=P(ec,"nextSibling"),ep=P(ec,"childNodes"),ef=P(ec,"parentNode"),ed=P(ec,"shadowRoot"),eh=P(ec,"attributes"),eg=s&&s.prototype?P(s.prototype,"nodeType"):null,ey=s&&s.prototype?P(s.prototype,"nodeName"):null;if("function"==typeof c){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let eT="",eb=i,eA=eb.implementation,e_=eb.createNodeIterator,eE=eb.createDocumentFragment,eS=eb.getElementsByTagName,eN=a.importNode,eO=el();r.isSupported="function"==typeof o&&"function"==typeof ef&&eA&&void 0!==eA.createHTMLDocument;let eR=et,eD=null,ew=F({},[...z,...H,...B,...j,...Y]),eI=null,ev=F({},[...X,...q,...$,...K]),eC=Object.seal(m(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}})),ek=null,ex=null,eL=Object.seal(m(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eM=!0,eF=!0,eU=!1,eP=!0,ez=!1,eH=!0,eB=!1,eG=!1,ej=!1,eW=!1,eY=!1,eX=!1,eq=!0,e$=!1,eK="user-content-",eV=!0,eZ=!1,eJ={},eQ=null,e0=F({},["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"]),e1=null,e2=F({},["audio","video","img","source","image","track"]),e3=null,e9=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e8="http://www.w3.org/1998/Math/MathML",e4="http://www.w3.org/2000/svg",e5="http://www.w3.org/1999/xhtml",e6=e5,e7=!1,te=null,tt=F({},[e8,e4,e5],E),tn=F({},["mi","mo","mn","ms","mtext"]),tr=F({},["annotation-xml"]),to=F({},["title","style","font","a","script"]),ti=null,ta=["application/xhtml+xml","text/html"],tl=null,tc=null,tu=i.createElement("form"),ts=function(e){return e instanceof RegExp||e instanceof Function},tm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(tc&&tc===e)return;e&&"object"==typeof e||(e={}),e=U(e),tl="application/xhtml+xml"===(ti=-1===ta.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?E:_,eD=C(e,"ALLOWED_TAGS")&&A(e.ALLOWED_TAGS)?F({},e.ALLOWED_TAGS,tl):ew,eI=C(e,"ALLOWED_ATTR")&&A(e.ALLOWED_ATTR)?F({},e.ALLOWED_ATTR,tl):ev,te=C(e,"ALLOWED_NAMESPACES")&&A(e.ALLOWED_NAMESPACES)?F({},e.ALLOWED_NAMESPACES,E):tt,e3=C(e,"ADD_URI_SAFE_ATTR")&&A(e.ADD_URI_SAFE_ATTR)?F(U(e9),e.ADD_URI_SAFE_ATTR,tl):e9,e1=C(e,"ADD_DATA_URI_TAGS")&&A(e.ADD_DATA_URI_TAGS)?F(U(e2),e.ADD_DATA_URI_TAGS,tl):e2,eQ=C(e,"FORBID_CONTENTS")&&A(e.FORBID_CONTENTS)?F({},e.FORBID_CONTENTS,tl):e0,ek=C(e,"FORBID_TAGS")&&A(e.FORBID_TAGS)?F({},e.FORBID_TAGS,tl):U({}),ex=C(e,"FORBID_ATTR")&&A(e.FORBID_ATTR)?F({},e.FORBID_ATTR,tl):U({}),eJ=!!C(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?U(e.USE_PROFILES):e.USE_PROFILES),eM=!1!==e.ALLOW_ARIA_ATTR,eF=!1!==e.ALLOW_DATA_ATTR,eU=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eP=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ez=e.SAFE_FOR_TEMPLATES||!1,eH=!1!==e.
16531SAFE_FOR_XML,eB=e.WHOLE_DOCUMENT||!1,eW=e.RETURN_DOM||!1,eY=e.RETURN_DOM_FRAGMENT||!1,eX=e.RETURN_TRUSTED_TYPE||!1,ej=e.FORCE_BODY||!1,eq=!1!==e.SANITIZE_DOM,e$=e.SANITIZE_NAMED_PROPS||!1,eV=!1!==e.KEEP_CONTENT,eZ=e.IN_PLACE||!1,eR=!function(e){try{return x(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?et:e.ALLOWED_URI_REGEXP,e6="string"==typeof e.NAMESPACE?e.NAMESPACE:e5,tn=C(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?U(e.MATHML_TEXT_INTEGRATION_POINTS):F({},["mi","mo","mn","ms","mtext"]),tr=C(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?U(e.HTML_INTEGRATION_POINTS):F({},["annotation-xml"]);let n=C(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?U(e.CUSTOM_ELEMENT_HANDLING):m(null);if(eC=m(null),C(n,"tagNameCheck")&&ts(n.tagNameCheck)&&(eC.tagNameCheck=n.tagNameCheck),C(n,"attributeNameCheck")&&ts(n.attributeNameCheck)&&(eC.attributeNameCheck=n.attributeNameCheck),C(n,"allowCustomizedBuiltInElements")&&"boolean"==typeof n.allowCustomizedBuiltInElements&&(eC.allowCustomizedBuiltInElements=n.allowCustomizedBuiltInElements),ez&&(eF=!1),eY&&(eW=!0),eJ&&(eD=F({},Y),eI=m(null),!0===eJ.html&&(F(eD,z),F(eI,X)),!0===eJ.svg&&(F(eD,H),F(eI,q),F(eI,K)),!0===eJ.svgFilters&&(F(eD,B),F(eI,q),F(eI,K)),!0===eJ.mathMl&&(F(eD,j),F(eI,$),F(eI,K))),eL.tagCheck=null,eL.attributeCheck=null,C(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?eL.tagCheck=e.ADD_TAGS:A(e.ADD_TAGS)&&(eD===ew&&(eD=U(eD)),F(eD,e.ADD_TAGS,tl))),C(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?eL.attributeCheck=e.ADD_ATTR:A(e.ADD_ATTR)&&(eI===ev&&(eI=U(eI)),F(eI,e.ADD_ATTR,tl))),C(e,"ADD_URI_SAFE_ATTR")&&A(e.ADD_URI_SAFE_ATTR)&&F(e3,e.ADD_URI_SAFE_ATTR,tl),C(e,"FORBID_CONTENTS")&&A(e.FORBID_CONTENTS)&&(eQ===e0&&(eQ=U(eQ)),F(eQ,e.FORBID_CONTENTS,tl)),C(e,"ADD_FORBID_CONTENTS")&&A(e.ADD_FORBID_CONTENTS)&&(eQ===e0&&(eQ=U(eQ)),F(eQ,e.ADD_FORBID_CONTENTS,tl)),eV&&(eD["#text"]=!0),eB&&F(eD,["html","head","body"]),eD.table&&(F(eD,["tbody"]),delete ek.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eT=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=ea(M,l)),null!==t&&"string"==typeof eT&&(eT=t.createHTML(""));(eO.uponSanitizeElement.length>0||eO.uponSanitizeAttribute.length>0)&&eD===ew&&(eD=U(eD)),eO.uponSanitizeAttribute.length>0&&eI===ev&&(eI=U(eI)),u&&u(e),tc=e},tp=F({},[...H,...B,...G]),tf=F({},[...j,...W]),td=function(e){let t=ef(e);t&&t.tagName||(t={namespaceURI:e6,tagName:"template"});let n=_(e.tagName),r=_(t.tagName);return!!te[e.namespaceURI]&&(e.namespaceURI===e4?t.namespaceURI===e5?"svg"===n:t.namespaceURI===e8?"svg"===n&&("annotation-xml"===r||tn[r]):!!tp[n]:e.namespaceURI===e8?t.namespaceURI===e5?"math"===n:t.namespaceURI===e4?"math"===n&&tr[r]:!!tf[n]:e.namespaceURI===e5?(t.namespaceURI!==e4||!!tr[r])&&(t.namespaceURI!==e8||!!tn[r])&&!tf[n]&&(to[n]||!tp[n]):"application/xhtml+xml"===ti&&!!te[e.namespaceURI])},th=function(e){T(r.removed,{element:e});try{ef(e).removeChild(e)}catch(t){es(e)}},tg=function(e,t){try{T(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){T(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eW||eY)try{th(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ty=function(e){let n=null,r=null;if(ej)e="<remove></remove>"+e;else{let t=S(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===ti&&e6===e5&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let o=t?t.createHTML(e):e;if(e6===e5)try{n=new d().parseFromString(o,ti)}catch(e){}if(!n||!n.documentElement){n=eA.createDocument(e6,"template",null);try{n.documentElement.innerHTML=e7?eT:o}catch(e){}}let a=n.body||n.documentElement;return(e&&r&&a.insertBefore(i.createTextNode(r),a.childNodes[0]||null),e6===e5)?eS.call(n,eB?"html":"body")[0]:eB?n.documentElement:a},tT=function(e){return e_.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},tb=function(e){e.normalize();let t=e_.call(e.ownerDocument||e,e,f.SHOW_TEXT|f.SHOW_COMMENT|f.SHOW_CDATA_SECTION|f.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;){let e=n.data;h([V,Z,J],t=>{e=N(e,t," ")}),n.data=e,n=t.nextNode()}},tA=function(e){let t=ey?ey(e):null;return"string"==typeof t&&"form"===tl(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==eh(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==eg(e)||e.childNodes!==ep(e))},t_=function(e){if(!eg||"object"!=typeof e||null===e)return!1;try{return 11===eg(e)}catch(e){return!1}},tE=function(e){if(!eg||"object"!=typeof e||null===e)return!1;try{return"number"==typeof eg(e)}catch(e){return!1}};function tS(e,t,n){h(e,e=>{e.call(r,t,n,tc)})}let tN=function(e){let t=null;if(tS(eO.beforeSanitizeElements,e,null),tA(e))return th(e),!0;let n=tl(e.nodeName);if(tS(eO.uponSanitizeElement,e,{tagName:n,allowedTags:eD}),eH&&e.hasChildNodes()&&!tE(e.firstElementChild)&&x(/<[/\w!]/g,e.innerHTML)&&x(/<[/\w!]/g,e.textContent)||eH&&e.namespaceURI===e5&&"style"===n&&tE(e.firstElementChild)||7===e.nodeType||eH&&8===e.n
16531odeType&&x(/<[/\w]/g,e.data))return th(e),!0;if(ek[n]||!(eL.tagCheck instanceof Function&&eL.tagCheck(n))&&!eD[n]){if(!ek[n]&&tD(n)&&(eC.tagNameCheck instanceof RegExp&&x(eC.tagNameCheck,n)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(n)))return!1;if(eV&&!eQ[n]){let t=ef(e),n=ep(e);if(n&&t){let r=n.length;for(let o=r-1;o>=0;--o){let r=eu(n[o],!0);t.insertBefore(r,em(e))}}}return th(e),!0}return(eg?eg(e):e.nodeType)===1&&!td(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&x(/<\/no(script|embed|frames)/i,e.innerHTML)?(th(e),!0):(ez&&3===e.nodeType&&(t=e.textContent,h([V,Z,J],e=>{t=N(t,e," ")}),e.textContent!==t&&(T(r.removed,{element:e.cloneNode()}),e.textContent=t)),tS(eO.afterSanitizeElements,e,null),!1)},tO=function(e,t,n){if(ex[t]||eq&&("id"===t||"name"===t)&&(n in i||n in tu))return!1;let r=eI[t]||eL.attributeCheck instanceof Function&&eL.attributeCheck(t,e);if(eF&&!ex[t]&&x(Q,t));else if(eM&&x(ee,t));else if(!r||ex[t]){if(!(tD(e)&&(eC.tagNameCheck instanceof RegExp&&x(eC.tagNameCheck,e)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(e))&&(eC.attributeNameCheck instanceof RegExp&&x(eC.attributeNameCheck,t)||eC.attributeNameCheck instanceof Function&&eC.attributeNameCheck(t,e))||"is"===t&&eC.allowCustomizedBuiltInElements&&(eC.tagNameCheck instanceof RegExp&&x(eC.tagNameCheck,n)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(n))))return!1}else if(e3[t]);else if(x(eR,N(n,er,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===O(n,"data:")&&e1[e]);else if(eU&&!x(en,N(n,er,"")));else if(n)return!1;return!0},tR=F({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),tD=function(e){return!tR[_(e)]&&x(ei,e)},tw=function(e){tS(eO.beforeSanitizeAttributes,e,null);let n=e.attributes;if(!n||tA(e))return;let o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eI,forceKeepAttr:void 0},i=n.length;for(;i--;){let a=n[i],l=a.name,c=a.namespaceURI,u=a.value,s=tl(l),m="value"===l?u:R(u);if(o.attrName=s,o.attrValue=m,o.keepAttr=!0,o.forceKeepAttr=void 0,tS(eO.uponSanitizeAttribute,e,o),m=o.attrValue,e$&&("id"===s||"name"===s)&&0!==O(m,eK)&&(tg(l,e),m=eK+m),eH&&x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,m)||"attributename"===s&&S(m,"href")){tg(l,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr||!eP&&x(/\/>/i,m)){tg(l,e);continue}ez&&h([V,Z,J],e=>{m=N(m,e," ")});let p=tl(e.nodeName);if(!tO(p,s,m)){tg(l,e);continue}if(t&&"object"==typeof M&&"function"==typeof M.getAttributeType)if(c);else switch(M.getAttributeType(p,s)){case"TrustedHTML":m=t.createHTML(m);break;case"TrustedScriptURL":m=t.createScriptURL(m)}if(m!==u)try{c?e.setAttributeNS(c,l,m):e.setAttribute(l,m),tA(e)?th(e):y(r.removed)}catch(t){tg(l,e)}}tS(eO.afterSanitizeAttributes,e,null)},tI=function(e){let t=null,n=tT(e);for(tS(eO.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(tS(eO.uponSanitizeShadowNode,t,null),tN(t),tw(t),t_(t.content)&&tI(t.content),(eg?eg(t):t.nodeType)===1){let e=ed?ed(t):t.shadowRoot;t_(e)&&(tv(e),tI(e))}tS(eO.afterSanitizeShadowDOM,e,null)},tv=function(e){let t=eg?eg(e):e.nodeType;if(1===t){let t=ed?ed(e):e.shadowRoot;t_(t)&&(tv(t),tI(t))}let n=ep?ep(e):e.childNodes;if(!n)return;let r=[];for(let e of(h(n,e=>{T(r,e)}),r))tv(e);if(1===t){let t=ey?ey(e):null;if("string"==typeof t&&"template"===tl(t)){let t=e.content;t_(t)&&tv(t)}}};return r.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,i=null,l=null,c=null;if((e7=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tE(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return D(e);case"boolean":return w(e);case"bigint":return I?I(e):"0";case"symbol":return v?v(e):"Symbol()";case"undefined":default:return k(e);case"function":case"object":{if(null===e)return k(e);let t=P(e,"toString");if("function"==typeof t){let n=t(e);return"string"==typeof n?n:k(n)}return k(e)}}}(e)))throw L("dirty is not a string, aborting");if(!r.isSupported)return e;if(eG||tm(n),r.removed=[],"string"==typeof e&&(eZ=!1),eZ){let t=ey?ey(e):e.nodeName;if("string"==typeof t){let e=tl(t);if(!eD[e]||ek[e])throw L("root node is forbidden and cannot be sanitized in-place")}if(tA(e))throw L("root node is clobbered and cannot be sanitized in-place");tv(e)}else if(tE(e))1===(i=(o=ty("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i),tv(i);else{if(!eW&&!ez&&!eB&&-1===e.indexOf("<"))return t&&eX?t.createHTML(e):e;if(!(o=ty(e)))return eW?null:eX?eT:""}o&&ej&&th(o.firstChild);let u=tT(eZ?e:o);for(;l=u.nextNode();)tN(l),tw(l),t_(l.content)&&tI(l.content);if(eZ)return ez&&tb(e),e;if(eW){if(ez&&tb(o),eY)for(c=eE.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(eI.shadowroot||eI.shadowrootmode)&&(c=eN.call(a,c,!0)),c}let s=eB?o.outerHTML:o.innerHTML;return eB&&eD["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&x(eo,o.ownerDocument.doctype.name)&&(s="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+s),ez&&h([V,Z,J],e=>{s=N(s,e," ")}),t&&eX?t.createHTML(s):s},r.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tm(e),eG=!0},r.clearConfig=function(){tc=null,eG=!1},r.isValidAttribute=function(e,t,n){return tc||tm({}),tO(tl(e),tl(t),n)},r.addHook=function(e,t){"function"==typeof t&&T(eO[e],t)},r.removeHook=function(e,t){if(void 0!==t){let n=g(eO[e],t);
16531return -1===n?void 0:b(eO[e],n,1)[0]}return y(eO[e])},r.removeHooks=function(e){eO[e]=[]},r.removeAllHooks=function(){eO=el()},r}()}}]); 16532}catch(e){WRMCB(e)}; 16533; 16534try { 16535/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.471c66030f', location = 'aui.chunk.1284271534be0d2f--dea296a57e672f0b.js' */ 16536"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6594"],{3946(t,e,i){let o,s,n;i.r(e),i.d(e,{default:()=>$});var r=i(3003),l=i(5363),a=i(5414);let h="aui-tooltip",d={n:"bottom",ne:"bottom-end",e:"left",se:"top-end",s:"top",sw:"top-start",w:"right",nw:"bottom-start"},p="aui-tooltip",u={gravity:"n",html:!1,live:!1,enabled:!0,suppress:()=>!1,aria:!0,sanitize:!0,maxWidth:200},g=(t=!1)=>{let e=o&&o.get(0);e&&(e.classList.toggle("hidden",t),e.setAttribute("aria-hidden",t))};class f{constructor(t,e){this.triggerElement=t,this.$triggerElement=(0,r.default)(this.triggerElement),this.options={...u,...e},this.enabled=this.options.enabled,this.moveTitleToTooltip(),this.initContainer(),this.observeTriggerRemoval()}destroy(){this.unbindHandlers(),this.hide(),this.restoreOriginalAttributes(),c.delete(this.triggerElement)}moveTitleToTooltip(){let t=this,e=this.$triggerElement;e.attr("title",function(i,o){return t.originalTitle=o,t.options.aria&&e.attr("aria-describedby",h),null})}restoreOriginalAttributes(){let t=this.$triggerElement;this.originalTitle&&t.attr("title",this.originalTitle),t.attr("aria-describedby")===h&&t.removeAttr("aria-describedby")}observeTriggerRemoval(){let 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=>{let e=t.parentElement;if(e){let i=new MutationObserver(()=>{e.contains(t)||this.destroy()});return i.observe(e,{childList:!0,subtree:!1}),i}}).filter(t=>!!t)}unbindHandlers(){let t=this.options.live;this.options.$delegationRoot&&t?this.options.$delegationRoot.off(`.${p}`,t):(this.triggerObservers.length>0&&this.triggerObservers.forEach(t=>t.disconnect()),this.$triggerElement.off(`.${p}`))}initContainer(){(void 0===o||o.get(0)&&!o.get(0).isConnected)&&(o=(0,r.default)(`<div id="${h}" class="aui-tooltip hidden" role="tooltip" aria-hidden="true"><p class="aui-tooltip-content"></p></div>`),(0,r.default)(document.body).append(o))}buildTip(t){let e=this.options,i=o.find(".aui-tooltip-content");return e.html?(e.sanitize&&(t=a.default.sanitize(t)),i.html(t)):i.text(t),e.maxWidth&&i.css("max-width",e.maxWidth+"px"),o}getTipTitle(){let t=this.options,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(){let t=this.getTipTitle();if(!1===this.enabled||!t)return;o&&t!==o.text()&&this.hide();let e=this.triggerElement,i=d[this.options.gravity];if("function"==typeof this.options.suppress&&!0===this.options.suppress.call(e))return;let s=this.buildTip(t).get(0);this.showTooltip(),this.popperInstance=(0,l.createPopper)(e,s,{placement:i,modifiers:[{name:"offset",options:{offset:[0,4]}}]}),(0,r.default)(window).on(`scroll.${p}`,()=>this.hide())}hide(){this.hideTooltip(),this.popperInstance&&(this.popperInstance.destroy(),delete this.popperInstance),(0,r.default)(window).off(`scroll.${p}`)}showTooltip(){g(!1)}hideTooltip(){g(!0)}enable(){this.enabled=!0}disable(){this.hide(),this.enabled=!1}}let c=new WeakMap,m=(t,e)=>{let i=c.get(t);return void 0===i&&(i=new f(t,e),"object"==typeof t&&c.set(t,i)),i},b=t=>t.map(t=>`${t}.${p}`).join(" "),T=b(["mouseenter","focus"]),v=b(["click","mouseleave","blur"]);r.default.fn.tooltip=function(t){if(!0===t)return m(this.get(0));if("string"==typeof t){let e=this.tooltip(!0);if("function"!=typeof e[t])throw Error(`Method ${t} does not exist on tooltip.`);return e[t](),this}let e=t||{},i=function(){clearTimeout(n),clearTimeout(s)},r=function(){o.off(`mouseenter.${p}`),o.off(`mouseleave.${p}`),o.on(`mouseenter.${p}`,()=>{i()}),o.on(`mouseleave.${p}`,()=>{i(),a()})},l=function(){i();let t=m(this,e);s=setTimeout(()=>{i(),t.show(),o&&r()},300)},a=function(){i();let t=m(this,e);n=setTimeout(()=>{t.hide()},300)},h=function(t){"Escape"===t.code&&a()},d=e.live;return void 0!==d?(e.$delegationRoot=this,this.on(T,d,l),this.on(v,d,a),this.on("keyup",d,h)):(this.on(T,l),this.on(v,a),this.on("keyup",h)),this};let $=r.default}}]); 16537}catch(e){WRMCB(e)}; 16538; 16539try { 16540/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.fc7962e097', location = 'aui.chunk.1487c90a14f67c97--6282970be72e5d25.js' */ 16541"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5030"],{9105(u,i,a){a.r(i),a(3946)}}]); 16542}catch(e){WRMCB(e)}; 16543; 16544try { 16545/* module-key = 'com.atlassian.auiplugin:split_aui.component.tooltip', location = 'aui.chunk.eff1e7a9d4de86d2--dcdc85f99cab3ed2.js' */ 16546"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1155"],{9976(u){u.exports=jQuery}}
16546,function(u){u.O(0,["5","5030","6594","8181","8976","9284","9809"],function(){return u(u.s=9105)}),u.O()}]); 16547}catch(e){WRMCB(e)}; 16548; 16549try { 16550/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.lozenge', location = 'aui.chunk.4b1242abde8734dc--bfeed2d6622f1d4e.js' */ 16551"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6007"],{9858(u,i,n){n.r(i)}},function(u){u.O(0,["5262","8976","9284"],function(){return u(u.s=9858)}),u.O()}]); 16552}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.